:root{
  --color-night: #142434;
  --color-night-soft: #334854;
  --color-moon: #f2f3ed;
  --color-ivory: #e7e8e3;
  --color-ivory-soft: #f8f8f3;
  --color-gold: #bd8b3a;
  --color-gold-soft: #dfc486;
  --color-emerald: #0a493f;
  --color-text: #182936;
  --color-muted: #64747c;
  --color-border: rgba(196, 153, 76, 0.32);
  --section-width: 1680px;
  --section-gutter: 64px;
  --shadow-soft: 0 24px 68px rgba(22, 32, 38, 0.14);
  --emerald: var(--color-night);
  --emerald-2: var(--color-emerald);
  --gold: var(--color-gold);
  --gold-soft: var(--color-gold-soft);
  --marble-text: var(--color-gold-soft);
  --marble-soft: var(--color-moon);
  --ivory: var(--color-ivory);
  --paper: var(--color-ivory-soft);
  --ink: var(--color-text);
  --muted: var(--color-muted);
  --shadow: var(--shadow-soft);
}

/* Исходные фотографии товара показываем целиком, без обрезки орнамента. */
.product-card .product-image img[src*="/assets/products/tubeteiki/"][src$=".jpg"]{
  object-fit: contain !important;
  object-position: center !important;
}

/* Утверждённая премиальная карточка модели товара. */
.category-detail--products .product-grid .product-card:not(.product-card--category-placeholder),
.similar-products-grid .product-card:not(.product-card--category-placeholder){
  display: grid;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 1.23 / 1;
  border: 1px solid rgba(177, 116, 30, 0.62);
  border-radius: clamp(7px, 0.75vw, 12px);
  background: rgba(255, 251, 244, 0.74);
}

.category-detail--products .product-grid .product-card:not(.product-card--category-placeholder) .product-image,
.similar-products-grid .product-card:not(.product-card--category-placeholder) .product-image{
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.category-detail--products .product-grid .product-card:not(.product-card--category-placeholder) .product-image img,
.similar-products-grid .product-card:not(.product-card--category-placeholder) .product-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-detail--product-screen .product-detail{
  width: min(1240px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
}

.category-detail--product-screen .product-detail__media,
.category-detail--product-screen .product-detail__content{
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 100%;
  border: 1px solid rgba(177, 116, 30, 0.54);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.82), rgba(244, 231, 209, 0.62));
  box-shadow:
    inset 0 0 0 4px rgba(255, 252, 244, 0.34),
    inset 0 0 0 5px rgba(177, 116, 30, 0.12),
    0 16px 38px rgba(67, 44, 22, 0.09);
}

.category-detail--product-screen .product-detail__media{
  display: grid;
  align-content: start;
  gap: clamp(10px, 1vw, 15px);
  padding: clamp(14px, 1.45vw, 21px);
}

.product-gallery-main{
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.23 / 1;
  padding: 0;
  border: 1px solid rgba(177, 116, 30, 0.5);
  border-radius: 11px;
  cursor: zoom-in;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.82), transparent 40%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(245, 235, 218, 0.8));
  box-shadow: 0 12px 28px rgba(74, 49, 22, 0.1);
}

.product-gallery-main img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-gallery-main--empty{
  cursor: default;
}

.product-gallery-stage{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 0.7vw, 10px);
}

.product-gallery-card{
  aspect-ratio: 1.23 / 1;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: none;
}

.product-gallery-card img{
  object-fit: contain;
}

.product-gallery-card.is-active{
  border-color: rgba(142, 82, 8, 0.88);
  box-shadow:
    0 0 0 2px rgba(211, 158, 72, 0.3),
    0 8px 18px rgba(89, 55, 15, 0.12);
}

.product-gallery-card--empty,
.product-gallery-card--empty:disabled{
  opacity: 1;
  cursor: default;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.7), transparent 38%),
    linear-gradient(145deg, rgba(255, 252, 246, 0.78), rgba(239, 224, 199, 0.46));
}

.category-detail--product-screen .product-detail__content{
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(20px, 2vw, 30px);
}

.category-detail--product-screen .product-detail__title{
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(177, 116, 30, 0.34);
  color: #173f6f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.75vw, 3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-align: left;
  text-shadow: 0 2px 14px rgba(23, 63, 111, 0.1);
}

.category-detail--product-screen .product-rating{
  justify-content: flex-start;
  margin: 0;
}

.category-detail--product-screen .product-description{
  max-width: none;
  margin: 0;
  color: #4f473c;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: left;
}

.category-detail--product-screen .product-specs{
  display: grid;
  gap: 0;
  margin: 1px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(177, 116, 30, 0.38);
  border-radius: 11px;
  background: rgba(255, 252, 246, 0.5);
}

.category-detail--product-screen .product-spec-row{
  display: grid;
  grid-template-columns: minmax(132px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 9px 13px;
  color: #173f6f;
  font-size: 0.8rem;
  line-height: 1.38;
}

.category-detail--product-screen .product-spec-row + .product-spec-row{
  border-top: 1px solid rgba(177, 116, 30, 0.2);
}

.category-detail--product-screen .product-spec-row--article,
.category-detail--product-screen .product-spec-row--retail,
.category-detail--product-screen .product-spec-row--wholesale{
  padding-top: 11px;
  padding-bottom: 11px;
}

.category-detail--product-screen .product-spec-row--article .product-spec-value,
.category-detail--product-screen .product-spec-row--retail .product-spec-value{
  color: #173f6f;
  font-weight: 850;
}

.category-detail--product-screen .product-spec-label{
  color: #9a6517;
  font-weight: 850;
}

.category-detail--product-screen .product-spec-value{
  color: #173f6f;
  font-weight: 700;
}

.category-detail--product-screen .product-selection-panel{
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(177, 116, 30, 0.28);
}

.category-detail--product-screen .product-selection-controls{
  grid-template-columns: minmax(0, 1fr) auto;
}

.category-detail--product-screen .similar-products,
.category-detail--product-screen .product-reviews-block{
  grid-column: 1 / -1;
}

.category-detail--product-screen .similar-products-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-detail--product-screen .similar-products-grid .product-card{
  width: 100%;
  height: auto;
  aspect-ratio: 1.23 / 1;
}

@media (max-width: 700px){
  .category-detail--product-screen .product-detail{
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .category-detail--product-screen .product-detail__media{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px;
  }

  .product-gallery-stage{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .product-gallery-card{
    aspect-ratio: 1 / 1;
  }

  .category-detail--product-screen .product-detail__content{
    gap: 10px;
    padding: 17px 13px;
  }

  .category-detail--product-screen .product-detail__title{
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    text-align: center;
  }

  .category-detail--product-screen .product-rating{
    justify-content: center;
  }

  .category-detail--product-screen .product-description{
    text-align: center;
  }

  .category-detail--product-screen .product-spec-row{
    grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px 9px;
    font-size: 0.73rem;
  }

  .category-detail--product-screen .product-selection-controls{
    grid-template-columns: minmax(0, 1fr);
  }

  .category-detail--product-screen .similar-products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Экран товара по утверждённому эталону юридического раздела. */
.product-card-overlay-title{
  position: absolute;
  z-index: 2;
  top: clamp(7px, 0.65vw, 11px);
  left: 8px;
  right: 8px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #a66b10;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.68rem, 0.78vw, 0.84rem);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 252, 241, 0.98),
    0 2px 8px rgba(75, 43, 7, 0.28);
  pointer-events: none;
}

.category-detail--product-screen .product-detail{
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin: 0 auto;
}

.product-detail-hero{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(183, 122, 25, 0.64);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 18px 42px rgba(64, 42, 12, 0.15);
  backdrop-filter: blur(8px);
}

.category-detail--product-screen .product-detail-hero .product-detail__media{
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-detail--product-screen .product-gallery-main{
  width: 100%;
  height: 100%;
  min-height: clamp(390px, 36vw, 500px);
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-detail--product-screen .product-gallery-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-detail--product-screen .product-gallery-stage{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 11px 12px 12px;
  border-top: 1px solid rgba(183, 122, 25, 0.28);
  background: rgba(255, 252, 245, 0.92);
}

.category-detail--product-screen .product-gallery-card{
  aspect-ratio: 1.23 / 1;
  border: 1px solid rgba(183, 122, 25, 0.42);
  border-radius: 7px;
  background: transparent;
}

.category-detail--product-screen .product-gallery-card img{
  object-fit: cover;
}

.category-detail--product-screen .product-gallery-card--empty,
.category-detail--product-screen .product-gallery-card--empty:disabled{
  background: rgba(255, 255, 255, 0.52);
}

.category-detail--product-screen .product-detail-hero .product-detail__content{
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: clamp(26px, 3.3vw, 44px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 55% 8%, rgba(255, 255, 255, 0.96), transparent 48%),
    linear-gradient(145deg, rgba(255, 252, 245, 0.97), rgba(238, 224, 196, 0.88));
  box-shadow: none;
}

.category-detail--product-screen .product-detail__title{
  margin: 0;
  padding: 0 0 12px;
  overflow: visible;
  border-bottom: 1px solid rgba(183, 122, 25, 0.28);
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.85vw, 1.72rem);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-align: left;
  text-shadow: none;
  white-space: nowrap;
}

.category-detail--product-screen .product-rating{
  justify-content: flex-start;
  margin: 0;
}

.category-detail--product-screen .product-description{
  max-width: none;
  margin: 0;
  color: #4f4638;
  font-size: 0.83rem;
  line-height: 1.5;
  text-align: left;
}

.category-detail--product-screen .product-specs{
  margin: 2px 0 0;
  border: 1px solid rgba(183, 122, 25, 0.3);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.58);
}

.category-detail--product-screen .product-spec-row{
  grid-template-columns: minmax(128px, 0.38fr) minmax(0, 1fr);
  padding: 8px 12px;
  color: #173f6f;
  font-size: 0.76rem;
}

.category-detail--product-screen .product-spec-label{
  color: #a36b12;
}

.category-detail--product-screen .product-selection-panel{
  margin-top: 3px;
  padding-top: 11px;
}

.category-detail--product-screen .product-detail-actions{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.category-detail--product-screen .product-detail__button{
  min-height: 38px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.category-detail--product-screen .product-buy-button,
.category-detail--product-screen .product-buy-button:hover,
.category-detail--product-screen .product-buy-button:focus-visible{
  border: 1px solid #9b6008;
  color: #fff;
  background: linear-gradient(180deg, #d59a31, #b87511);
  box-shadow: 0 6px 14px rgba(132, 81, 8, 0.22);
}

.category-detail--product-screen .product-cart-button,
.category-detail--product-screen .product-cart-button:hover,
.category-detail--product-screen .product-cart-button:focus-visible{
  border: 1px solid rgba(23, 63, 111, 0.56);
  color: #173f6f;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

@media (max-width: 850px){
  .product-detail-hero{
    grid-template-columns: minmax(0, 1fr);
  }

  .category-detail--product-screen .product-gallery-main{
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .category-detail--product-screen .product-detail-hero .product-detail__content{
    padding: 24px 20px 27px;
  }
}

@media (max-width: 600px){
  .product-detail-hero{
    border-radius: 15px;
  }

  .category-detail--product-screen .product-detail__title{
    font-size: clamp(0.94rem, 4.25vw, 1.12rem);
    text-align: center;
  }

  .category-detail--product-screen .product-rating{
    justify-content: center;
  }

  .category-detail--product-screen .product-description{
    text-align: center;
  }

  .category-detail--product-screen .product-detail-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Заголовки разделов скрыты; первый пробный вариант — золотая кнопка. */
.category-detail .product-group-title{
  display: none;
}

.category-detail .product-group-title[hidden]{
  display: none !important;
}

.category-detail .product-group-title[data-category-id]{
  display: flex;
  width: fit-content;
  min-height: clamp(30px, 2.35vw, 38px);
  margin: 0 auto clamp(14px, 1.25vw, 20px);
  padding: 5px clamp(20px, 2.1vw, 34px);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 82, 10, 0.78);
  border-radius: clamp(6px, 0.55vw, 9px);
  color: #fffaf0;
  background: linear-gradient(145deg, #cf9d3d, #a86816);
  box-shadow:
    0 6px 15px rgba(112, 67, 10, 0.2),
    inset 0 1px rgba(255, 239, 195, 0.5);
  font-family: Arial, sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 1px rgba(72, 40, 4, 0.4);
  -webkit-text-fill-color: #fffaf0;
  filter: none;
}

.category-detail .product-group-title[data-category-id]::before,
.category-detail .product-group-title[data-category-id]::after{
  content: none;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 103, 120, 0.2), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(220, 196, 145, 0.1), transparent 30%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(180deg, #d6dce0 0%, #e7e8e3 220px, #ecece6 100%);
  font-family: Manrope, Arial, sans-serif;
}

a{
  color: inherit;
  text-decoration: none;
}

button{
  font: inherit;
}

.app-screen[hidden]{
  display: none !important;
}

.app-screen.is-active{
  display: block;
}

.hero-scene{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f7eddb;
}

.hero-scene::before{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 19% 23%, rgba(255, 234, 182, 0.11), transparent 30%),
    radial-gradient(ellipse at 9% 48%, rgba(9, 20, 32, 0.26), transparent 48%),
    radial-gradient(ellipse at 0% 76%, rgba(8, 18, 30, 0.2), transparent 46%),
    linear-gradient(90deg, rgba(8, 18, 30, 0.36) 0%, rgba(12, 26, 39, 0.22) 24%, rgba(12, 26, 39, 0.07) 48%, transparent 66%);
  content: "";
  pointer-events: none;
}

.hero-scene::after{
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(31, 45, 58, 0.16) 44%, rgba(214, 220, 224, 0.84) 100%);
  content: "";
  pointer-events: none;
}

.hero-scene__image{
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy{
  position: absolute;
  top: 50%;
  left: clamp(24px, 4vw, 72px);
  z-index: 2;
  width: min(640px, 48vw);
  min-width: 430px;
  color: var(--marble-text);
  isolation: isolate;
  transform: translateY(-50%);
}

.hero-copy::before{
  position: absolute;
  z-index: -1;
  inset: -22px -34px -22px -28px;
  background:
    radial-gradient(ellipse at 18% 16%, rgba(255, 239, 190, 0.13), transparent 38%),
    radial-gradient(ellipse at 30% 58%, rgba(9, 20, 31, 0.18), transparent 56%);
  content: "";
  pointer-events: none;
}

.hero-title{
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #fff7d3 34%, #f4d986 68%, #d0a04a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(64px, 5.8vw, 104px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow:
    0 0 16px rgba(255, 251, 226, 0.6),
    0 0 36px rgba(246, 208, 116, 0.37),
    0 10px 28px rgba(0, 0, 0, 0.36);
  -webkit-text-fill-color: transparent;
}

.hero-subtitle{
  max-width: 560px;
  margin: 13px 0 0;
  color: rgba(255, 244, 218, 0.96);
  font-size: clamp(1.25rem, 1.45vw, 1.72rem);
  font-weight: 540;
  line-height: 1.28;
  text-shadow:
    0 1px 0 rgba(13, 29, 38, 0.34),
    0 4px 14px rgba(0, 0, 0, 0.34);
}

.hero-categories{
  max-width: 560px;
  margin: 11px 0 0;
  color: rgba(248, 225, 174, 0.9);
  font-size: clamp(1rem, 1vw, 1.12rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.025em;
  text-shadow:
    0 1px 0 rgba(13, 29, 38, 0.24),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.hero-action-panel{
  display: grid;
  gap: 10px;
  width: min(560px, 100%);
  margin-top: 25px;
  padding: 12px;
  border: 1px solid rgba(232, 210, 157, 0.32);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(28, 45, 58, 0.34), rgba(42, 54, 63, 0.22));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-company-note{
  max-width: 560px;
  margin: 15px 0 0;
  color: rgba(255, 236, 194, 0.88);
  font-size: clamp(0.94rem, 0.82vw, 1rem);
  font-weight: 520;
  line-height: 1.44;
  text-shadow:
    0 1px 0 rgba(13, 29, 38, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.hero-company-brand{
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #fff7d3 34%, #f4d986 68%, #d0a04a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 760;
  text-shadow:
    0 0 16px rgba(255, 251, 226, 0.6),
    0 0 36px rgba(246, 208, 116, 0.37),
    0 10px 28px rgba(0, 0, 0, 0.36);
  -webkit-text-fill-color: transparent;
}

.hero-main-actions{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-action-tile{
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-action-tile-primary{
  border: 1px solid rgba(235, 204, 132, 0.62);
  color: #f8e1a4;
  background: linear-gradient(135deg, rgba(18, 48, 58, 0.88), rgba(14, 34, 49, 0.9));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.hero-action-tile-cart{
  border: 1px solid rgba(226, 205, 153, 0.34);
  color: rgba(248, 229, 185, 0.96);
  background: linear-gradient(135deg, rgba(240, 230, 206, 0.13), rgba(30, 44, 58, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 230, 0.025), 0 8px 18px rgba(0, 0, 0, 0.1);
}

.hero-action-tile-light{
  border: 1px solid rgba(238, 218, 173, 0.66);
  color: #1e3036;
  background: linear-gradient(135deg, rgba(255, 252, 244, 0.9), rgba(232, 224, 207, 0.82));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.hero-action-tile:hover,
.hero-action-tile:focus-visible{
  transform: translateY(-1px);
  border-color: rgba(226, 205, 153, 0.68);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.19);
}

.hero-trust-actions{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  gap: 8px;
}

.hero-trust-link{
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 205, 153, 0.24);
  border-radius: 999px;
  cursor: pointer;
  color: rgba(248, 234, 201, 0.9);
  background: rgba(42, 53, 66, 0.24);
  box-shadow: none;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-trust-link:hover,
.hero-trust-link:focus-visible{
  transform: translateY(-1px);
  border-color: rgba(226, 205, 153, 0.42);
  background: rgba(42, 55, 68, 0.38);
}

.button{
  display: inline-flex;
  min-width: 210px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(196, 153, 76, 0.48);
  border-radius: 8px;
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.12rem, 1.35vw, 1.45rem);
  font-weight: 600;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 32, 38, 0.16);
}

.button-primary{
  color: #fff0bd;
  background:
    linear-gradient(135deg, rgba(255, 232, 170, 0.14), transparent 42%),
    linear-gradient(135deg, #0c4c43, #122d38);
  box-shadow: inset 0 0 0 1px rgba(234, 202, 130, 0.14), 0 16px 30px rgba(20, 36, 52, 0.18);
}

.button-secondary{
  color: var(--color-text);
  background:
    linear-gradient(180deg, rgba(248, 248, 243, 0.94), rgba(232, 234, 230, 0.84));
}

.modal-kicker{
  margin: 0;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-card h2{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 2.6vw, 3rem);
  line-height: 1;
}

@media (min-width: 981px){
}

.category-detail[hidden]{
  display: none;
}

.category-detail{
  width: min(1180px, calc(100% - 24px));
  margin: -40px auto 76px;
  scroll-margin-top: 18px;
}

.category-detail__card{
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.66), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(179, 199, 205, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(248, 248, 243, 0.92), rgba(226, 230, 229, 0.84));
  box-shadow: var(--shadow-soft);
}

.category-detail__media{
  min-height: 260px;
}

.category-detail__image{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.category-detail__content{
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px 4px;
}

.section-navigation{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.section-navigation-button{
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(196, 153, 76, 0.34);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.76);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.section-navigation-button:hover,
.section-navigation-button:focus-visible{
  transform: translateY(-1px);
  background: rgba(248, 248, 243, 0.94);
  box-shadow: 0 10px 22px rgba(22, 32, 38, 0.1);
}

.category-detail__kicker{
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-detail__title{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1;
}

.category-detail__subtitle{
  margin: 8px 0 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.category-detail__text{
  max-width: 540px;
  margin: 18px 0 26px;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.category-detail__button{
  width: min(260px, 100%);
}

.category-detail__button[hidden]{
  display: none;
}

.category-detail--products{
  width: min(1880px, calc(100% - 24px));
}

.category-detail--products .category-detail__card{
  grid-template-columns: 1fr;
}

.category-detail--products .category-detail__media{
  display: none;
}

.category-detail--products .category-detail__content{
  padding: 6px 4px;
}

.category-detail--products .category-detail__text{
  max-width: 760px;
}

.category-detail--product-screen{
  width: min(1880px, calc(100% - 24px));
  margin-top: 18px;
}

.category-detail--product-screen .category-detail__card{
  display: block;
}

.category-detail--product-screen .category-detail__content{
  padding: 0;
}

.category-detail--product-screen .category-detail__media,
.category-detail--product-screen .category-detail__kicker,
.category-detail--product-screen .category-detail__title,
.category-detail--product-screen .category-detail__subtitle,
.category-detail--product-screen .category-detail__text,
.category-detail--product-screen .product-audience-tabs,
.category-detail--product-screen .product-group-title,
.category-detail--product-screen .product-grid,
.category-detail--product-screen .category-detail__button{
  display: none !important;
}

.category-detail--product-screen .product-detail{
  margin: 0 auto;
}

.product-grid[hidden]{
  display: none;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 8px 0 18px;
}

.product-audience-tabs[hidden],
.product-group-title[hidden]{
  display: none;
}

.product-audience-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.product-audience-tab{
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(196, 153, 76, 0.36);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.product-audience-tab:hover,
.product-audience-tab:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(44, 32, 15, 0.14);
}

.product-audience-tab-active{
  color: #fff0bd;
  background:
    linear-gradient(135deg, rgba(255, 230, 164, 0.16), transparent 42%),
    var(--color-emerald);
}

.product-group-title{
  margin: 0 0 14px;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  line-height: 1.05;
}

.product-card{
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.68), transparent 34%),
    linear-gradient(180deg, rgba(250, 249, 244, 0.96), rgba(236, 237, 230, 0.92));
  box-shadow: 0 14px 30px rgba(22, 32, 38, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.product-card:focus-visible,
.product-card.is-selected{
  border-color: rgba(196, 153, 76, 0.6);
  box-shadow: 0 18px 38px rgba(20, 36, 52, 0.16);
  transform: translateY(-2px);
}

.product-card--category-placeholder,
.product-card--category-placeholder:hover,
.product-card--category-placeholder:focus-visible{
  cursor: default;
  transform: none;
}

.product-card--category-placeholder .product-card-summary{
  min-height: clamp(42px, 3.8vw, 58px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title";
  align-content: center;
}

.product-card--category-placeholder.product-card--category-link{
  cursor: pointer;
}

.product-card--category-placeholder.product-card--category-link:hover,
.product-card--category-placeholder.product-card--category-link:focus-visible{
  transform: translateY(-1px);
}

.product-card--category-cover{
  grid-template-rows: minmax(0, 1fr);
}

.product-card--category-cover .product-image{
  height: 100%;
}

.product-image{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e3e7e6;
}

.product-image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-badge{
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(232, 201, 131, 0.62);
  border-radius: 8px;
  color: #fff4cc;
  background: rgba(10, 73, 63, 0.9);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.product-title{
  display: -webkit-box;
  min-height: 2.45em;
  margin: 12px 12px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.08rem, 1.08vw, 1.34rem);
  font-weight: 700;
  line-height: 1.12;
}

.product-audience-label{
  align-self: flex-start;
  margin: 10px 12px 0;
  padding: 6px 9px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.9);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.product-description{
  margin: 12px 0 18px;
  color: var(--color-muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
}

.product-meta{
  display: grid;
  gap: 4px;
  margin: 9px 10px 10px;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-button{
  width: calc(100% - 24px);
  min-width: 0;
  min-height: 46px;
  margin: auto 12px 0;
  padding: 0 12px;
  font-size: 1.08rem;
  box-shadow: 0 10px 22px rgba(44, 32, 15, 0.1);
}

.product-card-note{
  margin: 9px 12px 14px;
  color: #54645f;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.product-detail[hidden]{
  display: none;
}

.product-detail{
  display: grid;
  width: min(1240px, 100%);
  grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin: 10px auto 18px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.68), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(179, 199, 205, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(248, 248, 243, 0.92), rgba(226, 230, 229, 0.84));
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 18px;
}

.product-detail-navigation{
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: -2px;
}

.product-detail__media{
  width: 100%;
  max-width: 500px;
  min-width: 0;
}

.product-detail-image{
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(196, 153, 76, 0.34);
  border-radius: 8px;
  cursor: zoom-in;
  background: #e3e7e6;
}

.product-detail-image img{
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.product-gallery{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.product-gallery-thumb{
  width: 78px;
  height: 62px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(185, 133, 62, 0.36);
  border-radius: 6px;
  cursor: zoom-in;
  background: #e3e7e6;
}

.product-gallery-thumb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-detail__content{
  display: flex;
  min-width: 0;
  max-width: 680px;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2px;
}

.product-detail__kicker{
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.product-detail__title{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.45vw, 2.8rem);
  line-height: 1;
}

.product-rating{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-rating-stars{
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(196, 153, 76, 0.18);
}

.product-rating-text{
  color: var(--color-muted);
}

.product-rating-link{
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-rating-link:hover,
.product-rating-link:focus-visible{
  border-color: rgba(196, 153, 76, 0.48);
  box-shadow: 0 8px 18px rgba(22, 32, 38, 0.08);
  transform: translateY(-1px);
}

.product-detail .product-description{
  margin: 10px 0 14px;
}

.product-detail__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.product-specs{
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background: rgba(248, 248, 243, 0.72);
}

.product-spec-row{
  display: grid;
  grid-template-columns: minmax(96px, 0.36fr) minmax(0, 1fr);
  gap: 10px;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.product-spec-label{
  color: var(--gold);
  font-weight: 800;
}

.product-spec-value{
  min-width: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.product-size-selector[hidden]{
  display: none;
}

.product-size-selector{
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
}

.product-size-title{
  margin: 0;
  color: var(--color-night);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
}

.product-size-options{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-size-option{
  min-width: 48px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.82);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.product-size-option:hover,
.product-size-option:focus-visible{
  border-color: rgba(196, 153, 76, 0.58);
  background: rgba(255, 251, 240, 0.95);
}

.product-size-option-active{
  border-color: rgba(196, 153, 76, 0.72);
  color: #fff4cc;
  background:
    linear-gradient(135deg, rgba(255, 230, 164, 0.14), transparent 46%),
    var(--color-emerald);
  box-shadow: inset 0 0 0 1px rgba(234, 202, 130, 0.18), 0 10px 20px rgba(20, 36, 52, 0.1);
}

.quantity-control{
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background: rgba(248, 248, 243, 0.78);
}

.quantity-button{
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(196, 153, 76, 0.34);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.92);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.quantity-button:disabled{
  cursor: default;
  opacity: 0.45;
}

.quantity-value{
  display: inline-flex;
  min-width: 28px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 900;
}

.product-detail-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail__button{
  width: min(300px, 100%);
  min-height: 54px;
  margin: 0;
  border: 1px solid rgba(196, 153, 76, 0.42);
  font-size: 1.12rem;
  box-shadow: inset 0 0 0 2px rgba(234, 202, 130, 0.12), 0 16px 30px rgba(20, 36, 52, 0.14);
}

.product-buy-button{
  color: #fff4cc;
  background:
    linear-gradient(135deg, rgba(255, 230, 164, 0.16), transparent 42%),
    var(--color-emerald);
}

.product-cart-button{
  color: var(--color-night);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(234, 228, 211, 0.92)),
    var(--color-ivory-soft);
  box-shadow: inset 0 0 0 2px rgba(234, 202, 130, 0.1), 0 14px 26px rgba(20, 36, 52, 0.12);
}

.product-line-total{
  width: fit-content;
  margin: -4px 0 2px;
  padding: 0 0 0 2px;
  border: 0;
  color: var(--color-night);
  background: transparent;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.25;
  box-shadow: none;
}

.product-order-add-hint{
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 10px;
  color: var(--color-night);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.58), transparent 42%),
    linear-gradient(135deg, rgba(244, 246, 242, 0.84), rgba(225, 232, 231, 0.7));
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.35;
}

.product-order-add-hint[hidden]{
  display: none;
}

.product-add-to-order-button{
  color: #fff4cc;
  background:
    linear-gradient(135deg, rgba(255, 230, 164, 0.18), transparent 42%),
    var(--color-emerald);
}

.product-order-add-cancel-button{
  color: var(--color-night);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(229, 234, 232, 0.84)),
    var(--color-ivory-soft);
}

.product-detail-cart-message[hidden]{
  display: none;
}

.product-detail-cart-message{
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.8);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-reviews-block{
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(104, 128, 145, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(248, 248, 243, 0.86), rgba(226, 231, 231, 0.72));
}

.product-reviews-title{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1;
}

.product-reviews-empty{
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.55;
}

.product-reviews-empty a{
  color: var(--color-night);
  font-weight: 850;
  text-decoration-color: rgba(196, 153, 76, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.product-review-list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-review-thumb{
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  cursor: zoom-in;
  background: rgba(248, 248, 243, 0.8);
}

.product-review-thumb img{
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
}

.image-lightbox[hidden]{
  display: none;
}

.image-lightbox{
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 38, 34, 0.72);
}

.image-lightbox-content{
  width: min(1160px, 100%);
  max-height: calc(100vh - 80px);
}

.image-lightbox-content img{
  display: block;
  width: 100%;
  max-height: calc(100vh - 80px);
  border: 1px solid rgba(232, 201, 131, 0.58);
  border-radius: 8px;
  object-fit: contain;
  background: #fffdf7;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.image-lightbox-close{
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 31;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(232, 201, 131, 0.58);
  border-radius: 50%;
  cursor: pointer;
  color: #fff4cc;
  background: rgba(20, 36, 52, 0.92);
  font-size: 2rem;
  line-height: 1;
}

.image-lightbox-nav[hidden]{
  display: none;
}

.image-lightbox-nav{
  position: fixed;
  top: 50%;
  z-index: 31;
  display: grid;
  width: 48px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(232, 201, 131, 0.58);
  border-radius: 8px;
  cursor: pointer;
  color: #fff4cc;
  background: rgba(20, 36, 52, 0.92);
  font-size: 2.8rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible{
  background: rgba(20, 36, 52, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.image-lightbox-prev{
  left: 22px;
}

.image-lightbox-next{
  right: 22px;
}

.order-modal,
.account-modal{
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}

.order-modal.is-open,
.account-modal.is-open{
  display: flex;
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  border: 0;
  cursor: pointer;
  background: rgba(8, 38, 34, 0.48);
}

.modal-card{
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(232, 201, 131, 0.44);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.62), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(104, 128, 145, 0.14), transparent 30%),
    linear-gradient(180deg, #f8f8f3, #e9ece9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.modal-close{
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--emerald);
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.modal-text{
  margin: 14px 0 24px;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.account-card{
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.account-view[hidden]{
  display: none;
}

.account-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-actions .button{
  width: 100%;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

.account-view[data-account-view="user"] .account-actions{
  grid-template-columns: minmax(0, 240px);
  justify-content: center;
}

.account-welcome{
  margin: 22px 0 4px;
  color: var(--color-night);
  font-size: 1.16rem;
}

.account-telegram-name{
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 800;
}

.account-tabs{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 22px;
  padding: 5px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 12px;
  background: rgba(255, 251, 244, 0.72);
}

.account-tabs.has-admin{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-tab{
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--color-muted);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.account-tab:hover,
.account-tab.is-active{
  border-color: rgba(196, 153, 76, 0.34);
  color: var(--color-night);
  background: rgba(255, 255, 255, 0.88);
}

.account-panel[hidden]{
  display: none;
}

.account-profile-form{
  display: grid;
  gap: 18px;
}

.account-panel[data-account-panel="profile"] .account-actions{
  grid-template-columns: minmax(0, 240px);
}

.account-profile-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-profile-field{
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 850;
}

.account-profile-field--wide{
  grid-column: 1 / -1;
}

.account-profile-field input{
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.account-profile-field input:focus{
  border-color: rgba(196, 153, 76, 0.58);
  background: rgba(255, 252, 244, 0.96);
  box-shadow: 0 0 0 3px rgba(196, 153, 76, 0.12);
}

.account-profile-note{
  margin: -2px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
}

.account-section-header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.account-section-header h3,
.account-address-form h3{
  margin: 0;
  color: var(--color-night);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.account-section-header p{
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.account-compact-button{
  width: auto;
  min-width: 160px;
  min-height: 40px;
  padding: 8px 16px;
  flex: 0 0 auto;
}

.account-addresses-list{
  display: grid;
  gap: 10px;
}

.account-addresses-list[hidden]{
  display: none;
}

.account-address-card{
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.82);
}

.account-address-card__header,
.account-address-card__actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-address-card__header{
  justify-content: space-between;
}

.account-address-card__title,
.account-address-card__text{
  margin: 0;
}

.account-address-card__title{
  color: var(--color-night);
  font-weight: 900;
}

.account-address-card__badge{
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--color-night);
  background: rgba(196, 153, 76, 0.18);
  font-size: 0.75rem;
  font-weight: 850;
}

.account-address-card__text{
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.account-address-card__actions{
  flex-wrap: wrap;
  margin-top: 3px;
}

.account-address-action{
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 7px;
  color: var(--color-night);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.account-address-action:hover{
  border-color: rgba(196, 153, 76, 0.56);
  background: #fff;
}

.account-address-form{
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 10px;
  background: rgba(255, 251, 244, 0.72);
}

.account-address-form[hidden]{
  display: none;
}

.account-history{
  display: grid;
  gap: 12px;
}

.account-history-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.account-history-header h3{
  margin: 0;
  color: var(--color-night);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.account-history-header span{
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

.account-history-status{
  margin: 0;
  color: var(--color-muted);
  font-weight: 650;
}

.account-orders-list{
  display: grid;
  gap: 10px;
}

.account-orders-list[hidden]{
  display: none;
}

.account-order{
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.82);
}

.account-order__header,
.account-order__summary{
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-order__number{
  margin: 0;
  color: var(--color-night);
  font-weight: 900;
}

.account-order__date,
.account-order__summary{
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.account-order__status,
.account-order__total{
  color: var(--gold);
  font-weight: 850;
}

.account-order__details{
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.account-order__details summary{
  width: fit-content;
  cursor: pointer;
  color: var(--color-night);
  font-weight: 850;
}

.account-order__details ul{
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding-left: 20px;
  line-height: 1.4;
}

.account-order__repeat{
  width: fit-content;
  min-width: 180px;
  min-height: 40px;
  margin-top: 2px;
  padding: 8px 18px;
}

.account-profile-footer{
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 153, 76, 0.28);
}

.account-logout-button{
  width: auto;
  min-width: 190px;
}

.account-admin{
  display: grid;
  gap: 22px;
}

.account-admin[hidden]{
  display: none;
}

.account-admin-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-admin-stats[hidden]{
  display: none;
}

.account-admin-stats article{
  display: grid;
  gap: 7px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.82);
}

.account-admin-stats span{
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.account-admin-stats strong{
  color: var(--color-night);
  font-size: 1.25rem;
}

.account-admin-section{
  display: grid;
  gap: 12px;
}

.account-admin-list{
  display: grid;
  gap: 10px;
}

.account-admin-order,
.account-admin-user{
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.82);
}

.account-admin-order__header,
.account-admin-user__header{
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-admin-order p,
.account-admin-user p{
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.account-admin-order strong,
.account-admin-user strong{
  color: var(--color-night);
}

.account-admin-order select{
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 8px;
  color: var(--color-night);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 750;
}

.account-feedback{
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 8px;
  color: var(--color-night);
  background: rgba(255, 251, 244, 0.82);
  font-weight: 700;
  line-height: 1.45;
}

.order-context[hidden]{
  display: none;
}

.order-context{
  margin: -8px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.8);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
}

.order-form{
  display: grid;
  gap: 18px;
}

.order-step[hidden]{
  display: none;
}

.order-fields{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-field{
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 850;
}

.order-field-wide{
  grid-column: 1 / -1;
}

.order-field input,
.order-field select,
.order-field textarea{
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.86);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.order-field textarea{
  min-height: 86px;
  padding-top: 12px;
  resize: vertical;
}

.order-field input:focus,
.order-field select:focus,
.order-field textarea:focus{
  border-color: rgba(196, 153, 76, 0.58);
  background: rgba(255, 252, 244, 0.96);
  box-shadow: 0 0 0 3px rgba(196, 153, 76, 0.12);
}

.order-feedback{
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.order-feedback[hidden],
.order-copy-text[hidden]{
  display: none;
}

.order-number-note{
  width: fit-content;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  color: var(--color-night);
  background: rgba(255, 252, 244, 0.84);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.order-number-note[hidden]{
  display: none;
}

.order-step-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.order-step-actions .button{
  min-width: 220px;
  min-height: 50px;
  font-size: 1.05rem;
}

.order-confirm-step{
  display: grid;
  gap: 16px;
}

.order-confirm-section{
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.56), transparent 34%),
    linear-gradient(145deg, rgba(248, 248, 243, 0.82), rgba(226, 231, 231, 0.68));
}

.order-confirm-section h3{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.delivery-terms-note{
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 9px;
  color: var(--color-night);
  background: rgba(255, 249, 237, 0.78);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.5;
}

.order-confirm-items{
  display: grid;
  gap: 10px;
}

.order-confirm-item{
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.order-confirm-item img{
  display: block;
  width: 96px;
  height: 76px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.order-confirm-item h4{
  margin: 0 0 6px;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.05;
}

.order-confirm-item p,
.order-general-note{
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.order-empty-state{
  display: grid;
  gap: 12px;
  align-items: start;
}

.order-catalog-button{
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
}

.order-item-controls{
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.order-item-size-group,
.order-item-quantity-group{
  display: grid;
  gap: 7px;
}

.order-item-control-label{
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-item-size-options{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.order-item-size-chip{
  min-width: 38px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(196, 153, 76, 0.3);
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.66), transparent 40%),
    rgba(248, 248, 243, 0.78);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.order-item-size-chip-active{
  border-color: rgba(224, 195, 126, 0.62);
  color: #fff1bd;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 232, 166, 0.18), transparent 42%),
    linear-gradient(135deg, #183f3a, #102f33);
  box-shadow:
    inset 0 0 0 1px rgba(234, 202, 130, 0.16),
    0 10px 20px rgba(20, 36, 52, 0.1);
}

.order-item-quantity-control{
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 999px;
  background: rgba(248, 248, 243, 0.68);
}

.order-item-quantity-control .quantity-button{
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.order-item-quantity-control .quantity-value{
  min-width: 26px;
  margin-top: 0;
}

.order-item-remove-button{
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(119, 75, 52, 0.18);
  border-radius: 999px;
  cursor: pointer;
  color: #6c4a39;
  background: rgba(248, 248, 243, 0.58);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 850;
}

.order-send-button:disabled{
  cursor: default;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.order-confirm-totals,
.order-customer-summary{
  display: grid;
  gap: 7px;
}

.order-summary-row{
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.order-summary-row strong{
  color: var(--color-night);
  font-weight: 900;
  text-align: right;
}

.order-send-status{
  margin-top: 0;
}

.order-copy-text{
  width: 100%;
  min-height: 150px;
  padding: 12px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.88);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  resize: vertical;
}

.order-payment-step,
.order-final-step{
  display: grid;
  gap: 16px;
}

.order-payment-card,
.order-final-receipt{
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.58), transparent 34%),
    linear-gradient(145deg, rgba(249, 250, 246, 0.84), rgba(226, 231, 231, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 12px 28px rgba(20, 36, 52, 0.08);
}

.order-payment-row{
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.order-payment-row strong{
  min-width: 0;
  color: var(--color-night);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.order-payment-total-row{
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(196, 153, 76, 0.22);
  color: var(--color-night);
}

.order-payment-total-row strong{
  color: var(--color-emerald);
  font-size: 1.12rem;
}

.order-copy-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-copy-button{
  min-width: 0;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.order-fallback-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.order-fallback-actions[hidden]{
  display: none;
}

.order-fallback-button{
  min-width: 0;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
}

.order-payment-feedback,
.order-payment-warning,
.order-copy-status{
  margin-top: 0;
}

.order-check-field{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(196, 153, 76, 0.24);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.72);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.4;
}

.order-check-field input{
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--color-emerald);
}

.order-payment-order-hint{
  margin-top: 8px;
}

.order-final-section h3{
  font-size: 1.85rem;
}

.order-final-receipt .order-summary-row{
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(196, 153, 76, 0.16);
}

.order-final-receipt .order-summary-row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

body.modal-open{
  overflow: hidden;
}

.cart-open-button{
  gap: 4px;
  white-space: nowrap;
}

.cart-count{
  display: inline-flex;
  min-width: 1.4em;
  justify-content: center;
}

.cart-modal{
  position: fixed;
  inset: 0;
  z-index: 22;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cart-modal.is-open{
  display: flex;
}

.cart-backdrop{
  position: absolute;
  inset: 0;
  border: 0;
  cursor: pointer;
  background: rgba(12, 28, 39, 0.54);
}

.cart-panel{
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(196, 153, 76, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.68), transparent 34%),
    linear-gradient(180deg, var(--color-ivory-soft), #e9ece9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.cart-close{
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-night);
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.cart-kicker{
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-panel h2{
  margin: 0 0 18px;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.cart-items[hidden],
.cart-empty[hidden],
.cart-feedback[hidden]{
  display: none;
}

.cart-items{
  display: grid;
  gap: 12px;
}

.cart-item{
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background: rgba(248, 248, 243, 0.74);
}

.cart-item-title{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.cart-item-size{
  margin: 0;
  color: var(--color-night-soft);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.cart-item-size[hidden]{
  display: none;
}

.cart-item-price,
.cart-item-total,
.cart-empty,
.cart-delivery-note,
.cart-note,
.cart-feedback{
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.cart-item-controls{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cart-remove-button{
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.8);
  font-size: 0.82rem;
  font-weight: 900;
}

.cart-total{
  margin-top: 18px;
  color: var(--color-night);
  font-size: 1.08rem;
  font-weight: 900;
}

.cart-summary{
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background: rgba(248, 248, 243, 0.76);
}

.cart-summary-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.cart-summary-label{
  min-width: 0;
}

.cart-summary-value{
  flex: 0 0 auto;
  color: var(--color-night);
  font-weight: 900;
  text-align: right;
}

.cart-summary-total{
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(196, 153, 76, 0.26);
  color: var(--color-night);
  font-size: 1.08rem;
}

.cart-summary-total .cart-summary-value{
  font-size: 1.15rem;
}

.cart-delivery-note{
  margin-top: 10px;
}

.cart-note{
  margin-top: 8px;
}

.cart-feedback{
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.78);
  font-weight: 800;
}

.cart-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cart-order-button,
.cart-clear-button{
  min-width: 220px;
}

.cart-order-button:disabled,
.cart-clear-button:disabled{
  cursor: default;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

body.cart-open{
  overflow: hidden;
}

.reviews-section{
  width: min(var(--section-width), calc(100% - var(--section-gutter)));
  margin: 0 auto 76px;
  padding: 24px;
  border: 1px solid rgba(204, 184, 135, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(104, 128, 145, 0.12), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(224, 195, 126, 0.08), transparent 28%),
    radial-gradient(circle at 50% 112%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(250, 250, 246, 0.88), rgba(226, 231, 231, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 22px 60px rgba(35, 48, 58, 0.14);
  scroll-margin-top: 18px;
}

.reviews-navigation{
  margin-bottom: 18px;
}

.reviews-heading,
.reviews-header{
  max-width: 760px;
  margin-bottom: 18px;
}

.reviews-heading p{
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.reviews-heading h2{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.reviews-heading span{
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.reviews-count{
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 14px;
  padding: 0 13px;
  border: 1px solid rgba(196, 153, 76, 0.32);
  border-radius: 8px;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.84);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
}

.reviews-count:empty{
  display: none;
}

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.review-card{
  display: flex;
  min-width: 0;
  min-height: 348px;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(204, 184, 135, 0.3);
  border-radius: 8px;
  cursor: zoom-in;
  color: var(--color-text);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.7), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(177, 198, 205, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(250, 249, 244, 0.96), rgba(236, 237, 230, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 12px 28px rgba(22, 32, 38, 0.09);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.review-card:hover,
.review-card:focus-visible{
  border-color: rgba(196, 153, 76, 0.58);
  box-shadow: 0 18px 38px rgba(20, 36, 52, 0.15);
  transform: translateY(-2px);
}

.review-image-wrap{
  display: grid;
  height: 262px;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(196, 153, 76, 0.28);
  border-radius: 8px;
  background: #f8f8f3;
}

.review-image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.review-caption{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.review-caption-text{
  display: grid;
  gap: 4px;
}

.review-hint{
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.review-open{
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.82rem;
  text-align: right;
}

.reviews-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.reviews-bottom-navigation{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 153, 76, 0.22);
}

.reviews-bottom-button{
  min-width: 156px;
  min-height: 44px;
}

.reviews-more-button{
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(196, 153, 76, 0.36);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text);
  background: rgba(248, 248, 243, 0.78);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.reviews-more-button:hover,
.reviews-more-button:focus-visible{
  transform: translateY(-1px);
  background: rgba(248, 248, 243, 0.96);
  box-shadow: 0 12px 24px rgba(22, 32, 38, 0.12);
}

.reviews-more-button[hidden]{
  display: none;
}

.reviews-status[hidden]{
  display: none;
}

.reviews-status{
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(196, 153, 76, 0.26);
  border-radius: 8px;
  color: var(--color-muted);
  background: rgba(248, 248, 243, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.review-placeholder-card[hidden]{
  display: none;
}

.review-placeholder-card{
  min-height: 166px;
  padding: 18px;
  border: 1px solid rgba(204, 184, 135, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.7), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(177, 198, 205, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(250, 249, 244, 0.94), rgba(236, 237, 230, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 12px 28px rgba(22, 32, 38, 0.08);
}

.review-placeholder-card h3{
  margin: 0;
  color: var(--color-night);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.review-placeholder-card p{
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 980px){
  .hero-copy{
    top: 50%;
    width: min(54vw, 600px);
    min-width: 0;
    transform: translateY(-50%);
  }

  .hero-title{
    font-size: clamp(3.7rem, 7.5vw, 5rem);
  }

  .hero-subtitle{
    max-width: 500px;
    font-size: clamp(1.03rem, 1.9vw, 1.18rem);
  }

  .hero-action-panel{
    width: 100%;
  }

  .hero-trust-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button{
    min-width: 170px;
    min-height: 50px;
  }

  .category-detail__card{
    grid-template-columns: 1fr;
  }

  .category-detail__media,
  .category-detail__image{
    min-height: 280px;
  }

  .product-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail{
    width: min(720px, 100%);
    grid-template-columns: 1fr;
  }

  .product-detail__media{
    max-width: 520px;
  }

  .reviews-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card{
    min-height: 330px;
  }

  .review-image-wrap{
    height: 246px;
  }
}

@media (max-width: 640px){
  .hero-scene{
    min-height: 100vh;
  }

  .hero-scene__image{
    width: auto;
    height: 100vh;
    transform: translateX(-18%);
  }

  .hero-copy{
    top: 50%;
    left: 16px;
    width: min(88vw, 390px);
    transform: translateY(-50%);
  }

  .hero-copy::before{
    inset: -18px -14px -16px -14px;
    background:
      radial-gradient(ellipse at 20% 18%, rgba(255, 232, 166, 0.1), transparent 36%),
      radial-gradient(ellipse at 28% 56%, rgba(14, 30, 43, 0.18), transparent 58%);
  }

  .hero-title{
    font-size: clamp(3rem, 12.6vw, 4.05rem);
  }

  .hero-subtitle{
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.36;
  }

  .hero-categories{
    margin-top: 9px;
    font-size: 0.88rem;
  }

  .hero-company-note{
    font-size: 0.82rem;
  }

  .hero-action-panel{
    width: 100%;
    margin-top: 20px;
    padding: 11px;
  }

  .hero-main-actions{
    grid-template-columns: 1fr;
  }

  .hero-action-tile{
    min-height: 46px;
    font-size: 14.5px;
  }

  .hero-trust-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-trust-link{
    min-height: 38px;
    font-size: 12.8px;
  }

  .button{
    width: 100%;
  }

  .category-detail{
    width: calc(100% - 24px);
    margin: -44px auto 58px;
  }

  .category-detail__card{
    gap: 18px;
    padding: 14px;
  }

  .category-detail__media,
  .category-detail__image{
    min-height: 210px;
  }

  .category-detail__content{
    padding: 0;
  }

  .category-detail__title{
    font-size: 2rem;
  }

  .section-navigation{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-detail__button{
    width: 100%;
  }

  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card .product-button{
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .product-audience-tabs{
    gap: 8px;
  }

  .product-audience-tab{
    flex: 1 1 calc(50% - 8px);
    padding: 0 10px;
  }

  .product-detail{
    width: 100%;
    gap: 16px;
    padding: 14px;
  }

  .product-detail__media{
    max-width: none;
  }

  .product-detail-navigation{
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-detail__button{
    width: 100%;
  }

  .product-detail-actions{
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-rating{
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-review-list{
    grid-template-columns: 1fr;
  }

  .product-spec-row{
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .reviews-section{
    width: calc(100% - 24px);
    padding: 20px 14px;
  }

  .cart-open-button{
    flex: 1 1 136px;
  }

  .cart-modal{
    padding: 12px;
  }

  .cart-panel{
    max-height: calc(100vh - 24px);
    padding: 24px 14px 18px;
  }

  .cart-actions{
    display: grid;
    grid-template-columns: 1fr;
  }

  .cart-order-button,
  .cart-clear-button{
    width: 100%;
    min-width: 0;
  }

  .reviews-header h2{
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 0.98;
  }

  .section-navigation{
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-navigation-button{
    min-height: 40px;
    padding: 0 11px;
    border-color: rgba(204, 184, 135, 0.34);
    border-radius: 999px;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.48), transparent 38%),
      linear-gradient(135deg, rgba(248, 249, 244, 0.78), rgba(224, 231, 231, 0.62));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 8px 18px rgba(20, 36, 52, 0.08);
    font-size: 0.78rem;
    font-weight: 850;
  }

  .product-detail{
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.58), transparent 34%),
      radial-gradient(circle at 92% 10%, rgba(104, 128, 145, 0.14), transparent 30%),
      linear-gradient(145deg, rgba(250, 250, 246, 0.9), rgba(225, 231, 231, 0.78));
    box-shadow: 0 18px 44px rgba(35, 48, 58, 0.14);
  }

  .product-detail-navigation{
    gap: 8px;
    margin-bottom: 0;
  }

  .product-detail-image{
    border-radius: 10px;
  }

  .product-detail-image img{
    aspect-ratio: 1 / 0.82;
  }

  .product-gallery{
    gap: 7px;
    margin-top: 8px;
  }

  .product-gallery-thumb{
    width: 58px;
    height: 48px;
    border-radius: 8px;
  }

  .product-detail__content{
    gap: 0;
    max-width: none;
  }

  .product-detail__kicker{
    margin-bottom: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    opacity: 0.86;
  }

  .product-detail__title{
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 0.98;
  }

  .product-rating{
    display: flex;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.84rem;
  }

  .product-rating-stars{
    font-size: 0.96rem;
  }

  .product-rating-text{
    flex: 1 1 100%;
    line-height: 1.25;
  }

  .product-rating-link{
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.74rem;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(231, 235, 232, 0.58));
  }

  .product-detail .product-description{
    margin: 8px 0 10px;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .product-detail__meta{
    gap: 7px;
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  .product-specs{
    gap: 7px;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 10px;
    background:
      radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.82), rgba(226, 232, 231, 0.66));
  }

  .product-spec-row{
    gap: 2px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(204, 184, 135, 0.16);
    font-size: 0.84rem;
  }

  .product-spec-row:last-child{
    padding-bottom: 0;
    border-bottom: 0;
  }

  .product-spec-label{
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .product-spec-value{
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .product-size-selector{
    gap: 7px;
    margin-bottom: 8px;
  }

  .product-size-title{
    font-size: 0.82rem;
  }

  .product-size-options{
    gap: 7px;
  }

  .product-size-option{
    min-width: 42px;
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.84rem;
    background:
      radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.54), transparent 38%),
      rgba(248, 248, 243, 0.78);
  }

  .product-size-option-active{
    color: #fff3c7;
    background:
      linear-gradient(135deg, rgba(255, 230, 164, 0.16), transparent 44%),
      #173f3a;
    box-shadow: inset 0 0 0 1px rgba(234, 202, 130, 0.2), 0 9px 18px rgba(20, 36, 52, 0.12);
  }

  .quantity-control{
    gap: 7px;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(230, 235, 233, 0.54));
  }

  .quantity-button{
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .quantity-value{
    min-width: 25px;
    font-size: 0.9rem;
  }

  .product-line-total{
    margin: 0 0 8px;
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 850;
  }

  .product-order-add-hint{
    margin: 0 0 6px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .product-detail-actions{
    gap: 8px;
  }

  .product-detail__button{
    min-height: 46px;
    border-radius: 11px;
    font-size: 0.95rem;
    box-shadow: inset 0 0 0 1px rgba(234, 202, 130, 0.1), 0 12px 24px rgba(20, 36, 52, 0.12);
  }

  .product-cart-button{
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
      linear-gradient(135deg, rgba(248, 249, 244, 0.9), rgba(227, 232, 230, 0.84));
  }

  .product-detail-cart-message{
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .product-reviews-block{
    gap: 8px;
    padding: 11px;
    border-radius: 11px;
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.5), transparent 38%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.82), rgba(226, 232, 231, 0.68));
  }

  .product-reviews-title{
    font-size: 1.45rem;
  }

  .product-reviews-empty{
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .cart-modal{
    padding: 10px;
  }

  .cart-panel{
    max-height: calc(100dvh - 20px);
    padding: 18px 12px 14px;
    border-radius: 14px;
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.58), transparent 34%),
      radial-gradient(circle at 92% 10%, rgba(104, 128, 145, 0.14), transparent 30%),
      linear-gradient(145deg, rgba(249, 250, 246, 0.94), rgba(226, 232, 231, 0.86));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  }

  .cart-close{
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    background: rgba(248, 248, 243, 0.72);
    font-size: 1.65rem;
  }

  .cart-kicker{
    margin-bottom: 4px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .cart-panel h2{
    margin-bottom: 12px;
    font-size: 1.95rem;
  }

  .cart-items{
    gap: 9px;
  }

  .cart-item{
    gap: 7px;
    padding: 11px;
    border-radius: 11px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.82), rgba(229, 234, 232, 0.68));
  }

  .cart-item-title{
    padding-right: 18px;
    font-size: 1.16rem;
    line-height: 1.08;
  }

  .cart-item-size,
  .cart-item-price,
  .cart-item-total,
  .cart-empty,
  .cart-delivery-note,
  .cart-note,
  .cart-feedback{
    font-size: 0.82rem;
    line-height: 1.36;
  }

  .cart-item-controls{
    gap: 7px;
  }

  .cart-item .quantity-control{
    margin: 0;
  }

  .cart-remove-button{
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.76rem;
  }

  .cart-summary{
    gap: 6px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 11px;
    background:
      radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.48), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.78), rgba(228, 233, 232, 0.64));
  }

  .cart-summary-row{
    gap: 8px;
    align-items: flex-start;
    font-size: 0.84rem;
  }

  .cart-summary-total{
    margin-top: 2px;
    padding-top: 8px;
    font-size: 0.96rem;
  }

  .cart-summary-total .cart-summary-value{
    font-size: 1.02rem;
  }

  .cart-delivery-note{
    margin-top: 9px;
  }

  .cart-note{
    margin-top: 6px;
  }

  .cart-feedback{
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .cart-actions{
    gap: 8px;
    margin-top: 12px;
  }

  .cart-order-button,
  .cart-clear-button{
    min-height: 44px;
    border-radius: 11px;
    font-size: 0.92rem;
  }

  .reviews-grid{
    grid-template-columns: 1fr;
  }

  .review-card{
    min-height: 318px;
  }

  .review-image-wrap{
    height: 234px;
  }

  .image-lightbox{
    padding: 60px 14px 76px;
  }

  .image-lightbox-close{
    top: 12px;
    right: 12px;
  }

  .image-lightbox-nav{
    top: auto;
    bottom: 12px;
    width: 46px;
    height: 46px;
    font-size: 2.2rem;
    transform: none;
  }

  .image-lightbox-prev{
    left: calc(50% - 56px);
  }

  .image-lightbox-next{
    right: calc(50% - 56px);
  }
}

@media (max-width: 380px){
  .section-navigation{
    grid-template-columns: 1fr;
  }

  .hero-trust-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  main{
    background:
      radial-gradient(circle at 18% 12%, rgba(86, 111, 132, 0.16), transparent 34%),
      radial-gradient(circle at 84% 28%, rgba(220, 196, 145, 0.08), transparent 30%);
  }

  .category-detail,
.reviews-section{
    border-color: rgba(204, 184, 135, 0.28);
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.5), transparent 32%),
      radial-gradient(circle at 96% 10%, rgba(104, 128, 145, 0.14), transparent 30%),
      linear-gradient(145deg, rgba(250, 250, 246, 0.82), rgba(222, 229, 230, 0.68));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.46),
      0 18px 44px rgba(35, 48, 58, 0.12);
  }

  .category-detail{
    width: calc(100% - 20px);
    margin: -34px auto 46px;
  }

  .category-detail__card{
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background:
      radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.48), transparent 34%),
      radial-gradient(circle at 92% 12%, rgba(104, 128, 145, 0.13), transparent 30%),
      linear-gradient(145deg, rgba(249, 250, 246, 0.82), rgba(223, 229, 229, 0.66));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 18px 42px rgba(35, 48, 58, 0.12);
  }

  .category-detail--products .category-detail__content{
    padding: 0;
  }

  .section-navigation,
  .product-detail-navigation,
  .reviews-bottom-navigation{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
  }

  .section-navigation-button{
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    border-color: rgba(204, 184, 135, 0.3);
    border-radius: 999px;
    color: #223641;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.52), transparent 38%),
      linear-gradient(135deg, rgba(248, 249, 244, 0.6), rgba(218, 227, 228, 0.42));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.56),
      0 7px 16px rgba(20, 36, 52, 0.07);
    font-size: 0.74rem;
    font-weight: 800;
  }

  .product-detail-navigation .section-navigation-button:first-child{
    flex-basis: 100%;
  }

  .category-detail__kicker{
    margin-bottom: 6px;
    color: #b9852f;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    line-height: 1;
  }

  .category-detail__title{
    font-size: clamp(1.85rem, 8vw, 2.28rem);
    line-height: 0.96;
  }

  .category-detail__subtitle,
  .category-detail__text{
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .category-detail__text{
    margin-bottom: 12px;
  }

  .product-audience-tabs{
    gap: 6px;
    margin: 0 0 12px;
  }

  .product-audience-tab{
    flex: 1 1 calc(50% - 6px);
    min-height: 36px;
    padding: 0 9px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.48), transparent 38%),
      linear-gradient(135deg, rgba(248, 249, 244, 0.68), rgba(224, 231, 231, 0.46));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
    font-size: 0.76rem;
    font-weight: 850;
  }

  .product-audience-tab-active{
    border-color: rgba(224, 195, 126, 0.54);
    color: #fff0bd;
    background:
      linear-gradient(135deg, rgba(255, 230, 164, 0.16), transparent 44%),
      #173f3a;
    box-shadow:
      inset 0 0 0 1px rgba(234, 202, 130, 0.18),
      0 9px 18px rgba(20, 36, 52, 0.1);
  }

  .product-group-title{
    margin-bottom: 10px;
    font-size: 1.55rem;
  }

  .product-grid{
    gap: 10px;
    margin: 6px 0 14px;
  }

  .product-card{
    border-radius: 14px;
    background:
      radial-gradient(circle at 18% 6%, rgba(255, 255, 255, 0.58), transparent 34%),
      radial-gradient(circle at 88% 8%, rgba(104, 128, 145, 0.1), transparent 30%),
      linear-gradient(180deg, rgba(250, 250, 246, 0.9), rgba(231, 235, 233, 0.76));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 12px 28px rgba(22, 32, 38, 0.1);
  }

  .product-image{
    aspect-ratio: 1 / 0.96;
  }

  .product-title{
    min-height: 2.36em;
    margin: 9px 9px 0;
    font-size: clamp(1rem, 4.6vw, 1.16rem);
    line-height: 1.08;
  }

  .product-audience-label{
    margin: 7px 9px 0;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
  }

  .product-card .product-button{
    min-height: 38px;
    margin: auto 9px 0;
    border-radius: 999px;
    font-size: 0.78rem;
    box-shadow: 0 8px 16px rgba(20, 36, 52, 0.08);
  }

  .product-card-note{
    margin: 7px 9px 10px;
    font-size: 0.67rem;
    line-height: 1.25;
  }

  .product-detail{
    overflow: hidden;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.58), transparent 34%),
      radial-gradient(circle at 94% 7%, rgba(104, 128, 145, 0.16), transparent 32%),
      linear-gradient(145deg, rgba(249, 250, 246, 0.84), rgba(221, 228, 229, 0.7));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.46),
      0 20px 48px rgba(35, 48, 58, 0.14);
  }

  .product-detail-image{
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(20, 36, 52, 0.12);
  }

  .product-detail-image img{
    aspect-ratio: 1 / 0.78;
  }

  .product-gallery{
    gap: 6px;
    margin-top: 7px;
  }

  .product-gallery-thumb{
    width: 54px;
    height: 44px;
    border-radius: 10px;
  }

  .product-detail__content{
    padding: 2px 2px 0;
  }

  .product-detail__kicker{
    margin: 2px 0 5px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .product-detail__title{
    font-size: clamp(1.58rem, 7.2vw, 2.05rem);
    line-height: 1;
  }

  .product-rating{
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: 7px;
  }

  .product-rating-stars,
  .product-rating-text{
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .product-rating-text{
    flex: 1 1 auto;
    min-width: 120px;
  }

  .product-rating-link{
    flex: 0 1 auto;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.68rem;
  }

  .product-detail .product-description{
    margin: 8px 0;
    color: #5b6a70;
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .product-detail__meta{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0 9px;
  }

  .product-detail__meta span{
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(204, 184, 135, 0.24);
    border-radius: 999px;
    background:
      radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.52), transparent 38%),
      rgba(242, 246, 243, 0.62);
    color: #223641;
    font-size: 0.76rem;
    line-height: 1.1;
    text-align: center;
  }

  .product-detail__meta span:last-child{
    border-color: rgba(204, 184, 135, 0.38);
    color: #132c29;
    background:
      linear-gradient(135deg, rgba(255, 250, 235, 0.86), rgba(229, 235, 232, 0.76));
    font-weight: 950;
  }

  .product-specs{
    gap: 0;
    margin-bottom: 10px;
    padding: 9px 10px;
    border-radius: 14px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.54), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.74), rgba(224, 231, 231, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  }

  .product-spec-row{
    grid-template-columns: minmax(74px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 7px 0;
    border-bottom: 1px solid rgba(204, 184, 135, 0.16);
  }

  .product-spec-label{
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .product-spec-value{
    color: #2f454e;
    font-size: 0.78rem;
    line-height: 1.32;
    text-align: right;
  }

  .product-size-selector{
    gap: 6px;
    margin-bottom: 8px;
  }

  .product-size-title{
    color: #223641;
    font-size: 0.76rem;
  }

  .product-size-options{
    gap: 6px;
  }

  .product-size-option{
    min-width: 38px;
    min-height: 32px;
    padding: 0 10px;
    border-color: rgba(204, 184, 135, 0.28);
    font-size: 0.78rem;
  }

  .quantity-control{
    margin-bottom: 7px;
    border-radius: 999px;
  }

  .quantity-button{
    width: 30px;
    height: 30px;
    border-radius: 999px;
  }

  .product-line-total{
    margin-bottom: 8px;
    padding: 0;
    color: #445963;
    font-size: 0.82rem;
  }

  .product-order-add-hint{
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .product-detail-actions{
    gap: 7px;
  }

  .product-detail__button{
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 900;
  }

  .product-buy-button{
    border-color: rgba(224, 195, 126, 0.5);
    background:
      radial-gradient(circle at 20% 0%, rgba(255, 232, 166, 0.16), transparent 40%),
      linear-gradient(135deg, #183f3a, #102f33);
    box-shadow:
      inset 0 0 0 1px rgba(234, 202, 130, 0.16),
      0 14px 28px rgba(20, 36, 52, 0.16);
  }

  .product-cart-button{
    border-color: rgba(204, 184, 135, 0.36);
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 42%),
      linear-gradient(135deg, rgba(249, 250, 246, 0.82), rgba(224, 231, 231, 0.68));
  }

  .product-reviews-block{
    gap: 7px;
    padding: 10px;
    border-radius: 14px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.72), rgba(224, 231, 231, 0.58));
  }

  .product-reviews-title{
    font-size: 1.28rem;
  }

  .product-reviews-empty{
    font-size: 0.78rem;
  }

  .cart-modal{
    align-items: flex-end;
    padding: 10px 8px;
  }

  .cart-backdrop{
    background:
      radial-gradient(circle at 50% 100%, rgba(224, 195, 126, 0.08), transparent 34%),
      rgba(12, 28, 39, 0.58);
  }

  .cart-panel{
    width: 100%;
    max-height: min(92dvh, 760px);
    padding: 16px 12px 14px;
    border-radius: 22px 22px 0 0;
    border-color: rgba(224, 195, 126, 0.28);
    background:
      radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.54), transparent 34%),
      radial-gradient(circle at 88% 8%, rgba(104, 128, 145, 0.16), transparent 30%),
      linear-gradient(145deg, rgba(249, 250, 246, 0.9), rgba(220, 228, 229, 0.82));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.48),
      0 -20px 70px rgba(0, 0, 0, 0.24);
  }

  .cart-close{
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(204, 184, 135, 0.24);
    background: rgba(242, 246, 243, 0.55);
    color: #223641;
    font-size: 1.35rem;
  }

  .cart-kicker{
    margin-bottom: 3px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .cart-panel h2{
    margin-bottom: 10px;
    font-size: 1.7rem;
  }

  .cart-items{
    gap: 8px;
  }

  .cart-item{
    gap: 6px;
    padding: 10px;
    border-radius: 15px;
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.76), rgba(224, 231, 231, 0.6));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 8px 18px rgba(20, 36, 52, 0.08);
  }

  .cart-item-title{
    padding-right: 30px;
    font-size: 1.06rem;
    line-height: 1.08;
  }

  .cart-item-size{
    width: fit-content;
    padding: 4px 8px;
    border: 1px solid rgba(204, 184, 135, 0.22);
    border-radius: 999px;
    background: rgba(242, 246, 243, 0.54);
    font-size: 0.74rem;
  }

  .cart-item-price,
  .cart-item-total,
  .cart-delivery-note,
  .cart-note,
  .cart-feedback{
    font-size: 0.77rem;
    line-height: 1.34;
  }

  .cart-item-total{
    color: #223641;
    font-weight: 900;
  }

  .cart-item-controls{
    justify-content: space-between;
    gap: 6px;
  }

  .cart-item .quantity-control{
    padding: 4px;
  }

  .cart-remove-button{
    min-height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(224, 231, 231, 0.48));
  }

  .cart-summary{
    gap: 5px;
    padding: 10px;
    border-radius: 15px;
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.74), rgba(224, 231, 231, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  }

  .cart-summary-row{
    font-size: 0.8rem;
  }

  .cart-summary-total{
    font-size: 0.94rem;
  }

  .cart-summary-total .cart-summary-value{
    font-size: 1rem;
  }

  .cart-order-button,
  .cart-clear-button{
    min-height: 46px;
    border-radius: 14px;
    font-size: 0.86rem;
  }

  .order-confirm-item{
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .order-confirm-item img{
    width: 76px;
    height: 62px;
  }

  .order-confirm-item h4{
    font-size: 1.05rem;
  }

  .order-confirm-item p,
  .order-general-note{
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .order-item-controls{
    gap: 8px;
    margin-top: 9px;
  }

  .order-item-control-label{
    font-size: 0.62rem;
  }

  .order-item-size-options{
    gap: 5px;
  }

  .order-item-size-chip{
    min-width: 34px;
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.74rem;
  }

  .order-item-quantity-control{
    gap: 5px;
    padding: 4px;
  }

  .order-item-quantity-control .quantity-button{
    width: 28px;
    height: 28px;
  }

  .order-item-remove-button{
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .order-confirm-actions{
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-confirm-actions .button,
  .order-catalog-button{
    width: 100%;
    min-width: 0;
  }

  .order-payment-card,
  .order-final-receipt{
    gap: 7px;
    padding: 11px;
    border-radius: 14px;
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.54), transparent 36%),
      linear-gradient(145deg, rgba(248, 249, 244, 0.78), rgba(224, 231, 231, 0.62));
  }

  .order-number-note{
    width: 100%;
    font-size: 0.82rem;
  }

  .order-payment-row{
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(204, 184, 135, 0.16);
    font-size: 0.78rem;
  }

  .order-payment-row:last-child{
    padding-bottom: 0;
    border-bottom: 0;
  }

  .order-payment-total-row{
    margin-top: 0;
    padding-top: 0;
  }

  .order-payment-total-row strong{
    font-size: 1rem;
  }

  .order-copy-actions{
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .order-copy-button{
    width: 100%;
    min-height: 38px;
    font-size: 0.74rem;
  }

  .order-check-field{
    font-size: 0.8rem;
  }

  .order-fallback-actions{
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .order-fallback-button{
    width: 100%;
    min-height: 40px;
    font-size: 0.74rem;
  }

  .order-final-section h3{
    font-size: 1.45rem;
  }
}

@media (max-width: 380px){
  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail__meta{
    grid-template-columns: 1fr;
  }

  .product-rating-text{
    flex-basis: 100%;
  }

  .product-spec-row{
    grid-template-columns: 1fr;
  }

  .product-spec-value{
    text-align: left;
  }
}

/* New approved home foundation */
.sheherezada-home{
  position: relative;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: #f8f0e5;
}

.sheherezada-home__first-page{
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
}

.sheherezada-home__foundation{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-actions{
  position: absolute;
  top: 39.5%;
  left: 25%;
  z-index: 3;
  display: grid;
  width: 21.5%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3px, 0.35vw, 6px);
  transform: translateX(-50%);
}

.home-hero-action{
  min-width: 0;
  min-height: clamp(22px, 1.55vw, 27px);
  padding: 0 clamp(4px, 0.42vw, 7px);
  border: 1px solid rgba(145, 89, 14, 0.72);
  border-radius: clamp(5px, 0.45vw, 8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
  box-shadow: 0 5px 13px rgba(112, 67, 10, 0.17), inset 0 1px rgba(255, 237, 191, 0.42);
  font-size: clamp(6px, 0.55vw, 10px);
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(72, 40, 4, 0.34);
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.home-hero-action:hover,
.home-hero-action:focus-visible{
  transform: translateY(-1px);
  background: linear-gradient(145deg, #d5a74e, #ad741f);
  box-shadow: 0 7px 16px rgba(112, 67, 10, 0.22), inset 0 1px rgba(255, 241, 202, 0.5);
}

.home-hero-action--account,
.home-hero-action--cart,
.home-hero-action--telegram,
.home-hero-action--avito{
  width: 100%;
  justify-self: stretch;
}

.home-hero-action--avito{
  grid-column: 3;
}

.home-hero-action--account:disabled{
  cursor: default;
  opacity: 1;
}

.home-mobile-catalog-title,
.home-mobile-filters{
  display: none;
}

@media (max-width: 620px){
  .account-actions{
    grid-template-columns: 1fr;
  }

  .account-profile-grid{
    grid-template-columns: 1fr;
  }

  .account-profile-field--wide{
    grid-column: auto;
  }

  .account-tabs{
    gap: 4px;
  }

  .account-tabs.has-admin{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-tab{
    padding-inline: 7px;
    font-size: 0.82rem;
  }

  .account-section-header,
  .account-address-card__header{
    display: grid;
  }

  .account-compact-button,
  .account-logout-button{
    width: 100%;
  }

  .account-profile-footer{
    justify-content: stretch;
  }

  .account-admin-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-admin-order__header,
  .account-admin-user__header{
    display: grid;
    gap: 4px;
  }

  .account-order__header,
  .account-order__summary{
    display: grid;
    gap: 4px;
  }
}

.home-catalog-layout{
  display: grid;
  grid-template-columns: minmax(0, 14%) minmax(0, 1fr) minmax(0, 14%);
  gap: 1.8%;
}

.home-catalog-layout--overlay{
  position: absolute;
  inset: 55.8% 1.8% 2.1%;
}

.home-product-grid{
  display: grid;
  min-width: 0;
  padding-top: clamp(38px, 4.55vw, 76px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 0.72vw, 12px);
}

.home-product-placeholder{
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) 28%;
  border: 1px solid rgba(191, 132, 47, 0.58);
  border-radius: clamp(6px, 0.72vw, 12px);
  background: rgba(255, 251, 245, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 22px rgba(116, 76, 25, 0.08);
}

.home-product-placeholder > div{
  min-height: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.78), rgba(242, 225, 199, 0.34));
}

.home-product-placeholder[data-home-category="perfume"] > div{
  background:
    url("./assets/concepts/category-perfume-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="tubeteiki"] > div{
  background:
    url("./assets/concepts/category-baseball-caps-tubeteiki-fairytale-preview-v1.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="namazlyk"] > div{
  background:
    url("./assets/concepts/category-namazlyk-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="tasbih"] > div{
  background:
    url("./assets/concepts/category-tasbih-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="pictures-clocks"] > div{
  background:
    url("./assets/concepts/category-pictures-clocks-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="souvenirs"] > div{
  background:
    url("./assets/concepts/category-souvenirs-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="toys"] > div{
  background:
    url("./assets/concepts/category-toys-fairytale-hero-v3.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="deodorants"] > div{
  background:
    url("./assets/concepts/category-deodorants-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="care"] > div{
  background:
    url("./assets/concepts/category-hygiene-fairytale-hero-v3.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="supplements"] > div{
  background:
    url("./assets/concepts/category-supplements-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="ent"] > div{
  background:
    url("./assets/concepts/category-ent-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="black-seed-oil"] > div{
  background:
    url("./assets/concepts/category-black-seed-oil-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="tea"] > div{
  background:
    url("./assets/concepts/category-tea-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="hijama"] > div{
  background:
    url("./assets/concepts/category-hijama-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="gifts"] > div{
  background:
    url("./assets/concepts/category-gifts-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="sadaqah"] > div{
  background:
    url("./assets/concepts/category-sadaqah-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="aroma-diffusers"] > div{
  background:
    url("./assets/concepts/category-aroma-diffusers-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="muscles-joints"] > div{
  background:
    url("./assets/concepts/category-muscles-joints-fairytale-hero-v1.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="unique-services"] > div{
  background:
    url("./assets/concepts/category-unique-services-fairytale-hero-v2.png")
    center / cover no-repeat;
}

.home-product-placeholder[data-home-category="charity"] > div{
  background:
    url("./assets/optimized/directories/charity-card.webp")
    center / cover no-repeat;
}

.home-product-placeholder > footer{
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 4px clamp(6px, 0.65vw, 11px);
  border-top: 1px solid rgba(191, 132, 47, 0.34);
  color: #173f6f;
  background: rgba(255, 252, 247, 0.72);
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.home-product-placeholder[data-home-category="perfume"],
.home-product-placeholder[data-home-category="tubeteiki"],
.home-product-placeholder[data-home-category="namazlyk"],
.home-product-placeholder[data-home-category="tasbih"],
.home-product-placeholder[data-home-category="pictures-clocks"],
.home-product-placeholder[data-home-category="souvenirs"],
.home-product-placeholder[data-home-category="toys"],
.home-product-placeholder[data-home-category="deodorants"],
.home-product-placeholder[data-home-category="care"],
.home-product-placeholder[data-home-category="supplements"],
.home-product-placeholder[data-home-category="ent"],
.home-product-placeholder[data-home-category="black-seed-oil"],
.home-product-placeholder[data-home-category="tea"],
.home-product-placeholder[data-home-category="hijama"],
.home-product-placeholder[data-home-category="gifts"],
.home-product-placeholder[data-home-category="sadaqah"],
.home-product-placeholder[data-home-category="aroma-diffusers"],
.home-product-placeholder[data-home-category="muscles-joints"],
.home-product-placeholder[data-home-category="unique-services"],
.home-product-placeholder[data-home-category="charity"]{
  grid-template-rows: minmax(0, 1fr) clamp(26px, 2.05vw, 32px);
}

.home-product-placeholder[data-home-category="perfume"] > div,
.home-product-placeholder[data-home-category="tubeteiki"] > div,
.home-product-placeholder[data-home-category="namazlyk"] > div,
.home-product-placeholder[data-home-category="tasbih"] > div,
.home-product-placeholder[data-home-category="pictures-clocks"] > div,
.home-product-placeholder[data-home-category="souvenirs"] > div,
.home-product-placeholder[data-home-category="toys"] > div,
.home-product-placeholder[data-home-category="deodorants"] > div,
.home-product-placeholder[data-home-category="care"] > div,
.home-product-placeholder[data-home-category="supplements"] > div,
.home-product-placeholder[data-home-category="ent"] > div,
.home-product-placeholder[data-home-category="black-seed-oil"] > div,
.home-product-placeholder[data-home-category="tea"] > div,
.home-product-placeholder[data-home-category="hijama"] > div,
.home-product-placeholder[data-home-category="gifts"] > div,
.home-product-placeholder[data-home-category="sadaqah"] > div,
.home-product-placeholder[data-home-category="aroma-diffusers"] > div,
.home-product-placeholder[data-home-category="muscles-joints"] > div,
.home-product-placeholder[data-home-category="unique-services"] > div,
.home-product-placeholder[data-home-category="charity"] > div{
  z-index: 0;
  grid-row: 1 / -1;
  grid-column: 1;
}

.home-product-placeholder[data-home-category="perfume"] > footer,
.home-product-placeholder[data-home-category="tubeteiki"] > footer,
.home-product-placeholder[data-home-category="namazlyk"] > footer,
.home-product-placeholder[data-home-category="tasbih"] > footer,
.home-product-placeholder[data-home-category="pictures-clocks"] > footer,
.home-product-placeholder[data-home-category="souvenirs"] > footer,
.home-product-placeholder[data-home-category="toys"] > footer,
.home-product-placeholder[data-home-category="deodorants"] > footer,
.home-product-placeholder[data-home-category="care"] > footer,
.home-product-placeholder[data-home-category="supplements"] > footer,
.home-product-placeholder[data-home-category="ent"] > footer,
.home-product-placeholder[data-home-category="black-seed-oil"] > footer,
.home-product-placeholder[data-home-category="tea"] > footer,
.home-product-placeholder[data-home-category="hijama"] > footer,
.home-product-placeholder[data-home-category="gifts"] > footer,
.home-product-placeholder[data-home-category="sadaqah"] > footer,
.home-product-placeholder[data-home-category="aroma-diffusers"] > footer,
.home-product-placeholder[data-home-category="muscles-joints"] > footer,
.home-product-placeholder[data-home-category="unique-services"] > footer,
.home-product-placeholder[data-home-category="charity"] > footer{
  display: none;
  z-index: 1;
  grid-row: 1 / -1;
  grid-column: 1;
  align-self: start;
  padding: clamp(6px, 0.55vw, 9px) 8px 0;
  border-top: 0;
  color: #e8c879;
  background: transparent;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-shadow:
    0 1px 2px rgba(5, 23, 41, 0.96),
    0 0 7px rgba(5, 23, 41, 0.82);
}

.home-side-column{
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(191, 132, 47, 0.54);
  border-radius: clamp(7px, 0.82vw, 14px);
  background: rgba(255, 251, 245, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 28px rgba(116, 76, 25, 0.07);
}

.home-filter-rail{
  position: absolute;
  top: calc(31.4vw + clamp(38px, 4.55vw, 76px) - 7px);
  bottom: 0;
  left: 1.8%;
  z-index: 4;
  width: 13.5%;
  pointer-events: none;
}

.home-side-column--sticky{
  position: sticky;
  top: clamp(26px, 2.8vw, 48px);
  width: 100%;
  height: clamp(420px, 42.8vw, 1100px);
  pointer-events: auto;
}

.home-side-column__scroll{
  display: grid;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(6px, 0.68vw, 12px);
  grid-template-rows: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(6px, 0.64vw, 11px);
  scrollbar-color: rgba(177, 116, 35, 0.42) transparent;
  scrollbar-width: thin;
}

.home-filter-mount{
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: rgba(177, 116, 35, 0.5) transparent;
  scrollbar-width: thin;
}

.home-filter-panel{
  display: grid;
  gap: clamp(8px, 0.7vw, 12px);
  padding: clamp(8px, 0.75vw, 13px);
  color: #173f6f;
  font-size: clamp(9px, 0.7vw, 12px);
}

.home-filter-panel__header{
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0 8px;
  background: rgba(255, 251, 245, 0.96);
}

.home-filter-panel__header strong{
  color: #173f6f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1;
}

.home-filter-panel__header button{
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #9c681f;
  background: transparent;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-filter-group{
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: clamp(7px, 0.6vw, 10px) 0 0;
  border: 0;
  border-top: 1px solid rgba(191, 132, 47, 0.24);
}

.home-filter-group legend{
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  color: #9c681f;
  font-size: 0.92em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-filter-option,
.home-filter-check{
  display: flex;
  min-width: 0;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 7px;
  cursor: pointer;
  line-height: 1.25;
  transition: color 150ms ease, background 150ms ease;
}

.home-filter-option input,
.home-filter-check input{
  flex: 0 0 auto;
  margin: 0;
  accent-color: #173f6f;
}

.home-filter-option span,
.home-filter-check span{
  min-width: 0;
}

.home-filter-option:hover,
.home-filter-check:hover{
  background: rgba(212, 165, 91, 0.12);
}

.home-filter-option:has(input:checked){
  color: #fff7e7;
  background: #173f6f;
  box-shadow: 0 5px 14px rgba(23, 63, 111, 0.16);
}

.home-filter-price{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.home-filter-price input{
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 7px;
  border: 1px solid rgba(191, 132, 47, 0.34);
  border-radius: 6px;
  color: #173f6f;
  background: rgba(255, 255, 255, 0.74);
  font-size: inherit;
}

.home-filter-range{
  width: 100%;
  margin: 4px 0 0;
  accent-color: #b67b2d;
}

.home-side-placeholder,
.home-promo-placeholder{
  min-height: 0;
  border: 1px solid rgba(198, 146, 72, 0.3);
  border-radius: clamp(6px, 0.68vw, 11px);
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.76), transparent 44%),
    rgba(255, 252, 247, 0.5);
}

.home-promo-placeholder{
  display: grid;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) 28%;
}

.home-promo-placeholder__media{
  min-height: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.78), rgba(242, 225, 199, 0.34));
}

.home-promo-placeholder--ramadan .home-promo-placeholder__media{
  background:
    url("./assets/concepts/promo-ramadan-editorial-light-v1.png")
    center / cover no-repeat;
}

.home-promo-placeholder--kurban-bayram .home-promo-placeholder__media{
  background:
    url("./assets/concepts/promo-kurban-bayram-editorial-light-v2.png")
    center / cover no-repeat;
}

.home-promo-placeholder > footer{
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 5px clamp(7px, 0.72vw, 12px);
  border-top: 1px solid rgba(191, 132, 47, 0.34);
  color: #173f6f;
  background: rgba(255, 252, 247, 0.74);
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
}

.home-side-column--promos{
  display: grid;
  padding: clamp(6px, 0.68vw, 12px);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 0.64vw, 11px);
}

.home-side-column--promos-single{
  grid-template-rows: minmax(0, 1fr);
}

.home-catalog-layout--overlay > .home-side-column--promos-single{
  margin-top: clamp(38px, 4.55vw, 76px);
}

.home-promo-placeholder--feature{
  position: relative;
  grid-template-rows: minmax(0, 1fr) clamp(44px, 4.2vw, 70px);
}

.home-promo-placeholder__title{
  position: absolute;
  top: clamp(10px, 1.15vw, 18px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.44vw, 8px);
  color: #9a651f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-promo-placeholder__title::before,
.home-promo-placeholder__title::after{
  width: clamp(12px, 1.15vw, 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 101, 31, 0.82));
  content: "";
}

.home-promo-placeholder__title::after{
  background: linear-gradient(90deg, rgba(154, 101, 31, 0.82), transparent);
}

.home-side-column.home-side-column--promos.home-side-column--promos-single{
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-promo-placeholder--feature.home-promo-placeholder--ramadan,
.home-promo-placeholder--feature.home-promo-placeholder--kurban-bayram{
  border: 0;
  grid-template-rows: minmax(0, 1fr);
  background: transparent;
}

.sheherezada-home__continuation{
  position: relative;
  min-height: 100vh;
  padding: clamp(26px, 2.8vw, 48px) 1.8% clamp(48px, 5vw, 84px);
  background:
    url("./assets/concepts/sheherezada-home-day-continuation.png")
    center top / 100% auto repeat-y;
  transition: background 300ms ease;
}

[data-site-theme="night"] .sheherezada-home__continuation{
  background:
    url("./assets/concepts/sheherezada-home-night-continuation.png")
    center top / 100% auto repeat-y;
}

.home-catalog-layout--continuation{
  min-height: clamp(286px, 19.2vw, 540px);
}

.home-product-grid--continuation{
  min-height: 0;
  padding-top: 0;
  grid-template-rows: repeat(2, minmax(140px, 1fr));
}

@media (max-width: 980px){
  .home-catalog-layout{
    grid-template-columns: minmax(0, 15%) minmax(0, 1fr) minmax(0, 15%);
    gap: 1.2%;
  }

  .home-catalog-layout--overlay{
    right: 1.2%;
    left: 1.2%;
  }

  .home-filter-rail{
    left: 1.2%;
    width: 14.64%;
  }

  .home-product-grid{
    gap: 6px;
  }
}

@media (max-width: 700px){
  .sheherezada-home{
    background:
      url("./assets/concepts/sheherezada-home-day-continuation.png")
      center top / 100% auto repeat-y;
  }

  [data-site-theme="night"] .sheherezada-home{
    background:
      url("./assets/concepts/sheherezada-home-night-continuation.png")
      center top / 100% auto repeat-y;
  }

  .sheherezada-home__first-page{
    aspect-ratio: auto;
    overflow: visible;
    padding-top: 63vw;
    background: transparent;
  }

  .sheherezada-home__foundation{
    right: auto;
    bottom: auto;
    width: 200%;
    max-width: none;
    height: 63vw;
    object-fit: cover;
    object-position: left top;
  }

  .home-hero-actions{
    top: 43.5vw;
    left: 50%;
    width: auto;
    grid-template-columns: repeat(2, clamp(64px, 17vw, 70px));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 3px 5px;
    transform: translateX(-50%);
  }

  .home-hero-action,
  .home-hero-action:hover,
  .home-hero-action:focus-visible{
    min-height: clamp(14px, 3.6vw, 16px);
    padding: 0 2px;
    border-color: rgba(145, 89, 14, 0.76);
    border-radius: clamp(3px, 0.8vw, 4px);
    color: #fffaf0;
    background: linear-gradient(145deg, #c9973d, #a56817);
    box-shadow:
      0 2px 6px rgba(112, 67, 10, 0.16),
      inset 0 1px rgba(255, 237, 191, 0.42);
    font-size: clamp(6px, 1.65vw, 7.5px);
    text-shadow: 0 1px 1px rgba(72, 40, 4, 0.3);
    transform: none;
  }

  .home-hero-action--telegram{
    grid-column: 1;
    grid-row: 1;
  }

  .home-hero-action--avito{
    grid-column: 1;
    grid-row: 2;
  }

  .home-hero-action--account{
    grid-column: 2;
    grid-row: 1;
  }

  .home-hero-action--cart{
    grid-column: 2;
    grid-row: 2;
  }

  .home-mobile-catalog-title{
    display: block;
    margin: 18px 12px 12px;
    padding: 0;
    color: #87571f;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1;
    text-align: center;
  }

  .home-mobile-filters{
    display: block;
    margin: 0 12px 12px;
    overflow: hidden;
    border: 1px solid rgba(191, 132, 47, 0.5);
    border-radius: 11px;
    background: rgba(245, 231, 211, 0.68);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 8px 20px rgba(116, 76, 25, 0.08);
  }

  .home-mobile-filters > summary{
    min-height: 46px;
    padding: 13px 16px;
    cursor: pointer;
    color: #87571f;
    background: rgba(255, 249, 239, 0.18);
    font-weight: 800;
    list-style-position: inside;
  }

  .home-mobile-filter-body{
    max-height: 68vh;
    overflow-y: auto;
    border-top: 1px solid rgba(191, 132, 47, 0.24);
  }

  .home-mobile-filter-body .home-filter-panel{
    padding: 12px;
    color: #87571f;
    font-size: 15px;
  }

  .home-mobile-filter-body .home-filter-panel__header{
    position: static;
    background: transparent;
  }

  .home-mobile-filter-body .home-filter-panel__header strong{
    color: #87571f;
  }

  .home-mobile-filter-body .home-filter-option,
  .home-mobile-filter-body .home-filter-check{
    min-height: 32px;
    gap: 8px;
    padding: 6px 8px;
  }

  .home-mobile-filter-body .home-filter-option{
    min-height: 34px;
    font-size: 16px;
  }

  .home-mobile-filter-body .home-filter-option input,
  .home-mobile-filter-body .home-filter-check input{
    width: 16px;
    height: 16px;
  }

  .home-filter-rail{
    display: none;
  }

  .home-catalog-layout,
  .home-catalog-layout--overlay,
  .home-catalog-layout--continuation{
    position: static;
    display: grid;
    min-height: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .home-catalog-layout--overlay{
    margin: 0 12px;
  }

  .home-catalog-layout--overlay > .home-side-column--promos-single{
    margin-top: 0;
  }

  .home-side-column-space{
    display: none;
  }

  .home-product-grid,
  .home-product-grid--continuation{
    min-height: 0;
    padding-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: clamp(150px, 48vw, 190px);
    gap: 10px;
  }

  .home-product-placeholder{
    border-radius: 10px;
  }

  .home-product-placeholder > footer,
  .home-promo-placeholder > footer{
    padding: 6px 7px;
    font-size: clamp(11px, 3.1vw, 13px);
  }

  .home-product-placeholder[data-home-category="perfume"],
  .home-product-placeholder[data-home-category="tubeteiki"]{
    grid-template-rows: minmax(0, 1fr) clamp(28px, 7.5vw, 32px);
  }

  .home-product-placeholder[data-home-category="perfume"] > div{
    background-image: url("./assets/concepts/category-perfume-fairytale-hero-v2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .home-product-placeholder[data-home-category="perfume"] > footer,
  .home-product-placeholder[data-home-category="tubeteiki"] > footer{
    padding: 6px 7px 0;
    font-size: clamp(13px, 3.5vw, 15px);
  }

  .home-side-column--promos{
    min-height: clamp(180px, 52vw, 220px);
    padding: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: 8px;
  }

  .home-side-column--promos-single{
    grid-template-columns: minmax(0, 1fr);
  }

  .sheherezada-home__continuation{
    min-height: 0;
    padding: 20px 12px 46px;
  }

  .sheherezada-home__continuation,
  [data-site-theme="night"] .sheherezada-home__continuation{
    background: transparent;
  }

  .sheherezada-home__continuation .home-side-column--promos{
    min-height: clamp(150px, 42vw, 190px);
  }
}

/* Премиальная страница отдельного товара. */
.category-detail--product-screen .product-detail{
  width: min(1180px, 100%);
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
}

.category-detail--product-screen .product-detail__media{
  width: 100%;
  max-width: none;
}

.product-gallery-stage{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 0.8vw, 13px);
}

.product-gallery-card{
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  padding: 0;
  border: 1px solid rgba(190, 132, 43, 0.58);
  border-radius: 11px;
  cursor: zoom-in;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 35%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(246, 237, 221, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(72, 50, 26, 0.08);
}

.product-gallery-card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-gallery-card--empty{
  cursor: default;
}

.category-detail--product-screen .product-detail__content{
  display: grid;
  max-width: none;
  gap: 12px;
  padding: clamp(17px, 1.6vw, 24px);
  border: 1px solid rgba(190, 132, 43, 0.56);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.82), rgba(245, 234, 216, 0.64));
  box-shadow:
    inset 0 0 0 4px rgba(255, 251, 241, 0.34),
    inset 0 0 0 5px rgba(190, 132, 43, 0.14),
    0 16px 38px rgba(67, 44, 22, 0.09);
}

.category-detail--product-screen .product-detail__title{
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(190, 132, 43, 0.3);
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.05;
  text-align: center;
}

.category-detail--product-screen .product-rating{
  justify-content: center;
  margin: -2px 0 0;
}

.category-detail--product-screen .product-description{
  max-width: 62ch;
  margin: 0 auto;
  color: #173f6f;
  line-height: 1.5;
  text-align: center;
}

.category-detail--product-screen .product-detail__meta{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.product-meta-item{
  display: grid;
  min-height: 58px;
  place-content: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(190, 132, 43, 0.32);
  border-radius: 9px;
  background: rgba(255, 252, 245, 0.58);
  text-align: center;
}

.product-meta-label{
  color: #9a6517;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.product-meta-value{
  color: #173f6f;
  font-size: 0.82rem;
  line-height: 1.2;
}

.category-detail--product-screen .product-specs{
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(190, 132, 43, 0.38);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.48);
}

.category-detail--product-screen .product-spec-row{
  grid-template-columns: minmax(112px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  padding: 7px 11px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.category-detail--product-screen .product-spec-row + .product-spec-row{
  border-top: 1px solid rgba(190, 132, 43, 0.16);
}

.category-detail--product-screen .product-spec-label{
  color: #9a6517;
}

.product-selection-panel{
  display: grid;
  gap: 9px;
  padding-top: 2px;
}

.product-selection-controls{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.category-detail--product-screen .product-size-selector,
.product-quantity-selector{
  display: grid;
  gap: 5px;
  margin: 0;
}

.category-detail--product-screen .quantity-control{
  margin: 0;
}

.category-detail--product-screen .product-line-total{
  margin: 0;
  padding: 7px 9px;
  border-radius: 7px;
  color: #173f6f;
  background: rgba(255, 252, 245, 0.58);
  text-align: center;
}

.category-detail--product-screen .product-detail-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.category-detail--product-screen .product-detail__button{
  width: 100%;
}

.similar-products{
  grid-column: 1 / -1;
  display: grid;
  gap: 13px;
  margin-top: clamp(8px, 1.2vw, 16px);
  padding-top: clamp(14px, 1.6vw, 22px);
  border-top: 1px solid rgba(190, 132, 43, 0.42);
}

.similar-products-title{
  margin: 0;
  color: #173f6f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
  line-height: 1;
  text-align: center;
}

.similar-products-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(9px, 0.9vw, 14px);
}

.similar-products-grid .product-card{
  height: clamp(190px, 15vw, 230px);
  aspect-ratio: auto;
}

.similar-products-grid .product-card-summary{
  padding: 7px 8px 8px;
}

.similar-products-grid .product-title{
  font-size: clamp(0.64rem, 0.75vw, 0.78rem);
}

.similar-products-grid .product-card-price{
  font-size: clamp(0.62rem, 0.7vw, 0.74rem);
}

.similar-products-grid .product-button{
  min-height: 25px;
  font-size: clamp(0.58rem, 0.62vw, 0.68rem);
}

.category-detail--product-screen .product-reviews-block{
  margin-top: 0;
  padding: clamp(14px, 1.5vw, 20px);
  border-color: rgba(190, 132, 43, 0.48);
  border-radius: 12px;
  background: rgba(255, 252, 245, 0.64);
  box-shadow: 0 12px 30px rgba(67, 44, 22, 0.07);
}

.category-detail--product-screen .product-reviews-title{
  text-align: center;
}

@media (max-width: 700px){
  .category-detail--product-screen .product-detail{
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .category-detail--product-screen .product-detail__media{
    width: 100%;
    margin: 0;
  }

  .product-gallery-stage{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .product-gallery-card{
    aspect-ratio: 1 / 1.08;
  }

  .category-detail--product-screen .product-detail__content{
    gap: 11px;
    padding: 15px 12px;
  }

  .category-detail--product-screen .product-detail__title{
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .category-detail--product-screen .product-detail__meta{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .product-meta-item{
    min-height: 54px;
    padding: 6px 4px;
  }

  .product-meta-label{
    font-size: 0.58rem;
  }

  .product-meta-value{
    font-size: 0.7rem;
  }

  .category-detail--product-screen .product-spec-row{
    grid-template-columns: minmax(92px, 0.4fr) minmax(0, 1fr);
    gap: 8px;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .product-selection-controls{
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .product-quantity-selector{
    justify-items: start;
  }

  .similar-products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .similar-products-grid .product-card{
    height: clamp(160px, 48vw, 190px);
  }

  .category-detail--product-screen .product-detail-actions{
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Единый новый стиль отдельных экранов каталога. */
.category-detail.app-screen,
.reviews-section.app-screen{
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: clamp(18px, 2.2vw, 38px);
  border: 0;
  border-radius: 0;
  background:
    url("./assets/concepts/sheherezada-home-day-continuation.png")
    center top / 100% auto repeat-y;
  box-shadow: none;
}

[data-site-theme="night"] .category-detail.app-screen,
[data-site-theme="night"] .reviews-section.app-screen{
  background:
    url("./assets/concepts/sheherezada-home-night-continuation.png")
    center top / 100% auto repeat-y;
}

.home-filter-panel__header{
  position: static;
  padding: 2px 0 7px;
  background: transparent;
}

.reviews-section > .section-navigation,
.reviews-section > .reviews-heading,
.reviews-section > .reviews-grid,
.reviews-section > .reviews-actions,
.reviews-section > .reviews-bottom-navigation{
  width: min(1460px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-navigation{
  justify-content: center;
  gap: 7px;
  margin-bottom: 18px;
}

.section-navigation-button,
.section-navigation-button:hover,
.section-navigation-button:focus-visible{
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(140, 85, 12, 0.76);
  border-radius: 6px;
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
  box-shadow:
    0 3px 8px rgba(112, 67, 10, 0.13),
    inset 0 1px rgba(255, 237, 191, 0.42);
  font-size: 0.78rem;
  text-shadow: 0 1px 1px rgba(72, 40, 4, 0.28);
  transform: none;
}

@media (min-width: 981px){
}

.category-detail.app-screen{
  scroll-margin-top: 0;
}

.category-detail__card,
.category-detail--products .category-detail__card,
.category-detail--product-screen .category-detail__card{
  display: block;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 1.5vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(191, 132, 47, 0.52);
  border-radius: 14px;
  background: rgba(245, 231, 211, 0.64);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 14px 34px rgba(116, 76, 25, 0.09);
}

.category-detail__media,
.category-detail--products .category-detail__media{
  display: none;
}

.category-detail__content,
.category-detail--products .category-detail__content,
.category-detail--product-screen .category-detail__content{
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

.category-detail__kicker{
  margin: 2px 0 5px;
  color: #9c681f;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.category-detail__title{
  color: #173f6f;
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  text-align: center;
}

.category-detail__subtitle{
  color: #9c681f;
  text-align: center;
}

.category-detail__text,
.category-detail--products .category-detail__text{
  max-width: 820px;
  margin: 10px auto 18px;
  color: #5d5143;
  font-size: 0.94rem;
  line-height: 1.5;
  text-align: center;
}

.category-product-filters{
  width: min(1040px, 100%);
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid rgba(191, 132, 47, 0.46);
  border-radius: 10px;
  background: rgba(245, 231, 211, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.category-product-filters > summary{
  min-height: 42px;
  padding: 11px 14px;
  cursor: pointer;
  color: #87571f;
  background: rgba(255, 249, 239, 0.2);
  font-size: 0.9rem;
  font-weight: 800;
  list-style-position: inside;
}

.category-product-filter-body{
  border-top: 1px solid rgba(191, 132, 47, 0.24);
}

.category-product-filter-body .home-filter-mount{
  height: auto;
  max-height: 58vh;
}

.category-product-filter-body .home-filter-panel{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  padding: 12px;
  color: #87571f;
  font-size: 0.78rem;
}

.category-product-filter-body .home-filter-panel__header{
  grid-column: 1 / -1;
}

.category-product-filter-body .home-filter-panel__header strong{
  color: #87571f;
}

.category-detail--product-screen .category-product-filters{
  display: none !important;
}

.product-audience-tabs{
  justify-content: center;
  gap: 7px;
  margin: 0 0 16px;
}

.product-audience-tab,
.product-audience-tab:hover,
.product-audience-tab:focus-visible{
  min-height: 35px;
  padding: 0 13px;
  border: 1px solid rgba(159, 99, 20, 0.55);
  border-radius: 6px;
  color: #87571f;
  background: rgba(255, 249, 239, 0.56);
  box-shadow: none;
  font-size: 0.78rem;
  transform: none;
}

.product-audience-tab-active,
.product-audience-tab-active:hover,
.product-audience-tab-active:focus-visible{
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
  text-shadow: 0 1px 1px rgba(72, 40, 4, 0.28);
}

.product-group-title{
  margin: 0 0 14px;
  color: #173f6f;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  text-align: center;
}

.product-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  margin: 0 0 18px;
}

.product-card{
  border: 1px solid rgba(191, 132, 47, 0.58);
  border-radius: 11px;
  color: #173f6f;
  background: rgba(255, 251, 245, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 22px rgba(116, 76, 25, 0.07);
}

.product-card:hover,
.product-card:focus-visible,
.product-card.is-selected{
  border-color: rgba(161, 99, 19, 0.72);
  box-shadow: 0 10px 26px rgba(116, 76, 25, 0.12);
  transform: translateY(-1px);
}

.product-image{
  aspect-ratio: 1.26 / 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.78), rgba(242, 225, 199, 0.34));
}

.product-image--empty{
  cursor: default;
}

.product-image img{
  aspect-ratio: inherit;
}

.product-image img[src*="tubeteiki-thumb.webp"]{
  opacity: 0;
}

.product-badge{
  top: 7px;
  left: 7px;
  border-color: rgba(145, 89, 14, 0.68);
  border-radius: 5px;
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
  font-size: 0.62rem;
}

.product-title{
  min-height: 2.45em;
  margin: 8px 9px 0;
  color: #173f6f;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(0.72rem, 0.86vw, 0.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.product-audience-label{
  align-self: center;
  margin: 7px 8px 0;
  padding: 4px 7px;
  border-color: rgba(191, 132, 47, 0.34);
  border-radius: 5px;
  color: #87571f;
  background: rgba(255, 249, 239, 0.5);
  font-size: 0.63rem;
}

.product-meta{
  gap: 2px;
  margin: 7px 9px 8px;
  color: #173f6f;
  font-size: clamp(0.62rem, 0.72vw, 0.74rem);
  line-height: 1.25;
  text-align: center;
}

.product-button,
.product-button:hover,
.product-button:focus-visible{
  width: calc(100% - 18px);
  min-height: 35px;
  margin: auto 9px 0;
  padding: 0 8px;
  border: 1px solid rgba(145, 89, 14, 0.72);
  border-radius: 6px;
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
  box-shadow:
    0 3px 8px rgba(112, 67, 10, 0.12),
    inset 0 1px rgba(255, 237, 191, 0.42);
  font-size: 0.76rem;
  text-shadow: 0 1px 1px rgba(72, 40, 4, 0.28);
}

.product-card-note{
  margin: 7px 8px 10px;
  color: #6a5a46;
  font-size: clamp(0.56rem, 0.66vw, 0.68rem);
  line-height: 1.25;
}

.product-filter-empty{
  grid-column: 1 / -1;
  margin: 10px 0;
  padding: 24px;
  border: 1px solid rgba(191, 132, 47, 0.4);
  border-radius: 10px;
  color: #87571f;
  background: rgba(255, 249, 239, 0.58);
  font-weight: 700;
  text-align: center;
}

.category-detail__button,
.category-detail__button:hover,
.category-detail__button:focus-visible{
  align-self: center;
  min-height: 38px;
  border-color: rgba(145, 89, 14, 0.72);
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
}

.category-detail--product-screen .product-detail{
  margin: 0 auto;
}

.product-detail{
  width: min(1240px, 100%);
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-detail-navigation{
  justify-content: center;
  margin-bottom: 2px;
}

.product-detail__media{
  max-width: 390px;
}

.product-detail-image{
  aspect-ratio: 1.1 / 1;
  border-color: rgba(191, 132, 47, 0.48);
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.78), rgba(242, 225, 199, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 22px rgba(116, 76, 25, 0.08);
}

.product-detail-image--empty,
.product-detail-image--empty:disabled{
  cursor: default;
  opacity: 1;
}

.product-detail-image img{
  height: 100%;
  aspect-ratio: inherit;
}

.product-detail-image img[src*="tubeteiki-detail.webp"],
.product-gallery-thumb img[src*="tubeteiki-mini.webp"]{
  opacity: 0;
}

.product-gallery:has(img[src*="tubeteiki-mini.webp"]){
  display: none;
}

.product-detail__content{
  max-width: none;
}

.product-detail__kicker{
  color: #9c681f;
}

.product-detail__title{
  color: #173f6f;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.product-detail__meta{
  color: #173f6f;
}

.product-detail .product-description,
.product-spec-value{
  color: #5d5143;
}

.product-specs,
.quantity-control,
.product-reviews-block,
.product-detail-cart-message,
.product-order-add-hint{
  border-color: rgba(191, 132, 47, 0.36);
  background: rgba(255, 249, 239, 0.54);
  box-shadow: none;
}

.product-size-option,
.product-size-option:hover,
.product-size-option:focus-visible,
.quantity-button{
  border-color: rgba(191, 132, 47, 0.42);
  color: #87571f;
  background: rgba(255, 249, 239, 0.64);
}

.product-size-option-active,
.product-size-option-active:hover,
.product-size-option-active:focus-visible{
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
}

.product-buy-button,
.product-buy-button:hover,
.product-buy-button:focus-visible,
.product-add-to-order-button,
.product-add-to-order-button:hover,
.product-add-to-order-button:focus-visible{
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
}

.product-cart-button,
.product-cart-button:hover,
.product-cart-button:focus-visible,
.product-order-add-cancel-button,
.product-order-add-cancel-button:hover,
.product-order-add-cancel-button:focus-visible{
  color: #87571f;
  background: rgba(255, 249, 239, 0.72);
}

@media (max-width: 1100px){
  .product-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .product-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail{
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }
}

@media (max-width: 700px){
  .category-detail.app-screen,
.reviews-section.app-screen,
[data-site-theme="night"] .category-detail.app-screen,
[data-site-theme="night"] .reviews-section.app-screen{
    min-height: 100vh;
    padding: 12px;
    background:
      url("./assets/concepts/sheherezada-home-day-continuation.png")
      center top / 100% auto repeat-y;
  }

  [data-site-theme="night"] .category-detail.app-screen,
[data-site-theme="night"] .reviews-section.app-screen{
    background:
      url("./assets/concepts/sheherezada-home-night-continuation.png")
      center top / 100% auto repeat-y;
  }

  .category-detail__card,
  .category-detail--products .category-detail__card,
  .category-detail--product-screen .category-detail__card{
    padding: 12px;
    border-radius: 11px;
  }

  .category-detail__title{
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .category-product-filter-body .home-filter-panel{
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    font-size: 0.9rem;
  }

  .category-product-filter-body .home-filter-panel__header{
    grid-column: auto;
  }

  .section-navigation{
    gap: 5px;
  }

  .section-navigation-button,
  .section-navigation-button:hover,
  .section-navigation-button:focus-visible{
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.67rem;
  }

  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-image{
    aspect-ratio: 1 / 1.12;
  }

  .product-title{
    font-size: clamp(0.72rem, 3.5vw, 0.86rem);
  }

  .product-meta{
    font-size: clamp(0.62rem, 3vw, 0.72rem);
  }

  .product-card-note{
    font-size: clamp(0.56rem, 2.7vw, 0.66rem);
  }

  .product-detail{
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail__media{
    width: min(100%, 390px);
    max-width: 100%;
    margin: 0 auto;
  }

  .product-detail__title{
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .product-detail-actions{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail__button{
    width: 100%;
  }
}

/* Разделы товаров продолжают главную страницу без возврата старого оформления. */
.category-detail.app-screen{
  padding: clamp(14px, 1.8vw, 30px) 1.8% clamp(42px, 4vw, 70px);
  color: #173f6f;
}

.category-detail__card,
.category-detail--products .category-detail__card,
.category-detail--product-screen .category-detail__card{
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.category-detail__content,
.category-detail--products .category-detail__content,
.category-detail--product-screen .category-detail__content{
  display: block;
  padding: 0;
}

.category-page-header{
  margin: 0 auto clamp(12px, 1.3vw, 20px);
  text-align: center;
}

.category-page-header .section-navigation{
  justify-content: center;
  margin: 0 0 clamp(7px, 0.7vw, 11px);
}

.category-detail__title{
  margin: 0;
  color: #173f6f;
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  line-height: 1;
  text-align: center;
}

.category-catalog-layout{
  display: grid;
  grid-template-columns: minmax(0, 14%) minmax(0, 1fr) minmax(0, 14%);
  align-items: start;
  gap: 1.8%;
}

.category-filter-column{
  position: sticky;
  top: 12px;
  height: min(72vh, 620px);
  overflow: hidden;
}

.category-filter-column .home-filter-mount{
  height: 100%;
  overflow-y: auto;
}

.category-filter-panel .home-filter-panel__header{
  background: transparent;
}

.category-product-filters--mobile{
  display: none;
}

.category-products-column{
  min-width: 0;
}

.product-audience-tabs{
  justify-content: center;
  gap: clamp(5px, 0.55vw, 8px);
  margin: 0 0 clamp(8px, 0.8vw, 12px);
}

.product-audience-tab,
.product-audience-tab:hover,
.product-audience-tab:focus-visible,
.product-audience-tab-active,
.product-audience-tab-active:hover,
.product-audience-tab-active:focus-visible{
  min-height: 30px;
  padding: 0 clamp(8px, 0.75vw, 12px);
  border: 1px solid rgba(140, 85, 12, 0.76);
  border-radius: 6px;
  color: #fffaf0;
  background: linear-gradient(145deg, #c9973d, #a56817);
  box-shadow:
    0 3px 8px rgba(112, 67, 10, 0.13),
    inset 0 1px rgba(255, 237, 191, 0.42);
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  text-shadow: 0 1px 1px rgba(72, 40, 4, 0.28);
  transform: none;
}

.product-audience-tab-active,
.product-audience-tab-active:hover,
.product-audience-tab-active:focus-visible{
  border-color: rgba(103, 57, 4, 0.88);
  background: linear-gradient(145deg, #b97d25, #8f5510);
  box-shadow:
    0 0 0 2px rgba(223, 178, 99, 0.22),
    0 4px 10px rgba(92, 51, 5, 0.16);
}

.product-group-title{
  margin: 0 0 clamp(8px, 0.8vw, 12px);
  color: #173f6f;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  line-height: 1;
  text-align: center;
}

.product-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, 0.72vw, 12px);
  margin: 0;
}

.product-card{
  display: grid;
  min-height: 0;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: 1.23 / 1;
  border: 1px solid rgba(191, 132, 47, 0.58);
  border-radius: clamp(6px, 0.72vw, 12px);
  color: #173f6f;
  background: rgba(255, 251, 245, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 22px rgba(116, 76, 25, 0.08);
}

.product-card:hover,
.product-card:focus-visible,
.product-card.is-selected{
  border-color: rgba(161, 99, 19, 0.72);
  box-shadow: 0 10px 26px rgba(116, 76, 25, 0.12);
  transform: translateY(-1px);
}

.product-image{
  min-height: 0;
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.78), rgba(242, 225, 199, 0.34));
}

.product-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge,
.product-audience-label,
.product-meta,
.product-card-note{
  display: none;
}

.product-card-summary{
  display: grid;
  min-width: 0;
  padding: 5px clamp(6px, 0.6vw, 9px) 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "price button";
  align-items: center;
  gap: 3px 6px;
  border-top: 1px solid rgba(191, 132, 47, 0.34);
  background: rgba(255, 252, 247, 0.76);
}

.product-title{
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  grid-area: title;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #173f6f;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(9px, 0.72vw, 12px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.product-card-price{
  min-width: 0;
  overflow: hidden;
  grid-area: price;
  color: #9c681f;
  font-size: clamp(8px, 0.66vw, 11px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-button,
.product-button:hover,
.product-button:focus-visible{
  width: auto;
  min-height: 22px;
  margin: 0;
  padding: 0 clamp(6px, 0.55vw, 9px);
  grid-area: button;
  border-radius: 5px;
  font-size: clamp(8px, 0.63vw, 10px);
}

.category-promo-column{
  display: grid;
  padding: clamp(6px, 0.68vw, 12px);
  gap: clamp(6px, 0.64vw, 11px);
}

.category-promo-column .home-promo-placeholder{
  min-height: clamp(108px, 8.7vw, 145px);
}

.category-promo-column .home-promo-placeholder > footer{
  padding: 4px 6px;
  font-size: clamp(8px, 0.7vw, 11px);
}

.category-detail--product-screen .category-page-header,
.category-detail--product-screen .category-catalog-layout,
.category-detail--product-screen .category-product-filters--mobile{
  display: none !important;
}

.category-detail--product-screen .product-detail{
  display: grid;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.product-detail__title{
  color: #173f6f;
  font-size: clamp(1.7rem, 2.7vw, 2.75rem);
}

.product-detail__content,
.product-detail__content p,
.product-detail__content label,
.product-detail__content dt,
.product-detail__content dd,
.product-detail__meta,
.product-detail .product-description,
.product-spec-value{
  color: #173f6f;
}

.product-detail__kicker,
.product-spec-label{
  color: #9c681f;
}

@media (max-width: 1100px) and (min-width: 701px){
  .product-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .category-detail.app-screen,
  [data-site-theme="night"] .category-detail.app-screen{
    padding: 12px;
  }

  .category-page-header{
    margin-bottom: 12px;
  }

  .category-page-header .section-navigation{
    gap: 4px;
    margin-bottom: 12px;
  }

  .category-page-header .section-navigation-button,
  .category-page-header .section-navigation-button:hover,
  .category-page-header .section-navigation-button:focus-visible{
    min-height: 27px;
    padding: 0 7px;
    font-size: 0.63rem;
  }

  .category-detail__title{
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .category-product-filters--mobile{
    display: block;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid rgba(191, 132, 47, 0.5);
    border-radius: 11px;
    background: rgba(245, 231, 211, 0.68);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 8px 20px rgba(116, 76, 25, 0.08);
  }

  .category-product-filters--mobile > summary{
    min-height: 46px;
    padding: 13px 16px;
    color: #87571f;
    background: rgba(255, 249, 239, 0.18);
    font-size: 1rem;
  }

  .category-product-filter-body{
    max-height: 68vh;
    overflow-y: auto;
  }

  .category-product-filter-body .home-filter-panel{
    display: grid;
    padding: 12px;
    grid-template-columns: minmax(0, 1fr);
    color: #87571f;
    font-size: 15px;
  }

  .category-product-filter-body .home-filter-option,
  .category-product-filter-body .home-filter-check{
    min-height: 34px;
    gap: 8px;
    padding: 6px 8px;
    font-size: 16px;
  }

  .category-product-filter-body .home-filter-option input,
  .category-product-filter-body .home-filter-check input{
    width: 16px;
    height: 16px;
  }

  .category-catalog-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .category-filter-column{
    display: none;
  }

  .product-audience-tabs{
    gap: 5px;
    margin-bottom: 10px;
  }

  .product-audience-tab,
  .product-audience-tab:hover,
  .product-audience-tab:focus-visible,
  .product-audience-tab-active,
  .product-audience-tab-active:hover,
  .product-audience-tab-active:focus-visible{
    min-height: 28px;
    padding: 0 7px;
    font-size: clamp(0.6rem, 2.7vw, 0.72rem);
  }

  .product-group-title{
    margin-bottom: 10px;
    font-size: clamp(1.18rem, 5.4vw, 1.45rem);
  }

  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 48vw, 190px);
    gap: 10px;
  }

  .product-card{
    height: 100%;
    aspect-ratio: auto;
    border-radius: 10px;
  }

  .product-card-summary{
    padding: 6px 7px 7px;
  }

  .product-title{
    font-size: clamp(10px, 3.1vw, 13px);
  }

  .product-card-price{
    font-size: clamp(9px, 2.7vw, 11px);
  }

  .product-button,
  .product-button:hover,
  .product-button:focus-visible{
    min-height: 24px;
    padding: 0 7px;
    font-size: clamp(8px, 2.5vw, 10px);
  }

  .category-promo-column{
    min-height: 0;
    padding: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .category-promo-column .home-promo-placeholder{
    min-height: clamp(150px, 48vw, 190px);
  }

  .category-promo-column .home-promo-placeholder > footer{
    font-size: clamp(10px, 3vw, 12px);
  }

  .category-detail--product-screen .product-detail{
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Общая верхняя полоса и точные пропорции разделов. */
.category-detail.app-screen,
[data-site-theme="night"] .category-detail.app-screen{
  padding: 0;
}

.section-brand-bar{
  position: relative;
  width: 100%;
  height: clamp(42px, 3.35vw, 60px);
  overflow: hidden;
  background:
    url("./assets/concepts/sheherezada-home-day.png")
    center top / 100% auto no-repeat;
}

[data-site-theme="night"] .section-brand-bar{
  background-image: url("./assets/concepts/sheherezada-home-night.png");
}

.section-brand-actions{
  position: absolute;
  top: 50%;
  right: 2.4%;
  display: grid;
  grid-template-columns: repeat(2, clamp(78px, 7.2vw, 116px));
  gap: clamp(3px, 0.35vw, 6px);
  transform: translateY(-50%);
}

.section-brand-action,
.section-brand-action:hover,
.section-brand-action:focus-visible{
  width: 100%;
  min-height: clamp(22px, 1.55vw, 27px);
  padding: 0 clamp(4px, 0.42vw, 7px);
  font-size: clamp(6px, 0.55vw, 10px);
  white-space: normal;
}

.category-detail__card,
.category-detail--products .category-detail__card,
.category-detail--product-screen .category-detail__card{
  padding: clamp(14px, 1.8vw, 30px) 1.8% clamp(42px, 4vw, 70px);
}

.product-audience-tabs{
  display: none !important;
}

.product-group-title{
  margin: 0 0 clamp(12px, 1.1vw, 18px);
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
}

.category-filter-column,
.category-promo-column{
  height: clamp(440px, 41vw, 620px);
  margin: 0;
}

.category-filter-column{
  top: 12px;
}

.category-promo-column{
  overflow: hidden;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.category-promo-column .home-promo-placeholder{
  min-height: 0;
}

.category-filter-all-button{
  display: flex;
  width: 100%;
  min-height: 24px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 3px;
  padding: 4px 6px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  color: #fff7e7;
  background: #173f6f;
  box-shadow: 0 5px 14px rgba(23, 63, 111, 0.16);
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
}

.category-filter-all-button:hover,
.category-filter-all-button:focus-visible{
  background: #24558b;
}

.category-detail--product-screen .product-group-title{
  display: none !important;
}

.category-detail--product-screen .product-detail{
  width: min(1040px, 100%);
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(14px, 1.5vw, 20px);
  margin: 0 auto;
}

.category-detail--product-screen .product-detail__media{
  width: 100%;
  max-width: 280px;
}

.category-detail--product-screen .product-detail-image{
  aspect-ratio: 1 / 1.05;
}

.category-detail--product-screen .product-detail__kicker{
  margin-bottom: 5px;
  font-size: 0.68rem;
}

.category-detail--product-screen .product-detail__title{
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1;
}

.category-detail--product-screen .product-rating{
  gap: 6px;
  margin-top: 7px;
  font-size: 0.74rem;
}

.category-detail--product-screen .product-rating-link{
  min-height: 25px;
  padding: 0 8px;
  font-size: 0.68rem;
}

.category-detail--product-screen .product-description{
  margin: 7px 0 9px;
  font-size: 0.8rem;
  line-height: 1.42;
}

.category-detail--product-screen .product-detail__meta{
  gap: 7px;
  margin-bottom: 9px;
  font-size: 0.78rem;
}

.category-detail--product-screen .product-specs{
  gap: 5px;
  margin-bottom: 10px;
  padding: 10px;
}

.category-detail--product-screen .product-spec-row{
  grid-template-columns: minmax(96px, 130px) minmax(0, 1fr);
  gap: 8px;
  font-size: 0.76rem;
  line-height: 1.28;
}

.product-spec-row--list .product-spec-value{
  display: grid;
  gap: 2px;
}

.product-spec-row--list .product-spec-value > span{
  display: block;
}

.category-detail--product-screen .product-size-selector{
  gap: 5px;
  margin-bottom: 3px;
}

.category-detail--product-screen .product-size-title{
  font-size: 0.78rem;
}

.category-detail--product-screen .product-size-options{
  gap: 5px;
}

.category-detail--product-screen .product-size-option{
  min-width: 34px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 0.78rem;
}

.category-detail--product-screen .quantity-control{
  gap: 5px;
  margin-bottom: 9px;
  padding: 4px;
}

.category-detail--product-screen .quantity-button{
  width: 28px;
  height: 28px;
  font-size: 0.95rem;
}

.category-detail--product-screen .quantity-value{
  min-width: 24px;
  font-size: 0.8rem;
}

.category-detail--product-screen .product-line-total{
  margin: 4px 0 7px;
  font-size: 0.76rem;
}

.category-detail--product-screen .product-detail-actions{
  gap: 7px;
}

.category-detail--product-screen .product-detail__button{
  min-height: 34px;
  font-size: 0.76rem;
}

.category-detail--product-screen .product-reviews-block{
  margin-top: 10px;
  padding: 10px;
}

@media (max-width: 700px){
  .section-brand-bar{
    height: clamp(27px, 6.7vw, 34px);
    background-position: left top;
    background-size: 200% auto;
  }

  .section-brand-actions{
    right: 8px;
    grid-template-columns: repeat(2, clamp(66px, 18vw, 76px));
    gap: 4px;
  }

  .section-brand-action,
  .section-brand-action:hover,
  .section-brand-action:focus-visible{
    min-height: clamp(15px, 3.8vw, 18px);
    padding: 0 2px;
    border-radius: 4px;
    font-size: clamp(5.5px, 1.65vw, 7px);
    line-height: 1;
  }

  .category-detail__card,
  .category-detail--products .category-detail__card,
  .category-detail--product-screen .category-detail__card{
    padding: 12px 12px 42px;
  }

  .product-group-title{
    margin-bottom: 12px;
    font-size: clamp(1.2rem, 5.7vw, 1.5rem);
  }

  .category-filter-column,
  .category-promo-column{
    height: auto;
  }

  .category-promo-column{
    grid-template-rows: none;
  }

  .category-filter-all-button{
    min-height: 34px;
    padding: 6px 8px;
    font-size: 16px;
  }

  .category-detail--product-screen .product-detail{
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .category-detail--product-screen .product-detail__media{
    width: min(72vw, 270px);
    max-width: 100%;
    margin: 0 auto;
  }

  .category-detail--product-screen .product-detail__title{
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }

  .category-detail--product-screen .product-spec-row{
    grid-template-columns: minmax(82px, 0.38fr) minmax(0, 1fr);
    font-size: 0.74rem;
  }
}

/* Отдельный спокойный экран благотворительности. */
.charity-screen.app-screen{
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 clamp(48px, 5vw, 80px);
  color: #123e70;
  background:
    url("./assets/concepts/sheherezada-home-day-continuation.png")
    center top / 100% auto repeat-y;
}

[data-site-theme="night"] .charity-screen.app-screen{
  background:
    url("./assets/concepts/sheherezada-home-night-continuation.png")
    center top / 100% auto repeat-y;
}

.charity-shell{
  width: min(1180px, calc(100% - 40px));
  margin: clamp(24px, 3vw, 44px) auto 0;
}

.charity-hero{
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(184, 124, 27, 0.62);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.84);
  box-shadow: 0 18px 44px rgba(67, 45, 15, 0.14);
  backdrop-filter: blur(8px);
}

.charity-hero__image{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.charity-hero__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 44px);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.92), transparent 48%),
    linear-gradient(145deg, rgba(255, 252, 245, 0.94), rgba(239, 225, 198, 0.84));
}

.charity-hero__eyebrow{
  margin: 0 0 8px;
  color: #a26a12;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.charity-hero h1{
  margin: 0 0 18px;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.charity-verse{
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(184, 124, 27, 0.36);
}

.charity-verse p{
  margin: 0 0 12px;
  color: #3c3427;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 1.5;
}

.charity-verse cite{
  color: #9c6815;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
}

.charity-notice{
  display: grid;
  gap: 7px;
  margin: 22px 0;
  padding: 18px 22px;
  border: 1px solid rgba(184, 124, 27, 0.48);
  border-left: 5px solid #bd7e18;
  border-radius: 14px;
  color: #3c3427;
  background: rgba(255, 249, 236, 0.82);
  box-shadow: 0 8px 24px rgba(67, 45, 15, 0.08);
  backdrop-filter: blur(8px);
}

.charity-notice strong{
  color: #173f6f;
  font-size: 1rem;
}

.charity-notice span{
  font-size: 0.91rem;
  line-height: 1.5;
}

.charity-nav{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.charity-nav__button{
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid rgba(184, 124, 27, 0.62);
  border-radius: 11px;
  color: #173f6f;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 5px 15px rgba(73, 48, 13, 0.08);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.charity-nav__button:hover,
.charity-nav__button:focus-visible{
  transform: translateY(-2px);
  border-color: #a96d10;
  background: rgba(255, 252, 245, 0.96);
  outline: none;
}

.charity-groups{
  display: grid;
  gap: 16px;
}

.charity-group{
  scroll-margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(184, 124, 27, 0.56);
  border-radius: 18px;
  background: rgba(255, 249, 237, 0.74);
  box-shadow: 0 10px 28px rgba(65, 43, 13, 0.1);
  backdrop-filter: blur(9px);
}

.charity-group__summary{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.charity-group__summary::-webkit-details-marker{
  display: none;
}

.charity-group__summary::after{
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(184, 124, 27, 0.54);
  border-radius: 50%;
  color: #9d6815;
  background: rgba(255, 255, 255, 0.54);
  font-size: 1.3rem;
  line-height: 1;
}

.charity-group[open] > .charity-group__summary::after{
  content: "−";
}

.charity-group[open] > .charity-group__summary{
  border-bottom: 1px solid rgba(184, 124, 27, 0.3);
  background: rgba(250, 238, 213, 0.58);
}

.charity-group__icon{
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9a541, #a7670a);
  box-shadow: 0 5px 12px rgba(125, 78, 8, 0.22);
  font-size: 1.22rem;
}

.charity-group__heading{
  display: grid;
  gap: 3px;
}

.charity-group__heading strong{
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  font-weight: 600;
}

.charity-group__heading small{
  color: #625746;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.charity-group__count{
  display: grid;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #173f6f;
  font-size: 0.78rem;
  font-weight: 800;
}

.charity-card-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.charity-card{
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(201, 151, 70, 0.42);
  border-radius: 11px;
  background: #f8edda;
  box-shadow: 0 6px 15px rgba(65, 43, 13, 0.1);
  isolation: isolate;
}

.charity-card::after{
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 35, 47, 0.34), transparent 46%, rgba(18, 31, 46, 0.36));
  content: "";
}

.charity-card__image{
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.charity-card__content{
  position: absolute;
  top: 7px;
  right: 7px;
  left: 7px;
  padding: 6px 7px;
  border: 1px solid rgba(220, 172, 91, 0.62);
  border-radius: 7px;
  background: rgba(255, 249, 235, 0.84);
  box-shadow: 0 3px 10px rgba(34, 24, 9, 0.12);
  text-align: center;
  backdrop-filter: blur(5px);
}

.charity-card h3{
  margin: 0;
  color: #173f6f;
  font-family: inherit;
  font-size: clamp(0.64rem, 0.78vw, 0.78rem);
  font-weight: 750;
  line-height: 1.18;
}

.charity-card__location,
.charity-card__note{
  display: -webkit-box;
  overflow: hidden;
  margin: 3px 0 0;
  color: #6f604b;
  font-size: clamp(0.54rem, 0.65vw, 0.65rem);
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.charity-card__location{
  color: #9d6815;
  font-weight: 700;
}

.charity-donate-button{
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border: 1px solid #9d620a;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #d59a31, #b87511);
  box-shadow: 0 5px 12px rgba(132, 81, 8, 0.2);
  font-size: clamp(0.56rem, 0.67vw, 0.67rem);
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.charity-donate-button:hover,
.charity-donate-button:focus-visible{
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 7px 16px rgba(132, 81, 8, 0.28);
  outline: none;
}

.charity-requisites{
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 3;
}

.charity-requisites > summary{
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border: 1px solid #9d620a;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #d59a31, #b87511);
  font-size: clamp(0.56rem, 0.67vw, 0.67rem);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.charity-requisites > summary::-webkit-details-marker{
  display: none;
}

.charity-requisites[open]{
  top: 6px;
  right: 6px;
  bottom: 6px;
  left: 6px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(184, 124, 27, 0.72);
  border-radius: 8px;
  background: rgba(255, 249, 235, 0.96);
  box-shadow: 0 6px 18px rgba(34, 24, 9, 0.26);
}

.charity-requisites[open] > summary{
  position: sticky;
  top: 0;
}

.charity-requisites__list{
  display: grid;
  gap: 7px;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid rgba(184, 124, 27, 0.3);
  border-radius: 7px;
  background: rgba(245, 235, 215, 0.65);
}

.charity-requisite-row{
  display: grid;
  grid-template-columns: minmax(44px, 0.32fr) minmax(0, 1fr);
  gap: 3px 5px;
  align-items: center;
  color: #3e372c;
  font-size: 0.58rem;
}

.charity-requisite-row > span{
  color: #93600f;
  font-weight: 700;
}

.charity-requisite-row > strong{
  overflow-wrap: anywhere;
  color: #173f6f;
}

.charity-requisites__note{
  margin: 0 0 4px;
  color: #64543f;
  font-size: 0.58rem;
  line-height: 1.25;
}

.charity-copy-button{
  grid-column: 2;
  justify-self: start;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid rgba(23, 63, 111, 0.42);
  border-radius: 6px;
  color: #173f6f;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.54rem;
  font-weight: 700;
  cursor: pointer;
}

.charity-copy-fallback{
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.charity-data-note{
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  color: #655744;
  background: rgba(255, 249, 236, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  backdrop-filter: blur(7px);
}

[data-site-theme="night"] .charity-hero,
[data-site-theme="night"] .charity-notice,
[data-site-theme="night"] .charity-nav__button,
[data-site-theme="night"] .charity-group,
[data-site-theme="night"] .charity-data-note{
  background-color: rgba(245, 232, 207, 0.86);
}

@media (max-width: 820px){
  .charity-shell{
    width: min(100% - 24px, 680px);
    margin-top: 16px;
  }

  .charity-hero{
    grid-template-columns: minmax(0, 1fr);
  }

  .charity-hero__image{
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .charity-hero__content{
    padding: 25px;
  }

  .charity-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .charity-card-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .charity-screen.app-screen{
    padding-bottom: 42px;
    background-size: auto 100%;
  }

  [data-site-theme="night"] .charity-screen.app-screen{
    background-size: auto 100%;
  }

  .charity-shell{
    width: calc(100% - 18px);
  }

  .charity-hero{
    border-radius: 16px;
  }

  .charity-hero__content{
    padding: 21px 18px 24px;
  }

  .charity-hero h1{
    margin-bottom: 16px;
    font-size: clamp(1.7rem, 8.2vw, 2.35rem);
    line-height: 1.05;
  }

  .charity-verse{
    padding-top: 15px;
  }

  .charity-verse p{
    font-size: 0.95rem;
  }

  .charity-notice{
    margin: 14px 0;
    padding: 15px 16px;
  }

  .charity-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 14px;
  }

  .charity-nav__button{
    min-height: 42px;
    font-size: 0.82rem;
  }

  .charity-groups{
    gap: 11px;
  }

  .charity-group{
    border-radius: 13px;
  }

  .charity-group__summary{
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 9px;
    padding: 13px;
  }

  .charity-group__icon{
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .charity-group__heading strong{
    font-size: 1rem;
  }

  .charity-group__heading small{
    display: none;
  }

  .charity-group__summary::after,
  .charity-group__count{
    min-width: 26px;
    width: 26px;
    height: 26px;
    padding: 0;
  }

  .charity-card-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .charity-card{
    min-height: 0;
    padding: 0;
    border-radius: 9px;
  }

  .charity-card__content{
    top: 5px;
    right: 5px;
    left: 5px;
    padding: 5px 6px;
  }

  .charity-card h3{
    font-size: clamp(0.58rem, 2.7vw, 0.7rem);
  }

  .charity-card__location,
  .charity-card__note{
    font-size: clamp(0.5rem, 2.3vw, 0.59rem);
  }

  .charity-donate-button,
  .charity-requisites{
    right: 5px;
    bottom: 5px;
    left: 5px;
  }

  .charity-donate-button,
  .charity-requisites > summary{
    min-height: 24px;
    font-size: clamp(0.52rem, 2.35vw, 0.61rem);
  }

  .charity-requisite-row{
    grid-template-columns: minmax(72px, 0.35fr) minmax(0, 1fr);
  }

  .charity-copy-button{
    grid-column: 2;
    justify-self: start;
  }
}

/* Полноценный экран юридических услуг. */
.legal-services-screen.app-screen{
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 clamp(48px, 5vw, 78px);
  color: #153f70;
  background:
    url("./assets/concepts/sheherezada-home-day-continuation.png")
    center top / 100% auto repeat-y;
}

[data-site-theme="night"] .legal-services-screen.app-screen{
  background:
    url("./assets/concepts/sheherezada-home-night-continuation.png")
    center top / 100% auto repeat-y;
}

.legal-services-shell{
  width: min(1180px, calc(100% - 40px));
  margin: clamp(24px, 3vw, 44px) auto 0;
}

.legal-services-hero{
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(340px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(183, 122, 25, 0.64);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 18px 42px rgba(64, 42, 12, 0.15);
  backdrop-filter: blur(8px);
}

.legal-services-hero__image{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  object-position: center;
}

.legal-services-hero__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.8vw, 50px);
  background:
    radial-gradient(circle at 55% 8%, rgba(255, 255, 255, 0.94), transparent 48%),
    linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(238, 224, 196, 0.88));
}

.legal-services-hero__eyebrow,
.legal-team > header p,
.legal-free-help p{
  margin: 0 0 8px;
  color: #9d6814;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-services-hero h1{
  margin: 0;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 520;
  line-height: 1.02;
}

.legal-services-hero__lead{
  margin: 16px 0 0;
  color: #a36b12;
  font-size: clamp(0.93rem, 1.35vw, 1.08rem);
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-services-hero__text{
  margin: 13px 0 0;
  color: #4f4638;
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-services-hero__actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.legal-primary-button,
.legal-secondary-button,
.legal-free-help > a{
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.legal-services-hero__actions > a,
.legal-services-hero__actions > button{
  width: 100%;
}

.legal-primary-button,
.legal-free-help > a{
  border: 1px solid #9b6008;
  color: #fff;
  background: linear-gradient(180deg, #d59a31, #b87511);
  box-shadow: 0 6px 14px rgba(132, 81, 8, 0.22);
}

.legal-secondary-button{
  border: 1px solid rgba(23, 63, 111, 0.56);
  color: #173f6f;
  background: rgba(255, 255, 255, 0.72);
}

.legal-primary-button:hover,
.legal-primary-button:focus-visible,
.legal-secondary-button:hover,
.legal-secondary-button:focus-visible,
.legal-free-help > a:hover,
.legal-free-help > a:focus-visible{
  transform: translateY(-1px);
  outline: none;
}

.legal-contact-strip{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.legal-contact-strip a{
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(184, 124, 27, 0.5);
  border-radius: 10px;
  color: #173f6f;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 5px 14px rgba(66, 43, 12, 0.08);
  text-decoration: none;
  backdrop-filter: blur(7px);
}

.legal-contact-strip span{
  color: #9d6814;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-contact-strip strong{
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legal-services-nav{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.legal-services-nav__button{
  min-height: 47px;
  padding: 7px 9px;
  border: 1px solid rgba(184, 124, 27, 0.58);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #d59a31, #b87511);
  box-shadow: 0 5px 14px rgba(66, 43, 12, 0.08);
  font: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  backdrop-filter: blur(7px);
}

.legal-services-nav__button:hover,
.legal-services-nav__button:focus-visible{
  border-color: #a2680e;
  color: #fff;
  background: linear-gradient(180deg, #dfa945, #bf7b15);
  outline: none;
}

.legal-services-groups{
  display: grid;
  gap: 14px;
}

.legal-services-group{
  scroll-margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(184, 124, 27, 0.56);
  border-radius: 16px;
  background: rgba(255, 249, 237, 0.76);
  box-shadow: 0 9px 26px rgba(65, 43, 13, 0.1);
  backdrop-filter: blur(8px);
}

.legal-services-group__summary{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  padding: 16px 19px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.legal-services-group__summary::-webkit-details-marker{
  display: none;
}

.legal-services-group__summary::after{
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(184, 124, 27, 0.52);
  border-radius: 50%;
  color: #9d6814;
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.15rem;
}

.legal-services-group[open] > .legal-services-group__summary{
  border-bottom: 1px solid rgba(184, 124, 27, 0.3);
  background: rgba(249, 236, 211, 0.58);
}

.legal-services-group[open] > .legal-services-group__summary::after{
  content: "−";
}

.legal-services-group__icon{
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d8a241, #a6670a);
  box-shadow: 0 4px 11px rgba(125, 78, 8, 0.22);
  font-size: 1.08rem;
}

.legal-services-group__copy{
  display: grid;
  gap: 3px;
}

.legal-services-group__copy strong{
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 620;
}

.legal-services-group__copy small{
  color: #625746;
  font-size: 0.76rem;
  line-height: 1.35;
}

.legal-services-group__count{
  display: grid;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #173f6f;
  font-size: 0.72rem;
  font-weight: 800;
}

.legal-price-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  padding: 12px;
}

.legal-price-card{
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(199, 145, 59, 0.43);
  border-radius: 11px;
  background: #f8edda;
  box-shadow: 0 6px 17px rgba(65, 43, 13, 0.11);
  isolation: isolate;
}

.legal-price-card::after{
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 31, 46, 0.3), transparent 46%, rgba(14, 28, 43, 0.38));
  content: "";
}

.legal-price-card__image{
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.legal-price-card__content{
  position: absolute;
  top: 7px;
  right: 7px;
  left: 7px;
  padding: 6px 7px;
  border: 1px solid rgba(220, 172, 91, 0.62);
  border-radius: 7px;
  background: rgba(255, 249, 235, 0.88);
  box-shadow: 0 3px 10px rgba(34, 24, 9, 0.13);
  text-align: center;
  backdrop-filter: blur(5px);
}

.legal-price-card h3{
  margin: 0;
  color: #173f6f;
  font-size: clamp(0.59rem, 0.72vw, 0.72rem);
  font-weight: 780;
  line-height: 1.18;
}

.legal-price-card__price{
  display: inline-flex;
  margin-top: 5px;
  padding: 3px 6px;
  border-radius: 5px;
  color: #8d590b;
  background: rgba(233, 202, 145, 0.48);
  font-size: clamp(0.54rem, 0.63vw, 0.63rem);
}

.legal-price-card p{
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: #645744;
  font-size: clamp(0.49rem, 0.58vw, 0.58rem);
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.legal-price-card > a{
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border: 1px solid #9d620a;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #d59a31, #b87511);
  font-size: clamp(0.54rem, 0.62vw, 0.62rem);
  font-weight: 800;
  text-decoration: none;
}

.legal-free-help{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 24px 27px;
  border: 1px solid rgba(184, 124, 27, 0.58);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.88), transparent 35%),
    rgba(246, 231, 203, 0.82);
  box-shadow: 0 10px 26px rgba(65, 43, 13, 0.11);
}

.legal-free-help h2,
.legal-team > header h2{
  margin: 0;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 560;
}

.legal-free-help span{
  display: block;
  max-width: 760px;
  margin-top: 7px;
  color: #5e5241;
  font-size: 0.81rem;
  line-height: 1.45;
}

.legal-team{
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(184, 124, 27, 0.5);
  border-radius: 16px;
  background: rgba(255, 249, 237, 0.76);
  box-shadow: 0 9px 24px rgba(65, 43, 13, 0.09);
  backdrop-filter: blur(8px);
}

.legal-team > header{
  margin-bottom: 16px;
  text-align: center;
}

.legal-team__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-team-card{
  padding: 18px;
  border: 1px solid rgba(199, 145, 59, 0.4);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.82);
}

.legal-team-card > span{
  color: #9d6814;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-team-card h3{
  margin: 7px 0 2px;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.legal-team-card p{
  margin: 0;
  color: #655845;
  font-size: 0.79rem;
}

.legal-team-card > div{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.legal-team-card a{
  padding: 5px 8px;
  border: 1px solid rgba(184, 124, 27, 0.42);
  border-radius: 6px;
  color: #173f6f;
  background: rgba(255, 250, 239, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-services-note{
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid rgba(184, 124, 27, 0.44);
  border-left: 5px solid #b97916;
  border-radius: 11px;
  color: #5f5342;
  background: rgba(255, 249, 237, 0.75);
  font-size: 0.74rem;
  line-height: 1.45;
  backdrop-filter: blur(7px);
}

.legal-services-note strong{
  color: #173f6f;
  font-size: 0.82rem;
}

.legal-reviews{
  scroll-margin-top: 16px;
  margin-top: 16px;
  padding: clamp(18px, 2.2vw, 28px);
  overflow: visible;
  border: 1px solid rgba(184, 124, 27, 0.5);
  border-radius: 16px;
  background: rgba(255, 249, 237, 0.76);
  box-shadow: 0 9px 26px rgba(65, 43, 13, 0.1);
  backdrop-filter: blur(8px);
}

.legal-reviews__header{
  margin-bottom: 16px;
  text-align: center;
}

.legal-reviews__header p{
  margin: 0 0 5px;
  color: #9d6814;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-reviews__header h2{
  margin: 0;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 560;
}

.legal-reviews__header span{
  display: block;
  margin-top: 5px;
  color: #655845;
  font-size: 0.76rem;
}

.legal-reviews__grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  overflow: visible;
}

.legal-review-card{
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(184, 124, 27, 0.58);
  border-radius: 11px;
  color: #8f641f;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.94), transparent 44%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(235, 215, 180, 0.76));
  box-shadow: 0 7px 18px rgba(75, 49, 13, 0.1);
  font: inherit;
  cursor: default;
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease, z-index 0s;
}

.legal-review-card:first-child{
  transform-origin: left center;
}

.legal-review-card:last-child{
  transform-origin: right center;
}

.legal-review-card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fffdf8;
}

.legal-review-card--empty span{
  max-width: 12ch;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

@media (hover: hover) and (pointer: fine){
  .legal-review-card:hover,
  .legal-review-card:focus-visible{
    z-index: 10;
    outline: none;
    box-shadow: 0 18px 42px rgba(55, 36, 10, 0.24);
    transform: scale(1.72);
  }
}

[data-site-theme="night"] .legal-services-hero,
[data-site-theme="night"] .legal-contact-strip a,
[data-site-theme="night"] .legal-services-nav__button,
[data-site-theme="night"] .legal-services-group,
[data-site-theme="night"] .legal-free-help,
[data-site-theme="night"] .legal-team,
[data-site-theme="night"] .legal-services-note,
[data-site-theme="night"] .legal-reviews{
  background-color: rgba(245, 232, 207, 0.88);
}

@media (max-width: 850px){
  .legal-services-shell{
    width: min(100% - 24px, 690px);
    margin-top: 16px;
  }

  .legal-services-hero{
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-services-hero__image{
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .legal-contact-strip,
  .legal-services-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-price-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-reviews__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .legal-services-screen.app-screen,
  [data-site-theme="night"] .legal-services-screen.app-screen{
    padding-bottom: 42px;
    background-size: auto 100%;
  }

  .legal-services-shell{
    width: calc(100% - 18px);
  }

  .legal-services-hero{
    border-radius: 15px;
  }

  .legal-services-hero__content{
    padding: 21px 18px 24px;
  }

  .legal-services-hero h1{
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .legal-services-hero__lead{
    font-size: 0.8rem;
  }

  .legal-services-hero__text{
    font-size: 0.78rem;
  }

  .legal-services-hero__actions{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-contact-strip{
    gap: 6px;
    margin: 12px 0;
  }

  .legal-contact-strip a{
    padding: 9px;
  }

  .legal-contact-strip strong{
    font-size: 0.65rem;
  }

  .legal-services-nav{
    gap: 6px;
    margin-bottom: 12px;
  }

  .legal-services-nav__button{
    min-height: 43px;
    padding: 6px;
    font-size: 0.66rem;
  }

  .legal-services-groups{
    gap: 10px;
  }

  .legal-services-group{
    border-radius: 12px;
  }

  .legal-services-group__summary{
    gap: 8px;
    padding: 12px;
  }

  .legal-services-group__icon{
    width: 33px;
    height: 33px;
    font-size: 0.92rem;
  }

  .legal-services-group__copy strong{
    font-size: 0.94rem;
  }

  .legal-services-group__copy small{
    display: none;
  }

  .legal-services-group__summary::after,
  .legal-services-group__count{
    min-width: 25px;
    width: 25px;
    height: 25px;
    padding: 0;
  }

  .legal-price-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .legal-price-card{
    min-height: 0;
    padding: 0;
  }

  .legal-price-card__content{
    top: 5px;
    right: 5px;
    left: 5px;
    padding: 5px 6px;
  }

  .legal-price-card > a{
    right: 5px;
    bottom: 5px;
    left: 5px;
  }

  .legal-free-help{
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 18px;
  }

  .legal-free-help > a{
    width: 100%;
  }

  .legal-team{
    padding: 18px 12px;
  }

  .legal-team__grid{
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-reviews{
    padding: 16px 12px;
  }

  .legal-reviews__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}

/* Финальные приоритеты премиального экрана товара. */
.category-detail--products .product-grid .product-card:not(.product-card--category-placeholder),
.category-detail--product-screen .similar-products-grid .product-card:not(.product-card--category-placeholder){
  display: grid;
  height: auto;
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 1.23 / 1;
}

.category-detail--products .product-grid .product-card:not(.product-card--category-placeholder) .product-image,
.category-detail--product-screen .similar-products-grid .product-card:not(.product-card--category-placeholder) .product-image{
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.category-detail--product-screen .product-detail{
  width: min(1240px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
}

.category-detail--product-screen .product-detail__media,
.category-detail--product-screen .product-detail__content{
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 100%;
  border: 1px solid rgba(177, 116, 30, 0.54);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.82), rgba(244, 231, 209, 0.62));
  box-shadow:
    inset 0 0 0 4px rgba(255, 252, 244, 0.34),
    inset 0 0 0 5px rgba(177, 116, 30, 0.12),
    0 16px 38px rgba(67, 44, 22, 0.09);
}

.category-detail--product-screen .product-detail__media{
  display: grid;
  align-content: start;
  gap: clamp(10px, 1vw, 15px);
  padding: clamp(14px, 1.45vw, 21px);
}

.category-detail--product-screen .product-gallery-stage{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 0.7vw, 10px);
}

.category-detail--product-screen .product-gallery-card{
  aspect-ratio: 1.23 / 1;
  border-radius: 8px;
  box-shadow: none;
}

.category-detail--product-screen .product-detail__content{
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(20px, 2vw, 30px);
}

.category-detail--product-screen .product-detail__title{
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(177, 116, 30, 0.34);
  font-size: clamp(2rem, 2.75vw, 3rem);
  line-height: 0.98;
  text-align: left;
}

.category-detail--product-screen .product-rating{
  justify-content: flex-start;
  margin: 0;
}

.category-detail--product-screen .product-description{
  max-width: none;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: left;
}

.category-detail--product-screen .product-specs{
  gap: 0;
  margin: 1px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 11px;
  background: rgba(255, 252, 246, 0.5);
}

.category-detail--product-screen .product-spec-row{
  grid-template-columns: minmax(132px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
  padding: 9px 13px;
  font-size: 0.8rem;
  line-height: 1.38;
}

.category-detail--product-screen .product-spec-row + .product-spec-row{
  border-top: 1px solid rgba(177, 116, 30, 0.2);
}

.category-detail--product-screen .product-selection-panel{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(177, 116, 30, 0.28);
}

.category-detail--product-screen .product-selection-controls{
  grid-template-columns: minmax(0, 1fr) auto;
}

.category-detail--product-screen .similar-products,
.category-detail--product-screen .product-reviews-block{
  grid-column: 1 / -1;
}

.category-detail--product-screen .similar-products-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-detail--product-screen .similar-products-grid .product-card{
  width: 100%;
  height: auto;
  aspect-ratio: 1.23 / 1;
}

@media (max-width: 700px){
  .category-detail--product-screen .product-detail{
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .category-detail--product-screen .product-detail__media{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px;
  }

  .category-detail--product-screen .product-gallery-stage{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .category-detail--product-screen .product-gallery-card{
    aspect-ratio: 1 / 1;
  }

  .category-detail--product-screen .product-detail__content{
    gap: 10px;
    padding: 17px 13px;
  }

  .category-detail--product-screen .product-detail__title{
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    text-align: center;
  }

  .category-detail--product-screen .product-rating{
    justify-content: center;
  }

  .category-detail--product-screen .product-description{
    text-align: center;
  }

  .category-detail--product-screen .product-spec-row{
    grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px 9px;
    font-size: 0.73rem;
  }

  .category-detail--product-screen .product-selection-controls{
    grid-template-columns: minmax(0, 1fr);
  }

  .category-detail--product-screen .similar-products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Исправление карточки модели: эти правила намеренно последние. */
.product-card-overlay-title{
  top: 20%;
  left: 10px;
  right: 10px;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.66rem, 0.76vw, 0.82rem);
  font-weight: 700;
  line-height: 1.12;
  text-shadow:
    0 1px 0 rgba(255, 253, 246, 1),
    0 0 7px rgba(255, 250, 235, 0.96);
}

.category-detail--product-screen .product-detail{
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin: 0 auto;
}

.category-detail--product-screen .product-detail-hero{
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 122, 25, 0.64);
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 18px 42px rgba(64, 42, 12, 0.15);
}

.category-detail--product-screen .product-detail-hero .product-detail__media{
  display: grid;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-detail--product-screen .product-gallery-main{
  width: 100%;
  height: 100%;
  min-height: 390px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-detail--product-screen .product-gallery-main img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.category-detail--product-screen .product-gallery-stage{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 11px 12px 12px;
  border-top: 1px solid rgba(183, 122, 25, 0.28);
  background: rgba(255, 252, 245, 0.76);
}

.category-detail--product-screen .product-detail-hero .product-detail__content{
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: clamp(26px, 3.3vw, 44px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 55% 8%, rgba(255, 255, 255, 0.96), transparent 48%),
    linear-gradient(145deg, rgba(255, 252, 245, 0.97), rgba(238, 224, 196, 0.88));
  box-shadow: none;
}

.category-detail--product-screen .product-detail__title{
  max-width: 100%;
  margin: 0;
  overflow: visible;
  color: #173f6f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.75vw, 1.62rem);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 850px){
  .category-detail--product-screen .product-detail-hero{
    grid-template-columns: minmax(0, 1fr);
  }

  .category-detail--product-screen .product-gallery-main{
    min-height: 0;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 600px){
  .category-detail--product-screen .product-detail__title{
    font-size: clamp(0.9rem, 4.1vw, 1.08rem);
    text-align: center;
  }
}

/* Финальная премиальная типографика карточки товара. */
.product-card-overlay-title{
  color: #103965;
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-shadow:
    0 1px 0 #fffdf7,
    0 0 6px rgba(255, 253, 247, 1),
    0 1px 3px rgba(9, 39, 71, 0.28);
}

.category-detail--product-screen .product-detail__title{
  color: #9b620e;
  font-family: "Prata", Georgia, serif;
  font-size: clamp(0.98rem, 1.45vw, 1.38rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.category-detail--product-screen .product-description,
.category-detail--product-screen .product-rating,
.category-detail--product-screen .product-size-title,
.category-detail--product-screen .quantity-value{
  color: #173f6f;
  font-family: Manrope, Arial, sans-serif;
}

.category-detail--product-screen .product-spec-label{
  color: #9b620e;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
}

.category-detail--product-screen .product-spec-value{
  color: #173f6f;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 650;
}

.category-detail--product-screen .product-detail__button{
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* Functional fixes; artwork and visual direction are unchanged. */
.product-list-price { display:block; padding:8px 12px; color:#342a1c; background:#fffaf0; font-size:14px; line-height:1.4; }
[data-open-saved-order][hidden] { display:none !important; }
#savedOrderReceipt { overflow-wrap:anywhere; }
#savedOrderStatus { font-weight:700; }
#categoryDetail .home-promo-placeholder { display:none; }

[hidden] { display: none !important; }

.category-detail--product-screen .product-detail-actions { grid-template-areas:none; grid-template-columns:repeat(2,minmax(0,1fr)); }
.category-detail--product-screen .product-detail-actions > .product-detail__button { grid-area:auto; min-height:44px; }
@media (max-width:600px) { .category-detail--product-screen .product-detail-actions { grid-template-columns:1fr; } }
.home-hero-actions .home-hero-action--saved { grid-column: 1 / -1; grid-row: auto; }
.home-hero-actions { width:28%; grid-template-columns:repeat(2,minmax(0,1fr)); }
.home-hero-actions .home-hero-action { min-height:36px; font-size:12px; grid-column:auto; grid-row:auto; }
.home-hero-actions .home-hero-action--saved { grid-column:1 / -1; }
@media (max-width:760px) {
  .home-hero-actions { position:relative; top:auto; left:auto; width:auto; margin:12px; transform:none; gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; }
  .home-hero-actions .home-hero-action { min-height:44px; font-size:13px; padding:6px; grid-row:auto; grid-column:auto; }
  .home-hero-actions .home-hero-action--saved { grid-column:1 / -1; }
}


/* Approved ivory and champagne homepage. Scoped to the home screen. */
#home.editorial-home {
  --editorial-ink: #4a2c22;
  --editorial-gold: #bc945b;
  --editorial-green: #14564a;
  position: relative;
  width: 100%;
  padding: 0 clamp(16px, 3vw, 40px) 28px;
  color: var(--editorial-ink);
  background: #fffcf7;
  overflow: clip;
}
#home .editorial-shell { width: 100%; max-width: 1104px; margin: 0 auto; }
#home .editorial-header {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 12px 0; border-bottom: 1px solid #dcc7a9;
}
#home .editorial-brand { display: flex; align-items: center; gap: 14px; color: var(--editorial-ink); text-decoration: none; }
#home .editorial-brand-symbol { color: #b9813d; font-size: 36px; line-height: 1; }
#home .editorial-brand-name { display: block; font: 500 clamp(28px, 3vw, 36px)/1 'Cormorant Garamond', Georgia, serif; }
#home .editorial-brand small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .18em; text-align: center; }
#home .editorial-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
#home .editorial-nav > a { color: var(--editorial-ink); font: 18px/1.3 'Cormorant Garamond', Georgia, serif; text-decoration: none; }
#home .home-hero-actions {
  position: static; display: flex; width: auto; margin: 0; padding: 0;
  transform: none; gap: 8px; background: none; border: 0; box-shadow: none;
}
#home .home-hero-actions .home-hero-action {
  min-height: 40px; padding: 8px 10px; color: var(--editorial-ink); background: transparent;
  border: 1px solid #dcc7a9; border-radius: 8px; box-shadow: none; font-size: 12px;
}
#home .home-hero {
  display: grid; grid-template-columns: .92fr 1.08fr; align-items: center;
  gap: clamp(24px, 3vw, 46px); padding: 14px 0 24px;
  min-width: 0;
}
#home .editorial-hero-copy { min-width: 0; padding: 12px 0 24px; }
#home .editorial-hero-copy h1 {
  margin: 0 0 22px; color: var(--editorial-ink); font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 3.8vw, 48px); font-weight: 500; line-height: 1.06; letter-spacing: -.028em;
  text-wrap: balance;
}
#home .editorial-hero-copy h1 span { display: block; }
#home .editorial-hero-copy p { margin: 0 0 26px; font: 22px/1.45 'Cormorant Garamond', Georgia, serif; }
#home .editorial-hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
#home .editorial-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px;
  padding: 12px 22px; border: 1px solid #a97d48; border-radius: 12px;
  color: var(--editorial-ink); background: transparent; text-decoration: none;
  font: 19px/1.2 'Cormorant Garamond', Georgia, serif;
}
#home .editorial-button--primary { color: white; background: var(--editorial-green); border-color: var(--editorial-green); }
#home .editorial-hero-photo { width: 100%; height: auto; min-width: 0; max-width: 100%; aspect-ratio: 6/5; object-fit: contain; border-radius: 14px; display: block; }
#home .editorial-section-heading { display: flex; align-items: center; gap: 24px; margin: 12px 0 18px; }
#home .editorial-section-heading h2 { margin: 0; color: var(--editorial-ink); font: 500 clamp(28px, 3.3vw, 42px)/1.1 'Cormorant Garamond', Georgia, serif; }
#home .editorial-section-heading::after { content: ''; flex: 1; border-top: 1px solid #d6b78a; }
#home .editorial-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#home .home-product-placeholder {
  display: grid; grid-template-rows: auto auto; min-height: 0; border: 0;
  border-radius: 10px; background: #f6f0e7; box-shadow: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
#home .home-product-placeholder:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #573d2112; }
#home .home-product-placeholder > div { position: relative; grid-row: 1; grid-column: 1; width: 100%; height: auto; min-height: 0; aspect-ratio: 4/3; overflow: hidden; background: #f3eadb; }
#home .home-product-placeholder img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
#home .home-product-placeholder > footer {
  display: flex; grid-row: 2; grid-column: 1; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 16px; color: var(--editorial-ink); background: #f6f0e7; border: 0;
  font: 500 20px/1.12 'Cormorant Garamond', Georgia, serif; text-align: left;
}
#home .home-product-placeholder > footer::after { content: '→'; color: #9d6f36; }
#home .home-product-placeholder > footer span { color: inherit; font: inherit; text-shadow: none; }
#home .editorial-empty-cover { display: grid; height: 100%; place-items: center; font-size: 42px; color: #b99159; }
#homeCatalogStart { position: relative; }
#home .editorial-all-categories { margin: 0; }
#home .editorial-all-categories > summary { position: absolute; right: 0; top: 0; background: #fffcf7; padding-left: 20px; }
#home .editorial-all-categories[open] > .editorial-category-grid { margin-top: 16px; }
#home .editorial-all-categories > summary, #home .editorial-filters > summary {
  width: fit-content; min-height: 44px; padding: 10px 0; color: #855d32; cursor: pointer;
  font: 20px/1.3 'Cormorant Garamond', Georgia, serif;
}
#home .editorial-all-categories[open] > summary { margin-bottom: 12px; }
#home .editorial-filters { padding: 0 18px; margin: 18px 0; border: 1px solid #e4d6c3; border-radius: 10px; }
#home .editorial-filters [data-home-filter-mount] { position: static; width: 100%; max-height: 65vh; overflow: auto; background: #fffcf7; }
#home .home-filter-panel { color: #4a2c22; font: 14px/1.5 Manrope, Arial, sans-serif; background: #fffcf7; }
#home .home-filter-panel__header { position: static; background: #fffcf7; }
#home .home-filter-group { break-inside: avoid; }
#home .home-filter-option:has(input:checked) { background: #14564a; color: #fff; }
#home .editorial-gifts { margin-top: 30px; }
#home .editorial-gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
#home .editorial-gift {
  position: relative; display: flex; align-items: center; min-height: 265px; overflow: hidden;
  border-radius: 12px; background: #f7eee0; color: var(--editorial-ink); text-decoration: none;
}
#home .editorial-gift img { position: absolute; right: 0; top: 0; width: 63%; height: 100%; object-fit: cover; object-position: center 65%; }
#home .editorial-gift-copy { position: relative; z-index: 1; display: grid; gap: 10px; width: 48%; padding: 26px; background: linear-gradient(90deg,#f7eee0 70%,#f7eee000); }
#home .editorial-gift strong { font: 500 32px/1.05 'Cormorant Garamond', Georgia, serif; }
#home .editorial-gift small { font: 17px/1.2 'Cormorant Garamond', Georgia, serif; }
#home .editorial-circle { display: grid; width: 42px; height: 42px; margin-top: 12px; place-items: center; border: 1px solid #b18a55; border-radius: 50%; font-size: 22px; }
#home .editorial-support { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 28px 0 0; }
#home .editorial-support > a, #home .editorial-support > details { padding: 10px 22px; border-right: 1px solid #e2d0b4; color: var(--editorial-ink); text-decoration: none; }
#home .editorial-support > :last-child { border-right: 0; }
#home .editorial-support strong, #home .editorial-support summary { font: 20px/1.3 'Cormorant Garamond', Georgia, serif; cursor: pointer; }
#home .editorial-support small { display: block; margin-top: 5px; color: #8d8178; font-size: 12px; }
#home .editorial-support p { font-size: 13px; line-height: 1.6; }
#home .editorial-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; padding: 20px 0 0; border-top: 1px solid #eadfce; }
#home .editorial-social a { color: #6d5036; font-size: 13px; text-decoration: none; }
#home :is(a,button,summary,[role=link]):focus-visible { outline: 2px solid #14564a; outline-offset: 4px; }
@media (max-width: 1050px) {
  #home .editorial-header { flex-wrap: wrap; gap: 16px; }
  #home .editorial-nav { gap: 14px; }
  #home .editorial-hero-copy h1 { font-size: clamp(32px,4.3vw,44px); }
}
@media (max-width: 760px) {
  #home.editorial-home { padding: 0 18px 24px; }
  #home .editorial-header { padding: 18px 0 14px; }
  #home .editorial-nav { width: 100%; justify-content: space-between; gap: 10px; }
  #home .editorial-nav > a { font-size: 17px; }
  #home .home-hero-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  #home .home-hero-actions .home-hero-action { flex: 1; min-height: 42px; }
  #home .home-hero { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; }
  #home .editorial-hero-copy { padding: 0; }
  #home .editorial-hero-copy h1 { max-width: 600px; margin-bottom: 16px; font-size: clamp(34px,7.6vw,48px); }
  #home .editorial-hero-copy p { margin-bottom: 18px; font-size: 20px; }
  #home .editorial-hero-buttons { gap: 10px; }
  #home .editorial-button { padding: 12px 15px; font-size: 18px; }
  #home .editorial-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  #home .editorial-all-categories > summary { position: static; padding: 12px 0; }
  #home .home-product-placeholder > footer { padding: 10px; font-size: 19px; }
  #home .editorial-gift-grid { grid-template-columns: 1fr; gap: 16px; }
  #home .editorial-gift { min-height: 240px; }
  #home .editorial-gift-copy { padding: 20px; }
  #home .editorial-gift strong { font-size: 30px; }
  #home .editorial-support { grid-template-columns: 1fr; gap: 8px; }
  #home .editorial-support > a, #home .editorial-support > details { border-right: 0; border-bottom: 1px solid #eadfce; padding: 12px 0; }
  #home .editorial-support > :last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #home .home-product-placeholder { transition: none; }
  #home .home-product-placeholder:hover { transform: none; }
}


/* One responsive storefront, with Telegram's host insets when embedded. */
html.telegram-host body {
  padding-top: var(--telegram-safe-top, 0px);
  padding-right: var(--telegram-safe-right, 0px);
  padding-bottom: var(--telegram-safe-bottom, 0px);
  padding-left: var(--telegram-safe-left, 0px);
}
html.telegram-host .modal,
html.telegram-host .image-lightbox {
  padding-top: max(16px, var(--telegram-safe-top, 0px));
  padding-bottom: max(16px, var(--telegram-safe-bottom, 0px));
}

.health-filter-group { display:flex; flex-wrap:wrap; align-items:center; gap:8px; width:100%; }
.health-filter-label { flex-basis:100%; font-weight:700; font-size:14px; }
.health-filter-group + .health-filter-group { margin-top:12px; }
#categoryDetail:not(.category-detail--product-screen) #productAudienceTabs[data-health-filters="true"]:not([hidden]) { display:flex !important; }

/* The heading and its hint form one light, keyboard-accessible control. */
#home .editorial-section-heading:has(.editorial-disclosure-button) { align-items:flex-start; gap:26px; margin:28px 0 24px; }
#home .editorial-section-heading:has(.editorial-disclosure-button)::after { margin-top:20px; background:#c6a575; opacity:.7; }
#home .editorial-section-heading h2:has(.editorial-disclosure-button) { flex:0 1 auto; min-width:0; }
#home .editorial-disclosure-button {
  display:block;
  min-height:64px; min-width:max-content; padding:0 0 3px; border:0; border-radius:3px;
  background:transparent; color:#28443b; cursor:pointer; box-shadow:none; text-align:left;
}
#home .editorial-disclosure-copy { display:grid; gap:9px; }
#home .editorial-disclosure-action { display:flex; align-items:center; gap:16px; width:max-content; padding-right:3px; }
#home .editorial-disclosure-title { grid-column:1 / -1; font:500 clamp(28px,2.8vw,36px)/1.1 'Cormorant Garamond',Georgia,serif; }
#home .editorial-disclosure-hint { grid-column:1; grid-row:2; font:500 13px/1.4 Manrope,Arial,sans-serif; color:#786a59; }
#home .editorial-disclosure-arrow { grid-column:2; grid-row:2; width:9px; height:9px; border:solid #aa793e; border-width:0 1.5px 1.5px 0; border-radius:0; transform:translateY(-2px) rotate(45deg); transition:transform .18s; font-size:0; }
#home .editorial-disclosure-button[aria-expanded="true"] .editorial-disclosure-arrow { transform:translateY(2px) rotate(225deg); }
#home .editorial-disclosure-button:hover .editorial-disclosure-hint { color:#28443b; }
#home .editorial-disclosure-button:focus-visible { outline:2px solid #aa793e; outline-offset:6px; }
#home .editorial-all-categories > summary[hidden], #home .editorial-gift-more > summary[hidden] { display:none !important; }
#home .editorial-gift-more[open] > .editorial-gift-grid { margin-top:22px; }
@media(max-width:600px) {
  #home .editorial-section-heading:has(.editorial-disclosure-button) { gap:16px; }
  #home .editorial-section-heading:has(.editorial-disclosure-button)::after { display:block; margin-top:16px; min-width:16px; }
  #home .editorial-disclosure-title { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) { #home .editorial-disclosure-button, #home .editorial-disclosure-arrow { transition:none; } }
