@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.lf-shop-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif
}

/* === CATEGORÍAS === */
.lf-cat-scroll {
    margin-bottom: 30px !important
}

.lf-cat-tabs {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 16px !important
}

button.lf-tab,
.lf-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    cursor: pointer !important;
    transition: all .3s !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
    margin: 0 !important;
    line-height: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    min-height: auto !important
}

button.lf-tab:hover,
.lf-tab:hover {
    transform: translateY(-4px) !important;
    background: none !important;
    background-color: transparent !important
}

button.lf-tab.active,
.lf-tab.active {
    background: none !important;
    background-color: transparent !important
}

.lf-tab.active span {
    color: #0078b4 !important;
    font-weight: 700 !important
}

.lf-tab.active small {
    color: #0078b4 !important
}

.lf-tab-img {
    width: 100% !important;
    aspect-ratio: 1 !important;
    border-radius: 16px !important;
    background-size: cover !important;
    background-position: center !important;
    transition: all .3s !important;
    overflow: hidden !important
}

.lf-tab:hover .lf-tab-img {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important
}

.lf-tab.active .lf-tab-img {
    box-shadow: 0 8px 24px rgba(0, 120, 180, .2) !important
}

.lf-tab-icon {
    width: 100% !important;
    aspect-ratio: 1 !important;
    border-radius: 16px !important;
    background: #f5f7fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    transition: all .3s !important;
    border: none !important
}

.lf-tab:hover .lf-tab-icon {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important
}

.lf-tab.active .lf-tab-icon {
    background: #eaf4fd !important
}

.lf-tab span {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #3a4a5a !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin-top: 2px !important
}

.lf-tab small {
    font-size: 10px !important;
    color: #9aa5b0 !important;
    font-weight: 500 !important;
    display: none !important
}


/* === LAYOUT PRINCIPAL === */
.lf-main {
    display: flex;
    gap: 24px
}

.lf-sidebar {
    width: 220px;
    min-width: 220px
}

.lf-products {
    flex: 1
}

/* === SIDEBAR === */
.lf-filter-box {
    background: #f8fbfd;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 120, 180, .1)
}

.lf-filter-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0078b4
}

.lf-dual-range {
    position: relative;
    height: 30px;
    margin-top: 10px
}

.lf-dual-range input[type=range] {
    position: absolute;
    width: 100%;
    top: 0;
    height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    padding: 0
}

.lf-dual-range input[type=range]:first-child {
    z-index: 2
}

.lf-dual-range input[type=range]:last-child {
    z-index: 3
}

.lf-dual-range input[type=range]:first-child::-webkit-slider-runnable-track {
    height: 3px;
    background: #d0e4f0;
    border-radius: 3px;
    margin-top: 2px
}

.lf-dual-range input[type=range]:last-child::-webkit-slider-runnable-track {
    height: 3px;
    background: transparent;
    border-radius: 3px
}

.lf-dual-range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 3px solid #0078b4;
    border-radius: 50%;
    pointer-events: auto;
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    margin-top: -10px;
    position: relative;
    z-index: 10
}

/* Firefox */
.lf-dual-range input[type=range]::-moz-range-track {
    height: 3px;
    background: #d0e4f0;
    border-radius: 3px;
    border: none
}

.lf-dual-range input[type=range]:last-child::-moz-range-track {
    background: transparent
}

.lf-dual-range input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 3px solid #0078b4;
    border-radius: 50%;
    pointer-events: auto;
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25)
}

.lf-price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0078b4
}

.lf-filter-box select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0eef5;
    border-radius: 10px;
    font-size: 13px;
    color: #2c3e50;
    background: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif
}

.lf-filter-box select:focus {
    border-color: #0078b4;
    outline: none
}

.lf-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0eef5;
    border-radius: 10px;
    font-size: 13px;
    color: #2c3e50;
    background: #fff;
    font-family: 'Inter', sans-serif;
    transition: border-color .2s;
    box-sizing: border-box
}

.lf-search-input:focus {
    border-color: #0078b4;
    outline: none
}

.lf-search-input::placeholder {
    color: #9aa5b0
}

/* === GRID === */
.lf-grid {
    display: grid;
    gap: 20px;
    transition: opacity .3s
}

.lf-cols-2 {
    grid-template-columns: repeat(2, 1fr)
}

.lf-cols-3 {
    grid-template-columns: repeat(3, 1fr)
}

.lf-cols-4 {
    grid-template-columns: repeat(4, 1fr)
}

/* === CARD === */
.lf-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 40, 80, .08);
    transition: transform .3s, box-shadow .3s;
    border: 1px solid rgba(0, 120, 180, .08);
    display: flex;
    flex-direction: column;
    height: 100%
}

.lf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 80, 140, .15)
}

.lf-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f0f7fb;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    flex-shrink: 0
}

.lf-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .4s
}

.lf-card:hover .lf-card-img img {
    transform: scale(1.05)
}

.lf-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2
}

.lf-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.lf-card-cat {
    font-size: 10px;
    color: #7a8a9a;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px
}

.lf-card-body h4 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3
}

.lf-card-body h4 a {
    color: #1a2a3a;
    text-decoration: none
}

.lf-card-body h4 a:hover {
    color: #0078b4
}

.lf-card-price {
    font-size: 17px;
    font-weight: 700;
    color: #0078b4;
    margin-bottom: 10px
}

.lf-card-price del {
    color: #aaa;
    font-size: 13px
}

.lf-card-price ins {
    text-decoration: none;
    color: #e74c3c
}

.lf-btn-cart {
    display: block;
    text-align: center;
    padding: 9px;
    background: linear-gradient(135deg, #0078b4, #00a3d9);
    color: #fff !important;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .3s;
    margin-top: auto
}

.lf-btn-cart:hover {
    background: linear-gradient(135deg, #005f8f, #0078b4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 180, .3)
}

.lf-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #7a8a9a;
    font-size: 16px;
    grid-column: 1/-1
}

/* SPINNER */
.lf-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0eef5;
    border-top: 4px solid #0078b4;
    border-radius: 50%;
    animation: lf-spin .8s linear infinite;
    margin: 0 auto
}

@keyframes lf-spin {
    to {
        transform: rotate(360deg)
    }
}

/* =============================================
   PRODUCTO INDIVIDUAL
   ============================================= */
.single-product div.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Inter', sans-serif
}

.single-product .woocommerce-product-gallery {
    border-radius: 16px;
    overflow: hidden;
    background: #f0f7fb
}

.single-product .woocommerce-product-gallery img {
    border-radius: 12px;
    object-fit: contain
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #e0eef5;
    cursor: pointer;
    transition: border-color .2s;
    padding: 4px;
    background: #fff
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #0078b4
}

.single-product .summary {
    padding-left: 30px
}

.single-product .product_title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.3
}

.single-product .price {
    font-size: 26px;
    font-weight: 700;
    color: #0078b4;
    margin-bottom: 16px
}

.single-product .price del {
    color: #aaa;
    font-size: 18px
}

.single-product .price ins {
    text-decoration: none;
    color: #e74c3c
}

.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #4a5a6a;
    line-height: 1.7;
    margin-bottom: 20px
}

.single-product .product_meta {
    font-size: 13px;
    color: #7a8a9a;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0eef5
}

.single-product .product_meta span {
    display: block;
    margin-bottom: 6px
}

.single-product .product_meta a {
    color: #0078b4;
    text-decoration: none
}

/* Botón añadir - Producto */
.single-product .single_add_to_cart_button,
.single-product button.button.alt {
    background: linear-gradient(135deg, #0078b4, #00a3d9) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    cursor: pointer !important;
    transition: all .3s !important;
    font-family: 'Inter', sans-serif !important
}

.single-product .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #005f8f, #0078b4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 120, 180, .3) !important
}

/* Cantidad */
.single-product .quantity input[type=number] {
    width: 70px !important;
    padding: 10px !important;
    border: 2px solid #e0eef5 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important
}

.single-product .quantity input:focus {
    border-color: #0078b4 !important;
    outline: none !important
}

/* Tabs producto */
.single-product .woocommerce-tabs {
    margin-top: 40px
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 2px solid #e0eef5
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #7a8a9a;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all .2s
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #0078b4;
    border-bottom-color: #0078b4
}

.single-product .woocommerce-tabs .panel {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5a6a
}

/* Productos relacionados */
.single-product .related.products h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 40px 0 20px
}

.single-product .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0
}

/* =============================================
   CARRITO
   ============================================= */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif
}

.woocommerce-cart table.cart,
.woocommerce-cart .cart_totals table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 40, 80, .08)
}

.woocommerce-cart table.cart th {
    background: #f0f7fb;
    color: #1a2a3a;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: left
}

.woocommerce-cart table.cart td {
    padding: 16px;
    border-bottom: 1px solid #f0f4f8;
    vertical-align: middle;
    font-size: 14px;
    color: #2c3e50
}

.woocommerce-cart table.cart img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    border-radius: 10px;
    background: #f0f7fb;
    padding: 6px
}

.woocommerce-cart table.cart .product-name a {
    color: #1a2a3a;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px
}

.woocommerce-cart table.cart .product-name a:hover {
    color: #0078b4
}

.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
    font-weight: 700;
    color: #0078b4;
    font-size: 16px
}

.woocommerce-cart table.cart .product-quantity input {
    width: 60px;
    padding: 8px;
    border: 2px solid #e0eef5;
    border-radius: 8px;
    text-align: center;
    font-size: 14px
}

.woocommerce-cart table.cart .product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fee;
    color: #e74c3c;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: all .2s
}

.woocommerce-cart table.cart .product-remove a:hover {
    background: #e74c3c;
    color: #fff
}

/* Cupón y botones carrito */
.woocommerce-cart .coupon input {
    padding: 10px 14px;
    border: 2px solid #e0eef5;
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Inter', sans-serif
}

.woocommerce-cart .coupon input:focus {
    border-color: #0078b4;
    outline: none
}

.woocommerce-cart .coupon .button,
.woocommerce-cart button[name="update_cart"] {
    background: linear-gradient(135deg, #0078b4, #00a3d9) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .3s !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important
}

.woocommerce-cart .coupon .button:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    background: linear-gradient(135deg, #005f8f, #0078b4) !important;
    transform: translateY(-2px) !important
}

/* Totales carrito */
.woocommerce-cart .cart_totals {
    max-width: 450px;
    margin-left: auto;
    margin-top: 30px
}

.woocommerce-cart .cart_totals h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px
}

.woocommerce-cart .cart_totals table th {
    background: #f8fbfd;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5a6a;
    text-align: left
}

.woocommerce-cart .cart_totals table td {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 700;
    color: #0078b4;
    text-align: right
}

.woocommerce-cart .cart_totals .order-total td {
    font-size: 22px;
    color: #1a2a3a
}

/* Botón finalizar compra */
.woocommerce-cart .wc-proceed-to-checkout a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: linear-gradient(135deg, #0078b4, #00a3d9) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all .3s !important;
    letter-spacing: .5px !important;
    margin-top: 16px !important;
    font-family: 'Inter', sans-serif !important
}

.woocommerce-cart .wc-proceed-to-checkout a:hover {
    background: linear-gradient(135deg, #005f8f, #0078b4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(0, 120, 180, .3) !important
}

/* =============================================
   CHECKOUT
   ============================================= */

/* Elementor: forzar ancho completo SOLO en el widget de checkout */
.woocommerce-checkout .elementor-widget-woocommerce-checkout-page .elementor-widget-container,
.woocommerce-checkout .elementor-widget-wc-elements .elementor-widget-container,
.woocommerce-checkout .elementor-widget-shortcode .elementor-widget-container,
.woocommerce-checkout .woocommerce .col2-set {
    width: 100% !important;
    max-width: 100% !important
}

.woocommerce-checkout .woocommerce {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    font-family: 'Inter', sans-serif !important
}

/* Ocultar cupón en checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon {
    display: none !important
}

/* Matar pseudo-elementos fantasma */
.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after,
.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after,
.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important
}

/* LAYOUT: #customer_details = grid 2 columnas (JS mueve review dentro) */
.woocommerce-checkout #customer_details {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: start !important
}

.woocommerce-checkout #customer_details .col-1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important
}

.woocommerce-checkout #customer_details .col-2 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important
}

.woocommerce-checkout .lf-checkout-review {
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
    position: sticky !important;
    top: 30px !important
}

/* Ocultar h3 y order_review originales fuera del grid (por si JS tarda) */
.woocommerce-checkout form.checkout>h3#order_review_heading,
.woocommerce-checkout form.checkout>#order_review {
    display: none !important
}

/* Títulos */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout h3#order_review_heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a2a3a !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #0078b4 !important
}

/* Campos en 2 columnas */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important
}

.woocommerce-checkout .form-row-wide {
    grid-column: 1 / -1 !important
}

.woocommerce-checkout .form-row {
    margin-bottom: 0 !important;
    width: 100% !important;
    float: none !important
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important
}

.woocommerce-checkout .form-row label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5a6a !important;
    margin-bottom: 6px !important;
    display: block !important
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 2px solid #e0eef5 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #2c3e50 !important;
    background: #fff !important;
    font-family: 'Inter', sans-serif !important;
    transition: border-color .2s !important;
    box-sizing: border-box !important
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #0078b4 !important;
    outline: none !important
}

/* Tabla resumen pedido */
.woocommerce-checkout table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 40, 80, .08) !important;
    margin-bottom: 20px !important
}

.woocommerce-checkout table.shop_table th {
    background: #f0f7fb !important;
    color: #1a2a3a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
    text-align: left !important
}

.woocommerce-checkout table.shop_table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #f0f4f8 !important;
    font-size: 14px !important;
    color: #2c3e50 !important
}

.woocommerce-checkout table.shop_table .order-total th,
.woocommerce-checkout table.shop_table .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a2a3a !important
}

/* Métodos de pago */
.woocommerce-checkout #payment {
    background: #f8fbfd !important;
    border-radius: 16px !important;
    padding: 24px !important;
    border: 1px solid rgba(0, 120, 180, .1) !important
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 14px 16px !important;
    margin-bottom: 8px !important;
    background: #fff !important;
    border-radius: 12px !important;
    border: 2px solid #e0eef5 !important;
    transition: border-color .2s !important
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #0078b4 !important
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    cursor: pointer !important
}

.woocommerce-checkout #payment .payment_box {
    padding: 12px 16px !important;
    background: #f0f7fb !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #4a5a6a !important;
    line-height: 1.6 !important
}

/* Botón realizar pedido */
.woocommerce-checkout #place_order {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #0078b4, #00a3d9) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all .3s !important;
    letter-spacing: .5px !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 10px !important
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #005f8f, #0078b4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(0, 120, 180, .3) !important
}

/* CHECKOUT RESPONSIVE */
@media(max-width:900px) {
    .woocommerce-checkout #customer_details {
        grid-template-columns: 1fr !important
    }

    .woocommerce-checkout .lf-checkout-review {
        grid-column: 1 !important;
        grid-row: auto !important;
        position: relative !important
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr !important
    }
}

/* =============================================
   MENSAJES WOOCOMMERCE
   ============================================= */
.woocommerce-message {
    background: #eaf7ee !important;
    border-left: 4px solid #27ae60 !important;
    border-radius: 12px !important;
    padding: 14px 20px 14px 50px !important;
    font-size: 14px !important;
    color: #1a2a3a !important;
    margin-bottom: 20px !important;
    position: relative !important
}

.woocommerce-message::before {
    position: absolute !important;
    left: 18px !important;
    top: 14px !important
}

.woocommerce-error {
    background: #fdeaea !important;
    border-left: 4px solid #e74c3c !important;
    border-radius: 12px !important;
    padding: 14px 20px 14px 50px !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    position: relative !important
}

.woocommerce-error::before {
    position: absolute !important;
    left: 18px !important;
    top: 14px !important
}

.woocommerce-info {
    background: #eaf4fd !important;
    border-left: 4px solid #0078b4 !important;
    border-radius: 12px !important;
    padding: 14px 20px 14px 50px !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    position: relative !important
}

.woocommerce-info::before {
    position: absolute !important;
    left: 18px !important;
    top: 14px !important
}

/* Notificación producto - debajo del hero via widget Elementor */
.single-product .woocommerce-message {
    position: relative !important;
    z-index: 10 !important;
    max-width: 1200px !important;
    margin: 20px auto !important;
    background: #fff !important;
    border-left: 4px solid #27ae60 !important;
    border-radius: 12px !important;
    padding: 16px 20px 16px 50px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08) !important;
    font-size: 14px !important;
    color: #1a2a3a !important;
    font-family: 'Inter', sans-serif !important
}

.single-product .woocommerce-message .button {
    display: inline-block !important;
    float: right !important;
    background: linear-gradient(135deg, #0078b4, #00a3d9) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 13px;
    color: #7a8a9a;
    margin-bottom: 20px;
    padding: 10px 0
}

.woocommerce-breadcrumb a {
    color: #0078b4;
    text-decoration: none;
    font-weight: 500
}

/* =============================================
   RESPONSIVE GLOBAL
   ============================================= */
@media(max-width:900px) {
    .lf-main {
        flex-direction: column
    }

    .lf-sidebar {
        width: 100%;
        min-width: 100%;
        display: flex;
        gap: 12px;
        flex-wrap: wrap
    }

    .lf-filter-box {
        flex: 1;
        min-width: 140px
    }

    .lf-cols-3 {
        grid-template-columns: repeat(2, 1fr)
    }

    .single-product .summary {
        padding-left: 0;
        margin-top: 20px
    }

    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:520px) {

    .lf-cols-2,
    .lf-cols-3,
    .lf-cols-4 {
        grid-template-columns: 1fr
    }

    .lf-card-img,
    .lf-card-img img {
        height: 180px;
        min-height: 180px;
        max-height: 180px
    }

    .lf-sidebar {
        flex-direction: column
    }

    .lf-filter-box {
        min-width: 100%
    }

    .single-product .product_title {
        font-size: 22px
    }

    .single-product .price {
        font-size: 22px
    }

    .single-product .related.products ul.products {
        grid-template-columns: 1fr
    }

    .woocommerce-cart table.cart img {
        width: 60px !important;
        height: 60px !important
    }

    .woocommerce-cart table.cart .product-name a {
        font-size: 13px
    }

    .woocommerce-cart .cart_totals {
        max-width: 100%
    }

    .woocommerce-cart table.cart thead {
        display: none
    }

    .woocommerce-cart table.cart tr {
        display: flex;
        flex-wrap: wrap;
        padding: 14px;
        margin-bottom: 10px;
        border: 1px solid #edf2f7;
        border-radius: 14px;
        background: #fff;
        align-items: center;
        gap: 8px
    }

    .woocommerce-cart table.cart td {
        border: none;
        padding: 4px 0
    }

    .woocommerce-cart table.cart .product-thumbnail {
        flex: 0 0 100%;
        display: block !important;
        text-align: center
    }

    .woocommerce-cart table.cart .product-thumbnail::before {
        display: none !important;
        content: none !important
    }

    .woocommerce-cart table.cart .product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
        object-fit: contain;
        border-radius: 12px;
        background: #f5f8fb;
        padding: 6px;
        margin: 0 auto
    }

    /* Quitar los dos puntos de las etiquetas responsive */
    .woocommerce-cart table.cart td::before {
        content: attr(data-title) !important
    }

    .woocommerce-cart table.cart td[data-title]::before {
        font-weight: 600;
        color: #1a2a3a
    }

    .woocommerce-cart table.cart .product-price {
        flex: 0 0 auto
    }

    .woocommerce-cart table.cart .product-quantity {
        flex: 0 0 auto
    }

    .woocommerce-cart table.cart .product-subtotal {
        flex: 0 0 auto;
        margin-left: auto
    }

    .woocommerce-cart table.cart .product-remove {
        order: -1;
        flex: 0 0 auto
    }

    .woocommerce-cart table.cart .product-remove a {
        width: 22px;
        height: 22px;
        background: none;
        box-shadow: none;
        color: #bbb;
        font-size: 14px;
        border: none
    }

    /* Padding móvil */
    .lf-shop-wrap {
        padding: 12px 16px !important
    }

    .woocommerce-cart .woocommerce {
        padding: 12px 16px !important
    }

    .single-product div.product {
        padding: 16px !important
    }

    /* Lupa del producto más separada */
    .single-product .woocommerce-product-gallery {
        padding: 0 12px !important
    }

    .single-product .woocommerce-product-gallery__trigger {
        top: 16px !important;
        right: 20px !important
    }
}

/* === DESKTOP / MOBILE VISIBILITY === */
.lf-mobile-only {
    display: none !important
}

.lf-desktop-only {
    display: block !important
}

@media(max-width:768px) {
    .lf-mobile-only {
        display: block !important
    }

    .lf-desktop-only {
        display: none !important
    }
}

/* === MOBILE DROPDOWN === */
.lf-mobile-cats {
    margin-bottom: 20px
}

.lf-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a2a3a;
    font-family: 'Inter', sans-serif;
    transition: all .2s
}

.lf-mobile-toggle:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1)
}

.lf-mobile-toggle svg {
    margin-left: auto;
    transition: transform .3s
}

.lf-mobile-toggle.open svg {
    transform: rotate(180deg)
}

.lf-mobile-dropdown {
    display: none;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto
}

.lf-mobile-dropdown.show {
    display: block;
    animation: lf-slide .25s ease
}

@keyframes lf-slide {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.lf-mob-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f5f7fa;
    transition: background .15s;
    font-family: 'Inter', sans-serif
}

.lf-mob-item:last-child {
    border-bottom: none
}

.lf-mob-item:hover {
    background: #f8fbfd
}

.lf-mob-item input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: #0078b4;
    cursor: pointer;
    flex-shrink: 0
}

.lf-mob-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50
}

.lf-mob-count {
    font-size: 12px;
    color: #9aa5b0;
    background: #f0f4f8;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600
}

/* === OCULTAR H2 DUPLICADOS EN TABS DE PRODUCTO === */
.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-Tabs-panel--description h2,
.single-product .woocommerce-Tabs-panel--additional_information h2 {
    display: none !important;
}

/* Bloque tienda física en descripción */
.lf-tienda-fisica {
    margin-top: 24px;
    padding: 16px 20px;
    background: #f0f7fb;
    border-radius: 12px;
    border-left: 4px solid #0078b4;
    font-size: 14px;
    line-height: 1.6;
}
.lf-tienda-fisica a {
    color: #0078b4;
    text-decoration: none;
    font-weight: 600;
}
.lf-tienda-fisica a:hover {
    text-decoration: underline;
}