.hero-product-detail {
    position: relative;
    min-height: 130px;
}

.produit-detail-section {
    background: #ffffff;
}

.produit-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.50fr) minmax(300px, 1fr);
    gap: clamp(1rem, 3rem, 3rem);
    align-items: start;
}

.produit-detail-media {
    display: grid;
    grid-template-columns: minmax(95px, 150px) minmax(0, 1fr);
    gap: 0.45rem;
}

.produit-detail-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.produit-detail-thumb {
    border: none;
    padding: 0;
    background: #dddde0;
    cursor: pointer;
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}
.produit-detail-thumb.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(69, 69, 69, 0.601);        
    pointer-events: none;
}

.produit-detail-main-image {
    background: #dddde0;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
}

.produit-detail-thumb img,
.produit-detail-main-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.produit-detail-content {
    color: #2f3138;
    max-width: 520px;
    font-size: 1rem;
}

.produit-detail-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.produit-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.produit-detail-stars {
    display: inline-flex;
    gap: 0.45rem;
    font-size: 1rem;
}

.produit-detail-stars .is-filled {
    color: #e63244;
}

.produit-detail-stars .is-empty {
    color: #cdced3;
}

.produit-detail-rating-value {
    color: #8d8e95;
    font-size: 1rem;
    font-weight: 400;
}

.produit-detail-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-bottom: 1rem;
}

.produit-detail-price-current {
    color: #e63244;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.produit-detail-price-old {
    color: #8a8b91;
    font-size: 0.9rem;
    text-decoration: line-through;
    align-self: flex-start;
    margin-top: -3px;
}

.produit-detail-description {
    margin: 0 0 1rem;
    color: #83858d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.produit-detail-features {
    margin: 0 0 1.4rem;
    padding-left: 1.45rem;
    color: #93949b;
    font-size: 0.8rem;
    line-height: 1.55;
}

.produit-detail-features li + li {
    margin-top: 0.45rem;
}

.produit-detail-colors {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.produit-detail-colors-label {
    color: #2f3138;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.produit-detail-colors-palette {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.produit-detail-color {
    --swatch-color: #2f3138;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--swatch-color);
    border: 3px solid #ececee;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.produit-detail-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.produit-detail-order-btn {
    border-radius: 0;
    min-height: 46px;
    width: min(100%, 420px);
    font-size: 1rem;
    letter-spacing: 0;
}

.produit-detail-favorite-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #d6d7da;
    background: transparent;
    color: #565961;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.produit-detail-share-label {
    margin: 0 0 0.75rem;
    color: #2f3138;
    font-size: 1rem;
    font-weight: 700;
}

.produit-detail-share-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.produit-detail-share-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e63244;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.produit-order-modal-content {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 70px rgba(28, 32, 44, 0.22);
}

.produit-order-modal-header,
.produit-order-modal-footer {
    border: none;
    padding: 1.5rem 1.75rem;
}

.produit-order-modal-header {
    background: linear-gradient(135deg, #fff6f3 0%, #fff 100%);
    align-items: start;
}

.produit-order-modal-kicker {
    color: #e63244;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.produit-order-modal-title {
    margin: 0;
    color: #1f2430;
    font-size: 1.5rem;
    font-weight: 700;
}

.produit-order-modal-body {
    padding: 0 1.75rem 1.75rem;
}

.produit-order-summary {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem;
    border-radius: 22px;
    background: #f7f8fa;
}

.produit-order-summary-media {
    background: #eceff4;
    border-radius: 20px;
    overflow: hidden;
    min-height: 140px;
}

.produit-order-summary-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.produit-order-summary-label {
    margin: 0 0 0.3rem;
    color: #7a808d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.produit-order-summary-name {
    margin: 0 0 0.35rem;
    color: #1f2430;
    font-size: 1.25rem;
    font-weight: 700;
}

.produit-order-summary-price {
    margin: 0 0 0.55rem;
    color: #e63244;
    font-size: 1.2rem;
    font-weight: 700;
}

.produit-order-summary-text {
    margin: 0;
    color: #666d79;
    line-height: 1.6;
}

.produit-order-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.produit-order-payment-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid #e6e8ed;
    border-radius: 22px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.produit-order-payment-card:hover,
.produit-order-payment-card.is-active {
    border-color: #e63244;
    box-shadow: 0 18px 34px rgba(230, 50, 68, 0.12);
    transform: translateY(-1px);
}

.produit-order-payment-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.produit-order-payment-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.produit-order-payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.produit-order-payment-icon-orange {
    background: linear-gradient(135deg, #ff7c00 0%, #ff9f43 100%);
    padding: 0.25rem;
}

.produit-order-payment-icon-mvola {
    background: linear-gradient(135deg, #0a9d57 0%, #13bf6a 100%);
}

.produit-order-payment-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.produit-order-payment-name {
    color: #232834;
    font-weight: 700;
}

.produit-order-payment-description {
    color: #6f7683;
    font-size: 0.92rem;
    line-height: 1.45;
}

.produit-order-payment-note {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #fff6f3;
    color: #7a4a3b;
    line-height: 1.55;
}

.produit-order-customer-fields {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f7f8fa;
}

.produit-order-field-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #232834;
    font-weight: 700;
}

.produit-order-field-input {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid #d9dde6;
    box-shadow: none;
}

.produit-order-field-input:focus {
    border-color: #0a9d57;
    box-shadow: 0 0 0 0.2rem rgba(10, 157, 87, 0.12);
}

.produit-order-field-help {
    margin-top: 0.6rem;
    color: #6f7683;
    line-height: 1.55;
}

.produit-order-modal-feedback {
    margin-top: 1rem;
    margin-bottom: 0;
    border-radius: 18px;
}

.produit-order-modal-footer {
    justify-content: space-between;
    gap: 1rem;
}

.produit-order-start-btn {
    min-width: 210px;
    min-height: 48px;
}

.tab-container{
    width: 100%;
    height: 100%;
}

.produit-detail-tabs-section {
    margin: auto;
    background: #ffffff;
    padding: 0 0 4rem;
}

.produit-detail-tabs-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #fff7f5;
    height: 52px;
}

.produit-detail-tab {
    border: none;
    background: transparent;
    color: #8f8f94;
    height: 100%;
    font-size: clamp(0.9rem, 0.9rem, 1.9rem);
    font-weight: 400;
    border-bottom: 4px solid transparent;
}

.produit-detail-tab.is-active {
    padding: 1rem 1.5rem 0.85rem;
    color: #3e3f45;
    border-bottom-color: #e63244;
}

.produit-detail-tab-panel {
    padding-top: 2.3rem;
    color: #8f9198;
    font-size: 0.9rem;
    line-height: 1.8;
}

.produit-detail-tab-panel p {
    margin: 0;
}

.produit-detail-tab-panel ul {
    margin: 1.65rem 0 0;
    padding-left: 1.4rem;
}

.produit-detail-tab-panel li + li {
    margin-top: 0.45rem;
}

@media (max-width: 1199.98px) {
    .produit-detail-thumb {
        height: 128px;
    }

    .produit-detail-main-image {
        height: 410px;
        max-height: 410px;
    }
}

@media (max-width: 991.98px) {
    .hero-product-detail {
        min-height: 115px;
    }

    .produit-detail-section {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .produit-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .produit-detail-media {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .produit-detail-thumb {
        height: 118px;
    }

    .produit-detail-main-image {
        height: 360px;
        max-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .produit-detail-section {
        padding-top: 1.4rem;
        padding-bottom: 2.4rem;
    }

    .produit-detail-media {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .produit-detail-thumbs {
        order: 2;
        flex-direction: row;
    }

    .produit-detail-thumb {
        flex: 1 1 0;
        height: 90px;
    }

    .produit-detail-main-image {
        height: 260px;
        max-height: 260px;
    }

    .produit-detail-description {
        font-size: 1rem;
    }

    .produit-detail-features {
        font-size: 1rem;
    }

    .produit-detail-colors-label {
        font-size: 1rem;
    }

    .produit-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .produit-detail-order-btn {
        width: 100%;
    }

    .produit-detail-favorite-btn {
        width: 100%;
        height: 46px;
    }

    .produit-detail-tabs-section {
        padding-bottom: 2.5rem;
    }

    .produit-order-payment-methods {
        grid-template-columns: 1fr;
    }

    .produit-order-summary {
        grid-template-columns: 1fr;
    }

    .produit-order-summary-media {
        min-height: 220px;
    }

    .produit-order-modal-header,
    .produit-order-modal-body,
    .produit-order-modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .produit-order-modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .produit-order-start-btn {
        width: 100%;
    }

    .produit-detail-tab {
        font-size: 1.05rem;
        padding: 1rem 0.65rem 0.85rem;
        border-bottom-width: 4px;
    }

    .produit-detail-tab-panel {
        padding-top: 1.2rem;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .produit-detail-tab-panel ul {
        margin-top: 1.1rem;
    }
}
