[hidden] { display: none !important; }

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gold: #C89B3C;
  --gold-deep: #9A7423;
  --champagne: #F3EAE2;
  --ink: #1C1917;
  --line: rgba(28, 25, 23, 0.12);
  --radius: 8px;
  --display: "Space Grotesk", sans-serif;
  --body: "Karla", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

/* ---- Black frame: announcement + header ---- */
.announce {
  background: var(--black);
  color: var(--gold);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-bottom: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5vw;
  background: var(--white);
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: flex; align-items: center; text-decoration: none; }

.brand img {
  height: 76px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--black);
}

.cart-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  background: none;
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-btn:hover { background: var(--black); color: var(--white); }

.cart-count {
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0 6px;
  transition: inherit;
}

.cart-btn:hover .cart-count { background: var(--gold); color: var(--white); }

/* ---- Hero (white gallery begins) ---- */
.hero {
  padding: 8vh 5vw 5vh;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}

.tagline {
  font-size: 1.05rem;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.star-divider {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.9em;
  padding-left: 0.9em; /* balance letter-spacing */
  margin: 26px 0 0;
  user-select: none;
}

/* ---- Product grid ---- */
.grid-wrap { padding: 3vh 5vw 10vh; max-width: 1280px; margin: 0 auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.10);
  border-color: rgba(200, 155, 60, 0.5);
}

.card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--champagne);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-img .no-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--gold);
}

.ooak-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--black);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 155, 60, 0.55);
}

.soldout-veil {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.soldout-veil span {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  padding: 8px 22px;
  border-radius: 999px;
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
}

.card-desc {
  margin: 0;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  flex: 1;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.card-row .view-cue,
.card-row .sold-out-label { margin-left: auto; }

.price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

.add-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.add-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.add-btn:active { transform: scale(0.97); }

.sold-out-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.empty-note { color: color-mix(in srgb, var(--ink) 55%, transparent); text-align: center; grid-column: 1 / -1; }

/* ---- Black frame: footer ---- */
.site-footer {
  background: var(--white);
  color: var(--ink);
  padding: 44px 5vw 40px;
  text-align: center;
  border-top: 3px solid var(--black);
}

.site-footer img {
  height: 64px;
  width: auto;
  margin-bottom: 14px;
  opacity: 0.95;
}

.site-footer p { margin: 0; font-size: 0.85rem; letter-spacing: 0.03em; }

/* ---- Cart drawer ---- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 40;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--gold);
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gold);
}

.drawer-items { flex: 1; overflow-y: auto; padding: 12px 24px; }

.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img,
.cart-line .thumb-blank {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--champagne);
}

.cart-line-name { font-weight: 700; font-size: 0.95rem; margin: 0 0 4px; }

.ooak-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.qty-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.remove-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.cart-line-price { font-weight: 700; }

.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }

.drawer-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.ship-note {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.checkout-btn {
  width: 100%;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.checkout-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--black); }
.checkout-btn:disabled { opacity: 0.35; cursor: default; }

.checkout-error { color: #A33; font-size: 0.85rem; margin: 10px 0 0; }

/* ---- Success page ---- */
.success-wrap {
  max-width: 560px;
  margin: 12vh auto;
  padding: 0 5vw;
  text-align: center;
}

.success-wrap img { height: 60px; margin-bottom: 20px; }

.success-wrap h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 700;
  color: var(--gold-deep);
}

/* ---- Focus + motion + mobile ---- */
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media (max-width: 560px) {
  .brand img { height: 56px; }
  .hero { padding-top: 5vh; }
  .grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .card-body { padding: 12px 14px 14px; }
  .ooak-badge { font-size: 0.6rem; padding: 5px 9px; }
  .card-row .view-cue { flex-basis: 100%; margin-left: 0; }
}

/* ---- Category tabs ---- */
.cat-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 5vw 10px;
}

.cat-tab {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.cat-tab:hover { border-color: var(--gold); color: var(--gold-deep); }

.cat-tab.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--gold);
}

/* ---- Product detail modal ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  z-index: 60;
}

.pmodal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: var(--white);
  border-top: 3px solid var(--gold);
  z-index: 70;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  overflow: hidden;
}

.pmodal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 5;
  background: var(--black);
  color: var(--gold);
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.pmodal-media {
  position: relative;
  background: var(--champagne);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.media-stage {
  flex: 1;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-stage img,
.media-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.media-stage .no-img {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--gold);
}

.media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(10, 10, 10, 0.75);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.media-nav.prev { left: 10px; }
.media-nav.next { right: 10px; }

.media-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.media-thumbs:empty { display: none; }

.media-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--champagne);
  flex: 0 0 auto;
}

.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumb.active { border-color: var(--gold); }

.media-thumb .play-ico {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(10, 10, 10, 0.45);
  font-size: 1.2rem;
}

.pmodal-info {
  padding: 56px 6% 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmodal-info .ooak-badge { position: static; display: inline-block; }

.pmodal-info h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0;
}

.pmodal-price {
  font-family: var(--display);
  font-size: 1.3rem;
  margin: 0;
}

.pmodal-desc {
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  margin: 0 0 8px;
  white-space: pre-line;
}

.pmodal-details {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.pmodal-details h3 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 8px;
}

.pmodal-details p {
  font-size: 0.94rem;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  margin: 0 0 14px;
  white-space: pre-line;
}

.pmodal-info .checkout-btn { margin-top: auto; }

@media (max-width: 720px) {
  .pmodal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
  .media-stage { min-height: 0; }
  .media-stage img, .media-stage video { max-height: 52dvh; }
  .pmodal-info { padding: 24px 20px 28px; }
}


/* ---- Size picker ---- */
.size-label {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 8px;
}

.size-row { display: flex; gap: 8px; flex-wrap: wrap; }

.size-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 46px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.size-btn:hover:not(:disabled) { border-color: var(--black); }
.size-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.size-btn.size-out { text-decoration: line-through; opacity: 0.4; cursor: default; }

.cart-size { font-weight: 400; color: color-mix(in srgb, var(--ink) 60%, transparent); }


/* ---- Footer links ---- */
.footer-links {
  margin: 12px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-links a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease;
}

.footer-links a:hover { border-bottom-color: var(--gold-deep); }

/* ---- Grid: "View details" cue replaces Add to cart ---- */
.view-cue {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

.card:hover .view-cue { color: var(--black); }

/* ---- Option buttons with swatches ---- */
.size-btn.has-swatch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
}

.size-btn .swatch {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(28, 25, 23, 0.15);
}

.size-btn.size-out .swatch { filter: grayscale(1); }

/* ---- Simple content pages (Returns) ---- */
.page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 7vh 5vw 12vh;
}

.page-wrap h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 2.6rem);
  margin: 0 0 26px;
}

.page-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
}

.page-body p { margin: 0 0 20px; }

.page-body h2 {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 30px 0 10px;
}

.page-empty {
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  font-style: italic;
}

/* ---- Badge variants ---- */
.batch-badge {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

.sale-badge {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.card-img .ooak-badge + .ooak-badge { top: 46px; }
.card-img .ooak-badge + .ooak-badge + .ooak-badge { top: 80px; }

.pmodal-info .ooak-badge { margin-right: 6px; }

/* ---- Sale pricing ---- */
.price.was {
  text-decoration: line-through;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  font-weight: 500;
  margin-right: 6px;
}

.price.now { color: var(--gold-deep); }

/* ---- Swatches: larger, tappable to enlarge ---- */
.size-btn.has-swatch {
  position: relative;
  padding: 6px 16px 6px 6px;
  gap: 10px;
  margin-top: 6px;
  margin-right: 6px;
  overflow: visible;
}

.swatch-wrap {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  overflow: hidden;
  flex: 0 0 auto;
}

.size-btn .swatch { width: 100%; height: 100%; border: none; border-radius: 0; }

.swatch-zoom {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  color: var(--white);
  background: #A0663C;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  cursor: zoom-in;
  box-shadow: 0 2px 6px rgba(10, 10, 10, 0.22);
}

.swatch-zoom:hover { background: #C08457; }


/* Enlarged swatch overlay */
.swatch-view {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.72);
  padding: 6vw;
  cursor: zoom-out;
}

.swatch-view.open { display: flex; }

.swatch-view figure {
  margin: 0;
  text-align: center;
  max-width: min(460px, 86vw);
}

.swatch-view img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

.swatch-view figcaption {
  margin-top: 12px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
}

.custom-badge {
  background: var(--champagne);
  color: var(--gold-deep);
  border-color: var(--gold);
}

.card-img .ooak-badge + .ooak-badge + .ooak-badge + .ooak-badge { top: 114px; }

/* ---- Promo banner above the hero ---- */
.promo-banner {
  display: inline-block;
  margin: 0 auto 22px;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(200, 155, 60, 0.32);
  animation: promo-pop 0.5s ease;
}

.promo-banner.is-link { cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.promo-banner.is-link:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200, 155, 60, 0.45); }

@keyframes promo-pop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .promo-banner { font-size: 0.85rem; padding: 10px 18px; letter-spacing: 0.04em; }
}
