/* ==========================================================================

   ALCATRAZ THEME - WOOCOMMERCE CUSTOM PREMIUM STYLES

   ========================================================================== */



/* 11. ANIMACIONES DE ENTRADA (LUXURY) */

@keyframes fadeInUp {

    from { opacity: 0; transform: translateY(30px); }

    to { opacity: 1; transform: translateY(0); }

}



@keyframes floatSoft {

    0% { transform: translateY(0px); }

    50% { transform: translateY(-5px); }

    100% { transform: translateY(0px); }

}



/* 1. CONTENEDOR PRINCIPAL DEL PRODUCTO */

.woocommerce div.product {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    margin-top: 100px;

    padding: 0 20px;

    max-width: 1200px;

    margin-left: auto;

    margin-right: auto;

    align-items: flex-start; /* Necesario para que sticky funcione */

    text-align: left !important;

}



/* 2. COLUMNA DE IMÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂGENES (FOTO) Y GALERÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂA A LA IZQUIERDA */

.woocommerce div.product div.images {

    width: 55%;

    float: none;

    margin-bottom: 20px;

    display: block !important;

    opacity: 1 !important;

    /* EFECTO STICKY SCROLL */

    align-self: flex-start;

    position: sticky;

    top: 120px;

}

.woocommerce div.product div.images .flex-viewport {

    width: 100% !important;

    height: auto !important;

    border-radius: 24px;

    overflow: hidden !important;

}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {

    width: 100%;

    min-width: 0;

    margin: 0 !important;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0,0,0,0.06);

}



.woocommerce div.product div.images .flex-control-thumbs,

.woocommerce div.product div.images .thumbnails {

    flex: 0 0 100px !important;

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 0;

    padding: 0;

}



.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce div.product div.images .thumbnails a {
    width: 100px !important;
    float: none !important;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    transform: none !important;
    opacity: 0.7;
}

.woocommerce div.product div.images .flex-control-thumbs li:hover,
.woocommerce div.product div.images .flex-control-thumbs li.flex-active-slide,
.woocommerce div.product div.images .thumbnails a:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}



.woocommerce div.product div.images img {

    width: 100%;

    transition: transform 0.5s ease;

    object-fit: cover;

}



.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img:hover {

    transform: scale(1.03);

}



/* 3. COLUMNA DE DETALLES (TÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂTULO, PRECIO, BOTÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œN) */

.woocommerce div.product div.summary {

    width: 40%;

    float: none;

    display: flex;

    flex-direction: column;

    opacity: 0; 

    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;

}



.woocommerce div.product .product_title {

    font-size: 38px;

    font-weight: 900;

    color: #0f172a;

    margin-bottom: 15px;

    line-height: 1.1;

    letter-spacing: -1px;

}



.woocommerce div.product .price {

    font-size: 36px !important;

    font-weight: 900 !important;

    color: #e02787 !important;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    gap: 10px;

}



.woocommerce div.product .price del {

    font-size: 20px;

    color: #94a3b8 !important;

    font-weight: 500;

}



.woocommerce div.product .woocommerce-product-details__short-description {

    font-size: 16px;

    color: #475569;

    line-height: 1.7;

    margin-bottom: 30px;

}



/* 4. BOTÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œN DE AÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“ADIR AL CARRITO (CAJA DE COMPRA PREMIUM) */

.woocommerce div.product form.cart {

    margin-top: 20px;

    margin-bottom: 30px;

    display: flex;

    flex-direction: column;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #f1f5f9;

    padding: 30px;

    border-radius: 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.03);

}



.woocommerce div.product form.cart .quantity {

    display: none !important; /* Ocultar selector de cantidad si no es necesario */

}



.woocommerce div.product form.cart .button {

    background: linear-gradient(135deg, #e02787 0%, #be185d 100%) !important;

    color: white !important;

    border-radius: 99px !important;

    padding: 20px 30px !important;

    font-size: 17px !important;

    font-weight: 800 !important;

    width: 100%;

    text-align: center;

    box-shadow: 0 10px 25px rgba(224, 39, 135, 0.3) !important;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin: 0;

    border: none;

}



.woocommerce div.product form.cart .button:hover {

    box-shadow: 0 15px 35px rgba(224, 39, 135, 0.45) !important;

    transform: translateY(-3px) scale(1.02);

}



/* 10. CATEGORÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂA (BADGE PREMIUM) */

.woocommerce div.product .product_meta {

    margin-top: 15px;

    font-size: 14px;

    color: #64748b;

    text-align: left;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    align-items: center;

}

.woocommerce div.product .product_meta a {

    display: inline-block;

    background: #fdf2f8;

    color: #db2777;

    padding: 8px 16px;

    border-radius: 99px;

    font-weight: 700;

    text-decoration: none !important;

    transition: all 0.2s;

    font-size: 13px;

    border: 1px solid #fbcfe8;

}

.woocommerce div.product .product_meta a:hover {

    background: #fce7f3;

    transform: translateY(-2px);

}



/* 5. TABS DE DESCRIPCIÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œN Y VALORACIONES */

.woocommerce div.product .woocommerce-tabs {

    display: none; 

}



/* 7. DESCRIPCIÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œN Y VALORACIONES INTEGRADAS */

.alcatraz-custom-description {

    margin-top: 30px;

    padding-top: 30px;

    border-top: 1px solid #f1f5f9;

    text-align: left;

    color: #334155;

    line-height: 1.8;

}



.alcatraz-custom-reviews-bottom {

    width: 100%;

    margin-top: 60px;

    padding-top: 40px;

    border-top: 2px dashed #e2e8f0;

    text-align: left;

}



.alcatraz-section-title {

    font-size: 24px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 20px;

    text-align: left;

}



/* 6. RESPONSIVE (MÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œVILES) - SUPER LIGERO Y PREMIUM */

@media (max-width: 768px) {

    body.single-product {

        padding-bottom: 100px; /* Espacio para el boton sticky */

    }



    .woocommerce div.product {

        flex-direction: column;

        padding: 0;

        gap: 0;

        margin-top: 0;

    }



    .woocommerce div.product div.images,

    .woocommerce div.product div.summary {

        width: 100%;

        padding: 0 20px;

    }

    

    .woocommerce div.product div.images {

        flex-direction: column !important;

        position: static;

        padding: 0; /* Full width images on mobile */

    }

    

    /* Carrusel mÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³vil con Scroll Snap nativo */

    /* CSS NATIVO DESACTIVADO PARA WOOCOMMERCE FLEXSLIDER */

    

    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {

        height: 55vh;

        object-fit: cover;

        border-radius: 0;

    }

    

    .woocommerce div.product div.images .flex-control-thumbs,

    .woocommerce div.product div.images .thumbnails {

        width: 100% !important;

        flex-direction: row;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding: 10px 20px;

        gap: 10px;

        scrollbar-width: none;

    }

    .woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar {

        display: none;

    }

    

    .woocommerce div.product div.images .flex-control-thumbs li,

    .woocommerce div.product div.images .thumbnails a {

        width: 70px !important;

        height: 70px !important;

        flex-shrink: 0;

        border-radius: 10px;

    }



    .woocommerce div.product .product_title {

        font-size: 28px;

        margin-top: 15px;

    }



    .woocommerce div.product .price {

        font-size: 32px !important;

    }



/*     /* MAGIC: STICKY ADD TO CART MOBILE */ */

/*     .woocommerce div.product form.cart { */

/*         position: fixed; */

/*         bottom: 0; */

/*         left: 0; */

/*         width: 100%; */

/*         margin: 0; */

/*         padding: 15px 20px; */

/*         padding-bottom: max(15px, env(safe-area-inset-bottom)); */

/*         background: rgba(255, 255, 255, 0.95); */

/*         backdrop-filter: blur(12px); */

/*         border-top: 1px solid rgba(226, 232, 240, 0.8); */

/*         border-radius: 24px 24px 0 0; */

/*         box-shadow: 0 -10px 30px rgba(0,0,0,0.08); */

/*         z-index: 9999; */

/*         flex-direction: row; */

/*         justify-content: space-between; */

/*         align-items: center; */

/*         animation: fadeInUp 0.5s ease 0.5s both; */

/*     } */

    

    .woocommerce div.product form.cart .button {

        padding: 16px 20px !important;

        font-size: 16px !important;

    }

}



/* 8. PÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂGINA DE CATEGORÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂAS Y CATÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂLOGO */

.woocommerce-products-header {

    text-align: center;

    margin-bottom: 50px;

    margin-top: 100px;

}

.woocommerce-products-header__title {

    font-size: 42px;

    font-weight: 900;

    color: #0f172a;

    letter-spacing: -1px;

}



ul.products {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



ul.products li.product {

    background: #ffffff;

    border-radius: 20px;

    padding: 15px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.04);

    text-align: left !important;

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex;

    flex-direction: column;

    border: 1px solid transparent;

    

    width: 100% !important; 

    margin: 0 !important;

    

    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}



ul.products li.product:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.08);

    border-color: #f1f5f9;

}



ul.products li.product img {

    border-radius: 14px;

    margin-bottom: 20px;

    width: 100%;

    aspect-ratio: 4/5;

    object-fit: cover;

    transition: transform 0.5s ease;

}



ul.products li.product:hover img {

    transform: scale(1.03);

}



ul.products li.product .woocommerce-loop-product__title {

    font-size: 19px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 10px;

    text-align: left;

    line-height: 1.3;

}



ul.products li.product .price {

    font-size: 20px !important;

    font-weight: 900 !important;

    color: #e02787 !important;

    margin-bottom: 18px;

    text-align: left;

}



ul.products li.product .button {

    background: #f8fafc !important;

    color: #e02787 !important;

    border-radius: 99px !important;

    padding: 14px !important;

    font-size: 15px !important;

    font-weight: 800 !important;

    width: 100%;

    text-align: center !important;

    transition: all 0.3s ease !important;

    margin-top: auto;

    border: 1px solid #e2e8f0;

}



ul.products li.product .button:hover {

    background: #e02787 !important;

    color: #ffffff !important;

    border-color: #e02787;

    box-shadow: 0 8px 20px rgba(224, 39, 135, 0.25) !important;

}



 

 / *   F I X   A D M I N   B A R   O V E R L A P   * / 

 

 . a d m i n - b a r   . n a v b a r - t i e n d a   {   t o p :   3 2 p x ;   } 

 

 @ m e d i a   s c r e e n   a n d   ( m a x - w i d t h :   7 8 2 p x )   {   . a d m i n - b a r   . n a v b a r - t i e n d a   {   t o p :   4 6 p x ;   }   } 

 

 /* ==========================================================================

   ALCATRAZ THEME - LUXURY REDESIGN (PRODUCT PAGE)

   ========================================================================== */



/* Typography */

.woocommerce div.product .product_title,

.luxury-addons-title {

    font-family: 'Playfair Display', serif;

    font-weight: 400;

    font-size: 2.2rem;

    color: #111;

    margin-bottom: 20px;

    letter-spacing: 0.5px;

}



.luxury-addons-title {

    font-size: 1.8rem;

    margin-bottom: 30px;

    margin-top: 40px;

    border-bottom: 1px solid #eaeaea;

    padding-bottom: 15px;

}



/* Addons List Styling */

.luxury-addons-container {

    margin-top: 30px;

}



.luxury-addon-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 0;

    border-bottom: 1px solid #f2f2f2;

}



.addon-info-wrap {

    display: flex;

    align-items: center;

    gap: 20px;

}



.addon-info-wrap img {

    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 4px;

}



.addon-text {

    display: flex;

    flex-direction: column;

}



.addon-name {

    font-family: 'Playfair Display', serif;

    font-size: 1.1rem;

    font-weight: 400;

    color: #333;

    margin: 0 0 5px 0;

}



.addon-price {

    font-family: 'Outfit', sans-serif;

    font-size: 0.95rem;

    color: #555;

    font-weight: 300;

}



.luxury-addon-qty {

    width: 60px !important;

    height: 45px !important;

    text-align: center;

    border: 1px solid #e0e0e0 !important;

    border-radius: 0 !important;

    font-family: 'Outfit', sans-serif;

    font-size: 1rem;

    color: #333;

    background: transparent !important;

}



.luxury-addon-qty:focus {

    border-color: #333 !important;

    outline: none !important;

    box-shadow: none !important;

}



/* Hide the old add-ons plugin output if it exists to avoid duplicates */

.thwepo-extra-options {

    display: none !important;

}



/* Refine Gallery Layout */

.woocommerce div.product div.images .flex-control-thumbs li,

.woocommerce div.product div.images .thumbnails a {

    width: 80px !important;

    height: 80px !important;

    border-radius: 0;

    border: 1px solid #eaeaea;

    padding: 2px;

}



.woocommerce div.product div.images .flex-control-thumbs li img,

.woocommerce div.product div.images .thumbnails a img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {

    border-radius: 0 !important;

    box-shadow: none !important;

}



/* ==========================================================================

   ALCATRAZ THEME - LUXURY SHOP ARCHIVE & CATALOG

   ========================================================================== */



.luxury-shop-container {

    max-width: 1200px;

    margin: 40px auto 80px auto;

    padding: 0 20px;

}



.luxury-shop-header {

    text-align: center;

    margin-bottom: 50px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eaeaea;

}



.luxury-shop-title {

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    color: #111;

    margin: 0;

    font-weight: 400;

}



.luxury-shop-layout {

    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    align-items: flex-start;

}



.luxury-shop-sidebar {

    width: 280px;

    flex-shrink: 0;

    position: sticky;

    top: 100px;

}



.luxury-shop-main {

    flex: 1;

    min-width: 0;

}



/* Sidebar Widgets Styling */

.luxury-widget {

    margin-bottom: 40px;

}



.luxury-widget .widget-title {

    font-family: 'Playfair Display', serif;

    font-size: 1.3rem;

    color: #222;

    margin-bottom: 20px;

    padding-bottom: 10px;

    border-bottom: 1px solid #f2f2f2;

}



.luxury-widget ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.luxury-widget ul li {

    padding: 8px 0;

    color: #555;

    font-family: 'Outfit', sans-serif;

    font-size: 0.95rem;

    display: flex;

    justify-content: space-between;

}



.luxury-widget ul li a {

    color: #555;

    text-decoration: none;

    transition: color 0.3s ease;

}



.luxury-widget ul li a:hover {

    color: var(--primary, #e83e8c);

}



/* CSS Grid for Products */

ul.products {

    display: grid !important;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;

    gap: 30px !important;

    padding: 0 !important;

    margin: 0 !important;

}



ul.products::before,

ul.products::after {

    display: none !important;

}



/* Responsive adjustments */

@media (max-width: 900px) {

    .luxury-shop-layout {

        flex-direction: column;

    }

    

    .luxury-shop-sidebar {

        width: 100%;

        position: static;

        margin-bottom: 40px;

    }

    

    ul.products {

        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;

    }

}



@media (max-width: 768px) {

    /* SINGLE PRODUCT MOBILE LAYOUT */

    .woocommerce div.product {

        flex-direction: column;

        margin-top: 40px;

        padding: 0 15px;

    }

    

    .woocommerce div.product div.images {

        width: 100% !important;

        /* flex-direction: column-reverse !important; */

        position: static !important;

    }

    

    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {

        /* width: 100% !important; - REMOVED FOR MOBILE FLEXSLIDER */

    }

    

    .woocommerce div.product div.images .flex-control-thumbs,

    .woocommerce div.product div.images .thumbnails {

        width: 100% !important;

        flex-direction: row !important;

        overflow-x: auto;

    }

    

    .woocommerce div.product div.images .flex-control-thumbs li,

    .woocommerce div.product div.images .thumbnails a {

        width: 80px !important;

        flex: 0 0 80px;

    }

    

    .woocommerce div.product div.summary {

        width: 100% !important;

        margin-top: 30px;

    }

    

    /* CART MOBILE */

    .woocommerce-cart .woocommerce {

        flex-direction: column;

    }

    

    .woocommerce-cart .woocommerce-cart-form,

    .woocommerce-cart .cart-collaterals {

        width: 100% !important;

    }

}



/* FAIL-SAFE OVERFLOW PREVENTER FOR MOBILE */



@media (max-width: 768px) {

    .woocommerce div.product {

        max-width: 100vw !important;

        overflow-x: hidden !important;

    }

    .woocommerce div.product div.images,

    /* .woocommerce div.product div.images .woocommerce-product-gallery__wrapper, REMOVED FOR MOBILE FLEXSLIDER */

    .woocommerce div.product div.summary {

        max-width: 100% !important;

        box-sizing: border-box !important;

    }

}



/* MOBILE CROSS-SELLS FIX (ADICIONALES) */

@media (max-width: 768px) {

    .cross-sells ul.products li.product,

    .up-sells ul.products li.product,

    .related ul.products li.product {

        display: flex !important;

        flex-direction: column !important;

    }

    .cross-sells ul.products li.product .button,

    .up-sells ul.products li.product .button,

    .related ul.products li.product .button,

    ul.products li.product .button {

        margin-top: auto !important;

        width: 100% !important;

        text-align: center !important;

    }

}

/* HIDE GOOGLE TRANSLATE BANNER */

iframe.goog-te-banner-frame { display: none !important; }

.goog-te-banner-frame.skiptranslate, 

.goog-te-banner-frame { display: none !important; }

body { top: 0px !important; position: static !important; }

#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }

.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Ocultar barra superior de Google Translate */

iframe#\:1\.container {

    display: none !important;

}

/* Asegurar que el efecto sticky funcione sin que el overflow lo rompa */

html, body {

    overflow-x: clip;

}

/* ==========================================================================

   FIX OVERLAP COMPLEMENTOS (UP-SELLS)

   ========================================================================== */

.woocommerce div.product .up-sells.alcatraz-custom-addons {

    width: 100%;

    margin-top: 40px;

    clear: both;

    position: relative;

    z-index: 10;

    padding: 0 20px;

}

@media (max-width: 768px) {

    .woocommerce div.product .up-sells.alcatraz-custom-addons {

        padding: 0;

        margin-top: 20px;

    }

}



/* ==========================================================================

   CART PAGE STYLES (LUXURY REDESIGN)

   ========================================================================== */

.woocommerce-cart .woocommerce {

    max-width: 1200px;

    margin: 50px auto 100px;

    padding: 0 20px;

    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    align-items: flex-start;

}

.woocommerce-cart .woocommerce > * {

    width: 100%;

}

.woocommerce-cart .woocommerce > .woocommerce-cart-form,

.woocommerce-cart .woocommerce > .cart-collaterals {

    width: auto;

}

.woocommerce-cart .cart-empty, 

.woocommerce-cart .return-to-shop,

.woocommerce-cart .cross-sells,

.woocommerce-cart .woocommerce-notices-wrapper {

    width: 100% !important;

    text-align: center;

}



.woocommerce-cart .woocommerce-cart-form {

    flex: 1;

    min-width: 60%;

    background: #fff;

    border-radius: 24px;

    padding: 30px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.04);

}



.woocommerce-cart .cart-collaterals {

    width: 35%;

    min-width: 300px;

    background: #f8fafc;

    border-radius: 24px;

    padding: 30px;

    position: sticky;

    top: 120px;

}



@media (max-width: 768px) {

    .woocommerce-cart .woocommerce-cart-form,

    .woocommerce-cart .cart-collaterals {

        width: 100%;

        min-width: 100%;

        padding: 20px;

    }

    .woocommerce-cart .cart-collaterals {

        position: static;

        margin-top: 20px;

    }

}



.woocommerce-cart table.shop_table {

    border: none;

    border-radius: 0;

}

.woocommerce-cart table.shop_table th {

    background: transparent;

    border-bottom: 2px solid #f1f5f9;

    color: #64748b;

    font-weight: 600;

    text-transform: uppercase;

    font-size: 13px;

    padding-bottom: 15px;

}

.woocommerce-cart table.shop_table td {

    border-top: 1px solid #f1f5f9;

    padding: 20px 10px;

    vertical-align: middle;

}

.woocommerce-cart .product-thumbnail img {

    border-radius: 12px;

    width: 80px;

    height: 80px;

    object-fit: cover;

}

.woocommerce-cart .product-name a {

    color: #0f172a;

    font-weight: 700;

    font-size: 16px;

    text-decoration: none;

}

.woocommerce-cart .product-price, .woocommerce-cart .product-subtotal {

    color: #e02787;

    font-weight: 700;

}

.woocommerce-cart .actions .coupon {

    display: flex;

    gap: 10px;

}

.woocommerce-cart .actions .coupon input {

    border-radius: 99px !important;

    border: 1px solid #e2e8f0;

    padding: 12px 20px;

    width: 200px;

}

.woocommerce-cart .actions .button {

    border-radius: 99px !important;

    padding: 12px 24px !important;

    font-weight: 600;

}

.woocommerce-cart .cart_totals h2 {

    font-size: 24px;

    margin-bottom: 20px;

    font-weight: 800;

}

.woocommerce-cart .checkout-button {

    background: linear-gradient(135deg, #e02787 0%, #be185d 100%) !important;

    color: white !important;

    border-radius: 99px !important;

    width: 100%;

    text-align: center;

    padding: 18px !important;

    font-size: 18px !important;

    margin-top: 20px;

    display: block;

}

.woocommerce-cart .checkout-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(224, 39, 135, 0.3);

}

/* ==========================================================================

   WOOCOMMERCE BLOCKS (CART & CROSS-SELLS LUXURY FIX)

   ========================================================================== */

.wp-block-woocommerce-cart {

    max-width: 1200px;

    margin: 50px auto 100px;

    padding: 0 20px;

}



.wc-block-cart__main {

    background: #fff;

    border-radius: 24px;

    padding: 30px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.04);

}



.wc-block-cart__sidebar {

    background: #f8fafc;

    border-radius: 24px;

    padding: 30px;

    position: sticky;

    top: 120px;

}



.wc-block-components-totals-item__value {

    font-weight: 800;

    color: #e02787;

}



.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {

    background: linear-gradient(135deg, #e02787 0%, #be185d 100%) !important;

    color: white !important;

    border-radius: 99px !important;

    padding: 18px !important;

    font-size: 18px !important;

    font-weight: 700;

    box-shadow: 0 5px 15px rgba(224, 39, 135, 0.2);

}

.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(224, 39, 135, 0.4) !important;

}



/* CROSS-SELLS IN EMPTY CART */

.wc-block-grid__products {

    display: grid !important;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;

    gap: 30px !important;

    padding: 0 !important;

    list-style: none !important;

}



.wc-block-grid__product {

    background: #ffffff;

    border-radius: 20px;

    padding: 15px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.04);

    text-align: left !important;

    transition: transform 0.4s ease, box-shadow 0.4s ease;

    max-width: none !important;

    flex: none !important;

    width: 100% !important;

    margin: 0 !important;

    box-sizing: border-box !important;

}



.wc-block-grid__product:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.08);

}



.wc-block-components-product-image img {

    border-radius: 14px;

    margin-bottom: 20px;

    width: 100%;

    aspect-ratio: 4/5;

    object-fit: cover;

}



.wc-block-components-product-title,

.wc-block-grid__product-title,

.wc-block-components-product-name,

.wc-block-grid__product-title a,

.wc-block-components-product-name a {

    font-size: 18px !important;

    font-weight: 800 !important;

    color: #0f172a !important;

    text-decoration: none !important;

    margin-bottom: 10px;

    display: block;

    line-height: 1.3;

}



.wc-block-components-product-price,

.wc-block-grid__product-price,

.wc-block-grid__product .price {

    font-size: 19px !important;

    font-weight: 900 !important;

    color: #e02787 !important;

    margin-bottom: 18px;

    text-align: left;

    display: block;

}



.wc-block-grid__product .woocommerce-Price-amount {

    color: #e02787 !important;

    font-weight: 900 !important;

}



.wc-block-components-product-button .wp-block-button__link,

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {

    background: #f8fafc !important;

    color: #e02787 !important;

    border-radius: 99px !important;

    padding: 14px !important;

    font-size: 15px !important;

    border: 1px solid #e2e8f0;

    width: 100%;

    text-align: center;

    display: block;

    font-weight: 700;

}



.wc-block-components-product-button .wp-block-button__link:hover,

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover {

    background: #e02787 !important;

    color: #ffffff !important;

    box-shadow: 0 8px 20px rgba(224, 39, 135, 0.25) !important;

}



@media (max-width: 768px) {

    .wc-block-grid__products {

        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;

        gap: 15px !important;

    }

    .wc-block-cart__main, .wc-block-cart__sidebar {

        padding: 20px;

    }

}

/* FIX FOR WOOCOMMERCE FLEXSLIDER IMAGE DISAPPEARING ON CLICK (PC ONLY) */

@media (min-width: 769px) {

    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide { opacity: 1 !important; display: block !important; visibility: visible !important; height: auto !important; position: relative !important; z-index: 9 !important; }

    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image { transition: opacity 0.3s ease; }

}















/* FIX MOBILE WRAPPER HEIGHT COLLAPSE */

@media (max-width: 768px) {

    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {

        flex: none !important;

    }

}





/* ==========================================================================

   MI CUENTA (MY ACCOUNT) PREMIUM DESIGN

   ========================================================================== */



.woocommerce-account .woocommerce {

    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    max-width: 1200px;

    margin: 40px auto;

    padding: 0 20px;

}



/* Sidebar de Navegacin */

.woocommerce-account .woocommerce-MyAccount-navigation {

    flex: 0 0 280px;

    background: #fff;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.04);

    padding: 20px 0;

    align-self: flex-start;

}



.woocommerce-account .woocommerce-MyAccount-navigation ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.woocommerce-account .woocommerce-MyAccount-navigation ul li {

    margin: 0;

    border-bottom: 1px solid rgba(0,0,0,0.03);

}



.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {

    border-bottom: none;

}



.woocommerce-account .woocommerce-MyAccount-navigation ul li a {

    display: block;

    padding: 15px 30px;

    color: #4b5563;

    font-weight: 500;

    text-decoration: none;

    transition: all 0.3s ease;

    border-left: 3px solid transparent;

}



.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {

    background: rgba(236, 72, 153, 0.05); /* Hover rosa suave */

    color: var(--primary, #ec4899);

    padding-left: 35px;

}



.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {

    color: var(--primary, #ec4899);

    font-weight: 700;

    background: rgba(236, 72, 153, 0.08);

    border-left: 3px solid var(--primary, #ec4899);

}



/* Contenido Principal */

.woocommerce-account .woocommerce-MyAccount-content {

    flex: 1;

    min-width: 0;

    background: #fff;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.04);

    padding: 40px;

}



.woocommerce-account .woocommerce-MyAccount-content p {

    color: #4b5563;

    line-height: 1.6;

}



/* Tablas en Mi Cuenta (Pedidos, etc) */

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 20px;

}



.woocommerce-account .woocommerce-MyAccount-content table th {

    background: #f8fafc;

    padding: 15px;

    color: #1e293b;

    font-weight: 600;

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 0.5px;

    border-bottom: 2px solid #e2e8f0;

}



.woocommerce-account .woocommerce-MyAccount-content table td {

    padding: 15px;

    border-bottom: 1px solid #e2e8f0;

    color: #4b5563;

    vertical-align: middle;

}



/* Botones en Tablas */

.woocommerce-account .woocommerce-MyAccount-content table td .button {

    background: #f1f5f9 !important;

    color: #334155 !important;

    font-size: 13px !important;

    padding: 8px 15px !important;

    border-radius: 8px !important;

    border: none !important;

    font-weight: 600 !important;

}



.woocommerce-account .woocommerce-MyAccount-content table td .button:hover {

    background: var(--primary, #ec4899) !important;

    color: #fff !important;

}



/* Formularios en Mi Cuenta */

.woocommerce-account .woocommerce-MyAccount-content form {

    max-width: 800px;

}



.woocommerce-account .woocommerce-MyAccount-content fieldset {

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 25px;

    margin-top: 30px;

}



.woocommerce-account .woocommerce-MyAccount-content fieldset legend {

    font-weight: 700;

    color: #1e293b;

    padding: 0 10px;

}



/* Mobile Responsive para Mi Cuenta */

@media (max-width: 768px) {

    .woocommerce-account .woocommerce {

        flex-direction: column;

        padding: 0 15px;

        margin: 20px auto;

    }

    

    .woocommerce-account .woocommerce-MyAccount-navigation {

        flex: none;

        width: 100%;

        border-radius: 15px;

        overflow-x: auto;

        white-space: nowrap;

        padding: 10px;

        -webkit-overflow-scrolling: touch;

    }

    

    .woocommerce-account .woocommerce-MyAccount-navigation ul {

        display: flex;

        gap: 10px;

    }

    

    .woocommerce-account .woocommerce-MyAccount-navigation ul li {

        border: none;

    }

    

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {

        padding: 10px 15px;

        background: #f8fafc;

        border-radius: 8px;

        border-left: none;

        font-size: 14px;

    }

    

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,

    .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {

        padding-left: 15px; /* Quitar efecto de hover a la derecha en movil */

        border-left: none;

        background: rgba(236, 72, 153, 0.1);

    }

    

    .woocommerce-account .woocommerce-MyAccount-content {

        padding: 20px;

    }

    

    .woocommerce-account .woocommerce-MyAccount-content table {

        display: block;

        overflow-x: auto;

        white-space: nowrap;

    }

}



/* ==========================================================================

   LOGIN / REGISTRO PREMIUM DESIGN

   ========================================================================== */



#customer_login {

    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    max-width: 1100px;

    margin: 60px auto;

    justify-content: center;

}



#customer_login .u-column1,

#customer_login .u-column2 {

    flex: 1;

    min-width: 320px;

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.06);

    padding: 40px;

    border: 1px solid rgba(0,0,0,0.02);

}



#customer_login h2 {

    font-size: 24px;

    font-weight: 800;

    color: #1e293b;

    margin-bottom: 25px;

    text-align: center;

}



#customer_login form {

    border: none;

    padding: 0;

    margin: 0;

}



#customer_login form .form-row {

    margin-bottom: 20px;

}



#customer_login form label {

    font-size: 14px;

    font-weight: 600;

    color: #475569;

    margin-bottom: 8px;

    display: block;

}



#customer_login form .input-text {

    width: 100%;

    padding: 16px 20px;

    border-radius: 12px;

    border: 1px solid #cbd5e1;

    background: #f8fafc;

    color: #1e293b;

    font-size: 15px;

    transition: all 0.3s ease;

}



#customer_login form .input-text:focus {

    border-color: var(--primary, #ec4899);

    background: #ffffff;

    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);

    outline: none;

}



#customer_login form .button {

    width: 100%;

    padding: 16px;

    border-radius: 12px;

    font-size: 16px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-top: 10px;

    background: var(--primary, #ec4899);

    color: #fff;

    border: none;

    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



#customer_login form .button:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);

}



/* Links (Olvidaste tu contrasea) y Checkboxes */

#customer_login form .woocommerce-LostPassword {

    text-align: center;

    margin-top: 20px;

}



#customer_login form .woocommerce-LostPassword a {

    color: #64748b;

    font-size: 14px;

    text-decoration: none;

    transition: color 0.3s ease;

}



#customer_login form .woocommerce-LostPassword a:hover {

    color: var(--primary, #ec4899);

}



#customer_login form .woocommerce-form-login__rememberme {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    font-weight: normal;

    color: #64748b;

}



/* Solo 1 columna si el registro est desactivado */

.woocommerce > .woocommerce-form-login {

    max-width: 500px;

    margin: 60px auto;

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.06);

    padding: 40px;

}



@media (max-width: 768px) {

    #customer_login {

        margin: 30px auto;

        padding: 0 15px;

        gap: 25px;

    }

    

    #customer_login .u-column1,

    #customer_login .u-column2 {

        padding: 25px;

        border-radius: 20px;

    }

}





/* ==========================================================================

   LOGIN / REGISTRO PREMIUM DESIGN V2

   ========================================================================== */



/* Centrar el login SOLO cuando el usuario NO ha iniciado sesión */

body.woocommerce-account:not(.logged-in) .woocommerce {

    display: flex;

    flex-direction: column;

    align-items: center;

}



body.woocommerce-account .woocommerce > h2 {

    font-size: 32px;

    font-weight: 800;

    color: #1e293b;

    margin-top: 40px;

    margin-bottom: 15px;

    text-align: center;

}



/* Si el registro est activado, existe #customer_login */

#customer_login h2 {

    font-size: 26px;

    font-weight: 800;

    color: #1e293b;

    margin-bottom: 25px;

    text-align: center;

    width: 100%;

}



#customer_login {

    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    max-width: 1100px;

    margin: 40px auto;

    justify-content: center;

    width: 100%;

}



#customer_login .u-column1, #customer_login .u-column2 {

    flex: 1;

    min-width: 320px;

    max-width: 500px;

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);

    padding: 45px 40px;

    border: 1px solid rgba(0,0,0,0.03);

    box-sizing: border-box;

}



/* Reset inner form styles when inside the 2-column layout */

#customer_login .woocommerce-form-login, 

#customer_login .woocommerce-form-register {

    background: transparent !important;

    box-shadow: none !important;

    padding: 0 !important;

    border: none !important;

    margin: 0 !important;

    max-width: 100% !important;

}



/* Standalone login form (when registration is disabled and there is no 2-column layout) */

.woocommerce-account .woocommerce > .woocommerce-form-login {

    width: 100%;

    max-width: 500px;

    margin: 0 auto 60px auto;

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);

    padding: 45px 40px;

    border: 1px solid rgba(0,0,0,0.03);

    position: relative;

    box-sizing: border-box;

}



/* Mensajes de bienvenida dentro de las tarjetas */

.woocommerce-form-login::before {

    content: "¡Hola de nuevo! Ingresa para gestionar tus pedidos.";

    display: block;

    text-align: center;

    color: #64748b;

    font-size: 15px;

    margin-bottom: 30px;

    line-height: 1.5;

}



.woocommerce-form-register::before {

    content: "Crea una cuenta para disfrutar de envíos rápidos y más sorpresas.";

    display: block;

    text-align: center;

    color: #64748b;

    font-size: 15px;

    margin-bottom: 30px;

    line-height: 1.5;

}



.woocommerce-form-login .form-row, .woocommerce-form-register .form-row {

    margin-bottom: 22px;

}



.woocommerce-form-login label, .woocommerce-form-register label {

    font-size: 14px;

    font-weight: 600;

    color: #475569;

    margin-bottom: 10px;

    display: block;

}



.woocommerce-form-login .input-text, .woocommerce-form-register .input-text {

    width: 100% !important;

    padding: 16px 20px !important;

    border-radius: 12px !important;

    border: 2px solid #e2e8f0 !important;

    background: #f8fafc !important;

    color: #1e293b !important;

    font-size: 15px !important;

    transition: all 0.3s ease !important;

    box-shadow: none !important;

    box-sizing: border-box;

}



.woocommerce-form-login .input-text:focus, .woocommerce-form-register .input-text:focus {

    border-color: var(--primary, #ec4899) !important;

    background: #ffffff !important;

    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15) !important;

    outline: none !important;

}



.woocommerce-form-login .button, .woocommerce-form-register .button {

    width: 100% !important;

    padding: 18px !important;

    border-radius: 14px !important;

    font-size: 16px !important;

    font-weight: 700 !important;

    text-transform: uppercase !important;

    letter-spacing: 1px !important;

    margin-top: 15px !important;

    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;

    color: #fff !important;

    border: none !important;

    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3) !important;

    transition: transform 0.3s ease, box-shadow 0.3s ease !important;

}



.woocommerce-form-login .button:hover, .woocommerce-form-register .button:hover {

    transform: translateY(-3px) !important;

    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4) !important;

}



.woocommerce-form-login .woocommerce-LostPassword {

    text-align: center;

    margin-top: 25px;

    width: 100%;

    display: block;

}



.woocommerce-form-login .woocommerce-LostPassword a {

    color: var(--primary, #ec4899);

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.3s ease;

}



.woocommerce-form-login .woocommerce-LostPassword a:hover {

    color: #be185d;

    text-decoration: underline;

}



.woocommerce-form-login .woocommerce-form-login__rememberme {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    font-weight: 500;

    color: #475569;

    cursor: pointer;

}



.woocommerce-form-login .woocommerce-form-login__rememberme input[type="checkbox"] {

    width: 20px;

    height: 20px;

    accent-color: var(--primary, #ec4899);

    cursor: pointer;

    margin: 0;

}



@media (max-width: 768px) {

    .woocommerce-form-login, .woocommerce-form-register {

        padding: 30px 20px;

        border-radius: 20px;

        box-shadow: 0 15px 35px rgba(0,0,0,0.05);

    }

}



/* ==========================================================================

   LOST PASSWORD PREMIUM DESIGN

   ========================================================================== */

.woocommerce-ResetPassword.lost_reset_password {

    width: 100%;

    max-width: 500px;

    margin: 60px auto;

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);

    padding: 45px 40px;

    border: 1px solid rgba(0,0,0,0.03);

    box-sizing: border-box;

}



.woocommerce-ResetPassword.lost_reset_password p {

    text-align: center;

    color: #64748b;

    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 25px;

}



.woocommerce-ResetPassword.lost_reset_password .form-row {

    margin-bottom: 22px;

    width: 100%;

}



.woocommerce-ResetPassword.lost_reset_password label {

    font-size: 14px;

    font-weight: 600;

    color: #475569;

    margin-bottom: 10px;

    display: block;

    text-align: left;

}



.woocommerce-ResetPassword.lost_reset_password .input-text {

    width: 100% !important;

    padding: 16px 20px !important;

    border-radius: 12px !important;

    border: 2px solid #e2e8f0 !important;

    background: #f8fafc !important;

    color: #1e293b !important;

    font-size: 15px !important;

    transition: all 0.3s ease !important;

    box-shadow: none !important;

    box-sizing: border-box;

}



.woocommerce-ResetPassword.lost_reset_password .input-text:focus {

    border-color: var(--primary, #ec4899) !important;

    background: #ffffff !important;

    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15) !important;

    outline: none !important;

}



.woocommerce-ResetPassword.lost_reset_password .button {

    width: 100% !important;

    padding: 18px !important;

    border-radius: 14px !important;

    font-size: 16px !important;

    font-weight: 700 !important;

    text-transform: uppercase !important;

    letter-spacing: 1px !important;

    margin-top: 15px !important;

    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;

    color: #fff !important;

    border: none !important;

    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3) !important;

    transition: transform 0.3s ease, box-shadow 0.3s ease !important;

}



.woocommerce-ResetPassword.lost_reset_password .button:hover {

    transform: translateY(-3px) !important;

    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4) !important;

}



@media (max-width: 768px) {

    .woocommerce-ResetPassword.lost_reset_password {

        padding: 30px 20px;

        margin: 30px auto;

        border-radius: 20px;

    }

}









/* ==========================================================================

   WOOCOMMERCE NOTICES PREMIUM DESIGN

   ========================================================================== */

.woocommerce-notices-wrapper .woocommerce-message,

.woocommerce-notices-wrapper .woocommerce-info,

.woocommerce-notices-wrapper .woocommerce-error,

.woocommerce-message, .woocommerce-info, .woocommerce-error {

    background: #f8fafc;

    border-radius: 12px;

    border-top: none;

    border-left: 4px solid var(--primary, #ec4899);

    padding: 20px 25px;

    margin-bottom: 30px;

    box-shadow: 0 10px 20px rgba(0,0,0,0.03);

    color: #334155;

    font-weight: 500;

    

    /* Arreglo para el boton (WooCommerce lo pone de primero en el HTML) */

    display: flex;

    align-items: center;

    flex-direction: row-reverse;

    justify-content: space-between;

    text-align: left;

}



@media (max-width: 768px) {

    .woocommerce-message, .woocommerce-info, .woocommerce-error {

        flex-direction: column-reverse;

        align-items: stretch;

        text-align: center;

        gap: 15px;

    }

}



.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {

    display: none; /* Hide default weird icons */

}



.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {

    background: var(--primary, #ec4899) !important;

    color: #fff !important;

    border-radius: 8px !important;

    padding: 10px 20px !important;

    font-size: 14px !important;

    border: none !important;

    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.2) !important;

    float: none !important;

}





/* ==========================================================================

   MY ACCOUNT DASHBOARD LINKS & TEXT

   ========================================================================== */

.woocommerce-MyAccount-content {

    font-size: 16px;

    line-height: 1.8;

    color: #475569;

}



.woocommerce-MyAccount-content strong {

    color: #1e293b;

    font-weight: 700;

}



.woocommerce-MyAccount-content a {

    color: var(--primary, #ec4899);

    font-weight: 600;

    text-decoration: none;

    padding: 2px 6px;

    border-radius: 6px;

    background: rgba(236, 72, 153, 0.05);

    transition: all 0.3s ease;

}



.woocommerce-MyAccount-content a:hover {

    background: var(--primary, #ec4899);

    color: #ffffff;

    text-decoration: none;

}





/* ==========================================================================

   POPUP & AJAX BUTTONS (OVERRIDE GREEN COLORS)

   ========================================================================== */

a.added_to_cart, 

.wc-forward, 

.woocommerce-message .button, 

.xoo-wsc-btn, 

.xoo-cp-btn,

.xoo-wsc-btn-checkout,

.wc-block-components-button,

.yith-wcwl-popup-button {

    background: #ec4899 !important;

    background-color: #ec4899 !important;

    border-color: #ec4899 !important;

    color: #fff !important;

    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.2) !important;

}





/* ==========================================================================

   MOBILE SINGLE PRODUCT LAYOUT FIXES (CENTERING & DOUBLE PRICE)

   ========================================================================== */

@media (max-width: 768px) {

    /* Precio alineado a la izquierda, igual que el titulo */

    .woocommerce div.product .summary .price,

    .woocommerce div.product .summary p.price {

        text-align: left !important;

        margin: 10px 0 20px 0 !important;

    }



    /* Ocultar precios duplicados dentro del formulario */

    form.cart .price,

    form.cart .woocommerce-variation-price,

    form.cart .tm-epo-totals,

    form.cart .wapf-grand-total,

    form.cart .tc-totals-container,

    form.cart .yith-wapo-total-price,

    .wpc-product-price-wrapper {

        display: none !important;

    }



    /* Textos y opciones del formulario a la izquierda */

    .woocommerce div.product form.cart {

        text-align: left !important;

    }



    /* Solo el boton de anadir al carrito centrado y ancho completo */

    .woocommerce div.product form.cart button.single_add_to_cart_button {

        width: 100% !important;

        margin: 15px 0 !important;

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        text-align: center !important;

        float: none !important;

    }

}





/* ==========================================================================

   GRID 4 POR FILA (FAVORITOS HOME + TE PUEDE INTERESAR) EN LAPTOP Y MONITOR

   ========================================================================== */

.woocommerce div.product .related.products,

section.related.products {

    clear: both !important;

    float: none !important;

    width: 100% !important;

    max-width: 1320px !important;

    margin: 40px auto 0 auto !important;

    padding: 0 24px !important;

    box-sizing: border-box;

    grid-column: 1 / -1;

    text-align: center;

}

section.related.products ul.products li.product { text-align: left; }



@media (min-width: 900px) {

    .alcatraz-home-bestsellers {
        width: 100% !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
    }

    .alcatraz-products-grid-wrapper,
    .alcatraz-products-grid-wrapper .woocommerce,
    .alcatraz-products-grid-wrapper .woocommerce.columns-4 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .alcatraz-products-grid-wrapper ul.products,
    .alcatraz-home-bestsellers ul.products,
    section.related.products ul.products {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 24px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .alcatraz-products-grid-wrapper ul.products li.product,

    .alcatraz-home-bestsellers ul.products li.product,

    section.related.products ul.products li.product {

        width: auto !important;

        max-width: none !important;

        margin: 0 !important;

        float: none !important;

    }

    .alcatraz-products-grid-wrapper ul.products::before,

    .alcatraz-products-grid-wrapper ul.products::after,

    section.related.products ul.products::before,

    section.related.products ul.products::after { display: none !important; }

}



/* Imagen cuadrada completa y badge de oferta legible en estas cuadriculas */

.alcatraz-products-grid-wrapper ul.products li.product a img,

section.related.products ul.products li.product a img {

    width: 100% !important;

    height: auto !important;

    aspect-ratio: 1 / 1 !important;

    object-fit: cover !important;

    object-position: center !important;

    display: block !important;

    margin: 0 !important;

}

.alcatraz-products-grid-wrapper ul.products li.product,

section.related.products ul.products li.product { position: relative; overflow: hidden; }

.alcatraz-products-grid-wrapper ul.products li.product .onsale,
.luxury-shop-main ul.products li.product .onsale,
ul.products li.product .onsale,
.woocommerce ul.products li.product .onsale,
section.related.products ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3) !important;
    z-index: 5 !important;
}

@media (min-width: 900px) and (max-width: 1200px) {

    .alcatraz-products-grid-wrapper ul.products li.product .woocommerce-loop-product__title,

    section.related.products ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }

    .alcatraz-products-grid-wrapper ul.products li.product .button,

    section.related.products ul.products li.product .button { font-size: 13px !important; padding: 10px 8px !important; }

}

/* Segunda imagen en hover */

ul.products li.product a.woocommerce-LoopProduct-link { position: relative; display: block; }

ul.products li.product img.alcatraz-hover-img {

    position: absolute !important;

    top: 0 !important; left: 0 !important;

    width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    height: auto !important;

    object-fit: cover !important;

    opacity: 0;

    transition: opacity 0.45s ease, transform 0.6s ease;

    z-index: 1;

    pointer-events: none;

    margin: 0 !important;

}

@media (hover: hover) {

    ul.products li.product:hover img.alcatraz-hover-img { opacity: 1; transform: scale(1.03); }

}



/* ==========================================================================

   ANIMACIONES DE ENTRADA E INTERACCION

   ========================================================================== */

.ax-reveal {

    opacity: 0;

    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);

    transition-delay: var(--ax-delay, 0ms);

    will-change: opacity, transform;

}

.ax-up    { transform: translateY(32px); }

.ax-left  { transform: translateX(-36px); }

.ax-right { transform: translateX(36px); }

.ax-reveal.ax-in { opacity: 1; transform: none; }



/* Tarjetas de producto: elevacion suave */

ul.products li.product {

    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease !important;

}

@media (hover: hover) {

    ul.products li.product:hover {

        transform: translateY(-8px) !important;

        box-shadow: 0 18px 40px rgba(236,72,153,.16), 0 4px 12px rgba(15,23,42,.06) !important;

    }

    ul.products li.product.ax-reveal.ax-in:hover { transition-delay: 0ms; }

    ul.products li.product img:not(.alcatraz-hover-img) { transition: transform .6s ease; }

    ul.products li.product:hover img:not(.alcatraz-hover-img) { transform: scale(1.04); }

    ul.products li.product .woocommerce-loop-product__title { transition: color .3s ease; }

    ul.products li.product:hover .woocommerce-loop-product__title { color: #ec4899 !important; }

}

ul.products li.product a.woocommerce-LoopProduct-link { overflow: hidden; }



/* Botones: brillo al pasar el mouse */

ul.products li.product .button,

.single_add_to_cart_button {

    position: relative;

    overflow: hidden;

    transition: transform .25s ease, box-shadow .25s ease !important;

}

ul.products li.product .button::after,

.single_add_to_cart_button::after {

    content: '';

    position: absolute; top: 0; left: -120%;

    width: 60%; height: 100%;

    background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);

    transform: skewX(-20deg);

    transition: left .7s ease;

    pointer-events: none;

}

@media (hover: hover) {

    ul.products li.product .button:hover,

    .single_add_to_cart_button:hover {

        transform: translateY(-2px);

        box-shadow: 0 10px 22px rgba(236,72,153,.35) !important;

    }

    ul.products li.product .button:hover::after,

    .single_add_to_cart_button:hover::after { left: 130%; }

}

.ax-ripple {

    position: absolute; border-radius: 50%;

    background: rgba(255,255,255,.5);

    transform: scale(0); animation: axRipple .65s ease-out forwards;

    pointer-events: none;

}

@keyframes axRipple { to { transform: scale(2.6); opacity: 0; } }



/* Badge de oferta con latido sutil */

ul.products li.product .onsale { animation: axPulse 2.4s ease-in-out infinite; }

@keyframes axPulse {

    0%,100% { box-shadow: 0 0 0 0 rgba(236,72,153,.45); }

    50%     { box-shadow: 0 0 0 8px rgba(236,72,153,0); }

}



/* Linea decorativa animada bajo los titulos de seccion */

.center-title-section h2::after,

.center-title-section h3::after {

    content: '';

    display: block;

    width: 0; height: 3px;

    margin: 10px auto 0;

    border-radius: 3px;

    background: linear-gradient(90deg, #f9a8d4, #ec4899);

    transition: width .9s cubic-bezier(.22,1,.36,1) .2s;

}

.center-title-section.ax-in h2::after,

.center-title-section.ax-in h3::after,

.center-title-section:not(.ax-reveal) h2::after,

.center-title-section:not(.ax-reveal) h3::after { width: 70px; }



@media (prefers-reduced-motion: reduce) {

    .ax-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

    ul.products li.product .onsale { animation: none; }

}



/* Tarjetas de categorias y ocasiones: movimiento e interaccion */

.square-category-card,

.square-ocasion-card {

    position: relative;

    overflow: hidden;

    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease !important;

}

.square-category-card img,

.square-ocasion-card img { transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s ease !important; }

.square-category-card::after,

.square-ocasion-card::after {

    display: none !important;

}

.square-category-title-top,

.square-ocasion-title-top { position: relative; z-index: 2; transition: transform .4s ease, letter-spacing .4s ease; }

@media (hover: hover) {

    .square-category-card:hover,

    .square-ocasion-card:hover {

        transform: translateY(-8px) !important;

        box-shadow: 0 20px 40px rgba(236,72,153,.22), 0 6px 14px rgba(15,23,42,.08) !important;

    }

    .square-category-card:hover img,

    .square-ocasion-card:hover img { transform: scale(1.08); filter: saturate(1.15); }

    /* Fondo en hover eliminado a peticion */

    .square-category-card:hover .square-category-title-top,

    .square-ocasion-card:hover .square-ocasion-title-top { transform: translateY(4px); letter-spacing: .5px; }

}

.square-category-card:active,

.square-ocasion-card:active { transform: scale(.97) !important; }



/* Flechas del carrusel */

.cat-nav-arrow, .ocasion-nav-arrow { transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease !important; }

@media (hover: hover) {

    .cat-nav-arrow:hover, .ocasion-nav-arrow:hover {

        background: #ec4899 !important; color: #fff !important;

        transform: translateY(-50%) scale(1.12);

        box-shadow: 0 8px 20px rgba(236,72,153,.35) !important;

    }

}



/* Cajas de compromisos */

.compromiso-box { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease !important; }

.compromiso-box i { transition: transform .5s cubic-bezier(.34,1.56,.64,1); display: inline-block; }

@media (hover: hover) {

    .compromiso-box:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(236,72,153,.15) !important; }

    .compromiso-box:hover i { transform: scale(1.2) rotate(-8deg); }

}



/* Espacio para que la elevacion no se corte dentro del carrusel */

#categories-track, #ocasiones-track { padding-top: 12px !important; padding-bottom: 22px !important; }





/* Refuerzo de animacion y hover para tarjetas de producto en catalogo y tienda */

.alcatraz-products-grid-wrapper ul.products li.product,

section.related.products ul.products li.product,

.woocommerce ul.products li.product {

    will-change: transform, box-shadow;

    border-radius: 16px;

    background: #ffffff;

}



@media (hover: hover) {

    .alcatraz-products-grid-wrapper ul.products li.product:hover,

    section.related.products ul.products li.product:hover,

    .woocommerce ul.products li.product:hover {

        transform: translateY(-8px) !important;

        box-shadow: 0 16px 36px rgba(236,72,153,0.18), 0 4px 12px rgba(0,0,0,0.06) !important;

        border-color: rgba(236,72,153,0.3) !important;

    }

}

/* ==========================================================================

   MEJORA DE VISIBILIDAD DEL LOGO EN NAVBAR

   ========================================================================== */

.brand-logo img {

    height: 64px !important;

    max-height: 64px !important;

    width: auto !important;

    object-fit: contain !important;

    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));

    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;

}

.brand-info h1 {

    font-size: 24px !important;

    font-weight: 800 !important;

    color: #0f172a !important;

    letter-spacing: -0.5px;

    margin: 0 !important;

    line-height: 1.1 !important;

}

.brand-info span {

    font-size: 11.5px !important;

    font-weight: 500 !important;

    color: #ec4899 !important;

    letter-spacing: 0.3px;

    text-transform: uppercase;

    display: block;

    margin-top: 2px;

}

.brand-logo-mobile img {

    height: 38px !important;

    max-height: 38px !important;

    width: auto !important;

    object-fit: contain !important;

}

.brand-logo-mobile span {

    font-size: 16px !important;

    font-weight: 800 !important;

}



/* Ajuste para que el Logo Real ocupe todo el espacio de marca sin textos al lado */

.brand-logo {

    display: flex !important;

    align-items: center !important;

    text-decoration: none !important;

    margin-right: 15px;

}

.brand-logo img {

    height: 72px !important;

    max-height: 75px !important;

    width: auto !important;

    max-width: 260px !important;

    object-fit: contain !important;

    filter: none !important;

}

.brand-info {

    display: none !important;

}

.brand-logo-mobile img {

    height: 44px !important;

    max-height: 46px !important;

    width: auto !important;

    max-width: 170px !important;

    object-fit: contain !important;

}



/* ==========================================================================

   AMPLIACION Y DESTACADO DEL LOGO PRINCIPAL (PC Y LAPTOP)

   ========================================================================== */

.navbar-tienda {

    padding: 6px 0 !important;

}

.navbar-container.navbar-desktop {

    padding: 6px 28px !important;

    gap: 24px !important;

}

.brand-logo {

    display: flex !important;

    align-items: center !important;

    text-decoration: none !important;

    margin-right: 10px !important;

    flex-shrink: 0 !important;

}

.brand-logo img {

    height: 90px !important;

    max-height: 95px !important;

    width: auto !important;

    max-width: 320px !important;

    object-fit: contain !important;

    filter: none !important;

    transform: none !important;

}

@media (max-width: 1200px) {

    .brand-logo img {

        height: 78px !important;

        max-height: 82px !important;

        max-width: 260px !important;

    }

}

.brand-logo-mobile img {

    height: 50px !important;

    max-height: 52px !important;

    width: auto !important;

    max-width: 190px !important;

    object-fit: contain !important;

}



/* NAVBAR BLANCO SOLIDO Y LOGO GRANDE DEFINITIVO */

.navbar-tienda {

    background: #ffffff !important;

    backdrop-filter: none !important;

    -webkit-backdrop-filter: none !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;

    border-bottom: 1px solid #f1f5f9 !important;

}

.brand-logo {

    display: flex !important;

    align-items: center !important;

    text-decoration: none !important;

    margin-right: 15px !important;

    flex-shrink: 0 !important;

}

.brand-logo img {

    height: 105px !important;

    max-height: 110px !important;

    width: auto !important;

    max-width: 360px !important;

    object-fit: contain !important;

    filter: none !important;

    display: block !important;

}

@media (max-width: 1200px) {

    .brand-logo img {

        height: 90px !important;

        max-height: 95px !important;

        max-width: 290px !important;

    }

}

.brand-logo-mobile img {

    height: 56px !important;

    max-height: 60px !important;

    width: auto !important;

    max-width: 200px !important;

}



/* ==========================================================================

   PANTALLA DE CARGA / PRELOADER CINEMATOGRAFICO ALCATRAZ

   ========================================================================== */

.alcatraz-preloader {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    background: #ffffff;

    z-index: 9999999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 1;

    visibility: visible;

    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s ease;

    pointer-events: all;

}



.alcatraz-preloader.fade-out {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}



.preloader-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    max-width: 380px;

    padding: 20px;

}



.preloader-logo-wrap {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 24px;

}



.preloader-halo {

    position: absolute;

    width: 140px;

    height: 140px;

    border-radius: 50%;

    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, rgba(236, 72, 153, 0) 70%);

    animation: preloaderPulse 2.2s infinite ease-in-out;

    pointer-events: none;

}



.preloader-logo {

    width: auto;

    height: 95px;

    max-width: 280px;

    object-fit: contain;

    position: relative;

    z-index: 2;

    animation: preloaderFloat 2.4s infinite ease-in-out;

}



@keyframes preloaderPulse {

    0%, 100% {

        transform: scale(0.85);

        opacity: 0.4;

    }

    50% {

        transform: scale(1.4);

        opacity: 0.9;

    }

}



@keyframes preloaderFloat {

    0%, 100% {

        transform: translateY(0) scale(1);

        filter: drop-shadow(0 6px 14px rgba(236, 72, 153, 0.15));

    }

    50% {

        transform: translateY(-8px) scale(1.03);

        filter: drop-shadow(0 14px 24px rgba(236, 72, 153, 0.3));

    }

}



.preloader-progress-track {

    width: 200px;

    height: 4px;

    background: #f1f5f9;

    border-radius: 10px;

    overflow: hidden;

    position: relative;

    margin-bottom: 14px;

}



.preloader-progress-bar {

    width: 45%;

    height: 100%;

    background: linear-gradient(90deg, #f43f5e, #ec4899, #d946ef);

    border-radius: 10px;

    position: absolute;

    left: -45%;

    animation: preloaderSlide 1.3s infinite cubic-bezier(0.65, 0, 0.35, 1);

}



@keyframes preloaderSlide {

    0% {

        left: -45%;

        width: 30%;

    }

    50% {

        width: 60%;

    }

    100% {

        left: 100%;

        width: 30%;

    }

}



.preloader-text {

    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    font-size: 13.5px;

    font-weight: 500;

    color: #64748b;

    letter-spacing: 0.3px;

    margin: 0;

    animation: preloaderTextFade 1.6s infinite ease-in-out;

}



@keyframes preloaderTextFade {

    0%, 100% { opacity: 0.6; }

    50% { opacity: 1; color: #ec4899; }

}



/* ==========================================================================

   CENTRALIZACION Y RESPONSIVE DE CAJA PERSONALIZA TU SORPRESA EN MOVIL

   ========================================================================== */

@media (max-width: 768px) {

    .woocommerce div.product div.summary {

        padding: 0 16px !important;

        margin-left: auto !important;

        margin-right: auto !important;

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;

    }

    .alcatraz-custom-fields {

        width: 100% !important;

        max-width: 100% !important;

        margin: 20px auto 25px auto !important;

        box-sizing: border-box !important;

        padding: 18px 16px !important;

        border-radius: 16px !important;

    }

    .woocommerce div.product form.cart {

        width: 100% !important;

        margin-left: auto !important;

        margin-right: auto !important;

        box-sizing: border-box !important;

    }

    .woocommerce div.product form.cart .button,

    .woocommerce div.product form.cart button.single_add_to_cart_button {

        width: 100% !important;

        max-width: 100% !important;

        margin: 15px auto !important;

        box-sizing: border-box !important;

    }

    .alcatraz-bottom-price {

        text-align: left !important;

        width: 100% !important;

        padding: 0 4px;

        box-sizing: border-box !important;

    }

}



/* ==========================================================================

   WIDGET FLOTANTE DE PERSONAJE IA ASOMADO CON GLOBO DE TEXTO (COMIC BUBBLE)

   ========================================================================== */

.floating-tab-asistente {

    display: none !important; /* Retirar botón morado anterior */

}



.ia-character-floating-widget {

    position: fixed;

    bottom: 0;

    right: 0;

    z-index: 99999;

    display: flex;

    align-items: flex-end;

    cursor: pointer;

    user-select: none;

    -webkit-tap-highlight-color: transparent;

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22));

}



.ia-character-floating-widget:hover {

    transform: translateY(-6px) scale(1.03);

}



.ia-character-floating-widget:active {

    transform: scale(0.96);

}



/* Imagen del Personaje Asomado desde el borde derecho */

.ia-character-img-wrap {

    position: relative;

    display: block;

    line-height: 0;

}



.ia-character-img {

    height: 155px;

    width: auto;

    object-fit: contain;

    display: block;

    pointer-events: none;

    animation: iaPeekWave 3.5s infinite ease-in-out;

    transform-origin: bottom right;

}



/* Punto de estado En Línea integrado en el globo de texto */

.ia-status-dot-inline {

    display: inline-block;

    width: 8px;

    height: 8px;

    background: #10b981;

    border-radius: 50%;

    margin-right: 5px;

    vertical-align: middle;

    box-shadow: 0 0 7px rgba(16, 185, 129, 0.9);

    animation: iaStatusPulse 2s infinite ease-in-out;

}



.ia-status-dot {

    display: none !important;

}



@keyframes iaStatusPulse {

    0%, 100% { transform: scale(1); opacity: 1; }

    50% { transform: scale(1.25); opacity: 0.75; }

}



@keyframes iaPeekWave {

    0%, 100% {

        transform: rotate(0deg) translateY(0);

    }

    30% {

        transform: rotate(-3deg) translateY(-4px);

    }

    60% {

        transform: rotate(1deg) translateY(-2px);

    }

}



/* Globo de Texto (Comic Speech Bubble) */

.ia-speech-bubble {

    position: relative;

    background: #ffffff;

    padding: 10px 16px;

    border-radius: 18px 18px 4px 18px;

    margin-right: -10px;

    margin-bottom: 70px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(236, 72, 153, 0.15);

    border: 1.5px solid rgba(236, 72, 153, 0.25);

    display: flex;

    flex-direction: column;

    max-width: 190px;

    animation: iaBubbleFloat 3s infinite ease-in-out;

    z-index: 2;

}



/* Piquito del globo apuntando hacia el personaje */

.ia-speech-bubble::after {

    content: '';

    position: absolute;

    right: -8px;

    bottom: 12px;

    width: 0;

    height: 0;

    border-top: 6px solid transparent;

    border-bottom: 6px solid transparent;

    border-left: 9px solid #ffffff;

    filter: drop-shadow(2px 0 1px rgba(236, 72, 153, 0.2));

}



@keyframes iaBubbleFloat {

    0%, 100% { transform: translateY(0); }

    50% { transform: translateY(-5px); }

}



.ia-bubble-text {

    font-family: 'Outfit', sans-serif;

    font-size: 13.5px;

    font-weight: 700;

    color: #0f172a;

    line-height: 1.25;

    display: block;

}



.ia-bubble-sub {

    font-family: 'Outfit', sans-serif;

    font-size: 11px;

    font-weight: 500;

    color: #ec4899;

    margin-top: 2px;

    display: block;

    line-height: 1.2;

}



/* ==========================================================================

   AVATAR DEL PERSONAJE DENTRO DEL CHAT MODAL

   ========================================================================== */

.chat-bot-avatar-img {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    object-fit: cover;

    background: #fdf2f8;

    border: 2px solid #ec4899;

    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.2);

    margin-right: 12px;

}



.msg-avatar-img {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    object-fit: cover;

    background: #fdf2f8;

    border: 1.5px solid #ec4899;

    flex-shrink: 0;

    margin-right: 10px;

}



/* ==========================================================================

   ADAPTACION RESPONSIVA EN MOVIL

   ========================================================================== */

@media (max-width: 768px) {

    .ia-character-img {

        height: 115px; /* Proporcion ideal para no tapar contenido */

    }

    .ia-speech-bubble {

        margin-bottom: 50px;

        margin-right: -6px;

        padding: 7px 12px;

        max-width: 145px;

        border-radius: 14px 14px 3px 14px;

    }

    .ia-bubble-text {

        font-size: 11.5px;

    }

    .ia-bubble-sub {

        font-size: 9.5px;

    }

    .ia-status-dot {

        width: 11px;

        height: 11px;

        bottom: 15px;

        left: 8px;

    }

}



/* ==========================================================================

   REDISENO PREMIUM Y CORRECCION ESTRUCTURAL DEL CHAT IA (PC & MOVIL)

   ========================================================================== */

.modal-overlay-asistente {

    display: none;

    position: fixed;

    top: 0; left: 0; width: 100vw; height: 100vh;

    background: rgba(15, 23, 42, 0.45) !important;

    backdrop-filter: blur(8px) !important;

    -webkit-backdrop-filter: blur(8px) !important;

    z-index: 999999 !important;

    align-items: flex-end !important;

    justify-content: flex-end !important;

    padding: 24px 28px !important;

    box-sizing: border-box !important;

}



.modal-overlay-asistente.active {

    display: flex !important;

}



/* Ocultar el personaje flotante del fondo cuando el chat esté abierto para que no se encime */

body:has(.modal-overlay-asistente.active) #alcatraz-ia-floating-widget {

    opacity: 0 !important;

    pointer-events: none !important;

    transform: translateY(20px) !important;

    transition: all 0.3s ease !important;

}



.asistente-chat-window {

    width: 420px !important;

    max-width: 95vw !important;

    height: 600px !important;

    max-height: calc(100vh - 50px) !important;

    background: #ffffff !important;

    border-radius: 24px !important;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(236, 72, 153, 0.15) !important;

    display: flex !important;

    flex-direction: column !important;

    overflow: hidden !important;

    position: relative !important;

    z-index: 10 !important;

    border: none !important;

    margin: 0 !important;

}



/* Cabecera con degradado de marca */

.asistente-chat-header {

    background: linear-gradient(135deg, #1e1b4b 0%, #371435 60%, #500724 100%) !important;

    padding: 16px 20px !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;

}



.chat-header-info {

    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

}



.chat-header-info h3 {

    font-size: 16px !important;

    font-weight: 700 !important;

    color: #ffffff !important;

    margin: 0 !important;

    line-height: 1.2 !important;

}



.chat-header-info span {

    font-size: 12px !important;

    color: rgba(255, 255, 255, 0.75) !important;

    display: flex !important;

    align-items: center !important;

    gap: 5px !important;

    margin-top: 2px !important;

}



.btn-chat-close {

    background: rgba(255, 255, 255, 0.15) !important;

    color: #ffffff !important;

    width: 34px !important;

    height: 34px !important;

    border-radius: 50% !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    border: none !important;

    cursor: pointer !important;

    transition: background 0.2s ease, transform 0.2s ease !important;

}



.btn-chat-close:hover {

    background: #ec4899 !important;

    transform: rotate(90deg) !important;

}



/* Cuerpo del chat */

.asistente-chat-body {

    flex: 1 1 auto !important;

    overflow-y: auto !important;

    padding: 20px 18px !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 16px !important;

    background: #fdfbfb !important;

}



/* Mensajes */

.chat-msg {

    display: flex !important;

    align-items: flex-start !important;

    gap: 10px !important;

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

}



.chat-msg.bot-msg .msg-bubble {

    background: #ffffff !important;

    padding: 16px 18px !important;

    border-radius: 4px 18px 18px 18px !important;

    border: 1px solid #f1f5f9 !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;

    color: #334155 !important;

    font-size: 14px !important;

    line-height: 1.6 !important;

    width: calc(100% - 46px) !important;

    box-sizing: border-box !important;

}



.chat-msg.bot-msg .msg-bubble p {

    margin: 0 0 10px 0 !important;

    word-break: normal !important;

    overflow-wrap: break-word !important;

}



.chat-msg.bot-msg .msg-bubble p strong {

    color: #0f172a !important;

    font-size: 14.5px !important;

    display: block !important;

    margin-bottom: 4px !important;

}



/* Píldoras de sugerencia rápida */

.quick-suggest-pills {

    display: flex !important;

    flex-direction: column !important;

    gap: 8px !important;

    margin-top: 12px !important;

    width: 100% !important;

}



.quick-suggest-pills span {

    background: #fdf2f8 !important;

    color: #be185d !important;

    padding: 10px 14px !important;

    border-radius: 12px !important;

    font-size: 13px !important;

    font-weight: 600 !important;

    border: 1px solid #fbcfe8 !important;

    cursor: pointer !important;

    display: flex !important;

    align-items: center !important;

    gap: 8px !important;

    transition: all 0.25s ease !important;

}



.quick-suggest-pills span:hover {

    background: #ec4899 !important;

    color: #ffffff !important;

    border-color: #ec4899 !important;

    transform: translateX(4px) !important;

    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25) !important;

}



/* Pie del chat con input */

.asistente-chat-footer {

    padding: 14px 18px !important;

    background: #ffffff !important;

    border-top: 1px solid #f1f5f9 !important;

    flex-shrink: 0 !important;

}



.chat-input-wrapper {

    display: flex !important;

    align-items: center !important;

    background: #f8fafc !important;

    border: 1.5px solid #e2e8f0 !important;

    border-radius: 99px !important;

    padding: 4px 6px 4px 16px !important;

    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;

}



.chat-input-wrapper:focus-within {

    border-color: #ec4899 !important;

    background: #ffffff !important;

    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12) !important;

}



.chat-input-wrapper input {

    flex: 1 1 auto !important;

    border: none !important;

    outline: none !important;

    background: transparent !important;

    font-size: 13.5px !important;

    color: #1e293b !important;

    font-family: 'Outfit', sans-serif !important;

}



.btn-send-chat {

    width: 38px !important;

    height: 38px !important;

    border-radius: 50% !important;

    background: linear-gradient(135deg, #f43f5e, #ec4899) !important;

    color: #ffffff !important;

    border: none !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    font-size: 16px !important;

    cursor: pointer !important;

    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3) !important;

    transition: transform 0.2s ease !important;

}



.btn-send-chat:hover {

    transform: scale(1.08) !important;

}



/* Adaptación para pantallas móviles */

@media (max-width: 768px) {

    .modal-overlay-asistente {

        padding: 0 !important;

    }

    .asistente-chat-window {

        width: 100vw !important;

        max-width: 100vw !important;

        height: 100vh !important;

        max-height: 100vh !important;

        border-radius: 0 !important;

    }

}



/* REFUERZO DE DISPOSICION INTERNA DE LA BURBUJA DE CHAT */

.chat-msg.bot-msg {

    display: flex !important;

    flex-direction: row !important;

    align-items: flex-start !important;

}



.chat-msg.bot-msg .msg-bubble {

    display: block !important;

    width: 100% !important;

}



.chat-msg.bot-msg .msg-bubble p {

    display: block !important;

    width: 100% !important;

    text-align: left !important;

}



/* ==========================================================================

   AJUSTE DE ANCHO COMPLETO PARA EL CHAT EN MOVIL

   ========================================================================== */

@media (max-width: 768px) {

    .modal-overlay-asistente {

        padding: 0 !important;

        align-items: stretch !important;

        justify-content: stretch !important;

    }

    .asistente-chat-window {

        width: 100vw !important;

        max-width: 100vw !important;

        min-width: 100vw !important;

        height: 100% !important;

        max-height: 100% !important;

        border-radius: 0 !important;

        left: 0 !important;

        right: 0 !important;

        top: 0 !important;

        bottom: 0 !important;

        position: fixed !important;

    }

    .asistente-chat-body {

        padding: 16px 12px !important;

    }

    .chat-msg.bot-msg .msg-bubble {

        width: calc(100% - 44px) !important;

        padding: 12px 14px !important;

    }

    .chat-header-info h3 {

        font-size: 14.5px !important;

    }

}



/* ==========================================================================
   BLOQUEO ESTRICTO DE TAMANO PARA PERSONAJE FLOTANTE EN TODAS LAS PAGINAS
   (Evita que reglas globales de WooCommerce/Wordpress como .woocommerce img agranden la imagen)
   ========================================================================== */
.ia-character-floating-widget,
.ia-character-floating-widget * {
    box-sizing: border-box !important;
}

.ia-character-floating-widget .ia-character-img-wrap {
    position: relative !important;
    display: block !important;
    width: 106px !important;
    height: 155px !important;
    max-width: 106px !important;
    max-height: 155px !important;
    line-height: 0 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ia-character-floating-widget .ia-character-img,
img.ia-character-img,
.woocommerce .ia-character-floating-widget img,
.woocommerce-page .ia-character-floating-widget img {
    width: 106px !important;
    height: 155px !important;
    max-width: 106px !important;
    max-height: 155px !important;
    min-width: 106px !important;
    min-height: 155px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
    animation: iaPeekWave 3.5s infinite ease-in-out !important;
    transform-origin: bottom right !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .ia-character-floating-widget .ia-character-img-wrap {
        width: 78px !important;
        height: 115px !important;
        max-width: 78px !important;
        max-height: 115px !important;
    }

    .ia-character-floating-widget .ia-character-img,
    img.ia-character-img,
    .woocommerce .ia-character-floating-widget img,
    .woocommerce-page .ia-character-floating-widget img {
        width: 78px !important;
        height: 115px !important;
        max-width: 78px !important;
        max-height: 115px !important;
        min-width: 78px !important;
        min-height: 115px !important;
    }
}


/* ==========================================================================
   PÁGINA DE CONFIRMACIÓN DE PEDIDO / THANK YOU PAGE FLORERÍA ALCATRAZ
   ========================================================================== */
.alcatraz-thankyou-container {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 30px 15px 70px 15px !important;
    text-align: left !important;
    font-family: inherit;
    color: #1e293b;
}

/* Ocultar elementos por defecto antiguos de WooCommerce si existieran */
.woocommerce-order > .woocommerce-notice--success,
.woocommerce-order-overview.woocommerce-thankyou-order-details {
    display: none !important;
}

/* Canvas de Confeti de Rosas a pantalla completa */
.alcatraz-confetti-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 999999 !important;
}

/* Tarjeta Hero Principal de Confirmación */
.alcatraz-thankyou-hero-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbfd 100%) !important;
    border: 1.5px solid rgba(236, 72, 153, 0.22) !important;
    border-radius: 26px !important;
    padding: 40px 24px 34px 24px !important;
    text-align: center !important;
    box-shadow: 0 16px 45px rgba(236, 72, 153, 0.1), 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 28px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Ráfaga de pétalos animados en la cabecera */
.hero-confetti-burst {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.burst-petal {
    position: absolute;
    font-size: 22px;
    opacity: 0.7;
    animation: burstFloat 4s infinite ease-in-out alternate;
}

.petal-1 { top: 15px; left: 12%; animation-delay: 0s; transform: rotate(-15deg); }
.petal-2 { top: 35px; right: 14%; animation-delay: 0.8s; transform: rotate(20deg); }
.petal-3 { bottom: 25px; left: 16%; animation-delay: 1.4s; font-size: 18px; }
.petal-4 { top: 20px; right: 28%; animation-delay: 0.4s; font-size: 24px; }
.petal-5 { bottom: 30px; right: 18%; animation-delay: 1.8s; transform: rotate(45deg); }
.petal-6 { top: 45px; left: 24%; animation-delay: 2.2s; font-size: 20px; }

@keyframes burstFloat {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-10px) rotate(15deg) scale(1.1); }
}

/* Badge Icon con pulso */
.thankyou-badge-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 16px auto;
}

.thankyou-badge-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, rgba(236, 72, 153, 0) 70%);
    animation: badgePulse 2.4s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.25); opacity: 0.9; }
}

.thankyou-badge-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.45);
    position: relative;
    z-index: 2;
}

.thankyou-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
}

.thankyou-subtitle {
    font-size: 15.5px !important;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.5 !important;
}

.order-number-highlight {
    color: #ec4899 !important;
    background: #fdf2f8;
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(236, 72, 153, 0.25);
    font-weight: 800 !important;
}

.thankyou-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
    padding: 7px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.status-dot-live {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
    animation: iaStatusPulse 2s infinite ease-in-out;
}

/* Botones de acción del Hero */
.thankyou-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-thankyou-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-thankyou-wa:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.btn-thankyou-print,
.btn-thankyou-replay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-thankyou-print:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-2px);
}

.btn-thankyou-replay {
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.3);
    background: #fdf2f8;
}

.btn-thankyou-replay:hover {
    background: #fce7f3;
    border-color: #ec4899;
    transform: translateY(-2px);
}

/* Grid de Tarjetas de Resumen */
.alcatraz-order-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

.summary-card {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.summary-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.card-icon-pink { background: #fdf2f8; color: #ec4899; }
.card-icon-purple { background: #f5f3ff; color: #8b5cf6; }
.card-icon-green { background: #ecfdf5; color: #10b981; }
.card-icon-amber { background: #fffbeb; color: #f59e0b; }

.card-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.card-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.card-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.card-value.text-emerald {
    color: #10b981 !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
}

/* Sección de Detalles del Pedido WooCommerce */
.alcatraz-thankyou-details-section .woocommerce-order-details {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 22px !important;
    padding: 28px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}

.woocommerce-order-details__title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 2px solid #fdf2f8 !important;
    padding-bottom: 12px !important;
}

.woocommerce-order-details__title::before {
    content: '🌸';
    font-size: 18px;
}

/* Tabla de Productos */
table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

table.woocommerce-table--order-details thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 18px !important;
    border: none !important;
}

table.woocommerce-table--order-details tbody td,
table.woocommerce-table--order-details tbody th {
    padding: 16px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: top !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
}

table.woocommerce-table--order-details tbody td.product-name a {
    color: #0f172a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

table.woocommerce-table--order-details tbody td.product-name a:hover {
    color: #ec4899 !important;
}

table.woocommerce-table--order-details tbody td.product-total {
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: right !important;
}

/* Metadatos del producto: Fecha, Horario, Dedicatoria */
ul.wc-item-meta {
    list-style: none !important;
    margin: 10px 0 0 0 !important;
    padding: 12px 14px !important;
    background: #fff5f8 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(236, 72, 153, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

ul.wc-item-meta li {
    font-size: 13px !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

ul.wc-item-meta strong.wc-item-meta-label {
    color: #be185d !important;
    font-weight: 700 !important;
    margin-right: 4px !important;
}

ul.wc-item-meta p {
    display: inline !important;
    margin: 0 !important;
    color: #0f172a !important;
}

/* Totales (tfoot) */
table.woocommerce-table--order-details tfoot th,
table.woocommerce-table--order-details tfoot td {
    padding: 14px 18px !important;
    font-size: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    color: #334155 !important;
}

table.woocommerce-table--order-details tfoot td {
    text-align: right !important;
    font-weight: 600 !important;
}

table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
    background: #fdf2f8 !important;
    border-top: 2px solid rgba(236, 72, 153, 0.2) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

table.woocommerce-table--order-details tfoot tr:last-child td .woocommerce-Price-amount {
    color: #10b981 !important;
    font-size: 19px !important;
}

/* Dirección del cliente */
.woocommerce-customer-details {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 22px !important;
    padding: 28px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 28px !important;
    text-align: left !important;
}

.woocommerce-customer-details h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    border-bottom: 2px solid #fdf2f8 !important;
    padding-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-customer-details h2::before {
    content: '📍';
    font-size: 18px;
}

.woocommerce-customer-details address {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 18px !important;
    font-style: normal !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    font-size: 14px !important;
}

/* Botón inferior de retorno */
.thankyou-footer-nav {
    text-align: center !important;
    margin-top: 24px !important;
}

.btn-thankyou-home {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 28px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-thankyou-home:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.45) !important;
    color: #ffffff !important;
}

/* Fallback orden fallida */
.alcatraz-order-failed-card {
    background: #ffffff;
    border: 1.5px solid #fecaca;
    border-radius: 24px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.08);
}

.failed-icon {
    font-size: 56px;
    color: #ef4444;
    margin-bottom: 14px;
}

.failed-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.alcatraz-btn-primary {
    background: #ec4899;
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

.alcatraz-btn-secondary {
    background: #f1f5f9;
    color: #334155 !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

/* Responsive para Móviles */
@media (max-width: 768px) {
    .alcatraz-thankyou-container {
        padding: 15px 10px 50px 10px !important;
    }

    .alcatraz-thankyou-hero-card {
        padding: 30px 16px 24px 16px !important;
        border-radius: 20px !important;
    }

    .thankyou-title {
        font-size: 22px !important;
    }

    .thankyou-subtitle {
        font-size: 14px !important;
    }

    .thankyou-badge-wrap,
    .thankyou-badge-icon {
        width: 64px !important;
        height: 64px !important;
        font-size: 34px !important;
    }

    .thankyou-action-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }

    .btn-thankyou-wa,
    .btn-thankyou-print,
    .btn-thankyou-replay,
    .btn-thankyou-home {
        width: 100% !important;
        justify-content: center !important;
    }

    .alcatraz-order-summary-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .summary-card {
        padding: 12px 14px !important;
        gap: 10px !important;
        border-radius: 14px !important;
    }

    .card-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 20px !important;
    }

    .card-label {
        font-size: 10.5px !important;
    }

    .card-value {
        font-size: 13px !important;
    }

    .card-value.text-emerald {
        font-size: 14.5px !important;
    }

    .alcatraz-thankyou-details-section .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    table.woocommerce-table--order-details thead th,
    table.woocommerce-table--order-details tbody td,
    table.woocommerce-table--order-details tfoot th,
    table.woocommerce-table--order-details tfoot td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}


/* ==========================================================================
   PERSONAJE FLOTANTE SOLO VISIBLE EN EL HOME
   ========================================================================== */
body:not(.home) .ia-character-floating-widget {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* ==========================================================================
   CHECKOUT MULTI-STEP FLORERÍA ALCATRAZ (PC 2 COLUMNAS STICKY + MÓVIL BOTTOM SHEET)
   ========================================================================== */
.alcatraz-multistep-checkout {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px 15px 80px 15px !important;
}

.alcatraz-checkout-layout {
    display: flex !important;
    gap: 32px !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.alcatraz-checkout-main-col {
    flex: 1 1 60% !important;
    min-width: 0 !important;
}

.alcatraz-checkout-sidebar-col {
    flex: 0 0 380px !important;
    width: 380px !important;
    position: sticky !important;
    top: 95px !important;
    z-index: 15 !important;
}

/* Stepper Superior */
.alcatraz-checkout-stepper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 18px !important;
    padding: 14px 22px !important;
    margin-bottom: 22px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.stepper-step {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.step-circle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
}

.step-meta {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.step-sub {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
}

.step-title {
    font-size: 13.5px !important;
    color: #475569 !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.stepper-step.active .step-circle {
    background: #ec4899 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35) !important;
    transform: scale(1.06) !important;
}

.stepper-step.active .step-title {
    color: #ec4899 !important;
}

.stepper-step.completed .step-circle {
    background: #10b981 !important;
    color: #ffffff !important;
}

.step-check {
    display: none !important;
    font-size: 20px !important;
}

.stepper-step.completed .step-check {
    display: block !important;
}

.stepper-step.completed .step-num {
    display: none !important;
}

.stepper-divider {
    flex: 1 !important;
    height: 2px !important;
    background: #e2e8f0 !important;
    margin: 0 12px !important;
}

/* Paneles de Pasos */
.checkout-step-panel {
    display: none !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 22px !important;
    padding: 28px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03) !important;
}

.checkout-step-panel.active {
    display: block !important;
    animation: stepPanelFade 0.28s ease forwards !important;
}

@keyframes stepPanelFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-panel-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 22px !important;
    border-bottom: 2px solid #fdf2f8 !important;
    padding-bottom: 14px !important;
}

.panel-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #fdf2f8 !important;
    color: #ec4899 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    flex-shrink: 0 !important;
}

.step-panel-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.step-panel-header p {
    margin: 2px 0 0 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
}

/* Campos del formulario en Grid limpio */
.step-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 16px !important;
}

.step-fields-grid p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

.step-fields-grid p.form-row-wide,
.step-fields-grid p.form-row-notes,
.step-fields-grid p#billing_address_1_field,
.step-fields-grid p#billing_address_2_field,
.step-fields-grid p#shipping_address_1_field,
.step-fields-grid p#shipping_address_2_field {
    grid-column: 1 / -1 !important;
}

.step-fields-grid label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.step-fields-grid input.input-text,
.step-fields-grid select,
.step-fields-grid textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    outline: none !important;
}

.step-fields-grid input.input-text:focus,
.step-fields-grid select:focus,
.step-fields-grid textarea:focus {
    border-color: #ec4899 !important;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12) !important;
}

.input-step-invalid {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
    animation: shakeField 0.3s ease !important;
}

@keyframes shakeField {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Envío y toggle de dirección diferente */
.shipping-same-toggle-box {
    background: #fdf2f8 !important;
    border: 1.5px dashed rgba(236, 72, 153, 0.3) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    margin-bottom: 18px !important;
}

.custom-toggle-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.custom-toggle-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #ec4899 !important;
    cursor: pointer !important;
}

.toggle-text {
    font-size: 14px !important;
    color: #1e293b !important;
}

.alcatraz-delivery-notes-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    margin-top: 18px !important;
}

.alcatraz-delivery-notes-box h4 {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Botones de navegación entre pasos */
.step-nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 26px !important;
    padding-top: 18px !important;
    border-top: 1px solid #f1f5f9 !important;
    gap: 14px !important;
}

.step-nav-between {
    justify-content: space-between !important;
}

.btn-step-next {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-step-next:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.45) !important;
}

.btn-step-prev {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    padding: 11px 18px !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-step-prev:hover {
    background: #ffffff !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
}

/* Sidebar Resumen del Pedido (Sticky) */
.sidebar-review-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(236, 72, 153, 0.2) !important;
    border-radius: 22px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.sidebar-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    border-bottom: 2px solid #fdf2f8 !important;
    padding-bottom: 12px !important;
}

.sidebar-card-header .header-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #fdf2f8 !important;
    color: #ec4899 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
}

.sidebar-card-header h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.sidebar-card-header span {
    font-size: 12px !important;
    color: #64748b !important;
}

.checkout-guarantee-badges {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.badge-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

.badge-item i {
    font-size: 18px !important;
}

.text-pink { color: #ec4899 !important; }
.text-blue { color: #3b82f6 !important; }

/* Barra flotante en Móviles */
.alcatraz-mobile-summary-bar {
    display: none !important;
}

/* Bottom sheet en Móviles */
.alcatraz-bottom-sheet-backdrop {
    display: none !important;
}

.alcatraz-bottom-sheet {
    display: none !important;
}

/* Responsive para Móviles (<= 991px) */
@media (max-width: 991px) {
    .alcatraz-checkout-layout {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .alcatraz-checkout-main-col {
        width: 100% !important;
    }

    .alcatraz-checkout-sidebar-col {
        display: none !important;
    }

    .alcatraz-checkout-stepper {
        padding: 10px 14px !important;
        border-radius: 14px !important;
    }

    .step-circle {
        width: 30px !important;
        height: 30px !important;
        font-size: 12.5px !important;
    }

    .step-sub {
        display: none !important;
    }

    .step-title {
        font-size: 12px !important;
    }

    .stepper-divider {
        margin: 0 6px !important;
    }

    .checkout-step-panel {
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }

    .step-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Barra fija abajo en móvil */
    .alcatraz-mobile-summary-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 56px !important;
        background: #ffffff !important;
        border-top: 1.5px solid rgba(236, 72, 153, 0.25) !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
        z-index: 9999 !important;
        padding: 0 16px !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
    }

    .mobile-bar-left {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }

    .mobile-bar-left i.bx-shopping-bag {
        font-size: 20px !important;
        color: #ec4899 !important;
    }

    .bar-chevron {
        font-size: 18px !important;
        transition: transform 0.3s ease !important;
    }

    .mobile-bar-total {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #10b981 !important;
    }

    /* Backdrop */
    .alcatraz-bottom-sheet-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, 0.45) !important;
        z-index: 10000 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    .alcatraz-bottom-sheet-backdrop.open {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Bottom Sheet Modal */
    .alcatraz-bottom-sheet {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-height: 55vh !important;
        background: #ffffff !important;
        border-radius: 24px 24px 0 0 !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15) !important;
        z-index: 10001 !important;
        transform: translateY(100%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .alcatraz-bottom-sheet.open {
        transform: translateY(0) !important;
    }

    .sheet-drag-handle {
        width: 100% !important;
        padding: 12px 0 6px 0 !important;
        display: flex !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    .drag-bar {
        width: 44px !important;
        height: 5px !important;
        background: #cbd5e1 !important;
        border-radius: 10px !important;
    }

    .sheet-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 20px 12px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .sheet-header h4 {
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .btn-sheet-close {
        background: #f1f5f9 !important;
        border: none !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        color: #64748b !important;
        cursor: pointer !important;
    }

    .sheet-body {
        padding: 14px 18px 30px 18px !important;
        overflow-y: auto !important;
        flex: 1 !important;
    }
}

/* Miniaturas de Producto en Detalles del Pedido */
.alcatraz-order-item-flex {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.order-item-img-wrap {
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: 2px solid #fce7f3 !important;
    box-shadow: 0 4px 14px rgba(236,72,153,0.12) !important;
    background: #fdf2f8 !important;
}

.order-item-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}


/* ==========================================================================
   CORRECCIÓN DEFINITIVA DE LA COLUMNA DERECHA Y TABLA EN EL CHECKOUT (PC)
   ========================================================================== */
.woocommerce-checkout #customer_details {
    float: none !important;
    width: 100% !important;
}

.woocommerce-checkout #order_review_heading {
    display: none !important;
}

.woocommerce-checkout #order_review {
    float: none !important;
    width: 100% !important;
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.alcatraz-checkout-sidebar-col {
    flex: 0 0 380px !important;
    width: 380px !important;
    max-width: 380px !important;
    position: sticky !important;
    top: 90px !important;
    z-index: 20 !important;
}

.alcatraz-checkout-sidebar-col .sidebar-review-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(236, 72, 153, 0.2) !important;
    border-radius: 22px !important;
    padding: 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.alcatraz-checkout-sidebar-col table.woocommerce-checkout-review-order-table,
.alcatraz-checkout-sidebar-col table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 0 14px 0 !important;
    table-layout: auto !important;
}

.alcatraz-checkout-sidebar-col table.shop_table th,
.alcatraz-checkout-sidebar-col table.shop_table td {
    padding: 10px 6px !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.alcatraz-checkout-sidebar-col table.shop_table th.product-name,
.alcatraz-checkout-sidebar-col table.shop_table td.product-name {
    text-align: left !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.alcatraz-checkout-sidebar-col table.shop_table th.product-total,
.alcatraz-checkout-sidebar-col table.shop_table td.product-total {
    text-align: right !important;
    font-weight: 800 !important;
    color: #ec4899 !important;
    white-space: nowrap !important;
}

.alcatraz-checkout-sidebar-col table.shop_table tfoot th {
    font-weight: 700 !important;
    color: #475569 !important;
}

.alcatraz-checkout-sidebar-col table.shop_table tfoot td {
    text-align: right !important;
    font-weight: 700 !important;
}

.alcatraz-checkout-sidebar-col table.shop_table tfoot tr.order-total th,
.alcatraz-checkout-sidebar-col table.shop_table tfoot tr.order-total td {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-top: 2px solid #fce7f3 !important;
}

.alcatraz-checkout-sidebar-col table.shop_table tfoot tr.order-total td .amount {
    color: #10b981 !important;
    font-size: 18px !important;
}

/* Miniaturas e imágenes en el resumen de pedido del checkout (Desktop y Móvil) */
.checkout-review-item-img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid #fce7f3 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    display: block !important;
}

.checkout-product-cell-flex {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.checkout-product-thumb-wrap {
    position: relative !important;
    flex-shrink: 0 !important;
}

.checkout-badge-qty {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #ec4899 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(236,72,153,0.4) !important;
}

.checkout-product-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.35 !important;
}

#alcatraz-sheet-body table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
}

#alcatraz-sheet-body table.shop_table th,
#alcatraz-sheet-body table.shop_table td {
    padding: 10px 6px !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Ocultar cualquier bloque de pagos redundante dentro del resumen de la derecha */
.alcatraz-checkout-sidebar-col #order_review .woocommerce-checkout-payment,
#alcatraz-sheet-body .woocommerce-checkout-payment {
    display: none !important;
}

/* Estilos para el checkbox de confirmación de datos */
.alcatraz-confirm-checkbox-wrap {
    margin-top: 15px !important;
    background: #fdf2f8 !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1px solid #fbcfe8 !important;
    display: flex !important;
    align-items: center !important;
}

.alcatraz-confirm-checkbox-wrap label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #831843 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}

.alcatraz-confirm-checkbox-wrap input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #ec4899 !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   DISEÑO ELEGANTE Y MODERNO DE AVISOS Y ERRORES EN EL CHECKOUT (SIN ENLACES ROTOS)
   ========================================================================== */
.woocommerce-error,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error {
    background: #fff1f2 !important;
    border: 1.5px solid #fecdd3 !important;
    border-left: 5px solid #f43f5e !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin: 0 0 25px 0 !important;
    list-style: none !important;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.woocommerce-error li,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error li {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #9f1239 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-error li::before,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error li::before {
    content: '⚠️' !important;
    font-size: 14px !important;
}

/* Quitar el subrayado azul o estilo de enlace roto a los textos del error */
.woocommerce-error a,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error a {
    color: #881337 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    pointer-events: none !important; /* Desactivar clic que rompía el estilo */
    border-bottom: 1px dashed rgba(136, 19, 55, 0.3) !important;
}

.woocommerce-info {
    background: #fdf2f8 !important;
    border: 1.5px solid #fbcfe8 !important;
    border-left: 5px solid #ec4899 !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    color: #831843 !important;
    margin-bottom: 25px !important;
}


/* ==========================================================================
   ALCATRAZ MOBILE PERFECTION FIXES:
   1. Carrito en móvil: Eliminar precios / subtotales duplicados de columnas
   2. Detalles del pedido en móvil: Layout vertical limpio, imagen y dedicatoria
   3. Avisos / Mensajes / Errores en móvil: Caja normal sin estirarse ni romperse
   ========================================================================== */

/* 1. CARRITO EN MÓVIL: Evitar precios duplicados y desbordes */
@media (max-width: 768px) {
    /* Quitar encabezados repetidos ::before que WooCommerce inyecta con data-title */
    .woocommerce-cart table.cart td.product-price::before,
    .woocommerce-cart table.cart td.product-subtotal::before,
    .woocommerce-cart table.cart td::before {
        display: none !important;
    }

    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart tbody,
    .woocommerce-cart table.cart tr,
    .woocommerce-cart table.cart td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-cart table.cart tr.cart_item {
        position: relative !important;
        padding: 18px 14px !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        margin-bottom: 16px !important;
        border: 1px solid #f1f5f9 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    }

    .woocommerce-cart table.cart td.product-remove {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
        z-index: 2 !important;
    }

    .woocommerce-cart table.cart td.product-thumbnail {
        text-align: center !important;
        padding: 0 0 12px 0 !important;
        border: none !important;
    }

    .woocommerce-cart table.cart td.product-thumbnail img {
        width: 90px !important;
        height: 90px !important;
        margin: 0 auto !important;
        display: inline-block !important;
        border-radius: 14px !important;
    }

    .woocommerce-cart table.cart td.product-name {
        padding: 0 0 10px 0 !important;
        text-align: center !important;
        border: none !important;
    }

    .woocommerce-cart table.cart td.product-name a {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    /* Ocultar la celda de precio unitario redundante y dejar solo el subtotal claro */
    .woocommerce-cart table.cart td.product-price {
        display: none !important;
    }

    .woocommerce-cart table.cart td.product-quantity {
        padding: 6px 0 !important;
        text-align: center !important;
        border: none !important;
    }

    .woocommerce-cart table.cart td.product-quantity .quantity {
        display: inline-flex !important;
        justify-content: center !important;
    }

    .woocommerce-cart table.cart td.product-subtotal {
        padding: 8px 0 0 0 !important;
        text-align: center !important;
        border: none !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #e02787 !important;
    }
}

/* 2. DETALLES DEL PEDIDO EN MÓVIL (THANKYOU / ORDER-RECEIVED) */
@media (max-width: 768px) {
    table.woocommerce-table--order-details {
        display: block !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
    }

    table.woocommerce-table--order-details thead {
        display: none !important; /* Ocultar cabecera PRODUCTO / TOTAL en móvil */
    }

    table.woocommerce-table--order-details tbody {
        display: block !important;
        width: 100% !important;
    }

    table.woocommerce-table--order-details tbody tr.order_item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        background: #ffffff !important;
        border: 1.5px solid #fce7f3 !important;
        border-radius: 16px !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 14px rgba(236,72,153,0.05) !important;
    }

    table.woocommerce-table--order-details tbody td.product-name {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    table.woocommerce-table--order-details tbody td.product-total {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        border: none !important;
        border-top: none !important;
        flex-shrink: 0 !important;
        width: auto !important;
        text-align: right !important;
    }

    table.woocommerce-table--order-details tbody td.product-total::before {
        display: none !important;
        content: none !important;
    }

    .alcatraz-order-item-flex {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .order-item-img-wrap {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }

    .order-item-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        display: block !important;
    }

    .order-item-details {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        text-align: left !important;
    }

    .order-item-title {
        font-size: 14.5px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        display: inline !important;
        margin-bottom: 0 !important;
    }

    /* Caja de Dedicatoria y Horario en móvil: Todo el ancho disponible */
    ul.wc-item-meta {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;
        padding: 10px 12px !important;
        margin-top: 8px !important;
        border-radius: 10px !important;
    }

    table.woocommerce-table--order-details tfoot {
        display: block !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 18px !important;
        padding: 16px !important;
        margin-top: 16px !important;
    }

    table.woocommerce-table--order-details tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #f8fafc !important;
    }

    table.woocommerce-table--order-details tfoot th,
    table.woocommerce-table--order-details tfoot td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
    }
}

/* 3. AVISOS, MENSAJES Y ERRORES EN MÓVIL (LOGIN, MI CUENTA, CHECKOUT) */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error {
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    .woocommerce-error,
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-NoticeGroup-checkout ul.woocommerce-error {
        margin: 15px auto 25px auto !important;
        padding: 16px !important;
        border-radius: 14px !important;
        display: block !important;
        text-align: left !important;
        float: none !important;
        clear: both !important;
    }

    .woocommerce-error li,
    .woocommerce-message li,
    .woocommerce-info li {
        display: block !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
        word-break: break-word !important;
    }

    .woocommerce-error a,
    .woocommerce-message a,
    .woocommerce-info a {
        display: inline-block !important;
        margin-top: 6px !important;
        word-break: break-word !important;
    }

    .woocommerce-account .woocommerce {
        padding: 0 15px !important;
        margin: 20px auto !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
}


/* ==========================================================================


/* ==========================================================================


/* ==========================================================================


/* ==========================================================================


/* ==========================================================================


/* ==========================================================================
   ALCATRAZ FULLSCREEN SLIDING LOGIN / REGISTRO (PC & MOVIL)
   Oculta header/footer cuando no ha iniciado sesión y ocupa 100vw x 100vh
   ========================================================================== */

/* Ocultar scroll del body cuando estamos en la pantalla de Login Fullscreen */
body.woocommerce-account:not(.logged-in) {
    overflow-x: hidden !important;
}

@media (min-width: 871px) {
    body.woocommerce-account:not(.logged-in) {
        overflow: hidden !important;
    }
}

/* Eliminar el recuadro y pseudo-elemento "::before" heredado de estilos viejos */
.alcatraz-auth-full-wrapper form.woocommerce-form-login,
.alcatraz-auth-full-wrapper form.woocommerce-form-register {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
}

.alcatraz-auth-full-wrapper form.woocommerce-form-login::before,
.alcatraz-auth-full-wrapper form.woocommerce-form-register::before {
    display: none !important;
    content: none !important;
}

/* Contenedor Fijo a Pantalla Completa (Cubre Header, Topbar y Footer al 100%) */
.alcatraz-auth-full-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Botón circular volver al inicio (idéntico al .back-btn de login.html) */
.alcatraz-auth-back-btn {
    position: fixed !important;
    top: 2rem !important;
    left: 2rem !important;
    background: #ffffff !important;
    color: #ec4899 !important;
    width: 55px !important;
    height: 55px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 1.5rem !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    z-index: 1000005 !important;
    border: 3px solid #ec4899 !important;
}

.alcatraz-auth-back-btn i {
    font-size: inherit !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.alcatraz-auth-back-btn:hover {
    transform: translateX(-5px) scale(1.1) !important;
    background: #ec4899 !important;
    color: #ffffff !important;
}

/* Contenedor principal 100% de la ventana */
.alcatraz-auth-container {
    position: relative !important;
    width: 100% !important;
    background-color: #ffffff !important;
    min-height: 100vh !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
}

.alcatraz-auth-forms-container {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

.alcatraz-auth-signin-signup {
    position: absolute !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    left: 75% !important;
    width: 50% !important;
    transition: 1s 0.7s ease-in-out !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    z-index: 5 !important;
    align-items: center !important;
    justify-items: center !important;
}

.alcatraz-login-form,
.alcatraz-register-form {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 0rem 5rem !important;
    transition: all 0.2s 0.7s !important;
    overflow: hidden !important;
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.alcatraz-register-form {
    opacity: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.alcatraz-login-form {
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
}

.alcatraz-auth-title {
    font-size: 2.2rem !important;
    color: #1a1a2e !important;
    margin: 0 0 10px 0 !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 900 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.alcatraz-auth-notices-spot {
    width: 100% !important;
    max-width: 380px !important;
}

.alcatraz-input-field {
    max-width: 380px !important;
    width: 100% !important;
    background-color: #fff8f9 !important;
    margin: 10px 0 !important;
    height: 55px !important;
    border-radius: 55px !important;
    display: grid !important;
    grid-template-columns: 15% 85% !important;
    padding: 0 0.4rem !important;
    position: relative !important;
    border: 2px solid rgba(236, 72, 153, 0.2) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    align-items: center !important;
    overflow: hidden !important;
}

.alcatraz-input-field:focus-within {
    border-color: #ec4899 !important;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1) !important;
}

.alcatraz-input-field i {
    text-align: center !important;
    line-height: 55px !important;
    color: #ec4899 !important;
    transition: 0.5s !important;
    font-size: 1.1rem !important;
}

.alcatraz-input-field input {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 16px 0 0 !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    color: #333333 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 55px 55px 0 !important;
}

/* Eliminar el recuadro azul/gris cuadrado de autocompletado de Chrome/Edge/Safari */
.alcatraz-input-field input:-webkit-autofill,
.alcatraz-input-field input:-webkit-autofill:hover,
.alcatraz-input-field input:-webkit-autofill:focus,
.alcatraz-input-field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff8f9 inset !important;
    box-shadow: 0 0 0 1000px #fff8f9 inset !important;
    -webkit-text-fill-color: #333333 !important;
    caret-color: #ec4899 !important;
    border-radius: 0 55px 55px 0 !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

.alcatraz-input-field input::placeholder {
    color: #aaaaaa !important;
    font-weight: 500 !important;
}

.alcatraz-auth-meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 4px 0 8px 0 !important;
    font-size: 0.82rem !important;
}

.alcatraz-auth-meta-row label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #666666 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.alcatraz-forgot-pass {
    color: #ec4899 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.alcatraz-password-hint,
.alcatraz-register-form .woocommerce-privacy-policy-text,
.alcatraz-register-form .woocommerce-privacy-policy-text p {
    font-size: 0.72rem !important;
    color: #777777 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    max-width: 340px !important;
    margin: 4px 0 !important;
}

.alcatraz-register-form .woocommerce-privacy-policy-text a {
    color: #ec4899 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.alcatraz-btn-auth {
    width: 150px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border: none !important;
    outline: none !important;
    height: 49px !important;
    border-radius: 49px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    margin: 10px 0 !important;
    cursor: pointer !important;
    transition: 0.5s !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.alcatraz-btn-auth.solid:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4) !important;
}

.alcatraz-btn-auth.transparent {
    margin: 0 !important;
    background: none !important;
    border: 3px solid #ffffff !important;
    width: 150px !important;
    height: 45px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
}

.alcatraz-btn-auth.transparent:hover {
    background: #ffffff !important;
    color: #ec4899 !important;
}

/* === ESFERA CURVA DESLIZANTE DE FONDO === */
.alcatraz-auth-container:before {
    content: "" !important;
    position: absolute !important;
    height: 2000px !important;
    width: 2000px !important;
    top: -10% !important;
    right: 48% !important;
    transform: translateY(-50%) !important;
    background: linear-gradient(-45deg, #ec4899 0%, #db2777 100%) !important;
    transition: 1.8s ease-in-out !important;
    border-radius: 50% !important;
    z-index: 6 !important;
}

/* === PANELES E IMAGENES 3D DE LA FLORERIA === */
.alcatraz-auth-panels-container {
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    pointer-events: none !important;
}

.alcatraz-auth-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: space-around !important;
    text-align: center !important;
    z-index: 6 !important;
}

.alcatraz-left-panel {
    pointer-events: all !important;
    padding: 3rem 17% 2rem 12% !important;
}

.alcatraz-right-panel {
    pointer-events: none !important;
    padding: 3rem 12% 2rem 17% !important;
}

.alcatraz-panel-content {
    color: #ffffff !important;
    transition: transform 0.9s ease-in-out !important;
    transition-delay: 0.6s !important;
    width: 100% !important;
}

.alcatraz-panel-content h3 {
    font-weight: 700 !important;
    line-height: 1 !important;
    font-size: 1.8rem !important;
    font-family: 'Playfair Display', serif !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
}

.alcatraz-panel-content p {
    font-size: 1rem !important;
    padding: 0.7rem 0 !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.alcatraz-panel-image {
    width: 100% !important;
    transition: transform 1.1s ease-in-out !important;
    transition-delay: 0.4s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 300px !important;
}

.alcatraz-panel-image img {
    width: 100% !important;
    max-width: 550px !important;
    max-height: 45vh !important;
    height: auto !important;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2)) !important;
    margin-bottom: -5% !important;
    object-fit: contain !important;
}

.alcatraz-right-panel .alcatraz-panel-image,
.alcatraz-right-panel .alcatraz-panel-content {
    transform: translateX(800px) !important;
}

/* === ANIMACION CUANDO ACTIVA SIGN-UP-MODE === */
.alcatraz-auth-container.sign-up-mode:before {
    transform: translate(100%, -50%) !important;
    right: 52% !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-left-panel .alcatraz-panel-image,
.alcatraz-auth-container.sign-up-mode .alcatraz-left-panel .alcatraz-panel-content {
    transform: translateX(-800px) !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-auth-signin-signup {
    left: 25% !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-register-form {
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-login-form {
    opacity: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-right-panel .alcatraz-panel-image,
.alcatraz-auth-container.sign-up-mode .alcatraz-right-panel .alcatraz-panel-content {
    transform: translateX(0%) !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-left-panel {
    pointer-events: none !important;
}

.alcatraz-auth-container.sign-up-mode .alcatraz-right-panel {
    pointer-events: all !important;
}

/* ==========================================================================
   MODO RESPONSIVO EXACTO AL DE LOGIN.HTML (< 870px y < 570px)
   ========================================================================== */
@media (max-width: 870px) {
    .alcatraz-auth-container {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .alcatraz-auth-signin-signup {
        width: 100% !important;
        top: 63% !important;
        transform: translate(-50%, -50%) !important;
        transition: 1s 0.8s ease-in-out !important;
    }

    .alcatraz-auth-signin-signup,
    .alcatraz-auth-container.sign-up-mode .alcatraz-auth-signin-signup {
        left: 50% !important;
    }

    .alcatraz-auth-panels-container {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr 2fr 1fr !important;
    }

    .alcatraz-auth-panel {
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 2.5rem 8% !important;
        grid-column: 1 / 2 !important;
    }

    .alcatraz-right-panel {
        grid-row: 3 / 4 !important;
    }

    .alcatraz-left-panel {
        grid-row: 1 / 2 !important;
    }

    .alcatraz-panel-image {
        width: 200px !important;
        min-height: 200px !important;
        transition: transform 0.9s ease-in-out !important;
        transition-delay: 0.6s !important;
    }

    .alcatraz-panel-image img {
        max-width: 200px !important;
    }

    .alcatraz-panel-content {
        padding-right: 15% !important;
        transition: transform 0.9s ease-in-out !important;
        transition-delay: 0.8s !important;
    }

    .alcatraz-panel-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.4rem !important;
    }

    .alcatraz-panel-content p {
        font-size: 0.7rem !important;
        padding: 0.5rem 0 !important;
        line-height: 1.5 !important;
    }

    .alcatraz-btn-auth.transparent {
        width: 110px !important;
        height: 35px !important;
        font-size: 0.7rem !important;
    }

    .alcatraz-auth-container:before {
        width: 1500px !important;
        height: 1500px !important;
        transform: translateX(-50%) !important;
        left: 30% !important;
        bottom: 68% !important;
        right: initial !important;
        top: initial !important;
        transition: 2s ease-in-out !important;
    }

    .alcatraz-auth-container.sign-up-mode:before {
        transform: translate(-50%, 100%) !important;
        bottom: 32% !important;
        right: initial !important;
    }

    .alcatraz-auth-container.sign-up-mode .alcatraz-left-panel .alcatraz-panel-image,
    .alcatraz-auth-container.sign-up-mode .alcatraz-left-panel .alcatraz-panel-content {
        transform: translateY(-300px) !important;
    }

    .alcatraz-auth-container.sign-up-mode .alcatraz-right-panel .alcatraz-panel-image,
    .alcatraz-auth-container.sign-up-mode .alcatraz-right-panel .alcatraz-panel-content {
        transform: translateY(0px) !important;
    }

    .alcatraz-right-panel .alcatraz-panel-image,
    .alcatraz-right-panel .alcatraz-panel-content {
        transform: translateY(300px) !important;
    }

    .alcatraz-auth-container.sign-up-mode .alcatraz-auth-signin-signup {
        top: 37% !important;
        transform: translate(-50%, -50%) !important;
    }

    .alcatraz-auth-back-btn {
        top: 1rem !important;
        left: 1rem !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.25rem !important;
    }
}

@media (max-width: 570px) {
    .alcatraz-login-form,
    .alcatraz-register-form {
        padding: 0 1.5rem !important;
    }

    .alcatraz-panel-image {
        display: none !important;
    }

    .alcatraz-panel-content {
        padding: 0.5rem 1rem !important;
    }

    .alcatraz-auth-container {
        padding: 1.5rem !important;
    }

    .alcatraz-auth-container:before {
        bottom: 72% !important;
        left: 50% !important;
    }

    .alcatraz-auth-container.sign-up-mode:before {
        bottom: 28% !important;
        left: 50% !important;
    }
}

/* ==========================================================================
   MODAL DE CENTRO DE AYUDA, PREGUNTAS FRECUENTES (FAQ) Y POLÍTICAS LEGALES
   ========================================================================== */
.alcatraz-legal-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 1000010 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.alcatraz-legal-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.alcatraz-legal-modal-card {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 860px !important;
    max-height: 86vh !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transform: translateY(20px) scale(0.98) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(236, 72, 153, 0.15) !important;
}

.alcatraz-legal-modal-overlay.active .alcatraz-legal-modal-card {
    transform: translateY(0) scale(1) !important;
}

.alcatraz-legal-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 26px !important;
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #fce7f3 !important;
}

.alcatraz-legal-brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.alcatraz-legal-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3) !important;
    flex-shrink: 0 !important;
}

.alcatraz-legal-brand h3 {
    margin: 0 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.alcatraz-legal-brand p {
    margin: 2px 0 0 0 !important;
    font-size: 12.5px !important;
    color: #64748b !important;
}

.alcatraz-legal-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.alcatraz-legal-close:hover {
    background: #ec4899 !important;
    color: #ffffff !important;
    border-color: #ec4899 !important;
}

/* Barra de pestañas */
.alcatraz-legal-tabs {
    display: flex !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.alcatraz-legal-tabs::-webkit-scrollbar {
    display: none !important;
}

.alcatraz-legal-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 15px !important;
    border-radius: 99px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.alcatraz-legal-tab i {
    font-size: 16px !important;
    color: #ec4899 !important;
}

.alcatraz-legal-tab.active,
.alcatraz-legal-tab:hover {
    background: #ec4899 !important;
    color: #ffffff !important;
    border-color: #ec4899 !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25) !important;
}

.alcatraz-legal-tab.active i,
.alcatraz-legal-tab:hover i {
    color: #ffffff !important;
}

/* Cuerpo del modal */
.alcatraz-legal-body {
    padding: 24px 28px !important;
    overflow-y: auto !important;
    flex: 1 !important;
}

.alcatraz-legal-pane {
    display: none !important;
}

.alcatraz-legal-pane.active {
    display: block !important;
    animation: alcatrazFadePane 0.25s ease !important;
}

@keyframes alcatrazFadePane {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.alcatraz-pane-intro {
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
}

.alcatraz-pane-intro h4 {
    margin: 0 0 4px 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.alcatraz-pane-intro p {
    margin: 0 !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

/* Acordeón de FAQ */
.alcatraz-faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.alcatraz-faq-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.alcatraz-faq-item.open {
    border-color: #f472b6 !important;
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.08) !important;
}

.alcatraz-faq-question {
    width: 100% !important;
    background: none !important;
    border: none !important;
    padding: 15px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    text-align: left !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    cursor: pointer !important;
}

.alcatraz-faq-question i {
    font-size: 20px !important;
    color: #ec4899 !important;
    transition: transform 0.25s ease !important;
    flex-shrink: 0 !important;
}

.alcatraz-faq-item.open .alcatraz-faq-question i {
    transform: rotate(180deg) !important;
}

.alcatraz-faq-answer {
    display: none !important;
    padding: 0 18px 16px 18px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

.alcatraz-faq-item.open .alcatraz-faq-answer {
    display: block !important;
}

.alcatraz-faq-answer p {
    margin: 0 !important;
}

/* Pasos de ¿Cómo comprar? */
.alcatraz-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
}

.alcatraz-step-box {
    background: #fff5f8 !important;
    border: 1px solid #fce7f3 !important;
    border-radius: 16px !important;
    padding: 18px !important;
}

.alcatraz-step-box .step-num {
    display: inline-flex !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #ec4899 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
}

.alcatraz-step-box h5 {
    margin: 0 0 6px 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.alcatraz-step-box p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #475569 !important;
}

/* Textos de Políticas */
.alcatraz-legal-text-content h5 {
    margin: 16px 0 8px 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.alcatraz-legal-text-content h5:first-child {
    margin-top: 0 !important;
}

.alcatraz-legal-text-content p,
.alcatraz-legal-text-content li {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
}

.alcatraz-legal-text-content ul {
    padding-left: 20px !important;
    margin: 8px 0 14px 0 !important;
}

.alcatraz-legal-text-content li {
    margin-bottom: 6px !important;
}

/* Footer del modal */
.alcatraz-legal-modal-footer {
    padding: 14px 26px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.alcatraz-legal-modal-footer span {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.alcatraz-legal-footer-btns {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.alcatraz-legal-wa-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 16px !important;
    border-radius: 99px !important;
    background: #10b981 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.alcatraz-legal-ok-btn {
    padding: 9px 20px !important;
    border-radius: 99px !important;
    border: none !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* ==========================================================================
   BARRA FLOTANTE INFERIOR DE COOKIES (MODERNA Y COMPACTA)
   ========================================================================== */
.alcatraz-cookie-bar {
    position: fixed !important;
    bottom: 18px !important;
    left: 20px !important;
    right: 140px !important; /* Respeta el espacio del personaje IA a la derecha */
    max-width: 780px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(236, 72, 153, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16) !important;
    padding: 14px 20px !important;
    z-index: 999990 !important;
    opacity: 0 !important;
    transform: translateY(25px) !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
}

.alcatraz-cookie-bar.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.alcatraz-cookie-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.alcatraz-cookie-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.alcatraz-cookie-badge {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #fff5f8 !important;
    color: #ec4899 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    flex-shrink: 0 !important;
    border: 1px solid #fbcfe8 !important;
}

.alcatraz-cookie-text strong {
    display: block !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
}

.alcatraz-cookie-text p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
}

.alcatraz-cookie-text a {
    color: #ec4899 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.alcatraz-cookie-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

.alcatraz-cookie-btn-minimal {
    padding: 9px 14px !important;
    border-radius: 99px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.alcatraz-cookie-btn-accept {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 9px 16px !important;
    border-radius: 99px !important;
    border: none !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.3) !important;
}

/* ==========================================================================
   PÁGINA DE POLÍTICA DE PRIVACIDAD DEDICADA (INDEX.PHP)
   ========================================================================== */
.alcatraz-standard-page {
    padding: 50px 20px 80px 20px !important;
    background: #f8fafc !important;
    min-height: 65vh !important;
}

body:not(.woocommerce-page) .alcatraz-page-container {
    max-width: 860px !important;
    margin: 0 auto !important;
}

/* En Carrito, Checkout y páginas de WooCommerce usar todo el ancho del contenedor principal */
body.woocommerce-page .alcatraz-standard-page,
body.woocommerce-cart .alcatraz-standard-page {
    padding: 18px 24px 70px 24px !important;
    background: #fafafa !important;
}

body.woocommerce-page .alcatraz-page-container,
body.woocommerce-cart .alcatraz-page-container,
body.woocommerce-cart .alcatraz-generic-page-wrap,
body.woocommerce-cart .woocommerce {
    max-width: 1360px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
}

.alcatraz-policy-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 40px !important;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid #f1f5f9 !important;
    text-align: left !important;
}

.alcatraz-policy-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 99px !important;
    background: #fff5f8 !important;
    color: #ec4899 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.alcatraz-policy-title {
    margin: 0 0 6px 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.alcatraz-policy-updated {
    margin: 0 0 24px 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.alcatraz-policy-body h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 22px 0 8px 0 !important;
}

.alcatraz-policy-body p,
.alcatraz-policy-body li {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
}

.alcatraz-policy-actions {
    margin-top: 28px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.alcatraz-policy-btn-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    border-radius: 99px !important;
    background: #ec4899 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .alcatraz-steps-grid {
        grid-template-columns: 1fr !important;
    }

    .alcatraz-legal-modal-overlay {
        padding: 10px !important;
    }

    .alcatraz-legal-modal-card {
        max-height: 90vh !important;
        border-radius: 20px !important;
    }

    .alcatraz-legal-modal-header {
        padding: 15px 18px !important;
    }

    .alcatraz-legal-body {
        padding: 18px !important;
    }

    .alcatraz-cookie-bar {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        padding: 14px 16px !important;
    }

    .alcatraz-cookie-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .alcatraz-cookie-actions {
        justify-content: flex-end !important;
    }

    .alcatraz-policy-card {
        padding: 24px 20px !important;
    }
}

/* ==========================================================================
   NUEVO DISEÑO DE CARRITO ESTILO ENVIAFLORES + POP-UPS + COMPARTIR
   ========================================================================== */
body.woocommerce-cart {
    background-color: #fafafa !important;
}

.alcatraz-ef-cart-page {
    max-width: 1360px !important;
    width: 100% !important;
    margin: 10px auto 60px auto !important;
    padding: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.alcatraz-ef-cart-heading {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #262626 !important;
    margin: 0 0 22px 0 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.5px !important;
}

.alcatraz-ef-cart-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 2.05fr) minmax(350px, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}

.alcatraz-ef-cart-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    min-width: 0 !important;
}

/* Resetear estilos antiguos de form.woocommerce-cart-form */
.alcatraz-ef-cart-left form.woocommerce-cart-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.alcatraz-ef-cart-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* Tarjeta de cada producto en el carrito */
.alcatraz-ef-cart-item-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px !important;
    display: grid !important;
    grid-template-columns: 112px 1fr auto !important;
    gap: 18px !important;
    align-items: stretch !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f1f5f9 !important;
    position: relative !important;
}

.alcatraz-ef-item-thumb {
    width: 112px !important;
    height: 112px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f5f5f4 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.alcatraz-ef-item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.alcatraz-ef-item-thumb:hover img {
    transform: scale(1.05) !important;
}

.alcatraz-ef-item-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    min-width: 0 !important;
}

.alcatraz-ef-item-title {
    margin: 0 0 4px 0 !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #262626 !important;
    cursor: pointer !important;
    line-height: 1.3 !important;
}

.alcatraz-ef-item-title:hover {
    color: #e01a76 !important;
}

.alcatraz-ef-item-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    font-size: 12.5px !important;
    color: #737373 !important;
    margin-bottom: 10px !important;
}

.alcatraz-ef-item-meta .meta-delivery-line {
    color: #525252 !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 2px !important;
}

.alcatraz-ef-item-meta .meta-delivery-line i {
    color: #e01a76 !important;
}

/* Control de Cantidad con Diseño [ - 1 + ] */
.alcatraz-ef-qty-stepper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1.2px solid #262626 !important;
    border-radius: 7px !important;
    height: 32px !important;
    min-width: 78px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    padding: 0 2px !important;
}

.alcatraz-ef-qty-stepper .ef-qty-btn {
    width: 24px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    color: #262626 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}

.alcatraz-ef-qty-stepper .ef-qty-btn:hover {
    color: #e01a76 !important;
    background: #fdf2f8 !important;
    border-radius: 4px !important;
}

.alcatraz-ef-qty-stepper input.ef-qty-input {
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #171717 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.alcatraz-ef-qty-stepper input.ef-qty-input::-webkit-outer-spin-button,
.alcatraz-ef-qty-stepper input.ef-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Columna derecha del item (Precio + Bote de basura) */
.alcatraz-ef-item-right {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    text-align: right !important;
}

.alcatraz-ef-item-price,
.alcatraz-ef-item-price .amount {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #262626 !important;
}

.alcatraz-ef-item-trash {
    color: #262626 !important;
    font-size: 20px !important;
    text-decoration: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.alcatraz-ef-item-trash:hover {
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

/* =========================================================
   SECCIÓN CARRUSEL "AGREGA UN DETALLE"
   ========================================================= */
.alcatraz-ef-addons-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 22px 20px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f1f5f9 !important;
}

.alcatraz-ef-addons-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
}

.alcatraz-ef-addons-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #262626 !important;
}

.alcatraz-ef-addons-more {
    color: #e01a76 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.alcatraz-ef-addons-more:hover {
    text-decoration: underline !important;
}

.alcatraz-ef-addons-carousel-wrap {
    position: relative !important;
}

.alcatraz-ef-addons-track {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    padding: 4px 2px !important;
}

.alcatraz-ef-addons-track::-webkit-scrollbar {
    display: none !important;
}

.alcatraz-ef-addon-item {
    flex: 0 0 142px !important;
    width: 142px !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s ease !important;
}

.alcatraz-ef-addon-item:hover {
    transform: translateY(-3px) !important;
}

.alcatraz-ef-addon-img-box {
    width: 142px !important;
    height: 142px !important;
    border-radius: 12px !important;
    background: #f5f5f4 !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
}

.alcatraz-ef-addon-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.alcatraz-ef-addon-name {
    margin: 0 0 4px 0 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #404040 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.alcatraz-ef-addon-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #171717 !important;
}

.alcatraz-ef-addon-price sup {
    font-size: 9.5px !important;
    font-weight: 500 !important;
    color: #525252 !important;
}

.alcatraz-ef-carousel-arrow {
    position: absolute !important;
    top: 56px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    color: #262626 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 5 !important;
    padding: 0 !important;
}

.alcatraz-ef-carousel-arrow.prev {
    left: -10px !important;
}

.alcatraz-ef-carousel-arrow.next {
    right: -10px !important;
}

.alcatraz-ef-carousel-arrow:hover {
    background: #e01a76 !important;
    color: #ffffff !important;
    border-color: #e01a76 !important;
}

/* =========================================================
   COLUMNA DERECHA DEL CARRITO (ENVIAR A + CUPÓN + RESUMEN)
   ========================================================= */
.alcatraz-ef-cart-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.alcatraz-ef-side-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f1f5f9 !important;
}

.alcatraz-ef-side-card h3 {
    margin: 0 0 14px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #262626 !important;
}

.alcatraz-ef-pill-Display {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 99px !important;
    padding: 11px 16px !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
    color: #404040 !important;
    background: #ffffff !important;
}

.alcatraz-ef-pill-Display i {
    font-size: 19px !important;
    color: #262626 !important;
}

.alcatraz-ef-delivery-note {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 10px 0 0 0 !important;
    font-size: 12.5px !important;
    color: #525252 !important;
}

.alcatraz-ef-delivery-note i {
    font-size: 16px !important;
    color: #262626 !important;
}

/* Barra de Cupón de descuento */
.alcatraz-ef-coupon-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.alcatraz-ef-coupon-trigger:hover {
    border-color: #f472b6 !important;
    transform: translateY(-1px) !important;
}

.ef-coupon-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #262626 !important;
}

.ef-coupon-left i {
    font-size: 18px !important;
    color: #262626 !important;
}

.ef-coupon-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 13.5px !important;
    color: #737373 !important;
    font-weight: 500 !important;
}

/* Resumen del pedido */
.alcatraz-ef-summary-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.ef-summary-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 14px !important;
    color: #525252 !important;
}

.ef-summary-row .ef-summary-val {
    font-weight: 600 !important;
    color: #262626 !important;
}

.ef-summary-row .ef-summary-val.ef-muted {
    font-weight: 400 !important;
    color: #737373 !important;
}

.ef-summary-divider {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 4px 0 !important;
}

.ef-summary-row.ef-total-row {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #171717 !important;
}

.ef-summary-row.ef-total-row .ef-total-amount,
.ef-summary-row.ef-total-row .ef-total-amount .amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #171717 !important;
}

.alcatraz-ef-checkout-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    border-radius: 99px !important;
    background: #e01a76 !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 10px 25px rgba(224, 26, 118, 0.28) !important;
}

.alcatraz-ef-checkout-cta:hover {
    background: #be1260 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(224, 26, 118, 0.36) !important;
}

/* =========================================================
   POP-UP MODAL 1: DETALLE DE PRODUCTO ("AGREGA UN DETALLE")
   ========================================================= */
.alcatraz-ef-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 1000020 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.alcatraz-ef-modal-overlay.active,
.alcatraz-ef-modal-overlay.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1000020 !important;
}

.alcatraz-ef-edit-delivery-btn,
.alcatraz-ef-pill-interactive,
.alcatraz-ef-delivery-note.alcatraz-ef-note-interactive,
.alcatraz-ef-delivery-note u.ef-inline-change-link,
.alcatraz-ef-coupon-trigger,
.alcatraz-ef-coupon-trigger * {
    cursor: pointer !important;
}

.alcatraz-qv-modal-dialog {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 720px !important;
    border-radius: 20px !important;
    padding: 26px !important;
    position: relative !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22) !important;
    transform: scale(0.96) !important;
    transition: transform 0.25s ease !important;
}

.alcatraz-ef-modal-overlay.active .alcatraz-qv-modal-dialog {
    transform: scale(1) !important;
}

.alcatraz-ef-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    width: 34px !important;
    height: 34px !important;
    border: none !important;
    background: transparent !important;
    color: #262626 !important;
    font-size: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    padding: 0 !important;
}

.alcatraz-ef-modal-close:hover {
    color: #e01a76 !important;
}

.alcatraz-qv-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.alcatraz-qv-img-col {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 14px !important;
    background: #f5f5f4 !important;
    overflow: hidden !important;
}

.alcatraz-qv-img-col img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.alcatraz-qv-info-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: 18px !important;
    text-align: left !important;
}

.alcatraz-qv-title-bar {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 6px !important;
}

.alcatraz-qv-title-bar h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #171717 !important;
    line-height: 1.25 !important;
}

.alcatraz-qv-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #262626 !important;
    margin-bottom: 14px !important;
}

.alcatraz-qv-divider {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 12px 0 !important;
}

.alcatraz-qv-desc-block h4 {
    margin: 0 0 8px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #171717 !important;
}

.alcatraz-qv-desc-block p {
    margin: 0 0 10px 0 !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #525252 !important;
}

.alcatraz-qv-more-link {
    display: inline-block !important;
    color: #e01a76 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.alcatraz-qv-more-link:hover {
    text-decoration: underline !important;
}

.alcatraz-qv-bottom-action {
    margin-top: 20px !important;
    width: 100% !important;
}

.alcatraz-qv-add-btn {
    width: 100% !important;
    height: 46px !important;
    border-radius: 99px !important;
    border: none !important;
    background: #e01a76 !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.alcatraz-qv-add-btn:hover {
    background: #be1260 !important;
    transform: translateY(-1px) !important;
}

/* =========================================================
   BOTÓN Y MENÚ DESPLEGABLE DE COMPARTIR (FB, WA, X, LINK)
   ========================================================= */
.alcatraz-share-widget-wrap {
    position: relative !important;
    display: inline-block !important;
}

.alcatraz-qv-share-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid #d4d4d8 !important;
    background: #f4f4f5 !important;
    color: #262626 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.alcatraz-qv-share-btn:hover {
    background: #e4e4e7 !important;
    border-color: #a1a1aa !important;
}

/* También en la página de detalle de producto individual */
.alcatraz-single-share-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    gap: 12px !important;
}

.alcatraz-single-sku-badge {
    font-size: 12.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.alcatraz-single-sku-badge i {
    color: #10b981 !important;
    font-size: 16px !important;
}

.alcatraz-share-trigger-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 13px !important;
    border-radius: 99px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.alcatraz-share-trigger-btn:hover {
    border-color: #ec4899 !important;
    color: #ec4899 !important;
    background: #fff5f8 !important;
}

.alcatraz-share-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 175px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid #f1f5f9 !important;
    overflow: hidden !important;
    z-index: 1000050 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
}

.alcatraz-share-dropdown-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.alcatraz-share-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #262626 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    text-align: left !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease !important;
}

.alcatraz-share-item:last-child {
    border-bottom: none !important;
}

.alcatraz-share-item:hover {
    background: #f8fafc !important;
    color: #e01a76 !important;
}

.alcatraz-share-item .share-ico {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
}

.alcatraz-share-item .share-ico.fb {
    background: #1877f2 !important;
}

.alcatraz-share-item .share-ico.wa {
    background: #25d366 !important;
}

.alcatraz-share-item .share-ico.tw {
    background: #171717 !important;
}

.alcatraz-share-item .share-ico.cp {
    background: transparent !important;
    color: #262626 !important;
    font-size: 15px !important;
}

/* =========================================================
   POP-UP MODAL 2: CUPÓN DE DESCUENTO
   ========================================================= */
.alcatraz-coupon-modal-dialog {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 460px !important;
    border-radius: 18px !important;
    padding: 32px 26px 26px 26px !important;
    position: relative !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22) !important;
    text-align: center !important;
}

.alcatraz-coupon-modal-body h3 {
    margin: 0 0 8px 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #171717 !important;
}

.alcatraz-coupon-modal-body p {
    margin: 0 0 18px 0 !important;
    font-size: 13px !important;
    color: #737373 !important;
}

.alcatraz-coupon-modal-input {
    width: 100% !important;
    height: 48px !important;
    border-radius: 10px !important;
    border: 1px solid #d4d4d8 !important;
    padding: 0 16px !important;
    font-size: 14.5px !important;
    color: #171717 !important;
    background: #ffffff !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.alcatraz-coupon-modal-input:focus {
    border-color: #e01a76 !important;
    box-shadow: 0 0 0 3px rgba(224, 26, 118, 0.12) !important;
}

.alcatraz-coupon-modal-btn {
    width: 100% !important;
    height: 48px !important;
    border-radius: 99px !important;
    border: none !important;
    background: #e01a76 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.alcatraz-coupon-modal-btn:hover {
    background: #be1260 !important;
}

/* =========================================================
   RESPONSIVO MÓVIL PARA EL CARRITO Y POP-UPS
   ========================================================= */
@media (max-width: 920px) {
    .alcatraz-ef-cart-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .alcatraz-ef-cart-page {
        padding: 0 12px !important;
        margin-top: 15px !important;
    }

    .alcatraz-ef-cart-heading {
        font-size: 26px !important;
        margin-bottom: 14px !important;
    }

    .alcatraz-ef-cart-item-card {
        grid-template-columns: 88px 1fr auto !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .alcatraz-ef-item-thumb {
        width: 88px !important;
        height: 88px !important;
    }

    .alcatraz-qv-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .alcatraz-qv-img-col {
        max-height: 260px !important;
    }

    .alcatraz-qv-info-col {
        padding-top: 0 !important;
    }
}

/* =========================================================
   EDICIÓN INTERACTIVA DE FECHA Y HORARIO DE ENTREGA EN EL CARRITO
   ========================================================= */
.alcatraz-ef-item-meta button.meta-delivery-line {
    background: #fdf2f8 !important;
    border: 1px solid #fbcfe8 !important;
    border-radius: 99px !important;
    padding: 4px 10px !important;
    color: #be185d !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    margin-top: 4px !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
}

.alcatraz-ef-item-meta button.meta-delivery-line:hover {
    background: #fce7f3 !important;
    border-color: #f472b6 !important;
    transform: translateY(-1px) !important;
}

.alcatraz-ef-item-meta button.meta-delivery-line .meta-edit-ico {
    font-size: 14px !important;
    margin-left: 2px !important;
    opacity: 0.85 !important;
}

.alcatraz-ef-side-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
}

.alcatraz-ef-side-card-head h3 {
    margin: 0 !important;
}

.alcatraz-ef-edit-delivery-btn {
    background: #fff1f6 !important;
    border: 1px solid #fbcfe8 !important;
    color: #e01a76 !important;
    border-radius: 99px !important;
    padding: 5px 12px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.alcatraz-ef-edit-delivery-btn:hover {
    background: #e01a76 !important;
    color: #ffffff !important;
    border-color: #e01a76 !important;
}

.alcatraz-ef-pill-Display.alcatraz-ef-pill-interactive {
    width: 100% !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.alcatraz-ef-pill-Display.alcatraz-ef-pill-interactive:hover {
    border-color: #e01a76 !important;
    background: #fff9fb !important;
}

.alcatraz-ef-pill-Display .ef-pill-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.alcatraz-ef-pill-Display .ef-pill-edit-ico {
    font-size: 16px !important;
    color: #e01a76 !important;
}

.alcatraz-ef-note-interactive {
    cursor: pointer !important;
    padding: 6px 8px !important;
    margin: 6px -8px 0 -8px !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
}

.alcatraz-ef-note-interactive:hover {
    background: #fdf2f8 !important;
}

.ef-inline-change-link {
    color: #e01a76 !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
    font-size: 12px !important;
}

/* POP-UP MODAL 3: MODIFICAR FECHA Y HORARIO DE ENTREGA */
.alcatraz-delivery-modal-dialog {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 480px !important;
    border-radius: 22px !important;
    padding: 30px 26px 26px 26px !important;
    position: relative !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.24) !important;
    text-align: left !important;
}

.alcatraz-delivery-modal-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: #fdf2f8 !important;
    color: #e01a76 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    margin-bottom: 12px !important;
}

.alcatraz-delivery-modal-body h3 {
    margin: 0 0 4px 0 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #171717 !important;
}

.alcatraz-delivery-modal-body > p {
    margin: 0 0 18px 0 !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

.ef-deliv-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #262626 !important;
    margin: 14px 0 8px 0 !important;
}

.ef-deliv-label i {
    color: #e01a76 !important;
    font-size: 16px !important;
}

.ef-deliv-quick-dates {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.ef-quick-date-chip {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 8px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.ef-quick-date-chip strong {
    font-size: 13px !important;
    color: #1e293b !important;
}

.ef-quick-date-chip span {
    font-size: 11px !important;
    color: #64748b !important;
}

.ef-quick-date-chip.active,
.ef-quick-date-chip:hover {
    border-color: #e01a76 !important;
    background: #fff1f6 !important;
}

.ef-quick-date-chip.active strong {
    color: #e01a76 !important;
}

.ef-date-input {
    cursor: pointer !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.ef-deliv-slots-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.ef-slot-option {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #ffffff !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
}

.ef-slot-option > i:first-child {
    font-size: 22px !important;
    color: #64748b !important;
}

.ef-slot-option .ef-slot-txt {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.ef-slot-option .ef-slot-txt strong {
    font-size: 14px !important;
    color: #1e293b !important;
}

.ef-slot-option .ef-slot-txt span {
    font-size: 12.5px !important;
    color: #64748b !important;
}

.ef-slot-option .ef-slot-check {
    font-size: 20px !important;
    color: #cbd5e1 !important;
}

.ef-slot-option.active {
    border-color: #e01a76 !important;
    background: #fff5f8 !important;
}

.ef-slot-option.active > i:first-child,
.ef-slot-option.active .ef-slot-check,
.ef-slot-option.active .ef-slot-txt strong {
    color: #e01a76 !important;
}

/* =========================================================
   SISTEMA DE AVISOS TIPO SWEETALERT2 TOAST / BADGES FLOTANTES
   ========================================================= */
/* Ocultar el contenedor gigante nativo para que jamás empuje la página hacia abajo */
.woocommerce-notices-wrapper {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
}

.woocommerce-notices-wrapper > .woocommerce-message,
.woocommerce-notices-wrapper > .woocommerce-info,
.woocommerce-notices-wrapper > .woocommerce-error {
    display: none !important;
}

.alcatraz-swal-toast-container {
    position: fixed !important;
    top: 88px !important;
    right: 22px !important;
    z-index: 1000250 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 420px !important;
    width: calc(100vw - 32px) !important;
    pointer-events: none !important;
    font-family: 'Outfit', sans-serif !important;
}

.alcatraz-swal-toast {
    pointer-events: auto !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 14px 36px 16px 16px !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateX(40px) scale(0.95) !important;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.alcatraz-swal-toast.show {
    opacity: 1 !important;
    transform: translateX(0) scale(1) !important;
}

.alcatraz-swal-toast.hide {
    opacity: 0 !important;
    transform: translateX(40px) scale(0.95) !important;
}

.alcatraz-toast-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 21px !important;
    flex-shrink: 0 !important;
}

.alcatraz-swal-toast.toast-success .alcatraz-toast-icon {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

.alcatraz-swal-toast.toast-error .alcatraz-toast-icon {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.alcatraz-swal-toast.toast-info .alcatraz-toast-icon {
    background: #fce7f3 !important;
    color: #e01a76 !important;
}

.alcatraz-toast-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
}

.alcatraz-toast-text {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}

.alcatraz-toast-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.alcatraz-toast-actions a,
.alcatraz-toast-actions .alcatraz-toast-btn,
.alcatraz-toast-actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 13px !important;
    border-radius: 99px !important;
    background: #e01a76 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(224, 26, 118, 0.25) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}

.alcatraz-toast-actions a:hover,
.alcatraz-toast-actions .alcatraz-toast-btn:hover {
    background: #be1260 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.alcatraz-toast-close {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.15s ease !important;
}

.alcatraz-toast-close:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

.alcatraz-toast-progress {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 3.5px !important;
    background: #f1f5f9 !important;
}

.alcatraz-toast-progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #e01a76, #f472b6);
}

.alcatraz-swal-toast.toast-success .alcatraz-toast-progress-bar {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}

.alcatraz-swal-toast.toast-error .alcatraz-toast-progress-bar {
    background: linear-gradient(90deg, #dc2626, #f87171);
}

@media (max-width: 640px) {
    .alcatraz-swal-toast-container {
        top: 74px !important;
        right: 12px !important;
        left: 12px !important;
        max-width: none !important;
        width: auto !important;
    }
}

/* =========================================================================
   SIDEBAR MÓVIL: ENCABEZADO ROSA OFICIAL Y PREVENCIÓN DE FOUC EN PC
   ========================================================================= */
#mobile-drawer-overlay:not(.active),
#mobile-drawer-menu:not(.active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#mobile-drawer-overlay.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#mobile-drawer-menu.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

@media (min-width: 769px) {
    #mobile-drawer-overlay,
    #mobile-drawer-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

#mobile-drawer-menu .drawer-header {
    background: linear-gradient(135deg, #ec4899 0%, #e02787 100%) !important;
    color: #ffffff !important;
    padding: 18px !important;
}

#mobile-drawer-menu .drawer-user-avatar {
    color: #ffffff !important;
    font-size: 38px !important;
}

#mobile-drawer-menu .drawer-user-info h4 {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

#mobile-drawer-menu .drawer-item i {
    color: #e02787 !important;
}

/* =========================================================================
   GLOBAL SALE BADGE (.onsale) - ESTILO ENVIAFLORES / ALCATRAZ PREMIUM
   ========================================================================= */
.woocommerce span.onsale,
.woocommerce-page span.onsale,
span.onsale,
.onsale {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
    margin: 0 !important;
    z-index: 25 !important;
}

/* Ocultar insignia de oferta en el producto individual principal (PC y Móvil) */
.single-product div.product > .onsale,
.single-product div.product > span.onsale,
.single-product div.product .images .onsale,
.single-product div.product .images span.onsale,
.single-product .woocommerce-product-gallery .onsale,
.single-product .woocommerce-product-gallery span.onsale,
.single-product .alcatraz-product-top-wrap .onsale,
.single-product .alcatraz-product-top-wrap span.onsale,
.woocommerce.single-product div.product > span.onsale,
.woocommerce.single-product .woocommerce-product-gallery span.onsale {
    display: none !important;
}

/* En catálogo, rejillas y productos relacionados: Posición superior izquierda sobre cada tarjeta */
.woocommerce ul.products li.product .onsale,
ul.products li.product .onsale,
section.related.products ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
}

/* Botón Ver todo el catálogo en Home */
.alcatraz-btn-ver-catalogo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: #ffffff;
    color: #111827 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    border: 1.5px solid #111827;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.alcatraz-btn-ver-catalogo:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.28);
}

.alcatraz-btn-ver-catalogo:hover i {
    transform: translateX(4px);
}

/* =========================================================================
   SECCIÓN "TE PUEDE INTERESAR" EN MÓVIL (CORRECCIÓN DE DESCUADRE)
   ========================================================================= */
@media (max-width: 768px) {
    .woocommerce section.related.products,
    .woocommerce section.up-sells.products,
    section.related.products,
    section.up-sells.products {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 35px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    section.related.products > div,
    section.up-sells.products > div {
        width: 100% !important;
        text-align: center !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    section.related.products h4,
    section.up-sells.products h4 {
        font-size: 26px !important;
        margin-bottom: 6px !important;
        text-align: center !important;
    }

    section.related.products p,
    section.up-sells.products p {
        font-size: 14px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    .woocommerce section.related.products ul.products,
    .woocommerce section.up-sells.products ul.products,
    section.related.products ul.products,
    section.up-sells.products ul.products {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding: 10px 15px 25px 15px !important;
        margin: 0 !important;
        gap: 15px !important;
    }

    .woocommerce section.related.products ul.products li.product,
    .woocommerce section.up-sells.products ul.products li.product,
    section.related.products ul.products li.product,
    section.up-sells.products ul.products li.product {
        flex: 0 0 240px !important;
        max-width: 240px !important;
        width: 240px !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
    }
}

/* =========================================================================
   OCULTAR CATEGORÍAS Y ETIQUETAS EN PRODUCTO INDIVIDUAL
   ========================================================================= */
.woocommerce div.product .product_meta,
.product_meta {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

/* =========================================================================
   CENTRALIZACIÓN PERFECTA DEL CONTENEDOR PRINCIPAL EN MÓVIL (PRODUCTO INDIVIDUAL)
   ========================================================================= */
@media (max-width: 991px) {
    .woocommerce div.product,
    .woocommerce-page div.product {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .alcatraz-product-top-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce div.product div.summary,
    .alcatraz-product-top-wrap .summary.entry-summary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .alcatraz-custom-fields {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .woocommerce div.product form.cart {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Galería e imágenes sin bordes redondeados y a ancho completo en celular */
    .woocommerce div.product div.images,
    .woocommerce div.product .woocommerce-product-gallery,
    .woocommerce div.product .woocommerce-product-gallery .flex-viewport,
    .woocommerce div.product .woocommerce-product-gallery__wrapper,
    .woocommerce div.product .woocommerce-product-gallery__image {
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product .woocommerce-product-gallery,
    .woocommerce div.product .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .woocommerce div.product .woocommerce-product-gallery__image {
        float: left !important;
        box-sizing: border-box !important;
    }

    .woocommerce div.product .woocommerce-product-gallery__image a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* ÚNICAMENTE para productos que tienen 1 sola imagen en WooCommerce (detectados por PHP del lado del servidor) */
    .woocommerce div.product .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
    .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce div.product .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__image,
    .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__image {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    .woocommerce div.product .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__image a,
    .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__image a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .woocommerce div.product .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__image img,
    .alcatraz-single-image-product.woocommerce-product-gallery .woocommerce-product-gallery__image img {
        width: 100% !important;
        max-width: 100% !important;
        height: 56vh !important;
        min-height: 360px !important;
        max-height: 520px !important;
        object-fit: cover !important;
        object-position: center 30% !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .woocommerce div.product .woocommerce-product-gallery__image img,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 60vh !important;
        min-height: 380px !important;
        max-height: 70vh !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }
}

/* ==========================================================================
   PAGINACIÓN LUXURY WOOCOMMERCE (Números de páginas del catálogo)
   ========================================================================== */
.woocommerce nav.woocommerce-pagination,
nav.woocommerce-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 36px auto 18px auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li,
nav.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers,
nav.woocommerce-pagination ul.page-numbers li a.page-numbers,
nav.woocommerce-pagination ul.page-numbers li span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    border: 1.5px solid #f1f5f9 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.22s ease !important;
    line-height: 1 !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: #fdf2f8 !important;
    border-color: #f9a8d4 !important;
    color: #ec4899 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(236, 72, 153, 0.14) !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current,
nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.35) !important;
    cursor: default !important;
}

body.dark-mode .woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers,
body.dark-mode nav.woocommerce-pagination ul.page-numbers li a.page-numbers {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
body.dark-mode nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: rgba(236, 72, 153, 0.18) !important;
    border-color: #ec4899 !important;
    color: #f472b6 !important;
}



