/* ==========================================================================
   DYNAMIC THEMES / TECNICOELHO — WOOCOMMERCE PREMIUM INTEGRATION SUITE
   ========================================================================== */

/* ── 1. Page Viewport, Free Scrolling & Containers ── */
body.woocommerce,
body.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout,
body.standard-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #050d1a !important;
    background-color: #050d1a !important;
}

html:has(body.woocommerce),
html:has(body.woocommerce-page),
html:has(body.standard-page) {
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #050d1a !important;
    background-color: #050d1a !important;
}

body.woocommerce #app,
body.woocommerce-page #app,
body.woocommerce-cart #app,
body.woocommerce-checkout #app,
body.standard-page #app,
#app[data-spa="false"],
#app.theme-seo,
.theme-seo#app,
.theme-seo #app {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Ensure original animated background canvas remains active, glowing and smoothly fixed in viewport */
#bgCanvas,
body.woocommerce #bgCanvas,
body.woocommerce-page #bgCanvas,
body.woocommerce-cart #bgCanvas,
body.woocommerce-checkout #bgCanvas,
body.standard-page #bgCanvas,
#app.theme-seo #bgCanvas,
.theme-seo #bgCanvas {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    pointer-events: none !important;
}

.woocommerce-page-container,
.standard-page-container.woocommerce-page-container {
    width: 100% !important;
    max-width: 1640px !important;
    margin: 0 auto !important;
    padding: clamp(80px, 8vh, 100px) clamp(16px, 2.5vw, 36px) 60px !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

/* ── The New Design White Card floating on top of the Animated Canvas ── */
.woocommerce-glass-card,
.standard-page-glass-card.woocommerce-glass-card,
.single-product-glass-card,
.shop-archive-glass-card,
.page-glass-card,
.theme-seo .woocommerce-glass-card,
.theme-seo .standard-page-glass-card.woocommerce-glass-card,
.theme-seo .single-product-glass-card,
.theme-seo .shop-archive-glass-card,
.theme-seo .page-glass-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 24px !important;
    padding: clamp(18px, 2.6vw, 38px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 255, 0.08) !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
}

.theme-edit .woocommerce-glass-card,
.theme-edit .standard-page-glass-card.woocommerce-glass-card {
    background: rgba(14, 2, 18, 0.85) !important;
    border-color: rgba(217, 70, 239, 0.22) !important;
    box-shadow: 0 20px 50px rgba(8, 0, 8, 0.5) !important;
}

/* ── 2. Breadcrumbs ── */
.dt-woocommerce-breadcrumbs-wrap {
    margin-bottom: 30px;
}

.woocommerce-breadcrumb,
.dt-breadcrumb-nav {
    font-size: 0.9rem !important;
    color: #cbd5e1 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-breadcrumb a,
.dt-breadcrumb-nav a {
    color: #cbd5e1 !important; /* 8.6:1 ratio (WCAG AAA) */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover,
.dt-breadcrumb-nav a:hover {
    color: #ffffff !important;
}

.dt-breadcrumb-sep {
    opacity: 0.65;
    color: #cbd5e1 !important;
}

.dt-breadcrumb-item {
    color: var(--accent, #22d3ff) !important;
    font-weight: 700;
}

/* Breadcrumbs in SEO Organic Theme */
.theme-seo .woocommerce-breadcrumb,
.theme-seo .dt-breadcrumb-nav,
body.theme-seo .dt-breadcrumb-nav {
    color: #334155 !important; /* 7.3:1 ratio (WCAG AAA) */
}

.theme-seo .woocommerce-breadcrumb a,
.theme-seo .dt-breadcrumb-nav a,
body.theme-seo .dt-breadcrumb-nav a {
    color: #334155 !important; /* 7.3:1 ratio (WCAG AAA) */
}

.theme-seo .woocommerce-breadcrumb a:hover,
.theme-seo .dt-breadcrumb-nav a:hover,
body.theme-seo .dt-breadcrumb-nav a:hover {
    color: #17261e !important;
}

.theme-seo .dt-breadcrumb-sep,
body.theme-seo .dt-breadcrumb-sep {
    color: #cbd5e1 !important;
    opacity: 0.8 !important;
}

.theme-seo .dt-breadcrumb-item,
body.theme-seo .dt-breadcrumb-item {
    color: #233a2e !important;
    font-weight: 600 !important;
}

/* ── 3. Alerts, Notices & Error Messages ── */
.woocommerce-NoticeGroup-checkout,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    width: 100% !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 28px !important;
    list-style: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    border-left: 4px solid #ef4444 !important;
    color: #fca5a5 !important;
}

.woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-message {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    border-left: 4px solid #10b981 !important;
    color: #6ee7b7 !important;
}

.woocommerce-info {
    background: rgba(34, 211, 255, 0.1) !important;
    border-color: rgba(34, 211, 255, 0.25) !important;
    border-left: 4px solid var(--accent) !important;
    color: var(--text-main) !important;
}

.woocommerce-message .button,
.woocommerce-info .button {
    margin-left: auto !important;
    background: var(--accent) !important;
    color: #050d1a !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* ==========================================================================
   4. FICHA DE PRODUCTO INDIVIDUAL (SINGLE PRODUCT VIEW)
   ========================================================================== */
/* Standard 2-column WooCommerce fallback (only for default WooCommerce single-product without our custom 3-column architecture) */
.woocommerce div.product:not(.dt-amazon-product-container) {
    display: grid !important;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.25fr) !important;
    gap: clamp(28px, 4.5vw, 56px) !important;
    align-items: start !important;
    position: relative !important;
    width: 100% !important;
}

/* ── Amazon 3-Column Architecture (.dt-amazon-product-container & .dt-product-three-col-grid) ── */
.woocommerce div.product.dt-amazon-product-container,
.dt-amazon-product-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    clear: both !important;
}

.dt-product-three-col-grid {
    display: grid !important;
    grid-template-columns: minmax(340px, 1.15fr) minmax(380px, 1.45fr) 320px !important;
    gap: clamp(24px, 2.5vw, 42px) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}

.dt-col-gallery {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.dt-col-summary {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.dt-gallery-specs-ribbon {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

.dt-spec-pill,
.woocommerce-glass-card .dt-spec-pill,
.theme-seo .dt-spec-pill {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px 8px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.dt-spec-val,
.woocommerce-glass-card .dt-spec-val,
.theme-seo .dt-spec-val {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #233a2e !important;
    margin-bottom: 2px !important;
}

.dt-spec-lbl,
.woocommerce-glass-card .dt-spec-lbl,
.theme-seo .dt-spec-lbl {
    display: block !important;
    font-size: 0.68rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

/* ── Buy Box Sticky Container & Card ── */
.dt-col-buybox {
    grid-column: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: sticky !important;
    top: 100px !important;
    z-index: 5 !important;
}

.dt-buybox-card,
.woocommerce-glass-card .dt-buybox-card,
.theme-seo .dt-buybox-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 20px 18px !important;
    box-shadow: 0 10px 32px rgba(35, 58, 46, 0.08) !important;
    box-sizing: border-box !important;
}

.dt-buybox-header,
.woocommerce-glass-card .dt-buybox-header,
.theme-seo .dt-buybox-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.dt-buybox-title,
.woocommerce-glass-card .dt-buybox-title,
.theme-seo .dt-buybox-title {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}

.dt-buybox-stock {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #10b981 !important;
}

.dt-stock-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6) !important;
}

.dt-buybox-stock.out-of-stock {
    color: #ef4444 !important;
}

.dt-buybox-stock.out-of-stock .dt-stock-dot {
    background: #ef4444 !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6) !important;
}

.dt-buybox-whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 44px !important;
    margin-top: 10px !important;
    border-radius: 10px !important;
    border: 1.5px solid #25D366 !important;
    background: rgba(37, 211, 102, 0.06) !important;
    color: #25D366 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.dt-buybox-whatsapp-btn:hover {
    background: #25D366 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35) !important;
}

.theme-seo .dt-buybox-whatsapp-btn,
body.theme-seo .dt-buybox-whatsapp-btn {
    border-color: #16a34a !important;
    background: rgba(22, 163, 74, 0.06) !important;
    color: #15803d !important;
}

.theme-seo .dt-buybox-whatsapp-btn:hover,
body.theme-seo .dt-buybox-whatsapp-btn:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3) !important;
}

.dt-product-tabs-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 48px !important;
    display: block !important;
    clear: both !important;
}

/* Tablet Landscape / Medium Desktop (861px - 1180px) */
@media (max-width: 1180px) and (min-width: 861px) {
    .dt-product-three-col-grid {
        display: grid !important;
        grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.25fr) !important;
        gap: 28px !important;
    }

    .dt-col-gallery {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .dt-col-summary {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .dt-col-buybox {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        max-width: 600px !important;
        width: 100% !important;
        margin: 8px auto 0 !important;
        position: static !important;
    }

    .dt-product-tabs-wrapper {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        margin-top: 36px !important;
    }
}

/* Mobile & Small Tablets (<= 860px) */
@media (max-width: 860px) {
    .woocommerce div.product:not(.dt-amazon-product-container),
    .dt-product-three-col-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product .woocommerce-product-gallery,
    .woocommerce div.product div.summary,
    .woocommerce div.product .summary,
    .dt-col-gallery,
    .dt-col-summary,
    .dt-col-buybox,
    .dt-product-tabs-wrapper {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .dt-col-buybox {
        position: static !important;
    }

    .woocommerce-product-gallery .flex-viewport {
        min-height: 280px !important;
    }
}

@media (max-width: 700px) {
    .woocommerce-page-container,
    .standard-page-container.woocommerce-page-container {
        padding: 85px 14px 60px !important;
    }

    .woocommerce-glass-card,
    .standard-page-glass-card.woocommerce-glass-card {
        padding: 20px 16px !important;
        border-radius: 20px !important;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product .woocommerce-product-gallery {
        padding: 14px !important;
        border-radius: 18px !important;
    }

    .woocommerce-product-gallery .flex-viewport {
        min-height: 240px !important;
    }

    .woocommerce div.product form.cart {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button,
    .woocommerce .button.single_add_to_cart_button {
        width: 100% !important;
    }

    .woocommerce-variation-add-to-cart {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .woocommerce div.product form.cart .quantity {
        width: 100% !important;
    }

    .woocommerce .quantity input.qty {
        width: 100% !important;
    }
}

/* Notices always span full width on top */
.woocommerce div.product > .woocommerce-notices-wrapper,
.woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Left Column: Product Gallery */
.woocommerce div.product:not(.dt-amazon-product-container) div.images,
.woocommerce div.product:not(.dt-amazon-product-container) .woocommerce-product-gallery {
    grid-column: 1 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 24px !important;
    padding: clamp(16px, 2.5vw, 28px) !important;
    box-sizing: border-box !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dt-col-gallery .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 24px !important;
    padding: clamp(16px, 2.5vw, 28px) !important;
    box-sizing: border-box !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.theme-seo .woocommerce div.product div.images,
.theme-seo .woocommerce div.product .woocommerce-product-gallery,
.theme-seo .dt-col-gallery .woocommerce-product-gallery {
    background: #ffffff !important;
    border-color: rgba(35, 58, 46, 0.15) !important;
}

.woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: transparent !important;
    position: relative !important;
    min-height: 440px !important;
}

.woocommerce-product-gallery figure,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    box-sizing: border-box !important;
    padding: 8px !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: block !important;
    width: 100% !important;
    outline: none !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img,
.woocommerce-product-gallery img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 540px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.4s ease !important;
}

.woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: rgba(10, 18, 36, 0.85) !important;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.2)) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--accent, #22d3ff) !important;
    color: #050d1a !important;
    transform: scale(1.08) !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 calc(16.666% - 10px) !important;
    min-width: 70px !important;
    max-width: 96px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    padding: 3px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100% !important;
    height: 64px !important;
    object-fit: contain !important;
    padding: 2px !important;
    box-sizing: border-box !important;
    display: block !important;
    border-radius: 8px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li:has(img.flex-active),
.woocommerce div.product div.images .flex-control-thumbs li:hover {
    border-color: var(--accent, #22d3ff) !important;
    background: rgba(34, 211, 255, 0.15) !important;
    box-shadow: 0 0 16px rgba(34, 211, 255, 0.4) !important;
    transform: translateY(-2px);
}

/* Right Column: Product Summary */
.woocommerce div.product:not(.dt-amazon-product-container) div.summary,
.woocommerce div.product:not(.dt-amazon-product-container) .summary {
    grid-column: 2 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.dt-col-summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ── Brand / Category Kicker (Amazon-style Eyebrow) ── */
.dt-product-kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--accent, #22d3ff) !important;
}

.dt-kicker-cat {
    color: var(--accent, #22d3ff) !important;
}

.dt-kicker-sep {
    opacity: 0.65;
    color: #cbd5e1 !important;
}

.dt-kicker-brand {
    color: #cbd5e1 !important; /* 8.6:1 ratio (WCAG AAA) */
    font-weight: 600 !important;
}

.theme-seo .dt-product-kicker,
body.theme-seo .dt-product-kicker {
    border-bottom-color: rgba(35, 58, 46, 0.12) !important;
}

.theme-seo .dt-kicker-cat,
body.theme-seo .dt-kicker-cat {
    color: #17261e !important;
}

.theme-seo .dt-kicker-brand,
body.theme-seo .dt-kicker-brand {
    color: #334155 !important; /* 7.3:1 ratio (WCAG AAA) */
}

/* ── Product Title: Refined, Non-Tosco, Fluid Responsive ── */
.woocommerce div.product .product_title {
    font-family: var(--font-body, 'Figtree', 'Barlow', system-ui, -apple-system, sans-serif) !important;
    font-size: clamp(1.25rem, 1.85vw, 1.65rem) !important;
    font-weight: 600 !important;
    line-height: 1.34 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.015em !important;
}

.woocommerce-glass-card div.product .product_title,
.woocommerce-glass-card h1.product_title,
.woocommerce-glass-card .product_title,
.theme-seo .woocommerce div.product .product_title,
body.theme-seo .woocommerce div.product .product_title,
.theme-seo div.product .product_title,
body.theme-seo div.product .product_title,
.theme-seo.woocommerce div.product .product_title,
body.theme-seo.woocommerce div.product .product_title,
.theme-seo .product_title,
body.theme-seo .product_title {
    color: #0f172a !important;
}

.theme-edit .woocommerce div.product .product_title,
body.theme-edit .woocommerce div.product .product_title,
.theme-edit .product_title,
body.theme-edit .product_title {
    color: #fdf4ff !important;
}

/* ── Product Rating (Amazon Style Strip) ── */
.woocommerce div.product .woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.88rem !important;
}

.theme-seo .woocommerce div.product .woocommerce-product-rating,
body.theme-seo .woocommerce div.product .woocommerce-product-rating,
.theme-seo .woocommerce-product-rating,
body.theme-seo .woocommerce-product-rating {
    border-bottom-color: rgba(35, 58, 46, 0.1) !important;
}

.woocommerce div.product .star-rating {
    color: #fbbf24 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.woocommerce-review-link {
    font-size: 0.86rem !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-review-link:hover {
    color: var(--accent, #22d3ff) !important;
    text-decoration: underline !important;
}

.theme-seo .woocommerce-review-link,
body.theme-seo .woocommerce-review-link {
    color: #64748b !important;
}

.theme-seo .woocommerce-review-link:hover,
body.theme-seo .woocommerce-review-link:hover {
    color: #059669 !important;
}

/* ── Price Display: Elegant, Clean, Responsive ── */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--font-body, 'Figtree', 'Barlow', system-ui, -apple-system, sans-serif) !important;
    font-size: clamp(1.35rem, 1.9vw, 1.7rem) !important;
    font-weight: 700 !important;
    color: #059669 !important;
    margin: 0 0 16px 0 !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    letter-spacing: -0.015em !important;
}

.woocommerce-glass-card div.product p.price,
.woocommerce-glass-card div.product span.price,
.woocommerce-glass-card p.price,
.woocommerce-glass-card span.price,
.theme-seo .woocommerce div.product p.price,
.theme-seo .woocommerce div.product span.price,
body.theme-seo .woocommerce div.product p.price,
body.theme-seo .woocommerce div.product span.price,
.theme-seo div.product p.price,
.theme-seo div.product span.price,
body.theme-seo div.product p.price,
body.theme-seo div.product span.price,
.theme-seo.woocommerce div.product p.price,
.theme-seo.woocommerce div.product span.price,
body.theme-seo.woocommerce div.product p.price,
body.theme-seo.woocommerce div.product span.price,
.theme-seo p.price,
.theme-seo span.price,
body.theme-seo p.price,
body.theme-seo span.price {
    color: #059669 !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    font-size: 1.1rem !important;
    color: #94a3b8 !important;
    opacity: 0.7 !important;
    font-weight: 500 !important;
}

.theme-seo .woocommerce div.product p.price del,
.theme-seo .woocommerce div.product span.price del,
body.theme-seo .woocommerce div.product p.price del,
body.theme-seo .woocommerce div.product span.price del {
    color: #94a3b8 !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none !important;
    color: var(--accent, #22d3ff) !important;
}

.theme-seo .woocommerce div.product p.price ins,
.theme-seo .woocommerce div.product span.price ins,
body.theme-seo .woocommerce div.product p.price ins,
body.theme-seo .woocommerce div.product span.price ins,
.theme-seo div.product p.price ins,
body.theme-seo div.product p.price ins,
.theme-seo p.price ins,
body.theme-seo p.price ins {
    color: #059669 !important;
}

/* Sale Flash Badge */
.woocommerce span.onsale {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    min-height: unset !important;
    line-height: 1 !important;
    z-index: 10 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* Stock Status */
.woocommerce div.product p.stock {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    margin-bottom: 18px !important;
    width: fit-content !important;
}

.woocommerce div.product p.stock.in-stock {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.woocommerce div.product p.stock.out-of-stock {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* ── Short Description: Readable, Light, Amazon-Style Feature Bullets ── */
.woocommerce-product-details__short-description {
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
    color: #cbd5e1 !important;
    margin-bottom: 22px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-seo .woocommerce-product-details__short-description {
    color: #475569 !important;
    border-bottom-color: rgba(35, 58, 46, 0.1) !important;
}

.woocommerce-product-details__short-description p {
    color: inherit !important;
    line-height: 1.65 !important;
    margin: 0 0 12px 0 !important;
    font-weight: 400 !important;
}

.woocommerce-product-details__short-description strong,
.woocommerce-product-details__short-description b {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.theme-seo .woocommerce-product-details__short-description strong,
.theme-seo .woocommerce-product-details__short-description b {
    color: #0f172a !important;
}

.woocommerce-product-details__short-description ul,
.woocommerce-product-details__short-description ol {
    color: inherit !important;
    padding-left: 18px !important;
    margin: 12px 0 !important;
}

.woocommerce-product-details__short-description li {
    color: inherit !important;
    margin-bottom: 8px !important;
    line-height: 1.6 !important;
}

/* ── Amazon-Style Buy Box Card Module (Legacy 2-col fallback only) ── */
.woocommerce div.product:not(.dt-amazon-product-container) form.cart {
    background: rgba(13, 24, 48, 0.75) !important;
    border: 1.5px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 18px !important;
    padding: clamp(18px, 2.5vw, 24px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.theme-seo .woocommerce div.product:not(.dt-amazon-product-container) form.cart {
    background: #ffffff !important;
    border-color: rgba(35, 58, 46, 0.16) !important;
    box-shadow: 0 8px 24px rgba(35, 58, 46, 0.08) !important;
}

.theme-edit .woocommerce div.product:not(.dt-amazon-product-container) form.cart {
    background: rgba(22, 6, 28, 0.8) !important;
    border-color: rgba(217, 70, 239, 0.22) !important;
}

/* Seamless reset when form.cart is rendered inside dedicated Buy Box card */
.theme-seo .woocommerce div.product .dt-buybox-card form.cart,
.theme-seo .woocommerce div.product .dt-col-buybox form.cart,
.theme-seo .dt-buybox-card form.cart,
.theme-seo .dt-col-buybox form.cart,
body.theme-seo .dt-buybox-card form.cart,
body.theme-seo .dt-col-buybox form.cart,
.woocommerce div.product .dt-buybox-card form.cart,
.woocommerce div.product .dt-col-buybox form.cart,
.woocommerce div.product.dt-amazon-product-container form.cart,
.dt-amazon-product-container form.cart,
.dt-col-buybox form.cart,
.dt-buybox-card form.cart,
.dt-buybox-content form.cart {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    display: block !important;
}

/* Variable Products Form & Selects */
.woocommerce div.product form.variations_form {
    display: block !important;
    width: 100% !important;
}

.woocommerce div.product form.variations_form table.variations {
    width: 100% !important;
    margin-bottom: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
}

.woocommerce div.product form.variations_form table.variations tbody {
    display: block !important;
    width: 100% !important;
}

.woocommerce div.product form.variations_form table.variations tr {
    border: none !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-bottom: 14px !important;
    gap: 6px !important;
}

.woocommerce div.product form.variations_form table.variations th.label {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    vertical-align: top !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
}

.woocommerce div.product form.variations_form table.variations th.label label {
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin: 0 0 2px 0 !important;
    display: block !important;
}

.woocommerce-glass-card .woocommerce div.product form.variations_form table.variations th.label label,
.woocommerce-glass-card table.variations th.label label,
.theme-seo .woocommerce div.product form.variations_form table.variations th.label label {
    color: #0f172a !important;
}

.woocommerce div.product form.variations_form table.variations td.value {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    vertical-align: top !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
    display: block !important;
}

/* Custom Styled Selects (Single Product Variations & Global) */
.woocommerce-glass-card div.product form.variations_form table.variations select,
.woocommerce-glass-card select,
.theme-seo .woocommerce div.product form.variations_form table.variations select,
.theme-seo .woocommerce select {
    width: 100% !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 8px 38px 8px 14px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    font-family: var(--font-body, 'Figtree', 'Barlow', system-ui, sans-serif) !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23233a2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    display: block !important;
}

.woocommerce-glass-card div.product form.variations_form table.variations select:focus,
.woocommerce-glass-card select:focus,
.theme-seo .woocommerce div.product form.variations_form table.variations select:focus,
.theme-seo .woocommerce select:focus {
    border-color: #233a2e !important;
    box-shadow: 0 0 0 3px rgba(35, 58, 46, 0.12) !important;
}

.woocommerce-glass-card div.product form.variations_form table.variations select option,
.woocommerce-glass-card select option,
.theme-seo .woocommerce div.product form.variations_form table.variations select option,
.theme-seo .woocommerce select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
    padding: 10px !important;
}

.woocommerce a.reset_variations {
    display: inline-block !important;
    margin-top: 6px !important;
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.woocommerce a.reset_variations:hover {
    color: var(--accent, #25c8ff) !important;
}

.theme-seo .woocommerce a.reset_variations {
    color: #64748b !important;
}

.theme-seo .woocommerce a.reset_variations:hover {
    color: #233a2e !important;
}

.woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    width: 100% !important;
    margin-top: 14px !important;
}

/* Quantity Controls */
.woocommerce div.product form.cart .quantity {
    margin: 0 !important;
    float: none !important;
}

.woocommerce .quantity input.qty {
    width: 64px !important;
    height: 46px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid var(--card-border, rgba(255, 255, 255, 0.15)) !important;
    border-radius: 10px !important;
    color: var(--text-main) !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.theme-seo .woocommerce .quantity input.qty {
    background: #ffffff !important;
    border-color: rgba(35, 58, 46, 0.2) !important;
    color: #233a2e !important;
}

.woocommerce .quantity input.qty:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 1px var(--accent) !important;
    outline: none !important;
}

/* ── Primary Add to Cart Button (Amazon-Inspired Elegance) ── */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce .button.single_add_to_cart_button {
    flex-grow: 1 !important;
    height: 48px !important;
    background: linear-gradient(135deg, var(--accent) 0%, #0099cc 100%) !important;
    color: #030a16 !important;
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    border-radius: 10px !important;
    border: none !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 18px var(--accent-glow) !important;
}

.woocommerce-glass-card .woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce-glass-card .button.single_add_to_cart_button,
.woocommerce-glass-card .single_add_to_cart_button,
.dt-buybox-card .single_add_to_cart_button,
.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button,
.theme-seo .woocommerce .button.single_add_to_cart_button,
body.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button,
body.theme-seo .woocommerce .button.single_add_to_cart_button {
    background: linear-gradient(135deg, #233a2e 0%, #17261e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(35, 58, 46, 0.25) !important;
}

.woocommerce-glass-card .woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce-glass-card .button.single_add_to_cart_button:hover,
.woocommerce-glass-card .single_add_to_cart_button:hover,
.dt-buybox-card .single_add_to_cart_button:hover,
.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button:hover,
.theme-seo .woocommerce .button.single_add_to_cart_button:hover,
body.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.theme-seo .woocommerce .button.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #2d4a3b 0%, #1b2e24 100%) !important;
    box-shadow: 0 6px 20px rgba(35, 58, 46, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Disabled state when variation is unselected */
.woocommerce-glass-card .single_add_to_cart_button.disabled,
.woocommerce-glass-card .single_add_to_cart_button:disabled,
.dt-buybox-card .single_add_to_cart_button.disabled,
.dt-buybox-card .single_add_to_cart_button:disabled,
.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button:disabled,
body.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button.disabled,
body.theme-seo .woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.theme-seo .woocommerce .button.single_add_to_cart_button.disabled,
.theme-seo .woocommerce .button.single_add_to_cart_button:disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    transform: none !important;
}

/* WhatsApp Quote Button (Catalog Mode) */
.dt-whatsapp-quote-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
}

.dt-whatsapp-quote-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5) !important;
}

.dt-whatsapp-guarantee-note {
    font-size: 0.82rem;
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

/* ── Trust & Security Badges (Amazon-style Guarantees) ── */
.dt-single-trust-badges {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 14px 18px !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    font-size: 0.81rem !important;
    color: #94a3b8 !important;
}

.theme-seo .dt-single-trust-badges {
    background: rgba(35, 58, 46, 0.03) !important;
    border-color: rgba(35, 58, 46, 0.1) !important;
    color: #64748b !important;
}

.dt-trust-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    line-height: 1.4 !important;
}

.dt-trust-icon-lock { color: #38bdf8 !important; flex-shrink: 0; }
.dt-trust-icon-check { color: #34d399 !important; flex-shrink: 0; }
.dt-trust-icon-shield { color: #818cf8 !important; flex-shrink: 0; }

.theme-seo .dt-trust-icon-lock { color: #0284c7 !important; }
.theme-seo .dt-trust-icon-check { color: #059669 !important; }
.theme-seo .dt-trust-icon-shield { color: #233a2e !important; }

/* ── Product Meta (SKU, Categories, Tags) ── */
.woocommerce div.product .product_meta {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    font-size: 0.88rem !important;
}

.woocommerce div.product .product_meta > span {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    color: #cbd5e1 !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.woocommerce div.product .product_meta .sku_wrapper .sku {
    color: #ffffff !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.woocommerce div.product .product_meta .posted_in a {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(34, 211, 255, 0.15) !important;
    border: 1.5px solid rgba(34, 211, 255, 0.5) !important;
    color: #38bdf8 !important;
    padding: 4px 14px !important;
    border-radius: 999px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all 0.2s ease !important;
}

.woocommerce div.product .product_meta .posted_in a:hover {
    background: var(--accent, #22d3ff) !important;
    color: #050d1a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px var(--accent-glow) !important;
}

.woocommerce div.product .product_meta .tagged_as a {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #e2e8f0 !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all 0.2s ease !important;
    margin: 2px 2px !important;
}

.woocommerce div.product .product_meta .tagged_as a:hover {
    border-color: var(--accent, #22d3ff) !important;
    color: var(--accent, #22d3ff) !important;
    background: rgba(34, 211, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* ── Theme-SEO Product Meta Overrides ── */
.theme-seo .woocommerce div.product .product_meta,
body.theme-seo .woocommerce div.product .product_meta,
.theme-seo div.product .product_meta,
body.theme-seo div.product .product_meta,
.theme-seo .product_meta,
body.theme-seo .product_meta {
    border-top-color: rgba(35, 58, 46, 0.1) !important;
}

.theme-seo .woocommerce div.product .product_meta > span,
body.theme-seo .woocommerce div.product .product_meta > span,
.theme-seo div.product .product_meta > span,
body.theme-seo div.product .product_meta > span,
.theme-seo .product_meta > span,
body.theme-seo .product_meta > span {
    color: #64748b !important;
}

.theme-seo .woocommerce div.product .product_meta .sku_wrapper .sku,
body.theme-seo .woocommerce div.product .product_meta .sku_wrapper .sku,
.theme-seo div.product .product_meta .sku_wrapper .sku,
body.theme-seo div.product .product_meta .sku_wrapper .sku,
.theme-seo .sku_wrapper .sku,
body.theme-seo .sku_wrapper .sku {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: rgba(35, 58, 46, 0.15) !important;
}

.theme-seo .woocommerce div.product .product_meta .posted_in a,
body.theme-seo .woocommerce div.product .product_meta .posted_in a,
.theme-seo div.product .product_meta .posted_in a,
body.theme-seo div.product .product_meta .posted_in a,
.theme-seo .posted_in a,
body.theme-seo .posted_in a {
    background: rgba(5, 150, 105, 0.08) !important;
    border-color: rgba(5, 150, 105, 0.25) !important;
    color: #059669 !important;
}

.theme-seo .woocommerce div.product .product_meta .posted_in a:hover,
body.theme-seo .woocommerce div.product .product_meta .posted_in a:hover,
.theme-seo div.product .product_meta .posted_in a:hover,
body.theme-seo div.product .product_meta .posted_in a:hover,
.theme-seo .posted_in a:hover,
body.theme-seo .posted_in a:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}

.theme-seo .woocommerce div.product .product_meta .tagged_as a,
body.theme-seo .woocommerce div.product .product_meta .tagged_as a,
.theme-seo div.product .product_meta .tagged_as a,
body.theme-seo div.product .product_meta .tagged_as a,
.theme-seo .tagged_as a,
body.theme-seo .tagged_as a {
    background: #f8fafc !important;
    border-color: rgba(35, 58, 46, 0.12) !important;
    color: #475569 !important;
}

.theme-seo .woocommerce div.product .product_meta .tagged_as a:hover,
body.theme-seo .woocommerce div.product .product_meta .tagged_as a:hover,
.theme-seo div.product .product_meta .tagged_as a:hover,
body.theme-seo div.product .product_meta .tagged_as a:hover,
.theme-seo .tagged_as a:hover,
body.theme-seo .tagged_as a:hover {
    background: #233a2e !important;
    border-color: #233a2e !important;
    color: #ffffff !important;
}

/* ==========================================================================
   5. PESTAÑAS DE PRODUCTO (TABS: DESCRIPCIÓN, INFORMACIÓN ADICIONAL, RESEÑAS)
   ========================================================================== */
.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    margin-top: 48px !important;
    padding-top: 36px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100% !important;
}

.dt-product-tabs-wrapper .woocommerce-tabs {
    margin-top: 0 !important;
    padding-top: 32px !important;
}

.theme-seo .woocommerce div.product .woocommerce-tabs,
body.theme-seo .woocommerce div.product .woocommerce-tabs,
.theme-seo div.product .woocommerce-tabs,
body.theme-seo div.product .woocommerce-tabs,
.theme-seo .woocommerce-tabs,
body.theme-seo .woocommerce-tabs {
    border-top-color: rgba(35, 58, 46, 0.12) !important;
}

/* Eliminate WooCommerce default pseudo-element artifacts (the white ticks/chevrons) */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li a::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 0 16px 0 !important;
    margin: 0 0 36px 0 !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
}

.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs,
body.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs,
.theme-seo div.product .woocommerce-tabs ul.tabs,
body.theme-seo div.product .woocommerce-tabs ul.tabs,
.theme-seo .woocommerce-tabs ul.tabs,
body.theme-seo .woocommerce-tabs ul.tabs {
    border-bottom-color: rgba(35, 58, 46, 0.12) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 20px !important;
    color: #cbd5e1 !important;
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #050d1a !important;
    background: var(--accent, #22d3ff) !important;
    border-color: var(--accent, #22d3ff) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px var(--accent-glow, rgba(34, 211, 255, 0.35)) !important;
    transform: translateY(-1px) !important;
}

/* Tabs Navigation in SEO Organic */
.woocommerce-glass-card .woocommerce-tabs ul.tabs li a,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs ul.tabs li a,
.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs li a,
body.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs li a,
.theme-seo div.product .woocommerce-tabs ul.tabs li a,
body.theme-seo div.product .woocommerce-tabs ul.tabs li a,
.theme-seo .woocommerce-tabs ul.tabs li a,
body.theme-seo .woocommerce-tabs ul.tabs li a {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

.woocommerce-glass-card .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
body.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.theme-seo div.product .woocommerce-tabs ul.tabs li a:hover,
body.theme-seo div.product .woocommerce-tabs ul.tabs li a:hover,
.theme-seo .woocommerce-tabs ul.tabs li a:hover,
body.theme-seo .woocommerce-tabs ul.tabs li a:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}

.woocommerce-glass-card .woocommerce-tabs ul.tabs li.active a,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.theme-seo .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.theme-seo div.product .woocommerce-tabs ul.tabs li.active a,
body.theme-seo div.product .woocommerce-tabs ul.tabs li.active a,
.theme-seo .woocommerce-tabs ul.tabs li.active a,
body.theme-seo .woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
    background: #233a2e !important;
    border-color: #233a2e !important;
    box-shadow: 0 4px 14px rgba(35, 58, 46, 0.25) !important;
}

/* Tab Panel Content — Dark Mode Defaults */
.woocommerce div.product .woocommerce-tabs .panel {
    color: #e2e8f0 !important;
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h3,
.woocommerce div.product .woocommerce-tabs .panel h4 {
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 24px 0 14px 0 !important;
    border: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.45rem) !important;
    margin-bottom: 18px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    margin: 0 0 18px 0 !important;
    line-height: 1.85 !important;
    color: #e2e8f0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel strong,
.woocommerce div.product .woocommerce-tabs .panel b {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.woocommerce div.product .woocommerce-tabs .panel ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 18px 0 28px 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel ul li {
    position: relative !important;
    padding-left: 24px !important;
    margin-bottom: 14px !important;
    line-height: 1.75 !important;
    border: none !important;
    color: #e2e8f0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel ul li::before {
    content: "✦";
    position: absolute !important;
    left: 2px !important;
    top: 0 !important;
    color: var(--accent, #22d3ff) !important;
    font-size: 1rem !important;
}

.woocommerce div.product .woocommerce-tabs .panel hr {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin: 32px 0 !important;
    height: 1px !important;
    clear: both !important;
    display: block !important;
}

/* ── Tab Panel Overrides: 100% WCAG AAA Contrast inside White Card ── */
.woocommerce-glass-card .woocommerce-tabs .panel,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel,
.theme-seo div.product .woocommerce-tabs .panel,
body.theme-seo div.product .woocommerce-tabs .panel,
.theme-seo .woocommerce-tabs .panel,
body.theme-seo .woocommerce-tabs .panel {
    color: #334155 !important;
}

.woocommerce-glass-card .woocommerce-tabs .panel p,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel p,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel p,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel p,
.theme-seo div.product .woocommerce-tabs .panel p,
body.theme-seo div.product .woocommerce-tabs .panel p,
.theme-seo .woocommerce-tabs .panel p,
body.theme-seo .woocommerce-tabs .panel p {
    color: #334155 !important;
}

.woocommerce-glass-card .woocommerce-tabs .panel strong,
.woocommerce-glass-card .woocommerce-tabs .panel b,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel strong,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel strong,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel b,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel strong,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel b,
.theme-seo div.product .woocommerce-tabs .panel strong,
body.theme-seo div.product .woocommerce-tabs .panel strong,
.theme-seo .woocommerce-tabs .panel strong,
body.theme-seo .woocommerce-tabs .panel strong,
.theme-seo .woocommerce-tabs .panel b,
body.theme-seo .woocommerce-tabs .panel b {
    color: #0f172a !important;
}

.woocommerce-glass-card .woocommerce-tabs .panel h2,
.woocommerce-glass-card .woocommerce-tabs .panel h3,
.woocommerce-glass-card .woocommerce-tabs .panel h4,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel h2,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel h2,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel h3,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel h4,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel h2,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel h3,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel h4,
.theme-seo div.product .woocommerce-tabs .panel h2,
body.theme-seo div.product .woocommerce-tabs .panel h2,
.theme-seo .woocommerce-tabs .panel h2,
body.theme-seo .woocommerce-tabs .panel h2 {
    color: #0f172a !important;
    border-bottom: 1px solid rgba(35, 58, 46, 0.12) !important;
}

.woocommerce-glass-card .woocommerce-tabs .panel ul li,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel ul li,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel ul li,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel ul li,
.theme-seo div.product .woocommerce-tabs .panel ul li,
body.theme-seo div.product .woocommerce-tabs .panel ul li,
.theme-seo .woocommerce-tabs .panel ul li,
body.theme-seo .woocommerce-tabs .panel ul li {
    color: #334155 !important;
}

.woocommerce-glass-card .woocommerce-tabs .panel ul li::before,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel ul li::before,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel ul li::before,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel ul li::before,
.theme-seo div.product .woocommerce-tabs .panel ul li::before,
body.theme-seo div.product .woocommerce-tabs .panel ul li::before,
.theme-seo .woocommerce-tabs .panel ul li::before,
body.theme-seo .woocommerce-tabs .panel ul li::before {
    color: #059669 !important;
}

.woocommerce-glass-card .woocommerce-tabs .panel hr,
.woocommerce-glass-card .woocommerce div.product .woocommerce-tabs .panel hr,
.theme-seo .woocommerce div.product .woocommerce-tabs .panel hr,
body.theme-seo .woocommerce div.product .woocommerce-tabs .panel hr,
.theme-seo div.product .woocommerce-tabs .panel hr,
body.theme-seo div.product .woocommerce-tabs .panel hr,
.theme-seo .woocommerce-tabs .panel hr,
body.theme-seo .woocommerce-tabs .panel hr {
    border-top: 1px solid rgba(35, 58, 46, 0.12) !important;
}

/* Attributes Table in Tabs (Información adicional) */
.woocommerce table.shop_attributes {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 24px 0 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.woocommerce table.shop_attributes tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
}

.woocommerce table.shop_attributes tr:last-child {
    border-bottom: none !important;
}

.woocommerce table.shop_attributes th.woocommerce-product-attributes-item__label,
.woocommerce table.shop_attributes th {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 14px 20px !important;
    width: 220px !important;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: left !important;
    vertical-align: middle !important;
    border-radius: 0 !important;
}

.woocommerce table.shop_attributes td.woocommerce-product-attributes-item__value,
.woocommerce table.shop_attributes td {
    background: transparent !important;
    color: #f1f5f9 !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    font-style: normal !important;
    padding: 14px 20px !important;
    border: none !important;
    vertical-align: middle !important;
}

.woocommerce table.shop_attributes td p {
    margin: 0 !important;
    padding: 0 !important;
    color: #f1f5f9 !important;
    font-style: normal !important;
}

/* Attributes Table in White Card */
.woocommerce-glass-card table.shop_attributes,
.theme-seo table.shop_attributes,
body.theme-seo table.shop_attributes,
.theme-seo .woocommerce table.shop_attributes,
body.theme-seo .woocommerce table.shop_attributes {
    border: 1.5px solid rgba(35, 58, 46, 0.14) !important;
    background: #ffffff !important;
}

.woocommerce-glass-card table.shop_attributes tr,
.theme-seo table.shop_attributes tr,
body.theme-seo table.shop_attributes tr {
    border-bottom: 1px solid rgba(35, 58, 46, 0.08) !important;
}

.woocommerce-glass-card table.shop_attributes th,
.woocommerce-glass-card table.shop_attributes th.woocommerce-product-attributes-item__label,
.theme-seo table.shop_attributes th,
body.theme-seo table.shop_attributes th,
.theme-seo table.shop_attributes th.woocommerce-product-attributes-item__label,
body.theme-seo table.shop_attributes th.woocommerce-product-attributes-item__label {
    background: rgba(35, 58, 46, 0.04) !important;
    color: #0f172a !important;
    border-right: 1px solid rgba(35, 58, 46, 0.1) !important;
}

.woocommerce-glass-card table.shop_attributes td,
.woocommerce-glass-card table.shop_attributes td.woocommerce-product-attributes-item__value,
.theme-seo table.shop_attributes td,
body.theme-seo table.shop_attributes td,
.theme-seo table.shop_attributes td.woocommerce-product-attributes-item__value,
body.theme-seo table.shop_attributes td.woocommerce-product-attributes-item__value {
    color: #334155 !important;
}

.woocommerce-glass-card table.shop_attributes td p,
.theme-seo table.shop_attributes td p,
body.theme-seo table.shop_attributes td p {
    color: #334155 !important;
}

/* Reviews Tab Styling & Rating Stars */
#reviews {
    color: #e2e8f0 !important;
}

.theme-seo #reviews,
body.theme-seo #reviews {
    color: #334155 !important;
}

#reviews #comments h2 {
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 18px !important;
}

.theme-seo #reviews #comments h2,
body.theme-seo #reviews #comments h2 {
    color: #0f172a !important;
}

#reviews .woocommerce-noreviews {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
}

#review_form #reply-title {
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 18px !important;
    display: block !important;
}

.theme-seo #review_form #reply-title {
    color: #0f172a !important;
}

/* Golden Star Ratings (WCAG AAA contrast > 12:1 against dark background) */
.woocommerce p.stars {
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.woocommerce p.stars a {
    position: relative !important;
    height: 1.5em !important;
    width: 1.5em !important;
    text-indent: -999em !important;
    display: inline-block !important;
    text-decoration: none !important;
    color: #fbbf24 !important;
    font-size: 1.4rem !important;
    transition: transform 0.15s ease !important;
}

.woocommerce p.stars a::before {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1.5em !important;
    height: 1.5em !important;
    line-height: 1 !important;
    font-family: "WooCommerce" !important;
    content: "\e021" !important;
    text-indent: 0 !important;
    color: #94a3b8 !important;
    opacity: 0.8 !important;
    transition: color 0.2s ease, transform 0.15s ease !important;
}

.woocommerce p.stars a:hover::before,
.woocommerce p.stars a:focus::before,
.woocommerce p.stars:hover a::before {
    content: "\e020" !important;
    color: #fbbf24 !important;
    opacity: 1 !important;
}

.woocommerce p.stars:hover a:hover ~ a::before {
    content: "\e021" !important;
    color: #94a3b8 !important;
    opacity: 0.5 !important;
}

.woocommerce p.stars.selected a.active::before {
    content: "\e020" !important;
    color: #f59e0b !important;
    opacity: 1 !important;
}

.woocommerce p.stars.selected a.active ~ a::before {
    content: "\e021" !important;
    color: #94a3b8 !important;
    opacity: 0.5 !important;
}

.woocommerce p.stars.selected a:not(.active)::before {
    content: "\e020" !important;
    color: #f59e0b !important;
    opacity: 1 !important;
}

.woocommerce p.stars span a {
    color: #fbbf24 !important;
}

#commentform label {
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    margin-bottom: 8px !important;
}

#commentform label .required {
    color: #ef4444 !important;
}

#commentform textarea#comment {
    width: 100% !important;
    background: rgba(14, 25, 48, 0.92) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 20px !important;
}

#commentform textarea#comment:focus {
    border-color: var(--accent, #22d3ff) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 255, 0.25) !important;
}

#commentform input[type="text"],
#commentform input[type="email"] {
    width: 100% !important;
    max-width: 480px !important;
    height: 48px !important;
    background: rgba(14, 25, 48, 0.92) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    outline: none !important;
    margin-bottom: 20px !important;
    transition: all 0.25s ease !important;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus {
    border-color: var(--accent, #22d3ff) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 255, 0.25) !important;
}

#commentform input#submit,
#commentform .submit,
.woocommerce #review_form #respond p.form-submit input#submit {
    height: 46px !important;
    background: var(--accent, #22d3ff) !important;
    color: #050d1a !important;
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    border-radius: 10px !important;
    border: none !important;
    padding: 0 28px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 18px var(--accent-glow, rgba(34, 211, 255, 0.35)) !important;
}

#commentform input#submit:hover,
#commentform .submit:hover,
.woocommerce #review_form #respond p.form-submit input#submit:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px var(--accent-glow, rgba(34, 211, 255, 0.5)) !important;
}

/* ── Review Form Overrides inside White Card ── */
.woocommerce-glass-card #commentform label,
.theme-seo #commentform label,
body.theme-seo #commentform label {
    color: #1e293b !important;
}

.woocommerce-glass-card #commentform label .required,
.theme-seo #commentform label .required,
body.theme-seo #commentform label .required {
    color: #ef4444 !important;
}

.woocommerce-glass-card #commentform textarea#comment,
.woocommerce-glass-card #commentform input[type="text"],
.woocommerce-glass-card #commentform input[type="email"],
.theme-seo #commentform textarea#comment,
body.theme-seo #commentform textarea#comment,
.theme-seo #commentform input[type="text"],
body.theme-seo #commentform input[type="text"],
.theme-seo #commentform input[type="email"],
body.theme-seo #commentform input[type="email"] {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    color: #0f172a !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-glass-card #commentform textarea#comment::placeholder,
.woocommerce-glass-card #commentform input[type="text"]::placeholder,
.woocommerce-glass-card #commentform input[type="email"]::placeholder,
.theme-seo #commentform textarea#comment::placeholder,
body.theme-seo #commentform textarea#comment::placeholder,
.theme-seo #commentform input[type="text"]::placeholder,
body.theme-seo #commentform input[type="text"]::placeholder,
.theme-seo #commentform input[type="email"]::placeholder,
body.theme-seo #commentform input[type="email"]::placeholder {
    color: #94a3b8 !important;
}

.woocommerce-glass-card #commentform textarea#comment:focus,
.woocommerce-glass-card #commentform input[type="text"]:focus,
.woocommerce-glass-card #commentform input[type="email"]:focus,
.theme-seo #commentform textarea#comment:focus,
body.theme-seo #commentform textarea#comment:focus,
.theme-seo #commentform input[type="text"]:focus,
body.theme-seo #commentform input[type="text"]:focus,
.theme-seo #commentform input[type="email"]:focus,
body.theme-seo #commentform input[type="email"]:focus {
    background: #ffffff !important;
    border-color: #233a2e !important;
    box-shadow: 0 0 0 3px rgba(35, 58, 46, 0.12) !important;
    color: #0f172a !important;
}

.woocommerce-glass-card #commentform input#submit,
.woocommerce-glass-card #commentform .submit,
.woocommerce-glass-card .woocommerce #review_form #respond p.form-submit input#submit,
.theme-seo #commentform input#submit,
body.theme-seo #commentform input#submit,
.theme-seo #commentform .submit,
body.theme-seo #commentform .submit,
.theme-seo .woocommerce #review_form #respond p.form-submit input#submit,
body.theme-seo .woocommerce #review_form #respond p.form-submit input#submit {
    background: #233a2e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(35, 58, 46, 0.25) !important;
}

.theme-seo #commentform input#submit:hover,
body.theme-seo #commentform input#submit:hover,
.theme-seo #commentform .submit:hover,
body.theme-seo #commentform .submit:hover,
.theme-seo .woocommerce #review_form #respond p.form-submit input#submit:hover,
body.theme-seo .woocommerce #review_form #respond p.form-submit input#submit:hover {
    background: #1b2e24 !important;
    box-shadow: 0 6px 20px rgba(35, 58, 46, 0.35) !important;
    transform: translateY(-2px) !important;
}

.theme-seo .comment-form-cookies-consent label,
body.theme-seo .comment-form-cookies-consent label {
    color: #475569 !important;
    font-size: 0.88rem !important;
}

.theme-seo #reviews .woocommerce-noreviews,
body.theme-seo #reviews .woocommerce-noreviews {
    color: #64748b !important;
}

.theme-seo #reviews ol.commentlist li .comment-text,
body.theme-seo #reviews ol.commentlist li .comment-text {
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
    color: #334155 !important;
}

.theme-seo #reviews ol.commentlist li .comment-text .meta,
body.theme-seo #reviews ol.commentlist li .comment-text .meta {
    color: #64748b !important;
}

.theme-seo #reviews ol.commentlist li .comment-text .meta strong,
body.theme-seo #reviews ol.commentlist li .comment-text .meta strong {
    color: #0f172a !important;
}

/* Related Products */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    grid-column: 1 / -1 !important;
    margin-top: 48px !important;
    padding-top: 32px !important;
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.08)) !important;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem) !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin-bottom: 24px !important;
}

/* ==========================================================================
   6. PÁGINA DE CARRITO (WOOCOMMERCE CART VIEW — ESTILO ELEGANTE Y RESPONSIVE)
   ========================================================================== */
.woocommerce-cart .woocommerce {
    width: 100% !important;
}

.woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 36px !important;
}

.woocommerce-cart table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    margin-bottom: 24px !important;
}

.woocommerce-cart table.shop_table,
.woocommerce-glass-card table.shop_table,
.theme-seo.woocommerce-cart table.shop_table,
.theme-seo .woocommerce-cart table.shop_table,
.theme-seo table.shop_table {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(35, 58, 46, 0.04) !important;
}

.woocommerce-cart table.shop_table th,
.woocommerce-glass-card table.shop_table th,
.theme-seo.woocommerce-cart table.shop_table th,
.theme-seo .woocommerce-cart table.shop_table th,
.theme-seo table.shop_table th {
    padding: 16px 20px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #233a2e !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-cart table.shop_table td,
.woocommerce-glass-card table.shop_table td,
.theme-seo.woocommerce-cart table.shop_table td,
.theme-seo .woocommerce-cart table.shop_table td,
.theme-seo table.shop_table td {
    padding: 20px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail img,
.woocommerce-glass-card table.shop_table td.product-thumbnail img,
.theme-seo.woocommerce-cart table.shop_table td.product-thumbnail img,
.theme-seo .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.woocommerce-cart table.shop_table td.product-name a,
.woocommerce-glass-card table.shop_table td.product-name a,
.theme-seo.woocommerce-cart table.shop_table td.product-name a,
.theme-seo .woocommerce-cart table.shop_table td.product-name a,
.theme-seo table.shop_table td.product-name a {
    color: #0f172a !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart table.shop_table td.product-name a:hover,
.woocommerce-glass-card table.shop_table td.product-name a:hover,
.theme-seo.woocommerce-cart table.shop_table td.product-name a:hover,
.theme-seo .woocommerce-cart table.shop_table td.product-name a:hover,
.theme-seo table.shop_table td.product-name a:hover {
    color: #059669 !important;
}

/* ── Cart Variation Metadata ("Tipo de Licencia: Personal", attributes) ── */
.woocommerce-cart table.shop_table dl.variation,
.theme-seo dl.variation,
.theme-seo table.shop_table dl.variation,
.theme-seo .woocommerce-cart dl.variation,
.theme-seo .woocommerce-cart table.shop_table dl.variation,
.theme-seo .wc-block-components-product-metadata,
.theme-seo .wc-block-components-product-details,
.theme-seo .wc-block-cart-item__metadata,
.theme-seo .wc-block-cart-item__description {
    color: #334155 !important;
    font-size: 0.88rem !important;
    margin: 6px 0 0 0 !important;
    line-height: 1.5 !important;
}

.woocommerce-cart table.shop_table dl.variation dt,
.theme-seo dl.variation dt,
.theme-seo table.shop_table dl.variation dt,
.theme-seo .woocommerce-cart dl.variation dt,
.theme-seo .wc-block-components-product-metadata__label,
.theme-seo .wc-block-components-product-details dt {
    color: #0f172a !important;
    font-weight: 700 !important;
    display: inline !important;
    margin-right: 4px !important;
}

.woocommerce-cart table.shop_table dl.variation dd,
.woocommerce-cart table.shop_table dl.variation dd p,
.theme-seo dl.variation dd,
.theme-seo dl.variation dd p,
.theme-seo table.shop_table dl.variation dd,
.theme-seo table.shop_table dl.variation dd p,
.theme-seo .woocommerce-cart dl.variation dd,
.theme-seo .woocommerce-cart dl.variation dd p,
.theme-seo .wc-block-components-product-metadata__value,
.theme-seo .wc-block-components-product-metadata__item,
.theme-seo .wc-block-components-product-details dd {
    color: #334155 !important;
    font-weight: 600 !important;
    display: inline !important;
    margin: 0 !important;
}

/* ── Cart Quantity Controls (Stepper, Input & Buttons) ── */
.theme-seo .woocommerce-cart .quantity,
.theme-seo table.shop_table .quantity,
.theme-seo .quantity,
.theme-seo .wc-block-components-quantity-selector {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    vertical-align: middle !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.theme-seo .woocommerce-cart .quantity:focus-within,
.theme-seo table.shop_table .quantity:focus-within,
.theme-seo .quantity:focus-within,
.theme-seo .wc-block-components-quantity-selector:focus-within {
    border-color: #233a2e !important;
    box-shadow: 0 0 0 2px rgba(35, 58, 46, 0.15) !important;
}

.theme-seo .woocommerce-cart .quantity input.qty,
.theme-seo table.shop_table .quantity input.qty,
.theme-seo .quantity input.qty,
.theme-seo .wc-block-components-quantity-selector__input,
.theme-seo .wc-block-components-quantity-selector input[type="number"] {
    color: #0f172a !important;
    background: #ffffff !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    width: 44px !important;
    height: 38px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}

.theme-seo .woocommerce-cart .quantity button,
.theme-seo .woocommerce-cart .quantity .plus,
.theme-seo .woocommerce-cart .quantity .minus,
.theme-seo table.shop_table .quantity button,
.theme-seo table.shop_table .quantity .plus,
.theme-seo table.shop_table .quantity .minus,
.theme-seo .quantity button,
.theme-seo .quantity .plus,
.theme-seo .quantity .minus,
.theme-seo .wc-block-components-quantity-selector__button,
.theme-seo .wc-block-components-quantity-selector__button--minus,
.theme-seo .wc-block-components-quantity-selector__button--plus {
    width: 34px !important;
    height: 38px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.theme-seo .woocommerce-cart .quantity button:hover,
.theme-seo .woocommerce-cart .quantity .plus:hover,
.theme-seo .woocommerce-cart .quantity .minus:hover,
.theme-seo table.shop_table .quantity button:hover,
.theme-seo table.shop_table .quantity .plus:hover,
.theme-seo table.shop_table .quantity .minus:hover,
.theme-seo .quantity button:hover,
.theme-seo .quantity .plus:hover,
.theme-seo .quantity .minus:hover,
.theme-seo .wc-block-components-quantity-selector__button:hover {
    background: #e2e8f0 !important;
    color: #233a2e !important;
}

.theme-seo .woocommerce-cart .quantity button:active,
.theme-seo .quantity button:active,
.theme-seo .wc-block-components-quantity-selector__button:active {
    background: #cbd5e1 !important;
}

.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
    color: var(--accent, #22d3ff) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

.theme-seo.woocommerce-cart table.shop_table td.product-price,
.theme-seo.woocommerce-cart table.shop_table td.product-subtotal,
.theme-seo .woocommerce-cart table.shop_table td.product-price,
.theme-seo .woocommerce-cart table.shop_table td.product-subtotal,
.theme-seo table.shop_table td.product-price,
.theme-seo table.shop_table td.product-subtotal {
    color: #059669 !important;
}

/* ── Cart Remove / Trash Button ── */
.woocommerce-cart td.product-remove a.remove {
    color: #ef4444 !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

.woocommerce-cart td.product-remove a.remove:hover {
    transform: scale(1.2) !important;
    color: #dc2626 !important;
}

.theme-seo .woocommerce-cart td.product-remove a.remove,
.theme-seo table.shop_table td.product-remove a.remove,
.theme-seo .woocommerce-cart a.remove,
.theme-seo a.remove,
.theme-seo .wc-block-cart-item__remove-link,
.theme-seo .wc-block-cart__remove-item-button,
.theme-seo button.wc-block-cart-item__remove-link {
    color: #64748b !important;
    font-size: 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.theme-seo .woocommerce-cart td.product-remove a.remove svg,
.theme-seo table.shop_table td.product-remove a.remove svg,
.theme-seo a.remove svg,
.theme-seo .wc-block-cart-item__remove-link svg,
.theme-seo .wc-block-cart__remove-item-button svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    transition: all 0.2s ease !important;
}

.theme-seo .woocommerce-cart td.product-remove a.remove:hover,
.theme-seo table.shop_table td.product-remove a.remove:hover,
.theme-seo .woocommerce-cart a.remove:hover,
.theme-seo a.remove:hover,
.theme-seo .wc-block-cart-item__remove-link:hover,
.theme-seo .wc-block-cart__remove-item-button:hover,
.theme-seo button.wc-block-cart-item__remove-link:hover {
    color: #ef4444 !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    transform: scale(1.08) !important;
}

.theme-seo .woocommerce-cart td.product-remove a.remove:hover svg,
.theme-seo .wc-block-cart-item__remove-link:hover svg {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

.woocommerce-cart .actions {
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.theme-seo .woocommerce-cart .actions {
    background: #f8fafc !important;
}

.woocommerce-cart .actions .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-cart .actions .coupon input#coupon_code {
    height: 44px !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    outline: none !important;
}

.theme-seo .woocommerce-cart .actions .coupon input#coupon_code {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.woocommerce-cart .actions .button {
    height: 44px !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
}

/* ── Cart Collaterals & Totals Box ── */
.woocommerce-cart .cart-collaterals {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 32px !important;
}

.woocommerce-cart .cart_totals {
    width: 100% !important;
    max-width: 480px !important;
    background: rgba(13, 24, 48, 0.8) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    box-sizing: border-box !important;
}

.theme-seo.woocommerce-cart .cart_totals,
.theme-seo .woocommerce-cart .cart_totals,
.theme-seo .cart_totals {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(35, 58, 46, 0.06) !important;
}

.woocommerce-cart .cart_totals h2 {
    font-family: var(--font-body, system-ui, sans-serif) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-seo.woocommerce-cart .cart_totals h2,
.theme-seo .woocommerce-cart .cart_totals h2,
.theme-seo .cart_totals h2 {
    color: #233a2e !important;
    border-bottom-color: #e2e8f0 !important;
}

.woocommerce-cart .cart_totals table.shop_table {
    border: none !important;
    background: transparent !important;
    margin-bottom: 18px !important;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    padding: 12px 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.theme-seo .woocommerce-cart .cart_totals table.shop_table th,
.theme-seo .woocommerce-cart .cart_totals table.shop_table td {
    border-bottom-color: #f1f5f9 !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    border-top: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: none !important;
    padding-top: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
}

.theme-seo .woocommerce-cart .cart_totals .order-total th,
.theme-seo .woocommerce-cart .cart_totals .order-total td {
    border-top-color: #e2e8f0 !important;
    color: #233a2e !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(135deg, var(--accent) 0%, #0099cc 100%) !important;
    color: #030a16 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
    border: none !important;
    text-decoration: none !important;
    margin-top: 18px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 18px var(--accent-glow) !important;
    cursor: pointer !important;
}

.theme-seo.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.theme-seo .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.theme-seo .wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35) !important;
}

.theme-seo.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.theme-seo .woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.theme-seo .wc-proceed-to-checkout .checkout-button:hover {
    filter: brightness(1.08) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45) !important;
}

/* ==========================================================================
   7. FLUJO DE CHECKOUT (FINALIZAR COMPRA TRANSACCIONAL — ESTILO BALOA AUDITOR)
   ========================================================================== */

/* ── Stepper de Proceso de Compra (Baloa Stepper) ── */
.dt-checkout-stepper-wrap {
    width: 100%;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.dt-checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
    gap: 8px;
}

.dt-stepper-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.theme-seo .dt-stepper-step {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #64748B;
}

.dt-step-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
}

.dt-stepper-step.completed {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #10B981 !important;
}

.theme-seo .dt-stepper-step.completed {
    background: #ECFDF5 !important;
    border-color: #A7F3D0 !important;
    color: #059669 !important;
}

.dt-stepper-step.completed .dt-step-badge {
    background: #10B981;
    color: #FFFFFF;
}

.dt-stepper-step.active {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.dt-stepper-step.active .dt-step-badge {
    background: #FFFFFF;
    color: #2563EB;
}

.dt-stepper-divider {
    flex: 1;
    height: 2px;
    min-width: 14px;
    max-width: 36px;
    background: var(--card-border, rgba(255, 255, 255, 0.1));
}

.dt-stepper-divider.active {
    background: #10B981;
}

@media (max-width: 640px) {
    .dt-checkout-stepper {
        gap: 4px;
    }
    .dt-stepper-step {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    .dt-stepper-step:not(.active):not(.completed) .dt-step-label {
        display: none;
    }
    .dt-stepper-divider {
        min-width: 8px;
        max-width: 18px;
    }
}

form.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: clamp(28px, 4vw, 48px) !important;
    align-items: start !important;
}

/* Billing & Shipping Column */
#customer_details {
    width: 100% !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
    font-family: var(--font-display, sans-serif) !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.08)) !important;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-additional-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1 !important;
}

.woocommerce-checkout .form-row {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce-checkout .form-row label {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin-bottom: 6px !important;
}

.woocommerce-checkout .form-row label .required {
    color: #ef4444 !important;
}

/* Inputs, Textareas, Selects */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.select2-container--default .select2-selection--single {
    width: 100% !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.theme-seo .woocommerce-checkout input[type="text"],
.theme-seo .woocommerce-checkout input[type="email"],
.theme-seo .woocommerce-checkout input[type="tel"],
.theme-seo .woocommerce-checkout input[type="password"],
.theme-seo .woocommerce-checkout textarea,
.theme-seo .woocommerce-checkout select {
    background: #ffffff !important;
    border-color: rgba(35, 58, 46, 0.2) !important;
    color: #233a2e !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

/* Order Review Sticky Sidebar */
#order_review {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.09));
    border-radius: 20px;
    padding: 24px;
    box-sizing: border-box;
}

.theme-seo #order_review {
    background: #ffffff;
    border-color: rgba(35, 58, 46, 0.1);
}

/* Order Review Table */
table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 24px !important;
}

table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td {
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.06)) !important;
    font-size: 0.94rem !important;
}

table.woocommerce-checkout-review-order-table th {
    color: var(--text-main) !important;
    font-weight: 700 !important;
}

table.woocommerce-checkout-review-order-table td {
    color: var(--text-muted, #94a3b8) !important;
    text-align: right !important;
}

table.woocommerce-checkout-review-order-table tr.order-total th,
table.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--accent) !important;
    border-top: 2px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
}

/* Payment Methods Accordion */
#payment {
    background: transparent !important;
    border-radius: 14px !important;
    padding: 0 !important;
}

#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

#payment ul.payment_methods li {
    padding: 14px 18px !important;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.06)) !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

#payment ul.payment_methods li:last-child {
    border-bottom: none !important;
}

#payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--accent) !important;
    margin-right: 8px !important;
}

#payment ul.payment_methods li label {
    font-weight: 700 !important;
    color: var(--text-main) !important;
    cursor: pointer !important;
}

#payment div.payment_box {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-top: 10px !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: var(--text-muted, #94a3b8) !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Terms & Conditions */
.woocommerce-terms-and-conditions-wrapper {
    font-size: 0.88rem !important;
    color: var(--text-muted, #94a3b8) !important;
    margin-bottom: 20px !important;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: var(--accent) !important;
    margin-right: 8px !important;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

/* Place Order Submit Button */
#place_order {
    width: 100% !important;
    height: 54px !important;
    background: #2563EB !important;
    color: #ffffff !important;
    font-family: var(--font-display, sans-serif) !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4) !important;
}

#place_order:hover {
    background: #1D4ED8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6) !important;
}

/* Baloa Diagnostic Trust Box in Checkout */
.dt-checkout-trust-box {
    margin-top: 20px;
    padding: 16px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.theme-seo .dt-checkout-trust-box {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.dt-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-main);
}

.dt-trust-item .dt-trust-icon {
    color: #2563EB;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* BlockUI Spinner Fix */
.blockUI.blockOverlay {
    background: rgba(5, 13, 26, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}

/* ==========================================================================
   8. CATÁLOGO / TIENDA Y ARCHIVOS (SHOP & ARCHIVE GRIDS)
   ========================================================================== */
/* Shop Toolbar: Result Count & Ordering Select */
.woocommerce-products-header {
    margin-bottom: 24px !important;
}

.woocommerce-result-count {
    color: #64748b !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    margin: 8px 0 20px 0 !important;
    float: left !important;
}

.woocommerce-ordering {
    float: right !important;
    margin: 0 0 24px 0 !important;
}

.woocommerce-ordering select.orderby,
.woocommerce-ordering select,
.woocommerce select.orderby,
.woocommerce-glass-card .woocommerce-ordering select,
.shop-archive-glass-card .woocommerce-ordering select {
    height: 46px !important;
    padding: 8px 44px 8px 18px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.25s ease !important;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus,
.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
    border-color: #233a2e !important;
    box-shadow: 0 0 0 3px rgba(35, 58, 46, 0.12) !important;
}

.woocommerce-ordering select.orderby option,
.woocommerce-ordering select option {
    background-color: #ffffff !important;
    color: #1e293b !important;
    padding: 12px !important;
}

.theme-seo .woocommerce-ordering select.orderby {
    background-color: #ffffff !important;
    border-color: rgba(35, 58, 46, 0.2) !important;
    color: #233a2e !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23233a2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   8. CATÁLOGO / TIENDA DE PRODUCTOS (LOOP / ARCHIVE GRID)
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: clamp(24px, 3vw, 36px) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 32px 0 !important;
    width: 100% !important;
}

/* Generous showcase layout when single product exists */
.woocommerce ul.products:has(> li.product:only-child),
.woocommerce-page ul.products:has(> li.product:only-child),
ul.products:has(> li.product:only-child) {
    grid-template-columns: minmax(320px, 460px) !important;
    justify-content: start !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
.shop-archive-glass-card .woocommerce ul.products li.product,
.woocommerce-glass-card ul.products li.product,
.theme-seo .woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
ul.products li.product:hover,
.shop-archive-glass-card .woocommerce ul.products li.product:hover,
.woocommerce-glass-card ul.products li.product:hover {
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loop-product__link,
ul.products li.product a.woocommerce-LoopProduct-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product a img,
.woocommerce-page ul.products li.product img,
ul.products li.product a img,
ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin: 0 0 16px 0 !important;
    background: #f8fafc !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
    box-sizing: border-box !important;
    transition: transform 0.35s ease !important;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product:hover img,
ul.products li.product:hover img {
    transform: scale(1.03) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-glass-card .woocommerce ul.products li.product .woocommerce-loop-product__title,
.shop-archive-glass-card .woocommerce ul.products li.product .woocommerce-loop-product__title,
.theme-seo .woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__title {
    font-family: var(--font-display, 'Figtree', sans-serif) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-glass-card .woocommerce ul.products li.product .price,
.shop-archive-glass-card .woocommerce ul.products li.product .price,
.theme-seo .woocommerce ul.products li.product .price,
ul.products li.product .price {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #059669 !important;
    margin: 0 0 16px 0 !important;
    display: block !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product .button,
.shop-archive-glass-card .woocommerce ul.products li.product .button,
.woocommerce-glass-card ul.products li.product .button,
.theme-seo .woocommerce ul.products li.product .button {
    width: 100% !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #233a2e 0%, #17261e 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-display, 'Figtree', sans-serif) !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(35, 58, 46, 0.25) !important;
    transition: all 0.25s ease !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product .button:hover,
.shop-archive-glass-card .woocommerce ul.products li.product .button:hover,
.woocommerce-glass-card ul.products li.product .button:hover,
.theme-seo .woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #2d4a3b 0%, #1b2e24 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(35, 58, 46, 0.35) !important;
}

/* ==========================================================================
   9. RESPONSIVE ADAPTATIONS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
    .woocommerce div.product:not(.dt-amazon-product-container) {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    form.woocommerce-checkout {
        grid-template-columns: 1fr !important;
    }

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

@media (max-width: 600px) {
    .woocommerce-page-container {
        padding: 90px 16px 60px !important;
    }

    .woocommerce-glass-card {
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .woocommerce ul.products li.product {
        padding: 12px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.92rem !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 1.05rem !important;
    }
}
