/* ============ RESET & TOKENS ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #000000;
  --ink-soft: #4a4a4a;
  --muted: #767676;
  --line: #e5e7eb;
  --line-dark: #d1d5db;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --accent: #e3122e;
  --radius: 8px;
  --btn-radius: 12px;
  --header-h: 56px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header.is-stuck {
  border-bottom-color: var(--line);
}

.header__inner {
  height: var(--header-h);
  max-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  width: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__link:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav__link .chev {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.has-menu {
  position: relative;
}

.has-menu.is-open > .nav__link .chev {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.16);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.has-menu.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.15s ease;
}

.mega__item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 400;
  border-radius: var(--btn-radius);
  transition: background 0.15s ease;
}

.region:hover {
  background: rgba(0, 0, 0, 0.08);
}

.region__flag-img {
  height: 15px;
  width: auto;
  border: 1px solid var(--line);
}

.region__chev {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-radius);
  color: var(--ink);
  transition: background 0.12s ease-in-out;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
}

.icon-btn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}

.icon-btn__badge.is-on {
  transform: scale(1);
}

.burger {
  display: none;
}

/* ============ SEARCH OVERLAY ============ */
.search {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.search.is-open {
  opacity: 1;
  visibility: visible;
}

.search__inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 12vh 24px 40px;
}

.search__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1.5px solid var(--ink);
  padding: 14px 0;
  margin-top: 12px;
}

.search__field svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.65;
}

.search__field input {
  flex: 1;
  border: 0;
  outline: 0;
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  background: transparent;
  color: var(--ink);
}

.search__field input::placeholder {
  color: #b5b5b5;
}

.search__results {
  margin-top: 22px;
  display: grid;
  gap: 4px;
  max-height: 50vh;
  overflow-y: auto;
}

.search__result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.search__result:hover {
  background: var(--bg-soft);
}

.search__result img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-soft);
}

.search__result strong {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
}

.search__result span {
  font-size: 12.5px;
  color: var(--muted);
}

.search__hint {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.search__tags:empty {
  display: none;
}

.search__tag {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  transition: all 0.15s ease;
}

.search__tag:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ============ MOBILE DRAWER (exact Plugo nav-drawer) ============ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86vw, 360px);
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateX(-102%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  flex: none;
}

.drawer__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 8px 64px;
  position: relative;
}

.drawer__list {
  padding: 0 12px;
}

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

.drawer__single,
.drawer__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.15s ease;
}

.drawer__single:hover,
.drawer__title:hover {
  background: rgba(0, 0, 0, 0.05);
}

.drawer__title svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.drawer__group.is-open .drawer__title svg {
  transform: rotate(180deg);
}

.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.drawer__group.is-open .drawer__sub {
  grid-template-rows: 1fr;
}

.drawer__sub > div {
  overflow: hidden;
}

.drawer__sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 16px 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.15s ease;
}

.drawer__sub a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.drawer__foot {
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  font-size: 14px;
  cursor: pointer;
}

.drawer__currency {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer__currency img {
  height: 16px;
  width: auto;
  border: 1px solid var(--line);
}

.drawer__foot svg {
  width: 18px;
  height: 18px;
}

/* ============ HERO SLIDESHOW ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.hero__track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  position: relative;
}

.hero__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5015 / 1;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.hero__nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.hero:hover .hero__nav {
  opacity: 1;
}

.hero__nav:hover {
  background: rgba(0, 0, 0, 0.45);
}

.hero__nav svg {
  width: 20px;
  height: 20px;
}

.hero__nav--prev {
  left: 16px;
}

.hero__nav--next {
  right: 16px;
}

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero__dot {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease;
}

.hero__dot.is-active {
  background: #fff;
}

/* ============ SECTION HELPERS ============ */
.section {
  position: relative;
  margin-bottom: 16px;
}

.section--banner {
  margin-top: 8px;
  margin-bottom: 16px;
}

.section__head {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 12px 12px;
  text-align: center;
}

.section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============ CATEGORY CAROUSEL ============ */
.cat {
  position: relative;
}

.cat__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 12px 4px;
  scrollbar-width: none;
}

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

.cat__item {
  position: relative;
  flex: 0 0 clamp(220px, 24vw, 340px);
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  aspect-ratio: 4 / 5;
  display: block;
}

.cat__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.cat__label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 18px;
  z-index: 2;
  text-align: center;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.cat__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cat:hover .cat__arrow {
  opacity: 1;
}

.cat__arrow svg {
  width: 16px;
  height: 16px;
}

.cat__arrow--prev {
  left: 14px;
}

.cat__arrow--next {
  right: 14px;
}

/* ============ BANNER ============ */
.banner {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

.banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5015 / 1;
  object-fit: cover;
  display: block;
}

/* ============ PRODUCT GRID (Plugo flat layout, centered) ============ */
.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 16px 12px;
}

.products__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 16px;
}

.card {
  display: block;
  position: relative;
  width: calc((100% - 64px) / 5);
  min-width: 175px;
  max-width: 224px;
  flex: 0 0 auto;
}

.card__media {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 4 / 5;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__wish {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.65);
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.card__wish svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.card__wish:hover {
  transform: scale(1.1);
  background: #fff;
}

.card__wish.is-active {
  color: var(--accent);
}

.card__wish.is-active svg {
  fill: currentColor;
}

.card__badge {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__quick {
  position: absolute;
  left: 8px;
  right: 42px;
  bottom: 8px;
  z-index: 2;
  padding: 7px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.card:hover .card__quick {
  opacity: 1;
  transform: none;
}

.card__body {
  padding-top: 10px;
  text-align: center;
}

.card__name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.card__price s {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

/* ============ FOOTER ============ */
.footer {
  background: #000000;
  color: #ffffff;
  padding: 48px 0 36px;
  margin-top: 32px;
}

.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.footer__links {
  display: grid;
  gap: 12px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  width: fit-content;
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__block + .footer__block {
  margin-top: 28px;
}

.pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pay__item {
  width: 42px;
  height: 26px;
  display: grid;
  place-items: center;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.pay__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pay__item--wide {
  width: 54px;
}

.footer__bottom {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
}

.footer__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ============ FLOATING BUTTONS ============ */
.floaters {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floater {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floater svg {
  width: 24px;
  height: 24px;
}

.floater:hover {
  transform: scale(1.06);
}

.floater--top {
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #000000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.floater--top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ============ CART DRAWER ============ */
.cart {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}

.cart__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 400px);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.35s var(--ease);
}

.cart.is-open {
  pointer-events: auto;
}

.cart.is-open .cart__scrim {
  opacity: 1;
}

.cart.is-open .cart__panel {
  transform: none;
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.cart__empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.cart__row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart__row img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-soft);
}

.cart__row strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.cart__row .price {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 3px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12.5px;
}

.qty button {
  width: 20px;
  height: 20px;
  line-height: 1;
  color: var(--ink);
  font-size: 15px;
}

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

.cart__total {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.88;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============ INNER PAGES (PDP / WISHLIST / POLICY / BLOG) ============ */
.page {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.page--narrow {
  max-width: 768px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb__current {
  color: var(--ink);
  font-weight: 500;
}

.policy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.policy-tabs__link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  transition: all 0.15s ease;
}

.policy-tabs__link:hover {
  color: var(--ink);
}

.policy-tabs__link.is-active {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

.policy__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}

.page__head {
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page__back {
  font-size: 12.5px;
  color: var(--muted);
}

.page__back:hover {
  color: var(--ink);
}

.page__title {
  margin: 10px 0 4px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
}

.page__sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.page__empty {
  padding: 56px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.btn--inline {
  width: auto;
  padding: 11px 24px;
  margin-top: 14px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--ghost:hover {
  background: var(--bg-soft);
}

/* product detail */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.pdp__media {
  overflow: hidden;
  background: #f5f5f5;
  border-radius: var(--radius);
}

.pdp__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pdp__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pdp__wish-btn.is-active {
  color: var(--accent);
}

.pdp__title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.3;
}

.pdp__price {
  font-size: 18px;
  font-weight: 700;
}

.pdp__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.pdp__label {
  min-width: 72px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.pdp__size {
  min-width: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.pdp__size:hover {
  border-color: var(--ink);
}

.pdp__size.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.qty--big {
  padding: 6px 14px;
  font-size: 13.5px;
  gap: 18px;
  margin-top: 0;
}

.pdp__actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.pdp__folds {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

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

.pdp__fold summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.pdp__fold summary::-webkit-details-marker {
  display: none;
}

.pdp__fold summary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.pdp__fold[open] summary svg {
  transform: rotate(180deg);
}

.pdp__fold-body {
  padding-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.pdp__fold-body p {
  margin: 0 0 10px;
}

.pdp__fold-body ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

/* prose (Quill v2 look) */
.prose {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.prose p {
  margin: 0 0 14px;
}

.card__remove {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.card__remove:hover {
  color: var(--ink);
}

/* ============ CATALOG & STORE LOCATOR ============ */
.catalog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog__title {
  margin: 0 0 4px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
}

.catalog__sort select {
  padding: 9px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.catalog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.catalog__chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.15s ease;
}

.catalog__chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.catalog__chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.store-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.store-card__tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.store-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.store-card p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.store-card__meta {
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header__inner {
    gap: 4px;
    padding: 0 8px;
  }

  .brand {
    flex: 1;
  }

  .region {
    display: none;
  }

  .card {
    width: calc((100% - 32px) / 3);
  }
}

@media (max-width: 900px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .brand__logo {
    height: 34px;
  }

  .hero__nav {
    display: none;
  }

  .cat__track {
    padding: 0 8px;
    gap: 8px;
  }

  .cat__item {
    flex: 0 0 58vw;
  }

  .cat__arrow {
    display: none;
  }

  .products {
    padding: 4px 8px 8px;
  }

  .products__grid {
    gap: 16px 8px;
  }

  .card {
    width: calc((100% - 8px) / 2);
    min-width: 136px;
    max-width: 240px;
  }

  .card__name,
  .card__price {
    font-size: 12px;
  }

  .card__quick {
    display: none;
  }

  .section__head {
    padding: 16px 12px 10px;
  }

  .section__title {
    font-size: 18px;
  }

  .footer {
    padding: 8px 0 80px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .footer__block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer__block + .footer__block {
    margin-top: 0;
  }

  .footer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 16px 20px;
    font-size: 13.5px;
    cursor: pointer;
  }

  .footer__title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .footer__block.is-open .footer__title svg {
    transform: rotate(180deg);
  }

  .footer__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
  }

  .footer__block.is-open .footer__content {
    grid-template-rows: 1fr;
  }

  .footer__content > div {
    overflow: hidden;
    padding: 0 20px;
  }

  .footer__block.is-open .footer__content > div {
    padding-bottom: 18px;
  }

  .footer__bottom {
    margin-top: 20px;
    padding: 16px 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page {
    padding: 16px 14px 56px;
  }
}

@media (min-width: 768px) {
  .footer__content {
    display: block;
  }

  .footer__title svg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ CHECKOUT & ORDER SUCCESS ============ */
.page--checkout {
  max-width: 1100px;
}

.co-head {
  margin-bottom: 24px;
}

.co-alert {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-radius: var(--radius);
  font-size: 13.5px;
}

.co-alert ul {
  margin-top: 6px;
  padding-left: 18px;
  list-style: disc;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.checkout__main {
  display: grid;
  gap: 20px;
}

.co-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.co-card__head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.co-card__head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.co-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.co-field--full {
  grid-column: 1 / -1;
}

.co-field span {
  font-weight: 500;
  color: var(--ink);
}

.co-field em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}

.co-field input,
.co-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease;
}

.co-field input:focus,
.co-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.co-options {
  display: grid;
  gap: 10px;
}

.co-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.co-option:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.co-option input {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  margin: 0;
}

.co-option__body {
  flex: 1;
  display: grid;
  gap: 2px;
}

.co-option__label {
  font-size: 13.5px;
  font-weight: 600;
}

.co-option__eta {
  font-size: 12px;
  color: var(--muted);
}

.co-option__price {
  font-size: 13.5px;
  font-weight: 600;
}

.co-pays {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.co-pay {
  position: relative;
  cursor: pointer;
}

.co-pay input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.co-pay__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  min-height: 68px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.co-pay__body img {
  height: 22px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
}

.co-pay input:checked + .co-pay__body {
  border-color: var(--ink);
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--ink);
}

.co-summary {
  position: sticky;
  top: 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.co-summary__title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.co-summary__items {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.co-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.co-item img {
  width: 56px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-soft);
  flex-shrink: 0;
}

.co-item__body {
  flex: 1;
  display: grid;
  gap: 2px;
  font-size: 13px;
}

.co-item__meta,
.co-item__qty {
  font-size: 12px;
  color: var(--muted);
}

.co-item__total {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.co-summary__rows {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.co-summary__row {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
}

.co-summary__row--total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.co-submit {
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.15s ease;
}

.co-submit:hover {
  opacity: 0.88;
}

.co-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.co-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.co-hint--center {
  text-align: center;
}

.co-hint a {
  color: var(--ink);
  text-decoration: underline;
}

.co-done {
  max-width: 780px;
  margin: 12px auto 0;
}

.co-done__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}

.co-done__icon svg {
  width: 26px;
  height: 26px;
}

.co-done__title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.co-done__sub {
  margin: 0 0 20px;
  text-align: center;
  color: var(--ink-soft);
}

.co-done__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  margin-bottom: 20px;
  font-size: 14px;
}

.co-done__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.co-pay-info {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.co-pay-box {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 13px;
}

.co-pay-box__va {
  font-size: 18px;
  letter-spacing: 0.06em;
}

.co-address {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
}

.co-done__actions {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 860px) {
  .checkout,
  .co-done__grid {
    grid-template-columns: 1fr;
  }

  .co-summary {
    position: static;
  }
}

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