/* Ростов Букет — маркетплейс-стиль (override). Откат: убрать подключение rb-market.css из глобального блока AHEADER */
:root{
  --rb-accent:#C81E3A; --rb-deep:#A8172F; --rb-soft:#FDECEF; --rb-soft2:#FFF6F7;
  --rb-ink:#1F1F23; --rb-mute:#6B6B76; --rb-line:#ECE8E9; --rb-bg:#FAF8F8; --rb-ok:#1E9E57;
  --rb-radius:16px; --rb-shadow:0 6px 22px rgba(31,31,35,.08);
}
body{font-family:'Onest','Montserrat',Arial,sans-serif;color:var(--rb-ink);background:var(--rb-bg);}
a{transition:color .15s}

/* ===== Шапка ===== */
#header .header-top{background:#fff;border-bottom:1px solid var(--rb-line);font-size:13px}
#header .header-top a{color:var(--rb-ink)}
#header .header-top a:hover{color:var(--rb-accent)}
#header .header-middle{background:#fff}
#header .logo,#header .logo-fix-text{font-weight:800;letter-spacing:.5px;color:var(--rb-ink)}
#header .logo span,#header .logo-fix-text span{color:var(--rb-accent)}
#header .header-fix{background:#fff;box-shadow:0 2px 14px rgba(31,31,35,.06)}
#header .header-bottom{background:#fff}
#header .s-form{border:2px solid var(--rb-accent);border-radius:14px;overflow:hidden;background:#fff}
#header .s-form .s-text{border:0;background:transparent;font-family:inherit;font-size:15px;box-shadow:none}
#header .s-form .s-button{background:var(--rb-accent);color:#fff;border:0;border-radius:0}
#header .s-form .s-button:hover{background:var(--rb-deep)}
#header .shpUtmplMenu-button{background:var(--rb-accent);color:#fff;border-radius:12px;font-weight:600}
#header .shpUtmplMenu-button:hover{background:var(--rb-deep);color:#fff}
#header .s-contact-btn,#header .top-left-contacts-btn{font-weight:600}
#header .s-contact-gInfo-tell{color:var(--rb-accent)}

/* ===== Главная: блоки ===== */
.sec-1{max-width:1170px}
.slider__wrapper{border-radius:var(--rb-radius)!important;box-shadow:var(--rb-shadow)}
.slider__item_bgtext{border-radius:12px}
.utmplslider_ac_title{font-weight:700}
.utmplslider_ac_item{border-radius:var(--rb-radius);border-color:var(--rb-line);background:#fff;box-shadow:none}
.utmplslider_ac_item:hover{box-shadow:var(--rb-shadow)}
.utmplslider_ac_item_img,.utmplslider_ac_item_img img{border-radius:var(--rb-radius) 0 0 var(--rb-radius)}
.utmplslider_ac_item_info_price_current{font-weight:700}
.red_price,.red{color:var(--rb-accent)}
.utmplslider_ac_control,.swiper-button-prev-n,.swiper-button-next-n,.swiper-button-prev-n-blog,.swiper-button-next-n-blog{color:var(--rb-accent);border-radius:50%}
.utmplslider_ac_control::before{color:var(--rb-accent)}

.sec-2-h1{font-weight:800!important;letter-spacing:-.3px}
.sec-2-title h2{font-size:18px;font-weight:600;color:var(--rb-mute)}
.catalog_gl_tag{background:#fff;color:var(--rb-ink);border:1px solid var(--rb-line);border-radius:999px;padding:8px 16px;font-size:15px;font-weight:500;margin:5px 4px 5px 0}
.catalog_gl_tag:hover{background:var(--rb-soft);border-color:var(--rb-accent);color:var(--rb-accent)}

/* Плитки категорий (добавлены в шаблон главной) */
.rb-cats{max-width:1150px;margin:22px auto 8px;padding:0 5px}
.rb-cats__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.rb-cat{display:flex;flex-direction:column;justify-content:flex-end;min-height:104px;padding:14px 16px;border-radius:var(--rb-radius);background:linear-gradient(145deg,var(--rb-soft),#fff);border:1px solid var(--rb-line);color:var(--rb-ink);font-weight:700;font-size:16px;line-height:1.2;text-decoration:none;position:relative;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}
.rb-cat small{display:block;margin-top:4px;font-weight:400;font-size:12px;color:var(--rb-mute)}
.rb-cat::after{content:"";position:absolute;right:-18px;top:-18px;width:70px;height:70px;border-radius:50%;background:var(--rb-accent);opacity:.1}
.rb-cat:hover{transform:translateY(-3px);box-shadow:var(--rb-shadow);border-color:var(--rb-accent);color:var(--rb-accent)}

/* Полоса преимуществ */
.rb-trust{max-width:1150px;margin:14px auto 6px;padding:0 5px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.rb-trust div{background:#fff;border:1px solid var(--rb-line);border-radius:var(--rb-radius);padding:14px 16px;font-size:14px;color:var(--rb-mute);line-height:1.35}
.rb-trust b{display:block;color:var(--rb-ink);font-size:16px;margin-bottom:2px}

h3.title,h2.title{text-transform:none!important;font-weight:800!important;font-size:26px!important;letter-spacing:-.3px}
.a-btn-all,.rev_button{background:var(--rb-accent)!important;border:0!important;border-radius:12px!important;font-family:inherit!important;font-weight:600!important;color:#fff!important}
.a-btn-all:hover,.rev_button:hover{background:var(--rb-deep)!important}

/* ===== Карточка товара ===== */
.g-body{border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;background:#fff;overflow:hidden}
.s_border{border-radius:var(--rb-radius)!important}
.g-body:hover .s_border{box-shadow:var(--rb-shadow)!important}
.card_imgDiv,.card_imgDiv img{border-radius:var(--rb-radius) var(--rb-radius) 0 0}
.card_title,.g-name{font-size:15px;font-weight:500;color:var(--rb-ink)}
.card_price{font-weight:800;color:var(--rb-ink)}
.card_price s{color:#B5B0B2;font-weight:400}
.btn-card-buy,.g-to-basket{background:var(--rb-accent)!important;border-radius:12px!important;font-family:inherit!important;font-size:15px!important;font-weight:600;text-transform:none!important}
.btn-card-buy:hover,.g-to-basket:hover{background:var(--rb-deep)!important}
.btn-card-onclisk-buy{background:var(--rb-soft)!important;color:var(--rb-accent)!important;border-radius:12px!important;font-family:inherit!important;text-transform:none!important;font-weight:600}
.btn-card-onclisk-buy:hover{background:var(--rb-accent)!important;color:#fff!important}
.g-buttons .wish,.g-buttons .compare-widget{box-shadow:0 2px 8px rgba(0,0,0,.12)}
.g-buttons .wish.wdel{color:var(--rb-accent)}
.i-new{background:var(--rb-accent)!important}

/* ===== Отзывы ===== */
.sec-reviews-title,.sec-blog-title{font-weight:800}
.sec-reviews-statistics-left-div span,.sec-reviews-statistics-left-div-stars{color:var(--rb-accent)}
.tab-reviews-item,.sec-blog-slide{border-radius:var(--rb-radius);border-color:var(--rb-line);background:#fff}
.tab-reviews-item-gBreviews-date{color:var(--rb-accent)}
.accordion-tabs li.tab-head-cont a.is-active{color:var(--rb-accent);border-bottom-color:var(--rb-accent)!important}

/* ===== SEO-текст и «Частые вопросы» — текст сохранён, меняется только оформление ===== */
.rb-seo{background:#fff!important;border:1px solid var(--rb-line);border-radius:var(--rb-radius)!important;font-family:inherit!important}
.rb-seo h2{color:var(--rb-ink)!important;border-bottom:3px solid var(--rb-accent)!important;font-weight:800;letter-spacing:-.3px}
.rb-seo h3,.rb-seo strong,.rb-seo summary{color:var(--rb-deep)!important}
.rb-seo .rb-card{border-radius:var(--rb-radius);border-color:var(--rb-line);box-shadow:none;background:var(--rb-soft2)}
.rb-seo .rb-districts li{background:var(--rb-soft)!important;color:var(--rb-deep)!important}
.rb-seo .rb-note{border-left-color:var(--rb-accent)!important;background:var(--rb-soft2)!important}
.rb-seo details{border-radius:12px!important;border-color:var(--rb-line)!important;background:#fff}
.rb-seo details[open]{border-color:var(--rb-accent)!important;background:var(--rb-soft2)}
.rb-seo summary{font-weight:600}

/* ===== Адаптив ===== */
@media (max-width:1000px){.rb-cats__grid{grid-template-columns:repeat(3,1fr)}.rb-trust{grid-template-columns:repeat(2,1fr)}}
@media (max-width:567px){.rb-cats__grid{grid-template-columns:repeat(2,1fr)}.rb-cat{min-height:84px;font-size:15px}.rb-trust{grid-template-columns:1fr 1fr}h3.title,h2.title{font-size:21px!important}}
