/* =====================================================================
   MANDARINKA · редизайн 2026
   Слой поверх темы StoreLand (main.css не трогаем — только переопределяем).
   Шрифты: Playfair Display (заголовки) + Manrope (текст). Иконки: Lucide (icons.css).
   ===================================================================== */

@font-face {font-family: "Manrope"; src: url("fonts/manrope-cyrillic.woff2") format("woff2"); 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: "Manrope"; src: url("fonts/manrope-latin.woff2") format("woff2"); 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+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+FEFF;}
@font-face {font-family: "Playfair Display"; src: url("fonts/playfair-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face {font-family: "Playfair Display"; src: url("fonts/playfair-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+FEFF;}
@font-face {font-family: "Playfair Display"; font-style: italic; src: url("fonts/playfair-cyrillic-italic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face {font-family: "Playfair Display"; font-style: italic; src: url("fonts/playfair-latin-italic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+FEFF;}

:root {
  --rd-cream: #FBF6F0;
  --rd-cream-2: #F4EBE1;
  --rd-surface: #FFFFFF;
  --rd-ink: #24151C;
  --rd-ink-2: #6B5560;
  --rd-line: rgba(36, 21, 28, .10);
  --rd-berry: #8A1F3C;
  --rd-mandarin: #FF8A3D;
  --rd-cta-1: #E2560F;
  --rd-cta-2: #B93A0A;
  --rd-leaf: #4F8A1F;
  --rd-glow: rgba(255, 122, 40, .45);
  --rd-radius: 22px;
  --rd-radius-sm: 14px;
  --rd-shadow-1: 0 1px 2px rgba(36,21,28,.06), 0 8px 24px -10px rgba(36,21,28,.16);
  --rd-shadow-2: 0 2px 4px rgba(36,21,28,.05), 0 24px 48px -16px rgba(36,21,28,.28), 0 6px 14px -6px rgba(185,58,10,.18);
  --rd-ease: cubic-bezier(.22, 1, .36, 1);
  --rd-serif: "Playfair Display", Georgia, serif;
  --rd-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rd-header-h: 76px;
}

/* ---------- База ---------- */
html {scroll-behavior: smooth;}
body[data-rd] {font-family: var(--rd-sans); font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--rd-ink); background: var(--rd-cream);}
body[data-rd] p {line-height: 1.7;}
body[data-rd] a {transition: color .2s ease;}
body[data-rd] a:hover {color: var(--rd-cta-2);}
body[data-rd] h1, body[data-rd] h2, body[data-rd] h3, body[data-rd] h4, body[data-rd] h5, body[data-rd] h6 {
  font-family: var(--rd-serif); text-transform: none; letter-spacing: -.01em; color: var(--rd-ink); font-weight: 500; line-height: 1.2;
}
body[data-rd] h1 {font-size: clamp(32px, 4vw, 52px);}
body[data-rd] h2 {font-size: clamp(28px, 3.4vw, 44px);}
body[data-rd] h3 {font-size: clamp(22px, 2.2vw, 28px);}
body[data-rd] h4 {font-size: clamp(19px, 1.8vw, 23px);}
body[data-rd] h5, body[data-rd] h6 {font-family: var(--rd-sans); font-size: 17px; font-weight: 500;}
body[data-rd] .container {max-width: 1280px;}
body[data-rd] ::selection {background: var(--rd-mandarin); color: #fff;}
body[data-rd] :focus-visible {outline: 3px solid var(--rd-mandarin); outline-offset: 3px; border-radius: 8px;}
body[data-rd] .main-block {padding: clamp(56px, 8vw, 110px) 0;}
body[data-rd] .main-block h2.title {text-align: center; margin-bottom: clamp(28px, 4vw, 52px);}

/* иконки Lucide (маски из icons.css) */
body[data-rd] .fa:before {display: inline-block; width: 1em; height: 1em; background-color: currentColor; vertical-align: -.14em; font-family: inherit !important;}
body[data-rd] svg.ic {width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; stroke-width: 1.75;}

/* фирменная «A» в логотипе-тексте не трогаем, лоадер — в цветах бренда */
body[data-rd] .folding-cube .cube:before {background-color: var(--rd-cta-1);}

/* анимации темы (animate.css + .out) выключаем — их заменяет GSAP */
body[data-rd] .animated {animation: none !important; -webkit-animation: none !important;}
body[data-rd] .animated.out, body[data-rd] .out.animated {opacity: 1 !important;}

/* ---------- Кнопки ---------- */
body[data-rd] .button,
body[data-rd] button.button,
body[data-rd] input.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; min-height: 44px; padding: 0 26px; line-height: 1; border: 0; border-radius: 999px;
  font-family: var(--rd-sans); font-size: 15px; font-weight: 700; letter-spacing: .01em; text-transform: none;
  color: #fff; cursor: pointer; isolation: isolate; overflow: hidden; white-space: nowrap;
  background: var(--rd-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -12px rgba(36,21,28,.6);
  transition: transform .35s var(--rd-ease), box-shadow .35s var(--rd-ease), background-color .25s ease, color .25s ease;
}
body[data-rd] .button:hover {color: #fff; background: #3A2330; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 30px -12px rgba(36,21,28,.55);}
body[data-rd] .button:active {transform: translateY(0) scale(.98);}

/* главные действия — «мандариновая» кнопка с бликом */
body[data-rd] .button.big,
body[data-rd] .button2,
body[data-rd] .button3,
body[data-rd] #orders .button,
body[data-rd] #proposition .callback .button,
body[data-rd] .callbackForm .button,
body[data-rd] .add-cart,
body[data-rd] .product-order .button,
body[data-rd] .cookies-bottom-closeBtn:not(.second) {
  color: #fff;
  background: linear-gradient(110deg, var(--rd-cta-1) 0%, var(--rd-cta-2) 42%, var(--rd-cta-shine, #FF9E5E) 50%, var(--rd-cta-2) 58%, var(--rd-cta-1) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 14px 30px -10px var(--rd-glow);
  transition: transform .35s var(--rd-ease), box-shadow .35s var(--rd-ease), background-position .8s var(--rd-ease);
}
body[data-rd] .button.big:hover,
body[data-rd] .button2:hover,
body[data-rd] .button3:hover,
body[data-rd] #orders .button:hover,
body[data-rd] .callbackForm .button:hover,
body[data-rd] .add-cart:hover,
body[data-rd] .cookies-bottom-closeBtn:not(.second):hover {
  color: #fff; background-position: 0 0; transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 22px 40px -12px var(--rd-glow), 0 0 0 6px rgba(255,138,61,.14);
}
body[data-rd] .button.big {height: 58px; padding: 0 34px; font-size: 17px;}
body[data-rd] .button.big:after {
  content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ic-arrow-right) center/contain no-repeat; mask: var(--ic-arrow-right) center/contain no-repeat;
  transition: transform .35s var(--rd-ease);
}
body[data-rd] .button.big:hover:after {transform: translateX(4px);}
body[data-rd] .button.small {height: 38px; padding: 0 16px; font-size: 13px;}

/* второстепенные — контурные */
body[data-rd] .button.second,
body[data-rd] .cookies-bottom-closeBtn.second {
  background: transparent; color: var(--rd-ink); box-shadow: inset 0 0 0 1.5px var(--rd-line), 0 0 0 0 transparent;
}
body[data-rd] .button.second:hover, body[data-rd] .cookies-bottom-closeBtn.second:hover {background: var(--rd-ink); color: #fff;}

/* ---------- Поля ввода ---------- */
body[data-rd] .inputText, body[data-rd] select, body[data-rd] textarea,
body[data-rd] input[type="text"], body[data-rd] input[type="email"], body[data-rd] input[type="tel"], body[data-rd] input[type="password"], body[data-rd] input[type="search"], body[data-rd] input[type="number"] {
  font-family: var(--rd-sans); font-size: 16px; color: var(--rd-ink); background: #fff;
  border: 1.5px solid var(--rd-line); border-radius: var(--rd-radius-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
body[data-rd] .inputText {height: 52px; line-height: normal; padding: 0 18px; max-width: 100%;}
body[data-rd] .inputText:focus, body[data-rd] select:focus, body[data-rd] textarea:focus, body[data-rd] input:focus {
  border-color: var(--rd-cta-1) !important; box-shadow: 0 0 0 4px rgba(226,86,15,.14); outline: 0;
}

/* ---------- Шапка ---------- */
body[data-rd] #header {position: sticky; top: 0; z-index: 900; transition: background-color .4s ease, box-shadow .4s ease, transform .45s var(--rd-ease);}
body[data-rd].index #header, body[data-rd] .index #header {position: fixed; background: transparent;}
body[data-rd] .header-top {background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--rd-line); padding: 6px 0;}
body[data-rd] .header-middle,
body[data-rd] .index #header .header-middle {
  background: rgba(251,246,240,.62); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.4);
}
body[data-rd] .index #header {background: transparent;}
body[data-rd].rd-scrolled #header .header-middle, body[data-rd].rd-scrolled .header-middle {background: rgba(251,246,240,.9); box-shadow: 0 12px 30px -18px rgba(36,21,28,.35);}
body[data-rd].rd-hide-header #header {transform: translateY(calc(-100% - 40px));}
body[data-rd] .header-top .phone a {font-family: var(--rd-sans); font-weight: 800; font-size: 17px; color: var(--rd-ink); letter-spacing: .01em;}
body[data-rd] .header-top .phone .time {font-size: 12px; color: var(--rd-ink-2);}
body[data-rd] .header-top .block.callback .button {height: 40px; padding: 0 18px; font-size: 14px;}
body[data-rd] .header-top .compare, body[data-rd] .header-top .cart {font-weight: 600;}
body[data-rd] .header-top .compare > a, body[data-rd] .header-top .cart > a {color: var(--rd-ink);}
body[data-rd] .cart-count, body[data-rd] .compare-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px;
  background: var(--rd-cta-1); color: #fff !important; font-size: 11px; font-weight: 800; line-height: 1;
}
body[data-rd] .search__form input, body[data-rd] .search input[type="text"] {border-radius: 999px; height: 42px; padding-left: 18px; background: rgba(255,255,255,.9);}
body[data-rd] #custommenu .mainnav > li > a {
  font-family: var(--rd-sans); font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: none;
  color: var(--rd-ink); margin-right: 6px; padding: 0 14px; border-radius: 999px; line-height: 42px;
  transition: background-color .25s ease, color .25s ease;
}
body[data-rd] #custommenu .mainnav > li > a:hover, body[data-rd] #custommenu .mainnav > li > a.active {background: rgba(36,21,28,.07); color: var(--rd-ink);}
body[data-rd] #custommenu .mainnav > li > a:after {display: none;}
body[data-rd] #custommenu .mainnav > li.parent > a {padding-right: 30px;}
body[data-rd] #custommenu .mainnav > li.parent > a:before {
  content: "" !important; width: 14px; height: 14px; right: 10px; top: 50%; margin-top: -7px; background: currentColor;
  -webkit-mask: var(--ic-chevron-down) center/contain no-repeat; mask: var(--ic-chevron-down) center/contain no-repeat;
}
body[data-rd] #custommenu .mainnav li .dropdown-menu {
  border: 0; border-radius: 0 0 var(--rd-radius) var(--rd-radius); background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--rd-shadow-2); padding: 26px 22px;
}
body[data-rd] #custommenu .mainnav li a.title-lv1 {font-family: var(--rd-serif); font-size: 18px; text-transform: none; border-bottom-color: var(--rd-line);}
body[data-rd] #custommenu .mainnav li a.title-lv2 {text-transform: none; font-size: 14px; padding-left: 18px;}
body[data-rd] #custommenu .mainnav li a.title-lv2:before {
  content: "" !important; width: 12px; height: 12px; top: 50%; margin-top: -6px; background: var(--rd-cta-1);
  -webkit-mask: var(--ic-chevron-right) center/contain no-repeat; mask: var(--ic-chevron-right) center/contain no-repeat;
}

/* ---------- Первый экран ---------- */
body[data-rd] #slideshow {min-height: min(100svh, 920px); border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px); isolation: isolate;}
body[data-rd] #slideshow .slide {position: absolute; inset: 0; transform-origin: 50% 60%;}
body[data-rd] #slideshow .image {position: absolute; inset: 0;}
body[data-rd] #slideshow .image img {width: 100%; height: 100%; object-fit: cover;}
body[data-rd] #slideshow:after {
  content: ""; position: absolute; inset: 0; z-index: 21; pointer-events: none;
  background: linear-gradient(100deg, rgba(36,21,28,.78) 0%, rgba(36,21,28,.45) 38%, rgba(36,21,28,0) 66%), linear-gradient(0deg, rgba(36,21,28,.35), transparent 40%);
}
body[data-rd] #slideshow .text {
  position: absolute; z-index: 30; top: auto; bottom: clamp(48px, 12vh, 140px); left: max(24px, calc((100vw - 1280px) / 2 + 15px)); right: auto;
  max-width: 640px; padding: 0;
}
body[data-rd] #slideshow .text .title {font-family: var(--rd-serif); text-transform: none; color: #fff; font-weight: 500; font-size: clamp(42px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 18px;}
body[data-rd] #slideshow .text .title em {font-style: italic; color: #FFB27A;}
body[data-rd] .rd-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 16px; border-radius: 99px;
  font-family: var(--rd-sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body[data-rd] .rd-eyebrow:before {content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-mandarin); box-shadow: 0 0 0 4px rgba(255,138,61,.3);}
body[data-rd] .rd-hero-lead {display: block; font-family: var(--rd-sans); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.86); margin: 0 0 30px; max-width: 470px; font-weight: 400; letter-spacing: 0;}
body[data-rd] .rd-scroll-cue {position: absolute; z-index: 30; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 99px;}
body[data-rd] .rd-scroll-cue:before {content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: rd-cue 1.8s var(--rd-ease) infinite;}
@keyframes rd-cue {0% {transform: translateY(0); opacity: 1;} 70% {transform: translateY(12px); opacity: 0;} 100% {opacity: 0;}}

/* ---------- «Выгодное предложение» ---------- */
body[data-rd] #proposition {background: radial-gradient(1200px 500px at 0% 0%, rgba(255,138,61,.10), transparent 60%), var(--rd-cream);}
body[data-rd] #proposition h2.title {text-align: left; color: var(--rd-ink); margin-bottom: 14px;}
body[data-rd] #proposition h4.title {font-family: var(--rd-sans); font-size: clamp(18px, 1.6vw, 22px); color: var(--rd-ink-2); line-height: 1.5;}
body[data-rd] #proposition h4.title strong {display: inline-block; margin-top: 8px; font-family: var(--rd-serif); font-style: italic; font-weight: 500; font-size: 1.35em; text-transform: none; color: var(--rd-berry);}
body[data-rd] #proposition img {max-width: 340px; margin-top: 24px; filter: drop-shadow(0 30px 30px rgba(36,21,28,.18));}
body[data-rd] #proposition .callback {
  position: relative; background: var(--rd-surface); border-radius: 28px; padding: clamp(26px, 3vw, 40px); box-shadow: var(--rd-shadow-2); border: 1px solid rgba(255,255,255,.8);
}
body[data-rd] #proposition .callback h3.title {font-size: clamp(24px, 2.4vw, 32px);}
body[data-rd] #proposition .callback h5.title {color: var(--rd-ink-2); font-size: 16px; margin-bottom: 24px;}
body[data-rd] #proposition .callback .inputText {width: 100%;}
body[data-rd] #proposition .callback .button {width: 100%; max-width: none;}
body[data-rd] #proposition .callback .protect {display: flex; align-items: center; gap: 12px; margin: 22px auto 0; font-size: 14px; color: var(--rd-ink-2); max-width: none;}
body[data-rd] #proposition .callback .protect svg {position: static; width: 26px; height: 26px; color: var(--rd-leaf);}
body[data-rd] #proposition .callback .protect span {margin: 0; font-family: var(--rd-sans);}
body[data-rd] .pp, body[data-rd] .callbackForm .pp {color: var(--rd-ink-2); font-size: 12px !important; line-height: 1.5;}

/* ---------- Иконки-преимущества и шаги ---------- */
body[data-rd] #customers {background: var(--rd-cream-2);}
body[data-rd] #customers .row, body[data-rd] #information .row {display: flex; flex-wrap: wrap; justify-content: center;}
body[data-rd] #customers .item {padding: 0 12px 24px;}
body[data-rd] #customers .item > *, body[data-rd] #information .item > * {position: relative;}
body[data-rd] #customers .item {display: flex;}
body[data-rd] #customers .item:before {content: none;}
body[data-rd] #customers .item .image, body[data-rd] #information .item .image {
  display: grid; place-items: center; width: 76px; height: 76px; line-height: 1; margin: 0 auto 20px; border: 0; border-radius: 24px;
  background: linear-gradient(145deg, #FFE3CC, #FFF6EE); color: var(--rd-cta-2);
  box-shadow: 0 1px 0 #fff inset, 0 16px 30px -14px rgba(226,86,15,.55);
}
body[data-rd] svg.ic.rd-feature-ic {width: 34px; height: 34px; stroke-width: 1.6;}
body[data-rd] #customers .item .title {font-family: var(--rd-sans); font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--rd-ink);}
body[data-rd] #customers .rd-card {
  width: 100%; padding: 34px 22px 30px; background: rgba(255,255,255,.75); border-radius: var(--rd-radius); box-shadow: var(--rd-shadow-1); text-align: center;
  border: 1px solid rgba(255,255,255,.9); transition: transform .4s var(--rd-ease), box-shadow .4s var(--rd-ease);
}
body[data-rd] #customers .rd-card:hover {transform: translateY(-6px); box-shadow: var(--rd-shadow-2);}

body[data-rd] #information {counter-reset: rd-step; background: var(--rd-cream);}
body[data-rd] #information .item {counter-increment: rd-step; padding: 0 22px 34px; width: 20%; min-width: 190px;}
body[data-rd] #information .item .image {width: 96px; height: 96px; border-radius: 50%; position: relative;}
body[data-rd] #information .item .image:after {
  content: counter(rd-step, decimal-leading-zero); position: absolute; top: -4px; right: -8px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--rd-ink); color: #fff; font: 800 12px/1 var(--rd-sans);
  box-shadow: 0 0 0 4px var(--rd-cream);
}
body[data-rd] #information .item:after {
  content: "" !important; width: 22px; height: 22px; top: 37px; right: -11px; background: rgba(36,21,28,.35);
  -webkit-mask: var(--ic-chevron-right) center/contain no-repeat; mask: var(--ic-chevron-right) center/contain no-repeat;
}
body[data-rd] #information .item .title {width: auto; height: auto; font-family: var(--rd-sans); font-size: 17px; font-weight: 600; line-height: 1.45;}

/* ---------- Табы товаров ---------- */
body[data-rd] #producttabs .pdt-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 6px;
  background: #fff; border-radius: 999px; box-shadow: var(--rd-shadow-1); border: 0;
}
body[data-rd] #producttabs .pdt-nav:before, body[data-rd] #producttabs .pdt-nav:after {display: none;}
body[data-rd] #producttabs .pdt-nav .item-nav {margin: 0; padding: 0; border: 0 !important; background: none;}
body[data-rd] #producttabs .pdt-nav .item-nav span {
  display: block; padding: 12px 22px; border-radius: 999px; font-family: var(--rd-sans); font-size: 15px; font-weight: 700; text-transform: none;
  color: var(--rd-ink-2); cursor: pointer; transition: background-color .3s ease, color .3s ease;
}
body[data-rd] #producttabs .pdt-nav .item-nav span:after, body[data-rd] #producttabs .pdt-nav .item-nav:after, body[data-rd] #producttabs .pdt-nav .item-nav:before {display: none !important;}
body[data-rd] #producttabs .pdt-nav .item-nav:hover span {color: var(--rd-ink);}
body[data-rd] #producttabs .pdt-nav .item-nav.active span {background: var(--rd-ink); color: #fff;}

/* ---------- Карточки товаров (объёмные) ---------- */
body[data-rd] .products-grid {align-items: stretch; margin-left: -12px; margin-right: -12px;}
body[data-rd] .products-grid .item {display: flex; padding: 0 12px 26px; perspective: 1100px;}
body[data-rd] .products-grid .item .item-inner {
  position: relative; display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; margin: 0;
  background: var(--rd-surface); border: 1px solid rgba(36,21,28,.06); border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow-1); transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .45s var(--rd-ease), border-color .3s ease;
}
body[data-rd] .products-grid .item:hover .item-inner {box-shadow: var(--rd-shadow-2); border-color: rgba(226,86,15,.18);}
body[data-rd] .products-grid .item .item-inner > form {display: flex; flex-direction: column; flex: 1;}
body[data-rd] .products-grid .item .item-inner:after { /* блик при наклоне */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--rd-gx, 50%) var(--rd-gy, 0%), rgba(255,255,255,.55), transparent 45%);
}
body[data-rd] .products-grid .item:hover .item-inner:after {opacity: 1;}
body[data-rd] .products-grid .item .product-image {
  margin: 10px 10px 0; border-radius: calc(var(--rd-radius) - 8px); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 15%, #fff 0%, #FAF3EC 60%, #F3E7DB 100%); transform: translateZ(30px);
}
body[data-rd] .products-grid .item .product-image a.product-img {display: grid; place-items: center; aspect-ratio: 1 / 1; line-height: 1; padding: 16px;}
body[data-rd] .products-grid .item .product-image a.product-img img {max-height: 100%; object-fit: contain; transition: transform .7s var(--rd-ease); filter: drop-shadow(0 18px 18px rgba(36,21,28,.14));}
body[data-rd] .products-grid .item:hover .product-image a.product-img img {transform: scale(1.06) translateY(-4px);}
body[data-rd] .products-grid .item .product-image .mask {background: linear-gradient(180deg, rgba(251,246,240,0) 30%, rgba(251,246,240,.85)); width: 100%; height: 100%;}
body[data-rd] .products-grid .item .product-image .actions {height: 100%;}
body[data-rd] .products-grid .item .product-image .actions .inner-mask {vertical-align: bottom; padding-bottom: 18px;}
body[data-rd] .products-grid .item .product-image .actions .add-cart {height: 44px; padding: 0 22px; font-size: 14px;}
body[data-rd] .products-grid .item .product-image .actions .add-to-links {display: flex; justify-content: center; gap: 10px; margin-top: 12px;}
body[data-rd] .products-grid .item .product-image .actions .add-to-links > a {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 18px;
  background: #fff; color: var(--rd-ink); box-shadow: var(--rd-shadow-1); transition: transform .3s var(--rd-ease), background-color .25s ease, color .25s ease;
}
body[data-rd] .products-grid .item .product-image .actions .add-to-links > a:before {display: none;}
body[data-rd] .products-grid .item .product-image .actions .add-to-links > a:hover,
body[data-rd] .products-grid .item .product-image .actions .add-to-links > a.added {background: var(--rd-ink); color: #fff; transform: translateY(-2px);}
body[data-rd] .products-grid .item .product-image .actions .quickview-wrap {display: none;}
body[data-rd] .products-grid .item .product-shop {
  position: static; display: flex; flex-direction: column; flex: 1; padding: 16px 18px 20px; background: transparent; white-space: normal; text-align: left; transform: translateZ(18px);
}
body[data-rd] .products-grid .item .product-shop .product-name a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; min-height: 2.7em;
  font-family: var(--rd-sans); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--rd-ink);
}
body[data-rd] .products-grid .item .product-shop .price-box {margin: auto 0 0; padding-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;}
body[data-rd] .price-box .price, body[data-rd] .price-box .price .num {font-family: var(--rd-sans); font-size: 20px; font-weight: 800; color: var(--rd-ink);}
body[data-rd] .price-box .old-price, body[data-rd] .price-box .old-price .num {font-size: 14px; font-weight: 500; color: var(--rd-ink-2); text-decoration: line-through;}
body[data-rd] .price-box .old-price + .price .num, body[data-rd] .price-box .old-price ~ .price .num {color: var(--rd-berry);}
body[data-rd] .ico-new, body[data-rd] .ico-best, body[data-rd] .ico-sale {
  z-index: 6; padding: 6px 12px; border-radius: 99px; font: 800 11px/1 var(--rd-sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--rd-ink); box-shadow: 0 8px 16px -8px rgba(36,21,28,.6);
}
body[data-rd] .ico-best {background: var(--rd-berry);}
body[data-rd] .ico-sale {background: var(--rd-cta-1);}

/* ---------- Каталог ---------- */
body[data-rd] .categories {gap: 0; margin: 0 -10px 30px;}
body[data-rd] .categories .item {margin: 0 10px 22px; width: calc(33.333% - 20px); background: #fff; border-radius: var(--rd-radius); box-shadow: var(--rd-shadow-1); overflow: hidden; transition: transform .45s var(--rd-ease), box-shadow .45s var(--rd-ease);}
body[data-rd] .categories .item:hover {transform: translateY(-6px); box-shadow: var(--rd-shadow-2);}
body[data-rd] .categories .item .cat-image {height: auto; line-height: 1; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 15%, #fff, #F3E7DB);}
body[data-rd] .categories .item .cat-image a {display: grid; place-items: center; height: 100%; padding: 14px;}
body[data-rd] .categories .item .cat-image img {max-height: 100%; object-fit: contain; transition: transform .7s var(--rd-ease);}
body[data-rd] .categories .item:hover .cat-image img {transform: scale(1.06);}
body[data-rd] .categories .item .cat-name {margin: 0; padding: 16px 18px; background: #fff;}
body[data-rd] .categories .item .cat-name a {font-family: var(--rd-sans); font-size: 15px; font-weight: 700; text-transform: none;}
body[data-rd] .page-title h1.title, body[data-rd] .page-title .title {text-transform: none;}
body[data-rd] .page-title h1.title span {font-family: var(--rd-sans); font-size: 14px; font-style: normal; color: var(--rd-ink-2); vertical-align: middle; margin-left: 8px;}
body[data-rd] .toolbar {background: #fff; border-radius: var(--rd-radius-sm); box-shadow: var(--rd-shadow-1); padding: 10px 16px; border: 0;}
body[data-rd] .pages a, body[data-rd] .pages span, body[data-rd] .pages li > * {border-radius: 12px;}
body[data-rd] .pages .active, body[data-rd] .pages li.active > * {background: var(--rd-ink); color: #fff; border-color: var(--rd-ink);}
body[data-rd] .breadcrumbs, body[data-rd] .breadcrumb {font-size: 13px;}
body[data-rd] .col-left .block, body[data-rd] .sidebar .block {border-radius: var(--rd-radius); overflow: hidden;}

/* ---------- Акция ---------- */
body[data-rd] #promotion {position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(12px, 2vw, 28px); background-attachment: scroll; isolation: isolate;}
body[data-rd] #promotion:before {content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,21,28,.75), rgba(36,21,28,.2));}
body[data-rd] #promotion .promotion-description {max-width: 560px; padding: clamp(28px, 4vw, 48px); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 28px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; text-align: left;}
body[data-rd] #promotion .promotion-description .text_medium {font: 700 13px/1.4 var(--rd-sans); letter-spacing: .1em; text-transform: uppercase; color: #FFB27A !important;}
body[data-rd] #promotion .promotion-description .text_large {font-family: var(--rd-serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.1; text-transform: none; color: #fff;}
body[data-rd] #promotion .promotion-description .text_small {color: rgba(255,255,255,.85); font-size: 16px;}
body[data-rd] #promotion .promotion-description .text_small a {color: #fff; font-weight: 800;}

/* ---------- «Остались вопросы?» ---------- */
body[data-rd] #orders {
  position: relative; overflow: hidden; margin: clamp(40px, 6vw, 80px) clamp(12px, 2vw, 28px) 0; border-radius: clamp(24px, 4vw, 48px);
  background: radial-gradient(700px 360px at 85% 0%, rgba(255,122,40,.45), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(138,31,60,.55), transparent 60%), var(--rd-ink);
  color: #fff; text-align: center;
}
body[data-rd] #orders h2.title {color: #fff;}
body[data-rd] #orders .callbackForm {display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 12px; max-width: 820px; margin: 0 auto;}
body[data-rd] #orders .callbackForm .callback-input {margin: 0; flex: 1 1 220px;}
body[data-rd] #orders .callbackForm .callback-input .inputText {width: 100%; background: rgba(255,255,255,.95); border-color: transparent;}
body[data-rd] #orders .callbackForm .pp {order: 5; flex-basis: 100%; color: rgba(255,255,255,.65); margin: 6px 0 0;}
body[data-rd] #orders .callbackForm .pp a {color: #fff;}
body[data-rd] #orders .callbackForm .button {height: 52px;}

/* ---------- Подвал ---------- */
body[data-rd] .rd-footer {
  position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 90px) 0 0;
  background: #1C1016; color: rgba(255,255,255,.72); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
body[data-rd] .rd-footer__glow {position: absolute; width: 640px; height: 640px; left: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,40,.35), transparent 65%); pointer-events: none;}
body[data-rd] .rd-footer .container {position: relative;}
body[data-rd] .rd-footer__grid {display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px);}
body[data-rd] .rd-footer__logo img {height: 46px; width: auto;}
body[data-rd] .rd-footer__brand p {margin: 18px 0 24px; max-width: 340px; font-size: 15px; color: rgba(255,255,255,.66);}
body[data-rd] .rd-footer .rd-footer__cta {height: 52px; font-size: 16px; padding: 0 24px;}
body[data-rd] .rd-footer .rd-footer__cta:after {display: none;}
body[data-rd] .rd-footer h3 {font-family: var(--rd-sans); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 20px;}
body[data-rd] .rd-footer ul {margin: 0; padding: 0; list-style: none;}
body[data-rd] .rd-footer li {margin: 0 0 12px;}
body[data-rd] .rd-footer a {color: rgba(255,255,255,.78);}
body[data-rd] .rd-footer .rd-footer__col a {position: relative; display: inline-block; padding: 2px 0;}
body[data-rd] .rd-footer .rd-footer__col a:after {content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--rd-mandarin); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--rd-ease);}
body[data-rd] .rd-footer .rd-footer__col a:hover {color: #fff;}
body[data-rd] .rd-footer .rd-footer__col a:hover:after {transform: scaleX(1); transform-origin: left;}
body[data-rd] .rd-footer__contacts li {display: flex; align-items: center; gap: 12px;}
body[data-rd] .rd-footer__contacts svg.ic {width: 36px; height: 36px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--rd-mandarin);}
body[data-rd] .rd-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding: 24px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5);
}

/* ---------- Cookie, «наверх», модалки ---------- */
body[data-rd] .cookies-bottom {
  left: 16px; right: auto; bottom: 16px; width: auto; max-width: 620px; border-radius: 22px; padding: 6px 4px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--rd-shadow-2); border: 1px solid rgba(255,255,255,.9);
}
body[data-rd] .cookies-bottom .container {width: auto; max-width: none;}
body[data-rd] .cookies-bottom-text, body[data-rd] .cookies-bottom-text .pp {font-size: 13px !important; color: var(--rd-ink-2);}
body[data-rd] .cookies-bottom-buttons {display: flex; gap: 8px;}
body[data-rd] .cookies-bottom-buttons .button {height: 42px; padding: 0 20px; font-size: 14px;}
body[data-rd] #back-top {
  right: 20px; bottom: 20px; width: 52px; height: 52px; line-height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--rd-cta-1), var(--rd-cta-2)); box-shadow: 0 14px 28px -10px var(--rd-glow);
  transition: transform .35s var(--rd-ease);
}
body[data-rd] #back-top.fa:before {font-size: 22px; color: #fff; background-color: #fff;}
body[data-rd] #back-top:hover {transform: translateY(-4px); background: linear-gradient(145deg, var(--rd-cta-1), var(--rd-cta-2));}
body[data-rd] .fancybox-skin {border-radius: 0 !important;}

/* ---------- Карточка товара ---------- */
body[data-rd] .product-view .product-name h1, body[data-rd] .product-shop .product-name h1, body[data-rd] .product-essential h1 {text-transform: none; font-size: clamp(26px, 3vw, 38px);}
body[data-rd] .product-img-box, body[data-rd] .product-view .product-img-box .product-image {border-radius: var(--rd-radius); overflow: hidden; background: #fff; box-shadow: var(--rd-shadow-1);}
body[data-rd] .qty-wrap, body[data-rd] .qty-set, body[data-rd] .quantity {border-radius: 999px; overflow: hidden;}

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (hover: none) {
  /* на тач-экранах действия карточки видны всегда — под фото */
  body[data-rd] .products-grid .item .product-image .mask {display: none;}
  body[data-rd] .products-grid .item .product-image .actions {position: static; height: auto; padding: 0 8px 12px;}
  body[data-rd] .products-grid .item .product-image .actions .ratings {display: none;}
  body[data-rd] .products-grid .item .product-image .actions .addtocart,
  body[data-rd] .products-grid .item .product-image .actions .add-to-links {opacity: 1; transform: none;}
  body[data-rd] .products-grid .item .product-image .actions .inner-mask {padding: 0;}
  body[data-rd] .products-grid .item .product-image .actions .addtocart {margin-bottom: 0;}
  body[data-rd] .products-grid .item .product-image .actions .add-to-links {position: absolute; top: 10px; right: 10px; flex-direction: column; gap: 8px; margin: 0;}
  body[data-rd] .products-grid .item .product-image .actions .add-to-links > a {width: 40px; height: 40px; font-size: 16px;}
  body[data-rd] .products-grid .item .product-image .actions .add-cart {width: 100%;}
}

@media (max-width: 1199px) {
  body[data-rd] .rd-footer__grid {grid-template-columns: 1fr 1fr; }
  body[data-rd] #information .item {width: 33.333%;}
  body[data-rd] #information .item:nth-child(4):after {display: none;}
}

@media (max-width: 991px) {
  body[data-rd] #slideshow .text {left: 24px; right: 24px;}
  body[data-rd] .categories .item {width: calc(50% - 20px);}
  body[data-rd] #customers .item {width: 50%;}
  body[data-rd] .header-middle {padding: 8px 0;}
}

/* телефоны — вертикально */
@media (max-width: 767px) {
  body[data-rd] {font-size: 16px;}
  body[data-rd] .container {padding-left: 16px; padding-right: 16px;}
  body[data-rd] .main-block {padding: 56px 0;}
  body[data-rd] #slideshow {min-height: 88svh;}
  body[data-rd] #slideshow:after {background: linear-gradient(0deg, rgba(36,21,28,.88) 0%, rgba(36,21,28,.55) 45%, rgba(36,21,28,.15) 75%);}
  body[data-rd] #slideshow .text {left: 16px; right: 16px; bottom: 64px;}
  body[data-rd] #slideshow .text .button.big {width: 100%;}
  body[data-rd] .rd-scroll-cue {display: none;}
  body[data-rd] #proposition h2.title {text-align: center;}
  body[data-rd] #proposition h4.title {text-align: center;}
  body[data-rd] #proposition img {max-width: 240px; margin: 20px auto 32px;}
  body[data-rd] #customers .item {width: 50%; padding: 0 6px 12px;}
  body[data-rd] #customers .rd-card {padding: 22px 12px;}
  body[data-rd] #customers .item .title {font-size: 14px;}
  body[data-rd] #customers .item .image, body[data-rd] #information .item .image {width: 60px; height: 60px; border-radius: 18px; margin-bottom: 14px;}
  body[data-rd] svg.ic.rd-feature-ic {width: 28px; height: 28px;}
  body[data-rd] #information .row {display: grid; grid-template-columns: 1fr; gap: 10px; text-align: left;}
  body[data-rd] #information h2.title {grid-column: 1 / -1;}
  body[data-rd] #information .item {display: flex; align-items: center; gap: 16px; width: auto; min-width: 0; padding: 14px 16px; background: #fff; border-radius: 18px; box-shadow: var(--rd-shadow-1); text-align: left;}
  body[data-rd] #information .item .image {margin: 0; border-radius: 50%; flex: none;}
  body[data-rd] #information .item .title {font-size: 16px;}
  body[data-rd] #information .item:after {display: none;}
  body[data-rd] #producttabs .pdt-nav {width: 100%; justify-content: space-between; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;}
  body[data-rd] #producttabs .pdt-nav .item-nav span {padding: 11px 16px; font-size: 14px; white-space: nowrap;}
  body[data-rd] .products-grid {margin-left: -6px; margin-right: -6px;}
  body[data-rd] .products-grid .item {width: 50% !important; padding: 0 6px 12px;}
  body[data-rd] .products-grid .item .item-inner {border-radius: 18px;}
  body[data-rd] .products-grid .item .product-image {margin: 6px 6px 0; border-radius: 14px;}
  body[data-rd] .products-grid .item .product-image a.product-img {padding: 10px;}
  body[data-rd] .products-grid .item .product-shop {padding: 10px 12px 14px;}
  body[data-rd] .products-grid .item .product-shop .product-name a {font-size: 13px;}
  body[data-rd] .price-box .price, body[data-rd] .price-box .price .num {font-size: 17px;}
  body[data-rd] .products-grid .item .product-image .actions .add-cart {height: 40px; padding: 0 12px; font-size: 13px;}
  body[data-rd] .categories {margin: 0 -6px 20px;}
  body[data-rd] .categories .item {width: calc(50% - 12px); margin: 0 6px 12px; border-radius: 18px;}
  body[data-rd] .categories .item .cat-name {padding: 12px;}
  body[data-rd] .categories .item .cat-name a {font-size: 13px; white-space: normal;}
  body[data-rd] #orders .callbackForm .button {width: 100%;}
  body[data-rd] .rd-footer__grid {grid-template-columns: 1fr 1fr; gap: 32px 20px;}
  body[data-rd] .rd-footer__brand, body[data-rd] .rd-footer__contacts {grid-column: 1 / -1;}
  body[data-rd] .rd-footer__bottom {flex-direction: column;}
  body[data-rd] .cookies-bottom {left: 10px; right: 10px; bottom: 10px; max-width: none;}
  body[data-rd] .cookies-bottom-buttons .button {flex: 1;}
  body[data-rd] #back-top {right: 14px; bottom: 14px; width: 46px; height: 46px;}
  body[data-rd] .button {height: 48px;}
}

@media (max-width: 380px) {
  body[data-rd] .products-grid .item .product-shop .product-name a {font-size: 12.5px;}
  body[data-rd] #producttabs .pdt-nav .item-nav span {padding: 10px 12px; font-size: 13px;}
}

/* телефоны — горизонтально (низкий экран) */
@media (orientation: landscape) and (max-height: 520px) {
  body[data-rd] .header-top {display: none;}
  body[data-rd] #slideshow {min-height: 100svh;}
  body[data-rd] #slideshow:after {background: linear-gradient(100deg, rgba(36,21,28,.85) 0%, rgba(36,21,28,.5) 50%, rgba(36,21,28,.1) 80%);}
  body[data-rd] #slideshow .text {bottom: 28px; left: 24px; right: auto; max-width: 56%;}
  body[data-rd] #slideshow .text .title {font-size: clamp(30px, 6vh + 2vw, 48px); margin-bottom: 10px;}
  body[data-rd] .rd-eyebrow {margin-bottom: 10px; padding: 6px 12px; font-size: 11px;}
  body[data-rd] .rd-hero-lead {margin-bottom: 16px; font-size: 15px;}
  body[data-rd] #slideshow .text .button.big {height: 48px; width: auto;}
  body[data-rd] .rd-scroll-cue {display: none;}
  body[data-rd] .products-grid .item {width: 33.333% !important;}
  body[data-rd] .categories .item {width: calc(33.333% - 12px);}
  body[data-rd] #customers .item {width: 25%;}
  body[data-rd] #information .row {grid-template-columns: 1fr 1fr;}
  body[data-rd] .main-block {padding: 44px 0;}
  body[data-rd] .cookies-bottom {max-width: 640px; right: auto;}
}

@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto;}
  body[data-rd] *, body[data-rd] *:before, body[data-rd] *:after {transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important;}
}

/* строки заголовка первого экрана выезжают из-под маски */
body[data-rd] .rd-mask {display: block; overflow: hidden; padding-bottom: .06em;}
body[data-rd] .rd-line {display: block;}

/* --- правки после первого просмотра --- */
body[data-rd] #producttabs {text-align: center;}
body[data-rd] #producttabs .pdt-nav > li {float: none;}
body[data-rd] #producttabs .pdt-nav > li span {border: 0 !important; font-weight: 700; font-size: 15px; text-transform: none; color: var(--rd-ink-2);}
body[data-rd] #producttabs .pdt-nav > li.active span {background: var(--rd-ink); color: #fff;}
body[data-rd] #producttabs .pdt-nav > li span:hover {color: var(--rd-ink);}
body[data-rd] #producttabs .pdt-nav > li.active span:hover {color: #fff;}
@media (min-width: 1200px) {
  body[data-rd] #producttabs .products-grid .item {width: 25%;}
}
body[data-rd] .header-top .container {padding-top: 8px; padding-bottom: 8px;}
body[data-rd] .header-top .block .title a {text-transform: none; font-weight: 600; font-size: 14px;}
body[data-rd] .header-top .block .title i {color: var(--rd-cta-1);}
body[data-rd] .header-top .header-right .block {border-right-color: var(--rd-line);}

/* --- первый экран и акция: тема прячет/урезает их на телефонах — возвращаем --- */
body[data-rd] #slideshow .text .title {display: block;}
body[data-rd] #slideshow .text .button.big {height: 58px; line-height: 1; font-size: 17px; padding: 0 34px;}
body[data-rd] #promotion {background: url("/design/redesign/promotion.jpg") center / cover no-repeat var(--rd-ink); background-attachment: scroll;}

@media (max-width: 767px) {
  body[data-rd] #slideshow .text .title {font-size: clamp(40px, 12vw, 56px);}
  body[data-rd] #slideshow .text .button.big {height: 54px; font-size: 16px;}
  body[data-rd] #promotion {padding: 40px 0; margin: 0 10px;}
  body[data-rd] #promotion .promotion-description {max-width: 100%; text-align: left;}
  body[data-rd] #promotion .promotion-description .text_medium {font-size: 12px;}
  body[data-rd] #promotion .promotion-description .button {width: 100%; padding: 0 24px;}

  /* шапка в одну строку: звонок · поиск · корзина; ниже — логотип и «бургер» */
  body[data-rd] .header-top .container {display: flex; align-items: center; gap: 8px; padding: 8px 16px;}
  body[data-rd] .header-top .header-left, body[data-rd] .header-top .header-right {float: none; display: flex; align-items: center; gap: 8px; width: auto;}
  body[data-rd] .header-top .header-right {flex: 1; min-width: 0; justify-content: flex-end;}
  body[data-rd] .header-top .block {line-height: normal; border: 0 !important; margin: 0;}
  body[data-rd] .header-top .block.phone {display: none;}
  body[data-rd] .header-top .block.search {flex: 1; min-width: 0; width: auto;}
  body[data-rd] .header-top .block.search input {width: 100%; height: 42px;}
  body[data-rd] .header-top .block.callback .button {width: 44px; height: 44px; padding: 0; border-radius: 50%;}
  body[data-rd] .header-top .block.cart .title a, body[data-rd] .header-top .block.cart > a {padding: 0 6px;}
  body[data-rd] .header-middle {padding: 6px 0;}
  body[data-rd] .header-middle .logo img {height: 38px; width: auto;}
}

/* --- поиск в шапке: «таблетка» с иконкой --- */
body[data-rd] .search__form {position: relative; display: flex; align-items: center; border: 0; background: none;}
body[data-rd] .search__form .search__input {
  width: 100%; height: 42px; padding: 0 44px 0 18px; border-radius: 0 !important; border: 1.5px solid var(--rd-line) !important;
  background: rgba(255,255,255,.92) !important; font: 500 15px var(--rd-sans); color: var(--rd-ink); box-shadow: none;
}
body[data-rd] .search__form .search__submit {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--rd-ink); color: #fff; font-size: 15px; cursor: pointer;
}
body[data-rd] .search__form .search__submit:hover {background: var(--rd-cta-1);}
body[data-rd] .header-top .block.cart .title i, body[data-rd] .header-top .block.compare .title i {font-size: 22px; color: var(--rd-ink);}

/* --- кнопка меню на телефоне --- */
body[data-rd] .menu-offcanvas {text-align: right;}
body[data-rd] #mommenu .btn-navbar {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border: 0 !important; border-radius: 999px;
  background: var(--rd-ink); color: #fff; font: 700 14px/1 var(--rd-sans); text-transform: none; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(36,21,28,.6);
}
body[data-rd] #mommenu .btn-navbar .title {color: #fff; font: inherit; text-transform: none;}
body[data-rd] #mommenu .btn-navbar i {display: grid; place-items: center; width: 30px; height: 30px; border: 0 !important; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 16px; margin: 0;}
body[data-rd] .offcanvas {background: var(--rd-cream); box-shadow: 20px 0 50px -20px rgba(36,21,28,.4);}
body[data-rd] .offcanvas a {font-family: var(--rd-sans);}
body[data-rd] #customers .item {margin-bottom: 0;}

/* кнопка корзины в карточке: короткая надпись, чтобы не обрезалась в узкой карточке */
body[data-rd] .products-grid .item .add-cart {font-size: 0 !important; gap: 8px;}
body[data-rd] .products-grid .item .add-cart:before {content: "В корзину"; font-size: 14px;}
body[data-rd] .products-grid .item .add-cart.added:before, body[data-rd] .products-grid .item .added .add-cart:before {content: "В корзине";}
@media (max-width: 767px) {
  body[data-rd] .products-grid .item .add-cart:before {font-size: 13px;}
  body[data-rd] #information .row {margin-left: 0; margin-right: 0;}
  body[data-rd] #customers .row {margin-left: -6px; margin-right: -6px;}
  body[data-rd] #information .item .image:after {width: 24px; height: 24px; font-size: 10px; right: -6px;}
}

/* действия карточки поверх фото на устройствах с мышью (тема на ≤991px делает их static) */
@media (hover: hover) {
  body[data-rd] .products-grid .item .product-image .actions {position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: auto;}
}
@media (hover: none) {
  body[data-rd] .products-grid .item .product-image .actions .group-mask {height: auto;}
}

/* компактная шапка на планшетах и телефонах */
@media (max-width: 991px) {
  body[data-rd] .header-middle .container {display: flex; align-items: center; justify-content: space-between;}
  body[data-rd] .header-middle .logo {width: auto; float: none;}
  body[data-rd] .header-middle .logo img {height: 40px; width: auto; max-width: none;}
  body[data-rd] .menu-offcanvas {width: auto; float: none; line-height: normal !important;}
  body[data-rd] #mommenu .btn-navbar {white-space: nowrap;}
}
@media (orientation: landscape) and (max-height: 520px) {
  body[data-rd] .header-middle {padding: 4px 0;}
  body[data-rd] .header-middle .logo img {height: 34px;}
  body[data-rd] #slideshow .text {bottom: 22px;}
}
body[data-rd] #mommenu .btn-navbar i {line-height: 1; font-size: 16px; color: #fff;}
body[data-rd] #mommenu .btn-navbar .title {margin: 0; vertical-align: middle; font-size: 14px; color: #fff;}

/* поиск: перебиваем специфичность темы (.block.search .search__form …) */
body[data-rd] .block.search .search__form {width: 240px; height: 42px; margin: 0 12px 0 0; background: none;}
body[data-rd] .block.search .search__form .search__input {height: 42px; padding: 0 46px 0 18px; border: 1.5px solid var(--rd-line) !important;}
body[data-rd] .block.search .search__form .search__submit {top: 50%; right: 4px; width: 34px; height: 34px; background: var(--rd-ink); color: #fff; font-size: 15px;}
body[data-rd] .block.search .search__form .search__submit:hover {background: var(--rd-cta-1);}
body[data-rd] #menu_offcanvas .search .search__form {width: 100%;}
body[data-rd] #menu_offcanvas .search .search__form .search__input {color: var(--rd-ink);}
@media (max-width: 767px) {
  body[data-rd] .block.search .search__form {width: 100%; margin: 0;}
}

/* хлебные крошки */
body[data-rd] #breadcrumbs {background: transparent; border: 0; padding: 18px 0 0; margin: 0; text-align: left;}
body[data-rd] #breadcrumbs:before {display: none;}
body[data-rd] #breadcrumbs ul li {padding: 2px 0;}
body[data-rd] #breadcrumbs ul li, body[data-rd] #breadcrumbs ul li a {font-size: 13px; font-weight: 500; color: var(--rd-ink-2); text-transform: none;}
body[data-rd] #breadcrumbs ul li a:hover {color: var(--rd-cta-2);}
body[data-rd] #breadcrumbs ul li a:after {
  content: "" !important; width: 12px; height: 12px; margin: 0 8px; vertical-align: -1px; background: currentColor; opacity: .5;
  -webkit-mask: var(--ic-chevron-right) center/contain no-repeat; mask: var(--ic-chevron-right) center/contain no-repeat;
}
body[data-rd] .index #breadcrumbs, body[data-rd].index #breadcrumbs {display: none;}
body[data-rd] .toolbar, body[data-rd] .toolbar label {text-transform: none; font-size: 14px; font-weight: 600;}
body[data-rd] .toolbar select {border-radius: 999px; height: 38px; padding: 0 12px;}
body[data-rd] .categories .item .cat-image a {overflow: hidden;}
body[data-rd] .categories .item .cat-image img {max-width: 100%; max-height: 100%; width: auto; height: auto;}

/* карточка товара: главная кнопка — мандариновая, «Быстрый заказ» — контурная, цена крупно */
body[data-rd] .add-to-cart {display: flex; flex-wrap: wrap; gap: 10px; align-items: center;}
body[data-rd] .add-to-cart .button.add-cart:not(.quick) {
  height: 54px; padding: 0 32px; font-size: 16px; color: #fff;
  background: linear-gradient(110deg, var(--rd-cta-1) 0%, var(--rd-cta-2) 42%, var(--rd-cta-shine, #FF9E5E) 50%, var(--rd-cta-2) 58%, var(--rd-cta-1) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 30px -10px var(--rd-glow);
}
body[data-rd] .add-to-cart .button.add-cart:not(.quick):hover {background-position: 0 0; transform: translateY(-3px);}
body[data-rd] .add-to-cart .button.add-cart.quick {height: 54px; padding: 0 26px; font-size: 15px; background: transparent; color: var(--rd-ink); box-shadow: inset 0 0 0 1.5px rgba(36,21,28,.25);}
body[data-rd] .add-to-cart .button.add-cart.quick:hover {background: var(--rd-ink); color: #fff;}
body[data-rd] .add-to-cart .button.add-cart:before {display: none;}
body[data-rd] .add-to-cart .button.add-cart {font-size: 16px !important;}
body[data-rd] .price-box .special-price, body[data-rd] .price-box .special-price .price, body[data-rd] .price-box .special-price .num {font-family: var(--rd-sans); font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--rd-ink); letter-spacing: -.01em;}
body[data-rd] .products-grid .price-box .special-price, body[data-rd] .products-grid .price-box .special-price .num {font-size: 20px;}
@media (max-width: 767px) {
  body[data-rd] .add-to-cart .button.add-cart {flex: 1 1 100%;}
}

/* =====================================================================
   Правки по отзыву 16.10
   ===================================================================== */

/* стрелки на кнопках убраны */
body[data-rd] .button.big:after {content: none !important; display: none !important;}

/* «Перейти в каталог» — стеклянная */
body[data-rd] #slideshow .text .button.big {
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 18px 40px -18px rgba(0,0,0,.6);
}
body[data-rd] #slideshow .text .button.big:hover {
  color: var(--rd-ink); background: rgba(255,255,255,.92); border-color: #fff; transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,.55);
}

/* параллакс фона акции — отдельный слой (фиксированный фон не работает на iPhone) */
body[data-rd] #promotion {background: var(--rd-ink) !important;}
body[data-rd] .rd-parallax {position: absolute; left: 0; right: 0; top: -20%; bottom: -20%; z-index: -2; background: url("/design/redesign/promotion.jpg") center / cover no-repeat; will-change: transform;}

/* подвал: ссылка на политику */
body[data-rd] .rd-footer__bottom {align-items: center;}
body[data-rd] .rd-footer .rd-footer__pp a {color: rgba(255,255,255,.75); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px;}
body[data-rd] .rd-footer .rd-footer__pp a:hover {color: #fff; text-decoration-color: var(--rd-mandarin);}

/* ---------- Текстовые страницы и блок «Мы рады…» на главной ---------- */
body[data-rd] .DescriptionBlock {
  background: #fff; border: 0; border-radius: 28px; box-shadow: var(--rd-shadow-1);
  padding: clamp(24px, 4vw, 48px); margin-bottom: 40px; font-size: 17px; line-height: 1.75; color: var(--rd-ink);
}
body[data-rd] .DescriptionBlock p {margin-bottom: 14px;}
body[data-rd] .htmlDataBlock span[style], body[data-rd] .htmlDataBlock font {color: inherit !important; font-family: inherit !important; font-size: inherit !important;}
body[data-rd] .page-title {margin: 6px 0 26px;}

/* ---------- «Доставка и оплата» ---------- */
body[data-rd] .rd-delivery {margin-bottom: 30px;}
body[data-rd] .rd-delivery__lead {max-width: 760px; margin: 0 0 32px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--rd-ink-2);}
body[data-rd] .rd-delivery__grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px;}
body[data-rd] .rd-dcard {position: relative; padding: 30px 28px; background: #fff; border-radius: 24px; box-shadow: var(--rd-shadow-1); transition: transform .4s var(--rd-ease), box-shadow .4s var(--rd-ease);}
body[data-rd] .rd-dcard:hover {transform: translateY(-4px); box-shadow: var(--rd-shadow-2);}
body[data-rd] .rd-dcard h3 {font-size: 24px; margin: 18px 0 10px;}
body[data-rd] .rd-dcard p {margin: 0; color: var(--rd-ink-2); font-size: 16px; line-height: 1.6;}
body[data-rd] .rd-dcard__ic {display: inline-grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 18px; background: linear-gradient(145deg, #FFE3CC, #FFF6EE); color: var(--rd-cta-2); box-shadow: 0 12px 24px -12px rgba(226,86,15,.5);}
body[data-rd] .rd-dcard__ic svg.ic {width: 26px; height: 26px;}
body[data-rd] .rd-dcard--accent {color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(255,138,61,.55), transparent 60%), var(--rd-ink);}
body[data-rd] .rd-dcard--accent h3 {color: #fff;}
body[data-rd] .rd-dcard--accent p {color: rgba(255,255,255,.78);}
body[data-rd] .rd-dcard--accent .rd-dcard__ic {background: rgba(255,255,255,.12); color: #FFB27A; box-shadow: none;}
body[data-rd] .rd-chips {display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none;}
body[data-rd] .rd-chips li {padding: 8px 14px; border-radius: 99px; background: var(--rd-cream-2); font-weight: 700; font-size: 14px;}
body[data-rd] .rd-delivery__help {display: flex; gap: 22px; align-items: flex-start; padding: 30px 28px; background: #fff; border-radius: 24px; box-shadow: var(--rd-shadow-1);}
body[data-rd] .rd-delivery__help h3 {font-size: 24px; margin: 4px 0 8px;}
body[data-rd] .rd-delivery__help p {margin: 0; color: var(--rd-ink-2); font-size: 16px; line-height: 1.65;}
body[data-rd] .rd-delivery__help a {color: var(--rd-ink); font-weight: 800; white-space: nowrap;}
body[data-rd] .rd-delivery__wish {margin: 34px 0 0; text-align: center; font-family: var(--rd-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--rd-berry);}

/* ---------- «Связь с администрацией» ---------- */
body[data-rd] .contact-info {display: flex; flex-wrap: wrap; margin: 0 -12px 40px;}
body[data-rd] .contact-info > div {padding: 0 12px; margin-bottom: 24px;}
body[data-rd] .contact-info .col-account {height: 100%; padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: 28px; box-shadow: var(--rd-shadow-1);}
body[data-rd] .col-account h5 {font-family: var(--rd-serif); font-size: 26px; font-weight: 500; text-transform: none; border: 0; padding: 0; margin: 0 0 22px;}
body[data-rd] .form-list .fields {margin-bottom: 16px;}
body[data-rd] .form-list .fields label, body[data-rd] .contact-info .file > label {font-size: 14px; font-weight: 700; color: var(--rd-ink); margin-bottom: 6px;}
body[data-rd] .form-list .fields label em {color: var(--rd-cta-1); font-style: normal;}
body[data-rd] .form-list .inputText, body[data-rd] .form-list textarea {display: block; width: 100%; max-width: none;}
body[data-rd] .form-list textarea {min-height: 140px; padding: 14px 18px; resize: vertical;}
body[data-rd] .contact-info .file {margin-top: 6px;}
body[data-rd] .contact-info .file input[type="file"] {font-size: 14px; color: var(--rd-ink-2);}
body[data-rd] .contact-info .file input[type="file"]::file-selector-button {margin-right: 12px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--rd-cream-2); color: var(--rd-ink); font: 700 14px var(--rd-sans); cursor: pointer;}
body[data-rd] .contact-info .file input[type="file"]::file-selector-button:hover {background: var(--rd-ink); color: #fff;}
body[data-rd] .feedbackForm .pp {margin: 18px 0 16px;}
body[data-rd] .feedbackForm .button {height: 54px; padding: 0 36px; font-size: 16px; color: #fff;
  background: linear-gradient(110deg, var(--rd-cta-1) 0%, var(--rd-cta-2) 42%, var(--rd-cta-shine, #FF9E5E) 50%, var(--rd-cta-2) 58%, var(--rd-cta-1) 100%);
  background-size: 260% 100%; background-position: 100% 0; box-shadow: 0 14px 30px -10px var(--rd-glow);}
body[data-rd] .feedbackForm .button:hover {background-position: 0 0;}
body[data-rd] .block-contact p {display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 16px; line-height: 1.4;}
body[data-rd] .block-contact p em.fa {display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #FFE3CC, #FFF6EE); color: var(--rd-cta-2); font-size: 20px;}
body[data-rd] .block-contact p em.fa:before {vertical-align: 0;}
body[data-rd] .block-contact a {font-weight: 800; color: var(--rd-ink);}

/* ---------- Каталог: боковое меню ---------- */
body[data-rd] .col-left .block {background: #fff; border-radius: 24px; box-shadow: var(--rd-shadow-1); padding: 10px; margin-bottom: 24px;}
body[data-rd] .col-left .block > .title {height: auto; line-height: 1.2; margin: 0 0 6px; padding: 14px 14px 10px; background: none; text-align: left; font-family: var(--rd-serif); font-size: 24px;}
body[data-rd] .col-left .block > .title a {color: var(--rd-ink);}
body[data-rd] .col-left .block .content > ul > li {border: 0; margin: 0 0 2px; border-radius: 14px; transition: background-color .2s ease;}
body[data-rd] .col-left .block .content > ul > li:hover, body[data-rd] .col-left .block .content > ul > li.active {background: var(--rd-cream);}
body[data-rd] .col-left .block .content > ul > li > a {padding: 11px 40px 11px 14px; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--rd-ink); line-height: 1.35;}
body[data-rd] .col-left .block .content > ul > li ul > li {padding-left: 10px;}
body[data-rd] .col-left .block .content > ul > li ul > li > a {padding: 8px 36px 8px 14px; font-size: 13.5px; font-weight: 500; text-transform: none; color: var(--rd-ink-2); line-height: 1.35;}
body[data-rd] .col-left .block .content ul li a.active, body[data-rd] .col-left .block .content > ul > li ul > li > a:hover {color: var(--rd-cta-2);}
body[data-rd] .col-left .block .content ul li .open-sub {top: 50% !important; right: 8px; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: grid; place-items: center;}
body[data-rd] .col-left .block .content > ul > li ul li .open-sub {top: 17px !important;}
body[data-rd] .col-left .block .content ul li .open-sub:hover {background: rgba(36,21,28,.07);}
body[data-rd] .col-left .block .content ul li .open-sub:before {
  content: "" !important; width: 14px; height: 14px; background: currentColor; transition: transform .3s var(--rd-ease);
  -webkit-mask: var(--ic-chevron-down) center/contain no-repeat; mask: var(--ic-chevron-down) center/contain no-repeat;
}
body[data-rd] .col-left .block .content ul li .open-sub.active:before {transform: rotate(180deg);}

/* ---------- Каталог: плитки подкатегорий одинаковые ---------- */
body[data-rd] .categories .item .cat-image {aspect-ratio: 4 / 3; padding: 0; background: var(--rd-cream-2);}
body[data-rd] .categories .item .cat-image a {padding: 0;}
body[data-rd] .categories .item .cat-image img {width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover;}
body[data-rd] .categories .item .cat-name {text-align: center;}
body[data-rd] .categories .item .cat-name a {white-space: normal; line-height: 1.35;}
@media (min-width: 992px) {
  body[data-rd] .page-title h1.title {font-size: clamp(34px, 3.4vw, 48px);}
}

@media (max-width: 991px) {
  body[data-rd] .rd-delivery__grid {grid-template-columns: 1fr;}
}
@media (max-width: 767px) {
  body[data-rd] .rd-delivery__help {flex-direction: column; padding: 24px 20px;}
  body[data-rd] .rd-dcard {padding: 24px 20px;}
  body[data-rd] .DescriptionBlock {font-size: 16px; border-radius: 22px;}
  body[data-rd] .contact-info .col-account {border-radius: 22px;}
  body[data-rd] .feedbackForm .button {width: 100%;}
}
body[data-rd] .block-contact p em.fa {font-size: 0;}
body[data-rd] .block-contact p em.fa:before {width: 20px; height: 20px;}
/* контакты: иконка слева, текст и ссылка одной строкой справа (переносится целиком) */
body[data-rd] .block-contact p {display: block; position: relative; min-height: 46px; padding: 12px 0 0 60px;}
body[data-rd] .block-contact p em.fa {position: absolute; left: 0; top: 0;}
body[data-rd] .block-contact a {overflow-wrap: anywhere; white-space: nowrap;}
@media (max-width: 400px) {body[data-rd] .block-contact a {white-space: normal;}}
@media (max-width: 400px) {body[data-rd] .block-contact a {font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow-wrap: normal;} body[data-rd] .block-contact p {font-size: 15px;}}
body[data-rd] .rd-footer .rd-footer__pp {font-size: 13px !important; color: inherit;}

/* нижний дубль панели фильтров: оставляем только переключатель страниц */
body[data-rd] .toolbar.bottom {background: none; box-shadow: none; border: 0; padding: 0; margin: 10px 0 40px;}
body[data-rd] .toolbar.bottom .view-mode, body[data-rd] .toolbar.bottom .show-by, body[data-rd] .toolbar.bottom .sort-by {display: none !important;}
body[data-rd] .toolbar .pages {float: none; display: flex; justify-content: center; width: 100%;}
body[data-rd] .toolbar .pages ol {display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none;}
body[data-rd] .toolbar .pages li {float: none; margin: 0; padding: 0;}
body[data-rd] .toolbar .pages li > a, body[data-rd] .toolbar .pages li > span {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 0 !important; border-radius: 999px;
  background: #fff; color: var(--rd-ink); font: 700 15px/1 var(--rd-sans); box-shadow: var(--rd-shadow-1); transition: background-color .2s ease, color .2s ease, transform .3s var(--rd-ease);
}
body[data-rd] .toolbar .pages li > a:hover {background: var(--rd-ink); color: #fff; transform: translateY(-2px);}
body[data-rd] .toolbar .pages li.active > *, body[data-rd] .toolbar .pages li.current > *, body[data-rd] .toolbar .pages li > span {background: var(--rd-ink); color: #fff;}
/* в верхней панели пагинация не нужна — она внизу */
body[data-rd] .toolbar:not(.bottom) .pages {display: none;}

/* --- кнопки «Таблица / Список» --- */
body[data-rd] .toolbar .view-mode {display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--rd-cream);}
body[data-rd] .toolbar .view-mode > * {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin: 0; border: 0 !important; border-radius: 50%;
  background: transparent; color: var(--rd-ink-2); font-size: 17px; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
body[data-rd] .toolbar .view-mode > *:hover {color: var(--rd-ink); background: #fff;}
body[data-rd] .toolbar .view-mode > .rd-active {background: var(--rd-ink); color: #fff;}

/* --- каталог списком: горизонтальные карточки --- */
body[data-rd] .products-grid.rd-list .item {width: 100% !important;}
body[data-rd] .products-grid.rd-list .item .item-inner > form {flex-direction: row; align-items: stretch;}
body[data-rd] .products-grid.rd-list .item .product-image {flex: none; width: 240px; margin: 10px;}
body[data-rd] .products-grid.rd-list .item .product-shop {justify-content: center; padding: 24px 28px 24px 14px;}
body[data-rd] .products-grid.rd-list .item .product-shop .product-name a {-webkit-line-clamp: 3; min-height: 0; font-size: 18px; line-height: 1.4;}
body[data-rd] .products-grid.rd-list .item .product-shop .price-box {margin: 14px 0 0; padding: 0;}
body[data-rd] .products-grid.rd-list .item .product-shop .price-box .price, body[data-rd] .products-grid.rd-list .item .product-shop .price-box .price .num {font-size: 24px;}
@media (max-width: 767px) {
  body[data-rd] .products-grid.rd-list .item .product-image {width: 128px; margin: 6px;}
  body[data-rd] .products-grid.rd-list .item .product-shop {padding: 14px 14px 14px 6px;}
  body[data-rd] .products-grid.rd-list .item .product-shop .product-name a {font-size: 14px;}
  body[data-rd] .products-grid.rd-list .item .product-shop .price-box .price .num {font-size: 18px;}
  body[data-rd] .products-grid.rd-list .item .product-image .actions .add-to-links {display: none;}
}

/* --- список: рейтинг и кнопки — отдельной колонкой справа, всегда видны --- */
/* обёртки вокруг фото «растворяем» (display: contents), чтобы рейтинг и кнопки стали ячейками сетки карточки */
body[data-rd] .products-grid.rd-list .item .item-inner > form {
  display: grid; align-items: center; column-gap: 28px;
  grid-template-columns: 240px minmax(0, 1fr) 210px;
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas: "img info ." "img info rate" "img info cart" "img info links" "img info .";
  padding: 10px 28px 10px 10px;
}
body[data-rd] .products-grid.rd-list .item .product-image,
body[data-rd] .products-grid.rd-list .item .product-image .actions,
body[data-rd] .products-grid.rd-list .item .product-image .actions .group-mask,
body[data-rd] .products-grid.rd-list .item .product-image .actions .inner-mask {display: contents;}
body[data-rd] .products-grid.rd-list .item .product-image a.product-img {
  grid-area: img; align-self: stretch; border-radius: calc(var(--rd-radius) - 8px);
  background: radial-gradient(120% 90% at 50% 15%, #fff 0%, #FAF3EC 60%, #F3E7DB 100%);
}
body[data-rd] .products-grid.rd-list .item .product-image .mask,
body[data-rd] .products-grid.rd-list .item .product-image .quickview-wrap {display: none;}
body[data-rd] .products-grid.rd-list .item .product-shop {grid-area: info; padding: 18px 0; transform: none;}
body[data-rd] .products-grid.rd-list .item .actions .ratings,
body[data-rd] .products-grid.rd-list .item .actions .addtocart,
body[data-rd] .products-grid.rd-list .item .actions .add-to-links {opacity: 1 !important; transform: none !important; margin: 0;}
body[data-rd] .products-grid.rd-list .item .actions .ratings {grid-area: rate; display: flex; justify-content: center; height: auto; margin-bottom: 12px;}
body[data-rd] .products-grid.rd-list .item .actions .addtocart {grid-area: cart;}
body[data-rd] .products-grid.rd-list .item .actions .addtocart .add-cart {width: 100%; height: 48px;}
body[data-rd] .products-grid.rd-list .item .actions .add-to-links {grid-area: links; position: static; display: flex !important; flex-direction: row; justify-content: center; gap: 10px; margin-top: 12px;}
body[data-rd] .products-grid.rd-list .item .actions .add-to-links > a {width: 44px; height: 44px; background: var(--rd-cream); box-shadow: none;}
body[data-rd] .products-grid.rd-list .item .actions .add-to-links > a:hover {background: var(--rd-ink); color: #fff;}

@media (max-width: 991px) {
  body[data-rd] .products-grid.rd-list .item .item-inner > form {grid-template-columns: 180px minmax(0, 1fr) 180px; column-gap: 20px; padding-right: 18px;}
}
/* телефон: фото слева, справа — название, цена, звёзды и кнопки друг под другом */
@media (max-width: 767px) {
  body[data-rd] .products-grid.rd-list .item .item-inner > form {
    grid-template-columns: 116px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; padding: 8px 12px 12px 8px;
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "img info" "img rate" "img cart" "img links";
  }
  body[data-rd] .products-grid.rd-list .item .product-shop {padding: 6px 0 0;}
  body[data-rd] .products-grid.rd-list .item .actions .ratings {justify-content: flex-start; margin: 0;}
  body[data-rd] .products-grid.rd-list .item .actions .addtocart .add-cart {height: 40px;}
  body[data-rd] .products-grid.rd-list .item .actions .add-to-links {display: flex !important; justify-content: flex-start; margin: 0;}
  body[data-rd] .products-grid.rd-list .item .actions .add-to-links > a {width: 38px; height: 38px; font-size: 15px;}
}
body[data-rd] .products-grid.rd-list .item .product-image a.product-img {width: 100%; height: 100%; min-height: 220px; aspect-ratio: auto;}
@media (max-width: 767px) {body[data-rd] .products-grid.rd-list .item .product-image a.product-img {min-height: 116px; padding: 8px;}}
body[data-rd] .products-grid.rd-list .item .actions .ratings, body[data-rd] .products-grid.rd-list .item .actions .addtocart, body[data-rd] .products-grid.rd-list .item .actions .add-to-links {transition: none !important;}

/* --- фото в карточках: строго квадратная рамка, фото вписано целиком, белый фон фото сливается с подложкой --- */
body[data-rd] .products-grid .item .product-image {background: #F6F0E9;}
body[data-rd] .products-grid .item .product-image a.product-img {position: relative; display: block; aspect-ratio: 1 / 1; height: auto; padding: 0; overflow: hidden;}
body[data-rd] .products-grid .item .product-image a.product-img img {
  position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; max-width: none; max-height: none;
  object-fit: contain; object-position: center; mix-blend-mode: multiply; filter: none;
}
body[data-rd] .products-grid .item:hover .product-image a.product-img img {transform: scale(1.05);}
/* список: рамка фото на всю высоту карточки */
body[data-rd] .products-grid.rd-list .item .product-image a.product-img {aspect-ratio: auto; height: 100%; min-height: 220px; background: #F6F0E9;}
@media (max-width: 767px) {
  body[data-rd] .products-grid.rd-list .item .product-image a.product-img {min-height: 116px;}
  body[data-rd] .products-grid .item .product-image a.product-img img {top: 6%; left: 6%; width: 88%; height: 88%;}
}

/* =====================================================================
   Личный кабинет: вход, регистрация, восстановление пароля
   ===================================================================== */
body[data-rd] .account.row {display: flex; flex-wrap: wrap; margin: 0 -12px 40px;}
body[data-rd] .account.row > form {display: flex; flex-wrap: wrap; width: 100%;}
body[data-rd] .account.row .col-md-6 {display: flex; padding: 0 12px; margin-bottom: 24px;}
body[data-rd] .account.row .col-account {
  flex: 1; padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: 28px; box-shadow: var(--rd-shadow-1);
}
body[data-rd] .account.row .col-account > p {color: var(--rd-ink-2); font-size: 16px; line-height: 1.65; margin: 0 0 22px;}
body[data-rd] .account.row .second .col-account {
  color: #fff; background: radial-gradient(520px 300px at 100% 0%, rgba(255,138,61,.45), transparent 60%), var(--rd-ink);
}
body[data-rd] .account.row .second .col-account h5 {color: #fff;}
body[data-rd] .account.row .second .col-account > p {color: rgba(255,255,255,.78);}
body[data-rd] .account.row .form-list .inputText {width: 100%; max-width: none;}

/* кнопки: «Войти» — главная, «Забыли пароль?» — ссылка, «Зарегистрироваться» — стеклянная на тёмном */
body[data-rd] .account.row .buttons {display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px;}
body[data-rd] .account.row .buttons .button {height: 52px; padding: 0 32px; font-size: 16px;}
body[data-rd] .account.row .buttons button.button, body[data-rd] .account.row .buttons input.button {
  color: #fff; background: linear-gradient(110deg, var(--rd-cta-1) 0%, var(--rd-cta-2) 42%, var(--rd-cta-shine, #FF9E5E) 50%, var(--rd-cta-2) 58%, var(--rd-cta-1) 100%);
  background-size: 260% 100%; background-position: 100% 0; box-shadow: 0 14px 30px -10px var(--rd-glow);
}
body[data-rd] .account.row .buttons button.button:hover, body[data-rd] .account.row .buttons input.button:hover {background-position: 0 0;}
body[data-rd] .account.row .buttons a.button[href*="recovery"] {
  height: auto; padding: 4px 0; background: none; box-shadow: none; color: var(--rd-ink); font-weight: 700; font-size: 15px;
  text-decoration: underline; text-decoration-color: rgba(36,21,28,.3); text-underline-offset: 4px; border-radius: 0;
}
body[data-rd] .account.row .buttons a.button[href*="recovery"]:hover {transform: none; color: var(--rd-cta-2); text-decoration-color: currentColor;}
body[data-rd] .account.row .second .buttons .button {
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); box-shadow: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body[data-rd] .account.row .second .buttons .button:hover {background: #fff; color: var(--rd-ink);}
body[data-rd] .account.row .buttons p.required {flex-basis: 100%; margin: 0; font-size: 13px; color: var(--rd-ink-2);}
body[data-rd] .account.row .buttons p.required em {color: var(--rd-cta-1); font-style: normal;}

/* «Показать пароль» и предупреждение Caps Lock */
body[data-rd] .showPassBlock {margin-top: 10px;}
body[data-rd] .showPassBlock .showPass {display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--rd-ink-2); text-decoration: underline; text-decoration-color: rgba(36,21,28,.25); text-underline-offset: 3px; outline: 0;}
body[data-rd] .showPassBlock .showPass:hover, body[data-rd] .showPassBlock .showPass:focus-visible {color: var(--rd-ink); text-decoration-color: currentColor; outline: 0;}
body[data-rd] #caps_lock {margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: #FFF4EC; color: var(--rd-cta-2); font-size: 13px; text-align: left;}
body[data-rd] #caps_lock br {display: none;}
body[data-rd] #caps_lock .fa-warning {font-size: 16px; color: var(--rd-cta-1); margin-right: 6px;}

/* ошибки в формах — аккуратно и красным, поле подсвечено */
body[data-rd] label.invalidInput, body[data-rd] .form-list .fields label.invalidInput {
  display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #C0392B; line-height: 1.4;
}
body[data-rd] label.invalidInput:before {content: "!"; display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #C0392B; color: #fff; font-size: 11px; font-weight: 800;}
body[data-rd] .inputText.invalidInput, body[data-rd] input.invalidInput, body[data-rd] textarea.invalidInput {border-color: #E58C80 !important; background: #FFF8F6;}
body[data-rd] .inputText.validInput {border-color: rgba(79,138,31,.45);}

/* пустая корзина и пустое сравнение */
body[data-rd] .cart-info .attention, body[data-rd] #main > .container .attention, body[data-rd] p.attention {
  display: block; max-width: 640px; margin: 10px auto 60px; padding: 40px 32px; text-align: center; font-size: 17px; line-height: 1.6;
  color: var(--rd-ink-2); background: #fff; border: 0; border-radius: 28px; box-shadow: var(--rd-shadow-1);
}
body[data-rd] .attention a {color: var(--rd-cta-2); font-weight: 800;}

@media (max-width: 767px) {
  body[data-rd] .account.row .col-account {border-radius: 22px;}
  body[data-rd] .account.row .buttons button.button, body[data-rd] .account.row .second .buttons .button {width: 100%;}
}
body[data-rd] .account.row .second .buttons a.button[href*="recovery"] {height: 52px; padding: 0 28px; border-radius: 999px; color: #fff; text-decoration: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);}
body[data-rd] .account.row .second .buttons a.button[href*="recovery"]:hover {background: #fff; color: var(--rd-ink);}

/* =====================================================================
   Восстановление пароля: шаг 1 (почта) и шаг 2 (новый пароль)
   ===================================================================== */
body[data-rd] .rd-steps {display: flex; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: none;}
body[data-rd] .rd-steps li {display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--rd-cream); color: var(--rd-ink-2); font-size: 13px; font-weight: 700;}
body[data-rd] .rd-steps li span {display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--rd-ink-2); font-size: 12px; font-weight: 800;}
body[data-rd] .rd-steps li span svg.ic {width: 14px; height: 14px; stroke-width: 2.5;}
body[data-rd] .rd-steps li.is-active {background: var(--rd-ink); color: #fff;}
body[data-rd] .rd-steps li.is-active span {background: var(--rd-cta-1); color: #fff;}
body[data-rd] .rd-steps li.is-done {color: var(--rd-leaf);}
body[data-rd] .rd-steps li.is-done span {background: var(--rd-leaf); color: #fff;}

body[data-rd] .rd-reset h5:focus {outline: 0;}
body[data-rd] .rd-reset .form-list {margin-bottom: 18px;}
body[data-rd] .rd-reset .buttons {display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;}
body[data-rd] .rd-reset .rd-link {color: var(--rd-ink); font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(36,21,28,.3); text-underline-offset: 4px;}
body[data-rd] .rd-reset .rd-link:hover {color: var(--rd-cta-2); text-decoration-color: currentColor;}
body[data-rd] .account.row .rd-reset .buttons .rd-btn-outline {color: var(--rd-ink); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(36,21,28,.22);}
body[data-rd] .account.row .rd-reset .buttons .rd-btn-outline:hover:not(:disabled) {background: var(--rd-ink); color: #fff;}
body[data-rd] .account.row .rd-reset .buttons .button:disabled {opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(.3);}
body[data-rd] .account.row .rd-reset .buttons a.rd-btn-primary {
  color: #fff; background: linear-gradient(110deg, var(--rd-cta-1) 0%, var(--rd-cta-2) 42%, var(--rd-cta-shine, #FF9E5E) 50%, var(--rd-cta-2) 58%, var(--rd-cta-1) 100%);
  background-size: 260% 100%; background-position: 100% 0; box-shadow: 0 14px 30px -10px var(--rd-glow);
}

/* поле пароля с «глазом» */
body[data-rd] .rd-pass {position: relative;}
body[data-rd] .rd-pass .inputText {padding-right: 54px;}
body[data-rd] .rd-pass__eye {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 12px; background: transparent; color: var(--rd-ink-2); cursor: pointer;
}
body[data-rd] .rd-pass__eye:hover {background: var(--rd-cream); color: var(--rd-ink);}
body[data-rd] .rd-pass__eye svg.ic {width: 20px; height: 20px;}
body[data-rd] .rd-pass__eye .rd-eye-off, body[data-rd] .rd-pass__eye.is-on .rd-eye-on {display: none;}
body[data-rd] .rd-pass__eye.is-on .rd-eye-off {display: block;}

/* требования к паролю — отмечаются по мере ввода */
body[data-rd] .rd-rules {display: grid; gap: 8px; margin: 0 0 24px; padding: 16px 18px; list-style: none; border-radius: 16px; background: var(--rd-cream);}
body[data-rd] .rd-rules li {display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--rd-ink-2); transition: color .25s ease;}
body[data-rd] .rd-rules li svg.ic {flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 3; color: transparent; background: rgba(36,21,28,.1); transition: background-color .25s ease, color .25s ease;}
body[data-rd] .rd-rules li.is-ok {color: var(--rd-ink);}
body[data-rd] .rd-rules li.is-ok svg.ic {color: #fff; background: var(--rd-leaf);}

/* итоговые экраны: «Проверьте почту», «Пароль изменён» */
body[data-rd] .rd-reset__result .rd-reset__ic {display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 22px; background: linear-gradient(145deg, #FFE3CC, #FFF6EE); color: var(--rd-cta-2); box-shadow: 0 16px 30px -14px rgba(226,86,15,.55);}
body[data-rd] .rd-reset__result .rd-reset__ic--ok {background: linear-gradient(145deg, #DDF0CF, #F4FBEF); color: var(--rd-leaf); box-shadow: 0 16px 30px -14px rgba(79,138,31,.5);}
body[data-rd] .rd-reset__result .rd-reset__ic svg.ic {width: 34px; height: 34px;}
body[data-rd] .rd-reset__result p {color: var(--rd-ink-2); font-size: 16px; line-height: 1.65; margin: 0 0 12px;}
body[data-rd] .rd-reset__result p b {color: var(--rd-ink); word-break: break-all;}
body[data-rd] .rd-reset__result .rd-muted {font-size: 14px; margin-bottom: 22px;}

/* советы на тёмной карточке */
body[data-rd] .rd-tips {display: grid; gap: 16px; margin: 0; padding: 0; list-style: none;}
body[data-rd] .rd-tips li {display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55;}
body[data-rd] .rd-tips svg.ic {flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.1); color: #FFB27A;}

@media (max-width: 767px) {
  body[data-rd] .rd-reset .buttons .button {width: 100%;}
  body[data-rd] .rd-reset .rd-link {margin: 0 auto;}
}

/* =====================================================================
   Мобильная версия — доводка (iPhone 390×844 и 844×390)
   ===================================================================== */

/* блоки со скруглёнными краями не должны быть шире экрана (тема ставит им width: 100%) */
body[data-rd] #promotion, body[data-rd] #orders {width: auto; max-width: none;}
html:has(body[data-rd]) {overflow-x: clip;}
body[data-rd] {overflow-x: clip;}

@media (max-width: 767px) {
  /* --- шапка: одна ровная строка «звонок · поиск · корзина» --- */
  body[data-rd] .header-top .container {gap: 10px; padding: 10px 16px;}
  body[data-rd] .header-top .header-right {gap: 10px;}
  body[data-rd] .header-top .block.callback .button {width: 42px; height: 42px; box-shadow: 0 8px 18px -10px var(--rd-glow);}
  body[data-rd] .header-top .block.cart .title a, body[data-rd] .header-top .block.cart > a {
    position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
    background: #fff; box-shadow: inset 0 0 0 1.5px var(--rd-line);
  }
  body[data-rd] .header-top .block.cart .title i {font-size: 19px; margin: 0;}
  body[data-rd] .header-top .block.cart .tc {position: absolute; top: -4px; right: -4px;}
  body[data-rd] .header-top .block.cart .cart-count {min-width: 18px; height: 18px; font-size: 10px; padding: 0 5px; box-shadow: 0 0 0 2px #fff;}
  body[data-rd] .header-middle .container {padding-top: 2px; padding-bottom: 2px;}

  /* --- табы «Хиты / Новинки / Товары на главной»: три равные кнопки, влезают целиком --- */
  body[data-rd] #producttabs .pdt-nav {display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; padding: 4px; overflow: visible; border-radius: 20px;}
  body[data-rd] #producttabs .pdt-nav > li span {
    display: flex; align-items: center; justify-content: center; height: 100%; min-height: 44px; padding: 6px 6px;
    border-radius: 16px; font-size: 13px; line-height: 1.2; text-align: center; white-space: normal;
  }
}

/* --- карточки на тач-экранах: фото чистое, «В корзину» — под ценой, сердце и сравнение — маленькие в углу --- */
@media (hover: none) {
  body[data-rd] .products-grid:not(.rd-list) .item .item-inner > form {display: flex; flex-direction: column;}
  body[data-rd] .products-grid:not(.rd-list) .item .product-image,
  body[data-rd] .products-grid:not(.rd-list) .item .product-image .actions,
  body[data-rd] .products-grid:not(.rd-list) .item .product-image .actions .group-mask,
  body[data-rd] .products-grid:not(.rd-list) .item .product-image .actions .inner-mask {display: contents;}
  body[data-rd] .products-grid:not(.rd-list) .item .product-image a.product-img {
    order: 1; margin: 6px 6px 0; border-radius: 14px; background: #F6F0E9; transform: none;
  }
  body[data-rd] .products-grid:not(.rd-list) .item .product-shop {order: 2; flex: 1; transform: none;}
  body[data-rd] .products-grid:not(.rd-list) .item .actions .ratings,
  body[data-rd] .products-grid:not(.rd-list) .item .product-image .mask,
  body[data-rd] .products-grid:not(.rd-list) .item .quickview-wrap {display: none !important;}
  body[data-rd] .products-grid:not(.rd-list) .item .actions .addtocart {order: 3; margin: 0; padding: 0 12px 12px; opacity: 1; transform: none; transition: none;}
  body[data-rd] .products-grid:not(.rd-list) .item .actions .addtocart .add-cart {width: 100%; height: 40px; padding: 0 10px; box-shadow: 0 10px 20px -12px var(--rd-glow);}
  body[data-rd] .products-grid:not(.rd-list) .item .actions .add-to-links {
    position: absolute; top: 12px; right: 12px; z-index: 6; display: flex; flex-direction: column; gap: 6px; margin: 0;
    opacity: 1; transform: none; transition: none;
  }
  body[data-rd] .products-grid:not(.rd-list) .item .actions .add-to-links > a {
    width: 34px; height: 34px; font-size: 15px; background: rgba(255,255,255,.92); box-shadow: 0 4px 12px -4px rgba(36,21,28,.25);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  body[data-rd] .products-grid:not(.rd-list) .item .ico-new,
  body[data-rd] .products-grid:not(.rd-list) .item .ico-best,
  body[data-rd] .products-grid:not(.rd-list) .item .ico-sale {top: 12px; left: 12px; padding: 5px 9px; font-size: 10px;}
}

/* --- выезжающее меню (кнопка «Меню») --- */
body[data-rd].active #menu_offcanvas, body[data-rd] .active #menu_offcanvas, body.active[data-rd] #menu_offcanvas {background: var(--rd-cream); padding: 0 14px 24px; z-index: 1000;}
body[data-rd] #menu_offcanvas {font-family: var(--rd-sans);}
body[data-rd] #menu_offcanvas .close {top: 12px; right: 12px; padding: 0; z-index: 3;}
body[data-rd] #menu_offcanvas .close .fa {
  display: grid; place-items: center; width: 42px; height: 42px; line-height: 1; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 18px;
}
body[data-rd] #menu_offcanvas .close:hover .fa {background: #fff; color: var(--rd-ink);}
body[data-rd] #menu_offcanvas .mobile-top-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 -14px 14px; padding: 66px 16px 18px;
  background: radial-gradient(420px 220px at 100% 0%, rgba(255,138,61,.45), transparent 65%), var(--rd-ink);
  border-radius: 0 0 28px 28px;
}
body[data-rd] #menu_offcanvas .mobile-top-links li {margin: 0;}
body[data-rd] #menu_offcanvas .mobile-top-links li a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 6px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: 15px;
}
body[data-rd] #menu_offcanvas .mobile-top-links li a i {display: grid; place-items: center; width: 32px; height: 32px; line-height: 1; margin: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 15px;}
body[data-rd] #menu_offcanvas .mobile-top-links li a span {width: auto;}
body[data-rd] #menu_offcanvas .mobile-top-links li:hover a, body[data-rd] #menu_offcanvas .mobile-top-links li:hover i {color: #fff; border-color: rgba(255,255,255,.4);}
body[data-rd] #menu_offcanvas .search {flex-basis: 100%; margin: 6px 0 0; padding: 0;}
body[data-rd] #menu_offcanvas .search .search__form {display: block; width: 100%; height: 46px; margin: 0;}
body[data-rd] #menu_offcanvas .search .search__form .search__input {height: 46px; padding: 0 50px 0 18px; color: var(--rd-ink); background: #fff !important; border: 0 !important; border-radius: 0 !important;}
body[data-rd] #menu_offcanvas .search .search__form .search__submit {top: 50%; bottom: auto; right: 5px; width: 36px; height: 36px; transform: translateY(-50%); border-radius: 50%; background: var(--rd-ink); color: #fff; font-size: 15px;}
body[data-rd] #menu_offcanvas .search__reset {display: none;}

body[data-rd] #menu_offcanvas .menu-list {margin: 0 0 8px; border-radius: 18px; background: #fff; box-shadow: var(--rd-shadow-1); overflow: hidden;}
body[data-rd] #menu_offcanvas .menu-list a.title {border: 0; background: transparent; color: var(--rd-ink);}
body[data-rd] #menu_offcanvas .menu-list a.title span {padding: 15px 16px 15px 54px; font-weight: 700; font-size: 16px;}
body[data-rd] #menu_offcanvas .menu-list > i, body[data-rd] #menu_offcanvas .menu-list a.title i {
  top: 9px; left: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 12px;
  background: linear-gradient(145deg, #FFE3CC, #FFF6EE); color: var(--rd-cta-2); font-size: 16px;
}
body[data-rd] #menu_offcanvas .menu-list:hover a.title {background: transparent; color: var(--rd-ink);}
body[data-rd] #menu_offcanvas .menu-list:hover i {color: var(--rd-cta-2);}
body[data-rd] #menu_offcanvas .menu-list span.fa-sort-down {
  top: 7px; right: 8px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  color: var(--rd-ink-2); font-size: 16px; transition: transform .3s var(--rd-ease), background-color .2s ease;
}
body[data-rd] #menu_offcanvas .menu-list span.fa-sort-down:hover {background: var(--rd-cream); color: var(--rd-ink);}
body[data-rd] #menu_offcanvas .menu-list.active span.fa-sort-down {transform: rotate(180deg);}
body[data-rd] #menu_offcanvas .mainnav {padding: 0 10px 8px; border: 0; background: transparent;}
body[data-rd] #menu_offcanvas .mainnav li a {padding: 12px 44px 12px 8px; border-bottom: 1px solid var(--rd-line); font-size: 15px; font-weight: 500; color: var(--rd-ink); text-transform: none;}
body[data-rd] #menu_offcanvas .mainnav li ul.sub {padding-left: 12px;}
body[data-rd] #menu_offcanvas .mainnav li ul.sub a {font-size: 14px; color: var(--rd-ink-2);}
body[data-rd] #menu_offcanvas .mainnav li .open-menu {top: 4px; width: 38px; height: 38px; line-height: 1; display: grid; place-items: center; border-radius: 50%;}
body[data-rd] #menu_offcanvas .mainnav li .open-menu:before {
  content: "" !important; width: 14px; height: 14px; background: currentColor; transition: transform .3s var(--rd-ease);
  -webkit-mask: var(--ic-chevron-down) center/contain no-repeat; mask: var(--ic-chevron-down) center/contain no-repeat;
}
body[data-rd] #menu_offcanvas .mainnav li.active > a .open-menu:before {transform: rotate(180deg);}
body[data-rd] #menu_offcanvas .phone a.title span, body[data-rd] #menu_offcanvas .email a.title span {font-weight: 600;}
@media (max-width: 767px) {
  body[data-rd] #producttabs .pdt-nav {grid-template-columns: repeat(3, minmax(0, 1fr));}
  body[data-rd] #producttabs .pdt-nav .item-nav span {white-space: normal; padding: 6px; font-size: 13px;}
}
body[data-rd] #menu_offcanvas .logo {margin: 26px 0 10px;}
body[data-rd] #menu_offcanvas .logo img {height: 44px; width: auto;}

/* --- шапка на планшете/телефоне: логотип у левого края, «Меню» у правого --- */
@media (max-width: 991px) {
  body[data-rd] .header-top .container, body[data-rd] .header-middle .container {width: 100%; max-width: none; padding-left: 16px; padding-right: 16px;}
  /* clearfix темы (:before/:after) во flex-контейнере становится лишними элементами и сдвигает всё к центру */
  body[data-rd] .header-top .container:before, body[data-rd] .header-top .container:after,
  body[data-rd] .header-middle .container:before, body[data-rd] .header-middle .container:after {display: none;}
  body[data-rd] .header-middle .container {display: flex; align-items: center; justify-content: space-between;}
  body[data-rd] .header-middle .logo {flex: none; width: auto; padding: 0; margin: 0;}
  body[data-rd] .header-middle .logo a {display: block;}
  body[data-rd] .header-middle .logo img {display: block; height: 40px; width: auto;}
  body[data-rd] #mommenu {flex: none; width: auto; padding: 0; margin: 0; text-align: right;}
  body[data-rd] .header-middle {padding: 8px 0;}
}
@media (orientation: landscape) and (max-height: 520px) {
  body[data-rd] .header-middle {padding: 6px 0;}
  body[data-rd] .header-middle .logo img {height: 34px;}
  body[data-rd] #mommenu .btn-navbar {height: 40px;}
}
@media (max-width: 991px) {
  body[data-rd] .header-top, body[data-rd] .header-middle, body[data-rd] .index #header .header-middle {background: rgba(251,246,240,.94);}
  body[data-rd] .header-top {border-bottom-color: rgba(36,21,28,.06);}
}
/* фиксированная шапка на главной — всегда на всю ширину экрана (тема растягивает её только на компьютере) */
body[data-rd] .index #header, body[data-rd].index #header {left: 0; right: 0; width: 100%;}

/* телефон/планшет: поиск, корзина и звонок уже есть в меню — верхнюю строку не дублируем, остаётся одна полоса «логотип · Меню» */
@media (max-width: 991px) {
  body[data-rd] .header-top {display: none !important;}
  body[data-rd] .header-middle {padding: 10px 0; border-bottom: 1px solid rgba(36,21,28,.06);}
}

/* табы: надпись строго по центру кнопки (по вертикали и горизонтали) на всех экранах */
body[data-rd] #producttabs .pdt-nav .item-nav span {display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2;}
@media (max-width: 767px) {
  body[data-rd] #producttabs .pdt-nav .item-nav {display: flex;}
  body[data-rd] #producttabs .pdt-nav .item-nav span {flex: 1; min-height: 46px; height: auto; padding: 6px 8px;}
}

/* =====================================================================
   Зелёный из логотипа вместо чёрного на кнопках-«таблетках»
   Логотип: #88C038. Для белого текста — тот же оттенок, но глубже (читаемость).
   ===================================================================== */
:root {
  --rd-green: #88C038;
  --rd-green-deep: #4E8A1C;
  --rd-green-grad: linear-gradient(135deg, #63A02A 0%, #457E18 100%);
  --rd-green-glow: rgba(94, 160, 36, .45);
}

/* «Меню» */
body[data-rd] #mommenu .btn-navbar {background: var(--rd-green-grad); box-shadow: 0 10px 22px -10px var(--rd-green-glow);}
body[data-rd] #mommenu .btn-navbar i {background: rgba(255,255,255,.2);}

/* активная вкладка «Хиты / Новинки / Товары на главной» */
body[data-rd] #producttabs .pdt-nav > li.active span,
body[data-rd] #producttabs .pdt-nav .item-nav.active span {background: var(--rd-green-grad); color: #fff; box-shadow: 0 8px 18px -10px var(--rd-green-glow);}

/* кнопка поиска */
body[data-rd] .search__form .search__submit,
body[data-rd] .block.search .search__form .search__submit,
body[data-rd] #menu_offcanvas .search .search__form .search__submit {background: var(--rd-green-grad);}
body[data-rd] .block.search .search__form .search__submit:hover {background: var(--rd-cta-1);}

/* «Таблица / Список», номера страниц */
body[data-rd] .toolbar .view-mode > .rd-active {background: var(--rd-green-grad); color: #fff;}
body[data-rd] .toolbar .pages li > a:hover,
body[data-rd] .toolbar .pages li.active > *, body[data-rd] .toolbar .pages li.current > *, body[data-rd] .toolbar .pages li > span {background: var(--rd-green-grad); color: #fff;}

/* бейдж «Новинка», шаги восстановления пароля */
body[data-rd] .ico-new {background: var(--rd-green-grad);}
body[data-rd] .rd-steps li.is-active {background: var(--rd-green-grad); color: #fff;}

/* сердце / сравнение при наведении и когда товар уже добавлен */
body[data-rd] .products-grid .item .product-image .actions .add-to-links > a:hover,
body[data-rd] .products-grid .item .product-image .actions .add-to-links > a.added,
body[data-rd] .products-grid.rd-list .item .actions .add-to-links > a:hover {background: var(--rd-green-grad); color: #fff;}

/* =====================================================================
   Выпадашки «Корзина» и «Сравнение» в шапке — карточка поверх меню
   ===================================================================== */
/* верхняя строка шапки выше полосы меню, иначе выпадашка уходит под стеклянное меню */
body[data-rd] .header-top {position: relative; z-index: 5;}
body[data-rd] .header-top .block.cart, body[data-rd] .header-top .block.compare {position: relative;}

body[data-rd] .block.cart .dropdown-cart,
body[data-rd] .block.compare .dropdown-compare {
  top: calc(100% + 14px); right: -8px; width: 340px; padding: 22px; line-height: 1.45;
  border: 0; border-radius: 22px; background: #fff; box-shadow: 0 2px 6px rgba(36,21,28,.06), 0 30px 60px -20px rgba(36,21,28,.35);
  transform: translateY(10px); transition: opacity .25s ease, transform .35s var(--rd-ease), visibility .25s ease;
}
body[data-rd] .block.cart:hover .dropdown-cart,
body[data-rd] .block.compare.have-items:hover .dropdown-compare {transform: translateY(0);}
/* «мостик», чтобы выпадашка не закрывалась, пока ведёшь мышь от иконки вниз */
body[data-rd] .block.cart .dropdown-cart:before,
body[data-rd] .block.compare .dropdown-compare:before {content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px;}
/* уголок-указатель */
body[data-rd] .block.cart .dropdown-cart:after,
body[data-rd] .block.compare .dropdown-compare:after {
  content: ""; position: absolute; top: -6px; right: 30px; width: 14px; height: 14px; background: #fff; border-radius: 3px; transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(36,21,28,.04);
}

/* пустая корзина */
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 0 16px; text-align: center;
  font: 700 16px/1.4 var(--rd-sans); color: var(--rd-ink);
}
body[data-rd] .rd-empty-ic {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; color: var(--rd-cta-2); font-size: 26px;
  background: linear-gradient(145deg, #FFE3CC, #FFF6EE); box-shadow: 0 14px 26px -14px rgba(226,86,15,.55);
}
body[data-rd] .dropdown-cart .rd-cart-cta, body[data-rd] .dropdown-compare .button {
  display: flex; width: 100%; height: 48px; margin: 0; color: #fff;
  background: linear-gradient(110deg, var(--rd-cta-1) 0%, var(--rd-cta-2) 42%, var(--rd-cta-shine, #FF9E5E) 50%, var(--rd-cta-2) 58%, var(--rd-cta-1) 100%);
  background-size: 260% 100%; background-position: 100% 0; box-shadow: 0 12px 26px -12px var(--rd-glow);
}
body[data-rd] .dropdown-cart .rd-cart-cta:hover, body[data-rd] .dropdown-compare .button:hover {background-position: 0 0; color: #fff;}

/* корзина с товарами */
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list {max-height: 320px; margin: 0 -6px; padding: 0 6px;}
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list .item {display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rd-line);}
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list .item .product-image {float: none; flex: none; width: 64px; height: 64px; margin: 0; border: 0; border-radius: 14px; background: #F6F0E9; overflow: hidden;}
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list .item .product-image img {width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;}
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list .item .product-details {float: none; flex: 1; min-width: 0; width: auto;}
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list .item .product-details .product-name {text-transform: none; font-weight: 600; font-size: 14px; color: var(--rd-ink); margin: 0 0 4px;}
body[data-rd] .block.cart .dropdown-cart .cart-content .cart-products-list .item .product-details .product-price {color: var(--rd-ink); font-weight: 800; font-size: 14px;}
body[data-rd] .block.cart .dropdown-cart .cart-content .subtotal {display: flex; justify-content: space-between; margin: 6px 0 14px; padding: 12px 0 0; border-top: 0; text-transform: none; font-weight: 600;}
body[data-rd] .block.cart .dropdown-cart .cart-content .subtotal .price {float: none; font-weight: 800; font-size: 18px;}
body[data-rd] .block.cart .dropdown-cart .cart-content .actions {display: grid; grid-template-columns: 1fr 1fr; gap: 10px;}
body[data-rd] .block.cart .dropdown-cart .cart-content .actions .button {float: none; width: 100%; height: 46px; padding: 0 12px; font-size: 14px;}

/* сравнение с товарами */
body[data-rd] .block.compare #compare-items {margin: 0 0 14px; padding: 0; border-bottom: 0;}
body[data-rd] .block.compare #compare-items li {margin: 0; padding: 10px 28px 10px 0; border-bottom: 1px solid var(--rd-line); text-transform: none;}
body[data-rd] .block.compare #compare-items li p.product-name {font-size: 14px; font-weight: 600; color: var(--rd-ink);}
body[data-rd] .block.compare #compare-items li .remove {top: 50%; transform: translateY(-50%);}

/* =====================================================================
   Карточка товара: вкладки «Описание / Доставка / Отзывы» и описание
   ===================================================================== */
body[data-rd] .product-tabs {margin-top: clamp(32px, 5vw, 56px);}
body[data-rd] .product-tabs .tabs {
  display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 6px;
  list-style: none; background: #fff; border: 0; border-radius: 999px; box-shadow: var(--rd-shadow-1);
}
body[data-rd] .product-tabs .tabs li {float: none; margin: 0; border: 0;}
body[data-rd] .product-tabs .tabs li a {
  display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border: 0 !important; border-radius: 999px;
  font: 700 15px/1 var(--rd-sans); text-transform: none; letter-spacing: 0; color: var(--rd-ink-2); background: transparent;
}
body[data-rd] .product-tabs .tabs li a:after, body[data-rd] .product-tabs .tabs li a:before {display: none !important;}
body[data-rd] .product-tabs .tabs li a:hover {color: var(--rd-ink);}
body[data-rd] .product-tabs .tabs li a.active {color: #fff; background: var(--rd-green-grad); box-shadow: 0 8px 18px -10px var(--rd-green-glow);}
body[data-rd] .product-tabs .acctab {
  display: none; margin: 0 0 8px; padding: 16px 20px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--rd-shadow-1);
  font: 700 16px var(--rd-sans); text-transform: none; color: var(--rd-ink);
}
body[data-rd] .product-tabs .tab-content {
  padding: clamp(24px, 4vw, 48px); background: #fff; border: 0; border-radius: 28px; box-shadow: var(--rd-shadow-1);
}

/* исходное описание с «чужими» стилями — приводим к шрифтам и цветам сайта (на случай, когда раскладка не применялась) */
body[data-rd] .product-tabs .htmlDataBlock:not(:has(.rd-desc)) *:not(svg):not(svg *) {
  font-family: var(--rd-sans) !important; color: inherit !important; background-color: transparent !important;
  font-size: inherit !important; line-height: inherit !important; border: 0 !important; box-shadow: none !important;
}
body[data-rd] .product-tabs .htmlDataBlock {max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: #4A3540;}
body[data-rd] .product-tabs .htmlDataBlock img {max-width: 100%; height: auto; border-radius: 16px;}

/* новая раскладка описания */
body[data-rd] .rd-desc {display: grid; gap: 22px; max-width: 820px; margin: 0 auto;}
body[data-rd] .rd-desc .rd-desc__lead {
  margin: 0 !important; font-family: var(--rd-serif) !important; font-size: clamp(24px, 2.6vw, 32px) !important; line-height: 1.25 !important;
  color: var(--rd-ink) !important;
}
body[data-rd] .rd-desc .rd-desc__lead:after {content: ""; display: block; width: 56px; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--rd-green-grad);}
body[data-rd] .rd-desc__text p {margin: 0 0 14px !important; font-size: 17px !important; line-height: 1.75 !important; color: #4A3540 !important;}
body[data-rd] .rd-desc__text p:last-child {margin-bottom: 0 !important;}
body[data-rd] .rd-desc h3 {margin: 0 0 6px !important; font-family: var(--rd-serif) !important; font-size: 22px !important; line-height: 1.3 !important; color: var(--rd-ink) !important;}

body[data-rd] .rd-desc__card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 22px;
  background: linear-gradient(135deg, #F2F8EA, #FBFDF7); box-shadow: inset 0 0 0 1px rgba(79,138,31,.14);
}
body[data-rd] .rd-desc__card > svg.ic {
  flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 14px; color: #fff !important;
  background: var(--rd-green-grad) !important; box-shadow: 0 10px 20px -10px var(--rd-green-glow);
}
body[data-rd] .rd-desc__card p {margin: 0 !important; font-size: 16px !important; line-height: 1.65 !important; color: #3E4A33 !important;}

body[data-rd] .rd-desc__composition {position: relative; padding: 22px 24px; border-radius: 22px; background: var(--rd-cream);}
body[data-rd] .rd-desc__head {display: flex; align-items: center; gap: 10px; margin-bottom: 10px;}
body[data-rd] .rd-desc__head svg.ic {width: 22px; height: 22px; color: var(--rd-leaf) !important;}
body[data-rd] .rd-desc__head h3 {margin: 0 !important;}
body[data-rd] .rd-desc__composition p {margin: 0 !important; font-size: 14px !important; line-height: 1.7 !important; color: var(--rd-ink-2) !important;}
body[data-rd] .rd-desc__composition[data-collapsed="true"] p {display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
body[data-rd] .rd-desc__more {
  margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 14px var(--rd-sans) !important; color: var(--rd-green-deep) !important; text-decoration: underline; text-underline-offset: 4px;
}
body[data-rd] .rd-desc__more:hover {color: var(--rd-cta-2) !important;}

@media (max-width: 767px) {
  body[data-rd] .product-tabs .tabs {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 20px;}
  body[data-rd] .product-tabs .tabs li a {padding: 0 8px; font-size: 14px; border-radius: 16px;}
  body[data-rd] .product-tabs .tab-content {padding: 22px 18px; border-radius: 22px;}
  body[data-rd] .rd-desc__text p {font-size: 16px !important;}
  body[data-rd] .rd-desc__card, body[data-rd] .rd-desc__composition {padding: 18px;}
  body[data-rd] .rd-desc__card {flex-direction: column; gap: 12px;}
}
body[data-rd] .rd-desc .rd-desc__subtitle {margin: 10px 0 -6px !important; font-size: clamp(21px, 2vw, 25px) !important;}

/* =====================================================================
   Отзывы на главной — две бегущие навстречу ленты карточек
   ===================================================================== */
body[data-rd] .rd-reviews {
  position: relative; width: 100vw; margin: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px) calc(50% - 50vw);
  padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(900px 380px at 50% 0%, rgba(136,192,56,.14), transparent 70%), var(--rd-cream-2);
  border-radius: clamp(28px, 4vw, 56px); overflow: hidden;
}
body[data-rd] .rd-reviews__head {max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); padding: 0 16px; text-align: center;}
body[data-rd] .rd-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 14px; border-radius: 99px;
  background: #fff; color: var(--rd-green-deep); font: 800 12px/1 var(--rd-sans); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--rd-shadow-1);
}
body[data-rd] .rd-kicker:before {content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rd-green);}
body[data-rd] .rd-reviews__head h2 {margin: 0; font-size: clamp(30px, 3.6vw, 48px);}

body[data-rd] .rd-marquee {
  overflow: hidden; padding: 10px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
body[data-rd] .rd-marquee + .rd-marquee {margin-top: 4px;}
body[data-rd] .rd-marquee__track {display: flex; width: max-content; animation: rd-marquee 110s linear infinite;}
body[data-rd] .rd-marquee--rev .rd-marquee__track {animation-direction: reverse; animation-duration: 125s;}
body[data-rd] .rd-marquee:hover .rd-marquee__track, body[data-rd] .rd-marquee:focus-within .rd-marquee__track {animation-play-state: paused;}
body[data-rd] .rd-marquee__set {display: flex; gap: 20px; padding-right: 20px;}
@keyframes rd-marquee {to {transform: translateX(-50%);}}

body[data-rd] .rd-review {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  width: 340px; margin: 0; padding: 26px 24px 22px; background: #fff; border-radius: 24px; box-shadow: var(--rd-shadow-1);
  transition: transform .4s var(--rd-ease), box-shadow .4s var(--rd-ease);
}
body[data-rd] .rd-review:hover {transform: translateY(-4px); box-shadow: var(--rd-shadow-2);}
body[data-rd] .rd-review__q {position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; color: rgba(136,192,56,.45);}
body[data-rd] .rd-review blockquote {margin: 0; padding: 0 28px 0 0; border: 0; font: 400 15.5px/1.65 var(--rd-sans); color: #4A3540;}
body[data-rd] .rd-review figcaption {display: flex; align-items: center; gap: 12px;}
body[data-rd] .rd-review__ava {display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; color: #fff; font: 800 14px/1 var(--rd-sans);}
body[data-rd] .rd-ava-0 {background: var(--rd-green-grad);}
body[data-rd] .rd-ava-1 {background: linear-gradient(135deg, var(--rd-cta-1), var(--rd-cta-2));}
body[data-rd] .rd-ava-2 {background: linear-gradient(135deg, #B0405E, var(--rd-berry));}
body[data-rd] .rd-ava-3 {background: linear-gradient(135deg, #D9A441, #A8741A);}
body[data-rd] .rd-review__name {font: 700 15px/1.3 var(--rd-sans); color: var(--rd-ink);}

@media (max-width: 767px) {
  body[data-rd] .rd-reviews {border-radius: 28px;}
  body[data-rd] .rd-review {width: 280px; padding: 22px 20px 18px;}
  body[data-rd] .rd-review blockquote {font-size: 15px;}
  body[data-rd] .rd-marquee__set {gap: 14px; padding-right: 14px;}
  body[data-rd] .rd-marquee__track {animation-duration: 90s;}
  body[data-rd] .rd-marquee--rev .rd-marquee__track {animation-duration: 100s;}
}
/* без анимации — обычная горизонтальная прокрутка */
@media (prefers-reduced-motion: reduce) {
  body[data-rd] .rd-marquee {overflow-x: auto; scroll-snap-type: x mandatory;}
  body[data-rd] .rd-marquee__track {animation: none !important;}
  body[data-rd] .rd-marquee__set[aria-hidden="true"] {display: none;}
  body[data-rd] .rd-review {scroll-snap-align: center;}
}
/* во всю ширину окна, но без учёта полосы прокрутки (100vw её включает) */
body[data-rd] .rd-reviews {width: calc(100vw - var(--rd-sbw, 0px)); margin-left: calc(50% - 50vw + var(--rd-sbw, 0px) / 2);}

/* =====================================================================
   Карточка товара: заголовок целиком, блок покупки на всю колонку
   ===================================================================== */
/* тема ограничивает заголовок 3 строками своего мелкого шрифта — снимаем лимит */
body[data-rd] .product-shop .product-name, body[data-rd] .product-shop .product-name h1 {height: auto !important; max-height: none !important; overflow: visible !important;}
body[data-rd] .product-shop .product-name h1 {margin: 0 0 14px; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.18; text-transform: none; letter-spacing: -.01em;}
body[data-rd] .product-shop .short-description {color: var(--rd-ink-2); font-size: 16px;}
body[data-rd] .product-shop .goodsDataMainModificationAvailable {font-size: 15px;}

/* блок покупки — карточка */
body[data-rd] .product-shop .goodsDataForm {display: block; width: 100%;}
body[data-rd] .product-shop .add-to-box {
  float: none; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "qty links" "cart cart";
  align-items: center; gap: 16px; width: 100%; margin: 6px 0 0; padding: 22px; background: #fff; border-radius: 24px; box-shadow: var(--rd-shadow-1);
}
body[data-rd] .product-shop .add-to-box .qty-wrap {grid-area: qty; float: none; margin: 0;}
body[data-rd] .product-shop .add-to-box .qty-set {
  display: inline-flex; align-items: center; height: 50px; padding: 4px; border-radius: 999px; background: var(--rd-cream); box-shadow: inset 0 0 0 1px var(--rd-line);
}
body[data-rd] .product-shop .add-to-box .qty-set .qty-minus, body[data-rd] .product-shop .add-to-box .qty-set .qty-plus {
  float: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--rd-ink); font-size: 15px; cursor: pointer;
  box-shadow: 0 2px 6px -2px rgba(36,21,28,.2); transition: background-color .2s ease, color .2s ease;
}
body[data-rd] .product-shop .add-to-box .qty-set .qty-minus:hover, body[data-rd] .product-shop .add-to-box .qty-set .qty-plus:hover {background: var(--rd-green-grad); color: #fff;}
body[data-rd] .product-shop .add-to-box .qty-set .quantity {float: none; width: 52px; height: 42px; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; font: 800 17px var(--rd-sans);}
body[data-rd] .product-shop .add-to-box .add-to-links {grid-area: links; float: none; display: flex; justify-content: flex-end; gap: 10px; margin: 0;}
body[data-rd] .product-shop .add-to-box .add-to-links .button {
  width: 50px; height: 50px; padding: 0; border-radius: 50%; background: var(--rd-cream); color: var(--rd-ink); box-shadow: inset 0 0 0 1px var(--rd-line); font-size: 19px;
}
body[data-rd] .product-shop .add-to-box .add-to-links .button:hover, body[data-rd] .product-shop .add-to-box .add-to-links .button.added {background: var(--rd-green-grad); color: #fff; box-shadow: none;}
body[data-rd] .product-shop .add-to-box .add-to-cart {grid-area: cart; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; clear: none;}
body[data-rd] .product-shop .add-to-box .add-to-cart .button {width: 100%; margin: 0 !important; height: 56px !important; font-size: 16px !important;}
body[data-rd] .product-shop .add-to-box .add-to-cart .button:only-child {grid-column: 1 / -1;}

/* преимущества под карточкой */
body[data-rd] .rd-perks {display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; clear: both;}
body[data-rd] .rd-perks li {display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--rd-line);}
body[data-rd] .rd-perks svg.ic {flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: var(--rd-green-deep); background: #EEF6E4;}
body[data-rd] .rd-perks span {font-size: 13px; line-height: 1.45; color: var(--rd-ink-2);}
body[data-rd] .rd-perks b {display: block; margin-bottom: 2px; font-size: 14px; color: var(--rd-ink);}
body[data-rd] .rd-perks a {color: var(--rd-ink); font-weight: 700; white-space: nowrap;}

@media (max-width: 1199px) {
  body[data-rd] .rd-perks {grid-template-columns: 1fr;}
}
@media (max-width: 767px) {
  body[data-rd] .product-shop .add-to-box {padding: 16px; gap: 12px; border-radius: 20px;}
  body[data-rd] .product-shop .add-to-box .add-to-cart {grid-template-columns: 1fr;}
  body[data-rd] .product-shop .add-to-box .add-to-cart .button {height: 52px !important;}
}
/* количество: тема фиксирует ширину 100px — «минус / число / плюс» не помещались */
body[data-rd] .product-shop .add-to-box .qty-wrap, body[data-rd] .product-shop .add-to-box .qty-set {width: auto !important; overflow: visible !important;}
body[data-rd] .product-shop .add-to-box .qty-set > * {flex: none;}
body[data-rd] .product-shop .add-to-box .qty-set .quantity {width: 52px !important; color: var(--rd-ink);}
/* преимущества — три аккуратные строки */
body[data-rd] .rd-perks {grid-template-columns: 1fr; gap: 0; padding: 6px 18px; border-radius: 20px; background: rgba(255,255,255,.65); box-shadow: inset 0 0 0 1px var(--rd-line);}
body[data-rd] .rd-perks li {align-items: center; padding: 12px 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--rd-line);}
body[data-rd] .rd-perks li:last-child {border-bottom: 0;}
body[data-rd] .rd-perks span {font-size: 14px;}
body[data-rd] .rd-perks b {display: inline; margin: 0 6px 0 0; font-size: 15px;}
body[data-rd] .product-shop .add-to-box .qty-set {display: inline-flex !important; flex-wrap: nowrap; align-items: center; gap: 2px;}
body[data-rd] .product-shop .product-name, body[data-rd] .product-shop .product-name h1 {text-align: left;}
body[data-rd] .product-shop > .ratings {display: flex; justify-content: flex-start; margin-left: 0;}

/* =====================================================================
   Правки владельца 19.10
   ===================================================================== */

/* --- все кнопки салатовые (одна палитра: переменные кнопок + «зелёный» градиент) --- */
:root {
  --rd-cta-1: #7CBB2C;
  --rd-cta-2: #5E9E1C;
  --rd-cta-shine: #A9D86A;
  --rd-glow: rgba(110, 175, 40, .45);
  --rd-green-grad: linear-gradient(135deg, #7CBB2C 0%, #5E9E1C 100%);
  --rd-green-glow: rgba(110, 175, 40, .45);
}
body[data-rd] .button.big, body[data-rd] .button2, body[data-rd] .button3, body[data-rd] .add-cart,
body[data-rd] .callbackForm .button, body[data-rd] .feedbackForm .button, body[data-rd] .account.row .buttons button.button,
body[data-rd] #mommenu .btn-navbar, body[data-rd] #back-top {text-shadow: 0 1px 2px rgba(30, 60, 0, .25);}
body[data-rd] .button.big:hover, body[data-rd] .button2:hover, body[data-rd] .button3:hover, body[data-rd] .add-cart:hover,
body[data-rd] .callbackForm .button:hover {box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 22px 40px -12px var(--rd-glow), 0 0 0 6px rgba(124,187,44,.16);}
/* «Быстрый заказ» — контурная салатовая */
body[data-rd] .add-to-box .add-to-cart .button.add-cart.quick {color: #3F7412 !important; background: #fff !important; box-shadow: inset 0 0 0 2px #7CBB2C !important; text-shadow: none;}
body[data-rd] .add-to-box .add-to-cart .button.add-cart.quick:hover {color: #fff !important; background: var(--rd-green-grad) !important;}
/* кнопка «Перейти в каталог» на обложке — стеклянная, по стеклу медленно пробегает блик */
body[data-rd] #slideshow .text .button.big {
  color: #fff; border: 1px solid rgba(255,255,255,.55); text-shadow: 0 1px 3px rgba(0,0,0,.35);
  background: rgba(255,255,255,.16) linear-gradient(110deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -1px 0 rgba(255,255,255,.12) inset, 0 18px 40px -18px rgba(0,0,0,.6);
  animation: rd-glass-shine 3.6s ease-in-out infinite;
}
body[data-rd] #slideshow .text .button.big:hover {
  color: #fff; background-color: rgba(255,255,255,.28); border-color: #fff; transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 22px 44px -18px rgba(0,0,0,.6);
}
@keyframes rd-glass-shine {0% {background-position: 130% 0;} 55%, 100% {background-position: -30% 0;}}
@media (prefers-reduced-motion: reduce) {body[data-rd] #slideshow .text .button.big {animation: none;}}

/* --- обложка: оригинальная картинка без затемнения и скруглений, только кнопка «Перейти в каталог» --- */
body[data-rd] #slideshow {border-radius: 0 !important;}
body[data-rd] #slideshow:after {content: none !important;}
body[data-rd] #slideshow .text .title {display: none !important;}
body[data-rd] .rd-scroll-cue {display: none !important;}

/* --- иконки преимуществ и шагов: крупнее, зелёные --- */
body[data-rd] #customers .item .image, body[data-rd] #information .item .image {
  width: 112px; height: 112px; margin-bottom: 22px; border-radius: 34px; color: #3F7412;
  background: linear-gradient(145deg, #E7F4D6, #F8FCF2); box-shadow: 0 1px 0 #fff inset, 0 18px 34px -16px rgba(94, 158, 28, .55);
}
body[data-rd] #information .item .image {border-radius: 50%;}
body[data-rd] svg.ic.rd-feature-ic {width: 56px; height: 56px; stroke-width: 1.5;}
body[data-rd] #information .item .image:after {width: 36px; height: 36px; font-size: 13px; top: -2px; right: -6px; background: var(--rd-green-grad);}
body[data-rd] #customers .item .title {font-size: 19px;}
body[data-rd] #information .item .title {font-size: 18px;}
@media (min-width: 992px) {
  body[data-rd] #information .item {width: 20%; min-width: 0;}
  body[data-rd] #information .item:after {top: 45px;}
}

/* --- товары: белый блок и белая подложка под фото, карточки крупнее (лучше видно) --- */
body[data-rd] .index #main, body[data-rd].index #main {background: #fff; padding: clamp(48px, 6vw, 80px) 0;}
body[data-rd] .products-grid .item .product-image,
body[data-rd] .products-grid .item .product-image a.product-img,
body[data-rd] .products-grid.rd-list .item .product-image a.product-img {background: #fff !important;}
body[data-rd] .products-grid .item .item-inner {border: 1px solid #ECE6E0; box-shadow: 0 2px 6px rgba(36,21,28,.04), 0 18px 40px -24px rgba(36,21,28,.22);}
@media (min-width: 1200px) {
  body[data-rd] #producttabs .products-grid .item {width: 33.333%;}
}
body[data-rd] .products-grid .item .product-shop {padding: 18px 22px 24px;}
body[data-rd] .products-grid .item .product-shop .product-name a {font-size: 18px; line-height: 1.4; min-height: 2.8em;}
body[data-rd] .products-grid .item .price-box .price, body[data-rd] .products-grid .item .price-box .price .num {font-size: 26px;}
body[data-rd] .products-grid .item .price-box .old-price, body[data-rd] .products-grid .item .price-box .old-price .num {font-size: 17px;}
body[data-rd] .products-grid .item .product-image .actions .add-cart {height: 52px; padding: 0 28px;}
body[data-rd] .products-grid .item .product-image .actions .add-cart:before {font-size: 16px;}
body[data-rd] .ico-new, body[data-rd] .ico-best, body[data-rd] .ico-sale {font-size: 12px; padding: 7px 13px;}
@media (max-width: 767px) {
  body[data-rd] .products-grid .item .product-shop {padding: 12px 12px 14px;}
  body[data-rd] .products-grid .item .product-shop .product-name a {font-size: 15px;}
  body[data-rd] .products-grid .item .price-box .price, body[data-rd] .products-grid .item .price-box .price .num {font-size: 20px;}
  body[data-rd] .products-grid:not(.rd-list) .item .actions .addtocart .add-cart {height: 46px;}
  body[data-rd] .products-grid .item .add-cart:before {font-size: 15px !important;}
}
@media (max-width: 359px) {
  body[data-rd] .products-grid .item {width: 100% !important;}
}

/* --- «Специальное предложение»: картинка целиком, без затемнения, без скруглений, от края до края --- */
body[data-rd] #promotion {
  display: flex; align-items: center; margin: 0 !important; padding: 0; border-radius: 0 !important;
  aspect-ratio: 4368 / 2448; background: url("/design/redesign/promotion.jpg") center / 100% 100% no-repeat #EFE6DC !important;
}
body[data-rd] #promotion:before {content: none !important;}
body[data-rd] .rd-parallax {display: none !important;}
body[data-rd] #promotion > .container {width: 100%;}
@media (max-width: 991px) {
  /* на узком экране картинка сверху целиком, текст — под ней */
  body[data-rd] #promotion {display: block; aspect-ratio: auto; padding-top: calc(100% * 2448 / 4368); background-size: 100% auto !important; background-position: top center !important; background-color: var(--rd-cream) !important;}
  body[data-rd] #promotion .promotion-description {
    max-width: none; margin: 0; padding: 26px 20px 34px; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
    background: transparent; color: var(--rd-ink);
  }
  body[data-rd] #promotion .promotion-description .text_large {color: var(--rd-ink);}
  body[data-rd] #promotion .promotion-description .text_small, body[data-rd] #promotion .promotion-description .text_small a {color: var(--rd-ink-2);}
  body[data-rd] #promotion .promotion-description .text_medium {color: #3F7412 !important;}
}

/* --- карточка товара: всё на белом, фото сливается с фоном --- */
body[data-rd]:has(.product-view) {background: #fff;}
body[data-rd] .product-img-box, body[data-rd] .product-view .product-img-box .product-image,
body[data-rd] .product-img-box .thumblist-box, body[data-rd] .product-img-box .thumblist__item {background: #fff !important; box-shadow: none !important; border: 0 !important;}
body[data-rd] .product-img-box .thumblist-box {border-top: 0 !important;}
body[data-rd] .product-view .product-shop .add-to-box {box-shadow: none; border: 1px solid #ECE6E0;}
body[data-rd] .rd-perks {background: #fff; box-shadow: inset 0 0 0 1px #ECE6E0;}
body[data-rd] .product-tabs .tab-content {box-shadow: none; border: 0; border-top: 1px solid #ECE6E0; border-radius: 0; padding-left: 0; padding-right: 0;}
body[data-rd] .product-tabs .tabs {box-shadow: none; border: 1px solid #ECE6E0;}
/* короткое описание у цены: тема обрезала его по высоте 100px */
body[data-rd] .product-view .product-shop .short-description, body[data-rd] .product-view .product-shop .short-description p {display: block; max-height: none !important; overflow: visible !important;}
/* декоративные чёрточки вокруг звёзд рейтинга — убираем */
body[data-rd] .product-view .product-shop .ratings:before, body[data-rd] .product-view .product-shop .ratings:after {content: none !important; display: none !important;}
body[data-rd] .product-view .product-shop .ratings {margin: 0 0 14px; padding: 0;}
@media (max-width: 767px) {
  /* на телефоне иконки чуть меньше, а длинные слова («Индивидуальный») помещаются в карточку */
  body[data-rd] #customers .item .image, body[data-rd] #information .item .image {width: 88px; height: 88px; border-radius: 28px; margin-bottom: 16px;}
  body[data-rd] #information .item .image {border-radius: 50%;}
  body[data-rd] svg.ic.rd-feature-ic {width: 44px; height: 44px;}
  body[data-rd] #customers .item .title {font-size: 15px; overflow-wrap: anywhere; hyphens: auto;}
  body[data-rd] #customers .item {padding-left: 8px; padding-right: 8px;}
  body[data-rd] #information .item .title {font-size: 16px;}
}
/* «наплывающее» фото обложки — см. «Правки 19.10 (10)»: тема делала его jQuery-таймером (main.js, animate scale 1.1 за 15 с)
   и картинка дёргалась; теперь то же увеличение делает CSS-анимация, а масштаб темы отключён */
body[data-rd] #slideshow .slide, body[data-rd] #slideshow .image, body[data-rd] #slideshow img {scale: none !important;}

/* =====================================================================
   Правки 19.10 (2): никаких скруглений — все блоки, карточки, поля и кнопки прямоугольные.
   Одно правило в самом конце перекрывает и тему, и редизайн (в т.ч. круглые кнопки, бейджи, иконки).
   ===================================================================== */
body[data-rd] *, body[data-rd] *::before, body[data-rd] *::after {border-radius: 0 !important;}
/* этапы «Работать с нами просто» — без цифр на иконках */
body[data-rd] #information .item .image:after {content: none !important; display: none !important;}
/* каталог (и «Акции», «Новости» с той же раскладкой): белая подложка вместо кремовой; белые блоки получают тонкую рамку, чтобы не растворялись */
body[data-rd]:has(#main .col-right) {background: #fff;}
body[data-rd]:has(#main .col-right) #main .col-left .block,
body[data-rd]:has(#main .col-right) #main .categories .item,
body[data-rd]:has(#main .col-right) #main .toolbar {border: 1px solid #ECE6E0; box-shadow: none;}
body[data-rd]:has(#main .col-right) #main .categories .item:hover {box-shadow: 0 18px 40px -24px rgba(36,21,28,.28);}
body[data-rd]:has(#main .col-right) #main .categories .item .cat-image {background: #fff;}
body[data-rd]:has(#main .col-right) #main .toolbar select, body[data-rd]:has(#main .col-right) #main .pager a {border: 1px solid #ECE6E0;}

/* =====================================================================
   Правки 19.10 (3): шрифты как на оригинальном сайте mandarinka-shop.ru
   текст — Tahoma, заголовки — Calibri (Carlito — его бесплатная копия, грузится только там, где Calibri нет);
   заголовки, меню, кнопки и вкладки — прописными, как в оригинале
   ===================================================================== */
@font-face {font-family: "Carlito"; src: url("fonts/carlito-cyrillic-400.woff2") format("woff2"); 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: "Carlito"; src: url("fonts/carlito-latin-400.woff2") format("woff2"); 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+2000-206F, U+20AC, U+2122, U+2190-2199, U+FEFF;}
@font-face {font-family: "Carlito"; src: url("fonts/carlito-cyrillic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face {font-family: "Carlito"; src: url("fonts/carlito-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+FEFF;}
:root {
  --rd-serif: Calibri, "Carlito", "Segoe UI", sans-serif;
  --rd-sans: Tahoma, Verdana, "Segoe UI", sans-serif;
}
/* заголовки: Calibri, прописные, разрядка 1px — как «TIMEXPERT HYDRALURONIC…» в оригинале */
body[data-rd] h1, body[data-rd] h2, body[data-rd] h3, body[data-rd] h4,
body[data-rd] .page-title h1, body[data-rd] .product-view .product-name h1,
body[data-rd] #promotion .promotion-description .text_large, body[data-rd] .col-left .block > .title,
body[data-rd] .col-account h5, body[data-rd] .rd-desc h2, body[data-rd] .rd-desc h3, body[data-rd] .rd-delivery__wish {
  font-family: var(--rd-serif) !important; font-style: normal !important; font-weight: 400; text-transform: uppercase !important; letter-spacing: 1px !important;
}
body[data-rd] h2 {font-size: clamp(26px, 2.6vw, 36px);}
body[data-rd] .page-title h1, body[data-rd] .page-title h1.title {font-size: clamp(24px, 2.4vw, 34px);}
body[data-rd] .product-view .product-name h1 {font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.5 !important;}
body[data-rd] #promotion .promotion-description .text_large {font-size: clamp(26px, 3vw, 40px);}
body[data-rd] .col-left .block > .title {font-size: 20px;}
body[data-rd] .rd-desc h2 {font-size: clamp(20px, 2vw, 26px) !important;}
body[data-rd] .rd-desc h3 {font-size: 18px !important;}
/* подзаголовки-строки в карточках оставляем обычным регистром, только шрифт */
body[data-rd] .page-title h1.title span {text-transform: none !important; letter-spacing: 0 !important; font-family: var(--rd-sans) !important;}
/* меню, кнопки и вкладки — прописными, как в оригинале */
body[data-rd] #custommenu .mainnav > li > a, body[data-rd] #custommenu .mainnav > li > a span {text-transform: uppercase !important; letter-spacing: .02em;}
body[data-rd] .button, body[data-rd] button.button, body[data-rd] .add-cart, body[data-rd] .button2, body[data-rd] .button3,
body[data-rd] .product-tabs .tabs a, body[data-rd] #producttabs .tabs a, body[data-rd] #producttabs li a {text-transform: uppercase !important; letter-spacing: .04em !important;}

/* меню везде прозрачно-матовое: светлое «стекло» с размытием того, что под ним (и на главной, и на остальных страницах, и после прокрутки) */
body[data-rd] .header-top, body[data-rd] .header-middle,
body[data-rd] .index #header .header-middle,
body[data-rd].rd-scrolled #header .header-middle, body[data-rd].rd-scrolled .header-middle {
  background: rgba(255,255,255,.5) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.55); box-shadow: none;
}
body[data-rd].rd-scrolled #header .header-middle {box-shadow: 0 10px 28px -20px rgba(36,21,28,.35);}
@media (max-width: 991px) {
  body[data-rd] .header-top, body[data-rd] .header-middle, body[data-rd] .index #header .header-middle {background: rgba(255,255,255,.55) !important;}
}
/* прописное меню шире — на узких ноутбуках (992–1199px) делаем его компактнее, чтобы оставалось в одну строку */
@media (min-width: 992px) and (max-width: 1199px) {
  body[data-rd] #custommenu .mainnav > li > a {font-size: 13px !important; padding-left: 9px !important; padding-right: 9px !important; letter-spacing: 0;}
}
body[data-rd] #producttabs .pdt-nav .item-nav, body[data-rd] #producttabs .pdt-nav .item-nav span {text-transform: uppercase !important; letter-spacing: .04em;}
@media (max-width: 767px) {body[data-rd] #producttabs .pdt-nav .item-nav span {font-size: 12px;}}

/* =====================================================================
   Правки 19.10 (4): «Остались вопросы?» и подвал — цвета как на оригинальном сайте:
   светло-серый #EFEFEC, тёмный текст #22121E, без тёмного фона и свечения; вместе — одна сплошная полоса до низа страницы
   ===================================================================== */
body[data-rd] #orders {
  margin: clamp(40px, 6vw, 80px) 0 0 !important; background: #EFEFEC !important; color: #22121E;
}
body[data-rd] #orders h2.title {color: #22121E;}
body[data-rd] #orders .callbackForm .callback-input .inputText {background: #fff; border: 1px solid #E5E5E5 !important;}
body[data-rd] #orders .callbackForm .pp {color: #6B5E66;}
body[data-rd] #orders .callbackForm .pp a {color: #22121E; text-decoration: underline; text-underline-offset: 3px;}

body[data-rd] .rd-footer {background: #EFEFEC; color: #22121E;}
body[data-rd]:has(#orders) .rd-footer {margin-top: 0; border-top: 1px solid rgba(34,18,30,.08);}
body[data-rd] .rd-footer__glow {display: none;}
body[data-rd] .rd-footer h3 {color: #22121E;}
body[data-rd] .rd-footer a, body[data-rd] .rd-footer .rd-footer__col a {color: #22121E;}
body[data-rd] .rd-footer .rd-footer__col a:after {background: var(--rd-cta-2, #5E9E1C);}
body[data-rd] .rd-footer .rd-footer__col a:hover {color: #3F7412;}
body[data-rd] .rd-footer__contacts li, body[data-rd] .rd-footer__contacts a {color: #22121E;}
body[data-rd] .rd-footer__contacts svg.ic {background: #fff; color: #5E9E1C;}
body[data-rd] .rd-footer__bottom {border-top-color: rgba(34,18,30,.12); color: #6B5E66;}
body[data-rd] .rd-footer .rd-footer__pp a {color: #22121E; text-decoration-color: rgba(34,18,30,.35);}
body[data-rd] .rd-footer .rd-footer__pp a:hover {color: #3F7412; text-decoration-color: #5E9E1C;}

/* =====================================================================
   Правки 19.10 (5)
   ===================================================================== */
/* «Сравнение» и «Корзина» в шапке и в мобильном меню — без цифр и скобок */
/* скобки — это соседние span.hide вокруг счётчика (сам класс .hide тема использует и для подписей — его целиком не трогаем) */
body[data-rd] .compare-count, body[data-rd] .cart-count,
body[data-rd] .hide:has(+ .compare-count), body[data-rd] .hide:has(+ .cart-count),
body[data-rd] .compare-count + .hide, body[data-rd] .cart-count + .hide {display: none !important;}

/* вместо кремовой подложки — белая: фон всех страниц, подменю каталога, мобильное меню, переключатели */
:root {--rd-cream: #FFFFFF;}
body[data-rd] {background: #fff;}
body[data-rd] .col-left .block .content > ul > li.active, body[data-rd] .col-left .block .content > ul > li:hover {background: #fff;}
body[data-rd] .col-left .block .content > ul > li.active {box-shadow: inset 3px 0 0 #7CBB2C;}
body[data-rd] .toolbar .view-mode {box-shadow: inset 0 0 0 1px #ECE6E0;}
body[data-rd] .products-grid .item .product-image .mask {background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.85));}
body[data-rd] .rd-desc__composition, body[data-rd] .rd-rules {box-shadow: inset 0 0 0 1px #ECE6E0;}
/* «Нас выбрали…» — тоже на белом; карточки отделены тонкой рамкой */
body[data-rd] #customers {background: #fff !important;}
body[data-rd] #customers .rd-card {background: #fff; border: 1px solid #ECE6E0; box-shadow: none;}

/* =====================================================================
   Правки 19.10 (6)
   ===================================================================== */
/* счётчик «Сравнение»/«Корзина» сидит в обёртке .tc (её мы рисовали зелёным бейджем) — прячем целиком */
body[data-rd] #header .tc, body[data-rd] #menu_offcanvas .tc {display: none !important;}
/* подвал: иконки контактов без квадратной подложки */
body[data-rd] .rd-footer__contacts svg.ic {width: 22px; height: 22px; padding: 0; background: none !important; box-shadow: none;}
/* «Нас выбрали…»: оригинальные иконки сайта (тёмные с золотом) в рамке как на mandarinka-shop.ru — светлый фон и золотая обводка */
body[data-rd] #customers .item .image {background: #EFEFEC; border: 2px solid #8C7A2E; box-shadow: none; color: inherit;}
body[data-rd] #customers .item .image img {display: block; width: 58px; height: 58px; object-fit: contain;}
@media (max-width: 767px) {body[data-rd] #customers .item .image img {width: 46px; height: 46px;}}

/* =====================================================================
   Правки 19.10 (7): «Нас выбрали…» и «Работать с нами просто» — как в оригинале:
   оригинальные картинки в круге 150px (фон #E3E1D5, золотая обводка 2px #8F7A2F), без карточек,
   «Нас выбрали…» на сером #EFEFEC, подписи обычным начертанием, между шагами — стрелка
   ===================================================================== */
body[data-rd] #customers {background: #EFEFEC !important;}
body[data-rd] #customers .rd-card {background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; transform: none !important;}
body[data-rd] #customers .item .image, body[data-rd] #information .item .image {
  display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; margin: 0 auto 15px;
  border-radius: 50% !important; background: #E3E1D5 !important; border: 2px solid #8F7A2F !important; box-shadow: none !important;
}
body[data-rd] #customers .item .image img, body[data-rd] #information .item .image img {display: block; width: 70px; height: auto; max-height: 70px; object-fit: contain;}
body[data-rd] #customers .item .title, body[data-rd] #information .item .title {font-size: 20px !important; font-weight: 400 !important; line-height: 1.45; color: #22121E;}
body[data-rd] #information .item {text-align: center;}
@media (min-width: 992px) {
  body[data-rd] #information .item:after {top: 60px;}
}
@media (max-width: 991px) {
  /* на телефоне и планшете — по две в ряд, без карточек и стрелок */
  body[data-rd] #customers .item, body[data-rd] #information .item {width: 50% !important;}
  body[data-rd] #information .row {display: flex !important; flex-wrap: wrap; justify-content: center; gap: 0;}
  body[data-rd] #information h2.title {width: 100%;}
  body[data-rd] #information .item {display: block !important; padding: 0 8px 26px !important; background: none !important; box-shadow: none !important; text-align: center !important;}
  body[data-rd] #information .item:after {display: none !important;}
  body[data-rd] #customers .item .image, body[data-rd] #information .item .image {width: 116px; height: 116px; margin: 0 auto 12px !important;}
  body[data-rd] #customers .item .image img, body[data-rd] #information .item .image img {width: 54px; max-height: 54px;}
  body[data-rd] #customers .item .title, body[data-rd] #information .item .title {font-size: 16px !important;}
}
@media (min-width: 992px) {body[data-rd] #information .item:after {background: #22121E; width: 26px; height: 26px; top: 62px; right: -13px;}}

/* =====================================================================
   Правки 19.10 (8): «Быстрый просмотр» — как на старом сайте
   ===================================================================== */
/* ссылка «Быстрый просмотр» под кнопками в карточке (только на компьютере, как в оригинале — тема прячет её до 991px) */
@media (min-width: 992px) {
  body[data-rd] .products-grid:not(.rd-list) .item .product-image .actions .add-to-links {flex-wrap: wrap;}
  body[data-rd] .products-grid:not(.rd-list) .item .product-image .actions .quickview-wrap {display: block !important; flex-basis: 100%; margin-top: 10px; text-align: center;}
  body[data-rd] .products-grid .item .product-image .actions .quickview-wrap a.quickview {
    display: inline-flex !important; align-items: center; gap: 6px; padding: 7px 14px; background: rgba(255,255,255,.92);
    color: #22121E; font-size: 14px; letter-spacing: .02em; text-transform: none; box-shadow: 0 6px 16px -10px rgba(36,21,28,.5);
  }
  body[data-rd] .products-grid .item .product-image .actions .quickview-wrap a.quickview i {display: none;}
  body[data-rd] .products-grid .item .product-image .actions .quickview-wrap a.quickview span {padding: 0; font-size: 14px;}
  body[data-rd] .products-grid .item .product-image .actions .quickview-wrap a.quickview:hover {background: #fff; color: #3F7412;}
}

/* окно */
html.rd-qv-lock {overflow: hidden;}
body[data-rd] .rd-qv {position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s;}
body[data-rd] .rd-qv.is-open {visibility: visible; opacity: 1; transition: opacity .25s ease;}
body[data-rd] .rd-qv__backdrop {position: absolute; inset: 0; background: rgba(20,12,16,.55);}
body[data-rd] .rd-qv__box {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); transform: translateY(14px) scale(.98); transition: transform .3s var(--rd-ease, ease);
}
body[data-rd] .rd-qv.is-open .rd-qv__box {transform: none;}
body[data-rd] .rd-qv__close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; padding: 0; border: 0; cursor: pointer;
  background: #22121E; color: #fff; font-size: 26px; line-height: 40px; text-align: center;
}
body[data-rd] .rd-qv__close:hover {background: #5E9E1C;}
body[data-rd] .rd-qv__body {display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 30px;}
body[data-rd] .rd-qv__loading {grid-column: 1 / -1; padding: 80px 0; text-align: center; color: #6B5E66;}
body[data-rd] .rd-qv__media {display: flex; flex-direction: column; gap: 12px;}
body[data-rd] .rd-qv__img {display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff;}
body[data-rd] .rd-qv__thumbs {display: flex; flex-wrap: wrap; gap: 8px;}
body[data-rd] .rd-qv__thumb {width: 64px; height: 64px; padding: 4px; border: 1px solid #ECE6E0; background: #fff; cursor: pointer;}
body[data-rd] .rd-qv__thumb.is-active {border-color: #7CBB2C;}
body[data-rd] .rd-qv__thumb img {width: 100%; height: 100%; object-fit: contain;}
body[data-rd] .rd-qv__info {padding: 4px 30px 0 0; text-align: left;}
body[data-rd] .rd-qv__name {margin: 0 0 10px; font-size: clamp(20px, 2vw, 26px) !important; line-height: 1.5;}
body[data-rd] .rd-qv__info .ratings {margin: 0 0 12px;}
body[data-rd] .rd-qv__info .ratings:before, body[data-rd] .rd-qv__info .ratings:after {display: none !important;}
body[data-rd] .rd-qv__info .goodsDataMainModificationArtNumber, body[data-rd] .rd-qv__avail {margin: 0 0 6px; font-size: 15px;}
body[data-rd] .rd-qv__info .goodsDataMainModificationArtNumber span {color: #5E9E1C;}
body[data-rd] .rd-qv__avail.available-true span {color: #5E9E1C;}
body[data-rd] .rd-qv__avail.available-false span {color: #C0392B;}
body[data-rd] .rd-qv__info .price-box {margin: 14px 0 10px;}
body[data-rd] .rd-qv__info .price-box .price, body[data-rd] .rd-qv__info .price-box .num {font-size: 30px; font-weight: 700;}
body[data-rd] .rd-qv__info .short-description {margin: 0 0 18px; color: #4A3540;}
body[data-rd] .rd-qv__info .short-description p {max-height: none; overflow: visible;}
body[data-rd] .rd-qv__info .add-to-box {display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; padding: 0; border: 0; box-shadow: none; background: none;}
body[data-rd] .rd-qv__info .add-to-cart {display: flex !important; flex-wrap: wrap; gap: 12px; margin: 0;}
body[data-rd] .rd-qv__info .add-to-cart .button {height: 50px; padding: 0 26px;}
body[data-rd] .rd-qv__info .link-more {display: inline-flex !important; align-items: center; color: #22121E !important; background: #fff !important; box-shadow: inset 0 0 0 2px #22121E !important;}
body[data-rd] .rd-qv__info .link-more:hover {color: #fff !important; background: #22121E !important;}
@media (max-width: 767px) {
  body[data-rd] .rd-qv {padding: 10px;}
  body[data-rd] .rd-qv__body {grid-template-columns: 1fr; gap: 16px; padding: 56px 16px 20px;}
  body[data-rd] .rd-qv__info {padding: 0;}
}
/* количество и кнопки — в одну строку, как в оригинальном окне */
body[data-rd] .rd-qv__info .add-to-box > * {grid-column: auto !important; width: auto !important; margin: 0 !important;}
body[data-rd] .rd-qv__info .add-to-cart {flex: 1 1 auto;}
body[data-rd] .rd-qv__info .add-to-cart .button {flex: 1 1 150px; width: auto !important; min-width: 0;}

/* =====================================================================
   Правки 19.10 (9)
   ===================================================================== */
/* верхняя строка шапки (телефон, звонок, поиск, сравнение, корзина) — сплошная белая;
   прозрачно-матовой остаётся только строка с логотипом и меню */
body[data-rd] .header-top, body[data-rd] .index #header .header-top, body[data-rd].rd-scrolled .header-top {
  background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 1px solid #ECE6E0;
}

/* подвал — как на старом сайте: размеры и отступы сняты с mandarinka-shop.ru */
body[data-rd] .rd-ft {padding: 0 !important; margin-top: 0; background: none; border-radius: 0; overflow: visible; color: #22121E; font-family: Tahoma, Verdana, "Segoe UI", sans-serif;}
body[data-rd] .rd-ft__top {background: #EFEFEC; padding: 30px 0;}
body[data-rd] .rd-ft__grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px; align-items: start;}
body[data-rd] .rd-ft h3 {margin: 0 !important; padding: 0 0 10px; font-family: Calibri, "Carlito", "Segoe UI", sans-serif !important; font-size: 24px !important; font-weight: 400; line-height: 36px; letter-spacing: 1px !important; text-transform: uppercase; color: #22121E;}
body[data-rd] .rd-ft ul {margin: 0; padding: 0; list-style: none;}
body[data-rd] .rd-ft li {margin: 0; padding: 5px 0; font-size: 14px; line-height: 18px; text-transform: uppercase;}
body[data-rd] .rd-ft a {color: #22121E; text-decoration: none;}
body[data-rd] .rd-ft a:hover {color: #5E9E1C;}
body[data-rd] .rd-ft__contacts > div {display: flex; align-items: center; gap: 10px; padding: 0 0 15px; font-size: 14px; line-height: 21px;}
body[data-rd] .rd-ft__contacts svg.ic {flex: none; width: 21px; height: 21px; padding: 0; background: none; color: #22121E; stroke-width: 2.2;}
body[data-rd] .rd-ft__logo {justify-self: end;}
body[data-rd] .rd-ft__logo img {display: block; width: 180px; height: auto;}
body[data-rd] .rd-ft__bottom {background: #fff; padding: 9px 0;}
body[data-rd] .rd-ft__bottom .container {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;}
body[data-rd] .rd-ft__copy {font-size: 14px; line-height: 18px; color: #22121E;}
body[data-rd] .rd-ft .rd-footer__pp {font-size: 14px !important;}
body[data-rd] .rd-ft .rd-footer__pp a {color: #22121E; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(34,18,30,.35);}
@media (max-width: 991px) {
  body[data-rd] .rd-ft__grid {grid-template-columns: 1fr 1fr; gap: 20px 30px;}
  body[data-rd] .rd-ft__logo {justify-self: start;}
}
@media (max-width: 480px) {
  body[data-rd] .rd-ft__grid {grid-template-columns: 1fr;}
  body[data-rd] .rd-ft__bottom .container {flex-direction: column; align-items: flex-start;}
}
@media (min-width: 992px) {body[data-rd] .rd-ft__logo {margin-right: -15px;}}
body[data-rd] .rd-ft__bottom .container:before, body[data-rd] .rd-ft__bottom .container:after {content: none !important; display: none !important;}

/* =====================================================================
   Правки 19.10 (10)
   ===================================================================== */
/* шапка не едет за прокруткой — как на старом сайте: на главной лежит поверх обложки и уходит вверх вместе со страницей */
body[data-rd] #header {position: relative !important; top: auto; transform: none !important;}
body[data-rd] .index #header, body[data-rd].index #header {position: absolute !important; top: 0; left: 0; right: 0; width: 100%;}

/* «Сравнение» и «Корзина»: иконка и подпись на одной линии */
body[data-rd] .header-top .title > a {display: inline-flex !important; align-items: center; gap: 8px; line-height: 1;}
body[data-rd] .header-top .title > a > i.fa {display: inline-flex !important; align-items: center; justify-content: center; height: auto !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; vertical-align: middle;}
body[data-rd] .header-top .title > a > i.fa:before {vertical-align: 0;}
body[data-rd] .header-top .title > a > span.hide {line-height: 1;}

/* обложка и «Специальное предложение»: фото медленно «приближается» (как на старом сайте — до 110% за 15 секунд) */
@keyframes rd-approach {from {transform: scale(1);} to {transform: scale(1.1);}}
body[data-rd] #slideshow .slide, body[data-rd] #slideshow .image img {
  transform-origin: 50% 50%; will-change: transform; animation: rd-approach 15s cubic-bezier(.25,.1,.25,1) .3s both;
}
body[data-rd] #slideshow .image {overflow: hidden;}
/* «Специальное предложение» — как на старом сайте: фото «стоит на месте» за блоком, а страница прокручивается поверх
   (фон закреплён к окну — background-attachment: fixed). На планшетах и телефонах тема тоже отключала этот эффект. */
body[data-rd] #promotion {position: relative; overflow: hidden; isolation: isolate; background-image: none !important;}
body[data-rd] #promotion:before {
  content: "" !important; display: block !important; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
  background: url("/design/redesign/promotion.jpg") center / 100% 100% no-repeat;
}
@media (min-width: 1025px) {
  body[data-rd] #promotion:before {background-size: cover; background-position: center center; background-attachment: fixed;}
}
@media (max-width: 991px) {
  /* на телефоне фото — полоса сверху целиком, текст под ним */
  body[data-rd] #promotion:before {bottom: auto; aspect-ratio: 4368 / 2448;}
}
@media (prefers-reduced-motion: reduce) {
  body[data-rd] #slideshow .slide, body[data-rd] #slideshow .image img {animation: none;}
}

/* =====================================================================
   Правки 19.10 (11): иконки «Сравнение» и «Корзина» — оригинальные со старого сайта
   (шрифт FontAwesome темы из design/fonts/: стрелки fa-retweet и сумка fa-shopping-bag, 20px, бордовые #8C2C29, отступ 15px)
   ===================================================================== */
body[data-rd] .header-top .title > a > i.fa {width: auto !important; height: auto !important; color: #8C2C29; font-size: 20px !important;}
body[data-rd] .header-top .title > a > i.fa:before {
  display: inline-block !important; width: auto !important; height: auto !important; background: none !important;
  -webkit-mask: none !important; mask: none !important; font-family: FontAwesome !important; font-size: 20px !important;
  font-style: normal; font-weight: normal; line-height: 1 !important; color: #8C2C29; vertical-align: middle !important;
  -webkit-font-smoothing: antialiased;
}
body[data-rd] .header-top .title > a > i.fa-retweet:before {content: "\f079" !important;}
body[data-rd] .header-top .title > a > i.fa-shopping-bag:before {content: "\f290" !important;}
body[data-rd] .header-top .title > a {gap: 15px !important;}
body[data-rd] .header-top .title > a:hover > i.fa, body[data-rd] .header-top .title > a:hover > i.fa:before {color: #5E9E1C;}

/* =====================================================================
   Отзывы на главной (15.11): слайдер между «Работать с нами просто» и «Остались вопросы?».
   В стиле шагов: карточки на белом с тонкой бежевой рамкой, круг с инициалами и стрелки —
   как круги шагов (фон #E3E1D5, золотая обводка #8F7A2F), тёмный текст #22121E
   ===================================================================== */
body[data-rd] #rd-reviews {background: #fff; padding: clamp(8px, 2vw, 24px) 0 clamp(8px, 1.5vw, 20px);}
body[data-rd] .rd-rv__frame {display: flex; align-items: center; gap: 18px;}
body[data-rd] .rd-rv__track {
  flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 24px; padding: 4px 2px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
}
body[data-rd] .rd-rv__track::-webkit-scrollbar {display: none;}
/* раскрыли длинный отзыв — соседние карточки не растягиваем до его высоты */
body[data-rd] .rd-rv__track.has-open {align-items: flex-start;}
body[data-rd] .rd-rv__track:focus-visible {outline-offset: 4px;}
body[data-rd] .rd-rv__card {
  position: relative; flex: 0 0 calc((100% - 24px) / 2); min-width: 0; margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 28px 26px 22px; background: #fff; border: 1px solid #E3E1D5; text-align: left;
}
body[data-rd] .rd-rv__card:before {content: "\201C"; position: absolute; top: 4px; right: 22px; font: 400 80px/1 Georgia, serif; color: #E3E1D5; pointer-events: none;}
body[data-rd] .rd-rv__who {display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding-right: 36px;}
body[data-rd] .rd-rv__ava {
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50% !important;
  background: #E3E1D5; border: 2px solid #8F7A2F; color: #22121E; font-size: 18px; letter-spacing: .03em;
}
body[data-rd] .rd-rv__name {display: block; font-size: 18px; font-weight: 600; line-height: 1.3; color: #22121E;}
body[data-rd] .rd-rv__role {display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: #6B5E66;}
body[data-rd] .rd-rv__text {margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 1.6; color: #22121E;}
body[data-rd] .rd-rv__text p {margin: 0 0 10px;}
body[data-rd] .rd-rv__text p:last-child {margin-bottom: 0;}
body[data-rd] .rd-rv__card.is-clamped .rd-rv__text {
  max-height: 14.4em; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
}
body[data-rd] .rd-rv__more {
  align-self: flex-start; min-height: 44px; margin-top: auto; padding: 8px 0 0; border: 0; background: none; cursor: pointer;
  color: #3F7412; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
body[data-rd] .rd-rv__more:hover {color: #22121E;}
body[data-rd] .rd-rv__arrow {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50% !important; cursor: pointer;
  background: #E3E1D5; border: 2px solid #8F7A2F; color: #22121E; transition: background-color .2s;
}
body[data-rd] .rd-rv__arrow:hover {background: #D6D3C3;}
body[data-rd] .rd-rv__arrow svg.ic {width: 24px; height: 24px; stroke-width: 2;}
body[data-rd] .rd-rv__arrow[hidden], body[data-rd] .rd-rv__dots[hidden] {display: none;}
body[data-rd] .rd-rv__dots {display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin-top: 18px;}
body[data-rd] .rd-rv__dot {display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;}
body[data-rd] .rd-rv__dot:before {content: ""; width: 10px; height: 10px; border-radius: 50% !important; background: #E3E1D5; border: 1px solid #8F7A2F; transition: background-color .2s, transform .2s;}
body[data-rd] .rd-rv__dot[aria-current="true"]:before {background: #8F7A2F; transform: scale(1.25);}
@media (max-width: 991px) {
  body[data-rd] .rd-rv__card {flex-basis: 100%;}
}
@media (max-width: 767px) {
  body[data-rd] .rd-rv__frame {display: block;}
  body[data-rd] .rd-rv__arrow {display: none;}
  body[data-rd] .rd-rv__track {gap: 14px;}
  body[data-rd] .rd-rv__card {flex-basis: 86%; padding: 22px 18px 18px;}
  body[data-rd] .rd-rv__card:before {font-size: 64px; right: 16px;}
  body[data-rd] .rd-rv__ava {width: 50px; height: 50px; font-size: 16px;}
  body[data-rd] .rd-rv__text {font-size: 15px;}
  body[data-rd] .rd-rv__dots {gap: 0;}
  body[data-rd] .rd-rv__dot {width: 30px; height: 36px;}
}
@media (prefers-reduced-motion: reduce) {
  body[data-rd] .rd-rv__track {scroll-behavior: auto;}
  body[data-rd] .rd-rv__arrow, body[data-rd] .rd-rv__dot:before {transition: none;}
}

/* =====================================================================
   Правки 15.11: сетка разделов каталога — карточки в ряду одной высоты и с одной линии
   (тема ставила align-items: center, и карточка с названием в одну строку съезжала вниз);
   название — по центру своей плашки, сколько бы строк оно ни занимало
   ===================================================================== */
body[data-rd] .categories {align-items: stretch;}
body[data-rd] .categories .item {display: flex; flex-direction: column;}
body[data-rd] .categories .item .cat-image {flex: none;}
body[data-rd] .categories .item .cat-name {flex: 1; display: flex; align-items: center; justify-content: center;}

/* =====================================================================
   Правки 16.11: картинки разделов — везде одинаковые квадраты.
   Раньше картинка задавала высоту плашки сама: высокая бутылка растягивала карточку, широкая — сжимала.
   Теперь квадрат держит форму, картинка вписывается целиком (без обрезки) по центру на белом фоне
   ===================================================================== */
body[data-rd] .categories .item .cat-image {position: relative; aspect-ratio: 1 / 1; height: auto !important; min-height: 0; overflow: hidden; background: #fff;}
body[data-rd] .categories .item .cat-image a {position: absolute; inset: 0; display: block; height: auto; padding: 0;}
body[data-rd] .categories .item .cat-image img {position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center;}
