/* =========================================================================
   PANIER TDC — Layout
   ========================================================================= */

.tdc-cart-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    font-family: 'Montserrat', sans-serif;
    flex-direction: column;
    padding: 32px 0;
}

.tdc-cart-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.tdc-cart-sidebar {
    width: 100%;
    max-width: 490px;
    flex-shrink: 0;
    margin: 0 0 0 auto;
}

/* =========================================================================
   TABLEAU PRODUITS
   ========================================================================= */

.tdc-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-bottom: 20px;
    border:none !important;
}

.tdc-cart-table thead tr {
    box-shadow: rgb(0 0 0 / 5%) 0 1px 13px;
}

.tdc-cart-table tbody tr {
    box-shadow: rgb(0 0 0 / 5%) 0 1px 13px;
}

.tdc-cart-table thead th {
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #333;

}

.tdc-cart-table tbody tr td {
    padding: 16px;
    vertical-align: middle;
    background: #fff;
    border: none !important;
}
/* variations*/
.tdc-cart-table dl.variation{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    dt{
        margin: 0;
        }
    dd{
        margin: 0 15px 0 0;
    }
}

    /* Image */
.tdc-cart-col-image {
    width: 110px;
}

.tdc-cart-col-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.tdc-cart-col-image a {
    display: block;
}

/* Nom */
.tdc-cart-col-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.tdc-cart-col-name a {
    color: #333;
    text-decoration: none;
}

.tdc-cart-col-name a:hover {
    color: #E60013;
}

.tdc-cart-sku {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    margin-bottom: 4px;
}

/* Quantité */
.tdc-cart-col-qty {
    width: 130px;
    text-align: center;
}

.tdc-cart-col-qty .quantity .qty {
    width: 80px !important;
    height: 38px !important;
    border: 1.5px solid #E60013 !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 30px 0 16px !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.tdc-cart-col-qty .quantity .qty::-webkit-inner-spin-button {
    opacity: 1;
    margin-right: 8px;
    cursor: pointer;
}

/* =========================================================================
   BOUTON RETOUR
   ========================================================================= */

.tdc-cart-back-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 1.5px solid #333;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tdc-cart-back-btn:hover {
    background: #333;
    color: #fff;
}

/* =========================================================================
   CARD RÉCAPITULATIF
   ========================================================================= */

.tdc-cart-recap {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 28px 24px;
    background: #fff;
}

.tdc-cart-recap-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px 0;
}

.tdc-cart-recap-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

.tdc-cart-recap-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 16px 0;
}

.tdc-cart-recap-note {
    font-size: 13px;
    color: #666;
    margin: 0 0 20px 0;
}

.tdc-cart-validate-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: #E60013;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.tdc-cart-validate-btn:hover {
    background: #b8000f;
    color: #fff !important;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 768px) {
    .tdc-cart-wrapper {
        flex-direction: column;
    }

    .tdc-cart-sidebar {
        width: 100%;
    }
}
