/* ============================================================
   Vintage Thrift — Stylesheet
  Theme: Dark Navy + Shining Gold
   ============================================================ */

:root {
  /* Dark navy palette */
  --olive-50:  #f8f6f1;
  --olive-100: #e7e3da;
  --olive-200: #d5d0c5;
  --olive-300: #b9b1a3;
  --olive-400: #9d9588;
  --olive-500: #776f64;
  --olive-600: #5b534b;
  --olive-700: #403b36;
  --olive-800: #2e2b28;
  --olive-900: #202a35;
  --olive-950: #18222d;

  /* Shining gold / ochre palette */
  --gold-50:  #fbf7ef;
  --gold-100: #f4e5cc;
  --gold-200: #e8d1aa;
  --gold-300: #dfbd8a;
  --gold-400: #d8ae72;
  --gold-500: #d2a769;
  --gold-600: #b7894f;
  --gold-700: #8e6739;

  /* Neutrals */
  --cream:    #efece6;
  --charcoal: #18222d;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --container-max: 1280px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(24,34,45,0.12);
  --shadow-md: 0 4px 16px rgba(24,34,45,0.14);
  --shadow-lg: 0 12px 40px rgba(24,34,45,0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
}

body {
  font-family: var(--font-sans);
  background: var(--olive-950);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--gold-500); color: var(--olive-950); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
main, .site-footer {
  overflow-x: hidden;
  width: 100%;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.serif { font-family: var(--font-serif); }

.gold-text {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Navy surface contrast ---------- */
.site-header .logo-main,
.site-header .main-nav a,
.site-header .mobile-menu-btn,
.site-header .icon-btn { color: var(--cream); }
.site-header .logo-sub,
.site-header .main-nav a:hover,
.site-header .main-nav a.active { color: var(--gold-400); }
.section-header h2,
.featured-header h2,
.section-header p,
.featured-header .view-all,
.instagram-header h2,
.instagram-header p { color: var(--cream); }
.section-header p,
.instagram-header p { color: rgba(239,236,230,0.68); }
.view-all:hover { color: var(--gold-300); }
.category-filters a,
.sort-control select,
.product-card-image { background: #263442; color: var(--cream); }
.category-filters a { border: 1px solid rgba(210,167,105,0.22); }
.category-filters a.active { background: var(--gold-500); color: var(--olive-950); }
.sort-control select { border-color: rgba(210,167,105,0.35); }

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: #111812; /* Dark green/black */
  color: var(--gold-300);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  overflow-x: hidden;
  width: 100%;
}
.leaf-icon {
  font-size: 14px;
}

/* ---------- Homepage animated banner ---------- */
.home-banner {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(210,167,105,0.3);
  background: #f4e5cc; /* Cream/Light Gold */
  color: #18222d; /* Dark text */
}
.home-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(210,167,105,0.2) 44%, rgba(239,236,230,0.1) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: bannerSweep 5s ease-in-out infinite;
  pointer-events: none;
}
.home-banner-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 10px 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-banner-label {
  color: #936a32;
  font-weight: 700;
  animation: bannerPulse 2.8s ease-in-out infinite;
}
.home-banner-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #936a32;
  box-shadow: none;
}
.home-banner-track a {
  color: #936a32;
  font-weight: 700;
  transition: color 0.25s, text-shadow 0.25s;
}
.home-banner-track a:hover {
  color: #18222d;
  text-shadow: none;
}
.home-banner-track a span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.25s;
}
.home-banner-track a:hover span { transform: translateX(4px); }
@media (max-width: 768px) {
  .home-banner-track {
    justify-content: flex-start;
    gap: 9px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    width: max-content;
    padding-left: 100vw;
    animation: marqueeMobile 15s linear infinite;
  }
}
@keyframes marqueeMobile {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@keyframes bannerSweep {
  0%, 35% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}
@keyframes bannerPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(210,167,105,0); }
  50% { text-shadow: 0 0 14px rgba(210,167,105,0.65); }
}

/* ---------- Header ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  top: env(safe-area-inset-top, 0);
  width: 100%;
  z-index: 9999;
  background: rgba(24,34,45,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(210,167,105,0.22);
  transition: box-shadow 0.4s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 1024px) { .header-inner { height: 96px; } }

.mobile-menu-btn {
  display: flex;
  color: var(--olive-900);
  padding: 8px;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-lockup,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-wordmark {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--cream);
  white-space: nowrap;
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-tagline {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(239,236,230,0.6);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .logo-tagline {
    display: none;
  }
}
.footer-logo .logo-wordmark { font-size: 1.8rem; }
.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(210,167,105,0.45);
  filter: drop-shadow(0 0 5px rgba(210,167,105,0.3));
  transition: filter 0.3s, transform 0.3s, border-color 0.3s;
}
.logo:hover .brand-mark,
.footer-logo:hover .brand-mark {
  filter: drop-shadow(0 0 10px rgba(210,167,105,0.72));
  transform: translateY(-1px);
  border-color: var(--gold-200);
}
@media (min-width: 1024px) { .logo { align-items: flex-start; } }
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--olive-900);
  line-height: 1;
  letter-spacing: 0.02em;
}
.footer-logo {
  margin-bottom: 0.75rem;
  color: var(--cream);
  font-size: 1.75rem;
}
.footer-logo .brand-mark { width: 76px; height: 76px; }
@media (min-width: 640px) { .logo-main { font-size: 1.75rem; } }
@media (max-width: 639px) {
  .logo-wordmark { font-size: 1.05rem; letter-spacing: 0.04em; }
  .logo .brand-mark { width: 34px; height: 34px; }
}
.logo-sub {
  display: none;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin-top: 2px;
}
@media (min-width: 640px) { .logo-sub { display: block; } }

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(239,236,230,0.85);
  position: relative;
  transition: color 0.4s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--cream); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.main-nav a:hover::after, .main-nav a.active::after { 
  transform: scaleX(1); 
  transform-origin: left; 
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  display: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--olive-800);
  transition: all 0.3s;
}
@media (min-width: 640px) { .icon-btn { display: flex; } }
.icon-btn:hover { background: rgba(239,236,230,0.08); color: var(--gold-400); }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border: none;
  color: var(--olive-950);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(210,167,105,0.25);
}
.cart-btn:hover { 
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(210,167,105,0.4);
}
.cart-badge {
  display: none; /* Changed since count is in text */
}

/* ---------- Mobile menu ---------- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24,34,45,0.7);
  

}
.mobile-menu {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 85%;
  max-width: 320px;
  background: #18222d;
  box-shadow: 10px 0 40px rgba(0,0,0,0.5);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  animation: slideInLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.mobile-menu-header button { 
  color: #f2eadf; 
  padding: 8px; 
  transition: color 0.3s, transform 0.3s; 
}
.mobile-menu-header button:hover { 
  color: #dfbd8a; 
  transform: rotate(90deg);
}
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
  padding: 14px 16px;
  border-radius: 8px;
  color: #f2eadf;
  font-size: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}
.mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%; width: 2px;
  background: #c3924f;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}
.mobile-nav a:hover, .mobile-nav a.active { 
  background: rgba(195,146,79,0.08); 
  color: #dfbd8a; 
  padding-left: 24px;
}
.mobile-nav a:hover::before, .mobile-nav a.active::before {
  transform: scaleY(1);
}
.mobile-instagram {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #dfbd8a;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 16px;
  border: 1px solid rgba(223,189,138,0.2);
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.mobile-instagram:hover {
  background: rgba(223,189,138,0.1);
  border-color: rgba(223,189,138,0.5);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 92vh; } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-media.is-active { opacity: 1; transform: scale(1); }
.hero-media-video { pointer-events: none; }
.hero-frame {
  position: absolute;
  z-index: 1;
  width: min(32vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(210,167,105,0.35);
  transform: rotate(24deg);
  animation: heroFrameDrift 16s ease-in-out infinite alternate;
}
.hero-frame-one { right: -10%; top: 8%; }
.hero-frame-two { right: 12%; bottom: -35%; animation-delay: -6s; opacity: 0.45; }
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(24,34,45,0.92), rgba(24,34,45,0.70), rgba(24,34,45,0.30));
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,34,45,0.60), transparent, rgba(24,34,45,0.20));
  z-index: 1;
}
@keyframes heroFrameDrift {
  from { transform: rotate(24deg) translate3d(0, 0, 0); }
  to { transform: rotate(29deg) translate3d(-24px, 18px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media { transition: none; transform: none; }
  .hero-media-video { display: none; }
  .hero-media-image { opacity: 1; }
  .hero-frame { animation: none; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}
@media (min-width: 640px)  { .hero-content { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .hero-content { padding: 6rem 2rem; } }
.hero-inner { max-width: 640px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease-out both;
}
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--gold-400); }
.hero-eyebrow span {
  color: var(--gold-300);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  animation: fadeUp 0.7s ease-out 0.1s both;
}
@media (min-width: 375px)  { .hero h1 { font-size: 3rem; } }
@media (min-width: 640px)  { .hero h1 { font-size: 4.25rem; line-height: 1.05; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5.5rem; } }
.hero h1 .italic { 
  font-style: italic; 
  font-weight: 500;
}
.hero h1 .gold-text {
  background: linear-gradient(135deg, #fcebcf 0%, #dfbd8a 50%, #b88645 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 0.1em;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  max-width: 560px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: fadeUp 0.7s ease-out 0.2s both;
}
@media (min-width: 768px) { .hero p { font-size: 1.2rem; margin-bottom: 3rem; } }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.7s ease-out 0.3s both;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.btn-primary,
.btn-add-cart,
.newsletter-form button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--olive-950);
  color: var(--cream);
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 0 rgba(210,167,105,0);
  transition: color 0.3s, background 0.6s, box-shadow 0.6s, border-color 0.3s;
}
.btn-primary::before,
.btn-add-cart::before,
.newsletter-form button::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 80%;
  width: 180%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-500);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn-primary:hover,
.btn-add-cart:hover,
.newsletter-form button:hover {
  background: var(--gold-500);
  color: var(--olive-950);
  border-color: var(--gold-300);
  box-shadow: 0 8px 30px rgba(210,167,105,0.48), 0 0 22px rgba(210,167,105,0.28);
}
.btn-primary:hover::before,
.btn-add-cart:hover::before,
.newsletter-form button:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn-primary:hover::after,
.btn-add-cart:hover::after,
.newsletter-form button:hover::after { animation: goldSweep 0.85s ease-out 0.2s; }
.btn-primary::after,
.btn-add-cart::after,
.newsletter-form button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(239,236,230,0.55) 48%, transparent 70%);
  transform: translateX(-125%);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-add-cart:hover::after,
.newsletter-form button:hover::after { animation: goldSweep 0.85s ease-out; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  transition: all 0.3s;
  background: #c3924f; /* Gold matching the design */
  color: #fff;
  border: none;
}
.btn-primary:before, .btn-primary:after { display: none; }
.btn-primary:hover {
  background: #a8793b;
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border: 1px solid rgba(239,236,230,0.3);
  color: var(--cream);
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s;
}
.btn-outline:hover { background: rgba(239,236,230,0.10); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(239,236,230,0.15);
  max-width: 512px;
  animation: fadeUp 0.7s ease-out 0.4s both;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--gold-300);
}
.hero-stat-label {
  color: rgba(239,236,230,0.60);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Section header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.section-eyebrow .line { width: 32px; height: 1px; background: var(--gold-400); }
.section-eyebrow span {
  color: var(--gold-600);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--olive-900);
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .section-header h2 { font-size: 3rem; } }
.section-header p {
  color: var(--olive-600);
  max-width: 512px;
  margin: 0 auto;
}

/* ---------- Featured + Product grid ---------- */
.featured-section { 
  padding: 5rem 0; 
  background: #202a35; 
}
.collection-section { padding: 5rem 0; background: var(--olive-950); }

.featured-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .featured-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.featured-header h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--olive-900);
}
@media (min-width: 640px) { .featured-header h2 { font-size: 3rem; } }

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--olive-800);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}
.view-all:hover { color: var(--gold-600); }
.view-all svg { transition: transform 0.3s; }
.view-all:hover svg { transform: translateX(4px); }

/* Filters bar */
.filters-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .filters-bar { flex-direction: row; align-items: center; justify-content: space-between; } }

.category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
@media (min-width: 640px) { .category-filters { padding-bottom: 0; } }
.category-filters a {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  background: var(--olive-100);
  color: var(--olive-700);
  transition: all 0.3s;
}
.category-filters a:hover { background: var(--olive-200); }
.category-filters a.active { background: var(--olive-900); color: var(--cream); }

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sort-control select {
  background: var(--olive-50);
  border: 1px solid var(--olive-200);
  color: var(--olive-800);
  font-size: 0.875rem;
  border-radius: 9999px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
}
.sort-control select:focus { outline: 2px solid var(--gold-400); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.75rem; } }

/* Product card */
.product-card { 
  animation: fadeUp 0.6s ease-out both;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}
@media (min-width: 768px) {
  .product-card { border-radius: 16px; padding: 12px; }
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: #ddd;
}
.product-card-image {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .product-card-image { aspect-ratio: 3/4; }
}
.image-link { display: block; width: 100%; height: 100%; }
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #18222d;
  color: #dfbd8a;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-discount {
  padding: 4px 10px;
  border-radius: 9999px;
  background: #c3924f;
  color: #18222d;
  font-size: 9px;
  font-weight: 700;
  display: inline-block;
}
.btn-favorite {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #18222d;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  z-index: 10;
}
.btn-favorite svg { width: 14px; height: 14px; }
@media (min-width: 768px) { 
  .btn-favorite { top: 12px; right: 12px; width: 32px; height: 32px; }
  .btn-favorite svg { width: 16px; height: 16px; }
}
.btn-favorite:hover {
  transform: scale(1.1);
  color: #c3924f;
}

.product-card-actions {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  gap: 8px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.35s ease;
  z-index: 20;
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateY(0); }

.btn-add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255,255,255,0.95);
  color: #18222d;
  border: 1px solid rgba(24,34,45,0.25);
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  cursor: pointer;
}
.btn-add-cart svg { width: 14px; height: 14px; }
@media (min-width: 768px) {
  .btn-add-cart { padding: 12px; gap: 8px; font-size: 0.875rem; }
  .btn-add-cart svg { width: 16px; height: 16px; }
}
.btn-add-cart:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border-color: rgba(24,34,45,0.4);
}
.btn-add-cart:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-quick-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(24,34,45,0.95);
  color: #dfbd8a;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}
.btn-quick-view svg { width: 14px; height: 14px; }
@media (min-width: 768px) {
  .btn-quick-view { width: 48px; height: 48px; }
  .btn-quick-view svg { width: 16px; height: 16px; }
}
.btn-quick-view:hover { background: #dfbd8a; color: #18222d; }

.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24,34,45,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
}

.product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 4px;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c3924f !important;
  margin-bottom: 4px;
  font-weight: 700;
}
.product-meta .dot { color: #c3924f !important; font-size: 0.8rem; }

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #18222d !important;
  line-height: 1.3;
  margin-bottom: 4px;
}
.product-card h3 a { color: #18222d !important; text-decoration: none; transition: color 0.3s; }
.product-card h3 a:hover { color: var(--gold-600) !important; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #a8a8a8 !important;
  margin-bottom: 8px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-current { font-family: var(--font-sans) !important; font-style: normal !important; font-weight: 700; font-size: 1.1rem; color: #c3924f !important; }
.price-original { font-family: var(--font-sans) !important; font-style: normal !important; font-size: 0.875rem; color: #999999 !important; text-decoration: line-through; }


/* ---------- Brand story ---------- */
.brand-story {
  padding: 5rem 0;
  background: var(--olive-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.brand-story-decoration {
  position: absolute; inset: 0;
  opacity: 0.04;
  pointer-events: none;
}
.brand-story-decoration::before,
.brand-story-decoration::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
}
.brand-story-decoration::before { top: -80px; right: -80px; width: 384px; height: 384px; }
.brand-story-decoration::after  { top: 160px; left: -128px; width: 320px; height: 320px; }

.brand-story-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .brand-story-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.brand-story-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.brand-story-image img,
.brand-story-image video { width: 100%; height: 100%; object-fit: cover; }
.brand-story-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 128px; height: 128px;
  border-radius: 16px;
  background: rgba(210,167,105,0.20);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(223,189,138,0.30);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
@media (min-width: 640px) { .brand-story-badge { display: flex; } }
.brand-story-badge .year { font-family: var(--font-serif); font-size: 1.875rem; color: var(--gold-300); }
.brand-story-badge .label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-200); margin-top: 4px; }

.brand-story h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .brand-story h2 { font-size: 3rem; } }
.brand-story h2 .italic { font-style: italic; }

.brand-story p {
  color: rgba(239,236,230,0.75);
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }

.value-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(239,236,230,0.05), rgba(239,236,230,0.01));
  border: 1px solid rgba(223,189,138,0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(223,189,138,0.1), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}
.value-card:hover::before {
  left: 150%;
}
.value-card:hover { 
  transform: translateY(-8px);
  border-color: rgba(223,189,138,0.6); 
  background: linear-gradient(145deg, rgba(239,236,230,0.08), rgba(239,236,230,0.03));
  box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 20px rgba(223,189,138,0.2);
}
.value-card svg { 
  color: var(--gold-300); 
  margin-bottom: 1.25rem; 
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 8px rgba(223,189,138,0.4));
  transition: transform 0.4s ease;
}
.value-card:hover svg {
  transform: scale(1.15) rotate(5deg);
}
.value-card h3 { 
  font-family: var(--font-serif); 
  font-size: 1.5rem; 
  color: var(--cream); 
  margin-bottom: 0.5rem; 
  letter-spacing: 0.02em;
}
.value-card p { 
  color: rgba(239,236,230,0.75); 
  font-size: 0.95rem; 
  line-height: 1.6;
  margin: 0; 
}

/* ---------- Instagram section ---------- */
.instagram-section { padding: 5rem 0; background: #202a35; }
.instagram-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .instagram-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.instagram-header h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--olive-900);
}
@media (min-width: 640px) { .instagram-header h2 { font-size: 3rem; } }
.instagram-header p { color: var(--olive-600); margin-top: 0.75rem; max-width: 28rem; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .instagram-grid { grid-template-columns: repeat(6, 1fr); } }

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--olive-100);
}
.instagram-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.instagram-post:hover img { transform: scale(1.10); }
.instagram-post::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(24,34,45,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.instagram-post:hover::after { background: rgba(24,34,45,0.40); }
.instagram-post-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.instagram-post:hover .instagram-post-icon { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-950); color: var(--cream); }
.footer-newsletter { border-bottom: 1px solid rgba(239,236,230,0.10); }
.newsletter-inner { max-width: 640px; margin: 0 auto; padding: 4rem 0; text-align: center; }
.newsletter-inner h3 { font-size: 1.875rem; color: var(--cream); margin-bottom: 0.75rem; }
@media (min-width: 640px) { .newsletter-inner h3 { font-size: 2.25rem; } }
.newsletter-inner p { color: rgba(239,236,230,0.60); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 448px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 9999px;
  background: rgba(239,236,230,0.05);
  border: 1px solid rgba(239,236,230,0.15);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.875rem;
}
.newsletter-form input::placeholder { color: rgba(239,236,230,0.40); }
.newsletter-form input:focus { outline: none; border-color: var(--gold-400); }
.newsletter-form button {
  display: inline-block;
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 9999px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s;
}
.newsletter-form button:hover {
  box-shadow: 0 6px 22px rgba(210,167,105,0.45);
}

.footer-main { padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: auto; } }
.footer-brand h2 { margin-bottom: 0.5rem; }
.footer-tagline {
  color: rgba(239,236,230,0.50);
  font-size: 0.875rem;
  max-width: 224px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-300);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-instagram:hover { color: var(--gold-200); }

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-contact-item {
  color: rgba(239,236,230,0.60);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact-item svg { color: var(--gold-300); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(239,236,230,0.10);
  font-size: 0.75rem;
  color: rgba(239,236,230,0.40);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { transition: color 0.3s; }
.footer-legal a:hover { color: rgba(239,236,230,0.70); }

/* ---------- Cart page ---------- */
.cart-page { padding: 4rem 0; min-height: 60vh; }
.cart-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
}
.cart-header h1 { font-family: var(--font-serif); font-size: 2rem; color: var(--olive-900); }

.cart-empty {
  text-align: center;
  padding: 4rem 0;
}
.cart-empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--olive-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--olive-400);
}
.cart-empty h2 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--olive-900); margin-bottom: 0.5rem; }
.cart-empty p { color: var(--olive-600); font-size: 0.875rem; margin-bottom: 1.5rem; }

.cart-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 360px; } }

.cart-items { display: flex; flex-direction: column; gap: 1.25rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--olive-50);
  border: 1px solid var(--olive-100);
}
.cart-item-image {
  width: 80px; height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--olive-100);
  flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--olive-900);
  line-height: 1.3;
}
.cart-item-meta { font-size: 0.75rem; color: var(--olive-500); margin-top: 2px; }
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--olive-300);
  border-radius: 9999px;
}
.qty-control button {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-700);
  transition: color 0.2s;
}
.qty-control button:hover { color: var(--olive-900); }
.qty-control span { width: 28px; text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--olive-900); }
.cart-item-price { font-family: var(--font-serif); font-size: 1.125rem; color: var(--olive-900); }
.cart-item-remove {
  color: var(--olive-400);
  transition: color 0.2s;
  padding: 4px;
}
.cart-item-remove:hover { color: #b91c1c; }

.cart-summary {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--olive-50);
  border: 1px solid var(--olive-100);
  height: fit-content;
}
.cart-summary h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--olive-900); margin-bottom: 1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--olive-700);
  padding: 6px 0;
}
.summary-row.total {
  border-top: 1px solid var(--olive-200);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--olive-900);
}
.summary-free-ship {
  font-size: 0.75rem;
  color: var(--gold-700);
  background: var(--gold-50);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 0.5rem;
}
.btn-checkout {
  width: 100%;
  padding: 16px;
  background: var(--olive-900);
  color: var(--cream);
  border-radius: 9999px;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.3s;
}
.btn-checkout:hover { background: var(--olive-800); }
.btn-continue {
  display: block;
  text-align: center;
  padding: 12px;
  color: var(--olive-600);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.btn-continue:hover { color: var(--olive-900); }

/* ---------- Product detail page ---------- */
.product-detail { padding: 4rem 0; }
.product-detail-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .product-detail-grid { grid-template-columns: 1fr 1fr; } }

.product-detail-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--olive-100);
  position: relative;
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--gold-500);
  color: var(--olive-950);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-detail-info { display: flex; flex-direction: column; }
.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--olive-500);
  margin-bottom: 0.75rem;
}
.product-detail-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--olive-400); }
.product-detail-info h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--olive-900);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .product-detail-info h1 { font-size: 2.5rem; } }
.product-detail-price { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.product-detail-price .current { font-family: var(--font-sans) !important; font-style: normal !important; font-weight: 700; font-size: 1.5rem; color: var(--gold-400); }
.product-detail-price .original { font-family: var(--font-sans) !important; font-style: normal !important; color: var(--olive-400); text-decoration: line-through; }
.product-detail-info p { color: var(--olive-700); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.detail-cell {
  border-radius: 8px;
  background: var(--olive-50);
  padding: 10px 12px;
}
.detail-cell .label { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--olive-500); }
.detail-cell .value { font-size: 0.875rem; font-weight: 500; color: var(--olive-900); margin-top: 2px; }

.qty-add-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.qty-add-row .qty-control { border-color: var(--olive-300); }

.btn-add-detail {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--olive-900);
  color: var(--cream);
  border-radius: 9999px;
  font-weight: 500;
  transition: background 0.3s;
}
.btn-add-detail:hover { background: var(--olive-800); }
.btn-add-detail:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--olive-600);
  margin-top: 1rem;
}

/* ---------- Page hero (about/contact) ---------- */
.page-hero {
  padding: 5rem 0 3rem;
  background: var(--olive-950);
  color: var(--cream);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .page-hero h1 { font-size: 3.5rem; } }
.page-hero p { color: rgba(239,236,230,0.70); max-width: 512px; margin: 0 auto; }

/* ---------- About page ---------- */
.about-section { padding: 4rem 0; }

/* ---------- Contact page ---------- */
.contact-section { padding: 4rem 0; }
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--olive-800);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--olive-200);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--olive-900);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold-400); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  padding: 14px 32px;
  background: var(--olive-900);
  color: var(--cream);
  border-radius: 9999px;
  font-weight: 500;
  transition: background 0.3s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--olive-800); }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--olive-50);
  border: 1px solid var(--olive-100);
}
.contact-info-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--olive-900); margin-bottom: 0.5rem; }
.contact-info-card p { color: var(--olive-700); font-size: 0.875rem; }

.alert {
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.alert-success { background: var(--olive-100); color: var(--olive-800); border: 1px solid var(--olive-300); }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Toast notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: var(--olive-900);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Loading skeleton ---------- */
.shimmer {
  background: linear-gradient(90deg, var(--olive-100) 0%, var(--olive-50) 50%, var(--olive-100) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes goldSweep {
  0%   { transform: translateX(-125%); }
  100% { transform: translateX(125%); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover::after,
  .btn-add-cart:hover::after,
  .newsletter-form button:hover::after { animation: none; }
}

/* ---------- Final dark-theme contrast and ambient shine ---------- */
body,
.site-header,
.mobile-menu,
.featured-section,
.collection-section,
.instagram-section,
.cart-page,
.product-detail,
.contact-page { color: var(--cream); }

.logo-main,
.main-nav a,
.icon-btn,
.mobile-menu-btn,
.section-header h2,
.featured-header h2,
.instagram-header h2,
.cart-header h1,
.cart-empty h2,
.cart-summary h2,
.product-detail-info h1,
.product-detail-price .current,
.contact-info-card h3 { color: var(--cream); }

.logo-sub,
.main-nav a:hover,
.main-nav a.active,
.section-eyebrow span,
.section-eyebrow .line,
.hero-eyebrow span,
.hero-eyebrow .line,
.product-meta,
.product-detail-meta,
.contact-info-card p,
.product-detail-price .original { color: var(--gold-300); }

.section-header p,
.instagram-header p,
.product-detail-info p,
.cart-empty p,
.product-card .price-original,
.footer-col a,
.footer-contact-item { color: rgba(239,236,230,0.68); }

.cart-btn,
.btn-checkout,
.btn-add-detail,
.btn-submit { background: var(--olive-950); color: var(--cream); border: 1px solid var(--gold-500); }
.cart-btn:hover,
.btn-checkout:hover,
.btn-add-detail:hover,
.btn-submit:hover { background: var(--gold-500); color: var(--olive-950); }

.site-header,
.announcement-bar,
.product-card-image,
.cart-item,
.cart-summary,
.contact-info-card { border-color: rgba(210,167,105,0.25); }

.gold-text,
.hero-stat-num,
.product-detail-meta,
.product-detail-badge { animation: goldGlow 3.5s ease-in-out infinite; }

@keyframes goldGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(210,167,105,0)); }
  50% { filter: drop-shadow(0 0 8px rgba(210,167,105,0.55)); }
}

@media (prefers-reduced-motion: reduce) {
  .gold-text,
  .hero-stat-num,
  .product-detail-meta,
  .product-detail-badge { animation: none; }
}

/* ---------- About and contact page finish ---------- */
.about-section,
.contact-section { background: #202a35; }

.about-section .brand-story-grid > div:last-child h2,
.contact-section .contact-grid > div:first-child h2 {
  color: var(--cream) !important;
  text-shadow: 0 0 18px rgba(210,167,105,0.16);
}
.about-section .brand-story-grid > div:last-child p {
  color: rgba(239,236,230,0.82) !important;
  font-size: 1rem;
}
.about-section .brand-story-grid > div:last-child a,
.contact-info-card a { color: var(--gold-300) !important; }
.about-section .brand-story-image {
  border: 1px solid rgba(210,167,105,0.35);
  box-shadow: 0 16px 42px rgba(0,0,0,0.28), 0 0 24px rgba(210,167,105,0.12);
}

.contact-section .form-group label {
  color: var(--cream) !important;
  letter-spacing: 0.04em;
}
.contact-section .form-group input,
.contact-section .form-group textarea {
  background: #18222d;
  border-color: rgba(210,167,105,0.3);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder { color: rgba(239,236,230,0.42); }
.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(210,167,105,0.14), 0 0 18px rgba(210,167,105,0.12);
}
.contact-info-card {
  background: #18222d;
  border: 1px solid rgba(210,167,105,0.28);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.contact-info-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.24), 0 0 20px rgba(210,167,105,0.1);
}
.contact-info-card h3 { color: var(--cream) !important; }
.contact-info-card p { color: rgba(239,236,230,0.78) !important; }
.contact-info-card p[style] { color: rgba(239,236,230,0.52) !important; }
.contact-section .alert-success {
  background: rgba(210,167,105,0.14);
  color: var(--gold-200);
  border-color: rgba(210,167,105,0.45);
}

/* ---------- Premium product presentation ---------- */
.featured-section,
.collection-section {
  position: relative;
  overflow: hidden;
}
.featured-section::before,
.collection-section::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 50%;
  width: 52rem;
  height: 20rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(210,167,105,0.08), transparent 68%);
  pointer-events: none;
}
.featured-section > .container,
.collection-section > .container { position: relative; z-index: 1; }

.featured-section .product-grid,
.collection-section .product-grid {
  column-gap: 2rem;
  row-gap: 4rem;
}
@media (max-width: 639px) {
  .featured-section .product-grid,
  .collection-section .product-grid {
    column-gap: 1rem;
    row-gap: 2.75rem;
  }
}

.product-card {
  position: relative;
  transition: transform 0.45s cubic-bezier(0.19,1,0.22,1), filter 0.45s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 18px 20px rgba(0,0,0,0.2));
}
.product-card-image {
  border: 1px solid rgba(210,167,105,0.18);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}
.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(239,236,230,0.18) 44%, transparent 62%);
  transform: translateX(-135%);
  pointer-events: none;
}
.product-card:hover .product-card-image {
  border-color: rgba(210,167,105,0.72);
  box-shadow: 0 16px 34px rgba(0,0,0,0.28), 0 0 22px rgba(210,167,105,0.14);
}
.product-card:hover .product-card-image::after { animation: productShine 1.1s ease-out; }
.product-card-image img { transition: transform 0.9s cubic-bezier(0.19,1,0.22,1), filter 0.45s ease; }
.product-card:hover .product-card-image img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.03);
}
.product-card h3 {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
  margin-bottom: 0.45rem;
}
.product-card .product-meta { margin-bottom: 0.5rem; }
.product-card .price-current { color: var(--gold-300); font-family: var(--font-sans) !important; font-style: normal !important; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.product-card .price-original { font-family: var(--font-sans) !important; font-style: normal !important; }

.category-filters a,
.sort-control select {
  background: rgba(24,34,45,0.78);
  border-color: rgba(210,167,105,0.3);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.category-filters a:hover { background: rgba(210,167,105,0.14); border-color: var(--gold-500); }
.category-filters a.active {
  background: var(--gold-500);
  border-color: var(--gold-300);
  color: var(--olive-950);
  box-shadow: 0 0 18px rgba(210,167,105,0.24);
}
.sort-control { color: var(--gold-300); }
.sort-control select:focus { outline: 2px solid var(--gold-400); outline-offset: 2px; }

@keyframes productShine {
  0% { transform: translateX(-135%); }
  100% { transform: translateX(135%); }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card-image img { transition: none; }
  .product-card:hover { transform: none; }
  .product-card:hover .product-card-image::after { animation: none; }
}

/* ---------- Premium cart experience ---------- */
.cart-page {
  position: relative;
  min-height: 72vh;
  padding: 5rem 0 7rem;
  background: radial-gradient(ellipse at 78% 18%, rgba(210,167,105,0.08), transparent 32%), #18222d;
}
.cart-page > .container { position: relative; z-index: 1; }
.cart-header {
  gap: 12px;
  margin-bottom: 2.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(210,167,105,0.25);
}
.cart-header svg { color: var(--gold-300) !important; }
.cart-header h1 {
  color: var(--cream) !important;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
}
.cart-layout { gap: 2.5rem; }
@media (min-width: 1024px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 390px; align-items: start; }
  .cart-summary { position: sticky; top: 104px; }
}
.cart-items { gap: 1rem; }
.cart-item {
  gap: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(38,52,66,0.96), rgba(24,34,45,0.96));
  border: 1px solid rgba(210,167,105,0.22);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cart-item:hover {
  transform: translateY(-3px);
  border-color: rgba(210,167,105,0.6);
  box-shadow: 0 16px 32px rgba(0,0,0,0.24), 0 0 18px rgba(210,167,105,0.1);
}
.cart-item-image {
  width: 104px;
  height: 128px;
  border: 1px solid rgba(210,167,105,0.3);
  background: #101820;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  min-height: 128px;
}
.cart-item-name {
  color: var(--cream) !important;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.cart-item-name:hover { color: var(--gold-300) !important; }
.cart-item-meta { color: var(--gold-300); letter-spacing: 0.08em; text-transform: uppercase; }
.cart-item-price { color: var(--gold-300) !important; font-size: 1.3rem; }
.cart-item-remove { color: rgba(239,236,230,0.48); }
.cart-item-remove:hover { color: var(--gold-300); }
.qty-control {
  display: grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  min-height: 36px;
  border-color: rgba(210,167,105,0.4);
  background: rgba(24,34,45,0.7);
}
.qty-control button {
  width: 34px;
  height: 34px;
  color: var(--gold-300);
  border-radius: 9999px;
}
.qty-control button:hover { color: var(--cream); }
.qty-control input,
.qty-control span {
  width: 38px;
  height: 34px;
  padding: 0;
  color: var(--cream);
  background: transparent;
  border: 0;
  text-align: center;
  font: 600 0.875rem/34px var(--font-sans);
}

.cart-summary {
  width: 100%;
  max-width: 390px;
  justify-self: end;
  padding: 1.75rem;
  background: linear-gradient(155deg, rgba(38,52,66,0.98), rgba(24,34,45,0.98));
  border: 1px solid rgba(210,167,105,0.42);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.24), 0 0 24px rgba(210,167,105,0.08);
}
.cart-summary h2 { color: var(--cream) !important; font-size: 1.8rem; margin-bottom: 1.25rem; }
.cart-summary > form { gap: 0.85rem !important; }
.cart-summary .form-group { margin: 0; }
.summary-row { color: rgba(239,236,230,0.72); padding: 8px 0; }
.summary-row span:last-child { color: var(--cream); }
.summary-row.total {
  border-top-color: rgba(210,167,105,0.35);
  color: var(--cream);
  padding-top: 1rem;
  margin-top: 1rem;
}
.summary-row.total span:last-child { color: var(--gold-300); font-size: 1.45rem; }
.summary-free-ship {
  color: var(--gold-200);
  background: rgba(210,167,105,0.12);
  border: 1px solid rgba(210,167,105,0.24);
}
.cart-summary form input,
.cart-summary form textarea {
  background: #18222d !important;
  border: 1px solid rgba(210,167,105,0.28) !important;
  color: var(--cream) !important;
}
.cart-summary form input::placeholder,
.cart-summary form textarea::placeholder { color: rgba(239,236,230,0.44); }
.cart-summary form input:focus,
.cart-summary form textarea:focus {
  outline: none;
  border-color: var(--gold-400) !important;
  box-shadow: 0 0 0 3px rgba(210,167,105,0.12);
}
.btn-checkout {
  position: relative;
  overflow: hidden;
  background: var(--gold-500) !important;
  color: var(--olive-950) !important;
  border: 1px solid var(--gold-300);
  box-shadow: 0 8px 22px rgba(210,167,105,0.25);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.btn-checkout:hover {
  background: var(--gold-300) !important;
  box-shadow: 0 10px 28px rgba(210,167,105,0.42), 0 0 20px rgba(210,167,105,0.2);
  transform: translateY(-2px);
}
.btn-continue { color: var(--gold-300); padding-top: 1rem; }
.btn-continue:hover { color: var(--cream); }
.cart-empty { padding: 6rem 1rem; }
.cart-empty-icon {
  background: rgba(210,167,105,0.12);
  border: 1px solid rgba(210,167,105,0.4);
  color: var(--gold-300);
  box-shadow: 0 0 24px rgba(210,167,105,0.12);
}
.cart-empty h2 { color: var(--cream) !important; font-size: 1.75rem; }
.cart-empty p { color: rgba(239,236,230,0.68) !important; }

@media (max-width: 639px) {
  .cart-page { padding: 3.5rem 0 5rem; }
  .cart-item { gap: 0.85rem; padding: 0.75rem; }
  .cart-item-image { width: 82px; height: 104px; }
  .cart-item-info { min-height: 104px; }
  .cart-item-name { font-size: 1.05rem; }
  .cart-item-price { font-size: 1.1rem; }
  .cart-item-bottom { align-items: flex-end; gap: 0.5rem; }
  .cart-summary { max-width: none; padding: 1.25rem; }
}

/* ---------- Premium product detail ---------- */
.product-detail {
  position: relative;
  padding: 3.5rem 0 7rem;
  background: radial-gradient(ellipse at 14% 24%, rgba(210,167,105,0.08), transparent 32%), #18222d;
}
.product-detail > .container { position: relative; z-index: 1; }
.product-breadcrumb,
.product-breadcrumb a,
.product-breadcrumb span { color: rgba(239,236,230,0.58) !important; }
.product-breadcrumb a:hover { color: var(--gold-300) !important; }
.product-detail-grid { gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.product-detail-image {
  border: 1px solid rgba(210,167,105,0.42);
  border-radius: 10px;
  background: #101820;
  box-shadow: 0 22px 50px rgba(0,0,0,0.3), 0 0 26px rgba(210,167,105,0.1);
}
.product-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(239,236,230,0.2) 46%, transparent 62%);
  transform: translateX(-135%);
  pointer-events: none;
}
.product-detail-image:hover::after { animation: productShine 1.2s ease-out; }
.product-detail-image img { transition: transform 0.8s cubic-bezier(0.19,1,0.22,1); }
.product-detail-image:hover img { transform: scale(1.035); }
.product-detail-badge { box-shadow: 0 0 18px rgba(210,167,105,0.3); }
.product-detail-info {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(210,167,105,0.28);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(38,52,66,0.92), rgba(24,34,45,0.96));
  box-shadow: 0 18px 42px rgba(0,0,0,0.2);
}
.product-detail-meta { color: var(--gold-300) !important; letter-spacing: 0.14em; }
.product-detail-info h1 { color: var(--cream) !important; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.product-detail-price .current { color: var(--gold-300) !important; font-size: 2rem; }
.product-detail-price .original { color: rgba(239,236,230,0.45) !important; }
.product-detail-info > p { color: rgba(239,236,230,0.78) !important; font-size: 1rem; line-height: 1.8; }
.detail-grid { gap: 0.75rem; }
.detail-cell {
  background: rgba(24,34,45,0.7);
  border: 1px solid rgba(210,167,105,0.2);
  padding: 0.9rem 1rem;
}
.detail-cell .label { color: var(--gold-300) !important; letter-spacing: 0.12em; }
.detail-cell .value { color: var(--cream) !important; margin-top: 0.3rem; }
.qty-add-row { gap: 0.75rem; margin-top: 0.5rem; }
.qty-add-row .qty-control {
  flex: 0 0 auto;
  border-color: rgba(210,167,105,0.45);
  background: #18222d;
}
.qty-add-row .qty-control input { color: var(--cream) !important; }
.btn-add-detail {
  min-height: 48px;
  background: var(--gold-500) !important;
  color: var(--olive-950) !important;
  border: 1px solid var(--gold-300);
  box-shadow: 0 8px 24px rgba(210,167,105,0.24);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.btn-add-detail:hover {
  background: var(--gold-300) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(210,167,105,0.42), 0 0 20px rgba(210,167,105,0.18);
}
.btn-add-detail:disabled { background: rgba(239,236,230,0.18) !important; color: rgba(239,236,230,0.5) !important; border-color: transparent; }
.auth-note { color: rgba(239,236,230,0.58) !important; margin-top: 1.5rem; }
.auth-note svg { color: var(--gold-300); }
.related-products { border-top: 1px solid rgba(210,167,105,0.22); padding-top: 2.5rem; }
.related-products > h2 { color: var(--cream) !important; font-size: 2rem !important; }

@media (max-width: 767px) {
  .product-detail { padding-top: 2rem; }
  .product-detail-info { padding: 1.25rem; }
  .product-detail-info h1 { font-size: 2.35rem; }
  .qty-add-row { align-items: stretch; }
  .btn-add-detail { font-size: 0.85rem; padding-inline: 0.75rem; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--olive-50); }
::-webkit-scrollbar-thumb { background: var(--olive-400); border-radius: 5px; border: 2px solid var(--olive-50); }
::-webkit-scrollbar-thumb:hover { background: var(--olive-500); }

/* ---------- New Homepage Styles ---------- */
.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}
.hero-feature svg { color: #c3924f; }

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 120px;
  height: 120px;
  background: rgba(24,34,45,0.7);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.badge-text-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateBadge 12s linear infinite;
}
.badge-text-svg text { font-size: 11px; fill: #c3924f; letter-spacing: 2px; }
.badge-icon { font-size: 24px; position: relative; z-index: 2; }
@keyframes rotateBadge { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.feature-bar {
  background: #fff;
  color: #18222d;
  padding: 2rem 0;
}
.feature-bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media(min-width: 768px) { .feature-bar-inner { grid-template-columns: repeat(4, 1fr); } }
.fb-item { display: flex; align-items: center; gap: 1rem; }
.fb-item svg { color: #5b534b; }
.fb-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.fb-item p { font-size: 0.8rem; color: #776f64; margin: 0; }

.shop-categories {
  background: #f2eadf;
  color: #18222d;
  padding: 5rem 0;
}
.category-header {
  text-align: center;
  margin-bottom: 3rem;
}
.category-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.cat-line { width: 40px; height: 2px; background: #18222d; margin: 0 auto 1rem; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media(min-width: 640px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem 1rem;
  color: #fff;
}
.cat-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #18222d;
  margin-bottom: 1rem;
}
.cat-overlay h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.5rem; }
.cat-overlay span { font-size: 0.85rem; font-weight: 500; color: #dfbd8a; transition: color 0.3s; }
.cat-card:hover span { color: #fff; }

/* Video Showcase */
.video-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .video-showcase {
        grid-template-columns: 1fr 1fr;
    }
}
.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    aspect-ratio: 9/16;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover video {
    transform: scale(1.02);
}

/* Video Showcase */
.video-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .video-showcase {
        grid-template-columns: 1fr 1fr;
    }
}
.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    aspect-ratio: 9/16;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover video {
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .video-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .video-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Uiverse Cat Card Styling */
.cat-card.uiverse-card {
  position: relative;
  border-radius: 14px;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.4), -20px -20px 60px rgba(255,255,255,0.03);
}

.cat-card.uiverse-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.cat-card.uiverse-card:hover img {
  transform: scale(1.05);
}

.cat-card.uiverse-card .bg {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  z-index: 2;
  background: linear-gradient(to top, rgba(20, 31, 42, 0.9) 0%, transparent 60%);
  

  border-radius: 10px;
  overflow: hidden;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.3s ease;
}

.cat-card.uiverse-card:hover .bg {
  background: linear-gradient(to top, rgba(20, 31, 42, 0.8) 0%, transparent 50%);
}

.cat-card.uiverse-card .blob {
  position: absolute;
  z-index: 1;
  top: 80%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--gold-500);
  opacity: 0.6;
  filter: blur(25px);
  display: none;
}

@keyframes blob-bounce {
  0% { transform: translate(-100%, -100%) translate3d(0, 0, 0); }
  25% { transform: translate(-100%, -100%) translate3d(100%, 0, 0); }
  50% { transform: translate(-100%, -100%) translate3d(100%, 100%, 0); }
  75% { transform: translate(-100%, -100%) translate3d(0, 100%, 0); }
  100% { transform: translate(-100%, -100%) translate3d(0, 0, 0); }
}

.cat-card.uiverse-card h3, .cat-card.uiverse-card span, .cat-card.uiverse-card .cat-icon {
  z-index: 3;
}
.cat-card.uiverse-card .cat-icon {
  background: rgba(255,255,255,0.9);
  color: #18222d;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.cat-card.uiverse-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
}
.cat-card.uiverse-card span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-300);
  transition: color 0.3s;
}
.cat-card.uiverse-card:hover span {
  color: #fff;
}

/* Uiverse Cat Card Styling */
.cat-card.uiverse-card {
  position: relative;
  border-radius: 14px;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.4), -20px -20px 60px rgba(255,255,255,0.03);
}

.cat-card.uiverse-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.cat-card.uiverse-card:hover img {
  transform: scale(1.05);
}

.cat-card.uiverse-card .bg {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  z-index: 2;
  background: linear-gradient(to top, rgba(20, 31, 42, 0.9) 0%, transparent 60%);
  

  border-radius: 10px;
  overflow: hidden;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.3s ease;
}

.cat-card.uiverse-card:hover .bg {
  background: linear-gradient(to top, rgba(20, 31, 42, 0.8) 0%, transparent 50%);
}

.cat-card.uiverse-card .blob {
  position: absolute;
  z-index: 1;
  top: 80%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--gold-500);
  opacity: 0.6;
  filter: blur(25px);
  display: none;
}

@keyframes blob-bounce {
  0% { transform: translate(-100%, -100%) translate3d(0, 0, 0); }
  25% { transform: translate(-100%, -100%) translate3d(100%, 0, 0); }
  50% { transform: translate(-100%, -100%) translate3d(100%, 100%, 0); }
  75% { transform: translate(-100%, -100%) translate3d(0, 100%, 0); }
  100% { transform: translate(-100%, -100%) translate3d(0, 0, 0); }
}

.cat-card.uiverse-card h3, .cat-card.uiverse-card span, .cat-card.uiverse-card .cat-icon {
  z-index: 3;
}
.cat-card.uiverse-card .cat-icon {
  background: rgba(255,255,255,0.9);
  color: #18222d;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.cat-card.uiverse-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
}
.cat-card.uiverse-card span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-300);
  transition: color 0.3s;
}
.cat-card.uiverse-card:hover span {
  color: #fff;
}

/* Video Play Button Overlay */
.video-card {
  position: relative;
  cursor: pointer;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(20, 31, 42, 0.7);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  pointer-events: none;
}
.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}
.video-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.video-modal .modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
}
.video-modal video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
}
.video-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}
.video-modal .close-modal:hover,
.video-modal .close-modal:focus {
  color: var(--gold-500);
  text-decoration: none;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Video Play Button Overlay */
.video-card {
  position: relative;
  cursor: pointer;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(20, 31, 42, 0.7);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  pointer-events: none;
}
.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}
.video-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.video-modal .modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
}
.video-modal video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
}
.video-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}
.video-modal .close-modal:hover,
.video-modal .close-modal:focus {
  color: var(--gold-500);
  text-decoration: none;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   Universal Price Font Normalization (Clean Sans-Serif)
   ============================================================ */
.price-current,
.price-original,
.product-price,
.product-price span,
.product-card .price-current,
.product-card .price-original,
.product-detail-price,
.product-detail-price .current,
.product-detail-price .original,
.cart-item-price,
.summary-row span:last-child,
.summary-total span:last-child,
.cart-subtotal,
.cart-total,
.price-tag,
.price {
  font-family: var(--font-sans, 'Inter', system-ui, -apple-system, sans-serif) !important;
  font-style: normal !important;
}

/* ============================================================
   Favorite Heart Button (Vibrant Red Active / Hover)
   ============================================================ */
.btn-favorite {
  background: #ffffff !important;
  color: #64748b !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s, background 0.2s !important;
}

.btn-favorite svg {
  transition: transform 0.25s ease, fill 0.2s ease, stroke 0.2s ease !important;
}

.btn-favorite:hover {
  transform: scale(1.15) !important;
  color: #ef4444 !important;
}

.btn-favorite:hover svg {
  stroke: #ef4444 !important;
}

.btn-favorite.active {
  color: #ef4444 !important;
  background: #ffffff !important;
}

.btn-favorite.active svg {
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
  animation: heartPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.wishlist-badge {
  position: absolute !important;
  top: 3px !important;
  right: 4px !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  min-width: auto !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
  pointer-events: none !important;
}

