/* =====================================================================
   OLLOSTORE — стили главной страницы + мобильные исправления.
   Подключается напрямую через local.css.php, В ОБХОД сборщика Bender.
   Так стили попадают на сайт даже если склеенный кэш
   cache/vamshop4-packed.css не пересобрался.
   ===================================================================== */

/* OLLOSTORE homepage v2: compact, category-first layout. Scoped to .ollo-home only. */
.ollo-home{margin:0 auto;}
.ollo-home *{box-sizing:border-box}
.ollo-home__intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.7fr);gap:28px;align-items:center;padding:34px 36px;border-radius:18px;background:linear-gradient(135deg,#15171b 0%,#292d34 100%);color:#fff;margin:0 0 18px;min-height:230px}
.ollo-home__intro-copy{max-width:760px}
.ollo-home__eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.72;margin-bottom:10px}
.ollo-home__intro h1,.ollo-home__section-head h2,.ollo-home__categories h2,.ollo-home__after-catalog h2{margin:0;line-height:1.12}
.ollo-home__intro h1{font-size:clamp(30px,4vw,48px);max-width:720px}
.ollo-home__intro p{font-size:16px;line-height:1.55;max-width:720px;margin:14px 0 20px;color:rgba(255,255,255,.82)}
.ollo-home__actions{display:flex;flex-wrap:wrap;gap:10px}
.ollo-home__btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;text-decoration:none;font-weight:800;transition:.18s ease}
.ollo-home__btn--accent{background:#ff5a1f;color:#fff}
.ollo-home__btn--light{background:#fff;color:#1c2025}
.ollo-home__btn:hover{transform:translateY(-1px);opacity:.94}
.ollo-home__intro-points{display:grid;gap:10px}
.ollo-home__intro-points div{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);border-radius:12px}
.ollo-home__intro-points strong{font-size:20px}
.ollo-home__intro-points span{font-size:14px;font-weight:700}
.ollo-home__benefits{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e7e8ea;border-radius:14px;background:#fff;margin:0 0 34px;overflow:hidden}
.ollo-home__benefits div{padding:15px 18px;border-right:1px solid #eceef0}
.ollo-home__benefits div:last-child{border-right:0}
.ollo-home__benefits b{display:block;font-size:14px;margin-bottom:4px}
.ollo-home__benefits span{font-size:12px;color:#70757c}
.ollo-home__section-head{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;margin:0 0 18px}
.ollo-home__section-head h2,.ollo-home__categories h2,.ollo-home__after-catalog h2{font-size:28px}
.ollo-home__section-head p{margin:7px 0 0;color:#6e737a;line-height:1.5}
.ollo-home__section-head>a{white-space:nowrap;text-decoration:none;font-weight:800;color:#1f2328}
.ollo-home__category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:38px}
.ollo-home__category{min-height:116px;padding:18px;border:1px solid #e4e6e9;background:#fff;border-radius:14px;text-decoration:none;color:#1e2227;display:flex;flex-direction:column;justify-content:center;transition:.18s ease}
.ollo-home__category:hover{transform:translateY(-2px);border-color:#cfd3d8;box-shadow:0 8px 24px rgba(20,25,30,.07)}
.ollo-home__category strong{font-size:22px;margin-bottom:8px}
.ollo-home__category span{font-size:16px;font-weight:800}
.ollo-home__category small{font-size:12px;color:#747980;line-height:1.35;margin-top:4px}
.ollo-home__category--main{border:2px solid #ff5a1f;background:linear-gradient(180deg,#fff,#fff8f4)}
.ollo-home-products{margin-bottom:38px}
.ollo-home-products__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ollo-product-card{background:#fff;border:1px solid #e4e6e9;border-radius:14px;overflow:hidden;transition:.18s ease;display:flex;flex-direction:column}
.ollo-product-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,25,30,.08)}
.ollo-product-card__image{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#fafafa}
.ollo-product-card__image img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s ease}
.ollo-product-card:hover .ollo-product-card__image img{transform:scale(1.025)}
.ollo-product-card__badge{position:absolute;left:10px;top:10px;z-index:2;background:#ff5a1f;color:#fff;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:800}
.ollo-product-card__body{padding:13px 14px 15px;display:flex;flex-direction:column;flex:1}
.ollo-product-card__rating{font-size:12px;font-weight:800;margin-bottom:7px}
.ollo-product-card h3{font-size:15px;line-height:1.35;margin:0 0 14px;min-height:41px}
.ollo-product-card h3 a{color:#1f2328;text-decoration:none}
.ollo-product-card__bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.ollo-product-card__bottom strong{font-size:18px}
.ollo-product-card__bottom a{font-size:12px;font-weight:800;text-decoration:none;color:#1f2328}
.ollo-home__after-catalog{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid #e5e7ea;border-radius:16px;background:#f7f8f9;margin-bottom:28px}
.ollo-home__after-catalog p{margin:7px 0 0;color:#6e737a;line-height:1.5}
.ollo-home__seo-text{margin-top:10px}
@media (max-width:900px){.ollo-home__intro{grid-template-columns:1fr;padding:28px}.ollo-home__intro-points{grid-template-columns:repeat(3,1fr)}.ollo-home__benefits{grid-template-columns:repeat(2,1fr)}.ollo-home__benefits div:nth-child(2){border-right:0}.ollo-home__benefits div:nth-child(-n+2){border-bottom:1px solid #eceef0}.ollo-home__category-grid{grid-template-columns:repeat(2,1fr)}.ollo-home-products__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ollo-home__intro{padding:22px 18px;border-radius:14px;min-height:0}.ollo-home__intro h1{font-size:30px}.ollo-home__intro p{font-size:14px}.ollo-home__actions{flex-direction:column}.ollo-home__btn{width:100%}.ollo-home__intro-points{grid-template-columns:1fr}.ollo-home__benefits{grid-template-columns:1fr;border-radius:12px}.ollo-home__benefits div{border-right:0!important;border-bottom:1px solid #eceef0}.ollo-home__benefits div:last-child{border-bottom:0}.ollo-home__section-head{align-items:flex-start;flex-direction:column}.ollo-home__section-head h2,.ollo-home__categories h2,.ollo-home__after-catalog h2{font-size:23px}.ollo-home__category-grid{grid-template-columns:1fr 1fr;gap:9px}.ollo-home__category{min-height:108px;padding:14px}.ollo-home__category span{font-size:14px}.ollo-home__category small{font-size:11px}.ollo-home-products__grid{grid-template-columns:1fr 1fr;gap:10px}.ollo-product-card__body{padding:11px}.ollo-product-card h3{font-size:13px;min-height:0}.ollo-product-card__bottom{align-items:flex-start;flex-direction:column}.ollo-product-card__bottom strong{font-size:16px}.ollo-home__after-catalog{align-items:flex-start;flex-direction:column;padding:20px}}
/* ---------------------------------------------------------------------
   OLLOSTORE — точечные исправления мобильной вёрстки
   Добавить в САМЫЙ КОНЕЦ файла templates/vamshop4/css/vamshop4.css
   (именно в конец, чтобы правила перебили предыдущие).
   --------------------------------------------------------------------- */

/* 1. Корзина в выпадающем меню.
   Было min-width:300px и на мобильных — на экранах 320-360px вместе с
   отступами это вылезает за край и даёт горизонтальную прокрутку. */
@media (max-width: 600px) {
  .dropdown-menu.cart {
    min-width: 0 !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    left: 12px !important;
    right: 12px !important;
  }
}

/* 2. Картинка товара в карточке каталога.
   Высота 260px задана жёстко и не уменьшается на телефоне. При двух
   колонках на узком экране карточка получается неоправданно высокой:
   картинка занимает почти весь экран, а цена и кнопка уходят вниз. */
@media (max-width: 700px) {
  .ols-product-card__image { height: 200px; }
}
@media (max-width: 480px) {
  .ols-product-card__image { height: 160px; }
  .ols-product-card__title { min-height: 0; font-size: 15px; }
  .ols-product-card__desc  { min-height: 0; }
  .ols-product-card__price { font-size: 20px; }
}

/* 3. Страховка от горизонтальной прокрутки.
   Одна вылезающая картинка или таблица — и вся страница едет вбок.
   Это самый заметный дефект мобильной вёрстки, поэтому подстраховываемся
   на уровне всей страницы. */
html, body { max-width: 100%; overflow-x: hidden; }
img, table, iframe, video { max-width: 100%; }

/* 4. Размер области нажатия.
   Ссылки в подвале и в списках на телефоне часто оказываются слишком
   мелкими — палец промахивается. Рекомендуемый минимум ~44px. */
@media (max-width: 600px) {
  #footer a,
  .ollo-home__section-head > a,
  .ols-category-tools__sort a {
    display: inline-block;
    min-height: 40px;
    line-height: 28px;
    padding: 6px 2px;
  }
}

/* 5. Длинный текст описания на главной.
   Сплошная «простыня» без ограничения ширины строки читается тяжело. */
@media (max-width: 600px) {
  .textcontent { font-size: 15px; line-height: 1.6; }
  .textcontent p { margin-bottom: 1em; }
}

:root{--ollo-accent:#111827;--ollo-accent-2:#e11d48;--ollo-muted:#6b7280;--ollo-border:#e5e7eb;--ollo-soft:#f8fafc;--ollo-shadow:0 8px 24px rgba(15,23,42,.08)}
.olle-page,.olle-product-page{max-width:1180px!important;margin:0 auto!important}
.ollo-category-hero{background:linear-gradient(135deg,#f8fafc 0,#eef2ff 100%);border-radius:18px;padding:28px 32px;margin:16px 0 20px;border:1px solid #e8edf5}.ollo-category-hero__inner{display:flex;justify-content:space-between;align-items:center;gap:24px}.ollo-kicker{font-size:12px;letter-spacing:.16em;font-weight:700;color:#64748b;margin-bottom:6px}.ollo-category-hero h1{margin:0;font-size:36px;line-height:1.15;font-weight:700;color:#111827;text-align:left}.ollo-category-hero__desc{margin-top:10px;color:#64748b;max-width:760px}.ollo-category-hero__count{font-size:38px;font-weight:700;color:#111827;line-height:1;text-align:right}.ollo-category-hero__count span{display:block;font-size:13px;font-weight:500;color:#64748b;margin-top:7px}
.ollo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid var(--ollo-border);margin-bottom:18px}.ollo-toolbar__count{font-weight:700;color:#111827}.ollo-sort{display:flex;gap:10px;align-items:center}.ollo-sort__label{color:#6b7280;font-size:14px}.ollo-sort__links{display:flex;gap:8px;flex-wrap:wrap}.ollo-sort__links a{color:#374151;padding:6px 10px;border-radius:8px;text-decoration:none}.ollo-sort__links a.active,.ollo-sort__links a:hover{background:#111827;color:#fff}.ollo-filter-panel{border:1px solid var(--ollo-border);border-radius:14px;background:#fff}.ollo-filter-toggle{border-radius:10px}
.olle-product-grid{margin-left:-8px!important;margin-right:-8px!important}.olle-product-col{padding:8px!important;display:flex}.ollo-product-card-form{display:flex;width:100%;height:100%}.ollo-product-card{width:100%;min-width:0;border:1px solid var(--ollo-border)!important;border-radius:16px!important;overflow:hidden;background:#fff;box-shadow:none;transition:.2s ease;position:relative;display:flex!important;flex-direction:column!important}.ollo-product-card:hover{transform:translateY(-3px);box-shadow:var(--ollo-shadow);border-color:#d8dee9!important}.ollo-product-card__media{position:relative;background:#fff;overflow:hidden;border-bottom:1px solid #f0f2f5}.ollo-product-card__image-link{display:flex;justify-content:center;align-items:center;height:285px;padding:14px}.ollo-product-card__image{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;transition:transform .25s ease}.ollo-product-card:hover .ollo-product-card__image{transform:scale(1.035)}.ollo-product-card__label{position:absolute;left:12px;top:12px;z-index:2;background:#111827;color:#fff;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.ollo-product-card__sale{position:absolute;right:12px;top:12px;z-index:2;background:#e11d48;color:#fff;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.ollo-product-card__quick{position:absolute;left:12px;right:12px;bottom:12px;opacity:0;transform:translateY(6px);background:rgba(17,24,39,.92);color:#fff!important;text-align:center;padding:9px 12px;border-radius:10px;text-decoration:none;transition:.2s}.ollo-product-card:hover .ollo-product-card__quick{opacity:1;transform:none}.ollo-product-card__body{padding:14px 15px 8px!important;display:flex!important;flex-direction:column!important;flex:1}.ollo-product-card__sku{font-size:11px;color:#9ca3af;margin-bottom:5px}.ollo-product-card__title{font-size:16px!important;line-height:1.35!important;min-height:43px;margin:0 0 8px!important;font-weight:400!important}.ollo-product-card__title a{color:#111827!important;text-decoration:none}.ollo-product-card__title a:hover{color:#2563eb!important}.ollo-product-card__rating{display:flex;align-items:center;gap:6px;font-size:12px;margin-bottom:8px}.ollo-stars{color:#f59e0b}.ollo-rating-value{font-weight:700;color:#111827}.ollo-rating-count{color:#9ca3af}.ollo-product-card__meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;margin-top:auto;padding-top:4px}.ollo-stock{color:#15803d;font-weight:700}.ollo-delivery{color:#64748b}.ollo-product-card__options{margin-top:8px}.ollo-product-card__footer{padding:12px 15px 15px!important;border-top:0!important;background:#fff!important}.ollo-product-card__price{font-size:22px;font-weight:800;color:#111827;margin-bottom:10px}.ollo-product-card__buyrow{display:flex;gap:8px;align-items:center}.ollo-qty{width:105px}.ollo-qty__btn{border:1px solid #d1d5db!important;background:#fff!important;width:32px;height:40px}.ollo-qty__input{height:40px;padding:0;text-align:center}.ollo-product-card .ollo-buy{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex:1!important;width:auto!important;height:40px!important;min-height:40px!important;padding:0 14px!important;border-radius:10px!important;background:#111827!important;border:1px solid #111827!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;text-shadow:none!important;white-space:nowrap!important}.ollo-product-card .ollo-buy i{color:#fff!important;margin-right:2px!important}.ollo-product-card .ollo-buy:hover{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}.ollo-product-card__compare{margin-top:8px}.olle-navigation{margin:14px 0}
.olle-product-breadcrumbs{color:#6b7280;font-size:13px;margin:12px 0}.olle-product-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:36px;border:1px solid var(--ollo-border);border-radius:18px;background:#fff;padding:24px;box-shadow:var(--ollo-shadow)}.olle-product-main-image{height:520px;display:flex;align-items:center;justify-content:center;background:#fafafa;border-radius:14px;overflow:hidden}.olle-product-main-image img{max-width:100%;max-height:100%;object-fit:contain}.olle-product-thumbs{display:flex;gap:10px;overflow:auto;margin-top:12px;padding-bottom:2px}.olle-product-thumb{width:74px;height:74px;border:1px solid var(--ollo-border);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto;background:#fff}.olle-product-thumb img{max-width:100%;max-height:100%;object-fit:contain}.olle-product-summary{padding:10px 6px}.olle-product-summary h1{font-size:26px;line-height:1.15;margin:10px 0 8px;color:#111827}.olle-product-label,.ollo-detail-sale{display:inline-block;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;margin-right:6px}.olle-product-label{background:#111827;color:#fff}.ollo-detail-sale{background:#e11d48;color:#fff}.ollo-detail-sku{color:#6b7280;font-size:13px;margin-bottom:12px}.ollo-detail-rating{display:flex;gap:8px;align-items:center;font-size:13px;margin-bottom:18px}.ollo-detail-rating span{color:#f59e0b}.ollo-detail-rating a{color:#64748b}.ollo-detail-price{font-size:36px;font-weight:800;color:#111827;margin:6px 0 18px}.ollo-detail-trust{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}.ollo-detail-trust div{background:#f8fafc;border-radius:10px;padding:10px;color:#334155;font-size:13px}.ollo-detail-trust i{margin-right:7px;color:#16a34a}.olle-all-specs{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-top:18px}.olle-all-specs>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f0f2f5}.olle-all-specs span{color:#64748b}.olle-tags a{display:inline-block;margin:4px 6px 0 0;padding:6px 10px;border:1px solid #dbe3ee;border-radius:999px;font-size:12px;color:#334155;text-decoration:none}
@media(max-width:1199px){.ollo-product-card__image-link{height:250px}.olle-product-hero{grid-template-columns:1fr 1fr}.olle-product-main-image{height:440px}}
@media(max-width:767px){.ollo-category-hero{padding:22px 18px}.ollo-category-hero__inner{display:block}.ollo-category-hero__count{text-align:left;margin-top:14px;font-size:28px}.ollo-category-hero h1{font-size:28px}.ollo-toolbar{display:block}.ollo-sort{margin-top:10px;display:block}.ollo-sort__links{margin-top:6px}.olle-product-col{padding:6px!important}.ollo-product-card__image-link{height:230px}.ollo-product-card__buyrow{display:block}.ollo-qty{width:100%;margin-bottom:8px}.ollo-product-card .ollo-buy{width:100%!important}.olle-product-hero{display:block;padding:14px}.olle-product-main-image{height:360px}.olle-product-summary{padding:20px 4px}.olle-product-summary h1{font-size:27px}.ollo-detail-trust{grid-template-columns:1fr}.ollo-detail-buy{display:block}.olle-all-specs{grid-template-columns:1fr}}

/* OLLSTORE product detail conversion layer */
.olle-product-gallery{min-width:0}
.olle-product-gallery__badges{min-height:30px;margin-bottom:8px}
.olle-product-gallery__badges .olle-product-label,
.olle-product-gallery__badges .ollo-detail-sale{position:static;margin:0 6px 0 0}
.olle-product-summary{padding:4px 4px 2px}
.ollo-detail-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ollo-detail-rating{display:flex;align-items:center;gap:7px;color:#374151!important;text-decoration:none!important;font-size:13px}
.ollo-detail-rating:hover{text-decoration:none!important}
.ollo-detail-rating .ollo-stars{color:#f59e0b}
.ollo-detail-rating span:last-child{color:#6b7280}
.ollo-detail-sku{font-size:12px;color:#9ca3af;margin:0}
.olle-product-summary h1{font-size:26px;line-height:1.16;margin:0 0 18px;color:#111827}
.ollo-detail-buybox{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:18px 18px 16px;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.ollo-detail-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.ollo-detail-price{font-size:38px;font-weight:900;line-height:1;color:#111827;margin:0}
.ollo-detail-price-note{font-size:12px;font-weight:700;color:#16a34a;padding-bottom:4px}
.ollo-detail-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0 16px}
.ollo-detail-trust div{min-height:78px;background:#f8fafc;border:1px solid #edf1f5;border-radius:11px;padding:10px 9px;color:#334155;display:flex;flex-direction:column;gap:4px}
.ollo-detail-trust i{color:#16a34a!important;font-size:15px;margin:0 0 2px!important}
.ollo-detail-trust strong{font-size:12px;color:#1f2937;line-height:1.2}
.ollo-detail-trust span{font-size:11px;color:#6b7280;line-height:1.25}
.ollo-detail-section-title{font-size:13px;font-weight:800;color:#111827;margin-bottom:8px}
.ollo-detail-spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.ollo-detail-spec{padding:9px 10px;border-radius:9px;background:#f8fafc;border:1px solid #eef2f6}
.ollo-detail-spec span{display:block;font-size:11px;color:#6b7280;line-height:1.25;margin-bottom:2px}
.ollo-detail-spec strong{display:block;font-size:12px;color:#111827;line-height:1.3}
.ollo-detail-key-specs{margin-bottom:14px}
.ollo-detail-options{margin:12px 0}
.ollo-detail-buy{margin-top:14px;padding-top:14px;border-top:1px solid #eef1f4}
.ollo-detail-buy-label{font-size:12px;font-weight:800;color:#374151;margin-bottom:7px}
.ollo-detail-buy-row{display:flex;gap:9px;align-items:stretch}
.ollo-detail-qty{display:flex;flex:0 0 132px;width:132px;min-width:132px;max-width:132px;height:46px;align-items:stretch}
 .ollo-detail-qty.value-control{cursor:pointer}
.ollo-detail-qty .value-control{flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:46px!important;border:1px solid #d1d5db!important;background:#fff!important;color:#111827!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:20px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;user-select:none}
.ollo-detail-qty .value-control:first-child{border-radius:10px 0 0 10px!important}
.ollo-detail-qty .value-control:last-child{border-radius:0 10px 10px 0!important}
.ollo-detail-qty .value-control:hover{background:#f8fafc!important}
.ollo-detail-qty input[name="products_qty"],.ollo-detail-qty input[id^="quantity"]{display:block!important;width:52px!important;height:46px!important;box-sizing:border-box!important;border:1px solid #d1d5db!important;border-left:0!important;border-right:0!important;border-radius:0!important;text-align:center!important;font-size:17px!important;font-weight:700!important;color:#111827!important;background:#fff!important;padding:0 4px!important;appearance:textfield!important;flex:0 0 56px!important;min-width:56px!important;max-width:56px!important;-moz-appearance:textfield!important}
.ollo-detail-qty input[name="products_qty"]::-webkit-outer-spin-button,.ollo-detail-qty input[name="products_qty"]::-webkit-inner-spin-button{appearance:none;margin:0}
.ollo-detail-cart-button{flex:1;min-width:0}
.ollo-detail-cart-button input[type="image"]{display:block;width:100%!important;height:46px!important;min-height:46px!important;object-fit:fill!important;border-radius:10px!important}
.ollo-detail-cart-button input[type="submit"],.ollo-detail-cart-button button{width:100%!important;height:46px;min-height:46px;border:0;border-radius:10px;background:#e11d48;color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.ollo-detail-cart-button input[type="submit"]:hover,.ollo-detail-cart-button button:hover{background:#be123c}
.ollo-detail-buy-note{margin-top:8px;font-size:11px;color:#6b7280}
.ollo-detail-buy-note i{color:#16a34a;margin-right:5px}
.ollo-detail-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.ollo-detail-benefit{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #edf0f4;border-radius:10px;background:#fbfcfd;min-width:0}
.ollo-detail-benefit__icon{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef6ee;color:#15803d;font-size:13px}
.ollo-detail-benefit strong{display:block;font-size:11px;line-height:1.15;color:#1f2937;margin-bottom:2px}
.ollo-detail-benefit span{display:block;font-size:9.5px;line-height:1.2;color:#7b8492}
@media(max-width:1199px){.ollo-detail-benefits{grid-template-columns:1fr 1fr}.ollo-detail-benefit:last-child{grid-column:1/-1}}
.ollo-detail-question{margin-top:12px;font-size:12px;color:#6b7280}
.ollo-detail-question a{color:#374151!important;text-decoration:underline}
.olle-product-main-image{box-shadow:inset 0 0 0 1px #f1f3f5}
.olle-product-thumb{transition:.16s ease}
.olle-product-thumb:hover{border-color:#cbd5e1;transform:translateY(-1px)}
.olle-tab-content{margin-top:10px}
.olle-tabs{margin-top:28px}
@media(max-width:1199px){
  .ollo-detail-trust{grid-template-columns:1fr 1fr}
  .ollo-detail-trust div:last-child{grid-column:1/-1}
}
@media(max-width:767px){
  .olle-product-summary h1{font-size:28px;margin-bottom:14px}
  .ollo-detail-buybox{padding:15px}
  .ollo-detail-topline{justify-content:flex-start}
  .ollo-detail-trust{grid-template-columns:1fr;gap:7px}
  .ollo-detail-trust div:last-child{grid-column:auto}
  .ollo-detail-trust div{min-height:auto;display:grid;grid-template-columns:20px 1fr;column-gap:8px;align-items:center}
  .ollo-detail-trust i{grid-row:1 / span 2;align-self:start;padding-top:2px}
  .ollo-detail-trust span{grid-column:2}
  .ollo-detail-spec-grid{grid-template-columns:1fr}
  .ollo-detail-buy-row{display:grid;grid-template-columns:1fr;gap:8px}
  .ollo-detail-qty{width:100%;flex-basis:auto}
  .ollo-detail-benefits{grid-template-columns:1fr;gap:7px}.ollo-detail-benefit:last-child{grid-column:auto}
}

/* =====================================================================
   OLLOSTORE — ABOUT_US / ПРОШИВКИ — МОБИЛЬНАЯ ВЕРСИЯ
   Добавлено поверх существующих правил.
   Цель: убрать «склеенный» текст, горизонтальный вылет и слишком крупную
   типографику на about_us.html, не меняя desktop.
   ===================================================================== */

@media (max-width: 767px) {

  /* Базовая геометрия страницы */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    min-width: 0 !important;
  }

  /* Контентные области VamShop */
  #content,
  #content_area,
  .content,
  .content-area,
  .textcontent,
  .page-content,
  .main-content {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Нормальный размер текста страницы прошивок */
  .textcontent {
    font-size: 16px !important;
    line-height: 1.62 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .textcontent h1,
  .textcontent h2,
  .textcontent h3,
  .textcontent h4 {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .textcontent h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  .textcontent h2 {
    font-size: 24px !important;
    line-height: 1.22 !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
  }

  .textcontent h3,
  .textcontent h4 {
    font-size: 19px !important;
    line-height: 1.3 !important;
    margin-top: 22px !important;
    margin-bottom: 10px !important;
  }

  .textcontent p {
    margin: 0 0 14px !important;
    line-height: 1.62 !important;
  }

  .textcontent img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto 14px !important;
  }

  /* Списки и ссылки */
  .textcontent ul,
  .textcontent ol {
    margin: 0 0 16px 20px !important;
    padding: 0 !important;
  }

  .textcontent li {
    margin-bottom: 8px !important;
    line-height: 1.55 !important;
  }

  .textcontent a {
    overflow-wrap: anywhere !important;
  }

  /* Если старый контент собран таблицами — превращаем строки/ячейки
     в вертикальные блоки. Это устраняет на телефоне эффект:
     «01Скачайте образВыберите свою модель...» */
  .textcontent table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
  }

  .textcontent thead,
  .textcontent tbody,
  .textcontent tfoot {
    display: block !important;
    width: 100% !important;
  }

  .textcontent tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
  }

  .textcontent td,
  .textcontent th {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    vertical-align: top !important;
    border: 0 !important;
    white-space: normal !important;
  }

  /* Частый старый VamShop-паттерн: три части шага идут inline.
     На мобильном номер и заголовок становятся отдельными строками. */
  .textcontent .step,
  .textcontent .steps,
  .textcontent .step-item,
  .textcontent .instruction-step,
  .textcontent .instruction__step,
  .textcontent .howto-step {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }

  /* Не даём inline-элементам с номерами/заголовками склеиваться с описанием */
  .textcontent .step strong:first-child,
  .textcontent .steps strong:first-child,
  .textcontent .step-item strong:first-child,
  .textcontent .instruction-step strong:first-child {
    display: inline-block !important;
    margin-right: 8px !important;
  }

  /* Ссылки на прошивки/образы должны переноситься */
  .textcontent a[href] {
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Длинные разделители и старые декоративные строки */
  .textcontent hr {
    margin: 20px 0 !important;
    border: 0 !important;
    border-top: 1px solid #e5e7eb !important;
  }

  /* Кнопки/ссылки скачивания — удобная зона нажатия */
  .textcontent input[type="submit"],
  .textcontent button,
  .textcontent .btn,
  .textcontent a.button,
  .textcontent a.download,
  .textcontent a[class*="button"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Предотвращаем вылет iframe/video */
  .textcontent iframe,
  .textcontent video,
  .textcontent embed,
  .textcontent object {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

}

/* Узкие телефоны: чуть меньше заголовки, больше полезной ширины */
@media (max-width: 420px) {
  .textcontent {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .textcontent h1 {
    font-size: 27px !important;
    line-height: 1.14 !important;
  }

  .textcontent h2 {
    font-size: 22px !important;
  }

  .textcontent h3,
  .textcontent h4 {
    font-size: 18px !important;
  }
}
