/*
Theme Name: Revedoux
Theme URI: https://revedoux.com.co
Description: Tema propio de Revedoux para WooCommerce. Independiente (sin tema padre, sin Elementor).
Author: Revedoux
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: revedoux
*/

/* =====================================================================
   BASE (reemplaza el reset y estilos globales que daba Hello Elementor)
   Ajusta las variables a la tipografía/colores de la marca.
===================================================================== */
:root {
    --rvx-font: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --rvx-ink: #161f2b;
    --rvx-bg: #ffffff;
    --rvx-container: 1280px;
    --rvx-gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--rvx-bg);
    color: var(--rvx-ink);
    font-family: var(--rvx-font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background: #fff; clip: auto; clip-path: none; color: #000; display: block;
    height: auto; left: 8px; padding: 12px 16px; top: 8px; width: auto; z-index: 100000;
}

/* Contenedor y estructura */
.rvx-container { width: 100%; max-width: var(--rvx-container); margin-inline: auto; padding-inline: var(--rvx-gutter); }
.site-main { min-height: 50vh; }
.site-header { position: relative; z-index: 50; }

/* Contenido de editor (páginas / entradas) */
.entry-content > * { max-width: 100%; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption, .gallery-caption { font-size: .875rem; }
.rvx-page { padding-block: 40px; }
.rvx-page__title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }

/* Paginación */
.rvx-pagination { display: flex; justify-content: center; gap: 8px; margin: 32px 0; flex-wrap: wrap; }
.rvx-pagination .page-numbers { padding: 8px 14px; border: 1px solid #d3d7df; border-radius: 8px; text-decoration: none; }
.rvx-pagination .page-numbers.current { background: var(--rvx-ink); color: #fff; border-color: var(--rvx-ink); }

/* 404 / vacío */
.rvx-empty { text-align: center; padding-block: 80px; }


/*
    Add your custom styles here
*/


html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

html body a {
    text-decoration: none !important;
}



a:hover {
    text-decoration: none !important;
    /* Evita el subrayado al pasar el mouse */
}



/**Oculta el boton de agregar al carrito*/

.woocommerce ul.products li.product .button {
    display: none !important;
}


/* Oculta la palabra disponibilidad de Stock y la pone en color rojo  */

.stock.out-of-stock {
    display: none !important;
}

.woocommerce-js div.product .stock {
    color: #FF595E;
}

/*Cambiar color descuento*/



/* =========================================
   ITEM AGREGADO AL CARRITO
========================================= */

#archive-added-notification {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    width: 330px !important;
    min-height: 65px !important;

    background: #ffffff !important;
    color: #222222 !important;

    z-index: 2147483647 !important;

    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;

    transform: translateX(30px) !important;

    border: 1px solid #eeeeee !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease !important;
}

#archive-added-notification.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

.archive-added-content {
    position: relative !important;

    min-height: 65px !important;

    display: flex !important;
    align-items: center !important;

    padding: 18px 45px 18px 20px !important;
}

.archive-added-title {
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.6px !important;
    color: #222222 !important;
}

.archive-added-close {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;

    transform: translateY(-50%) !important;

    width: 25px !important;
    height: 25px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 25px !important;

    color: #555555 !important;
    cursor: pointer !important;
}

.archive-added-close:hover {
    color: #111111 !important;
}

@media (max-width: 767px) {

    #archive-added-notification {
        top: 15px !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
    }

    .archive-added-content {
        min-height: 60px !important;
        padding: 16px 42px 16px 18px !important;
    }

    .archive-added-title {
        font-size: 11px !important;
    }
}



.product-media {
    position: relative;
}

.quick-add-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: #1c1c1c;
}

/* Ya no se muestran inline, ahora son solo datos para el modal */
.archive-variation-buttons {
    display: none;
}

.size-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.size-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.size-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform .3s ease;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}

.size-modal.show {
    transform: translateY(0);
}

.size-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.size-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.size-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.size-option-row {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 4px;
    border: none;
    border-bottom: 1px solid #eee;
    background: none;
    font-size: 16px;
    cursor: pointer;
}

.size-option-row:last-child {
    border-bottom: none;
}

#archive-added-notification {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #1c1c1c;
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(120%);
    opacity: 0;
    transition: all .3s ease;
    z-index: 10000;
}

#archive-added-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.archive-added-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}


/**Edicion woocoommerce oficial css**/

/* Checkout - separación de campos */
body.woocommerce-checkout .woocommerce form .form-row {
    padding: 0 !important;
    margin: 0 0 10px !important;
}


.woocommerce table.shop_table {
    border-collapse: collapse !important;
}


.woocommerce table.shop_table tbody th {
    border-top: 0px !important;
}


.woocommerce table.shop_table td {
    border-top: 0px !important;
}

.woocommerce-checkout #payment {
    background: none !important;

}

.woocommerce button.button.alt {
    background-color: #000000 !important;

}

.woocommerce-checkout ul.woocommerce-shipping-methods li {
    border: 0px !important;
    padding: 0px !important;
}

.woocommerce-checkout .form-row input.input-text {
    padding-right: 100px !important;
}