/* ==========================================================================
   LUNAR HUNTER — static template
   Rebuilt 1:1 from lunather.com (Shopify Dawn-derived theme)
   ========================================================================== */

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrumentserif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrumentsans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrumentsans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrumentsans-i400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --fg: #121212;
  --fg-60: rgba(18, 18, 18, 0.6);
  --bg: #ffffff;
  --dark: #3a3532;
  --beige: #f2efe8;
  --pale: #e4e3d6;
  --media: #f0f0f0;
  --line: rgba(18, 18, 18, 0.12);
  --line-soft: rgba(18, 18, 18, 0.08);

  --gutter: 48px;
  --header-h: 79px;
  --section-y: 96px;

  --fs-body: 15.2px;
  --fs-xs: 13.3px;
  --fs-sm: 12.4px;
  --radius: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
input, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
h1 { font-size: 45px; }
h2 { font-size: 45px; }
h3 { font-size: 22.8px; }
.h-xl { font-size: 60px; }
.h-md { font-size: 30px; }

p { margin: 0; }

.container {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #000;
  color: #fff;
  padding: 14px 26px;
  font-size: 11.4px;
  text-transform: uppercase;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11.4px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 26.4px;
  border: 1px solid #4b4b4b;
  background: #000;
  color: #fff;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--light { background: #fff; color: #000; border-color: #fff; }
.btn--light:hover { background: #ececec; border-color: #ececec; }
.btn--dark:hover { background: #2b2b2b; }
.btn--outline { background: #fff; color: #000; border-color: var(--line); padding: 6.4px 18px; }
.btn--outline:hover { background: #000; color: #fff; border-color: #000; }
.btn--sm { padding: 6.4px 18px; }
.btn--lg { padding: 16px 48px; font-size: 13.3px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.announce {
  background: var(--dark);
  color: #fff;
  font-size: var(--fs-xs);
  height: 33px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.announce__inner {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px;
}
.announce__arrow {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0.9;
}
.announce__arrow:hover { opacity: 1; }
.announce__track { position: relative; flex: 1; height: 18px; }
.announce__msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  white-space: nowrap;
}
.announce__msg.is-active { opacity: 1; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  transition: box-shadow 0.2s ease;
}
.header.is-stuck { box-shadow: 0 1px 0 var(--line-soft), 0 6px 18px rgba(0, 0, 0, 0.05); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  gap: 56px;
}
.header__logo { flex: 0 0 auto; width: 170px; }
.header__logo img { width: 170px; height: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: var(--fs-body);
}
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--fg);
  transition: right 0.3s ease;
}
.header__nav a:hover::after { right: 0; }
.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body);
  padding: 6px 4px;
}
.header__country .flag { font-size: 14px; line-height: 1; }
.header__country .chev { opacity: 0.7; }
.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  position: relative;
}
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
  font-family: var(--sans);
}
.header__burger { display: none; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: flex-end; }
.drawer__nav { margin-top: 24px; display: grid; gap: 2px; }
.drawer__nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }

/* --------------------------------------------------------------------------
   Hero / slideshow
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero__track { position: relative; aspect-ratio: 1425 / 788; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: block;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__content {
  position: absolute;
  left: var(--gutter);
  bottom: 96px;
  color: #fff;
  max-width: 640px;
}
.hero__content h2 {
  font-size: 30px;
  margin-bottom: 14px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.18);
}
.hero__nav {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  display: flex;
  gap: 6px;
}
.hero__nav button {
  width: 28px;
  height: 28px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #121212;
}
.hero__nav button svg { width: 9px; height: 9px; }
.hero__counter {
  position: absolute;
  right: calc(var(--gutter) + 74px);
  bottom: 96px;
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   LOOKX review strip
   -------------------------------------------------------------------------- */
.reviews {
  background: #fff;
  border-bottom: 1px solid rgba(58, 53, 50, 0.14);
  padding-block: 14px 16px;
}
.reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.reviews__rating { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.reviews__brand {
  background: #3a3532;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 2px;
}
.stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; }
.reviews__card {
  max-width: 430px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 0 26px;
}
.reviews__thumb { width: 46px; height: 46px; object-fit: cover; background: var(--media); flex: 0 0 auto; }
.reviews__body { font-size: 11.4px; line-height: 1.35; color: var(--fg); }
.reviews__body b { display: block; font-weight: 400; font-size: 12px; }
.reviews__body p { color: var(--fg-60); }
.reviews__next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Section head
   -------------------------------------------------------------------------- */
.sec-head { margin-bottom: 34px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { font-size: var(--fs-xs); color: var(--fg); max-width: 560px; }
.sec-head--center { text-align: center; }
.sec-head--center p { margin: 0 auto; max-width: 440px; }

/* --------------------------------------------------------------------------
   New arrivals mosaic
   -------------------------------------------------------------------------- */
.arrivals { padding-top: 72px; }
.mosaic { position: relative; overflow: hidden; }
.mosaic__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mosaic__page {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 34px 0;
}
.mosaic__page figure {
  margin: 0;
  overflow: hidden;
  background: var(--media);
}
.mosaic__page img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic__page figure:hover img { transform: scale(1.03); }
.mosaic__page figure:nth-child(1) { width: 22.3%; aspect-ratio: 1 / 1; transform: translateY(44px); }
.mosaic__page figure:nth-child(2) { width: 22.3%; aspect-ratio: 1 / 1; transform: translateY(-18px); }
.mosaic__page figure:nth-child(3) { width: 27.1%; aspect-ratio: 1 / 1; transform: translateY(-46px); }
.mosaic__page figure:nth-child(4) { width: 28.3%; aspect-ratio: 1 / 1; transform: translateY(18px); }
.arrivals .btn { margin: 74px auto 22px; display: flex; width: max-content; }

/* pager */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pager button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  color: #121212;
  transition: background 0.2s;
}
.pager button:hover { background: #e8e8e8; }
.pager__label {
  min-width: 66px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}
.pager--plain button { background: transparent; }
.pager--plain button:hover { background: #f4f4f4; }
.pager--plain .pager__label { background: transparent; }

/* --------------------------------------------------------------------------
   Product card / grid
   -------------------------------------------------------------------------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card { display: block; }
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--media);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  font-size: 10.4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.card__title {
  font-size: var(--fs-xs);
  line-height: 1.32;
  margin: 9px 0 3px;
  color: var(--fg);
}
.card__price { font-size: var(--fs-body); }
.card__price s { color: var(--fg-60); margin-left: 6px; font-size: var(--fs-xs); }
.grid-foot { margin-top: 42px; display: flex; justify-content: center; }

/* --------------------------------------------------------------------------
   Showcase (set) rows
   -------------------------------------------------------------------------- */
.showcase { padding: 74px 0; }
.showcase--pale { background: var(--pale); }
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.showcase__media { background: var(--media); overflow: hidden; aspect-ratio: 1 / 1; }
.showcase__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.showcase__media:hover img { transform: scale(1.03); }
.showcase__panel { text-align: center; padding: 10px 0; }
.showcase__panel h2 { margin-bottom: 14px; max-width: 480px; margin-left: auto; margin-right: auto; }
.showcase__panel > p {
  font-size: var(--fs-xs);
  max-width: 420px;
  margin: 0 auto 22px;
}
.mini { width: 262px; margin: 0 auto; overflow: hidden; }
.mini__track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.mini__item { flex: 0 0 100%; }
.mini__item .card__media { aspect-ratio: 1 / 1; }
.mini__item .card__title { font-size: 10.9px; margin-top: 8px; }
.mini__item .card__price { font-size: var(--fs-xs); }
.showcase__panel .pager { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Collections
   -------------------------------------------------------------------------- */
.col-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 1104px;
  margin: 34px auto 0;
}
.col-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--media);
  display: block;
}
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.col-card:hover img { transform: scale(1.04); }
.col-card__label {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  width: 62%;
  min-height: 42px;
  font-size: 10.4px;
  line-height: 1.25;
}
.col-card__label span:last-child { color: var(--fg-60); white-space: nowrap; font-size: 9.6px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testi { padding: 30px 0 76px; position: relative; overflow: hidden; }
.testi__badge { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-bottom: 26px; }
.testi__badge .reviews__rating { font-size: 13px; }
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.testi__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 300px repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 0 var(--gutter);
}
.testi__quote {
  background: #f6ede4;
  border-radius: 22px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 300px;
}
.testi__quote .mark {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 0.7;
  color: #3a3532;
  margin-bottom: 12px;
}
.testi__quote .stars { font-size: 17px; margin-bottom: 16px; }
.testi__quote p { font-size: 17px; line-height: 1.42; }
.testi__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: var(--fs-xs);
  padding-top: 18px;
}
.testi__author i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3a3532;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 8px;
  font-style: normal;
}
.testi__photo { border-radius: 22px; overflow: hidden; background: var(--media); }
.testi__photo img { width: 100%; height: 100%; object-fit: cover; }
.testi__dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.testi__dots button {
  width: 18px;
  height: 3px;
  background: #dcdcdc;
  transition: background 0.2s;
}
.testi__dots button.is-active { background: #3a3532; }
.testi__arrow {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
  display: grid;
  place-items: center;
  z-index: 3;
}
.testi__arrow--prev { left: 6px; }
.testi__arrow--next { right: 6px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--beige); border-top: 1px solid rgba(58, 53, 50, 0.25); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 44px 34px;
  border-bottom: 1px solid rgba(58, 53, 50, 0.2);
}
.footer__top h3 {
  font-size: 45px;
  letter-spacing: -0.01em;
}
.footer__touch {
  font-family: var(--sans);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 240px 240px;
  gap: 60px;
  padding-block: 36px 44px;
}
.footer__col h4 {
  font-family: var(--serif);
  font-size: 22.8px;
  margin-bottom: 20px;
}
.footer__col ul { display: grid; gap: 14px; }
.footer__col a { font-size: var(--fs-xs); color: var(--fg); }
.footer__col a:hover { text-decoration: underline; }
.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(58, 53, 50, 0.2);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #e5e2d7;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: var(--fs-xs);
}
.pill .flag { font-size: 14px; }
.footer__pills { display: flex; gap: 14px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e5e2d7;
  display: grid;
  place-items: center;
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px 26px;
  font-size: var(--fs-xs);
}
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icons span {
  height: 22px;
  min-width: 34px;
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111;
  padding: 0 5px;
}
.pay-icons .visa { background: #1a1f71; color: #fff; }
.pay-icons .mc { background: #fff; color: #fff; position: relative; overflow: hidden; }
.pay-icons .mc::before { content: ''; width: 13px; height: 13px; border-radius: 50%; background: #eb001b; position: absolute; left: 9px; }
.pay-icons .mc::after { content: ''; width: 13px; height: 13px; border-radius: 50%; background: #f79e1b; opacity: 0.85; position: absolute; left: 16px; }
.pay-icons .amex { background: #2e77bc; color: #fff; }
.pay-icons .jcb { background: linear-gradient(90deg, #0f4c8a 33%, #b1282f 33% 66%, #1e8f4e 66%); color: #fff; }
.pay-icons .shop { background: #5a31f4; color: #fff; }
.pay-icons .gpay { background: #fff; }
.pay-icons .apple { background: #000; color: #fff; }
.pay-icons .diners { background: #0079be; color: #fff; }
.pay-icons .maestro { background: #fff; color: #fff; position: relative; overflow: hidden; }
.pay-icons .maestro::before { content: ''; width: 13px; height: 13px; border-radius: 50%; background: #0099df; position: absolute; left: 9px; }
.pay-icons .maestro::after { content: ''; width: 13px; height: 13px; border-radius: 50%; background: #ed0006; opacity: 0.85; position: absolute; left: 16px; }

/* --------------------------------------------------------------------------
   Cart drawer + modal + toast
   -------------------------------------------------------------------------- */
.cart-drawer__panel {
  left: auto;
  right: 0;
  width: 400px;
  transform: translateX(100%);
}
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.cart-drawer__head h3 { font-size: 26px; }
.cart-item { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item__img { width: 78px; height: 78px; object-fit: cover; background: var(--media); }
.cart-item__body { flex: 1; font-size: var(--fs-xs); }
.cart-item__body b { font-weight: 400; display: block; margin-bottom: 4px; }
.cart-drawer__foot { margin-top: auto; padding-top: 20px; }
.cart-drawer__row { display: flex; justify-content: space-between; margin-bottom: 14px; }

.modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; pointer-events: none; }
.modal.is-open { pointer-events: auto; }
.modal__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.3s; }
.modal.is-open .modal__veil { opacity: 1; }
.modal__box {
  position: relative;
  width: 440px;
  max-width: 92vw;
  background: #fff;
  padding: 40px 38px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__box h3 { font-size: 30px; margin-bottom: 10px; }
.modal__box p { font-size: var(--fs-xs); margin-bottom: 20px; }
.field { width: 100%; height: 53px; border: 1px solid var(--line); background: #fff; padding: 0 14px; }
.modal__close { position: absolute; top: 12px; right: 14px; font-size: 20px; line-height: 1; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #121212;
  color: #fff;
  font-size: var(--fs-xs);
  padding: 12px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Collection page
   -------------------------------------------------------------------------- */
.page-head { padding-block: 34px 26px; }
.page-head h1 { font-size: 30px; }
.coll-layout {
  display: grid;
  grid-template-columns: 282px 1fr;
  gap: 48px;
  padding-bottom: 90px;
  align-items: start;
}
.filters h2 { font-family: var(--sans); font-size: var(--fs-body); margin-bottom: 22px; }
.filter-group { margin-bottom: 26px; }
.filter-group__title { font-size: 11.4px; color: var(--fg-60); margin-bottom: 10px; }
.check-row { display: flex; gap: 8px; }
.chk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 9px 14px;
  font-size: var(--fs-xs);
  cursor: pointer;
  user-select: none;
}
.chk input { appearance: none; width: 12px; height: 12px; border: 1px solid rgba(18, 18, 18, 0.5); }
.chk input:checked { background: #000; box-shadow: inset 0 0 0 3px #fff; }
.price-slider { display: flex; align-items: center; gap: 8px; margin: 8px 0 14px; }
.price-slider input[type='range'] { width: 100%; accent-color: #121212; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs .field { height: 38px; width: 100%; font-size: var(--fs-xs); text-align: center; color: var(--fg-60); }
.coll-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: var(--fs-body);
}
.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 6.4px 16px;
  font-size: var(--fs-body);
  border-radius: 2px;
}
.coll-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 16px; }
.coll-grid .card__title { font-size: 11.4px; }
.coll-grid .card__price { font-size: var(--fs-xs); }
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 44px;
  font-size: var(--fs-xs);
}
.pagination a,
.pagination span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.pagination .is-current { background: #121212; color: #fff; }
.pagination a:hover { background: #f2f2f2; }

/* --------------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: 1fr 425px;
  gap: 48px;
  padding: 0 var(--gutter) 40px;
  align-items: start;
}
.gallery { display: grid; grid-template-columns: 142px 1fr; gap: 18px; position: sticky; top: 96px; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
}
.gallery__thumbs button { display: block; padding: 0; background: var(--media); }
.gallery__thumbs img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; }
.gallery__thumbs button.is-active { outline: 1px solid #121212; outline-offset: -1px; }
.gallery__stage { position: relative; background: var(--media); overflow: hidden; }
.gallery__stage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__caption {
  position: absolute;
  left: 20px;
  top: 18px;
  color: #fff;
  max-width: 70%;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.gallery__caption b { display: block; font-size: 22px; font-weight: 700; line-height: 1.15; }
.gallery__caption span { font-size: 17px; }
.gallery__nav {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery__counter {
  background: #fff;
  font-size: 11px;
  padding: 4px 9px;
  letter-spacing: 0.04em;
}
.gallery__nav button {
  width: 26px;
  height: 26px;
  background: #fff;
  display: grid;
  place-items: center;
}
.pdp__info { padding-top: 4px; }
.pdp__info h1 { font-size: 45px; line-height: 1.03; margin-bottom: 12px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); margin-bottom: 14px; }
.pdp__sub { font-size: var(--fs-body); margin-bottom: 22px; }
.pdp__price { font-size: 20px; margin-bottom: 26px; }
.variant { margin-bottom: 20px; }
.variant__label { font-size: 11.4px; margin-bottom: 7px; display: block; }
.variant__hint { font-size: 11.4px; line-height: 1.4; margin-bottom: 8px; color: var(--fg); }
.select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-size: var(--fs-xs);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  height: 40px;
}
.qty button { width: 38px; height: 100%; display: grid; place-items: center; font-size: 15px; }
.qty input { width: 34px; text-align: center; border: 0; outline: none; }
.pdp__qty-label { font-size: 11.4px; margin: 26px 0 8px; display: block; }
.pdp__actions { margin-top: 22px; display: grid; gap: 10px; }
.shop-pay { background: #5a31f4; color: #fff; border-color: #5a31f4; text-transform: none; font-size: 15px; letter-spacing: 0; }
.shop-pay:hover { background: #4b26d9; }
.more-pay { text-align: center; font-size: 11.4px; text-decoration: underline; margin-top: 4px; }
.pdp__pay { display: flex; gap: 4px; flex-wrap: wrap; margin: 18px 0 8px; }
.pdp__pay span { transform: scale(0.92); }
.accordion { border-top: 1px solid var(--line-soft); }
.accordion__item { background: #f8f8f8; margin-top: 10px; }
.accordion__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  padding: 20px 18px;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: '+'; font-size: 15px; }
.accordion__item[open] summary::after { content: '–'; }
.accordion__body { padding: 0 18px 18px; font-size: var(--fs-xs); line-height: 1.55; color: var(--fg); }
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--fs-xs); }
.share-row svg { width: 14px; height: 14px; }

.pdp-desc { padding: 30px var(--gutter) 90px; }
.pdp-desc__inner { max-width: 1070px; margin: 0 auto; }
.pdp-desc h2 { font-size: 60px; margin-bottom: 18px; }
.pdp-desc p { font-size: var(--fs-body); line-height: 1.5; margin-bottom: 16px; }
.pdp-desc figure { margin: 30px 0; }
.pdp-desc figure img { width: 100%; }
.pdp-desc figcaption { font-size: 11.4px; margin-top: 10px; color: var(--fg); }
.pdp-desc h3 { font-size: 60px; margin: 54px 0 18px; }
.pdp-desc .divider { height: 1px; background: var(--line-soft); margin: 54px 0; }
.pdp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; margin: 46px 0; }
.pdp-trust b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 400; margin-bottom: 6px; }
.pdp-trust span { font-size: var(--fs-xs); color: var(--fg-60); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header__inner { gap: 30px; }
  .header__nav { gap: 22px; }
  h2, .footer__top h3 { font-size: 38px; }
  .h-xl, .pdp-desc h2, .pdp-desc h3 { font-size: 48px; }
  .footer__touch { font-size: 48px; }
  .testi__slide { grid-template-columns: 260px repeat(2, 1fr); }
  .testi__slide .testi__photo:nth-child(4) { display: none; }
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; --section-y: 64px; }
  .header__nav { display: none; }
  .header__burger { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 12px; }
  .header__inner { gap: 8px; }
  .header__country { display: none; }
  .hero__track { aspect-ratio: 4 / 3.4; }
  .hero__content { bottom: 64px; }
  .hero__nav { bottom: 64px; }
  .hero__counter { bottom: 64px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .showcase__inner { grid-template-columns: 1fr; gap: 26px; }
  .showcase__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .col-grid { grid-template-columns: repeat(3, 1fr); }
  .coll-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }
  .coll-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { order: 2; grid-template-columns: repeat(5, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pdp__info h1 { font-size: 38px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 14.4px; }
  h2, .footer__top h3 { font-size: 30px; }
  .h-xl, .pdp-desc h2, .pdp-desc h3 { font-size: 34px; }
  .footer__touch { font-size: 34px; text-underline-offset: 6px; }
  .hero__track { aspect-ratio: 3 / 3.6; }
  .hero__content h2 { font-size: 22px; }
  .hero__content { bottom: 46px; }
  .hero__nav, .hero__counter { bottom: 46px; }
  .mosaic__page figure:nth-child(1) { display: none; }
  .mosaic__page figure:nth-child(2) { width: 34%; }
  .mosaic__page figure:nth-child(3) { width: 30%; }
  .mosaic__page figure:nth-child(4) { width: 30%; }
  .arrivals .btn { margin-top: 46px; }
  .testi__slide { grid-template-columns: 1fr; }
  .testi__slide .testi__photo { display: none; }
  .testi__slide .testi__photo:first-of-type { display: block; height: 220px; }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .footer__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pdp-trust { grid-template-columns: 1fr; gap: 18px; }
  .gallery__caption b { font-size: 16px; }
  .gallery__caption span { font-size: 13px; }
}
