.product-container {
    background-color: #121212;
    color: #fff;
    padding: 40px 20px;
}

.product-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-gallery {
    width: 550px;
    position: sticky;
    top: 20px;
}

.main-image-container {
    background-color: #1d1d21;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.main-image-container img {
    max-width: 100%;
    height: auto;
}

.thumbnails-container {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.thumbnails-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 5px;
}

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

.thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    background-color: #1d1d21;
}

.thumb.active {
    border-color: #d53631;
}

.scroll-arrow {
    position: absolute;
    height: 100%;
    width: 35px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 5;
}

.scroll-prev {
    left: 0;
    background: linear-gradient(to right, #121212 50%, transparent);
    justify-content: flex-start;
}

.scroll-next {
    right: 0;
    background: linear-gradient(to left, #121212 50%, transparent);
    justify-content: flex-end;
}

.bonus-line {
    background-color: #1d1d21;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    border: 1px solid #2a2a2a;
}

.bonus-line img {
    width: 40px;
}

.bonus-line span {
    color: #44db44;
    font-weight: bold;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 5px;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9a45c;
    margin-bottom: 20px;
    font-size: 14px;
    white-space: nowrap;
}

.reviews-count {
    color: #888;
}

.stars-box {
    font-size: 18px;
    background: linear-gradient(119deg, #d0bf95, #a48446);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.description {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.4;
}

.specs {
    list-style: none;
    margin-bottom: 25px;
}

.specs li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.specs li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c9a45c;
    font-weight: bold;
}

.price-block {
    margin-bottom: 25px;
}

.price-now {
    font-size: 28px;
    font-weight: bold;
    color: #d53631;
}

.price-old {
    font-size: 18px;
    color: #666;
    text-decoration: line-through;
    margin-left: 10px;
}

.selection-title{
    margin-bottom: 20px;
}

.offers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.offer-item {
    background-color: #1d1d21;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    padding: 20px 8px 12px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.offer-item.active {
    border-color: #c9a45c;
}

.offer-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: 8px;
    padding: 4px 2px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}

.offer-badge.popular { background-color: #c9a45c; color: #000; }
.offer-badge.best { background-color: #000; border: 1px solid #c9a45c; color: #c9a45c; }

.offer-name {
    font-size: 9px;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 22px;
}

.offer-img {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.offer-img img {
    max-width: 90%;
    max-height: 100%;
}

.offer-meta {
    font-size: 13px;
    font-weight: bold;
}

.offer-save {
    font-size: 10px;
    color: #888;
    margin-top: 4px;
}

.buy-button {
    width: 100%;
    background-color: #c9a45c;
    color: #000;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 35px;
    cursor: pointer;
    text-transform: uppercase;
}

.product-details-extra {
    margin-top: 30px;
}

.review-snippet {
    padding: 20px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.review-snippet p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.review-author {
    color: #888;
    font-size: 13px;
}

.accordion-item {
    border-bottom: 1px solid #333;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
}

.accordion-header .chevron {
    transition: transform 0.3s;
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 20px;
}

.spec-infographic img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.spec-text-list {
    list-style: none;
}

.spec-text-list li {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
}

.guarantee-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 10px;
}

#main-product-img {
    transition: opacity 0.2s ease-in-out;
}

.offer-item {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.offer-item:active {
    transform: scale(0.98);
}

.offer-item.active {
    background: linear-gradient(180deg, rgba(52, 152, 219, 0.15) 0%, rgba(30, 30, 30, 1) 100%);
    border-color: #d0bf95;
    box-shadow: inset 0 0 15px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .product-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .product-gallery {
        width: 100%;
        max-width: 600px;
        position: static;
    }

    .product-info {
        width: 100%;
        max-width: 600px;
    }

    .accordion-header {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .offers-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .offer-item {
        padding: 20px 4px 10px;
    }

    .offer-name {
        font-size: 8px;
        line-height: 1.1;
        min-height: 18px;
    }

    .offer-img {
        height: 50px;
    }

    .offer-meta {
        font-size: 11px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .offer-meta del {
        margin-left: 0;
        font-size: 9px;
    }

    .offer-save {
        font-size: 8px;
        margin-top: 2px;
    }

    .offer-badge {
        font-size: 6px;
        width: 95%;
        padding: 3px 0;
        top: -8px;
    }
}

@media (max-width: 380px) {
    .offers-list {
        gap: 4px;
    }

    .offer-name {
        font-size: 7px;
    }

    .offer-meta {
        font-size: 9px;
    }

    .offer-meta del {
        font-size: 8px;
    }
}