/* ===== Type Scale =====
   Base: 10pt (13.33px)
   Scale ratio: ~1.333 (perfect fourth)
   ===== */

:root {
  --bg: #f4f4f2;
  --bg-white: #f7f5f4;
  --ink: #000000;
  --ink-soft: #111111;
  --cream: #fff2dd;
  --cta: #d7d2cb;
  --line: rgba(0, 0, 0, 0.1);

  /* Type scale */
  --text-xs:   0.6667rem;  /* 8pt */
  --text-sm:   0.75rem;    /* 9pt */
  --text-base: 0.8333rem;  /* 10pt */
  --text-md:   1rem;       /* 12pt */
  --text-lg:   1.1667rem;  /* 14pt */
  --text-xl:   1.5rem;     /* 18pt */
  --text-2xl:  2rem;       /* 24pt */
  --text-3xl:  2.6667rem;  /* 32pt */
  --text-4xl:  4rem;       /* 48pt */

  /* Line heights */
  --lh-tight:  1.1;
  --lh-snug:   1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "DM Sans", sans-serif;
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(1440px, 100vw); margin-inline: auto; }

img { max-width: 100%; display: block; }
video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

[hidden] { display: none !important; }

/* ===== Headings ===== */
h1, h2, h3, h4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  line-height: var(--lh-snug);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.4em;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: var(--bg-white); }
.btn-primary:hover { background: var(--ink-soft); }

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.btn-primary:disabled:hover { background: var(--ink); }

.btn-block { width: 100%; }

/* ===== Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.brand {
  display: block;
  line-height: 0;
}
.brand-logo {
  height: 80px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.currency {
  background: none;
  border: none;
  color: var(--bg-white);
  font-weight: 500;
  font-size: var(--text-md);
  letter-spacing: 0.06em;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--bg-white);
  display: grid;
  place-items: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.cart-icon { width: 24px; height: 24px; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 500;
  display: grid;
  place-items: center;
  text-shadow: none;
}

/* ===== Section gap ===== */
.hero,
.featured,
.collection,
.ugc {
  margin-bottom: 0.5rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: 2rem;
  overflow: clip;
  display: block;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.25) 100%),
              radial-gradient(ellipse at 70% 60%, rgba(255,220,180,0.12), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-text {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: right;
  color: #fff2de;
  max-width: 680px;
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: rgba(255, 242, 222, 0.9);
}
.eyebrow em { font-style: normal; }

.hero-title {
  font-weight: 400;
  font-size: clamp(4.6rem, 10vw, 10rem);
  line-height: 0.94;
  text-transform: none;
  color: #fff2de;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  max-width: 320px;
  margin: 16px 0 0 auto;
  font-size: var(--text-base);
  color: rgba(255, 242, 222, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ===== Featured Products (image pairs) ===== */
.featured {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.featured--triple {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ===== Featured — Staggered layout (Bia 333) ===== */
.featured--staggered {
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  background: var(--bg);
}

.staggered-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.staggered-col--left {
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
}

.staggered-col--right {
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.staggered-text {
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  color: var(--ink);
}

.staggered-col--left .staggered-text {
  padding-top: 15vh;
}

.staggered-col--right .staggered-text {
  padding-bottom: 15vh;
  text-align: right;
}

.staggered-img {
  overflow: hidden;
}

.staggered-img--small {
  width: 65%;
}

.staggered-img--small img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.staggered-img--large {
  width: 100%;
  max-width: 500px;
}

.staggered-img--large img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.featured-media {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Collection ===== */
.collection {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
  padding: 60px 40px;
}

.collection .container { width: 100%; }

.section-title {
  font-weight: 500;
  font-size: var(--text-xl);
  text-transform: none;
  line-height: var(--lh-snug);
  margin-bottom: 32px;
}

.coll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 1rem;
  column-gap: 0.5rem;
}

.coll-item {
  background: var(--bg);
  transition: transform 0.2s ease;
}
.coll-item:hover { transform: translateY(-2px); }

.coll-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.coll-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg);
}

.coll-visual .tee { width: 60%; }

.tee {
  display: grid;
  place-items: center;
  width: 50%;
  aspect-ratio: 3 / 3.4;
  background: var(--bg-white);
  border-radius: 44% 44% 8px 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}
.tee::before {
  content: "";
  position: absolute;
  top: -6%;
  left: 14%;
  right: 14%;
  height: 22%;
  background: var(--bg-white);
  border-radius: 50% 50% 0 0;
}
.tee-logo {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--ink);
}
.tee-text {
  position: relative;
  z-index: 1;
  font-weight: 500;
  font-size: var(--text-md);
  text-align: center;
  text-transform: uppercase;
  line-height: var(--lh-tight);
  color: var(--ink);
  padding-top: 12%;
}

.coll-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.coll-img--tee { opacity: 0; }
.coll-item:hover .coll-img { opacity: 0; }
.coll-item:hover .coll-img--tee { opacity: 1; }

.coll-name { font-weight: 500; font-size: var(--text-md); padding: 0 4px; }
.coll-price { font-size: var(--text-sm); color: var(--ink-soft); padding: 2px 4px 0; }

.coll-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== UGC ===== */
.ugc {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  padding: 60px 0;
  display: flex;
  align-items: center;
}

.ugc .container {
  width: 100%;
  overflow: hidden;
}

.ugc-grid {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ugc-grid::-webkit-scrollbar { display: none; }
.ugc-grid--auto { scroll-snap-type: none; }

.ugc-item {
  position: relative;
  flex: 0 0 auto;
  height: 80vh;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(160deg, #d8cba6 0%, #9b8a5c 100%);
  scroll-snap-align: center;
  cursor: pointer;
}

.ugc-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ugc-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  color: var(--bg-white);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}
.ugc-toggle:hover { background: rgba(255, 255, 255, 0.75); }
.ugc-item.is-playing .ugc-toggle { opacity: 0; }
.ugc-item.is-playing:hover .ugc-toggle { opacity: 1; }
.ugc-item.is-playing .ugc-play { display: none; }
.ugc-item.is-playing .ugc-pause { display: block; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  padding: 60px 24px;
}

.site-footer .container { width: 100%; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-block {
  width: 30vw;
}

.footer-title {
  font-weight: 500;
  font-size: var(--text-md);
}

.footer-blurb {
  margin-top: 12px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #6b6b6b;
}

.footer-block--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-block--right .footer-copy {
  margin-top: 12px;
  font-size: var(--text-sm);
  color: #6b6b6b;
  white-space: nowrap;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.footer-insta {
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid #6b6b6b;
}
.footer-insta:hover { text-decoration: underline; }

/* ===== Cart drawer ===== */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawer.open .drawer-overlay { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(400px, 92vw);
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
}
.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-weight: 500; font-size: var(--text-lg); }

.drawer-close {
  background: none;
  border: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  line-height: 1;
}
.drawer-close:hover { color: var(--ink-soft); }

.drawer-items { flex: 1; overflow-y: auto; padding: 16px 20px; }

.drawer-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.drawer-thumb {
  width: 50px; height: 56px;
  border-radius: 6px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--bg-white);
}
.drawer-item-info { flex: 1; }
.drawer-item-name { font-weight: 500; font-size: var(--text-sm); }
.drawer-item-meta { font-size: var(--text-base); color: var(--ink-soft); }
.drawer-item-price { font-weight: 500; font-size: var(--text-sm); }

.drawer-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.drawer-qty button {
  width: 24px; height: 24px;
  border: 2px solid #c4c4c4;
  background: var(--bg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer-qty button:hover { background: var(--ink); color: var(--bg-white); }

.drawer-empty { padding: 20px; text-align: center; color: var(--ink-soft); }

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 16px 20px;
  display: grid;
  gap: 12px;
}
.drawer-total { font-weight: 500; font-size: var(--text-md); display: flex; justify-content: space-between; }

/* ===== Size chart pop-up ===== */
.size-modal { position: fixed; inset: 0; z-index: 110; visibility: hidden; }
.size-modal.open { visibility: visible; }

.size-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.size-modal.open .size-modal-overlay { opacity: 1; }

.size-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(720px, 92vw);
  max-height: 88vh;
  background: #ffffff;
  border-radius: 0.7rem;
  box-shadow: 0 20px 60px rgba(16, 16, 16, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.size-modal.open .size-modal-panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.size-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-shrink: 0;
}
.size-modal-head h3 { font-weight: 500; font-size: var(--text-lg); letter-spacing: 0.04em; }

.size-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.28);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0.8;
}
.size-modal-close:hover { opacity: 1; color: #fff; }

.size-modal-body { padding: 20px; overflow-y: auto; }

.size-visual {
  display: grid;
  place-items: center;
  background: #fff;
  padding: 16px;
  margin-bottom: 20px;
}
.size-visual img { max-width: 220px; width: 100%; height: auto; }

.size-models {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.size-model {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-align: left;
}
.size-model img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg);
}
.size-model figcaption {
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.size-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; font-size: var(--text-sm); table-layout: fixed; }
.size-table th:first-child,
.size-table td:first-child { width: 4.5rem; }
.size-table th,
.size-table td {
  padding: 8px 10px;
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.size-table thead th {
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--ink);
}
.size-table td:first-child { font-weight: 500; white-space: nowrap; }
.size-table tbody tr.size-popular td { background: #ececec; }

/* cm / in measurement toggle */
.size-unit {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  padding: 3px;
  width: fit-content;
  margin: 0 auto 12px;
}
.size-unit-btn {
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.size-unit-btn.is-active {
  background: var(--ink);
  color: #fff;
}

/* only show the selected unit inside the table */
.size-table .u-cm,
.size-table .u-in { display: inline; }
.size-table[data-unit="cm"] .u-in { display: none; }
.size-table[data-unit="in"] .u-cm { display: none; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--bg-white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  z-index: 120;
}
.toast.show { animation: toastIn 0.35s ease forwards; }
.toast.hide { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(80px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ===== Floating CTA (buy-dock pattern) ===== */
.fcta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(560px, 92vw);
  background: rgba(247, 245, 244, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: 0 20px 60px rgba(16, 16, 16, 0.18);
  transition: border-radius 0.5s ease;
}

/* Dock toggle (X) — floats above the panel, only when expanded */
.dock-toggle {
  position: absolute;
  top: -1.85rem;
  right: 0.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.28);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0.8;
  z-index: 5;
}
.dock-toggle:hover { opacity: 1; }

.toggle-icon {
  position: relative;
  width: 0.65rem;
  height: 0.65rem;
}
.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.7rem;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}
.toggle-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.toggle-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Collapsed state */
.fcta-collapsed {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 0;
  width: 100%;
  height: 60px;
  cursor: pointer;
  background: #ffffff;
  border: none;
  font-family: "DM Sans", sans-serif;
  text-align: left;
  overflow: hidden;
  border-radius: inherit;
}

/* Expanded state — in-flow, hugs content */
.fcta-expanded {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 300px);
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}

/* ===== States ===== */
.fcta[data-state="collapsed"] .fcta-expanded { display: none; }
.fcta[data-state="collapsed"] .dock-toggle { display: none; }
.fcta[data-state="collapsed"] .fcta-collapsed { animation: fctaFadeIn 0.5s ease; }

.fcta[data-state="expanded"] { border-radius: 0.7rem; }
.fcta[data-state="expanded"] .fcta-collapsed { display: none; }
.fcta[data-state="expanded"] .dock-toggle { display: inline-flex; }
.fcta[data-state="expanded"] .fcta-expanded { animation: fctaFadeIn 0.5s ease; }

@keyframes fctaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* snaps to the opposite of the page and stays with the section */
.fcta.fcta--stick {
  position: absolute;
  bottom: 16px;
  transform: translateX(-50%);
}

.fcta-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.fcta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.fcta-name {
  font-weight: 500;
  font-size: var(--text-md); /* 12pt */
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcta-price {
  font-size: var(--text-base);
  color: var(--ink-soft);
  white-space: nowrap;
}

.fcta-add {
  background: var(--ink);
  color: var(--bg-white);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Expanded */

@keyframes fctaPop {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fcta-img-wrap {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 0.5rem;
}

.fcta-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fcta-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
}
.fcta-body::-webkit-scrollbar { display: none; }

.fcta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1rem 1rem;
}

.fcta-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fcta-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fcta-exp-name {
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: var(--lh-snug);
}

.fcta-exp-color {
  font-size: var(--text-sm);
  color: #555;
}

.fcta-sizechart {
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid #c4c4c4;
  color: var(--ink);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}
.fcta-sizechart:hover { background: var(--ink); color: var(--bg-white); }

.fcta-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fcta-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: #555;
}

.fcta-perks svg { flex-shrink: 0; color: var(--ink); }

.fcta-variant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fcta-size-wrap {
  position: relative;
}

.fcta-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.fcta-size:hover { background: var(--ink); color: var(--bg-white); }

.fcta-size-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 4px;
  z-index: 3;
  animation: fctaPop 0.2s ease;
}
.fcta-size-menu button {
  background: none;
  border: none;
  padding: 8px 16px;
  font-weight: 500;
  font-size: var(--text-sm);
  text-align: left;
  color: var(--ink);
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
.fcta-size-menu button:hover { background: var(--bg); }
.fcta-size-menu button.is-active { background: var(--ink); color: var(--bg-white); }

.fcta-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fcta-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  background: var(--swatch);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fcta-swatch:hover { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08); }
.fcta-swatch.is-active {
  border: 2px solid var(--ink);
  outline: 2px solid var(--bg-white);
  outline-offset: -4px;
}

.fcta-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--ink);
  color: var(--bg-white);
  border: none;
  border-radius: 4px;
  padding: 14px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.fcta-buy:hover { background: var(--ink-soft); }

.fcta-buy-price {
  font-weight: 500;
  font-size: var(--text-md);
}

.fcta-buy-label {
  font-weight: 500;
  font-size: var(--text-md);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* morph ghost for the collapsed ⇄ expanded swap */
.fcta-collapsed.is-hidden-for-transition,
.fcta-expanded.is-hidden-for-transition {
  opacity: 0 !important;
  pointer-events: none !important;
}

.fcta-morph-ghost {
  position: fixed;
  z-index: 120;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 42px rgba(16, 16, 16, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}

/* image slide when the product / colour changes */
.fcta-main-img.is-sliding-out {
  animation: fctaImgOut 220ms cubic-bezier(0.55, 0, 0.75, 0) forwards;
}
.fcta-main-img.is-sliding-in {
  animation: fctaImgIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fctaImgOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-1.1rem); }
}

@keyframes fctaImgIn {
  from { opacity: 0; transform: translateX(1.1rem); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-text { right: 1.5rem; }
  .hero-title { font-size: clamp(3rem, 8vw, 6rem); }
  .featured { grid-template-columns: 1fr; height: auto; }
  .featured-media { height: 100vh; }
  .featured--staggered { grid-template-columns: 1fr; gap: 2rem; height: auto; }
  .staggered-col { padding: 2rem; }
  .staggered-col--left, .staggered-col--right { align-items: center; justify-content: flex-start; height: auto; }
  .staggered-col--left .staggered-text, .staggered-col--right .staggered-text { padding: 0; text-align: center; }
  .staggered-img--small { width: 80%; }
  .staggered-img--large { max-width: 100%; }
  .collection { padding: 40px 24px; }
  .coll-grid { grid-template-columns: repeat(2, 1fr); }
  .ugc { height: auto; padding: 40px 0; }
}

@media (max-width: 520px) {
  .hero { padding: 1.5rem; }
  .hero-text { right: 1rem; left: 1rem; text-align: center; }
  .hero-title { font-size: 4rem; }
  .featured { gap: 0.5rem; }
  .featured-media { aspect-ratio: 1 / 1; height: auto; }
  .coll-grid { grid-template-columns: 1fr 1fr; gap: 1rem 0.5rem; }
  .ugc-item { width: 70vw; flex: 0 0 70vw; height: auto; aspect-ratio: 9 / 16; }

  .collection { padding: 40px 16px; }
  .collection .section-title { text-align: center; font-size: var(--text-xl); }
  .coll-name { font-size: 12px; }
  .coll-price { font-size: 10px; }

  .header-inner { padding: 16px; }
  .header-actions { align-items: flex-start; }
  .brand-logo { height: 4rem; }

  .staggered-col--left, .staggered-col--right { gap: 5rem; }
  .staggered-img--small { width: 100%; }
  .staggered-img--large { width: 100%; }

  /* Collapsed CTA → floating bar with equal gaps on all sides */
  .fcta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    width: auto;
    border-radius: 8px;
  }
  /* expanded: snap flush to bottom and sides */
  .fcta[data-state="expanded"] {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
  /* keep the same width when snapped to the Pho Rising section */
  .fcta.fcta--stick {
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
  }
  /* collapsed: BUY button on the right, title truncates when it touches */
  .fcta-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    width: 52px;
    height: 34px;
    border-radius: 4px;
    flex-shrink: 0;
    font-size: 11px;
    padding: 0;
  }
  .fcta-collapsed { gap: 10px; }
  .fcta-thumb { width: 48px; height: 48px; }
  .fcta-info { gap: 1px; }
  .fcta-name { font-size: var(--text-sm); }

  /* Expanded CTA → bottom sheet: info on top, image on bottom */
  .fcta[data-state="expanded"] .fcta-expanded {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .fcta-body {
    order: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .fcta-img-wrap {
    order: 2;
    position: static;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 42vh;
    padding: 0.5rem;
  }
  .fcta-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .fcta-group { padding: 0; gap: 12px; }
  .fcta-title-row { align-items: center; }
  .fcta-variant { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .fcta-swatches { justify-content: center; }
  .fcta-buy {
    width: 100%;
    border-radius: 4px;
    padding: 16px;
  }
  .fcta-size-wrap { flex-shrink: 0; }

  /* Size chart pop-up → bottom sheet */
  .size-modal-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    width: 100%;
    max-width: none;
    max-height: 90vh;
    border-radius: 0.7rem 0.7rem 0 0;
  }
  .size-modal.open .size-modal-panel { transform: translateY(0); }
  .size-models { gap: 16px; }
  .size-visual img { max-width: 160px; }

  /* Footer → centered stacked column: title, blurb, logo, link, copyright */
  .site-footer { padding: 40px 16px; }
  .footer-inner { flex-direction: column; align-items: center; gap: 80px; }
  .footer-block { width: 100%; text-align: center; }
  .footer-block--right { align-items: center; }
  .footer-meta { align-items: center; justify-content: center; }
}
/* ===== Shipping Calculator ===== */
.drawer-shipping {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.drawer-shipping-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.drawer-shipping-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.drawer-shipping-fields select {
  grid-column: span 2;
}
.drawer-shipping-fields input:nth-of-type(1) {
  grid-column: 1;
}
.drawer-shipping-fields input:nth-of-type(2) {
  grid-column: 2;
}
.drawer-input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.drawer-input:focus {
  border-color: var(--ink-soft);
}
.drawer-input::placeholder {
  color: var(--ink-muted, #999);
}
.btn-sm {
  font-size: 12px;
  padding: 9px 16px;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  width: 100%;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg-white);
}
.drawer-shipping-options {
  margin-top: 4px;
}
.shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.shipping-option:hover {
  opacity: 0.8;
}
.shipping-option:last-child {
  border-bottom: none;
}
.shipping-option input[type="radio"] {
  accent-color: var(--ink);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.shipping-option-label {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.shipping-option-label strong {
  color: var(--ink);
  font-weight: 500;
}
.shipping-option-label .shipping-eta {
  color: var(--ink-soft);
  font-size: 12px;
}
.drawer-shipping-loading {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 10px 0;
  text-align: center;
}
.drawer-shipping-error {
  font-size: 13px;
  color: #c44;
  padding: 10px 0;
  text-align: center;
}
.drawer-totals {
  margin-bottom: 12px;
}
.drawer-totals p {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0;
}
.drawer-totals .drawer-total {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}


/* State + Zip row */
.drawer-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
