/* Основний контейнер товару */
.product-container {
    background: linear-gradient(90deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
    padding: 28px 20px;
    border: 1.5px solid #c7d2fe;
}
.image-section { position: relative; }
.image-container {
    background: #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}
.image-container img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 14px;
    background: #e0e7ff;
    transition: box-shadow 0.18s, transform 0.18s;
}
.image-container img:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.18);
    transform: scale(1.03);
}
.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1.5px solid #c7d2fe;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    font-size: 1.3rem;
    color: #2563eb;
    z-index: 2;
    transition: border 0.18s, color 0.18s;
}
.image-nav:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}
.image-nav.prev { left: 10px; }
.image-nav.next { right: 10px; }
.thumbnails-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 12px;
}
.thumbnail {
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    background: #f1f5f9;
    transition: border 0.18s;
}
.thumbnail.active, .thumbnail:hover { border-color: #2563eb; }
.thumbnail img {
    width: 60px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #e0e7ff;
}
.image-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 10px;
}
.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: background 0.18s;
}
.image-dot.active { background: #2563eb; }
.product-info-card {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 22px 22px 14px 22px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
    border: 1.5px solid #e0e7ff;
}
.product-info-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 14px;
}
.product-info-body { }
.product-meta {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 12px;
}
.product-meta-item { margin-bottom: 6px; }
.meta-label {
    color: #64748b;
    font-weight: 500;
}
.article-badge {
    background: #e0e7ff;
    color: #2563eb;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 1em;
    margin-left: 8px;
    font-weight: 600;
}
.price-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
    padding: 14px 18px;
    margin-bottom: 12px;
    border: 1.5px solid #c7d2fe;
}
.price-info {
    display: flex;
    align-items: center;
    gap: 18px;
}
.price-label {
    color: #64748b;
    font-weight: 500;
}
.price-value {
    font-weight: 700;
    color: #1d4ed8;
    font-size: 1.2rem;
    margin-left: 8px;
}
.availability-column { font-size: 0.98rem; }
.quantity-column { margin-left: 16px; }
.quantity-input {
    width: 60px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
}
.button-column { margin-left: 12px; }
.btn-add-to-cart {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.btn-add-to-cart:hover {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
    color: #fff;
}
.btn-add-to-cart, .btn-outline {
    transition: background 0.2s, box-shadow 0.18s, transform 0.18s;
}
.btn-add-to-cart:hover, .btn-outline:hover {
    transform: scale(1.04);
}
.btn-outline {
    background: none;
    border: 1.5px solid #2563eb;
    color: #2563eb;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
}
.btn-outline:hover, .btn-outline:focus {
    background: #2563eb;
    color: #fff;
}
.description-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
    margin-bottom: 1.5rem;
    border: 1.5px solid #e0e7ff;
}
.description-header {
    border-bottom: 1px solid #e0e7ef;
    padding: 18px 24px;
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
}
.description-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #2563eb;
}
.description-body { padding: 22px; color: #334155; }
.no-description-alert {
    background-color: #f1f5f9;
    border-left: 5px solid #2563eb;
    padding: 20px;
    border-radius: 6px;
    color: #64748b;
}
.part-benefits {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}
.part-benefits li { padding: 5px 0; }
.call-to-action { margin-top: 22px; }
.stock-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    margin-left: 8px;
}
.in-stock {
    background: #e0fce0;
    color: #22c55e;
    border: 1px solid #22c55e;
}
.out-stock {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #ef4444;
}
.out-of-stock-msg {
    color: #ef4444;
    font-weight: 600;
    font-size: 1em;
    padding: 6px 0;
    display: block;
}

@media (max-width: 991px) {
    .product-container { padding: 12px 4px; }
    .image-container img { max-height: 260px; }
    .product-info-card { padding: 12px 6px 8px 6px; }
    .description-section { padding: 0 2px; }
  .sticky-buy-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(37,99,235,0.10);
    padding: 10px 12px 14px 12px;
    z-index: 1000;
  }
  .sticky-buy-btn .btn-add-to-cart {
    font-size: 1.15rem;
    padding: 12px 0;
    border-radius: 10px;
  }
}
@media (max-width: 600px) {
    .product-info-header h1 { font-size: 1.1rem; }
    .description-header { padding: 12px 10px; }
    .description-body { padding: 10px; }
}