/* ================================================================
   MODERN.CSS — RGR Collections Indian Ethnic Wear
   Design System: Crimson · Gold · Ivory
   ================================================================ */

/* Google Fonts — Cormorant Garamond (headings) + Inter (UI) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ----------------------------------------------------------------
   DESIGN TOKENS — Indian Ethnic Palette
   ---------------------------------------------------------------- */
:root {
  --primary:        #b5294e;   /* deep crimson/rose */
  --primary-dark:   #8b1a35;   /* dark crimson */
  --primary-light:  #fce7ef;   /* blush pink */
  --gold:           #c9972e;   /* Indian gold */
  --gold-dark:      #a07825;   /* dark gold */
  --gold-light:     #fdf3dc;   /* warm cream-gold */
  --dark:           #1a0a0f;   /* deep maroon-black */
  --dark-2:         #2d1520;   /* dark maroon */
  --text:           #3d1f2e;   /* warm dark text */
  --muted:          #7a5060;   /* warm muted */
  --border:         #e8d5dc;   /* warm pink border */
  --bg:             #fdf8f0;   /* warm ivory */
  --white:          #ffffff;
  --success:        #1a7a5c;   /* deep teal */
  --danger:         #c0392b;   /* red */
  --warning:        #c9972e;   /* gold */

  --shadow-sm:  0 1px 3px rgba(90,10,30,.06), 0 1px 2px rgba(90,10,30,.04);
  --shadow:     0 4px 6px -1px rgba(90,10,30,.08), 0 2px 4px -2px rgba(90,10,30,.06);
  --shadow-md:  0 6px 14px -2px rgba(90,10,30,.1),  0 3px 6px -3px rgba(90,10,30,.08);
  --shadow-lg:  0 10px 20px -3px rgba(90,10,30,.1),  0 4px 8px -4px rgba(90,10,30,.07);
  --shadow-xl:  0 20px 30px -5px rgba(90,10,30,.12), 0 8px 12px -6px rgba(90,10,30,.08);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      68px;
}

/* ----------------------------------------------------------------
   BASE
   ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--primary-dark); text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: var(--dark-2);
  letter-spacing: 0em;
  line-height: 1.25;
}

img { max-width: 100%; height: auto; }

/* ----------------------------------------------------------------
   BOOTSTRAP OVERRIDES — BUTTONS
   ---------------------------------------------------------------- */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.35rem;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8b1a35 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(181,41,78,.35);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #5c1020 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(181,41,78,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-success {
  background: linear-gradient(135deg, #1a7a5c 0%, #0f5c42 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(26,122,92,.3);
}
.btn-success:hover {
  background: linear-gradient(135deg, #0f5c42 0%, #084530 100%);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Gold outlined button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(201,151,46,.35);
  font-weight: 600;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,151,46,.45);
  color: #fff !important;
}

.btn-danger {
  background: var(--danger);
  color: #fff !important;
}
.btn-danger:hover {
  background: #a93226;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--text) !important;
  border: 1.5px solid var(--border) !important;
}
.btn-light:hover {
  background: var(--bg);
  border-color: #d4a8b8 !important;
  color: var(--dark-2) !important;
}

.btn-block { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   BOOTSTRAP OVERRIDES — CARDS
   ---------------------------------------------------------------- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   BOOTSTRAP OVERRIDES — FORMS
   ---------------------------------------------------------------- */
.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark-2);
  background: var(--white);
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181,41,78,.12);
  outline: none;
  background: var(--white);
}
.form-control::placeholder { color: #b8909e; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 0.3rem;
  font-family: 'Inter', sans-serif;
}

/* ----------------------------------------------------------------
   BOOTSTRAP OVERRIDES — DROPDOWNS
   ---------------------------------------------------------------- */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 0.4rem;
  background: var(--white);
}
.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.dropdown-item.text-danger:hover {
  background: #fde8e8;
  color: var(--danger);
}
.dropdown-divider { border-color: var(--border); margin: 0.3rem 0; }

/* ----------------------------------------------------------------
   BOOTSTRAP OVERRIDES — BADGES & ALERTS
   ---------------------------------------------------------------- */
.badge {
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 50px;
  padding: 0.3em 0.7em;
  font-family: 'Inter', sans-serif;
}
.badge-danger { background: var(--danger); }
.badge-success { background: var(--success); }

.alert {
  border: none;
  border-radius: var(--radius);
  border-left: 4px solid;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.alert-success {
  background: #edfaf4;
  border-left-color: var(--success);
  color: #0a4a38;
}
.alert-danger {
  background: #fdf0ef;
  border-left-color: var(--danger);
  color: #7f1d1d;
}
.alert-info {
  background: var(--primary-light);
  border-left-color: var(--primary);
  color: var(--primary-dark);
}
.alert-warning {
  background: var(--gold-light);
  border-left-color: var(--gold);
  color: #7a5010;
}
.alert .close { opacity: 0.5; }
.alert .close:hover { opacity: 1; }

/* ----------------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------------- */
.site-nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  height: var(--nav-h);
  /* Subtle gold border bottom */
  border-bottom: 2px solid rgba(201,151,46,.35);
}
.site-nav .container {
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1.25rem;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
/* Fallback text logo if image missing */
.nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav-logo-text span {
  color: var(--gold);
}

/* Search bar */
.nav-search-form {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(201,151,46,.25);
  border-radius: 50px;
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  transition: var(--transition);
}
.nav-search-form:focus-within {
  background: rgba(255,255,255,.11);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,46,.18);
}
.nav-search-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  min-width: 0;
}
.nav-search-form input::placeholder { color: rgba(255,255,255,.38); }
.nav-search-form button {
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 0.38rem 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.nav-search-form button:hover { background: var(--primary-dark); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.72);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.nav-btn:hover, .nav-btn:focus {
  color: #fff;
  background: rgba(255,255,255,.09);
  text-decoration: none;
}

/* Register CTA — gold */
.nav-btn-register {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff !important;
  border-radius: 50px;
  padding: 0.38rem 1.1rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(201,151,46,.35);
}
.nav-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(201,151,46,.5);
  color: #fff !important;
}

/* Cart icon */
.nav-cart {
  position: relative;
  color: rgba(255,255,255,.8);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 1.1rem;
}
.nav-cart:hover {
  color: var(--gold);
  background: rgba(201,151,46,.1);
}
.nav-cart .cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
  line-height: 1;
}
.nav-actions .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.25em;
}

/* ----------------------------------------------------------------
   PAGE HEADER
   ---------------------------------------------------------------- */
.section-pagetop {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 2.25rem 0;
  border-bottom: 2px solid rgba(201,151,46,.3);
}
.section-pagetop .title-page {
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, #0f0205 0%, #2d0818 50%, #5c1428 100%);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
/* Decorative mandala-inspired glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,151,46,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181,41,78,.15) 0%, transparent 70%);
  pointer-events: none;
}
/* Subtle paisley border at bottom */
.hero-section .hero-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--primary), var(--gold), transparent);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,151,46,.15);
  border: 1px solid rgba(201,151,46,.4);
  color: #f0c96a;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #f0c96a 0%, #c9972e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,.62);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 22px rgba(181,41,78,.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
.hero-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(181,41,78,.6);
}
.hero-btn-secondary {
  color: rgba(255,255,255,.85);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(201,151,46,.45);
  background: rgba(201,151,46,.08);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.hero-btn-secondary:hover {
  color: #f0c96a;
  border-color: var(--gold);
  background: rgba(201,151,46,.14);
}

/* Hero image frame */
.hero-img-frame {
  position: relative;
  width: 320px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(201,151,46,.4);
  box-shadow: 0 25px 60px rgba(0,0,0,.4), 0 0 0 8px rgba(201,151,46,.08);
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Gold corner decorations */
.hero-img-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(201,151,46,.3);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------------------------------------
   FEATURES STRIP
   ---------------------------------------------------------------- */
.features-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(201,151,46,.2);
}
.feature-item h6 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.1rem;
  color: var(--dark-2);
}
.feature-item p {
  font-size: 0.775rem;
  color: var(--muted);
  margin: 0;
}

/* ----------------------------------------------------------------
   SECTION HEADINGS
   ---------------------------------------------------------------- */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-2);
  position: relative;
  padding-bottom: 0.6rem;
  margin: 0 !important;
  display: inline-block !important;
  letter-spacing: 0.01em;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 2px;
}

/* Divider ornament */
.ornament-divider {
  text-align: center;
  color: var(--gold);
  opacity: 0.5;
  margin: 0.5rem 0 2rem;
  font-size: 1.1rem;
  letter-spacing: 0.5em;
}

/* ----------------------------------------------------------------
   PRODUCT CARDS (GRID)
   ---------------------------------------------------------------- */
.card-product-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card-product-grid:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,151,46,.35);
}

/* Image wrapper */
.card-product-grid .img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--gold-light);
  aspect-ratio: 3 / 4;   /* portrait ratio suits clothing */
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-product-grid .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.card-product-grid:hover .img-wrap img { transform: scale(1.06); }

/* Hover overlay */
.card-product-grid .img-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,10,15,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card-product-grid:hover .img-wrap .img-overlay { opacity: 1; }
.img-overlay .overlay-pill {
  background: #fff;
  color: var(--dark-2);
  padding: 0.5rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transform: translateY(10px);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-lg);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
.card-product-grid:hover .img-overlay .overlay-pill { transform: translateY(0); }
.img-overlay .overlay-pill:hover { background: var(--primary); color: #fff; }

/* Info wrap */
.card-product-grid .info-wrap {
  padding: 1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.card-product-grid .info-wrap .title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-2);
  display: block;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-product-grid .info-wrap .title:hover { color: var(--primary); }
.card-product-grid .info-wrap .price {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
}
.card-product-grid .info-wrap .mt-1 { margin-top: 0.3rem !important; }

/* ----------------------------------------------------------------
   CATEGORY CARDS
   ---------------------------------------------------------------- */
.category-card {
  display: block;
  background: linear-gradient(135deg, var(--gold-light), #fff9f0);
  border: 1px solid rgba(201,151,46,.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  font-weight: 700;
  color: var(--dark-2);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  color: var(--primary-dark);
}
.category-card i {
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}
.category-card:hover i { transform: scale(1.15); }

/* ----------------------------------------------------------------
   PRODUCT DETAIL
   ---------------------------------------------------------------- */
.gallery-wrap {
  padding: 1.5rem 1.5rem 1rem;
}
.img-big-wrap {
  background: var(--gold-light);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.img-big-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-big-wrap a { display: block; width: 100%; height: 100%; }

ul.thumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
ul.thumb li { display: contents; }
ul.thumb a {
  display: block;
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
  flex-shrink: 0;
}
ul.thumb a:hover { border-color: var(--gold); }
ul.thumb a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-body {
  padding: 2rem 2rem 2rem 1.5rem;
}
.content-body h2.title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
  color: var(--dark-2);
}
.content-body .price.h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.item-option-select {
  margin-bottom: 1.1rem;
  width: 100%;
  max-width: 280px;
}
.item-option-select h6 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* ----------------------------------------------------------------
   FILTER SIDEBAR
   ---------------------------------------------------------------- */
.filter-group .card-header { padding: 0.85rem 1rem; }
.filter-group .card-header a {
  color: var(--dark-2);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.filter-group .card-header .icon-control {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.filter-group .card-header a.collapsed .icon-control { transform: rotate(-90deg); }

.list-menu { padding: 0; list-style: none; margin: 0; }
.list-menu li { border-bottom: 1px solid var(--border); }
.list-menu li:last-child { border-bottom: none; }
.list-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.list-menu a:hover { color: var(--primary); padding-left: 6px; }

.checkbox-btn input { display: none; }
.checkbox-btn span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  color: var(--text);
  background: var(--white);
  margin: 0.2rem 0.15rem;
  user-select: none;
  font-family: 'Inter', sans-serif;
}
.checkbox-btn span:hover { border-color: var(--primary); color: var(--primary); }
.checkbox-btn input:checked + span {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Products count bar */
.products-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.products-count-bar span {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.products-count-bar strong { color: var(--dark-2); }

/* ----------------------------------------------------------------
   CART
   ---------------------------------------------------------------- */
.table-shopping-cart th {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.85rem 0.75rem;
  border-bottom: 2px solid var(--border) !important;
  background: var(--bg);
}
.table-shopping-cart td {
  vertical-align: middle;
  padding: 1.1rem 0.75rem;
  border-color: var(--border);
}
.table-shopping-cart .title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-2);
}
.table-shopping-cart .title:hover { color: var(--primary); }

.input-spinner {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: inline-flex;
  align-items: stretch;
  background: var(--white);
}
.input-spinner .btn {
  padding: 0.35rem 0.65rem;
  background: var(--bg);
  color: var(--text);
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.input-spinner .btn:hover { background: var(--border); }
.input-spinner .form-control {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 0.35rem;
  background: var(--white);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

/* Price display */
.price-wrap .price {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.price-wrap .price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.8rem;
}
.price-wrap small { display: block; }

.dlist-align {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}
.dlist-align dt { font-weight: 500; color: var(--text); flex-shrink: 0; }
.dlist-align dd { font-weight: 700; color: var(--dark-2); margin: 0; }

/* Cart empty state */
.cart-empty-state {
  text-align: center;
  padding: 5rem 1.5rem;
}
.cart-empty-icon {
  font-size: 4.5rem;
  color: #d4a8b8;
  margin-bottom: 1.5rem;
  display: block;
}
.cart-empty-state h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.cart-empty-state p { color: var(--muted); margin-bottom: 2rem; }

/* ----------------------------------------------------------------
   AUTH PAGES
   ---------------------------------------------------------------- */
.auth-wrapper {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: linear-gradient(160deg, #fff5f7 0%, var(--bg) 50%, var(--gold-light) 100%);
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
}
.auth-card.wide { max-width: 560px; }

.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo img { height: 38px; }

.auth-head { margin-bottom: 1.75rem; }
.auth-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}
.auth-head p { font-size: 0.9rem; color: var(--muted); margin: 0; font-family: 'Inter', sans-serif; }

.auth-footer-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.auth-footer-text a { font-weight: 700; color: var(--primary); }

/* Verification banner */
.verify-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.verify-banner .verify-icon {
  width: 68px;
  height: 68px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
}
.verify-banner h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.verify-banner p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; font-family: 'Inter', sans-serif; }

/* ----------------------------------------------------------------
   DASHBOARD SIDEBAR
   ---------------------------------------------------------------- */
.dash-sidebar {}
.dash-sidebar .sidebar-menu {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.dash-sidebar .sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.dash-sidebar .sidebar-menu a:last-child { border-bottom: none; }
.dash-sidebar .sidebar-menu a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.dash-sidebar .sidebar-menu a.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  border-color: transparent;
}
.dash-sidebar .sidebar-menu a i {
  width: 18px;
  text-align: center;
  opacity: 0.8;
  flex-shrink: 0;
}
.dash-sidebar .sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.7rem;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-sm);
  background: #fff5f5;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.dash-sidebar .sidebar-logout:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

/* Dashboard stat cards */
.stat-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg), var(--gold-light));
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
}
.stat-link:hover { color: var(--primary-dark); gap: 0.5rem; }

/* ----------------------------------------------------------------
   REVIEW / RATING
   ---------------------------------------------------------------- */
.rating-stars i { font-size: 0.875rem; }
.rating-stars .fas, .rating-stars .fa-star { color: #c9972e; }
.rating-stars .fa-star-half-alt { color: #c9972e; }
.rating-stars .far.fa-star { color: #e8d5dc; }

/* Star input widget */
.rate {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 2px;
}
.rate input { display: none; }
.rate label {
  cursor: pointer;
  font-size: 1.5rem;
  color: #e8d5dc;
  margin: 0;
  font-weight: 400;
  transition: color 0.15s ease;
}
.rate label::before { content: '★'; }
.rate label.half { font-size: 0; width: 0.85rem; overflow: hidden; }
.rate label.half::before { font-size: 1.5rem; }
.rate input:checked ~ label,
.rate label:hover,
.rate label:hover ~ label { color: var(--gold); }

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-card .reviewer-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-2);
}
.review-card .review-date {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

/* ----------------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------------- */
.pagination .page-link {
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  border: 1.5px solid var(--border) !important;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.9rem;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.pagination .page-link:hover {
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
  color: var(--primary-dark);
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(181,41,78,.35);
}
.pagination .page-item.disabled .page-link { opacity: 0.4; }

/* ----------------------------------------------------------------
   ORDER TABLES
   ---------------------------------------------------------------- */
.order-table th {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--bg);
  padding: 0.8rem 1rem;
  border-bottom: 2px solid var(--border) !important;
}
.order-table td { padding: 0.9rem 1rem; vertical-align: middle; font-size: 0.9rem; font-family: 'Inter', sans-serif; }
.order-id-link {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.03em;
}
.order-id-link:hover { color: var(--primary-dark); }

/* ----------------------------------------------------------------
   CHECKOUT SUCCESS
   ---------------------------------------------------------------- */
.success-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: linear-gradient(160deg, #fff5f7 0%, var(--bg) 60%, var(--gold-light) 100%);
}
.success-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--border);
}
.success-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--success);
  margin: 0 auto 1.5rem;
}
.order-id-badge {
  display: inline-block;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.85rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-2);
  letter-spacing: 0.05em;
  margin: 0.75rem 0;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer-modern {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  border-top: 3px solid rgba(201,151,46,.35);
}
.footer-modern .footer-top { padding: 3.5rem 0 2.5rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand img {
  height: 34px;
  margin-bottom: 0.85rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  display: block;
}
.footer-brand-name span { color: var(--gold); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 240px;
  color: rgba(255,255,255,.45);
  font-family: 'Inter', sans-serif;
}
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 0; }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
  font-family: 'Inter', sans-serif;
}
.footer-copyright a { color: rgba(255,255,255,.5); }
.footer-copyright a:hover { color: var(--gold); }
.footer-pay-icons i {
  font-size: 1.7rem;
  color: rgba(255,255,255,.4);
  margin-left: 0.65rem;
  transition: var(--transition);
}
.footer-pay-icons i:hover { color: var(--gold); }

/* ----------------------------------------------------------------
   UTILITIES / MISC
   ---------------------------------------------------------------- */
.bg { background-color: var(--bg) !important; }
.section-content { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.padding-y { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.padding-y-sm { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }

.img-sm {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.itemside { display: flex; align-items: center; gap: 0.9rem; }
.fix-height { min-height: 58px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .nav-search-form { display: none; }
  .hero-section { padding: 3rem 0 2.5rem; }
  .hero-title { font-size: 2.2rem; }
  .content-body { padding: 1.25rem; }
  .auth-card { padding: 1.75rem 1.25rem; }
  .success-card { padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 576px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .products-count-bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .features-strip .col-md-3 { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .features-strip .col-md-3:last-child { border-bottom: none; }
}