/* =====================================================================
   BLUE SKIN — дизайн-слой поверх перекрашенного style.css (podarki_corp)
   Грузится после style.css. Цвета (розовый/голубой → синий) уже заменены
   в style.css копии; здесь — типографика, тёмно-синие поверхности и полировка
   под референс-дизайн (Manrope, navy + blue).
   ===================================================================== */

:root {
  --navy: #363636;      /* dark charcoal / --pr-dark */
  --navy2: #454545;     /* slightly lighter dark */
  --blue: #c3963c;      /* rich gold / --pr-gold */
  --blue-d: #9e7428;    /* darker gold for hover/active */
  --navy-bg: #363636;   /* header top line background / dark charcoal */
  --navy-bg2: #454545;  /* slightly lighter charcoal */
  --ink: #363636;       /* text color / --pr-ink */
  --muted: #6e6761;     /* gray-brown / --pr-muted */
  --line: rgba(195, 150, 60, .22); /* border gold / --pr-line */
  --bg: #faf7f1;        /* page background / --pr-bg */
  --bg2: #fffdf9;       /* card background / --pr-card */
  --radius: 12px;
  --shadow: 0 18px 48px rgba(54, 46, 36, .08); /* --pr-shadow */
  --gold-grad: linear-gradient(135deg, #e7c88b 0%, #c3963c 50%, #9e7428 100%);
  --gold-grad-hover: linear-gradient(135deg, #ebd197 0%, #dcae55 50%, #a8792a 100%);
}

/* ---------- Типографика ---------- */
body{ font-family:'Manrope',system-ui,-apple-system,Segoe UI,sans-serif; color:var(--ink); }
/* Единый Manrope везде (Exo 2 / Open Sans больше не грузятся) */
body, h1,h2,h3,h4,h5,h6, p, a, span, li, td, th, label,
input, button, textarea, select, .menu, .footer_menu li a, .payment_logos p{
  font-family:'Manrope', system-ui, -apple-system, Segoe UI, sans-serif !important; }



/* ---------- Виджет региона (RegionSDV) — убрать «коробку» нативного select ---------- */
#regionchoose{ display:inline-flex; align-items:center; gap:6px; }
#regionchoose label{ opacity:.75; font-size:13px; }
.select_town{ -webkit-appearance:none; appearance:none; border:none !important; outline:none !important;
  background:transparent !important; font-weight:700; cursor:pointer; padding:2px 2px; }
.header .select_town, .header_city .select_town{ color:var(--navy) !important; }
.footer .select_town, .footer_region .select_town{ color:#fff !important; }
h1,h2,h3,h4,
.slider_title,.rpm_page_title,.rpm_cat_top_text h1,
.footer h3,.footer h4{
  font-family:'Manrope',sans-serif; font-weight:800; letter-spacing:-.01em; color:var(--navy);
}

/* ---------- Верхняя промо-плашка ---------- */
.fixed_top_line{ background-color:var(--navy-bg)!important; font-weight:600; letter-spacing:.01em; }

/* ---------- Меню поднято в шапку (как в референсе) ---------- */
.menu_wrapper{ display:none!important; }
.header .in{ align-items:center; }
.header_nav{ margin:0 auto; }
.header_nav .menu{ display:flex; align-items:center; gap:22px; flex-wrap:nowrap; list-style:none; margin:0; padding:0; }
.header_nav .menu>li{ list-style:none; margin:0; }
.header_nav .menu>li>a{ position:relative; display:inline-block; padding-bottom:7px; font-family:'Manrope',sans-serif; font-weight:600; font-size:15px; color:var(--navy)!important;
  white-space:nowrap; transition:color .15s; letter-spacing:.01em; }
.header_nav .menu>li>a::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--blue); border-radius:2px; transform:scaleX(0); transform-origin:center; transition:transform .18s ease; }
.header_nav .menu>li>a:hover{ color:var(--blue)!important; }
.header_nav .menu>li>a:hover::after,
.header_nav .menu>li.current-menu-item>a::after,
.header_nav .menu>li.current_page_item>a::after{ transform:scaleX(1); }
.header_nav .menu>li.current-menu-item>a,
.header_nav .menu>li.current_page_item>a{ color:var(--blue)!important; }
@media(max-width:1100px){ .header_nav .menu{ gap:16px; } .header_nav .menu>li>a{ font-size:14px; } }
@media(max-width:1023px){ .header_nav{ display:none!important; } }

/* ---------- Шапка: логотип с иконкой-подарком ---------- */
.header .logo{ display:inline-flex!important; flex-direction:row; align-items:center; gap:12px; }
.header .logo .logo_mark{ flex:none; }
.header .logo .logo_mark svg{ width:46px; height:46px; display:block; }
.header .logo .logo_txt{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.logo_tagline{ font-size:11px; color:var(--muted); font-weight:600; line-height:1.25; max-width:210px; letter-spacing:.01em; }

/* ---------- Шапка: компактная правая часть (как в референсе) ---------- */
.header .right{ display:flex!important; flex-direction:row; align-items:center; gap:18px; }
.header .right .contacts_col{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.header .right .row{ margin:0; }
.header .right .tel{ display:flex!important; align-items:center; gap:12px; }
.header .right .tel a[href^="tel"]{ display:grid!important; grid-template-columns:auto auto; column-gap:9px; align-items:center; }
.header .right .tel a[href^="tel"] > svg{ grid-row:1 / span 2; width:17px!important; height:17px!important; fill:var(--blue)!important; }
.hdr_phone_num{ font-family:'Manrope',sans-serif; font-weight:800; font-size:16px; color:var(--navy); line-height:1.25; }
.hdr_phone_hours{ font-size:11.5px; color:var(--muted); font-weight:600; line-height:1.2; }

/* Шапка: только кликабельная трубка, без номера (03.10.2026, образец print888.ru).
   Сам номер убран из разметки в template-parts/header.php — телефон нужен поисковику,
   но звонки клиенту не нужны. Номер остаётся в href="tel:" и текстом в футере.
   Здесь — только раскладка: сетка под «иконка + номер + часы» больше не нужна. */
.header .right .tel a[href^="tel"]{ display:inline-flex!important; grid-template-columns:none!important;
  align-items:center; justify-content:center; }
.header .right .tel a[href^="tel"] > svg{ grid-row:auto!important; width:20px!important; height:20px!important; }
.header .right .tel a:not([href^="tel"]){ display:inline-flex; align-items:center; flex:none; }
.header .right .tel .soc{ width:19px!important; height:19px!important; display:block; }
.header .right .mail a{ display:inline-flex; align-items:center; gap:9px; font-size:12.5px; color:var(--muted); }
.header .right .mail svg{ width:17px!important; height:17px!important; fill:var(--muted)!important; }
.header_callback{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--navy-bg); color:#fff!important; font-weight:700; font-family:'Manrope',sans-serif;
  padding:13px 24px; border-radius:10px; font-size:14px; white-space:nowrap; transition:.18s; flex:none;
}
.header_callback:hover{ background:var(--gold-grad)!important; border-color:var(--blue)!important; transform:translateY(-1px); box-shadow:0 4px 12px rgba(195,150,60,0.25)!important; }
@media(max-width:900px){ .header_callback{ display:none; } .logo_tagline{ display:none; } }

/* ---------- Плавающая шапка (header_fixed) ---------- */
.header_fixed{ background:#fff!important; border-bottom:1px solid var(--line)!important; box-shadow:0 4px 16px rgba(22,35,63,.08)!important; }
.header_fixed .in{ justify-content:flex-start; gap:20px; padding:11px 0; }
.header_fixed a{ font-family:'Manrope',sans-serif!important; }
.header_fixed .logo{ font-family:'Manrope',sans-serif!important; color:var(--navy)!important; font-weight:800!important; font-size:15px!important; line-height:1.15; margin-right:auto; }
.header_fixed .tel a{ font-family:'Manrope',sans-serif!important; font-size:14px!important; color:var(--navy)!important; font-weight:600!important; }
.header_fixed .tel a:hover{ color:var(--blue)!important; }
.header_fixed .cart svg{ fill:var(--blue)!important; }
.header_fixed .cart:hover svg{ fill:var(--blue-d)!important; }
.header_fixed .fixed_menu_btn svg{ fill:var(--navy)!important; }
.header_fixed .fixed_menu_btn:hover svg{ fill:var(--blue)!important; }
/* Плавающая шапка на десктопе — полноценное меню вместо мобильного вида */
.header_fixed .fixed_nav{ display:none; }
@media(min-width:1024px){
  .header_fixed .in{ display:grid!important; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding:9px 0; }
  .header_fixed .logo{ justify-self:start; margin:0!important; }
  .header_fixed .fixed_nav{ display:block; justify-self:center; margin:0; }
  .header_fixed .fixed_nav .menu{ display:flex; align-items:center; gap:24px; list-style:none; margin:0; padding:0; }
  .header_fixed .fixed_nav .menu>li{ list-style:none; margin:0; }
  .header_fixed .fixed_nav .menu>li>a{ position:relative; display:inline-block; padding-bottom:6px; font-family:'Manrope',sans-serif; font-weight:600; font-size:14px; color:var(--navy)!important; white-space:nowrap; transition:color .15s; }
  .header_fixed .fixed_nav .menu>li>a::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--blue); border-radius:2px; transform:scaleX(0); transition:transform .18s ease; }
  .header_fixed .fixed_nav .menu>li>a:hover{ color:var(--blue)!important; }
  .header_fixed .fixed_nav .menu>li>a:hover::after,
  .header_fixed .fixed_nav .menu>li.current-menu-item>a::after,
  .header_fixed .fixed_nav .menu>li.current_page_item>a::after{ transform:scaleX(1); }
  .header_fixed .tel{ display:none!important; }
  .header_fixed .mobile_tel_icon{ display:none!important; }
  .header_fixed .fixed_menu_btn{ display:none!important; }
  .header_fixed .cart{ justify-self:end; flex:none; }
}

/* ---------- Кнопки ---------- */
.btn,.rpm_btn{ font-family:'Manrope',sans-serif; font-weight:700; border-radius:10px!important; transition:.18s; }
.rpm_btn.blue,.btn.blue{ background:var(--gold-grad)!important; border-color:var(--blue)!important; color:#fff!important; box-shadow:0 6px 18px rgba(195, 150, 60, .22)!important; transition:all 0.18s ease-in-out!important; }
.rpm_btn.blue:hover,.btn.blue:hover{ background:var(--gold-grad-hover)!important; border-color:var(--blue-d)!important; color:#fff!important; transform:translateY(-2px); box-shadow:0 8px 22px rgba(195, 150, 60, .30)!important; }

/* ---------- Лента преимуществ — отдельные карточки (как в референсе) ---------- */
.rpm_promo_icons{ background:transparent; border:none; border-radius:0; box-shadow:none; padding:0; margin:26px 0 10px; display:flex; flex-wrap:wrap; gap:18px; }
.rpm_promo_icons .item{ flex:1 1 0; min-width:210px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 1px 3px rgba(22,35,63,.04); transition:.18s; }
.rpm_promo_icons .item:hover{ box-shadow:var(--shadow); border-color:#ebdcb9; }
.rpm_promo_icons .item .in{ display:flex; align-items:center; gap:14px; padding:18px 20px; justify-content:flex-start; }
.rpm_promo_icons .item .in svg{ box-sizing:content-box; width:22px!important; height:22px!important; flex:none; padding:9px; background:#fcf8ed; border-radius:10px; }
.rpm_promo_icons .item svg,
.rpm_promo_icons .item svg path,
.rpm_promo_icons .item svg rect,
.rpm_promo_icons .item svg circle,
.rpm_promo_icons .item svg polygon {
  fill: var(--blue) !important;
}
.rpm_promo_icons .item p{ font-family:'Manrope',sans-serif; font-size:13.5px; color:#41496a; line-height:1.35; font-weight:600; margin:0; }
.rpm_promo_icons .item p br{ display:none; }

/* ---------- Карточки категорий (стилизованные иконки) ---------- */
.rpm_main_catalog_in{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.rpm_main_catalog .item{ background:#fff; border:1px solid var(--line); border-radius:14px;
  padding:24px 18px 20px; transition:.18s; text-align:center; }
.rpm_main_catalog .item:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:#ebdcb9; }
.rpm_main_catalog .item .main_cat{ display:flex; flex-direction:column; align-items:center; gap:12px; margin-bottom:12px; }
.rpm_main_catalog .item .main_cat img{ width:52px; height:52px; object-fit:contain; }
.rpm_main_catalog .item .main_cat .link{ font-family:'Manrope',sans-serif; font-weight:700; font-size:15.5px; color:var(--navy); line-height:1.25; }
.rpm_main_catalog .item:hover .main_cat .link{ color:var(--blue); }
.rpm_main_catalog .item .sub_cats{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.rpm_main_catalog .item .sub_cat{ font-size:12.5px; color:var(--muted); }
.rpm_main_catalog .item .sub_cat:hover{ color:var(--blue); }
@media(max-width:1080px){ .rpm_main_catalog_in{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:680px){ .rpm_main_catalog_in{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rpm_promo_icons .item{ flex-basis:50%; } }
@media(max-width:460px){ .rpm_main_catalog_in{ grid-template-columns:1fr; } }

/* ---------- HERO (главный слайдер) ---------- */
.swiper_main .type_1 .slide_in{ padding:60px 0; }
.swiper_main .type_1 .slide_content{
  background:#fff; border-radius:16px; padding:34px 32px; width:44%; max-width:480px; min-width:330px;
  box-shadow:0 24px 60px rgba(22,35,63,.20); transform:translate(14%,0); text-align:left; }
.swiper_main .slide .slider_title{
  font-family:'Manrope',sans-serif; font-weight:800; font-size:29px; line-height:1.15;
  color:var(--navy); text-transform:none; border-bottom:none; text-align:left; margin:0 0 14px; letter-spacing:-.01em; }
.swiper_main .slide .slider_text{ text-align:left; margin:0 0 24px; color:#41496a; font-size:16px; line-height:1.55; }
.swiper_main .slide .slider_text p{ margin:0; }
.swiper_main .slide .slider_text p br{ display:none; }
.swiper_main .rpm_btn{ display:inline-flex; align-items:center; justify-content:center; width:auto; max-width:none;
  font-family:'Manrope',sans-serif; font-weight:700; padding:14px 30px; border-radius:10px; }
.swiper_main .hero_cta{ display:flex; gap:12px; flex-wrap:wrap; }
.swiper_main .hero_cta .rpm_btn{ margin:0; }
.swiper_main .hero_btn2{ background:#fff!important; color:var(--navy)!important; border:1.5px solid var(--line)!important; box-shadow:none!important; transition:all 0.18s ease!important; }
.swiper_main .hero_btn2:hover{ border-color:var(--blue)!important; color:var(--blue)!important; background:#fff!important; box-shadow:0 4px 12px rgba(195,150,60,0.15)!important; transform:translateY(-1px); }
.swiper_main .swiper-pagination-bullet{ width:34px; height:5px; border-radius:3px; background:rgba(255,255,255,.65); opacity:1; }
.swiper_main .swiper-pagination-bullet.swiper-pagination-bullet-active{ background:var(--gold-grad)!important; }
.swiper_main .swiper-button-next,
.swiper_main .swiper-button-prev{ width:46px; height:46px; border-radius:50%; background:rgba(22,35,63,.55); transition:.18s; }
.swiper_main .swiper-button-next:hover,
.swiper_main .swiper-button-prev:hover{ background:var(--gold-grad)!important; }
.swiper_main .swiper-button-next svg,
.swiper_main .swiper-button-prev svg{ width:13px!important; fill:#fff; }
@media(max-width:900px){
  .swiper_main .type_1 .slide_content{ width:100%; max-width:420px; transform:none; padding:26px 22px; }
  .swiper_main .slide .slider_title{ font-size:23px; }
}
/* Референс-слайд: фон-картинка + текст-карточка слева */
.swiper_main .type_ref{ background-position:center right; background-size:cover; background-repeat:no-repeat; background-color:#eef1f7; }
.swiper_main .type_ref .slide_in{ justify-content:flex-start; align-items:center; padding:60px 0; min-height:440px; }
.swiper_main .type_ref .slide_content{ background:rgba(255,255,255,.94); box-shadow:0 24px 60px rgba(22,35,63,.18);
  transform:translate(16%,0); width:42%; min-width:320px; max-width:480px; padding:32px 30px; border-radius:16px; }
.swiper_main .type_ref .slider_title{ font-size:30px; line-height:1.12; border-bottom:none; text-align:left; text-transform:none; }
.swiper_main .type_ref .slider_title .hl{ color:var(--blue); }
.swiper_main .type_ref .slider_text{ font-size:16px; text-align:left; }
@media(max-width:900px){
  .swiper_main .type_ref{ background-position:center; }
  .swiper_main .type_ref .slide_in{ justify-content:center; padding:34px 16px; min-height:0; }
  .swiper_main .type_ref .slide_content{ transform:none; width:100%; max-width:440px; padding:24px 20px; }
  .swiper_main .type_ref .slider_title{ font-size:23px; }
}

/* ---------- Каталог: сетка карточек товаров ---------- */
.rpm_product_list{ display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; padding-top:26px!important; }
.rpm_product_list .item{ width:auto!important; margin:0!important; }
.rpm_product_list .item .s{ position:absolute!important; inset:0!important; top:0!important; left:0!important;
  width:auto!important; height:auto!important; background:#fff; border:1px solid var(--line);
  border-radius:14px; box-shadow:0 1px 3px rgba(22,35,63,.05); }
.rpm_product_list .item:hover .s{ box-shadow:var(--shadow)!important; border-color:#ebdcb9!important; }
.rpm_product_list .item_in{ padding:14px 14px 52px!important; }
.rpm_product_list .item .thumb{ background:var(--bg2); border-radius:10px; min-height:185px;
  padding:12px; margin-bottom:14px!important; justify-content:center; }
.rpm_product_list .item .thumb img{ mix-blend-mode:multiply; }
.rpm_product_list .item .title{ font-family:'Manrope',sans-serif; font-weight:700; font-size:15px!important;
  color:var(--navy); text-align:left!important; margin-bottom:10px!important; line-height:1.3!important; }
.rpm_product_list .item:hover .title{ color:var(--blue); }
.rpm_product_list .item .price{ font-weight:800!important; font-size:18px!important; color:var(--navy);
  text-align:left!important; margin-bottom:6px!important; }
.rpm_product_list .item .price span{ font-weight:600; }
.rpm_product_list .item .stock{ text-align:left!important; }
.rpm_product_list .item .sub_products{ text-align:left!important; }
@media(max-width:1280px){ .rpm_product_list{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }
@media(max-width:1080px){ .rpm_product_list{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media(max-width:767px){
  .rpm_product_list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .rpm_product_list .item_in {
    padding: 8px 8px 44px !important;
  }
  .rpm_product_list .item .thumb {
    min-height: 130px !important;
    height: 130px !important;
    margin-bottom: 8px !important;
  }
  .rpm_product_list .item .title {
    font-size: 13px !important;
    line-height: 1.2 !important;
    height: 2.4em !important;
    overflow: hidden !important;
  }
  .rpm_product_list .item .price {
    font-size: 15px !important;
    margin-top: 6px !important;
  }
  .rpm_product_list .item .stock {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-top: 6px !important;
  }
  .rpm_product_list .item .rpm_btn {
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    min-height: 32px !important;
    font-size: 12px !important;
    padding: 0 !important;
  }
}

/* Кнопка «В корзину» на карточке — всегда видна */
.rpm_product_list .item .rpm_btn{ opacity:1!important; position:absolute; bottom:14px; left:14px; right:14px;
  width:auto!important; border-radius:10px!important; }

/* Надпись «В корзину» по центру кнопки.
   В мобильном правиле ниже у кнопки обнуляется padding и задаётся min-height:32px,
   а line-height остаётся равным размеру шрифта — текст прижимался к верху.
   Цвет кнопки не трогаем: остаётся фирменный. */
.rpm_product_list .item .rpm_btn{
  display:flex!important; align-items:center; justify-content:center;
  line-height:1.15!important; text-align:center; }

/* ---------- Стат-полоса на главной ---------- */
.stat_band{ background:var(--navy-bg); color:#fff; }
.stat_band_in{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:40px 0; }
.stat_item{ text-align:center; }
.stat_item b{ display:block; font-family:'Manrope',sans-serif; font-size:34px; font-weight:800; color:#fff; line-height:1; margin-bottom:8px; }
.stat_item span{ font-size:14px; color:#c8bea8; }
@media(max-width:680px){ .stat_band_in{ grid-template-columns:repeat(2,1fr); gap:22px; padding:30px 0; } }

/* ---------- Ширина контейнера — как в оригинале (без капа) ---------- */

/* ---------- Кейсы на главной ---------- */
.home_cases{ padding:54px 0; }
.home_cases_head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:28px; flex-wrap:wrap; }
.home_cases_head h2{ font-family:'Manrope',sans-serif; font-size:32px; font-weight:800; color:var(--navy); margin:0 0 8px; letter-spacing:-.01em; }
.home_cases_head p{ color:var(--muted); font-size:16px; max-width:560px; margin:0; }
.home_cases_all{ color:var(--blue); font-weight:700; font-family:'Manrope',sans-serif; white-space:nowrap; }
.home_cases_all:hover{ color:var(--blue-d); }
.home_cases_grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.case_card{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; transition:.18s; display:flex; flex-direction:column; }
.case_card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:#ebdcb9; }
.case_card_ph{ position:relative; aspect-ratio:16/10; background:var(--bg2); overflow:hidden; }
.case_card_ph img{ width:100%; height:100%; object-fit:cover; display:block; }
.case_tag{ position:absolute; top:12px; left:12px; background:#fcf8ed; color:var(--blue); font-weight:700; font-size:12px; padding:5px 12px; border-radius:30px; font-family:'Manrope',sans-serif; }
.case_card_body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.case_card_body h3{ font-family:'Manrope',sans-serif; font-size:16px; font-weight:700; color:var(--navy); margin:0 0 9px; line-height:1.25; }
.case_card_body p{ font-size:13px; color:var(--muted); margin:0 0 16px; flex:1; line-height:1.45; }
.case_card_stats{ display:flex; gap:14px; }
.case_card_stats .cs b{ display:block; font-size:17px; font-weight:800; color:var(--blue); font-family:'Manrope',sans-serif; }
.case_card_stats .cs span{ font-size:10.5px; color:var(--muted); line-height:1.2; display:block; }
@media(max-width:1080px){ .home_cases_grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px){ .home_cases_grid{ grid-template-columns:1fr; } .home_cases_head h2{ font-size:25px; } }

/* ---------- Карточка товара: табы + похожие ---------- */
.product_tabs{ margin:46px auto 0; }
.ptabs_nav{ display:flex; gap:6px; border-bottom:1px solid var(--line); margin-bottom:24px; flex-wrap:wrap; }
.ptab{ background:none; border:none; cursor:pointer; padding:14px 20px; font-family:'Manrope',sans-serif; font-weight:700; font-size:15px; color:var(--muted); border-bottom:2.5px solid transparent; margin-bottom:-1px; transition:.15s; }
.ptab.active{ color:var(--blue); border-color:var(--blue); }
.ptab_pane{ display:none; } .ptab_pane.active{ display:block; }
.brand_banner{ background:var(--navy-bg); border-radius:16px; padding:24px 28px; color:#fff; display:grid; grid-template-columns:1.5fr 1fr; gap:28px; align-items:center; }
.brand_banner h3{ color:#fff; font-family:'Manrope',sans-serif; font-size:19px; font-weight:800; margin:0 0 8px; }
.brand_banner p{ color:#d0c8be; font-size:14px; margin:0 0 14px; line-height:1.5; }
.brand_banner_btn{ display:inline-flex!important; width:auto!important; max-width:none!important; }
.brand_banner_img{ background:rgba(255,255,255,.06); border:1px dashed rgba(255,255,255,.25); border-radius:12px; align-self:stretch; min-height:118px; display:grid; place-items:center; color:#7f8fb5; font-weight:800; font-family:'Manrope',sans-serif; letter-spacing:.05em; font-size:14px; }
.ptab_specs{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 40px; max-width:760px; }
.ptab_specs .r{ display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.ptab_specs .r span{ color:var(--muted); } .ptab_specs .r b{ color:var(--navy); font-weight:700; text-align:right; }
.related_products{ margin:48px auto 0; }
.related_title{ font-family:'Manrope',sans-serif; font-size:24px; font-weight:800; color:var(--navy); margin:0 0 6px; letter-spacing:-.01em; }
.related_grid{ padding-top:18px!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; }
@media(max-width:1080px){ .related_grid{ grid-template-columns:repeat(3,minmax(0,1fr))!important; } }
@media(max-width:760px){ .related_grid{ grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .brand_banner{ grid-template-columns:1fr; padding:22px; } .ptab_specs{ grid-template-columns:1fr; } }
@media(max-width:480px){ .related_grid{ grid-template-columns:1fr!important; } }

/* ---------- Мобильная доводка ---------- */
@media(max-width:760px){
  /* Плавающая шапка: убрать мессенджеры, чтобы влез бургер */
  .header_fixed .in{ gap:12px; padding:9px 0; flex-wrap:nowrap; }
  .header_fixed .tel{ display:none !important; }
  .header_fixed .logo{ font-size:13px !important; }
  .header_fixed .cart, .header_fixed .fixed_menu_btn{ flex:none; }
  .sub_header .in{ flex-wrap:nowrap; gap:8px; padding:10px 0; align-items:center; }
  .sub_header .catalog{ order:1; flex:none; }
  .sub_header .catalog > .a{ padding:11px 14px; }
  .sub_header .catalog > .a svg{ margin-right:7px; }
  .sub_header .search{ order:2; flex:1 1 auto; min-width:0; margin:0; }
  .sub_header .search input{ padding:12px 12px !important; }
  .sub_header .cart{ order:3; flex:none; margin-left:0; }
  .sub_header .cart .h{ display:none; }
  /* Каталог-бар на мобильном — белый, как на десктопе (а не сплошной синий блок) */
  .sub_header{ background-color:#fff !important; border-top:1px solid var(--line) !important; box-shadow:0 2px 10px rgba(22,35,63,.06) !important; }
  .sub_header .search:before{ display:none !important; }
  .sub_header .search input{ color:var(--ink) !important; }
  .sub_header .search input::-webkit-input-placeholder{ color:#9aa6bf !important; }
  .sub_header .search input::placeholder{ color:#9aa6bf !important; }
  .sub_header .search .search_svg svg{ fill:var(--blue) !important; }
  .sub_header .cart .count{ background:var(--gold-grad) !important; color:#fff !important; }
  .stat_item b{ font-size:28px; }
  .swiper_main .type_ref .slider_title{ font-size:24px; }
  .swiper_main .swiper-button-next, .swiper_main .swiper-button-prev{ display:none; }
  .header .right .tel a{ font-size:13px; }
  .footer_form_in,.featured .body,.brand-banner{ padding:22px!important; }
  /* Подвал: боковые отступы + каталог в 1 столбец */
  .footer{ padding-top:40px; }
  .footer .wrapper{ padding-left:20px; padding-right:20px; }
  .footer_cols{ grid-template-columns:1fr; gap:28px; }
  .footer_col_cat ul{ column-count:1; }
  .footer_brand .logo img{ max-width:180px; }
  .footer_bottom{ flex-direction:column; gap:10px; align-items:flex-start; }
  .footer_bottom .links a{ margin-left:0; margin-right:14px; }
}
@media(max-width:900px){ .header_callback{ display:none; } .logo_tagline{ display:none; } }

/* ---------- Каталог-бар: Каталог / Поиск / Корзина ---------- */
.sub_header{ box-shadow:0 4px 16px rgba(22,35,63,.06); border-top:none; }
.sub_header .in{ align-items:center; gap:16px; padding:11px 0; }

/* Кнопка «Каталог» */
.sub_header .catalog > .a{ background:var(--navy-bg); color:#fff; border-radius:10px; padding:13px 22px;
  font-family:'Manrope',sans-serif; font-weight:700; transition:.18s; }
.sub_header .catalog > .a:hover{ background:var(--gold-grad) !important; box-shadow:0 4px 12px rgba(195,150,60,0.25)!important; }
.sub_header .catalog > .a svg{ fill:#fff; width:20px; height:20px; margin-right:9px; }

/* Поиск */
.sub_header .search{ background:var(--bg); border:1.5px solid var(--line); border-radius:10px; margin:0 4px; transition:.15s; }
.sub_header .search:focus-within{ border-color:var(--blue); background:#fff; box-shadow:0 0 0 3px rgba(195, 150, 60, .15); }
.sub_header .search form{ display:flex; align-items:center; height:auto; }
.sub_header .search input{ flex:1; width:auto!important; min-width:0; text-align:left!important;
  text-transform:none!important; font-family:'Manrope',sans-serif!important; font-weight:500!important;
  font-size:15px!important; padding:14px 16px!important; height:auto!important; background:transparent; }
.sub_header .search input::-webkit-input-placeholder{ color:#9aa6bf!important; text-transform:none; }
.sub_header .search input::placeholder{ color:#9aa6bf!important; text-transform:none; }
.sub_header .search .search_svg{ position:static!important; transform:none!important; height:auto!important;
  line-height:1!important; padding:0 14px 0 4px!important; display:flex; align-items:center; }
.sub_header .search .search_svg svg{ fill:var(--blue)!important; width:22px; height:22px; }

/* Корзина */
.sub_header .cart.a{ color:var(--navy); font-family:'Manrope',sans-serif; font-weight:700; border-radius:10px; transition:.18s; }
.sub_header .cart.a:hover{ color:var(--blue); }
.sub_header .cart svg{ fill:var(--blue); }

/* Мега-меню каталога */
.sub_header .sub_catalog_in{ border-radius:18px; box-shadow:var(--shadow); border-color:var(--line); padding:20px 16px; }
.sub_header .sub_catalog_in .item a{ border-radius:10px; border-bottom:none!important; transition:.15s; padding:11px 14px; gap:12px; }
.sub_header .sub_catalog_in .item a:hover{ background:#fcf8ed; }
.sub_header .sub_catalog_in .item a:hover span{ color:var(--blue); }
.sub_header .sub_catalog_in .item img{ opacity:1; width:26px; height:26px; flex:none; }
.sub_header .sub_catalog_in .item span{ font-family:'Manrope',sans-serif; text-transform:none; font-size:14px; font-weight:600; color:var(--navy); line-height:1.3; }

/* ---------- Каталог: центрирование и выравнивание контейнера (1320px) ---------- */
.rpm_wrapper {
  padding: 26px 0 0;
}
.rpm_body_wrapper {
  display: flex;
  gap: 28px;
  width: min(100% - 96px, 1320px) !important;
  margin: 0 auto !important;
  align-items: flex-start;
}
.rpm_body{ padding:0!important; min-width:0; }
.rpm_aside{ flex:0 0 250px!important; width:250px; min-width:250px; }
@media(max-width:900px){
  .rpm_body_wrapper {
    flex-direction: column !important;
    width: min(100% - 32px, 1320px) !important;
    gap: 18px !important;
  }
  .rpm_aside{ flex:0 0 auto!important; width:100%!important; min-width:0; }
  .rpm_body{ width: 100% !important; }
}

/* ---------- Каталог: сайдбар категорий ---------- */
.rpm_aside_title{ font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; color:var(--navy);
  padding:0 4px 12px; margin-bottom:4px; }
.rpm_aside ul{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px!important;
  box-shadow:0 1px 3px rgba(22,35,63,.04); }
.rpm_aside ul a{ display:flex!important; justify-content:space-between; align-items:center; gap:10px;
  padding:11px 13px!important; border-bottom:none!important; border-radius:9px;
  font-family:'Manrope',sans-serif; font-size:14px; color:#33405c; transition:.15s; }
.rpm_aside ul a:hover{ background:#fcf8ed; color:var(--blue)!important; border-bottom:none!important; }
.rpm_aside ul a.current{ background:var(--navy-bg); color:#fff!important; border-bottom:none!important; }
.rpm_aside ul a span{ position:static!important; background:#eef2f8; color:var(--muted); border-radius:20px;
  padding:2px 9px!important; font-size:11px!important; font-weight:700; top:auto; right:auto; flex:none; }
.rpm_aside ul a:hover span{ background:#f5ecd8; color:var(--blue); }
.rpm_aside ul a.current span{ background:rgba(255,255,255,.22); color:#fff; }

/* Мобильный: категории — горизонтальная лента чипов.
   Карточка (фон/рамка/скругление) снимается с ul, иначе она скроллится
   вместе с лентой и уезжает за левый край. */
@media(max-width:900px){
  .rpm_aside{ position:relative; padding:0!important; }
  .rpm_aside_wrapper{ padding:0 0 6px!important; overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; border-radius:0!important; }
  .rpm_aside_wrapper::-webkit-scrollbar{ display:none; }
  .rpm_aside ul{ display:flex!important; width:max-content; min-width:100%; gap:8px;
    background:transparent!important; border:none!important; border-radius:0!important;
    box-shadow:none!important; padding:2px 0!important; }
  .rpm_aside ul li{ flex:0 0 auto; }
  .rpm_aside ul a{ margin:0!important; padding:9px 14px!important; border-radius:999px;
    background:#fff; border:1px solid var(--line)!important; white-space:nowrap; }
  .rpm_aside ul a.current{ background:var(--navy-bg); border-color:var(--navy-bg)!important; }
  /* стрелка-подсказка налезала на заголовок — заменена градиентом у правого края */
  .rpm_aside_arrow{ display:none!important; }
  .rpm_aside:after{ content:''; position:absolute; right:0; bottom:6px; width:28px; height:42px;
    pointer-events:none; background:linear-gradient(90deg, rgba(250,247,241,0), var(--bg)); }
}

/* ---------- Каталог: пагинация ---------- */
.rpm_pagenavi{ gap:8px; }
.rpm_pagenavi:before{ font-family:'Manrope',sans-serif; font-weight:600; color:var(--muted); }
.rpm_pagenavi .item{ width:42px; height:42px; margin:0!important; border-radius:10px!important;
  background:#fff!important; border:1.5px solid var(--line)!important; color:#33405c!important;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; transition:.15s; }
.rpm_pagenavi .item:hover{ border-color:var(--blue)!important; color:var(--blue)!important; background:#fff!important; }
.rpm_pagenavi .item.current{ background:var(--navy-bg)!important; border-color:var(--navy)!important; color:#fff!important; }
.rpm_pagenavi .item.sep,.rpm_pagenavi .item.sep:hover{ border:none!important; background:transparent!important; }

/* ---------- Боковая панель фильтров ---------- */
.rpm_aside_wrapper{ border-radius:var(--radius); }
.rpm_aside .current,
.rpm_aside a:hover{ color:var(--blue); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs,.rpm_bcn{ font-family:'Manrope',sans-serif; }
.breadcrumbs a:hover,.rpm_bcn a:hover{ color:var(--blue); }

/* ---------- Подвал (колонки под референс) ---------- */
.footer{ background-color:var(--navy-bg)!important; color:#d0c8be; padding:32px 0 0 !important; text-align:left!important; }
.footer .wrapper{ max-width:1240px; text-align:left; }
.footer a{ color:#d0c8be; } .footer a:hover{ color:#fff!important; }
.footer_cols{ display:grid; grid-template-columns:1.3fr 1.7fr 1fr 1.4fr; gap:24px; align-items:start; text-align:left; }
.footer_col{ text-align:left; }
.footer_col h4{ color:#fff; font-size:15px; font-weight:700; margin-bottom:10px !important; font-family:'Manrope',sans-serif; text-align:left; }
.footer_col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px !important; text-align:left; }
.footer_col ul li{ margin:0; } .footer_col ul li a{ font-size:14px; line-height:1.3; }
.footer_col_cat ul{ display:block; column-count:2; column-gap:26px; }
.footer_col_cat ul li{ margin-bottom:6px !important; break-inside:avoid; }
.footer_brand .logo{ display:inline-block; }
.footer_brand .logo img{ max-width:210px; height:auto; filter:brightness(0) invert(1); }
.footer_tagline{ font-size:13px; color:#9aa6bf; margin:10px 0 !important; max-width:270px; line-height:1.55; }
.footer_region{ margin-top:4px; }
.footer_contacts .fc_line{ display:block; font-size:14px; margin-bottom:6px !important; }
.footer_contacts .fc_mail{ color:var(--blue); }
.fc_address{ font-size:13px; color:#9aa6bf; margin:0 0 8px !important; line-height:1.55; }
.fc_messengers{ display:flex; gap:10px; margin-bottom:10px !important; }
.fc_messengers a{ width:38px; height:38px; border-radius:9px; overflow:hidden; display:inline-grid; place-items:center; }
.fc_messengers .soc{ width:100%; height:100%; display:block; }
.footer .payment_logos p{ font-size:12px; color:#8b97b0; margin:0 0 4px !important; }
.footer .payment_logos img{ max-width:230px; background:#fff; border-radius:8px; padding:8px; }
.footer_bottom{ border-top:1px solid #3c2e17; margin-top:24px !important; padding:12px 0 !important; display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:13px; color:#8b97b0; }
.footer_bottom a{ color:#8b97b0; font-size:13px; } .footer_bottom .links a{ margin-left:14px; }
@media(max-width:1150px){
  .footer_cols{ grid-template-columns:repeat(2,1fr) !important; gap:30px 24px !important; }
  .footer_col_cat ul{ column-count:2 !important; }
}
@media(max-width:680px){
  .footer_cols{ grid-template-columns:1fr !important; gap:20px !important; }
  .footer_col_cat ul{ column-count:2 !important; font-size:12.5px !important; }
  .footer_col_cat ul li{ margin-bottom:4px !important; }
}

/* =========== ФОРМЫ =========== */
/* Поля ввода */
.form input[type=text],.form input[type=email],.form input[type=tel],.form input[type=password],
.form textarea,.form select,
.rpm_form_cart input[type=text],.rpm_form_cart input[type=email],.rpm_form_cart textarea,
.contact_form input,.contact_form textarea{
  border:1.5px solid var(--line)!important; border-radius:10px!important; background:#fff;
  font-family:'Manrope',sans-serif; color:var(--ink); transition:.15s; }
.form input[type=text],.form input[type=email],.form input[type=tel],.form input[type=password],.form select{
  height:54px!important; padding:0 16px!important; }
.form textarea{ padding:14px 16px!important; min-height:108px; }
.form input:focus,.form textarea:focus,.form select:focus,
.rpm_form_cart input:focus,.rpm_form_cart textarea:focus{
  outline:none!important; border-color:var(--blue)!important; box-shadow:0 0 0 3px rgba(37,82,201,.12)!important; }
.form ::placeholder{ color:#9aa6bf; }

/* Выпадающие списки */
.form .select_wrapper:before{ border-radius:10px; }
.form .select_wrapper .arrow path,.form .select_wrapper .arrow polygon{ fill:var(--blue); }

/* Чекбоксы (кастомные) */
.form .checkbox_wrapper .checkbox{ border:1.5px solid var(--line); border-radius:5px; }
.form .checkbox_wrapper input:checked + .checkbox{ background:var(--blue); border-color:var(--blue); }
.form .checkbox_wrapper .checkbox:before,.form .checkbox_wrapper .checkbox:after{ background-color:#fff; }
/* Чекбоксы (стандартные, напр. согласие в CF7) */
.form input[type=checkbox],.wpcf7 input[type=checkbox]{ accent-color:var(--blue); width:18px; height:18px; }

/* Загрузка файлов */
.form input[type=file]{ font-family:'Manrope',sans-serif; font-size:13px; color:var(--muted); }
.form input[type=file]::file-selector-button,
.form input[type=file]::-webkit-file-upload-button{
  background:#fcf8ed; color:var(--blue); border:1px solid #ebdcb9; border-radius:8px;
  padding:9px 14px; font-weight:700; cursor:pointer; margin-right:12px; font-family:'Manrope',sans-serif; transition:.15s; }
.form input[type=file]::file-selector-button:hover{ background:#f5ecd8; }

/* Фон блока формы заявки */
.footer_form_bg{ background:var(--bg)!important; border-top:none!important; }
.footer_form{ font-family:'Manrope',sans-serif; padding:24px 0 !important; }
.footer_form h2,.footer_form h3,.footer_form b,.footer_form strong{ color:var(--navy); }
.footer_form_title { margin: 0 0 20px 0 !important; }
.footer_form input, .footer_form textarea { margin-bottom: 6px !important; }
.footer_form_left textarea { height: 80px !important; }
.footer_form_left_img { height: 200px !important; margin-top: 20px !important; }
.footer_form .btn { margin-top: 10px !important; }
.footer_form input[type=file] {
  height: 38px !important;
  padding: 4px 8px !important;
  font-size: 12.5px !important;
  margin-bottom: 6px !important;
}

/* Кнопки отправки */
.footer_form input[type=submit],.footer_form button[type=submit],.wpcf7-submit,
.contact_form input[type=submit],
input[type=submit].btn:not(.green):not(.blue):not(.orange){
  background:var(--gold-grad)!important; border:none!important; color:#fff!important;
  border-radius:10px!important; font-weight:700; height:54px; padding:0 32px; transition:all 0.18s ease-in-out!important;
  font-family:'Manrope',sans-serif; cursor:pointer; box-shadow:0 6px 18px rgba(195,150,60,0.22)!important; }
.footer_form input[type=submit]:hover,.wpcf7-submit:hover,
input[type=submit].btn:hover{ background:var(--gold-grad-hover)!important; transform:translateY(-2px); box-shadow:0 8px 22px rgba(195,150,60,0.35)!important; }

/* ====== Контактная вставка [rm_contact] внутри страниц ====== */
.rm_contact {
  max-width: 650px !important;
  margin: 40px auto !important;
  padding: 40px 24px !important;
  text-align: center !important;
  background-color: var(--bg2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow) !important;
}
.rm_contact .p {
  font-family: 'Manrope', sans-serif !important;
  color: var(--ink) !important;
  margin: 0 0 12px 0 !important;
}
.rm_contact .p21 {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  margin-bottom: 6px !important;
}
.rm_contact .p3, .rm_contact .p5 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  margin-top: 16px !important;
}
.rm_contact strong {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}
.rm_contact .p4 {
  margin: 8px 0 2px !important;
}
.rm_contact .p4 a {
  display: inline-block !important;
  color: var(--blue) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: 2px solid rgba(195, 150, 60, 0.3) !important;
  transition: all 0.18s ease !important;
}
.rm_contact .p4 a:hover {
  color: var(--blue-d) !important;
  border-bottom-color: var(--blue-d) !important;
  text-decoration: none !important;
}
.rm_contact_icons {
  display: inline-flex !important;
  gap: 12px !important;
  justify-content: center !important;
  margin-top: 14px !important;
}
.rm_contact_icons a {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
  transition: transform 0.18s, box-shadow 0.18s !important;
}
.rm_contact_icons a:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15) !important;
}
.rm_contact_icons svg {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: block !important;
}
.rm_contact .to_form_btn,
.rm_contact .btn.blue {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: var(--blue) !important;
  color: #fff !important;
  border: 1px solid var(--blue) !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 6px 18px rgba(195, 150, 60, 0.2) !important;
  transition: all 0.18s ease !important;
  margin-top: 20px !important;
  text-decoration: none !important;
}
.rm_contact .to_form_btn:hover,
.rm_contact .btn.blue:hover {
  background-color: var(--blue-d) !important;
  border-color: var(--blue-d) !important;
  box-shadow: 0 8px 22px rgba(195, 150, 60, 0.3) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

.rm_contact.green {
  /* было: градиент от тёмно-серого (--navy-bg) к золоту — читалось как тёмная плашка.
     Стало: золото целиком + мягкий блик сверху-слева, отсюда золотистый отлив. */
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(135deg,#b98d3f 0%,#a87c2e 45%,#8a6526 100%) !important;
  border: none !important;
  box-shadow: 0 16px 40px rgba(158,116,40,0.28) !important;
}
/* лёгкая тень держит контраст белого текста на светлой части градиента */
.rm_contact.green .p,
.rm_contact.green .p21 { text-shadow: 0 1px 2px rgba(0,0,0,.20) !important; }
.rm_contact.green .p { color: #fff !important; }
.rm_contact.green .p21 { color: #fff !important; }
.rm_contact.green .p3, .rm_contact.green .p5 { color: #fff !important; opacity: 0.92 !important; }
.rm_contact.green strong { color: rgba(255,255,255,0.72) !important; }
.rm_contact.green .p4 a {
  color: #fff !important;
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
}
.rm_contact.green .p4 a:hover {
  background: rgba(255,255,255,0.24) !important;
}
.rm_contact.green .to_form_btn,
.rm_contact.green .btn.blue {
  background: #fff !important;
  color: var(--blue) !important;
  border-color: #fff !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.16) !important;
}
.rm_contact.green .to_form_btn:hover,
.rm_contact.green .btn.blue:hover {
  background: #fff !important;
  color: var(--blue-d) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.24) !important;
}
@media(max-width:600px){
  .rm_contact { padding: 26px 20px !important; }
}

/* ====== Нижняя фикс-панель мессенджеров (моб.) ====== */
.footer_fixed_contacts_in a{ flex:1 1 0!important; width:auto!important; display:flex; align-items:center; justify-content:center; gap:7px; font-family:'Manrope',sans-serif; font-weight:700; font-size:13.5px; line-height:1; }
.footer_fixed_contacts_in a svg{ width:18px!important; height:18px!important; margin:0!important; flex:none; }
.footer_fixed_contacts_in a.tg{ background-color:#29a9eb; }
.footer_fixed_contacts_in a.bid{ background-color:var(--navy-bg); }
.footer_fixed_contacts_in a.max{ background-color:#6036ea; }
.footer_fixed_contacts_in a.wa{ background-color:#01c24a; }


/* ==========================================================================
   Antigravity Custom Theme Edits
   ========================================================================== */

/* 1. Shifting text container on hero-partners slide to the right */
@media (min-width: 901px) {
  .swiper_main .slide_in {
    max-width: 1420px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .swiper_main .slide-hero-partners .slide_content {
    margin-left: auto !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

/* 2. Mobile Header Contacts (centered 3 icons - Phone, Telegram, MAX) */
@media (max-width: 900px) {
  .header .right .contacts_col {
    align-items: center !important;
    width: 100% !important;
  }
  .header .right .tel {
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  .header .right .tel a[href^="tel"] {
    display: inline-flex !important;
    padding: 0 !important;
    grid-template-columns: none !important;
  }
  .header .right .tel a[href^="tel"] > svg {
    grid-row: auto !important;
    width: 19px !important;
    height: 19px !important;
  }
  .hdr_phone_num, .hdr_phone_hours {
    display: none !important;
  }
  .header .right .mail {
    justify-content: center !important;
    width: 100% !important;
  }
}

/* 3. Gift Guide heading dark blue color */
.all-articles .category-block h2 {
  color: var(--navy) !important;
}

/* 4. Product Photo Swiper Slider Styles */
.rpm_product_in .l {
	min-width: 0 !important;
}
.product-slider {
	margin-bottom: 12px;
	width: 100% !important;
	max-width: 100% !important;
}
.product-thumb-slider {
	width: 100% !important;
	max-width: 100% !important;
}
.product-slider__slide {
	text-align: center;
}
.product-thumb-slider__slide {
	opacity: .6;
	cursor: pointer;
}
.product-slider__slide img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	max-width: 100% !important;
	height: auto !important;
}
.product-thumb-slider__slide img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	max-width: 100% !important;
	height: auto !important;
}
.product-thumb-slider__slide.swiper-slide-thumb-active {
	opacity: 1;
}
.slider-btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	position: absolute;
	width: 100%;
	top: calc(50% - 14px);
	left: 0;
	z-index: 11;
}
@media (min-width:576px) {
	.slider-btn {
		top: calc(50% - 18px);
	}
}
.slider-btn__svg {
	width: 27px;
	height: 27px;
	fill: var(--blue) !important;
}
.slider-btn__item {
	cursor: pointer;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	position: absolute;
	z-index: 10;
}
.slider-btn__item_next {
	right: 0;
}
.slider-btn__item_prev {
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
@media (min-width:576px) {
	.slider-btn__svg {
		width: 37px;
		height: 37px;
	}
}
.product-slider-block {
	position: relative;
}

/* 5. Mobile Sub-Header: hide catalog icon, show only text label */
@media (max-width: 760px) {
  .sub_header .catalog > .a {
    padding: 11px 16px !important;
  }
  .sub_header .catalog > .a span.h {
    display: inline-block !important;
    margin: 0 !important;
  }
  .sub_header .catalog > .a svg {
    display: none !important;
  }
}

/* 6. Mobile Header: remove contacts, left-align logo, and position phone icon next to menu */
@media (max-width: 767px) {
  body {
    padding-bottom: 60px !important;
  }
  .header .in {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 10px !important;
    position: relative !important;
    min-height: 60px !important;
  }
  .header .logo {
    margin: 0 !important;
    text-align: left !important;
    width: 180px !important;
  }
  .header .mid {
    display: none !important;
  }
  .header .right {
    margin: 0 !important;
    position: static !important;
  }
  .header .right .contacts_col {
    display: block !important;
    width: auto !important;
  }
  .header .right .mail {
    display: none !important;
  }
  .header .right .tel {
    margin: 0 !important;
    display: block !important;
    width: auto !important;
  }
  .header .right .tel a:not([href^="tel"]) {
    display: none !important;
  }
  .header .right .tel a[href^="tel"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 54px !important;
    top: calc(50% - 15px) !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header .right .tel a[href^="tel"] svg {
    width: 22px !important;
    height: 22px !important;
    fill: var(--blue) !important;
  }
  .header .fixed_menu_btn {
    display: block !important;
    position: absolute !important;
    right: 10px !important;
    top: calc(50% - 21px) !important;
    margin: 0 !important;
  }
  .header .fixed_menu_btn svg {
    fill: var(--blue) !important;
  }
  .header .fixed_menu_btn:after {
    color: var(--blue) !important;
  }
}


/* ---------- Logo SVG gold color overrides ---------- */
.logo_mark svg rect:nth-child(1),
.logo_mark svg circle {
  fill: var(--blue) !important;
}
.logo_mark svg rect:nth-child(2),
.logo_mark svg path {
  fill: var(--blue-d) !important;
}
.logo_mark svg rect:nth-child(3) {
  fill: var(--bg) !important;
}

/* ---------- Overrides for remaining blue accents to gold ---------- */
.rpm_btn.green,
.rpm_btn.pink,
.rpm_btn.blue {
  background: var(--gold-grad) !important;
  border-color: var(--blue-d) !important;
  color: #fff !important;
  transition: all 0.18s ease-in-out !important;
}
.rpm_btn.green:hover,
.rpm_btn.pink:hover,
.rpm_btn.blue:hover {
  background: var(--gold-grad-hover) !important;
  border-color: var(--blue-d) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(195, 150, 60, 0.35) !important;
}
.rpm_btn.green.dis,
.rpm_btn.pink.dis,
.rpm_btn.blue.dis {
  background: var(--muted) !important;
  border-color: var(--muted) !important;
  color: #fff !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.popular_cats a {
  background: var(--gold-grad) !important;
  border: none !important;
  color: #fff !important;
  transition: all 0.18s ease-in-out !important;
}
.popular_cats a:hover {
  background: var(--gold-grad-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 150, 60, 0.25) !important;
}

.rpm_product_in .r .meta .prints .item {
  border: 1px solid var(--blue) !important;
  color: var(--blue) !important;
}
.rpm_product_in .r .meta .prints .item:hover {
  background-color: transparent !important;
  color: var(--blue) !important;
}

/* ---------- Catalog hover override ---------- */
.rpm_main_catalog .item a.link:hover,
.rpm_main_catalog .item a.main_cat:hover .link {
  background: var(--gold-grad) !important;
  color: #fff !important;
}

/* ---------- Footer Form Accent Borders ---------- */
.footer_form input[type=text],
.footer_form input[type=tel],
.footer_form input[type=email] {
  border-left: 3px solid var(--blue) !important;
}
.footer_form_left textarea {
  border-left: 3px solid var(--blue-d) !important;
}
.footer_form_left_img {
  background-image: url(images/footer_form_bg_gold.png) !important;
}
.footer_form .btn.green,
.footer_form .btn.blue,
.footer_form .btn {
  background: var(--gold-grad) !important;
  border: none !important;
  color: #fff !important;
  transition: all 0.18s ease-in-out !important;
}
.footer_form .btn.green:hover,
.footer_form .btn.blue:hover,
.footer_form .btn:hover {
  background: var(--gold-grad-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(195, 150, 60, 0.35) !important;
  color: #fff !important;
}

/* ---------- City selector styling ---------- */
#regionchoose {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
#regionchoose label {
  opacity: .75 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
}
.select_town {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 2px 4px !important;
  font-family: 'Manrope', sans-serif !important;
  transition: .15s !important;
}
.header_city select.select_town {
  color: var(--blue) !important;
  border-bottom: 1.5px dashed var(--blue) !important;
}
.header_city select.select_town:hover {
  color: var(--blue-d) !important;
  border-bottom-color: var(--blue-d) !important;
}
.footer_region select.select_town {
  color: #fff !important;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.4) !important;
}
.footer_region select.select_town:hover {
  color: var(--blue) !important;
  border-bottom-color: var(--blue) !important;
}
.header .header_city:before,
.footer_in .city:before {
  display: none !important;
}


@media (min-width: 1024px) {
  .header_nav .menu {
    gap: 12px !important;
  }
  .header_nav .menu>li>a {
    font-size: 14px !important;
  }
}

