/* =====================================================================
   FASHION AURA - LUXURY E-COMMERCE STYLESHEET
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --primary: #1a1a1a;
  --primary-light: #2c2c2c;
  --accent-gold: #c59b27;
  --accent-gold-hover: #b08719;
  --accent-gold-subtle: #fcf8ee;
  --accent-red: #c0392b;
  --accent-green: #27ae60;
  --accent-blue: #2980b9;
  --bg-light: #fbfbfb;
  --bg-card: #ffffff;
  --border-color: #e5e5e5;
  --text-dark: #1f1f1f;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================================
   HEADER & TOP INFO STRIP
   ===================================================================== */
.top-info-strip {
  background-color: #121212;
  color: #d1d5db;
  font-size: 11.5px;
  padding: 8px 0;
  border-bottom: 1px solid #222222;
}

.top-info-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.info-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.info-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d1d5db;
  font-size: 11.5px;
  line-height: 1.2;
}

.info-contact-item a {
  color: inherit;
  transition: color 0.2s ease;
}

.info-contact-item a:hover {
  color: var(--accent-gold);
}

.header-info-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.info-contact-item:hover .header-info-icon,
.info-contact-item a:hover .header-info-icon,
.info-right-track-link:hover .header-info-icon {
  transform: scale(1.18);
  color: #ffd875;
}

.info-gstin-badge {
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 11px;
}

.info-right-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.info-right-track-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  transition: color 0.2s ease;
}

.info-right-track-link:hover {
  color: var(--accent-gold);
}

.info-admin-link {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 11.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-admin-link:hover {
  color: #ffffff;
}

/* MAIN HEADER */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 280px;
  text-decoration: none;
  overflow: visible;
}

.brand-logo-img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.search-bar-wrap {
  flex: 1;
  max-width: 480px;
  margin: 0 30px;
}

.search-form {
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 16px;
  padding-right: 42px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  font-size: 13px;
  background: #fafafa;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.12);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #4b5563;
  padding: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-btn:hover {
  color: var(--accent-gold);
  background: rgba(197, 155, 39, 0.12);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.15);
}

.search-btn:active {
  transform: translateY(-50%) scale(0.94);
  background: rgba(197, 155, 39, 0.2);
}

.search-btn .search-icon-svg {
  display: block;
  stroke: currentColor;
  transition: transform 0.22s ease, stroke 0.22s ease;
}

.search-btn:hover .search-icon-svg {
  transform: rotate(-5deg);
}

.search-input:focus ~ .search-btn {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.header-action-btn:hover {
  color: var(--accent-gold);
  background: #fafafa;
}

.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.action-icon svg {
  display: block;
}

.cart-count-badge {
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* User Account Dropdown in Header */
.user-menu-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.user-menu-dropdown-wrap .header-action-btn {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.user-menu-dropdown-wrap:hover .header-action-btn,
.user-menu-dropdown-wrap.open .header-action-btn,
.user-menu-dropdown-wrap .header-action-btn:focus-visible {
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  border-color: rgba(197, 155, 39, 0.25);
}

.user-dropdown-arrow {
  font-size: 9px;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.user-menu-dropdown-wrap:hover .user-dropdown-arrow,
.user-menu-dropdown-wrap.open .user-dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-card {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 250px;
  z-index: 1050;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible hover bridge to prevent dropdown from closing when moving cursor over the gap */
.user-dropdown-card::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Active via JS click OR hover via CSS */
.user-menu-dropdown-wrap:hover .user-dropdown-card,
.user-menu-dropdown-wrap.open .user-dropdown-card,
.user-dropdown-card.active {
  display: flex !important;
}

.user-dropdown-header {
  padding: 14px 16px;
  background: #fbfbfb;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.user-dropdown-header strong {
  font-size: 13.5px;
  color: #111;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-dropdown-header small {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.4;
}

.user-dropdown-item {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-bottom: 1px solid #f9fafb;
  transition: all 0.18s ease;
}

.user-dropdown-item:last-child {
  border-bottom: none;
}

.user-dropdown-item:hover {
  background: #fcf8ee;
  color: var(--accent-gold);
  padding-left: 20px;
}

.user-dropdown-item.item-danger {
  color: #dc2626;
  border-top: 1px solid #f3f4f6;
  font-weight: 600;
}

.user-dropdown-item.item-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

/* =====================================================================
   CIRCULAR CATEGORY NAVIGATION BAR
   ===================================================================== */
.categories-bar-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.categories-bar-wrapper::-webkit-scrollbar {
  height: 4px;
}
.categories-bar-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.categories-bar-wrapper::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}
.categories-bar-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

.categories-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 2px 12px;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1250px) {
  .categories-list {
    justify-content: flex-start;
  }
}

.category-circular-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 88px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.category-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.category-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.category-circular-item:hover {
  transform: translateY(-3px);
}

.category-circular-item:hover .category-icon-circle {
  border-color: var(--accent-gold);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.35), 0 0 0 2px rgba(197, 155, 39, 0.15);
}

.category-circular-item:hover .category-icon-img {
  transform: scale(1.12);
}

.category-title {
  margin-top: 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  transition: color 0.2s ease;
  word-break: break-word;
}

.category-circular-item:hover .category-title {
  color: var(--accent-gold);
}

/* =====================================================================
   HOMEPAGE HERO BANNER SLIDER
   ===================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  margin: 16px 0 28px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.22);
  background: #0f172a;
  user-select: none;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 480px;
  max-height: 520px;
  min-height: 400px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.02);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 3;
}

.hero-slide-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.04);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.25) 100%);
  z-index: 2;
}

/* Background Watermark Typography */
.hero-slide-watermark {
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-family: var(--font-serif);
  font-size: clamp(75px, 15vw, 180px);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 0.85;
  color: #ffffff;
  opacity: 0.08;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}

/* Slide Content */
.hero-slide-content {
  position: relative;
  z-index: 4;
  padding: 40px 60px;
  max-width: 680px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero-slide.active .hero-slide-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slide-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.35);
}

.hero-slide-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fde68a;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-slide-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-slide-desc {
  font-size: 14.5px;
  color: #e5e7eb;
  line-height: 1.55;
  margin-bottom: 22px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  max-width: 540px;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.hero-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.4);
}

/* Arrow Navigation */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  padding: 0;
  opacity: 0;
}

.hero-slider-section:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow.prev {
  left: 18px;
}

.hero-slider-arrow.next {
  right: 18px;
}

.hero-slider-arrow:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Dot Indicators */
.hero-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 28px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.6);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-slider-track {
    height: 420px;
    min-height: 380px;
  }
  .hero-slide-content {
    padding: 30px 45px;
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .hero-slider-track {
    height: 380px;
    min-height: 360px;
  }
  .hero-slide-content {
    padding: 24px 22px;
    max-width: 100%;
  }
  .hero-slide-title {
    font-size: 26px;
    margin-bottom: 8px;
  }
  .hero-slide-subtitle {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .hero-slide-desc {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-slider-arrow {
    opacity: 0.85;
    width: 36px;
    height: 36px;
  }
  .hero-slider-arrow.prev { left: 8px; }
  .hero-slider-arrow.next { right: 8px; }
}

@media (max-width: 480px) {
  .hero-slider-track {
    height: 360px;
    min-height: 340px;
  }
  .hero-slide-content {
    padding: 20px 16px;
  }
  .hero-slide-title {
    font-size: 22px;
  }
  .hero-slide-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* =====================================================================
   HERO / PROMOTIONAL BANNERS
   ===================================================================== */
.hero-banner-section {
  padding: 24px 0;
}

.banner-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 340px;
  display: flex;
  align-items: center;
}

.banner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 1;
}

.banner-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 580px;
}

.banner-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.banner-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.banner-subtitle {
  font-size: 15px;
  color: #f3f4f6;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.4);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark:hover {
  background: #333333;
  border-color: #333333;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: #ffffff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* =====================================================================
   PRODUCT SECTIONS (NEW ARRIVALS, BEST SELLERS, FEATURED)
   ===================================================================== */
.section-wrapper {
  padding: 40px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}

.section-title-wrap h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.section-view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-view-all:hover {
  color: var(--accent-gold-hover);
  text-decoration: underline;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: #f7f7f7;
  overflow: hidden;
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-img {
  transform: scale(1.05);
}

.product-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
  max-width: calc(100% - 54px);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #ffffff;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.badge-offer,
.badge-discount {
  background: #e11d48;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-bestseller {
  background: #d97706;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-new {
  display: none !important;
}

.wishlist-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-heart-btn:hover {
  transform: scale(1.15);
  background: #ffffff;
  border-color: #fca5a5;
}

.wishlist-heart-btn.active {
  background: #fff1f2;
  border-color: #fca5a5;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25);
}

.wishlist-heart-btn.active .heart-icon-svg,
.wishlist-btn-toggle.active .heart-icon-svg {
  fill: #ef4444 !important;
  color: #ef4444 !important;
  stroke: #ef4444 !important;
}

.wishlist-heart-btn .heart-icon-svg,
.wishlist-btn-toggle .heart-icon-svg {
  display: block;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.2s ease, color 0.2s ease, stroke 0.2s ease;
}

.wishlist-heart-btn:active .heart-icon-svg,
.wishlist-btn-toggle:active .heart-icon-svg {
  transform: scale(1.25);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-name {
  font-size: 11px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.product-card-title:hover {
  color: var(--accent-gold);
}

.product-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.selling-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
}

.base-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.save-percent {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-red);
}

.product-card-actions {
  display: flex;
  gap: 8px;
}

.btn-icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-buy-now {
  flex: 1.1;
  background: var(--accent-gold);
  color: #111111;
  border: 1px solid var(--accent-gold);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(197, 155, 39, 0.25);
}

.btn-buy-now:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.35);
}

.btn-buy-now .buy-icon-svg,
.btn-buy-lg .buy-icon-svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-buy-now:hover .buy-icon-svg,
.btn-buy-lg:hover .buy-icon-svg {
  transform: scale(1.18);
}

.btn-add-cart {
  flex: 1;
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #1a1a1a;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: #2d3748;
  border-color: #2d3748;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.btn-add-cart .bag-icon-svg,
.product-bag-btn .bag-icon-svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.22s ease;
}

.btn-add-cart:hover .bag-icon-svg {
  transform: translateY(-1px);
}

.product-bag-btn:hover .bag-icon-svg {
  transform: scale(1.12);
  stroke: var(--accent-gold) !important;
}

.btn-buy-lg {
  background: var(--accent-gold);
  color: #111111;
  border: 1px solid var(--accent-gold);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.3);
}

.btn-buy-lg:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.4);
}

.btn-view-quick {
  background: #f8fafc;
  color: #4b5563;
  border: 1px solid #e2e8f0;
  padding: 0 10px;
  min-width: 38px;
  height: 35px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-view-quick:hover {
  background: #ffffff;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.18);
}

.btn-view-quick .view-icon-svg {
  display: block;
  stroke: currentColor;
  transition: transform 0.22s ease, stroke 0.22s ease;
}

.btn-view-quick:hover .view-icon-svg {
  transform: scale(1.15);
  stroke: var(--accent-gold);
}

.btn-gallery-view-quick {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.btn-gallery-view-quick:hover {
  transform: scale(1.12);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
}

.btn-gallery-view-quick .view-icon-svg {
  display: block;
  stroke: currentColor;
  transition: transform 0.22s ease;
}

.btn-gallery-view-quick:hover .view-icon-svg {
  transform: scale(1.1);
}

/* =====================================================================
   RESPONSIVE DYNAMIC FOOTER (AUTO-EXPANDING CSS GRID)
   ===================================================================== */
.site-footer {
  background-color: #141414;
  color: #9ca3af;
  margin-top: 60px;
  border-top: 3px solid var(--accent-gold);
  font-size: 13px;
}

.footer-top-strip {
  padding: 50px 0 35px 0;
}

/* Dynamic Grid Layout that auto-expands with new custom pages/columns */
.footer-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list li a {
  color: #9ca3af;
  display: inline-block;
  transition: var(--transition);
}

.footer-links-list li a:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}

.footer-company-info p strong {
  color: #ffffff;
}

.footer-gstin-highlight {
  display: inline-block;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  color: var(--accent-gold);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  margin-top: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid #242424;
  padding: 18px 0;
  font-size: 12px;
  color: #6b7280;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-payments-badge {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9ca3af;
}

/* =====================================================================
   STATUS PILLS & UI UTILITIES
   ===================================================================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info    { background: #e0f2fe; color: #0369a1; }
.badge-primary { background: #dbeafe; color: #1e40af; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-purple  { background: #f3e8ff; color: #6b21a8; }
.badge-secondary { background: #f3f4f6; color: #4b5563; }

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 14px 20px;
  background: #fafafa;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Flash alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* =====================================================================
   AUTHENTICATION PAGES (LOGIN & REGISTRATION) — LUXURY ANIMATIONS
   ===================================================================== */
.auth-wrapper {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: radial-gradient(circle at 50% 20%, rgba(197, 155, 39, 0.05) 0%, transparent 70%);
}

.auth-card-luxury {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  max-width: 480px;
  width: 100%;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  animation: authCardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #AA771C, #D4AF37);
  background-size: 200% 100%;
  animation: shimmerBar 4s infinite linear;
}

@keyframes authCardEntrance {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmerBar {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.auth-header-luxury {
  text-align: center;
  margin-bottom: 30px;
}

.auth-icon-badge {
  width: 56px;
  height: 56px;
  background: #fdfaf3;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.18);
  transition: transform 0.3s ease;
}

.auth-card-luxury:hover .auth-icon-badge {
  transform: rotate(6deg) scale(1.08);
}

.auth-title-luxury {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.auth-sub-luxury {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Elegant Form Controls & Floating Focus */
.input-group-luxury {
  margin-bottom: 20px;
  position: relative;
}

.input-label-luxury {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.input-control-luxury {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #fcfcfc;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.input-control-luxury:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.15);
  transform: translateY(-1px);
}

.input-with-prefix {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  background: #fcfcfc;
  transition: all 0.25s ease;
  overflow: hidden;
}

.input-with-prefix:focus-within {
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.15);
  transform: translateY(-1px);
}

.prefix-badge {
  padding: 0 14px;
  font-weight: 600;
  font-size: 13px;
  color: #6b7280;
  background: #f3f4f6;
  border-right: 1px solid #e5e7eb;
  height: 48px;
  display: flex;
  align-items: center;
}

.input-with-prefix input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 48px;
  padding: 0 14px;
  flex: 1;
  font-size: 14px;
  color: #111827;
}

.auth-btn-luxury {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1f1f1f 0%, #111111 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: 1px solid #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.auth-btn-luxury:hover {
  background: linear-gradient(135deg, #c59b27 0%, #a88118 100%);
  color: #111;
  border-color: #c59b27;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.35);
}

.auth-footer-luxury {
  text-align: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #6b7280;
}

.auth-footer-luxury a {
  color: var(--accent-gold);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

/* =====================================================================
   RESPONSIVE COMPONENT LAYOUT GRIDS (DESKTOP DEFAULTS)
   ===================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
}

.cart-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-table-wrap table {
  min-width: 520px;
}

/* Base Shopping Bag Responsive Views */
.cart-desktop-view {
  display: block;
}

.cart-mobile-view {
  display: none;
}

.cart-mobile-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md, 8px);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.cart-mobile-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cart-mobile-thumb-link {
  flex-shrink: 0;
  display: block;
}

.cart-mobile-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eeeeee;
}

.cart-mobile-info {
  flex: 1;
  min-width: 0;
}

.cart-mobile-title {
  font-weight: 600;
  font-size: 13.5px;
  color: #111111;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.cart-mobile-title:hover {
  color: var(--accent-gold);
}

.cart-mobile-unit-price {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.cart-mobile-remove-form {
  flex-shrink: 0;
  margin: 0;
}

.cart-mobile-remove-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.cart-mobile-remove-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.cart-mobile-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid #f3f4f6;
}

.cart-mobile-stepper-wrap {
  display: flex;
  align-items: center;
}

.cart-mobile-stepper-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.cart-mobile-qty-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.cart-mobile-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.cart-mobile-step-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: #f9fafb;
  color: #374151;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.cart-mobile-step-btn:hover {
  background: #f3f4f6;
  color: #111111;
}

.cart-mobile-step-input {
  width: 40px;
  height: 34px;
  border: none;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #111111;
  background: transparent;
  padding: 0;
  -moz-appearance: textfield;
}

.cart-mobile-step-input::-webkit-outer-spin-button,
.cart-mobile-step-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-mobile-subtotal-wrap {
  text-align: right;
}

.cart-mobile-subtotal-lbl {
  font-size: 11px;
  color: #6b7280;
  display: block;
}

.cart-mobile-subtotal-val {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary);
}

/* Shopping Bag Desktop Base Styles */
.cart-page-container {
  padding-top: 30px;
  padding-bottom: 70px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.cart-summary-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.cart-summary-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111111;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: #4b5563;
}

.cart-savings-row {
  color: #15803d;
  font-weight: 600;
}

.cart-grand-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 2px solid #111111;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
}

.cart-summary-note {
  font-size: 11.5px;
  color: #6b7280;
  margin: 16px 0;
  line-height: 1.45;
}

.cart-checkout-cta {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.checkout-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.checkout-stepper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.checkout-page-container {
  padding-top: 30px;
  padding-bottom: 80px;
}

.checkout-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 12px;
}

.checkout-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.checkout-header-link {
  font-size: 12.5px;
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.checkout-header-link:hover {
  text-decoration: underline;
}

.checkout-saved-addr-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.checkout-saved-addr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.checkout-phone-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.checkout-phone-prefix {
  background: #f3f4f6;
  border: 1px solid var(--border-color);
  border-right: none;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  border-radius: 4px 0 0 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.checkout-phone-input {
  width: 100%;
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--border-color);
  border-radius: 0 4px 4px 0;
  box-sizing: border-box;
  font-size: 14px;
}

.checkout-textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.45;
  resize: vertical;
}

.checkout-input {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 13.5px;
}

.state-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.state-option-item {
  padding: 9px 12px;
  font-size: 13px;
  color: #1e293b;
  cursor: pointer;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s ease;
}

.state-option-item:hover {
  background-color: #f1f5f9;
}

.checkout-save-addr-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  cursor: pointer;
  color: #4b5563;
  margin-top: 4px;
}

.payment-option-card {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.payment-option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.payment-option-label input[type="radio"] {
  margin-top: 4px;
  accent-color: #2563eb;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.payment-option-body {
  flex: 1;
  min-width: 0;
}

.payment-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-option-title {
  font-size: 14.5px;
  line-height: 1.35;
}

.payment-option-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-option-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.payment-fee-badge {
  font-size: 11px;
  color: #b45309;
  font-weight: 700;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.payment-option-desc {
  font-size: 12.5px;
  color: #475569;
  margin: 4px 0 0 0;
  line-height: 1.45;
}

.checkout-protection-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-items-preview {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 18px;
  padding-right: 4px;
}

.checkout-item-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f9fafb;
  align-items: center;
}

.checkout-promo-box {
  margin-bottom: 20px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.checkout-totals-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}

/* Account Portal Layout */
.account-portal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.account-portal-main {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.account-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Order Details & Success Layouts */
.order-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.order-lifecycle-stepper-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.order-utr-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.order-upi-prompt-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.order-summary-grid {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 13px;
}

.track-highlights-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
}

/* Order Success Base Desktop Styles */
.order-success-card {
  max-width: 740px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.order-success-check-badge {
  width: 76px;
  height: 76px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.order-success-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.order-upi-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 26px;
}

.order-utr-locked-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 20px;
}

.order-utr-form {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 20px;
}

.order-utr-submit-row {
  display: flex;
  gap: 10px;
}

.order-items-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 26px;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.order-policy-card {
  background: #fdfaf3;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  margin-bottom: 28px;
}

.order-policy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.order-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Mobile, Tablet, and Desktop Adaptive Alignment
   ===================================================================== */

/* --- 1. TABLET & SMALL LAPTOPS (<= 1024px) --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .cart-layout-grid {
    gap: 24px;
  }
  .checkout-layout-grid {
    gap: 24px;
  }
  .product-detail-layout {
    gap: 32px;
  }
  .hero-slider-track {
    height: 420px;
    min-height: 380px;
  }
  .hero-slide-content {
    padding: 30px 45px;
    max-width: 580px;
  }
}

/* --- 2. MEDIUM TABLETS & COMPACT VIEWPORTS (<= 992px) --- */
@media (max-width: 992px) {
  /* Main Header Alignment */
  .main-header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;
  }
  .brand-logo-wrap {
    order: 1;
    flex: 0 1 auto;
    max-width: calc(100% - 150px);
    min-width: 110px;
  }
  .brand-logo-img {
    max-height: 38px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
  }
  .brand-logo-wrap h1 {
    font-size: 20px;
  }
  .header-actions {
    order: 2;
    gap: 8px;
  }
  .header-action-btn {
    padding: 7px 10px;
    font-size: 15px;
  }
  .header-action-btn .action-label {
    display: none;
  }
  .header-action-btn .user-dropdown-arrow {
    display: none;
  }
  .cart-count-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    padding: 0 3px;
    border: 1.5px solid #ffffff;
  }
  .search-bar-wrap {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 4px 0 2px 0;
  }
  .search-input {
    padding: 9px 16px;
    font-size: 13px;
  }
  #user-dropdown-card {
    right: 0;
    left: auto;
    width: 280px;
    max-width: calc(100vw - 32px);
  }

  /* Cart & Checkout Layout */
  .cart-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Product Details Layout */
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Account Portal & Order Detail Layouts */
  .account-portal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .order-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- 3. MOBILE DEVICES & SMARTPHONES (<= 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  /* Top Contact Strip */
  .top-info-strip {
    padding: 6px 0;
    font-size: 11px;
  }
  .top-info-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .info-contacts {
    justify-content: center;
    gap: 12px;
  }
  .info-right-links {
    justify-content: center;
    gap: 14px;
  }

  /* Circular Category Navigation Bar */
  .categories-bar-wrapper {
    padding: 12px 0 10px;
    scroll-padding: 0 14px;
  }
  .categories-list {
    gap: 14px;
    padding: 2px 14px;
    justify-content: flex-start;
  }
  .category-circular-item {
    width: 68px;
  }
  .category-icon-circle {
    width: 58px;
    height: 58px;
    padding: 2px;
    border-width: 1.5px;
  }
  .category-title {
    font-size: 10px;
    margin-top: 6px;
    line-height: 1.25;
  }

  /* Hero Banner Slider */
  .hero-slider-section {
    margin: 10px 0 20px 0;
    border-radius: var(--radius-sm, 8px);
  }
  .hero-slider-track {
    height: 350px;
    min-height: 310px;
  }
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.95) 100%);
  }
  .hero-slide-watermark {
    display: none;
  }
  .hero-slide-content {
    padding: 18px 16px;
    max-width: 100%;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
  }
  .hero-slide-badge {
    font-size: 9px;
    padding: 2.5px 7px;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  .hero-slide-subtitle {
    font-size: 11.5px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
  }
  .hero-slide-title {
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .hero-slide-desc {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }
  .hero-slide-btn {
    padding: 9px 18px;
    font-size: 11.5px;
  }
  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    opacity: 0.75;
  }
  .hero-slider-arrow.prev { left: 6px; }
  .hero-slider-arrow.next { right: 6px; }
  .hero-slider-dots {
    bottom: 8px;
    gap: 6px;
  }
  .hero-dot {
    width: 8px;
    height: 8px;
  }
  .hero-dot.active {
    width: 22px;
  }

  /* Promotional Seasonal Banner */
  .hero-banner-section {
    padding-top: 6px;
  }
  .banner-card {
    min-height: 210px;
    border-radius: var(--radius-sm, 8px);
  }
  .banner-card::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(15, 23, 42, 0.95) 100%);
  }
  .banner-overlay-content {
    padding: 20px 16px;
    max-width: 100%;
  }
  .banner-title {
    font-size: clamp(19px, 5.5vw, 24px) !important;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .banner-subtitle {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .banner-badge {
    font-size: 9.5px;
    padding: 3px 8px;
    margin-bottom: 8px;
  }

  /* Product Section Headers */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
  .section-title-wrap h2 {
    font-size: 19px;
    gap: 6px;
  }
  .section-title-wrap p {
    font-size: 12px;
  }
  .section-view-all {
    font-size: 12px;
    align-self: flex-start;
  }

  /* Two-Column Responsive Mobile Product Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    border-radius: var(--radius-sm, 6px);
  }
  .product-thumb-wrap {
    aspect-ratio: 1/1;
  }
  .product-badges-top {
    top: 6px;
    left: 6px;
    gap: 3px;
    max-width: calc(100% - 42px);
  }
  .badge-tag {
    font-size: 8.5px;
    padding: 2px 5px;
  }
  .wishlist-heart-btn {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
  }
  .wishlist-heart-btn svg {
    width: 14px;
    height: 14px;
  }
  .product-card-body {
    padding: 10px 8px 12px;
  }
  .product-category-name {
    font-size: 9px;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }
  .product-card-title {
    font-size: 12.5px;
    height: 34px;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .product-pricing-row {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }
  .selling-price {
    font-size: 14px;
  }
  .base-price {
    font-size: 11px;
  }
  .save-percent {
    font-size: 9.5px;
  }
  .product-card-actions {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }
  .btn-buy-now,
  .btn-add-cart {
    width: 100%;
    padding: 6px 8px;
    font-size: 11px;
    height: 32px;
    justify-content: center;
  }

  /* Product Details Page Mobile View */
  .product-detail-layout h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  /* Account & Order Detail Mobile Adjustments */
  .account-portal-main {
    padding: 20px 16px;
  }
  .order-utr-box {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .order-upi-prompt-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  /* Shopping Bag Mobile Viewport Activation (<= 768px) */
  .cart-desktop-view {
    display: none !important;
  }
  .cart-mobile-view {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  .cart-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cart-summary-card {
    padding: 20px 16px !important;
    border-radius: 8px !important;
  }
  .cart-checkout-cta {
    padding: 14px 16px !important;
    font-size: 14.5px !important;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Order Success Mobile Enhancements (<= 768px) */
  .order-success-card {
    padding: 24px 16px !important;
    border-radius: 10px !important;
  }
  .order-success-check-badge {
    width: 62px !important;
    height: 62px !important;
    font-size: 30px !important;
    margin-bottom: 14px !important;
  }
  .order-success-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .order-utr-submit-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .order-utr-submit-row input {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 46px;
  }
  .order-utr-submit-row button {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center !important;
  }
  .order-success-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .order-success-actions a {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .order-upi-card {
    padding: 18px 14px !important;
  }
  .order-utr-locked-card {
    padding: 16px 12px !important;
  }
  .order-utr-form {
    padding: 16px 12px !important;
  }
  .order-utr-box > span:last-child {
    justify-self: start;
  }
  .order-items-table td {
    padding: 10px 8px !important;
  }
  .order-items-table td:first-child {
    width: 44px !important;
    padding-left: 12px !important;
  }
  .order-items-table td:last-child {
    padding-right: 12px !important;
    white-space: nowrap;
  }
  .order-policy-card {
    padding: 14px 12px !important;
  }
  .cart-page-container {
    padding-top: 20px !important;
    padding-bottom: 50px !important;
  }
  .cart-empty-state {
    padding: 40px 16px !important;
  }

  /* Footer Mobile View */
  .site-footer {
    padding-top: 36px;
  }
  .footer-dynamic-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-company-info {
    grid-column: 1 / -1;
  }
}

/* --- 4. COMPACT MOBILE & FORM BREAKPOINTS (<= 640px) --- */
@media (max-width: 640px) {
  .checkout-page-container {
    padding-top: 14px !important;
    padding-bottom: 40px !important;
  }
  .checkout-card-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
    gap: 6px;
  }
  .checkout-card-title {
    font-size: 16px !important;
  }
  .checkout-header-link {
    font-size: 12px !important;
  }
  .checkout-saved-addr-box {
    padding: 12px 10px !important;
    margin-bottom: 16px !important;
  }
  .checkout-form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checkout-form-row-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checkout-stepper-grid {
    gap: 6px;
  }
  .checkout-stepper-grid > div {
    font-size: 11px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    line-height: 1.25;
  }
  .checkout-stepper-grid span {
    margin-right: 0 !important;
  }
  .checkout-stepper-card {
    padding: 12px 14px !important;
    margin-bottom: 18px !important;
  }
  .checkout-section-card {
    padding: 18px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
  }
  .checkout-summary-card {
    padding: 18px 14px !important;
    border-radius: 8px !important;
    position: static !important;
  }
  .payment-option-label {
    padding: 12px 12px !important;
    gap: 10px !important;
  }
  .payment-option-title {
    font-size: 13.5px !important;
  }
  .payment-option-desc {
    font-size: 11.5px !important;
  }
  .checkout-phone-prefix {
    height: 44px;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
  .checkout-phone-input {
    height: 44px;
    font-size: 14px !important;
    padding: 0 12px !important;
  }
  .checkout-textarea {
    font-size: 14px !important;
    min-height: 68px;
    padding: 10px 12px !important;
  }
  .checkout-protection-banner {
    padding: 10px 12px !important;
    align-items: flex-start !important;
    font-size: 11.5px !important;
    line-height: 1.4;
  }
  .checkout-items-preview {
    max-height: 240px;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-save-addr-label {
    align-items: flex-start !important;
    font-size: 12px !important;
    line-height: 1.4;
  }
  .state-dropdown-menu {
    max-height: 200px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  }
  .state-option-item {
    padding: 12px 14px !important;
    font-size: 14px !important;
    min-height: 42px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  .state-option-item:active {
    background-color: #e0f2fe !important;
  }
  #place_order_btn {
    padding: 14px 16px !important;
    font-size: 15px !important;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .checkout-input,
  .checkout-form-row-2 input,
  .checkout-form-row-3 input,
  #state_input,
  input[name="customer_phone"] {
    min-height: 44px;
    font-size: 14px !important;
  }
  #saved-address-selector {
    min-height: 44px;
    font-size: 13px;
  }
  .payment-option-label input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
  }
  .checkout-promo-box {
    padding: 12px 10px !important;
    margin-bottom: 16px !important;
  }
  .checkout-summary-card input[name="coupon_code"] {
    height: 40px;
    font-size: 13px !important;
  }
  .checkout-summary-card button[type="submit"] {
    height: 40px;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
  .order-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .track-highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Account Login / Registration Ergonomics (<= 640px) */
  .auth-wrapper {
    padding: 24px 12px !important;
    min-height: auto !important;
  }
  .auth-card-luxury {
    padding: 28px 18px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }
  .auth-header-luxury {
    margin-bottom: 22px !important;
  }
  .auth-icon-badge {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .auth-title-luxury {
    font-size: 22px !important;
  }
  .auth-sub-luxury {
    font-size: 12.5px !important;
  }
  .prefix-badge {
    height: 46px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
  .input-with-prefix input {
    height: 46px !important;
    font-size: 15px !important;
  }
  .input-control-luxury {
    padding: 12px 14px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }
  .auth-btn-luxury {
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 14.5px !important;
    border-radius: 8px !important;
  }
  .auth-footer-luxury {
    margin-top: 20px !important;
    padding-top: 16px !important;
    font-size: 12.5px !important;
  }
}

/* --- 5. SMALL PHONES & PORTRAIT (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .auth-wrapper {
    padding: 20px 10px !important;
  }
  .auth-card-luxury {
    padding: 24px 14px !important;
    border-radius: 12px !important;
  }
  .auth-title-luxury {
    font-size: 20px !important;
  }
  .cart-mobile-thumb {
    width: 64px !important;
    height: 64px !important;
  }
  .cart-mobile-title {
    font-size: 13px !important;
  }
  .cart-mobile-subtotal-val {
    font-size: 14.5px !important;
  }
  .checkout-stepper-card {
    padding: 10px 6px !important;
    margin-bottom: 14px !important;
  }
  .checkout-stepper-grid {
    gap: 4px;
  }
  .checkout-stepper-grid > div {
    font-size: 10px !important;
    line-height: 1.2;
  }
  .checkout-stepper-grid span {
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    font-size: 10.5px !important;
  }
  .checkout-section-card {
    padding: 16px 12px !important;
  }
  .checkout-summary-card {
    padding: 16px 12px !important;
  }
  .checkout-card-header {
    margin-bottom: 14px;
    padding-bottom: 8px;
  }
  .checkout-card-title {
    font-size: 15px !important;
  }
  .checkout-header-link {
    font-size: 11.5px !important;
  }
  .payment-option-label {
    padding: 10px 8px !important;
    gap: 8px !important;
  }
  .payment-option-title {
    font-size: 12.5px !important;
  }
  .payment-option-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .payment-fee-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .payment-option-desc {
    font-size: 11px !important;
  }
  #place_order_btn {
    font-size: 14px !important;
    min-height: 46px;
    height: 46px;
    padding: 10px 12px !important;
  }
  .checkout-item-row img {
    width: 42px !important;
    height: 42px !important;
  }
  .order-success-card {
    padding: 18px 12px !important;
  }
  .order-success-title {
    font-size: 20px !important;
  }
  .account-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .brand-logo-wrap {
    max-width: calc(100% - 130px);
    min-width: 100px;
  }
  .brand-logo-img {
    max-height: 32px;
    max-width: 100%;
    height: auto;
    width: auto;
  }
  .brand-logo-wrap h1 {
    font-size: 18px;
  }
  .header-action-btn {
    padding: 5px 6px;
  }
  .hero-slider-track {
    height: 310px;
    min-height: 280px;
  }
  .hero-slide-content {
    padding: 14px 12px;
  }
  .hero-slide-title {
    font-size: 19px;
  }
  .footer-dynamic-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* --- 6. EXTRA SMALL PHONES (<= 360px) --- */
@media (max-width: 360px) {
  .checkout-stepper-grid > div {
    font-size: 9.5px !important;
  }
  .payment-option-title {
    font-size: 12px !important;
  }
  .checkout-card-title {
    font-size: 14px !important;
  }
  .products-grid {
    gap: 8px;
  }
  .product-card-body {
    padding: 8px 6px 10px;
  }
  .product-card-title {
    font-size: 11.5px;
    height: 30px;
  }
  .selling-price {
    font-size: 13px;
  }
  .category-circular-item {
    width: 62px;
  }
  .category-icon-circle {
    width: 52px;
    height: 52px;
  }
}
