@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;1,300;1,400&family=DM+Sans:wght@300;400;500&family=Sacramento&display=swap');

/* =============================================
   SAINT CECILIA ROSARY CO. — SHARED STYLES
   =============================================

   FONTS
   Playfair Display (serif headings) + Inter (body) loaded above.
   Brittany Signature: self-hosted. Add font files to /fonts/ and
   un-comment the @font-face block below.

   @font-face {
     font-family: 'Brittany Signature';
     src: url('../fonts/BrittanySignature.woff2') format('woff2'),
          url('../fonts/BrittanySignature.woff') format('woff');
     font-weight: normal;
     font-style: normal;
     font-display: swap;
   }
*/

/* DESIGN TOKENS */
:root {
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --sage: #2F2F2F;
  --muted: #6B6B6B;
  --accent: #C9A96E;
  --accent-dark: #A8813E;
  --cream: #F0EAE0;
  --border: #E5DDD3;
  --nav-height: 72px;

  --font-serif: 'Cormorant', 'Georgia', serif;
  --font-sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-script: 'Brittany Signature', 'Sacramento', cursive;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.script {
  font-family: var(--font-script);
  font-size: 1.4em;
  font-weight: 400;
  line-height: 1.3;
}

/* LAYOUT */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* ============================================
   NAVIGATION
   ============================================ */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
#site-nav.nav-animate-in {
  animation: heroFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-height);
}

/* Left: hamburger + search */
.nav-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Center: logo */
.nav-center { text-align: center; }
.nav-logo-link {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

/* Right: custom order + cart */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.nav-custom-order {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--text);
  padding: 9px 20px;
  border-radius: 2px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-custom-order:hover { background: var(--accent); color: var(--white); }

/* Desktop nav links */
.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desktop-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop-links a:hover { color: var(--accent); }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Search button */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}
.nav-search-btn:hover { color: var(--accent); }

/* Search panel — compact dropdown anchored to nav right */
#site-nav { position: relative; }
.search-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 30%;
  min-width: 280px;
  max-width: 400px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  z-index: 500;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}
.search-panel.open { display: block; }
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.search-form input {
  flex: 1;
  padding: 4px 0;
  border: none;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
}
.search-form input::placeholder { color: var(--muted); }
.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 2px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.search-form button:hover { color: var(--accent); }

/* Search dropdown (appended inside panel) */
.search-dropdown {
  border-top: 1px solid var(--border);
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.sr-item:last-of-type { border-bottom: none; }
.sr-item:hover { background: var(--cream); }
.sr-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.sr-info { flex: 1; min-width: 0; }
.sr-name {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-meta { display: flex; gap: 10px; align-items: center; }
.sr-coll {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sr-price {
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 500;
}
.sr-page { background: color-mix(in srgb, var(--cream) 60%, white); }
.sr-page-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.sr-desc {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 4px;
  font-style: italic;
}
.sr-snippet {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
}
.sr-empty {
  padding: 16px 20px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}
.sr-all {
  display: block;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  background: var(--cream);
  transition: background 0.15s;
}
.sr-all:hover { background: var(--border); }

/* Cart icon button */
.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}
.cart-icon-btn:hover { color: var(--accent); }
.cart-icon-btn.added { color: var(--accent); }

.cart-badge {
  position: absolute;
  top: 0px;
  right: -3px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* Nav drawer (hamburger) */
#nav-drawer {
  position: fixed;
  inset: var(--nav-height) auto 0 0;
  width: min(360px, 100vw);
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 48px 36px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  overflow-y: auto;
}
#nav-drawer.open { transform: translateX(0); }
#nav-overlay {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(0,0,0,0.25);
  z-index: 99;
}
#nav-overlay.open { display: block; }

/* ============================================
   CART DRAWER
   ============================================ */
#cart-drawer {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 102;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
  border-radius: 2px;
}
.cart-drawer__close:hover { color: var(--text); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 16px;
}
.cart-empty {
  text-align: center;
  padding: 56px 0 32px;
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 68px;
  height: 76px;
  flex-shrink: 0;
  background: var(--cream);
  overflow: hidden;
  display: block;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-item__name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.3;
  display: block;
}
.cart-item__name:hover { color: var(--accent); }
.cart-item__price {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: var(--text);
  transition: all 0.15s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-item__qty span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  min-width: 18px;
  text-align: center;
}
.cart-item__remove {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  transition: color 0.2s;
}
.cart-item__remove:hover { color: #b00; }

.cart-drawer__footer {
  padding: 18px 28px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.cart-note {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
}

.drawer-section { margin-bottom: 36px; }
.drawer-section .eyebrow { margin-bottom: 14px; }
.drawer-section ul li { margin-bottom: 10px; }
.drawer-section ul li a {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}
.drawer-section ul li a:hover { color: var(--accent); }
.drawer-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
}
.drawer-sub-links a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.drawer-sub-links a:hover { color: var(--accent); }
.drawer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.drawer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.drawer-legal a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-legal a:hover { color: var(--text); }

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--sage);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.8;
  max-width: 300px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-returns {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 16px;
}
.footer-returns strong {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.25s;
  text-align: center;
}
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--accent); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}

/* ============================================
   HERO VIDEO
   ============================================ */
.hero-video {
  position: relative;
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* The video / fallback image fills the full container */
.hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video__media video,
.hero-video__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Overlay: soft gradient from dark bottom to semi-dark top */
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 6, 0.20) 0%,
    rgba(10, 8, 6, 0.15) 50%,
    rgba(10, 8, 6, 0.38) 100%
  );
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content sits above the overlay */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-video__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 40px;
  max-width: 1060px;
}

.hero-video__eyebrow,
.hero-video__content h1,
.hero-video__btns {
  opacity: 0;
  animation: heroFadeUp 1.4s ease forwards;
}
.hero-video__eyebrow        { animation-delay: 0.3s; }
.hero-video__content h1     { animation-delay: 0.6s; }
.hero-video__btns           { animation-delay: 0.9s; }

.hero-video__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 4px;
  line-height: 1.15;
}

.hero-video__content h1 {
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
@media (max-width: 640px) {
  .hero-video__content h1 {
    white-space: normal;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
}

.hero-video__content p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-video__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Light variants of buttons for dark hero background */
.btn-light {
  background: var(--white);
  color: var(--text);
}
.btn-light:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Scroll hint */
.hero-video__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-video__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 0.9; }
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 32px;
}
/* Collection cards */
.collection-card { display: block; height: 100%; }
.collection-card__inner {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.collection-card:hover .collection-card__inner { transform: translateY(-4px); }
.collection-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}
.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.collection-card:hover .collection-card__image img { transform: scale(1.04); }
.collection-card__body {
  padding: 28px 32px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.collection-card__title {
  font-style: normal;
  margin-bottom: 10px;
}
.collection-card__desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.collection-card .btn-ghost {
  display: inline-block;
  border-bottom: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.35s ease;
  padding-bottom: 2px;
}
.collection-card:hover .btn-ghost {
  background-size: 50% 1px;
}

/* ── Gift Guide Tabs ─────────────────────────── */
.gift-guide__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.gift-guide__tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 28px;
  position: relative;
  transition: color 0.2s;
}
.gift-guide__tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.3s ease;
}
.gift-guide__tab:hover { color: var(--text); }
.gift-guide__tab.active {
  color: var(--text);
}
.gift-guide__tab.active::after {
  width: 100%;
}
.gift-guide__panel {
  display: none;
}
.gift-guide__panel.active {
  display: block;
}

/* Product cards */
.product-card {
  cursor: pointer;
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card__image {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 18px;
  position: relative;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }

/* Add to Cart overlay — bottom center of image */
.product-card__atc-overlay {
  display: none;
}
.product-card__atc {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--text);
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.product-card__atc:hover {
  background: var(--accent);
  color: var(--white);
}
.product-card__collection {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 6px;
  font-style: italic;
}
.product-card__price {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.product-page { padding: 64px 0 80px; }
.product-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
/* Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  color: #fff;
  font-size: 14px;
}
.gallery-main {
  background: var(--cream);
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  position: relative;
}
.gallery-main__img,
.gallery-main__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-main__video { display: none; }
@media (max-width: 640px) {
  .product-gallery {
    grid-template-columns: 1fr;
    position: static;
  }
  .gallery-thumbs {
    flex-direction: row;
    order: 2;
  }
  .gallery-thumb { width: 60px; flex-shrink: 0; }
  .gallery-main { order: 1; }
}
.product-page__collection {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-page__collection::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.product-page__name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.15;
}
.product-page__price {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.product-page__description {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 32px;
}
.product-page__description p + p {
  margin-top: 20px;
}
.product-page__details {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 32px;
}
.product-page__details h4 {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-page__details ul {
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-page__details ul li::before {
  content: '—  ';
  color: var(--accent);
}
.product-page__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.product-page__shipping-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.product-page__note {
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.breadcrumb ol li + li::before { content: '/'; margin-right: 6px; color: var(--border); }
.breadcrumb ol li a { color: var(--muted); }
.breadcrumb ol li a:hover { color: var(--accent); }
.breadcrumb ol li:last-child { color: var(--text); }

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-header { text-align: center; padding: 80px 0 56px; }
.shop-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}
.shop-section-title {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.shop-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */
.related { padding: 80px 0; border-top: 1px solid var(--border); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page { padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-image {
  background: var(--cream);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content .eyebrow { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; font-style: italic; }
.about-content p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ============================================
   REVIEWS / SOCIAL PROOF
   ============================================ */
/* REVIEWS TRIGGER */
.reviews-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.15s;
}
.reviews-trigger:hover { background: var(--text); transform: translateY(-1px); }

/* REVIEWS RAIL */
.reviews-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  background: var(--bg);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-left: 1px solid var(--border);
}
.reviews-rail.open { transform: translateX(0); }
.reviews-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.reviews-rail__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--muted);
  padding: 4px 8px;
}
.reviews-rail__close:hover { color: var(--text); }
.reviews-rail__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rail-review { border-bottom: 1px solid var(--border); padding-bottom: 28px; }
.rail-review:last-child { border-bottom: none; }
.rail-review__stars { color: var(--accent); font-size: 0.8rem; margin-bottom: 10px; }
.rail-review__text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 12px;
}
.rail-review__author {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* REVIEWS OVERLAY */
.reviews-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1050;
}
.reviews-overlay.open { display: block; }

@media (max-width: 640px) {
  .reviews-rail { width: 100%; }
}

/* ============================================
   CUSTOM ORDERS PAGE
   ============================================ */
.custom-orders-page { padding: 96px 0; }
.custom-orders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.custom-orders-info .eyebrow { margin-bottom: 16px; }
.custom-orders-info h2 { margin-bottom: 24px; font-style: italic; }
.custom-orders-info p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}
.custom-process { margin-top: 40px; }
.custom-process-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.process-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  min-width: 32px;
}
.process-text h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.process-text p { font-size: 0.82rem; color: var(--muted); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  background: #F0F7F0;
  border: 1px solid #C3E0C3;
  padding: 18px 20px;
  border-radius: 2px;
  font-size: 0.82rem;
  color: #2D5F2D;
  margin-top: 16px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: 80px 0 100px;
  max-width: 760px;
}
.legal-page h1 { margin-bottom: 12px; }
.legal-page .updated {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-page p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page ul li {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.8;
}

/* ============================================
   COLLECTION BANNER
   ============================================ */
.collection-banner {
  background: var(--cream);
  padding: 48px 0;
  text-align: center;
  margin-bottom: 56px;
}
.collection-banner .eyebrow { margin-bottom: 10px; }
.collection-banner h2 { font-style: italic; margin-bottom: 10px; }
.collection-banner p { font-size: 0.83rem; color: var(--muted); max-width: 460px; margin: 0 auto; }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ============================================
   SOLD OUT
   ============================================ */

/* Badge on shop grid cards */
.sold-out-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 26, 26, 0.78);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  pointer-events: none;
  z-index: 2;
}

/* Badge overlaid on product page gallery main image */
.sold-out-gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(26, 26, 26, 0.78);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  pointer-events: none;
  z-index: 2;
}

/* Dim the product card image when sold out */
.product-card.sold-out .product-card__image img {
  opacity: 0.72;
}

/* ============================================
   GET NOTIFIED MODAL
   ============================================ */
#notify-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
#notify-modal.open {
  display: flex;
}
.notify-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}
.notify-modal__box {
  position: relative;
  background: var(--white);
  padding: 44px 40px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.notify-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 6px;
  transition: color 0.15s;
}
.notify-modal__close:hover { color: var(--text); }
.notify-modal__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin: 0 0 10px;
}
.notify-modal__sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.65;
}
#notify-email {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}
#notify-email:focus { border-color: var(--accent); }
.notify-modal__success p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 480px) {
  .notify-modal__box { padding: 36px 24px 28px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Desktop: show nav links, hide hamburger */
@media (min-width: 901px) {
  .nav-hamburger { display: none; }
}

/* Tablet + mobile: hide desktop links, show hamburger */
@media (max-width: 900px) {
  .nav-desktop-links { display: none; }
  .product-page__grid { grid-template-columns: 1fr; gap: 40px; }
  .product-page__image-wrap { position: relative; top: auto; aspect-ratio: 1 / 0.85; }
  .about-grid { grid-template-columns: 1fr; }
  .custom-orders-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-custom-order { display: none; }
  .hero { padding: 80px 0 64px; }
  .section { padding: 56px 0; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
