/*
Theme Name: PC Compra Master Theme
Theme URI: https://pccompra.com.ar/
Author: PC Compra
Version: 55.0 (Clean, Modern & Optimized)
Description: Tema optimizado para e-commerce de hardware y PC Gamer con diseño ultra rápido y checkout simplificado.
*/

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent-green: #16a34a;
    --accent-green-hover: #15803d;
    --header-bg: #0f172a;
    --menu-bg: #1e293b;
    --bg-body: #f8fafc;
    --box-bg: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

/* =========================================
   1. RESET Y BASE
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

.cg-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

/* =========================================
   2. HEADER & NAVEGACIÓN
   ========================================= */
header.main-header {
    background: var(--header-bg);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.site-logo {
    max-height: 48px;
    width: auto;
}

.search-box-header {
    flex-grow: 1;
    max-width: 600px;
}

.woocommerce-product-search {
    display: flex;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-main);
}

.woocommerce-product-search button[type="submit"] {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 24px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;
}

.woocommerce-product-search button[type="submit"]:hover {
    background: var(--primary-hover);
}

.cart-btn-cg {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-btn-cg:hover {
    background: rgba(255, 255, 255, 0.16);
}

.count-badge {
    background: var(--accent-green);
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.header-bottom {
    background: var(--menu-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cg-menu-list {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cg-menu-list a {
    display: block;
    padding: 14px 20px;
    color: #e2e8f0;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.cg-menu-list a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

/* =========================================
   NUEVO HERO SPLIT & CARDS LATERALES
   ========================================= */
.hero-split-wrapper {
    margin-bottom: 25px;
}
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: stretch;
}
.hero-slider-col {
    min-width: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}
.hero-slider-col .mainSlider {
    height: 380px !important;
    border-radius: var(--radius-md);
}
.hero-slide-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 45px;
    color: #ffffff;
    position: relative;
    box-sizing: border-box;
}
.hero-slide-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.hero-slide-title {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 10px;
    color: #ffffff;
    text-transform: uppercase;
    max-width: 580px;
}
.hero-slide-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 22px;
    max-width: 500px;
    line-height: 1.5;
}
.hero-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--primary);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: 0.2s ease;
}
.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: 0.2s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* CARDS LATERALES */
.hero-cards-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.hero-side-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    color: var(--text-main);
    flex: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-subtle);
}
.hero-side-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.side-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.side-card-body {
    display: flex;
    flex-direction: column;
}
.side-card-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.side-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.25;
}
.side-card-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 6px;
}
.side-card-link {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
}

/* ICONOS SVG DE BENEFICIOS */
.b-svg-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
    }
    .hero-slider-col .mainSlider {
        height: 320px !important;
    }
    .hero-slide-item {
        padding: 25px 20px;
    }
    .hero-slide-title {
        font-size: 1.5rem;
    }
}

/* =========================================
   4. TABS & CARROUSELES DE PRODUCTOS
   ========================================= */
.section-block {
    margin-bottom: 50px;
}

.section-header {
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-main);
}

.section-header h2 strong {
    font-weight: 800;
    color: var(--primary);
}

.cg-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.cg-tab-pill {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 50px !important;
    padding: 10px 22px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.cg-tab-pill.active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.cg-tab-pane {
    display: none;
}

.cg-tab-pane.active {
    display: block !important;
}

.productGridSwiper {
    padding-bottom: 40px !important;
}

.cg-card-mini {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-subtle);
}

.cg-card-mini:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.mini-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.mini-img img {
    max-height: 100%;
    object-fit: contain;
}

.mini-title {
    font-size: 0.9rem;
    font-weight: 600;
    height: 42px;
    overflow: hidden;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.35;
}

.mini-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.btn-add-mini {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-green);
    color: #fff;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    text-transform: uppercase;
    margin-top: auto;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.btn-add-mini:hover {
    background: var(--accent-green-hover);
}

/* =========================================
   5. BANNER CÁPSULA & GRILLA HÍBRIDA
   ========================================= */
.promo-capsule {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-hover);
}

.promo-capsule::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 20%, rgba(15, 23, 42, 0.9) 100%);
}

.promo-capsule-content {
    position: relative;
    z-index: 2;
    text-align: right;
    color: #fff;
    max-width: 500px;
}

.promo-capsule-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.promo-capsule-content p {
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.btn-capsule {
    background: #ff4500;
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
}

.btn-capsule:hover {
    background: #e03d00;
}

.hybrid-grid {
    display: grid;
    gap: 20px;
    height: 420px;
    margin-bottom: 60px;
}

@media (min-width: 1024px) {
    .hybrid-grid { grid-template-columns: 350px 1fr; }
}

.cat-big-hybrid {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.cat-overlay-big {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 25px;
    color: #fff;
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.cat-swiper-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 30px;
}

.cat-card-small {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: 0.2s ease;
}

.cat-card-small:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.cat-card-small img {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.cat-title-small {
    padding: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-main);
    border-top: 1px solid #f1f5f9;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* =========================================
   6. BLINDAJE FICHA DE PRODUCTO (SINGLE)
   ========================================= */
.single-product .product-single-wrapper {
    width: 100% !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.pcc-top-header-producto {
    padding-top: 30px;
    margin-bottom: 25px;
}

.pcc-breadcrumbs {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pcc-volver:hover { color: var(--text-main); }
.pcc-cat-activa { color: var(--accent-green); font-weight: 700; }

.pcc-hr-top {
    border: 0;
    border-bottom: 1px solid var(--border);
    margin: 15px 0 20px 0;
}

.pcc-h1-venex {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
}

.pcc-sku-venex {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.single-product .product-layout-grid {
    display: grid !important;
    grid-template-columns: 50% 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    margin-bottom: 50px !important;
}

.single-product .product-gallery {
    width: 100% !important;
}

.single-product .main-image-box {
    width: 100% !important;
    height: 420px !important;
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 25px !important;
    overflow: hidden !important;
}

.single-product .main-image-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.pcc-clon-master {
    margin-bottom: 20px;
}

.pcc-caja-verde-top {
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--accent-green);
    padding-left: 15px;
    margin-bottom: 15px;
}

.pcc-precio-izq {
    color: var(--text-main);
    font-weight: 900;
}

.pcc-signo {
    font-size: 1.6rem;
    vertical-align: super;
}

.pcc-monto {
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -1px;
}

.pcc-tag-verde {
    color: var(--accent-green);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.pcc-sub-verde {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pcc-separador {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.pcc-caja-gris-bottom {
    border-left: 4px solid var(--border-hover);
    padding-left: 15px;
    margin-bottom: 25px;
}

.pcc-lista-titulo {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.pcc-precio-lista-monto {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 4px 0 10px 0;
}

.pcc-promo-texto {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.pcc-select-cuotas {
    width: 100%;
    max-width: 420px;
    height: 48px;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 0 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    background-color: #fff;
    cursor: pointer;
}

/* Formulario agregar al carrito */
.single-product .product-summary form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 25px 0 !important;
}

.single-product .product-summary form.cart .quantity {
    margin: 0 !important;
}

.single-product .product-summary form.cart .quantity input.qty {
    width: 65px !important;
    height: 52px !important;
    border: 1px solid var(--border-hover) !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: var(--text-main) !important;
    background: #f8fafc !important;
}

.single-product .product-summary form.cart button.single_add_to_cart_button {
    flex-grow: 1 !important;
    height: 52px !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    transition: background 0.2s, transform 0.2s !important;
}

.single-product .product-summary form.cart button.single_add_to_cart_button:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px) !important;
}

/* Sellos de confianza apilados */
.pcc-sellos-wrap {
    margin-top: 25px !important;
    border-top: 1px solid var(--border) !important;
    padding-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.pcc-sello-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.pcc-s-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
}

.pcc-s-text strong {
    display: block !important;
    font-size: 0.9rem !important;
    color: var(--text-main) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.pcc-s-text span {
    display: block !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 2px !important;
}

.pcc-bg-verde { background: var(--accent-green) !important; color: #fff; }
.pcc-txt-verde { color: var(--accent-green) !important; }

/* Productos Relacionados */
.related.products {
    margin-top: 50px !important;
    border-top: 2px solid var(--border) !important;
    padding-top: 35px !important;
}

.related.products > h2 {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.related.products ul.products li.product {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
}

.related.products ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--primary) !important;
}

.related.products ul.products li.product a img {
    height: 160px !important;
    object-fit: contain !important;
    margin: 0 auto 12px !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
}

.related.products ul.products li.product .price {
    margin-top: auto !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    color: var(--accent-green) !important;
    margin-bottom: 10px !important;
}

.related.products ul.products li.product .button {
    background: #f8fafc !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    padding: 8px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.related.products ul.products li.product .button:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* =========================================
   7. CATÁLOGO & SHOP
   ========================================= */
.shop-container {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 35px !important;
    margin: 40px auto !important;
    align-items: start !important;
}

.products-grid-catalog {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

.shop-container .cg-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    padding: 18px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    position: relative;
}

.shop-container .cg-card:hover {
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--primary) !important;
    transform: translateY(-4px);
}

.shop-container .cg-card .card-img {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 15px;
}

.shop-container .cg-card .card-img img {
    max-height: 100%;
    object-fit: contain;
}

.shop-container .cg-card .card-data h3 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    line-height: 1.35 !important;
    min-height: 40px !important;
    margin-bottom: 10px !important;
}

.pcc-loop-efectivo {
    color: var(--accent-green) !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
}

.pcc-loop-etiqueta {
    color: var(--text-muted) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.shop-sidebar {
    background: #fff;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--text-main);
    border-bottom: 3px solid var(--primary);
    padding-bottom: 10px;
}

.cat-menu-list {
    list-style: none;
}

.cat-menu-list li {
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.cat-menu-list a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.cat-menu-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* =========================================
   8. CHECKOUT LIMPIO Y MODERNO
   ========================================= */
.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
}

.woocommerce-billing-fields h3,
#order_review_heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: span 2;
}

.woocommerce-billing-fields__field-wrapper label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    display: block;
}

.woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-billing-fields__field-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce-billing-fields__field-wrapper input.input-text:focus,
.woocommerce-billing-fields__field-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

#order_review {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-subtle);
}

#order_review table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

#order_review table.shop_table tr.fee {
    display: none !important;
}

#payment {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-top: 20px;
}

#payment ul.payment_methods {
    list-style: none;
    margin-bottom: 20px;
}

#payment ul.payment_methods li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

#place_order {
    width: 100%;
    background: var(--accent-green) !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    padding: 15px !important;
    border-radius: var(--radius-sm) !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3) !important;
    transition: background 0.2s, transform 0.2s !important;
}

#place_order:hover {
    background: var(--accent-green-hover) !important;
    transform: translateY(-2px);
}

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background: var(--header-bg);
    color: #94a3b8;
    padding: 50px 0 20px 0;
    margin-top: 60px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* =========================================
   10. RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .mainSlider { height: 240px; }
    .header-inner { flex-direction: column; gap: 12px; }
    .search-box-header { width: 100%; max-width: 100%; }
    .cart-btn-cg { width: 100%; justify-content: center; }
    
    .benefits-flex { flex-direction: column; gap: 15px; }
    .b-separator { display: none; }
    
    .promo-capsule { padding: 30px 20px; text-align: center; justify-content: center; }
    .promo-capsule::before { background: rgba(15, 23, 42, 0.75); }
    .promo-capsule-content { text-align: center; }

    .shop-container { grid-template-columns: 1fr !important; }
    .single-product .product-layout-grid { grid-template-columns: 1fr !important; }
    .single-product .main-image-box { height: 320px !important; }
    .woocommerce-checkout { grid-template-columns: 1fr; }
    .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
    .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: span 1; }
}