/*
Theme Name: Tinta Raíz
Theme URI: https://tintaraiz.com
Author: Antigravity AI
Author URI: https://tintaraiz.com
Description: Un tema a medida y elegante para Tinta Raíz, tienda de grabados artesanales en camisetas. Ofrece un catálogo interactivo con variaciones de productos, optimizado y compatible con WooCommerce.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tintaraiz
Tags: e-commerce, custom-colors, two-columns, responsive-layout, craft-aesthetic
*/

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-base: #F8F6F0;       /* Warm cream / off-white background */
    --color-bg-alt: #F1EEE6;        /* Secondary slightly darker cream */
    --color-text-main: #1F1F1F;     /* Deep charcoal block print ink */
    --color-text-muted: #5E5A54;    /* Soft charcoal for secondary text */
    --color-accent: #8A6E9F;        /* Muted organic purple/lavender from logo */
    --color-accent-hover: #735787;  /* Darker shade of lavender */
    --color-accent-light: #F2EDF7;  /* Very light lavender for tags/highlights */
    --color-border: #D2CBBF;        /* Soft earthy border color */
    --color-white: #FFFFFF;
    --color-success: #4A7C59;
    
    /* Typography */
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 4px;           /* Organic sharp-yet-soft corners */
    --border-radius-lg: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-micro: all 0.15s ease-out;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(94, 90, 84, 0.06);
    --shadow-medium: 0 8px 30px rgba(94, 90, 84, 0.1);
}

/* ==========================================================================
   Base Resets & Global Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-micro);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
    letter-spacing: 0.02em;
}

/* Typography Helpers */
.text-serif { font-family: var(--font-heading); }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* Layout Wrapper */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacer */
.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border-color: var(--color-text-main);
}

.btn-secondary:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Form Controls */
select, input[type="number"], input[type="text"] {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    color: var(--color-text-main);
    outline: none;
    transition: var(--transition-micro);
}

select:focus, input[type="number"]:focus, input[type="text"]:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px var(--color-accent-light);
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.site-header {
    background-color: var(--color-bg-base);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 10px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1500px;
    gap: 48px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 50px !important;
    width: 50px !important;
    object-fit: contain !important;
    border-radius: 50%;
    flex-shrink: 0;
}

.site-title-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 0.9;
    color: var(--color-text-main);
    letter-spacing: 0.05em;
}

.site-navigation ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.site-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 8px 0;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-micro);
}

.site-navigation a:hover::after,
.site-navigation li.current-menu-item a::after {
    width: 100%;
}

/* Icono de Carrito */
.site-navigation a[href*="cart"],
.site-navigation a[href*="carrito"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-navigation a[href*="cart"]::before,
.site-navigation a[href*="carrito"]::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Badge de conteo del Carrito */
.cart-count-badge {
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(138, 110, 159, 0.25);
    animation: cart-badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cart-badge-pop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Icono de Mi Cuenta */
.site-navigation a[href*="my-account"],
.site-navigation a[href*="mi-cuenta"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-navigation a[href*="my-account"]::before,
.site-navigation a[href*="mi-cuenta"]::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Destacar Checkout / Finalizar Compra como CTA */
.site-navigation a[href*="checkout"],
.site-navigation a[href*="finalizar-compra"] {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-navigation a[href*="checkout"]::before,
.site-navigation a[href*="finalizar-compra"]::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.site-navigation a[href*="checkout"]::after,
.site-navigation a[href*="finalizar-compra"]::after {
    display: none !important;
}
.site-navigation a[href*="checkout"]:hover,
.site-navigation a[href*="finalizar-compra"]:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 110, 159, 0.25);
}

/* Responsividad en pantallas medianas / intermedias (Escritorio / Tablet horizontal) */
@media (max-width: 1200px) {
    .site-navigation ul {
        gap: 20px;
    }
    .site-title-text {
        font-size: 1.25rem;
    }
}
@media (max-width: 1024px) {
    .site-navigation ul {
        gap: 12px;
    }
    .site-navigation a {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }
    .site-title-text {
        font-size: 1.1rem;
    }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    margin-bottom: 5px;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle span:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .header-container {
        height: auto;
        min-height: 72px;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 16px;
    }
    .site-logo {
        flex-shrink: 1;
        min-width: 0;
        gap: 8px;
    }
    .site-logo a {
        flex-shrink: 1;
        min-width: 0;
    }
    .site-logo img {
        height: 40px !important;
        width: 40px !important;
    }
    .site-title-text {
        font-size: 1rem;
        line-height: 1.1;
        white-space: normal;
    }
    .site-navigation {
        display: none; /* Can be enhanced with interactive mobile menu toggle later */
    }
    .mobile-nav-toggle {
        display: block;
    }
}

/* ==========================================================================
   Hero Section & Home Elements
   ========================================================================== */
.hero-section {
    background-color: var(--color-bg-base);
    min-height: 560px;
    padding: 42px 0 54px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.hero-carousel,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-carousel {
    z-index: 0;
}

.hero-slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    z-index: 1;
    transform: scale(1.08);
    transition: opacity 1500ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 6000ms cubic-bezier(0.1, 0.8, 0.25, 1);
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.hero-slide.is-prev {
    opacity: 0;
    z-index: 1;
    transform: scale(1.08);
    transition: opacity 1500ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 6000ms cubic-bezier(0.1, 0.8, 0.25, 1);
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(246, 242, 235, 0.2), rgba(246, 242, 235, 0.82) 30%, rgba(246, 242, 235, 0.88) 50%, rgba(246, 242, 235, 0.82) 70%, rgba(246, 242, 235, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 690px;
    margin: 0 auto;
}

.hero-logo-container {
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
}

.hero-logo-container img {
    max-width: 170px;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.hero-logo-container img:hover {
    transform: rotate(5deg) scale(1.05);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 26px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 520px;
        padding: 36px 0 44px;
    }
    .hero-slide {
        background-position: 22% center;
    }
    .hero-overlay {
        background: rgba(246, 242, 235, 0.78);
    }
    .hero-logo-container img {
        max-width: 132px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-title p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Craft/Process Highlight Section */
.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.craft-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.craft-content p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.craft-image {
    position: relative;
}

.craft-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.craft-carousel {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.craft-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    z-index: 1;
    transform: scale(1.15) translateX(40px);
    transition: opacity 1200ms cubic-bezier(0.25, 1, 0.5, 1),
                transform 1200ms cubic-bezier(0.25, 1, 0.5, 1);
}

.craft-slide.is-active {
    opacity: 1;
    z-index: 2;
    transform: scale(1) translateX(0);
}

.craft-slide.is-prev {
    opacity: 0;
    z-index: 1;
    transform: scale(0.95) translateX(-40px);
    transition: opacity 1200ms cubic-bezier(0.25, 1, 0.5, 1),
                transform 1200ms cubic-bezier(0.25, 1, 0.5, 1);
}

.craft-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    padding: 16px 24px;
    border: 1px dashed var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .craft-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .craft-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }
}

/* ==========================================================================
/* ==========================================================================
   Product Grid & Cards (Shop Catalog)
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px; /* Slightly more rounded for premium feel */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(94, 90, 84, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(94, 90, 84, 0.12);
    border-color: var(--color-accent);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0) 60%, rgba(31, 31, 31, 0.02) 100%);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    letter-spacing: 0.05em;
    border-radius: 2px;
    z-index: 10;
}

.product-card-badge-outofstock {
    background-color: #c53929 !important;
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-weight: 600;
    opacity: 0.8;
}

.product-card-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text-main);
}

.product-card-title a {
    transition: color 0.3s ease;
}

.product-card-title a:hover {
    color: var(--color-accent);
}

.product-card-price {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-accent); /* Highlight price with accent color */
}

.product-card-price del {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 6px;
    opacity: 0.7;
}

.product-card-price ins {
    text-decoration: none;
    font-weight: 700;
}

.product-card-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.8rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    text-align: center;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    transition: var(--transition-micro);
}

.product-card-btn:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    border-color: var(--color-text-main);
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .product-card-content {
        padding: 12px !important;
    }
    .product-card-title {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }
    .product-card-price {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    .product-card .add_to_cart_button,
    .product-card .button,
    .product-card .added_to_cart {
        font-size: 0.72rem !important;
        padding: 8px 10px !important;
        min-height: 38px !important;
    }
    .product-card-detail-link {
        font-size: 0.65rem !important;
    }
}

/* Catalog Layout Page */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

.shop-sidebar {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--border-radius);
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget-menu {
    list-style: none;
}

.widget-menu li {
    margin-bottom: 10px;
}

.widget-menu a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.widget-menu a:hover,
.widget-menu li.current-cat a {
    color: var(--color-accent);
    font-weight: 600;
}

/* ==========================================================================
   Single Product Page Layout
   ========================================================================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Left Column: Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-gallery-main {
    aspect-ratio: 1;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 10px;
}

.product-gallery-thumb {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-bg-base);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-micro);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border-color: var(--color-accent);
    color: var(--color-text-main);
    box-shadow: 0 0 0 2px var(--color-accent-light);
}

.product-gallery-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 2px;
}

.product-gallery-thumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Right Column: Meta details */
.product-info-panel {
    display: flex;
    flex-direction: column;
}

.product-category-link {
    color: var(--color-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.product-info-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.product-info-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-status-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}

.product-status-tag.in-stock {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
}

.product-status-tag.out-stock {
    background-color: #fce8e6;
    color: #c53929;
}

.product-info-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

/* Variations Selector Styling */
.product-variations {
    margin-bottom: 30px;
}

.variation-group {
    margin-bottom: 20px;
}

.variation-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.swatch-option {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-micro);
    user-select: none;
}

.swatch-option:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.swatch-option.selected {
    border-color: var(--color-text-main);
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
}

/* Quantity selector */
.quantity-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    overflow: hidden;
}

.quantity-btn {
    border: none;
    background: none;
    font-size: 1.2rem;
    font-weight: 600;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-micro);
}

.quantity-btn:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-text-main);
}

.quantity-input {
    width: 44px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-weight: 700;
    padding: 6px 0;
    outline: none;
}

/* Actions */
.product-add-to-cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-notice {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-info h4 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--color-bg-base);
}

.footer-info p {
    color: #B5B2AB;
    font-size: 0.9rem;
    margin-bottom: 16px;
    max-width: 380px;
}

.footer-links h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.85rem;
    color: #B5B2AB;
}

.footer-links a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    border-top: 1px solid #33312D;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #B5B2AB;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icons img {
    height: 24px;
    opacity: 0.7;
    transition: var(--transition-micro);
}

.payment-icons img:hover {
    opacity: 1;
}

/* ==========================================================================
   Custom Meta Box Admin Interface Styles
   ========================================================================== */
.tintaraiz-meta-field {
    margin-bottom: 16px;
}

.tintaraiz-meta-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.tintaraiz-meta-field input[type="text"],
.tintaraiz-meta-field input[type="number"],
.tintaraiz-meta-field select {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tintaraiz-meta-field p.description {
    font-style: italic;
    color: #666;
    margin-top: 4px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section Enhancements (SEO brand & descriptive title separation)
   ========================================================================== */
.hero-brand {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    color: var(--color-text-main);
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-section h1.hero-title {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 22px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .hero-brand {
        font-size: 2.45rem;
    }
    .hero-section h1.hero-title {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   Single Product Rich Tabs & Extra Details
   ========================================================================== */
.product-extra-details {
    width: 100%;
    clear: both;
}

.tabs-nav-wrapper {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 35px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    min-width: max-content;
    padding-bottom: 1px;
    margin: 0 auto;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    padding: 12px 10px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-micro);
}

.tab-btn:hover {
    color: var(--color-accent);
}

.tab-btn.active {
    color: var(--color-text-main);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
}

@media (max-width: 768px) {
    .tabs-nav {
        justify-content: flex-start;
        gap: 15px;
        padding: 0 10px 10px 10px;
    }
    .tab-btn {
        font-size: 0.9rem;
    }
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab: Details & Tech Specifications */
.details-tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.details-section {
    margin-bottom: 25px;
}

.details-section h3 {
    font-size: 1.3rem;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.details-list {
    list-style: none;
    padding-left: 0;
}

.details-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.care-box {
    background-color: var(--color-bg-alt);
    border-left: 3px solid var(--color-accent);
    padding: 15px 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.details-measurements-col h3 {
    font-size: 1.3rem;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.measurements-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.measurements-table th, .measurements-table td {
    border: 1px solid var(--color-border);
    padding: 10px 12px;
    text-align: center;
    font-size: 0.9rem;
}

.measurements-table th {
    background-color: var(--color-bg-alt);
    font-family: var(--font-heading);
    font-weight: 700;
}

.measurements-table tbody tr:nth-child(even) {
    background-color: rgba(241, 238, 230, 0.4);
}

.custom-measurements-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .details-tab-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Tab: Shipping & Returns Info Cards */
.shipping-tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.shipping-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.shipping-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
}

.shipping-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.shipping-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .shipping-tab-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tab: Linocut Craft Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31px;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 15px;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--color-bg-base);
}

.timeline-content {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Tab: FAQs Accordion style */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--color-accent);
}

.faq-question {
    padding: 18px 24px;
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--color-text-main);
    transition: var(--transition-micro);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-toggle-icon {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-bg-alt);
    border-top: 0 solid var(--color-border);
}

.faq-answer p {
    padding: 20px 24px;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    border-top-width: 1px;
}

/* Tab: Reviews Rating Dashboard & Card Grid */
.reviews-dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.rating-summary {
    text-align: center;
    border-right: 1px solid var(--color-border);
    padding-right: 40px;
}

.rating-num {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-main);
}

.rating-count {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.rating-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.progress-bar-bg {
    background-color: var(--color-border);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    background-color: #FFC107;
    height: 100%;
    border-radius: 3px;
}

.reviews-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.review-stars {
    color: #FFC107;
    font-size: 1.05rem;
}

.review-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-main);
}

.verified-badge {
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #eaf2eb;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .reviews-dashboard {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .rating-summary {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 25px;
    }
}

/* ==========================================================================
   WooCommerce Purchase, Cart & Checkout
   ========================================================================== */
.woocommerce-product-purchase {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.woocommerce-product-purchase form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.woocommerce-product-purchase form.variations_form {
    display: block;
}

.woocommerce-product-purchase table.variations {
    width: 100%;
    margin-bottom: 18px;
    border-collapse: collapse;
}

.woocommerce-product-purchase table.variations th,
.woocommerce-product-purchase table.variations td {
    display: block;
    padding: 0;
    text-align: left;
}

.woocommerce-product-purchase table.variations label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.woocommerce-product-purchase table.variations select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    color: var(--color-text-main);
    padding: 10px 12px;
    font: inherit;
}

.woocommerce-product-purchase .quantity .qty {
    width: 76px;
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 700;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page #respond input#submit {
    border: 1px solid var(--color-text-main);
    border-radius: var(--border-radius);
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    padding: 12px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition-micro);
    display: inline-block;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.woocommerce-page #respond input#submit:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Bulletproof styles for WooCommerce product loop buttons inside product cards */
.product-card .add_to_cart_button,
.product-card .product_type_simple,
.product-card .product_type_variable,
.product-card .button,
.product-card .added_to_cart {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 44px !important;
    margin: 8px 0 0 0 !important;
    padding: 10px 16px !important;
    background-color: var(--color-text-main) !important;
    color: var(--color-bg-base) !important;
    border: 1px solid var(--color-text-main) !important;
    border-radius: var(--border-radius) !important;
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
}

.product-card .add_to_cart_button:hover,
.product-card .product_type_simple:hover,
.product-card .product_type_variable:hover,
.product-card .button:hover {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-white) !important;
    box-shadow: 0 4px 12px rgba(138, 110, 159, 0.15) !important;
}

/* AJAX Add to cart loading state */
.product-card .add_to_cart_button.loading {
    opacity: 0.75 !important;
}

.product-card .add_to_cart_button.loading::after {
    content: "" !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    margin-left: 8px !important;
    border: 2px solid var(--color-bg-base) !important;
    border-top-color: transparent !important;
    border-radius: 50% !important;
    animation: spin-button 0.6s linear infinite !important;
}

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

/* WooCommerce "Ver Carrito" link that appears after add-to-cart */
.product-card .added_to_cart {
    background-color: var(--color-bg-alt) !important;
    color: var(--color-text-main) !important;
    border-color: var(--color-border) !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
}

.product-card .added_to_cart:hover {
    background-color: var(--color-text-main) !important;
    color: var(--color-bg-base) !important;
    border-color: var(--color-text-main) !important;
}

.product-card-detail-link {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.product-card-detail-link:hover {
    color: var(--color-accent);
}

.product-info-price .stock {
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background-color: #eaf2eb;
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info-price .stock.out-of-stock {
    background-color: #f8e7e3;
    color: #c53929;
}

.product-secondary-contact {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
    border-top-color: var(--color-accent);
    background-color: var(--color-bg-alt);
    color: var(--color-text-main);
    border-radius: var(--border-radius);
    line-height: 1.5;
}

.woocommerce-cart table.cart,
.woocommerce-checkout-review-order-table,
.woocommerce table.shop_table {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-top-color: var(--color-border);
    padding: 14px;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 22px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom-color: var(--color-border);
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--color-white);
    color: var(--color-text-main);
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--color-white);
}

@media (max-width: 768px) {
    .woocommerce-product-purchase form.cart {
        display: grid;
        grid-template-columns: 1fr;
    }

    .woocommerce-product-purchase .quantity .qty,
    .woocommerce-product-purchase .single_add_to_cart_button {
        width: 100%;
    }
}

/* ==========================================================================
   Modern Blog Listing & Archive Layout
   ========================================================================== */
.container-narrow {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero {
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 80px 0;
    margin-bottom: 60px;
}

.blog-hero-title {
    font-size: 3.2rem;
    color: var(--color-text-main);
    margin-bottom: 16px;
    line-height: 1.1;
}

.blog-hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 50px 0;
        margin-bottom: 40px;
    }
    .blog-hero-title {
        font-size: 2.2rem;
    }
    .blog-hero-description {
        font-size: 1rem;
    }
}

/* Grid layout for cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Blog Cards */
.blog-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.blog-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card-badge-wrapper {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 10;
}

.category-badge {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    letter-spacing: 0.05em;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(138, 110, 159, 0.15);
    transition: var(--transition-micro);
}

.category-badge:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-1px);
}

.fallback-placeholder-bg {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-alt);
}

/* Card Body */
.blog-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-divider {
    opacity: 0.5;
}

.blog-card-title {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-bottom: 14px;
    font-weight: 700;
}

.blog-card-title a {
    color: var(--color-text-main);
    transition: var(--transition-micro);
}

.blog-card-title a:hover {
    color: var(--color-accent);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card-readmore {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.blog-card-readmore i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.blog-card-readmore:hover {
    color: var(--color-accent);
}

.blog-card-readmore:hover i {
    transform: translateX(4px);
}

/* Modernized Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 60px;
}

.blog-pagination .nav-links {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    background-color: var(--color-white);
    transition: var(--transition-micro);
}

.blog-pagination .page-numbers.current {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    border-color: var(--color-text-main);
}

.blog-pagination .page-numbers:hover:not(.current) {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: var(--color-bg-alt);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    padding: 0 18px;
    gap: 8px;
}

.blog-pagination .page-numbers.prev i,
.blog-pagination .page-numbers.next i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

/* ==========================================================================
   Single Post Detail Reading Layout
   ========================================================================== */
.single-post-main {
    background-color: var(--color-bg-base);
}

.single-article-wrapper {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 70px 80px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 992px) {
    .single-article-wrapper {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .single-article-wrapper {
        padding: 35px 20px;
    }
}

.single-post-title {
    font-size: 3.4rem;
    line-height: 1.15;
    color: var(--color-text-main);
    margin-bottom: 24px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .single-post-title {
        font-size: 2.2rem;
    }
}

.single-post-header {
    margin-bottom: 35px;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.88rem;
    font-family: var(--font-body);
}

.meta-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.meta-author-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.meta-date, .meta-read-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-date i, .meta-read-time i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.single-post-thumbnail {
    position: relative;
}

.featured-post-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.thumbnail-caption {
    font-size: 0.85rem;
    font-style: italic;
}

/* Scroll reading progress bar style */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 2000;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--color-accent);
    box-shadow: 0 1px 6px rgba(138, 110, 159, 0.4);
    transition: width 0.1s ease-out;
}

/* Reading Typography for Post content */
.text-serif-body {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.85;
    color: var(--color-text-main);
}

.text-serif-body p {
    margin-bottom: 1.8em;
}

.text-serif-body h2, .text-serif-body h3, .text-serif-body h4 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    font-weight: 700;
    line-height: 1.3;
}

.text-serif-body h2 { font-size: 1.9rem; }
.text-serif-body h3 { font-size: 1.55rem; }
.text-serif-body h4 { font-size: 1.3rem; }

.text-serif-body blockquote {
    position: relative;
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    padding: 12px 0 12px 28px;
    margin: 2.5em 0;
    border-left: 4px solid var(--color-accent);
}

.text-serif-body blockquote::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 8px;
    font-size: 4.5rem;
    font-family: Georgia, serif;
    color: var(--color-accent-light);
    line-height: 1;
    z-index: -1;
    opacity: 0.7;
}

.text-serif-body ul, .text-serif-body ol {
    margin-bottom: 1.8em;
    padding-left: 24px;
}

.text-serif-body li {
    margin-bottom: 0.6em;
}

.text-serif-body img {
    border-radius: var(--border-radius-lg);
    margin: 2.2em 0;
    box-shadow: var(--shadow-soft);
}

.text-serif-body figure {
    margin: 2.6em 0;
}

.text-serif-body figcaption {
    text-align: center;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    font-style: italic;
}

/* Author Biography box styles */
.author-bio-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    margin-top: 60px;
    padding: 35px;
}

@media (max-width: 576px) {
    .author-bio-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 28px 20px;
    }
}

.author-bio-avatar {
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.author-bio-info {
    flex-grow: 1;
}

.author-bio-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.author-bio-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-bio-name a {
    color: var(--color-text-main);
    transition: var(--transition-micro);
}

.author-bio-name a:hover {
    color: var(--color-accent);
}

.author-bio-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Post tags list style */
.post-tags-list {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.post-tags-list span {
    font-weight: 700;
    color: var(--color-text-main);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    margin-right: 8px;
}

.post-tags-list a {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition-micro);
}

.post-tags-list a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Post navigation (Next/Prev Cards) */
.post-navigation-wrapper {
    border-top: 1px dashed var(--color-border);
    padding-top: 50px;
}

.post-nav-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.post-nav-row > div {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 768px) {
    .post-nav-row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.post-nav-card {
    display: block;
    height: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 24px 28px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.post-nav-card:hover {
    border-color: var(--color-accent);
    background-color: var(--color-bg-alt);
    transform: translateY(-2px);
}

.post-nav-meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.post-nav-meta i {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1.1;
}

.post-nav-title {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-text-main);
    transition: color 0.15s ease;
}

.post-nav-card:hover .post-nav-title {
    color: var(--color-accent);
}

/* ==========================================================================
   Comments Section Estilos
   ========================================================================== */
.post-comments-section {
    border-top: 1px dashed var(--color-border);
}

.comments-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 35px;
}

.comment-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 50px;
}

.comment-list li.comment {
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
}

.comment-list li.comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
}

.comment-meta {
    font-family: var(--font-body);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.comment-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.comment-author img.avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.comment-metadata {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.comment-content {
    grid-column: 2;
    font-size: 0.98rem;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 1em;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    grid-column: 2;
    margin-top: 12px;
}

.reply a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 5px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition-micro);
}

.reply a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.comment-respond {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.comment-form p {
    margin-bottom: 18px;
}

.comment-form label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition-micro);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px var(--color-accent-light);
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    border: none;
    border-radius: var(--border-radius);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.comment-form input[type="submit"]:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Product Carousel CTA Banner
   ========================================================================== */
.cta-product-carousel-wrapper {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 30px;
    margin: 45px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.carousel-cta-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-text-main);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.cta-product-carousel {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.cta-product-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.cta-product-card {
    flex: 0 0 calc(33.333% - 14px); /* 3 cards visible */
    scroll-snap-align: start;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cta-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

@media (max-width: 900px) {
    .cta-product-card {
        flex: 0 0 calc(50% - 10px); /* 2 cards */
    }
}

@media (max-width: 600px) {
    .cta-product-card {
        flex: 0 0 100%; /* 1 card */
    }
}

.cta-product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.cta-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cta-product-card:hover .cta-product-image img {
    transform: scale(1.04);
}

.cta-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.cta-product-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-product-title a {
    color: var(--color-text-main);
}

.cta-product-title a:hover {
    color: var(--color-accent);
}

.cta-product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.btn-cta-product {
    margin-top: auto;
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-cta-product:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: var(--shadow-soft);
    color: var(--color-text-main);
    transition: var(--transition-micro);
}

.carousel-nav-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.carousel-nav-btn.prev {
    left: -20px;
}

.carousel-nav-btn.next {
    right: -20px;
}

@media (max-width: 992px) {
    .carousel-nav-btn.prev {
        left: -10px;
    }
    .carousel-nav-btn.next {
        right: -10px;
    }
}

.carousel-nav-btn i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}

@media (max-width: 600px) {
    .carousel-nav-btn {
        display: none; /* Swipe natively */
    }
    .cta-product-carousel-wrapper {
        padding: 24px 16px;
    }
}

/* Custom WooCommerce Checkout: Make PSE payment method icon larger and more visible */
.woocommerce-checkout #payment ul.payment_methods li.payment_method_woo-mercado-pago-pse label img,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_wompi_pse label img,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_woo-mercado-pago-pse img,
.woocommerce-checkout #payment ul.payment_methods li img[src*="pse" i],
.woocommerce-checkout #payment ul.payment_methods li img[alt*="pse" i] {
    max-height: 48px !important;
    height: 48px !important;
    width: auto !important;
    max-width: 100px !important;
    vertical-align: middle !important;
    float: right !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    padding: 4px !important;
    margin: -12px 0 -12px 10px !important;
    transition: transform 0.2s ease-in-out !important;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method_woo-mercado-pago-pse label img:hover,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_wompi_pse label img:hover {
    transform: scale(1.08) !important;
}

/* Ensure the label has enough height and vertical alignment to look balanced with the larger icon */
.woocommerce-checkout #payment ul.payment_methods li.payment_method_woo-mercado-pago-pse label,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_wompi_pse label {
    display: block !important;
    line-height: 24px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* ==========================================================================
   Acerca de Nosotros - Custom Premium Redesign
   ========================================================================== */
.about-us-custom-page {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
}

/* Hero Section */
.about-hero {
    background-color: var(--color-bg-alt);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   MycoVida Landing Refresh
   ========================================================================== */
:root {
    --color-bg-base: #fbfaf5;
    --color-bg-alt: #f3efe5;
    --color-text-main: #13351f;
    --color-text-muted: #39493f;
    --color-accent: #385c27;
    --color-accent-hover: #28431c;
    --color-accent-light: #e9ecd9;
    --color-border: #ded6c5;
    --color-white: #fffefa;
    --color-success: #385c27;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --container-width: 1280px;
    --shadow-soft: 0 8px 24px rgba(41, 50, 31, 0.08);
    --shadow-medium: 0 18px 45px rgba(41, 50, 31, 0.13);
}

body {
    background: var(--color-bg-base);
    color: var(--color-text-main);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
}

.site-header {
    background: rgba(251, 250, 245, 0.96);
    border-bottom: 1px solid rgba(222, 214, 197, 0.75);
    box-shadow: 0 2px 16px rgba(19, 53, 31, 0.04);
    backdrop-filter: blur(14px);
}

.top-bar {
    display: none;
}

.header-container {
    height: 96px;
    max-width: 1280px;
    gap: 30px;
}

.site-logo {
    gap: 10px;
}

.site-logo img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 0;
    box-shadow: none;
}

.site-title-text {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.82;
}

.site-title-text::after {
    content: 'Bienestar natural';
    display: block;
    font-family: var(--font-body);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #64704b;
    margin-top: 6px;
}

.site-navigation ul {
    gap: 34px;
}

.site-navigation a {
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
    color: #142f1c;
}

.site-navigation a::after {
    background: #d8a646;
}

.myco-cart-menu-item a::after,
.myco-buy-menu-item a::after {
    display: none !important;
}

.myco-cart-menu-item a {
    position: relative;
    padding: 9px 4px;
}

.myco-cart-icon {
    display: inline-block;
    width: 29px;
    height: 29px;
    border: 2px solid currentColor;
    border-radius: 0 0 7px 7px;
    position: relative;
}

.myco-cart-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 9px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    top: -10px;
    left: 6px;
}

.myco-cart-menu-item .cart-count-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--color-accent);
}

.myco-buy-menu-item a {
    background: var(--color-accent);
    color: #fffefa !important;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 7px;
    box-shadow: 0 12px 22px rgba(56, 92, 39, 0.18);
}

.myco-buy-menu-item a:hover {
    background: var(--color-accent-hover);
    color: #fffefa !important;
    transform: translateY(-1px);
}

.btn {
    min-height: 54px;
    border-radius: 7px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0 28px;
}

.btn-primary {
    background: var(--color-accent);
    color: #fffefa;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fffefa;
}

.btn-secondary {
    background: rgba(255, 254, 250, 0.76);
    border-color: #9b9d87;
    color: var(--color-text-main);
}

.btn-secondary:hover {
    background: #fffefa;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.myco-home {
    background:
        radial-gradient(circle at 12% 10%, rgba(217, 166, 70, 0.1), transparent 22%),
        linear-gradient(180deg, #fbfaf5 0%, #f8f5ed 100%);
}

.myco-hero {
    min-height: 520px;
    padding: 60px 0 58px;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(251, 250, 245, 0.96) 0%, rgba(251, 250, 245, 0.88) 42%, rgba(238, 232, 216, 0.6) 100%),
        radial-gradient(circle at 82% 34%, rgba(106, 125, 67, 0.22), transparent 28%);
}

.myco-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    align-items: center;
    gap: 42px;
}

.myco-hero-copy h1 {
    max-width: 610px;
    margin: 0 0 22px;
    font-size: clamp(3.2rem, 5.3vw, 5.7rem);
    line-height: 0.88;
    color: #0f3420;
}

.myco-hero-copy h1::after,
.myco-section-title h2::after {
    content: '';
    display: block;
    width: 86px;
    height: 3px;
    margin-top: 22px;
    background: #d6a64c;
}

.myco-hero-copy p {
    max-width: 500px;
    color: #26392d;
    font-size: 1.3rem;
    line-height: 1.42;
    margin-bottom: 28px;
}

.myco-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px;
}

.myco-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #4f604f;
    font-size: 0.9rem;
}

.myco-hero-note::before {
    content: '';
    width: 17px;
    height: 17px;
    display: inline-block;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 21c8-1 14-7 14-16-9 0-15 6-16 14'/%3E%3Cpath d='M9 15c2-1 4-3 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 21c8-1 14-7 14-16-9 0-15 6-16 14'/%3E%3Cpath d='M9 15c2-1 4-3 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.myco-hero-note span {
    width: 4px;
    height: 4px;
    background: #d6a64c;
    border-radius: 50%;
}

.myco-hero-stage {
    min-height: 430px;
    position: relative;
    isolation: isolate;
}

.myco-hero-stage::before {
    content: '';
    position: absolute;
    inset: 50px 0 20px 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 166, 76, 0.16), rgba(255, 254, 250, 0) 67%);
    z-index: -1;
}

.myco-hero-product {
    position: absolute;
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    filter: drop-shadow(0 22px 24px rgba(56, 45, 23, 0.22));
}

.myco-hero-product img {
    width: 100%;
    height: auto;
}

.myco-hero-product figcaption {
    background: rgba(255, 254, 250, 0.92);
    border: 1px solid rgba(177, 160, 121, 0.45);
    border-radius: 999px;
    color: #2d3e24;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 5px 12px;
    box-shadow: var(--shadow-soft);
}

.myco-hero-product-main {
    width: min(33vw, 270px);
    left: 31%;
    top: 48px;
    z-index: 5;
}

.myco-hero-product-reishi {
    width: min(26vw, 205px);
    left: 4%;
    top: 134px;
    z-index: 3;
}

.myco-hero-product-cordyceps {
    width: min(24vw, 190px);
    right: 7%;
    top: 150px;
    z-index: 4;
}

.myco-hero-leaf {
    position: absolute;
    width: 180px;
    height: 210px;
    opacity: 0.28;
    border-radius: 70% 0 70% 0;
    border: 3px solid #718a54;
    transform: rotate(-20deg);
}

.myco-hero-leaf-a {
    right: 4%;
    top: 20px;
}

.myco-hero-leaf-b {
    left: 8%;
    top: 10px;
    transform: rotate(28deg) scale(0.72);
}

.myco-hero-mushroom {
    position: absolute;
    bottom: 16px;
    border-radius: 50% 50% 10px 10px;
    background: linear-gradient(145deg, #7d3f22, #c28642 48%, #55351d);
    box-shadow: inset 0 -10px 0 rgba(37, 22, 12, 0.12), 0 18px 22px rgba(58, 42, 28, 0.2);
}

.myco-hero-mushroom::after {
    content: '';
    position: absolute;
    left: 42%;
    bottom: -34px;
    width: 26%;
    height: 46px;
    border-radius: 10px;
    background: #d9c6a5;
}

.myco-hero-mushroom-a {
    width: 112px;
    height: 78px;
    left: 22%;
}

.myco-hero-mushroom-b {
    width: 150px;
    height: 92px;
    right: 15%;
    filter: hue-rotate(38deg) saturate(0.8);
}

.myco-trust-strip {
    background: #fffefa;
    border-bottom: 1px solid var(--color-border);
}

.myco-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.myco-trust-grid article {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-right: 1px solid var(--color-border);
}

.myco-trust-grid article:last-child {
    border-right: 0;
}

.myco-trust-grid h2,
.myco-feature-grid h3,
.myco-benefits-grid h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.15;
    margin: 0 0 4px;
}

.myco-trust-grid p,
.myco-feature-grid p,
.myco-benefits-grid p {
    color: #3f4d42;
    font-size: 0.84rem;
    line-height: 1.35;
    margin: 0;
}

.myco-icon {
    width: 54px;
    height: 54px;
    display: inline-block;
    flex: 0 0 auto;
    color: #7f8a3a;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.myco-icon::before,
.myco-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
}

.myco-icon-leaf::before {
    width: 20px;
    height: 31px;
    left: 14px;
    top: 11px;
    border: 2px solid currentColor;
    border-radius: 90% 0 90% 0;
    background: transparent;
    transform: rotate(-30deg);
}

.myco-icon-shield::before {
    width: 24px;
    height: 29px;
    left: 13px;
    top: 10px;
    clip-path: polygon(50% 0, 88% 14%, 80% 72%, 50% 100%, 20% 72%, 12% 14%);
}

.myco-icon-truck::before {
    width: 30px;
    height: 17px;
    left: 9px;
    top: 20px;
    border: 2px solid currentColor;
    background: transparent;
}

.myco-icon-truck::after {
    width: 26px;
    height: 5px;
    left: 13px;
    top: 38px;
    box-shadow: -8px 0 0 -1px currentColor, 18px 0 0 -1px currentColor;
}

.myco-icon-lock::before {
    width: 24px;
    height: 20px;
    left: 13px;
    top: 25px;
    border: 2px solid currentColor;
    background: transparent;
    border-radius: 3px;
}

.myco-icon-lock::after {
    width: 17px;
    height: 15px;
    left: 17px;
    top: 12px;
    border: 2px solid currentColor;
    border-bottom: 0;
    background: transparent;
    border-radius: 12px 12px 0 0;
}

.myco-icon-pin::before {
    width: 22px;
    height: 22px;
    left: 14px;
    top: 10px;
    border: 2px solid currentColor;
    border-radius: 50% 50% 50% 0;
    background: transparent;
    transform: rotate(-45deg);
}

.myco-icon-flask::before {
    width: 22px;
    height: 31px;
    left: 14px;
    top: 10px;
    border: 2px solid currentColor;
    border-top: 0;
    background: transparent;
    clip-path: polygon(28% 0, 72% 0, 72% 32%, 100% 100%, 0 100%, 28% 32%);
}

.myco-icon-user::before {
    width: 15px;
    height: 15px;
    left: 18px;
    top: 11px;
    border-radius: 50%;
}

.myco-icon-user::after {
    width: 26px;
    height: 15px;
    left: 12px;
    top: 30px;
    border-radius: 50% 50% 0 0;
}

.myco-section {
    padding: 34px 0;
}

.myco-section-title {
    text-align: center;
    margin-bottom: 24px;
}

.myco-section-title h2 {
    display: inline-block;
    margin: 0;
    font-size: clamp(2.1rem, 3vw, 3rem);
    color: #102f1d;
}

.myco-section-title h2::after {
    width: 70px;
    height: 2px;
    margin: 10px auto 0;
}

.myco-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.myco-product-card {
    background: #fffefa;
    border: 1px solid #ddd2bf;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(49, 44, 30, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.myco-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.myco-product-image {
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        radial-gradient(circle at 28% 52%, rgba(214, 166, 76, 0.16), transparent 30%),
        #f7f2e8;
}

.myco-product-image img {
    max-height: 205px;
    width: auto;
    object-fit: contain;
}

.myco-product-content {
    padding: 18px 18px 16px;
    text-align: center;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
}

.myco-product-content h3 {
    font-size: 1.45rem;
    line-height: 1;
    margin: 0 0 6px;
}

.myco-product-content p {
    min-height: 38px;
    color: #3f4d42;
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0 0 10px;
}

.myco-product-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #e9e6d8;
    color: #5a5d46;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 11px;
}

.myco-product-price {
    color: #182d20;
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.myco-product-content .button,
.myco-product-content .add_to_cart_button,
.myco-product-content .added_to_cart {
    width: 100%;
    min-height: 39px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--color-accent);
    color: #fffefa !important;
    border: 0;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    padding: 0 12px;
}

.myco-product-content .button:hover,
.myco-product-content .add_to_cart_button:hover,
.myco-product-content .added_to_cart:hover {
    background: var(--color-accent-hover);
}

.myco-feature-grid,
.myco-benefits-grid,
.myco-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.myco-feature-grid article,
.myco-benefits-grid article {
    padding: 20px 34px;
    border-right: 1px solid var(--color-border);
}

.myco-feature-grid article:last-child,
.myco-benefits-grid article:last-child {
    border-right: 0;
}

.myco-feature-grid .myco-icon {
    margin-bottom: 18px;
}

.myco-benefits-section {
    border-top: 1px solid var(--color-border);
}

.myco-benefits-grid article {
    display: grid;
    grid-template-columns: 76px 1fr;
    column-gap: 20px;
    align-items: center;
}

.myco-benefit-mark {
    grid-row: span 2;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ebeadd;
    color: #78833a;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
}

.myco-testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.myco-testimonials-grid article {
    background: #fffefa;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 6px 16px rgba(49, 44, 30, 0.04);
}

.myco-stars {
    color: #d6a64c;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.myco-testimonials-grid p {
    color: #26392d;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.myco-testimonials-grid strong,
.myco-testimonials-grid span {
    display: block;
    font-size: 0.85rem;
}

.myco-testimonials-grid span {
    color: #69725c;
}

.myco-cta {
    padding: 22px 0 10px;
}

.myco-cta-inner {
    min-height: 132px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto 190px;
    align-items: center;
    gap: 30px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(56, 92, 39, 0.95), rgba(88, 108, 60, 0.88)),
        #385c27;
    color: #fffefa;
    padding: 28px 36px;
}

.myco-cta h2 {
    max-width: 480px;
    font-size: 2.6rem;
    line-height: 0.94;
    margin: 0 0 8px;
    color: #fffefa;
}

.myco-cta p {
    margin: 0;
    color: #f2ead8;
    font-size: 1.1rem;
}

.myco-cta .btn {
    background: #d6a64c;
    border-color: #d6a64c;
    color: #fffefa;
}

.myco-cta img {
    max-height: 150px;
    justify-self: end;
    transform: rotate(7deg);
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.24));
}

.myco-faq-section {
    padding-bottom: 10px;
}

.myco-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.myco-faq-grid .faq-item {
    border-radius: 6px;
    background: #fffefa;
}

.myco-faq-grid .faq-question {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.95rem;
    color: #182d20;
}

.site-footer {
    background: linear-gradient(135deg, #12321d, #26461f);
    color: #fffefa;
    padding: 34px 0 22px;
    border-top: 0;
}

.footer-grid {
    grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 26px;
}

.footer-info h4 {
    font-size: 2.4rem;
    line-height: 0.88;
    color: #fffefa;
}

.footer-info h4::after {
    content: 'Bienestar natural';
    display: block;
    font-family: var(--font-body);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 7px;
    color: #dce8d4;
}

.footer-info p,
.footer-links a,
.footer-links li,
.footer-bottom {
    color: #d9e2d0;
}

.footer-links h4 {
    color: #fffefa;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-size: 1rem;
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1180px) {
    .header-container {
        gap: 18px;
    }

    .site-navigation ul {
        gap: 18px;
    }

    .site-title-text {
        font-size: 1.9rem;
    }

    .myco-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .myco-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .header-container {
        height: auto;
        min-height: 78px;
    }

    .site-navigation {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .myco-hero {
        padding-top: 40px;
    }

    .myco-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .myco-hero-copy {
        text-align: center;
    }

    .myco-hero-copy h1,
    .myco-hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .myco-hero-copy h1::after {
        margin-left: auto;
        margin-right: auto;
    }

    .myco-hero-actions,
    .myco-hero-note {
        justify-content: center;
    }

    .myco-hero-stage {
        min-height: 360px;
    }

    .myco-hero-product-main {
        width: 235px;
        left: 34%;
        top: 22px;
    }

    .myco-hero-product-reishi {
        width: 170px;
        left: 12%;
        top: 118px;
    }

    .myco-hero-product-cordyceps {
        width: 160px;
        right: 14%;
        top: 128px;
    }

    .myco-trust-grid,
    .myco-feature-grid,
    .myco-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .myco-trust-grid article,
    .myco-feature-grid article,
    .myco-benefits-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .myco-testimonials-grid,
    .myco-faq-grid {
        grid-template-columns: 1fr;
    }

    .myco-cta-inner {
        grid-template-columns: 1fr auto;
    }

    .myco-cta img {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 18px;
    }

    .site-logo img {
        width: 42px !important;
        height: 42px !important;
    }

    .site-title-text {
        font-size: 1.55rem;
    }

    .myco-hero-copy h1 {
        font-size: 3.15rem;
    }

    .myco-hero-copy p {
        font-size: 1.08rem;
    }

    .myco-hero-actions .btn {
        width: 100%;
    }

    .myco-hero-stage {
        min-height: 320px;
    }

    .myco-hero-product figcaption {
        font-size: 0.72rem;
    }

    .myco-hero-product-main {
        width: 195px;
        left: calc(50% - 98px);
    }

    .myco-hero-product-reishi {
        width: 130px;
        left: 0;
        top: 132px;
    }

    .myco-hero-product-cordyceps {
        width: 125px;
        right: 0;
        top: 142px;
    }

    .myco-hero-mushroom-a,
    .myco-hero-mushroom-b {
        transform: scale(0.72);
    }

    .myco-trust-grid,
    .myco-feature-grid,
    .myco-benefits-grid,
    .myco-products-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .myco-trust-grid article,
    .myco-feature-grid article,
    .myco-benefits-grid article {
        padding-left: 8px;
        padding-right: 8px;
    }

    .myco-product-image {
        min-height: 190px;
    }

    .myco-product-content {
        min-height: 0;
    }

    .myco-benefits-grid article {
        grid-template-columns: 64px 1fr;
    }

    .myco-benefit-mark {
        width: 58px;
        height: 58px;
        font-size: 1.8rem;
    }

    .myco-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 22px;
    }

    .myco-cta h2 {
        font-size: 2.15rem;
    }

    .footer-bottom {
        align-items: flex-start;
        text-align: left;
    }
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(var(--color-text-main) 1px, transparent 0), radial-gradient(var(--color-text-main) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
}

.about-hero-title {
    font-size: 3.5rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
    position: relative;
}

.about-hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    font-weight: 700;
    margin: 0 auto;
    max-width: 600px;
}

/* Sections & Grids */
.about-section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.about-section.alt-bg {
    background-color: var(--color-bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-grid.reverse {
    direction: ltr;
}

/* For swapping grid order on desktop cleanly */
@media (min-width: 769px) {
    .about-grid.reverse .about-image-wrapper {
        order: 2;
    }
    .about-grid.reverse .about-text-content {
        order: 1;
    }
}

/* Typography elements */
.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text-content .section-subtitle {
    font-size: 2.2rem;
    color: var(--color-text-main);
    margin-bottom: 8px;
    position: relative;
}

.about-text-content .section-subtitle::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
    margin-top: 12px;
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    font-weight: 500;
    border-left: 3px solid var(--color-accent);
    padding-left: 20px;
}

.about-text-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Image styling */
.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
}

/* Custom creative shadows and rotations */
.card-right-skew {
    background-color: var(--color-bg-base);
    padding: 12px;
    border: 1px solid var(--color-border);
    transform: rotate(1.5deg);
    box-shadow: var(--shadow-soft);
}

.card-right-skew:hover {
    transform: rotate(0) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.card-left-skew {
    background-color: var(--color-bg-base);
    padding: 12px;
    border: 1px solid var(--color-border);
    transform: rotate(-1.5deg);
    box-shadow: var(--shadow-soft);
}

.card-left-skew:hover {
    transform: rotate(0) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.image-showcase {
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-white));
    padding: 16px;
    border: 1px dashed var(--color-accent);
    border-radius: var(--border-radius-lg);
}

.image-showcase:hover .about-img {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(138, 110, 159, 0.15);
}

/* Badge overlay */
.about-image-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    box-shadow: var(--shadow-soft);
    border-radius: 2px;
    z-index: 10;
}

/* Presente specific layout */
.presente-content {
    justify-content: center;
}

.signature-block {
    margin-top: 30px;
    border-top: 1px dashed var(--color-border);
    padding-top: 20px;
}

.signature-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.signature-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--color-text-main);
}

/* Values Section */
.about-values-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.values-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--color-text-main);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition-smooth);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card:hover .value-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.value-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Responsive Redesign Adjustments */
@media (max-width: 992px) {
    .about-grid {
        gap: 40px;
    }
    
    .about-hero-title {
        font-size: 2.8rem;
    }
    
    .about-values-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero-title {
        font-size: 2.3rem;
    }
    
    .about-text-content .section-subtitle::after {
        margin: 12px auto 0;
    }
    
    .about-lead {
        border-left: none;
        border-top: 2px solid var(--color-accent);
        padding-left: 0;
        padding-top: 15px;
    }
    
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .about-values-section {
        padding: 60px 0;
    }
    
    .values-title {
        margin-bottom: 40px;
        font-size: 2rem;
    }
}


