/* ==========================================================================
   Cool Custom Creations — theme stylesheet
   Design system by The Free Website Guys.
   ========================================================================== */

:root {
  --font-display: 'League Spartan', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius: 1.125rem;
  --header-height: 68px;
  --header-height-lg: 84px;

  --shadow-soft: 0 6px 20px -8px hsl(220 78% 9% / 0.18);
  --shadow-elevated: 0 18px 44px -16px hsl(220 78% 9% / 0.28);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout — matches src/index.css .container-wide (max-w-[1200px] + px-5/sm:px-7/lg:px-8). */
  --container-max: 75rem;
  --container-padding: 1.25rem;
  --container-padding-sm: 1.75rem;
  --container-padding-lg: 2rem;

  /* Colors are re-emitted by PHP (wp_add_inline_style) from Customizer
     values; the hex values below are the source-accurate fallback. */
  --color-ink: #050e28;
  --color-royal: #1660b6;
  --color-royal-soft: #93c8fb;
  --color-cream: #fbf8f4;
  --color-paper: #f3eee7;
  --color-white: #ffffff;
  --color-focus: #0e68dd;
  --logo-height: 56px;
  --admin-bar-height: 0px;
}

/* -------------------------------------------------------------------- */
/* Reset / base                                                          */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Full-width layout shells — same structure as the Lovable app (no extra WP wrappers). */
main,
section,
.site-header,
.site-footer,
.hero-section {
  width: 100%;
  max-width: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
label[for], summary, [role="button"], [data-anchor-link], [data-cart-open], [data-cart-close] { cursor: pointer; }

img:not(.cover-img):not(.hero-gallery-img):not(.showcase-img):not(.theme-product-card__image):not(.mosaic-img):not(.owner-photo-img):not(.product-main-img):not(.product-thumb-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-gallery-img, .showcase-img, .theme-product-card__image, .mosaic-img, .owner-photo-img, .product-main-img, .product-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px hsl(220 78% 9% / 0.18);
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container-wide {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
@media (min-width: 640px) {
  .container-wide { padding-inline: var(--container-padding-sm); }
}
@media (min-width: 1024px) {
  .container-wide { padding-inline: var(--container-padding-lg); }
}

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn-base, .btn-primary, .btn-secondary, .btn-on-dark, .btn-ghost-dark, .btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.005em;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid hsl(220 78% 9% / 0.15);
  text-transform: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-royal);
  color: var(--color-white);
  border-color: hsl(220 78% 9% / 0.25);
  box-shadow: 0 4px 0 0 hsl(220 78% 9% / 0.22);
}
.btn-primary:hover { background: var(--color-ink); color: var(--color-white); transform: translateY(-2px); box-shadow: 0 7px 0 0 hsl(220 78% 9% / 0.24); }

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: hsl(220 78% 9% / 0.3);
  box-shadow: 0 4px 0 0 hsl(220 78% 9% / 0.14);
}
.btn-secondary:hover { background: var(--color-ink); color: var(--color-white); transform: translateY(-2px); box-shadow: 0 7px 0 0 hsl(220 78% 9% / 0.18); }

.btn-on-dark {
  background: var(--color-royal-soft);
  color: var(--color-ink);
  border-color: hsl(0 0% 100% / 0.3);
  box-shadow: 0 4px 0 0 hsl(0 0% 100% / 0.22);
}
.btn-on-dark:hover { background: var(--color-white); transform: translateY(-2px); }

.btn-ghost-dark {
  background: transparent;
  color: var(--color-white);
  border-color: hsl(0 0% 100% / 0.45);
}
.btn-ghost-dark:hover { background: hsl(0 0% 100% / 0.1); border-color: var(--color-royal-soft); transform: translateY(-2px); }

.btn-quiet {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: hsl(220 78% 9% / 0.15);
}
.btn-quiet:hover { transform: translateY(-2px); border-color: var(--color-royal); }

.press { transition: transform 0.15s var(--transition-smooth); }
.press:active { transform: scale(0.97); }

.icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-md { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

.card-surface {
  background: var(--color-white);
  border-radius: 18px;
  border: 1px solid hsl(220 78% 9% / 0.1);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body);
}
.eyebrow-royal { color: var(--color-royal); }
.eyebrow-on-dark { color: var(--color-royal-soft); }
.eyebrow-line { height: 1px; width: 2rem; background: currentColor; }

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 1px solid hsl(220 78% 9% / 0.15);
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
}

.link-underline { position: relative; }
.link-underline::after {
  content: '';
  position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 100%;
  background: var(--color-royal);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* -------------------------------------------------------------------- */
/* Animations                                                            */
/* -------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes marqueeSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shapeDrift { 0%, 100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(0,-14px,0) rotate(4deg); } }
@keyframes shimmer { from { background-position: -160% 0; } to { background-position: 260% 0; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: fadeIn 0.5s var(--transition-smooth) both; }
.animate-slide-up { animation: slideUp 0.5s var(--transition-smooth) both; }
.animate-drawer-in { animation: drawerIn 0.32s var(--transition-smooth) both; }
.animate-card-in { animation: cardIn 0.45s ease-out both; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-26px); }
.reveal-right { transform: translateX(26px); }
.reveal-left.is-visible, .reveal-right.is-visible { transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }

.hover-lift { transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

.zoom-frame img, .zoom-frame .cover-img { transition: transform 0.55s var(--transition-smooth); }
.zoom-frame:hover img, .zoom-frame:hover .cover-img { transform: scale(1.045); }

.shape-drift { animation: shapeDrift 14s ease-in-out infinite; }

.grain { position: relative; }
.grain::before {
  content: '';
  pointer-events: none;
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: radial-gradient(hsl(220 78% 9% / 0.055) 1px, transparent 1.4px);
  background-size: 4px 4px;
}

/* Customizer preview fallback: never leave reveal content invisible in the editor. */
body.is-customizer .reveal,
body.is-customizer .stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .shape-drift { animation: none; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hover-lift:hover, .zoom-frame:hover img, .press:active { transform: none; }
  .mobile-menu { animation: none !important; }
  .faq-panel, .faq-panel-inner p, .faq-chevron { transition: none !important; }
}

/* -------------------------------------------------------------------- */
/* WordPress admin bar offset                                            */
/* -------------------------------------------------------------------- */
body.admin-bar {
  --admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-height: 46px;
  }
}
body.admin-bar .site-header {
  top: var(--admin-bar-height);
}
body.admin-bar .product-page,
body.admin-bar .checkout-page,
body.admin-bar .notfound-page {
  padding-top: calc(var(--header-height) + var(--admin-bar-height));
}
@media (min-width: 1024px) {
  body.admin-bar .product-page,
  body.admin-bar .checkout-page {
    padding-top: calc(var(--header-height-lg) + var(--admin-bar-height));
  }
}

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: hsl(38 44% 97% / 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(220 78% 9% / 0.1);
  box-shadow: var(--shadow-soft);
}
.site-header .site-nav { color: var(--color-white); }
.site-header.is-solid .site-nav, .site-header.is-scrolled .site-nav { color: var(--color-ink); }

.scroll-progress-track { position: absolute; left: 0; top: 0; width: 100%; height: 3px; pointer-events: none; }
.scroll-progress-bar { height: 100%; width: 100%; background: var(--color-royal); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.12s linear, opacity 0.3s ease; opacity: 0; }

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-height); }
@media (min-width: 1024px) { .site-nav { height: var(--header-height-lg); } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; color: var(--color-white); }
.site-header.is-solid .site-brand, .site-header.is-scrolled .site-brand { color: var(--color-ink); }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; flex-shrink: 0; }
.site-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.site-brand-text { display: none; flex-direction: column; line-height: 1.2; min-width: 0; }
@media (min-width: 768px) { .site-brand-text { display: flex; } }
.site-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-brand-tagline { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-royal-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header.is-solid .site-brand-tagline, .site-header.is-scrolled .site-brand-tagline { color: var(--color-royal); }

.site-nav-desktop { display: none; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 1.5rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-list li { list-style: none; }
.theme-nav-link, .theme-nav-list a {
  font-size: 14px; font-weight: 600; color: hsl(0 0% 100% / 0.9); transition: color 0.2s ease;
}
.site-header.is-solid .theme-nav-link, .site-header.is-scrolled .theme-nav-link,
.site-header.is-solid .theme-nav-list a, .site-header.is-scrolled .theme-nav-list a { color: hsl(220 78% 9% / 0.8); }
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-royal-soft); }
.site-header.is-solid .theme-nav-link:hover, .site-header.is-scrolled .theme-nav-link:hover,
.site-header.is-solid .theme-nav-list a:hover, .site-header.is-scrolled .theme-nav-list a:hover { color: var(--color-royal); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .site-nav-actions { gap: 0.75rem; } }
.site-nav-shop-btn { display: none; font-size: 14px; padding: 0 1.25rem; }
@media (min-width: 1024px) { .site-nav-shop-btn { display: inline-flex; } }

.cart-toggle-btn {
  position: relative;
  display: grid; place-items: center;
  height: 44px; width: 44px;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.4);
  color: var(--color-white);
  transition: background-color 0.2s ease;
}
.site-header.is-solid .cart-toggle-btn, .site-header.is-scrolled .cart-toggle-btn { border-color: hsl(220 78% 9% / 0.15); color: var(--color-ink); }
.cart-toggle-btn:hover { background: hsl(0 0% 100% / 0.15); }
.site-header.is-solid .cart-toggle-btn:hover, .site-header.is-scrolled .cart-toggle-btn:hover { background: var(--color-paper); }
.cart-icon { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 4px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  background: var(--color-royal); color: var(--color-white);
  border-radius: 999px; border: 1px solid var(--color-cream);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-btn {
  display: grid; place-items: center;
  height: 44px; width: 44px;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.4);
  color: var(--color-white);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mobile-menu-btn:hover { background: hsl(0 0% 100% / 0.15); }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.site-header.is-solid .mobile-menu-btn, .site-header.is-scrolled .mobile-menu-btn { border-color: hsl(220 78% 9% / 0.15); color: var(--color-ink); }
.site-header.is-solid .mobile-menu-btn:hover, .site-header.is-scrolled .mobile-menu-btn:hover { background: var(--color-paper); }
.mobile-menu-btn svg { width: 1.25rem; height: 1.25rem; }
.mobile-menu-btn .icon-close, .mobile-menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu-btn[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* Dropdown attached to the header — mirrors Header.tsx (bg-ivory, fade-in). */
.mobile-menu {
  display: none;
  background: var(--color-cream);
  border-top: 1px solid hsl(220 78% 9% / 0.1);
}
.mobile-menu.is-open {
  display: block;
  animation: fadeIn 0.5s var(--transition-smooth) both;
}
.mobile-menu-inner { padding-block: 1rem; display: flex; flex-direction: column; }
.mobile-menu .theme-nav-list, .mobile-menu-inner .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-menu .theme-nav-link, .mobile-menu .theme-nav-list a {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  padding: 0.875rem 0;
  border-bottom: 1px solid hsl(220 78% 9% / 0.1);
}
.mobile-menu .theme-nav-list > :last-child,
.mobile-menu .theme-nav-list > :last-child a,
.mobile-menu .theme-nav-list > :last-child .theme-nav-link {
  border-bottom: 0;
}
.mobile-menu-shop-btn { margin-top: 1rem; width: 100%; }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero-section {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--color-ink);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 22%, hsl(214 78% 40% / 0.35), transparent 58%),
              radial-gradient(circle at 12% 82%, hsl(214 78% 40% / 0.18), transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--color-ink), transparent 60%, hsl(220 78% 9% / 0.6));
}
.hero-content-wrap { position: relative; z-index: 10; flex: 1; display: flex; align-items: center; padding: 86px 0 1rem; }
@media (min-width: 1024px) { .hero-content-wrap { padding: 118px 0 1rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.hero-copy { grid-column: 1 / -1; order: 1; }
@media (min-width: 1024px) { .hero-copy { grid-column: span 6; } }
@media (min-width: 1280px) { .hero-copy { grid-column: span 5; } }

.hero-title {
  color: var(--color-white);
  font-weight: 800;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
}
@media (min-width: 640px) { .hero-title { font-size: 46px; } }
@media (min-width: 1024px) { .hero-title { font-size: 60px; } }
.hero-title-accent { color: var(--color-royal-soft); }
.hero-break { display: none; }
@media (min-width: 1024px) { .hero-break { display: inline; } }

.hero-copy-text { margin-top: 1rem; max-width: 34rem; font-size: 16px; line-height: 1.6; color: hsl(0 0% 100% / 0.85); }
@media (min-width: 768px) { .hero-copy-text { font-size: 18px; } }

.hero-ctas { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hero-tagline { font-family: var(--font-body); font-weight: 500; font-style: italic; font-size: 17px; color: hsl(0 0% 100% / 0.8); }
@media (min-width: 768px) { .hero-tagline { font-size: 19px; } }
.hero-tagline-desktop { display: none; margin-top: 1.75rem; }
@media (min-width: 1024px) { .hero-tagline-desktop { display: block; } }
.hero-tagline-mobile { display: block; margin-top: 1rem; }
@media (min-width: 1024px) { .hero-tagline-mobile { display: none; } }

.hero-gallery { grid-column: 1 / -1; order: 2; }
@media (min-width: 1024px) { .hero-gallery { grid-column: span 6; } }
@media (min-width: 1280px) { .hero-gallery { grid-column: span 7; } }
.hero-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 1024px) { .hero-gallery-grid { grid-template-columns: 68fr 32fr; gap: 1rem; height: 56vh; max-height: 520px; } }
.hero-gallery-main {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid hsl(0 0% 100% / 0.15); background: hsl(0 0% 100% / 0.04);
  height: 24vh; min-height: 180px;
}
@media (min-width: 640px) { .hero-gallery-main { height: 32vh; } }
@media (min-width: 1024px) { .hero-gallery-main { height: 100%; } }
.hero-gallery-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 1024px) { .hero-gallery-side { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); gap: 1rem; height: 100%; } }
.hero-gallery-thumb {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid hsl(0 0% 100% / 0.15); background: hsl(0 0% 100% / 0.04);
  height: 10vh; min-height: 84px;
}
@media (min-width: 640px) { .hero-gallery-thumb { height: 13vh; } }
@media (min-width: 1024px) { .hero-gallery-thumb { height: 100%; } }
.hero-gallery-footnote { margin-top: 0.75rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-royal-soft); }

.hero-marquee-wrap { position: relative; z-index: 10; width: 100%; background: var(--color-paper); border-top: 1px solid hsl(220 78% 9% / 0.15); border-bottom: 1px solid hsl(220 78% 9% / 0.15); padding: 0.75rem 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marqueeSlide 38s linear infinite; }
.marquee-row { display: flex; align-items: center; }
.marquee-item { display: flex; align-items: center; flex-shrink: 0; }
.marquee-text { padding: 0 1.25rem; font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-ink); white-space: nowrap; }
@media (min-width: 640px) { .marquee-text { font-size: 14px; } }
.marquee-dot { height: 0.5rem; width: 0.5rem; border-radius: 999px; background: var(--color-royal); flex-shrink: 0; }

/* -------------------------------------------------------------------- */
/* Section shells                                                        */
/* -------------------------------------------------------------------- */
.section { position: relative; overflow: hidden; }
.section-py { padding-block: 5rem; }
@media (min-width: 768px) { .section-py { padding-block: 7rem; } }
.section-dark { background: var(--color-ink); color: var(--color-cream); }
.section-light { background: var(--color-cream); }
.section-paper { background: var(--color-paper); }
.section-border-b { border-bottom: 1px solid hsl(220 78% 9% / 0.1); }

.glow { pointer-events: none; position: absolute; border-radius: 999px; filter: blur(48px); }
.glow-top-right { top: -6rem; right: -6rem; height: 18rem; width: 18rem; background: hsl(214 78% 40% / 0.25); }
.glow-left { left: -6rem; top: 6rem; height: 16rem; width: 16rem; background: hsl(210 92% 76% / 0.25); }
.glow-right { right: -6rem; top: 2.5rem; height: 18rem; width: 18rem; background: hsl(214 78% 40% / 0.25); }
.glow-bottom-right { right: -4rem; bottom: 2.5rem; height: 14rem; width: 14rem; background: hsl(210 92% 76% / 0.3); filter: blur(32px); }

.section-heading { font-weight: 700; line-height: 1.03; color: var(--color-ink); }
.section-heading--custom, .section-heading--owner, .section-heading--faq { color: var(--color-cream); }
.section-copy { margin-top: 1rem; font-size: 16px; line-height: 1.65; color: hsl(220 78% 9% / 0.7); max-width: 42rem; }
.section-copy--on-dark { color: hsl(38 44% 97% / 0.75); }
.section-copy--on-dark-secondary { margin-top: 1rem; color: hsl(38 44% 97% / 0.7); }
@media (min-width: 768px) { .section-copy { font-size: 18px; } }

.section-heading--custom { font-size: 34px; }
@media (min-width: 768px) { .section-heading--custom { font-size: 52px; } }
.section-heading--shop { font-size: 34px; }
@media (min-width: 768px) { .section-heading--shop { font-size: 52px; } }
@media (min-width: 1024px) { .section-heading--shop { font-size: 48px; letter-spacing: -0.02em; line-height: 1.01; } }
.section-heading--categories { font-size: 34px; max-width: 14ch; }
@media (min-width: 768px) { .section-heading--categories { font-size: 42px; } }
@media (min-width: 1024px) { .section-heading--categories { font-size: 46px; } }
.section-heading--about { font-size: 34px; }
@media (min-width: 768px) { .section-heading--about { font-size: 46px; } }
.section-heading--owner { font-size: 34px; }
@media (min-width: 768px) { .section-heading--owner { font-size: 50px; } }
.section-heading--faq { font-size: 34px; }
@media (min-width: 768px) { .section-heading--faq { font-size: 38px; } }
@media (min-width: 1024px) { .section-heading--faq { font-size: 42px; } }
.section-heading--contact { font-size: 34px; }
@media (min-width: 768px) { .section-heading--contact { font-size: 50px; } }

.section-intro { max-width: 42rem; margin-bottom: 0; }
@media (min-width: 1024px) { .section-intro { max-width: none; } }

/* -------------------------------------------------------------------- */
/* Custom order section                                                  */
/* -------------------------------------------------------------------- */
.custom-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .custom-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: center; } }
.custom-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .custom-copy { grid-column: span 6; } }
.custom-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .custom-ctas { flex-direction: row; } }
.custom-cta-email, .custom-cta-sms { width: 100%; }
@media (min-width: 640px) { .custom-cta-email, .custom-cta-sms { width: auto; } }
.custom-footnote { margin-top: 0.75rem; font-size: 14px; color: hsl(38 44% 97% / 0.6); }

.custom-showcase { grid-column: 1 / -1; }
@media (min-width: 1024px) { .custom-showcase { grid-column: span 6; } }
.showcase-card {
  width: 100%; display: flex; flex-direction: column;
  border-radius: 22px; border: 1px solid hsl(210 92% 76% / 0.35);
  background: var(--color-cream); padding: 1.25rem;
  box-shadow: 0 18px 50px -24px rgba(0,0,0,0.55);
}
@media (min-width: 640px) { .showcase-card { padding: 1.5rem; } }
@media (min-width: 1024px) { .showcase-card { padding: 1.75rem; } }
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .showcase-grid { grid-template-columns: 62fr 38fr; gap: 1.25rem; } }
.showcase-main { position: relative; aspect-ratio: 3/4; border-radius: 14px; background: var(--color-paper); overflow: hidden; }
.showcase-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .showcase-side { grid-template-columns: 1fr; grid-template-rows: repeat(2, 1fr); gap: 1.25rem; } }
.showcase-thumb { position: relative; aspect-ratio: 1/1; min-height: 110px; border-radius: 14px; background: var(--color-paper); overflow: hidden; }
@media (min-width: 640px) { .showcase-thumb { aspect-ratio: auto; height: 100%; } }
.showcase-caption { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.showcase-line { height: 1px; width: 2rem; background: var(--color-royal); flex-shrink: 0; }
.showcase-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-ink); }
@media (min-width: 640px) { .showcase-label { font-size: 12px; } }

/* -------------------------------------------------------------------- */
/* Shop                                                                  */
/* -------------------------------------------------------------------- */
.shop-filters { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.shop-filter-btn {
  min-height: 44px; padding: 0 1.25rem; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: 1px solid hsl(220 78% 9% / 0.15);
  background: var(--color-white); color: var(--color-ink);
  transition: all 0.2s ease;
}
.shop-filter-btn:hover { border-color: hsl(220 78% 9% / 0.4); }
.shop-filter-btn.is-active { background: var(--color-royal); color: var(--color-white); border-color: var(--color-royal); }

.theme-product-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
  align-items: stretch;
}
@media (min-width: 640px) {
  .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: stretch; }
}
@media (min-width: 1280px) {
  .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-product-grid--related { margin-top: 0; grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 640px) {
  .theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: stretch; }
}
@media (min-width: 1024px) {
  .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.theme-product-card-wrap { width: 100%; max-width: 420px; display: flex; }
.theme-product-card-wrap.is-hidden-by-filter,
.theme-product-card-wrap.is-shop-collapsed { display: none; }
.shop-show-more-wrap { margin-top: 2rem; display: flex; justify-content: center; }
.shop-show-more-wrap[hidden],
.shop-show-more-wrap.is-hidden { display: none !important; }
#shop-show-more[hidden] { display: none !important; }
.theme-product-card {
  display: flex; flex-direction: column; height: 100%; width: 100%;
  overflow: hidden;
}
.theme-product-card__image-link { position: relative; display: block; aspect-ratio: 4/5; background: var(--color-paper); overflow: hidden; }
.theme-product-card__image-wrapper { position: relative; display: block; width: 100%; height: 100%; }
.theme-product-card__image { padding: 1rem; object-fit: contain; background: var(--color-paper); transition: transform 0.5s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.product-image-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--color-paper); padding: 1.25rem; text-align: center; }
.product-image-fallback-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--color-ink); }
.product-image-fallback-price { display: block; margin-top: 0.25rem; font-size: 14px; color: hsl(220 78% 9% / 0.7); }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; background: hsl(0 0% 100% / 0.9); }

.theme-product-card__info { display: flex; flex-direction: column; flex: 1; gap: 0.5rem; padding: 1.25rem; }
.theme-product-card__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.theme-product-card__title a:hover { color: var(--color-royal); }
.theme-product-card__unit { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: hsl(220 78% 9% / 0.55); }
.theme-product-card__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.theme-product-card__actions { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: 0.625rem; }
.theme-product-card__details-btn { flex: 1; font-size: 14px; padding: 0 1rem; }
.theme-product-card__add-btn { font-size: 14px; padding: 0 1rem; }
.theme-product-card__add-btn .icon-check { display: none; }
.theme-product-card__add-btn.is-added .icon-plus { display: none; }
.theme-product-card__add-btn.is-added .icon-check { display: block; }

/* -------------------------------------------------------------------- */
/* Design categories                                                     */
/* -------------------------------------------------------------------- */
.categories-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
@media (min-width: 768px) {
  .categories-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto 1fr;
    gap: 0;
  }
}
@media (min-width: 1024px) {
  .categories-layout { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); }
}
.categories-editorial,
.categories-actions,
.categories-list {
  min-width: 0;
  max-width: 100%;
}
.categories-editorial { order: 1; }
@media (min-width: 768px) { .categories-editorial { grid-column: 1; grid-row: 1; padding-right: 2.5rem; } }
@media (min-width: 1024px) { .categories-editorial { padding-right: 3.5rem; } }
.categories-actions { order: 3; }
@media (min-width: 768px) { .categories-actions { order: 0; grid-column: 1; grid-row: 2; align-self: end; padding-right: 2.5rem; padding-top: 3rem; } }
@media (min-width: 1024px) { .categories-actions { padding-right: 3.5rem; } }
.categories-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.categories-ctas .btn-primary,
.categories-ctas .btn-secondary {
  white-space: normal;
  max-width: 100%;
  height: auto;
}
.categories-footnote { margin-top: 0.75rem; font-size: 13px; color: hsl(220 78% 9% / 0.55); }

.categories-list { order: 2; width: 100%; }
@media (min-width: 768px) { .categories-list { grid-column: 2; grid-row: 1 / span 2; border-left: 1px solid hsl(220 78% 9% / 0.1); padding-left: 2.5rem; } }
@media (min-width: 1024px) { .categories-list { padding-left: 3.5rem; } }
.category-item { border-top: 1px solid hsl(220 78% 9% / 0.12); padding: 1.5rem 0; transition: border-color 0.2s ease; min-width: 0; }
.category-item:first-child { border-top: none; }
@media (min-width: 768px) { .category-item { padding: 1.75rem 0; } }
@media (min-width: 1024px) { .category-item { padding: 2rem 0; } }
.category-item:hover { border-color: hsl(214 78% 40% / 0.4); }
.category-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
  min-width: 0;
}
@media (min-width: 768px) {
  .category-item-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .category-item-grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.55fr); column-gap: 1.5rem; }
}
.category-item-head { display: flex; align-items: baseline; gap: 0.75rem; min-width: 0; }
@media (min-width: 1024px) { .category-item-head { display: contents; } }
.category-number {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1;
  color: hsl(214 78% 40% / 0.3); transition: color 0.2s ease; flex-shrink: 0;
}
@media (min-width: 768px) { .category-number { font-size: 30px; } }
@media (min-width: 1024px) { .category-number { font-size: 34px; } }
.category-item:hover .category-number { color: hsl(214 78% 40% / 0.7); }
.category-title {
  font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.15;
  transition: transform 0.2s ease; min-width: 0; overflow-wrap: anywhere;
}
@media (min-width: 768px) { .category-title { font-size: 23px; } }
@media (min-width: 1024px) { .category-title { font-size: 26px; } }
@media (min-width: 1024px) { .category-item:hover .category-title { transform: translateX(4px); } }
.category-copy {
  font-size: 15px; line-height: 1.65; color: hsl(220 78% 9% / 0.65);
  min-width: 0; overflow-wrap: anywhere;
}
@media (min-width: 768px) { .category-copy { font-size: 16px; } }

/* -------------------------------------------------------------------- */
/* About                                                                 */
/* -------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
.about-card { display: flex; flex-direction: column; height: 100%; border-radius: 22px; border: 1px solid hsl(220 78% 9% / 0.1); background: hsl(0 0% 100% / 0.8); box-shadow: var(--shadow-soft); padding: 1.5rem; }
@media (min-width: 640px) { .about-card { padding: 2rem; } }
@media (min-width: 1024px) { .about-card { padding: 2.5rem; } }
.section-copy--about { max-width: none; }
.about-bullets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-bullet { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 16px; color: hsl(220 78% 9% / 0.8); }
.about-bullet-dot { margin-top: 0.5rem; height: 0.5rem; width: 0.5rem; border-radius: 999px; background: var(--color-royal); flex-shrink: 0; }
.about-future-box { margin-top: 2rem; border-radius: 16px; border: 1px solid hsl(220 78% 9% / 0.1); background: var(--color-paper); padding: 1.25rem; }
.about-future-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: hsl(220 78% 9% / 0.55); }
.about-future-items { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.about-future-chip { border-radius: 999px; border: 1px solid hsl(220 78% 9% / 0.12); background: var(--color-white); padding: 0.25rem 0.75rem; font-size: 13px; color: hsl(220 78% 9% / 0.7); }
.about-future-note { margin-top: 0.75rem; font-size: 14px; color: hsl(220 78% 9% / 0.6); }
.about-button-wrap { margin-top: 2rem; padding-top: 0; }
@media (min-width: 1024px) { .about-button-wrap { margin-top: auto; padding-top: 2rem; } }

.about-mosaic { height: 100%; }
.mosaic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; height: 100%; }
@media (min-width: 768px) { .mosaic-grid { gap: 1.25rem; } }
@media (min-width: 1024px) { .mosaic-grid { grid-template-rows: repeat(2, 1fr); } }
.mosaic-item { position: relative; aspect-ratio: 1/1; min-height: 150px; border-radius: 18px; border: 1px solid hsl(220 78% 9% / 0.1); background: var(--color-paper); overflow: hidden; box-shadow: var(--shadow-soft); }
@media (min-width: 1024px) { .mosaic-item { aspect-ratio: auto; height: 100%; } }
.mosaic-img { padding: 0.75rem; object-fit: contain; }

/* -------------------------------------------------------------------- */
/* Owner                                                                 */
/* -------------------------------------------------------------------- */
.owner-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.owner-photos { grid-column: 1 / -1; }
@media (min-width: 1024px) { .owner-photos { grid-column: span 5; } }
.owner-photo-main { position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; border: 1px solid hsl(0 0% 100% / 0.15); box-shadow: var(--shadow-elevated); }
.owner-photo-main .owner-photo-img { object-position: top; }
.owner-photo-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.owner-photo-thumb { position: relative; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; border: 1px solid hsl(0 0% 100% / 0.15); }

.owner-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .owner-copy { grid-column: span 7; } }
.owner-quote { margin-top: 1.5rem; font-family: var(--font-display); font-size: 19px; color: var(--color-royal-soft); }
@media (min-width: 768px) { .owner-quote { font-size: 22px; } }

/* -------------------------------------------------------------------- */
/* FAQ                                                                   */
/* -------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .faq-layout { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.faq-side { grid-column: 1 / -1; }
@media (min-width: 768px) { .faq-side { grid-column: span 5; } }
@media (min-width: 1024px) { .faq-side { grid-column: span 4; } }
.faq-side-card { height: 100%; display: flex; flex-direction: column; border-radius: 20px; background: var(--color-ink); color: var(--color-cream); padding: 1.75rem; }
@media (min-width: 1024px) { .faq-side-card { padding: 2rem; } }
.faq-side-divider { margin-top: 1.75rem; height: 1px; width: 100%; background: hsl(210 92% 76% / 0.35); }
.faq-side-contact { margin-top: auto; padding-top: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
.faq-side-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-royal-soft); }
.faq-side-value { margin-top: 0.25rem; font-size: 15px; color: var(--color-cream); word-break: break-word; }
@media (min-width: 640px) { .faq-side-value { font-size: 16px; } }
.faq-side-note { margin-top: 0.25rem; font-size: 14px; color: hsl(38 44% 97% / 0.6); }
.faq-side-ctas { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.25rem; }
.faq-side-ctas a { width: 100%; }

.faq-main { grid-column: 1 / -1; }
@media (min-width: 768px) { .faq-main { grid-column: span 7; } }
@media (min-width: 1024px) { .faq-main { grid-column: span 8; } }
.faq-accordion { height: 100%; display: flex; flex-direction: column; border-radius: 20px; border: 1px solid hsl(220 78% 9% / 0.1); background: var(--color-white); overflow: hidden; }
.faq-item { flex: 1; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid hsl(220 78% 9% / 0.1); }
.faq-item:first-child { border-top: none; }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; padding: 1.25rem 1.25rem; min-height: 56px;
  font-weight: 600; font-size: 17px; color: var(--color-ink);
  transition: background-color 0.2s ease;
}
@media (min-width: 768px) { .faq-trigger { padding: 1.25rem 1.75rem; font-size: 18px; } }
.faq-trigger:hover { background: hsl(32 34% 93% / 0.7); }
.faq-item.is-open .faq-trigger { background: hsl(32 34% 93% / 0.45); }
.faq-chevron {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--color-royal);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.32s ease;
}
.faq-panel[hidden] { display: grid; }
.faq-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.25rem 1.5rem;
  font-size: 16px;
  line-height: 1.65;
  color: hsl(220 78% 9% / 0.75);
}
.faq-panel-inner p {
  transform: translateY(-6px);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-panel.is-open .faq-panel-inner p { transform: translateY(0); }
@media (min-width: 768px) { .faq-panel-inner { padding: 0 1.75rem 1.5rem; } }

/* -------------------------------------------------------------------- */
/* Contact                                                               */
/* -------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.contact-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .contact-copy { grid-column: span 6; } }
.contact-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-card-wrap { grid-column: 1 / -1; }
@media (min-width: 1024px) { .contact-card-wrap { grid-column: span 6; } }
.contact-card { padding: 1.5rem; }
@media (min-width: 768px) { .contact-card { padding: 2rem; } }
.contact-dl { display: flex; flex-direction: column; gap: 1.25rem; margin: 0; }
.contact-dt { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(220 78% 9% / 0.55); }
.contact-dd { margin: 0.25rem 0 0; font-size: 16px; color: hsl(220 78% 9% / 0.8); }
.contact-dd-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.contact-phone-note {
  background: hsl(210 92% 76% / 0.3);
  color: var(--color-ink);
  border-color: hsl(220 78% 9% / 0.1);
}
.contact-link { font-size: 16px; color: var(--color-ink); word-break: break-all; transition: color 0.2s ease; }
@media (min-width: 768px) { .contact-link { font-size: 18px; } }
.contact-link:hover { color: var(--color-royal); }
.contact-motto { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid hsl(220 78% 9% / 0.1); font-family: var(--font-display); font-size: 17px; color: var(--color-royal); }

/* -------------------------------------------------------------------- */
/* Side cart drawer                                                      */
/* -------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: hsl(220 78% 9% / 0.6);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open { overflow: hidden; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
  background: var(--color-cream); color: var(--color-ink);
  z-index: 51; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s var(--transition-smooth);
  visibility: hidden;
}
body.cart-open #theme-cart-drawer {
  transform: translateX(0);
  visibility: visible;
  animation: drawerIn 0.32s var(--transition-smooth) both;
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid hsl(220 78% 9% / 0.1); background: var(--color-ink); color: var(--color-white); }
.cart-drawer-title { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.cart-drawer-close { display: grid; place-items: center; height: 44px; width: 44px; border-radius: 999px; border: 1px solid hsl(0 0% 100% / 0.3); color: var(--color-white); transition: background-color 0.2s ease; }
.cart-drawer-close:hover { background: hsl(0 0% 100% / 0.1); }
.cart-drawer-close svg { width: 1.25rem; height: 1.25rem; }

.cart-drawer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.cart-empty-icon { display: grid; place-items: center; height: 4rem; width: 4rem; border-radius: 999px; background: var(--color-paper); color: var(--color-royal); margin-bottom: 1.25rem; }
.cart-empty-icon svg { width: 1.75rem; height: 1.75rem; }
.cart-empty-title { font-weight: 600; font-size: 20px; margin-bottom: 0.5rem; }
.cart-empty-copy { font-size: 15px; color: hsl(220 78% 9% / 0.65); margin-bottom: 1.5rem; max-width: 260px; }

.cart-items-list { flex: 1; overflow: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: flex; gap: 1rem; background: var(--color-white); border: 1px solid hsl(220 78% 9% / 0.1); border-radius: 16px; padding: 0.75rem; }
.cart-item-img-wrap { position: relative; width: 5rem; height: 5rem; border-radius: 12px; background: var(--color-paper); overflow: hidden; flex-shrink: 0; }
.cart-item-img { padding: 0.375rem; object-fit: contain; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.cart-item-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.cart-item-name:hover { color: var(--color-royal); }
.cart-item-line-price { font-family: var(--font-display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.cart-item-unit-price { font-size: 13px; color: hsl(220 78% 9% / 0.6); margin-top: 0.125rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.cart-qty-group { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid hsl(220 78% 9% / 0.15); background: var(--color-cream); }
.cart-qty-btn { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 999px; transition: background-color 0.2s ease; }
.cart-qty-btn:hover { background: var(--color-paper); }
.cart-qty-btn svg { width: 0.875rem; height: 0.875rem; }
.cart-qty-value { padding: 0 0.5rem; min-width: 28px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.cart-remove-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; color: hsl(220 78% 9% / 0.6); min-height: 44px; padding: 0 0.25rem; transition: color 0.2s ease; }
.cart-remove-btn:hover { color: var(--color-royal); }
.cart-remove-btn svg { width: 1rem; height: 1rem; }

.cart-drawer-footer,
#cart-drawer-footer {
  flex: 0 0 auto;
  flex-grow: 0;
  align-self: stretch;
  border-top: 1px solid hsl(220 78% 9% / 0.1);
  background: var(--color-white);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.cart-subtotal-label { font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(220 78% 9% / 0.65); }
.cart-subtotal-value { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; }
.cart-drawer-footer .cart-checkout-btn,
.cart-drawer-footer .cart-empty-btn,
#cart-drawer-footer .cart-checkout-btn,
#cart-drawer-footer .cart-empty-btn {
  flex: 0 0 auto;
  width: 100%;
  min-height: 44px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cart-drawer-footer .cart-empty-btn,
#cart-drawer-footer .cart-empty-btn {
  font-size: 14px;
}
.btn-primary svg,
.btn-quiet svg,
.btn-secondary svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Hide any leftover WooCommerce-style "view cart" affordance if a plugin
   ever injects one — not currently applicable (no WooCommerce), kept as a
   defensive no-op selector so future integrations remain scoped. */
.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------- */
/* Product detail page                                                  */
/* -------------------------------------------------------------------- */
.product-page { background: var(--color-cream); padding-top: 68px; }
@media (min-width: 1024px) { .product-page { padding-top: 84px; } }
.product-breadcrumb-wrap { border-bottom: 1px solid hsl(220 78% 9% / 0.1); background: var(--color-paper); }
.product-breadcrumb-inner { padding-block: 1rem; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; font-size: 13px; color: hsl(220 78% 9% / 0.6); }
.breadcrumb-link:hover { color: var(--color-royal); }
.breadcrumb-current { color: var(--color-ink); font-weight: 600; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.product-detail-wrap { padding-block: 2.5rem; }
@media (min-width: 768px) { .product-detail-wrap { padding-block: 4rem; } }
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }

.product-gallery { grid-column: 1 / -1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .product-gallery { grid-column: span 7; } }
.product-main-image { position: relative; aspect-ratio: 1/1; border-radius: 22px; background: var(--color-white); border: 1px solid hsl(220 78% 9% / 0.1); box-shadow: var(--shadow-soft); overflow: hidden; }
.product-main-img { padding: 1.5rem; object-fit: contain; }
.product-detail-badge { position: absolute; top: 1rem; left: 1rem; background: var(--color-royal); color: var(--color-white); border-color: var(--color-royal); }
.product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; flex-wrap: wrap; max-width: 100%; }
.product-thumb-btn { position: relative; height: 5rem; width: 5rem; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--color-white); border: 2px solid hsl(220 78% 9% / 0.1); transition: border-color 0.2s ease; }
.product-thumb-btn:hover { border-color: hsl(220 78% 9% / 0.3); }
.product-thumb-btn.is-active { border-color: var(--color-royal); }
.product-thumb-img { padding: 0.375rem; object-fit: contain; }

.product-info { grid-column: 1 / -1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .product-info { grid-column: span 5; position: sticky; top: 7rem; } }
.product-title { font-weight: 700; font-size: 30px; line-height: 1.05; margin-top: 0.75rem; }
@media (min-width: 768px) { .product-title { font-size: 42px; } }
.product-price { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.product-description { margin-top: 1rem; font-size: 16px; line-height: 1.65; color: hsl(220 78% 9% / 0.75); overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .product-description { font-size: 17px; } }

.product-purchase-row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid hsl(220 78% 9% / 0.15); background: var(--color-white); }
.theme-qty-minus, .theme-qty-plus { display: grid; place-items: center; height: 48px; width: 48px; border-radius: 999px; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-paper); }
.theme-qty-input { width: 44px; height: 48px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; background: transparent; border: none; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-add-btn { flex: 1 1 auto; min-width: 180px; }
.product-add-btn .icon-check { display: none; }
.product-add-btn.is-added .icon-check { display: block; }

.product-personalize-box { margin-top: 2rem; padding: 1.25rem; }
.product-personalize-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.product-personalize-copy { margin-top: 0.5rem; font-size: 15px; color: hsl(220 78% 9% / 0.7); line-height: 1.6; }
.product-personalize-ctas { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.product-personalize-ctas a { font-size: 14px; }

.related-products-section { margin-top: 5rem; padding-top: 3.5rem; border-top: 1px solid hsl(220 78% 9% / 0.1); }
.related-products-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.related-products-title { font-weight: 700; font-size: 28px; }
@media (min-width: 768px) { .related-products-title { font-size: 38px; } }
.related-view-all { font-size: 14px; }

/* -------------------------------------------------------------------- */
/* Checkout page                                                         */
/* -------------------------------------------------------------------- */
.checkout-page { background: var(--color-cream); padding-top: 68px; }
@media (min-width: 1024px) { .checkout-page { padding-top: 84px; } }

.checkout-empty-state { max-width: 42rem; padding-block: 5rem; text-align: center; }
@media (min-width: 768px) { .checkout-empty-state { padding-block: 7rem; } }
.checkout-empty-title { font-weight: 700; font-size: 34px; }
@media (min-width: 768px) { .checkout-empty-title { font-size: 46px; } }
.checkout-empty-copy { margin-top: 1rem; font-size: 16px; color: hsl(220 78% 9% / 0.7); }
.checkout-empty-state .btn-primary { margin-top: 2rem; }

.checkout-filled-state { padding-block: 2.5rem; }
@media (min-width: 768px) { .checkout-filled-state { padding-block: 4rem; } }
.checkout-continue-link { font-size: 14px; margin-bottom: 2rem; }
.checkout-title { font-weight: 700; font-size: 34px; line-height: 1.05; }
@media (min-width: 768px) { .checkout-title { font-size: 48px; } }
.checkout-intro { margin-top: 0.75rem; max-width: 42rem; font-size: 16px; color: hsl(220 78% 9% / 0.7); line-height: 1.6; }
@media (min-width: 768px) { .checkout-intro { font-size: 17px; } }

.checkout-layout { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.checkout-form-col { grid-column: 1 / -1; }
@media (min-width: 1024px) { .checkout-form-col { grid-column: span 7; } }
.checkout-summary-col { grid-column: 1 / -1; }
@media (min-width: 1024px) { .checkout-summary-col { grid-column: span 5; position: sticky; top: 7rem; } }

.checkout-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .checkout-form { padding: 2rem; } }
.checkout-form-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.checkout-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .checkout-form-row-2 { grid-template-columns: 1fr 1fr; } }
.checkout-label { display: block; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--color-ink); margin-bottom: 0.5rem; }
.checkout-input {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem;
  border-radius: 12px; background: var(--color-white);
  border: 1px solid hsl(220 78% 9% / 0.15);
  font-size: 16px; color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checkout-input::placeholder { color: hsl(220 78% 9% / 0.4); }
.checkout-input:focus { outline: none; border-color: var(--color-royal); box-shadow: 0 0 0 2px hsl(214 78% 40% / 0.4); }
.checkout-submit-btn { width: 100%; }
.checkout-submit-note { font-size: 13px; color: hsl(220 78% 9% / 0.6); }

.checkout-success { padding: 1.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .checkout-success { padding: 2rem; } }
.checkout-success-icon { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; background: hsl(214 78% 40% / 0.12); color: var(--color-royal); }
.checkout-success-title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.checkout-success-copy { margin-top: 0.75rem; font-size: 16px; color: hsl(220 78% 9% / 0.75); line-height: 1.6; }
.checkout-summary-pre { margin-top: 1.25rem; white-space: pre-wrap; border-radius: 14px; background: var(--color-paper); border: 1px solid hsl(220 78% 9% / 0.1); padding: 1rem; font-family: var(--font-body); font-size: 14px; color: hsl(220 78% 9% / 0.8); }
.checkout-success-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }

.checkout-summary-card { padding: 1.5rem; }
.checkout-summary-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 1.25rem; }
.checkout-summary-list { display: flex; flex-direction: column; gap: 1rem; }
.checkout-summary-total { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsl(220 78% 9% / 0.1); display: flex; justify-content: space-between; align-items: baseline; }
.checkout-summary-total-label { font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(220 78% 9% / 0.65); }
.checkout-summary-total-value { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.checkout-summary-note { margin-top: 0.75rem; font-size: 13px; color: hsl(220 78% 9% / 0.6); }

/* -------------------------------------------------------------------- */
/* Generic pages / 404                                                   */
/* -------------------------------------------------------------------- */
.generic-page { background: var(--color-cream); padding-top: 92px; min-height: 60vh; }
@media (min-width: 1024px) { .generic-page { padding-top: 110px; } }
.generic-page-inner { max-width: 42rem; padding-block: 3rem; }
.page-title { font-weight: 700; font-size: 34px; margin-bottom: 1.5rem; }

.notfound-page { background: var(--color-cream); min-height: 100vh; padding-top: 92px; }
@media (min-width: 1024px) { .notfound-page { padding-top: 110px; } }
.notfound-inner { max-width: 42rem; padding-block: 5rem; text-align: center; }
@media (min-width: 768px) { .notfound-inner { padding-block: 8rem; } }
.notfound-eyebrow { justify-content: center; }
.notfound-title { font-weight: 700; font-size: 46px; line-height: 1.02; margin-top: 1rem; }
@media (min-width: 768px) { .notfound-title { font-size: 68px; } }
.notfound-copy { margin-top: 1rem; font-size: 16px; color: hsl(220 78% 9% / 0.7); }
@media (min-width: 768px) { .notfound-copy { font-size: 18px; } }
.notfound-page .btn-primary { margin-top: 2rem; }

/* -------------------------------------------------------------------- */
/* Footer                                                                 */
/* -------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: var(--color-white); border-top: 4px solid var(--color-royal); }
.site-footer-inner { padding-block: 4rem 5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: left; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.footer-col-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col-brand { grid-column: span 5; } }
.footer-col-nav { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col-nav { grid-column: span 3; } }
.footer-col-contact { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col-contact { grid-column: span 4; } }

.footer-brand { display: inline-flex; align-items: center; gap: 1rem; }
.footer-logo-img { height: 4rem; width: 4rem; object-fit: contain; flex-shrink: 0; }
.footer-brand-text { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.footer-brand-sub { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-royal-soft); margin-top: 0.25rem; }
.footer-tagline { margin-top: 1.5rem; font-family: var(--font-display); font-size: 19px; color: hsl(0 0% 100% / 0.9); }
.footer-motto { margin-top: 0.5rem; font-size: 15px; font-style: italic; color: hsl(0 0% 100% / 0.65); }

.footer-col-title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-royal-soft); font-weight: 700; margin-bottom: 1.25rem; }
.footer-col-nav .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.footer-col-nav .theme-nav-link, .footer-col-nav .theme-nav-list a { color: hsl(0 0% 100% / 0.85); font-size: 16px; font-weight: 400; }
.footer-col-nav .theme-nav-link:hover, .footer-col-nav .theme-nav-list a:hover { color: var(--color-royal-soft); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 16px; color: hsl(0 0% 100% / 0.85); word-break: break-all; transition: color 0.2s ease; }
.footer-contact-link:hover { color: var(--color-royal-soft); }
.footer-contact-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.footer-contact-note { font-size: 14px; color: hsl(0 0% 100% / 0.6); }

.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid hsl(0 0% 100% / 0.1); }
.footer-copyright { font-size: 13px; color: hsl(0 0% 100% / 0.55); }

/* -------------------------------------------------------------------- */
/* Image loading shimmer (progressive enhancement)                      */
/* -------------------------------------------------------------------- */
.skeleton {
  background-color: var(--color-paper);
  background-image: linear-gradient(100deg, transparent 20%, hsl(220 78% 9% / 0.07) 45%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

.theme-variable-form { margin-top: 2rem; }
.theme-variable-attrs { display: grid; gap: 0.85rem; margin-bottom: 1.25rem; }
.theme-variable-attr-label { display: block; margin-bottom: 0.35rem; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.theme-variable-attr select { width: 100%; height: 48px; padding: 0 0.85rem; border: 1px solid var(--color-paper); background: var(--color-white); cursor: pointer; }
.theme-variable-form .product-add-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
