/* hpfix.css — точечные правки, грузится ПОСЛЕ бандла темы */

/* ---- 1. Верхняя панель: не уезжает вправо ---- */
@media (min-width:992px){
  .header-top .container{max-width:1400px;width:100%;padding-left:16px;padding-right:16px}
  .header-top .col-12{display:flex;flex-wrap:nowrap;align-items:center;gap:12px}
  .header-top .left.floatleft{flex:1 1 auto;min-width:0;float:none !important}
  .header-top .right.floatright{flex:0 0 auto;margin-left:auto;float:none !important}
  .header-top form.msearch2 input{width:210px !important;max-width:100%}
}

/* ---- 2. Блок СТЭН ---- */
.hp-rep{padding:44px 0}
.hp-rep-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:34px;align-items:center;background:linear-gradient(135deg,#1c1c1c 0%,#2f2f2f 60%,#3a2a20 100%);border-radius:16px;padding:40px 44px;color:#fff;box-shadow:0 18px 40px rgba(0,0,0,.14)}
.hp-rep-eyebrow{display:inline-block;font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:#e8630a;font-weight:700;margin-bottom:10px}
.hp-rep-title{font-size:30px;line-height:1.2;font-weight:700;color:#fff;margin:0 0 12px}
.hp-rep-lead{font-size:15px;line-height:1.55;color:#c9c9c9;margin:0 0 18px;max-width:520px}
.hp-rep-list{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-direction:column;gap:10px}
.hp-rep-list li{position:relative;padding-left:26px;font-size:15px;color:#eaeaea;float:none;list-style:none}
.hp-rep-list li:before{content:'';position:absolute;left:0;top:6px;width:16px;height:16px;border-radius:50%;background:#e8630a}
.hp-rep-list li:after{content:'';position:absolute;left:5px;top:10px;width:5px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.hp-rep-btn{display:inline-block;background:#e8630a;color:#fff !important;font-weight:600;font-size:15px;padding:14px 28px;border-radius:8px;text-decoration:none;transition:.2s}
.hp-rep-btn:hover{background:#c95206;color:#fff !important}
.hp-rep-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;border-left:1px solid rgba(255,255,255,.12);padding-left:34px}
.hp-rep-years{display:flex;align-items:center;gap:14px}
.hp-rep-years b{font-size:86px;line-height:.9;font-weight:800;color:#e8630a;letter-spacing:-3px}
.hp-rep-years span{font-size:15px;line-height:1.2;font-weight:700;text-transform:uppercase;text-align:left;color:#fff}
.hp-rep-logo{width:130px;height:auto;border-radius:10px;background:#fff;padding:10px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.hp-rep-since{font-size:13px;color:#a9a9a9}
@media (max-width:991.98px){
  .hp-rep-card{grid-template-columns:minmax(0,1fr);padding:28px 22px;gap:24px}
  .hp-rep-side{border-left:0;border-top:1px solid rgba(255,255,255,.12);padding-left:0;padding-top:24px;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:20px}
  .hp-rep-title{font-size:24px}
  .hp-rep-years b{font-size:64px}
  .hp-rep-since{flex:1 1 100%;text-align:left}
}

/* ---- 3. Плитки площади — кликабельные ---- */
.hp-pick-grid .hp-pick-card{display:block;text-decoration:none;transition:.2s;border:1px solid #e6e6e6;border-radius:8px;padding:14px 12px;text-align:center;background:#fafafa}
.hp-pick-grid .hp-pick-card b{display:block;font-size:15px;color:#222}
.hp-pick-grid .hp-pick-card span{display:block;font-size:19px;font-weight:700;color:#e8630a;margin-top:4px}
.hp-pick-grid .hp-pick-card:hover{border-color:#e8630a;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.08);transform:translateY(-2px)}

/* ---- 4. Карточка товара: кнопки ---- */
.hp-card .hp-card-actions{display:flex !important;align-items:stretch;gap:8px;position:static !important;width:100% !important;height:auto !important;opacity:1 !important;visibility:visible !important;margin-top:auto}
.hp-card .hp-card-actions .hp-btn-cart{flex:1 1 auto !important;display:inline-flex !important;align-items:center;justify-content:center;gap:7px;min-height:40px;height:40px !important;width:auto !important;padding:0 12px !important;background:#e8630a !important;color:#fff !important;border:0 !important;border-radius:6px !important;font-size:13.5px !important;font-weight:600 !important;line-height:1 !important;text-transform:none !important;box-shadow:none !important;overflow:visible !important}
.hp-card .hp-card-actions .hp-btn-cart:hover{background:#c95206 !important}
.hp-card .hp-card-actions .hp-btn-cart i{font-size:14px}
.hp-card .hp-card-actions .hp-ic{flex:0 0 40px !important;width:40px !important;height:40px !important;min-height:40px;display:inline-flex !important;align-items:center;justify-content:center;border:1px solid #e0e0e0 !important;border-radius:6px !important;color:#8a8a8a !important;background:#fff !important;margin:0 !important;padding:0 !important;position:relative;cursor:pointer}
.hp-card .hp-card-actions .hp-ic:hover{color:#e8630a !important;border-color:#e8630a !important}
.hp-card .hp-card-actions .hp-ic i{font-size:15px}
.hp-share-toast{position:absolute;bottom:calc(100% + 8px);right:0;white-space:nowrap;background:#222;color:#fff;font-size:12px;padding:6px 10px;border-radius:5px;z-index:5}
@media (max-width:767.98px){
  .hp-card .hp-card-actions{gap:6px}
  .hp-card .hp-card-actions .hp-btn-cart{font-size:12px !important;padding:0 8px !important;height:38px !important}
  .hp-card .hp-card-actions .hp-btn-cart i{display:none}
  .hp-card .hp-card-actions .hp-ic{flex:0 0 38px !important;width:38px !important;height:38px !important}
}

/* ---- 5. Посадочные страницы подборок ---- */
.hp-lp-lead{font-size:16px;line-height:1.6;color:#444;margin:0 0 26px;max-width:900px}
.hp-lp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;text-align:left;margin-bottom:26px}
.hp-lp-grid .product-item{width:100% !important;float:none !important;margin:0 !important}
.hp-lp-more{text-align:center;margin:8px 0 30px}
@media (max-width:991.98px){.hp-lp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767.98px){.hp-lp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* ---- 6. Инстаграм в подвале — по размеру платёжных иконок ---- */
.footer-area img[src*='logo2'],.footer-bottom img[src*='logo2']{width:auto !important;height:30px !important;max-width:150px}

/* ---- 7. Доводка: иконка внутри кнопки корзины и позиция поиска ---- */
.hp-card .hp-card-actions .hp-btn-cart i{display:none !important}
.hp-card .hp-card-actions .hp-btn-cart,.hp-card .hp-card-actions .hp-btn-cart span{white-space:nowrap}
@media (min-width:992px){
  .header-top .right.floatright{margin-left:28px !important}
  .header-top .left.floatleft{flex:0 1 auto}
  .header-top .col-12{justify-content:flex-start}
}

/* ---- 8. Быстрый выбор в категориях ---- */
.hp-qp{margin:0 0 26px}
.hp-qp-title{display:block;font-size:13px;letter-spacing:1.2px;text-transform:uppercase;color:#8d8d8d;font-weight:700;margin-bottom:10px}
.hp-qp-row{display:flex;flex-wrap:wrap;gap:8px}
.hp-qp-item{position:relative;display:inline-flex;align-items:center;padding:10px 16px 10px 26px;border-radius:8px;background:#f6f6f6;border:1px solid #ececec;color:#2b2b2b !important;font-size:14px;font-weight:600;text-decoration:none;line-height:1.2;transition:.18s}
.hp-qp-item:before{content:'';position:absolute;left:12px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#e8630a;transition:.18s}
.hp-qp-item:hover{background:#e8630a;border-color:#e8630a;color:#fff !important;transform:translateY(-1px);box-shadow:0 6px 14px rgba(232,99,10,.25)}
.hp-qp-item:hover:before{background:#fff}
@media (max-width:575.98px){
  .hp-qp-item{font-size:13px;padding:9px 12px 9px 22px}
  .hp-qp-item:before{left:9px}
}

/* ---- 9. Иконки-фото в быстром выборе ---- */
.hp-qp-item.hp-qp-has-img{padding:8px 18px 8px 8px;gap:10px}
.hp-qp-item.hp-qp-has-img:before{display:none}
.hp-qp-ic{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:6px;background:#fff;border:1px solid #ececec;overflow:hidden}
.hp-qp-ic img{width:34px;height:34px;object-fit:contain;display:block}
.hp-qp-item.hp-qp-has-img:hover .hp-qp-ic{border-color:rgba(255,255,255,.5)}
@media (max-width:575.98px){
  .hp-qp-item.hp-qp-has-img{padding:6px 12px 6px 6px;gap:8px}
  .hp-qp-ic{width:32px;height:32px;flex:0 0 32px}
  .hp-qp-ic img{width:28px;height:28px}
}

/* ---- 10. Попап «Поделиться» не обрезается ---- */
.product-content .right,.right.floatright.product-list,.mse2_results,.product-content .col-lg-9,.product-content .col-md-9{overflow:visible !important}
.product-item,.product-item-wrap,.single-products,.four-item,.hp-prod-grid,.hp-lp-grid{overflow:visible !important}
.share-wrap{position:relative;overflow:visible}
.share-pop{position:absolute;right:0;left:auto;bottom:calc(100% + 8px);z-index:1200;min-width:200px;max-width:min(260px,86vw);background:#fff;border:1px solid #e6e6e6;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.16);padding:12px;white-space:normal}
.share-pop .share-title{display:block;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#8d8d8d;font-weight:700;margin-bottom:8px;white-space:nowrap}
.share-pop .share-btn{display:block;width:100%;box-sizing:border-box;text-align:center;padding:9px 10px;margin:0 0 7px;border-radius:7px;color:#fff !important;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.share-pop .share-btn:last-child{margin-bottom:0}
.share-pop .share-viber{background:#7360f2}
.share-pop .share-tg{background:#2ca5e0}
.share-pop .share-wa{background:#25d366}
@media (max-width:767.98px){
  .share-pop{min-width:172px;max-width:80vw;padding:10px}
  .share-pop .share-btn{font-size:12px;padding:8px}
}
@media (max-width:479.98px){
  .share-pop{right:auto;left:50%;transform:translateX(-50%);min-width:160px}
}

/* ---- 11. Кнопки карточки: читаемость и один контур у иконок ---- */
.hp-card .hp-card-actions{width:100% !important;display:flex !important;align-items:stretch;gap:8px}
.hp-card .hp-card-actions .hp-btn-cart{flex:1 1 auto !important;flex-grow:1 !important;min-width:0 !important;width:auto !important;background:#e35b06 !important;border:0 !important;border-radius:8px !important;padding:0 10px !important;height:42px !important;min-height:42px}
.hp-card .hp-card-actions .hp-btn-cart,.hp-card .hp-card-actions .hp-btn-cart span,.hp-card .hp-card-actions .hp-btn-cart *{color:#fff !important;font-size:14px !important;font-weight:700 !important;letter-spacing:.2px;text-shadow:none !important}
.hp-card .hp-card-actions .hp-btn-cart:hover{background:#c44e04 !important}
.hp-card .hp-card-actions .hp-ic{flex:0 0 42px !important;width:42px !important;height:42px !important;min-height:42px;border:1px solid #e2e2e2 !important;border-radius:8px !important;background:#fff !important;padding:0 !important;overflow:hidden}
.hp-card .hp-card-actions .hp-ic i,.hp-card .hp-card-actions .hp-ic i:before{border:0 !important;background:none !important;box-shadow:none !important}
.hp-card .hp-card-actions .hp-ic i{width:auto !important;height:auto !important;line-height:1 !important;font-size:16px !important;color:#7a7a7a !important;display:inline-block !important;margin:0 !important;padding:0 !important;border-radius:0 !important}
.hp-card .hp-card-actions .hp-ic:hover{border-color:#e35b06 !important;background:#fff7f2 !important}
.hp-card .hp-card-actions .hp-ic:hover i{color:#e35b06 !important}
@media (max-width:767.98px){
  .hp-card .hp-card-actions{gap:6px}
  .hp-card .hp-card-actions .hp-btn-cart{height:38px !important;min-height:38px;font-size:13px !important;padding:0 6px !important}
  .hp-card .hp-card-actions .hp-btn-cart span{font-size:13px !important}
  .hp-card .hp-card-actions .hp-ic{flex:0 0 38px !important;width:38px !important;height:38px !important;min-height:38px}
}

/* ---- 12. Ряд кнопок карточки — сетка вместо флекса ---- */
.hp-card .hp-card-actions{display:grid !important;grid-template-columns:minmax(0,1fr) 42px 42px;gap:8px;align-items:stretch;width:100% !important}
.hp-card .hp-card-actions .hp-btn-cart{width:100% !important;max-width:100% !important;min-width:0 !important;justify-self:stretch}
.hp-card .hp-card-actions .hp-ic{width:42px !important;justify-self:stretch}
@media (max-width:767.98px){
  .hp-card .hp-card-actions{grid-template-columns:minmax(0,1fr) 38px 38px;gap:6px}
  .hp-card .hp-card-actions .hp-ic{width:38px !important}
}

/* ---- 13. Кнопка корзины на всю ширину, иконки строкой ниже ---- */
.hp-card .hp-card-actions{display:grid !important;grid-template-columns:40px 40px !important;grid-auto-flow:row;justify-content:end;gap:8px !important;width:100% !important}
.hp-card .hp-card-actions .hp-btn-cart{grid-column:1 / -1 !important;width:100% !important;justify-self:stretch;height:44px !important;min-height:44px}
.hp-card .hp-card-actions .hp-ic{width:40px !important;flex:none !important;height:40px !important;min-height:40px}
@media (max-width:767.98px){
  .hp-card .hp-card-actions{grid-template-columns:36px 36px !important;gap:6px !important}
  .hp-card .hp-card-actions .hp-btn-cart{height:40px !important;min-height:40px}
  .hp-card .hp-card-actions .hp-ic{width:36px !important;height:36px !important;min-height:36px}
}

/* ---- 14. Корзина на всю ширину карточки ---- */
.hp-card .hp-card-actions{grid-template-columns:minmax(0,1fr) 40px 40px !important;justify-content:stretch !important}
.hp-card .hp-card-actions .hp-btn-cart{grid-column:1 / -1 !important;grid-row:1}
.hp-card .hp-card-actions .hp-btn-fav{grid-column:2 !important;grid-row:2}
.hp-card .hp-card-actions .hp-btn-share{grid-column:3 !important;grid-row:2}
@media (max-width:767.98px){
  .hp-card .hp-card-actions{grid-template-columns:minmax(0,1fr) 36px 36px !important}
}

/* HP-15 avail note 20260813 */
.hp-ast{font-size:10px !important;line-height:1;vertical-align:super;margin-left:1px;opacity:.8}
.hp-avail-note{clear:both;margin:14px 0 6px;padding:0 5px;font-size:12px;line-height:1.5;color:#7a7a7a}
.hp-avail-note span{color:#e2231a;font-weight:700}

.hp-ast{font-size:11px !important;vertical-align:super;margin-left:2px;opacity:.85;font-weight:700}

.hp-badge-ok .hp-ast{margin-left:0 !important;letter-spacing:0}

/* HP-16 sku 20260813 */
.hp-sku{clear:both;margin:8px 0 14px;font-size:13px;line-height:1.4;color:#8a8a8a}
.hp-sku b{color:#333;font-weight:700;letter-spacing:.5px;font-size:14px}

/* HP-17 sku suggest 20260813 */
.hp-sku-sg{display:none;position:absolute;z-index:100000;background:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.14);overflow:hidden}
.hp-sku-sg-item{display:flex;align-items:center;gap:12px;padding:10px 12px;text-decoration:none;color:#333}
.hp-sku-sg-item:hover{background:#fff4ef}
.hp-sku-sg-item img{width:52px;height:52px;object-fit:contain;flex:0 0 52px}
.hp-sku-sg-noimg{width:52px;height:52px;flex:0 0 52px;background:#f2f2f2;border-radius:4px;display:block}
.hp-sku-sg-txt{display:flex;flex-direction:column;min-width:0}
.hp-sku-sg-txt b{font-size:13px;line-height:1.35;font-weight:600;color:#222}
.hp-sku-sg-txt em{font-style:normal;font-size:12px;color:#e2231a;margin-top:3px}
.hp-sku-sg-empty{padding:14px 12px;font-size:13px;color:#888}

/* HP-16b sku position 20260813 */
.hp-sku{clear:both;margin:-4px 0 12px;font-size:13px;line-height:1.4;color:#9a9a9a;letter-spacing:.2px}
.hp-sku b{color:#444;font-weight:700;letter-spacing:.6px;font-size:13px}

/* HP-16c sku position 20260813 */
.hp-sku{clear:both;margin:4px 0 14px !important;font-size:13px;line-height:1.4;color:#9a9a9a;letter-spacing:.2px}

/* HP-16d sku size 20260813 */
.hp-sku{font-size:15px !important;line-height:1.4 !important;color:#8f8f8f}
.hp-sku b{font-size:16px !important;color:#333;font-weight:700;letter-spacing:.7px}

/* HP-18 menu icons 20260813 */
.mega-menu li a{display:flex;align-items:center;gap:10px}
.mega-menu li a img.hp-mi{width:30px;height:30px;flex:0 0 30px;object-fit:contain;border-radius:4px;background:#fff;mix-blend-mode:multiply}
.mega-menu li a .hp-mt{min-width:0}

/* HP-18b menu icons fallback 20260813 */
img.hp-mi{width:30px;height:30px;object-fit:contain;vertical-align:middle;margin-right:8px;background:#fff;border-radius:4px}
.mega-menu li a img.hp-mi{margin-right:0}
