/* ——— Tokens ——— */
:root {
  --bg: #f3eee6;
  --bg-soft: #ebe4d8;
  --surface: #faf7f2;
  --card: #f7f2ea;
  --ink: #2c2a28;
  --ink-muted: #6a6560;
  --accent: #c4b5a0;
  --accent-deep: #9a8b76;
  --line: rgba(44, 42, 40, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --drawer-w: min(100vw, 420px);
}

html[data-theme="night"] {
  --bg: #1c1a18;
  --bg-soft: #26221e;
  --surface: #221f1c;
  --card: #2a2622;
  --ink: #f3eee6;
  --ink-muted: #b8b0a4;
  --accent: #9a8b76;
  --accent-deep: #c4b5a0;
  --line: rgba(243, 238, 230, 0.12);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 181, 160, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(235, 228, 216, 0.9), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

body.cart-open,
body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow: visible;
}

.pickup-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 39;
  margin: 0;
  padding: 0.4rem 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-align: center;
}

.pickup-bar__inner {
  display: block;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  color: inherit;
}

.logo__prefix {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.logo__name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
}

.logo__name--hero {
  font-size: inherit;
}

.logo--footer .logo__name {
  font-size: 1.25rem;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search__toggle {
  display: none;
}

.header-search__field input {
  width: min(11.5rem, 26vw);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  font-size: 0.85rem;
  border-radius: 4px;
}

.header-search__field input:focus {
  border-color: var(--accent-deep);
}

.nav-slot {
  display: contents;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link--wa {
  display: none;
}

.nav-backdrop {
  display: none;
}

.nav__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.nav__cart-icon {
  display: block;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  font-size: 0.58rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  line-height: 1;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  transform: translate(35%, -30%);
  box-shadow: 0 0 0 1.5px var(--bg);
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.3rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ——— Pages ——— */
.page[hidden] {
  display: none !important;
}

.page--active {
  animation: fadeUp 0.55s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero--photo .hero__media {
  background-size: cover;
  background-position: center 28%;
  animation: none;
  filter: none;
}

.hero--photo .hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(243, 238, 230, 0.94) 0%,
    rgba(243, 238, 230, 0.78) 32%,
    rgba(243, 238, 230, 0.35) 62%,
    rgba(243, 238, 230, 0.1) 100%
  );
}

html[data-theme="night"] .hero--photo .hero__media::before {
  background: linear-gradient(
    105deg,
    rgba(28, 26, 24, 0.92) 0%,
    rgba(28, 26, 24, 0.72) 36%,
    rgba(28, 26, 24, 0.28) 100%
  );
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(243, 238, 230, 0.92) 0%, rgba(243, 238, 230, 0.55) 42%, rgba(243, 238, 230, 0.15) 70%),
    linear-gradient(160deg, #d9cfc0 0%, #b8a894 38%, #8f8170 100%);
  animation: heroGlow 14s ease-in-out infinite alternate;
}

.hero__media::after {
  display: none;
}

.hero__frame {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 8vh, 4.5rem) clamp(2.75rem, 9vh, 5rem);
  max-width: 36rem;
  margin-left: max(var(--space), calc((100% - var(--max)) / 2 + var(--space)));
  width: min(100% - 2 * var(--space), 36rem);
}

@keyframes heroGlow {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.04); }
}

.hero__brand {
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero__brand .logo__prefix {
  font-size: 0.78rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  animation: fadeUp 0.7s var(--ease) 0.2s both;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--ink-muted);
  font-weight: 300;
  animation: fadeUp 0.7s var(--ease) 0.3s both;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  animation: fadeUp 0.7s var(--ease) 0.4s both;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn--block {
  width: 100%;
  animation: none;
}

.btn--sm {
  padding: 0.65rem 0.95rem;
  font-size: 0.72rem;
  animation: none;
}

.btn--ghost-action {
  background: transparent;
  color: var(--ink);
  animation: none;
}

.btn--ghost-action:hover {
  background: var(--ink);
  color: var(--surface);
}

.btn--ghost {
  width: 100%;
  margin-top: 0.35rem;
  background: transparent;
  color: var(--ink);
  animation: none;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--surface);
}

.cart-empty .btn {
  margin-top: 1.25rem;
  animation: none;
}

/* ——— Sections ——— */
.products {
  padding-block: clamp(0.75rem, 2vw, 1.5rem) clamp(3.5rem, 8vw, 6rem);
}

.section-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100% - 2 * var(--space), var(--max));
  margin: clamp(0.75rem, 2vw, 1.35rem) auto clamp(0.35rem, 1vw, 0.75rem);
}

.section-rule__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-rule__mark {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border: 1px solid var(--accent-deep);
  transform: rotate(45deg);
  background: transparent;
}

.catalog-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-bar__title {
  margin: 0;
}

.catalog-bar__sort {
  min-width: 10.5rem;
  max-width: 14rem;
  padding: 0.45rem 0.65rem;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.catalog-bar__sort:focus {
  outline: none;
  border-bottom-color: var(--accent-deep);
  color: var(--ink);
}

.catalog-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.catalog-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.35rem;
}

.catalog-nav__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
}

.catalog-nav__sep {
  width: 1px;
  height: 0.85rem;
  background: var(--line);
}

.catalog-nav__subs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
  padding-top: 0.15rem;
}

.catalog-nav__subs[hidden] {
  display: none !important;
}

.catalog-nav .filter {
  padding: 0.2rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  box-shadow: none;
}

.catalog-nav__subs .filter {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.catalog-nav .filter:hover {
  color: var(--ink);
}

.catalog-nav .filter.is-active {
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
}

html[data-theme="night"] .catalog-nav .filter,
html[data-theme="night"] .catalog-nav .filter.is-active {
  background: transparent;
}

html[data-theme="night"] .catalog-bar__sort {
  color: var(--ink-muted);
  background: transparent;
  border-color: var(--line);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

.section-head--page {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 300;
}

/* ——— Product grid — journal minimalism ——— */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(44, 42, 40, 0.08);
}

.product-card__visual {
  aspect-ratio: 3 / 4;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  background-color: var(--bg-soft);
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-card__visual picture,
.product-modal__visual picture,
.related-row__photo picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.product-card__visual img,
.product-modal__visual img,
.related-row__photo img,
.related-row__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}

.related-row__photo {
  position: relative;
  overflow: hidden;
}

html[data-theme="night"] .product-card__visual.has-photo,
html[data-theme="night"] .product-modal__visual.has-photo,
html[data-theme="night"] .related-row__photo,
html[data-theme="night"] .cart-item__thumb {
  background-color: #2f2b27;
  background-blend-mode: normal;
}

html[data-theme="night"] .product-card__visual.has-photo {
  box-shadow: inset 0 0 0 1px rgba(243, 238, 230, 0.06);
}

.product-card__visual.has-photo::after {
  display: none;
}

.product-card__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 28%;
  height: 52%;
  border-radius: 40% 40% 12% 12% / 18% 18% 8% 8%;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.55), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.product-card__visual--1 {
  background-image: linear-gradient(160deg, #ebe3d6, #c5b7a4 50%, #8a7b6a);
}

.product-card__visual--2 {
  background-image: linear-gradient(200deg, #f0e8dc, #d4c4b0 45%, #b09a82);
}

.product-card__visual--3 {
  background-image: linear-gradient(180deg, #dfd2c2, #a89278 55%, #6e5f50);
}

.product-card__visual--4 {
  background-image: linear-gradient(145deg, #ebe3d6, #cfc0ad, #9e8d78);
}

.product-card__visual--5 {
  background-image: linear-gradient(210deg, #f5f0e8, #d8cbb8 40%, #b5a58f);
}

.product-card__visual--6 {
  background-image: linear-gradient(170deg, #e6ddd0, #cbbba6, #958675);
}

.product-card__visual--7 {
  background-image: linear-gradient(155deg, #f0e8d8, #d2c2ab 40%, #8d7b66);
}

.product-card__visual--8 {
  background-image: linear-gradient(200deg, #d8cfc2, #9e8b74 50%, #5c5146);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
}

.product-card__category {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.product-card__name {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.12;
}

.product-card__notes {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-muted);
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.35rem;
}

.product-card__price {
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.product-card__add {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s, color 0.25s;
}

.product-card:hover .product-card__add,
.product-card:focus-within .product-card__add {
  opacity: 1;
  transform: translateY(0);
}

.product-card__add:hover {
  background: transparent;
  color: var(--ink);
}

/* ——— Showroom / about ——— */
.about-page {
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.showroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.showroom__photo {
  min-height: 420px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

#products-section,
#productGrid,
#about,
#payment,
#hits {
  scroll-margin-top: calc(var(--header-h) + 2.75rem);
}

.showroom__photo picture,
.showroom__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showroom__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.showroom__text {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  font-weight: 300;
  font-size: 1.02rem;
}

.contact-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-icons li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.contact-icons__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent-deep);
  background: var(--surface);
}

.contact-icons__label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.contact-icons a {
  display: inline;
}

.contact-icons a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-icons__wa {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.map-wrap {
  margin-bottom: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  height: min(380px, 55vw);
  background: var(--bg-soft);
  touch-action: pan-y;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.85) sepia(0.22) contrast(0.92) brightness(1.05);
  pointer-events: none;
}

.map-wrap.is-map-active .map-frame {
  pointer-events: auto;
}

.map-hint {
  margin: 0 0 2.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

.contact-form-section {
  max-width: 40rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field[hidden] {
  display: none !important;
}

.field span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  transition: border-color 0.25s var(--ease);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-deep);
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-deep);
}

/* ——— Cart drawer ——— */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 42, 40, 0.35);
  z-index: 60;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

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

.cart-overlay[hidden] {
  display: none !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: var(--drawer-w);
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -16px 0 48px rgba(44, 42, 40, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-sizing: border-box;
  overflow: hidden;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-drawer__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.cart-drawer__sub[hidden] {
  display: none !important;
}

.cart-drawer__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.cart-drawer__close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
}

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

.cart-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.35rem;
}

.cart-drawer__footer {
  padding: 1.15rem 1.35rem calc(1.25rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  max-height: min(48dvh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--card);
  min-width: 0;
}

.cart-promo {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  min-width: 0;
}

.cart-promo__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  min-width: 0;
}

.cart-promo__input {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.cart-empty {
  padding: 1.5rem 0;
  color: var(--ink-muted);
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__thumb {
  width: 64px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.cart-item__thumb--1 { background-image: linear-gradient(160deg, #ebe3d6, #8a7b6a); }
.cart-item__thumb--2 { background-image: linear-gradient(200deg, #f0e8dc, #b09a82); }
.cart-item__thumb--3 { background-image: linear-gradient(180deg, #dfd2c2, #6e5f50); }
.cart-item__thumb--4 { background-image: linear-gradient(145deg, #ebe3d6, #9e8d78); }
.cart-item__thumb--5 { background-image: linear-gradient(210deg, #f5f0e8, #b5a58f); }
.cart-item__thumb--6 { background-image: linear-gradient(170deg, #e6ddd0, #958675); }
.cart-item__thumb--7 { background-image: linear-gradient(155deg, #f0e8d8, #8d7b66); }
.cart-item__thumb--8 { background-image: linear-gradient(200deg, #d8cfc2, #5c5146); }

.cart-item__name {
  margin: 0 0 0.15rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.cart-item__meta {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cart-item__qty button {
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.cart-item__qty span {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.cart-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cart-item__price {
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item__remove {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

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

.cart-promo__toggle {
  width: 100%;
  justify-self: stretch;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.cart-promo__toggle:hover {
  background: var(--ink);
  color: var(--surface);
}

.cart-promo__toggle[hidden] {
  display: none !important;
}

.cart-promo__form[hidden] {
  display: none !important;
}

.cart-promo__input:focus {
  border-color: var(--accent-deep);
}

.cart-promo__btn {
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.cart-promo__btn:hover {
  background: var(--ink);
  color: var(--surface);
}

.cart-promo__status {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--accent-deep);
  word-break: break-word;
}

.cart-shipping {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.cart-shipping.is-free {
  color: var(--accent-deep);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.cart-total strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

/* ——— Footer ——— */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.85rem 1.35rem;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  z-index: 80;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
  }

  .showroom__photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 220px;
  }

  .hero__frame {
    display: none;
  }

  .catalog-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .catalog-bar__sort {
    max-width: none;
    width: 100%;
  }

  .catalog-nav__sep {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: block;
  }

  .header-search__toggle {
    display: inline-flex;
  }

  .header-search__field {
    display: none;
    position: fixed;
    left: var(--space);
    right: var(--space);
    top: calc(var(--header-h) + 0.45rem);
    z-index: 46;
    width: auto;
  }

  .header-search.is-open .header-search__field {
    display: block;
  }

  .header-search__field input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 10px 28px rgba(44, 42, 40, 0.14);
    background: var(--surface);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 41;
    background: rgba(44, 42, 40, 0.35);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }

  .nav-backdrop[hidden] {
    display: none !important;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 42;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 0.35rem var(--space) 1.35rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(44, 42, 40, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav__link--wa {
    display: block;
    color: var(--accent-deep);
    font-weight: 600;
    border-bottom: none;
  }

  .hero {
    min-height: clamp(280px, 44vh, 420px);
  }

  .hero__content {
    margin-left: var(--space);
    padding-block: 1.5rem 1.75rem;
    max-width: none;
    width: calc(100% - 2 * var(--space));
  }

  .hero__brand {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
    margin-bottom: 0.45rem;
  }

  .hero__title {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
    margin-bottom: 0.55rem;
  }

  .hero__subtitle {
    margin-bottom: 1.1rem;
    font-size: 0.92rem;
  }

  .pickup-bar {
    padding: 0.3rem 0;
    font-size: 0.68rem;
  }

  .trust {
    padding: 0.55rem 0;
    font-size: 0.78rem;
  }

  .trust__inner {
    gap: 0.35rem 0.85rem;
  }

  .catalog-nav__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .catalog-nav__group {
    width: 100%;
    gap: 0.35rem 0.85rem;
  }

  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .products__grid--hits {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-block: 0.35rem 0.5rem;
    margin-inline: calc(-1 * var(--space));
    padding-inline: var(--space);
    -webkit-overflow-scrolling: touch;
  }

  .products__grid--hits .product-card {
    flex: 0 0 min(72vw, 16.5rem);
    scroll-snap-align: start;
  }

  .products__grid--hits .product-card__visual,
  .products__grid .product-card__visual {
    aspect-ratio: 1 / 1;
  }

  .product-card__body {
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .product-card__notes {
    display: none;
  }

  .product-card__name {
    font-size: 1rem;
  }

  .product-card__add,
  .product-card__wish {
    opacity: 1;
    transform: none;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100vw;
    border-left: none;
  }

  .cart-drawer__head {
    padding: 1rem 1rem 0.9rem;
  }

  .cart-drawer__body {
    padding: 0.75rem 1rem;
  }

  .cart-drawer__footer {
    padding: 0.9rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
    max-height: min(52dvh, 24rem);
  }

  .cart-promo__form {
    grid-template-columns: 1fr;
  }

  .cart-promo__btn {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0.65rem;
  }

  .cart-item__thumb {
    width: 56px;
    height: 70px;
  }

  .cart-item__name {
    font-size: 1rem;
  }

  .checkout__lines li {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-modal {
    grid-template-rows: minmax(160px, 30vh) minmax(0, 1fr);
    max-height: 94dvh;
  }

  .product-modal__visual {
    min-height: 160px;
    max-height: 30vh;
  }

  .product-modal__actions {
    position: sticky;
    bottom: 0;
    padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
    z-index: 2;
  }

  .product-modal__scroll {
    padding: 0.9rem 1rem 0.65rem;
  }

  .about-page {
    padding-bottom: 2.75rem;
  }

  .section-head--page {
    margin-bottom: 1.1rem;
  }

  .section-head--page .section-lead {
    font-size: 0.9rem;
    margin-top: 0.35rem;
  }

  .showroom {
    gap: 1rem;
    margin-bottom: 1.15rem;
  }

  .showroom__photo {
    aspect-ratio: 16 / 9;
    max-height: 190px;
    border-radius: 8px;
  }

  .showroom__title {
    font-size: 1.4rem;
    margin-bottom: 0.55rem;
  }

  .showroom__text {
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .contact-icons {
    gap: 0.75rem;
  }

  .contact-icons li {
    gap: 0.65rem;
  }

  .contact-icons__icon {
    width: 2rem;
    height: 2rem;
  }

  .map-wrap {
    height: 200px;
    margin-bottom: 0.5rem;
    border-radius: 8px;
  }

  .map-hint {
    margin-bottom: 1.75rem;
    font-size: 0.72rem;
  }

  .pay-section {
    padding-block: 2rem;
  }

  .related__list {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    gap: 0.65rem;
    padding-bottom: 0.25rem;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
  }

  .related-row {
    flex: 0 0 min(78%, 13.5rem);
    scroll-snap-align: start;
    grid-template-columns: 48px 1fr;
    gap: 0.55rem;
  }

  .related-row__photo {
    width: 48px;
    height: 58px;
  }

  .related__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .product-card__wish {
    width: 2.35rem;
    height: 2.35rem;
    top: 0.45rem;
    right: 0.45rem;
    font-size: 0;
  }

  .product-card__wish .wish-icon {
    width: 17px;
    height: 17px;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.icon-btn--plain {
  width: auto;
  height: auto;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.35rem;
  font-size: 0;
}

.icon-btn--plain svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-btn.is-on,
.product-card__wish.is-on,
#pmWish.is-on {
  color: var(--accent-deep);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions .btn {
  animation: fadeUp 0.7s var(--ease) 0.4s both;
}

.btn--ghost-hero {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border-color: var(--ink);
  color: var(--ink);
  animation: fadeUp 0.7s var(--ease) 0.5s both;
}

.btn--ghost-hero:hover {
  background: var(--ink);
  color: var(--surface);
}

.toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.search input,
.sort {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  border-radius: 4px;
}

.search input:focus,
.sort:focus {
  border-color: var(--accent-deep);
}

.sort {
  min-width: 11rem;
  max-width: 16rem;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.trust {
  margin: 0;
  padding: 0.85rem 0;
  border-block: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  text-align: center;
}

.trust__inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}

.hits {
  padding-block: clamp(2rem, 5vw, 3.25rem) 0;
}

.hits[hidden] {
  display: none !important;
}

.product-card--hit {
  border-color: color-mix(in srgb, var(--ink) 28%, var(--line));
}

.product-card--hit:hover {
  border-color: color-mix(in srgb, var(--ink) 40%, var(--line));
}

.product-card--new {
  border-color: color-mix(in srgb, var(--accent-deep) 65%, #c9a86c);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #c9a86c 28%, transparent),
    0 8px 22px color-mix(in srgb, #c4b5a0 35%, transparent);
}

.product-card--new:hover {
  border-color: color-mix(in srgb, var(--accent-deep) 55%, #d4b56a);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #d4b56a 40%, transparent),
    0 12px 28px color-mix(in srgb, #c4b5a0 42%, transparent);
  transform: translateY(-3px);
}

html[data-theme="night"] .product-card--new {
  border-color: color-mix(in srgb, var(--accent) 50%, #a89060);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #c4b5a0 18%, transparent),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.product-card__tag {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: inline-block;
  margin: 0;
  padding: 0.22rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
  pointer-events: none;
}

.product-card__tag--hit {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.product-card__tag--new {
  color: var(--accent-deep);
  background: color-mix(in srgb, #f5efe4 88%, #c9a86c);
  border-color: color-mix(in srgb, #c9a86c 55%, var(--accent-deep));
  box-shadow: 0 1px 6px color-mix(in srgb, #c4b5a0 40%, transparent);
}

html[data-theme="night"] .product-card__tag--new {
  color: #e8dcc8;
  background: color-mix(in srgb, var(--card) 75%, #9a8b76);
  border-color: color-mix(in srgb, #c4b5a0 45%, transparent);
  box-shadow: none;
}

.product-modal__wa {
  margin-right: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

.product-modal__actions .btn {
  margin-left: 0.15rem;
}

.section-head--tight {
  margin-bottom: 1.25rem;
}

.products__grid--hits {
  grid-template-columns: repeat(3, 1fr);
}

.filter-block {
  margin-bottom: 1rem;
}

.filter-label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}

.band--tight {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.band__cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

.reviews--compact {
  grid-template-columns: 1fr 1fr;
  max-width: 40rem;
  margin-inline: auto;
}

.wa-sticky {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 55;
  min-height: 3.25rem;
  padding: 0 1rem 0 0.85rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: #2c2a28;
  color: #faf7f2;
  box-shadow: 0 8px 24px rgba(44, 42, 40, 0.2);
  transition: transform 0.25s var(--ease);
}

.wa-sticky__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.wa-sticky:hover {
  transform: scale(1.04);
}

.to-top {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 55;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s, border-color 0.25s;
  box-shadow: 0 8px 24px rgba(44, 42, 40, 0.08);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

@media (max-width: 900px) {
  .wa-sticky {
    display: inline-flex;
  }

  .to-top {
    left: auto;
    right: 1.1rem;
    bottom: 4.7rem;
  }

  .toolbar {
    justify-content: stretch;
  }

  .toolbar .sort {
    max-width: none;
    width: 100%;
  }

  .reviews--compact {
    grid-template-columns: 1fr;
  }
}

html[data-theme="night"] .wa-sticky {
  background: #c4b5a0;
  color: #1c1a18;
}

.filter,
.quiz-opt {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-muted);
}

.volume {
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: var(--ink-muted);
}

.volumes-label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.filter.is-active,
.volume.is-active {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

html[data-theme="night"] .filter,
html[data-theme="night"] .quiz-opt,
html[data-theme="night"] .volume {
  color: var(--ink-muted);
  background: transparent;
  border-color: var(--line);
}

html[data-theme="night"] .filter.is-active,
html[data-theme="night"] .volume.is-active {
  color: var(--ink);
  background: var(--card);
  border-color: var(--accent-deep);
}

html[data-theme="night"] .catalog-nav .filter {
  color: var(--ink-muted);
  background: transparent;
  border: none;
}

html[data-theme="night"] .catalog-nav .filter.is-active {
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
}

html[data-theme="night"] .sort,
html[data-theme="night"] .header-search__field input,
html[data-theme="night"] .search input {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line);
}

.product-card__visual {
  cursor: pointer;
}

.product-card__wish {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 4;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: var(--surface);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 2px 10px rgba(44, 42, 40, 0.12);
  padding: 0;
  line-height: 0;
  font-size: 0;
  -webkit-tap-highlight-color: transparent;
}

.product-card__wish .wish-icon,
.wish-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.product-card__wish.is-on .wish-icon path,
#pmWish.is-on .wish-icon path,
#wishLink.is-on .wish-icon path {
  fill: currentColor;
  stroke: currentColor;
}

.linkish {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.products__grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.band,
.quiz-section,
.faq-section,
.pay-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.pay-section {
  padding-top: 1.5rem;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.pay-card {
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.pay-card__icon {
  display: inline-flex;
  color: var(--accent-deep);
  margin-bottom: 0.55rem;
}

.pay-card__title {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.pay-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.4;
}

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

.band {
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review {
  margin: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
}

.review p {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.review footer {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 500;
}

.faq__item p {
  margin: 0.6rem 0 0;
  color: var(--ink-muted);
}

.journal-list {
  display: grid;
  gap: 1.5rem;
  max-width: 40rem;
}

.journal-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.journal-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.quiz__q {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

.quiz__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.quiz__done {
  color: var(--ink-muted);
}

.footer__links {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 42, 40, 0.4);
  z-index: 75;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
}

.product-modal[hidden],
.modal-overlay[hidden] {
  display: none !important;
}

.cart-item .product-card__add {
  opacity: 1;
  transform: none;
}

.product-modal {
  position: fixed;
  z-index: 76;
  top: 50%;
  left: 50%;
  width: min(1080px, calc(100% - 2 * var(--space)));
  max-height: 90dvh;
  height: auto;
  margin: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px));
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.product-modal__visual {
  grid-column: 1;
  grid-row: 1;
  min-height: min(520px, 78dvh);
  height: 100%;
  max-height: 90dvh;
  border-radius: 12px 0 0 12px;
  background-color: var(--bg-soft);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  overflow: hidden;
}

.product-modal__body {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  max-height: 90dvh;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.product-modal__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.15rem 1.35rem 0.85rem;
  scrollbar-width: thin;
}

.product-modal__name {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
}

.product-modal__text,
.product-modal__apply {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
}

.pyramid {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  font-size: 0.84rem;
}

.pyramid span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.volumes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.inci {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.inci summary {
  cursor: pointer;
  color: var(--ink);
}

.inci p {
  margin: 0.4rem 0 0;
}

.hits__note {
  margin-top: 0.35rem;
}

.related {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.related[hidden] {
  display: none !important;
}

.related__title {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.related__list {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  gap: 0.65rem;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
}

.related-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.75rem;
  align-items: center;
  flex: 0 0 min(58%, 15rem);
  scroll-snap-align: start;
  width: auto;
  min-width: 0;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
  cursor: pointer;
}

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

.related-row__photo {
  width: 52px;
  height: 64px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

.related-row__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.related-row__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.related-row__price {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.product-modal__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.35rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.product-modal__price {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-right: auto;
}

.ask-stock {
  margin-top: 2.5rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

.ask-stock__title {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.ask-stock__text {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.ask-stock-inline {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.ask-stock-inline a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.checkout {
  display: grid;
  gap: 0.95rem;
  padding-bottom: 1rem;
}

.checkout[hidden] {
  display: none !important;
}

.checkout__back {
  justify-self: start;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent-deep);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.checkout__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.checkout__summary {
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
}

.checkout__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.checkout__lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

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

.checkout__discount {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: var(--accent-deep);
}

.checkout__total {
  display: flex;
  justify-content: space-between;
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.checkout__total strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.checkout__pickup {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ink);
  background: var(--surface);
}

.checkout__pickup strong {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout__pickup span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.checkout__pay-note {
  margin-top: 0.25rem !important;
  font-size: 0.8rem !important;
  color: var(--accent-deep) !important;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .reviews,
  .products__grid--two {
    grid-template-columns: 1fr;
  }

  .product-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 94dvh;
    height: auto;
    border-radius: 14px 14px 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(180px, 32vh) minmax(0, 1fr);
    transform: translateY(100%);
  }

  .product-modal.is-open {
    transform: translateY(0);
  }

  .product-modal__visual {
    grid-column: 1;
    grid-row: 1;
    border-radius: 14px 14px 0 0;
    min-height: 180px;
    height: auto;
    max-height: 32vh;
    aspect-ratio: auto;
    background-size: contain;
    background-position: center center;
  }

  .product-modal__body {
    grid-column: 1;
    grid-row: 2;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
