/* Container */
.prod-container-1440 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Breadcrumbs */
.prod-breadcrumbs {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}
.product-page-slider .swiper-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.prod-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prod-breadcrumbs a:hover {
    color: #F56200;
}

.prod-breadcrumbs span:not(:last-child) {
    color: #2E1500;
}

/* Product Layout */
.prod-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 2rem;
    padding: 2rem 0;
}

/* Left Column - Images */
.prod-images-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-page-slider{
    max-width:930px;
    height: 600px;
    margin: 0;
}
/* Main Image Slider */
.prod-main-slider {
    width: 100%;
    position: relative;
    height: 600px;
    background: #F5F0E8;
    overflow: hidden;
    margin-bottom: 1rem;
}

.prod-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.prod-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    max-width: 100%;
}

.prod-slide.active {
    opacity: 1;
    visibility: visible;
}

.prod-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

.prod-slide-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    z-index: 10;
}

.prod-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.prod-slider-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prod-slider-nav.prev {
    left: 1rem;
}

.prod-slider-nav.next {
    right: 1rem;
}

/* Thumbnails Container */
.prod-thumbnails-container {
    position: relative;
    width: 100%;
}

.prod-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.prod-thumbnails::-webkit-scrollbar {
    display: none;
}

.prod-thumbnail {
    width: 100px;
    height: 100px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.prod-thumbnail:hover {
    border-color: #F56200;
}

.prod-thumbnail.active {
    border-color: #F56200;
}

.prod-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

/* Scroll Arrow for Thumbnails */
.prod-thumbnails-scroll-arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #C9A961;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.prod-thumbnails-scroll-arrow.visible {
    display: flex;
}

.prod-thumbnails-scroll-arrow:hover {
    background: #A88B4D;
}

.prod-thumbnails-scroll-arrow svg {
    width: 20px;
    height: 20px;
    color: white;
    transform: rotate(90deg);
}

/* Right Column - Product Info */
.prod-info {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.prod-info-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    position: relative;
}

.prod-wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-wishlist-btn:hover {
    background: #fafafa;
    border-color: #F56200;
}

.prod-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2E1500;
    padding-right: 3rem;
}

.prod-stock-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.prod-price-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.prod-price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.prod-current-price {
    font-size: 2rem;
    font-weight: 600;
    color: #2E1500;
}

.prod-old-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.prod-discount-badge {
    background: #F56200;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.prod-savings {
    font-size: 0.875rem;
    color: #2e7d32;
    font-weight: 500;
}

/* Selection Sections */
.prod-selection-section {
    margin-bottom: 1.5rem;
}

.prod-selection-label {
    font-size: 0.875rem;
    color: #2E1500;
    margin-bottom: 0.75rem;
}

.prod-selection-label span {
    color: #C9A961;
    font-weight: 500;
}

/* Color Selection */
.prod-color-options {
    display: flex;
    gap: 0.5rem;
}

.prod-color-btn {
    width: 2rem;
    height: 2rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.prod-color-btn:hover {
    transform: scale(1.1);
}

.prod-color-btn.active {
    border-color: #2E1500;
    border-width: 3px;
}

/* Size Selection */
.prod-size-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.prod-size-btn {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    background: white;
    color: #2E1500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.875rem;
}

.prod-size-btn:hover {
    border-color: #C9A961;
}

.prod-size-btn.active {
    border-color: #2E1500;
    background: #2E1500;
    color: white;
}

/* Quantity */
.prod-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}

.prod-qty-btn {
    width: 3rem;
    height: 3rem;
    border: 1px solid #e5e7eb;
    background: white;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    color: #2E1500;
}

.prod-qty-btn:hover {
    background: #fafafa;
}

.prod-qty-input {
    width: 4rem;
    height: 3rem;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #2E1500;
}

.prod-qty-input:focus {
    outline: none;
}

/* Action Buttons */
.prod-action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0;
}

.prod-btn-add-cart {
    flex: 1;
    background: #C9A961;
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.prod-btn-add-cart:hover {
    background: #A88B4D;
}

.prod-btn-buy-now {
    padding: 1rem 1.5rem;
    border: 1px solid #e5e7eb;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #2E1500;
    font-size: 0.875rem;
}

.prod-btn-buy-now:hover {
    background: #fafafa;
    border-color: #C9A961;
}

/* Product Tabs - Below Slider */
.prod-tabs {
    margin-top: 2rem;
    padding-top: 0;
}

.prod-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.prod-tab-btn {
    padding: 1rem 3rem;
    border: 1px solid transparent;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    cursor: pointer;
    font-weight: 400;
    color: #2E1500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    position: relative;
}

.prod-tab-btn:hover {
    color: #2E1500;
}

.prod-tab-btn.active {
    color: #2E1500;
    background: transparent;
    border: 1px solid #C9A961;
    border-bottom: 1px solid white;
    position: relative;
    z-index: 1;
    margin-bottom: -1px;
}

.prod-tab-content {
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    padding: 2rem;
    margin-top: -1px;
}

.prod-tab-panel {
    display: none;
}

.prod-tab-panel.active {
    display: block;
}

.prod-tab-panel p {
    color: #2E1500;
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Mobile Product Info Block - Hidden on desktop */
.prod-info-mobile {
    display: none;
}
@media(max-width: 1440px){
    .product-page-slider{
        max-width:calc(100vw - 500px);
        max-height: 60vw;
        margin: 0;
    }
}
/* Responsive */
@media (max-width: 1024px) {
    .prod-layout {
        grid-template-columns: 1fr;
    }

    .prod-info {
        position: static;
    }
    .product-page-slider{
        max-width:calc(100vw - 2rem);
        margin: 0;
    }
}

@media (max-width: 768px) {
    .prod-container-1440 {
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .prod-breadcrumbs {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .prod-layout {
        gap: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Mobile Slider - Full Width */
    .prod-images-wrapper {
        gap: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .prod-main-slider {
        height: 400px;
        margin-bottom: 0.75rem;
        width: 100%;
        max-width: 100vw;
    }

    .prod-slide {
        max-width: 100vw;
    }

    .prod-slide img {
        max-width: 100%;
        width: 100%;
    }

    .prod-slider-nav {
        width: 2rem;
        height: 2rem;
    }

    .prod-slider-nav.prev {
        left: 0.5rem;
    }

    .prod-slider-nav.next {
        right: 0.5rem;
    }

    .prod-slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .prod-slide-counter {
        bottom: 0.75rem;
        right: 0.75rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }

    /* Mobile Thumbnails - Single row with horizontal scroll */
    .prod-thumbnails-container {
        padding: 0 1rem 1rem;
        background: white;
        border-bottom: 8px solid #f9fafb;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .prod-thumbnails {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }

    .prod-thumbnails::-webkit-scrollbar {
        display: block;
        height: 4px;
    }

    .prod-thumbnails::-webkit-scrollbar-thumb {
        background: #C9A961;
        border-radius: 2px;
    }

    .prod-thumbnail {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .prod-thumbnails-scroll-arrow {
        display: none !important;
    }

    /* Show Mobile Product Info Block */
    .prod-info-mobile {
        display: block;
        padding: 1rem;
        background: white;
        border-bottom: 8px solid #f9fafb;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .prod-info-mobile .prod-title {
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.4;
        color: #2E1500;
        margin-bottom: 0.75rem;
        padding-right: 0;
    }

    .prod-info-mobile .prod-stock-badge {
        display: inline-block;
        background: #e8f5e9;
        color: #2e7d32;
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .prod-info-mobile .prod-price-section {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .prod-info-mobile .prod-price-row {
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 0.5rem;
    }

    .prod-info-mobile .prod-current-price {
        font-size: 1.5rem;
    }

    .prod-info-mobile .prod-old-price {
        font-size: 0.875rem;
    }

    .prod-info-mobile .prod-discount-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .prod-info-mobile .prod-savings {
        font-size: 0.8rem;
    }

    /* Hide Desktop Product Info on Mobile */
    .prod-info {
        display: none;
    }

    /* Mobile Tabs - Fixed width issue */
    .prod-tabs {
        margin-top: 0;
        padding-bottom: 120px;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .prod-tabs-nav {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-bottom: 1px solid #e5e7eb;
        background: white;
        position: sticky;
        top: 0;
        z-index: 50;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .prod-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .prod-tab-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .prod-tab-content {
        padding: 1rem;
        border: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .prod-tab-panel p {
        font-size: 0.875rem;
        line-height: 1.7;
    }

    /* Mobile Action Buttons - Fixed at bottom */
    .prod-action-buttons {
        flex-direction: column;
        gap: 0.75rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
        margin-bottom: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .prod-btn-add-cart {
        width: 100%;
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .prod-btn-buy-now {
        width: 100%;
        padding: 1rem;
        font-size: 0.9375rem;
    }

    /* Color and Size selections for mobile info */
    .prod-info-mobile .prod-selection-section {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .prod-info-mobile .prod-selection-section:last-of-type {
        border-bottom: none;
    }

    .prod-info-mobile .prod-selection-label {
        font-size: 0.8rem;
        margin-bottom: 0.625rem;
    }

    .prod-info-mobile .prod-color-options {
        gap: 0.75rem;
    }

    .prod-info-mobile .prod-color-btn {
        width: 1.5rem;
        height: 1.5rem;
    }

    .prod-info-mobile .prod-size-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .prod-info-mobile .prod-size-btn {
        padding: 0.875rem 0.5rem;
        font-size: 0.8rem;
    }

    .prod-info-mobile .prod-quantity-controls {
        width: 100%;
        justify-content: center;
    }

    .prod-info-mobile .prod-qty-btn {
        width: 3.5rem;
        height: 3rem;
    }

    .prod-info-mobile .prod-qty-input {
        width: 5rem;
        height: 3rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .prod-main-slider {
        height: 350px;
        width: 100%;
        max-width: 100vw;
    }

    .prod-info-mobile .prod-title {
        font-size: 1rem;
    }

    .prod-info-mobile .prod-current-price {
        font-size: 1.375rem;
    }

    .prod-thumbnail {
        width: 70px;
        height: 70px;
    }

    .prod-info-mobile .prod-qty-btn {
        width: 3rem;
    }

    .prod-info-mobile .prod-qty-input {
        width: 4rem;
    }
}



/* Оранжевый цвет для выбранного чекбокса */
.offer-radio:checked + .offer-label-cart {
    color: #F56200;
    border-color: #F56200;
    background-color: rgba(245, 98, 0, 0.1);
}

.offer-radio:checked + .offer-label-cart:before {
    border-color: #F56200;
    background-color: #F56200;
}

/* Стили для обычных состояний */
.offer-option {
    display: inline-block;
       position: relative;
}

.offer-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.offer-label-cart {
    display: inline-block;
    padding: 4px;

    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.offer-label-cart:hover {
    border-color: #F56200;
}

.offer-option.out-of-stock .offer-label-cart {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Кастомный чекбокс */
.offer-option {
    position: relative;
    padding-left: 24px;
}

.offer-option .offer-label-cart:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.offer-radio:checked + .offer-label-cart:before {
    border-color: #F56200;

    box-shadow: inset 0 0 0 3px white;
}


/* Стили для кнопок выбора */
.prod-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* Общие стили для кнопок выбора */
.prod-option-btn {
    position: relative;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
    color: #2E1500;
}

.prod-option-btn:hover:not(.disabled) {
    border-color: #C9A961;
    background: #f8f8f8;
}

.prod-option-btn.active {
    border-color: #C9A961;
    background: #C9A961;
    color: white;
    font-weight: 500;
}

.prod-option-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.prod-option-btn.disabled:hover {
    border-color: #e0e0e0;
    background: white;
}

/* Стили для бейджа "Нет в наличии" */
.option-badge {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
    display: none;
}

.prod-option-btn.disabled .option-badge {
    display: block;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .prod-option-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 50px;
        margin: 2px;
    }
    
    .option-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    /* Убираем стандартные радио-кнопки, если есть кнопки выбора */
    .prod-info-mobile .offer-selection {
        display: none;
    }
}

@media (min-width: 769px) {
    /* На десктопе мобильные кнопки скрыты в своем блоке */
    .prod-info-mobile {
        display: none;
    }
}