/* RAY TASK 20260714 — final layer for the requested header, information pages,
   catalog filters and stable mobile product cards. */
:root{--ray-wine:#8f0d46;--ray-wine-dark:#5b1430;--ray-pink:#fff4f7;--ray-line:#ead9df;--ray-text:#30262a;--ray-muted:#75686d;--ray-ok:#2c9b62;--ray-danger:#d6535f}
.ray-task-header{position:relative;z-index:120;background:#fbf8f7;border-top:3px solid #292526;box-shadow:0 8px 24px rgba(55,28,38,.06)}
.ray-task-topbar{display:grid!important;grid-template-columns:86px minmax(220px,1.05fr) minmax(180px,.82fr) minmax(235px,1fr) minmax(220px,.9fr) auto!important;gap:16px!important;align-items:center!important;min-height:116px;padding-top:18px!important;padding-bottom:18px!important}
.ray-task-header .rm-logo{width:72px;height:72px;display:flex;align-items:center;justify-content:center}
.ray-task-header .rm-logo img{max-width:72px;max-height:72px;object-fit:contain}
.ray-header-shops{font-size:12px;font-weight:700;line-height:1.45;padding-right:14px;border-right:1px solid var(--ray-line)}
.ray-header-shop-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:3px 0}
.ray-header-shop-line a{color:var(--ray-text);text-decoration:none}.ray-header-shop-line a:hover{color:var(--ray-wine)}
.ray-city-panel{padding-left:0!important;border-right:1px solid var(--ray-line);padding-right:16px!important;position:relative}
.ray-city-panel .rm-label,.ray-phone-panel .rm-label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ray-muted);font-weight:800}
.ray-city-panel .value{appearance:none;border:0;background:transparent;padding:5px 0;font-size:18px;font-weight:800;color:var(--ray-text);display:flex;align-items:center;gap:7px;cursor:pointer;width:100%;text-align:left}
.ray-city-panel .values{display:none;position:absolute;top:58px;left:-12px;min-width:245px;padding:10px;background:#fff;border:1px solid var(--ray-line);border-radius:16px;box-shadow:0 18px 40px rgba(55,28,38,.16);z-index:220}
.ray-city-panel .is-open .values,.ray-city-panel.rm-city-select.is-open .values,.rm-city-select.is-open .values{display:grid}
.ray-city-panel .values a{padding:10px 12px;border-radius:10px;color:var(--ray-text);font-weight:700;text-decoration:none}.ray-city-panel .values a:hover{background:var(--ray-pink);color:var(--ray-wine)}
.ray-phone-panel{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px}
.ray-hours-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ray-work-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800}.ray-work-status i{width:8px;height:8px;border-radius:50%;background:#aaa;box-shadow:0 0 0 4px rgba(0,0,0,.04)}.ray-work-status.is-open{color:var(--ray-ok)}.ray-work-status.is-open i{background:var(--ray-ok)}.ray-work-status.is-closed{color:var(--ray-danger)}.ray-work-status.is-closed i{background:var(--ray-danger)}
.ray-phone-panel .rm-phone{font-size:22px;font-weight:800;color:var(--ray-text);text-decoration:none;line-height:1.2}
.ray-social-links{display:flex;gap:6px;margin-top:4px}.ray-social{min-width:34px;height:28px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;color:#fff!important;font-size:10px;font-weight:900;text-decoration:none!important}.ray-social-wa{background:#1fbf64}.ray-social-tg{background:#229ed9}.ray-social-max{background:#6d4aff}
.ray-trust-panel{display:flex!important;flex-direction:column;gap:9px!important}.ray-trust-panel a{display:flex;align-items:center;gap:7px;color:var(--ray-text)!important;font-weight:700;text-decoration:none!important;font-size:13px}.ray-trust-panel i{color:#ff7268}
.ray-header-actions{display:flex!important;align-items:center;gap:9px!important}.ray-mobile-phone-open{display:none!important}
.ray-task-header .rm-nav-row{border-top:1px solid rgba(143,13,70,.08)}.ray-task-header .rm-nav{justify-content:flex-start!important;gap:42px!important}.ray-task-header .rm-nav>a,.ray-task-header .rm-nav-button{font-weight:800!important}
.ray-mobile-contact-panel{display:none}
.ray-task-toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,30px);opacity:0;z-index:99999;background:#2f2529;color:#fff;padding:12px 18px;border-radius:999px;font:700 13px/1.3 Manrope,Arial,sans-serif;box-shadow:0 16px 40px rgba(0,0,0,.24);transition:.22s;pointer-events:none}.ray-task-toast.is-visible{opacity:1;transform:translate(-50%,0)}

/* Home quick categories */
.ray-quick-categories{padding:34px 0 18px}.ray-section-heading{text-align:center;margin:0 auto 22px;max-width:720px}.ray-section-heading h2{margin:0 0 8px;font-family:'Playfair Display',serif;font-size:34px;color:var(--ray-text)}.ray-section-heading p{margin:0;color:var(--ray-muted)}
.ray-quick-categories-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ray-quick-categories-grid a,.ray-quick-price-row a{display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 15px;text-align:center;border:1px solid var(--ray-line);border-radius:18px;background:#fff;color:var(--ray-text);font-weight:800;text-decoration:none;box-shadow:0 8px 22px rgba(77,29,47,.05);transition:.18s}.ray-quick-categories-grid a:hover,.ray-quick-price-row a:hover{transform:translateY(-2px);border-color:#dba9bb;color:var(--ray-wine);box-shadow:0 14px 26px rgba(143,13,70,.11)}
.ray-quick-price-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.ray-quick-price-row a{min-height:46px;background:var(--ray-pink);border-color:#efd6df}

/* Quality reviews */
.ray-quality-page,.ray-delivery-page{padding:42px 0 70px;background:linear-gradient(180deg,#fff 0,#fff9fb 100%)}
.ray-quality-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:36px;align-items:center;background:#fff;border:1px solid var(--ray-line);border-radius:28px;padding:38px;box-shadow:0 18px 50px rgba(80,28,48,.08)}
.ray-eyebrow{display:block;color:var(--ray-wine);text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:900;margin-bottom:10px}.ray-quality-hero h1,.ray-delivery-hero h1{font-family:'Playfair Display',serif;font-size:46px;margin:0 0 14px;color:var(--ray-text)}.ray-quality-hero p,.ray-delivery-hero p{font-size:17px;line-height:1.65;color:var(--ray-muted);margin:0}
.ray-yandex-rating{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:170px;border-radius:22px;background:linear-gradient(145deg,#fff2cc,#fff);border:1px solid #f2d886;text-decoration:none!important;color:var(--ray-text)!important}.ray-yandex-rating strong{font-size:38px;color:#ef9f00;margin:8px 0}.ray-yandex-rating span{font-weight:800}.ray-yandex-rating small{color:var(--ray-muted)}
.ray-quality-guarantee,.ray-review-card,.ray-quality-contact-note{margin-top:24px;background:#fff;border:1px solid var(--ray-line);border-radius:26px;padding:30px}.ray-quality-guarantee h2,.ray-review-card h2{font-family:'Playfair Display',serif;font-size:30px;margin:0 0 12px}.ray-quality-guarantee p,.ray-quality-contact-note p{color:var(--ray-muted);line-height:1.65}.ray-quality-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.ray-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:14px;border:1px solid transparent;font-weight:800;text-decoration:none!important;cursor:pointer}.ray-btn-primary{background:var(--ray-wine);color:#fff!important}.ray-btn-light{background:var(--ray-pink);border-color:var(--ray-line);color:var(--ray-wine)!important}
.ray-review-card .ray-section-heading{text-align:left;margin-left:0}.ray-honeypot{position:absolute!important;left:-9999px!important}.ray-rating-fieldset{border:0;padding:0;margin:0 0 20px}.ray-rating-fieldset legend{font-weight:800;margin-bottom:10px}.ray-rating-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;max-width:560px}.ray-rating-options input{position:absolute;opacity:0}.ray-rating-options span{height:46px;border:1px solid var(--ray-line);border-radius:14px;display:flex;align-items:center;justify-content:center;gap:5px;background:#fff;cursor:pointer;font-weight:800}.ray-rating-options input:checked+span{border-color:#efae23;background:#fff8df;color:#d98a00;box-shadow:0 0 0 3px rgba(239,174,35,.14)}
.ray-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ray-field{display:block;margin-bottom:16px}.ray-field>span{display:block;font-size:13px;font-weight:800;margin-bottom:7px}.ray-field input,.ray-field textarea{width:100%;border:1px solid var(--ray-line);border-radius:14px;padding:13px 15px;background:#fff;color:var(--ray-text);outline:none;transition:.18s}.ray-field input:focus,.ray-field textarea:focus{border-color:#c96d91;box-shadow:0 0 0 4px rgba(143,13,70,.08)}.ray-review-submit-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.ray-form-result{font-weight:700}.ray-form-result.is-success{color:var(--ray-ok)}.ray-form-result.is-error{color:var(--ray-danger)}

/* Delivery */
.ray-delivery-hero{text-align:center;max-width:850px;margin:0 auto 28px}.ray-delivery-rates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ray-delivery-rate-card{background:#fff;border:1px solid var(--ray-line);border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:9px;box-shadow:0 12px 32px rgba(75,27,45,.06)}.ray-delivery-rate-card span{color:var(--ray-muted);font-weight:700}.ray-delivery-rate-card strong{font-size:27px;color:var(--ray-wine)}.ray-delivery-hours-card strong{font-size:19px;color:var(--ray-text)}
.ray-delivery-conditions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:30px;align-items:center;margin-top:24px;padding:32px;background:#fff;border:1px solid var(--ray-line);border-radius:26px}.ray-delivery-conditions h2{font-family:'Playfair Display',serif;font-size:31px}.ray-delivery-conditions p{line-height:1.65;color:var(--ray-muted)}.ray-delivery-conditions img{width:100%;height:280px;object-fit:cover;border-radius:20px}
.ray-delivery-suburbs,.ray-delivery-map-section,.ray-delivery-costume{margin-top:28px;padding:30px;background:#fff;border:1px solid var(--ray-line);border-radius:26px}.ray-suburbs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px}.ray-suburb-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;padding:11px 12px;border-radius:12px;background:#fff8fa}.ray-suburb-row i{color:var(--ray-wine)}.ray-suburb-row b{white-space:nowrap}.ray-delivery-map-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px}.ray-delivery-shop-list{display:grid;gap:10px}.ray-delivery-shop-list article{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--ray-line);border-radius:16px}.ray-delivery-shop-list span{color:var(--ray-muted)}.ray-delivery-shop-list a{font-weight:800;color:var(--ray-wine)}.ray-delivery-map{min-height:440px;border-radius:20px;overflow:hidden;background:#f2edef}.ray-delivery-costume .ray-costume-track{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ray-delivery-costume .ray-costume-card{margin:0}.ray-delivery-costume .ray-costume-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px}

/* Online payment */
.ray-online-payment-page{padding:30px 0 60px}.ray-online-payment-page .payform-tbank{background:#fff;border:1px solid var(--ray-line);border-radius:24px;padding:22px;box-shadow:0 16px 44px rgba(70,24,42,.08)}.ray-online-payment-page .payform-tbank-row{border-radius:12px!important;min-height:45px!important;background:#fff!important}.ray-online-payment-page .payform-tbank-btn{background:var(--ray-wine)!important;border-color:var(--ray-wine)!important}

/* Full catalog filters */
.ray-category-toolbar{display:flex;align-items:end;gap:12px;margin:18px 0;padding:14px;border:1px solid var(--ray-line);border-radius:18px;background:#fff}.ray-filter-open{display:none;min-height:44px;border:0;border-radius:13px;background:var(--ray-wine);color:#fff;padding:0 17px;font-weight:800}.ray-filter-open em{font-style:normal;background:#fff;color:var(--ray-wine);border-radius:999px;padding:2px 7px;margin-left:6px}.ray-category-count{display:flex;align-items:baseline;gap:7px}.ray-category-count strong{font-size:28px;color:var(--ray-wine)}.ray-category-count span{color:var(--ray-muted)}
.ray-category-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.ray-filter-panel{position:sticky;top:20px;border:1px solid var(--ray-line);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 12px 32px rgba(70,25,42,.06)}.ray-filter-panel-head{display:flex;justify-content:space-between;gap:10px;padding:20px;border-bottom:1px solid var(--ray-line)}.ray-filter-panel-head>div{display:flex;flex-direction:column}.ray-filter-panel-head strong{font-size:20px}.ray-filter-panel-head span{font-size:12px;color:var(--ray-muted)}.ray-filter-close{display:none;border:0;background:transparent;font-size:28px}.ray-filter-group{border-bottom:1px solid #f1e7ea}.ray-filter-group-title{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:#fff;padding:16px 18px;font-weight:800;text-align:left}.ray-filter-group-title i{transition:.18s}.ray-filter-group:not(.is-open) .ray-filter-options{display:none}.ray-filter-group.is-open .ray-filter-group-title i{transform:rotate(180deg)}.ray-filter-options{display:grid;gap:8px;padding:0 16px 16px}.ray-filter-options-scroll{max-height:280px;overflow:auto;padding-right:10px}.ray-filter-options label{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:600;color:var(--ray-text)}.ray-filter-options input{appearance:none;width:20px;height:20px;border:1px solid #d8bdc7;border-radius:6px;display:grid;place-content:center;background:#fff}.ray-filter-options input:checked{background:var(--ray-wine);border-color:var(--ray-wine)}.ray-filter-options input:checked:after{content:'✓';color:#fff;font-size:13px;font-weight:900}.ray-filter-actions{display:grid;gap:9px;padding:16px}.ray-filter-reset{text-align:center;color:var(--ray-muted);font-weight:700}.ray-filter-submit{border:0;background:var(--ray-wine);color:#fff;border-radius:14px;min-height:48px;font-weight:800}.ray-category-products{min-width:0}.ray-filter-backdrop{display:none}
.ray-filtered-category .rm-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ray-filtered-category .rm-product-card{min-width:0}.ray-filtered-category .rm-product-card .product-thumb{height:100%;display:flex;flex-direction:column;position:relative}.ray-filtered-category .rm-product-image img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.ray-filtered-category .rm-product-info{flex:1;display:flex;flex-direction:column}.ray-card-wishlist{position:absolute!important;z-index:5;right:12px;top:12px;width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.9)!important;color:var(--ray-wine)!important;display:grid!important;place-items:center!important;font-size:19px!important;box-shadow:0 8px 20px rgba(70,20,40,.13)!important}.ray-filtered-category .rm-cart-btn{margin-top:auto}
body.ray-filter-opened{overflow:hidden}

/* Stable mobile “Все букеты” cards — final override over all old layers */
@media(max-width:767px){
  .ray-task-header{border-top:0}.ray-task-topbar{grid-template-columns:62px minmax(0,1fr) 42px 42px 42px!important;gap:8px!important;min-height:94px!important;padding:12px 15px!important;border-radius:0 0 28px 28px!important;background:#fff!important}
  .ray-task-header .rm-logo{width:56px;height:56px}.ray-task-header .rm-logo img{max-width:52px;max-height:52px}.ray-header-shops,.ray-phone-panel,.ray-trust-panel,.ray-task-header .rm-nav-row,.ray-task-header .rm-search-open,.ray-task-header .rm-cart-wrap{display:none!important}
  .ray-city-panel{grid-column:2!important;padding:0!important;border:0!important}.ray-city-panel .rm-label{display:none}.ray-city-panel .value{height:54px;padding:0 16px!important;justify-content:center;border:1px solid #ead3dc!important;border-radius:18px!important;background:#fff7fa!important;color:var(--ray-wine-dark)!important;font-size:18px!important;white-space:nowrap;overflow:hidden}.ray-city-panel .value span{overflow:hidden;text-overflow:ellipsis}.ray-city-panel .values{top:62px;left:0;right:0;min-width:0}
  .ray-header-actions{display:contents!important}.ray-header-wishlist{grid-column:3!important;width:42px!important;height:42px!important}.ray-header-wishlist>span{display:block!important}.ray-mobile-phone-open{display:grid!important;grid-column:4!important;width:42px!important;height:42px!important}.ray-task-header .rm-burger{display:flex!important;grid-column:5!important;width:42px!important;height:42px!important}
  .ray-mobile-contact-panel{display:block;position:fixed;z-index:500;left:12px;right:12px;top:92px;max-height:calc(100vh - 112px);overflow:auto;background:#fff;border:1px solid var(--ray-line);border-radius:22px;padding:20px;box-shadow:0 24px 70px rgba(35,16,24,.25);opacity:0;transform:translateY(-10px);pointer-events:none;transition:.2s}.ray-mobile-contact-panel.is-open{opacity:1;transform:none;pointer-events:auto}.ray-mobile-contact-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:28px}.ray-mobile-contact-panel>strong{font-size:20px}.ray-mobile-contact-hours{margin:4px 0 14px;color:var(--ray-muted)}.ray-mobile-contact-shop{padding:13px 0;border-top:1px solid var(--ray-line);display:grid;gap:7px}.ray-mobile-contact-shop>a{font-weight:800;color:var(--ray-text)}.ray-mobile-social-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ray-mobile-social-row a{text-align:center;padding:9px 4px;border-radius:10px;background:var(--ray-pink);font-size:12px;font-weight:800;color:var(--ray-wine)}
  .rm-hero{margin-top:0!important}.rm-hero-features{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.rm-hero-features span{font-size:10px!important;padding:8px 5px!important;text-align:center!important}
  .ray-quick-categories{padding:22px 0 8px}.ray-section-heading h2{font-size:27px}.ray-quick-categories-grid{display:flex;overflow-x:auto;gap:10px;padding:2px 2px 12px;scroll-snap-type:x mandatory}.ray-quick-categories-grid a{min-width:142px;min-height:54px;scroll-snap-align:start}.ray-quick-price-row{display:flex;overflow-x:auto}.ray-quick-price-row a{min-width:122px}
  .ray-quality-page,.ray-delivery-page{padding:24px 0 50px}.ray-quality-hero{grid-template-columns:1fr;padding:23px}.ray-quality-hero h1,.ray-delivery-hero h1{font-size:34px}.ray-yandex-rating{min-height:128px}.ray-quality-guarantee,.ray-review-card,.ray-quality-contact-note,.ray-delivery-suburbs,.ray-delivery-map-section,.ray-delivery-costume{padding:20px;border-radius:20px}.ray-review-grid{grid-template-columns:1fr}.ray-rating-options{grid-template-columns:repeat(5,1fr)}.ray-rating-options span{font-size:12px}.ray-quality-actions .ray-btn{width:100%}
  .ray-delivery-rates{grid-template-columns:1fr}.ray-delivery-conditions{grid-template-columns:1fr;padding:22px}.ray-delivery-conditions img{height:220px}.ray-suburbs-grid{grid-template-columns:1fr}.ray-delivery-map-layout{grid-template-columns:1fr}.ray-delivery-map{min-height:360px}.ray-delivery-costume .ray-costume-track{display:flex;overflow-x:auto}.ray-delivery-costume .ray-costume-card{min-width:190px}
  .ray-online-payment-page .ray-section-heading{padding:0 14px}.ray-online-payment-page .payform-tbank{margin:0 12px!important;padding:17px!important}
  .ray-category-toolbar{position:sticky;top:0;z-index:30;align-items:center;padding:9px;margin:10px 0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.ray-filter-open{display:flex;align-items:center;gap:6px}.ray-limit-control{display:none!important}.ray-category-toolbar .rm-sort-control{flex:1}.ray-category-toolbar select{width:100%}.ray-category-layout{display:block}.ray-filter-panel{position:fixed!important;z-index:1000;left:0;right:0;bottom:0;top:auto;max-height:92vh;border-radius:24px 24px 0 0;transform:translateY(105%);transition:.24s;overflow:auto}.ray-filter-panel.is-mobile-open{transform:none}.ray-filter-panel-head{position:sticky;top:0;z-index:2;background:#fff}.ray-filter-close{display:block}.ray-filter-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--ray-line)}.ray-filter-backdrop{position:fixed;z-index:990;inset:0;background:rgba(30,15,21,.45);opacity:0;pointer-events:none;display:block;transition:.2s}.ray-filter-backdrop.is-visible{opacity:1;pointer-events:auto}
  .ray-filtered-category .rm-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.ray-filtered-category .rm-product-card{width:auto!important;margin:0!important}.ray-filtered-category .rm-product-title{font-size:14px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}.ray-filtered-category .rm-product-desc{display:none!important}.ray-card-wishlist{width:40px!important;height:40px!important;right:8px!important;top:8px!important}

  body.common-home .ray-all-bouquets-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important;width:100%!important}.common-home .ray-all-bouquets-grid>.product-layout,.common-home .ray-home-product-card{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}.common-home .ray-home-product-card .product-thumb{position:relative!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important}.common-home .ray-home-product-card .image{display:block!important;width:100%!important;aspect-ratio:1/1!important;overflow:hidden!important;position:relative!important}.common-home .ray-home-product-card .image img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;display:block!important}.common-home .ray-home-product-card .caption{display:flex!important;flex-direction:column!important;flex:1!important;padding:12px!important;min-height:142px!important}.common-home .ray-home-product-card h4,.common-home .ray-home-product-card .rm-product-title,.common-home .ray-home-product-card .caption a{font-size:15px!important;line-height:1.28!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:39px!important;margin:0 0 8px!important}.common-home .ray-home-product-card .description,.common-home .ray-home-product-card .caption>p:not(.price),.common-home .ray-home-product-card .product-description{display:none!important}.common-home .ray-home-product-card .price{margin-top:auto!important;min-height:38px!important;font-size:20px!important;font-weight:900!important}.common-home .ray-home-product-card .button-group{display:flex!important;align-items:center!important;margin-top:auto!important;padding:0 12px 12px!important}.common-home .ray-home-product-card .button-group button[onclick*="wishlist"],.common-home .ray-home-product-card .button-group button[onclick*="compare"]{display:none!important}.common-home .ray-home-product-card .button-group button:first-child{width:54px!important;height:50px!important;margin-left:auto!important;border-radius:15px!important}.common-home .ray-home-product-card .ray-card-wishlist{display:grid!important;position:absolute!important;right:8px!important;top:8px!important;width:40px!important;height:40px!important;z-index:15!important}.common-home .ray-home-product-card .ray-card-wishlist i:before{content:"\f08a"!important}.common-home .ray-home-product-card .ray-card-wishlist i+*{display:none!important}
}

@media(min-width:768px) and (max-width:1199px){.ray-task-topbar{grid-template-columns:75px 1fr 180px 220px auto!important}.ray-trust-panel{display:none!important}.ray-quick-categories-grid{grid-template-columns:repeat(3,1fr)}.ray-filtered-category .rm-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ray-suburbs-grid{grid-template-columns:repeat(2,1fr)}}


/* RAY PC HEADER/CARDS FIX 20260714
   Возврат исходной геометрии шапки без изменения остальных разделов. */
.ray-header-contact-link{color:inherit!important;text-decoration:none!important}
.ray-header-contact-link:hover{color:#ff7b6f!important}
.ray-header-social-logos{display:flex;align-items:center;gap:7px;margin-top:8px}
.ray-header-social-logos a{width:29px;height:29px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.94);box-shadow:0 5px 14px rgba(53,24,35,.12);overflow:hidden}
.ray-header-social-logos img{display:block;width:21px;height:21px;object-fit:contain}
.ray-header-social-logos a:last-child img{width:24px;height:24px;border-radius:7px}
.ray-header-hours-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:6px!important}
.rm-phone-panel .ray-work-status{font-size:10px;letter-spacing:0;text-transform:none;opacity:1}
.rm-phone-panel .ray-work-status b{font-weight:900}
.rm-city-select.is-open .values,.rm-city-select.open .values{display:block!important}

/* Старый JS-блок быстрого выбора больше не должен появляться даже из браузерного кэша. */
.ray-quick-flower-nav{display:none!important}

/* Единственная кнопка избранного — строго на фотографии справа сверху. */
.common-home .ray-home-product-card .image{position:relative!important;overflow:hidden!important}
.common-home .ray-home-product-card .image>.ray-card-wishlist{
  position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;
  width:42px!important;height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;z-index:25!important;background:rgba(255,255,255,.92)!important;
  color:#8f0d46!important;box-shadow:0 8px 20px rgba(70,20,40,.14)!important;font-size:18px!important
}
.common-home .ray-home-product-card .image>.ray-card-wishlist i{margin:0!important;line-height:1!important}

@media(max-width:767px){
  .rm-header-current-contact .ray-header-social-logos{display:none!important}
  .common-home .ray-home-product-card .image>.ray-card-wishlist{top:8px!important;right:8px!important;width:40px!important;height:40px!important}
}

/* RAY MOBILE PRECISE FIX 20260714 — only city width, quick categories and wishlist states. */
.ray-quick-flower-nav{display:none!important}

/* Wishlist: translucent button, outlined before adding, filled after adding. */
.common-home .ray-home-product-card .image>.ray-card-wishlist,
.common-home .ray-home-product-card .image>.ray-ab-wishlist,
.common-home .ray-home-product-card .image>.ray-ab-wishlist-single{
  background:rgba(255,255,255,.68)!important;
  border:1px solid rgba(143,13,70,.12)!important;
  color:#8f0d46!important;
  -webkit-backdrop-filter:blur(7px)!important;
  backdrop-filter:blur(7px)!important;
  box-shadow:0 7px 18px rgba(70,20,40,.12)!important;
}
.common-home .ray-home-product-card .image>.ray-card-wishlist:not(.is-active) i:before,
.common-home .ray-home-product-card .image>.ray-ab-wishlist:not(.is-active) i:before,
.common-home .ray-home-product-card .image>.ray-ab-wishlist-single:not(.is-active) i:before{
  content:"\f08a"!important;
}
.common-home .ray-home-product-card .image>.ray-card-wishlist.is-active i:before,
.common-home .ray-home-product-card .image>.ray-ab-wishlist.is-active i:before,
.common-home .ray-home-product-card .image>.ray-ab-wishlist-single.is-active i:before{
  content:"\f004"!important;
}

@media(max-width:767px){
  /* Actual current header classes: city gets all free space, burger remains on the right. */
  .rm-header .rm-topbar{
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr) 58px!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
  }
  .rm-header .rm-logo{grid-column:1!important;width:56px!important;min-width:56px!important;max-width:56px!important}
  .rm-header .rm-city-panel{
    grid-column:2!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    flex:1 1 auto!important;
  }
  .rm-header .rm-city-panel .rm-city-select,
  .rm-header .rm-city-panel .select_city,
  .rm-header .rm-city-panel .rm-city-select .value,
  .rm-header .rm-city-panel .select_city .value{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex:1 1 auto!important;
    box-sizing:border-box!important;
  }
  .rm-header .rm-city-panel .value{
    display:flex!important;
    justify-content:center!important;
    padding:0 14px!important;
    font-size:clamp(15px,4.6vw,19px)!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  .rm-header .rm-city-panel .value span{
    display:block!important;
    min-width:0!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
  .rm-header .rm-actions{
    grid-column:3!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:0!important;
  }
  .rm-header .rm-actions>.rm-search-open,
  .rm-header .rm-actions>.heart_link,
  .rm-header .rm-actions>.rm-cart-wrap{display:none!important}
  .rm-header .rm-actions>.rm-burger{
    display:flex!important;
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    height:54px!important;
    margin:0!important;
  }

  /* New categories use the old compact pill layout; no second legacy block. */
  .ray-quick-categories{padding:24px 0 10px!important}
  .ray-quick-categories .rm-container{padding-left:16px!important;padding-right:16px!important}
  .ray-quick-categories-grid,
  .ray-quick-price-row{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  .ray-quick-price-row{margin-top:10px!important}
  .ray-quick-categories-grid a,
  .ray-quick-price-row a{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:40px!important;
    height:40px!important;
    padding:0 16px!important;
    border-radius:999px!important;
    font-size:13px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    box-shadow:0 8px 20px rgba(77,29,47,.06)!important;
    scroll-snap-align:none!important;
  }
  .ray-quick-price-row a{background:#fff7fa!important}
}


/* RAY MOBILE FILTER/SORT FIX 20260714
   Scoped only to category pages on phones. Repairs oversized checkboxes and off-screen sorting. */
@media (max-width:767px){
  html body .ray-filtered-category,
  html body .ray-filtered-category .rm-container,
  html body .ray-filtered-category #content,
  html body .ray-filtered-category .ray-category-layout,
  html body .ray-filtered-category .ray-category-products{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Compact toolbar: filter button + sorting always stay inside the viewport. */
  html body .ray-filtered-category .ray-category-toolbar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:10px 0 14px!important;
    padding:8px!important;
    overflow:visible!important;
    box-sizing:border-box!important;
    border-radius:16px!important;
  }
  html body .ray-filtered-category .ray-filter-open{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    width:auto!important;
    min-width:102px!important;
    max-width:132px!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:0 13px!important;
    border-radius:13px!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    font-size:13px!important;
    line-height:1!important;
  }
  html body .ray-filtered-category .ray-category-toolbar .rm-sort-control:not(.ray-limit-control){
    display:flex!important;
    align-items:center!important;
    justify-content:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:0 8px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border-radius:13px!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body .ray-filtered-category .ray-category-toolbar .rm-sort-control:not(.ray-limit-control)>span{
    display:none!important;
  }
  html body .ray-filtered-category .ray-category-toolbar .rm-sort-control:not(.ray-limit-control) select,
  html body .ray-filtered-category .ray-category-toolbar select.rm-sort-select{
    display:block!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 28px 0 8px!important;
    border:0!important;
    border-radius:10px!important;
    background-color:transparent!important;
    box-shadow:none!important;
    opacity:1!important;
    color:#30262a!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:44px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html body .ray-filtered-category .ray-limit-control{
    display:none!important;
  }

  /* Filter sheet remains fully within the phone viewport. */
  html body .ray-filtered-category .ray-filter-panel{
    left:8px!important;
    right:8px!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border-radius:22px 22px 0 0!important;
    overscroll-behavior:contain!important;
  }
  html body .ray-filtered-category #ray-catalog-filter,
  html body .ray-filtered-category .ray-filter-group,
  html body .ray-filtered-category .ray-filter-options{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body .ray-filtered-category .ray-filter-panel-head{
    padding:16px 18px!important;
  }
  html body .ray-filtered-category .ray-filter-close{
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0!important;
    border-radius:12px!important;
    background:#fff4f7!important;
    color:#8f0d46!important;
    line-height:1!important;
  }
  html body .ray-filtered-category .ray-filter-group-title{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:52px!important;
    padding:14px 18px!important;
    font-size:15px!important;
    line-height:1.25!important;
    box-sizing:border-box!important;
  }
  html body .ray-filtered-category .ray-filter-options{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:0 16px 16px!important;
    overflow-x:hidden!important;
  }
  html body .ray-filtered-category .ray-filter-group:not(.is-open) .ray-filter-options{
    display:none!important;
  }
  html body .ray-filtered-category .ray-filter-options label{
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    margin:0!important;
    padding:9px 11px!important;
    border:1px solid #efe1e6!important;
    border-radius:13px!important;
    background:#fffafc!important;
    box-sizing:border-box!important;
    color:#30262a!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.3!important;
  }
  html body .ray-filtered-category .ray-filter-options label>span{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow-wrap:anywhere!important;
    box-sizing:border-box!important;
  }

  /* Override global mobile form rules that stretched checkboxes to 100%. */
  html body .ray-filtered-category #ray-catalog-filter input[type="checkbox"][data-ray-param]{
    -webkit-appearance:none!important;
    appearance:none!important;
    display:grid!important;
    place-content:center!important;
    position:relative!important;
    inset:auto!important;
    float:none!important;
    flex:0 0 20px!important;
    grid-column:1!important;
    width:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
    margin:0!important;
    padding:0!important;
    border:1.5px solid #d7b9c4!important;
    border-radius:6px!important;
    background:#fff!important;
    box-shadow:none!important;
    vertical-align:middle!important;
    box-sizing:border-box!important;
  }
  html body .ray-filtered-category #ray-catalog-filter input[type="checkbox"][data-ray-param]:checked{
    border-color:#8f0d46!important;
    background:#8f0d46!important;
  }
  html body .ray-filtered-category #ray-catalog-filter input[type="checkbox"][data-ray-param]:checked:after{
    content:"✓"!important;
    display:block!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
  }
  html body .ray-filtered-category .ray-filter-options-scroll{
    max-height:38vh!important;
    padding-right:16px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  html body .ray-filtered-category .ray-filter-actions{
    grid-template-columns:92px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    padding:12px 14px calc(12px + env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;
  }
  html body .ray-filtered-category .ray-filter-reset,
  html body .ray-filtered-category .ray-filter-submit{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  html body .ray-filtered-category .ray-filter-reset{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #ead9df!important;
    border-radius:13px!important;
    background:#fff!important;
    font-size:13px!important;
  }
  html body .ray-filtered-category .ray-filter-submit{
    min-height:46px!important;
    padding:0 10px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
}

@media (max-width:360px){
  html body .ray-filtered-category .ray-category-toolbar{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:6px!important;
    padding:6px!important;
  }
  html body .ray-filtered-category .ray-filter-open{
    min-width:96px!important;
    max-width:96px!important;
    padding:0 9px!important;
    font-size:12px!important;
  }
  html body .ray-filtered-category .ray-category-toolbar .rm-sort-control:not(.ray-limit-control) select{
    font-size:12px!important;
    padding-left:6px!important;
  }
}

/* RAY FILTER FUNCTIONAL SCROLL FIX 20260714
   Only category filters: reliable checkbox state, scrollable desktop/mobile panel,
   permanently reachable action buttons and mobile panel above the bottom menu. */
.ray-filtered-category .ray-filter-panel{
  display:flex!important;
  flex-direction:column!important;
  max-height:calc(100vh - 32px)!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
}
.ray-filtered-category .ray-filter-panel-head{
  flex:0 0 auto!important;
  position:relative!important;
  z-index:4!important;
  background:#fff!important;
}
.ray-filtered-category #ray-catalog-filter{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
}
.ray-filtered-category .ray-filter-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  -webkit-overflow-scrolling:touch!important;
}
.ray-filtered-category .ray-filter-actions{
  position:relative!important;
  z-index:8!important;
  flex:0 0 auto!important;
  background:#fff!important;
  border-top:1px solid #f0e4e8!important;
  box-shadow:0 -10px 24px rgba(70,25,42,.07)!important;
}
.ray-filtered-category .ray-filter-options label{
  position:relative!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  touch-action:manipulation!important;
}
.ray-filtered-category #ray-catalog-filter input[type="checkbox"][data-ray-param]{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-block!important;
  position:relative!important;
  flex:0 0 20px!important;
  width:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  margin:0!important;
  padding:0!important;
  border:1.5px solid #cfacb9!important;
  border-radius:6px!important;
  background-color:#fff!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:13px 13px!important;
  box-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.ray-filtered-category #ray-catalog-filter input[type="checkbox"][data-ray-param]:checked{
  border-color:#8f0d46!important;
  background-color:#8f0d46!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.2 6.5 11.4 12.9 4.8'/%3E%3C/svg%3E")!important;
}
.ray-filtered-category #ray-catalog-filter input[type="checkbox"][data-ray-param]:checked:after{
  content:none!important;
  display:none!important;
}
.ray-filtered-category .ray-filter-options label.is-selected{
  border-color:#d5a9b9!important;
  background:#fff4f8!important;
  color:#76103c!important;
}
.ray-filtered-category .ray-filter-submit.is-loading{
  opacity:.72!important;
  cursor:wait!important;
}

@media (min-width:768px){
  .ray-filtered-category .ray-filter-panel{
    top:16px!important;
    max-height:calc(100vh - 32px)!important;
  }
  .ray-filtered-category .ray-filter-panel-head{
    position:sticky!important;
    top:0!important;
  }
  .ray-filtered-category .ray-filter-actions{
    position:sticky!important;
    bottom:0!important;
  }
}

@media (max-width:767px){
  html body .ray-filtered-category .ray-filter-panel{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    top:auto!important;
    bottom:86px!important;
    width:auto!important;
    height:min(76dvh,620px)!important;
    max-height:calc(100dvh - 112px)!important;
    border-radius:22px!important;
    z-index:2147483600!important;
    overflow:hidden!important;
    transform:translateY(calc(100% + 110px))!important;
  }
  html body .ray-filtered-category .ray-filter-panel.is-mobile-open{
    transform:translateY(0)!important;
  }
  html body .ray-filtered-category .ray-filter-backdrop{
    z-index:2147483500!important;
  }
  html body .ray-filtered-category .ray-filter-panel-head{
    position:relative!important;
    top:auto!important;
    padding:13px 16px!important;
  }
  html body .ray-filtered-category #ray-catalog-filter{
    height:100%!important;
  }
  html body .ray-filtered-category .ray-filter-body{
    padding-bottom:8px!important;
  }
  html body .ray-filtered-category .ray-filter-group-title{
    min-height:46px!important;
    padding:11px 15px!important;
  }
  html body .ray-filtered-category .ray-filter-options{
    gap:7px!important;
    padding:0 14px 12px!important;
  }
  html body .ray-filtered-category .ray-filter-options label{
    min-height:40px!important;
    padding:8px 10px!important;
    border-radius:12px!important;
    font-size:13px!important;
  }
  html body .ray-filtered-category .ray-filter-actions{
    position:relative!important;
    bottom:auto!important;
    display:grid!important;
    grid-template-columns:minmax(92px,.72fr) minmax(0,1.5fr)!important;
    gap:8px!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
  }
  html body .ray-filtered-category .ray-filter-reset,
  html body .ray-filtered-category .ray-filter-submit{
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 10px!important;
    border-radius:12px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  html body.ray-filter-opened .ray-mobile-bottom-nav{
    z-index:2147483000!important;
  }
}

@media (max-width:380px){
  html body .ray-filtered-category .ray-filter-panel{
    left:6px!important;
    right:6px!important;
    bottom:82px!important;
    height:min(72dvh,560px)!important;
  }
  html body .ray-filtered-category .ray-filter-actions{
    grid-template-columns:88px minmax(0,1fr)!important;
    padding-left:9px!important;
    padding-right:9px!important;
  }
}

