: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:
    image-set(url("./assets/optimized/c247db3c7ed4c81fa0-360.webp") 1x,url("./assets/optimized/c247db3c7ed4c81fa0-720.webp") 2x)
    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/optimized/ce03850c92dd27dda5-1440.webp");
}

.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 :is(h1,h2){
  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 :is(h1,h2){
    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 :is(h1,h2){
  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 :is(h1,h2){
    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 :is(h1,h2) {
  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 :is(h1,h2) 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 :is(h1,h2) { 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 :is(h1,h2) { 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; } }

/* Server-rendered catalogue navigation and breadcrumbs. */
.seo-all-categories{margin:28px 0;padding:24px;color:var(--color-text);font-family:var(--store-body,inherit)}
.seo-all-categories h2{margin:0 0 18px;font:400 26px/1.3 var(--store-display);color:var(--store-heading,var(--color-text))}
.seo-all-categories nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 24px}
.seo-all-categories a,.seo-breadcrumbs a{color:inherit;text-decoration:none}
.seo-all-categories a:hover,.seo-breadcrumbs a:hover{text-decoration:underline}
.seo-breadcrumbs{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:6px;width:100%;max-width:var(--headwear-width,100%);margin:8px auto 0;font-size:14px;line-height:1.5;color:var(--color-text)}
.seo-breadcrumbs[hidden]{display:none}
.seo-breadcrumbs a{padding-block-start:6px;margin-block-start:-6px}

.shop-information { max-width: 69rem; margin: 2rem auto; padding: 0 1rem; color: #252523; }
.shop-information nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.shop-information a { text-decoration: underline; text-underline-offset: .15em; }
.shop-search { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .5rem 0; }
.shop-search input { min-width: 0; max-width: 100%; padding: .5rem; }
.shop-guest-checkout {
  box-sizing: border-box;
  width: min(calc(100vw - 1.5rem), 40rem);
  max-height: calc(100dvh - 1.5rem);
  padding: clamp(1rem, 4vw, 1.85rem);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(155deg, #f1f8fc, #fffdfa 36%);
  color: var(--color-emerald);
  box-shadow: var(--shadow-soft);
  overscroll-behavior: contain;
}
.shop-guest-checkout::backdrop { background: rgb(20 36 52 / 42%); }
.shop-guest-checkout h2 { margin: 0 2.6rem .45rem 0; font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2rem); }
.shop-guest-checkout p { margin: 0 0 .9rem; }
.shop-guest-checkout :is(form, [data-guest-buyer-choice], [data-guest-direct-contact]) > [data-close-checkout] {
  float: right;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: white;
  color: inherit;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}
.shop-guest-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; }
.shop-guest-checkout fieldset { border: 0; padding: 0; margin: .75rem 0; min-inline-size: 0; }
.shop-guest-checkout fieldset legend { font-weight: 700; padding: 0; margin-bottom: .4rem; }
.shop-guest-checkout :is([data-guest-buyer-back], [data-guest-contact-back]) { margin-bottom: .75rem; }
.shop-guest-fields label:not([hidden]) { display: grid; align-content: start; gap: .25rem; min-width: 0; }
.shop-guest-wide { grid-column: 1 / -1; }
.shop-guest-fields :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid #c4d3d5;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: max(1rem, 16px);
}
.shop-guest-fields textarea { resize: vertical; }
.shop-guest-checkout :focus-visible { outline: 2px solid var(--color-emerald); outline-offset: 2px; }
.shop-guest-checkout .shop-guest-consent:not([hidden]) { display: flex; align-items: flex-start; gap: .55rem; margin-top: .75rem; font-size: .9rem; }
.shop-guest-consent input { margin: .25rem 0 0; accent-color: var(--color-emerald); }
.shop-guest-consent a { text-decoration: underline; text-underline-offset: .16em; }
.shop-guest-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.shop-guest-checkout [data-guest-feedback] { margin: .6rem 0 0; }
.shop-guest-checkout [data-guest-feedback]:empty { display: none; }
.shop-guest-checkout [data-guest-items] { padding-left: 1.2rem; }
.shop-guest-checkout [data-guest-items] li + li { margin-top: .4rem; }
.shop-guest-checkout [data-guest-number], .shop-guest-checkout [data-guest-total] { font-weight: 700; }
@media (max-width: 480px) {
  .shop-guest-fields { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .shop-guest-checkout .shop-guest-consent { margin-top: .6rem; }
  .shop-guest-actions { margin-top: .75rem; }
  .shop-guest-actions .button { flex: 1 1 100%; }
}
.cart-item-controls .quantity-value { width: 4rem; }
.cart-panel :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cart-header-button .cart-header-icon { flex:none; }
.cart-header-button .cart-count {
  min-width:1.55em;
  padding:2px .26em;
  border-radius:5px;
  background:#ffffff26;
  color:#fff;
  font-variant-numeric:tabular-nums;
}
.shop-information nav { align-items:center; }
.shop-information nav .cart-header-button {
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-inline-start:auto;
  padding:8px 11px;
  border-radius:8px;
  background:#1f4d3f;
  color:white;
  font-weight:700;
  text-decoration:none;
}
.shop-information nav .cart-header-button:hover { background:#28634f; }
.product-size-toast {
  position:fixed;
  z-index:40;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  width:max-content;
  max-width:calc(100vw - 2rem);
  box-sizing:border-box;
  margin:0;
  padding:13px 20px;
  border:1px solid #c5a873;
  border-radius:13px;
  background:#1f4d3f;
  color:white;
  box-shadow:0 6px 30px #132a2670;
  font:700 15px/1.4 var(--store-text,Manrope,Arial,sans-serif);
  text-align:center;
  pointer-events:none;
}
@media (prefers-reduced-motion:no-preference) {
  .product-size-toast { animation:product-size-toast-pulse .56s ease-in-out 2; }
}
@keyframes product-size-toast-pulse { 50% { background:#316b55; } }

/* Inner pages share the approved ivory, champagne and emerald homepage palette. */
:root { --interior-ink:#4a2c22; --interior-muted:#827267; --interior-green:#14564a; --interior-gold:#bc945b; --interior-line:#e6d8c5; }
body { background:#fffcf7; }
body .app-screen:not(#home) { background:#fffcf7; color:var(--interior-ink); padding:0 clamp(16px,3vw,40px) 48px; }
body .app-screen:not(#home)::before, body .app-screen:not(#home)::after { background:none; }
body .app-screen:not(#home) > .section-brand-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1104px; height:auto; min-height:78px; margin:0 auto 28px; padding:12px 0; overflow:visible; border-bottom:1px solid #dcc7a9; background:none; }
.interior-brand { display:flex; align-items:center; gap:10px; color:var(--interior-ink); flex-shrink:0; }
.interior-brand-symbol { color:#b9813d; font-size:36px; line-height:1; }
.interior-brand-name { display:block; font:500 34px/1 'Cormorant Garamond',Georgia,serif; }
.interior-brand small { display:block; margin-top:5px; font:9px/1.3 Manrope,Arial,sans-serif; letter-spacing:.16em; text-align:center; }
body .app-screen:not(#home) .section-brand-actions { position:static; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; transform:none; }
body .app-screen:not(#home) .section-brand-action { width:auto; min-height:44px; padding:10px 16px; border:1px solid #dcc7a9; border-radius:10px; color:var(--interior-ink); background:transparent; box-shadow:none; font:14px/1.3 Manrope,Arial,sans-serif; text-shadow:none; transform:none; }
body .app-screen:not(#home) .section-brand-action:hover { background:#f6f0e7; }
body #categoryDetail.app-screen .section-brand-actions { display:grid; grid-template-columns:repeat(4,150px); }
body #categoryDetail.app-screen .section-brand-action { display:flex; align-items:center; justify-content:center; gap:4px; width:100%; height:44px; padding:10px; white-space:nowrap; }
#categoryDetail .category-back-action { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; padding:10px 16px; border:1px solid #dcc7a9; border-radius:10px; color:var(--interior-ink); background:#fffdf9; font:14px/1.3 Manrope,Arial,sans-serif; text-decoration:none; box-shadow:none; }
#categoryDetail .category-back-action:hover { background:#f6f0e7; }
#categoryDetail .category-mobile-navigation { display:none; }
#categoryDetail { width:100%; min-height:100vh; background:#fffcf7; }
#categoryDetail .category-detail__card { width:100%; max-width:1104px; margin:0 auto; padding:0; border:0; border-radius:0; background:none; box-shadow:none; backdrop-filter:none; }
#categoryDetail .category-detail__content { display:block; width:100%; padding:0; background:none; }
#categoryDetail .category-detail__content::before, #categoryDetail .category-detail__content::after { content:none; }
#categoryDetail .product-group-title { display:block; width:auto; max-width:none; margin:0 0 24px; padding:0; border:0; border-radius:0; box-shadow:none; color:var(--interior-ink); font:500 clamp(30px,3.6vw,42px)/1.15 'Cormorant Garamond',Georgia,serif; text-align:left; text-shadow:none; -webkit-text-fill-color:currentColor; filter:none; background:none; }
#categoryDetail .product-group-title::before, #categoryDetail .product-group-title::after { content:none; }
#categoryDetail .category-catalog-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:24px; align-items:start; }
#categoryDetail .category-products-column { min-width:0; }
#categoryDetail .category-promo-column { display:none; }
#categoryDetail .category-filter-column { position:sticky; top:20px; display:grid; grid-template-rows:minmax(0,1fr) auto; gap:12px; width:auto; height:auto; max-height:calc(100vh - 40px); padding:0; border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
#categoryDetail .home-filter-mount { height:auto; max-height:none; background:none; }
#categoryDetail .category-filter-column > .home-filter-mount { min-height:0; overflow:auto; border:1px solid var(--interior-line); border-radius:12px; background:#fffdf9; }
#categoryDetail .home-filter-panel { height:auto; padding:16px; color:var(--interior-ink); background:none; font:13px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .home-filter-panel__header { position:static; display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:0 0 14px; background:none; }
#categoryDetail .home-filter-panel__header h3 { margin:0; color:var(--interior-ink); font:600 22px/1.2 'Cormorant Garamond',Georgia,serif; }
#categoryDetail .home-filter-panel__header button { font-size:11px; color:#9d7649; }
#categoryDetail .home-filter-group { margin:0 0 18px; padding:0; border:0; }
#categoryDetail .home-filter-group legend { margin-bottom:10px; color:var(--interior-muted); font-size:10px; letter-spacing:.1em; }
#categoryDetail .home-filter-option, #categoryDetail .home-filter-check { color:var(--interior-ink); text-shadow:none; }
#categoryDetail .home-filter-option:has(input:checked), #categoryDetail .category-filter-all-button { background:var(--interior-green); color:white; border:0; border-radius:7px; min-height:34px; box-shadow:none; font:600 12px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .home-filter-price input { min-width:0; padding:9px; border:1px solid var(--interior-line); border-radius:8px; color:var(--interior-ink); background:white; }
#categoryDetail input[type=checkbox], #categoryDetail input[type=radio], #categoryDetail input[type=range] { accent-color:var(--interior-green); }
#categoryDetail .product-grid, #categoryDetail .similar-products-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:auto; gap:20px; margin:0; }
#categoryDetail .product-grid .product-card, #categoryDetail .similar-products-grid .product-card { position:relative; display:grid; grid-template-rows:auto minmax(60px,auto) auto; width:100%; min-width:0; min-height:0; aspect-ratio:auto; border:1px solid #ede3d5; border-radius:12px; overflow:hidden; background:#f6f0e7; color:var(--interior-ink); box-shadow:none; transition:box-shadow .18s,transform .18s; }
#categoryDetail .product-grid .product-card:hover, #categoryDetail .similar-products-grid .product-card:hover { transform:translateY(-3px); border-color:#dcc7a9; box-shadow:0 8px 24px #573d2112; }
#categoryDetail .product-grid .product-card .product-image, #categoryDetail .similar-products-grid .product-card .product-image { position:relative; grid-row:1; grid-column:1; width:100%; height:auto; min-height:0; aspect-ratio:4/3; padding:0; border:0; background:#fffaf3; }
#categoryDetail .product-grid .product-image img, #categoryDetail .similar-products-grid .product-image img { position:absolute; inset:0; width:100%; height:100%; max-width:100%; object-fit:contain; object-position:center; }
#categoryDetail .product-card-overlay-title { position:static; display:block; grid-row:2; grid-column:1; inset:auto; margin:0; padding:14px 14px 8px; color:var(--interior-ink); background:none; border:0; font:600 19px/1.2 'Cormorant Garamond',Georgia,serif; text-align:left; text-shadow:none; -webkit-text-fill-color:currentColor; transform:none; pointer-events:none; }
#categoryDetail .product-list-price { grid-row:3; grid-column:1; padding:0 14px 14px; color:#827267; background:none; font:12px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .product-list-price--wholesale strong, .product-wholesale-price strong { display:block; color:#14564a; font:600 20px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .product-list-price--wholesale small, .product-wholesale-price small { display:block; color:#827267; font:11px/1.5 Manrope,Arial,sans-serif; }
.product-wholesale-price { margin:8px 0 16px; }
.product-wholesale-price strong { font-size:28px; }
#categoryDetail .product-catalog-group { grid-column:1/-1; margin:10px 0 0; padding:0 0 10px; border-bottom:1px solid #e6d8c5; color:#4a2c22; font:600 27px/1.2 'Cormorant Garamond',Georgia,serif; }
#categoryDetail .product-catalog-subgroup { grid-column:1/-1; margin:-5px 0 0; padding:0; border:0; color:#827267; font:500 14px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .product-card--category-placeholder { grid-template-rows:auto auto; }
#categoryDetail .product-card--category-placeholder .product-card-summary { display:block; grid-row:2; padding:14px; border:0; background:none; }
#categoryDetail .product-card--category-placeholder .product-title { display:block; color:var(--interior-ink); font:600 20px/1.2 'Cormorant Garamond',Georgia,serif; text-align:left; -webkit-text-fill-color:currentColor; text-shadow:none; }
#categoryDetail .product-filter-empty { grid-column:1/-1; padding:28px; color:var(--interior-muted); border:1px solid var(--interior-line); border-radius:12px; background:#fffdf9; font:14px/1.7 Manrope,Arial,sans-serif; }
#categoryDetail .category-product-filters--mobile { display:none; }
#categoryDetail.category-detail--product-screen .product-group-title, #categoryDetail.category-detail--product-screen .category-catalog-layout, #categoryDetail.category-detail--product-screen .category-mobile-navigation { display:none; }
#categoryDetail.category-detail--product-screen .product-detail { display:block; width:100%; max-width:none; margin:0; padding:0; background:none; border:0; box-shadow:none; }
#categoryDetail .product-detail-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:32px; width:100%; margin:0 0 32px; padding:0; border:0; background:none; box-shadow:none; }
#categoryDetail .product-detail-hero .product-detail__media { display:block; min-width:0; min-height:0; width:100%; padding:0; background:none; border:0; border-radius:12px; box-shadow:none; }
#categoryDetail .product-gallery-main { position:relative; display:block; width:100%; height:auto; min-height:0; aspect-ratio:4/3; margin:0; padding:0; border:1px solid #ede3d5; border-radius:12px; background:#fffaf3; overflow:hidden; box-shadow:none; }
#categoryDetail .product-gallery-main img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
#categoryDetail .product-gallery-stage { display:flex; gap:10px; margin:12px 0 0; padding:2px; overflow-x:auto; }
#categoryDetail .product-gallery-card { flex:0 0 76px; width:76px; height:66px; aspect-ratio:auto; padding:0; border:1px solid var(--interior-line); border-radius:8px; overflow:hidden; background:#fffaf3; box-shadow:none; }
#categoryDetail .product-gallery-card img { width:100%; height:100%; object-fit:contain; }
#categoryDetail .product-gallery-card.is-active { border:2px solid var(--interior-green); }
#categoryDetail .product-gallery-card--empty { display:none; }
#categoryDetail .product-detail-hero .product-detail__content { width:100%; min-width:0; min-height:0; margin:0; padding:8px 0; background:none; border:0; box-shadow:none; }
#categoryDetail .product-detail__title { margin:0 0 16px; color:var(--interior-ink); font:600 clamp(28px,3vw,38px)/1.15 'Cormorant Garamond',Georgia,serif; letter-spacing:0; text-shadow:none; -webkit-text-fill-color:currentColor; }
#categoryDetail .product-rating, #categoryDetail .product-description { color:var(--interior-muted); font:14px/1.7 Manrope,Arial,sans-serif; }
#categoryDetail .product-specs { border:1px solid var(--interior-line); border-radius:12px; background:#fffdf9; box-shadow:none; padding:14px; }
#categoryDetail .product-spec-row { border-color:#ede3d5; background:none; padding:10px 0; }
#categoryDetail .product-spec-label { color:var(--interior-muted); font:500 12px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .product-spec-value { color:var(--interior-ink); font:600 14px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .product-selection-panel { background:#f6f0e7; border:1px solid var(--interior-line); border-radius:12px; padding:16px; box-shadow:none; }
#categoryDetail .product-size-title, #categoryDetail .quantity-value, #categoryDetail .product-line-total { color:var(--interior-ink); }
#categoryDetail .product-size-option, #categoryDetail .quantity-button { border:1px solid var(--interior-line); color:var(--interior-ink); background:#fffdf9; box-shadow:none; text-shadow:none; }
#categoryDetail .product-size-option.is-active, #categoryDetail .product-size-option[aria-pressed=true] { color:white; border-color:var(--interior-green); background:var(--interior-green); }
#categoryDetail .product-detail-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
#categoryDetail .product-detail__button { min-height:46px; padding:12px; border:1px solid var(--interior-line); border-radius:10px; color:var(--interior-ink); background:#fffcf7; box-shadow:none; text-shadow:none; font:600 13px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .product-buy-button, #categoryDetail .product-add-to-order-button { color:white; background:var(--interior-green); border-color:var(--interior-green); }
#categoryDetail .similar-products, #categoryDetail .product-reviews-block { padding:24px 0; border:0; border-top:1px solid var(--interior-line); border-radius:0; background:none; box-shadow:none; }
#categoryDetail .similar-products-title, #categoryDetail .product-reviews-title { color:var(--interior-ink); font:600 30px/1.2 'Cormorant Garamond',Georgia,serif; }
body .app-screen:not(#home) :is(.charity-shell,.legal-services-shell) { max-width:1104px; margin-left:auto; margin-right:auto; }
body .app-screen:not(#home) :is(.charity-card,.legal-services-group,.legal-contact-strip,.account-panel) { border-color:var(--interior-line); background:#fffdf9; box-shadow:none; }
#categoryDetail :is(a,button,input,summary,[role=button]):focus-visible { outline:2px solid var(--interior-green); outline-offset:3px; }
@media(max-width:960px) {
  body #categoryDetail > .section-brand-bar { flex-wrap:wrap; }
  body #categoryDetail.app-screen .section-brand-actions { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); }
  #categoryDetail .category-catalog-layout { grid-template-columns:190px minmax(0,1fr); gap:20px; }
  #categoryDetail .product-grid, #categoryDetail .similar-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
}
@media(max-width:760px) {
  body .app-screen:not(#home) { padding:0 18px 32px; }
  body .app-screen:not(#home) > .section-brand-bar { min-height:0; margin-bottom:22px; flex-wrap:wrap; gap:14px; padding:16px 0; }
  .interior-brand-name { font-size:30px; }
  body .app-screen:not(#home) .section-brand-actions { justify-content:flex-start; width:100%; }
  body .app-screen:not(#home) .section-brand-action { flex:1; padding:10px; font-size:13px; }
  #categoryDetail .category-catalog-layout { display:block; }
  #categoryDetail .category-filter-column { display:none; }
  body #categoryDetail.app-screen .section-brand-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #categoryDetail .category-mobile-navigation { position:sticky; top:8px; z-index:20; display:grid; gap:8px; margin:0 0 18px; padding:0 0 8px; background:#fffcf7; }
  #categoryDetail.category-detail--product-screen .category-mobile-navigation { display:none; }
  #categoryDetail .category-product-filters--mobile { display:block; margin:0; max-height:calc(100dvh - 76px); overflow:auto; border:1px solid var(--interior-line); border-radius:10px; background:#fffdf9; }
  #categoryDetail .category-product-filters--mobile > summary { min-height:44px; padding:12px 14px; color:var(--interior-ink); background:none; font:14px/1.4 Manrope,Arial,sans-serif; }
  #categoryDetail .product-group-title { margin-bottom:18px; font-size:32px; }
  #categoryDetail .product-grid, #categoryDetail .similar-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #categoryDetail .product-card-overlay-title { padding:10px 10px 7px; font-size:18px; }
  #categoryDetail .product-list-price { padding:0 10px 12px; font-size:11px; }
  #categoryDetail .product-detail-hero { grid-template-columns:1fr; gap:20px; }
  #categoryDetail .product-detail__title { font-size:30px; }
  #categoryDetail .product-detail-actions { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { #categoryDetail .product-card { transition:none; } #categoryDetail .product-card:hover { transform:none; } }

/* Shared store typography: expressive display, clear reading, restrained accents. */
/* Owner-approved global storefront scale: exactly 90% (24.10.2026). */
html{zoom:.9}
@font-face{font-family:StoreDisplay;src:url('./assets/fonts/prata-cyrillic.3392de5a383deac60e.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:StoreDisplay;src:url('./assets/fonts/prata-latin.1b85a8c794709747c9.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:StoreText;src:url('./assets/fonts/manrope-cyrillic.c268b459a9329e59fe.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:StoreText;src:url('./assets/fonts/manrope-latin.a30ddcd349703aff74.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--store-heading:#263c33;--store-ink:#342a25;--store-muted:#6d6259;--store-accent:#826035;--store-green:#14564a;--store-display:StoreDisplay,Georgia,serif;--store-text:StoreText,'Segoe UI',Arial,sans-serif;--interior-ink:var(--store-ink);--interior-muted:var(--store-muted)}
body{font-family:var(--store-text);-webkit-font-smoothing:antialiased}
#home .editorial-brand-name,.interior-brand-name{font-family:var(--store-display);font-weight:400;font-size:30px;letter-spacing:-.035em;color:var(--store-ink)}
#home .editorial-brand small,.interior-brand small{color:var(--store-accent);font-family:var(--store-text);font-weight:600;letter-spacing:.18em}
#home .editorial-nav > a,#home .editorial-button,#home .home-hero-actions .home-hero-action,body .app-screen:not(#home) .section-brand-action,#categoryDetail .category-back-action{font-family:var(--store-text);font-weight:600;font-size:13px;letter-spacing:.005em}
#home .editorial-hero-copy :is(h1,h2){font-family:var(--store-display);font-weight:400;font-size:clamp(30px,3.3vw,40px);line-height:1.34;letter-spacing:-.035em;color:var(--store-heading)}
#home .editorial-hero-copy p{font:400 16px/1.7 var(--store-text);color:var(--store-muted)}
#home .editorial-section-heading h2{font:400 clamp(24px,2.6vw,31px)/1.4 var(--store-display);color:var(--store-heading);letter-spacing:-.025em}
#home .home-product-placeholder > footer{font:600 16px/1.45 var(--store-text);color:var(--store-heading);padding:15px 16px}
#home .editorial-all-categories > summary,#home .editorial-filters > summary{font:600 12px/1.6 var(--store-text);color:var(--store-accent)}
#home .editorial-gift strong{font:400 27px/1.35 var(--store-display);color:var(--store-heading)}
#home .editorial-gift small{font:500 13px/1.6 var(--store-text);color:var(--store-muted)}
#home .editorial-support strong,#home .editorial-support summary{font:600 14px/1.5 var(--store-text);color:var(--store-heading)}
#home .editorial-support small,#home .editorial-social a{font-family:var(--store-text);color:var(--store-muted)}
#categoryDetail .product-group-title{font:400 clamp(30px,3.3vw,40px)/1.4 var(--store-display);color:var(--store-heading);letter-spacing:-.025em;margin-bottom:28px}
#categoryDetail .product-catalog-group{position:relative;font:600 19px/1.6 var(--store-text);color:var(--store-heading);letter-spacing:-.015em;border-bottom:1px solid #e5ded2;padding-bottom:12px;margin-top:4px}
#categoryDetail .product-catalog-group::after{content:'';position:absolute;left:0;bottom:-1px;width:44px;height:2px;background:#ad8b58}
#categoryDetail .product-catalog-subgroup{font:600 12px/1.6 var(--store-text);color:var(--store-accent);letter-spacing:.025em;margin-top:-4px}
#categoryDetail .home-filter-panel{font:400 13px/1.7 var(--store-text)}
#categoryDetail .home-filter-panel__header h3,#categoryDetail .home-filter-panel__header strong{font:700 15px/1.5 var(--store-text);color:var(--store-heading);letter-spacing:0}
#categoryDetail .home-filter-panel__header button{font:500 12px/1.5 var(--store-text);color:var(--store-accent)}
#categoryDetail .home-filter-group legend{font:700 12px/1.6 var(--store-text);color:var(--store-accent);letter-spacing:.1em}
#categoryDetail .home-filter-check,#categoryDetail .home-filter-option{font:400 13px/1.7 var(--store-text);color:var(--store-ink)}
#categoryDetail .category-filter-all-button,#categoryDetail .home-filter-option:has(input:checked){font-family:var(--store-text);font-weight:600;color:white}
#categoryDetail .home-filter-price input{font:500 13px/1.5 var(--store-text)}
#categoryDetail .product-grid .product-card,#categoryDetail .similar-products-grid .product-card{grid-template-rows:auto 1fr auto;background:#fffdf9;border-color:#e8dfd1}
#categoryDetail .product-card-overlay-title{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:18px 18px 14px;font:600 16px/1.55 var(--store-text);color:var(--store-heading);letter-spacing:0}
.catalog-card-kind{display:block;font:700 9px/1.5 var(--store-text);letter-spacing:.15em;text-transform:uppercase;color:var(--store-accent)}
.catalog-card-model{display:block;font:400 23px/1.35 var(--store-display);color:var(--store-heading);letter-spacing:-.025em}
.catalog-card-variant{display:block;font:400 13px/1.65 var(--store-text);color:var(--store-muted)}
#categoryDetail .product-list-price{display:block;margin:0 18px;padding:13px 0 17px;border-top:1px solid #e9e1d5;font:500 13px/1.5 var(--store-text);color:var(--store-green)}
#categoryDetail .product-list-price strong{display:block;font:600 13px/1.5 var(--store-text);color:var(--store-green)}
#categoryDetail .product-list-price small{display:block;margin-top:4px;font:400 11px/1.6 var(--store-text);color:var(--store-muted)}
#categoryDetail .product-list-price--wholesale strong,.product-wholesale-price strong{font:700 21px/1.4 var(--store-text);color:var(--store-green);letter-spacing:-.035em;font-variant-numeric:lining-nums tabular-nums}
#categoryDetail .product-card--category-placeholder{grid-template-rows:auto auto}
#categoryDetail .product-card--category-placeholder .product-title{font:400 20px/1.5 var(--store-display);color:var(--store-heading);letter-spacing:-.02em}
#categoryDetail .product-card--category-placeholder .product-card-summary{padding:17px 18px}
#categoryDetail .product-detail__title{font:400 clamp(25px,2.8vw,34px)/1.45 var(--store-display);color:var(--store-heading);letter-spacing:-.025em;text-wrap:balance}
#categoryDetail .product-description,#categoryDetail .product-rating{font:400 14px/1.85 var(--store-text);color:var(--store-muted)}
#categoryDetail .product-spec-label{font:500 12px/1.65 var(--store-text);color:var(--store-muted)}
#categoryDetail .product-spec-value{font:600 14px/1.65 var(--store-text);color:var(--store-heading)}
#categoryDetail .product-detail__button{font:600 13px/1.5 var(--store-text)}
#categoryDetail .similar-products-title,#categoryDetail .product-reviews-title{font:400 26px/1.5 var(--store-display);color:var(--store-heading)}
/* The same hierarchy in the Telegram storefront. */
.app-shell{--text:var(--store-ink);--muted:var(--store-muted);--gold:var(--store-accent)}
.app-shell .brand{font:400 25px/1.3 var(--store-display);letter-spacing:-.03em}
.app-shell .brand small{font:600 8px/1.5 var(--store-text);letter-spacing:.15em;color:var(--store-accent)}
.app-shell .header-contact,.app-shell .back{font:600 12px/1.6 var(--store-text);color:var(--store-green)}
.app-shell .intro h1,.app-shell .category-heading h1,.app-shell .product-detail h1{font:400 clamp(26px,3vw,36px)/1.45 var(--store-display);color:var(--store-heading);letter-spacing:-.025em}
.app-shell .section-heading h2{font:400 24px/1.5 var(--store-display);color:var(--store-heading)}
.app-shell .catalog-group{font:600 19px/1.6 var(--store-text);color:var(--store-heading);border-color:#e5ded2}
.app-shell .catalog-subgroup{font:600 12px/1.6 var(--store-text);color:var(--store-accent)}
.app-shell .card{display:flex;flex-direction:column;background:#fffdf9}
.app-shell .card-media{flex-shrink:0}
.app-shell .card-title{display:flex;flex-direction:column;gap:8px;font:600 15px/1.55 var(--store-text);color:var(--store-heading)}
.app-shell .card-info{display:flex;flex-direction:column;flex:1;padding:16px}
.app-shell .card-info .card-title{flex:1}
.app-shell .card-meta{font:400 11px/1.6 var(--store-text);color:var(--store-muted)}
.app-shell .card-title + .card-meta{padding-top:12px;margin-top:14px;border-top:1px solid #e9e1d5;color:var(--store-green);font-weight:600}
.app-shell .card-price strong{font:700 20px/1.4 var(--store-text);color:var(--store-green)}
.app-shell .card-price small{font:400 11px/1.6 var(--store-text)}
.app-shell .description,.app-shell .specs,.app-shell .intro p{font-family:var(--store-text);line-height:1.8}
@media(max-width:760px){
 #home .editorial-brand-name,.interior-brand-name{font-size:27px}
 #home .editorial-hero-copy :is(h1,h2){font-size:clamp(29px,6.8vw,39px);line-height:1.35}
 #home .editorial-hero-copy p{font-size:14px}
 #home .editorial-gift strong{font-size:24px}
 #home .home-product-placeholder > footer{font-size:14px}
 #categoryDetail .product-group-title{font-size:29px;margin-bottom:22px}
 #categoryDetail .product-catalog-group{font-size:17px}
 #categoryDetail .product-card-overlay-title{padding:13px 11px 12px;font-size:14px;gap:6px}
 .catalog-card-model{font-size:20px}
 .catalog-card-kind{font-size:8px;letter-spacing:.1em}
 .catalog-card-variant{font-size:12px;line-height:1.6}
 #categoryDetail .product-list-price{margin:0 11px;padding:11px 0 13px}
 #categoryDetail .product-list-price strong{font-size:12px}
 #categoryDetail .product-list-price--wholesale strong{font-size:18px}
 #categoryDetail .product-card--category-placeholder .product-title{font-size:17px}
 #categoryDetail .product-card--category-placeholder .product-card-summary{padding:13px 11px}
 .app-shell .card-info{padding:12px}
 .app-shell .card-title{font-size:14px;gap:6px}
}
:root[data-theme=dark]{--store-heading:#f4ead8;--store-ink:#f2e8da;--store-muted:#c6baaa;--store-accent:#d3af77;--store-green:#8bd0b8}
:root[data-theme=dark] .app-shell .card{background:var(--card)}

/* Approved silk-and-jasmine hero; live text and links over decorative artwork. */
#home .home-hero { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:22px; padding:14px 0 32px; }
#home .editorial-hero-column { min-width:0; container-type:inline-size; }
#home .editorial-hero-copy, #home .editorial-hero-photo { width:100%; aspect-ratio:1; border-radius:14px; overflow:hidden; box-sizing:border-box; }
#home .editorial-hero-copy { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:14% 7% 9%; text-align:center; background:#f7eee0 image-set(url('./assets/optimized/2c6726f47f323f07a5-480.webp') 1x,url('./assets/optimized/2c6726f47f323f07a5-1080.webp') 2x) center / cover no-repeat; }
#home .editorial-hero-eyebrow { margin-bottom:10px; font:500 clamp(9px,2cqw,13px)/1.5 var(--store-text); letter-spacing:.28em; text-transform:uppercase; color:#806039; }
#home .editorial-hero-copy :is(h1,h2) { margin:0; max-width:100%; font:400 clamp(30px,11.3cqw,84px)/1.25 var(--store-display); letter-spacing:-.045em; color:#173e30; white-space:nowrap; }
#home .editorial-hero-rule { display:block; width:21%; height:1px; flex-shrink:0; background:#b88d50; margin:4% 0; }
#home .editorial-hero-subtitle { font:500 clamp(16px,4.7cqw,34px)/1.2 'Cormorant Garamond',Georgia,serif; color:#173e30; }
#home .editorial-hero-copy p { margin:4% 0 5%; font:500 clamp(10px,2.7cqw,17px)/1.5 var(--store-text); color:#806b52; }
#home .editorial-hero-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:12px; }
#home .editorial-hero-buttons .editorial-button { min-width:0; min-height:46px; padding:10px 6px; gap:10px; font-size:clamp(10px,2.3cqw,14px); border-radius:7px; background:#fffcf7e8; }
#home .editorial-hero-buttons .editorial-button--primary { background:#14564a; color:#fffdf9; }
#home .editorial-hero-photo { display:block; height:auto; object-fit:cover; }
#home .editorial-hero-socials { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:14px; }
#home .editorial-hero-socials .editorial-button { display:flex; flex-direction:column; gap:2px; padding:10px 8px; min-width:0; min-height:48px; border-radius:7px; font-size:clamp(11px,2.5cqw,14px); }
#home .editorial-hero-socials .editorial-button { background:#faf5ec; }
#home .editorial-hero-socials .editorial-button--primary { color:#fffdf9; border-color:#14564a; background:#14564a; }
#home .editorial-hero-socials button:disabled { opacity:1; cursor:default; }
#homeCatalogStart { border-top:1px solid #c6a575; padding-top:6px; }
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-section-heading::after { display:none; }
@media(max-width:780px) {
  #home .home-hero { grid-template-columns:1fr; gap:24px; padding-top:22px; }
  #home .editorial-hero-copy { padding:10% 7% 7%; }
  #home .editorial-hero-copy p { font-size:clamp(12px,3cqw,17px); margin:3% 0 4%; }
  #home .editorial-hero-subtitle { font-size:clamp(17px,4.7cqw,34px); }
  #home .editorial-hero-buttons .editorial-button { font-size:clamp(11px,2.3cqw,14px); }
  #home .editorial-hero-buttons { gap:8px; }
  #home .editorial-hero-socials { gap:10px; margin-top:12px; }
}

/* Product video shares the approved image gallery. */
#categoryDetail .product-gallery-main[hidden],
#categoryDetail .product-gallery-video[hidden] { display:none !important; }
#categoryDetail .product-gallery-video { display:block; width:100%; aspect-ratio:4/3; max-height:70vh; object-fit:contain; background:#161b18; border:1px solid #ede3d5; border-radius:12px; }
#categoryDetail .product-gallery-card--video { display:flex; align-items:center; justify-content:center; color:#276342; background:#f9f5ed; font:600 12px/1.3 Manrope,Arial,sans-serif; }

/* Product pages: approved ivory editorial layout, local review 24.10.2026. */
#categoryDetail.category-detail--product-screen{--pdp-line:#e4d8c7;--pdp-muted:#796e62;--pdp-green:#164f40;--pdp-gold:#a5793e;--pdp-ink:#263e34;padding-bottom:48px}
body #categoryDetail.category-detail--product-screen>.section-brand-bar{width:100%;max-width:1200px;min-height:100px;margin:0 auto;border-color:var(--pdp-line)}
#categoryDetail.category-detail--product-screen .category-detail__card{max-width:1200px}
body #categoryDetail.category-detail--product-screen .section-brand-actions{display:flex;gap:28px;width:auto;grid-template-columns:none}
body #categoryDetail.category-detail--product-screen .section-brand-action{height:auto;min-height:40px;width:auto;padding:8px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--pdp-ink);font-size:12px}
#categoryDetail .pdp-detail{color:var(--pdp-ink);font-family:var(--store-text);font-size:14px;text-align:left}
#categoryDetail .pdp-detail [hidden]{display:none!important}
#categoryDetail .pdp-detail :is(button,a,input,summary):focus-visible{outline:2px solid var(--pdp-gold);outline-offset:4px}
#categoryDetail .pdp-detail :is(.pdp-about,.pdp-delivery,.pdp-reviews){scroll-margin-top:24px}
#categoryDetail .pdp-breadcrumbs{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:27px 0;color:var(--pdp-muted);font:400 11px/1.65 var(--store-text)}
#categoryDetail .pdp-breadcrumbs button{font:inherit;color:inherit;background:none;padding:0;border:0;box-shadow:none}
#categoryDetail .pdp-breadcrumbs>span:last-child{color:var(--pdp-ink)}
#categoryDetail .pdp-detail .product-detail-hero{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:56px;align-items:start;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:none;overflow:visible}
#categoryDetail .pdp-detail .product-detail-hero .product-detail__media{display:block;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none}
#categoryDetail .pdp-detail .product-gallery-main{display:block;position:relative;aspect-ratio:auto;width:100%;height:auto;min-height:0;padding:0;margin:0;overflow:hidden;border:0;border-radius:5px;background:#f6f0e7;box-shadow:none}
#categoryDetail .pdp-detail .product-gallery-main img{position:static;display:block;inset:auto;width:100%;height:auto;max-height:660px;object-fit:contain;object-position:center;background:none}
#categoryDetail .pdp-detail .product-gallery-main--empty{aspect-ratio:4/3;min-height:100px}
#categoryDetail .pdp-detail .product-gallery-main--empty::after{content:'Изображение готовится';display:block;padding:60px 20px;color:var(--pdp-muted);font:14px var(--store-text)}
#categoryDetail .pdp-zoom{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fffcf7e8;color:var(--pdp-green);font:22px/1 var(--store-text)}
#categoryDetail .pdp-detail .product-gallery-stage{display:flex;gap:10px;margin:12px 0 0;padding:2px 0;overflow-x:auto;max-width:100%;border:0;background:none}
#categoryDetail .pdp-detail .product-gallery-card{position:relative;flex:0 0 83px;width:83px;height:80px;aspect-ratio:auto;padding:0;border:1px solid var(--pdp-line);border-radius:3px;background:#fffcf7;box-shadow:none;overflow:hidden}
#categoryDetail .pdp-detail .product-gallery-card img{display:block;width:100%;height:56px;object-fit:contain}
#categoryDetail .pdp-media-label{display:block;font:500 9px/22px var(--store-text);text-align:center;color:var(--pdp-muted)}
#categoryDetail .pdp-detail .product-gallery-card.is-active{border-color:var(--pdp-green);outline:1px solid var(--pdp-green);outline-offset:-2px}
#categoryDetail .pdp-detail .product-gallery-card--video{font:500 11px/1.5 var(--store-text);color:var(--pdp-green);background:#f3eee5}
#categoryDetail .pdp-detail .product-gallery-video{max-height:660px;border:0;border-radius:5px}
#categoryDetail .pdp-photo-caption{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--pdp-line);font:400 10px/1.6 var(--store-text);color:var(--pdp-muted)}
#categoryDetail .pdp-gallery-note{display:flex;align-items:center;gap:20px;padding:25px 0}
#categoryDetail .pdp-detail-mark{font-size:38px;color:var(--pdp-gold)}
#categoryDetail .pdp-gallery-note p{margin:0;font:400 20px/1.65 var(--store-display)}
#categoryDetail .pdp-gallery-note small{display:block;margin-top:5px;color:var(--pdp-muted);font:400 13px/1.6 var(--store-text)}
#categoryDetail .pdp-detail .product-detail-hero .product-detail__content{display:block;width:100%;min-height:0;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
#categoryDetail .pdp-detail .product-detail__content::before,#categoryDetail .pdp-detail .product-detail__content::after{content:none}
#categoryDetail .pdp-eyebrow{font:600 10px/1.6 var(--store-text);letter-spacing:.15em;color:var(--pdp-gold)}
#categoryDetail .pdp-product-meta{display:flex;justify-content:space-between;gap:18px;text-transform:uppercase}
#categoryDetail .pdp-product-meta span:last-child{color:var(--pdp-muted);letter-spacing:.06em;white-space:nowrap}
#categoryDetail .pdp-detail .product-detail__title{display:block;max-width:none;margin:12px 0 6px;padding:0;border:0;background:none;box-shadow:none;color:var(--pdp-ink);font:400 clamp(28px,2.8vw,38px)/1.4 var(--store-display);letter-spacing:-.04em;text-align:left;text-shadow:none;text-wrap:pretty;-webkit-text-fill-color:currentColor}
#categoryDetail .pdp-detail .product-detail__title::after,#categoryDetail .pdp-detail .product-detail__title::before{content:none}
#categoryDetail .pdp-variant{margin:0;color:var(--pdp-muted);font:400 15px/1.7 var(--store-text)}
#categoryDetail .pdp-variant::first-letter{text-transform:uppercase}
#categoryDetail .pdp-detail .pdp-rating{display:flex;gap:12px;align-items:center;justify-content:flex-start;margin:16px 0 0;padding:0;border:0;background:none;font:400 12px/1.6 var(--store-text);color:var(--pdp-muted)}
#categoryDetail .pdp-text-button{display:inline-block;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-decoration:none;text-shadow:none;color:var(--pdp-green);font:400 12px/1.6 var(--store-text)}
#categoryDetail .pdp-rating .pdp-text-button{color:var(--pdp-muted)}
#categoryDetail .pdp-rating-score{color:var(--pdp-gold)}
#categoryDetail .pdp-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin:22px 0 10px}
#categoryDetail .pdp-unit-price{font:500 32px/1.5 var(--store-text);letter-spacing:-.045em;color:var(--pdp-ink)}
#categoryDetail .pdp-price-caption{font:400 12px/1.6 var(--store-text);color:var(--pdp-muted)}
#categoryDetail .pdp-price--quote .pdp-unit-price{font-size:26px}
#categoryDetail .pdp-line-total{margin:0 0 10px;color:var(--pdp-green);font:500 12px/1.6 var(--store-text)}
#categoryDetail .pdp-wholesale{margin:0;border-top:1px solid var(--pdp-line);border-bottom:1px solid var(--pdp-line);background:none}
#categoryDetail .pdp-wholesale summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;list-style:none;cursor:pointer;color:var(--pdp-ink);font:400 12px/1.6 var(--store-text)}
#categoryDetail .pdp-wholesale summary::-webkit-details-marker{display:none}
#categoryDetail .pdp-wholesale summary b{margin-left:8px;color:var(--pdp-gold);font-weight:500}
#categoryDetail .pdp-plus{font-size:20px}
#categoryDetail .pdp-wholesale[open] .pdp-plus{transform:rotate(45deg)}
#categoryDetail .pdp-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(75px,1fr));gap:10px;padding:12px 0;color:var(--pdp-muted);font:400 11px/1.6 var(--store-text)}
#categoryDetail .pdp-tiers strong{display:block;color:var(--pdp-ink);font-size:12px;font-weight:600}
#categoryDetail .pdp-wholesale>.pdp-muted{margin:0 0 12px}
#categoryDetail .pdp-detail .product-selection-panel{margin:23px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
#categoryDetail .pdp-detail .product-selection-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0}
#categoryDetail .pdp-detail .product-size-selector{margin:0;padding:0;min-width:0}
#categoryDetail .pdp-detail .product-size-title{margin:0 0 10px;padding:0;color:var(--pdp-ink);font:600 12px/1.5 var(--store-text);text-transform:none;letter-spacing:0}
#categoryDetail .pdp-detail .product-size-options{display:flex;flex-wrap:wrap;gap:8px}
#categoryDetail .pdp-detail .product-size-option{width:43px;height:41px;min-height:41px;min-width:0;padding:0;border:1px solid var(--pdp-line);border-radius:3px;color:var(--pdp-ink);background:#fffcf7;box-shadow:none;font:400 12px/1 var(--store-text)}
#categoryDetail .pdp-detail .product-size-option[aria-pressed=true]{background:var(--pdp-green);border-color:var(--pdp-green);color:white}
#categoryDetail .pdp-detail .product-quantity-selector{display:block;flex-shrink:0;margin:0;padding:0}
#categoryDetail .pdp-detail .quantity-control{display:flex;align-items:center;gap:0;height:41px;padding:0;margin:0;border:1px solid var(--pdp-line);border-radius:3px;background:none;box-shadow:none}
#categoryDetail .pdp-detail .quantity-button{display:block;width:30px;height:39px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--pdp-ink);font:400 15px/1 var(--store-text)}
#categoryDetail .pdp-detail .quantity-button:disabled{opacity:.35;cursor:default}
#categoryDetail .pdp-detail .quantity-value{appearance:textfield;display:block;width:40px;min-width:0;height:39px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;color:var(--pdp-ink);background:none;text-align:center;font:400 13px/1 var(--store-text)}
#categoryDetail .pdp-detail .quantity-value::-webkit-inner-spin-button{appearance:none}
#categoryDetail .pdp-availability{display:flex;align-items:center;gap:7px;margin:14px 0 17px;font:400 11px/1.65 var(--store-text);color:var(--pdp-muted)}
#categoryDetail .pdp-availability::before{content:'';width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:var(--pdp-gold)}
#categoryDetail .pdp-detail .product-detail-actions{display:grid;grid-template-columns:minmax(0,1fr) 51px;grid-template-areas:'cart favorite' 'buy buy';gap:10px;margin:0;padding:0;background:none;border:0}
#categoryDetail .pdp-detail .product-detail-actions>.product-detail__button,#categoryDetail .pdp-detail .pdp-avito{grid-area:auto;display:flex;align-items:center;justify-content:center;width:auto;min-height:42px;min-width:0;height:auto;margin:0;padding:12px 18px;border:1px solid var(--pdp-line);border-radius:3px;box-shadow:none;text-shadow:none;transform:none;filter:none;background:none;color:var(--pdp-ink);font:500 12px/1.6 var(--store-text);text-decoration:none;letter-spacing:0}
#categoryDetail .pdp-detail .product-cart-button{grid-area:cart!important;min-height:51px!important;justify-content:space-between!important;background:var(--pdp-green)!important;border-color:var(--pdp-green)!important;color:white!important}
#categoryDetail .pdp-detail .product-cart-button::after{content:'↗';font-size:19px}
#categoryDetail .pdp-detail .product-buy-button{grid-area:buy!important}
#categoryDetail .pdp-detail .pdp-favorite{grid-area:favorite;display:grid;place-items:center;width:51px;min-width:0;max-width:51px;height:51px;min-height:51px;padding:0;border:1px solid var(--pdp-line);border-radius:3px;background:none;box-shadow:none;color:var(--pdp-ink);font:25px/1 var(--store-text)}
#categoryDetail .pdp-detail .pdp-favorite[aria-pressed=true]{background:#ede5d8;color:var(--pdp-gold)}
#categoryDetail .pdp-detail .pdp-actions--avito{grid-template-areas:'cart cart cart favorite' 'buy buy avito avito';grid-template-columns:repeat(3,minmax(0,1fr)) 51px}
#categoryDetail .pdp-detail .pdp-avito{grid-area:avito}
#categoryDetail .pdp-detail .product-detail-actions:has(.product-add-to-order-button){display:flex;flex-wrap:wrap}
#categoryDetail .pdp-detail .product-add-to-order-button{background:var(--pdp-green)!important;color:white!important;flex:1}
#categoryDetail .pdp-detail .product-order-add-cancel-button{flex:1}
#categoryDetail .pdp-detail .product-order-add-hint,#categoryDetail .pdp-detail .product-detail-cart-message{margin:12px 0;color:var(--pdp-green);font:500 12px/1.7 var(--store-text)}
#categoryDetail .pdp-help{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--pdp-line);margin-top:18px;padding-top:14px;color:var(--pdp-muted);font:400 11px/1.6 var(--store-text)}
#categoryDetail .pdp-section-nav{display:flex;flex-wrap:wrap;gap:36px;border-bottom:1px solid var(--pdp-line);margin-top:42px}
#categoryDetail .pdp-section-nav button{padding:16px 0;border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;background:none;color:var(--pdp-ink);font:400 12px/1.6 var(--store-text)}
#categoryDetail .pdp-section-nav button:first-child{border-bottom-color:var(--pdp-gold)}
#categoryDetail .pdp-about{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:80px;padding:43px 0}
#categoryDetail .pdp-detail .pdp-heading{margin:12px 0 16px;color:var(--pdp-ink);font:400 29px/1.5 var(--store-display);letter-spacing:-.025em;text-align:left;text-shadow:none}
#categoryDetail .pdp-detail .pdp-story .product-description{margin:0;max-width:520px;color:var(--pdp-muted);font:400 14px/1.9 var(--store-text);white-space:pre-line}
#categoryDetail .pdp-detail .product-specs{display:block;align-self:start;margin:22px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
#categoryDetail .pdp-detail .product-spec-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.4fr);gap:20px;padding:14px 0;border:0;border-bottom:1px solid var(--pdp-line);background:none}
#categoryDetail .pdp-detail .product-spec-label{color:var(--pdp-muted);font:400 12px/1.7 var(--store-text);text-transform:none;letter-spacing:0}
#categoryDetail .pdp-detail .product-spec-value{color:var(--pdp-ink);font:500 12px/1.7 var(--store-text);overflow-wrap:anywhere}
#categoryDetail .pdp-detail .pdp-order-note{margin:14px 0 0;color:var(--pdp-muted);font:400 12px/1.8 var(--store-text)}
#categoryDetail .pdp-delivery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:27px 0;border-top:1px solid var(--pdp-line);border-bottom:1px solid var(--pdp-line)}
#categoryDetail .pdp-delivery>div+div{padding-left:30px;border-left:1px solid var(--pdp-line)}
#categoryDetail .pdp-delivery h3{margin:9px 0;color:var(--pdp-ink);font:400 20px/1.5 var(--store-display)}
#categoryDetail .pdp-delivery p{margin:0;max-width:280px;color:var(--pdp-muted);font:400 12px/1.9 var(--store-text)}
#categoryDetail .pdp-detail .pdp-reviews{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:40px;margin:42px 0;padding:36px;border:0;border-radius:0;background:#f3eee5;box-shadow:none}
#categoryDetail .pdp-detail .product-reviews-title{margin:10px 0 0;color:var(--pdp-ink);font:400 27px/1.5 var(--store-display);letter-spacing:-.025em;text-align:left}
#categoryDetail .pdp-detail .product-reviews-empty{margin:0;color:var(--pdp-ink);font:500 14px/1.7 var(--store-text)}
#categoryDetail .pdp-muted{margin:7px 0 0;color:var(--pdp-muted);font:400 12px/1.8 var(--store-text)}
#categoryDetail .pdp-review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:19px}
#categoryDetail .pdp-outline-button{padding:11px 17px;border:1px solid #bba47f;border-radius:3px;background:none;box-shadow:none;color:var(--pdp-ink);font:400 12px/1.6 var(--store-text)}
#categoryDetail .pdp-detail .similar-products{margin:0;padding:0;border:0;background:none;box-shadow:none}
#categoryDetail .pdp-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:25px}
#categoryDetail .pdp-detail .similar-products-title{margin:8px 0 0;color:var(--pdp-ink);font:400 29px/1.5 var(--store-display);letter-spacing:-.025em;text-align:left}
#categoryDetail .pdp-detail .similar-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
#categoryDetail .pdp-detail .similar-products-grid .product-card{display:grid;grid-template-rows:auto 1fr auto;border:0;border-radius:0;background:none;box-shadow:none;transition:transform .18s}
#categoryDetail .pdp-detail .similar-products-grid .product-image{border:0;border-radius:3px;background:none}
#categoryDetail .pdp-detail .similar-products-grid .product-card-overlay-title{gap:4px;padding:16px 0 10px}
#categoryDetail .pdp-detail .similar-products-grid .catalog-card-kind{display:none}
#categoryDetail .pdp-detail .similar-products-grid .catalog-card-model{font-size:21px}
#categoryDetail .pdp-detail .similar-products-grid .catalog-card-variant{font-size:12px}
#categoryDetail .pdp-detail .similar-products-grid .product-list-price{border:0;margin:0;padding:0;font:500 14px/1.6 var(--store-text)}
#categoryDetail .pdp-detail .similar-products-grid .product-list-price strong{font-size:14px}
#categoryDetail .pdp-detail .similar-products-grid .product-list-price small{display:none}
#categoryDetail .pdp-mobile-buy{display:none}
@media(max-width:960px){
  #categoryDetail .pdp-detail .product-detail-hero{gap:30px}
  #categoryDetail .pdp-about{gap:35px}
  #categoryDetail .pdp-detail .product-detail__title{font-size:29px}
  #categoryDetail .pdp-detail .product-selection-controls{flex-wrap:wrap}
  body #categoryDetail.category-detail--product-screen>.section-brand-bar{flex-wrap:nowrap;gap:20px}
  body #categoryDetail.category-detail--product-screen .section-brand-actions{width:auto;gap:18px}
}
@media(max-width:760px){
  #categoryDetail.category-detail--product-screen{padding:0 20px 114px}
  body #categoryDetail.category-detail--product-screen>.section-brand-bar{min-height:82px;padding:14px 0;margin:0;gap:12px}
  #categoryDetail.category-detail--product-screen .interior-brand-name{font-size:25px}
  #categoryDetail.category-detail--product-screen .interior-brand-symbol{font-size:36px}
  #categoryDetail.category-detail--product-screen .interior-brand small{font-size:7px}
  body #categoryDetail.category-detail--product-screen .section-brand-actions{width:auto;gap:0;flex-shrink:0}
  body #categoryDetail.category-detail--product-screen .section-brand-actions>a{display:none}
  body #categoryDetail.category-detail--product-screen .section-brand-action{font-size:11px;white-space:nowrap}
  #categoryDetail .pdp-breadcrumbs{padding:21px 0;gap:9px;font-size:10px}
  #categoryDetail .pdp-detail .product-detail-hero{grid-template-columns:1fr;gap:22px}
  #categoryDetail .pdp-gallery-note{display:none}
  #categoryDetail .pdp-photo-caption{padding:11px 0;font-size:9px}
  #categoryDetail .pdp-photo-caption span:last-child{max-width:160px;text-align:right}
  #categoryDetail .pdp-eyebrow{font-size:9px}
  #categoryDetail .pdp-detail .product-detail__title{font-size:30px;line-height:1.4;margin-top:12px}
  #categoryDetail .pdp-variant{font-size:14px}
  #categoryDetail .pdp-detail .pdp-rating{margin-top:12px}
  #categoryDetail .pdp-price{margin-top:18px}
  #categoryDetail .pdp-unit-price{font-size:30px}
  #categoryDetail .pdp-detail .product-selection-controls{flex-wrap:nowrap;gap:12px}
  #categoryDetail .pdp-detail .product-size-options{gap:6px}
  #categoryDetail .pdp-detail .product-size-option{width:38px;height:41px}
  #categoryDetail .pdp-detail .quantity-button{width:25px}
  #categoryDetail .pdp-detail .quantity-value{width:34px}
  #categoryDetail .pdp-section-nav{justify-content:space-between;gap:15px;margin-top:27px}
  #categoryDetail .pdp-section-nav button{font-size:11px}
  #categoryDetail .pdp-about{grid-template-columns:1fr;gap:14px;padding:30px 0}
  #categoryDetail .pdp-detail .pdp-heading{font-size:25px}
  #categoryDetail .pdp-detail .product-specs{margin:0}
  #categoryDetail .pdp-detail .product-spec-row{padding:12px 0;gap:15px}
  #categoryDetail .pdp-delivery{grid-template-columns:1fr;gap:18px;padding:25px 0}
  #categoryDetail .pdp-delivery>div+div{padding:18px 0 0;border-left:0;border-top:1px solid var(--pdp-line)}
  #categoryDetail .pdp-delivery p{max-width:none}
  #categoryDetail .pdp-detail .pdp-reviews{grid-template-columns:1fr;gap:22px;padding:25px 22px;margin:30px 0}
  #categoryDetail .pdp-detail .product-reviews-title{font-size:25px}
  #categoryDetail .pdp-review-actions{gap:18px}
  #categoryDetail .pdp-section-heading{align-items:flex-start;flex-direction:column;gap:10px}
  #categoryDetail .pdp-detail .similar-products-title{font-size:25px}
  #categoryDetail .pdp-detail .similar-products-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin:0;padding:0 0 16px;max-width:100%}
  #categoryDetail .pdp-detail .similar-products-grid .product-card{flex:0 0 75%;scroll-snap-align:start}
  #categoryDetail .pdp-mobile-buy{position:fixed;bottom:0;left:0;right:0;z-index:24;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--pdp-line);background:#fffcf7f5;backdrop-filter:blur(12px)}
  #categoryDetail .pdp-mobile-buy>div{min-width:110px}
  #categoryDetail .pdp-mobile-buy strong{display:block;color:var(--pdp-ink);font:600 19px/1.5 var(--store-text)}
  #categoryDetail .pdp-mobile-buy small{display:block;color:var(--pdp-muted);font:400 10px/1.5 var(--store-text)}
  #categoryDetail .pdp-mobile-action{flex:1;min-height:44px;padding:10px 15px;border:0;border-radius:3px;box-shadow:none;background:var(--pdp-green);color:white;font:600 12px/1.6 var(--store-text)}
  body.cart-open #categoryDetail .pdp-mobile-buy,body.modal-open #categoryDetail .pdp-mobile-buy,body.lightbox-open #categoryDetail .pdp-mobile-buy{display:none}
}
@media(max-width:360px){
  #categoryDetail.category-detail--product-screen{padding-left:16px;padding-right:16px}
  #categoryDetail .pdp-detail .product-selection-controls{flex-wrap:wrap}
  #categoryDetail .pdp-mobile-buy strong{font-size:16px}
  #categoryDetail .pdp-help{flex-wrap:wrap;gap:8px}
}

/* Second product-page composition: contrast, hierarchy and grouped content. */
#categoryDetail.category-detail--product-screen{--pdp-ink:#263e34;--pdp-gold:#a5793e;--pdp-line:#dfd4c3}
#categoryDetail .pdp-product-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:end;padding:0 0 28px;margin:0}
#categoryDetail .pdp-heading-copy{min-width:0}
#categoryDetail .pdp-product-heading .pdp-product-meta{display:inline-flex;justify-content:flex-start;gap:20px;font-size:10px}
#categoryDetail .pdp-detail .pdp-product-heading .product-detail__title{max-width:900px;margin:12px 0 8px;font-size:clamp(34px,3.6vw,49px);line-height:1.25;letter-spacing:-.035em}
#categoryDetail .pdp-product-heading .pdp-variant{font-size:17px;line-height:1.6}
#categoryDetail .pdp-product-heading .pdp-rating{margin:0 0 6px;padding-bottom:4px;border-bottom:1px solid #c2ac88;white-space:nowrap}
#categoryDetail .pdp-product-heading .pdp-rating .pdp-text-button{font-size:12px;color:var(--pdp-green)}
#categoryDetail .pdp-detail .product-detail-hero{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:stretch}
#categoryDetail .pdp-detail .product-detail-hero .product-detail__media{display:flex;flex-direction:column;border:1px solid #e5dac9;border-radius:5px;background:#f5efe5;overflow:hidden}
#categoryDetail .pdp-detail .product-detail-hero .product-detail__content{--pdp-ink:#263e34;--pdp-muted:#706453;--pdp-line:#ded1bb;--pdp-gold:#a5793e;display:flex;flex-direction:column;background:#f5efe5;border:1px solid #e5dac9;border-radius:5px;padding:28px 30px 25px;color:var(--pdp-ink)}
#categoryDetail .pdp-purchase-intro h2{margin:6px 0 0;color:var(--pdp-ink);font:400 27px/1.4 var(--store-display);letter-spacing:-.02em}
#categoryDetail .pdp-detail .product-detail__content .pdp-price{margin:15px 0 13px}
#categoryDetail .pdp-detail .product-detail__content .pdp-unit-price{font-size:45px;line-height:1.2;color:var(--pdp-ink);font-weight:500;letter-spacing:-.045em}
#categoryDetail .pdp-detail .product-detail__content .pdp-price--quote .pdp-unit-price{font-size:29px;line-height:1.5}
#categoryDetail .pdp-detail .product-detail__content .pdp-price-caption{font-size:13px;color:var(--pdp-muted)}
#categoryDetail .pdp-detail .product-detail__content .pdp-line-total{color:var(--pdp-green);font-size:14px}
#categoryDetail .pdp-detail .product-detail__content .pdp-wholesale summary{font-size:13px;padding:15px 0;color:var(--pdp-ink)}
#categoryDetail .pdp-detail .product-detail__content .pdp-wholesale summary b{display:inline-block;font-size:12px;margin-left:8px;color:var(--pdp-gold)}
#categoryDetail .pdp-detail .product-detail__content .pdp-tiers{grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:12px}
#categoryDetail .pdp-detail .product-detail__content .pdp-tiers strong{font-size:14px;color:var(--pdp-ink)}
#categoryDetail .pdp-detail .product-detail__content .product-selection-panel{margin-top:23px;margin-bottom:22px}
#categoryDetail .pdp-detail .product-detail__content .product-size-title{font-size:13px;color:var(--pdp-ink)}
#categoryDetail .pdp-detail .product-detail__content .product-size-option{width:44px;height:44px;border-color:#d5c6ae;background:#fffdf9;color:var(--pdp-ink);font-size:13px}
#categoryDetail .pdp-detail .product-detail__content .product-size-option[aria-pressed=true]{background:var(--pdp-green);border-color:var(--pdp-green);color:white;font-weight:700}
#categoryDetail .pdp-detail .product-detail__content .quantity-control{height:44px;border-color:#d5c6ae;background:#fffdf9}
#categoryDetail .pdp-detail .product-detail__content .quantity-value{width:42px;color:var(--pdp-ink)}
#categoryDetail .pdp-detail .product-detail__content .quantity-button{color:var(--pdp-ink)}
#categoryDetail .pdp-detail .product-detail__content .pdp-availability{font-size:11px;margin:16px 0 20px;color:var(--pdp-muted)}
#categoryDetail .pdp-detail .product-detail__content .product-cart-button{min-height:54px!important;background:var(--pdp-green)!important;color:white!important;border-color:var(--pdp-green)!important;font-size:13px;font-weight:700}
#categoryDetail .pdp-detail .product-detail__content .product-cart-button:hover{background:#22634f!important;border-color:#22634f!important}
#categoryDetail .pdp-detail .product-detail__content .pdp-favorite{height:54px;color:var(--pdp-green);border-color:#d5c6ae;background:#fffdf9}
#categoryDetail .pdp-detail .product-detail__content .pdp-favorite[aria-pressed=true]{color:var(--pdp-green);background:#f2e4c9}
#categoryDetail .pdp-detail .product-detail__content .product-buy-button,#categoryDetail .pdp-detail .product-detail__content .pdp-avito{background:#fffdf9;color:var(--pdp-ink);border-color:#d5c6ae;font-size:12px;min-height:44px}
#categoryDetail .pdp-detail .product-detail__content .pdp-help{border-color:var(--pdp-line);color:var(--pdp-muted);margin-top:auto;padding-top:18px;flex-wrap:wrap;gap:8px}
#categoryDetail .pdp-detail .product-detail__content .pdp-help .pdp-text-button{color:var(--pdp-green);font-size:12px}
#categoryDetail .pdp-detail .product-detail__content .product-detail-cart-message,#categoryDetail .pdp-detail .product-detail__content .product-order-add-hint{color:var(--pdp-green)}
#categoryDetail .pdp-detail .product-gallery-main{flex:1;display:flex;align-items:center;justify-content:center;border:0;border-radius:4px 4px 0 0;background:#f5efe5}
#categoryDetail .pdp-detail .product-detail__media .product-gallery-video{flex:1;min-height:0;height:auto;border-radius:4px 4px 0 0}
#categoryDetail .pdp-detail .product-gallery-stage{margin:12px 16px 0;gap:9px;flex-shrink:0}
#categoryDetail .pdp-detail .product-gallery-card{flex-basis:76px;width:76px;height:68px}
#categoryDetail .pdp-detail .product-gallery-card img{height:46px}
#categoryDetail .pdp-photo-caption{padding:12px 16px;font-size:11px;border-bottom:0;flex-shrink:0}
#categoryDetail .pdp-section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:32px;border:1px solid var(--pdp-line);border-radius:4px;background:#fffdf9;overflow:hidden}
#categoryDetail .pdp-section-nav button{padding:17px 18px;font-size:13px;border-bottom:2px solid transparent;text-align:center}
#categoryDetail .pdp-section-nav button+button{border-left:1px solid var(--pdp-line)}
#categoryDetail .pdp-section-nav button:first-child{border-bottom-color:transparent}
#categoryDetail .pdp-section-nav button[aria-current]{border-bottom-color:var(--pdp-gold);background:#f1e9db;font-weight:600}
#categoryDetail .pdp-section-nav button:hover{background:#f6f0e6}
#categoryDetail .pdp-about{gap:26px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:35px 0 0;align-items:start}
#categoryDetail .pdp-story{padding:30px 32px;border:1px solid #e5dac9;border-radius:4px;background:#f5efe5}
#categoryDetail .pdp-detail .pdp-heading{font-size:33px;line-height:1.4;margin:13px 0 20px}
#categoryDetail .pdp-detail .pdp-story .product-description{font-size:15px;line-height:1.9;color:#605b50}
#categoryDetail .pdp-detail .pdp-order-note{padding-top:18px;margin-top:20px;border-top:1px solid #ded1bb;font-size:12px;color:#706453}
#categoryDetail .pdp-specs-card{padding:28px 30px 18px;border:1px solid #e5dac9;border-radius:4px;background:#fffdf9}
#categoryDetail .pdp-specs-card>h3{margin:0 0 7px;color:#263e34;font:400 25px/1.5 var(--store-display)}
#categoryDetail .pdp-detail .pdp-specs-card .product-specs{margin:0}
#categoryDetail .pdp-detail .product-spec-row{padding:15px 0;grid-template-columns:minmax(100px,.8fr) minmax(0,1.5fr)}
#categoryDetail .pdp-detail .product-spec-row:last-child{border-bottom:0}
#categoryDetail .pdp-detail .product-spec-label,#categoryDetail .pdp-detail .product-spec-value{font-size:13px;line-height:1.75}
#categoryDetail .pdp-delivery{display:block;margin-top:38px;padding:0;border:0}
#categoryDetail .pdp-delivery-heading{margin-bottom:22px}
#categoryDetail .pdp-delivery-heading .pdp-heading{margin:8px 0 0}
#categoryDetail .pdp-delivery-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#categoryDetail .pdp-delivery>div+div{border:0;padding:0}
#categoryDetail .pdp-delivery-cards>div{padding:25px 26px;border:1px solid #e5dac9;border-top:2px solid #ba9a67;border-radius:4px;background:#fffdf9}
#categoryDetail .pdp-delivery-cards h3{font-size:23px;line-height:1.5;margin:12px 0 10px}
#categoryDetail .pdp-delivery-cards p{max-width:none;font-size:13px;line-height:1.85}
#categoryDetail .pdp-detail .pdp-reviews{gap:35px;margin:38px 0 42px;padding:34px 38px;background:#ede5d7;border:1px solid #dfd0b8;border-left:3px solid #b79358;border-radius:4px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
#categoryDetail .pdp-detail .product-reviews-title{font-size:33px;line-height:1.4;margin:12px 0 0}
#categoryDetail .pdp-detail .product-reviews-empty{font-size:16px;line-height:1.6}
#categoryDetail .pdp-reviews .pdp-muted{font-size:13px;line-height:1.85;margin-top:10px}
#categoryDetail .pdp-review-actions{margin-top:23px}
#categoryDetail .pdp-outline-button{font-size:12px;background:#fffdf9;padding:12px 18px}
#categoryDetail .pdp-detail .similar-products-title{font-size:33px;line-height:1.4}
#categoryDetail .pdp-collection-actions{display:flex;align-items:center;gap:10px}
#categoryDetail .pdp-collection-actions>.pdp-text-button{margin-right:12px;font-size:12px}
#categoryDetail .pdp-carousel-button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #cbb997;border-radius:50%;background:none;color:#263e34;font:20px/1 var(--store-text)}
#categoryDetail .pdp-carousel-button:hover{background:#f1e9db}
#categoryDetail .pdp-detail .similar-products-grid{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 15px;max-width:100%;scrollbar-width:thin;scrollbar-color:#b99b6a #ede6d9}
#categoryDetail .pdp-detail .similar-products-grid .product-card{flex:0 0 calc((100% - 44px)/3);scroll-snap-align:start;border:1px solid #e5dac9;border-radius:5px;background:#fffdf9;overflow:hidden}
#categoryDetail .pdp-detail .similar-products-grid .product-card:hover{transform:none;border-color:#b99b6a;box-shadow:0 10px 25px #4938190a}
#categoryDetail .pdp-detail .similar-products-grid .product-image{border:0;border-radius:0}
#categoryDetail .pdp-detail .similar-products-grid .product-card-overlay-title{padding:20px 21px 16px;font:400 22px/1.5 var(--store-display);min-height:108px;gap:6px}
#categoryDetail .pdp-detail .similar-products-grid .catalog-card-model{font-size:25px;line-height:1.4}
#categoryDetail .pdp-detail .similar-products-grid .catalog-card-variant{font-size:13px;line-height:1.7}
#categoryDetail .pdp-detail .similar-products-grid .product-list-price{margin:0 21px;padding:15px 0 18px;border-top:1px solid #e5dac9}
#categoryDetail .pdp-detail .similar-products-grid .product-list-price strong{font-size:19px;line-height:1.5;color:#263e34}
@media(max-width:1000px){
  #categoryDetail .pdp-detail .product-detail-hero{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  #categoryDetail .pdp-detail .product-detail-hero .product-detail__content{padding:24px}
  #categoryDetail .pdp-product-heading{gap:20px}
  #categoryDetail .pdp-detail .pdp-product-heading .product-detail__title{font-size:39px}
  #categoryDetail .pdp-detail .product-detail__content .product-selection-controls{flex-wrap:wrap}
  #categoryDetail .pdp-story,#categoryDetail .pdp-specs-card{padding:25px}
  #categoryDetail .pdp-detail .pdp-heading,#categoryDetail .pdp-detail .product-reviews-title,#categoryDetail .pdp-detail .similar-products-title{font-size:29px}
  #categoryDetail .pdp-delivery-cards{gap:15px}
  #categoryDetail .pdp-delivery-cards>div{padding:22px}
}
@media(max-width:760px){
  #categoryDetail .pdp-product-heading{display:block;padding-bottom:23px}
  #categoryDetail .pdp-product-heading .pdp-product-meta{font-size:9px;gap:15px}
  #categoryDetail .pdp-detail .pdp-product-heading .product-detail__title{font-size:31px;line-height:1.3;margin:11px 0 10px}
  #categoryDetail .pdp-product-heading .pdp-variant{font-size:15px;line-height:1.7}
  #categoryDetail .pdp-product-heading .pdp-rating{display:inline-flex;margin:15px 0 0;padding-bottom:3px}
  #categoryDetail .pdp-detail .product-detail-hero{grid-template-columns:1fr;gap:20px}
  #categoryDetail .pdp-detail .product-detail-hero .product-detail__content{padding:24px 22px 22px}
  #categoryDetail .pdp-purchase-intro h2{font-size:25px}
  #categoryDetail .pdp-detail .product-detail__content .pdp-unit-price{font-size:40px}
  #categoryDetail .pdp-detail .product-detail__content .pdp-price--quote .pdp-unit-price{font-size:26px}
  #categoryDetail .pdp-detail .product-detail__content .pdp-price-caption{font-size:12px}
  #categoryDetail .pdp-detail .product-detail__content .product-selection-controls{flex-wrap:nowrap;gap:10px}
  #categoryDetail .pdp-detail .product-detail__content .product-size-options{gap:6px}
  #categoryDetail .pdp-detail .product-detail__content .product-size-option{width:37px;height:42px;font-size:12px}
  #categoryDetail .pdp-detail .product-detail__content .quantity-value{width:30px}
  #categoryDetail .pdp-detail .product-detail__content .quantity-button{width:25px}
  #categoryDetail .pdp-detail .product-detail__content .pdp-wholesale summary{font-size:12px}
  #categoryDetail .pdp-detail .product-detail__content .pdp-wholesale summary b{margin-left:5px;font-size:11px}
  #categoryDetail .pdp-detail .product-detail__content .pdp-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}
  #categoryDetail .pdp-detail .product-detail__content .pdp-availability{font-size:11px;line-height:1.8}
  #categoryDetail .pdp-photo-caption{font-size:10px}
  #categoryDetail .pdp-section-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}
  #categoryDetail .pdp-section-nav button{font-size:12px;padding:14px 10px}
  #categoryDetail .pdp-section-nav button:nth-child(3){border-left:0}
  #categoryDetail .pdp-section-nav button:nth-child(n+3){border-top:1px solid var(--pdp-line)}
  #categoryDetail .pdp-about{grid-template-columns:1fr;gap:20px;padding-top:24px}
  #categoryDetail .pdp-story{padding:25px 23px}
  #categoryDetail .pdp-specs-card{padding:23px 23px 12px}
  #categoryDetail .pdp-detail .pdp-heading{font-size:27px;line-height:1.45;margin:11px 0 17px}
  #categoryDetail .pdp-detail .pdp-story .product-description{font-size:14px;line-height:1.9}
  #categoryDetail .pdp-specs-card>h3{font-size:24px}
  #categoryDetail .pdp-detail .product-spec-row{grid-template-columns:minmax(80px,.85fr) minmax(0,1.2fr);gap:14px;padding:13px 0}
  #categoryDetail .pdp-detail .product-spec-label,#categoryDetail .pdp-detail .product-spec-value{font-size:12px}
  #categoryDetail .pdp-delivery{margin-top:28px;padding:0}
  #categoryDetail .pdp-delivery-heading{margin-bottom:20px}
  #categoryDetail .pdp-delivery-cards{grid-template-columns:1fr;gap:15px}
  #categoryDetail .pdp-delivery-cards>div{padding:23px}
  #categoryDetail .pdp-delivery-cards h3{font-size:23px}
  #categoryDetail .pdp-delivery-cards p{font-size:13px}
  #categoryDetail .pdp-detail .pdp-reviews{grid-template-columns:1fr;gap:22px;padding:27px 24px;margin:28px 0 34px}
  #categoryDetail .pdp-detail .product-reviews-title{font-size:28px;line-height:1.45;margin-top:10px}
  #categoryDetail .pdp-review-actions{gap:16px}
  #categoryDetail .pdp-section-heading{gap:20px}
  #categoryDetail .pdp-collection-actions{width:100%;gap:9px}
  #categoryDetail .pdp-collection-actions>.pdp-text-button{margin-right:auto;font-size:11px}
  #categoryDetail .pdp-carousel-button{width:36px;height:36px}
  #categoryDetail .pdp-detail .similar-products-title{font-size:28px}
  #categoryDetail .pdp-detail .similar-products-grid{gap:16px}
  #categoryDetail .pdp-detail .similar-products-grid .product-card{flex-basis:86%}
  #categoryDetail .pdp-detail .similar-products-grid .product-card-overlay-title{padding:18px 19px 14px;min-height:102px;font-size:21px}
  #categoryDetail .pdp-detail .similar-products-grid .product-list-price{margin:0 19px;padding:13px 0 16px}
}
@media(max-width:360px){
  #categoryDetail .pdp-detail .product-detail__content .product-selection-controls{flex-wrap:wrap}
  #categoryDetail .pdp-detail .product-detail-hero .product-detail__content{padding:22px 18px}
  #categoryDetail .pdp-detail .pdp-product-heading .product-detail__title{font-size:29px}
}

/* Approved compact product layout. Scoped to product pages. */
#categoryDetail.category-detail--product-screen{padding-bottom:24px}
body #categoryDetail.category-detail--product-screen>.section-brand-bar{max-width:1160px;min-height:60px;padding-top:8px;padding-bottom:8px}
#categoryDetail.category-detail--product-screen .category-detail__card{max-width:1160px}
#categoryDetail .pdp-detail.pdp-compact{--paper:#fffcf7;--cream:#f3eee4;--ink:#29473d;--muted:#7d7568;--gold:#ad8d58;--line:#dfd5c4;--green:#244e40;color:var(--ink);font:12px/1.65 var(--store-text)}
#categoryDetail .pdp-detail.pdp-compact h1,#categoryDetail .pdp-detail.pdp-compact h2,#categoryDetail .pdp-detail.pdp-compact h3{font-family:var(--store-display)}
#categoryDetail .pdp-detail.pdp-compact .product-detail__title{margin:0;font:400 29px/1.3 var(--store-display);letter-spacing:-.035em}
#categoryDetail .pdp-detail.pdp-compact .pdp-variant{margin:3px 0 0;font:12px/1.65 var(--store-text)}
#categoryDetail .pdp-detail.pdp-compact .pdp-breadcrumbs{padding:10px 0 7px;gap:9px;font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .product-size-title{margin:0 0 6px;font:600 11px/1.65 var(--store-text)}
#categoryDetail .pdp-detail.pdp-compact .size-note{margin-left:6px;font-size:9px;font-weight:400;color:var(--muted)}
#categoryDetail .pdp-detail.pdp-compact .product-size-options{display:flex;gap:5px;flex-wrap:wrap}
#categoryDetail .pdp-detail.pdp-compact .product-size-option{width:35px;height:34px;min-height:0;padding:0;border:1px solid #d6c8b3;border-radius:3px;background:#fffdf9;font:12px/1.5 var(--store-text);color:var(--ink);box-shadow:none}
#categoryDetail .pdp-detail.pdp-compact .product-size-option[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}
#categoryDetail .pdp-detail.pdp-compact .quantity-control{height:34px;min-height:0;border:1px solid #d6c8b3;border-radius:3px;background:#fffdf9;box-shadow:none}
#categoryDetail .pdp-detail.pdp-compact .quantity-value{width:35px;font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .quantity-button{width:26px;min-width:27px;min-height:0;padding:0}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions{grid-template-areas:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;gap:7px;margin:0;padding:0}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.product-detail__button,#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.pdp-favorite{grid-area:auto!important;width:auto;min-height:39px!important;height:auto;padding:8px;border-radius:3px;font:600 12px/1.5 var(--store-text);box-shadow:none;transform:none}
#categoryDetail .pdp-detail.pdp-compact .product-cart-button{justify-content:center!important}
#categoryDetail .pdp-detail.pdp-compact .product-cart-button::after{content:none}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.pdp-favorite{font-size:23px;padding:0}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-main{max-height:none;margin:0;flex:1;border:0;aspect-ratio:auto}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-main img{max-height:430px;height:auto;object-fit:contain}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-video{max-height:430px;object-fit:contain}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-stage{flex-shrink:0;padding:6px 10px 0;margin:0;gap:7px}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-card{flex:0 0 58px;width:58px;height:54px}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-card img{height:37px}
#categoryDetail .pdp-detail.pdp-compact .pdp-media-label{font-size:8px;line-height:16px}
#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption{padding:6px 12px;font:9px/1.65 var(--store-text);border:0;margin:0}
#categoryDetail .pdp-detail.pdp-compact .product-description{margin:0;padding:0;font:12px/1.8 var(--store-text);color:var(--muted);white-space:pre-line}
#categoryDetail .pdp-detail.pdp-compact .product-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:0;border:0;background:none}
#categoryDetail .pdp-detail.pdp-compact .product-spec-row{display:block;padding:0 12px 0 0;margin:0;border:0;border-right:1px solid var(--line);font:12px/1.6 var(--store-text)}
#categoryDetail .pdp-detail.pdp-compact .product-spec-label{display:block;font-size:12px;margin-bottom:4px;color:var(--muted)}
#categoryDetail .pdp-detail.pdp-compact .product-spec-value{font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .service-card>h3{font:600 11px/1.5 var(--store-text);margin:0 0 6px}
#categoryDetail .pdp-detail.pdp-compact .service-card p{white-space:pre-line}
#categoryDetail .pdp-detail.pdp-compact .buy-actions:has(.product-add-to-order-button){display:flex;flex-wrap:wrap}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .product-specs{grid-template-columns:repeat(2,minmax(0,1fr))}#categoryDetail .pdp-detail.pdp-compact .product-detail__title{font-size:27px}body #categoryDetail.category-detail--product-screen>.section-brand-bar{flex-wrap:wrap;gap:8px}body #categoryDetail.category-detail--product-screen .section-brand-actions{gap:12px;flex-wrap:wrap}#categoryDetail .pdp-detail.pdp-compact .buy-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px}}
#categoryDetail .pdp-detail.pdp-compact button,#categoryDetail .pdp-detail.pdp-compact input{font:inherit}
#categoryDetail .pdp-detail.pdp-compact button,#categoryDetail .pdp-detail.pdp-compact a,#categoryDetail .pdp-detail.pdp-compact input,#categoryDetail .pdp-detail.pdp-compact summary{-webkit-tap-highlight-color:transparent}
#categoryDetail .pdp-detail.pdp-compact button{cursor:pointer;color:inherit;background:none;border:0}
#categoryDetail .pdp-detail.pdp-compact a{color:inherit;text-decoration:none}
#categoryDetail .pdp-detail.pdp-compact h1,#categoryDetail .pdp-detail.pdp-compact h2,#categoryDetail .pdp-detail.pdp-compact h3,#categoryDetail .pdp-detail.pdp-compact p{margin:0}
#categoryDetail .pdp-detail.pdp-compact h1,#categoryDetail .pdp-detail.pdp-compact h2,#categoryDetail .pdp-detail.pdp-compact h3{font-family:var(--store-display),Georgia,serif;font-weight:400}
#categoryDetail .pdp-detail.pdp-compact button:focus-visible,#categoryDetail .pdp-detail.pdp-compact a:focus-visible,#categoryDetail .pdp-detail.pdp-compact input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
#categoryDetail .pdp-detail.pdp-compact button:disabled{cursor:default}
#categoryDetail .pdp-detail.pdp-compact svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#categoryDetail .pdp-detail.pdp-compact [hidden]{display:none!important}
#categoryDetail .pdp-detail.pdp-compact .breadcrumbs{display:flex;gap:9px;align-items:center;padding:10px 0 7px;font-size:10px;color:var(--muted)}
#categoryDetail .pdp-detail.pdp-compact .product-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:13px}
#categoryDetail .pdp-detail.pdp-compact h1{font-size:29px;line-height:1.3;letter-spacing:-.035em}
#categoryDetail .pdp-detail.pdp-compact .product-heading p{font-size:12px;color:var(--muted);margin-top:3px}
#categoryDetail .pdp-detail.pdp-compact .heading-contact{font-size:10px;color:var(--green);border-bottom:1px solid #c6ac84;white-space:nowrap;padding-bottom:2px}
#categoryDetail .pdp-detail.pdp-compact .hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
#categoryDetail .pdp-detail.pdp-compact .gallery,#categoryDetail .pdp-detail.pdp-compact .purchase{min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--cream);overflow:hidden}
#categoryDetail .pdp-detail.pdp-compact .gallery{display:flex;flex-direction:column}
#categoryDetail .pdp-detail.pdp-compact .main-image{position:relative;display:flex;align-items:center;justify-content:center;width:100%;flex:1;min-height:0;padding:0}
#categoryDetail .pdp-detail.pdp-compact .main-image img{display:block;width:100%;height:auto;object-fit:contain}
#categoryDetail .pdp-detail.pdp-compact .zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:28px;height:28px;background:#fffcf7eb;border-radius:50%;font-size:18px}
#categoryDetail .pdp-detail.pdp-compact .media-caption{display:flex;justify-content:space-between;gap:12px;padding:6px 12px;flex-shrink:0;font-size:9px;color:var(--muted)}
#categoryDetail .pdp-detail.pdp-compact .purchase{padding:16px;display:flex;flex-direction:column;gap:13px}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading h2{font:600 16px/1.5 var(--store-text),sans-serif;letter-spacing:-.02em}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading p{font-size:11px;color:var(--muted);margin-top:2px}
#categoryDetail .pdp-detail.pdp-compact .price-mark{display:grid;place-items:center;width:31px;height:31px;border:1px solid #cfbea0;border-radius:50%;font-size:16px;color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .price-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
#categoryDetail .pdp-detail.pdp-compact .price-tier{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px 3px;border:1px solid #ded1ba;border-radius:3px;background:#fffdf9;text-align:center;min-width:0;transition:background .15s,border-color .15s}
#categoryDetail .pdp-detail.pdp-compact .price-tier>span{font-size:10px;color:#706657;white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .price-tier>strong{font:700 17px/1.25 var(--store-text),sans-serif;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .price-tier>small{font-size:9px;color:var(--muted);white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .price-tier.active{background:#e7decb;border-color:#b79a67;box-shadow:inset 0 0 0 1px #b79a6730}
#categoryDetail .pdp-detail.pdp-compact .price-tier:hover{border-color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .selection{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-top:11px;border-top:1px solid var(--line)}
#categoryDetail .pdp-detail.pdp-compact fieldset{margin:0;padding:0;border:0;min-width:0}
#categoryDetail .pdp-detail.pdp-compact legend,#categoryDetail .pdp-detail.pdp-compact .quantity label{display:block;font-size:11px;font-weight:600;margin-bottom:6px;padding:0}
#categoryDetail .pdp-detail.pdp-compact legend span{font-size:9px;font-weight:400;color:var(--muted);margin-left:6px}
#categoryDetail .pdp-detail.pdp-compact .sizes{display:flex;gap:5px;flex-wrap:wrap}
#categoryDetail .pdp-detail.pdp-compact .sizes button{width:35px;height:34px;border:1px solid #d6c8b3;border-radius:3px;background:#fffdf9;font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .sizes button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
#categoryDetail .pdp-detail.pdp-compact .quantity{flex-shrink:0}
#categoryDetail .pdp-detail.pdp-compact .quantity>div{display:flex;height:34px;border:1px solid #d6c8b3;border-radius:3px;background:#fffdf9}
#categoryDetail .pdp-detail.pdp-compact .quantity button{width:26px;padding:0}
#categoryDetail .pdp-detail.pdp-compact .quantity input{appearance:textfield;width:35px;min-width:0;padding:0;border:0;text-align:center;background:transparent;color:var(--ink);font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .quantity input::-webkit-inner-spin-button{appearance:none}
#categoryDetail .pdp-detail.pdp-compact .buy-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;gap:7px}
#categoryDetail .pdp-detail.pdp-compact .primary,#categoryDetail .pdp-detail.pdp-compact .secondary{display:flex;align-items:center;justify-content:center;min-height:39px;border:1px solid #cbbda5;border-radius:3px;background:#fffdf9;font-size:12px;font-weight:600}
#categoryDetail .pdp-detail.pdp-compact .primary{background:var(--green);color:white;border-color:var(--green)}
#categoryDetail .pdp-detail.pdp-compact .primary:hover{background:#326350}
#categoryDetail .pdp-detail.pdp-compact .favorite{display:grid;place-items:center;font-size:23px;border:1px solid #cbbda5;border-radius:3px;background:#fffdf9}
#categoryDetail .pdp-detail.pdp-compact .favorite[aria-pressed=true]{color:var(--gold);background:#e7decb}
#categoryDetail .pdp-detail.pdp-compact .service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}
#categoryDetail .pdp-detail.pdp-compact .service-card{display:flex;flex-direction:column;padding:10px;border:1px solid #e1d8c9;border-radius:4px;background:#fffdf9;min-width:0}
#categoryDetail .pdp-detail.pdp-compact .service-heading{display:flex;align-items:center;gap:6px;margin-bottom:6px}
#categoryDetail .pdp-detail.pdp-compact .service-heading svg{width:15px;height:15px;color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .service-heading h3{font:600 11px/1.5 var(--store-text),sans-serif;letter-spacing:-.02em}
#categoryDetail .pdp-detail.pdp-compact .service-card p{font-size:10px;line-height:1.6;color:var(--muted);margin-bottom:8px}
#categoryDetail .pdp-detail.pdp-compact .mini-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:25px;margin-top:auto;border:1px solid #d8ccb8;border-radius:3px;background:#faf7f0;font:500 9px/1.5 var(--store-text),sans-serif;padding:3px 5px;white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .mini-button:hover{border-color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .unavailable{opacity:.46;cursor:default;pointer-events:none}
#categoryDetail .pdp-detail.pdp-compact .review-buttons{display:grid;gap:4px;margin-top:auto}
#categoryDetail .pdp-detail.pdp-compact .review-buttons .mini-button{margin:0;min-height:24px;font-size:9px}
#categoryDetail .pdp-detail.pdp-compact .information-strip{display:grid;grid-template-columns:1fr 1.1fr 1.2fr 1fr 1.15fr 1.2fr;margin-top:13px;border:1px solid var(--line);border-radius:4px;background:#fffdf9;overflow:hidden}
#categoryDetail .pdp-detail.pdp-compact .information-strip>a,#categoryDetail .pdp-detail.pdp-compact .information-strip>button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:39px;padding:6px 8px;border:0;border-left:1px solid var(--line);background:none;font:500 10px/1.5 var(--store-text),sans-serif;white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .information-strip>:first-child{border-left:0}
#categoryDetail .pdp-detail.pdp-compact .information-strip [aria-expanded=true]{background:#eae2d1;box-shadow:inset 0 -2px #ad8d58}
#categoryDetail .pdp-detail.pdp-compact .information-strip>:hover:not(.unavailable){background:#f4efe5}
#categoryDetail .pdp-detail.pdp-compact .information-strip span{font-size:14px;font-weight:400;color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .reveal-panel{margin-top:8px;padding:12px 16px;border:1px solid var(--line);border-radius:4px;background:#fffdf9}
#categoryDetail .pdp-detail.pdp-compact .reveal-panel h3{font:600 12px/1.5 var(--store-text),sans-serif;margin-bottom:5px}
#categoryDetail .pdp-detail.pdp-compact .reveal-panel p{font-size:12px;line-height:1.8;color:#6f675b;max-width:1000px}
#categoryDetail .pdp-detail.pdp-compact .spec-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
#categoryDetail .pdp-detail.pdp-compact .spec-details>div{padding-right:15px;border-right:1px solid var(--line)}
#categoryDetail .pdp-detail.pdp-compact .spec-details>div:last-child{border:0;padding:0}
#categoryDetail .pdp-detail.pdp-compact .spec-details dt{font-size:10px;color:var(--muted);margin-bottom:4px}
#categoryDetail .pdp-detail.pdp-compact .spec-details dd{margin:0;font-size:12px;font-weight:500}
#categoryDetail .pdp-detail.pdp-compact .editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px;align-items:stretch}
#categoryDetail .pdp-detail.pdp-compact .editorial-card{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;text-align:left;border:1px solid var(--line);border-radius:4px;background:#fffdf9;min-width:0}
#categoryDetail .pdp-detail.pdp-compact .editorial-card>svg{width:22px;height:22px;margin-top:2px;color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .editorial-card>div{display:flex;flex-direction:column;min-width:0;flex:1;height:100%}
#categoryDetail .pdp-detail.pdp-compact .editorial-card h2{font-size:16px;line-height:1.5;letter-spacing:-.025em;margin-bottom:3px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card p{font-size:10px;line-height:1.7;color:var(--muted);margin-bottom:8px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card p strong{font-weight:600;color:#746143}
#categoryDetail .pdp-detail.pdp-compact .editorial-card span{display:flex;justify-content:space-between;gap:10px;margin-top:auto;font:500 10px/1.5 var(--store-text),sans-serif;color:var(--green)}
#categoryDetail .pdp-detail.pdp-compact .editorial-card span b{font-weight:400;color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .editorial-card[aria-expanded=true]{background:#ece4d4;border-color:#c7ae86}
#categoryDetail .pdp-detail.pdp-compact .custom-card{background:#ede5d6;border-color:#d8c7a9}
#categoryDetail .pdp-detail.pdp-compact .collection{margin-top:20px}
#categoryDetail .pdp-detail.pdp-compact .collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:9px}
#categoryDetail .pdp-detail.pdp-compact .collection-heading h2{font-size:21px;line-height:1.4;letter-spacing:-.025em}
#categoryDetail .pdp-detail.pdp-compact .collection-heading p{font-size:10px;color:var(--muted);margin-top:2px}
#categoryDetail .pdp-detail.pdp-compact .collection-controls{display:flex;align-items:center;gap:6px}
#categoryDetail .pdp-detail.pdp-compact .collection-controls>span{font-size:10px;color:var(--muted);margin-right:8px;white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button{display:grid;place-items:center;width:29px;height:29px;padding:0;border:1px solid #c9b995;border-radius:50%;font-size:16px;background:none}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button:hover{background:#ece4d4}
#categoryDetail .pdp-detail.pdp-compact .collection-frame{padding:10px;border:1px solid var(--line);border-radius:5px;background:#f5f0e7;min-width:0}
#categoryDetail .pdp-detail.pdp-compact .collection-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b2986f #e8dfcf;overscroll-behavior-inline:contain;padding-bottom:9px}
#categoryDetail .pdp-detail.pdp-compact .variant-card{position:relative;display:flex;flex-direction:column;flex:0 0 calc((100% - 30px)/4);min-width:0;padding:0;border:1px solid #e0d6c5;border-radius:3px;background:#fffdf9;overflow:hidden;text-align:left;scroll-snap-align:start}
#categoryDetail .pdp-detail.pdp-compact .variant-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f9f4eb}
#categoryDetail .pdp-detail.pdp-compact .variant-card .card-copy{display:flex;flex-direction:column;flex:1;padding:9px 11px;gap:3px}
#categoryDetail .pdp-detail.pdp-compact .variant-card strong{font:600 11px/1.5 var(--store-text),sans-serif}
#categoryDetail .pdp-detail.pdp-compact .variant-card small{font-size:9px;color:var(--muted)}
#categoryDetail .pdp-detail.pdp-compact .variant-card .card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:5px}
#categoryDetail .pdp-detail.pdp-compact .variant-card b{font:600 12px/1.5 var(--store-text),sans-serif}
#categoryDetail .pdp-detail.pdp-compact .variant-card .current-label{font-size:9px;color:var(--green)}
#categoryDetail .pdp-detail.pdp-compact .variant-card.selected{border-color:#618572;box-shadow:inset 0 0 0 1px #61857250}
#categoryDetail .pdp-detail.pdp-compact .scroll-hint{display:flex;justify-content:space-between;font-size:9px;line-height:1.5;color:var(--muted);margin-top:5px}
#categoryDetail .pdp-detail.pdp-compact .scroll-hint span{font-size:12px;color:var(--gold)}
#categoryDetail .pdp-detail.pdp-compact .empty-models{display:flex;gap:15px;align-items:center;min-height:70px;padding:12px 17px;background:#fffdf9;border:1px solid #e0d6c5;border-radius:3px}
#categoryDetail .pdp-detail.pdp-compact .empty-line{display:block;width:24px;height:1px;background:var(--gold);flex-shrink:0}
#categoryDetail .pdp-detail.pdp-compact .empty-models h3{font:500 13px/1.6 var(--store-text),sans-serif}
#categoryDetail .pdp-detail.pdp-compact .empty-models p{font-size:10px;line-height:1.7;color:var(--muted);margin-top:3px}
@media(max-width:900px){#categoryDetail .pdp-detail.pdp-compact .purchase{padding:13px;gap:11px}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading h2{font-size:15px}
#categoryDetail .pdp-detail.pdp-compact .price-grid{gap:4px}
#categoryDetail .pdp-detail.pdp-compact .price-tier>strong{font-size:15px}
#categoryDetail .pdp-detail.pdp-compact .price-tier>span,#categoryDetail .pdp-detail.pdp-compact .price-tier>small{font-size:8px}
#categoryDetail .pdp-detail.pdp-compact .service-grid{gap:6px}
#categoryDetail .pdp-detail.pdp-compact .service-card{padding:8px}
#categoryDetail .pdp-detail.pdp-compact .service-heading{gap:4px}
#categoryDetail .pdp-detail.pdp-compact .service-heading h3{font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .service-heading svg{width:13px;height:13px}
#categoryDetail .pdp-detail.pdp-compact .service-card p{font-size:9px}
#categoryDetail .pdp-detail.pdp-compact .mini-button,#categoryDetail .pdp-detail.pdp-compact .review-buttons .mini-button{font-size:8px}
#categoryDetail .pdp-detail.pdp-compact .information-strip>a,#categoryDetail .pdp-detail.pdp-compact .information-strip>button{font-size:9px;padding:6px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card{padding:11px;gap:8px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card h2{font-size:15px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card>svg{width:18px;height:18px}
}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .breadcrumbs{font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .product-heading{display:block}
#categoryDetail .pdp-detail.pdp-compact h1{font-size:27px}
#categoryDetail .pdp-detail.pdp-compact .product-heading p{font-size:13px}
#categoryDetail .pdp-detail.pdp-compact .heading-contact{display:inline-block;margin-top:7px;font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .hero{grid-template-columns:1fr;gap:12px}
#categoryDetail .pdp-detail.pdp-compact .purchase{padding:15px;gap:13px}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading h2{font-size:16px}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading p{font-size:11px}
#categoryDetail .pdp-detail.pdp-compact .price-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#categoryDetail .pdp-detail.pdp-compact .price-tier{padding:9px 4px;gap:3px}
#categoryDetail .pdp-detail.pdp-compact .price-tier>span{font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .price-tier>strong{font-size:17px}
#categoryDetail .pdp-detail.pdp-compact .price-tier>small{font-size:9px}
#categoryDetail .pdp-detail.pdp-compact .service-grid{gap:7px}
#categoryDetail .pdp-detail.pdp-compact .service-card{padding:9px}
#categoryDetail .pdp-detail.pdp-compact .service-heading h3{font-size:11px}
#categoryDetail .pdp-detail.pdp-compact .service-heading svg{display:none}
#categoryDetail .pdp-detail.pdp-compact .service-card p{font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .mini-button,#categoryDetail .pdp-detail.pdp-compact .review-buttons .mini-button{font-size:9px;white-space:normal;text-align:center;min-height:28px}
#categoryDetail .pdp-detail.pdp-compact .information-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
#categoryDetail .pdp-detail.pdp-compact .information-strip>a,#categoryDetail .pdp-detail.pdp-compact .information-strip>button{font-size:11px;min-height:38px;padding:8px}
#categoryDetail .pdp-detail.pdp-compact .information-strip>:nth-child(2n+1){border-left:0}
#categoryDetail .pdp-detail.pdp-compact .information-strip>:nth-child(n+3){border-top:1px solid var(--line)}
#categoryDetail .pdp-detail.pdp-compact .reveal-panel{padding:14px}
#categoryDetail .pdp-detail.pdp-compact .reveal-panel p{font-size:13px}
#categoryDetail .pdp-detail.pdp-compact .spec-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#categoryDetail .pdp-detail.pdp-compact .spec-details>div{border:0;padding:0}
#categoryDetail .pdp-detail.pdp-compact .editorial-grid{grid-template-columns:1fr;gap:10px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card{padding:14px;gap:12px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card>svg{width:22px;height:22px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card h2{font-size:18px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card p{font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .editorial-card span{font-size:11px}
#categoryDetail .pdp-detail.pdp-compact .collection{margin-top:20px}
#categoryDetail .pdp-detail.pdp-compact .collection-heading{align-items:flex-start;gap:12px}
#categoryDetail .pdp-detail.pdp-compact .collection-heading h2{font-size:20px}
#categoryDetail .pdp-detail.pdp-compact .collection-heading p{font-size:11px}
#categoryDetail .pdp-detail.pdp-compact .collection-controls>span{display:none}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button{width:27px;height:27px;flex-shrink:0}
#categoryDetail .pdp-detail.pdp-compact .collection-controls{padding-top:2px}
#categoryDetail .pdp-detail.pdp-compact .collection-frame{padding:8px}
#categoryDetail .pdp-detail.pdp-compact .variant-card{flex-basis:72%}
#categoryDetail .pdp-detail.pdp-compact .variant-card strong{font-size:13px}
#categoryDetail .pdp-detail.pdp-compact .variant-card small{font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .variant-card .card-copy{padding:10px 12px}
#categoryDetail .pdp-detail.pdp-compact .variant-card b{font-size:14px}
#categoryDetail .pdp-detail.pdp-compact .scroll-hint{font-size:10px;gap:10px}
#categoryDetail .pdp-detail.pdp-compact .empty-models{padding:14px;gap:10px}
#categoryDetail .pdp-detail.pdp-compact .empty-models h3{font-size:13px}
#categoryDetail .pdp-detail.pdp-compact .empty-models p{font-size:11px}
}
@media(max-width:360px){#categoryDetail .pdp-detail.pdp-compact .selection{flex-wrap:wrap;gap:12px}
#categoryDetail .pdp-detail.pdp-compact .service-grid{grid-template-columns:1fr}
#categoryDetail .pdp-detail.pdp-compact .service-heading svg{display:block}
#categoryDetail .pdp-detail.pdp-compact .service-card{padding:11px}
#categoryDetail .pdp-detail.pdp-compact .service-heading h3{font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .service-card p{font-size:11px}
#categoryDetail .pdp-detail.pdp-compact .review-buttons{grid-template-columns:1fr 1fr}
#categoryDetail .pdp-detail.pdp-compact .service-card .mini-button{font-size:10px}
#categoryDetail .pdp-detail.pdp-compact .information-strip>a,#categoryDetail .pdp-detail.pdp-compact .information-strip>button{font-size:10px}
}
@media(prefers-reduced-motion:reduce){#categoryDetail .pdp-detail.pdp-compact .price-tier{transition:none}
}
#categoryDetail .pdp-detail.pdp-compact .collection-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-items:stretch;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;padding:0 8px 0 0;scrollbar-gutter:stable}
#categoryDetail .pdp-detail.pdp-compact .variant-card{flex:none;scroll-snap-align:start;scroll-snap-stop:always}
#categoryDetail .pdp-detail.pdp-compact .variant-card strong{min-height:3em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button{display:flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:31px;height:auto;padding:5px 12px;border-radius:18px;font:500 11px/1.5 var(--store-text),sans-serif;white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button:disabled{opacity:.35;background:none;cursor:default}
#categoryDetail .pdp-detail.pdp-compact .scroll-hint{padding-top:5px}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .collection-heading{flex-wrap:wrap}
#categoryDetail .pdp-detail.pdp-compact .collection-controls{width:100%;justify-content:flex-end}
#categoryDetail .pdp-detail.pdp-compact .collection-controls>span{display:block;margin-right:auto}
#categoryDetail .pdp-detail.pdp-compact .collection-track{grid-template-columns:repeat(2,minmax(0,1fr))}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button{min-height:34px;font-size:12px;padding:5px 13px}
#categoryDetail .pdp-detail.pdp-compact .variant-card strong{font-size:12px}
#categoryDetail .pdp-detail.pdp-compact .variant-card .card-copy{padding:8px}
#categoryDetail .pdp-detail.pdp-compact .variant-card .card-bottom{flex-wrap:wrap;gap:3px}
}

/* Two visible collection rows; scroll begins with the third. */
#categoryDetail .pdp-detail.pdp-compact .collection-frame{background:var(--paper)}
#categoryDetail .pdp-detail.pdp-compact .collection-track{overflow:hidden;padding:0;scrollbar-gutter:auto;overscroll-behavior-y:auto;gap:12px 10px}
#categoryDetail .pdp-detail.pdp-compact .collection-track.has-overflow{overflow-y:auto;padding-right:8px;scrollbar-gutter:stable;overscroll-behavior-y:contain}
#categoryDetail .pdp-detail.pdp-compact .variant-card .card-copy{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;flex:0 0 auto;padding:7px 8px;min-height:0}
#categoryDetail .pdp-detail.pdp-compact .variant-card strong{display:block;min-height:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font:500 10px/1.5 var(--store-text)}
#categoryDetail .pdp-detail.pdp-compact .variant-card small{font:400 9px/1.5 var(--store-text);text-align:center;white-space:nowrap}
#categoryDetail .pdp-detail.pdp-compact .variant-card .current-label{font:500 9px/1.5 var(--store-text);white-space:nowrap;text-align:right}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .variant-card .card-copy{gap:4px;padding:6px 5px}#categoryDetail .pdp-detail.pdp-compact .variant-card strong{font-size:10px}#categoryDetail .pdp-detail.pdp-compact .variant-card small,#categoryDetail .pdp-detail.pdp-compact .variant-card .current-label{font-size:8px}}

/* Approved home composition, 26.10.2026: two existing panels, search, catalog, four footer columns. */
#home .editorial-shell{max-width:1320px}
#home .editorial-header{padding:20px 0;gap:24px}
#home .home-hero{padding:24px 0;gap:22px}
#home .home-search{display:grid;grid-template-columns:205px minmax(0,1fr) 235px 120px;gap:13px;align-items:center;margin:0 0 24px;padding:15px 20px;border:1px solid #e1d9cb;border-radius:3px;background:#fffdf9;font-family:var(--store-text)}
#home .home-search label{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:650;color:#264638}
#home .home-search svg{width:23px;height:23px;color:#aa7b3c;flex-shrink:0}
#home .home-search input,#home .home-search select{width:100%;min-width:0;height:46px;padding:11px 13px;border:1px solid #dcd3c2;border-radius:2px;background:white;color:#264638;font:400 13px/1.5 var(--store-text)}
#home .home-search input::placeholder{color:#8a8376}
#home .home-search select{font-size:12px;padding-right:8px}
#home .home-search button{height:46px;padding:0 15px;border:0;border-radius:3px;background:#244d3d;color:white;font:600 13px/1.5 var(--store-text);cursor:pointer}
#home :is(#homeCatalogStart,#homeGiftStart){padding:22px 24px 16px;border:1px solid #e1d9cb;border-top:2px solid #aa7b3c;border-radius:3px;scroll-margin-top:16px}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-section-heading{margin:0 0 20px;display:block}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-section-heading h2{width:100%}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-button{display:block;width:100%;padding:0;border:0;background:none;color:#264638;text-align:left}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-copy{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title{font:400 34px/1.3 var(--store-display);letter-spacing:-.6px}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-action{display:flex;align-items:center;gap:12px;padding:0;white-space:nowrap}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-hint{font:500 12px/1.5 var(--store-text);color:#86714f}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-arrow{display:block;width:9px;height:9px;margin:0 10px;border-color:#aa7b3c}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{gap:18px}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder{overflow:hidden;border:1px solid #e6d8c2;border-radius:8px;background:#f8f2e8}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer{min-height:53px;padding:12px 15px;background:#f8f2e8;color:#384c3c;font:400 19px/1.35 var(--store-display)}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer::after{content:'↗';color:#aa7b3c;font:400 20px/1 var(--store-text)}
#home .home-catalog-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:16px;font:400 12px/1.6 var(--store-text);color:#807a6d}
#home .home-catalog-bottom button{padding:6px 13px;border:1px solid #d9c7a8;border-radius:20px;background:#fffcf7;color:#80613a;font:500 12px/1.5 var(--store-text);cursor:pointer}
#home .home-footer{margin-top:24px;padding-top:24px;border-top:1px solid #e1d9cb}
#home .foot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
#home .foot-col{padding:0 24px;border-left:1px solid #e1d9cb}
#home .foot-col:first-child{padding-left:0;border:0}
#home .foot-col:last-child{padding-right:0}
#home .foot h2{margin:0 0 14px;color:#264638;font:600 20px/1.3 Georgia,serif}
#home .foot a,#home .foot summary{display:flex;align-items:center;gap:10px;margin:10px 0;color:#495a4c;font:400 13px/1.65 var(--store-text);cursor:pointer;list-style:none;text-decoration:none}
#home .foot a:hover{color:#aa7b3c}
#home .foot svg{width:21px;height:21px;color:#aa7b3c;flex-shrink:0}
#home .foot p{margin:7px 0;color:#807a6d;font:400 12px/1.8 var(--store-text)}
#home .social-letter{display:inline-flex;align-items:center;justify-content:center;min-width:21px;color:#aa7b3c;font-size:16px;font-weight:800}
#home .footer-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:22px;padding:12px 0 15px;border-top:1px solid #e1d9cb;color:#928574;font:400 9px/1.5 var(--store-text)}
#categoryDetail .home-search-summary{grid-column:1/-1;margin:0 0 8px;color:var(--store-muted);font:400 13px/1.7 var(--store-text)}
@media(max-width:1100px){#home .home-search{grid-template-columns:160px minmax(0,1fr) 180px 95px;padding:12px;gap:9px}#home .home-search label{font-size:14px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{gap:12px}#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer{padding:10px;font-size:16px}#home .foot-col{padding:0 15px}#home .foot h2{font-size:17px}#home .foot a,#home .foot summary{font-size:11px}}
@media(max-width:780px){#home .home-hero{gap:16px;padding:16px 0}#home .home-search{grid-template-columns:1fr 85px;gap:9px;margin:0 0 16px;padding:12px}#home .home-search label{grid-column:1/-1;font-size:14px}#home .home-search input{grid-column:1/-1;grid-row:2;font-size:12px}#home .home-search select{grid-column:1;grid-row:3;font-size:12px}#home .home-search button{grid-column:2;grid-row:3;font-size:11px}#home :is(#homeCatalogStart,#homeGiftStart){padding:16px 12px 12px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-section-heading{margin-bottom:14px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title{font-size:23px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-copy{gap:10px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-action{gap:4px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-hint{font-size:9px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer{padding:9px;min-height:41px;font-size:13px}#home .home-catalog-bottom{font-size:9px;align-items:flex-start;gap:10px}#home .home-catalog-bottom button{font-size:9px;padding:5px 9px;white-space:nowrap}#home .foot{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}#home .foot-col{padding:0 12px}#home .foot-col:nth-child(3){padding-left:0;border:0}#home .footer-bottom{flex-wrap:wrap;font-size:8px}}

/* Two matching compact disclosure rows; categories open below each row. */
#home :is(#homeCatalogStart,#homeGiftStart){margin-top:12px;padding:16px 24px;border:1px solid #ded2bf;border-top:2px solid #aa7b3c;background:#fffdf9}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-section-heading{margin:0}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-copy{min-height:38px}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title{font-size:27px}
#home :is(#homeCatalogStart,#homeGiftStart)>.editorial-all-categories[open]>.editorial-category-grid{margin-top:18px}
#home .home-gift-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e6d8c2;border-radius:8px;background:#f8f2e8;text-decoration:none}
#home .home-gift-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center 65%}
#home .home-gift-card>span{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:53px;padding:12px 15px;color:#384c3c;font:400 19px/1.35 var(--store-display)}
#home .home-gift-card b{color:#aa7b3c;font:400 20px/1 var(--store-text)}
#home .home-gift-card:hover{box-shadow:0 5px 15px #61421e12;border-color:#ad8c54}
@media(max-width:780px){#home :is(#homeCatalogStart,#homeGiftStart){padding:12px 14px}#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title{font-size:21px}#home .home-gift-card>span{padding:9px;min-height:41px;font-size:13px}}



/* Compact approved home: banner, four categories and four gifts on the desktop's first screen. */
#home.editorial-home{background:#fffcf7;padding-bottom:10px}
#home .editorial-header{padding:4px 0;gap:16px}
#home .editorial-brand-name{font-size:27px}
#home .home-hero-actions .home-hero-action{min-height:32px;padding:5px 10px}
#home .home-banner{height:clamp(230px,calc(39vh - 50px),330px);position:relative;isolation:isolate;margin:9px 0;border:1px solid #e1cfaf;border-radius:8px;overflow:hidden;background:#f5ecdc}
#home .home-banner-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
#home .home-banner-copy{position:absolute;z-index:1;left:3%;top:0;width:41%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4px 8px;color:#1e4836}
#home .home-banner-eyebrow{font:500 9px/1.4 var(--store-text);letter-spacing:.25em;text-transform:uppercase;color:#886b43}
#home .home-banner-copy :is(h1,h2){font:400 clamp(36px,3.3vw,48px)/1.15 var(--store-display);letter-spacing:-.045em;margin:8px 0 0;white-space:nowrap}
#home .home-banner-line{display:block;flex-shrink:0;width:60px;height:1px;background:#b18d56;margin:10px 0}
#home .home-banner-copy p{margin:0;font:400 18px/1.4 Georgia,serif;color:#38503c}
#home .home-banner-tagline{max-width:100%;margin-top:10px;font:400 11px/1.4 var(--store-text);color:#7c694e}
#home :is(#homeCatalogStart,#homeGiftStart){padding:5px 8px 6px;margin-top:8px;background:#fffdf9}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-section-heading{margin:0}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-button{min-height:24px;line-height:1.2}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-copy{min-height:24px}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title{font-size:20px;line-height:1.2}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{gap:12px}
#home #homeCatalogStart>.editorial-category-grid{margin-top:6px}
#home #homeCatalogStart>.editorial-all-categories[open]>.editorial-category-grid{margin-top:12px}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer,#home .home-gift-card>span{min-height:30px;padding:4px 10px;font-size:16px;line-height:1.3}
#home .home-product-placeholder>div,#home .home-gift-frame .home-gift-card img{max-height:none}
#home .home-gift-frame .home-gift-card img{aspect-ratio:4/3}
#home .home-gift-heading{display:flex;align-items:center;min-height:24px;margin-bottom:6px}
#home .home-gift-heading h2{margin:0;font:400 20px/1.2 var(--store-display);color:#264638;letter-spacing:-.4px}
#home .home-gift-frame .editorial-category-grid{margin:0}
#home .home-catalog-bottom{margin-top:4px}
#home .home-footer{margin-top:15px;padding-top:15px}
@media(min-width:781px){#home .editorial-shell{max-width:min(1240px,132vh)}}
@media(max-width:1100px){#home .home-banner-copy{left:1%;width:45%}#home .home-banner-copy :is(h1,h2){font-size:36px}#home .home-banner-tagline{font-size:10px}}
@media(max-width:780px){
  #home .editorial-header{padding:8px 0;gap:8px}
  #home .editorial-nav{gap:8px}#home .editorial-nav>a{font-size:11px}
  #home .home-banner{height:210px;margin:8px 0;background:#f7eee0 image-set(url('./assets/optimized/2c6726f47f323f07a5-480.webp') 1x,url('./assets/optimized/2c6726f47f323f07a5-1080.webp') 2x) center 40%/cover}
  #home .home-banner-art{display:none}
  #home .home-banner-copy{inset:0;width:100%;padding:12px 8px}
  #home .home-banner-eyebrow{font-size:9px}
  #home .home-banner-copy :is(h1,h2){font-size:36px;margin-top:7px}
  #home .home-banner-line{margin:9px 0}
  #home .home-banner-copy p{font-size:17px;line-height:1.35}
  #home .home-banner-tagline{max-width:275px;margin-top:8px;font-size:11px;line-height:1.5}
  #home :is(#homeCatalogStart,#homeGiftStart){padding:7px;margin-top:8px}
  #home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title,#home .home-gift-heading h2{font-size:19px}
  #home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{gap:9px}
  #home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer,#home .home-gift-card>span{min-height:33px;padding:6px 8px;font-size:13px}
  #home .home-product-placeholder>div,#home .home-gift-frame .home-gift-card img{max-height:none}
}

/* Restored approved daylight palette and original blue-window banner. */
#home.editorial-home{background:linear-gradient(180deg,#fffefa 0%,#f4f9fc 55%,#fdfefc 100%)}
#home .editorial-header{border-bottom-color:#dce7e9}
#home .home-banner{height:clamp(252px,calc(39vh - 28px),352px);margin:10px 0;border-color:#dce7e9;background:#f5f9fb;border-radius:10px}
#home :is(#homeCatalogStart,#homeGiftStart){padding:0;margin-top:16px;border:0;border-radius:0;background:transparent}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{gap:28px}
#home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-title,#home .home-gift-heading h2{font-size:19px;color:#334e49}
#home #homeCatalogStart>.editorial-category-grid{margin-top:8px}
#home .home-gift-heading{margin-bottom:8px}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder,#home .home-gift-card{border:1px solid #dfe8e7;border-radius:5px;background:#fffefb;box-shadow:none}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer,#home .home-gift-card>span{background:#fffefb;font-size:15px;color:#334e49}
#home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer::after,#home .home-gift-card b{color:#8a9e9a}
#home .home-footer{border-top-color:#dce7e9;margin-top:20px;padding-top:18px}
#home .foot-col,#home .footer-bottom{border-color:#dce7e9}
#home .home-banner-tagline{color:#61736d}
@media(max-width:780px){
  #home .home-banner{height:225px;background:#f5f9fb url('./assets/optimized/2f01d55bcd8b1a6114-1440.webp') left center/270% auto no-repeat}
  #home :is(#homeCatalogStart,#homeGiftStart){padding:0;margin-top:17px}
  #home :is(#homeCatalogStart,#homeGiftStart) .editorial-category-grid{gap:13px}
  #home :is(#homeCatalogStart,#homeGiftStart) .home-product-placeholder>footer,#home .home-gift-card>span{font-size:13px}
}

/* Owner-requested floral frame gently overlaps the outer image edges. */
#home.editorial-home{position:relative;isolation:isolate;--home-frame-gutter:max(0px,calc((100vw / .9 - min(1240px,132vh)) / 2));--home-frame-art-height:max(180px,min(calc(100vh / .9 - 90px),calc((var(--home-frame-gutter) - 32px) * 4)))}
#home .editorial-shell{position:relative;z-index:1}
#home::before,#home::after{content:"";position:fixed;z-index:2;top:65px;bottom:18px;width:calc(var(--home-frame-art-height) * .5);background:image-set(url('./assets/optimized/ad78af9408ee0206fa-360.webp') 1x,url('./assets/optimized/ad78af9408ee0206fa-720.webp') 2x) center top / 100% auto repeat-y;pointer-events:none;user-select:none;opacity:.94}
#home::before{left:calc(var(--home-frame-gutter) - 4px - var(--home-frame-art-height) * .36)}
#home::after{right:calc(var(--home-frame-gutter) - 4px - var(--home-frame-art-height) * .36);transform:scaleX(-1)}
@media(max-width:1099px),(max-aspect-ratio:7/5){
  #home::before,#home::after{top:115px;bottom:10px;width:40px;background-size:40px auto;opacity:.72}
  #home::before{left:-9px}#home::after{right:-9px}
}

/* Local review: headwear directory and listings only; actual product pages keep their approved layout. */
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-header,
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-heading,
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-footer { display:none; }
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog {
  --headwear-width:min(1240px,132vh);
  --home-frame-gutter:max(0px,calc((100vw / .9 - var(--headwear-width)) / 2));
  --home-frame-art-height:max(180px,min(calc(100vh / .9 - 90px),calc((var(--home-frame-gutter) - 32px) * 4)));
  position:relative; isolation:isolate; overflow:clip; min-height:calc(100vh / .9);
  padding:0 clamp(16px,3vw,40px) 40px;
  background:linear-gradient(180deg,#fffefa 0%,#f4f9fc 55%,#fdfefc 100%);
}
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog:not([hidden]) { display:flex; flex-direction:column; }
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::before,
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::after {
  content:""; position:fixed; z-index:2; top:65px; bottom:18px;
  width:calc(var(--home-frame-art-height) * .5);
  background:image-set(url('./assets/optimized/ad78af9408ee0206fa-360.webp') 1x,url('./assets/optimized/ad78af9408ee0206fa-720.webp') 2x) center top / 100% auto repeat-y;
  pointer-events:none; user-select:none; opacity:.94;
}
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::before { left:calc(var(--home-frame-gutter) - 4px - var(--home-frame-art-height) * .36); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::after { right:calc(var(--home-frame-gutter) - 4px - var(--home-frame-art-height) * .36); transform:scaleX(-1); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog > :is(.headwear-header,.headwear-heading,.category-detail__card,.headwear-footer) { position:relative; z-index:1; width:100%; max-width:var(--headwear-width); margin-left:auto; margin-right:auto; flex-shrink:0; }
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog > .section-brand-bar,
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .category-mobile-navigation,
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .category-filter-column,
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-group-title { display:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:4px 0; border-bottom:1px solid #dce7e9; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-brand { display:flex; align-items:center; gap:14px; color:var(--store-ink); text-decoration:none; flex-shrink:0; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-brand-symbol { color:#b9813d; font-size:36px; line-height:1; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-brand-name { display:block; font:400 27px/1 var(--store-display); letter-spacing:-.035em; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-brand small { display:block; margin-top:4px; color:var(--store-accent); font:600 9px/1.3 var(--store-text); letter-spacing:.18em; text-align:center; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-nav { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:20px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-nav > a { color:var(--store-ink); font:600 13px/1.3 var(--store-text); letter-spacing:.005em; text-decoration:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-cart { display:flex; align-items:center; gap:4px; min-height:32px; padding:5px 10px; border:1px solid #dcc7a9; border-radius:8px; color:var(--store-ink); background:none; box-shadow:none; font:600 13px/1.3 var(--store-text); cursor:pointer; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:10px; margin-bottom:10px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-title-navigation { display:flex; align-items:center; flex-wrap:wrap; gap:12px; color:#334e49; font:400 19px/1.4 var(--store-display); letter-spacing:-.025em; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-title-navigation>a { color:inherit; font:inherit; letter-spacing:inherit; text-decoration:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-title-navigation>a:hover { color:#826035; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-title-navigation>span { color:#a6b3ac; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-heading :is(h1,h2) { margin:0; padding:0; color:#334e49; font:400 19px/1.4 var(--store-display); letter-spacing:-.025em; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-filter-toggle { display:flex; align-items:center; gap:8px; padding:5px 0 5px 10px; border:0; border-radius:0; color:#826035; background:none; box-shadow:none; font:500 12px/1.5 var(--store-text); cursor:pointer; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-filter-toggle:hover { color:#334e49; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-directory .headwear-filter-toggle { display:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .category-catalog-layout { display:block; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px 28px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-grid .product-card { border:1px solid #dfe8e7; border-radius:5px; background:#fffefb; box-shadow:none; grid-template-rows:auto auto auto; align-content:start; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-grid .product-card:hover { transform:translateY(-2px); border-color:#aebfb7; box-shadow:0 5px 14px #3454470a; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-grid .product-image { aspect-ratio:4/3; background:#f7faf9; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder { grid-template-rows:auto auto; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder .product-image img { object-fit:cover; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder .product-card-summary { display:flex; align-items:center; justify-content:space-between; min-height:30px; padding:4px 10px; background:#fffefb; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder .product-title { margin:0; color:#334e49; font:400 15px/1.3 var(--store-display); letter-spacing:-.02em; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder .product-card-summary::after { content:'↗'; margin-left:8px; color:#8a9e9a; font:400 16px/1 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-audience-tabs:not([hidden]) { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; padding:0; background:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-audience-tab { min-height:30px; padding:5px 12px; border:1px solid #dce7e4; border-radius:5px; background:#fffefb; color:#61766c; box-shadow:none; font:500 12px/1.5 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-audience-tab-active { color:#fff; background:#334e49; border-color:#334e49; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-catalog-group { margin:0; padding:0 0 7px; border-color:#dce7e4; color:#334e49; font:400 17px/1.4 var(--store-display); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-catalog-group::after { content:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-catalog-subgroup { margin:-12px 0 -8px; color:#7b857e; font-size:11px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card-overlay-title { gap:4px; padding:10px 10px 8px; font-size:13px; line-height:1.45; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .catalog-card-kind { font-size:8px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .catalog-card-model { font-size:19px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .catalog-card-variant { font-size:11px; line-height:1.5; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-list-price { margin:0 10px; padding:8px 0 10px; border-color:#e5ebe7; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-list-price strong { font-size:13px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-list-price small { font-size:10px; margin-top:2px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .category-detail__card { margin-bottom:32px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer { display:block; margin-top:auto; padding-top:18px; border-top:1px solid #dce7e9; background:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .foot { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; padding:0; background:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .foot-col { display:flex; flex-direction:column; gap:10px; min-width:0; padding:0 18px; border-left:1px solid #dce7e9; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .foot-col:first-child { padding-left:0; border-left:0; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer h2 { margin:0 0 3px; color:#334e49; font:400 17px/1.4 var(--store-display); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer :is(a,summary) { display:flex; align-items:center; gap:8px; color:#61736d; font:400 11px/1.7 var(--store-text); text-decoration:none; cursor:pointer; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer :is(svg,.social-letter) { flex-shrink:0; color:#ad864b; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer :is(p,.footer-bottom) { color:#89948c; font:400 10px/1.7 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .footer-bottom { margin-top:20px; padding:10px 0 0; border-top:1px solid #dce7e9; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-drawer { position:fixed; inset:18px auto 18px max(18px,calc((100vw - 1240px) / 2 - 30px)); width:320px; max-width:calc(100vw - 36px); max-height:calc(100vh - 36px); margin:0; padding:18px; overflow:auto; overscroll-behavior:contain; border:1px solid #dce7e4; border-radius:10px; background:#fcfefc; color:#334e49; box-shadow:0 14px 60px #243e3020; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-drawer::backdrop { background:#f6faf799; backdrop-filter:blur(2px); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; margin-bottom:16px; border-bottom:1px solid #dce7e4; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-heading h2 { margin:0; font:400 20px/1.4 var(--store-display); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-heading button { border:0; padding:4px; color:#7a826e; background:none; cursor:pointer; font:400 12px/1.5 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-drawer .home-filter-panel { padding:0; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-drawer .home-filter-panel__header { padding-bottom:16px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-drawer .home-filter-panel__header :is(h3,strong) { display:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-drawer .home-filter-option { min-height:32px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .headwear-filter-done { display:block; width:100%; min-height:38px; border:1px solid #334e49; border-radius:5px; background:#334e49; color:#fff; font:600 12px/1.5 var(--store-text); cursor:pointer; }
body:has(.headwear-filter-drawer[open]) { overflow:hidden; }
@media(max-width:1099px),(max-aspect-ratio:7/5) {
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::before,body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::after { top:115px; bottom:10px; width:40px; background-size:40px auto; opacity:.72; }
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::before { left:-24px; }
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::after { right:-24px; }
}
@media(max-width:780px) {
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog { --headwear-width:100%; padding:0 18px 32px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-header { flex-wrap:wrap; padding:8px 0; gap:10px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-nav { width:100%; justify-content:space-between; gap:8px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .editorial-nav>a { font-size:11px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-cart { font-size:11px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-heading { margin-top:10px; margin-bottom:10px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-heading :is(h1,h2) { font-size:19px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 13px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder .product-card-summary { min-height:33px; padding:6px 8px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-card--category-placeholder .product-title { font-size:13px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-audience-tabs:not([hidden]) { margin-bottom:12px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .foot { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 10px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .foot-col { padding:0 8px; }
  :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-footer .foot-col:nth-child(odd) { padding-left:0; border-left:0; }
}
/* Compact catalogue captions: full title, variant, then one price range. */
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact { grid-template-rows:auto auto auto; align-content:start; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-card-overlay-title { min-height:0; gap:3px; padding:8px 10px 6px; font:400 15px/1.3 var(--store-display); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .catalog-card-heading { display:block; color:var(--store-heading); font:inherit; letter-spacing:-.02em; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .catalog-card-variant { margin:0; font:400 11px/1.35 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-list-price { min-height:0; margin:0 10px; padding:6px 0 8px; background:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-list-price strong { font:600 12px/1.4 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-list-price small { margin-top:2px; font:400 10px/1.35 var(--store-text); }
@media(max-width:600px) {
 :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-card-overlay-title { padding:7px 8px 5px; font-size:13px; }
 :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .catalog-card-variant { font-size:10px; }
 :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-list-price { margin:0 8px; padding:5px 0 7px; }
 :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo) .product-grid .product-card--compact .product-list-price strong { font-size:11px; }
}

/* Shared storefront chrome for every category and product, 2026-10-28. */
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog.category-detail--product-screen > .headwear-heading { display:none; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog.category-detail--product-screen .category-detail__card { margin-top:12px; }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .product-filter-empty { grid-column:1/-1; padding:24px; border:1px solid #dce7e4; border-radius:5px; background:#fffefb; color:#61736d; font:400 13px/1.7 var(--store-text); }
:is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog.category-detail--product-screen .pdp-detail { --pdp-line:#dce7e4; --pdp-muted:#718078; --pdp-ink:#334e49; --pdp-paper:#fffefb; }

/* Directory pages share the same airy storefront, while their content stays intact. */
.storefront-directory > :is(.charity-shell,.legal-services-shell) { position:relative; z-index:1; width:100%; max-width:var(--headwear-width); margin:14px auto 30px; }
.storefront-directory :is(.charity-hero,.legal-services-hero) { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); border:1px solid #dce7e4; border-radius:6px; background:#fffefb; box-shadow:none; overflow:hidden; }
.storefront-directory :is(.charity-hero__image,.legal-services-hero__image) { position:static; width:100%; height:100%; min-height:0; max-height:400px; object-fit:cover; }
.storefront-directory :is(.charity-hero__content,.legal-services-hero__content) { padding:22px; background:#fffefb; }
.storefront-directory :is(.charity-hero :is(h1,h2),.legal-services-hero :is(h1,h2)) { margin:8px 0 14px; color:#334e49; font:400 30px/1.2 var(--store-display); }
.storefront-directory :is(.charity-verse p,.legal-services-hero__lead) { color:#334e49; font:400 18px/1.5 var(--store-display); }
.storefront-directory :is(p,li,.legal-services-hero__text) { color:#61736d; font-family:var(--store-text); font-size:13px; line-height:1.65; }
.storefront-directory :is(.charity-notice,.legal-contact-strip,.legal-free-help,.legal-team-card,.legal-review-card,.charity-group,.legal-services-group) { border:1px solid #dce7e4; border-radius:6px; background:#fffefb; box-shadow:none; }
.storefront-directory :is(.charity-group__summary,.legal-services-group__summary) { padding:13px 16px; background:#fffefb; }
.storefront-directory :is(.charity-group__heading strong,.legal-services-group__heading strong) { color:#334e49; font:400 20px/1.35 var(--store-display); }
.storefront-directory :is(.legal-price-grid,.charity-cards) { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:14px; }
.storefront-directory .legal-price-card { display:flex; flex-direction:column; aspect-ratio:auto; border:1px solid #dce7e4; border-radius:5px; background:#fffefb; box-shadow:none; overflow:hidden; }
.storefront-directory .legal-price-card::after { content:none; }
.storefront-directory .legal-price-card__image { position:static; z-index:auto; aspect-ratio:4/3; height:auto; object-fit:cover; }
.storefront-directory .legal-price-card__content { position:static; border:0; border-radius:0; padding:10px; background:none; box-shadow:none; backdrop-filter:none; }
.storefront-directory .legal-price-card h3 { color:#334e49; font:400 17px/1.35 var(--store-display); }
.storefront-directory .legal-price-card__price { color:#334e49; font:600 13px/1.5 var(--store-text); }
.storefront-directory .legal-price-card > a { position:static; margin:0 10px 10px; padding:7px; border:1px solid #d8c7aa; background:#fffefb; color:#334e49; font-size:12px; }
.storefront-directory :is(.legal-team h2,.legal-reviews h2,.legal-free-help h2) { color:#334e49; font:400 25px/1.3 var(--store-display); }
#legalServices.storefront-directory :is(.legal-contact-strip span,.legal-contact-strip strong,.legal-team-card > span,.legal-team-card a,.legal-services-note > span,.legal-review-card--empty span,.editorial-brand small,.headwear-footer a,.headwear-footer summary,.headwear-footer p,.headwear-footer .social-letter,.headwear-footer .footer-bottom){font-size:12px}
@media(max-width:780px) {
 .storefront-directory :is(.charity-hero,.legal-services-hero) { grid-template-columns:1fr; }
 .storefront-directory :is(.charity-hero__image,.legal-services-hero__image) { aspect-ratio:4/3; max-height:270px; }
 .storefront-directory :is(.legal-price-grid,.charity-cards) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .storefront-directory :is(.charity-hero__content,.legal-services-hero__content) { padding:16px; }
}

/* Compact directory cards: artwork above, clear readable content and action below. */
.storefront-directory .charity-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:14px; }
.storefront-directory .charity-card { display:flex; flex-direction:column; aspect-ratio:auto; border:1px solid #dce7e4; border-radius:5px; background:#fffefb; box-shadow:none; }
.storefront-directory .charity-card::after { content:none; }
.storefront-directory .charity-card__image { position:static; z-index:auto; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.storefront-directory .charity-card__content { position:static; border:0; border-radius:0; padding:10px; background:none; box-shadow:none; backdrop-filter:none; text-align:left; }
.storefront-directory .charity-card h3 { margin:0; color:#334e49; font:400 17px/1.35 var(--store-display); }
.storefront-directory :is(.charity-card__location,.charity-card__note) { color:#718078; font:400 12px/1.5 var(--store-text); }
.storefront-directory :is(.charity-donate-button,.charity-requisites > summary) { position:static; margin:0 10px 10px; min-height:30px; padding:6px; border:1px solid #d8c7aa; border-radius:4px; background:#fffefb; box-shadow:none; color:#334e49; font:500 12px/1.5 var(--store-text); text-align:center; }
.storefront-directory .charity-requisites { position:static; margin-top:auto; }
.storefront-directory .charity-requisites[open] { position:static; overflow:visible; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.storefront-directory .charity-requisites__list { margin:8px; padding:8px; background:#f5f9f7; border:1px solid #dce7e4; }
.storefront-directory :is(.charity-requisite-row,.charity-requisites__note,.charity-copy-button) { font-size:12px; line-height:1.5; }
.storefront-directory :is(.charity-nav__button,.legal-services-nav__button) { border:1px solid #dce7e4; border-radius:5px; background:#fffefb; box-shadow:none; color:#334e49; font:500 12px/1.5 var(--store-text); }
.storefront-directory :is(.charity-group[open] > summary,.legal-services-group[open] > summary) { background:#f4f8f6; }
.storefront-directory :is(.charity-group__count,.legal-services-group__count) { font-size:12px; background:#e9f0eb; color:#334e49; box-shadow:none; }
.storefront-directory :is(.charity-group__icon,.legal-services-group__icon) { background:#f1eddf; box-shadow:none; }
.storefront-directory :is(.charity-notice strong,.legal-services-group__copy strong,.legal-contact-strip strong,.legal-team-card h3) { color:#334e49; }
.storefront-directory :is(.legal-primary-button,.legal-secondary-button) { border:1px solid #d8c7aa; border-radius:4px; background:#fffefb; box-shadow:none; color:#334e49; font:500 12px/1.5 var(--store-text); }
.storefront-directory .legal-primary-button:first-child { background:#334e49; color:white; border-color:#334e49; }
.storefront-directory .legal-price-card__price { padding:0; background:none; }
.storefront-directory .legal-price-card p { font-size:12px; line-height:1.5; }
@media(max-width:780px) {
  .storefront-directory .charity-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:10px; }
  .storefront-directory .charity-copy-button { grid-column:1/-1; justify-self:end; max-width:100%; overflow-wrap:anywhere; }
}

#categoryDetail .pdp-detail .collection-controls button[hidden],
#categoryDetail .pdp-detail .scroll-hint[hidden] { display:none!important; }

/* One approved sky layer for the homepage, every category and shop directory. */
#home.editorial-home,
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog {
  background-color:#fafcfd;
  background-image:linear-gradient(#ffffff30,#ffffff30),url('./assets/optimized/eab6ac17c9eab0fd9b-1536.webp');
  background-position:center top;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
}

/* Headwear directory: original imagery, larger centred cards, shared airy sky. */
#categoryDetail.headwear-featured-directory .product-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px;
}
#categoryDetail.headwear-featured-directory .category-detail__card {
  margin-top:auto; margin-bottom:auto; padding-block:28px;
}
#categoryDetail.headwear-featured-directory .headwear-footer { margin-top:20px; }
@media(max-width:780px) {
  #categoryDetail.headwear-featured-directory .product-grid { grid-template-columns:minmax(0,1fr); max-width:440px; margin-inline:auto; gap:18px; }
  #categoryDetail.headwear-featured-directory .category-detail__card { padding-block:16px; }
}

/* Approved airy fairytale product interface, 29 October 2026. */
#categoryDetail .pdp-detail.pdp-compact{--paper:#fffefd;--cream:#fffefd;--ink:#24473d;--muted:#62726d;--gold:#ba9458;--line:#dcded6;--green:#174a3d}
#categoryDetail .pdp-detail.pdp-compact .product-heading{justify-content:center;text-align:center;padding-bottom:18px}
#categoryDetail .pdp-detail.pdp-compact .product-heading h1{font-size:32px;letter-spacing:-.025em}
#categoryDetail .pdp-detail.pdp-compact .product-heading h1::before,#categoryDetail .pdp-detail.pdp-compact .product-heading h1::after{content:'❧';display:inline-block;color:#b8955c;font-size:22px;margin-inline:13px;vertical-align:middle}
#categoryDetail .pdp-detail.pdp-compact .hero{gap:20px;align-items:stretch}
#categoryDetail .pdp-detail.pdp-compact .gallery,#categoryDetail .pdp-detail.pdp-compact .purchase{position:relative;border:0;border-radius:17px;background:#fffefd;box-shadow:0 3px 18px #5c79800a}
#categoryDetail .pdp-detail.pdp-compact .gallery{background:#fffefd;justify-content:center;isolation:isolate}
#categoryDetail .pdp-detail.pdp-compact .gallery::after{content:'';position:absolute;inset:0;border-radius:17px;pointer-events:none;z-index:2;background:var(--fairy-corner) left top/43px 43px no-repeat,var(--fairy-corner) right bottom/43px 43px no-repeat;box-shadow:inset 0 0 0 1px #d4b77b60}
:root{--fairy-corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23b88c43' stroke-width='1.1'%3E%3Cpath d='M2 55V16Q2 2 16 2h39M7 47V18Q7 7 18 7h29M10 34C27 36 34 16 20 14S9 30 22 26s10-17 5-20M12 12c18 0 1 24 22 18M6 6c9 2 10 12 3 14M30 9c15 1 15 14 4 15M16 44c-1-10 9-14 13-9s-5 12-7 4M39 5l3 4-3 4-3-4z'/%3E%3C/g%3E%3C/svg%3E")}
#categoryDetail .pdp-detail.pdp-compact .purchase{padding:24px 28px;gap:18px;background:#fffefd url('./assets/optimized/7c9a2bb0bdce1cc392-1448.webp') center/cover;justify-content:center}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .purchase{background-image:url('./assets/optimized/d37171e05aacfdd6ef-960.webp')}}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading{justify-content:center;text-align:center}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading h2{font:400 24px/1.35 var(--store-display)}
#categoryDetail .pdp-detail.pdp-compact .pricing-heading p{color:var(--muted);font-size:11px;margin-top:5px}
#categoryDetail .pdp-detail.pdp-compact .price-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#categoryDetail .pdp-detail.pdp-compact .price-grid-retail-row>.price-tier:first-child{grid-column:1/-1}
#categoryDetail .pdp-detail.pdp-compact .price-tier{position:relative;min-height:69px;padding:9px 6px;border:1px solid #d6bc8b;border-radius:13px;background:var(--fairy-corner) left top/20px 20px no-repeat,var(--fairy-corner) right bottom/20px 20px no-repeat,linear-gradient(125deg,#fff,#f9faf9 55%,#fff);box-shadow:0 2px 4px #b2bfc51a,inset 0 0 0 3px #ffffffb0;transition:box-shadow .18s,background-color .18s,transform .18s}
#categoryDetail .pdp-detail.pdp-compact .price-tier>strong{font:600 21px/1.2 var(--store-display);letter-spacing:0}
#categoryDetail .pdp-detail.pdp-compact .price-tier>span{color:#3e5851;font-size:11px}
#categoryDetail .pdp-detail.pdp-compact .price-tier>small{font-size:8px;color:#62726d}
#categoryDetail .pdp-detail.pdp-compact .price-tier.active{background:var(--fairy-corner) left top/20px 20px no-repeat,var(--fairy-corner) right bottom/20px 20px no-repeat,linear-gradient(125deg,#f8fdff,#e1f1fc 70%,#fff);border-color:#9fbfca;box-shadow:0 2px 6px #729ead26,inset 0 0 0 2px #fff9}
#categoryDetail .pdp-detail.pdp-compact .price-tier:hover{transform:translateY(-1px);box-shadow:0 4px 10px #678c9c25}
#categoryDetail .pdp-detail.pdp-compact .selection{padding-top:0;border:0;align-items:flex-end}
#categoryDetail .pdp-detail.pdp-compact .product-size-option{border-radius:10px;background:linear-gradient(#fff,#f7f8f6);border-color:#d4d9d5;box-shadow:0 2px 4px #607e7012}
#categoryDetail .pdp-detail.pdp-compact .product-size-option[aria-pressed=true]{background:linear-gradient(#f5fcff,#dfeff8);color:#24473d;border-color:#9ab9c6}
#categoryDetail .pdp-detail.pdp-compact .quantity-control{border-radius:10px;background:#fff;border-color:#d4d9d5}
#categoryDetail .pdp-detail.pdp-compact .buy-actions{grid-template-columns:minmax(0,1fr) 40px;gap:8px}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.product-cart-button{grid-column:1;grid-row:1;min-height:45px!important;border:1px solid #bb9a60;border-radius:16px 5px;background:linear-gradient(115deg,#1e5947,#103e32 60%,#235e4b);color:white;box-shadow:inset 0 0 0 3px #ffffff16,0 3px 7px #284e3c1c;font:500 17px/1.35 var(--store-display)}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.pdp-favorite{grid-column:2;grid-row:1;border-radius:13px;background:linear-gradient(#fff,#f7f8f6);border:1px solid #d4bf9a;color:#866529}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.product-buy-button{grid-column:1/-1;grid-row:2;min-height:27px!important;border:0;border-bottom:1px solid #c8b48f60;border-radius:0;background:transparent;font:400 11px/1.5 var(--store-text);color:#365c50}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-main img{max-height:none;display:block;width:100%;height:100%;object-fit:cover}
#categoryDetail .pdp-detail.pdp-compact .product-gallery-main{min-height:0;flex:1;border-radius:0;background:transparent}
#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption{color:#5e736b;background:#ffffffed}
#categoryDetail .pdp-detail.pdp-compact>.service-grid{margin-top:14px;padding:0;border:0;gap:16px}
#categoryDetail .pdp-detail.pdp-compact .service-card{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:14px;padding:122px 18px 14px;text-align:center;background:#fffefd;box-shadow:inset 0 0 0 1px #dfd5c1;min-height:225px;align-items:center}
#categoryDetail .pdp-detail.pdp-compact .service-card::after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:var(--fairy-corner) left top/34px 34px no-repeat,var(--fairy-corner) right bottom/34px 34px no-repeat}
#categoryDetail .pdp-detail.pdp-compact .service-art{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;mask-image:linear-gradient(#000 46%,#0003 65%,transparent 80%)}
#categoryDetail .pdp-detail.pdp-compact .service-card>h3{font:400 20px/1.35 var(--store-display);margin-bottom:3px;color:#24473d;text-shadow:0 1px 7px white}
#categoryDetail .pdp-detail.pdp-compact .service-card p{font-size:10px;line-height:1.6;margin-bottom:8px;color:#53665e;white-space:normal}
#categoryDetail .pdp-detail.pdp-compact .mini-button{position:relative;background:linear-gradient(#fff,#f9faf9);border:1px solid #d0bb94;border-radius:20px;padding:5px 16px;font-size:10px;min-height:28px;box-shadow:inset 0 0 0 2px white,0 2px 5px #647e7712}
#categoryDetail .pdp-detail.pdp-compact .review-buttons{width:auto}
#categoryDetail .pdp-detail.pdp-compact .review-buttons .mini-button{font-size:10px;padding:5px 16px;min-height:28px}
#categoryDetail .pdp-detail.pdp-compact .information-strip{border:0;border-top:1px solid #ceb78977;border-bottom:1px solid #ceb78977;border-radius:20px 4px;background:linear-gradient(120deg,#fff9,#ffffffed,#fff9);margin-top:16px}
#categoryDetail .pdp-detail.pdp-compact .information-strip>a,#categoryDetail .pdp-detail.pdp-compact .information-strip>button{border:0}
#categoryDetail .pdp-detail.pdp-compact .information-strip [aria-expanded=true]{background:#e8f3f899;box-shadow:inset 0 -2px #b89a63}
#categoryDetail .pdp-detail.pdp-compact .information-strip>:hover:not(.unavailable){background:#eef6f9}
#categoryDetail .pdp-detail.pdp-compact :is(.reveal-panel,.editorial-card,.custom-card,.collection-frame,.empty-models){background:linear-gradient(125deg,#ffffffed,#fbfcfbed);border:1px solid #dce5e1;border-radius:10px}
#categoryDetail .pdp-detail.pdp-compact .reveal-panel p{color:#5b6d65}
#categoryDetail .pdp-detail.pdp-compact .editorial-card[aria-expanded=true]{background:#eef6f8;border-color:#b7ccd0}
#categoryDetail .pdp-detail.pdp-compact .editorial-card h2{color:#24473d}
#categoryDetail .pdp-detail.pdp-compact .variant-card{border-radius:8px;background:#fffefd;border-color:#dce5e1}
#categoryDetail .pdp-detail.pdp-compact .collection-controls button:hover{background:#edf5f7}
@media(max-width:900px){#categoryDetail .pdp-detail.pdp-compact .purchase{padding:18px;gap:14px}#categoryDetail .pdp-detail.pdp-compact .price-tier>strong{font-size:19px}#categoryDetail .pdp-detail.pdp-compact .service-card{padding:100px 12px 13px;min-height:208px}#categoryDetail .pdp-detail.pdp-compact .service-card>h3{font-size:18px}}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .product-heading h1{font-size:27px}#categoryDetail .pdp-detail.pdp-compact .product-heading h1::before,#categoryDetail .pdp-detail.pdp-compact .product-heading h1::after{content:none}#categoryDetail .pdp-detail.pdp-compact .hero{gap:14px}#categoryDetail .pdp-detail.pdp-compact .gallery{aspect-ratio:4/3}#categoryDetail .pdp-detail.pdp-compact .purchase{padding:20px 18px;gap:17px}#categoryDetail .pdp-detail.pdp-compact .service-grid{grid-template-columns:1fr}#categoryDetail .pdp-detail.pdp-compact .service-card{min-height:155px;padding:23px 17px 20px 43%;align-items:center;justify-content:center}#categoryDetail .pdp-detail.pdp-compact .service-art{width:44%;height:100%;object-fit:cover;mask-image:linear-gradient(90deg,#000 65%,transparent)}#categoryDetail .pdp-detail.pdp-compact .service-card p{font-size:11px}#categoryDetail .pdp-detail.pdp-compact .service-card>h3{font-size:19px}#categoryDetail .pdp-detail.pdp-compact .buy-actions{grid-template-columns:minmax(0,1fr) 40px}}
@media(prefers-reduced-motion:reduce){#categoryDetail .pdp-detail.pdp-compact .price-tier:hover{transform:none}}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.buy-actions{grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:auto auto}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.product-cart-button{grid-area:1/1/2/2!important;border-radius:16px 5px!important}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.pdp-favorite{grid-area:1/2/2/3!important;border-radius:13px!important}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions>.product-buy-button{grid-area:2/1/3/3!important}
/* Product captions and future photo slots, approved 29 October. */
#categoryDetail .pdp-detail.pdp-compact .pdp-breadcrumbs{padding:12px 0 16px;gap:14px;align-items:center;color:#2c5146;font:400 22px/1.4 var(--store-display)}
#categoryDetail .pdp-detail.pdp-compact .pdp-breadcrumbs button{font:inherit;color:inherit}
#categoryDetail .pdp-detail.pdp-compact .pdp-nav-divider{color:#a3babd}
#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption{display:flex;align-items:center;gap:7px;padding:9px 12px;background:#fffefd;min-height:34px;flex-wrap:wrap}
#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption h1{font:400 15px/1.4 var(--store-display);letter-spacing:0;margin:0;color:#24473d}
#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption .pdp-variant{font:400 10px/1.4 var(--store-text);margin:0;color:#5f716a;flex:1}
#categoryDetail .pdp-detail.pdp-compact .pdp-caption-article{font:500 10px/1.4 var(--store-text);white-space:nowrap;color:#62726d;margin-left:auto}
#categoryDetail .pdp-detail.pdp-compact .pdp-reserve-photos{display:flex;gap:10px;width:calc(50% - 10px);margin-top:10px}
#categoryDetail .pdp-detail.pdp-compact .pdp-photo-reserve{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:64px;height:58px;border:1px dashed #bdcec8;border-radius:8px;background:#ffffffac;color:#7c9188;font:400 9px/1.4 var(--store-text);user-select:none}
#categoryDetail .pdp-detail.pdp-compact .reserve-icon{font:300 18px/1 var(--store-text);color:#b4c4bc}
#categoryDetail .pdp-detail.pdp-compact>.service-grid{margin-top:26px}
@media(max-width:760px){#categoryDetail .pdp-detail.pdp-compact .pdp-breadcrumbs{font-size:20px;padding:10px 0 14px}#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption{gap:3px 7px;padding:7px 10px}#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption h1{font-size:14px}#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption .pdp-variant{flex-basis:70%;order:2;font-size:10px}#categoryDetail .pdp-detail.pdp-compact .pdp-reserve-photos{width:100%}#categoryDetail .pdp-detail.pdp-compact .gallery{aspect-ratio:auto}#categoryDetail .pdp-detail.pdp-compact>.service-grid{margin-top:22px}}

.home-filter-panel .filter-option-hint{display:block;color:var(--muted);font-size:12px;line-height:1.35}
#home .shop-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:8px 0;padding:0;color:#334e49;font:inherit}
#home .shop-search label{font-weight:600}
#home .shop-search :is(input,button){min-height:40px;padding:8px 12px;border:1px solid #cbdad6;border-radius:6px;font:inherit}
#home .shop-search input{width:100%;background:#fffefb;color:#334e49}
#home .shop-search button{background:#315d51;color:white;cursor:pointer}
#home .shop-search button:hover{background:#254b41}
#home .shop-search :is(input,button):focus-visible{outline:2px solid #98733e;outline-offset:2px}
@media(max-width:760px){
  #home :is(.home-hero-action,.editorial-nav a,.editorial-brand small,.home-banner-eyebrow,.home-banner-tagline,.home-catalog-bottom,.home-catalog-bottom button,.home-footer a,.home-footer summary,.home-footer .foot p,.footer-bottom),
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog :is(.editorial-brand small,.editorial-nav a,.headwear-cart,.headwear-filter-toggle,.category-back,.headwear-footer a,.headwear-footer summary,.headwear-footer p,.headwear-footer .social-letter,.headwear-footer .footer-bottom),
  #categoryDetail.headwear-catalog .product-catalog-subgroup,
  .cart-panel :is(.cart-kicker,.cart-item-size,.cart-remove-button),
  #categoryDetail .product-grid .product-card--compact :is(.catalog-card-variant,.product-list-price strong,.product-list-price small),
  #categoryDetail .pdp-detail.pdp-compact :is(.price-tier>span,.price-tier>small,.pricing-heading p,.product-size-title,.product-detail-actions>.product-buy-button,.pdp-photo-caption .pdp-variant,.pdp-caption-article,.service-card p,.mini-button,.review-buttons .mini-button,.size-note,.pdp-media-label,.collection-controls>span,.card-copy small,.card-copy strong,.current-label,.scroll-hint,.editorial-card span,.empty-models p,.information-strip button,.information-strip a){font-size:12px;line-height:1.4}
}
@media(max-width:780px){
  #home .home-banner{background:#f5f9fb}
  #home .home-banner-art{display:block;object-fit:cover;object-position:left center}
  #home .shop-search{grid-template-columns:minmax(0,1fr) auto}
  #home :is(#homeCatalogStart,#homeGiftStart) .editorial-disclosure-hint{font-size:12px}
  #home .shop-search label{grid-column:1/-1;font-size:12px}
  #home .shop-search input{font-size:16px}
  #home .shop-search button{font-size:12px}
}
#categoryDetail .pdp-detail.pdp-compact .gallery::after{bottom:35px}

@media(max-width:1099px),(max-aspect-ratio:7/5){
  #home::before,#home::after,
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::before,
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog::after{background-image:url('./assets/optimized/ad78af9408ee0206fa-120.webp')}
}

/* Brand cart and product purchase controls. */
body :is(#home,#categoryDetail,#charity,#legalServices,#wholesaleInfo) header .cart-header-button,
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog header .cart-header-button,
body #categoryDetail.category-detail--product-screen .section-brand-actions .cart-header-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:auto;
  min-height:40px;
  height:auto;
  padding:7px 11px;
  border:1px solid #1f4d3f;
  border-radius:8px;
  background:#1f4d3f;
  color:#fff;
  box-shadow:none;
  font:700 13px/1.3 var(--store-text);
}
body :is(#home,#categoryDetail,#charity,#legalServices,#wholesaleInfo) header .cart-header-button:hover,
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog header .cart-header-button:hover,
body #categoryDetail.category-detail--product-screen .section-brand-actions .cart-header-button:hover {
  background:#28634f;
  border-color:#28634f;
  color:#fff;
}
body :is(#home,#categoryDetail,#charity,#legalServices,#wholesaleInfo) :is(.editorial-header,.headwear-header) > .editorial-nav {
  margin-inline-start:auto;
}
@media (max-width:780px) {
  #home .editorial-header,
  body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog .headwear-header {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  body :is(#home,#categoryDetail,#charity,#legalServices,#wholesaleInfo) :is(.editorial-header,.headwear-header) > .editorial-nav {
    grid-column:1/-1;
    grid-row:2;
    margin-inline-start:0;
  }
  body :is(#home,#categoryDetail,#charity,#legalServices,#wholesaleInfo) header .cart-header-button,
body :is(#categoryDetail,#charity,#legalServices,#wholesaleInfo).headwear-catalog header .cart-header-button,
  body #categoryDetail.category-detail--product-screen .section-brand-actions .cart-header-button {
    min-height:38px;
    padding:6px 8px;
    gap:5px;
    font-size:12px;
  }
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.buy-actions:has(.product-go-to-cart-button) {
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 42px;
  gap:6px;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions > .product-go-to-cart-button {
  grid-area:1/2/2/3!important;
  min-height:45px!important;
  padding:6px 4px;
  border:1px solid #c8b48f;
  border-radius:9px;
  background:#fffdf7;
  color:#24473d;
  font:700 clamp(11px,1.4vw,13px)/1.25 var(--store-text);
  text-align:center;
  white-space:normal;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions > .product-go-to-cart-button:hover {
  background:#f2ebda;
  border-color:#9b845e;
}
#categoryDetail .pdp-detail.pdp-compact .buy-actions:has(.product-go-to-cart-button) > .product-cart-button {
  padding:6px 4px;
  font:700 clamp(11px,1.4vw,14px)/1.25 var(--store-text);
  text-align:center;
  white-space:normal;
}
#categoryDetail .pdp-detail.pdp-compact .buy-actions:has(.product-go-to-cart-button) > .pdp-favorite {
  grid-area:1/3/2/4!important;
  min-height:45px!important;
}
#categoryDetail .pdp-detail.pdp-compact .buy-actions:has(.product-go-to-cart-button) > .product-buy-button {
  grid-area:2/1/3/4!important;
}
#categoryDetail .pdp-detail.pdp-compact .product-size-selector.needs-size {
  outline:2px solid #378163;
  outline-offset:3px;
  border-radius:7px;
  background:#f6ebd6;
}
@media (prefers-reduced-motion:no-preference) {
  #categoryDetail .pdp-detail.pdp-compact .product-size-selector.needs-size {
    animation:product-size-pulse .48s ease-in-out 3;
  }
}
@keyframes product-size-pulse {
  50% { background:#e2f0e3; outline-color:#9e7a41; }
}

/* Shared storefront window surfaces and controls. */
:root {
  --shop-window-ink:#28483e;
  --shop-window-muted:#516b63;
  --shop-window-line:#d9c6a1;
  --shop-window-action:#1f4d3f;
  --shop-window-surface:radial-gradient(ellipse at 92% 0%,#dfedf8,transparent 56%),linear-gradient(155deg,#fff 25%,#f6fbfe);
  --shop-window-shadow:0 14px 48px #375d7333;
  --shop-window-dim:rgb(66 102 125 / 26%);
}
.cart-backdrop,.image-lightbox { background:var(--shop-window-dim); }
.shop-guest-checkout::backdrop,
#categoryDetail .headwear-filter-drawer::backdrop { background:var(--shop-window-dim); backdrop-filter:none; }
:is(.cart-panel,.shop-guest-checkout,.shop-error-panel), #categoryDetail .headwear-filter-drawer {
  box-sizing:border-box;
  border:1px solid var(--shop-window-line);
  border-radius:17px;
  background:var(--fairy-corner) left top/25px 25px no-repeat,var(--fairy-corner) right bottom/25px 25px no-repeat,var(--shop-window-surface);
  color:var(--shop-window-ink);
  box-shadow:var(--shop-window-shadow);
  font:500 14px/1.5 var(--store-text);
}
.cart-panel {
  width:min(690px,100%);
  max-height:calc(100dvh - 24px);
  padding:clamp(15px,4vw,27px);
  overscroll-behavior:contain;
}
.cart-kicker { margin:0 0 5px; color:#7b633d; font:600 11px/1.35 var(--store-text); }
.cart-panel h2,.shop-guest-checkout h2,.shop-error-panel h1 {
  margin:0 44px 14px 0;
  color:var(--shop-window-ink);
  font:400 clamp(23px,4.5vw,31px)/1.25 var(--store-display);
  letter-spacing:-.02em;
}
.shop-guest-checkout h2 { margin-bottom:8px; }
.shop-guest-checkout p { color:var(--shop-window-muted); }
.cart-close,.shop-guest-checkout form > [data-close-checkout],.image-lightbox-close,.image-lightbox-nav {
  border:1px solid var(--shop-window-line);
  background:#fffefa;
  color:var(--shop-window-ink);
  box-shadow:0 2px 10px #375d7319;
}
.cart-close { top:13px;right:13px;width:39px;height:39px;font:400 24px/1 var(--store-text); }
:is(.cart-close,.image-lightbox-close,.image-lightbox-nav):hover,
:is(.cart-close,.image-lightbox-close,.image-lightbox-nav):focus-visible { background:#eaf5fc; color:#1f4d3f; }
.image-lightbox-content img { background:#fff; border-color:var(--shop-window-line); box-shadow:var(--shop-window-shadow); }
.cart-panel .cart-item,.shop-guest-checkout [data-guest-items] > li {
  border:1px solid var(--shop-window-line);
  border-radius:12px;
  background:var(--fairy-corner) right top/19px 19px no-repeat,linear-gradient(145deg,#fff,#fdfdfb);
  box-shadow:0 2px 8px #375d7310;
}
.cart-panel .cart-item {
  grid-template-columns:76px minmax(0,1fr) max-content;
  grid-template-areas:"image copy total" "image controls controls";
  gap:7px 12px;
  padding:11px;
  align-items:start;
}
.cart-panel .cart-item:not(:has(.cart-item-image)) { grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"copy total" "controls controls"; }
.cart-item-image { grid-area:image;width:76px;height:76px;object-fit:contain;background:#faf8f4;border-radius:8px; }
.cart-item-copy { grid-area:copy;min-width:0; }
.cart-panel .cart-item-title { color:var(--shop-window-ink);font:400 16px/1.3 var(--store-display); }
.cart-panel :is(.cart-item-size,.cart-item-price,.cart-delivery-note,.cart-note,.cart-empty) {
  color:var(--shop-window-muted);
  font:500 12px/1.45 var(--store-text);
}
.cart-item-copy > p { margin:4px 0 0; }
.cart-panel .cart-item-total {
  grid-area:total;
  margin:0;
  color:var(--shop-window-ink);
  font:750 14px/1.5 var(--store-text);
}
.cart-panel .cart-item-controls { grid-area:controls;gap:5px;margin:0; }
.cart-panel .cart-item-controls :is(.quantity-button,.quantity-value,.cart-remove-button) {
  box-sizing:border-box;
  min-width:0;
  min-height:42px;
  height:42px;
  margin:0;
  border:1px solid var(--shop-window-line);
  border-radius:8px;
  background:#f8fcff;
  box-shadow:none;
  color:var(--shop-window-ink);
  font:600 13px/1.3 var(--store-text);
}
.cart-panel .cart-item-controls .quantity-button { width:42px;padding:0; }
.cart-panel .cart-item-controls .quantity-value { width:44px;padding:0 2px; }
.cart-panel .cart-item-controls .cart-remove-button { margin-inline-start:auto;padding:0 10px;background:#fff; }
.cart-panel .cart-summary,.shop-guest-checkout [data-guest-total] {
  border:1px solid #cddfe8;
  border-radius:11px;
  background:linear-gradient(125deg,#fff,#ebf6fc);
}
.cart-panel .cart-summary { margin:12px 0 0;padding:11px 13px;gap:6px; }
.cart-panel .cart-summary-row { color:var(--shop-window-muted);font:600 13px/1.4 var(--store-text); }
.cart-panel .cart-summary-value { flex:0 1 auto;color:var(--shop-window-ink);font-weight:700; }
.cart-panel .cart-summary-total { padding:7px 0 0;border-color:#d6e5ed;color:var(--shop-window-ink);font-weight:750; }
.cart-panel .cart-summary-total .cart-summary-value { font-size:16px; }
.cart-panel .cart-actions,.shop-guest-checkout .shop-guest-actions {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:7px;
  margin-top:13px;
}
.cart-panel .cart-actions .button,
.shop-guest-checkout :is(.shop-guest-actions,[data-guest-result]) .button,
.shop-error-panel .shop-error-action,
#categoryDetail .headwear-filter-done {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  width:100%;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--shop-window-line);
  border-radius:9px;
  background:#fffefa;
  color:var(--shop-window-ink);
  box-shadow:none;
  text-shadow:none;
  font:700 13px/1.4 var(--store-text);
  letter-spacing:0;
  text-align:center;
  text-decoration:none;
  transform:none;
}
.cart-panel .cart-actions .button-primary,.shop-guest-checkout :is(.shop-guest-actions,[data-guest-result]) .button-primary,.shop-error-panel .shop-error-action,#categoryDetail .headwear-filter-done {
  background:var(--shop-window-action);
  border-color:var(--shop-window-action);
  color:#fff;
}
.cart-panel .cart-actions .button-primary:hover,.shop-guest-checkout :is(.shop-guest-actions,[data-guest-result]) .button-primary:hover,.shop-error-panel .shop-error-action:hover,#categoryDetail .headwear-filter-done:hover {
  background:#295f4d;
  border-color:#295f4d;
}
.cart-panel .cart-actions .cart-clear-button {
  justify-self:center;
  width:auto;
  min-height:40px;
  padding:6px 10px;
  border:0;
  background:transparent;
  color:#516b63;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
:is(.cart-panel,.shop-guest-checkout) :is(.button,.cart-close):focus-visible { outline:2px solid #26766a;outline-offset:2px; }
:is(.cart-panel,.shop-guest-checkout) .button:disabled { opacity:.55;cursor:default; }
.shop-guest-checkout { padding:clamp(14px,3vw,24px);width:min(calc(100vw - 24px),620px); }
.shop-guest-checkout:has(> [data-guest-buyer-choice]:not([hidden])) {
  width: min(400px, calc(100vw - 24px));
  padding: clamp(14px, 4vw, 20px);
}
.shop-guest-checkout [data-guest-buyer-choice] h2 {
  min-height: 36px;
  margin: 0 42px 12px 0;
  font-size: clamp(21px, 5vw, 25px);
  line-height: 1.2;
}
.shop-guest-checkout [data-guest-buyer-choice] > [data-close-checkout] {
  width: 36px;
  height: 36px;
  padding: 0;
  border-color: var(--shop-window-line);
  background: #fffefa;
  font: 500 20px/1 var(--store-text);
}
.shop-guest-checkout [data-guest-buyer-choice] .shop-guest-actions {
  clear: both;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.shop-guest-checkout [data-guest-buyer-choice] .shop-guest-actions > .button {
  padding: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.shop-guest-checkout [data-guest-buyer-choice] .shop-guest-actions > .button-secondary {
  background: #faf2e2;
}
.shop-guest-checkout [data-guest-buyer-choice] .shop-guest-actions > .button-secondary:hover {
  background: #f3e7d0;
}

.shop-guest-checkout .shop-guest-fields :is(input,select,textarea) { border-color:#cadbe2;background:#fff;color:var(--shop-window-ink); }
.shop-guest-checkout .shop-guest-fields select { color-scheme:light; }
.shop-guest-checkout .shop-guest-fields label { color:var(--shop-window-ink); }
.shop-guest-checkout [data-guest-items] { display:grid;gap:6px;padding:0;list-style:none; }
.shop-guest-checkout [data-guest-items] > li { margin:0;padding:9px 12px; }
.shop-guest-checkout [data-guest-total] { padding:9px 12px;color:var(--shop-window-ink); }
.shop-guest-checkout [data-guest-result] [data-guest-number] { color:var(--shop-window-ink); }
.cart-panel .cart-feedback,
.shop-guest-checkout [data-guest-feedback]:not(:empty),
#categoryDetail [data-filter-feedback]:not(:empty),
#categoryDetail .pdp-detail .product-detail-cart-message:not([hidden]) {
  padding:8px 11px;
  border:1px solid #d9c6a1;
  border-radius:8px;
  background:#f2f8fc;
  color:var(--shop-window-ink);
  font:600 13px/1.45 var(--store-text);
}
.product-size-toast { border-color:var(--shop-window-line);background:#f6fbff;color:var(--shop-window-ink);box-shadow:var(--shop-window-shadow); }
@keyframes product-size-toast-pulse { 50% { background-color:#dfedf8; } }
#categoryDetail .headwear-filter-drawer .home-filter-panel,
#categoryDetail .headwear-filter-drawer .home-filter-panel__header { background:transparent;color:var(--shop-window-ink); }
#categoryDetail .headwear-filter-drawer .home-filter-group { background:#fff9;border-color:#d7e5ec; }
#categoryDetail .headwear-filter-drawer :is(.home-filter-option:has(input:checked),.category-filter-all-button) { background:#e2f1fa;color:var(--shop-window-ink);box-shadow:none; }
#categoryDetail .headwear-filter-heading button { color:var(--shop-window-muted); }
#categoryDetail .pdp-detail.pdp-compact .reveal-panel:not([hidden]),
#categoryDetail .home-search-summary,
#categoryDetail.headwear-catalog .product-filter-empty,
#home .home-footer details[open] > p,
#categoryDetail .headwear-footer details[open] > p,
#categoryDetail .category-product-filters[open] {
  border:1px solid var(--shop-window-line);
  border-radius:10px;
  background:var(--fairy-corner) right top/17px 17px no-repeat,var(--shop-window-surface);
  color:var(--shop-window-ink);
}
#categoryDetail .home-search-summary,#categoryDetail.headwear-catalog .product-filter-empty,#home .home-footer details[open] > p,#categoryDetail .headwear-footer details[open] > p { padding:10px 13px; }
.shop-error-panel { width:min(100%,540px);margin:clamp(28px,8vw,96px) auto;padding:clamp(18px,5vw,32px); }
.shop-error-panel p { color:var(--shop-window-muted); }
.shop-error-panel .shop-error-action { margin-top:16px; }
@media (max-width:540px) {
  .cart-modal { padding:10px; }
  .cart-panel .cart-item {
    grid-template-columns:58px minmax(0,1fr);
    grid-template-areas:"image copy" "image total" "controls controls";
    gap:5px 10px;
  }
  .cart-panel .cart-item:not(:has(.cart-item-image)) { grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "total" "controls"; }
  .cart-item-image { width:58px;height:58px; }
  .cart-panel .cart-item-title { font-size:15px; }
  .cart-panel .cart-summary-value { max-width:54%; }
  .shop-guest-checkout { font-size:13px; }
  .shop-guest-checkout .shop-guest-fields { gap:.45rem; }
}

#home #homeCatalogStart .editorial-disclosure-copy { flex-wrap: wrap; justify-content: flex-start; column-gap: 14px; row-gap: 4px; }
#home #homeCatalogStart .catalog-disclosure-label { display:inline-flex; align-items:center; gap:12px; }
#home #homeCatalogStart .editorial-disclosure-arrow { margin:0 3px 0 0; border-color:#285b46; }
#home #homeCatalogStart .editorial-disclosure-hint { color:#48665a; font:500 .77rem/1.45 var(--store-text); }
.editorial-nav > .wholesale-nav-link { white-space:nowrap; }
#wholesaleInfo #wholesaleTitle { margin:0; font:inherit; letter-spacing:inherit; }
#wholesaleInfo .wholesale-terms {
  position:relative;
  z-index:1;
  box-sizing:border-box;
  width:100%;
  max-width:var(--headwear-width);
  margin:clamp(16px,3vw,35px) auto clamp(28px,5vw,60px);
  padding:clamp(16px,3vw,36px);
  border:1px solid #dbd0ba;
  border-radius:12px;
  background:#fffefa;
  color:#234439;
}
.wholesale-terms > section:first-child h2 { margin-top:0; }
.wholesale-terms h2 { color:#234439; font:600 1.06rem/1.4 var(--store-text); margin:20px 0 6px; }
.wholesale-terms p { font:400 .96rem/1.65 var(--store-text); margin:0 0 10px; }
.wholesale-contact { display:inline-block; font:600 .88rem/1.4 var(--store-text); text-underline-offset:3px; color:#234439; }
.wholesale-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.wholesale-contact { padding:10px 15px; border:1px solid #214c3d; border-radius:7px; background:#214c3d; color:white; }
.wholesale-contact:hover { background:#17382d; }
.wholesale-phone { background:#fffefa; color:#214c3d; }
.wholesale-phone:hover { background:#edf4ef; }

#categoryDetail .pdp-detail.pdp-compact .purchase > :is(.selection, .product-purchase-actions) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  align-self: stretch;
}
#categoryDetail .pdp-detail.pdp-compact .purchase > .selection {
  justify-content: space-between;
}
#categoryDetail .pdp-detail.pdp-compact .selection > .product-quantity-selector {
  margin-inline-start: auto;
}
#categoryDetail .pdp-detail.pdp-compact .purchase > .product-purchase-actions {
  display: grid;
  grid-template-areas: "buy favorite" "cart go" !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, 1fr) !important;
  gap: 8px;
  padding: 0;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.product-purchase-actions > .product-detail__button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 46px !important;
  height: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #c8b48f;
  border-radius: 12px !important;
  background: #fffdf8;
  color: #24473d;
  font: 700 14px/1.35 var(--store-text);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.product-purchase-actions > .product-buy-button {
  grid-area: buy !important;
  background: linear-gradient(125deg,#26705a,#164a3b) !important;
  border-color: #235d4a !important;
  color: #fff !important;
  box-shadow: 0 3px 8px #214e3d30;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.product-purchase-actions > .pdp-favorite {
  grid-area: favorite !important;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.product-purchase-actions > .pdp-favorite[aria-pressed=true] {
  background: #ebe0c9;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.product-purchase-actions > .product-cart-button {
  grid-area: cart !important;
  background: #f3e8d1 !important;
  border-color: #c8b48f !important;
  color: #24473d !important;
}
#categoryDetail .pdp-detail.pdp-compact .product-purchase-actions > .product-cart-button::after {
  content: none;
}
#categoryDetail .pdp-detail.pdp-compact .product-detail-actions.product-purchase-actions > .product-go-to-cart-button {
  grid-area: go !important;
}
#categoryDetail .pdp-detail.pdp-compact .product-purchase-actions > .product-detail__button:hover {
  filter: brightness(.95);
}
#categoryDetail .pdp-detail.pdp-compact .purchase > .product-purchase-actions:has(> .pdp-favorite:only-child) {
  grid-template-areas: ". favorite" !important;
  grid-template-rows: auto !important;
}

#home .home-delivery {
  margin: 8px 0 6px;
  color: #243f41;
  text-align: center;
}

#homeDeliveryTitle {
  margin: 0;
  font-family: Prata, Georgia, serif;
  font-size: clamp(.85rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: uppercase;
}

#home .home-delivery-intro {
  margin: 2px 0 5px;
  color: #334e49;
  font-size: .79rem;
}

#home .home-delivery-thresholds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 12px);
  list-style: none;
  padding: 0;
  margin: 0;
}

#home .home-delivery-thresholds li {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 1px;
  padding: 4px 3px;
  border: 1px solid #cbdad6;
  border-radius: 8px;
  background: linear-gradient(160deg, #fffefb, #eef5fb);
  font-size: clamp(.71rem, 1.2vw, .89rem);
  font-weight: 600;
  line-height: 1.2;
}

#home .home-delivery-thresholds strong {
  color: #1d433b;
  font-size: clamp(.86rem, 1.65vw, 1.15rem);
  white-space: nowrap;
}

#home .home-delivery-result-terms {
  margin: 4px auto 0;
  color: #334e49;
  font-size: .78rem;
  line-height: 1.35;
}

#home .home-delivery-result-terms span { white-space: nowrap; }

#home #homeSearch {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  margin: 0 0 6px;
}

#home #homeSearch label { grid-column: auto; }

#home #homeSearch :is(input, button) {
  min-height: 34px;
  padding: 4px 9px;
}

#cartWeightRow[hidden] { display: none; }

@media (max-width: 580px) {
  #home #homeSearch :is(input, button) { min-height: 40px; }
}

#categoryDetail .product-card-overlay-title {
  align-items: center;
  text-align: center;
}

#categoryDetail .catalog-card-article {
  display: block;
  margin-top: 3px;
  color: #475f58;
  font: 600 .78rem/1.35 var(--store-text);
}

#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption {
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

#categoryDetail .pdp-detail.pdp-compact .pdp-photo-caption :is(.pdp-variant, .pdp-caption-article) {
  order: 0;
  flex: none;
  margin: 0;
  max-width: none;
  text-align: center;
}

#categoryDetail .variant-card .card-copy { text-align: center; }

:is(#categoryDetail, #charity, #legalServices, #wholesaleInfo) .product-grid .product-card--compact {
  grid-template-rows: auto auto auto;
  align-self: start;
  min-height: 0;
  row-gap: 0;
}

:is(#categoryDetail, #charity, #legalServices, #wholesaleInfo) .product-grid .product-card--compact .product-card-overlay-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  min-height: 0;
  padding: 3px 8px 2px;
  font: 500 16px/1.15 var(--store-display);
  text-align: center;
}

:is(#categoryDetail, #charity, #legalServices, #wholesaleInfo) .product-grid .product-card--compact .product-list-price {
  min-height: 0;
  margin: 0 8px;
  padding: 2px 0 4px;
  border-top: 1px solid #e0e8e4;
}

:is(#categoryDetail, #charity, #legalServices, #wholesaleInfo) .product-grid .product-card--compact .product-list-price strong {
  font: 650 12px/1.2 var(--store-text);
  text-align: right;
}

.catalog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}

:is(#categoryDetail, #charity, #legalServices, #wholesaleInfo) .product-grid .product-card--compact .catalog-card-meta small {
  margin: 1px 0 0;
  color: #475f58;
  font: 400 11px/1.2 var(--store-text);
  white-space: nowrap;
}

@media (max-width: 760px) {
  :is(#categoryDetail, #charity, #legalServices, #wholesaleInfo) .product-grid .product-card--compact .product-card-overlay-title {
    font-size: 15px;
  }
}

