/*
Theme Name: Blocksy Child
Theme URI: https://laimprentadelascamisetas.com/
Template: blocksy
Description: Tema hijo personalizado y optimizado para La Imprenta de las Camisetas.
Author: Antigravity AI
Version: 1.0.0
Text Domain: blocksy-child
*/

/* ==========================================================================
   DESIGN TOKENS & SYSTEM
   ========================================================================== */
:root {
    /* Design System exact tokens */
    --tinta: #1A1A2E;
    --magenta: #1090A0;
    --cian: #00B3D6;
    --amarillo: #FFC400;
    --papel: #FFFFFF;
    --papel-gris: #F7F7FA;
    --borde: #E2E8F0;
    --sombra-sm: 0 2px 8px rgba(26, 26, 46, 0.04);
    --sombra-md: 0 8px 24px rgba(26, 26, 46, 0.08);
    --sombra-lg: 0 16px 40px rgba(26, 26, 46, 0.12);
    --radio-sm: 6px;
    --radio-md: 12px;
    --radio-lg: 20px;
    --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transicion-suave: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Mapped aliases for theme inheritance */
    --primary: var(--magenta);
    --primary-dark: #b80054;
    --primary-light: rgba(16,144,160, 0.1);
    --accent: var(--cian);
    --accent-dark: #008fae;
    --accent-light: rgba(0, 179, 214, 0.1);
    --dark: var(--tinta);
    --dark-rgb: 26, 26, 46;
    --bg: var(--papel);
    --surface: var(--papel-gris);
    --muted-text: #5F5E5A;
    --border: var(--borde);
    
    --font-titles: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-text: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    --radius-sm: var(--radio-sm);
    --radius-md: var(--radio-md);
    --radius-lg: var(--radio-lg);
    --shadow: var(--sombra-md);
    --shadow-hover: var(--sombra-lg);
}

/* Base resets & typography */
body {
    font-family: var(--font-text);
    color: var(--tinta);
    background-color: var(--papel);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--tinta);
    margin-top: 0;
}

h5, h6 {
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--tinta);
    margin-top: 0;
}

a {
    color: var(--cian);
    text-decoration: none;
    transition: var(--transicion);
}
a:hover {
    color: var(--primary-dark);
}

/* Utilities & Container */
.container,
.ct-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
@media (min-width: 1200px) {
    .container,
    .ct-container {
        width: 92%;
    }
}
.section {
    padding: 80px 0;
}
.s-surface { background-color: var(--surface); }
.s-white { background-color: var(--bg); }
.s-dark { background-color: var(--dark); color: #fff; }

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Buttons & WooCommerce Button mapping */
.btn-primario,
.btn-primary,
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit,
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt, 
.woocommerce #respond input#submit.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.loop-btn-personalize,
.single-button-personalize {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radio-sm);
    text-align: center;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    background-color: var(--magenta) !important;
    color: #ffffff !important;
    box-shadow: var(--sombra-md);
    transition: var(--transicion);
    z-index: 1;
}

/* Diagonal Sheen (Brillo Diagonal) Pseudo-element */
.btn-primario::after,
.btn-primary::after,
.woocommerce a.button::after,
.woocommerce button.button::after,
.woocommerce input.button::after,
.woocommerce #respond input#submit::after,
.woocommerce a.button.alt::after,
.woocommerce button.button.alt::after,
.woocommerce input.button.alt::after,
.woocommerce #respond input#submit.alt::after,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after,
.loop-btn-personalize::after,
.single-button-personalize::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80px;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
}

/* Hover State - Elevation + Shadow + Diagonal Sheen */
.btn-primario:hover,
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.loop-btn-personalize:hover,
.single-button-personalize:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra-lg);
    background-color: #f70075 !important;
}

.btn-primario:hover::after,
.btn-primary:hover::after,
.woocommerce a.button:hover::after,
.woocommerce button.button:hover::after,
.woocommerce input.button:hover::after,
.woocommerce #respond input#submit:hover::after,
.woocommerce a.button.alt:hover::after,
.woocommerce button.button.alt:hover::after,
.woocommerce input.button.alt:hover::after,
.woocommerce #respond input#submit.alt:hover::after,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover::after,
.loop-btn-personalize:hover::after,
.single-button-personalize:hover::after {
    left: 200%;
}

/* Secondary Button */
.btn-secundario,
.btn-secondary {
    display: inline-block;
    padding: 10px 26px; /* Account for 2px border */
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radio-sm);
    text-align: center;
    cursor: pointer;
    background-color: var(--papel) !important;
    color: var(--tinta) !important;
    border: 2px solid var(--tinta) !important;
    transition: var(--transicion);
    box-shadow: none;
}

.btn-secundario:hover,
.btn-secondary:hover {
    background-color: var(--papel-gris) !important;
    transform: translateY(-2px);
    box-shadow: var(--sombra-sm);
}

/* Dark Button */
.btn-dark {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radio-sm);
    text-align: center;
    cursor: pointer;
    background-color: var(--tinta) !important;
    color: #ffffff !important;
    border: none;
    transition: var(--transicion);
}
.btn-dark:hover {
    background-color: #000000 !important;
    transform: translateY(-2px);
}

/* Section Header */
.sec-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.sec-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.sec-h {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.sec-h span {
    color: var(--primary);
}
.sec-s {
    font-size: 16px;
    color: var(--muted-text);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area {
    display: flex;
    align-items: center;
}
.logo-link {
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 22px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-link span {
    color: var(--primary);
}
.logo-icon {
    font-size: 26px;
}

/* Main Nav */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav li {
    position: relative;
}
.main-nav a {
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    padding: 8px 0;
}
.main-nav a:hover, .main-nav li.current-menu-item > a {
    color: var(--primary);
}

/* Dropdowns */
.main-nav li ul {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    gap: 0;
}
.main-nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav li ul a {
    padding: 8px 24px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 500;
}
.main-nav li ul a:hover {
    background-color: var(--surface);
    color: var(--primary);
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.action-icon {
    font-size: 20px;
    color: var(--dark);
    position: relative;
    cursor: pointer;
}
.action-icon:hover {
    color: var(--primary);
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50px;
    padding: 2px 6px;
    line-height: 1;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background-color: var(--surface);
}
.hero-glow, .hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
}
.hero-glow {
    background: rgba(0, 157, 162, 0.08);
    top: -100px;
    right: -100px;
}
.hero-glow-2 {
    background: rgba(192, 26, 72, 0.04);
    bottom: -150px;
    left: -150px;
}
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-sticker {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 13px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero h1 em {
    font-style: normal;
    color: var(--primary);
}
.hero-desc {
    font-size: 18px;
    color: var(--muted-text);
    margin-bottom: 30px;
}
.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.hero-trust {
    font-size: 14px;
    color: var(--muted-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Interactive Prenda Preview Box */
.prenda-preview-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}
.prenda-tag-float {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-family: var(--font-titles);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.preview-img-wrapper {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.preview-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.color-picker-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.color-picker-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.color-dot.active, .color-dot:hover {
    border-color: var(--dark);
    transform: scale(1.1);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background-color: var(--dark);
    color: #fff;
    padding: 24px 0;
}
.trust-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.trust-icon {
    font-size: 24px;
    color: var(--primary);
}
.trust-text {
    font-size: 14px;
    line-height: 1.4;
}
.trust-text strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-titles);
    font-weight: 600;
}
.trust-text span {
    color: #8b949e;
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */
.grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.category-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.cat-visual {
    height: 200px;
    background-color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}
.cat-body {
    padding: 24px;
    text-align: center;
}
.cat-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.cat-desc {
    font-size: 14px;
    color: var(--muted-text);
    margin-bottom: 15px;
}
.cat-cta {
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

/* ==========================================================================
   OCCASIONS GRID (Granate Accent)
   ========================================================================== */
.occasion-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}
.occasion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.occ-body {
    padding: 24px;
}
.occ-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.occ-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.occ-desc {
    font-size: 14px;
    color: var(--muted-text);
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
}
.occ-cta {
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

/* ==========================================================================
   CHIPS OF TECHNIQUES
   ========================================================================== */
.chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.tech-chip {
    padding: 12px 28px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
    transition: all 0.3s ease;
}
.tech-chip:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 157, 162, 0.2);
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
.step-card {
    text-align: center;
    position: relative;
}
.step-num {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: #fff;
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 157, 162, 0.3);
}
.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-desc {
    font-size: 15px;
    color: var(--muted-text);
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.review-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow);
}
.review-stars {
    color: #ffb703;
    font-size: 18px;
    margin-bottom: 15px;
}
.review-text {
    font-size: 15px;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
}
.review-author {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 14px;
}
.review-company {
    font-size: 12px;
    color: var(--muted-text);
}

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */
.cta-band {
    background-color: var(--dark);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.cta-band h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}
.cta-band p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}
.cta-band .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: #c9d1d9;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.footer-logo-area p {
    font-size: 14px;
    color: #8b949e;
    margin-top: 15px;
}
.footer-col h4,
.footer-col .footer-col-title {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 12px;
}
.footer-col a {
    color: #8b949e;
    font-size: 14px;
}
.footer-col a:hover {
    color: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8b949e;
}
.footer-legal-links {
    display: flex;
    gap: 20px;
}
.footer-legal-links a {
    color: #8b949e;
}
.footer-legal-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs-nav {
    padding: 15px 0;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.breadcrumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-text);
}
.breadcrumbs-wrapper a {
    color: var(--muted-text);
}
.breadcrumbs-wrapper a:hover {
    color: var(--primary);
}
.breadcrumbs-separator {
    font-size: 10px;
    color: #b1b1b1;
}
.breadcrumbs-current {
    font-weight: 600;
    color: var(--dark);
}

/* ==========================================================================
   OCCASION & TECHNIQUE LAYOUTS
   ========================================================================== */
.page-hero {
    background-color: var(--surface);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}
.page-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 60px 0;
}
.page-content-main {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
}
.page-content-main h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: var(--dark);
}
.page-content-main p {
    margin-bottom: 20px;
}
.page-content-main ul {
    margin-bottom: 25px;
    padding-left: 20px;
}
.page-content-main li {
    margin-bottom: 10px;
}

/* Sidebar Call Box */
.sidebar-cta-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    position: sticky;
    top: 100px;
}
.sidebar-cta-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.sidebar-cta-text {
    font-size: 14px;
    color: var(--muted-text);
    margin-bottom: 20px;
}
.sidebar-cta-box .btn {
    width: 100%;
    box-sizing: border-box;
}

/* Accordion FAQs */
.accordion-wrapper {
    margin-top: 40px;
    border-top: 1px solid var(--border);
}
.accordion-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.accordion-title {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.accordion-title:after {
    content: '+';
    font-size: 22px;
    font-weight: normal;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-title:after {
    content: '−';
    transform: rotate(180deg);
}
.accordion-content {
    padding-top: 15px;
    font-size: 15px;
    color: var(--muted-text);
    display: none;
}
.accordion-item.active .accordion-content {
    display: block;
}

/* ==========================================================================
   WOOCOMMERCE INTEGRATIONS (ARCHIVE & SINGLE)
   ========================================================================== */
/* Shop/Archive Grid */
/* Shop/Archive Grid */
.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (max-width: 1200px) {
    .products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
@media (max-width: 991px) {
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 480px) {
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.product.type-product {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--sombra-sm);
    transition: var(--transicion-suave);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.product.type-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
    border-color: var(--magenta);
}
.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}
/* Sello con la marca del fabricante sobre la foto (tarjetas de catálogo y de relacionados).
   Más pequeño que el de la ficha porque la tarjeta lo es. No captura el ratón. */
.product-card-brand {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(255,255,255,0.92);
    color: #64748b;
    font-family: var(--font-titles, 'Outfit', sans-serif);
    font-size: 9px; font-weight: 700; line-height: 1.5;
    letter-spacing: 0.5px; text-transform: uppercase;
    padding: 2px 7px; border-radius: 999px;
    border: 1px solid var(--border, #e2e8f0);
    pointer-events: none; z-index: 2;
}
/* Sello con el material de la prenda, arriba de la foto. Solo camisetas de momento.
   Texto más marcado que el de marca: es un dato de la prenda, no la firma del fabricante. */
.product-card-material {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(255,255,255,0.94);
    color: var(--dark, #0f172a);
    font-family: var(--font-titles, 'Outfit', sans-serif);
    font-size: 9px; font-weight: 700; line-height: 1.5;
    letter-spacing: 0.5px; text-transform: uppercase;
    padding: 2px 7px; border-radius: 999px;
    border: 1px solid var(--border, #e2e8f0);
    pointer-events: none; z-index: 2;
}
.product-image-wrapper img {
    max-height: 98%;
    max-width: 98%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.product.type-product:hover .product-image-wrapper img {
    transform: scale(1.02);
}
.product-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    text-align: left;
}
.woocommerce-loop-product__title {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 15px;
    color: var(--tinta);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    /* Título COMPLETO, sin recorte; reserva 2 líneas para que las tarjetas cortas no queden minúsculas */
    min-height: calc(1.3em * 2);
}
.woocommerce-loop-product__title a {
    color: var(--tinta);
    text-decoration: none;
    transition: color 0.2s ease;
}
.woocommerce-loop-product__title a:hover {
    color: var(--magenta);
}
/* Swatches: SIEMPRE una línea (6 + "+N"); si no caben, se ocultan bajo el overflow, nunca envuelven */
.product-card-swatches {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    /* Antes: flex-wrap:nowrap + overflow:hidden. El primer circulo quedaba pegado al
       borde y su aro de seleccionado —que sobresale 1px— salia recortado; el zoom del
       hover, igual. Con wrap ya no hace falta recortar nada. */
    flex-wrap: wrap;
    row-gap: 6px;
    overflow: visible;
    min-height: 18px;
}
.swatch-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    flex: 0 0 auto;
    border: 2px solid transparent;
    box-sizing: border-box;   /* el borde no altera el tamano exterior del circulo */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Blancos y tonos muy claros: aro interior mas marcado para que el circulo se lea
   entero sobre el fondo blanco de la tarjeta. Va por sombra y no por borde, para
   no cambiar el tamano ni descuadrarlo respecto a los de al lado. */
.swatch-circle--light {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.30), 0 1px 2px rgba(0,0,0,0.06);
}
.swatch-circle:hover {
    transform: scale(1.25);
}
.swatch-circle.active {
    border-color: var(--magenta);
    box-shadow: 0 0 0 1px var(--magenta);
}
.swatch-more {
    font-family: var(--font-text);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted-text);
    text-decoration: none;
    margin-left: 1px;
    white-space: nowrap;
    flex: 0 0 auto;
}
.swatch-more:hover {
    color: var(--magenta);
}
.product-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.price {
    font-size: 13.5px;
    color: var(--muted-text);
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    font-family: var(--font-text);
}
.price-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--tinta);
    font-family: var(--font-titles);
}
.loop-btn-personalize {
    background-color: var(--magenta);
    color: #ffffff !important;
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radio-sm);
    text-transform: none;
    letter-spacing: 0.2px;
    transition: var(--transicion);
    box-shadow: var(--sombra-sm);
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.loop-btn-personalize:hover {
    background-color: #f70075 !important;
    box-shadow: var(--sombra-lg);
    transform: translateY(-2px);
}

/* Single Product Details */
.single-product-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    padding: 50px 0;
}
.single-product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.single-main-img {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--surface);
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.single-main-img img {
    max-height: 95%;
    max-width: 95%;
    object-fit: contain;
}
.gallery-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.gallery-thumb {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    transition: all 0.2s ease;
}
.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--primary);
}
.gallery-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Single Info Column */
.single-product-details {
    padding-top: 10px;
}
.single-p-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.single-p-price {
    font-size: 24px;
    font-weight: bold;
    color: #4ade80;
    margin-bottom: 20px;
}
.single-p-desc {
    font-size: 15px;
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 30px;
}
.single-meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.single-meta-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.single-meta-table td.meta-label {
    font-weight: 700;
    color: var(--primary);
    width: 35%;
}
.single-meta-table td.meta-val {
    color: var(--dark);
}

/* Single CTAs */
.single-ctas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.single-button-personalize {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: #fff !important;
    font-family: var(--font-titles);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(192, 26, 72, 0.3);
    transition: all 0.3s ease;
}
.single-button-personalize:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 26, 72, 0.4);
}

/* Confidence boxes on Product page */
.badges-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}
.badge-trust-item {
    text-align: center;
    background-color: var(--surface);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.badge-trust-item span {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}
.badge-trust-item p {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .trust-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-grid-layout {
        grid-template-columns: 1fr;
    }
    .single-product-grid {
        grid-template-columns: 1fr;
    }
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 10px 0;
    }
    .main-nav {
        display: none; /* Mobile menu handles this */
    }
    .mobile-nav-toggle {
        display: block;
    }
    .trust-bar .container {
        grid-template-columns: 1fr;
    }
    .grid-3x2 {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .hero h1 {
        font-size: 36px;
    }
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .products.columns-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   SWEATSHIRTS CATEGORY LANDING PAGE
   ========================================================================== */
.sudaderas-landing-container {
    width: 100%;
    margin-top: 10px;
    padding-bottom: 40px;
}
.sudaderas-landing-subtitle {
    font-family: var(--font-text);
    font-size: 17px;
    color: var(--muted-text);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.sudaderas-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.sudadera-landing-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sombra-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sudadera-landing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-lg);
    border-color: var(--magenta);
}
.sudadera-card-image {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.sudadera-card-image img {
    max-height: 92%;
    max-width: 92%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.sudadera-landing-card:hover .sudadera-card-image img {
    transform: scale(1.04);
}
.sudadera-card-info {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sudadera-card-info h2 {
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 22px;
    color: var(--tinta);
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.sudadera-card-info p {
    font-family: var(--font-text);
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-text);
    margin: 0 0 20px 0;
    flex-grow: 1;
}
.sudadera-card-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--magenta) !important;
    color: #ffffff !important;
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16,144,160,0.25);
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    margin-top: auto;
}
.sudadera-landing-card:hover .sudadera-card-button {
    background-color: var(--primary-dark, #b80054) !important;
    box-shadow: 0 6px 20px rgba(16,144,160,0.4);
}

@media (max-width: 991px) {
    .sudaderas-landing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 580px) {
    .sudaderas-landing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sudadera-card-info {
        padding: 20px;
    }
    .sudadera-card-info h2 {
        font-size: 20px;
    }
}

/* ==========================================================================
   FASE 3 - EVOLUCIÓN VISUAL (HOME PREMIUM)
   ========================================================================== */

/* 3.1 Hero — línea de confianza discreta (sustituye al rating inventado) */
.hero-trust {
    margin-top: 15px;
}

/* 3.2 Taller Propio Section */
.taller-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}
.taller-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.taller-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.taller-check {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--amarillo);
    flex-shrink: 0;
    margin-top: 2px;
}
.taller-item-text strong {
    display: block;
    font-family: var(--font-titles);
    font-size: 16.5px;
    color: #ffffff;
    margin-bottom: 5px;
}
.taller-item-text span {
    font-size: 14px;
    color: #c9d1d9;
    line-height: 1.4;
    display: block;
}
.taller-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
/* Placeholders de foto del taller — pendientes de fotos reales de Raúl.
   aspect-ratio fijo para evitar CLS al sustituirlos por <img>. */
.lic-ph-taller-1,
.lic-ph-taller-2,
.lic-ph-taller-3 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radio-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}
.lic-ph-label {
    font-size: 13px;
    color: #c9d1d9;
    font-family: var(--font-titles);
    letter-spacing: 0.3px;
}

/* 3.3 FAQ Accordion */
.faq-accordion-wrapper {
    max-width: 840px;
    margin: 0 auto;
}
.faq-details {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radio-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transicion);
}
.faq-details:hover {
    border-color: var(--tinta-suave);
    box-shadow: var(--sombra-sm);
}
.faq-summary {
    cursor: pointer;
    padding: 20px 24px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 17px;
    color: var(--tinta);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}
.faq-summary::-webkit-details-marker {
    display: none;
}
.faq-summary::after {
    content: "+";
    font-size: 24px;
    color: var(--magenta);
    font-weight: 700;
    transition: var(--transicion);
}
.faq-details[open] .faq-summary::after {
    content: "–";
}
.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--muted-text);
    font-size: 15px;
    line-height: 1.6;
}
.faq-answer p {
    margin: 0;
}

/* 3.4 Category visual enhancements */
.cat-visual {
    height: 220px;
    background-color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover .cat-img {
    transform: scale(1.05);
}
.cat-emoji {
    font-size: 50px;
}
.cat-body .desde b {
    color: var(--magenta);
}

/* 3.5 Techniques Table */
.techniques-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 40px;
    border-radius: var(--radio-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.techniques-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
    font-size: 15px;
}
.techniques-table th, .techniques-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.techniques-table th {
    background-color: var(--dark);
    color: #ffffff;
    font-family: var(--font-titles);
    font-weight: 700;
}
.techniques-table tr:last-child td {
    border-bottom: none;
}
.techniques-table tbody tr:hover {
    background-color: var(--surface);
}
.techniques-table td strong {
    color: var(--magenta);
}

/* 3.6 Occasions Cards with Image Zoom + Velo */
.grid-ocasiones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tarjeta-oca {
    position: relative;
    border-radius: var(--radio-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
    display: block;
}
.tarjeta-oca .foto {
    position: absolute;
    inset: 0;
    padding: 0;
    background: none;
    width: 100%;
    height: 100%;
}
.tarjeta-oca .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.tarjeta-oca:hover .foto img {
    transform: scale(1.06);
}
.tarjeta-oca .velo {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(16, 16, 24, 0.95) 0%, rgba(16, 16, 24, 0.4) 70%, transparent 100%);
    padding: 45px 24px 20px;
    color: #ffffff;
    z-index: 2;
    transition: var(--transicion);
}
.tarjeta-oca h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: var(--font-titles);
}
.tarjeta-oca span {
    font-size: 13.5px;
    color: #D9D9E6;
    line-height: 1.4;
    display: block;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .taller-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .grid-ocasiones {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .techniques-table th, .techniques-table td {
        padding: 12px 14px;
        font-size: 13.5px;
    }
}
@media (max-width: 576px) {
    .taller-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .grid-ocasiones {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CATÁLOGO CON FILTROS (barra lateral izquierda) — archive-product.php
   ========================================================================== */
.shop-with-filters {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 36px;
    align-items: start;
}
.shop-filters {
    position: sticky;
    top: 90px;
}
.shop-filters-toggle { display: none; }
.shop-filter-widget {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.shop-filter-widget:last-child { border-bottom: none; }
.shop-filters-inner {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px;
}
.shop-filter-title {
    font-family: var(--font-titles);
    font-size: 12.5px;
    font-weight: 700;
    color: #8a8a95;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* CATEGORÍA (lista de navegación: item activo con pastilla magenta) */
.filter-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.filter-cat-item a { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--dark); text-decoration: none; padding: 8px 11px; border-radius: 9px; transition: background .15s ease, color .15s ease; }
.filter-cat-item a:hover { background: #f3f4f8; color: var(--magenta); }
.filter-cat-item.is-checked a { background: #fce7f1; color: var(--magenta); font-weight: 700; }
.filter-check { display: inline-block; box-sizing: border-box; width: 10px; height: 10px; min-width: 10px; border-radius: 50%; background: #cfcfd6; flex: none; transition: background .15s ease; }
.filter-cat-item a:hover .filter-check, .filter-cat-item.is-checked .filter-check { background: var(--magenta); }
.filter-cat-label { line-height: 1.2; }

/* POR COLOR (swatches) */
.filter-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.filter-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.filter-swatch.is-light { box-shadow: 0 0 0 1px #d5d5dd; }
.filter-swatch:hover { transform: scale(1.12); }
.filter-swatch.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--magenta); }

/* POR TALLA (botones) */
.filter-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.filter-size { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--border); border-radius: 9px; font-family: var(--font-titles); font-size: 14px; font-weight: 600; color: var(--dark); text-decoration: none; transition: all .15s ease; }
.filter-size:hover { border-color: var(--magenta); color: var(--magenta); }
.filter-size.is-active { background: var(--magenta); color: #fff; border-color: var(--magenta); }

/* POR MARCA (fabricante) */
.filter-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--dark); text-decoration: none; padding: 7px 13px; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; transition: all .15s ease; }
.filter-brand:hover { border-color: var(--magenta); color: var(--magenta); }
.filter-brand.is-active { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.filter-brand-count { font-size: 11px; opacity: .7; font-weight: 700; }

.filter-clear { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--magenta); font-weight: 600; text-decoration: underline; }

/* Desplegable de color (para no ocupar mucho espacio) */
.filter-color-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.filter-color-details summary::-webkit-details-marker { display: none; }
.filter-toggle-title { margin-bottom: 0; }
.filter-toggle-title::after { content: "▾"; font-size: 11px; color: #8a8a95; transition: transform .2s ease; margin-left: auto; }
.filter-color-details[open] .filter-toggle-title::after { transform: rotate(180deg); }
.filter-color-details .filter-swatches { margin-top: 14px; }
.filter-count { font-weight: 400; color: #b6b6be; letter-spacing: 0; }

/* Estados deshabilitados (sin productos en la categoría todavía) */
.filter-swatch.is-disabled { opacity: .3; pointer-events: none; cursor: default; }
.filter-size.is-disabled { color: #c2c2ca; border-color: #ececf0; background: #fafafb; pointer-events: none; cursor: default; }
.shop-filters ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.shop-filters ul li { margin: 0; }
.shop-filters ul li a {
    display: inline-block;
    padding: 3px 0;
    font-size: 14.5px;
    color: var(--muted-text);
    text-decoration: none;
    transition: color .2s ease;
}
.shop-filters ul li a:hover { color: var(--magenta); }
.shop-filters ul li.chosen > a,
.shop-filters ul li.woocommerce-widget-layered-nav-list__item--chosen > a {
    color: var(--magenta);
    font-weight: 700;
}
.shop-filters ul li.chosen > a::before,
.shop-filters ul li.woocommerce-widget-layered-nav-list__item--chosen > a::before {
    content: "✕ ";
    color: var(--magenta);
}
.shop-filters .count { color: #a2a2ad; font-size: 12.5px; }

/* Precio (slider de WooCommerce) */
.shop-filters .price_slider_wrapper { margin-top: 4px; }
.shop-filters .price_slider_amount {
    font-size: 13px;
    color: var(--muted-text);
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.shop-filters .price_slider_amount .button {
    background: var(--magenta);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    align-self: flex-start;
}
.shop-filters .ui-slider {
    background: #e3e4ec;
    height: 5px;
    border-radius: 4px;
    position: relative;
    margin: 14px 0 4px;
}
.shop-filters .ui-slider .ui-slider-range {
    background: var(--magenta);
    height: 5px;
    position: absolute;
    border-radius: 4px;
}
.shop-filters .ui-slider .ui-slider-handle {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--magenta);
    border-radius: 50%;
    position: absolute;
    top: -6px;
    margin-left: -8px;
    cursor: grab;
}

/* Con sidebar, la rejilla pasa a 2 columnas antes para no apretarse */
@media (max-width: 1200px) {
    .shop-with-filters .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 991px) {
    .shop-with-filters {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .shop-filters {
        position: static;
        margin-bottom: 24px;
    }
    .shop-filters-toggle {
        display: block;
        width: 100%;
        background: var(--dark);
        color: #fff;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-family: var(--font-titles);
        font-weight: 700;
        font-size: 15px;
        cursor: pointer;
        margin-bottom: 16px;
    }
    .shop-filters-inner { display: none; }
    .shop-filters.is-open .shop-filters-inner { display: block; }
}

/* ── Personalizador a PANTALLA COMPLETA (sin cabecera/pie del tema, que se solapaban) ── */
body.lic-configurador-full .ct-header,
body.lic-configurador-full header.ct-header,
body.lic-configurador-full .ct-footer,
body.lic-configurador-full footer.ct-footer,
body.lic-configurador-full .ct-breadcrumbs { display: none !important; }
body.lic-configurador-full #main-container,
body.lic-configurador-full .ct-container { padding-top: 0 !important; padding-bottom: 0 !important; max-width: none !important; }
body.lic-configurador-full .entry-content { margin: 0 !important; padding: 0 !important; max-width: none !important; }
