/* ================================
   Carrito y finalizar compra
================================ */
.woocommerce-js #customer_details, .woocommerce-js .woocommerce table.shop_table {
    margin-bottom: 2em;
    border-radius: 0px 0px 15px 15px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    border-radius: 0px 0px 15px 15px;
}

/* ===== OVERRIDE ASTRA / CARTFLOWS (DEFINITIVO) ===== */
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row
.select2-container--default
.select2-selection--single,
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row input,
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row select,
body:not(.cartflows-canvas):not(.cartflows-default):not(.cartflows-instant-checkout)
.woocommerce form .form-row textarea {
    height: 47px !important;
    line-height: 20px !important;
    padding: 15px 15px 15px px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
}

.woocommerce-shipping-destination {
	margin: 15px 0px 0px 0px;
}

@media screen and (min-width: 922px) {
    .ast-no-sidebar #ast-cart-wrapper .ast-cart-non-sticky {
        width: 58%;
    }
}


@media screen and (min-width: 922px) {
    .ast-no-sidebar #ast-cart-wrapper .cart-collaterals {
        width: 41%;
    }
}


.woocommerce-js ul#shipping_method {
    margin: 0px 0px 0px -50px;
    padding: 0px;	
}

#add_payment_method .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-checkout .cart-collaterals .cart_totals table th {
    width: 40%;
    text-align: end;
}


.ast-modern-checkout .woocommerce #ast-order-review-content .woocommerce-checkout-review-order-table tbody tr td.product-name .ast-product-image.ast-enable-image .ast-product-name, .ast-modern-checkout .woocommerce #order_review .woocommerce-checkout-review-order-table tbody tr td.product-name .ast-product-image.ast-enable-image .ast-product-name {
    width: 330px;
    margin-right: -250px;
    text-align: end;
}


.ast-modern-checkout .woocommerce #ast-order-review-content .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td, .ast-modern-checkout .woocommerce #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
    padding-left: 0;
    width: 120%;
	margin-left: -85px;
    text-align: end;
}


.woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th {
    border-top: 1px solid var(--ast-border-color);
    text-align: end;
}


#add_payment_method .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-checkout .cart-collaterals .cart_totals table th {
    width: 45%;
    text-align: left !important;
}

.fee {
    width: 45%;
}

@media screen and (max-width: 922px) {
.woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th {
    border-top: 1px solid var(--ast-border-color);
    text-align: end;
    width: 345px;
}
}


/* Boton Realizar pago */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    font-size: 1.1em;
    line-height: 0.5em;
}


/* Boton Cargar mas productos */
.ast-shop-load-more.active {
    border-radius: 9px;
    border: solid 2px;
    border-color: #75b4f9;
}



/* Filtros deplegables */
.ast-off-canvas-overlay .woocommerce .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar, .ast-off-canvas-overlay .woocommerce-page .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar {
    left: 0;
    font-size: 14px;	  
}

.ast-filter-wrap .widget-title {
    font-size: 14px;
}

/* Titulos filtros activos */
.widgettitle {
	font-size:16px;
}

.woocommerce .select2-container .select2-selection--single, .woocommerce select, .woocommerce-page .select2-container .select2-selection--single, .woocommerce-page select {
    font-size: 14px;
	  height: 33px;
}

.woocommerce .astra-off-canvas-sidebar-wrapper .close, .woocommerce-page .astra-off-canvas-sidebar-wrapper .close {
   right: 18px;
}

.ast-filter-wrap .ast-woo-sidebar-widget.widget, .astra-off-canvas-sidebar .ast-filter-wrap .widget, .ast-collapse-filter .ast-filter-wrap > div {
    margin-bottom: 25px;
}

/* Boton Filtros Tienda */
.woocommerce .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap .astra-shop-filter-button {
   height: 35px;
	 font-size: 14px
}


/* ================================
   PAGINA DIRECCIONES  DE MY CUENTA WOO
================================ */
.bludrop-address-note {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 1.6;
    max-width: 900px;
}

.bludrop-address-note strong {
    color: #1e3a8a;
}








/* === PANEL BLUDROP AFILIADOS === */
.bludrop-affiliate-panel {
    margin: 12px 0;
}

.bludrop-affiliate-header {
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 50px;

}

/* CONTENEDOR DE ICONOS */
.bludrop-affiliate-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* BOTONES */
.bludrop-main-copy,
.bludrop-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9; /* gris claro visible */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* ICONOS SVG */
.bludrop-main-copy img,
.bludrop-share-btn img {
    width: 26px;      /* 🔥 CLAVE */
    height: 26px;
    display: block;
}

/* COLORES POR RED (mejor contraste) */
.bludrop-share-btn.whatsapp {
    background: #eafff3;
}

.bludrop-share-btn.facebook {
    background: #e7f0ff;
}

.bludrop-share-btn.instagram {
    background: #fde8f3;
}

/* HOVER */
.bludrop-main-copy:hover,
.bludrop-share-btn:hover {
    transform: scale(1.05);
    transition: transform .15s ease;
}

.bludrop-copied {
    outline: 2px solid #22c55e;
}




.bludrop-product-copy {
    position: relative;
}

.bludrop-product-copy[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}


.bludrop-share-btn.instagram[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #9333ea;
    color: #fff;
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 6px;
}



/* ================================
   BLUDROP – SHARE OVER IMAGE (MOBILE)
================================ */

.bludrop-image-share-overlay {
    position: absolute;
    top: 60px;
    right: 12px;
    z-index: 9;
}

/* Botón circular */
.bludrop-image-share-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #2563eb;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 12px;
}





/* SOLO MOBILE */
@media (min-width: 768px) {
    .bludrop-image-share-overlay {
        display: none;
    }
}

/* 🔥 FIX DEFINITIVO SVG SHARE BLUDROP */
.bludrop-image-share-btn img {
    width: 25px !important;
    height: 25px !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}




/* ================================
   BLUDROP SHARE MODAL
================================ */

.bludrop-share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.bludrop-share-modal.active {
    display: block;
}

/* fondo oscuro */
.bludrop-share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

/* contenido */
.bludrop-share-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    z-index: 1;
    animation: bludropFadeScale .2s ease-out;
}


/* botón cerrar */
.bludrop-share-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #4a4a4a;
    background: rgba(0, 0, 0, 0);
    border: none;
    width: 34px;
    height: 34px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: none;
}

/* animación */
@keyframes bludropFadeScale {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


/* SOLO MOBILE */
@media (min-width: 768px) {
    .bludrop-share-modal {
        display: none !important;
    }
}
