.agora-color-blue{
    color: #2C9BFF;
}

.checkout.woocommerce-checkout .form-row label:not(.checkbox) {
    display: none;
}

.checkout.woocommerce-checkout .form-row .woocommerce-input-wrapper input,
.checkout.woocommerce-checkout .form-row .woocommerce-input-wrapper .select2-selection,
#add-address-form .select2-selection,
.checkout_coupon .featured-box input {
    border: none;
    border-bottom: 1px solid #D9DBE9;
    border-radius: 0;
    background-color: transparent;
}

#billing_country {
    display: none;
}

.woocommerce-additional-fields h3,
.woocommerce-additional-fields .woocommerce-additional-fields__field-wrapper {
    display: none;
}

.shop_table th, .shop_table td  {
    border-bottom: none;
}

.checkout_coupon .featured-box {
    background-color: #EEF8FF;
    box-shadow: none;
    border-color: #EEF8FF;
    border-radius: 3px;
    max-width: max-content;
    margin-left: 0;
}

.featured-box .box-content{
    border-top: 0px;
}

.checkout_coupon .featured-box button,
.checkout_coupon .featured-box button:disabled {
    border: 2px solid #2C9BFF;
    color: #2C9BFF;
    background-color: transparent;
}

#add-address-form select:focus {
    box-shadow: none;
}

.attachment-woocommerce_thumbnail {
    border: 1px solid #D9DBE9;
    max-width: 80px;
    /* margin-right: 25px; */
}


/* .sizelogged {
    width: 16.66% !important;
} */

@media screen and (min-width: 667px) {
    .sizelogged {
        width: 16.66% !important;
    }
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    border-color: #2C9BFF;
    border-width: 3px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #4E4B66;
    font-family: Inter;
}

.order-resumen .order-item mark {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6E7191;
}

.order-resumen .order-item mark {
    font-family: Inter;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #4E4B66;
}

.order-resumen + p {
    display: none;
}

.woocommerce-order-details .card-sub-title {
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 1px;
    color: #4E4B66;
}

.woocommerce-order-details .list-prod {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    color: #4E4B66;
}

.woocommerce-order-details .product-name, 
.woocommerce-order-details .product-quantity,
.woocommerce-order-details .product-total .amount{
    font-family: Inter;
    font-weight: 400 !important;
    font-size: 12px;
    line-height: 16px;
    color: #4E4B66 !important;
}

tfoot h4 {
    font-family: Inter;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    color: #4E4B66 !important;
}

tfoot td,
.order_details tfoot tr:last-child .amount{
    font-family: Inter;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    color: #4E4B66 !important;
}

.woocommerce-customer-details h3 {
    font-family: Inter;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 22px !important;
    color: #4E4B66 !important;
    padding-bottom: 20px;
}

.woocommerce-customer-details p {
    font-family: Inter;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    color: #4E4B66 !important;
}

/* Checkout box izquierdo, info de usuario y puntos */
.user-and-points-box {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.user-and-points-box > :nth-child(3) {
    display: none;
}

@media (max-width: 768px) {
    .user-and-points-box {
        gap: 16px;
    }
}

/* Customer details PUNTOS */
.customer-details-puntos_container {
    padding: 0 1rem;
    font-family: Inter !important;
}
.customer-details-puntos_container p {
    font-family: Inter !important;
}
.customer-details-puntos {
    display: flex;
    justify-content: space-between;
    background-color: #EEF8FF;
    padding: 12px 24px;
    color: #4E4B66;
    min-height: 92px;
}

@media (max-width: 768px) {
    .customer-details-puntos_container {
        padding: 0 !important;
    }
    .customer-details-puntos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

.customer-details-puntos_left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (max-width: 768px) {
    .customer-details-puntos_left {
        align-items: center;
    }
    .customer-details-puntos_left * {
        text-align: center;
    }
}
.customer-details-puntos_left p,
.customer-details-puntos_left div {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}
.customer-details-puntos_left div {
    display: flex;
    gap: 8px;
    font-weight: 400;
}
.customer-details-puntos_left div img {
    height: 20px;
}
.customer-details-puntos_left > p {
    flex-grow: 1;
    max-width: 210px;
}
@media (max-width: 768px) {
    .customer-details-puntos_left > p {
        max-width: 295px;
    }
}

.customer-details-puntos_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.customer-details-puntos_right span {
    font-size: 8px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    display: flex;
    flex-wrap: nowrap;
}
.customer-details-puntos_right button {
    border: 2px solid #2C9BFF;
    color: #2C9BFF;
    background-color: transparent;
    padding: 9px 16px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}
.customer-details-puntos_right button:hover {
    background-color: #2C9BFF;
    color: #FFFFFF;
}


/* Pago con nota de credito */
.nota-de-credito-section #btn-pagar-con-nota-credito {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
}
#btn-pagar-con-nota-credito.active {
    border: none !important;
    color: #2C9BFF !important;
    background-color: transparent !important;
}
#btn-pagar-con-nota-credito.active:hover {
    color: #2C9BFF !important;
    background-color: transparent !important;
}

.nota-credito-form {
    display: none;
}
.nota-credito-form.active {
    display: block;
}
.nota-credito-form #input-nota-credito {
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    height: 42px;
}
.nota-credito-form .input-group {
    flex-wrap: nowrap;
}

.nota-credito-form .input-group-append button {
    border-radius: 0 4px 4px 0;
    height: 42px;
}

.notas-credito-grid .nota-credito-item {
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.notas-credito-grid .nota-credito-item:hover {
    background: #e9ecef;
}
.notas-credito-grid .selected {
    border: 2px solid #2C9BFF !important;
    background: #e7f1ff !important;
}
.nota-disabled {
    opacity: 0.6;
    background: #f1f1f1;
}
.nota-available {
    cursor: pointer;
}
.nota-available:hover {
    border-color: #007bff !important;
}

/* ---- SPINNER ---- */
.semicircle-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 !important;
    vertical-align: middle;
    border-radius: 50%;
    border: 1px solid #4E4B66;
    border-right-color: transparent;
    border-left-color: transparent;
    animation: spin 1s linear infinite;
    transform-origin: center;
}
.input-group-append {
    position: relative;
}
.input-group-append .loader-nota-credito {
    position: absolute;
    left: -28px;
    top: 50%;
    transform: translateY(-50%);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Codigo referido container */
.codigo_referido {
    padding: 0 16px;
}
.codigo_referido_wrapper {
    background-color: #EEF8FF;
    padding: 12px 24px;
}
#codigo_referido_container {
    width: 100%;
    max-width: 100%;
    align-items: center;
    gap: 32px;
}
#codigo_referido_container input[type="text"],
#codigo_referido_container button {
    background-color: transparent;
}
#codigo_referido_container input[type="text"] {
    flex-grow: 1;
    max-width: unset;
}
#codigo_referido_container button {
    width: 100%;
    max-height: max-content;
    padding: 9px 16px;
    font-size: 12px;
    line-height: 18px;
}
#codigo_referido_container button:hover {
    background-color: #2C9BFF;
    color: #FFFFFF;
}
/* span para que el boton tome el mismo ancho que el de puntos */
.codigo_referido #codigo_referido_container div {
    display: flex;
    flex-direction: column;
}
.codigo_referido #codigo_referido_container div span {
    font-size: 8px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    display: flex;
    flex-wrap: nowrap;
    height: 0;
    overflow: hidden;
}
/* --- span */
@media (max-width: 768px) {
    .codigo_referido {
        padding: 0;
    }
    .codigo_referido_wrapper {
        padding: 12px 16px;
    }
    .codigo_referido #codigo_referido_container {
        flex-direction: row !important;
        margin: 0 auto;
    }
    #codigo_referido_container input[type="text"] {
        max-width: unset;
        padding: 14px 20px;
    }
}
@media (max-width: 480px) {
    #codigo_referido_container button {
        width: max-content;
    }
    .codigo_referido #codigo_referido_container div span {
        display: none;
    }
}

/* Toggle coupon */
.woocommerce-form-coupon-toggle {
    font-family: Inter !important;
    color: var(--agora-black-1) !important;
}
.woocommerce-form-coupon-toggle .showcoupon,
.woocommerce-form-coupon-toggle .agora-color-blue {
    color: var(--agora-skyblue-1) !important;
    font-weight: 600 !important;
}
@media (max-width: 768px) {
    .woocommerce-form-coupon-toggle,
    .woocommerce-form-coupon-toggle .showcoupon {
        font-size: 12px !important;
        line-height: 16px !important;
    }
}
.checkout-order-review > *, h4, h3, p {
    font-family: Inter !important;
}

/* Checkout cupon */
.checkout_coupon {
    padding: 0 16px !important;
    margin-bottom: 32px !important;
}
.checkout_coupon * {
    font-family: Inter !important;
}
@media (max-width: 768px) {
    .checkout_coupon {
        margin-bottom: 16px !important;
        padding: 0 !important;
    }
    .checkout_coupon .featured-box .box-content input[type="text"] {
        text-align: center;
    }
}
.checkout_coupon .featured-box {
    margin: 0 !important;
    min-height: unset !important;
}
.checkout_coupon .featured-box {
    padding: 12px 24px !important;
}
.checkout_coupon .featured-box .box-content {
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 32px;
}
.checkout_coupon .featured-box .box-content input[type="text"] {
    min-width: 240px !important;
}
.checkout_coupon .featured-box .box-content button {
    width: 100%;
    max-height: max-content;
    padding: 9px 16px;
    font-size: 12px;
    line-height: 18px;
    text-transform: none !important;
}
@media (max-width: 480px) {
    .checkout_coupon .featured-box .box-content {
        width: 100%;
    }
    .checkout_coupon .featured-box .box-content input[type="text"] {
        min-width: unset !important;
        flex-grow: 1;
    }
}

.remove-coupon-icon {
    text-align: center;
    width: 21px;
    height: 21px;
    font-size: 11px;
    background-color: #fff;
    color: #4E4B66;
    border-radius: 50%;
    line-height: 19px;
    border: 1px solid #D9DBE9;
    transition: all 0.3s ease;
}
.remove-coupon-icon:before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.remove-coupon-icon:hover {
    background-color: #222529;
    color: #FCFCFC;
    border-color: transparent;
}


.select2-container .select2-results__option,
.select2-search__field {
    font-family: Inter !important;
    font-size: 1rem !important;
}
.user-and-points-box .woocommerce-billing-fields input,
.user-and-points-box .woocommerce-billing-fields input::placeholder,
.user-and-points-box .woocommerce-billing-fields select,
.user-and-points-box .woocommerce-billing-fields select::placeholder,
.user-and-points-box .woocommerce-billing-fields span {
    font-size: 1rem !important;
    color: var(--agora-grey-3) !important;
}
.user-and-points-box .woocommerce-billing-fields input:focus,
.user-and-points-box .woocommerce-billing-fields select:focus,
.select2-search__field:focus {
    color: var(--agora-black-2) !important;
}
@media (max-width: 768px) {
    .select2-container .select2-results__options .select2-results__option--highlighted {
        color: var(--agora-white-1) !important;
        background-color: var(--agora-skyblue-1) !important;
    }

    .select2-container--below:has(.select2-selection__clear) {
        background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;     
    }
    .select2-container--default .select2-selection--single .select2-selection__clear {
        right: 24px !important;
    }
}

.woo-page-header .breadcrumb li > a {
    font-family: Inter !important;
}

@media (min-width: 992px) {
    .woocommerce-cart-form:has(thead > .d-none) {
        display: none !important;
    }
    .woocommerce-cart-form .cart-actions button[type=submit]:focus {
        background-color: #f2f2f2 !important;
        border: 1px solid var(--agora-grey-3) !important;
    }
}

.points-selector-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

.points-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.points-controls button {
    padding: 5px 15px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.points-controls button:hover {
    background: #e5e5e5;
}

#points-amount {
    width: 100px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
}
.points-input-wrapper {
    position: relative;
}
.points-input-wrapper:before {
    content: "Q";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    color: #777;
}

button[name="update_cart"]:not([disabled]),
button[name="update_cart"]:not([disabled])[clicked="true"],
button[name="update_cart"]:not([disabled]):focus {
    background-color: #2C9BFF !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
}
button[name="update_cart"]:not([disabled]):hover,
.woocommerce-cart-form .cart-actions button[name="update_cart"]:not([disabled]):focus {
    background-color: #2C9BFF !important;
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}
