/* =========================================================
   YULIA — dark gallery storefront styles
   Black canvas, gold + green accents, the art is the colour.
   Mobile-first, responsive, no framework.
   ========================================================= */
:root {
  --bg: #0d0d0d;            /* near-black */
  --bg-soft: #161616;       /* panels / image backdrops */
  --ink: #f4f4f2;           /* near-white text */
  --muted: #9b9b9b;         /* grey */
  --accent: #c6f229;        /* neon lime (primary) */
  --accent-deep: #d6ff3d;   /* brighter neon for prices/links */
  --accent-soft: rgba(198, 242, 41, 0.16);
  --green: #c6f229;         /* neon (cart badge) */
  --gold: #c6f229;          /* alias kept for existing rules */
  --line: #272727;          /* subtle dark divider */
  --card: #151515;          /* card / panel surface */
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Dancing Script", "Segoe Script", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }

a { color: inherit; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #0c0c0c;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: none;
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 0 34px rgba(198, 242, 41, 0.45); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- loading screen ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem; background: var(--bg);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.loader-logo {
  width: auto; height: 74px; max-width: 130px; object-fit: contain;
  animation: loader-breathe 1.8s ease-in-out infinite;
}
.loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid rgba(212, 162, 76, 0.18);
  border-top-color: var(--accent);
  border-right-color: var(--green);
  animation: loader-spin 0.9s linear infinite;
}
.loader-word {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.55em; text-indent: 0.55em; color: var(--ink);
  animation: loader-pulse 1.7s ease-in-out infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------- decorative background petals ---------- */
.petals {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(45vw 45vw at 82% -8%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(45vw 45vw at -8% 108%, rgba(91, 191, 58, 0.07), transparent 60%);
  opacity: 1;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 2.4rem;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}
/* solid once you scroll past the hero */
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.brand-logo { height: 34px; width: auto; max-width: 64px; object-fit: contain; flex: none; }
.brand-word {
  font-family: var(--sans); font-weight: 600; font-size: 1.65rem;
  letter-spacing: 0.2em; color: #fff;
}
.brand-word .hl { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2.6rem; margin: 0 auto; }
.nav a {
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #e7e7e5;
  position: relative;
}
.nav a:not(.nav-admin)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-icons { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.icon-btn {
  background: none; border: none; cursor: pointer; color: var(--ink);
  padding: 0.2rem; display: inline-flex; text-decoration: none;
  transition: color 0.15s ease;
}
.icon-btn:hover { color: var(--accent); }
.icon-btn.is-signed-in { color: var(--accent); }
.nav-admin {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); text-decoration: none;
}
.nav-admin:hover { border-color: var(--accent); color: var(--accent); }

.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 0.2rem; display: inline-flex;
  transition: color 0.15s ease;
}
.cart-btn:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: -7px; right: -9px;
  background: var(--accent); color: #0c0c0c; font-size: 0.64rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px;
}
.cart-count[data-empty="true"] { display: none; }

.nav-toggle { display: none; }
.nav-close { display: none; }

/* ---------- full-bleed hero ---------- */
.hero {
  position: relative; height: min(92vh, 940px); min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
  background: #0d0d0d; border-bottom: 1px solid var(--line);
}
/* portrait photo anchored to the right; blends into the black on the left */
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 16%;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, #0d0d0d 0%, #0d0d0d 32%, rgba(13,13,13,0.5) 46%, rgba(13,13,13,0.08) 64%, transparent 100%),
    linear-gradient(to top, rgba(13,13,13,0.5) 0%, transparent 34%);
}
.hero-text {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 2.4rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.hero-text > * { animation: heroFade 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-text > *:nth-child(1) { animation-delay: 0.15s; }
.hero-text > *:nth-child(2) { animation-delay: 0.30s; }
.hero-text > *:nth-child(3) { animation-delay: 0.45s; }
.hero-text > *:nth-child(4) { animation-delay: 0.62s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-label {
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
}
.hero-title {
  font-family: var(--serif); font-weight: 600; color: #fff;
  font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: 0.97; letter-spacing: 0.01em;
  text-transform: uppercase; max-width: 15ch;
}
.hero-script {
  font-family: var(--script); text-transform: none; color: var(--accent);
  font-weight: 600; font-size: 1.02em; padding: 0 0.05em;
}
.hero-sub { color: #d8d8d6; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 40ch; margin: 0; }
.hero-cta {
  margin-top: 0.8rem; padding: 1.05rem 2.8rem; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2; transform: translateX(-50%);
  width: 25px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px; display: grid; justify-items: center; padding-top: 7px;
}
.hero-scroll span {
  width: 4px; height: 8px; border-radius: 999px; background: #fff;
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(6px); } }

/* keep anchored sections clear of the fixed header */
section[id] { scroll-margin-top: 84px; }

/* ---------- why choose us ---------- */
.why {
  background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(3.2rem, 7vw, 5.5rem) 1.5rem;
}
.why-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.why-inner .eyebrow { display: block; }
.why-inner h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); text-transform: uppercase; margin-top: 0.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.why-item { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 0 0.4rem; }
.why-item svg { color: #fff; margin-bottom: 0.2rem; }
.why-item strong { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em; color: #fff; }
.why-item span { color: var(--muted); font-size: 0.86rem; line-height: 1.45; max-width: 24ch; }

/* ---------- shop head (Trending / New Arrivals) ---------- */
.shop-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.eyebrow {
  color: var(--accent); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.shop-head-titles h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-top: 0.3rem; text-transform: uppercase; }
.view-all {
  text-decoration: none; color: #fff; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 2px solid var(--accent);
  padding-bottom: 3px; white-space: nowrap;
}
.view-all span { color: var(--accent); }
.view-all:hover { color: var(--accent); }

/* ---------- "paint the tee" button: shirt + the picture in front of it ---------- */
.tee-strip { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 2.4rem 0; }
.tee-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.55rem;
  background: none; border: none; cursor: pointer; padding: 0.3rem;
  transition: transform 0.2s ease;
}
.tee-btn:hover { transform: translateY(-3px); }
.tee-btn:active { transform: translateY(0) scale(0.98); }
/* shirt on the left, picture overlapping in front of it */
.tee-stage { position: relative; display: inline-flex; align-items: center; }
.tee-svg { position: relative; z-index: 1; width: 130px; height: 130px; flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)); }
.tee-body { fill: #ece9e2; stroke: #b7b2a6; stroke-width: 2.2; stroke-linejoin: round; }
.tee-imgs {
  position: relative; z-index: 2; margin-left: -34px;
  width: min(520px, 78vw); border-radius: 14px; overflow: hidden; line-height: 0;
  border: 3px solid #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}
.tee-img { display: block; width: 100%; height: auto; }
/* the colour picture fades in over the black & white one on click */
.tee-color { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.tee-btn.arted .tee-color { opacity: 1; }
.tee-label {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s ease;
}
.tee-btn:hover .tee-label, .tee-btn.arted .tee-label { color: var(--accent); }

/* art starts hidden; it "draws" onto the shirt when .arted is set */
.tee-art path { fill: none; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; opacity: 0; transition: opacity 0.35s ease; }
.tee-art circle { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: opacity 0.35s ease; }
.tee-btn.arted .tee-art path { opacity: 1; animation: teeDraw 0.8s ease forwards; }
.tee-btn.arted .tee-art circle { opacity: 1; animation: teeSplat 0.45s ease forwards; }
@keyframes teeDraw { to { stroke-dashoffset: 0; } }
@keyframes teeSplat { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
.tee-btn.arted .a2 { animation-delay: 0.16s; }
.tee-btn.arted .a3 { animation-delay: 0.32s; }
.tee-btn.arted .d1 { animation-delay: 0.42s; }
.tee-btn.arted .d2 { animation-delay: 0.5s; }
.tee-btn.arted .d3 { animation-delay: 0.58s; }
.tee-btn.arted .d4 { animation-delay: 0.66s; }
/* on phones, shrink so the shirt + picture fit within the screen (no right overflow) */
@media (max-width: 640px) {
  .tee-strip { padding: 1.5rem 1rem 0; }
  .tee-svg { width: 100px; height: 100px; }
  .tee-imgs { width: min(300px, 68vw); margin-left: -26px; }
}

/* ---------- hero carousel ---------- */
.hero-carousel {
  position: relative;
  min-height: min(92vh, 940px);
  overflow: hidden;
  background: #0d0d0d;
  border-bottom: 1px solid var(--line);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.hero-intro { display: flex; align-items: center; justify-content: flex-start; text-align: left; padding: 0; }
.hero-intro-inner { max-width: 760px; }

/* image / video slides */
.hero-img-slide img,
.hero-img-slide video { position: absolute; inset: 0; width: 100%; height: 100%; }
/* default: fill the band and crop (focus point chooses the visible slice) */
.hero-fg { object-fit: cover; }
/* "fit whole image" modes: show the entire image without cropping */
.hero-fit-contain .hero-fg,
.hero-fit-plain .hero-fg { object-fit: contain; }
/* contain = blurred copy of the image fills the sides */
.hero-bg { object-fit: cover; filter: blur(28px) brightness(0.55); transform: scale(1.12); }
/* plain = empty (page colour) fills the sides, no blur */
.hero-fit-plain { background: var(--bg); }
.hero-img-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13,13,15,0.75), rgba(13,13,15,0.1) 55%, rgba(13,13,15,0.25));
}

/* captions: one or more positionable groups; each line has its own size/font/colour.
   Multiple captions at the same position stack vertically (new below previous). */
.hero-caption-group {
  position: absolute; z-index: 2; padding: 0 1.5rem; max-width: 88%;
  display: flex; flex-direction: column; gap: 0.18em;
}
.hero-caption-group.v-top { top: 9%; }
.hero-caption-group.v-center { top: 50%; transform: translateY(-50%); }
.hero-caption-group.v-bottom { bottom: 12%; }
.hero-caption-group.h-left { left: 6%; right: auto; text-align: left; align-items: flex-start; }
.hero-caption-group.h-center { left: 0; right: 0; text-align: center; align-items: center; }
.hero-caption-group.h-right { right: 6%; left: auto; text-align: right; align-items: flex-end; }

.hero-caption-line {
  color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.6);
  font-family: var(--serif); line-height: 1.12;
}
.hero-caption-line.size-sm { font-size: clamp(1.05rem, 2.4vw, 1.5rem); }
.hero-caption-line.size-md { font-size: clamp(1.6rem, 4vw, 2.8rem); }
.hero-caption-line.size-lg { font-size: clamp(2.2rem, 6vw, 4rem); }
.hero-caption-line.size-xl { font-size: clamp(2.8rem, 8vw, 5.4rem); }
.hero-caption-line.font-serif { font-family: var(--serif); }
.hero-caption-line.font-sans { font-family: var(--sans); letter-spacing: 0.02em; }
.hero-caption-line.font-script { font-family: var(--script); font-weight: 600; }

/* dots + arrows */
.hero-dots { position: absolute; bottom: 1.1rem; left: 0; right: 0; z-index: 3;
  display: flex; gap: 0.5rem; justify-content: center; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: width 0.25s ease, background 0.25s ease;
}
.hero-dots button.active { width: 24px; background: var(--gold); }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,0.4); color: #fff; font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.15s ease;
}
.hero-nav:hover { background: rgba(0,0,0,0.7); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

.hero-art { display: flex; justify-content: center; margin-bottom: 0.5rem; }
.hero-art svg { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.hero-title { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 0.6rem; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 1.6rem; }
.hero-note {
  margin-top: 1.1rem; font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-deep);
}

/* ---------- section heads ---------- */
.section-head { text-align: center; margin: 1rem auto 2rem; }
.section-head h2, .about h2, .contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-sub, .section-head .section-sub {
  color: var(--accent-deep); letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.8rem; margin-top: 0.4rem;
}

/* ---------- collections + product grid ---------- */
.shop { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.collection { margin-bottom: 3.5rem; }
.collection:last-child { margin-bottom: 0; }
/* alternating banner image shown between category sections */
.cat-banner {
  width: 100%; height: clamp(200px, 32vw, 420px);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: var(--radius); margin: 0 0 3.5rem;
}
.collection-name.nsize-sm { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.collection-name.nsize-md { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.collection-name.nsize-lg { font-size: clamp(2.3rem, 5.5vw, 3.4rem); }
.collection-name.nsize-xl { font-size: clamp(2.8rem, 7vw, 4.4rem); }
.collection-name.nfont-serif { font-family: var(--serif); }
.collection-name.nfont-sans { font-family: var(--sans); }
.collection-name.nfont-script { font-family: var(--script); font-weight: 600; }

.collection-blurb { color: var(--muted); max-width: 54ch; margin: 0.5rem auto 0; font-size: 1rem; line-height: 1.4; }
.collection-blurb.bsize-sm { font-size: 0.85rem; }
.collection-blurb.bsize-md { font-size: 1rem; }
.collection-blurb.bsize-lg { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }
.collection-blurb.bsize-xl { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.collection-blurb.bfont-sans { font-family: var(--sans); }
.collection-blurb.bfont-serif { font-family: var(--serif); }
.collection-blurb.bfont-script { font-family: var(--script); font-weight: 600; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.6rem;
}
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); }

.card {
  background: none; border: none; box-shadow: none; border-radius: 0;
  display: flex; flex-direction: column; cursor: pointer;
}
.card-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bg-soft); border-radius: 8px;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-quick {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px);
  background: #fff; color: #0c0c0c; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.72rem 1.5rem;
  border-radius: 999px; opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; white-space: nowrap;
}
.card:hover .card-quick { opacity: 1; transform: translate(-50%, 0); }
.badge {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  background: rgba(0,0,0,0.5); color: var(--accent);
  border: 1px solid rgba(198,242,41,0.5); backdrop-filter: blur(3px);
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.62rem; border-radius: 999px; font-weight: 600;
}
.badge.sold { background: rgba(0,0,0,0.72); color: #fff; border-color: rgba(255,255,255,0.3); }
.card-body { padding: 0.9rem 0.1rem 0.4rem; display: flex; flex-direction: column; gap: 0.28rem; }
.card-name { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; color: #fff; transition: color 0.2s ease, text-shadow 0.2s ease; }
.card:hover .card-name { color: var(--accent); text-shadow: 0 0 16px rgba(198, 242, 41, 0.55); }
.card-price { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--accent); }
/* multi-image mini slideshow track */
.card-track { display: flex; width: 100%; height: 100%; transition: transform 0.7s ease; }
.card-track img { flex: 0 0 100%; }
/* discount: sale badge + struck-through original price */
.badge-sale {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
  background: #c0392b; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.62rem; border-radius: 999px; font-weight: 600;
}
.card-prices { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.card-price-old { font-size: 0.82rem; font-weight: 400; color: var(--muted); text-decoration: line-through; }

/* ---------- about ---------- */
.about {
  background: var(--bg-soft);
  padding: 3.5rem 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.about-inner h2 { margin-bottom: 1rem; }
.about-inner p { color: #cdc7bf; font-size: 1.05rem; }
.about-ship { margin-top: 1.2rem; font-size: 0.92rem; color: var(--muted); font-style: italic; }

/* ---------- contact ---------- */
.contact { text-align: center; padding: 3.5rem 1.25rem; max-width: 620px; margin: 0 auto; }
.contact p { color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.5rem; }
.contact-links a {
  text-decoration: none; padding: 0.7rem 1.4rem; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--ink); font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.contact-links a:hover { background: var(--accent); color: #0d0d0f; border-color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: 2.5rem 1.25rem 3rem; }
.footer-logo { width: auto; height: 48px; max-width: 96px; object-fit: contain; margin: 0 auto 0.8rem; opacity: 0.9; }
.footer-tag { font-family: var(--serif); font-size: 1.2rem; }
.footer-copy { color: var(--muted); font-size: 0.82rem; margin-top: 0.3rem; }

/* ---------- modal ---------- */
.modal, .cart { position: fixed; inset: 0; z-index: 100; }
.modal[hidden], .cart[hidden] { display: none; }
.modal-backdrop, .cart-backdrop { position: absolute; inset: 0; background: rgba(43,34,48,0.45); backdrop-filter: blur(2px); }
.modal-card {
  position: relative; z-index: 1; background: var(--card);
  max-width: 880px; width: calc(100% - 2rem); max-height: calc(100% - 2rem);
  margin: 1rem auto; top: 50%; transform: translateY(-50%);
  border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow);
  animation: pop 0.2s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(-50%) scale(0.97) } to { opacity: 1 } }
.modal-close, .cart-x {
  position: absolute; top: 0.6rem; right: 0.8rem; z-index: 2;
  background: rgba(255,255,255,0.1); border: none; width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--accent);
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover, .cart-x:hover { color: var(--accent-deep); background: rgba(198, 242, 41, 0.14); }
.modal-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
.modal-media { background: var(--bg-soft); position: relative; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
/* modal image gallery: arrows + dots */
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal-nav:hover { background: rgba(0, 0, 0, 0.7); }
.modal-prev { left: 0.7rem; }
.modal-next { right: 0.7rem; }
.modal-dots {
  position: absolute; left: 0; right: 0; bottom: 0.8rem; z-index: 2;
  display: flex; gap: 0.4rem; justify-content: center;
}
.modal-dots button {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 0.2s, background 0.2s;
}
.modal-dots button.active { width: 20px; background: var(--accent); }
.modal-body { padding: 2rem 1.8rem; }
.modal-collection { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.modal-body h3 { font-size: 2.1rem; margin: 0.2rem 0 0.4rem; }
.modal-price { font-size: 1.4rem; color: var(--accent-deep); font-weight: 500; }
.modal-price-old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 1.05rem; margin-inline-end: 0.35rem; }
.modal-desc { color: #cdc7bf; margin: 1rem 0 1.4rem; }
.modal-size label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.size-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1.4rem; }
.size-chip {
  min-width: 44px; padding: 0.5rem 0.8rem; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); border-radius: 10px; cursor: pointer; font-family: var(--sans); font-size: 0.95rem;
}
.size-chip.active { border-color: var(--gold); background: var(--accent-soft); color: var(--accent-deep); }
.modal-add { width: 100%; }
.modal-instagram {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; margin-top: 0.7rem; padding: 0.8rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.modal-instagram:hover { border-color: var(--accent); color: var(--accent); }
.modal-instagram[hidden] { display: none; }
.modal-unique { margin-top: 0.9rem; text-align: center; color: var(--gold); font-size: 0.85rem; }

/* ---------- cart drawer ---------- */
.cart-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column;
  animation: slideIn 0.22s ease;
}
@keyframes slideIn { from { transform: translateX(100%) } to { transform: translateX(0) } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.6rem; }
.cart-x { position: static; background: var(--bg-soft); }
.cart-items { flex: 1; overflow: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { text-align: center; color: var(--muted); margin-top: 2rem; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.8rem; align-items: center; }
.cart-line img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-line-name { font-weight: 500; }
.cart-line-meta { font-size: 0.8rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; }
.qty button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); cursor: pointer; line-height: 1; }
.cart-line-price { font-weight: 500; color: var(--accent-deep); white-space: nowrap; }
.cart-line-remove { display: block; margin-top: 0.3rem; font-size: 0.72rem; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 0.9rem; }
.cart-checkout { width: 100%; }
.cart-hint { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 0.7rem 0 0; }

/* ---------- account / auth ---------- */
.nav-account { cursor: pointer; }
.auth-card, .choice-card { max-width: 420px; }
.auth-body { padding: 2rem 1.8rem; text-align: center; }
.auth-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.8rem; }
.auth-body h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.auth-tabs { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.2rem; }
.auth-tab { background: none; border: none; color: var(--muted); font-family: var(--sans); font-size: 0.98rem; cursor: pointer; padding: 0.3rem 0.2rem; border-bottom: 2px solid transparent; }
.auth-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.auth-social { display: flex; flex-direction: column; gap: 0.6rem; }
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font-family: var(--sans); font-size: 0.95rem; cursor: pointer;
}
.btn-social:hover { border-color: var(--accent); }
.auth-or { position: relative; text-align: center; color: var(--muted); margin: 1.1rem 0; font-size: 0.8rem; }
.auth-or::before, .auth-or::after { content: ""; position: absolute; top: 50%; width: 36%; height: 1px; background: var(--line); }
.auth-or::before { left: 0; }
.auth-or::after { right: 0; }
.auth-or span { background: var(--card); padding: 0 0.6rem; position: relative; }
.auth-form { display: flex; flex-direction: column; gap: 0.6rem; }
.auth-form input {
  padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font-family: var(--sans); font-size: 0.95rem;
}
.auth-form .btn-primary { margin-top: 0.3rem; }
.auth-error { color: #e06a6a; font-size: 0.85rem; margin: 0.3rem 0 0; }
.auth-note { color: var(--green); font-size: 0.85rem; margin: 0.3rem 0 0; }
.auth-who { color: var(--muted); margin-bottom: 1rem; }
.choice-text { color: var(--muted); margin: 0.4rem 0 1.2rem; }
.choice-card .btn-primary { width: 100%; }
.choice-guest { margin-top: 0.7rem; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 0.4rem; order: 3;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; top: 0; right: 0; width: min(300px, 84%);
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0;
    background: linear-gradient(158deg, rgba(26, 26, 26, 0.62) 0%, rgba(9, 9, 9, 0.8) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    backdrop-filter: blur(26px) saturate(150%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4.8rem 0 2rem;
    box-shadow: -34px 0 70px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
    z-index: 60; overflow-y: auto; visibility: hidden;
  }
  /* soft top-left gloss sheen across the glass */
  .nav::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 44%);
  }
  .nav.open { transform: translateX(0); visibility: visible; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
  .nav a {
    position: relative; z-index: 1;
    font-size: 0.98rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    color: #ededed; padding: 1.05rem 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex; align-items: center; gap: 0.7rem;
    opacity: 0; transform: translateX(30px);
    transition: color 0.15s ease, background 0.15s ease;
  }
  /* links glide in one after another when the panel opens */
  .nav.open a { animation: navLinkIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .nav.open a:nth-of-type(1) { animation-delay: 0.10s; }
  .nav.open a:nth-of-type(2) { animation-delay: 0.16s; }
  .nav.open a:nth-of-type(3) { animation-delay: 0.22s; }
  .nav.open a:nth-of-type(4) { animation-delay: 0.28s; }
  .nav.open a:nth-of-type(5) { animation-delay: 0.34s; }
  .nav.open a:nth-of-type(6) { animation-delay: 0.40s; }
  @keyframes navLinkIn { to { opacity: 1; transform: none; } }
  .nav a::before {
    content: ""; width: 0; height: 13px; border-radius: 2px;
    background: var(--accent); transition: width 0.18s ease;
  }
  .nav a::after { display: none; }
  .nav a:active, .nav a:hover { color: var(--accent); background: rgba(198, 242, 41, 0.06); }
  .nav a:active::before, .nav a:hover::before { width: 3px; }
  .nav-close {
    display: block; position: absolute; top: 0.9rem; right: 1.2rem; z-index: 2;
    background: none; border: none; color: var(--accent); font-size: 2.1rem;
    line-height: 1; cursor: pointer; padding: 0.1rem 0.4rem;
  }
  .nav-close:hover { color: var(--accent); }

  .modal-grid { grid-template-columns: 1fr; }
  .modal-media img { min-height: 240px; max-height: 42vh; }
  .modal-body { padding: 1.5rem 1.3rem; }
}

/* ---------- redesign responsive ---------- */
@media (max-width: 900px) {
  .site-header { padding: 0.9rem 1.25rem; }
  .header-icons { gap: 0.85rem; }
  .header-icons > a.icon-btn:not(.nav-account) { display: none; } /* hide search on mobile */

  .hero-carousel { min-height: 100svh; }
  .hero-photo { width: 100%; } /* full-bleed on phones */
  .hero-photo img { object-position: 56% 14%; } /* crop closer to the face */
  .hero-overlay {
    background: linear-gradient(to top, rgba(8,8,8,0.9) 6%, rgba(8,8,8,0.3) 46%, rgba(8,8,8,0.55) 100%);
  }
  .hero-text { padding: 0 1.6rem; } /* base .hero centres it vertically */
  .hero-title { font-size: clamp(3rem, 13vw, 4.8rem); max-width: 100%; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; margin-top: 2.2rem; }
  .shop-head { align-items: center; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .card-name { font-size: 1.05rem; }
  .card-body { padding: 0.7rem 0.8rem 0.9rem; }
}

/* mobile horizontal "shelves" layout — enabled via the admin toggle.
   Each category becomes a side-swipe row; scroll down for the next one. */
@media (max-width: 760px) {
  body.mobile-shelves .product-grid {
    display: flex; grid-template-columns: none;
    gap: 0.9rem; overflow-x: auto; padding-bottom: 0.6rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.mobile-shelves .product-grid::-webkit-scrollbar { display: none; }
  body.mobile-shelves .product-grid > .card {
    flex: 0 0 64%; max-width: 260px; scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  /* the mobile nav links reveal via animation — keep them visible without it */
  .nav a { opacity: 1 !important; transform: none !important; }
  /* the painted tee reveals via animation — show the final art without it */
  .tee-btn.arted .tee-art path { stroke-dashoffset: 0 !important; }
  .tee-btn.arted .tee-art circle { transform: none !important; }
  /* the loading screen is a progress indicator — keep it fully animated */
  .loader-ring { animation: loader-spin 0.9s linear infinite !important; }
  .loader-logo { animation: loader-breathe 1.8s ease-in-out infinite !important; }
  .loader-word { animation: loader-pulse 1.7s ease-in-out infinite !important; }
  .loader { transition: opacity 0.4s ease !important; }
}
