/* Стили страницы товара (вынесены из product.twig). Порядок блоков сохранён. */

/* ===== из product.twig, стр. 246 ===== */
 

       .zoom-container {
  width: 400px; /* Задайте нужную ширину */
  height: auto; /* Задайте нужную высоту */
  overflow: hidden;
  
  cursor: zoom-in;
  margin-bottom: 20px; /* Отступ между карточками */
  display: inline-block; /* Позволит выстроить их в ряд, если место позволяет */
}

.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
  transform-origin: var(--x, 50%) var(--y, 50%);
}

.zoom-container:hover .zoom-image {
  transform: scale(2.5); /* Сила увеличения */
}
 

.css-indbvb {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    user-select: none;
    cursor: zoom-in;
    touch-action: pan-y pinch-zoom;
}
  .css-2nxgia div {
    box-sizing: border-box;
    user-select: none;
}

  

/* ===== из product.twig, стр. 347 ===== */
  /* Основной контейнер */
  .quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    font-family: sans-serif;
  }

  /* Кнопки плюс и минус */
  .quantity-btn {
    background-color: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
  }

  .quantity-btn:hover {
    background-color: #e0e0e0;
  }

  /* Поле ввода */
  #product-quantity {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    -moz-appearance: textfield; /* Убираем стандартные стрелочки в Firefox */
  }

  /* Убираем стандартные стрелочки в Chrome, Safari, Edge */
  #product-quantity::-webkit-outer-spin-button,
  #product-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

/* ===== из product.twig, стр. 399 ===== */
  
        
          .price_txt {
    justify-content: flex-start;
}

  .delivery-and-payment {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

  .delivery-and-payment-detailed {
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

  .delivery-and-payment-detailed__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

  .row-new {
    display: flex;
}

  .blog-comment {

    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 20px !important;
}

  .delivery-and-payment__item {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

  .stores_wrapp {
    width: 73%;
}

  .delivery-and-payment__points {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style-type: circle;
    padding-left: 4px;
}

  .delivery-and-payment__text {
    margin-bottom: 0px !important;
    text-align: start;
}

  .delivery-and-payment__points__text {
    margin-bottom: 0px !important;
    text-align: start;
}

  .delivery-and-payment__text-main {
    color: black;
}

  .delivery-and-payment__points__text::before {
    color: rgba(0, 0, 0, 0.699) !important;
}

  .left-under-container-visible {
    display: none;
}
.list-images-delivery {
    padding: 10px 0px;
    text-align: left;
    display: flex;
    gap: 10px;
   
}

.list-images-delivery img{ max-height:21px;}

/* ===== из product.twig, стр. 497 ===== */
                               .ac-pp-stock{margin:-8px 0 -12px;line-height:1}
                               .ac-pp-stock .ac-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border-radius:999px;background:#e9eef7;color:#2b2f36;font-size:12px;font-weight:700;line-height:1.2}
                               .ac-pp-stock .ac-badge i{width:12px;height:12px;border-radius:50%;background:#6E89BD}
                               .ac-pp-stock .ac-badge--in{background:#e3f4e6}
                               .ac-pp-stock .ac-badge--in i{background:#1f7a3a}
                             

/* ===== из product.twig, стр. 579 ===== */
    .ac-pp-price__label{font-size:14px;font-weight:700;color:#2b2f36}
    .ac-pp-price__label sup{color:#1f4ea8;font-size:13px;top:-.3em}
    .ac-pp-price__value{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:2px 0 0;white-space:nowrap}
    .ac-pp-price__old{font-size:15px;font-weight:400;color:#6b7280}
    .ac-pp-price__vat{font-size:13px;color:#6b7280}
    .ac-pp-cols{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:10px;margin:0 0 14px}
    .ac-pp-total{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;padding:6px 10px;background:#f3f5f8;border-radius:3px;font-size:13px;line-height:1.3;color:#2b2f36}
    .ac-pp-total[hidden]{display:none}
    .ac-pp-total__value{font-size:18px;line-height:1.2;color:#1f4ea8;white-space:nowrap}
    .ac-pp-total__each,.ac-pp-total__vat{font-size:12px;color:#6b7280}
    .ac-pp-total__each[hidden]{display:none}
    .ac-pp .ac-byn{display:inline-block;width:.68em;height:.74em;margin-left:.18em;vertical-align:baseline;fill:currentColor}
    .ac-pp-step{display:flex;align-items:center;height:42px;margin-top:4px;overflow:hidden;background:#fff;border:2px solid #5c6068;border-radius:2px}
    .ac-pp-step:hover{border-color:#1f4ea8}
    .ac-pp-step:focus-within{border-color:#2b2f36;box-shadow:0 0 0 2px #f5d000}
    .ac-pp-step__btn{flex:0 0 42px;align-self:stretch;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:#e9ebee;color:#2b2f36;cursor:pointer}
    .ac-pp-step__btn--dec{padding-right:6px;clip-path:polygon(0 0,100% 0,calc(100% - 7px) 100%,0 100%)}
    .ac-pp-step__btn--inc{padding-left:6px;clip-path:polygon(7px 0,100% 0,100% 100%,0 100%)}
    .ac-pp-step__btn svg{width:15px;height:15px}
    .ac-pp-step__btn:hover{background:#dde7f7;color:#1f4ea8}
    .ac-pp-step__btn:disabled{color:#b3b8bf;background:#e9ebee;cursor:default}
    .ac-pp-step__field{flex:1 1 auto;min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center;gap:3px;margin:0;font-weight:400;cursor:text}
    .ac-pp-step__input{width:2.6ch;min-width:0;height:100%;border:0;padding:0;text-align:right;font-size:17px;color:#1f4ea8;outline:none;background:transparent}
    .ac-pp-step__unit{font-size:15px;color:#6b7280}
    /* таблица скидок: подсвечивается строка, которая сейчас действует */
    [data-testid="price-breaks"] tbody tr.ac-pb-row{background:#fff;font-weight:400}
    [data-testid="price-breaks"] tbody tr.ac-pb-row.ac-pb-active{background:#e6f6f4;font-weight:700}
  

/* ===== из product.twig, стр. 770 ===== */
  .ac-pp-docs{justify-self:center;display:inline-flex;align-items:center;gap:6px;margin:14px auto 0;padding:0;border:0;background:none;color:#1f4ea8;font-size:14px;font-weight:700;cursor:pointer}
  .ac-pp-docs:hover,.ac-pp-docs:focus{text-decoration:underline}
  .ac-pp-docs svg{width:16px;height:16px;fill:currentColor}

/* ===== из product.twig, стр. 963 ===== */
/* По умолчанию скрываем SVG */
.input {
  border-width: 3px;
}

.nav-icon {
  display: none;
  vertical-align: middle;
  margin-left: 5px; /* Отступ от текста */
  
  
}

/* Показываем SVG, когда кнопка получает класс .active от Bootstrap */
.nav-item.active .nav-icon {
  display: inline-block;
}

.active{background-color: transparent !important;}
 
 
 .nav-item:hover {
 background-color: transparent !important;
  border: 1px solid #6E89BD;}
  
  
   .nav-item:hover.nav-icon {
  opacity: 1;
  visibility: visible;
}



   
   
   .nav-item.active {
  color: rgba(0, 0, 0, 1);}
  background-color: transparent !important; /* Убирает стандартный синий фон Bootstrap, если он не нужен */
}
   
    .nav-item {
   color: rgba(112, 112, 112, 1); !important; }
   
   .nav-item {
  position: relative;
  padding: 20px;
  background: #f0f0f0;
  cursor: pointer;
}

 

/* При наведении на родителя делаем SVG видимым */
.nav-item:hover .nav-icon {
  display: initial;
}
   

  

/* ===== из product.twig, стр. 1346 ===== */
   .form-control::placeholder {
  color: #e3d5d5;
  
} 

/* ===== из product.twig, стр. 1780 ===== */
  .ac-sim-hint{display:flex;align-items:center;gap:8px;margin:12px 0 10px;color:#1f3a6e;font-size:14px;font-weight:700}
  .ac-sim-hint svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
  .ac-sim-check{position:relative;display:inline-flex;align-items:center;gap:10px;margin:0;font-weight:700;cursor:pointer;white-space:nowrap}
  .ac-sim-check input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
  .ac-sim-check i{flex:0 0 20px;width:20px;height:20px;border:2px solid #5c6068;border-radius:2px;background:#fff}
  .ac-sim-check:hover i{border-color:#1f4ea8}
  .ac-sim-check input:focus-visible + i{outline:2px solid #f5d000;outline-offset:1px}
  .ac-sim-check input:checked + i{border-color:#1f4ea8;background:#1f4ea8 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='m8 55 25 25 59-59-9-9-50 50-16-16z' fill='white'/></svg>") center/13px no-repeat}
  .ac-sim-check input:indeterminate + i{border-color:#1f4ea8;background:#1f4ea8 linear-gradient(#fff,#fff) center/10px 2px no-repeat}
  .ac-sim-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:14px 0 6px}
  .ac-sim-btn{min-height:40px;padding:6px 16px;border:2px solid #1f4ea8;border-radius:2px;background:#fff;color:#1f4ea8;font-size:15px;font-weight:700;cursor:pointer}
  .ac-sim-btn:hover:not(:disabled),.ac-sim-btn:focus:not(:disabled){background:#e8eef9}
  .ac-sim-btn:disabled{border-color:#c9cdd3;color:#a3a8af;cursor:default}
  .ac-sim-note{color:#6b7280;font-size:13px}
  /* телефоны: показываем настоящую таблицу характеристик; старая «мобильная» с данными RS PRO не нужна */
  #home [data-testid="desktop"] > .hidden{display:block !important;overflow-x:auto}
  [data-testid="specification-attributes-mobile"]{display:none !important}

/* ===== AC: пока скрипт галереи не запустился — видно только первое фото
   (раньше скрипт стоял сразу после галереи, теперь он в конце страницы) ===== */
.containeransid:not(.ac-ready) button ~ button .mySlides{display:none !important}

/* ===== AC: цены нет — на её месте «Состояние на складе» (Под заказ 2-3 недели и т.п.) ===== */
.ac-pp-status{margin:0;overflow-wrap:anywhere;word-break:normal}

/* ===== AC: под «ЗАПРОСИТЬ С САЙТА» — К сравнению / В заказ / Сравнение ===== */
.ac-pp-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.ac-pp-act{font-family:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:62px;padding:8px 4px;border:1px solid #d3d9e3;border-radius:8px;background:#fff;color:#55709F;font-size:12px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.ac-pp-act:hover,.ac-pp-act:focus{border-color:#6E89BD;background:#f2f5fa;color:#435b85;text-decoration:none}
.ac-pp-act:focus-visible{outline:2px solid #6E89BD;outline-offset:2px}
.ac-pp-act svg{width:20px;height:20px;fill:currentColor}
.ac-pp-act svg.ac-pp-act__line{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ac-pp-act.is-in-order{border-color:#9fd3ab;background:#f1faf3;color:#1f7a3a !important}