/*Woocommerce Clean Styles*/

#codFormModal input[type=email],
#codFormModal input[type=password],
#codFormModal input[type=tel],
#codFormModal input[type=text],
#codFormModal input[type=url],
#codFormModal textarea {
    background-repeat: no-repeat !important;
}
#commercegurus-pdp-gallery-wrapper{
    z-index:0;
}
.single-product div.product .variations_button{
    padding-top: 0 !important;
}
.single-product div.product form.cart {
    margin-bottom: 0 !important;
    padding: 0 !important;
}
#codFormModal{
    z-index: 999999;
}
#codDownsellModal{
    z-index: 9999999;
}
.cod-woocommerce-cart-table{
    width:100% !important;
}

.cod-modal-content .form-group label{
    margin-bottom: 0px;
    margin-top: .7rem;
    text-align: left;
    font-weight: 500;
}
.variations_form table.variations{
    margin-bottom: 0px !important;
}
.variations_form table.variations tr{
    margin:0px;
}
#codFormModal input:focus {
    background-repeat: no-repeat;
    width: 100%;
}

/*Variation Plugins*/
.variations_form table.variations td.woo-variation-items-wrapper{
    display: flex;
}
a.reset_variations{
    margin-left: 5px;
}
/*Loader*/
.loader_container{
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999999;
}
/* Modal styles */

/*Container*/
.cod-modal-content{
    color:#000;
    max-width: 520px;
    width: 100%;
    position: relative;
    border-radius: 9px;
    box-shadow: 0 10px 20px 0 rgb(0, 0, 0, 0.2);
    border: 0px solid rgba(0, 0, 0, 1);
}
/*Tables*/
.cod-woocommerce-cart-table{
    border-collapse: separate;
}
button.remove-product{
    border: 0px;
    height: 19px;
    width: 19px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0px !important;
    margin: 0px ;
    background: #fff0;
    outline: none;
}
button.remove-product:hover{
    background: #fff0;
}
.cod-product-remove{
    text-align: right;
}
.cod-woocommerce-cart-table{
    margin: 0 0 10px;
}
.cod_table,.cod-woocommerce-cart-table{
    padding: 8px 12px 5px;
    background-color: #f3f3f3;
    border-radius: 6px;
    font-size:1rem;
    margin-bottom: 10px;
    border: 2px solid #dadada;
}
.cod_table .woocommerce-Price-amount{
    font-weight: 700;
}
.cod_td{
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
}
.cod_td.total{
    border-top: 1px solid #c7c7c7;
    margin-top: 6px;
    padding-top: 5px;
}
/*Cart*/
.cod-cart td{
    vertical-align: middle;
    padding: 5px;
    border:0px;
}
td.cod-product-img{
    min-width: 50px;
}
.cod-woocommerce-cart-table tr td {
    background-color: transparent !important;
}
.cod-product-img{
    max-width: 37px;
    position: relative;
}
.cod-product-img img{
    max-width: 40px !important;
    max-height:40px !important;
    border-radius:5px;
}
.cod-cart-quantity{
    position: absolute;
    top: 0;
    width: 21px;
    height: 21px;
    display: flex;
    color: #fff;
    background: #000;
    line-height: 0;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-radius: 50%;
    padding-bottom: 2px;
}
/*Modal*/
.cod-modal h3{
    font-weight: 600;
    margin: 10px 0px;
}
.cod-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.cod-modal-content {
    background-color: #fefefe;
    margin: 2% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.cod-modal-close {
    position: absolute;
    color: #aaa;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.cod-modal-close:hover,
.cod-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
@media (max-width:580px){
    .cod-modal-content{
        width: 90%;
    }
}
@media (max-width:480px){
    .cod-modal-content{
        width: fit-content;
        min-width: 88%;
    }
    .cod-cart .cod-product-name{
        font-size: 13px;
        font-weight: 400;
    }
}

/* -------------------------------------------------------------------------
   VIDEO UI UPDATE
   ------------------------------------------------------------------------- */

/* Modal sizing closer to the reference video */
#codFormModal .cod-modal-content {
    max-width: 560px;
    width: 95%;
    border: none;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

#codFormModal .cod-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

#codFormModal .cod-modal-close {
    color: #111;
}

#codFormModal .cod-modal-close .cod-close-x {
    display: inline-block;
    font-size: 28px;
    line-height: 1;
}

/* Inline loader shown right after the title */
#codFormModal .cod-inline-loader {
    width: 22px;
    height: 22px;
    border: 2px solid #e1e1e1;
    border-top-color: #111;
    border-radius: 50%;
    margin: 6px auto 14px;
    animation: codSpin 0.9s linear infinite;
    display: none;
}

@keyframes codSpin {
    to { transform: rotate(360deg); }
}

@keyframes codFadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes codShimmer {
    0% { background-position: -450px 0; }
    100% { background-position: 450px 0; }
}

/* Loading -> appear blocks */
#codFormModal .cod-block .cod-skeleton { display: none; }
#codFormModal .cod-block.cod-is-loading .cod-skeleton { display: block; }
#codFormModal .cod-block.cod-is-loading .cod-block-content { display: none; }
#codFormModal .cod-block:not(.cod-is-loading) .cod-block-content { animation: codFadeIn .25s ease; }

#codFormModal .cod-skeleton .cod-skel-product,
#codFormModal .cod-skeleton .cod-skel-line,
#codFormModal .cod-skeleton .cod-skel-shipping-option {
    background: linear-gradient(90deg, #f1f1f1 25%, #e9e9e9 37%, #f1f1f1 63%);
    background-size: 900px 100%;
    animation: codShimmer 1.2s ease-in-out infinite;
}

#codFormModal .cod-order-skeleton .cod-skel-product {
    height: 70px;
    border-radius: 10px;
    margin-bottom: 10px;
}

#codFormModal .cod-totals-skeleton .cod-skel-line {
    height: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

#codFormModal .cod-shipping-skeleton .cod-skel-shipping-option {
    height: 48px;
    border-radius: 10px;
    margin-top: 8px;
}

/* Order summary (cart table) */
#codFormModal #order-summary .cod-woocommerce-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    padding: 0;
    margin: 0 0 6px 0;
    border: none;
}

#codFormModal #order-summary .cod-woocommerce-cart-table tbody { display: block; }
#codFormModal #order-summary .cod-woocommerce-cart-table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e9e9e9;
}

#codFormModal #order-summary td { border: none; padding: 0; }

#codFormModal #order-summary .cod-product-remove { display: none; }

#codFormModal #order-summary .cod-product-thumbnail {
    width: 56px;
    position: relative;
    flex: 0 0 56px;
}

#codFormModal #order-summary .cod-product-thumbnail img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
}

#codFormModal #order-summary .cod-product-quantity {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6e6e6;
    color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
}

#codFormModal #order-summary .cod-product-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.2;
}

#codFormModal #order-summary .cod-product-title {
    font-weight: 700;
    color: #111;
}

#codFormModal #order-summary .cod-product-variation {
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

#codFormModal #order-summary .cod-product-subtotal {
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: #111;
}

/* Totals summary */
#codFormModal #totals-summary .cod_table {
    background: #f3f3f3;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
}

#codFormModal #totals-summary .cod_td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

#codFormModal #totals-summary .total_td {
    border-top: 1px solid #d7d7d7;
    margin-top: 8px;
    padding-top: 10px;
}

#codFormModal #totals-summary .total-amount {
    font-size: 18px;
    font-weight: 800;
}

/* Remove + and - prefixes from the old theme */
#codFormModal #totals-summary span.shipping-amount .woocommerce-Price-amount::before { content: "" !important; }
#codFormModal #totals-summary span.discount-amount .woocommerce-Price-amount::before { content: "" !important; }

/* Coupon box */
#codFormModal .cod-coupon-box {
    margin: 12px 0 10px;
}

#codFormModal .cod-coupon-input {
    display: flex;
    gap: 10px;
}

#codFormModal #cod_coupon_code {
    flex: 1;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
}

#codFormModal #cod_apply_coupon {
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    background: var(--highlight-color, #111);
    color: #fff;
    font-weight: 700;
}

#codFormModal #cod_apply_coupon.cod-btn-loading {
    opacity: 0.75;
    cursor: wait;
}

#codFormModal .cod-coupon-message {
    margin-top: 8px;
    font-size: 12px;
    color: #111;
}

/* Shipping section */
#codFormModal #shipping-summary {
    margin-top: 12px;
}

#codFormModal #shipping-summary .cod-section-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

#codFormModal #shipping-methods .cod-shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
}

#codFormModal #shipping-methods .cod-shipping-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

#codFormModal #shipping-methods input[type="radio"] {
    accent-color: #111;
}

#codFormModal #shipping-methods .cod-shipping-price {
    font-weight: 800;
    white-space: nowrap;
}
/*Form*/
.cod-modal-content .form-group{
    display: flex;
    flex-direction: column;
}
.cod_hide{
    display:none;
}
.cod-modal-content input,.cod-modal-content select,.cod-modal-content textarea{
    margin: 6px 0px;
    padding: 6px 15px;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
    border: 1px solid silver !important;
    background-color: #fff !important;
    color: #000 !important;
    display: block;
    margin-bottom: 0;
    height: 47px;
    font-size: .95em;
    box-sizing: border-box;
    width:100%;
    background-size: 15px !important;
    background-repeat: no-repeat;
    background-position: 8px center !important;
    padding-left: calc(22px + 15px) !important;
}
.cod-modal-content .cod_terms label{
    display: flex !important;
    align-items: center !important;
    gap:5px;
}
input[type=checkbox],input[type=radio]{
    width: auto !important;
    padding: 0px !important;
}
.cod-modal-content input:focus{
    outline: none;
}
.cod-modal-content input .form-group label{
    margin-top: 5px;
}
.cod-modal-content #shipping-methods label{
    display: flex;
    align-items: center;
    gap: 10px;
}
.cod-modal-content .shipping-method input{
    height: 20px;
}
.cod-modal-content .shipping-method input[type=radio]{
    margin: 0px;
}
.cod_terms label{
    display: inline; 
}
.cod_terms{
    margin: 5px 0px;
}
.cod_terms input{
    height: 20px;
    float: left;
    margin-top: 0px;
    margin-right: 5px;
}
.cod-modal-content .shipping-method{
    margin: 4px 0px;
    padding: 2px 14px;
    border-radius: 6px;
    border: 1px solid silver;
    background-color: #fff;
}
#codFormModal #checkout_form #shipping-methods label{
    margin: 0px;
}

.cod-form-group-row{
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.cod-form-group-row label{
    margin:0px !important;
    font-size: 15px;
}

.cod-form-group-row input,.cod-form-group-row select,.cod-form-group-row textarea,.cod-form-group-row .cod-phone-input-wrapper {
    max-width: 75%;
}

.cod_required_input {
    color: #ff0000;
    display: inline-block;
    margin-left: 2px;
}

@media screen and (max-width: 520px) {
    .cod-form-group-row label{
        font-size: 13px;
    }
    .cod-form-group-row input,.cod-form-group-row select,.cod-form-group-row textarea,.cod-form-group-row .cod-phone-input-wrapper{
        max-width: 72%;
    }
}
/*Menu Cart*/

button#cod_menu_cart{
    padding: 0;
    margin: 0;
    background: none;
    border: 0px;
    cursor: pointer; 
    display: flex;
    outline: none;
}
.not_cart_items{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.not_cart_items svg{
    width: 100%;
    max-width:100px;
    height: auto;
}
/*Button Payment*/
.cod_container_button_order{
    display: flex;
    gap: 10px;
    align-items: stretch;
}

/* Estilos del botón de pago usando variables CSS */
.cod_container_button_order #modal_checkout {
    background-color: var(--cod-btn-bg) !important;
    color: var(--cod-btn-color) !important;
    border-radius: var(--cod-btn-radius) !important;
    border-width: var(--cod-btn-bw) !important;
    border-color: var(--cod-btn-bc) !important;
    border-style: solid !important;
    box-shadow: 0 0 var(--cod-btn-shadow) var(--cod-btn-shadow) rgba(0, 0, 0, 0.1) !important;
    font-size: var(--cod-btn-fs) !important;
    width: var(--cod-btn-width) !important;
    padding: 10px 25px !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    float: none !important;
}

/* Estilos para el contenido interno del botón */
.cod_container_button_order #modal_checkout .button-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    font-size: var(--cod-btn-fs);
    line-height: 1;
}

.cod_container_button_order #modal_checkout .button-subtitle {
    font-size: calc(var(--cod-btn-fs) * 0.7);
    line-height: 1.5;
}

/* SVG del carrito hereda el color del texto */
.cod_container_button_order #modal_checkout svg path {
    fill: var(--cod-btn-color) !important;
}

/*Button Payment Sticky Mobile*/
@media (max-width:767px){
    .cod_sticky{
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        z-index: 9;
    }
}


/*Clean Shortcode*/
.shortcode_add_to_cart p{
    margin: 0;
}
.shortcode_add_to_cart .woocommerce-variation-add-to-cart > p{
    display: none;
}
.shortcode_add_to_cart .cod_container_button_order{
    margin-top: 5px;
}

/*Button to Checkout*/
.cod-modal-button{
    margin-top: 10px;
}

.cod_wc_coexist{
    margin-top: 10px;
}

/*Clean styles*/
    

/*Discount*/
.discount-amount, .cod-modal-content span.shipping-amount{
    color: var(--highlight-color);
}

.qo_variable_value{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Implementar variables CSS */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --border-color: silver;
    --background-light: #ebebeb;
    --border-radius-small: 3px;
    --border-radius-medium: 6px;
    --border-radius-large: 9px;
    --spacing-small: 5px;
    --spacing-medium: 10px;
    --spacing-large: 20px;
}

/* Luego utilizarlas */
.cod-modal-content {
    color: var(--primary-color);
    border-radius: var(--border-radius-large);
    /* etc */
}

/* Mantener consistencia en unidades */
/* Preferir rem para tamaños de fuente y espaciado general */
/* Usar px para bordes y elementos pequeños precisos */
/* Usar % para elementos responsivos */

/* === Estilos usando variables CSS === */

/* Título del modal */
.cod-modal-title {
    font-size: var(--cod-title-size) !important;
}

/* Imágenes de banner */
.cod-banner-image {
    max-width: 100%;
    height: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/* Inputs con iconos */
.cod-input-user {
    background-image: var(--cod-icon-user) !important;
}

.cod-input-phone {
    background-image: var(--cod-icon-phone) !important;
}

.cod-input-location {
    background-image: var(--cod-icon-location) !important;
}

.cod-input-email {
    background-image: var(--cod-icon-email) !important;
}

.cod-input-message {
    background-image: var(--cod-icon-msj) !important;
}

/* Botón principal del modal */
.cod-modal-button {
    background-color: var(--cod-btn-bg) !important;
    color: var(--cod-btn-color) !important;
    border-radius: var(--cod-btn-radius) !important;
    border-width: var(--cod-btn-bw) !important;
    border-color: var(--cod-btn-bc) !important;
    border-style: solid !important;
    box-shadow: 0 0 var(--cod-btn-shadow) var(--cod-btn-shadow) rgba(0, 0, 0, 0.1) !important;
    font-size: var(--cod-btn-fs) !important;
    width: 100% !important;
    padding: 10px 25px !important;
    cursor: pointer !important;
}

/* Botón secundario (checkout) */
.modal_button_checkout {
    background-color: var(--sec-btn-bg) !important;
    color: var(--sec-btn-color) !important;
    font-size: var(--sec-btn-fs) !important;
    border-radius: var(--sec-btn-radius) !important;
    border-width: var(--sec-btn-bw) !important;
    border-color: var(--sec-btn-bc) !important;
    box-shadow: 0 var(--sec-btn-shadow) rgba(0,0,0,0.2) !important;
    border-style: solid !important;
    padding: 10px 25px !important;
    margin-top: 10px !important;
    text-decoration: none !important;
    text-align: center !important;
    display: block !important;
}

/* Estilos para el campo de teléfono con prefijo dentro del input */
.cod-phone-input-wrapper {
    position: relative;
    width: 100%;
}

.cod-phone-input-wrapper input{
    max-width: 100%;
}

/* -------------------------------------------------------------------------
   VIDEO UI UPDATE (final overrides)
   ------------------------------------------------------------------------- */

#codFormModal .cod-modal-content {
    max-width: 560px;
    width: 95%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.22);
}

#codFormModal .cod-modal-title {
    margin: 0 0 6px 0;
    font-weight: 700;
}

#codFormModal .cod-close-x {
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    color: #111;
}

#codFormModal .cod-inline-loader {
    width: 26px;
    height: 26px;
    border: 2px solid rgba(0,0,0,0.18);
    border-top-color: rgba(0,0,0,0.85);
    border-radius: 50%;
    animation: codSpin 0.85s linear infinite;
    margin: 6px auto 14px;
    display: none;
}

@keyframes codSpin {
    to { transform: rotate(360deg); }
}

/* Loading / skeleton */
#codFormModal .cod-block .cod-skeleton {
    display: none;
}
#codFormModal .cod-block.cod-is-loading .cod-skeleton {
    display: block;
}
#codFormModal .cod-block.cod-is-loading .cod-block-content {
    display: none;
}

@keyframes codShimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

#codFormModal .cod-skel-product,
#codFormModal .cod-skel-line,
#codFormModal .cod-skel-shipping-option {
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
    background-size: 800px 100%;
    animation: codShimmer 1.1s ease-in-out infinite;
}

#codFormModal .cod-order-skeleton .cod-skel-product {
    height: 70px;
    border-radius: 10px;
    margin-bottom: 10px;
}

#codFormModal .cod-totals-skeleton .cod-skel-line {
    height: 12px;
    border-radius: 6px;
    margin: 10px 0;
}

#codFormModal .cod-shipping-skeleton .cod-skel-shipping-option {
    height: 52px;
    border-radius: 10px;
    margin-top: 8px;
}

/* Order summary -> match video */
#codFormModal #order-summary {
    margin-top: 8px;
}

#codFormModal #order-summary .cod-woocommerce-cart-table {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    width: 100%;
}

#codFormModal #order-summary .cod-woocommerce-cart-table tbody {
    display: block;
}

#codFormModal #order-summary .cod-woocommerce-cart-table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}

#codFormModal #order-summary .cod-product-thumbnail {
    flex: 0 0 60px;
    position: relative;
}

#codFormModal #order-summary .cod-product-thumbnail img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
}

#codFormModal #order-summary .cod-product-quantity {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #e7e7e7;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#codFormModal #order-summary .cod-product-name {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

#codFormModal #order-summary .cod-product-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

#codFormModal #order-summary .cod-product-variation {
    margin-top: 4px;
    font-size: 12px;
    color: #777;
    line-height: 1.1;
}

#codFormModal #order-summary .cod-product-subtotal {
    font-weight: 800;
    white-space: nowrap;
}

#codFormModal #order-summary .cod-product-remove {
    display: none;
}

/* Totals summary */
#codFormModal #totals-summary {
    margin-top: 10px;
}

#codFormModal #totals-summary .cod_table {
    background: #f3f3f3;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
}

#codFormModal #totals-summary .cod_td {
    padding: 6px 0;
    font-size: 14px;
}

#codFormModal #totals-summary .total_td {
    border-top: 1px solid rgba(0,0,0,0.14);
    margin-top: 8px;
    padding-top: 10px;
}

#codFormModal #totals-summary .total_td span {
    font-weight: 800;
}

#codFormModal #totals-summary .total-amount {
    font-size: 18px;
}

/* Keep totals text clean like the video */
#codFormModal #totals-summary .shipping-amount {
    color: #111 !important;
}

#codFormModal #totals-summary .coupon-discount-amount {
    color: var(--highlight-color) !important;
    font-weight: 800;
}

/* Remove "+" prefix from old custom css */
#codFormModal #totals-summary .shipping-amount .woocommerce-Price-amount::before,
#codFormModal #totals-summary .discount-amount .woocommerce-Price-amount::before {
    content: "" !important;
}

/* Coupon box */
#codFormModal .cod-coupon-box {
    margin: 10px 0 6px;
}

#codFormModal .cod-coupon-input {
    display: flex;
    gap: 10px;
}

#codFormModal .cod-coupon-input input {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fff;
}

#codFormModal .cod-coupon-input button {
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 800;
    background: var(--highlight-color);
    color: #fff;
    cursor: pointer;
}

#codFormModal .cod-coupon-input button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

#codFormModal .cod-coupon-message {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(0,0,0,0.7);
}

/* Shipping methods (Mode de livraison) */
#codFormModal #shipping-summary {
    margin-top: 12px;
}

#codFormModal #shipping-summary .cod-section-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
}

#codFormModal #shipping-methods .cod-shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    margin-bottom: 10px;
}

#codFormModal #shipping-methods .cod-shipping-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

#codFormModal #shipping-methods .cod-shipping-price {
    font-weight: 800;
    white-space: nowrap;
}


