:root {
  --page: var(--brand-bg, #f7f3ef);
  --text: var(--brand-text, #241f1b);
  --accent: var(--brand-accent, #2d241f);
  --muted: #81786f;
  --line: rgba(36,31,27,.14);
  --card: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, sans-serif;
}
html[data-theme="editorial"] { --page:#fbfaf8; --text:#111; --accent:#111; --muted:#6f6a64; }
html[data-theme="noir"] { --page:#0c0c0b; --text:#f6f0e8; --accent:#c7a46c; --muted:#b4aaa0; --line:rgba(255,255,255,.16); --card:#151412; }
* { box-sizing:border-box; }
body { margin:0; background:var(--page); color:var(--text); font-family:var(--sans); }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
.topbar { padding:8px 5vw; text-align:center; font-size:12px; border-bottom:1px solid var(--line); }
.site-header { min-height:82px; padding:0 4.5vw; display:grid; grid-template-columns:220px 1fr 160px; align-items:center; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; background:color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter:blur(12px); }
.brand { font-family:var(--serif); letter-spacing:.16em; font-size:24px; }
.brand img { max-height:52px; width:auto; }
.main-nav { display:flex; justify-content:center; gap:32px; font-size:14px; }
.main-nav a:hover { opacity:.55; }
.header-actions { display:flex; justify-content:flex-end; gap:20px; }
.hero { min-height:640px; position:relative; display:flex; align-items:center; overflow:hidden; background:linear-gradient(110deg,#d8c9bd,#9a7d69); }
.hero-media { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(22,18,15,.62),rgba(22,18,15,.03) 68%); }
.hero-light .hero-overlay { background:linear-gradient(90deg,rgba(245,239,233,.82),rgba(245,239,233,.06) 70%); }
.hero-copy { position:relative; z-index:2; width:min(650px,86vw); margin-left:5vw; }
.hero-dark .hero-copy { color:white; }
.hero-copy h1 { font:64px/1.03 var(--serif); letter-spacing:-.02em; margin:15px 0 22px; }
.hero-copy p { max-width:540px; line-height:1.7; font-size:18px; }
.eyebrow { text-transform:uppercase; letter-spacing:.2em; font-size:11px; }
.hero-actions { display:flex; gap:14px; margin-top:30px; }
.button { min-height:50px; padding:0 26px; display:inline-flex; align-items:center; justify-content:center; border:1px solid currentColor; text-transform:uppercase; letter-spacing:.07em; font-size:12px; cursor:pointer; }
.button.primary { background:var(--accent); color:white; border-color:var(--accent); }
.button.ghost { background:transparent; }
.button.ozon { width:100%; background:#fff; color:#1354cb; border-color:#1354cb; font-weight:700; margin:24px 0; }
.button.muted { width:100%; opacity:.5; }
.hero-placeholder { margin-left:auto; margin-right:8vw; padding:48px; border:1px dashed rgba(255,255,255,.6); color:white; }
.section { padding:58px 4.5vw; }
.section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:26px; }
.section-heading h2, .page-hero h1 { font:44px/1.1 var(--serif); margin:0; }
.category-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.category-card { position:relative; min-height:260px; overflow:hidden; background:#d8cec5; }
.category-card img, .category-card .image-placeholder { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; transition:transform .5s ease; }
.category-card:hover img { transform:scale(1.03); }
.category-label { position:absolute; inset:auto 0 0; padding:25px; color:white; background:linear-gradient(transparent,rgba(0,0,0,.62)); display:flex; justify-content:space-between; align-items:end; }
.category-label strong { font:28px var(--serif); }
.category-label span { font-size:12px; }
.product-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.product-card { min-width:0; }
.product-image { aspect-ratio:4/5; background:#eee9e3; position:relative; overflow:hidden; }
.product-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.product-card:hover img { transform:scale(1.025); }
.product-card h3 { font:19px var(--serif); margin:14px 0 6px; }
.price { font-size:14px; font-weight:700; }
.badge { position:absolute; top:12px; left:12px; background:var(--page); color:var(--text); padding:7px 10px; font-size:10px; text-transform:uppercase; }
.editorial-banner { margin:30px 4.5vw 60px; min-height:440px; position:relative; overflow:hidden; display:flex; align-items:center; }
.editorial-banner img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.editorial-copy { position:relative; z-index:2; margin-left:7%; width:min(480px,80%); padding:45px; background:color-mix(in srgb, var(--page) 88%, transparent); }
.editorial-copy h2 { font:42px var(--serif); margin:0 0 15px; }
.newsletter { margin:40px 4.5vw 70px; padding:50px; background:color-mix(in srgb, var(--accent) 7%, var(--page)); display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.newsletter h2 { font:38px var(--serif); margin:0 0 10px; }
.newsletter form { display:flex; }
.newsletter input, .search-form input { flex:1; padding:16px; border:1px solid var(--line); background:var(--page); color:var(--text); }
.newsletter button, .search-form button { padding:16px 28px; background:var(--accent); color:white; border:0; }
.page-hero { padding:90px 4.5vw 55px; max-width:1000px; }
.page-hero.compact { padding-bottom:20px; }
.filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px; }
.filters a { border:1px solid var(--line); padding:10px 16px; }
.product-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr); gap:55px; align-items:start; }
.product-gallery { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.product-gallery img { width:100%; background:#eee; }
.product-info { position:sticky; top:110px; }
.product-info h1 { font:46px var(--serif); margin:14px 0; }
.product-price { font-size:24px; font-weight:700; margin-bottom:20px; }
.option { padding:12px 0; border-bottom:1px solid var(--line); }
details { border-top:1px solid var(--line); padding:17px 0; }
summary { cursor:pointer; text-transform:uppercase; letter-spacing:.1em; font-size:12px; }
.article-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.article-card { background:var(--card); }
.article-card img, .article-card .image-placeholder { aspect-ratio:1.45; width:100%; object-fit:cover; background:#ddd3ca; }
.article-copy { padding:24px; }
.article-copy h2 { font:28px var(--serif); margin:9px 0; }
.article-copy p { line-height:1.65; color:var(--muted); }
.article-page { max-width:1050px; margin:0 auto; padding:80px 30px; }
.article-page header { max-width:790px; margin:auto; text-align:center; }
.article-page h1 { font:60px var(--serif); }
.article-cover { margin:50px 0; width:100%; }
.prose { max-width:780px; margin:0 auto; line-height:1.8; font-size:18px; }
.prose h2 { font:38px var(--serif); }
.image-placeholder { background:linear-gradient(135deg,#e9e1da,#cfc1b6); }
.image-placeholder.portrait { height:100%; }
.product-main { min-height:700px; display:grid; place-items:center; }
.empty-card { padding:40px; border:1px dashed var(--line); color:var(--muted); grid-column:1/-1; }
.site-footer { border-top:1px solid var(--line); padding:55px 4.5vw; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:50px; }
.site-footer > div { display:flex; flex-direction:column; gap:10px; font-size:14px; }
.footer-brand { margin-bottom:10px; }
.social-links { display:flex; gap:15px; }
.legal { border-top:1px solid var(--line); padding:18px 4.5vw; display:flex; justify-content:flex-end; gap:25px; font-size:12px; }
.search-form { max-width:700px; display:flex; }
html[data-theme="noir"] .site-header, html[data-theme="noir"] .topbar { background:#0c0c0b; }
html[data-theme="noir"] .hero-light .hero-overlay { background:linear-gradient(90deg,rgba(12,12,11,.86),rgba(12,12,11,.06)); }
html[data-theme="noir"] .hero-light .hero-copy { color:#fff; }

@media (max-width:1050px) {
  .site-header { grid-template-columns:1fr auto; }
  .main-nav { display:none; }
  .category-grid { grid-template-columns:repeat(2,1fr); }
  .product-grid { grid-template-columns:repeat(3,1fr); }
  .article-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:700px) {
  .site-header { min-height:64px; padding:0 18px; }
  .brand { font-size:18px; }
  .topbar { font-size:10px; }
  .hero { min-height:630px; align-items:end; padding-bottom:55px; }
  .hero-copy { margin:0 22px; width:auto; }
  .hero-copy h1 { font-size:44px; }
  .hero-copy p { font-size:16px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .section { padding:42px 18px; }
  .category-grid, .product-grid, .article-grid { grid-template-columns:1fr 1fr; }
  .product-layout { grid-template-columns:1fr; }
  .product-gallery { grid-template-columns:1fr; }
  .product-info { position:static; }
  .newsletter { margin:20px 18px 45px; padding:30px; grid-template-columns:1fr; }
  .newsletter form { flex-direction:column; }
  .site-footer { grid-template-columns:1fr 1fr; padding:42px 18px; }
  .article-page h1 { font-size:42px; }
}
@media (max-width:430px) {
  .category-grid, .product-grid, .article-grid { grid-template-columns:1fr; }
  .site-footer { grid-template-columns:1fr; }
}

/* BERYMAGIYA_OZON_SYNC_V01 */
.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.product-price-row .product-price { margin-bottom: 0; }
.product-old-price,
.product-card .price del,
.product-variant-price del {
  color: #81766e;
  font-size: .82em;
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.product-card .price del { margin-left: 7px; }
.product-variants {
  margin: 28px 0;
  border-top: 1px solid rgba(45, 36, 31, .14);
}
.product-variants h2 {
  margin: 22px 0 12px;
  font: 24px var(--serif);
}
.product-variant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(45, 36, 31, .14);
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}
.product-variant:hover { opacity: .65; }
.product-variant-main {
  display: grid;
  gap: 4px;
}
.product-variant-main small { color: #81766e; }
.product-variant-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
  font-weight: 700;
}
@media (max-width: 560px) {
  .product-variant { align-items: flex-start; }
  .product-variant-main small { font-size: 11px; }
}

/* BERYMAGIYA_PRODUCT_PAGE_V02 */
.product-page-v02 {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.product-media-v02 {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.product-main-media-v02 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--page) 82%, #d8cec5);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-main-image-v02 {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 145px);
  object-fit: contain;
  object-position: center;
  background: color-mix(in srgb, var(--page) 82%, #d8cec5);
}

.product-thumbnails-v02 {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 145px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 2px;
}

.product-thumb-v02 {
  flex: 0 0 auto;
  width: 72px;
  height: 92px;
  padding: 0;
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--page) 82%, #d8cec5);
  cursor: pointer;
  opacity: .66;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.product-thumb-v02:hover,
.product-thumb-v02.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.product-thumb-v02:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-thumb-v02 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-v02 {
  position: sticky;
  top: 110px;
  min-width: 0;
}

.product-heading-v02 h1 {
  font: clamp(38px, 4.1vw, 62px)/.99 var(--serif);
  letter-spacing: -.025em;
  margin: 13px 0 22px;
  max-width: 14ch;
}

.product-price-block-v02 {
  margin-bottom: 22px;
}

.product-price-row-v02 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.product-price-v02 {
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1;
  font-weight: 700;
}

.product-old-price-v02 {
  color: var(--muted);
  font-size: 15px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.product-saving-v02 {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  font-size: 12px;
  letter-spacing: .035em;
}

.is-hidden { display: none !important; }

.product-lead-v02 {
  margin: 0 0 24px;
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  line-height: 1.65;
  max-width: 58ch;
}

.product-variant-section-v02 {
  margin: 26px 0 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-variant-heading-v02 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.product-variant-heading-v02 h2 {
  margin: 0;
  font: 26px/1.15 var(--serif);
}

.product-stock-state-v02 {
  color: #39724a;
  font-size: 12px;
  white-space: nowrap;
}

.product-stock-state-v02.is-unavailable {
  color: #8b4b45;
}

.product-variant-grid-v02 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.product-variant-button-v02 {
  min-width: 112px;
  min-height: 48px;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.product-variant-button-v02:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}

.product-variant-button-v02.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--page));
}

.product-variant-button-v02:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-variant-label-v02 {
  font-weight: 600;
}

.product-variant-inline-price-v02 {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.product-selected-v02 {
  display: flex;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-selected-v02 strong {
  color: var(--text);
}

.product-buy-button-v02 {
  width: 100%;
  min-height: 56px;
  margin: 18px 0 0;
  border-color: #005bff;
  background: #005bff;
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
}

.product-buy-button-v02:hover {
  background: #004ee0;
  border-color: #004ee0;
}

.product-buy-button-v02.is-disabled {
  pointer-events: none;
  opacity: .48;
}

.product-buy-note-v02 {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.product-accordions-v02 {
  margin-top: 28px;
}

.product-accordions-v02 details {
  padding: 19px 0;
}

.product-accordions-v02 summary {
  font-weight: 600;
}

.product-richtext-v02 {
  padding-top: 14px;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.67;
}

.product-richtext-v02 > :first-child { margin-top: 0; }
.product-richtext-v02 > :last-child { margin-bottom: 0; }
.product-richtext-v02 ul { padding-left: 20px; }

@media (max-width: 1050px) {
  .product-page-v02 {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
    gap: 34px;
  }

  .product-media-v02 {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .product-thumb-v02 {
    width: 60px;
    height: 78px;
  }
}

@media (max-width: 760px) {
  .product-page-v02 {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 22px;
  }

  .product-media-v02 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-main-media-v02 {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 5;
    max-height: none;
  }

  .product-main-image-v02 {
    max-height: none;
  }

  .product-thumbnails-v02 {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 7px;
  }

  .product-thumb-v02 {
    width: 70px;
    height: 88px;
  }

  .product-info-v02 {
    position: static;
  }

  .product-heading-v02 h1 {
    font-size: clamp(34px, 10vw, 47px);
    max-width: none;
    margin-bottom: 18px;
  }

  .product-variant-button-v02 {
    flex: 1 1 calc(50% - 6px);
    min-width: 135px;
  }
}

@media (max-width: 430px) {
  .product-page-v02 {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-main-media-v02 {
    aspect-ratio: 1 / 1.22;
  }

  .product-thumb-v02 {
    width: 62px;
    height: 78px;
  }

  .product-variant-grid-v02 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-variant-button-v02 {
    min-width: 0;
    width: 100%;
    padding: 10px;
    gap: 8px;
  }

  .product-variant-inline-price-v02 {
    display: none;
  }
}

/* BERYMAGIYA_CATALOG_V03 */

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

.catalog-hero-v03 {
  padding: clamp(70px, 9vw, 130px) 4.5vw clamp(42px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.catalog-hero-copy-v03 {
  max-width: 880px;
}

.catalog-hero-copy-v03 h1 {
  margin: 13px 0 18px;
  font: clamp(54px, 7.2vw, 108px)/.92 var(--serif);
  letter-spacing: -.045em;
}

.catalog-intro-v03 {
  max-width: 680px;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

.catalog-intro-v03 > :first-child { margin-top: 0; }
.catalog-intro-v03 > :last-child { margin-bottom: 0; }

.catalog-hero-meta-v03 {
  min-width: 155px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-hero-meta-v03 strong {
  color: var(--text);
  font: 24px/1.1 var(--serif);
}

.catalog-shell-v03 {
  max-width: 1680px;
  margin: 0 auto;
}

.catalog-preview-note-v03 {
  margin-bottom: 24px;
  padding: 15px 18px;
  border: 1px solid #d4b778;
  background: color-mix(in srgb, #f3dfb1 32%, var(--page));
  font-size: 13px;
  line-height: 1.55;
}

.catalog-categories-v03 {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 13px;
  margin-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.catalog-categories-v03::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.catalog-category-v03 {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.catalog-category-v03 small {
  color: var(--muted);
  font-size: 10px;
}

.catalog-category-v03:hover,
.catalog-category-v03.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.catalog-category-v03:hover small,
.catalog-category-v03.is-active small {
  color: color-mix(in srgb, #fff 72%, transparent);
}

.catalog-toolbar-v03 {
  min-height: 66px;
  margin-bottom: 28px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 30px;
  align-items: center;
}

.catalog-search-v03 {
  max-width: 460px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.catalog-search-v03 input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.catalog-search-v03 input::placeholder {
  color: var(--muted);
}

.catalog-result-v03 {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.catalog-result-v03 strong {
  color: var(--text);
}

.catalog-sort-v03 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.catalog-sort-v03 select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--page);
  color: var(--text);
  font: inherit;
}

.catalog-grid-v03 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 52px) clamp(14px, 2vw, 28px);
}

.catalog-card-v03 {
  min-width: 0;
}

.catalog-card-v03[hidden] {
  display: none;
}

.catalog-card-link-v03 {
  display: block;
}

.catalog-card-media-v03 {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 76%, #ded3ca);
}

.catalog-card-image-v03,
.catalog-card-media-v03 .image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: color-mix(in srgb, var(--page) 76%, #ded3ca);
  transition: opacity .45s ease, transform .55s ease;
}

.catalog-card-image-v03.is-secondary {
  opacity: 0;
}

.catalog-card-v03:hover .catalog-card-image-v03.is-primary {
  opacity: 0;
  transform: scale(1.015);
}

.catalog-card-v03:hover .catalog-card-image-v03.is-secondary {
  opacity: 1;
  transform: scale(1.015);
}

.catalog-card-badges-v03 {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.catalog-card-badge-v03 {
  padding: 7px 9px;
  background: var(--page);
  color: var(--text);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-card-badge-v03.is-sale {
  background: var(--accent);
  color: #fff;
}

.catalog-card-badge-v03.is-draft {
  background: #b27a15;
  color: #fff;
}

.catalog-card-action-v03 {
  position: absolute;
  inset: auto 12px 12px;
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(8px);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 14px));
  transition: transform .3s ease;
}

.catalog-card-v03:hover .catalog-card-action-v03 {
  transform: translateY(0);
}

.catalog-card-copy-v03 {
  padding-top: 15px;
}

.catalog-card-category-v03 {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.catalog-card-copy-v03 h2 {
  min-height: 2.55em;
  margin: 8px 0 7px;
  font: clamp(18px, 1.55vw, 25px)/1.08 var(--serif);
  letter-spacing: -.015em;
}

.catalog-card-colors-v03 {
  min-height: 1.4em;
  margin: 0 0 11px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card-footer-v03 {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.catalog-card-price-v03 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-card-price-v03 strong {
  font-size: 15px;
}

.catalog-card-price-v03 del {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.catalog-card-variants-v03 {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.catalog-empty-v03 {
  grid-column: 1 / -1;
  min-height: 230px;
  padding: 50px;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.catalog-empty-v03.is-filter-empty {
  margin-top: 25px;
}

@media (max-width: 1180px) {
  .catalog-grid-v03 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar-v03 {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .catalog-result-v03 {
    display: none;
  }
}

@media (max-width: 820px) {
  .catalog-hero-v03 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog-hero-meta-v03 {
    padding: 0;
    border-left: 0;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: baseline;
    gap: 10px;
  }

  .catalog-toolbar-v03 {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .catalog-search-v03 {
    max-width: none;
  }

  .catalog-sort-v03 {
    justify-content: space-between;
  }

  .catalog-sort-v03 select {
    flex: 1;
    max-width: 230px;
  }

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

  .catalog-card-action-v03 {
    transform: none;
  }
}

@media (max-width: 520px) {
  .catalog-hero-v03 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .catalog-hero-copy-v03 h1 {
    font-size: clamp(50px, 17vw, 74px);
  }

  .catalog-shell-v03 {
    padding-left: 12px;
    padding-right: 12px;
  }

  .catalog-grid-v03 {
    gap: 28px 9px;
  }

  .catalog-card-copy-v03 {
    padding-top: 11px;
  }

  .catalog-card-copy-v03 h2 {
    min-height: 3.2em;
    font-size: clamp(16px, 5vw, 20px);
  }

  .catalog-card-category-v03 {
    font-size: 8px;
  }

  .catalog-card-colors-v03,
  .catalog-card-variants-v03 {
    display: none;
  }

  .catalog-card-footer-v03 {
    align-items: start;
  }

  .catalog-card-price-v03 {
    display: grid;
    gap: 3px;
  }

  .catalog-card-badges-v03 {
    top: 7px;
    left: 7px;
  }

  .catalog-card-badge-v03 {
    padding: 6px 7px;
    font-size: 8px;
  }

  .catalog-card-action-v03 {
    inset: auto 7px 7px;
    min-height: 34px;
    padding: 0 9px;
    font-size: 8px;
  }
}

@media (max-width: 350px) {
  .catalog-grid-v03 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .catalog-card-copy-v03 h2 {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .product-thumbnails-v02 {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    padding-bottom: 0;
  }

  .product-thumbnails-v02::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }

  .product-thumbnails-v02::-webkit-scrollbar-thumb,
  .product-thumbnails-v02::-webkit-scrollbar-track {
    background: transparent !important;
  }
}

/* BERYMAGIYA_CATALOG_V031 */

.catalog-shell-v03 {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    clamp(34px, 4.5vw, 74px)
    clamp(18px, 4.5vw, 72px)
    clamp(78px, 8vw, 132px);
}

.catalog-preview-note-v03,
.catalog-categories-v03,
.catalog-toolbar-v03,
.catalog-grid-v03,
.catalog-empty-v03.is-filter-empty {
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-grid-v03 {
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(18px, 2.1vw, 34px);
  row-gap: clamp(42px, 4vw, 70px);
}

.catalog-card-v03 {
  height: 100%;
}

.catalog-card-link-v03 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.catalog-card-media-v03 {
  flex: 0 0 auto;
}

.catalog-card-copy-v03 {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-top: 17px;
}

.catalog-card-copy-v03 h2 {
  display: -webkit-box;
  min-height: 3.18em;
  margin: 9px 0 8px;
  overflow: hidden;
  font-size: clamp(21px, 1.65vw, 29px);
  line-height: 1.06;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog-card-colors-v03 {
  min-height: 1.45em;
  margin-bottom: 14px;
  font-size: 12px;
}

.catalog-card-footer-v03 {
  margin-top: auto;
  padding-top: 4px;
}

.catalog-card-price-v03 strong {
  font-size: clamp(16px, 1.15vw, 20px);
}

.catalog-card-price-v03 del {
  font-size: 12px;
}

.catalog-card-variants-v03 {
  font-size: 11px;
}

.catalog-card-category-v03 {
  font-size: 10px;
}

.catalog-card-action-v03 {
  min-height: 44px;
}

@media (min-width: 1540px) {
  .catalog-grid-v03 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .catalog-grid-v03 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-card-copy-v03 h2 {
    font-size: clamp(20px, 2vw, 27px);
  }
}

@media (max-width: 820px) {
  .catalog-shell-v03 {
    padding:
      32px
      clamp(16px, 4vw, 28px)
      82px;
  }

  .catalog-grid-v03 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 38px;
  }

  .catalog-card-copy-v03 h2 {
    min-height: 3.2em;
    font-size: clamp(18px, 3.9vw, 24px);
  }
}

@media (max-width: 520px) {
  .catalog-shell-v03 {
    padding:
      26px
      10px
      70px;
  }

  .catalog-grid-v03 {
    column-gap: 8px;
    row-gap: 31px;
  }

  .catalog-card-copy-v03 {
    padding-top: 11px;
  }

  .catalog-card-copy-v03 h2 {
    min-height: 3.25em;
    margin-top: 6px;
    font-size: clamp(16px, 5vw, 20px);
  }

  .catalog-card-price-v03 strong {
    font-size: 15px;
  }

  .catalog-card-price-v03 del {
    font-size: 10px;
  }
}

@media (max-width: 350px) {
  .catalog-grid-v03 {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .catalog-card-copy-v03 h2 {
    min-height: auto;
  }
}
\n/* BERYMAGIYA_HOME_V04 */

.home-preview-note-v04 {
  max-width: 1560px;
  margin: 28px auto 0;
  padding: 15px 18px;
  border: 1px solid #d4b778;
  background: color-mix(in srgb, #f3dfb1 32%, var(--page));
  font-size: 13px;
  line-height: 1.55;
}

.home-hero-v04 {
  min-height: clamp(650px, 78vh, 900px);
  isolation: isolate;
}

.home-hero-v04 .hero-copy {
  width: min(760px, 48vw);
}

.home-hero-v04 .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(62px, 6vw, 104px);
  line-height: .94;
  letter-spacing: -.045em;
}

.home-hero-v04 .hero-copy p {
  max-width: 570px;
  font-size: clamp(17px, 1.3vw, 21px);
}

.home-hero-collage-v04 {
  position: absolute;
  inset: 0 0 0 47%;
  overflow: hidden;
  z-index: -1;
}

.home-hero-shot-v04 {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: color-mix(in srgb, var(--page) 72%, #c8b3a4);
  box-shadow: 0 25px 70px rgba(36, 31, 27, .14);
}

.home-hero-shot-v04 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: color-mix(in srgb, var(--page) 72%, #c8b3a4);
}

.home-hero-shot-v04.shot-1 {
  width: 43%;
  height: 78%;
  top: 10%;
  right: 6%;
  z-index: 3;
}

.home-hero-shot-v04.shot-2 {
  width: 30%;
  height: 56%;
  left: 2%;
  bottom: 4%;
  z-index: 2;
  transform: rotate(-2deg);
}

.home-hero-shot-v04.shot-3 {
  width: 25%;
  height: 43%;
  left: 23%;
  top: 5%;
  z-index: 1;
  transform: rotate(2deg);
}

.home-section-v04 {
  max-width: 1680px;
  margin: 0 auto;
  padding:
    clamp(70px, 8vw, 130px)
    clamp(18px, 4.5vw, 72px);
}

.home-heading-v04 {
  margin-bottom: clamp(30px, 4vw, 58px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.home-heading-v04 h2 {
  margin: 10px 0 0;
  font: clamp(48px, 5vw, 82px)/.96 var(--serif);
  letter-spacing: -.035em;
}

.home-heading-v04 > a {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--text);
  font-size: 13px;
}

.home-category-grid-v04 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(18px, 2.2vw, 34px);
}

.home-category-card-v04 {
  position: relative;
  min-width: 0;
}

.home-category-media-v04 {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 72%, #d8c8bb);
}

.home-category-media-v04 img,
.home-category-media-v04 .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .55s ease;
}

.home-category-card-v04:hover .home-category-media-v04 img {
  transform: scale(1.025);
}

.home-category-label-v04 {
  padding-top: 15px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.home-category-label-v04 span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-category-label-v04 h3 {
  margin: 6px 0 0;
  font: clamp(21px, 1.7vw, 30px)/1.05 var(--serif);
}

.home-category-label-v04 b {
  font-size: 20px;
  font-weight: 400;
}

.home-products-v04 {
  border-top: 1px solid var(--line);
}

.home-product-grid-v04 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 50px) clamp(14px, 2vw, 28px);
}

.home-product-grid-v04 .catalog-card-v03:nth-child(n + 9) {
  display: none;
}

.home-gift-v04 {
  min-height: clamp(620px, 74vw, 940px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  background: color-mix(in srgb, var(--accent) 7%, var(--page));
}

.home-gift-media-v04 {
  min-height: 620px;
  overflow: hidden;
}

.home-gift-media-v04 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: color-mix(in srgb, var(--page) 75%, #d7c8bd);
}

.home-gift-copy-v04 {
  padding: clamp(55px, 8vw, 130px);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.home-gift-copy-v04 h2 {
  max-width: 650px;
  margin: 15px 0 25px;
  font: clamp(52px, 5.4vw, 92px)/.94 var(--serif);
  letter-spacing: -.04em;
}

.home-gift-copy-v04 p {
  max-width: 570px;
  margin: 0 0 35px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
}

.home-values-v04 {
  padding:
    clamp(58px, 7vw, 100px)
    clamp(18px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-values-v04 article {
  padding: 0 clamp(20px, 3vw, 54px);
  border-right: 1px solid var(--line);
}

.home-values-v04 article:first-child {
  padding-left: 0;
}

.home-values-v04 article:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-values-v04 span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .15em;
}

.home-values-v04 h3 {
  margin: 18px 0 13px;
  font: clamp(27px, 2.4vw, 40px)/1 var(--serif);
}

.home-values-v04 p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-social-v04 {
  padding:
    clamp(65px, 8vw, 120px)
    clamp(18px, 4.5vw, 72px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  background: var(--accent);
  color: #fff;
}

.home-social-v04 h2 {
  margin: 12px 0 18px;
  font: clamp(48px, 5vw, 86px)/.95 var(--serif);
  letter-spacing: -.04em;
}

.home-social-v04 p {
  max-width: 620px;
  margin: 0;
  color: color-mix(in srgb, #fff 72%, transparent);
  font-size: 17px;
  line-height: 1.7;
}

.home-social-actions-v04 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-social-v04 .button.primary {
  background: #fff;
  color: var(--accent);
}

.home-social-v04 .button.ghost {
  border-color: color-mix(in srgb, #fff 70%, transparent);
  color: #fff;
}

@media (min-width: 1500px) {
  .home-product-grid-v04 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-product-grid-v04 .catalog-card-v03:nth-child(n + 11) {
    display: none;
  }
}

@media (max-width: 1180px) {
  .home-product-grid-v04 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-gift-v04 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .home-hero-v04 {
    min-height: 760px;
    align-items: start;
    padding-top: 72px;
  }

  .home-hero-v04 .hero-copy {
    width: min(650px, calc(100vw - 44px));
  }

  .home-hero-v04 .hero-copy h1 {
    font-size: clamp(52px, 12vw, 78px);
  }

  .home-hero-collage-v04 {
    inset: 48% 0 0;
  }

  .home-hero-shot-v04.shot-1 {
    width: 48%;
    height: 88%;
    top: 6%;
    right: 4%;
  }

  .home-hero-shot-v04.shot-2 {
    width: 37%;
    height: 70%;
    left: 7%;
    bottom: 0;
  }

  .home-hero-shot-v04.shot-3 {
    display: none;
  }

  .home-product-grid-v04 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gift-v04 {
    grid-template-columns: 1fr;
  }

  .home-gift-media-v04 {
    min-height: 540px;
  }

  .home-values-v04 {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .home-values-v04 article,
  .home-values-v04 article:first-child,
  .home-values-v04 article:last-child {
    padding: 0 0 35px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-values-v04 article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .home-social-v04 {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .home-preview-note-v04 {
    margin: 16px 12px 0;
  }

  .home-section-v04 {
    padding:
      62px
      12px;
  }

  .home-heading-v04 {
    align-items: start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .home-heading-v04 h2 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .home-product-grid-v04 {
    gap: 30px 8px;
  }

  .home-category-label-v04 h3 {
    font-size: 20px;
  }

  .home-gift-media-v04 {
    min-height: 430px;
  }

  .home-gift-copy-v04 {
    padding: 58px 20px;
  }

  .home-values-v04,
  .home-social-v04 {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* BERYMAGIYA_HOME_V041 */

/* Первый экран: делаем товарный коллаж видимым поверх фона. */
.home-hero-v04 {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--page) 88%, #c7aa98) 0%,
      color-mix(in srgb, var(--page) 82%, #c4a28d) 44%,
      color-mix(in srgb, var(--page) 55%, #a9846f) 100%
    );
}

.home-hero-v04 .hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(247, 243, 239, .96) 0%,
      rgba(247, 243, 239, .82) 42%,
      rgba(247, 243, 239, .12) 72%,
      rgba(247, 243, 239, 0) 100%
    );
}

.home-hero-v04 .hero-copy {
  position: relative;
  z-index: 3;
}

.home-hero-collage-v04 {
  z-index: 0;
  pointer-events: none;
}

.home-hero-shot-v04 {
  border: 1px solid rgba(45, 36, 31, .09);
}

.home-hero-shot-v04 img {
  object-fit: contain;
}

/* Режим проверки — отдельный аккуратный блок, а не строка поверх экрана. */
.home-preview-note-v04 {
  position: relative;
  z-index: 6;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1560px;
  margin: 26px auto 0;
  padding: 15px 18px;
  border: 1px solid #d4b778;
  background: #fbf3df;
  color: var(--text);
}

/* Категории: ограничиваем высоту, чтобы блок не был чрезмерно длинным. */
.home-category-media-v04 {
  max-height: 640px;
}

/* Подборка товаров: карточки одной высоты. */
.home-product-grid-v04 {
  align-items: stretch;
}

.home-product-grid-v04 .catalog-card-v03,
.home-product-grid-v04 .catalog-card-link-v03 {
  height: 100%;
}

/* Подарочный блок: премиальный формат без огромной высоты. */
.home-gift-v04 {
  width: min(100%, 1680px);
  min-height: 640px;
  max-height: 760px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  overflow: hidden;
}

.home-gift-media-v04 {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-gift-media-v04 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-gift-copy-v04 {
  min-width: 0;
  padding: clamp(52px, 6vw, 96px);
}

.home-gift-copy-v04 h2 {
  max-width: 560px;
  margin: 14px 0 24px;
  font-size: clamp(52px, 4.7vw, 78px);
  line-height: .95;
}

.home-gift-copy-v04 p {
  max-width: 540px;
}

/* Преимущества и соцблок — компактнее на широком экране. */
.home-values-v04,
.home-social-v04 {
  box-sizing: border-box;
  width: min(100%, 1680px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1180px) {
  .home-gift-v04 {
    max-height: none;
    grid-template-columns: 1fr 1fr;
  }

  .home-gift-copy-v04 h2 {
    font-size: clamp(48px, 5.6vw, 70px);
  }
}

@media (max-width: 820px) {
  .home-hero-v04 .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(247, 243, 239, .96) 0%,
        rgba(247, 243, 239, .82) 44%,
        rgba(247, 243, 239, .12) 72%,
        rgba(247, 243, 239, 0) 100%
      );
  }

  .home-preview-note-v04 {
    width: calc(100% - 28px);
    margin-top: 16px;
  }

  .home-gift-v04 {
    max-height: none;
    grid-template-columns: 1fr;
  }

  .home-gift-media-v04 {
    height: min(78vw, 620px);
  }

  .home-gift-media-v04 img {
    object-fit: contain;
    background: color-mix(in srgb, var(--page) 76%, #d3c1b5);
  }

  .home-gift-copy-v04 {
    padding: 58px 28px 70px;
  }
}

@media (max-width: 520px) {
  .home-hero-v04 {
    min-height: 720px;
  }

  .home-hero-collage-v04 {
    inset: 50% 0 0;
  }

  .home-hero-shot-v04.shot-1 {
    width: 52%;
    right: 3%;
  }

  .home-hero-shot-v04.shot-2 {
    width: 42%;
    left: 3%;
  }

  .home-preview-note-v04 {
    width: calc(100% - 20px);
    padding: 13px 14px;
    font-size: 12px;
  }

  .home-gift-media-v04 {
    height: 100vw;
  }

  .home-gift-copy-v04 h2 {
    font-size: clamp(46px, 14vw, 64px);
  }
}

/* BERYMAGIYA_HOME_V042 */

/*
  Исправление подарочного блока:
  изображение показывается целиком и больше не обрезается.
*/

.home-gift-v04 {
  max-height: none;
  min-height: 0;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
}

.home-gift-media-v04 {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 76%, #d3c1b5);
}

.home-gift-media-v04 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: color-mix(in srgb, var(--page) 76%, #d3c1b5);
}

.home-gift-copy-v04 {
  min-height: 100%;
  align-self: stretch;
}

@media (max-width: 1180px) {
  .home-gift-v04 {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  }

  .home-gift-media-v04 {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 820px) {
  .home-gift-v04 {
    grid-template-columns: 1fr;
  }

  .home-gift-media-v04 {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .home-gift-media-v04 img {
    object-fit: contain;
  }
}

@media (max-width: 520px) {
  .home-gift-media-v04 {
    aspect-ratio: 1 / 1;
  }
}

/* BERYMAGIYA_HOME_V043 */

/*
  Исходное изображение подарочного набора: 900 x 1200 px.
  Реальное соотношение сторон: 3 / 4 (вертикальное).
  На компьютере показываем изображение целиком внутри ограниченной
  по высоте левой панели. На телефоне сохраняем его родную пропорцию.
*/

.home-gift-v04 {
  box-sizing: border-box;
  width: min(100%, 1680px);
  height: clamp(680px, 48vw, 820px);
  min-height: 680px;
  max-height: 820px;
  margin: 0 auto;
  grid-template-columns: minmax(520px, .88fr) minmax(460px, 1.12fr);
  align-items: stretch;
  overflow: hidden;
}

.home-gift-media-v04 {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto !important;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 76%, #d3c1b5);
}

.home-gift-media-v04 img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent;
}

.home-gift-copy-v04 {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: clamp(48px, 5.4vw, 88px);
  align-self: stretch;
  justify-content: center;
}

.home-gift-copy-v04 h2 {
  max-width: 620px;
  font-size: clamp(52px, 4.7vw, 78px);
}

@media (max-width: 1180px) {
  .home-gift-v04 {
    height: clamp(620px, 62vw, 760px);
    min-height: 620px;
    max-height: 760px;
    grid-template-columns: minmax(430px, .95fr) minmax(360px, 1.05fr);
  }

  .home-gift-copy-v04 {
    padding: 44px 40px;
  }
}

@media (max-width: 820px) {
  .home-gift-v04 {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .home-gift-media-v04 {
    height: auto;
    aspect-ratio: 3 / 4 !important;
  }

  .home-gift-media-v04 img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
  }

  .home-gift-copy-v04 {
    height: auto;
    padding: 58px 28px 70px;
  }
}

@media (max-width: 520px) {
  .home-gift-media-v04 {
    aspect-ratio: 3 / 4 !important;
  }

  .home-gift-copy-v04 {
    padding: 50px 20px 62px;
  }
}

/* BERYMAGIYA_HOME_V044 */

/*
  Окончательное исправление подарочного блока.
  Причина обрезки была не в самом изображении, а в фиксированной
  высоте родительского контейнера с overflow: hidden.

  Теперь высоту блока задаёт само вертикальное изображение 900x1200,
  поэтому оно показывается полностью.
*/

.home-gift-v04 {
  width: min(100%, 1680px);
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  align-items: stretch;
  overflow: visible !important;
}

.home-gift-media-v04 {
  display: block !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: color-mix(in srgb, var(--page) 76%, #d3c1b5);
}

.home-gift-media-v04 img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: 3 / 4;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent;
}

.home-gift-copy-v04 {
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch;
  justify-content: center;
}

@media (max-width: 1180px) {
  .home-gift-v04 {
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  }
}

@media (max-width: 820px) {
  .home-gift-v04 {
    grid-template-columns: 1fr;
  }

  .home-gift-media-v04,
  .home-gift-media-v04 img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
  }
}

/* BERYMAGIYA_STORE_FINAL_V06 */

.content-page-hero-v06,
.journal-hero-v06,
.article-header-v06 {
  padding:
    clamp(62px, 7vw, 108px)
    clamp(20px, 5vw, 84px)
    clamp(38px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.content-page-hero-v06 h1,
.journal-hero-v06 h1,
.article-header-v06 h1 {
  max-width: 1150px;
  margin: 10px 0 0;
  font: clamp(48px, 6vw, 92px)/.95 var(--serif);
  letter-spacing: -.04em;
}

.content-page-hero-v06 > p,
.journal-hero-v06 > div,
.article-header-v06 > p {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.content-page-v06 {
  max-width: 1180px;
  margin: 0 auto;
  padding:
    clamp(48px, 6vw, 90px)
    clamp(20px, 4vw, 48px)
    clamp(72px, 8vw, 125px);
  display: flow-root;
}

/* Изображения информационных страниц сохраняют родные пропорции. */
.content-page-v06 .richtext-image,
.content-page-v06 img {
  display: block;
  height: auto;
  max-width: min(100%, 620px);
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  background: color-mix(in srgb, var(--page) 75%, #d9ccc2);
}

.content-page-v06 .richtext-image.left {
  float: left;
  width: min(43%, 520px);
  margin: 4px clamp(28px, 4vw, 58px) 32px 0;
}

.content-page-v06 .richtext-image.right {
  float: right;
  width: min(43%, 520px);
  margin: 4px 0 32px clamp(28px, 4vw, 58px);
}

.content-page-v06 .richtext-image.full-width {
  float: none;
  width: min(100%, 820px);
  margin: 0 auto 52px;
}

.content-page-v06 h2,
.article-body-v06 h2,
.contacts-copy-v06 h2 {
  margin: 1.7em 0 .55em;
  font: clamp(32px, 3vw, 48px)/1.04 var(--serif);
  letter-spacing: -.025em;
}

.content-page-v06 p,
.content-page-v06 li,
.article-body-v06 p,
.article-body-v06 li,
.contacts-copy-v06 p,
.contacts-copy-v06 li {
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.78;
}

.content-page-v06 a,
.contacts-copy-v06 a,
.article-body-v06 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contacts-layout-v06 {
  max-width: 1380px;
  margin: 0 auto;
  padding:
    clamp(48px, 6vw, 88px)
    clamp(20px, 5vw, 80px)
    clamp(75px, 8vw, 125px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.contacts-panel-v06 {
  display: grid;
  gap: 12px;
}

.contact-card-v06 {
  min-height: 94px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 90%, #d6c5b9);
  transition: transform .2s ease, background .2s ease;
}

.contact-card-v06:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--page) 78%, #d6c5b9);
}

.contact-card-v06 span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-card-v06 strong {
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 500;
}

.contact-card-accent-v06 {
  background: var(--accent);
  color: #fff;
}

.contact-card-accent-v06 span {
  color: rgba(255, 255, 255, .66);
}

.journal-grid-v06 {
  max-width: 1680px;
  margin: 0 auto;
  padding:
    clamp(48px, 6vw, 95px)
    clamp(18px, 4.5vw, 72px)
    clamp(85px, 9vw, 145px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 64px) clamp(18px, 2.4vw, 36px);
}

.journal-card-media-v06 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 75%, #d9ccc2);
}

.journal-card-media-v06 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s ease;
}

.journal-card-v06:hover img {
  transform: scale(1.02);
}

.journal-card-copy-v06 {
  padding: 18px 2px 0;
}

.journal-card-copy-v06 time,
.article-header-v06 time {
  color: var(--muted);
  font-size: 11px;
}

.article-tags-v06 {
  margin: 11px 0 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.article-tags-v06 span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.journal-card-copy-v06 h2 {
  min-height: 2.25em;
  margin: 7px 0 11px;
  font: clamp(25px, 2.1vw, 35px)/1.03 var(--serif);
}

.journal-card-copy-v06 p {
  min-height: 4.8em;
  margin: 0 0 17px;
  color: var(--muted);
  line-height: 1.6;
}

.journal-card-copy-v06 b,
.home-journal-v06 b {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-page-v06 {
  padding-bottom: 82px;
}

.article-cover-v06 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.article-cover-v06 img {
  display: block;
  width: 100%;
  max-height: 780px;
  object-fit: contain;
  background: color-mix(in srgb, var(--page) 75%, #d9ccc2);
}

.article-body-v06 {
  max-width: 900px;
  margin: 0 auto;
  padding:
    clamp(48px, 6vw, 88px)
    clamp(20px, 4vw, 45px)
    clamp(62px, 7vw, 105px);
}

.article-footer-v06 {
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 45px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.home-journal-v06 {
  border-top: 1px solid var(--line);
}

.home-journal-grid-v06 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.home-journal-media-v06 {
  aspect-ratio: 4 / 3;
  margin-bottom: 15px;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 75%, #d9ccc2);
}

.home-journal-media-v06 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-journal-v06 h3 {
  margin: 8px 0 11px;
  font: clamp(25px, 2.2vw, 37px)/1.02 var(--serif);
}

.home-journal-v06 p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer-v06 {
  grid-template-columns: 1.35fr .7fr .7fr .9fr;
}

.footer-seller-v06 {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.legal-v06 {
  flex-wrap: wrap;
  gap: 12px 24px;
}

.cookie-notice-v06 {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  width: min(420px, calc(100vw - 36px));
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--page);
  box-shadow: 0 18px 60px rgba(36, 31, 27, .17);
}

.cookie-notice-v06[hidden] {
  display: none;
}

.cookie-notice-v06 p {
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-notice-v06 button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 980px) {
  .contacts-layout-v06 {
    grid-template-columns: 1fr;
  }

  .journal-grid-v06,
  .home-journal-grid-v06 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-v06 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .content-page-v06 .richtext-image.left,
  .content-page-v06 .richtext-image.right,
  .content-page-v06 .richtext-image.full-width {
    float: none;
    width: min(100%, 520px);
    max-width: 100%;
    max-height: 600px;
    margin: 0 auto 36px;
  }

  .journal-grid-v06,
  .home-journal-grid-v06 {
    grid-template-columns: 1fr;
  }

  .site-footer-v06 {
    grid-template-columns: 1fr;
  }

  .article-footer-v06 {
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
  }
}

/* BERYMAGIYA_JOURNAL_V07 */
.article-meta-v07{display:flex;flex-wrap:wrap;gap:12px 20px;color:var(--muted);font-size:11px}.article-body-v07>p:first-child{margin:0 0 42px;padding:22px 24px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--page) 86%,#d8c7bb);font-size:clamp(17px,1.25vw,20px)}.article-body-v07 h3{margin:1.5em 0 .45em;font:clamp(24px,2.2vw,34px)/1.1 var(--serif)}.related-articles-v07{max-width:1380px;margin:0 auto;padding:clamp(58px,7vw,100px) clamp(20px,4vw,60px);border-top:1px solid var(--line)}.related-articles-v07>h2{margin:10px 0 36px;font:clamp(38px,4.5vw,68px)/.98 var(--serif);letter-spacing:-.035em}.related-grid-v07{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3vw,42px)}.related-grid-v07 img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:color-mix(in srgb,var(--page) 75%,#d9ccc2)}.related-grid-v07 article>a>span{display:block;margin-top:14px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em}.related-grid-v07 h3{margin:8px 0 10px;font:clamp(24px,2vw,34px)/1.04 var(--serif)}.related-grid-v07 p{color:var(--muted);line-height:1.55}@media(max-width:900px){.related-grid-v07{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.related-grid-v07{grid-template-columns:1fr}}

/* BERYMAGIYA_PRELAUNCH_V08 */

.skip-link-v08 {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--accent);
  color: #fff;
}

.skip-link-v08:focus {
  transform: translateY(0);
}

.mobile-menu-button-v08 {
  display: none;
  min-width: 56px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.mobile-menu-button-v08 span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-menu-button-v08 b {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Компактная нижняя панель вместо крупного окна. */
.cookie-notice-v06 {
  right: auto !important;
  left: 50% !important;
  bottom: 12px !important;
  width: min(760px, calc(100vw - 24px)) !important;
  padding: 12px 14px !important;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-notice-v06 p {
  margin: 0 !important;
}

.cookie-notice-v06 button {
  flex: 0 0 auto;
}

.error-page-v08 {
  min-height: 68vh;
  padding:
    clamp(72px, 10vw, 150px)
    clamp(20px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code-v08 {
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--muted) 55%, transparent);
  font: clamp(76px, 13vw, 170px)/.8 var(--serif);
}

.error-page-v08 h1 {
  margin: 12px 0 20px;
  font: clamp(48px, 7vw, 100px)/.94 var(--serif);
  letter-spacing: -.04em;
}

.error-page-v08 p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
}

.error-actions-v08 {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 980px) {
  body.menu-open-v08 {
    overflow: hidden;
  }

  .mobile-menu-button-v08 {
    display: block;
    order: 3;
  }

  .site-header .main-nav {
    position: fixed;
    z-index: 90;
    inset: var(--mobile-menu-top-v08, 120px) 0 0;
    padding: 42px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--page);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform .28s ease,
      visibility .28s ease;
  }

  .site-header .main-nav.is-open-v08 {
    transform: translateX(0);
    visibility: visible;
  }

  .site-header .main-nav a {
    padding: 17px 2px;
    border-bottom: 1px solid var(--line);
    font: clamp(27px, 7vw, 44px)/1 var(--serif);
    text-align: left;
  }

  .site-header .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .cookie-notice-v06 {
    align-items: stretch;
    gap: 10px;
  }

  .cookie-notice-v06 p {
    font-size: 11px !important;
  }

  .cookie-notice-v06 button {
    min-height: 36px !important;
    padding: 0 12px !important;
  }

  .error-actions-v08 {
    width: 100%;
    flex-direction: column;
  }

  .error-actions-v08 a {
    justify-content: center;
  }
}

/* BERYMAGIYA_MOBILE_V09 */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 0;
}

img,
picture,
video,
iframe,
svg {
  max-width: 100%;
}

main,
section,
article,
header,
footer,
nav,
div {
  min-width: 0;
}

.site-header,
.site-header-inner,
.announcement-bar,
.journal-hero-v06,
.journal-grid-v06,
.journal-card-v06,
.journal-card-v06 > a,
.journal-card-media-v06,
.journal-card-copy-v06,
.article-page-v06,
.article-header-v06,
.article-cover-v06,
.article-body-v06,
.related-articles-v07,
.related-grid-v07 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.journal-card-v06 h2,
.article-header-v06 h1,
.article-body-v06 h2,
.article-body-v06 h3,
.related-grid-v07 h3,
.contact-card-v06,
.footer-v06 a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.journal-card-media-v06 img,
.article-cover-v06 img,
.related-grid-v07 img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 980px) {
  .site-header {
    overflow: visible;
  }

  .site-header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-logo,
  .site-logo img {
    max-width: 64px;
  }

  .header-actions {
    gap: 12px;
  }

  .journal-hero-v06 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .journal-grid-v06 {
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .journal-card-v06 {
    margin: 0;
  }

  .journal-card-media-v06 {
    overflow: hidden;
  }

  .journal-card-media-v06 img {
    object-fit: contain;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 92px;
  }

  .announcement-bar {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
  }

  .site-header-inner {
    min-height: 82px;
  }

  .journal-hero-v06 {
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .journal-hero-v06 h1 {
    font-size: clamp(46px, 16vw, 68px);
    line-height: .95;
  }

  .journal-hero-v06 > div {
    font-size: 16px;
    line-height: 1.55;
  }

  .journal-grid-v06 {
    padding-top: 42px;
    padding-bottom: 70px;
  }

  .journal-card-v06 h2 {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1.02;
  }

  .journal-card-v06 p {
    font-size: 15px;
    line-height: 1.55;
  }

  .cookie-notice-v06 {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px 10px 10px 12px !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 10px 30px rgba(43, 37, 33, .16);
  }

  .cookie-notice-v06 p {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  .cookie-notice-v06 a {
    white-space: normal;
  }

  .cookie-notice-v06 button {
    min-width: 78px;
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
  }
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* BERYMAGIYA_MOBILE_V091 */

@media (max-width: 620px) {
  body {
    padding-bottom: 70px;
  }

  .catalog-shell-v03 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .catalog-grid-v03 {
    grid-template-columns: 1fr !important;
    gap: 46px !important;
  }

  .catalog-card-v03 {
    width: 100%;
  }

  .catalog-card-media-v03 {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }

  .catalog-card-copy-v03 {
    padding-top: 15px !important;
  }

  .catalog-card-copy-v03 h2 {
    min-height: auto !important;
    margin: 7px 0 8px !important;
    font-size: clamp(26px, 8.8vw, 36px) !important;
    line-height: 1.02 !important;
    -webkit-line-clamp: unset !important;
  }

  .catalog-card-category-v03 {
    font-size: 9px !important;
  }

  .catalog-card-colors-v03 {
    display: block !important;
    min-height: 0 !important;
    margin-bottom: 11px !important;
    white-space: normal !important;
  }

  .catalog-card-footer-v03 {
    align-items: end !important;
  }

  .catalog-card-price-v03 {
    display: flex !important;
    align-items: baseline !important;
    gap: 9px !important;
  }

  .catalog-card-price-v03 strong {
    font-size: 18px !important;
  }

  .catalog-card-price-v03 del {
    font-size: 11px !important;
  }

  .catalog-card-variants-v03 {
    display: inline !important;
  }

  .catalog-card-action-v03 {
    min-height: 40px !important;
    font-size: 9px !important;
  }

  .journal-card-v06 h2 {
    font-size: clamp(31px, 9.5vw, 39px) !important;
    line-height: 1.01 !important;
  }

  .journal-card-media-v06 img {
    aspect-ratio: 4 / 3;
    object-fit: contain !important;
  }

  .article-header-v06 h1 {
    font-size: clamp(38px, 11vw, 52px) !important;
    line-height: .98 !important;
  }

  .cookie-notice-v06 {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    min-height: 46px !important;
    padding: 7px 8px 7px 11px !important;
    grid-template-columns: minmax(0, 1fr) 70px !important;
    gap: 8px !important;
  }

  .cookie-notice-v06 p {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  .cookie-notice-v06 button {
    min-width: 70px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 9px !important;
  }
}

@media (min-width: 621px) and (max-width: 820px) {
  .catalog-grid-v03 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* BERYMAGIYA_PRODUCT_UX_V012 */

.product-variant-title-v012 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 11px;
  min-width: 0;
}

.product-variant-count-v012 {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.product-variant-button-v02[hidden] {
  display: none !important;
}

.product-variant-toggle-v012 {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: color-mix(
    in srgb,
    var(--text) 72%,
    var(--muted)
  );
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.product-variant-toggle-v012:hover {
  color: var(--text);
}

.product-variant-toggle-v012:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (min-width: 761px) {
  .product-variant-grid-v02 {
    max-height: none;
  }

  .product-variant-button-v02 {
    max-width: 100%;
  }

  .product-variant-label-v02 {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .product-variant-title-v012 {
    display: block;
  }

  .product-variant-count-v012 {
    display: inline-block;
    margin-top: 4px;
  }
}

@media (max-width: 430px) {
  .product-variant-grid-v02 {
    grid-template-columns: 1fr !important;
  }

  .product-variant-button-v02 {
    min-height: 44px;
  }

  .product-variant-inline-price-v02 {
    display: inline !important;
  }

  .product-selected-v02 {
    align-items: flex-start;
    line-height: 1.4;
  }
}

/* BERYMAGIYA_VISUAL_FINAL_V013 */

.visual-home-hero-v013,
.visual-category-section-v013,
.visual-page-banner-v013,
.journal-intro-v013 {
  width: min(100%, 1680px);
  margin-left: auto;
  margin-right: auto;
}

.visual-home-hero-v013 {
  padding: 24px 24px 0;
}

.visual-home-hero-v013 a,
.visual-category-banner-v013 {
  display: block;
  text-decoration: none;
}

.visual-home-hero-v013 img,
.visual-category-banner-v013 img,
.visual-page-banner-v013 img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.visual-home-hero-v013 img {
  border-radius: 2px;
}

.visual-category-section-v013 {
  padding: 72px 24px 28px;
}

.visual-category-grid-v013 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

.visual-category-banner-v013 {
  overflow: hidden;
  background: #f5eee8;
}

.visual-category-banner-v013 img {
  transition: transform .35s ease;
}

.visual-category-banner-v013:hover img {
  transform: scale(1.012);
}

.visual-page-banner-v013 {
  padding: 28px 24px 0;
}

.visual-page-banner-v013 img {
  max-height: 860px;
  object-fit: contain;
  background: #f7f1ec;
}

.journal-intro-v013 {
  box-sizing: border-box;
  padding: 34px 24px 6px;
  color: var(--muted);
}

.journal-intro-v013 > div {
  max-width: 850px;
  font-size: 17px;
  line-height: 1.65;
}

.journal-card-media-v06 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.journal-card-media-v06 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header .brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

@media (min-width: 900px) {
  .visual-category-grid-v013 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .visual-home-hero-v013,
  .visual-page-banner-v013 {
    padding-left: 0;
    padding-right: 0;
  }

  .visual-category-section-v013 {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 44px;
  }

  .visual-category-grid-v013 {
    gap: 18px;
  }

  .journal-intro-v013 {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 620px) {
  .visual-home-hero-v013 {
    padding-top: 0;
  }

  .visual-home-hero-v013 img,
  .visual-page-banner-v013 img {
    min-height: 0;
    max-height: none;
  }

  .visual-category-section-v013 {
    padding-top: 34px;
  }

  .journal-intro-v013 > div {
    font-size: 15px;
  }
}


/* BERYMAGIYA_ADMIN_BANNERS_V017 */

.visual-home-hero-v013,
.visual-page-banner-v013.visual-journal-banner-v013 {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.visual-home-hero-v013 img,
.visual-page-banner-v013.visual-journal-banner-v013 img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.visual-category-banner-v013 {
  height: auto !important;
}

.visual-category-banner-v013 img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 820px) {
  .visual-home-hero-v013 img,
  .visual-page-banner-v013.visual-journal-banner-v013 img,
  .visual-category-banner-v013 img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}


/* BERYMAGIYA_VISUAL_POLISH_V018 */

.visual-category-grid-v013 {
  align-items: stretch !important;
}

.visual-category-banner-v013 {
  aspect-ratio: 16 / 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f5eee8 !important;
}

.visual-category-banner-v013 img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.journal-card-media-v06,
.home-journal-media-v06 {
  aspect-ratio: 4 / 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f5eee8 !important;
}

.journal-card-media-v06 img,
.home-journal-media-v06 img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.visual-home-hero-v013 img,
.visual-page-banner-v013.visual-journal-banner-v013 img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 820px) {
  .visual-category-banner-v013 {
    aspect-ratio: 16 / 10 !important;
  }

  .journal-card-media-v06,
  .home-journal-media-v06 {
    aspect-ratio: 4 / 3 !important;
  }
}


/* BERYMAGIYA_VISUAL_COVERS_FIX_V0181 */

/* Категории: строго одинаковые блоки. */
.visual-category-grid-v013 {
  grid-auto-rows: 1fr !important;
}

.visual-category-banner-v013 {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f5eee8 !important;
  overflow: hidden !important;
}

.visual-category-banner-v013 img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Обложки журнала: 4:3, но файл уже содержит весь исходник без crop. */
.journal-card-media-v06,
.home-journal-media-v06 {
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f5eee8 !important;
  overflow: hidden !important;
}

.journal-card-media-v06 img,
.home-journal-media-v06 img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}


/* BERYMAGIYA_UNIFORM_VISUALS_V0182 */

.visual-category-grid-v013 { align-items: stretch !important; }
.visual-category-banner-v013 {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #f5eee8 !important;
}
.visual-category-banner-v013 img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.journal-card-media-v06, .home-journal-media-v06 {
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #f5eee8 !important;
}
.journal-card-media-v06 img, .home-journal-media-v06 img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 820px) {
  .visual-category-banner-v013 { aspect-ratio: 16 / 9 !important; }
  .journal-card-media-v06, .home-journal-media-v06 { aspect-ratio: 4 / 3 !important; }
}
