/* JCDecals homepage mockup
   Layout and palette inspired by deepwaterfowl.com (custom Shopify homepage).
   Logo, products, prices, and photos are from jcdecals.com.
   Swap images by replacing files under /images (see README.md). */

:root {
  --ink: #181817;
  --paper: #f3f3ef;
  --fog: #aaaaaa;
  --coral: #ff8559;
  --coral-dark: #df6844;
  --product-bg: #e8e8e4;
  --card: #f8f8f4;
  --footer: #10100f;
  --hero-shade: #171716;
  --muted: #686862;
  --shell: 1320px;
  --font-ui: Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.shell { width: min(var(--shell), 100% - 32px); margin-inline: auto; }

/* Announcement */
.announcement {
  position: relative;
  min-height: 30px;
  padding: 7px 24px;
  background: #111;
  color: #f4f4ef;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 24px #1414121f;
}
.header-inner {
  width: min(var(--shell), 100% - 48px);
  height: 72px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 52px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav--left { justify-content: flex-end; }
.nav--right { justify-content: flex-start; }
.nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav a:hover { border-bottom-color: var(--coral); }
.logo { display: block; width: min(240px, 24vw); }
.logo img { height: 56px; width: auto; max-width: 100%; object-fit: contain; margin-inline: auto; }
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  text-decoration: none;
  margin-left: auto;
}
.header-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Mobile bar */
.mobile-bar, .mobile-drawer { display: none; }
.mobile-bar {
  height: 64px;
  width: min(var(--shell), 100% - 24px);
  margin: auto;
  display: none;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.mobile-bar .logo { width: min(210px, 55vw); justify-self: center; }
.mobile-bar .logo img { height: 44px; }
.menu-btn, .mobile-cart {
  width: 44px; height: 44px;
  border: 0; background: transparent;
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  text-decoration: none;
}
.menu-btn svg, .mobile-cart svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.mobile-drawer {
  background: #1a1a19;
  padding: 8px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer a {
  color: #f4f4ef;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header.is-open .mobile-drawer { display: flex; }

/* Eyebrow, display, buttons */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; line-height: .96; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn--outline { border-color: #ffffff8c; background: #1414122e; }
.btn--outline:hover { background: #ffffff24; }

/* Hero */
.hero {
  position: relative;
  min-height: min(850px, 88vh);
  display: flex;
  align-items: flex-end;
  background: var(--hero-shade);
  color: #fff;
}
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.focus-mid { object-position: center 58%; }
.focus-low { object-position: center 72%; }
.focus-lower { object-position: center 84%; }
.focus-lowest { object-position: center 90%; }
.feature__photo, .feature__bg { object-position: center 72%; }
.hero__shade {
  background:
    linear-gradient(90deg, #0a0a09e0, #0a0a0980 45%, #0a0a091f 72%),
    linear-gradient(0deg, rgba(10,10,9,.75), transparent 48%);
}
.hero__content { position: relative; padding-block: 80px 94px; max-width: 720px; }
.hero h1 { font-size: clamp(48px, 7.2vw, 104px); margin: 20px 0; }
.hero p { max-width: 570px; margin: 0 0 30px; color: #e0e0da; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ticker */
.ticker {
  background: #151514;
  color: #eee;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: ticker 32s linear infinite;
}
.ticker__track span { font-family: var(--font-display); font-size: 18px; }
.ticker__track b { color: var(--coral); font-weight: 400; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--products { background: var(--product-bg); }
.section--dark { background: #1a1a19; color: #f4f4ef; }
.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.heading-row h2, .centered h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  margin: 12px 0 0;
  line-height: .96;
}
.text-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.section--dark .text-link { color: #f4f4ef; border-color: #f4f4ef; }

/* Tabs */
.tabs { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.tabs button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(24,24,23,.22);
  border-radius: 999px;
  background: transparent;
  color: #242422;
  font: 800 12px/1 var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.tabs button:hover { border-color: #242422; }
.tabs button[aria-selected="true"] { border-color: #242422; background: #242422; color: #f5f5f2; }
.panel[hidden] { display: none; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product {
  background: var(--card);
  border: 1px solid rgba(20,20,18,.09);
  border-radius: 5px;
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.product__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ddd;
  display: block;
}
.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product:hover .product__image img { transform: scale(1.04); }
.product__image--contain { background: #ecece8; }
.product__image--contain img { object-fit: contain; }
.product:hover .product__image--contain img { transform: none; }

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 3px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge--dark { background: #181817; }
.product__image .badge + .badge { left: auto; right: 12px; }
.product__body { padding: 16px; display: grid; gap: 8px; flex: 1; }
.product__body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 400; margin: 0; }
.product__body h3 a { text-decoration: none; }
.product__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); align-items: baseline; }
.price { color: var(--ink); font-weight: 700; white-space: nowrap; }
.price s { color: #888881; font-weight: 400; margin-right: 6px; }
.quick-add {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: auto;
}
.quick-add:hover { background: var(--coral); }
.quick-add[aria-disabled="true"], .quick-add.is-sold {
  background: #777772;
  cursor: not-allowed;
  pointer-events: none;
}

/* Collections */
.centered { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.centered .eyebrow { justify-content: center; }
.centered .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.centered p { max-width: 680px; margin: 14px auto 0; color: #4d4d49; font-size: 16px; line-height: 1.65; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.category {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
}
.category img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category:hover img { transform: scale(1.06); }
.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,9,.86), transparent 62%);
}
.category__copy { position: absolute; z-index: 1; inset: auto 18px 18px; }
.category h3 { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin: 0 0 7px; }
.category span { color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Feature / High Class */
.feature { position: relative; background: #141413; color: #fff; overflow: hidden; }
.feature__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.feature__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding-block: clamp(56px, 7vw, 96px);
}
.feature__photo { aspect-ratio: 1; object-fit: cover; border-radius: 5px; width: 100%; }
.feature h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 70px); margin: 16px 0 24px; line-height: .96; }
.feature p { font-size: 17px; line-height: 1.7; color: #cacac3; margin: 0 0 28px; }

/* Community */
.community { padding-block: clamp(64px, 8vw, 104px); background: #e7e7e3; }
.community-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 44px;
}
.tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,9,.55), transparent 50%); }
.tile figcaption {
  position: absolute;
  z-index: 1;
  left: 12px; right: 12px; bottom: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Newsletter */
.newsletter {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px);
  background: #1b1b1a;
  color: #fff;
  text-align: center;
}
.newsletter__inner { position: relative; max-width: 740px; margin: auto; }
.newsletter h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 78px); margin: 10px 0 14px; line-height: .96; }
.newsletter > .shell p, .newsletter__inner > p { color: #d0d0c9; font-size: 17px; line-height: 1.6; }
.newsletter-controls { width: min(590px, 100%); display: flex; gap: 8px; margin: 28px auto 0; }
.newsletter input {
  width: 0; min-width: 0; flex: 1;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 3px;
  background: #f4f4f1f5;
  color: #181817;
}
.newsletter input::placeholder { color: #5f5f5a; }
.newsletter small { display: block; margin-top: 15px; color: #9a9a94; font-size: 12px; }
.newsletter .form-note { display: none; margin-top: 16px; color: var(--coral); font-weight: 700; }
.newsletter.is-sent .form-note { display: block; }
.newsletter.is-sent form { display: none; }

/* Footer */
.footer { padding: clamp(56px, 6vw, 84px) clamp(20px, 4vw, 64px) 0; background: var(--footer); color: #8f8f89; }
.footer__grid {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(140px, .72fr));
  gap: clamp(32px, 5vw, 88px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(244,244,241,.12);
}
.footer__brand { max-width: 390px; }
.footer__brand img { width: auto; height: clamp(40px, 4vw, 52px); max-width: min(72vw, 235px); margin-bottom: 18px; object-fit: contain; }
.footer__brand p { max-width: 360px; margin: 0 0 20px; font-size: 14px; line-height: 1.65; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer__nav h2 {
  margin: 0 0 5px;
  color: #f4f4f1;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer__nav a, .footer__legal a {
  color: #8f8f89;
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease;
}
.footer__nav a:hover, .footer__legal a:hover { color: var(--coral); }
.footer__bottom {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  min-height: 82px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px 24px;
  font-size: 13px;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* Sample banner */
.sample-note {
  background: #1a1a19;
  color: #9a9a94;
  text-align: center;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
}

@media (max-width: 990px) {
  .header-inner { display: none; }
  .mobile-bar { display: grid; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature__inner { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero { min-height: 660px; }
  .hero__media { object-position: 50% 80%; }
  .hero__content { padding-block: 56px 72px; }
  .hero h1 { font-size: 49px; }
  .btn { width: 100%; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .tabs { width: 100%; justify-content: flex-start; overflow-x: auto; padding: 3px 2px 6px; scrollbar-width: none; }
  .tabs button { padding: 0 11px; letter-spacing: .04em; }
  .category:last-child img { object-position: 15% center; }
  .tabs::-webkit-scrollbar { display: none; }
  .product-grid { gap: 10px; }
  .product__body { padding: 12px; }
  .product__body h3 { font-size: 16px; }
  .product__meta { display: grid; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category:last-child { grid-column: 1 / -1; aspect-ratio: 2/1; }
  .feature__inner { grid-template-columns: 1fr; }
  .community { padding-block: 54px; }
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
  .hero p { max-width: none; }
  .newsletter-controls { flex-direction: column; }
  .newsletter input { width: 100%; flex: none; }
  .newsletter .btn { width: 100%; }
  .footer { padding: 48px 20px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px 20px; padding-bottom: 38px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; padding-block: 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .product__image img, .category img, .btn, .tile img { transition: none; }
}



/* Colors showcase */
.colors {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--paper);
  overflow-x: hidden;
}
.colors .centered p {
  max-width: 540px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.color-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 14px;
}
.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}
.color-chip__swatch {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid #c8c8c2;
  box-shadow: 0 10px 24px #14141214, inset 0 0 0 1px rgba(255,255,255,.25);
}
.color-chip span {
  max-width: 100%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Product page (Deep Waterfowl-style PDP, shared with the homepage)  */
/* ------------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }
.breadcrumb__sep { opacity: .5; }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px 64px;
  align-items: start;
  padding: 8px 0 88px;
}
.pdp__gallery { min-width: 0; }
.pdp__stage {
  aspect-ratio: 1 / 1;
  background: var(--product-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pdp__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp__stage.is-cover img { object-fit: cover; }
.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  max-height: 268px;
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  padding-bottom: 2px;
}
.pdp__thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  background: var(--product-bg);
  cursor: pointer;
}
.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp__thumb.is-active,
.pdp__thumb:focus-visible { border-color: var(--ink); }

.pdp__info { position: sticky; top: 96px; }
.pdp__info .eyebrow { margin-bottom: 8px; }
.pdp__info h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.6vw, 52px);
}
.pdp__price {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .01em;
}
.pdp__price-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.pdp__option { margin-bottom: 16px; }
.pdp__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pdp__label-value { font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: none; }

.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pills button {
  min-width: 110px;
  padding: 12px 16px;
  border: 1px solid #cfcfc8;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.size-pills button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 12px 8px;
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  text-align: center;
}
.swatch i {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #c8c8c2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.swatch.is-active { color: var(--ink); }
.swatch.is-active i {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.swatch--chrome i {
  background: linear-gradient(145deg, #f3f3f3 0%, #b8b8b8 40%, #e8e8e8 55%, #9a9a9a 100%);
}
.swatch--white i { background: #f7f7f2; }
.swatch--black i { background: #1a1a1a; border-color: #1a1a1a; }
.swatch--gold i { background: linear-gradient(145deg, #f2d56b, #c9a227 50%, #8a6b12); }
.swatch--silver i { background: linear-gradient(145deg, #ececec, #b0b4b8 50%, #8a8e92); }
.swatch--red i { background: #c41e3a; }
.swatch--orange i { background: #e85d04; }
.swatch--pink i { background: #e889b0; }
.swatch--light-blue i { background: #7eb8da; }
.swatch--blue i { background: #2a5aa6; }
.swatch--green i { background: #2d6a3f; }
.swatch--dark-grey i { background: #4a4a4a; border-color: #4a4a4a; }

.sticker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sticker-grid button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #cfcfc8;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.sticker-grid button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pdp__qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 12px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfcfc8;
  background: #fff;
}
.qty button {
  width: 44px;
  height: 48px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
}
.qty input {
  width: 48px;
  height: 48px;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: transparent;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { appearance: none; }

.pdp__add {
  width: 100%;
  min-height: 58px;
  border: 0;
}
.pdp__add-note {
  display: none;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.pdp.is-added .pdp__add-note { display: block; }

.pdp__ship {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.accordion { border-top: 1px solid #d7d7d1; }
.accordion details { border-bottom: 1px solid #d7d7d1; }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 400; }
.accordion details[open] summary::after { content: "–"; }
.accordion .accordion__body {
  padding: 0 0 18px;
  color: #3c3c38;
  font-size: 14px;
  line-height: 1.65;
}
.accordion .accordion__body p { margin: 0 0 12px; }
.accordion .accordion__body p:last-child { margin-bottom: 0; }

.reviews {
  padding: 64px 0 8px;
  border-top: 1px solid #d7d7d1;
}
.reviews__flag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 10px;
  background: #1a1a19;
  color: #f3f3ef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.review {
  padding: 0;
}
.review strong { display: block; margin: 8px 0 6px; font-size: 15px; }
.review p { margin: 0; color: #3c3c38; font-size: 14px; line-height: 1.6; }
.review .stars { color: var(--ink); letter-spacing: 2px; font-size: 13px; }

.related { padding: 72px 0 96px; }
.related .heading-row { margin-bottom: 28px; }

@media (max-width: 990px) {
  .pdp { grid-template-columns: 1fr; gap: 32px; padding-bottom: 56px; }
  .pdp__info { position: static; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pdp__thumbs {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    max-height: none;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .pdp__thumb { flex: 0 0 72px; width: 72px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 22px; }
  .pdp__info h1 { font-size: 36px; }
  .size-pills button { flex: 1; }
}

@media (max-width: 990px) {
  .color-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .color-chip__swatch { width: 84px; height: 84px; }
  .color-chip span { letter-spacing: .06em; font-size: 11px; }
}

/* Collection pages */
.page-head { padding: 12px 0 28px; }
.page-head h1 { margin: 8px 0 16px; font-size: clamp(42px, 6vw, 78px); }
.page-head p { max-width: 640px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.collection-page { padding-top: 28px; }
.empty-note { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 540px; }

.page-head .btn--outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.page-head .btn--outline:hover { background: var(--ink); color: #fff; }

.nav a[aria-current="page"] { border-bottom-color: var(--coral); }



/* Contact page */
.contact-page { padding-top: 12px; padding-bottom: 80px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
  align-items: start;
}
.contact-info { max-width: 420px; }
.contact-info__heading {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}
.contact-info p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.contact-info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-info a:hover { color: var(--coral); }
.contact-info__social { margin-top: 28px; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; align-items: stretch; max-width: 520px; }
.contact-form label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #d5d3cc;
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-form .btn { align-self: flex-start; min-width: 140px; }
.contact-page .form-note {
  margin: 0;
  font-size: 28px;
  font-family: var(--font-display);
  font-weight: 400;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-form .btn { width: 100%; }
}


/* Upload page */
.upload-page { padding-top: 8px; padding-bottom: 56px; }
.upload-form { max-width: 640px; }
.upload-form .field { margin: 0 0 22px; }
.upload-form label.field-label,
.upload-form .field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.upload-form .field-label .req { color: var(--coral); margin-left: 4px; }
.upload-form .field-desc {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.upload-form .field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.upload-form .field-hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.upload-form input[type="text"],
.upload-form input[type="tel"],
.upload-form input[type="email"],
.upload-form select,
.upload-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d3cc;
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
  appearance: none;
}
.upload-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23141412' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.upload-form input:focus,
.upload-form select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.upload-form .name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.upload-form .name-row .sublabel {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.file-picker {
  position: relative;
  border: 1px dashed #c8c5bb;
  background: #f6f4ee;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
}
.file-picker input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-picker__text { pointer-events: none; color: var(--muted); font-size: 14px; line-height: 1.5; }
.file-picker__text strong { color: var(--ink); font-weight: 700; }
.file-preview { display: none; margin-top: 14px; }
.file-preview.is-on { display: block; }
.file-preview img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  margin: 0 auto 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6e3da;
}
.file-preview p { margin: 0; font-size: 13px; color: var(--muted); }
.upload-form .btn { min-width: 160px; }
.upload-thanks {
  display: none;
  max-width: 640px;
  padding: 8px 0 24px;
}
.upload-thanks.is-on { display: block; }
.upload-thanks h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 14px;
  line-height: .95;
}
.upload-thanks p { margin: 0 0 10px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.upload-thanks a { color: var(--ink); }
@media (max-width: 760px) {
  .upload-form .name-row { grid-template-columns: 1fr; gap: 16px; }
  .upload-form .btn { width: 100%; }
}


/* Price sheet + Heartbeat plate */
.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 48px 56px;
  align-items: start;
}
.price-sheet {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid #e6e3da;
  padding: 22px 22px 20px;
}
.price-sheet h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.price-sheet__shot {
  display: block;
  cursor: zoom-in;
}
.price-sheet__shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid #ece9e1;
}
.price-sheet__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: rgba(20, 20, 18, .88);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 64px);
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.focus-plate { object-position: center 38%; }
.product__image img.focus-plate,
.pdp__thumb img.focus-plate { object-fit: cover; }
@media (max-width: 900px) {
  .upload-layout { grid-template-columns: 1fr; gap: 36px; }
  .price-sheet { position: static; }
}
/* Cart badge, cart + checkout pages, layer swatches */
.header-icon,
.mobile-cart {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--gold, #c9a227);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge[hidden] {
  display: none !important;
}
.swatch--none i {
  background:
    linear-gradient(135deg, transparent 46%, #bbb 46%, #bbb 54%, transparent 54%),
    #f4f4f4;
}
.pdp__notes {
  width: 100%;
  max-width: 28rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  font: inherit;
}
.pdp__hint {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #555;
}
.pdp__add[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.cart-page .lead,
.checkout-page .lead {
  max-width: 40rem;
}
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0 4rem;
}
.cart-list,
.checkout-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #ddd;
}
.cart-item__img img {
  width: 100%;
  height: 6.5rem;
  object-fit: cover;
  background: #f3f3f3;
}
.cart-item__info h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}
.cart-item__opts {
  margin: 0 0 0.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #444;
}
.cart-item__price,
.cart-item__line {
  margin: 0.25rem 0;
}
.cart-item__live {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}
.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cart-summary {
  border: 1px solid #ddd;
  padding: 1.25rem;
  position: sticky;
  top: 6rem;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
}
.cart-summary__note,
.checkout-demo-note,
.checkout-pay p {
  font-size: 0.9rem;
  color: #555;
}
.cart-summary .btn,
.checkout-form .btn {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  box-sizing: border-box;
}
.checkout-form fieldset {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
}
.checkout-form legend,
.checkout-pay h2,
.cart-summary h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}
.checkout-form label {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}
.checkout-form input {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #ccc;
  font: inherit;
  box-sizing: border-box;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.field-row--3 {
  grid-template-columns: 1.4fr 1fr 0.8fr;
}
.checkout-pay {
  margin: 1.5rem 0;
  padding: 1rem 0 0;
  border-top: 1px solid #ddd;
}
.checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
}
.checkout-demo-note {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  background: #f6f1de;
  border: 1px solid #e0d4a8;
}
@media (max-width: 800px) {
  .cart-layout,
  .checkout-layout,
  .cart-item,
  .field-row,
  .field-row--3 {
    grid-template-columns: 1fr;
  }
  .cart-item__actions {
    align-items: flex-start;
  }
}
