/* ===== AnthBot Shop Tools — уникальные стили ===== */

/* Admin UI */
.astx-admin .nav-tab-wrapper{margin-top:14px}
.astx-admin .astx-tab{display:none}
.astx-admin .astx-tab.active{display:block}
.astx-admin .astx-card{background:#fff;border:1px solid #e6e6e6;border-radius:10px;padding:16px;margin:12px 0}
.astx-admin .astx-field{margin:10px 0}
.astx-admin .astx-field label{display:block;margin-bottom:6px}
.astx-admin .astx-number{display:flex;align-items:center;gap:8px}
.astx-admin .astx-suffix{opacity:.75}
.astx-admin .astx-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media (max-width:1090px){.astx-admin .astx-grid{grid-template-columns:1fr}}
.astx-admin .astx-media { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.astx-scope .astx-hidden{display:none!important}

/* Общий цвет текста */
.astx-scope { color: #3a3a3a; }

/* Скрытие лейблов */
.product-labels.labels-rounded, .onsale.product-label { display: none !important; }

/* 1) Сравнение — кнопки */
.astx-scope .astx-compare-btn{display:inline-flex;align-items:center;gap:.5em;background:transparent!important;border:0!important;padding:0!important;cursor:pointer; text-transform: none !important;}
.astx-scope .astx-compare-btn .astx-icon{width:1.4em;height:1.4em;display:inline-block;object-fit:contain}
.astx-scope .astx-compare-btn.full .astx-compare-text{line-height:1}

/* 2) Характеристики */
.astx-scope .astx-specs-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--astx-specs-gap)}
.astx-scope .astx-specs-table{width:100%;background:var(--astx-specs-bg);border-radius:var(--astx-specs-rad);border-collapse:separate;border-spacing:0;overflow:hidden}
.astx-scope .astx-specs-table td{border-bottom:1px solid var(--astx-specs-bdr);padding:var(--astx-specs-pad);text-align:left;vertical-align:middle; color: #3a3a3a;}
.astx-scope .astx-specs-table tr:last-child td{border-bottom:none}
.astx-scope .astx-specs-table td.name{width:48%;font-weight:600}
.astx-scope .astx-specs-table td.val{width:52%}
@media (max-width:767px){.astx-scope .astx-specs-grid{grid-template-columns:1fr;gap:1.2em}}

/* 3) Комплект поставки */
.astx-scope .astx-delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2em}
.astx-scope .astx-ul{list-style:none;margin:0;padding:0}
.astx-scope .astx-li{display:flex;align-items:flex-start;gap:.6em}
.astx-scope .astx-li-ic{width:1.2em;height:1.2em;flex:0 0 auto;object-fit:contain;margin-top:.15em}
.astx-scope .astx-li-txt{display:block}
@media (max-width:767px){.astx-scope .astx-delivery-grid{grid-template-columns:1fr}}

/* 4) Таблица сравнения */
.astx-scope .astx-compare-inner{width:100%;overflow-x:auto}
.astx-scope .astx-compare-loading{padding:1em}
.astx-scope .astx-compare-grid{min-width:640px;border-collapse:separate;border-spacing:0;background:var(--astx-bg);border-radius:var(--astx-rad);overflow:hidden}
.astx-scope .astx-compare-grid th,
.astx-scope .astx-compare-grid td{
    border:1px solid var(--astx-bdr);
    padding:var(--astx-pad);
    text-align:left;
    vertical-align:middle;
    background:#fff;
    color: #3a3a3a !important;
}
.astx-scope .astx-compare-grid th {
    font-weight: 700;
    text-transform: none !important;
}
.astx-scope .astx-compare-grid thead th{position:sticky;top:0;background:#f9f9f9;z-index:2;text-align:left}
.astx-scope .astx-compare-grid .attr-col{position:sticky;left:0;background:#f5f5f5;z-index:1;min-width:210px;text-align:left}
.astx-scope .astx-p-head{text-align:left}
.astx-scope .astx-p-img{position:relative;display:block;width:100%;max-width:160px;margin:0 0 .6em 0;border-radius:var(--astx-img-rad);overflow:hidden}
.astx-scope .astx-p-img img{width:100%;height:auto;display:block;border-radius:var(--astx-img-rad)}
.astx-scope .astx-close{position:absolute;top:.4em;right:.4em;width:1.8em;height:1.8em;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(0,0,0,.08);cursor:pointer;font-weight:bold;color:#ff3b30}
.astx-scope .astx-p-title{margin:.4em 0 .2em 0;text-transform:none!important}
.astx-scope .astx-p-link {color: inherit !important; text-decoration: none !important; transition: opacity 0.2s;}
.astx-scope .astx-p-link:hover {opacity: 0.8;}
.astx-scope .astx-p-price{font-weight:700}
.astx-scope .astx-compare-table .astx-p-price { font-family: 'Open Sans', sans-serif !important; }

/* Toast (FIXED for Mobile) */
.astx-scope .astx-toast{
    position:fixed;
    left:50%;
    bottom:2vh;
    transform:translateX(-50%);
    background:var(--astx-toast-bg);
    color:var(--astx-toast-text);
    border-radius:var(--astx-toast-rad);
    padding:.8em 1em;
    z-index:99999;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    
    width: max-content;
    max-width: 80vw;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
}
.astx-scope .astx-toast.show{opacity:1;pointer-events:auto;transform:translateX(-50%) translateY(-4px)}
@media (max-width: 767px) {
    .astx-scope .astx-toast { font-size: 13px; padding: 12px 16px; width: auto; }
}

/* 5) Стрелки (FIXED jumping) */
.astx-scope .astx-slider-arrows{display:flex;gap:.8em;align-items:center}
.astx-scope .astx-arrow {
    background: transparent !important;
    border: 0 !important;
    cursor: pointer;
    padding: 0 !important;
    position: relative;
    width: 2em;
    height: 2em;
    display: block;
    /* Исправление сплющивания: */
    flex: 0 0 2em; 
    min-width: 2em;
}
.astx-scope .astx-arrow img{
    width:100%;
    height:100%;
    display:block; 
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

/* Ховер эффект для стрелок (через opacity) */
.astx-scope .astx-arrow-hover {
    opacity: 0;
    z-index: 2;
}
.astx-scope .astx-arrow-normal {
    opacity: 1;
    z-index: 1;
}
.astx-scope .astx-arrow:hover .astx-arrow-hover {
    opacity: 1;
}
.astx-scope .astx-arrow:hover .astx-arrow-normal {
    opacity: 0;
}

/* 6) Цена */
.astx-scope .astx-price{display:flex;align-items:baseline;gap:.6em}
.astx-scope .astx-price .sale{font-weight:700}

/* ===== КОРЗИНА И ОФОРМЛЕНИЕ (РЕДИЗАЙН VW) ===== */

/* Пустая корзина */
.astx-scope .astx-cart-empty {
    margin-bottom: 2vw;
}
.astx-scope .astx-cart-empty h2 {
    font-size: 2vw;
    margin-bottom: 0.5vw;
    font-weight: 700;
}
.astx-scope .astx-cart-empty p {
    margin-bottom: 1.5vw;
    color: #666;
    font-size: 1vw;
}
.astx-scope .astx-btn-shop {
    display: inline-block;
    padding: 0.8vw 1.5vw;
    border: 1px solid #745CC8;
    color: #745CC8;
    border-radius: 0.6vw;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 1vw;
}
.astx-scope .astx-btn-shop:hover {
    background: #745CC8;
    color: #fff;
}

/* Шапка корзины */
.astx-scope .astx-cart h2, .astx-scope .astx-cart h3 {
    font-weight: 700;
    color: #3a3a3a;
}
.astx-scope .astx-cart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5vw}
.astx-scope .astx-cart-head h2 { font-size: 2vw; margin: 0; }
.astx-scope .astx-clear-cart{color:#745CC8;text-decoration:none; font-size: 0.95vw;}
.astx-scope .astx-clear-cart:hover{text-decoration: underline;}

/* Список товаров */
.astx-scope .astx-cart-items{display:flex;flex-direction:column;gap:1vw;margin-bottom:3vw}
.astx-scope .astx-cart-item{
    display:grid;
    grid-template-columns: 12vw 1fr auto; /* Img | Info | Del */
    gap: 2vw;
    align-items: flex-start;
    background: var(--astx-card-bg, #F7F7F7);
    border-radius: var(--astx-card-rad, 12px);
    padding: 1.5vw;
    border: 0;
}
.astx-scope .astx-ci-img img{width:100%;height:auto;display:block;border-radius:0.5vw; mix-blend-mode: multiply;}

/* Средняя колонка: Заголовок, Артикул, Кол-во, Цена */
.astx-scope .astx-ci-mid{display:flex;flex-direction:column;gap:0.5vw}
.astx-scope .astx-ci-title{font-weight:600;font-size:1.1vw; line-height: 1.3;}
.astx-scope .astx-ci-meta{color:#999;font-size:0.9vw}

.astx-scope .astx-qty{
    display: flex;
    align-items: center;
    border: 1px solid #D9D9D9;
    border-radius: 0.5vw;
    overflow: hidden;
    background: #fff;
    width: fit-content;
    margin-top: 0.5vw;
}
.astx-scope .astx-qty-btn{background:transparent;border:0;width:2vw;height:2vw;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.2vw;color:#999}
.astx-scope .astx-qty-btn:hover{color: #333;}
.astx-scope .astx-qty-input{width:2.5vw;padding:0;text-align:center;background:transparent;color:#333;border:0;border-left:1px solid #D9D9D9;border-right:1px solid #D9D9D9;height:2vw;font-size:1vw; font-weight: 600;}

.astx-scope .astx-ci-price{font-weight:700;font-size:1.5vw; white-space: nowrap; margin-top: 0.5vw;}

/* Правая колонка: Кнопка удаления */
.astx-scope .astx-ci-actions{align-self: flex-start;}
.astx-scope .astx-btn-outline{
    background: #fff;
    border: 1px solid #745CC8;
    color: #745CC8;
    border-radius: 0.5vw;
    padding: .6vw 1.2vw;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9vw;
    transition: all 0.2s;
    white-space: nowrap;
    text-transform: none !important; /* Не капс */
}
.astx-scope .astx-btn-outline:hover{background: #745CC8; color: #fff;}

/* Оформление заказа */
.astx-scope .astx-checkout-title{margin:0 0 1.5vw; font-size: 2vw;}
.astx-scope .astx-checkout-grid{display:grid;grid-template-columns:minmax(0, 2fr) minmax(0, 1fr);gap:2vw;align-items:flex-start}
.astx-scope .astx-checkout-left {display: flex; flex-direction: column; gap: 2vw;}

/* Карточки без фона (Plain) */
.astx-scope .astx-card-plain h3 { margin-bottom: 1vw; font-size: 1.2vw; }

/* Поля ввода (FIXED mobile overflow) */
.astx-scope .astx-row{display:flex;gap:1vw;margin-bottom:1vw}
.astx-scope .astx-row:last-child{margin-bottom:0}
.astx-scope .astx-col-12{flex:0 0 100%}
.astx-scope .astx-col-6{flex:0 0 calc(50% - 0.5vw)}
.astx-scope .astx-inp, .astx-scope .astx-textarea {
    width: 100%;
    /* Фикс 5: Ограничиваем ширину и сбрасываем min-width если есть */
    min-width: 0;
    max-width: 100%;
    
    padding: 1vw 1.2vw;
    background: #F7F7F7; /* Серый фон */
    color: #3a3a3a;
    border: 0; /* Без рамок */
    border-radius: 0.5vw;
    font-size: 0.95vw;
    outline: none;
}
.astx-scope .astx-inp::placeholder, .astx-scope .astx-textarea::placeholder {color:#9b9b9b}
.astx-scope .astx-inp:focus, .astx-scope .astx-textarea:focus {box-shadow: 0 0 0 1px #ddd;}

.astx-scope .astx-email-notice { font-size: 0.85vw; color: #666; margin-top: 1vw; margin-bottom: 0.5vw; }

.astx-scope .astx-agree{display:flex;align-items:center;gap:.6vw;margin-top:0.5vw; font-size: 0.85vw; color: #666;}
.astx-scope .astx-agree input{width: 1.2vw; height: 1.2vw; margin: 0;}

/* Радио кнопки (Доставка/Оплата) */
.astx-scope .astx-ship-options,.astx-scope .astx-pay-options{display:grid;grid-template-columns:repeat(3,1fr);gap:1vw; margin-bottom: 1.5vw;}
.astx-scope .astx-pay-options{grid-template-columns:repeat(2,1fr)}

.astx-scope label.astx-ship-card, .astx-scope label.astx-pay-card{
    display:flex;
    align-items:center; /* Центрирование по вертикали */
    gap:.8vw;
    background:#fff;
    border:1px solid #ccc;
    border-radius:0.6vw;
    padding:1vw;
    cursor:pointer;
    transition: all 0.2s;
    /* 8) Фикс высоты для СДЭК */
    min-height: 4vw;
    box-sizing: border-box;
}
.astx-scope .astx-ship-card input, .astx-scope .astx-pay-card input {
    appearance: none;
    -webkit-appearance: none;
    width: 1.2vw;
    height: 1.2vw;
    border: 1px solid #999;
    border-radius: 50%;
    display: grid;
    place-content: center;
    margin: 0;
    flex-shrink: 0;
}
.astx-scope .astx-ship-card input::before, .astx-scope .astx-pay-card input::before {
    content: "";
    width: 0.6vw;
    height: 0.6vw;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #745CC8;
}
.astx-scope .astx-ship-card input:checked::before, .astx-scope .astx-pay-card input:checked::before {
    transform: scale(1);
}
.astx-scope .astx-ship-card input:checked, .astx-scope .astx-pay-card input:checked {
    border-color: #745CC8;
}

.astx-scope label.astx-ship-card:has(input:checked), .astx-scope label.astx-pay-card:has(input:checked){
    border-color:#745CC8;
}
.astx-scope .astx-ship-title,.astx-scope .astx-pay-title{font-weight:600; color: #3a3a3a; font-size: 1vw;}
.astx-scope .astx-ship-sub,.astx-scope .astx-pay-sub{color:#999;margin-top:.2vw; font-size: 0.85vw;}

/* Карта и инфо */
.astx-scope .astx-map-container {
    margin-top: 1vw;
}
.astx-scope .astx-map-info {
    margin-bottom: 1.5vw;
    font-size: 0.95vw;
    line-height: 1.5;
}
.astx-scope .astx-yandex-map {
    width: 100%;
    height: 400px;
    border-radius: 0.8vw;
    overflow: hidden;
    background: #eee;
}

/* Правая колонка (Summary) */
.astx-scope .astx-summary{
    position: sticky;
    top: 2vw;
    background: #F7F7F7;
    border-radius: 0.8vw;
    padding: 1.5vw;
    border: 0;
}
.astx-scope .astx-summary .line{display:flex;align-items:center;justify-content:space-between;margin:.5vw 0; font-size: 0.95vw;}
.astx-scope .astx-summary .hr{height:1px;background:#ddd;margin:1vw 0}
.astx-scope .astx-summary .big{font-size:1.1vw;font-weight:700; margin-top: 0.5vw;}
.astx-scope .astx-sum-shipping { color: #745CC8; font-weight: 600; } 

.astx-scope .astx-submit{
    width: 100%;
    margin-top: 1.5vw;
    background: #745CC8;
    color: #fff;
    border: 0;
    border-radius: 0.6vw !important;
    padding: 1vw;
    cursor: pointer;
    font-size: 1vw;
    font-weight: 600;
    text-transform: none !important; /* Не капс */
    transition: all 0.3s ease;
    border: 1px solid transparent; 
}

/* ===== СПАСИБО ЗА ЗАКАЗ (РЕДИЗАЙН VW) ===== */
.astx-scope .astx-thanks-page {
    max-width: 100%;
}
.astx-scope .astx-th-header {
    text-align: center;
    margin-bottom: 3vw;
}
.astx-scope .astx-th-header h1 {
    font-size: 2.5vw;
    font-weight: 700;
    color: #745CC8;
    margin-bottom: 0.5vw;
}
.astx-scope .astx-th-header p {
    font-size: 1vw;
    color: #666;
    line-height: 1.4;
}

.astx-scope .astx-th-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2vw;
    align-items: flex-start;
}

/* Левая карточка */
.astx-scope .astx-th-info-card {
    background: #F7F7F7;
    border-radius: 1vw;
    padding: 2vw;
}
.astx-scope .astx-th-icon {
    margin-bottom: 1.5vw;
}
.astx-scope .astx-th-icon svg {
    width: 3vw;
    height: 3vw;
}
.astx-scope .astx-th-row {
    margin-bottom: 0.8vw;
    font-size: 1vw;
    color: #3a3a3a;
}
.astx-scope .astx-th-row span {
    color: #666;
    margin-right: 0.5vw;
}

/* Правая карточка */
.astx-scope .astx-th-items-card {
    background: #F7F7F7;
    border-radius: 1vw;
    padding: 2vw;
}
.astx-scope .astx-th-items-card h3 {
    font-size: 1.2vw;
    font-weight: 700;
    margin-bottom: 1.5vw;
}
.astx-scope .astx-th-list {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    margin-bottom: 2vw;
}
.astx-scope .astx-th-item {
    display: grid;
    grid-template-columns: 5vw 1fr auto auto;
    gap: 1.5vw;
    align-items: center;
    padding-bottom: 1.5vw;
    border-bottom: 1px solid #E0E0E0;
}
.astx-scope .astx-th-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.astx-scope .astx-th-item .img img {
    width: 100%;
    border-radius: 0.5vw;
    mix-blend-mode: multiply;
}
.astx-scope .astx-th-item .title {
    font-weight: 600;
    font-size: 1vw;
    line-height: 1.3;
}
.astx-scope .astx-th-item .sku {
    font-size: 0.8vw;
    color: #999;
    margin-top: 0.3vw;
}
.astx-scope .astx-th-item .qty {
    font-size: 1vw;
    color: #3a3a3a;
}
.astx-scope .astx-th-item .price {
    font-weight: 700;
    font-size: 1.1vw;
}

.astx-scope .astx-th-totals {
    border-top: 1px solid #E0E0E0;
    padding-top: 1.5vw;
}
.astx-scope .astx-th-totals .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5vw;
    font-size: 1vw;
}
.astx-scope .astx-th-totals .row.total {
    font-size: 1.3vw;
    font-weight: 700;
    margin-top: 1vw;
}


/* Адаптив (возврат к px на мобильных) */
@media (max-width:1024px){
  .astx-scope .astx-checkout-grid{grid-template-columns:1fr}
  .astx-scope .astx-summary{position:static;top:auto;margin-top:2em}
  
  /* Сброс VW на PX для планшетов/мобилок для читаемости */
  .astx-scope .astx-cart-empty h2 { font-size: 24px; margin-bottom: 10px; }
  .astx-scope .astx-cart-empty p { font-size: 16px; margin-bottom: 20px; }
  .astx-scope .astx-btn-shop { font-size: 16px; padding: 12px 20px; border-radius: 8px; }
  .astx-scope .astx-cart-head h2 { font-size: 28px; }
  .astx-scope .astx-clear-cart { font-size: 14px; }
  
  .astx-scope .astx-cart-item { grid-template-columns: 100px 1fr; gap: 15px; padding: 15px; border-radius: 12px; }
  .astx-scope .astx-ci-img img { border-radius: 6px; }
  .astx-scope .astx-ci-mid { gap: 5px; }
  .astx-scope .astx-ci-title { font-size: 16px; }
  .astx-scope .astx-ci-meta { font-size: 13px; }
  .astx-scope .astx-qty { margin-top: 10px; border-radius: 6px; }
  .astx-scope .astx-qty-btn { width: 30px; height: 30px; font-size: 18px; }
  .astx-scope .astx-qty-input { width: 40px; height: 30px; font-size: 14px; }
  .astx-scope .astx-ci-price { font-size: 18px; margin-top: 10px; }
  .astx-scope .astx-ci-actions { grid-column: 1/-1; margin-top: 10px; }
  .astx-scope .astx-btn-outline { font-size: 14px; padding: 8px 16px; border-radius: 6px; }
  
  .astx-scope .astx-checkout-title { font-size: 24px; margin-bottom: 20px; }
  .astx-scope .astx-checkout-left { gap: 20px; }
  .astx-scope .astx-card-plain h3 { font-size: 18px; margin-bottom: 15px; }
  
  /* Фикс 5: Мобильная верстка корзины (инпуты) */
  .astx-scope .astx-row { gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
  .astx-scope .astx-col-6 { flex: 0 0 100%; width: 100%; }
  
  .astx-scope .astx-inp, .astx-scope .astx-textarea { padding: 12px 15px; font-size: 15px; border-radius: 8px; }
  .astx-scope .astx-email-notice { font-size: 13px; margin-top: 10px; }
  .astx-scope .astx-agree { font-size: 13px; gap: 10px; }
  .astx-scope .astx-agree input { width: 18px; height: 18px; }
  
  .astx-scope .astx-ship-options, .astx-scope .astx-pay-options { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .astx-scope label.astx-ship-card, .astx-scope label.astx-pay-card { 
      padding: 15px; 
      border-radius: 10px; 
      gap: 12px;
      /* Фикс высоты на мобильных */
      min-height: 60px;
  }
  .astx-scope .astx-ship-card input, .astx-scope .astx-pay-card input { width: 20px; height: 20px; }
  .astx-scope .astx-ship-card input::before, .astx-scope .astx-pay-card input::before { width: 10px; height: 10px; }
  .astx-scope .astx-ship-title, .astx-scope .astx-pay-title { font-size: 16px; }
  .astx-scope .astx-ship-sub, .astx-scope .astx-pay-sub { font-size: 13px; }
  
  .astx-scope .astx-map-container { margin-top: 15px; }
  .astx-scope .astx-map-info { font-size: 14px; margin-bottom: 15px; }
  .astx-scope .astx-yandex-map { border-radius: 10px; }
  
  .astx-scope .astx-summary { padding: 20px; border-radius: 12px; }
  .astx-scope .astx-summary .line { font-size: 15px; margin: 8px 0; }
  .astx-scope .astx-summary .big { font-size: 18px; margin-top: 10px; }
  .astx-scope .astx-submit { padding: 15px; font-size: 16px; border-radius: 10px !important; margin-top: 20px; }

  /* Спасибо адаптив */
  .astx-scope .astx-th-grid { grid-template-columns: 1fr; }
  .astx-scope .astx-th-header h1 { font-size: 28px; }
  .astx-scope .astx-th-header p { font-size: 14px; }
  .astx-scope .astx-th-info-card, .astx-scope .astx-th-items-card { padding: 20px; border-radius: 12px; }
  .astx-scope .astx-th-icon svg { width: 40px; height: 40px; }
  .astx-scope .astx-th-row { font-size: 14px; margin-bottom: 10px; }
  .astx-scope .astx-th-items-card h3 { font-size: 18px; margin-bottom: 15px; }
  .astx-scope .astx-th-item { grid-template-columns: 60px 1fr; gap: 10px; }
  .astx-scope .astx-th-item .qty { grid-column: 2; }
  .astx-scope .astx-th-item .price { grid-column: 2; }
  .astx-scope .astx-th-item .title { font-size: 15px; }
  .astx-scope .astx-th-totals .row { font-size: 15px; }
  .astx-scope .astx-th-totals .row.total { font-size: 18px; }
}

/* Бейджи и теги */
.srav-custom .elementor-widget-container, 
.cart-custom .elementor-widget-container,
.srav-custom .elementor-icon-wrapper,
.cart-custom .elementor-icon-wrapper {
    overflow: visible !important;
}

.astx-icon-badge { 
    position: absolute; 
    top: auto;
    bottom: -0.2em; 
    right: -0.2em; 
    
    background: #745CC8; 
    color: #ffffff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    line-height: 1; 
    z-index: 10; 
    pointer-events: none; 
    width: 1.6em; 
    height: 1.6em; 
    font-size: 0.8vw; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); 
}
.astx-icon-badge.hidden { display: none; }
@media (max-width: 1024px) { .astx-icon-badge { font-size: 1.5vw; } }
@media (max-width: 767px) { .astx-icon-badge { font-size: 3vw; } }

.astx-scope .astx-tags-container { display: flex; flex-wrap: wrap; }
.astx-scope .astx-tag-badge { display: inline-block; line-height: 1.2; }

/* REVIEWS (Отзывы) */
.astx-scope .astx-review-body {
    font-family: 'Open Sans', sans-serif;
    color: #3A3A3A;
    font-weight: 400;
}
.astx-scope .astx-review-text {
    overflow: hidden;
    line-height: 1.5;
}
.astx-scope .astx-review-text:not(.expanded) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.astx-scope .astx-review-more {
    color: #745CC8;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
}
.astx-scope .astx-review-more:hover {
    text-decoration: none;
}

.astx-scope .astx-review-link {
    color: #C2C2C2;
    text-decoration: underline;
}
.astx-scope .astx-review-link:hover {
    text-decoration: none;
}

@media (min-width: 1025px) {
    .astx-scope .astx-review-text,
    .astx-scope .astx-review-more,
    .astx-scope .astx-review-link {
        font-size: 1.17vw;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .astx-scope .astx-review-text,
    .astx-scope .astx-review-more,
    .astx-scope .astx-review-link {
        font-size: 1.56vw;
    }
}
@media (max-width: 767px) {
    .astx-scope .astx-review-text,
    .astx-scope .astx-review-more,
    .astx-scope .astx-review-link {
        font-size: 3vw;
    }
}

/* SHORT DESCRIPTION */
.astx-scope .astx-short-desc {
    color: #3A3A3A;
    font-family: 'Open Sans', sans-serif;
}
@media (min-width: 1025px) {
    .astx-scope .astx-short-desc { font-size: 1.17vw; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .astx-scope .astx-short-desc { font-size: 1.56vw; }
}
@media (max-width: 767px) {
    .astx-scope .astx-short-desc { font-size: 2.78vw; }
}

/* ===== BURGER MENU (Task 1) ===== */

/* Триггер (сама кнопка) */
.astx-scope .astx-menu-trigger-wrap {
    display: inline-block;
    cursor: pointer;
    z-index: 1000000; /* Очень высокий Z-index, чтобы быть выше оверлея */
    position: relative; /* Чтобы Z-index сработал */
}
.astx-scope .astx-menu-trigger {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
}
/* Размеры иконки задаются через динамический CSS/HTML (vw/px) */

/* Модальное окно (Overlay) */
.astx-burger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-color: #F7F7F7; /* Фон меню (как на скриншоте, светло-серый) */
    z-index: 999999; /* Чуть ниже кнопки закрытия */
    
    display: flex;
    flex-direction: column;
    
    padding: 0; /* Внутренние отступы зададим контейнеру */
    
    /* Анимация появления */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.astx-burger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.astx-burger-menu-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 20px 40px 40px; /* Отступ сверху под шапку, слева под контент */
    box-sizing: border-box;
    max-width: 1200px; /* Ограничитель ширины контента */
    margin: 0 auto;
}
@media (max-width: 767px) {
    .astx-burger-menu-container {
        padding: 80px 20px 30px 20px;
    }
}

.astx-burger-scroll {
    flex: 1;
    overflow-y: auto; /* Скролл если контент не влезает */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Навигация сверху, контакты снизу */
}

/* Навигация */
.astx-burger-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.astx-burger-nav > ul > li {
    margin-bottom: 15px;
}
.astx-burger-nav a {
    text-decoration: none;
    color: #3A3A3A;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.2s;
}
.astx-burger-nav a:hover {
    color: #745CC8;
}

/* 1 уровень (Каталог, Где купить...) */
.astx-burger-nav > ul > li > a {
    font-size: 24px;
    font-weight: 400; /* Regular как на макете */
    line-height: 1.4;
}

/* 2 уровень (Вложенные пункты) */
.astx-burger-nav ul ul {
    margin-top: 10px;
    margin-left: 20px; /* Отступ вложенности */
}
.astx-burger-nav ul ul li {
    margin-bottom: 8px;
}
.astx-burger-nav ul ul li a {
    font-size: 18px;
    color: #3A3A3A;
}

/* Футер меню (Контакты) */
.astx-burger-footer {
    margin-top: 40px;
}

.astx-burger-phone {
    font-size: 20px;
    color: #3A3A3A;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

.astx-burger-btn {
    display: inline-block;
    color: #745CC8;
    text-decoration: underline; /* Подчеркнутая ссылка как на макете */
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;
}
.astx-burger-btn:hover {
    text-decoration: none;
}

/* Соцсети (Изображения) */
.astx-burger-socials {
    display: flex;
    gap: 15px;
}
.astx-burger-socials .soc-item {
    display: block;
    width: 48px;
    height: 48px;
    transition: opacity 0.2s;
}
.astx-burger-socials .soc-item:hover {
    opacity: 0.8;
}
/* Стили для картинок соцсетей */
.astx-burger-socials .soc-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Чтобы иконка не плющилась */
    display: block;
}

/* Мобильная адаптация шрифтов меню */
@media (max-width: 767px) {
    .astx-burger-nav > ul > li > a { font-size: 20px; }
    .astx-burger-nav ul ul li a { font-size: 16px; }
    .astx-burger-phone { font-size: 18px; }
    .astx-burger-btn { font-size: 15px; }
    .astx-burger-socials .soc-item { width: 40px; height: 40px; }
}

/* Блокировка скролла body при открытом меню */
body.astx-menu-open {
    overflow: hidden;
}