@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f8f5fc;
  --surface: #ffffff;
  --surface-soft: #f1eafb;
  --surface-tint: #e5d8f6;
  --camel: #c5a059;
  --border: #e2cf9f;
  --ink: #0f1e36;
  --ink-muted: #334e68;
  --navy: #0f1e36;
  --navy-light: #1b3154;
  --primary: #4a154b;
  --primary-dark: #3b0764;
  --primary-light: #f3e8ff;
  --purple: #4a154b;
  --accent: #5b21b6;
  --purple-light: #f3ecf8;
  --gold: #c5a059;
  --gold-bright: #d4af37;
  --gold-soft: #fbf5e6;
  --success: #14532d;
  --shadow-sm: 0 2px 12px rgba(74, 21, 75, 0.07);
  --shadow-md: 0 14px 36px rgba(15, 30, 54, 0.12);
  --shadow-lg: 0 24px 54px rgba(74, 21, 75, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.serif-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Announcement Ribbon (50% Royal Purple / 30% Gold / 20% Navy Blue) */
.top-ribbon {
  background: linear-gradient(90deg, #4a154b 0%, #0f1e36 50%, #5b21b6 100%);
  color: #fbf5e6;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1.5px solid #d4af37;
}

.top-ribbon .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-ribbon a {
  color: #fbf5e6;
  font-weight: 600;
}

.ribbon-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.ribbon-links a {
  color: #fbf5e6;
  font-weight: 500;
  transition: color 0.15s;
}

.ribbon-links a:hover {
  color: var(--gold-bright);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 245, 252, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-menu-trigger:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--primary);
}

.brand-logo img {
  height: 44px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.search-wrap {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--surface-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
  border-color: var(--gold-bright);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22);
}

.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}

.search-btn {
  border: 1px solid var(--gold-bright);
  background: linear-gradient(135deg, var(--purple), var(--navy));
  color: #fbf5e6;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s, background 0.15s;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--purple));
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 120;
  display: none;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}

.search-dropdown.open {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--surface-soft);
  transition: background 0.15s;
}

.search-item:hover {
  background: var(--surface-soft);
}

.search-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

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

.icon-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.icon-pill:hover {
  border-color: var(--camel);
  color: var(--primary);
  background: var(--surface-soft);
}

.badge-count {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--gold-soft);
  border: 1px solid rgba(197, 160, 89, 0.45);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Mega Menu Bar */
.nav-bar {
  border-top: 1px solid #e2cf9f;
  border-bottom: 2px solid #d4af37;
  background: linear-gradient(180deg, #ffffff 0%, #f3ecf8 100%);
  position: relative;
}

.mega-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: relative;
  flex-wrap: nowrap;
}

.mega-item {
  position: relative;
  flex-shrink: 0;
}

.nav-cat-trigger-item {
  margin-right: 4px;
}

.nav-deal-item {
  margin-left: auto;
}

.nav-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--gold-bright);
  background: linear-gradient(135deg, var(--purple), var(--navy));
  color: #fbf5e6;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(15, 30, 54, 0.15);
}

.nav-cat-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: var(--gold-soft);
}

.mega-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.mega-link:not(.deal-pill)::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.mega-link:not(.deal-pill):hover,
.mega-item:hover > .mega-link:not(.deal-pill),
.mega-link:not(.deal-pill).active {
  color: var(--purple);
  background: rgba(212, 175, 55, 0.16);
}

.mega-link:not(.deal-pill):hover::after,
.mega-item:hover > .mega-link:not(.deal-pill)::after,
.mega-link:not(.deal-pill).active::after {
  transform: scaleX(1);
}

.nav-chevron {
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.mega-item:hover > .mega-link .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.mega-link.deal-pill {
  color: #fbf5e6;
  background: linear-gradient(135deg, var(--purple), var(--accent));
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
}

.mega-link.deal-pill:hover,
.mega-link.deal-pill.active {
  color: var(--gold-soft);
  box-shadow: 0 4px 14px rgba(74, 21, 75, 0.32);
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 560px;
  max-width: min(720px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px 22px;
  display: none;
  z-index: 100;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.mega-item:nth-last-child(-n+5) > .mega-dropdown {
  left: auto;
  right: 0;
}

.mega-item:hover > .mega-dropdown,
.mega-item:focus-within > .mega-dropdown {
  display: block;
}

.mega-dropdown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mega-dropdown-head strong {
  display: block;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.1;
}

.mega-dropdown-head span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.mega-explore-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.mega-explore-link:hover {
  background: var(--navy);
  color: #fbf5e6;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.mega-col-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.mega-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-sublist a {
  font-size: 13px;
  color: var(--ink-muted);
  transition: color 0.15s, padding-left 0.15s;
}

.mega-sublist a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Hero Slider */
.hero-section {
  padding: 22px 0 12px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 410px;
  background: linear-gradient(135deg, #4a154b 0%, #5b21b6 55%, #0f1e36 100%);
  border: 2px solid #d4af37;
}

.hero-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 410px;
  padding: 42px 54px;
  gap: 32px;
  color: #fbf5e6;
}

.hero-slide.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0.4; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 30, 54, 0.45);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-slide h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.06;
  margin: 0 0 14px;
  font-weight: 700;
  color: #ffffff;
}

.hero-slide p {
  font-size: 15.5px;
  color: rgba(251, 245, 230, 0.92);
  max-width: 490px;
  margin: 0 0 26px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
  color: #fbf5e6;
  border-color: var(--gold-bright);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(74, 21, 75, 0.28);
}

.btn-white {
  background: #fbf5e6;
  color: var(--navy);
  border-color: var(--gold-bright);
}

.btn-white:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--camel);
  color: var(--primary);
  background: var(--surface-soft);
}

.btn-ghost-white {
  background: rgba(243, 236, 248, 0.16);
  border-color: var(--gold-bright);
  color: #fbf5e6;
}

.btn-ghost-white:hover {
  background: rgba(243, 236, 248, 0.28);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 25px 50px rgba(15, 30, 54, 0.48);
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(251, 245, 230, 0.45);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.hero-dot.active {
  width: 28px;
  background: var(--gold-bright);
}

/* Section Headings */
.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
}

.section-head p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Category Circles */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 14px;
}

.cat-pill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cat-pill-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3ecf8 0%, #fbf5e6 100%);
  color: var(--purple);
  border: 1.5px solid var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.cat-pill-card:hover .cat-icon-circle {
  background: linear-gradient(135deg, var(--purple) 0%, var(--navy) 100%);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.cat-pill-card strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.cat-pill-card span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-soft);
  overflow: hidden;
}

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

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

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--purple), var(--accent));
  color: var(--gold-soft);
  border: 1px solid var(--gold-bright);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(74, 21, 75, 0.24);
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: var(--purple);
  color: #fbf5e6;
  border-color: var(--gold-bright);
}

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

.product-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 4px;
}

.product-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.product-title a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.star-gold {
  color: var(--gold-bright);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.price-sale {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.price-old {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.add-cart-btn {
  width: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--navy);
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s;
}

.add-cart-btn:hover {
  border-color: var(--gold-bright);
  color: #fbf5e6;
  background: var(--navy);
}

.buy-now-btn {
  width: 100%;
  border: 1px solid var(--gold-bright);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
  color: #fbf5e6;
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s;
}

.buy-now-btn:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  box-shadow: 0 6px 16px rgba(74, 21, 75, 0.25);
}

/* Flash Deal Banner */
.flash-box {
  background: linear-gradient(125deg, #f3ecf8 0%, #e5d8f6 52%, #fbf5e6 100%);
  border: 2px solid var(--gold-bright);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.countdown-pills {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Shop Layout & Filter Sidebar */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 126px;
}

.filter-group {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--surface-soft);
}

.filter-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 7px;
  cursor: pointer;
}

.filter-check input {
  accent-color: var(--primary);
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.brand-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.brand-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-tile span {
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.blog-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

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

.blog-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.blog-body h3 {
  font-size: 15.5px;
  margin: 6px 0 8px;
  line-height: 1.35;
  color: var(--ink);
}

.blog-body p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 12px;
}

/* Product Detail Page */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.pdp-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.pdp-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.option-chip.selected, .option-chip:hover {
  border-color: var(--camel);
  background: var(--gold-soft);
  color: var(--primary-dark);
}

/* Panels & Forms */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--camel);
}

.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
}

.alert-error {
  background: var(--primary-light);
  border: 1px solid var(--border);
  color: var(--primary-dark);
}

/* Breadcrumb */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 18px 0;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* Slide-over Drawer (Cart & Wishlist) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 54, 0.55);
  z-index: 200;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.drawer-panel {
  width: min(420px, 100vw);
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(15, 30, 54, 0.25);
}

.drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--navy);
  color: #fbf5e6;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold-bright);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f1e36 0%, #2a0e38 55%, #4a154b 100%);
  color: #fbf5e6;
  padding: 54px 0 28px;
  margin-top: 56px;
  border-top: 2px solid var(--gold-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.footer-grid h4 {
  color: var(--gold-bright);
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #e5d8f6;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.payment-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.payment-strip img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.footer-paywith-bar {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1.5px solid var(--gold-bright);
  border-radius: 14px;
  padding: 10px 16px;
  margin-top: 6px;
  box-shadow: 0 8px 24px rgba(15, 30, 54, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-paywith-bar img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(248, 245, 252, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 110;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 4px 2px;
  position: relative;
}

.mobile-nav-btn.active, .mobile-nav-btn:hover {
  color: var(--primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .mega-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
    padding: 6px 0;
  }
  .mega-nav::-webkit-scrollbar {
    display: none;
  }
  .mega-item:hover > .mega-dropdown,
  .mega-item:focus-within > .mega-dropdown {
    display: none;
  }
  .product-grid, .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .shop-layout {
    grid-template-columns: 230px 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }
  .top-ribbon .ribbon-links {
    display: none;
  }
  .mobile-menu-trigger {
    display: inline-flex;
  }
  .header-main {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }
  .search-wrap {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }
  .header-actions .hide-mobile {
    display: none;
  }
  .nav-bar .container {
    padding: 0 12px;
  }
  .mega-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
    padding: 6px 0;
  }
  .mega-nav::-webkit-scrollbar {
    display: none;
  }
  .nav-cat-btn {
    padding: 6px 11px;
    font-size: 12px;
  }
  .mega-link {
    padding: 7px 9px;
    font-size: 12.5px;
  }
  .mega-dropdown {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: grid;
  }
  .hero-slider {
    min-height: auto;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 26px 20px 42px;
    text-align: center;
    gap: 18px;
  }
  .hero-slide h1 {
    font-size: 28px;
  }
  .hero-slide p {
    font-size: 14px;
    margin: 0 auto 18px;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-visual img {
    width: 210px;
    height: 210px;
  }
  .section {
    padding: 26px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .flash-box {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .panel {
    padding: 18px 16px;
  }
  .cat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .cat-pill-card {
    padding: 14px 10px;
  }
  .product-grid, .shop-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .shop-layout, .pdp-grid, .footer-grid, .admin-split, .cart-layout, .account-grid, .contact-grid, .responsive-2col {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .footer-paywith-bar {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .filter-card {
    position: static;
    padding: 16px;
  }
  .pdp-actions-row {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  .pdp-actions-row > a.btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .toast-container {
    bottom: 78px;
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .top-ribbon {
    font-size: 11.5px;
    text-align: center;
  }
  .top-ribbon .container {
    justify-content: center;
  }
  .header-main {
    padding: 10px 0;
    gap: 8px;
  }
  .brand-logo img {
    height: 34px;
    max-width: 175px;
  }
  .icon-pill {
    padding: 7px 10px;
    font-size: 12px;
  }
  .hero-slide {
    padding: 22px 14px 38px;
  }
  .hero-slide h1 {
    font-size: 24px;
  }
  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .hero-cta-row .btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
  }
  .cat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-grid, .shop-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  .product-body {
    padding: 10px 10px 12px;
  }
  .product-title {
    font-size: 13px;
    min-height: 34px;
  }
  .price-sale {
    font-size: 15px;
  }
  .price-old {
    font-size: 11.5px;
  }
  .card-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .add-cart-btn, .buy-now-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .countdown-pills {
    font-size: 11.5px;
    padding: 6px 12px;
    width: 100%;
    justify-content: center;
  }
  .pdp-actions-row {
    grid-template-columns: 1fr auto !important;
  }
  .pdp-actions-row > button.btn-primary,
  .pdp-actions-row > a.btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}