/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #131921;
  --primary-light: #232f3e;
  --accent: #febd69;
  --accent-hover: #f3a847;
  --orange: #ff9900;
  --orange-dark: #e47911;
  --green: #067d62;
  --red: #b12704;
  --star: #de7921;
  --bg: #eaeded;
  --white: #ffffff;
  --text-dark: #0f1111;
  --text-gray: #565959;
  --text-light: #767676;
  --border: #ddd;
  --shadow: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== HEADER ===== */
.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--accent);
}

.header-main {
  background: var(--primary);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.logo a span {
  color: var(--accent);
  font-size: 0.75rem;
  display: block;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.4rem;
}

.search-bar {
  flex: 1;
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  height: 44px;
}

.search-bar select {
  background: var(--bg);
  border: none;
  padding: 0 12px;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  direction: rtl;
  min-width: 120px;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 0.95rem;
  outline: none;
  direction: rtl;
  min-width: 0;
}

.search-bar button {
  background: var(--accent);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.search-bar button:hover {
  background: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-action {
  color: var(--white);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.header-action:hover {
  color: var(--accent);
}

.header-action i {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.header-action .badge {
  position: relative;
}

.header-action .badge span {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav Bar */
.nav-bar {
  background: var(--primary-light);
  padding: 0;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

.nav-bar a {
  color: var(--white);
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-bar a:hover,
.nav-bar a.active {
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,0.05);
}

.nav-bar a i {
  margin-left: 5px;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  max-height: 420px;
  margin-bottom: -50px;
}

.hero-slider .slide {
  display: none;
  position: relative;
}

.hero-slider .slide.active {
  display: block;
}

.hero-slider .slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-slider .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  width: 50px;
  height: 80px;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: rgba(255,255,255,0.95);
}

.slider-btn.prev {
  right: 0;
}

.slider-btn.next {
  left: 0;
}

.slider-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

/* ===== CATEGORY CARDS ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.category-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.category-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.category-card a {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 500;
}

.category-card a:hover {
  text-decoration: underline;
  color: var(--orange-dark);
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.product-badge.new {
  background: var(--green);
}

.product-card .product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  cursor: pointer;
}

.product-card .product-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.8em;
  cursor: pointer;
}

.product-card .product-title:hover {
  color: var(--orange);
}

.product-stars {
  color: var(--star);
  font-size: 0.85rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-stars .count {
  color: var(--text-light);
  font-size: 0.8rem;
}

.product-price {
  margin-bottom: 8px;
}

.product-price .current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
}

.product-price .currency {
  font-size: 0.85rem;
  font-weight: 400;
}

.product-price .old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 8px;
}

.product-price .discount {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-delivery {
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 10px;
}

.product-card .btn-add-cart {
  margin-top: auto;
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 8px 0;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.product-card .btn-add-cart:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ===== DEALS BANNER ===== */
.deals-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 30px 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.deals-banner h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.deals-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

.deals-banner .timer {
  display: flex;
  gap: 15px;
}

.deals-banner .timer-box {
  background: var(--orange);
  padding: 10px 15px;
  border-radius: 6px;
  text-align: center;
  min-width: 65px;
}

.deals-banner .timer-box .number {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.deals-banner .timer-box .label {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* ===== SCROLLABLE PRODUCT ROW ===== */
.products-scroll-wrapper {
  position: relative;
}

.products-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 15px 0 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.products-scroll::-webkit-scrollbar {
  height: 6px;
}

.products-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.products-scroll .product-card {
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  width: 40px;
  height: 80px;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--text-dark);
  z-index: 5;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.scroll-btn:hover {
  background: var(--bg);
}

.scroll-btn.prev {
  right: -5px;
}

.scroll-btn.next {
  left: -5px;
}

/* ===== FEATURES BAR ===== */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.feature-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow);
}

.feature-item i {
  font-size: 2rem;
  color: var(--orange);
}

.feature-item h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ===== BRANDS ===== */
.brands-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.brand-item {
  background: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.brand-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.brand-item img {
  height: 50px;
  object-fit: contain;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.breadcrumb a {
  color: var(--orange);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
}

.product-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.product-gallery {
  position: relative;
}

.product-gallery .main-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 15px;
}

.product-gallery .thumbnails {
  display: flex;
  gap: 10px;
}

.product-gallery .thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 3px;
  transition: var(--transition);
}

.product-gallery .thumbnails img:hover,
.product-gallery .thumbnails img.active {
  border-color: var(--orange);
}

.product-info h1 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.product-info .rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.product-info .rating-row .stars {
  color: var(--star);
}

.product-info .rating-row a {
  color: var(--orange);
  font-size: 0.9rem;
}

.product-info .price-box {
  background: #fef8f0;
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

.product-info .price-box .price-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 5px;
}

.product-info .price-box .price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
}

.product-info .price-box .price-value .currency {
  font-size: 1rem;
}

.product-info .price-box .old-price {
  font-size: 0.95rem;
  color: var(--text-gray);
  text-decoration: line-through;
  margin-top: 5px;
}

.product-info .price-box .save {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 5px;
}

.product-specs {
  margin: 15px 0;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs table tr {
  border-bottom: 1px solid var(--border);
}

.product-specs table td {
  padding: 8px 5px;
  font-size: 0.9rem;
}

.product-specs table td:first-child {
  font-weight: 600;
  width: 140px;
  color: var(--text-gray);
}

.product-info .features-list {
  margin-top: 15px;
}

.product-info .features-list h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.product-info .features-list li {
  padding: 3px 0;
  font-size: 0.9rem;
  position: relative;
  padding-right: 20px;
}

.product-info .features-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Purchase Box */
.purchase-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  align-self: start;
  position: sticky;
  top: 80px;
}

.purchase-box .purchase-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}

.purchase-box .purchase-price .currency {
  font-size: 0.85rem;
}

.purchase-box .delivery-info {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.purchase-box .delivery-info .free {
  color: var(--green);
  font-weight: 600;
}

.purchase-box .delivery-info p {
  margin-top: 5px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.purchase-box .stock {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.purchase-box .qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.purchase-box .qty-row label {
  font-size: 0.9rem;
}

.purchase-box .qty-select {
  padding: 6px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  direction: rtl;
}

.btn-buy-now {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: var(--transition);
}

.btn-buy-now:hover {
  background: var(--orange-dark);
}

.btn-add-cart-lg {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 15px;
}

.btn-add-cart-lg:hover {
  background: var(--accent-hover);
}

.purchase-box .secure-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-gray);
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.purchase-box .secure-info i {
  color: var(--green);
  margin-left: 5px;
}

/* ===== ORDER PAGE ===== */
.order-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 15px;
}

.order-page h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.order-steps {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 30px;
}

.order-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.order-step.active {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
}

.order-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.order-step.active .step-num {
  background: rgba(255,255,255,0.3);
}

.order-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.order-section h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-section h2 i {
  color: var(--orange);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group label .required {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  direction: rtl;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Order Summary */
.order-summary-card {
  background: #fef8f0;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}

.order-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.order-item-info {
  flex: 1;
}

.order-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.order-item-info .qty {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.order-item-info .item-price {
  font-weight: 700;
  color: var(--red);
}

.order-totals {
  padding-top: 15px;
  border-top: 2px solid var(--accent);
  margin-top: 10px;
}

.order-totals .total-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.95rem;
}

.order-totals .total-row.grand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  padding-top: 10px;
  margin-top: 10px;
  border-top: 2px solid var(--accent);
}

.btn-place-order {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: var(--transition);
}

.btn-place-order:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}

.payment-methods {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  min-width: 150px;
}

.payment-method:hover,
.payment-method.selected {
  border-color: var(--orange);
  background: #fff8ee;
}

.payment-method input[type="radio"] {
  accent-color: var(--orange);
}

.payment-method i {
  font-size: 1.5rem;
  color: var(--orange);
}

/* ===== FOOTER ===== */
.footer-top {
  background: var(--primary-light);
  padding: 8px 0;
  text-align: center;
}

.footer-top a {
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  transition: var(--transition);
}

.footer-top a:hover {
  background: rgba(255,255,255,0.05);
}

.footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent);
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  padding: 3px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-right: 5px;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.footer-col .contact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-col .social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-col .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: var(--transition);
}

.footer-col .social-links a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom .payment-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.footer-bottom .payment-logos img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-bottom .payment-logos img:hover {
  opacity: 1;
}

.footer-bottom img {
  height: 30px;
  margin: 10px auto 0;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--green);
  color: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  font-size: 1.2rem;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 2001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  background: var(--primary);
  color: var(--white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-header h3 {
  font-size: 1.1rem;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  background: var(--bg);
  color: var(--orange);
}

.mobile-nav-links a i {
  margin-left: 8px;
  color: var(--orange);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.success-page .success-icon {
  font-size: 5rem;
  color: var(--green);
  margin-bottom: 20px;
}

.success-page h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--green);
}

.success-page p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 5px;
}

.success-page .order-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  margin: 20px 0;
  padding: 15px;
  background: #fff8ee;
  border-radius: var(--radius);
}

.success-page .btn-home {
  display: inline-block;
  padding: 12px 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 25px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 20px;
  transition: var(--transition);
}

.success-page .btn-home:hover {
  background: var(--orange-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }
  
  .purchase-box {
    grid-column: 1 / -1;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .deals-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .search-bar select {
    display: none;
  }
  
  .header-main .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .logo a {
    font-size: 1.4rem;
  }
  
  .search-bar {
    order: 3;
    width: 100%;
    height: 40px;
  }
  
  .header-actions {
    gap: 15px;
  }
  
  .header-action span:not(.badge) {
    display: none;
  }
  
  .nav-bar {
    display: none;
  }
  
  .hero-slider .slide img {
    height: 220px;
  }
  
  .hero-slider {
    max-height: 220px;
    margin-bottom: -30px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  
  .product-gallery .main-image {
    height: 300px;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .features-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .order-steps {
    flex-direction: column;
    align-items: stretch;
  }
  
  .slider-btn {
    width: 35px;
    height: 60px;
    font-size: 1rem;
  }
  
  .deals-banner .timer-box .number {
    font-size: 1.3rem;
  }
  
  .deals-banner h2 {
    font-size: 1.4rem;
  }
  
  .payment-methods {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-card {
    padding: 10px;
  }
  
  .product-card .product-img {
    height: 140px;
  }
  
  .product-card .product-title {
    font-size: 0.82rem;
  }
  
  .product-price .current {
    font-size: 1rem;
  }
  
  .logo a {
    font-size: 1.2rem;
  }
  
  .header-actions {
    gap: 10px;
  }
  
  .products-scroll .product-card {
    min-width: 180px;
    max-width: 180px;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .order-section {
    padding: 15px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===== FLASH / ALERT MESSAGES ===== */
.alert {
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.alert .container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.alert-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.6;
  margin-right: auto;
  padding: 0;
}

.alert-close:hover {
  opacity: 1;
}

.alert ul {
  margin: 0;
  padding: 0;
}

.alert ul li {
  padding: 2px 0;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 30px 0;
}

.auth-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 450px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 25px;
}

.auth-logo a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.auth-logo a i {
  color: var(--orange);
}

.auth-box h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg);
}

.auth-box .form-group {
  margin-bottom: 18px;
}

.auth-box .form-group label {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-box .form-group label i {
  color: var(--orange);
  margin-left: 5px;
}

.auth-box .form-group input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  font-size: 0.95rem;
  transition: var(--transition);
}

.auth-box .form-group input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,0.1);
}

.btn-auth {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 5px;
}

.btn-auth:hover {
  background: var(--orange-dark);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--orange);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-footer p {
  margin-bottom: 8px;
}

/* ===== ACCOUNT PAGE ===== */
.account-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 25px;
  margin: 20px 0;
}

.account-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  align-self: start;
  position: sticky;
  top: 80px;
}

.account-avatar {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.account-avatar i {
  font-size: 4rem;
  color: var(--text-light);
}

.account-avatar h3 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.account-avatar p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
  margin-bottom: 3px;
}

.account-nav a:hover {
  background: var(--bg);
  color: var(--orange);
}

.account-nav a.active {
  background: #fff3e0;
  color: var(--orange);
  font-weight: 600;
}

.account-nav a i {
  width: 20px;
  text-align: center;
  color: var(--orange);
}

.account-nav .logout-link {
  color: var(--red);
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.account-nav .logout-link i {
  color: var(--red);
}

.account-main {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.account-main h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.account-main h2 i {
  color: var(--orange);
  margin-left: 8px;
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.order-num {
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 15px;
}

.order-date {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.order-status {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-success { background: #d4edda; color: #155724; }
.status-warning { background: #fff3cd; color: #856404; }
.status-info { background: #d1ecf1; color: #0c5460; }
.status-primary { background: #cce5ff; color: #004085; }
.status-danger { background: #f8d7da; color: #721c24; }

.order-card-items {
  padding: 10px 18px;
}

.order-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.order-card-item:last-child {
  border-bottom: none;
}

.order-card-item img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.order-card-item span {
  flex: 1;
  font-size: 0.9rem;
}

.order-card-item small {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-right: 5px;
}

.order-card-item .item-price {
  font-weight: 600;
  color: var(--red);
  flex: none;
}

.order-card-footer {
  padding: 12px 18px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}

/* Profile Form */
.profile-form .form-row {
  margin-bottom: 0;
}

.profile-form .form-group {
  margin-bottom: 18px;
}

.profile-form .form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.profile-form .form-group input,
.profile-form .form-group select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  font-size: 0.95rem;
  transition: var(--transition);
}

.profile-form .form-group input:focus,
.profile-form .form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 25px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 25px;
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.empty-state.small {
  padding: 40px 20px;
}

.empty-state.small i {
  font-size: 3rem;
}

/* ===== CART / ORDER LAYOUT ===== */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 25px;
  align-items: start;
}

.cart-items-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 25px;
}

.cart-item-row {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-image {
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  display: block;
  margin-bottom: 5px;
}

.cart-item-name:hover {
  color: var(--orange);
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 3px;
}

.cart-item-stock {
  font-size: 0.82rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.qty-control button {
  background: var(--bg);
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control button:hover {
  background: var(--border);
}

.qty-control span {
  padding: 0 15px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 0.82rem;
  transition: var(--transition);
}

.btn-remove:hover {
  text-decoration: underline;
}

/* Checkout Section */
.checkout-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
}

.checkout-section h3 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.checkout-section h3 i {
  color: var(--orange);
  margin-left: 8px;
}

.checkout-section .form-group {
  margin-bottom: 15px;
}

.checkout-section label {
  font-weight: 600;
  font-size: 0.88rem;
}

/* Payment Options */
.payment-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  min-width: 140px;
}

.payment-option:hover {
  border-color: var(--orange);
}

.payment-option.active,
.payment-option:has(input:checked) {
  border-color: var(--orange);
  background: #fff8ee;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-content {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.payment-content i {
  font-size: 1.5rem;
  color: var(--orange);
}

.payment-content span {
  font-size: 0.9rem;
  font-weight: 500;
}

.payment-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* Order Summary Sidebar */
.order-sidebar {
  position: sticky;
  top: 80px;
}

.order-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin-bottom: 15px;
}

.order-summary h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.order-summary h3 i {
  color: var(--orange);
  margin-left: 5px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}

.free-ship-msg {
  margin-top: 12px;
  padding: 10px;
  background: #d4edda;
  color: #155724;
  border-radius: 6px;
  font-size: 0.82rem;
  text-align: center;
}

.payment-logos-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: center;
  margin-bottom: 15px;
}

.payment-logos-box span {
  font-size: 0.82rem;
  color: var(--text-gray);
  display: block;
  margin-bottom: 10px;
}

.payment-logos-sm {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-logos-sm img {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: var(--transition);
}

.payment-logos-sm img:hover {
  opacity: 1;
}

.secure-badge {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.secure-badge i {
  font-size: 2rem;
  color: var(--green);
}

.secure-badge strong {
  font-size: 0.9rem;
  display: block;
}

.secure-badge p {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin: 0;
}

/* ===== ORDER CONFIRMATION ===== */
.success-page .success-sub {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.order-confirm-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: right;
  max-width: 700px;
  margin: 0 auto 25px;
  overflow: hidden;
}

.confirm-header {
  display: flex;
  justify-content: space-between;
  padding: 18px 25px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.confirm-label {
  font-size: 0.82rem;
  color: var(--text-gray);
  display: block;
}

.confirm-value {
  font-size: 1rem;
  color: var(--text-dark);
}

.confirm-items {
  padding: 15px 25px;
  border-bottom: 1px solid var(--border);
}

.confirm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.confirm-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.confirm-item span {
  font-size: 0.9rem;
}

.confirm-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.confirm-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 25px;
}

.confirm-col h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--orange);
}

.confirm-col p {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===== COD NOTICE ===== */
.payment-cod-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  margin-top: 25px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  color: #2e7d32;
  font-size: 0.95rem;
}

.payment-cod-notice i {
  font-size: 1.4rem;
}

/* ===== FOOTER PAYMENT LOGOS ===== */
.footer-payments {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-payments img {
  height: 32px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-payments img:hover {
  opacity: 1;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 992px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .account-page {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .confirm-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .auth-box {
    padding: 25px 20px;
  }

  .account-main {
    padding: 20px;
  }

  .cart-item-row {
    flex-wrap: wrap;
  }

  .cart-item-image img {
    width: 70px;
    height: 70px;
  }

  .order-summary {
    padding: 18px;
  }

  .confirm-header {
    flex-direction: column;
    gap: 8px;
  }

  .payment-methods {
    gap: 10px;
  }

  .payment-option {
    min-width: 100%;
  }
}
