@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url("./assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url("./assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f8f7f3;
  --text: #222222;
  --muted: #616161;
  --accent: #c67c4e;
  --card: #ffffff;
  --line: #ece7df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, 0.96);
  backdrop-filter: blur(6px);
}

.topbar__row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-topbar__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.product-topbar__left {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-topbar__center {
  justify-self: center;
}

.product-topbar__right {
  justify-self: end;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

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

.brand__link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  border: 1px solid #d9cebe;
  border-radius: 999px;
  padding: 3px 8px;
  color: #7f5b3b;
  background: #fffaf4;
}

.cart-button,
button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.cart-button--blink {
  animation: cart-blink 350ms ease-in-out 2;
}

.cart-button--icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  flex-shrink: 0;
}

a.cart-button--icon {
  text-decoration: none;
}

.cart-button__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.cart-button__count {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

.cart-button__count[hidden] {
  display: none;
}

@keyframes cart-blink {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.45);
  }
}

.header-socials {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.header-socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  color: #6d4b2f;
  border: 1px solid #d9cebe;
  background: #fffaf4;
}

.header-socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.site-search-bar {
  position: relative;
  z-index: 5;
  margin: 0 0 14px;
}

.site-search {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 640px;
}

.site-search__icon {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: #7a604c;
  font-size: 1.2rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.site-search__input {
  width: 100%;
  min-height: 42px;
  padding: 9px 88px 9px 40px;
  border: 1px solid #d9cebe;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.site-search__input:focus {
  border-color: #a66a42;
  outline: 2px solid rgba(198, 124, 78, 0.2);
}

.site-search__submit {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  min-width: 76px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #8b5a36;
  color: #fff;
  font-weight: 700;
}

.site-search__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  border: 1px solid #d9cebe;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(50, 31, 18, 0.18);
}

.site-search__result {
  display: block;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.site-search__result:last-child {
  border-bottom: 0;
}

.site-search__result:hover,
.site-search__result:focus-visible {
  background: #fff5e9;
}

.site-search__empty {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
}

.hero {
  padding: 22px 0 8px;
}

.desktop-banners {
  width: 100%;
  display: none;
  padding: 16px 0 10px;
}

.desktop-hero {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: clamp(240px, 26vw, 360px);
  overflow: hidden;
  text-decoration: none;
  color: #fff8f0;
  border-top: 1px solid #c9ae90;
  border-bottom: 1px solid #c9ae90;
  background:
    radial-gradient(ellipse 55% 80% at 88% 18%, rgba(255, 214, 160, 0.48), transparent 55%),
    radial-gradient(ellipse 42% 70% at 10% 92%, rgba(198, 124, 78, 0.38), transparent 52%),
    linear-gradient(115deg, #2a1c14 0%, #4a2f20 38%, #8b5a36 72%, #c67c4e 100%);
}

.desktop-hero--horoscope {
  border-color: #a89884;
  background:
    radial-gradient(ellipse 50% 70% at 86% 16%, rgba(255, 220, 170, 0.4), transparent 55%),
    radial-gradient(ellipse 40% 65% at 12% 90%, rgba(120, 88, 64, 0.42), transparent 52%),
    linear-gradient(118deg, #1c1712 0%, #2f261c 36%, #5a4634 70%, #8a6a4a 100%);
}

.desktop-hero--svata {
  border-color: #c4a07a;
  background:
    radial-gradient(ellipse 52% 75% at 90% 14%, rgba(255, 210, 150, 0.45), transparent 55%),
    radial-gradient(ellipse 44% 68% at 8% 88%, rgba(160, 72, 48, 0.36), transparent 52%),
    linear-gradient(116deg, #2c1610 0%, #5a2a1c 40%, #9a5232 74%, #c47a48 100%);
}

.desktop-hero__glow {
  position: absolute;
  inset: -20% auto auto 52%;
  width: 52%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 236, 200, 0.32) 0%, transparent 68%);
  animation: desktop-hero-glow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.desktop-hero__flame {
  position: absolute;
  right: clamp(8%, 12vw, 16%);
  bottom: -22%;
  width: clamp(130px, 15vw, 220px);
  height: clamp(200px, 28vw, 340px);
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(
    ellipse at 50% 78%,
    rgba(255, 244, 214, 0.95) 0%,
    rgba(255, 196, 110, 0.55) 28%,
    rgba(198, 124, 78, 0.2) 58%,
    transparent 76%
  );
  filter: blur(2px);
  pointer-events: none;
  animation: desktop-hero-flame 3.6s ease-in-out infinite alternate;
}

.desktop-hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 248, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 240, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.desktop-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: start;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 40px 0;
  animation: desktop-hero-rise 0.9s ease both;
}

.desktop-hero__eyebrow {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffe2c0;
}

.desktop-hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #fff8f0;
  text-wrap: balance;
}

.desktop-hero__text {
  margin: 0;
  max-width: 42ch;
  font-family: Manrope, sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 248, 240, 0.88);
}

.desktop-hero__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 248, 240, 0.55);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.12);
  backdrop-filter: blur(4px);
  font-family: Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff8f0;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.desktop-hero__cta::after {
  content: "→";
  transition: transform 220ms ease;
}

.desktop-hero:hover .desktop-hero__cta,
.desktop-hero:focus-visible .desktop-hero__cta {
  background: rgba(255, 248, 240, 0.22);
  border-color: #fff8f0;
  transform: translateY(-1px);
}

.desktop-hero:hover .desktop-hero__cta::after,
.desktop-hero:focus-visible .desktop-hero__cta::after {
  transform: translateX(4px);
}

@keyframes desktop-hero-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  to {
    transform: translate3d(-4%, 3%, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes desktop-hero-flame {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  to {
    transform: translate3d(2%, -3%, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes desktop-hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.banner-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}


.banner-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #fff8f0;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--banner-transition, 850ms) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--banner-transition, 850ms) cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  z-index: 1;
}

.banner-stage .banner-slide__image:not(.is-active) {
  opacity: 0;
}

.banner-slide__image.is-active {
  opacity: 1;
  z-index: 2;
}

.banner-stage[data-direction="next"] .banner-slide__image.is-entering {
  transform: translate3d(100%, 0, 0);
  opacity: 1;
  z-index: 3;
}

.banner-stage[data-direction="next"] .banner-slide__image.is-active.is-entering {
  transform: translate3d(0, 0, 0);
}

.banner-stage[data-direction="next"] .banner-slide__image.is-leaving {
  transform: translate3d(-100%, 0, 0);
  opacity: 0.35;
}

.banner-stage[data-direction="prev"] .banner-slide__image.is-entering {
  transform: translate3d(-100%, 0, 0);
  opacity: 1;
  z-index: 3;
}

.banner-stage[data-direction="prev"] .banner-slide__image.is-active.is-entering {
  transform: translate3d(0, 0, 0);
}

.banner-stage[data-direction="prev"] .banner-slide__image.is-leaving {
  transform: translate3d(100%, 0, 0);
  opacity: 0.35;
}

.banner-stage[data-direction="fade"] .banner-slide__image.is-entering {
  opacity: 0;
}

.banner-stage[data-direction="fade"] .banner-slide__image.is-active.is-entering {
  opacity: 1;
}

.banner-stage[data-direction="fade"] .banner-slide__image.is-leaving {
  opacity: 0;
}

.banner-stage.is-dragging .banner-slide__image.is-active {
  transition: none;
  transform: translate3d(var(--banner-drag, 0%), 0, 0);
}

.banner-caption {
  padding: 14px 16px 4px;
  display: grid;
  gap: 4px;
  background: #fff8f0;
  border-bottom: 1px solid #d8c3ab;
  transition: opacity var(--banner-transition, 850ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-caption.is-transitioning {
  opacity: 0.2;
}

.banner-caption[hidden] {
  display: none !important;
}

.banner-caption__label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b5a36;
  font-weight: 700;
}

.banner-caption__title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: inherit;
  font-weight: 700;
}

.promo-banner {
  margin-top: 14px;
  border-top: 1px solid #d8c3ab;
  border-bottom: 1px solid #d8c3ab;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  align-items: stretch;
  background: #fff8f0;
}

.promo-banner__link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  min-height: 0;
  touch-action: pan-y;
}

.promo-banner__link > #promoImage {
  width: 100%;
  height: auto;
  /* Matches first banner (1024×1024) with FIRST_BANNER_SIZE_BOOST 0.9416 — reserve final height before JS */
  aspect-ratio: 1024 / 964;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #fff8f0;
}

.promo-banner__stage {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1024 / 964;
  background: #fff8f0;
}

.promo-banner__stage--static {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  height: auto;
}

.promo-banner__stage--static picture {
  display: block;
  width: 100%;
  height: auto;
}

.promo-banner__stage--static img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 560px) {
  .promo-banner__link > #promoImage {
    aspect-ratio: 1024 / 964;
  }

  .promo-banner__stage:not(.promo-banner__stage--static) {
    aspect-ratio: 1024 / 964;
  }
}

.promo-banner img,
.promo-banner .banner-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #fff8f0;
  display: block;
}

.promo-banner__content {
  padding: 14px 16px 4px;
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 0;
  border-bottom: 0;
  transition: opacity var(--banner-transition, 850ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-banner__content.is-transitioning {
  opacity: 0.2;
}

.promo-banner__content[hidden] {
  display: none !important;
}

.promo-banner__dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px 12px;
  min-height: 32px;
}

.promo-banner__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #d6b899;
  padding: 0;
}

.promo-banner__dot.is-active {
  background: #8b5a36;
}

.promo-banner__label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b5a36;
  font-weight: 700;
}

.promo-banner__content h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.product-page {
  padding: 20px 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}

.product-socials {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-view,
.product-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.product-price {
  margin: 8px 0 12px;
}

.product-controls {
  margin-bottom: 12px;
}

.product-tabs {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
}

.product-tabs__btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.product-tabs__btn.is-active {
  background: #fff;
  color: #8b5a36;
  box-shadow: 0 1px 4px rgba(34, 24, 14, 0.08);
}

.product-tabs__count {
  margin-left: 0.35em;
  font-weight: 700;
  color: #8b5a36;
  white-space: nowrap;
}

.product-tabs__panel {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-tabs__panel[hidden] {
  display: none !important;
}

.product-tabs__panel p {
  margin: 0;
}

.product-specs-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.product-specs-list li {
  padding-left: 2px;
}

.product-reviews-summary {
  display: grid;
  grid-template-columns: minmax(110px, 140px) 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
}

.product-reviews-summary__score {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.product-reviews-summary__average {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #8b5a36;
}

.product-reviews-summary__stars {
  color: #c9a227;
  font-size: 1rem;
  letter-spacing: 1px;
}

.product-reviews-summary__total {
  font-size: 0.82rem;
  color: var(--muted);
}

.product-reviews-bars {
  display: grid;
  gap: 6px;
}

.product-reviews-bar {
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  align-items: center;
  gap: 8px;
}

.product-reviews-bar__label {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.product-reviews-bar__track {
  height: 8px;
  border-radius: 999px;
  background: #efe6da;
  overflow: hidden;
}

.product-reviews-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: #c9a227;
  min-width: 0;
  transition: width 240ms ease;
}

.product-reviews-bar__count {
  font-size: 0.82rem;
  color: var(--text);
  text-align: right;
}

.product-reviews-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.product-reviews-list:empty {
  display: none;
}

.product-reviews-pagination {
  padding: 4px 0 16px;
}

.product-reviews-pagination button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #8b5a36;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.product-review-toggle {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #8b5a36;
  background: #fff;
  color: #8b5a36;
  font-weight: 600;
}

.product-review-toggle[hidden] {
  display: none !important;
}

.product-review-auth {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.product-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.product-review-user__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.product-review-user__info {
  display: grid;
  gap: 2px;
}

.product-review-user__logout {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: underline;
}

.google-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
}

.google-signin-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.56 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.16 7.11-10.28 7.11-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59a14.5 14.5 0 0 1 0-9.18l-7.98-6.19a24 24 0 0 0 0 21.56l7.98-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.9-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.17 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
}

.google-signin-btn[hidden] {
  display: none !important;
}

.catalog-admin {
  padding: 24px 0 40px;
  display: grid;
  gap: 16px;
  color: #2b2118;
}

.catalog-admin__title {
  margin: 0;
  color: #2b2118;
}

.catalog-admin__login[hidden],
.catalog-admin__panel[hidden],
.catalog-admin__photos[hidden],
.catalog-admin__tab-panel[hidden] {
  display: none !important;
}

.catalog-admin__hint {
  margin: 0;
  color: var(--muted);
}

.catalog-admin__field-hint {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

.catalog-admin__login,
.catalog-admin__panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.catalog-admin__login label,
.catalog-admin__form label {
  display: grid;
  gap: 6px;
}

.catalog-admin__msg {
  margin: 0;
  color: #2f6b3f;
}

.catalog-admin__msg.is-error {
  color: #9a3a3a;
}

.catalog-admin__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-admin__tabs {
  display: flex;
  gap: 8px;
}

.catalog-admin__tab {
  background: #fff8f0;
  border: 1px solid var(--line);
  color: #2b2118;
}

.catalog-admin__tab.is-active {
  background: #2b2118;
  color: #fff;
}

.catalog-admin__ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: #2b2118;
}

.catalog-admin__card-actions button:not(.is-danger) {
  background: #fff8f0;
  border: 1px solid var(--line);
  color: #2b2118;
}

.catalog-admin__sub button {
  background: #fff;
  border: 1px solid var(--line);
  color: #2b2118;
}

.catalog-admin__photo-actions button:not(.is-danger) {
  background: #fff8f0;
  border: 1px solid var(--line);
  color: #2b2118;
}

.catalog-admin__fold {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 12px;
}

.catalog-admin__fold-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: #fff8f0;
  color: #2b2118;
  text-align: left;
  font-weight: 700;
}

#productFormToggle {
  background: linear-gradient(135deg, #e8a54b 0%, #d4892a 100%);
  color: #1a120c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

#productFormToggle:hover {
  background: linear-gradient(135deg, #f0b45a 0%, #e09535 100%);
}

.catalog-admin__fold.is-open .catalog-admin__fold-toggle {
  background: #f3ebe2;
  border-bottom: 1px solid var(--line);
}

.catalog-admin__fold.is-open #productFormToggle {
  background: linear-gradient(135deg, #d4892a 0%, #c47a22 100%);
  border-bottom: 1px solid rgba(43, 33, 24, 0.15);
  color: #1a120c;
}

.catalog-admin__fold.is-open .catalog-admin__cat-caret {
  transform: rotate(180deg);
}

.catalog-admin__fold-body {
  padding: 14px;
}

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

.catalog-admin__form--nested {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.catalog-admin__form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff8f0;
}

.catalog-admin__form h3 {
  margin: 0;
}

.catalog-admin__form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-admin__check {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.catalog-admin__list {
  display: grid;
  gap: 12px;
}

.catalog-admin__card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 10px;
}

.catalog-admin__cat-card {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.catalog-admin__cat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: #fff8f0;
  color: #2b2118;
  text-align: left;
}

.catalog-admin__cat-toggle-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.catalog-admin__cat-meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.catalog-admin__cat-caret {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.catalog-admin__cat-card.is-open .catalog-admin__cat-caret {
  transform: rotate(180deg);
}

.catalog-admin__cat-card.is-open .catalog-admin__cat-toggle {
  background: #f3ebe2;
  border-bottom: 1px solid var(--line);
}

.catalog-admin__cat-body {
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
}

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

.catalog-admin__card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-admin__card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-admin__card-actions .is-danger,
.catalog-admin__sub button.is-danger {
  background: #a63e3e;
  color: #fff;
}

.catalog-admin__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f0e0d0;
  font-size: 0.75rem;
  color: #7a4a2a;
}

.catalog-admin__subs h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.catalog-admin__subs ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.catalog-admin__sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #fff8f0;
  border-radius: 6px;
}

.catalog-admin__sub-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-admin__sub-form input {
  flex: 1;
  min-width: 120px;
}

.catalog-admin__product-card {
  grid-template-columns: 64px 1fr auto;
  align-items: center;
}

.catalog-admin__product-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f3ebe2 center/cover no-repeat;
}

.catalog-admin__meta {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 2px;
}

.catalog-admin__filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}

.catalog-admin__filter label {
  display: grid;
  gap: 6px;
}

.catalog-admin__empty {
  margin: 0;
  color: var(--muted);
}

.subfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.subfilter__btn {
  background: #fff;
  border: 1px solid var(--line);
  color: #2b2118;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.subfilter__btn.is-active {
  background: #2b2118;
  color: #fff;
}

.price--sale {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25;
}

.price__old {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85em;
}

.price__new {
  color: #9a3a3a;
}

.price__badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f3d6d6;
  color: #9a3a3a;
  font-size: 0.75rem;
  font-weight: 700;
}

.catalog-admin__discount {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: #fff;
}

.catalog-admin__discount legend {
  padding: 0 4px;
  font-weight: 600;
}

.catalog-admin__segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-admin__segment--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.catalog-admin__segment-btn {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.catalog-admin__segment-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.catalog-admin__segment-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff8f0;
  color: #2b2118;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.catalog-admin__segment-btn input:checked + span {
  background: #2b2118;
  border-color: #2b2118;
  color: #fff;
}

.catalog-admin__options {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 10px;
}

.catalog-admin__options-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.catalog-admin__options-hint {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.catalog-admin__chips.is-reordering,
.catalog-admin__photos-grid.is-reordering {
  cursor: grabbing;
}

.catalog-admin__chip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.catalog-admin__chip-wrap.is-dragging {
  cursor: grabbing;
  opacity: 0.72;
  z-index: 3;
  transform: scale(1.04);
  pointer-events: none;
}

.catalog-admin__chip {
  border: 1px solid var(--line);
  background: #fff8f0;
  color: #2b2118;
  border-radius: 999px;
  padding: 8px 28px 8px 12px;
  font-weight: 600;
}

.catalog-admin__chip.is-active {
  background: #2b2118;
  border-color: #2b2118;
  color: #fff;
}

.catalog-admin__chip-del {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a63e3e;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  z-index: 1;
}

.catalog-admin__chip.is-active + .catalog-admin__chip-del,
.catalog-admin__chip-wrap .catalog-admin__chip.is-active ~ .catalog-admin__chip-del {
  background: #c45a5a;
}

.catalog-saved-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(43, 33, 24, 0.35);
  padding: 16px;
}

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

.catalog-saved-modal__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 28px;
  min-width: min(320px, 90vw);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.catalog-saved-modal__box p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2f6b3f;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.catalog-admin__add-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-admin__add-row input {
  flex: 1;
  min-width: 140px;
}

.catalog-admin__add-row--color input[type="number"] {
  flex: 0 0 120px;
  min-width: 110px;
}

.catalog-admin__form-actions--sticky {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.catalog-admin__photos {
  margin-top: 4px;
}

.menu-cat__subs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 12px;
  display: grid;
  gap: 4px;
}

.menu-cat__subs a {
  font-size: 0.92rem;
  color: var(--muted);
}

.desktop-nav__dropdown .menu-cat__subs {
  padding-left: 10px;
}

.catalog-empty {
  margin: 12px 0;
  color: var(--muted);
}

.catalog-admin__count {
  margin: 0 0 8px;
  font-weight: 600;
}

.catalog-admin__photos {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff8f0;
  display: grid;
  gap: 10px;
}

.catalog-admin__photos-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-admin__photos-head h3 {
  margin: 0;
}

.catalog-admin__photos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-admin__media-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 188px);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.catalog-admin__media-btn:hover {
  transform: translateY(-1px);
}

.catalog-admin__media-btn:active {
  transform: translateY(0);
}

.catalog-admin__media-btn--photo {
  background: linear-gradient(135deg, #c67c4e 0%, #a86438 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(168, 100, 56, 0.28);
}

.catalog-admin__media-btn--photo:hover {
  box-shadow: 0 8px 18px rgba(168, 100, 56, 0.34);
}

.catalog-admin__media-btn--video {
  background: #fff;
  color: #2b2118;
  border-color: #d9cebe;
  box-shadow: 0 4px 12px rgba(43, 33, 24, 0.06);
}

.catalog-admin__media-btn--video:hover {
  border-color: #c67c4e;
  background: #fffaf4;
  box-shadow: 0 6px 16px rgba(43, 33, 24, 0.1);
}

.catalog-admin__media-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.catalog-admin__media-btn--photo .catalog-admin__media-btn-icon {
  background: rgba(255, 255, 255, 0.2);
}

.catalog-admin__media-btn--video .catalog-admin__media-btn-icon {
  background: #fff1e6;
  color: #a86438;
}

.catalog-admin__media-btn-text {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.catalog-admin__media-btn-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.catalog-admin__media-btn-text small {
  font-size: 0.72rem;
  opacity: 0.82;
  font-weight: 500;
}

.catalog-admin__media-btn--video .catalog-admin__media-btn-text small {
  color: #7a6554;
  opacity: 1;
}

.catalog-admin__photo-preview--video {
  position: relative;
  background: #1f1a16;
  overflow: hidden;
}

.catalog-admin__photo-preview--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-admin__video-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-admin__photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.catalog-admin__photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  display: grid;
  gap: 6px;
}

.catalog-admin__photo-card[data-pos] {
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.catalog-admin__photo-card[data-pos].is-dragging {
  cursor: grabbing;
  opacity: 0.75;
  z-index: 3;
  box-shadow: 0 10px 24px rgba(43, 33, 24, 0.18);
  transform: scale(1.02);
  pointer-events: none;
}

.catalog-admin__photo-card .catalog-admin__photo-actions {
  touch-action: manipulation;
}

.catalog-admin__photo-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background-color: #fff8f0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
}

.catalog-admin__photo-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.catalog-admin__photo-actions {
  display: flex;
  gap: 6px;
}

.catalog-admin__photo-actions button {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
}

.catalog-admin__photo-actions button:disabled {
  opacity: 0.4;
  cursor: default;
}

.catalog-admin__review-text {
  margin: 0;
  white-space: pre-wrap;
}

.catalog-admin__review-reply {
  margin: 12px 0;
  padding: 12px;
  border-left: 3px solid #d4892a;
  background: #fff8f0;
  border-radius: 0 10px 10px 0;
}

.catalog-admin__review-reply strong {
  display: block;
  margin-bottom: 6px;
}

.catalog-admin__review-reply p {
  margin: 0 0 10px;
  white-space: pre-wrap;
}

.catalog-admin__reply-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

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

.catalog-admin__order-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-admin__review-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.catalog-admin__review-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.catalog-admin__review-avatar--fallback {
  display: grid;
  place-items: center;
  background: #efe2d3;
  color: var(--text);
  font-weight: 700;
}

.catalog-admin__review-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .catalog-admin {
    padding: 14px 0 28px;
    gap: 12px;
  }

  .catalog-admin.container {
    width: min(1120px, 94vw);
  }

  .catalog-admin__title {
    font-size: 1.55rem;
  }

  .catalog-admin__login,
  .catalog-admin__panel {
    padding: 12px;
    border-radius: 10px;
    gap: 10px;
  }

  .catalog-admin__hint {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .catalog-admin__hint code {
    display: inline-block;
    max-width: 100%;
    word-break: break-all;
  }

  .catalog-admin__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .catalog-admin__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .catalog-admin__tab {
    width: 100%;
    min-height: 42px;
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
  }

  #catalogAdminLogoutBtn {
    width: 100%;
    min-height: 42px;
  }

  .catalog-admin__login label,
  .catalog-admin__form label,
  .catalog-admin__filter label {
    font-size: 0.92rem;
  }

  .catalog-admin__login input,
  .catalog-admin__form input,
  .catalog-admin__form select,
  .catalog-admin__form textarea,
  .catalog-admin__filter input,
  .catalog-admin__filter select {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .catalog-admin__form textarea {
    min-height: 96px;
  }

  .catalog-admin__form-actions,
  .catalog-admin__card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-admin__form-actions button,
  .catalog-admin__card-actions button {
    width: 100%;
    min-height: 44px;
  }

  .catalog-admin__form-actions--sticky {
    position: sticky;
    bottom: 0;
    z-index: 6;
    margin: 8px -14px -14px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(255, 248, 240, 0.96);
    backdrop-filter: blur(6px);
  }

  .catalog-admin__fold-toggle,
  .catalog-admin__cat-toggle {
    padding: 12px;
    font-size: 0.95rem;
  }

  .catalog-admin__fold-body {
    padding: 12px;
  }

  .catalog-admin__filter {
    grid-template-columns: 1fr;
  }

  .catalog-admin__segment--3 {
    grid-template-columns: 1fr;
  }

  .catalog-admin__product-card {
    grid-template-columns: 56px 1fr;
    align-items: start;
  }

  .catalog-admin__product-thumb {
    width: 56px;
    height: 56px;
  }

  .catalog-admin__product-card .catalog-admin__card-actions {
    grid-column: 1 / -1;
  }

  .catalog-admin__meta {
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }

  .catalog-admin__sub {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-admin__sub button {
    width: 100%;
    min-height: 40px;
  }

  .catalog-admin__sub-form {
    flex-direction: column;
  }

  .catalog-admin__sub-form input,
  .catalog-admin__sub-form button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }

  .catalog-admin__options-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .catalog-admin__add-row {
    flex-direction: column;
  }

  .catalog-admin__add-row input,
  .catalog-admin__add-row button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }

  .catalog-admin__add-row--color {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .catalog-admin__add-row--color input[type="text"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .catalog-admin__add-row--color input[type="number"] {
    flex: 0 0 64px;
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .catalog-admin__add-row--color button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .catalog-admin__photos {
    padding: 12px;
  }

  .catalog-admin__photos-head {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-admin__photos-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-admin__media-btn {
    width: 100%;
    min-width: 0;
  }

  .catalog-admin__photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-admin__photo-actions {
    flex-wrap: wrap;
  }

  .catalog-admin__photo-actions button {
    flex: 1 1 calc(50% - 4px);
    min-height: 36px;
  }

  .catalog-admin__promo-subs {
    gap: 6px;
    margin: 12px 0 6px;
  }

  .catalog-admin__promo-sub {
    flex: 1 1 calc(33.333% - 6px);
    min-height: 40px;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.82rem;
  }

  .catalog-admin__orders-hero {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .catalog-admin__orders-paid-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-admin__orders-paid-btn {
    width: 100%;
    min-height: 42px;
  }

  .catalog-admin__orders-item-actions {
    justify-content: stretch;
  }

  .catalog-admin__orders-item-actions button {
    width: 100%;
    min-height: 42px;
  }

  .catalog-admin__stats-grid {
    grid-template-columns: 1fr;
  }

  .catalog-admin__stats-filters {
    flex-direction: column;
    gap: 10px;
  }

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

  .catalog-admin__promo-code-row {
    grid-template-columns: 1fr;
  }

  .catalog-admin__promo-code-row button {
    width: 100%;
    min-height: 44px;
  }

  .catalog-admin__promo-card .catalog-admin__card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-admin__review-identity {
    flex-wrap: wrap;
  }

  .catalog-admin__review-photo {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
  }
}

.product-review-toggle[aria-expanded="true"] {
  background: #fff8f0;
}

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

.product-review-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff8f0;
  display: grid;
  gap: 8px;
}

.product-review-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.product-review-card__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-review-card__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.product-review-card__avatar--fallback {
  display: grid;
  place-items: center;
  background: #efe2d3;
  color: var(--text);
  font-weight: 700;
}

.product-review-card__author {
  margin: 0;
  font-weight: 700;
}

.product-review-card__date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.product-review-card__stars {
  color: #c9a227;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.product-review-card__text {
  margin: 0;
  line-height: 1.5;
  white-space: pre-wrap;
}

.product-review-card__reply {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid #d4892a;
  background: #fff8f0;
  border-radius: 0 12px 12px 0;
}

.product-review-card__reply-author {
  margin: 0 0 6px;
  font-weight: 800;
  color: #2b2118;
}

.product-review-card__reply-text {
  margin: 0;
  line-height: 1.5;
  white-space: pre-wrap;
  color: #3a2f24;
}

.product-review-card__photo {
  width: 100%;
  max-width: 220px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.product-review-form-wrap {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.product-review-form-wrap[hidden] {
  display: none !important;
}

.product-review-form-wrap h4 {
  margin: 0;
  font-size: 1rem;
}

.product-review-form {
  display: grid;
  gap: 10px;
}

.product-review-form__field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-review-form__field input,
.product-review-form__field textarea {
  font-weight: 400;
}

.product-review-form__field--file input {
  padding: 8px 0;
}

.product-review-form__label {
  font-size: 0.9rem;
  font-weight: 600;
}

.review-stars {
  display: inline-flex;
  gap: 4px;
}

.review-stars__btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d6c7a8;
  font-size: 1.35rem;
  line-height: 1;
}

.review-stars__btn.is-active {
  color: #c9a227;
}

.product-review-form__msg {
  margin: 0;
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 8px 10px;
}

.product-review-form__msg.is-success {
  background: #edf7ef;
  color: #2f6b3f;
}

.product-review-form__msg.is-error {
  background: #fdeeee;
  color: #9a3a3a;
}

.product-review-form__submit {
  width: 100%;
  background: #8b5a36;
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 16px 0 24px;
}

.grid:empty {
  /* Reserve ~2 product cards on mobile so catalog fill doesn't shove the viewport */
  min-height: min(720px, 85vh);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
}

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

.pagination button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#paginationNext {
  background: #7a3f18;
  color: #fff;
  font-weight: 700;
  border: 1px solid #5c2d10;
}

#paginationNext:hover:not(:disabled),
#paginationNext:focus-visible:not(:disabled) {
  background: #5c2d10;
}

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination__page {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #6e5b49;
  font-weight: 600;
}

.pagination__page.is-current {
  background: #8b5a36;
  border-color: #8b5a36;
  color: #fff;
  cursor: default;
}

.pagination__info {
  font-weight: 600;
  color: #6e5b49;
  min-width: 132px;
  text-align: center;
}

.desktop-nav__dropdown a.is-current,
.mobile-menu a.is-current {
  background: #f3e6d6;
  color: #8b5a36;
  font-weight: 700;
}

.desktop-nav__info a.is-current {
  color: #8b5a36;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 #8b5a36;
}

.desktop-nav__toggle.is-current {
  color: #8b5a36;
  font-weight: 700;
}

.category-story {
  margin: 28px 0 30px;
  padding: clamp(20px, 4vw, 34px) clamp(18px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(198, 124, 78, 0.08), transparent 60%),
    #ffffff;
  box-shadow: 0 6px 18px rgba(34, 34, 34, 0.05);
}

.category-story h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  color: var(--text);
}

.category-story h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.category-story p {
  margin: 0 0 12px;
  color: #4a4a4a;
  font-size: clamp(0.95rem, 1.4vw, 1.02rem);
  line-height: 1.65;
  max-width: 68ch;
}

.category-story p:last-child {
  margin-bottom: 0;
}

.category-story h3 {
  margin: 20px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
  color: var(--text);
}

.category-story ul,
.category-story ol {
  margin: 0 0 12px;
  padding-left: 22px;
  max-width: 68ch;
}

.category-story li {
  margin-bottom: 8px;
  color: #4a4a4a;
  font-size: clamp(0.95rem, 1.4vw, 1.02rem);
  line-height: 1.65;
}

.category-story li::marker {
  color: var(--accent);
  font-weight: 700;
}

.category-story li strong {
  color: var(--text);
}

.reviews {
  padding-bottom: 24px;
}

.reviews h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.reviews__subtitle {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.review-viewer {
  width: min(100%, 336px);
  margin: 0 auto;
}

.review-viewer__stage {
  position: relative;
}

.review-viewer__frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f2ede6;
  touch-action: pan-y;
}

.review-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.review-viewer__nav--left {
  left: 8px;
}

.review-viewer__nav--right {
  right: 8px;
}

.review-viewer__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.review-viewer__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d3c6b8;
}

.review-viewer__dot.is-active {
  background: #8b5a36;
}

.site-footer {
  margin: 18px 0 14px;
  text-align: center;
  color: #7a6a59;
  font-size: 0.88rem;
}

.desktop-nav {
  display: block;
  border-top: 1px solid var(--line);
}

.desktop-nav__row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.desktop-nav__categories {
  position: relative;
}

.desktop-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.desktop-nav__toggle[aria-expanded="true"] {
  border-color: #d9c3ab;
  background: #fffaf4;
}

.desktop-nav__caret {
  font-size: 0.75rem;
  line-height: 1;
}

.desktop-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.08);
}

.desktop-nav__dropdown[hidden] {
  display: none;
}

.desktop-nav__dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}

.desktop-nav__dropdown a:hover,
.desktop-nav__dropdown a:focus-visible {
  background: #f7f1e8;
  color: #6d4b2f;
}

.desktop-nav__info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav__info a {
  text-decoration: none;
  color: #6e5b49;
  font-size: 0.84rem;
  font-weight: 500;
}

.desktop-nav__info a:hover,
.desktop-nav__info a:focus-visible {
  color: #6d4b2f;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-btn__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  transition: transform 0.2s ease;
  z-index: 26;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, 0.98);
}

.mobile-menu__title {
  font-weight: 700;
  font-size: 1rem;
}

.mobile-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.mobile-menu__footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  padding: 14px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  background: #faf8f4;
}

.mobile-menu__section-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b735f;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mobile-menu__list a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  background: #fff;
  border: 1px solid transparent;
}

.mobile-menu__list a:hover,
.mobile-menu__list a:focus-visible {
  border-color: #e8ddd0;
  background: #fff8f0;
}

.mobile-menu__list--muted a {
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 500;
  color: #5f5347;
  background: transparent;
  word-break: break-word;
}

.mobile-menu__callback {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.callback-open-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5a36 0%, #a56d42 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(139, 90, 54, 0.28);
  cursor: pointer;
}

.callback-open-btn:hover,
.callback-open-btn:focus-visible {
  filter: brightness(1.05);
}

.callback-open-btn--nav {
  width: auto;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(139, 90, 54, 0.22);
  white-space: nowrap;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 14px;
}

.callback-modal[hidden] {
  display: none !important;
}

.callback-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 24, 14, 0.45);
}

.callback-modal__box {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: 0 18px 48px rgba(34, 24, 14, 0.18);
}

.callback-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.callback-modal__box h3 {
  margin: 0;
  padding-right: 36px;
  font-size: 1.15rem;
}

.callback-modal__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.callback-modal__view[hidden] {
  display: none !important;
}

.callback-modal__success {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 8px 4px 2px;
}

.callback-modal__success-badge {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf7ef;
  color: #2f6b3f;
  font-size: 0.86rem;
  font-weight: 700;
}

.callback-modal__success h3 {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

.callback-modal__success-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 28ch;
}

.callback-modal__done {
  margin-top: 6px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  background: #8b5a36;
  color: #fff;
  font-weight: 600;
}

.menu-callback-form {
  display: grid;
  gap: 8px;
}

.menu-callback-form input,
.menu-callback-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.menu-callback-form textarea {
  resize: vertical;
  min-height: 72px;
}

.menu-callback-form button[type="submit"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  background: #8b5a36;
  color: #fff;
  font-weight: 600;
}

.menu-callback-form button:disabled {
  opacity: 0.7;
}

.menu-callback-form__msg {
  margin: 0;
  font-size: 0.84rem;
  border-radius: 8px;
  padding: 8px 10px;
}

.menu-callback-form__msg.is-success {
  background: #edf7ef;
  color: #2f6b3f;
}

.menu-callback-form__msg.is-error {
  background: #fdeeee;
  color: #9a3a3a;
}

.menu-callback-form__msg[hidden] {
  display: none !important;
}

body.callback-modal-open {
  overflow: hidden;
}

.menu-overlay {
  z-index: 25;
}

body.menu-open {
  overflow: hidden;
}

.delivery-info {
  margin: 24px auto 8px;
  padding: 16px;
  border: 1px dashed #c9d9e5;
  border-radius: 12px;
  background: #f2f8fc;
}

.delivery-info h2 {
  margin-top: 0;
}

.delivery-info p {
  margin: 6px 0;
}

.category-placeholder {
  margin: 8px 0 24px;
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed #d8c3ab;
  border-radius: 12px;
  background: #fff8f0;
  color: #7f5b3b;
}

.legal-page {
  padding: 32px 0 28px;
  max-width: 760px;
}

.legal-page h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.legal-page__intro {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page__section {
  margin-bottom: 28px;
}

.legal-page__section:last-of-type {
  margin-bottom: 0;
}

.legal-page h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #3f3429;
}

.legal-page p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: #3f3f3f;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.legal-page ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
  display: grid;
  gap: 8px;
}

.legal-page li {
  line-height: 1.7;
  color: #3f3f3f;
}

.legal-page li::marker {
  color: #9a7b62;
}

.legal-page a {
  color: #6d4b2f;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal-page a:hover,
.legal-page a:focus-visible {
  color: var(--accent);
}

.legal-page__updated {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-page__details {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf4;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3f3f3f;
}

.legal-page__details strong {
  color: #3f3429;
}

.legal-page__details p {
  margin: 0;
}

.contacts-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contacts-list li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
}

.contacts-list strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b735f;
}

.contacts-call-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 360px;
  margin: 8px 0 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5a36 0%, #a56d42 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(139, 90, 54, 0.28);
}

.contacts-call-btn span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.contacts-call-btn:hover,
.contacts-call-btn:focus-visible {
  filter: brightness(1.05);
}

.contacts-page__note {
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.card__image {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, #f7d9be, #f1b78b);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.card__new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #2f6fed;
  color: #fff;
  box-shadow: 0 3px 10px rgba(30, 70, 160, 0.28);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.card__promo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #c45c26;
  color: #fff;
  box-shadow: 0 3px 10px rgba(140, 60, 20, 0.28);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
}

.product-promo-badge {
  display: inline-flex;
  vertical-align: middle;
  padding: 5px 10px;
  border-radius: 999px;
  background: #c45c26;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-new-badge {
  display: inline-flex;
  vertical-align: middle;
  padding: 5px 10px;
  border-radius: 999px;
  background: #2f6fed;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(30, 70, 160, 0.22);
}

.card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.card__image--link {
  cursor: pointer;
}

.card__title {
  margin: 0;
  font-size: 1.05rem;
}

.card__title--link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #d2b89a;
  text-underline-offset: 3px;
}

.card__reviews {
  margin: -2px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8b5a36;
  letter-spacing: 0.01em;
}

.details-btn {
  width: 100%;
  background: #374151;
  color: #fff;
  font-weight: 700;
  border: 1px solid #1f2937;
}

.card .js-add {
  background: #7a3f18;
  color: #fff;
  font-weight: 700;
  border: 1px solid #5c2d10;
}

.details-btn:hover,
.details-btn:focus-visible {
  background: #1f2937;
}

.card .js-add:hover,
.card .js-add:focus-visible {
  background: #5c2d10;
}

.controls {
  display: grid;
  gap: 8px;
}

label {
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid #dad4ca;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 78px;
  font-family: inherit;
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  min-height: 44px;
}

.card__price {
  font-weight: 700;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 24;
}

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

.success-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: #215a3f;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 40;
  font-size: 0.92rem;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 10px;
}

.order-modal[hidden] {
  display: none !important;
}

.order-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.order-modal__box {
  position: relative;
  width: min(560px, calc(100vw - 20px));
  max-height: min(88vh, calc(100dvh - 20px));
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.order-modal__box h3 {
  margin: 0;
}

.order-modal__content p {
  margin: 0 0 6px;
}

.order-modal__content ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}

.order-modal__content li {
  overflow-wrap: anywhere;
}

.order-modal__receipt {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.order-modal__receipt a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.order-modal__receipt a:hover {
  text-decoration: underline;
}

.order-modal__iban {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.order-modal__iban .iban-copy__row {
  flex-wrap: wrap;
}

.order-modal__receipt--pending {
  font-size: 0.84rem;
  color: var(--muted);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 14px;
  background: rgba(0, 0, 0, 0.35);
}

.product-modal__box {
  width: min(620px, 96vw);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.product-modal__close {
  justify-self: end;
}

.cart-added-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 14px;
}

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

.cart-added-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 24, 14, 0.45);
  animation: cart-added-fade-in 220ms ease;
}

.cart-added-modal__box {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 18px 48px rgba(34, 24, 14, 0.18);
  animation: cart-added-pop-in 260ms ease;
}

.cart-added-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.cart-added-modal__badge {
  margin: 0;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf7ef;
  color: #2f6b3f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cart-added-modal__box h3 {
  margin: 0;
  font-size: 1.15rem;
}

.cart-added-modal__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
}

.cart-added-modal__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  background-color: #f6f1ea;
  background-size: cover, cover, cover;
  background-position: center, center, center;
}

.cart-added-modal__info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cart-added-modal__info strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.cart-added-modal__info p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-added-modal__price {
  margin-top: 4px !important;
  color: var(--text) !important;
  font-weight: 700;
}

.cart-added-modal__qty {
  font-size: 0.82rem !important;
}

.cart-added-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-added-modal__btn {
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.cart-added-modal__btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.cart-added-modal__btn--primary {
  background: #8b5a36;
  color: #fff;
}

@keyframes cart-added-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cart-added-pop-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-gallery {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px;
}

.modal-gallery__nav {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 72px;
  min-width: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 12px;
  touch-action: manipulation;
}

/* Большая невидимая зона вокруг стрелок — легче попасть пальцем */
.modal-gallery__nav::before {
  content: "";
  position: absolute;
  inset: -16px -20px;
}

.modal-gallery__nav--prev::before {
  right: -28px;
}

.modal-gallery__nav--next::before {
  left: -28px;
}

.modal-gallery__stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: #fff8f0;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  --photo-transition: 580ms;
}

/* Десктоп: зона відео вдвічі вища за фото */
@media (min-width: 861px) {
  .modal-gallery__stage.is-video-active {
    aspect-ratio: 16 / 12;
  }

  .modal-gallery__stage.is-video-active .gallery-media-video {
    object-fit: contain;
  }
}

.modal-gallery__stage:active {
  cursor: grabbing;
}

.photo-count {
  margin: 10px 0 0;
  text-align: center;
  font-weight: 600;
  color: #6e5b49;
}

.photo-count[hidden] {
  display: none !important;
}

.photo-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 18px;
}

.photo-dots[hidden] {
  display: none !important;
}

.photo-dots__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d6b899;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.photo-dots__dot.is-active {
  background: #8b5a36;
  transform: scale(1.2);
}

.modal-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background-size: contain, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--photo-transition, 580ms) cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity var(--photo-transition, 580ms) cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, opacity;
  z-index: 1;
  pointer-events: none;
}

.modal-image.is-active {
  opacity: 1;
  z-index: 2;
}

.modal-image.is-video,
.image-viewer__layer.is-video {
  background-color: #1f1a16;
}

.gallery-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #1f1a16;
  pointer-events: none;
}

.image-viewer__layer .gallery-media-video {
  object-fit: contain;
  pointer-events: auto;
}

.gallery-media-video[hidden] {
  display: none !important;
}

.photo-dots__dot.is-video {
  border-radius: 3px;
  width: 11px;
  height: 8px;
}

/* Обе фото остаются видимыми: старая уезжает, новая въезжает рядом */
.modal-gallery__stage[data-direction="next"] .modal-image.is-entering {
  transform: translate3d(100%, 0, 0);
  opacity: 1;
  z-index: 3;
}

.modal-gallery__stage[data-direction="next"] .modal-image.is-active.is-entering {
  transform: translate3d(0, 0, 0);
}

.modal-gallery__stage[data-direction="next"] .modal-image.is-leaving {
  transform: translate3d(-100%, 0, 0);
  opacity: 1;
  z-index: 2;
}

.modal-gallery__stage[data-direction="prev"] .modal-image.is-entering {
  transform: translate3d(-100%, 0, 0);
  opacity: 1;
  z-index: 3;
}

.modal-gallery__stage[data-direction="prev"] .modal-image.is-active.is-entering {
  transform: translate3d(0, 0, 0);
}

.modal-gallery__stage[data-direction="prev"] .modal-image.is-leaving {
  transform: translate3d(100%, 0, 0);
  opacity: 1;
  z-index: 2;
}

.modal-gallery__stage.is-dragging .modal-image {
  transition: none;
}

.modal-description {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .modal-gallery {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-gallery__nav {
    display: none !important;
  }

  .modal-gallery__stage {
    aspect-ratio: 5 / 6;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 12px;
    border: 1px solid var(--line);
  }

  .photo-dots {
    margin-top: 10px;
    margin-bottom: 2px;
  }
}

@media (max-width: 560px) {
  .product-view {
    padding: 10px;
  }

  .modal-gallery__stage {
    aspect-ratio: 4 / 5;
  }
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.image-viewer[hidden] {
  display: none !important;
}

.image-viewer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.image-viewer__frame {
  position: relative;
  overflow: hidden;
  width: min(960px, 86vw);
  height: min(86vh, 86dvh);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  --photo-transition: 580ms;
}

.image-viewer__frame:active {
  cursor: grabbing;
}

.image-viewer__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--photo-transition, 580ms) cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity var(--photo-transition, 580ms) cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, opacity;
  z-index: 1;
  pointer-events: none;
}

.image-viewer__layer.is-active {
  opacity: 1;
  z-index: 2;
}

.image-viewer__frame[data-direction="next"] .image-viewer__layer.is-entering {
  transform: translate3d(100%, 0, 0);
  opacity: 1;
  z-index: 3;
}

.image-viewer__frame[data-direction="next"] .image-viewer__layer.is-active.is-entering {
  transform: translate3d(0, 0, 0);
}

.image-viewer__frame[data-direction="next"] .image-viewer__layer.is-leaving {
  transform: translate3d(-100%, 0, 0);
  opacity: 1;
  z-index: 2;
}

.image-viewer__frame[data-direction="prev"] .image-viewer__layer.is-entering {
  transform: translate3d(-100%, 0, 0);
  opacity: 1;
  z-index: 3;
}

.image-viewer__frame[data-direction="prev"] .image-viewer__layer.is-active.is-entering {
  transform: translate3d(0, 0, 0);
}

.image-viewer__frame[data-direction="prev"] .image-viewer__layer.is-leaving {
  transform: translate3d(100%, 0, 0);
  opacity: 1;
  z-index: 2;
}

.image-viewer__frame.is-dragging .image-viewer__layer {
  transition: none;
}

.image-viewer__nav {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 72px;
  border-radius: 16px;
  padding: 0;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  color: #222;
  touch-action: manipulation;
}

.image-viewer__nav::before {
  content: "";
  position: absolute;
  inset: -18px -24px;
}

.image-viewer__nav--prev::before {
  right: -36px;
}

.image-viewer__nav--next::before {
  left: -36px;
}

.image-viewer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
}

.order-btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  background: #8b5a36;
}

.modal-specs {
  border: 1px dashed #d8c3ab;
  border-radius: 10px;
  padding: 10px;
  background: #fff8f0;
}

.modal-specs p {
  margin: 4px 0;
}

.delivery-box {
  border: 1px dashed #c9d9e5;
  border-radius: 10px;
  padding: 10px;
  background: #f2f8fc;
}

.delivery-box p {
  margin: 4px 0;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: min(390px, 92vw);
  height: 100dvh;
  overflow-y: auto;
  display: block;
  background: #ffffff;
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.2s ease;
  z-index: 25;
}

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

.cart-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 3;
}

.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.cart-items {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.93rem;
}

.cart-item__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cart-item__thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background-color: #f6f1ea;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.mini-candle {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #d6ccbe;
  box-shadow: inset 0 0 0 2px #ffffff99;
}

.cart-item strong {
  display: block;
}

.cart-item__controls {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-controls button {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
}

.remove-btn {
  background: #a63e3e;
  color: #fff;
  padding: 7px 10px;
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 12px;
  background: #fff;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  overflow: visible;
}

.cart-promo {
  display: grid;
  gap: 8px;
}

.cart-promo__label {
  font-weight: 700;
  color: #7f5b3b;
  font-size: 0.92rem;
}

.cart-promo__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.cart-promo__row input {
  width: 100%;
  min-width: 0;
}

.cart-promo__row button {
  white-space: nowrap;
}

.cart-promo__msg {
  margin: 0;
  font-size: 0.88rem;
  color: #2f6b3f;
}

.cart-promo__msg.is-error {
  color: #9a3a3a;
}

.cart-promo__discount {
  margin: 4px 0 0;
  color: #2f6b3f;
  font-size: 0.9rem;
}

.cart-total__row s {
  color: var(--muted);
  margin-right: 6px;
  font-weight: 500;
}

.catalog-admin__promo-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.catalog-admin__promo-subs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 8px;
}

.catalog-admin__promo-sub {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: #6e5b49;
}

.catalog-admin__promo-sub.is-active {
  background: #7f5b3b;
  border-color: #7f5b3b;
  color: #fff;
}

.catalog-admin__stats-heading {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.catalog-admin__stats-summary {
  margin-top: 8px;
}

.catalog-admin__stats-month {
  display: grid;
  gap: 6px;
  margin: 0;
  max-width: 280px;
  font-size: 0.9rem;
}

.catalog-admin__stats-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 4px;
}

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

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

.catalog-admin__stats-month select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.catalog-admin__orders-hero {
  margin: 10px 0 14px;
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid #c9ae90;
  background:
    radial-gradient(ellipse 70% 90% at 90% 10%, rgba(255, 220, 170, 0.45), transparent 55%),
    linear-gradient(120deg, #2a1c14 0%, #5a3a24 48%, #a56a3e 100%);
  color: #fff8f0;
}

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

.catalog-admin__orders-hero-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.78);
}

.catalog-admin__orders-hero-value {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
}

.catalog-admin__orders-hero-value span {
  font-size: 0.45em;
  font-weight: 600;
  opacity: 0.85;
}

.catalog-admin__orders-hero-sub {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: rgba(255, 248, 240, 0.82);
}

.catalog-admin__orders-lines {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-admin__orders-day-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  background: #fff8f0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.catalog-admin__orders-day-toggle span:first-child {
  display: grid;
  gap: 4px;
}

.catalog-admin__orders-day.is-open .catalog-admin__orders-day-toggle {
  border-bottom: 1px solid var(--line);
  background: #f3ebe2;
}

.catalog-admin__orders-day-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.catalog-admin__orders-day-body[hidden] {
  display: none !important;
}

.catalog-admin__orders-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px 10px;
}

.catalog-admin__orders-status-row {
  margin: 8px 0 6px;
}

.catalog-admin__orders-paid-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-admin__orders-paid-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.86rem;
  cursor: pointer;
  color: #8a7a6a;
}

.catalog-admin__orders-paid-btn.is-unpaid {
  color: #b07064;
}

.catalog-admin__orders-paid-btn.is-paid {
  color: #6a9a74;
}

.catalog-admin__orders-paid-btn.is-unpaid.is-active {
  background: #f8e4e0;
  border-color: #c45c4a;
  color: #9b2f1f;
  font-weight: 700;
}

.catalog-admin__orders-paid-btn.is-paid.is-active {
  background: #e3f2e6;
  border-color: #3f8f55;
  color: #1f6b35;
  font-weight: 700;
}

.catalog-admin__orders-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.catalog-admin__orders-status.is-unpaid {
  background: #f8e4e0;
  color: #9b2f1f;
}

.catalog-admin__orders-status.is-paid {
  background: #e3f2e6;
  color: #1f6b35;
}

.catalog-admin__orders-item-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.catalog-admin__orders-item-actions .is-danger {
  color: #9b2f1f;
  border-color: #e2b4ab;
}

.catalog-admin__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 720px) {
  .catalog-admin__stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.catalog-admin__stats-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
  padding: 12px 14px;
}

.catalog-admin__stats-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-admin__stats-value {
  margin: 6px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.catalog-admin__stats-meta {
  margin: 0 16px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  word-break: break-word;
}

.catalog-admin__stats-row .catalog-admin__card-head {
  align-items: flex-start;
}

.catalog-admin__offer-card {
  align-items: flex-start;
}

.catalog-admin__offer-status {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.catalog-admin__offer-card.is-on .catalog-admin__offer-status {
  color: #2f7a3e;
}

.catalog-admin__switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
}

.catalog-admin__switch input {
  width: 42px;
  height: 24px;
  margin: 0;
  accent-color: #d4892a;
  cursor: pointer;
}

.catalog-admin__promo-card .catalog-admin__card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.catalog-admin__promo-value[hidden],
#promoValueField[hidden] {
  display: none !important;
}

.catalog-admin__promo-scope {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

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

.catalog-admin__promo-checks {
  display: grid;
  gap: 8px;
}

.catalog-admin__promo-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.catalog-admin__promo-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.catalog-admin__promo-check span {
  line-height: 1.3;
}

.catalog-admin__promo-search {
  display: grid;
  gap: 6px;
}

.catalog-admin__promo-picker {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 2px;
}

.catalog-admin__promo-cat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.catalog-admin__promo-cat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.catalog-admin__promo-cat-toggle strong {
  font-weight: 600;
}

.catalog-admin__promo-cat-meta {
  color: var(--muted);
  font-size: 0.9em;
}

.catalog-admin__promo-cat-body {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px;
  border-top: 1px solid var(--line);
}

.catalog-admin__promo-cat-body[hidden] {
  display: none !important;
}

.catalog-admin__promo-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-form {
  display: grid;
  gap: 8px;
  overflow: visible;
}

.payment-picker {
  border: 1px solid #d8c3ab;
  border-radius: 12px;
  padding: 10px;
  background: #fff8f0;
  overflow: visible;
}

.payment-picker__label {
  margin: 0 0 8px;
  font-weight: 700;
  color: #7f5b3b;
  font-size: 0.92rem;
}

.payment-picker__field input[readonly] {
  cursor: pointer;
  background: #fff;
}

.payment-picker__item strong {
  display: block;
  font-weight: 600;
  line-height: 1.25;
}

.payment-picker__item.is-selected {
  background: #f3e5d5;
}

.payment-info[hidden],
#ibanDetails[hidden],
#codDetails[hidden] {
  display: none !important;
}

.payment-info {
  border: 1px solid #d8c3ab;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.payment-info p {
  margin: 0;
}

.payment-info__title {
  font-weight: 700;
  color: #7f5b3b;
  margin-bottom: 2px !important;
}

.payment-info__hint {
  margin-top: 4px !important;
  color: #6e5b49;
  font-size: 0.82rem;
}

.iban-copy {
  display: grid;
  gap: 6px;
}

.iban-copy__label {
  margin: 0;
}

.iban-copy__row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.iban-copy__value {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #dad4ca;
  border-radius: 8px;
  background: #fff8f0;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.3;
  word-break: break-all;
}

.iban-copy__btn {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 0.82rem;
  background: #8b5a36;
  color: #fff;
  border: 0;
  border-radius: 8px;
  white-space: nowrap;
}

.iban-copy__btn.is-copied {
  background: #3d9b52;
}

.iban-details {
  border: 1px solid #d8c3ab;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.iban-details p {
  margin: 0;
}

.iban-details__title {
  font-weight: 700;
  color: #7f5b3b;
  margin-bottom: 2px !important;
}

.iban-details__hint {
  margin-top: 4px !important;
  color: #6e5b49;
  font-size: 0.82rem;
}

.checkout-pay--manual {
  display: block;
}

.checkout-pay--manual .checkout-pay__btn {
  width: 100%;
  text-align: center;
}

.np-delivery {
  display: grid;
  gap: 8px;
  border: 1px solid #d8c3ab;
  border-radius: 12px;
  padding: 10px;
  background: #fff8f0;
  overflow: visible;
}

.np-delivery__title {
  margin: 0;
  font-weight: 700;
  color: #7f5b3b;
  font-size: 0.92rem;
}

.np-field {
  position: relative;
}

.np-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid #dad4ca;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(70, 45, 20, 0.16);
  max-height: min(240px, 42vh);
  overflow-y: auto;
}

.np-delivery__loading {
  margin: 0;
  color: #8a7a68;
  font-size: 0.82rem;
}

.np-suggest__item {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.3;
}

.np-suggest__item:hover,
.np-suggest__item.is-active {
  background: #f3e5d5;
}

.np-suggest__item small {
  display: block;
  color: #8a7a68;
  font-size: 0.78rem;
}

.np-suggest__empty {
  padding: 8px 10px;
  color: #8a7a68;
  font-size: 0.85rem;
}

.np-delivery__error {
  margin: 0;
  color: #b23b3b;
  font-size: 0.82rem;
}

.np-field select:disabled,
.np-field input:disabled {
  background: #f3ede4;
  color: #9b8b78;
  cursor: not-allowed;
}

.free-delivery {
  border: 1px solid #d8c3ab;
  border-radius: 12px;
  padding: 9px;
  background: #fff8f0;
  display: grid;
  gap: 6px;
}

.free-delivery__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.free-delivery__title {
  font-weight: 700;
  color: #7f5b3b;
}

.free-delivery__text {
  font-size: 0.84rem;
  color: #6e5b49;
}

.free-delivery__bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #eadbc9;
  overflow: hidden;
  border: 1px solid #e2d3c1;
}

.free-delivery__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c67c4e, #8b5a36);
  width: 0%;
  transition: width 200ms ease;
}

.continue-btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.98rem;
  background: #8b5a36;
}

.checkout-pay {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.checkout-pay__btn {
  flex: 1;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: left;
}

.checkout-pay__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 4px 6px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pay-badge img {
  display: block;
  height: 31px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
}

@media (max-width: 380px) {
  .checkout-pay {
    flex-wrap: wrap;
  }

  .checkout-pay__btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .checkout-pay__badges {
    width: 100%;
    justify-content: flex-end;
  }
}

.hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.upsell-box:empty {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.upsell-box {
  border: 1px dashed #d8c3ab;
  border-radius: 10px;
  padding: 9px;
  background: #fff8f0;
  display: grid;
  gap: 6px;
}

.upsell-box__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.upsell-box__thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background-color: #f6f1ea;
  background-size: cover, cover, cover;
  background-position: center, center, center;
}

.upsell-box__content {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.upsell-box p {
  margin: 0;
  font-size: 0.86rem;
}

.upsell-box button {
  padding: 8px 10px;
  width: fit-content;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.socials a {
  text-decoration: none;
  border: 0;
  color: var(--text);
  background: #fff;
  padding: 0;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.socials a img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: block;
  object-fit: cover;
}

.socials--icons a {
  padding: 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.socials--icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.empty {
  color: var(--muted);
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .topbar__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
  }

  .card {
    padding: 10px;
    gap: 8px;
  }

  .cart-panel {
    width: min(420px, 100vw);
    height: 100dvh;
  }

  .product-page {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide__image,
  .promo-banner__content,
  .desktop-hero__glow,
  .desktop-hero__flame,
  .desktop-hero__inner {
    transition: none;
    animation: none;
  }
}

@media (min-width: 861px) {
  .desktop-banners {
    display: grid;
  }

  .promo-banner {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, 94vw);
  }

  .site-search-bar {
    margin-bottom: 12px;
  }

  .site-search__input {
    min-height: 40px;
    padding-right: 76px;
    font-size: 0.9rem;
  }

  .site-search__submit {
    min-width: 68px;
    font-size: 0.82rem;
  }

  .catalog-admin__filter {
    grid-template-columns: 1fr;
  }

  .topbar__row {
    min-height: 58px;
    gap: 8px;
  }

  .product-topbar__row {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px;
  }

  .product-topbar__left {
    justify-self: start;
    min-width: 0;
  }

  .product-topbar__left .brand {
    min-width: 0;
  }

  .product-topbar__left h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-topbar__center {
    display: none;
  }

  .product-topbar__right {
    justify-self: end;
  }

  .product-topbar__row .cart-button {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .product-topbar__row .cart-button--icon {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  h1 {
    font-size: 0.95rem;
  }

  .hero {
    padding: 16px 0 4px;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .promo-banner {
    margin-top: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .promo-banner__link {
    display: block;
    width: 100%;
    min-height: auto;
  }

  .promo-banner__stage {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .promo-banner__stage:not(.promo-banner__stage--static) {
    aspect-ratio: 1024 / 964;
  }

  .promo-banner__stage--static {
    aspect-ratio: auto;
  }

  .promo-banner__stage--static img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .promo-banner img,
  .promo-banner .banner-slide__image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .promo-banner__content {
    padding: 12px 14px 4px;
    min-height: auto;
  }

  .promo-banner__dots {
    grid-column: 1 / -1;
    padding-top: 8px;
  }

  .cart-button,
  button {
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .cart-button--icon {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .topbar__actions {
    gap: 6px;
  }

  .header-socials a {
    width: 36px;
    height: 36px;
    font-size: 0.67rem;
  }

  .socials a {
    width: 48px;
    height: 48px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 12px;
  }

  .review-viewer {
    width: min(100%, 300px);
  }

  .review-viewer__nav {
    width: 30px;
    height: 30px;
  }

  .review-viewer__frame {
    width: min(100%, 300px);
    justify-self: center;
  }

  .cart-footer {
    padding: 12px;
    gap: 10px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .order-modal {
    padding: 8px;
  }

  .order-modal__box {
    width: min(560px, calc(100vw - 16px));
    max-height: calc(100dvh - 16px);
    padding: 12px;
  }

  .image-viewer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 10px;
  }

  .image-viewer__frame {
    width: min(96vw, 640px);
    height: min(82dvh, 82vh);
    order: 1;
  }

  .image-viewer__nav {
    display: none !important;
  }

  .product-reviews-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-reviews-summary__score {
    justify-items: start;
    text-align: left;
  }

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

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