/*

.nav, .nav-links, .dropdown {
    overflow: visible !important;
}

*/

.breadcrumb {
    max-width: 1200px;
    margin: 120px auto 0;
    font-size: .85rem;
    color: var(--muted);

}


.product-main {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}


.product-headlines {
    text-align: center;
}

.product-h1 {


    font-size: clamp(2rem, 8vw, 1.5rem);

    font-weight: 800;
    display: block;


    background: linear-gradient(90deg, #F59E0B, #bb6f05);

    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;


}

.product-h2 {


    font-size: clamp(.7rem, 4.6vw, 1rem);
    font-weight: 700;


    margin-top: 0.3rem;


    background: linear-gradient(90deg, #4bc79b, #135439);

    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}


.product-details {
    display: grid;

    gap: 4rem;
    align-items: start;


    grid-template-columns: .9fr 1.1fr;
    max-width: 1100px;
    margin-inline: auto;


    margin-top: 4rem;


}


/* MAIN IMAGE */
.product-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-image {
    width: 100%;
    border-radius: 12px;
    object-fit: contain;
    transition: opacity .25s ease, transform .25s ease;
}

/* FADE ANIMATION */
.fade {
    opacity: 1;
}
.fade-switch {
    opacity: 0;
    transform: scale(0.98);
}

/* THUMBNAILS */
.product-thumbs {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

.product-thumbs .thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: .75;
    border: 2px solid transparent;
    transition: opacity .25s, border-color .25s, transform .15s;
}

.product-thumbs .thumb:hover {
    opacity: 1;
}

.product-thumbs .thumb.active {
    border-color: var(--brand);
    opacity: 1;
    transform: scale(1.05);
}























.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.product-title {


    align-content: center;

    font-size: 1.65rem;
    font-weight: 700;
    background: linear-gradient(90deg, #F59E0B, #bb6f05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;


}


.details-C {
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accC {
    border-radius: 10px;
    border: 1px solid #dce9e3;

    background: var(--bacgraund-linear-green);
    box-shadow: var(--shadow);
    padding: .7rem .9rem;
}

.accC summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accC summary::-webkit-details-marker {
    display: none;
}

.leftC {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: var(--accent);
}


.circleC {
    width: 32px;
    height: 32px;
    background: #e8f6ef;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.circleC svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);

}

.moreC {
    color: var(--brand);
    font-size: 1.9rem;
    font-weight: 600;
    white-space: nowrap;
    /*margin-left: .6rem;*/
}

.moreC::after {
    content: '[mehr]';
    color: var(--brand);
    font-weight: 600;
    font-size: .9rem;
}


.accC[open] .moreC::after {
    content: '[weniger]';
    color: var(--brand-dark);
}

.accC .moreC::after {
    content: '[mehr]';
}

.accC[open] .moreC {
    color: var(--brand-dark);
}

.accC[open] p {
    animation: fadeIn .3s ease;
}


.product-image-wrapper {
    width: 100%;
    max-width: 420px;
    margin-top: 0.3rem;
}


.product-info-block {
    background: var(--bacgraund-linear-green);
    border: 1px solid #dce9e3;
    border-radius: 12px;
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow);
    margin: 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.95rem;


}

.product-info-block span.label {
    font-weight: 600;
    color: var(--accent);
}

.product-info-block span.value {
    color: #0b3528;
}

.product-info-block .price-row {
    margin-top: 0.4rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}


.product-info-desktop {
    display: block;


}

.product-info-block {
    display: none;
}


.product-price span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}


.product-buy-box {
    margin-top: 1rem;
    display: flex;


    vertical-align: middle;

    align-items: center;
    gap: 3.6rem;


}


.qty-select,
.btn-3d,
.paypal-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}


.qty-select {


    border: 1px solid #ccc;

    background: var(--bacgraund-linear-green);
    font-size: 1rem;


    width: 70px;
    height: 44px;
    padding: 0 0.5rem;

    border-radius: 8px;


    display: flex;
    align-items: center;
}


.btn-3d.paypal-btn {
    background: #FFC439;
    color: #003087;


    height: 44px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;


}


.btn-3d.cart-btn-2 {


    background: var(--bacgraund-linear-green);
    border: 2px solid var(--brand);
    border-radius: 1rem;

    color: #fff;

    font-size: 1rem;

    margin-top: -10px;


    grid-column: 1 / -1;
    justify-self: center;


    height: 44px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;


}


.cart-btn-2:hover {
    transform: translateY(-4px) scale(1.1);
}








.product-extra {

    display: flex;
    gap: 1.5rem;
    justify-content: center;




    margin-top: 2rem;

    flex-direction: column;
    align-items: center; /* центрира бутоните */
}


.btn-extra {
    border: 2px solid var(--accent);
    padding: 0.7rem 1.6rem;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    color: var(--accent);
    font-weight: 600;
}

.btn-extra:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.product-extra-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-extra-body {
    width: 100%;
    max-width: 900px;   /* ширина на текста под бутоните */
}

.product-extra .tab-content {
    margin-bottom: 2rem;
}

/* ----- COMMENT FORM BASIC LAYOUT ----- */
#commentForm {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* ----- LABEL TEXT ----- */
#commentForm label p {
    margin-bottom: .5rem;
    font-size: 1rem;
    color: var(--text);
}

/* ----- TITLE INPUT ----- */
.comment-input-title {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color .2s;
}

.comment-input-title:focus {
    border-color: var(--accent);
}

/* ----- TEXTAREA ----- */
.comment-input-text {
    width: 100%;
    min-height: 140px;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: border-color .2s;
}

.comment-input-text:focus {
    border-color: var(--accent);
}

/* ----- STAR RATING ----- */
.rating-container {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.star-rating {
    display: flex;
    gap: .4rem;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.6rem;
    color: #ccc;
    transition: color .2s;
}

.star-rating input:checked ~ label {
    color: gold;
}

/* ----- ACTION BUTTONS (SEND + UPLOAD) ----- */
.comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

/* SEND BUTTON */
.btn-3d.btn-extra {
    padding: .8rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
}

/* ----- UPLOAD BOX ----- */
.comment-upload {
    display: flex;
    align-items: center;
}

.upload-box {
    background: #f2f2f2;
    padding: .8rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: .9rem;
    transition: background .2s, border-color .2s;
}

.upload-box:hover {
    background: #e5e5e5;
    border-color: var(--accent);
}

.file-input {
    display: none;
}





.btn-a {
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 600;
}

.update {
    background: #2563eb;
}

.delete {
    background: #dc2626;
}

.info {
    background: #6b7280;
}




/* RESPONSIVE */
@media(max-width: 600px) {
    .product-thumbs .thumb {
        width: 56px;
        height: 56px;
    }
}


@media (max-width: 900px) {


    .product-details {
        grid-template-columns: 1fr;
        margin-top: .5rem;
    }

    .product-buy-box {

        margin-left: 2rem;
    }

    .breadcrumb {
        padding-left: 0.8rem;
    }

    .seo-details[open] > p {
        background: #ffffff;
        color: var(--accent);
        box-shadow: none;
        padding: 1rem;
    }


    .product-info-desktop {
        display: none;
    }

    .product-info-block {
        display: block;
        margin-top: 1.2rem;
    }

    .product-extra {
        margin-top: 2rem;

    }







    .product-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (min-width: 800px) and (max-width: 1100px) {


    .breadcrumb {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;

        padding-left: .8rem;

    }


}


