/* ============ WWJ Coffee Lab — airy / editorial / mono ============ */

:root {
  --paper: #f7f6f3;
  --ink: #1a1a1a;
  --grey: #6f6f68;
  --line: #d8d4ca;
  --line-strong: #1a1a1a;
  --accent: #002fa7;
  --accent-light: #6e80ff;
  --font-grotesk: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-grotesk);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

sup { font-size: 0.4em; vertical-align: super; }

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 60px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
}

.nav__logo em { font-weight: 400; font-style: normal; }

.logo-mark { height: 30px; width: auto; display: block; }

.contact__mark {
  height: clamp(96px, 13vw, 160px);
  width: auto;
  margin: 0 auto 28px;
  display: block;
}

.nav__links { display: flex; align-items: center; height: 100%; }

.nav__links a {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 clamp(10px, 1.6vw, 22px);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-left: 1px solid var(--line);
}

.nav__links a:hover { background: var(--accent); color: #fff; }

.nav__cta { background: var(--ink); color: var(--paper) !important; }
.nav__cta:hover { background: var(--accent); color: #fff !important; }

::selection { background: var(--accent); color: #fff; }

/* ============ Hero (featured product) ============ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 80px) clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.hero__text { display: flex; flex-direction: column; gap: 14px; }

.hero__kicker { color: var(--accent); }

.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 4px 0;
}

.hero__notes { color: var(--grey); }
.hero__tasting { color: var(--ink); letter-spacing: 0.08em; }

.hero__buy {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero__price { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }

.hero__full {
  margin-top: 4px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 2px;
}
.hero__full:hover { color: var(--accent); }

.hero__media { display: block; }
.hero__img { margin: 0; border: 1px solid var(--line); }
.hero__img img { aspect-ratio: 4 / 5; }
.hero__media:hover .hero__img img { filter: grayscale(0) contrast(1); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 14px 26px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

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

.btn--small { padding: 10px 18px; font-size: 0.72rem; }

.btn--invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--invert:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============ Marquee ============ */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  background: var(--ink);
  color: var(--paper);
}

.marquee__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 26s linear infinite;
}

.marquee__track span:nth-child(2n) { color: var(--accent-light); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections ============ */

.section {
  padding: clamp(68px, 9vw, 132px) clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.section--invert { background: var(--ink); color: var(--paper); }
.section--invert .section__head { border-color: rgba(247, 246, 243, 0.25); }
.section--invert .index { color: var(--accent-light); }

.section__head {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 18px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section__head h2 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  text-transform: uppercase;
  flex: 1;
}

.section__head p { color: var(--grey); }

.index { font-size: 0.85rem; color: var(--accent); }

.head-link { color: var(--accent); text-decoration: none; }
.head-link:hover { text-decoration: underline; }

/* ============ Coffee specs ============ */

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-right: none;
}

.spec {
  border-right: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper);
  color: var(--ink);
}

.spec:hover { background: #e9e9e6; }

.spec__img {
  position: relative;
  margin: -22px -22px 0;
  border-bottom: 1px solid var(--line);
  background: #ebebe8;
}

.spec__img svg { display: block; width: 100%; height: auto; }

.spec__img img {
  display: block;
  width: 100%;
  aspect-ratio: 300 / 190;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spec:hover .spec__img img { transform: scale(1.03); }

.spec__img figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--grey);
  padding: 5px 10px;
  font-size: 0.62rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.spec__top {
  display: flex;
  justify-content: space-between;
  color: var(--grey);
}

.spec__top span:first-child { color: var(--accent); }

.spec h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-transform: uppercase; }

.spec__table { display: grid; gap: 0; flex: 1; }

.spec__table > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.spec__table dt { color: var(--grey); }
.spec__table dd { text-align: right; }

.spec__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.spec__price { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }

/* ============ Subscription ============ */

.sub {
  margin-top: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.sub .mono { color: var(--accent-light); }

.sub h3 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); text-transform: uppercase; margin: 8px 0 10px; }

.sub p { max-width: 480px; color: rgba(242, 242, 240, 0.78); }

/* ============ Workshops ============ */

.courses { border-top: 1px solid var(--line); }

.course {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: clamp(14px, 3vw, 32px);
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.course:hover { background: #e9e9e6; }

.course__num { color: var(--accent); }

.course__info h4 { font-size: clamp(1.05rem, 2.2vw, 1.45rem); }

.course__info p { color: var(--grey); margin-top: 4px; }

.course__price { font-weight: 700; font-size: 1.15rem; }

/* ============ Film / Design ============ */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(242, 242, 240, 0.3);
}

.duo__cell {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.duo__cell + .duo__cell { border-left: 1px solid rgba(242, 242, 240, 0.3); }

.duo__cell .mono { color: rgba(242, 242, 240, 0.55); }

.duo__cell p { color: rgba(242, 242, 240, 0.8); max-width: 380px; flex: 1; }

.link {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 2px;
}

.link:hover { color: var(--accent-light); }

/* ============ Contact / Footer ============ */

.contact { text-align: center; max-width: 640px; margin: 0 auto; }

.contact h2 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 10px 0 12px; }

.contact p { color: var(--grey); }

.contact__row { margin-top: 30px; display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px clamp(16px, 4vw, 48px);
  color: var(--grey);
}

/* ============ Card links & product page ============ */

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

h3 .card-link:hover, .product__title { color: var(--ink); }

h3 .card-link:hover { color: var(--accent); }

.product__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  margin-top: 24px;
  align-items: start;
}

.product__img { margin: 0; border: 1px solid var(--line); }

.product__info { display: flex; flex-direction: column; gap: 18px; }

.product__title { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: -0.02em; }

.product__desc { color: var(--grey); max-width: 460px; }

.product__buy {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.product__price { font-size: 1.7rem; }

.product__qty { border: 1px solid var(--line); }

.product__qty button { width: 38px; height: 38px; }

.product__qty span { min-width: 34px; font-size: 0.9rem; }

.product__ship { color: var(--grey); }

.product-related { border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .product__layout { grid-template-columns: 1fr; }
}

/* ============ Hero slider (full-screen, auto-rotating) ============ */

.hero-slider {
  position: relative;
  height: calc(100svh - 60px);
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 5vw, 76px);
  text-decoration: none;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.1) 56%, rgba(17, 17, 17, 0.38));
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-slide__kicker { color: var(--accent-light); }

.hero-slide__title {
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-slide__notes { color: rgba(255, 255, 255, 0.85); letter-spacing: 0.08em; }

.hero-slide__cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 26px;
  font-size: 0.78rem;
}

.hero-slide:hover .hero-slide__cta { background: var(--accent); color: #fff; }

.hero-slider__dots {
  position: absolute;
  z-index: 3;
  bottom: clamp(20px, 3vw, 40px);
  right: clamp(20px, 4vw, 48px);
  display: flex;
  gap: 8px;
}

.hero-slider__dots button {
  width: 34px;
  height: 3px;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
}

.hero-slider__dots button.is-active { background: #fff; }

/* hero split: slider left + 2 promo tiles right */
.hero-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  padding: 14px clamp(16px, 4vw, 48px) 0;
}

.hero-slider--inset {
  height: clamp(440px, 66vh, 700px);
  border: 1px solid var(--line);
}

.hero-split__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.promo-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 2vw, 28px);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--line);
  min-height: 140px;
}

.promo-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: transform 0.5s ease;
}

.promo-tile:hover .promo-tile__bg { transform: scale(1.05); }

.promo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.15));
}

.promo-tile__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.promo-tile__kicker { color: var(--accent-light); }
.promo-tile__title { font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: -0.02em; }
.promo-tile__cta { color: #fff; }
.promo-tile:hover .promo-tile__cta { color: var(--accent-light); }

/* shop by category */
.cat-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.cat-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: -0.02em; }

.cat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-tile { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.cat-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.cat-tile:hover img { transform: scale(1.03); }
.cat-tile span { text-align: center; font-size: 0.82rem; color: var(--ink); }

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .cat-row { grid-template-columns: 1fr 1fr; }
}

/* ============ Carousel (Selected) ============ */

.carousel { position: relative; }

.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__track .spec {
  flex: 0 0 min(400px, 84vw);
  border: 1px solid var(--line);
}

.carousel__track .spec__img img { aspect-ratio: 3 / 4; }

.carousel__nav { display: flex; gap: 0; }

.carousel__nav button {
  background: transparent;
  border: 1px solid var(--line);
  border-right: none;
  width: 44px;
  height: 38px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--ink);
}

.carousel__nav button:last-child { border-right: 1px solid var(--line); }

.carousel__nav button:hover { background: var(--accent); color: #fff; }

/* ============ Shop page ============ */

.shop__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.shop__filters, .shop__perpage { display: flex; align-items: center; gap: 0; }

.shop__perpage span { color: var(--grey); margin-right: 10px; }

.shop__controls button {
  background: transparent;
  border: 1px solid var(--line);
  border-right: none;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--ink);
}

.shop__filters button:last-child, .shop__perpage button:last-child { border-right: 1px solid var(--line); }

.shop__controls button:hover { background: var(--accent); color: #fff; }

.shop__controls button.is-active { background: var(--ink); color: var(--paper); }

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.shop__grid .spec { border: 1px solid var(--line); }

.shop__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  color: var(--grey);
}

.shop__pager button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--ink);
}

.shop__pager button:hover:not(:disabled) { background: var(--accent); color: #fff; }

.shop__pager button:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 920px) {
  .shop__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shop__grid { grid-template-columns: 1fr; }
}

/* ============ Cart ============ */

.nav__cart {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 clamp(10px, 1.6vw, 22px);
  background: var(--accent);
  color: #fff;
  border: none;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.nav__cart:hover { background: var(--ink); }

.cart[hidden], .cart-backdrop[hidden], .toast[hidden] { display: none; }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  z-index: 90;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  z-index: 95;
  display: flex;
  flex-direction: column;
}

.cart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}

.cart__close:hover { color: var(--accent); }

.cart__demo {
  margin: 0;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  line-height: 1.7;
}

.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px; }

.cart__empty { padding: 40px 0; color: var(--grey); line-height: 2; }

.cart__item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.cart__item-info { display: flex; flex-direction: column; gap: 3px; }

.cart__item-name { font-weight: 700; font-size: 0.86rem; letter-spacing: -0.01em; }

.cart__muted { color: var(--grey); }

.cart__qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); }

.cart__qty button {
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.cart__qty button:hover { background: var(--accent); color: #fff; }

.cart__qty span { min-width: 22px; text-align: center; font-size: 0.78rem; }

.cart__item-total { font-weight: 700; font-size: 0.9rem; }

.cart__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey);
  font-size: 0.9rem;
}

.cart__remove:hover { color: var(--accent); }

.cart__foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; }

.cart__line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--grey);
}

.cart__line--total { color: var(--ink); font-size: 0.85rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }

.cart__pay { width: 100%; margin-top: 12px; }

.cart__hint { margin-top: 10px; text-align: center; }

.cart__success { padding: 40px 0; text-align: center; display: flex; flex-direction: column; gap: 10px; }

.cart__ok { color: var(--accent); font-size: 1.6rem; }

.cart__success h4 { font-size: 1.4rem; letter-spacing: -0.01em; }

/* ============ Toast ============ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  z-index: 100;
  white-space: nowrap;
}

/* ============ Responsive ============ */

@media (max-width: 920px) {
  .specs { grid-template-columns: 1fr; border-right: 1px solid var(--line); }
  .spec { border-right: none; }
  .spec + .spec { border-top: 1px solid var(--line); }
  .duo { grid-template-columns: 1fr; }
  .duo__cell + .duo__cell { border-left: none; border-top: 1px solid rgba(242, 242, 240, 0.3); }
}

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .course { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .course__num { grid-column: 1 / -1; }
  .course__info { grid-column: 1 / -1; }
  .toast { white-space: normal; width: calc(100vw - 40px); text-align: center; }
}

/* ============ Shop 2.0 — sidebar + grid (live from Shopify) ============ */
.shop2 {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(36px, 5vw, 80px) clamp(16px, 4vw, 48px);
  align-items: start;
}
.shop2__side { position: sticky; top: 76px; max-height: calc(100vh - 90px); overflow-y: auto; }
.shop2__side::-webkit-scrollbar { width: 4px; }
.shop2__loading { color: var(--grey); }
.facet-group { margin-bottom: 26px; }
.facet-group__t {
  color: var(--grey);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.facet {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 6px 0;
  cursor: pointer;
  font-family: var(--font-grotesk);
  font-size: 0.9rem;
  color: var(--ink);
}
.facet:hover { color: var(--accent); }
.facet.is-active { color: var(--accent); font-weight: 700; }
.facet__n { color: var(--grey); font-family: var(--font-mono); font-size: 0.7rem; flex-shrink: 0; }

.shop2__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 16px;
  margin-bottom: 28px;
}
.shop2__head h1 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: -0.02em; }
.shop2__head p { color: var(--grey); }

/* hover second image */
.spec__img2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.spec:hover .spec__img2 { opacity: 1; }

/* sold out */
.spec.is-soldout .spec__img img { opacity: 0.5; }
.spec__soldout { color: var(--grey); font-size: 0.72rem; letter-spacing: 0.06em; }

@media (max-width: 820px) {
  .shop2 { grid-template-columns: 1fr; }
  .shop2__side { position: static; max-height: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
}
