/* ============================================
   Esencias Selectas — v2 Editorial Design
   Inspired by: Dior, Perfumérica, Casa Fuego, Arome
   Aesthetic: Clean, editorial, hipster-luxe
   ============================================ */

/* Google Fonts loaded via <link> in layout.php (no render-blocking @import) */

/* --- Design Tokens --- */
:root {
    --es-black: #1a1a1a;
    --es-charcoal: #2d2d2d;
    --es-dark: #3a3a3a;
    --es-mid: #6b6b6b;
    --es-muted: #999999;
    --es-light: #e8e8e8;
    --es-subtle: #f3f3f3;
    --es-white: #ffffff;
    --es-cream: #faf9f7;
    --es-accent: #8b7355;        /* Warm taupe/bronze */
    --es-accent-light: #b09a7c;
    --es-accent-dark: #6d5a43;
    --es-verde: #7a8f6e;         /* Sage — muted, sophisticated */
    --es-verde-oscuro: #2C3E2D;
    --es-verde-claro: #e8ede6;
    --es-error: #c0504d;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --es-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --es-radius: 2px;
    --es-radius-lg: 4px;

    /* Bootstrap overrides */
    --bs-body-bg: var(--es-white);
    --bs-body-color: var(--es-dark);
    --bs-link-color: var(--es-black);
    --bs-link-hover-color: var(--es-accent);
}

/* --- Base --- */
body {
    font-family: var(--font-body);
    background-color: var(--es-white);
    color: var(--es-dark);
    line-height: 1.7;
    font-weight: 300;
    font-size: 0.95rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--es-black);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

h5, h6 {
    font-family: var(--font-body);
    color: var(--es-black);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

a {
    color: var(--es-black);
    text-decoration: none;
    transition: color var(--es-transition);
}
a:hover {
    color: var(--es-accent);
}

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

::selection {
    background: var(--es-accent-light);
    color: var(--es-white);
}

/* --- Buttons --- */
.btn-es-primary,
.btn-primary {
    background-color: var(--es-black);
    border: 1px solid var(--es-black);
    color: var(--es-white);
    border-radius: 0;
    padding: 0.75rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--es-transition);
}
.btn-es-primary:hover,
.btn-primary:hover {
    background-color: var(--es-white);
    border-color: var(--es-black);
    color: var(--es-black);
    transform: none;
    box-shadow: none;
}

.es-btn-primary {
    background-color: var(--es-black);
    border: 1px solid var(--es-black);
    color: var(--es-white);
    border-radius: 0;
    padding: 0.75rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--es-transition);
    display: inline-block;
    text-decoration: none;
}
.es-btn-primary:hover {
    background-color: var(--es-white);
    border-color: var(--es-black);
    color: var(--es-black);
}

.btn-outline-secondary,
.btn-outline-dark {
    border-radius: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 400;
}

/* --- Navbar --- */
.es-navbar {
    background-color: var(--es-white);
    border-bottom: 1px solid var(--es-light);
    padding: 1rem 0;
    box-shadow: none;
    transition: all var(--es-transition);
}
.es-navbar .navbar-brand {
    font-family: var(--font-display);
    color: var(--es-black);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}
.es-navbar .navbar-brand i {
    display: none; /* Hide leaf icon for cleaner look */
}
.es-navbar .nav-link {
    font-family: var(--font-body);
    color: var(--es-mid);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 0.8rem;
    transition: color var(--es-transition);
}
.es-navbar .nav-link:hover,
.es-navbar .nav-link.active {
    color: var(--es-black);
}

/* Search bar */
.es-navbar .form-control {
    border: 1px solid var(--es-light);
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 300;
    padding: 0.4rem 1rem;
    background: var(--es-subtle);
    transition: all var(--es-transition);
}
.es-navbar .form-control:focus {
    border-color: var(--es-black);
    box-shadow: none;
    background: var(--es-white);
}

/* Cart badge */
.es-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: var(--es-black);
    color: var(--es-white);
    font-size: 0.6rem;
    font-weight: 600;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.es-cart-icon {
    position: relative;
    display: inline-flex;
}

/* Search dropdown */
.es-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--es-white);
    border: 1px solid var(--es-light);
    z-index: 1050;
    max-height: 320px;
    overflow-y: auto;
}
.es-search-item {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--es-dark);
    text-decoration: none;
    transition: background var(--es-transition);
    border-bottom: 1px solid var(--es-subtle);
}
.es-search-item:hover {
    background-color: var(--es-subtle);
    color: var(--es-black);
}

/* --- Hero Section --- */
.es-hero {
    background: url('../img/hero-bg.jpg') center center / cover no-repeat;
    color: var(--es-white);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
}
.es-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.55);
}
.es-hero > * {
    position: relative;
    z-index: 1;
}
.es-hero::after {
    display: none;
}
.es-hero h1 {
    color: var(--es-white);
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.2rem, 6vw, 4rem);
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}
.es-hero p,
.es-hero .lead {
    font-weight: 300;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin: 0 auto 2rem;
    letter-spacing: 0.02em;
    line-height: 1.8;
}
.es-hero .es-btn-primary {
    background-color: var(--es-white);
    border-color: var(--es-white);
    color: var(--es-black);
}
.es-hero .es-btn-primary:hover {
    background-color: transparent;
    border-color: var(--es-white);
    color: var(--es-white);
}
@media (min-width: 768px) {
    .es-hero {
        padding: 8rem 2rem;
    }
}

/* --- Section Spacing --- */
.section-padding {
    padding: 4rem 0;
}
@media (min-width: 768px) {
    .section-padding {
        padding: 5.5rem 0;
    }
}

/* Section headings — editorial style */
.section-padding h2,
main > section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}
.section-padding h2 + p,
.section-padding h2 + .lead {
    text-align: center;
    color: var(--es-muted);
    font-weight: 300;
    margin-bottom: 3rem;
}

/* --- Category Cards --- */
.es-card-categoria {
    background: var(--es-white);
    border: 1px solid var(--es-light) !important;
    border-radius: 0 !important;
    padding: 0;
    text-align: center;
    transition: all var(--es-transition);
    cursor: pointer;
    overflow: hidden;
}
.es-card-categoria:hover {
    border-color: var(--es-black) !important;
    transform: none;
    box-shadow: none;
}
.es-card-categoria .icon,
.es-card-categoria i {
    font-size: 1.8rem;
    color: var(--es-accent);
    margin-bottom: 1.2rem;
    display: block;
}
.es-card-categoria h5,
.es-card-categoria .card-title {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--es-black);
    margin-bottom: 0.75rem;
}
.es-card-categoria p,
.es-card-categoria .card-text {
    font-size: 0.85rem;
    color: var(--es-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* Category page hero banner */
.es-cat-hero {
    background: var(--es-charcoal) center center / cover no-repeat;
    position: relative;
    padding: 3.5rem 0;
    color: var(--es-white);
}
.es-cat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,26,26,0.75) 40%, rgba(26,26,26,0.45));
}
.es-cat-hero > .container {
    position: relative;
    z-index: 1;
}
.es-cat-hero .breadcrumb {
    margin-bottom: 0.75rem;
}
.es-cat-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
}
.es-cat-hero .breadcrumb-item a:hover {
    color: var(--es-white);
}
.es-cat-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.8);
}
.es-cat-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}
.es-cat-hero h1 {
    color: var(--es-white);
    margin-bottom: 0.5rem;
}
.es-cat-hero-desc {
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 0.25rem;
}
.es-cat-hero-count {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .es-cat-hero {
        padding: 5rem 0;
    }
}

/* Category card banner (16:9 image strip) */
.es-cat-banner {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--es-subtle);
}
.es-cat-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.es-card-categoria:hover .es-cat-banner img {
    transform: scale(1.05);
}

/* --- Product Cards --- */
.es-card-producto {
    background: var(--es-white);
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    transition: all var(--es-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.es-card-producto:hover .es-card-img,
.es-card-producto:hover .es-card-img-placeholder,
.es-card-producto:hover .es-product-placeholder {
    transform: scale(1.03);
}
.es-card-producto:hover .product-name,
.es-card-producto:hover h6 {
    color: var(--es-accent);
}

.es-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--es-subtle);
}
.es-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.es-card-img-placeholder,
.es-product-placeholder {
    aspect-ratio: 3 / 4;
    background: var(--es-subtle) !important;
    color: var(--es-light) !important;
    font-family: var(--font-display);
    font-size: 3.5rem !important;
    font-weight: 300;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.es-card-producto .card-body {
    padding: 1.2rem 0.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.es-card-producto .product-name,
.es-card-producto h6:first-of-type {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--es-black);
    margin-bottom: 0.2rem;
    transition: color var(--es-transition);
}
.es-card-producto .product-category,
.es-card-producto .text-muted {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--es-muted);
    font-weight: 400;
}
.es-card-producto .product-price,
.es-card-producto .fw-bold {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--es-black);
    margin-top: auto;
    letter-spacing: 0.02em;
}

/* --- es-link (category/product links) --- */
.es-link {
    font-family: var(--font-body);
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--es-black);
    text-decoration: none;
    border-bottom: 1px solid var(--es-black);
    padding-bottom: 2px;
    transition: all var(--es-transition);
}
.es-link:hover {
    color: var(--es-accent);
    border-color: var(--es-accent);
}

/* --- Navbar Dropdown --- */
.es-dropdown {
    border: 1px solid var(--es-light);
    border-radius: 0;
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    min-width: 240px;
}
.es-dropdown .dropdown-item {
    font-size: 0.8rem;
    font-weight: 300;
    padding: 0.5rem 1.2rem;
    color: var(--es-dark);
    letter-spacing: 0.02em;
    transition: all var(--es-transition);
}
.es-dropdown .dropdown-item:hover {
    background: var(--es-subtle);
    color: var(--es-black);
    padding-left: 1.4rem;
}
.navbar .dropdown-toggle::after {
    margin-left: 0.4em;
    vertical-align: 0.1em;
    border-top-width: 0.25em;
}

/* --- Product Carousel --- */
.es-carousel-wrap {
    margin: 0 -0.75rem;
}
.es-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.75rem 1.5rem;
    -webkit-overflow-scrolling: touch;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.es-carousel::-webkit-scrollbar {
    display: none;
}
.es-carousel-item {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .es-carousel-item {
        width: 250px;
    }
}
@media (min-width: 1200px) {
    .es-carousel-item {
        width: 280px;
    }
}

/* Carousel arrows */
.es-carousel-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid var(--es-light);
    background: var(--es-white);
    color: var(--es-black);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--es-transition);
    z-index: 2;
}
.es-carousel-btn:hover {
    border-color: var(--es-black);
    background: var(--es-black);
    color: var(--es-white);
}
.es-carousel-prev {
    left: -8px;
}
.es-carousel-next {
    right: -8px;
}
@media (max-width: 767.98px) {
    .es-carousel-btn {
        display: none; /* Swipe on mobile */
    }
}

/* --- Product Detail Page --- */
.product-detail-img,
.es-product-detail-img {
    border-radius: 0;
    border: none;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--es-subtle);
}

/* Presentaciones (size selector) */
.presentacion-option {
    display: inline-block;
}
.presentacion-option input[type="radio"] {
    display: none;
}
.presentacion-option label {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    border: 1px solid var(--es-light);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--es-transition);
    color: var(--es-dark);
    background: var(--es-white);
    text-transform: uppercase;
}
.presentacion-option input[type="radio"]:checked + label {
    border-color: var(--es-black);
    background-color: var(--es-black);
    color: var(--es-white);
}
.presentacion-option label:hover {
    border-color: var(--es-black);
}

/* Quantity input */
.qty-input {
    width: 70px;
    text-align: center;
    border: 1px solid var(--es-light);
    border-radius: 0;
    font-size: 0.9rem;
    padding: 0.4rem;
}
.qty-input:focus {
    border-color: var(--es-black);
    box-shadow: none;
    outline: none;
}

/* Notes aromáticas badge */
.es-badge-categoria,
.badge.bg-light {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d6b45;
    background-color: #e8f0e9;
    font-weight: 500;
    border-radius: 0;
    display: inline-block;
    width: auto;
    align-self: flex-start;
    padding: 0.35rem 0.8rem;
}

/* --- Cart Page --- */
.cart-table th {
    background-color: var(--es-subtle);
    color: var(--es-black);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    padding: 1rem;
}
.cart-table td {
    vertical-align: middle;
    padding: 1rem;
    border-bottom: 1px solid var(--es-light);
    font-weight: 300;
}
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0;
}

/* --- Checkout --- */
.checkout-summary {
    background: var(--es-subtle);
    border: none;
    border-radius: 0;
    padding: 2rem;
}
.checkout-summary h5 {
    border-bottom: 1px solid var(--es-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
@media (min-width: 992px) {
    .checkout-form { padding-right: 2.5rem; }
    .checkout-summary { padding-left: 2.5rem; }
}

/* Form inputs — editorial */
.form-control,
.form-select {
    border-radius: 0;
    border: 1px solid var(--es-light);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.6rem 0.8rem;
    transition: border-color var(--es-transition);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--es-black);
    box-shadow: none;
}
.form-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--es-mid);
    margin-bottom: 0.4rem;
}

/* Form validation */
.field-error {
    border-color: var(--es-error) !important;
}
.error-msg {
    color: var(--es-error);
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.3rem;
}

/* --- Footer --- */
.es-footer {
    background-color: var(--es-black);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}
.es-footer h5,
.es-footer h6 {
    color: var(--es-white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.es-footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    transition: color var(--es-transition);
}
.es-footer a:hover {
    color: var(--es-white);
}
.es-footer hr {
    border-color: rgba(255,255,255,0.1);
}
.es-footer p {
    color: rgba(255,255,255,0.35);
}

/* --- Toast Notifications --- */
.es-toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.es-toast {
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    color: var(--es-white);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
    max-width: 350px;
}
.es-toast.success { background-color: var(--es-black); }
.es-toast.error { background-color: var(--es-error); }
.es-toast.info { background-color: var(--es-accent); }

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

/* --- Cards (Bootstrap overrides) --- */
.card {
    border-radius: 0;
    border-color: var(--es-light);
}
.card.border-0 {
    box-shadow: none;
}
.card.shadow-sm {
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

/* --- Badges --- */
.badge {
    border-radius: 0;
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}
.breadcrumb-item a {
    color: var(--es-muted);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: var(--es-black);
}
.breadcrumb-item.active {
    color: var(--es-black);
}

/* --- Table styling --- */
.table {
    font-size: 0.9rem;
    font-weight: 300;
}
.table thead th {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--es-mid);
    border-bottom: 1px solid var(--es-light);
}

/* --- Alerts --- */
.alert {
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 400;
}

/* --- Utility Colors --- */
.bg-crema { background-color: var(--es-cream) !important; }
.text-verde { color: var(--es-verde) !important; }
.text-dorado { color: var(--es-accent) !important; }
.text-verde-oscuro { color: var(--es-verde-oscuro) !important; }

/* --- Loading --- */
.es-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 1.5px solid var(--es-light);
    border-top-color: var(--es-black);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Divider pattern --- */
.es-divider {
    width: 40px;
    height: 1px;
    background: var(--es-black);
    margin: 1.5rem auto;
}

/* --- Product grid responsive --- */
@media (max-width: 575.98px) {
    .es-card-producto .card-body {
        padding: 0.8rem 0.15rem;
    }
    .es-card-producto .product-name,
    .es-card-producto h6:first-of-type {
        font-size: 0.95rem;
    }
}

/* --- Smooth page transitions --- */
main {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Blog Content Styles --- */
.es-blog-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--es-charcoal);
}
.es-blog-content h2 {
    font-weight: 600;
    color: var(--es-verde-oscuro, #2C3E2D);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-size: 1.875rem;
    text-align: left;
}
.es-blog-content h3 {
    font-weight: 600;
    color: var(--es-charcoal);
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    font-size: 1.625rem;
}
.es-blog-content p {
    margin-bottom: 1.35rem;
}
.es-blog-content ul, .es-blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.es-blog-content li {
    margin-bottom: 0.5rem;
}
.es-blog-content li:last-child {
    margin-bottom: 0;
}
.es-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}
.es-blog-content th {
    background: var(--es-verde-oscuro, #2C3E2D);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}
.es-blog-content td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--es-light, #e8e8e8);
}
.es-blog-content tr:nth-child(even) td {
    background: var(--es-cream, #faf9f7);
}
.es-blog-content blockquote {
    border-left: 4px solid var(--es-dorado, #C5A55A);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: var(--es-cream, #faf9f7);
    font-style: italic;
    color: var(--es-mid);
}
.es-blog-content strong {
    color: var(--es-charcoal);
}
.es-blog-content .formula-box {
    background: var(--es-cream, #faf9f7);
    border: 2px solid var(--es-dorado, #C5A55A);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Print --- */
@media print {
    .es-navbar, .es-footer, .es-toast-container { display: none; }
}
