/* Extracted from promocion.htm for performance optimization */

/* ===== Tag Cloud on Post Detail ===== */
.promo-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

/* Fix for banners inside content */
.in-content-ad img {
    max-height: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
}

.promo-tag-pill {
    --tag-color: #6366f1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    background: color-mix(in srgb, var(--tag-color) 12%, transparent);
    color: var(--tag-color);
    border: 1px solid color-mix(in srgb, var(--tag-color) 25%, transparent);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.promo-tag-pill:hover {
    background: var(--tag-color);
    color: white;
    border-color: var(--tag-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--tag-color) 35%, transparent);
}

.promo-tag-pill i {
    font-size: 0.7rem;
}

/* ==========================================================
       ARCHIVE HERO — Matches Contact / FAQ Hero Style
       ========================================================== */

.archive-hero {
    --hero-accent: #14b8a6;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--hero-accent) 25%, #0c1222) 0%,
            color-mix(in srgb, var(--hero-accent) 45%, #1e3a5f) 50%,
            var(--hero-accent) 100%);
    padding: 2rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Radial accent overlays — strong color glow */
.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--hero-accent) 30%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--hero-accent) 20%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, color-mix(in srgb, var(--hero-accent) 15%, transparent) 0%, transparent 40%);
    pointer-events: none;
}

/* Bottom fade to page bg */
.archive-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-light) 0%, transparent 100%);
    pointer-events: none;
}

/* Floating particles — same as contact hero */
.archive-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.archive-hero-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.archive-hero-particles .particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.archive-hero-particles .particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
}

.archive-hero-particles .particle:nth-child(3) {
    left: 50%;
    top: 30%;
    animation-delay: 4s;
}

.archive-hero-particles .particle:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 1s;
}

.archive-hero-particles .particle:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-delay: 3s;
}

/* Breadcrumb */
.archive-hero-crumb {
    background: none;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.archive-hero-crumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.archive-hero-crumb .breadcrumb-item a:hover {
    color: #fff;
}

.archive-hero-crumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.archive-hero-crumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* Badge pill — like contact hero-badge */
.archive-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.archive-hero-badge i {
    color: var(--hero-accent);
}

/* Title */
.archive-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
    line-height: 1.2;
}

/* Subtitle */
.archive-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    line-height: 1.6;
}

.archive-hero-subtitle strong {
    color: var(--hero-accent);
}

/* Meta */
.archive-hero-meta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.archive-hero-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
}

.archive-hero-count i {
    color: var(--hero-accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .archive-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .archive-hero-title {
        font-size: 1.8rem;
    }

    .archive-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .archive-hero {
        padding: 3rem 0 2rem;
    }

    .archive-hero-title {
        font-size: 1.5rem;
    }

    .archive-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .archive-hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/* ==========================================
       CONTENT SECTIONS (Category)
       ========================================== */
.category-content-sections {
    background: var(--bg-light);
}

.content-section-block {
    margin-bottom: 2rem;
}

.content-section-heading {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-light);
    display: inline-block;
}

.content-section-heading.h2,
h2.content-section-heading {
    font-size: 1.75rem;
}

.content-section-heading.h3,
h3.content-section-heading {
    font-size: 1.35rem;
}

.content-section-body {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-section-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.content-section-body table th {
    background: var(--gradient-primary);
    color: white;
    padding: 0.85rem 1rem;
    font-weight: 600;
    text-align: left;
}

.content-section-body table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-section-body table tr:nth-child(even) td {
    background: rgba(15, 118, 110, 0.03);
}

.content-section-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

/* ==========================================
       COMPARATOR TABLE
       ========================================== */
.comparator-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #f0fdfa 50%, var(--bg-light) 100%);
}

.comparator-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.comparator-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.comparator-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Desktop Table */
.comparator-wrapper {
    margin-bottom: 2rem;
    width: 100%;
    display: block;
    position: relative;
}

.comparator-table-scroll {
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: white;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    -ms-overflow-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 118, 110, 0.3) transparent;
    scroll-behavior: smooth;
}

.comparator-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.comparator-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.comparator-table-scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.25);
    border-radius: 3px;
}

/* Arrow buttons — absolutely positioned over the table header */
.absolute-scroll-btn {
    position: absolute;
    top: 6px;
    /* Vertically aligns with the header row */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--primary, #0f766e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

.absolute-scroll-btn:hover {
    background: #115e59;
    transform: scale(1.05);
}

.absolute-scroll-btn.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.absolute-scroll-btn.scroll-left {
    left: 8px;
}

.absolute-scroll-btn.scroll-right {
    right: 8px;
}

/* ── Accordion toggle bar ── */
.comparator-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.comparator-accordion-toggle:hover {
    box-shadow: 0 6px 25px rgba(15, 118, 110, 0.4);
    transform: translateY(-1px);
}

.comparator-accordion-toggle:focus-visible {
    outline: 3px solid rgba(20, 184, 166, 0.5);
    outline-offset: 2px;
}

.accordion-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accordion-toggle-icon {
    font-size: 1.2rem;
    opacity: 0.85;
}

.accordion-toggle-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.accordion-toggle-count {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.accordion-toggle-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accordion-toggle-hint {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 500;
}

.accordion-toggle-chevron {
    font-size: 0.85rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.15);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Open state */
.comparator-accordion-toggle.accordion-open {
    background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.2);
}

.comparator-accordion-toggle.accordion-open .accordion-toggle-chevron {
    transform: rotate(180deg);
}

/* Show/hide labels */
.comparator-accordion-toggle .accordion-label-hide {
    display: none;
}

.comparator-accordion-toggle.accordion-open .accordion-label-show {
    display: none;
}

.comparator-accordion-toggle.accordion-open .accordion-label-hide {
    display: inline;
}

/* Accordion body */
.comparator-accordion-body {
    max-height: 25000px;
    overflow: visible;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.comparator-accordion-body.accordion-collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

/* Responsive accordion toggle */
@media (max-width: 576px) {
    .comparator-accordion-toggle {
        padding: 0.85rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .accordion-toggle-hint {
        display: none;
    }

    .accordion-toggle-text {
        font-size: 0.9rem;
    }

    .accordion-toggle-count {
        padding: 0.15rem 0.4rem;
        font-size: 0.7rem;
        font-weight: 600;
        margin-left: auto;
        /* Push it to the right if wrapping occurs */
    }
}

.comparator-table {
    border-collapse: collapse;
}

.comparator-table thead th {
    background: linear-gradient(135deg, #0c1222 0%, #1e3a5f 50%, #0f766e 100%);
    color: white;
    padding: 1rem 1.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: normal;
    /* wrap long titles like "Comisión mant." */
    line-height: 1.25;
    border: none;
    cursor: default;
    position: relative;
}

.comparator-table thead th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.comparator-table thead th.sortable:hover {
    background: linear-gradient(135deg, #1a2744 0%, #2a4a6f 50%, #1f8680 100%);
}

.th-icon {
    margin-right: 0.3rem;
}

.sort-icon {
    margin-left: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.5;
}

.comparator-table thead th.sort-active .sort-icon {
    opacity: 1;
    color: var(--accent);
}

/* Sticky first column */
.sticky-col {
    position: sticky;
    left: 0;
    z-index: 5;
    background: inherit;
}

thead .sticky-col {
    z-index: 10;
}

.comparator-table {
    table-layout: fixed;
    width: 100%;
    min-width: max-content;
}

.col-product {
    width: 260px;
    min-width: 260px;
}

.col-data {
    width: 140px;
    min-width: 140px;
    text-align: center;
}

.col-pros {
    width: 200px;
    min-width: 200px;
    text-align: left;
}

.col-cta {
    width: 160px;
    min-width: 160px;
    text-align: center;
}

/* Table Rows */
.comparator-row {
    background: white;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.comparator-row:nth-child(even) {
    background: #fafbfc;
}

.comparator-row:hover {
    background: rgba(20, 184, 166, 0.04);
}

.comparator-row td {
    padding: 1rem 1.2rem;
    vertical-align: middle;
    border: none;
}

.comparator-row .sticky-col {
    background: inherit;
}

.comparator-row:nth-child(even) .sticky-col {
    background: #fafbfc;
}

.comparator-row:hover .sticky-col {
    background: rgba(20, 184, 166, 0.04);
}

/* Product Cell */
.product-cell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.product-cell:hover {
    color: var(--primary);
}

.product-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.product-logo i {
    font-size: 1.2rem;
    color: var(--text-light);
}

.product-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-cell:hover .product-name {
    color: var(--primary);
}

.product-company {
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Value Displays */
.value-big {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.highlight-value .value-big {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-medium {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.value-na {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Rating */
.rating-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.mini-stars {
    display: flex;
    gap: 1px;
}

.mini-stars i {
    font-size: 0.75rem;
    color: #fbbf24;
}

.mini-stars i.far {
    color: #e5e7eb;
}

.rating-num {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Badges in table */
.type-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    text-transform: capitalize;
}

.gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.gift-badge i {
    color: var(--accent);
}

.date-cell {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Pros Mini List */
.pros-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-mini li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

.pros-mini li i {
    color: #10b981;
    margin-right: 0.3rem;
    font-size: 0.7rem;
}

/* CTA Buttons in Table */
.btn-comparator-detail {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-comparator-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
    color: white;
}

.btn-comparator-cta {
    display: inline-block;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--gradient-accent);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    margin-left: 0.3rem;
}

.btn-comparator-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    color: var(--text-primary);
}

/* ==========================================
       COMPARATOR MOBILE CARDS
       ========================================== */
.comparator-mobile {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
}

/* Responsive: hide desktop table on mobile, show mobile cards */
@media (max-width: 767.98px) {
    .comparator-wrapper {
        display: none !important;
    }

    .comparator-mobile {
        display: flex !important;
    }
}

@media (min-width: 768px) {
    .comparator-wrapper {
        display: block !important;
    }

    .comparator-mobile {
        display: none !important;
    }
}

.comparator-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.comparator-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.comparator-card-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #fafbfc 0%, #f0fdfa 100%);
    position: relative;
}

.comparator-card-header .product-cell {
    margin-bottom: 0;
}

.comparator-card-header .product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.comparator-card-body {
    padding: 1.25rem;
}

.card-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.card-stat-row:last-child {
    border-bottom: none;
}

.card-stat-row.card-stat-full {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.card-stat-row .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    flex-shrink: 0;
}

.card-stat-row span:not(.stat-label),
.card-stat-row .value-big {
    text-align: right;
    flex: 1;
    font-weight: 600;
}

.comparator-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.75rem;
    background: #fafbfc;
}

.comparator-card-footer .btn-comparator-detail {
    flex: 1;
    text-align: center;
}

.comparator-card-footer .btn-comparator-cta {
    flex: 1;
    text-align: center;
    margin-left: 0;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

/* ==========================================
       CATEGORY CTA SECTION
       ========================================== */
.category-cta-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.category-cta-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.category-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(20, 184, 166, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.cta-card-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.category-cta-card .btn {
    position: relative;
    z-index: 1;
}

.category-pagination-section {
    padding: 2rem 0 3rem;
    background: var(--bg-light);
}

.category-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.6rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary, #374151);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination-btn:hover {
    background: #0f766e;
    color: white;
    border-color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.pagination-active {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    cursor: default;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    color: var(--text-secondary, #9ca3af);
    font-weight: 700;
    letter-spacing: 0.1em;
}

@media (max-width: 576px) {
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.82rem;
        border-radius: 8px;
    }
}

.table-of-contents-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: block !important;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.toc-header:hover {
    background: #f3f4f6;
}

.toc-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-header i {
    color: #0f766e;
    font-size: 0.9rem;
}

.toc-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.toc-toggle-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.2s ease;
    border-radius: 4px;
}

.toc-toggle-btn:hover {
    color: #0f766e;
    background: #f3f4f6;
}

.toc-toggle-btn.collapsed {
    transform: rotate(-90deg);
}

.toc-content-wrapper {
    max-height: 500px;
    overflow-y: auto;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.toc-content-wrapper.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.toc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin: 0;
}

.toc-table thead {
    background: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.toc-table th {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #4b5563;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.toc-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.toc-table tbody tr:hover {
    background: #f9fafb;
}

.toc-table tbody tr:last-child {
    border-bottom: none;
}

.toc-table td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}

.toc-table td:first-child {
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: center;
    width: 50px;
}

.toc-table td:last-child {
    color: #4b5563;
}

.toc-link {
    color: #4b5563;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.toc-link:hover {
    color: #0f766e;
}

.toc-link.active {
    color: #0f766e;
    font-weight: 600;
}

.toc-level-3 {
    padding-left: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.toc-level-4 {
    padding-left: 1.5rem;
    font-size: 0.7rem;
    color: #9ca3af;
}

.toc-loading {
    text-align: center;
    color: #9ca3af;
    font-size: 0.8rem;
    padding: 1rem !important;
}

@media (max-width: 768px) {
    .toc-table {
        font-size: 0.75rem;
    }

    .toc-table th,
    .toc-table td {
        padding: 0.4rem 0.5rem;
    }

    .toc-title {
        font-size: 0.8rem;
    }
}

/* Floating TOC - Mobile */
.floating-toc-widget {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 9998;
}

.floating-toc-button {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.4);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.floating-toc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.5);
}

.floating-toc-button i {
    font-size: 1.1rem;
}

.floating-toc-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-toc-panel.active {
    opacity: 1;
    visibility: visible;
}

.floating-toc-panel>div {
    background: white;
    width: 100%;
    max-height: 80vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.floating-toc-panel.active>div {
    transform: translateY(0);
}

.floating-toc-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.floating-toc-header i {
    color: #0f766e;
    margin-right: 0.5rem;
}

.floating-toc-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.floating-toc-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.floating-toc-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.floating-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-toc-item {
    margin-bottom: 0.5rem;
}

.floating-toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.floating-toc-link:hover {
    background: #f9fafb;
    color: #0f766e;
}

.floating-toc-link.active {
    background: #ecfdf5;
    color: #0f766e;
    font-weight: 600;
}

.floating-toc-link .toc-number {
    background: #f3f4f6;
    color: #6b7280;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.floating-toc-link.active .toc-number {
    background: #0f766e;
    color: white;
}

.floating-toc-link .toc-text {
    flex: 1;
    line-height: 1.4;
}

.floating-toc-item.toc-level-3 .floating-toc-link {
    padding-left: 2.5rem;
    font-size: 0.9rem;
}

.floating-toc-item.toc-level-4 .floating-toc-link {
    padding-left: 3.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Estilos unificados para instrucciones dentro de sidebar-cta-card */
.sidebar-cta-card .instructions-section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 1.5rem;
}

.sidebar-cta-card .instructions-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e5e7eb;
}

.instructions-section {
    /* Fallback styles si se usa fuera */
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.instructions-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.instructions-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}

.instructions-icon i {
    color: white;
    font-size: 0.85rem;
}

.instructions-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.instructions-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instruction-step {
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e5e7eb;
    transition: all 0.2s ease;
}

.instruction-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.instruction-step:first-child {
    padding-top: 0;
}

.step-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.2);
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    line-height: 1.35;
}

.step-description {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.instruction-step:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 3px 8px rgba(15, 118, 110, 0.3);
}

@media (max-width: 991px) {
    .instructions-section {
        margin: 1rem 0;
        padding: 1rem;
    }

    /* Ajustes para dentro de la card en movil */
    .sidebar-cta-card .instructions-section {
        margin: 1rem 0 0;
        padding: 0.5rem 0 0;
    }

    .instructions-icon {
        width: 28px;
        height: 28px;
    }

    .instructions-icon i {
        font-size: 0.75rem;
    }

    .instructions-title {
        font-size: 1rem;
    }

    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .step-title {
        font-size: 0.9rem;
    }

    .step-description {
        font-size: 0.82rem;
    }
}

/* ============================
       Related Promotions Slider
       ============================ */
.related-promos-section {
    padding: 1.5rem 0 3rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #f0fdfa 40%, var(--bg-light) 100%);
    overflow: hidden;
}

.related-promos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.related-promos-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}

.related-promos-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary, #111827);
    margin: 0 0 0.3rem;
    line-height: 1.2;
}

.related-promos-subtitle {
    color: var(--text-secondary, #6b7280);
    font-size: 1rem;
    margin: 0;
}

/* Nav buttons */
.related-promos-nav {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.related-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(15, 118, 110, 0.2);
    background: white;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.related-nav-btn:hover {
    background: #0f766e;
    color: white;
    border-color: #0f766e;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.related-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
    box-shadow: none;
    background: white;
    color: #0f766e;
}

/* Track */
.related-promos-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 118, 110, 0.25) transparent;
}

.related-promos-track::-webkit-scrollbar {
    height: 5px;
}

.related-promos-track::-webkit-scrollbar-track {
    background: transparent;
}

.related-promos-track::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.2);
    border-radius: 3px;
}

/* Card */
.related-promo-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.related-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f3f4f6;
}

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

.related-promo-card:hover .related-card-image img {
    transform: scale(1.06);
}

.related-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 100%);
    color: #0f766e;
    font-size: 2rem;
    opacity: 0.5;
}

.related-badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.related-card-body {
    padding: 1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f766e;
    margin-bottom: 0.4rem;
}

.related-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-excerpt {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    flex: 1;
}

.related-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.related-promo-card:hover .related-card-cta {
    gap: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
    .related-promos-section {
        padding: 2.5rem 0 3rem;
    }

    .related-promos-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-promo-card {
        flex: 0 0 250px;
    }

    .related-card-image {
        height: 140px;
    }

    .related-promos-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .related-promo-card {
        flex: 0 0 220px;
    }

    .related-card-image {
        height: 120px;
    }
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dark);
}

.breadcrumb-section .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-section .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--text-secondary);
}

/* Promo Detail Section */
.promocion-detail-section {
    padding: 2rem 0 4rem;
    background: var(--bg-light);
}

/* Article Card */
.promo-article {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.promo-badge-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
}

.promo-featured-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.promo-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.promo-article:hover .promo-featured-image img {
    transform: scale(1.05);
}

.promo-article-header {
    padding: 2rem;
}

.promo-category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.promo-category-link:hover {
    background: var(--primary);
    color: white;
}

.promo-categories-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.promo-subcategory-link {
    background: rgba(14, 165, 233, 0.1);
    color: var(--sub-color, #0ea5e9);
}

.promo-subcategory-link:hover {
    background: var(--sub-color, #0ea5e9);
    color: white;
}

.promo-article-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.promo-rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.promo-rating-display .stars {
    color: var(--accent);
}

.promo-rating-display .rating-number {
    font-weight: 700;
    color: var(--text-primary);
}

.promo-rating-display .rating-reviews {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.promo-updated-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(15, 118, 110, 0.06);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.promo-updated-date i {
    color: var(--primary);
    font-size: 0.8rem;
}

.promo-article-excerpt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Offer Box - Mobile Version */
.promo-offer-box {
    margin: 0 1.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-offer-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.promo-offer-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.promo-offer-box .offer-icon-wrap {
    display: none;
    /* Hide large icon on mobile */
}

.offer-info {
    position: relative;
    z-index: 1;
    text-align: center;
}

.offer-info h3 {
    margin: 0 0 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-price-tag {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.offer-price-tag::before {
    content: '🎁';
    font-size: 1.2rem;
}

.offer-info p {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.offer-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.offer-valid i {
    font-size: 0.7rem;
}

/* CTA */
.promo-cta-container {
    padding: 0 2rem 2rem;
    text-align: center;
}

.promo-cta-main {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.promo-cta-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* Content */
.promo-article-content {
    padding: 0 2rem 2rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.promo-article-content h2,
.promo-article-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    font-weight: 700;
}

/* Content images - prevent oversized WordPress images */
.promo-article-content img,
.section-body img,
.content img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* WordPress specific image classes */
.promo-article-content .wp-image,
.promo-article-content [class*="wp-image-"],
.section-body .wp-image,
.section-body [class*="wp-image-"] {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

/* Froala editor images */
.promo-article-content .fr-fic,
.section-body .fr-fic {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    display: block;
    margin: 1rem auto;
}

@media (max-width: 768px) {

    .promo-article-content img,
    .section-body img,
    .content img,
    .promo-article-content .fr-fic,
    .section-body .fr-fic {
        max-height: 250px;
        margin: 1rem auto;
        border-radius: 6px;
    }
}

/* Contacto y redes */
.promo-contact-section {
    margin: 2rem 0;
    padding: 0 2rem 2rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.promo-contact-title {
    margin: 0 0 1rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
}

.promo-contact-title i {
    color: var(--primary);
}

.promo-contact-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.promo-contact-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.promo-contact-content a:hover {
    color: var(--accent);
}

.promo-contact-content img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 0.5rem 0;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .promo-contact-content img {
        max-height: 150px;
    }
}

.promo-article-content p {
    margin-bottom: 1rem;
}

.promo-article-content ul,
.promo-article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Pros & Cons Section - SEO Optimized */
.promo-pros-cons-section {
    padding: 0 2rem 2rem;
}

.pros-cons-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.promo-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.promo-pros-cons.promo-pros-cons--full {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.pros-card,
.cons-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.pros-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pros-card h3,
.pros-card .pros-cons-subtitle {
    color: #059669;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cons-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cons-card h3,
.cons-card .pros-cons-subtitle {
    color: #dc2626;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros-item,
.cons-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.pros-item:last-child,
.cons-item:last-child {
    margin-bottom: 0;
}

.pros-item i {
    color: #059669;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.cons-item i {
    color: #dc2626;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* FAQs */
.promo-faqs {
    padding: 0 2rem 2rem;
}

.faqs-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.promo-faqs .accordion-item {
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.promo-faqs .accordion-button {
    font-weight: 600;
    color: var(--text-primary);
}

.promo-faqs .accordion-button:not(.collapsed) {
    background: rgba(15, 118, 110, 0.05);
    color: var(--primary);
}

/* Meta Footer */
.promo-article-meta {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-dark);
}

/* Sidebar */
.promo-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-cta-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.sidebar-logo img {
    max-width: 70px;
    margin-bottom: 0.75rem;
}

.sidebar-company {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.sidebar-rating {
    color: var(--accent);
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
}

.sidebar-rating span {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Sidebar Offer Box */
.sidebar-offer-box {
    text-align: center;
    margin-bottom: 0.75rem;
}

.sidebar-offer-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.6rem;
    font-size: 1rem;
    color: white;
}

.sidebar-offer-title {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.sidebar-offer-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.sidebar-offer-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.sidebar-offer-valid {
    font-size: 0.75rem;
    color: var(--text-light);
}

.sidebar-gift-period,
.offer-gift-period {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.5rem 0;
}

.sidebar-gift-period i,
.offer-gift-period i {
    font-size: 0.75rem;
}

.sidebar-divider {
    margin: 0.85rem 0;
    border-color: var(--border-dark);
}

/* ========================================
       FLOATING CTA WIDGET - Premium Unified Design
       ======================================== */
.floating-cta-widget {
    display: none;
    position: fixed;
    z-index: 9999;
    align-items: stretch;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    border-radius: 60px;
    box-shadow:
        0 10px 40px rgba(245, 158, 11, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.floating-cta-widget:hover {
    box-shadow:
        0 15px 50px rgba(245, 158, 11, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

@media (max-width: 991px) {
    .floating-cta-widget {
        display: flex;
        top: 50%;
        right: 10px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        max-width: 94%;
    }
}

/* Unified Button Base Style */
.floating-instructions-btn,
.floating-cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.3rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1c1917;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.floating-instructions-btn:hover,
.floating-cta-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.floating-instructions-btn:active,
.floating-cta-link:active {
    background: rgba(0, 0, 0, 0.05);
}

.floating-instructions-btn i,
.floating-cta-link i {
    font-size: 1.1rem;
}

/* Instructions Button - Left Side */
.floating-instructions-btn {
    border-radius: 60px 0 0 60px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* CTA Link - Center */
.floating-cta-link {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

/* When no instructions button */
.floating-cta-widget>.floating-cta-link:first-child {
    border-radius: 60px 0 0 60px;
    padding-left: 1.3rem;
}

/* Drag Handle - Right Side */
.floating-cta-drag {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    color: #1c1917;
    padding: 0.95rem 0.85rem;
    cursor: grab;
    border-radius: 0 60px 60px 0;
    transition: background 0.2s ease;
}

.floating-cta-drag:hover {
    background: rgba(0, 0, 0, 0.15);
}

.floating-cta-drag:active {
    cursor: grabbing;
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .floating-cta-drag {
        display: flex;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-cta-link span {
        display: none;
    }

    .floating-instructions-btn span {
        display: none;
    }

    .floating-instructions-btn,
    .floating-cta-link {
        padding: 0.9rem 1rem;
    }

    .floating-cta-drag {
        padding: 0.9rem 0.75rem;
    }
}

@media (max-width: 991px) {

    .promo-pros-cons-section {
        /* Maximum edge-to-edge breakout */
        margin-left: -3rem;
        margin-right: -3rem;
        padding-left: 0.15rem !important;
        padding-right: 0.15rem !important;
        width: calc(100% + 6rem);
    }

    .promo-pros-cons {
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem;
        /* Minimal gap */
    }

    .promo-pros-cons.promo-pros-cons--full {
        grid-template-columns: 1fr;
    }

    .pros-card,
    .cons-card {
        padding: 0.5rem 0.25rem;
        /* Ultra compact */
        word-break: break-word;
        hyphens: auto;
    }

    .pros-card h3,
    .cons-card h3,
    .pros-cons-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pros-item,
    .cons-item {
        font-size: 0.8rem;
        gap: 0.25rem;
        line-height: 1.3;
    }

    .pros-item i,
    .cons-item i {
        margin-top: 0.1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .floating-cta-link span {
        display: none;
    }

    .floating-cta-link {
        padding: 0.9rem 1rem;
    }

    .floating-instructions-btn {
        padding: 0.9rem 0.9rem;
    }

    .promo-featured-image {
        height: 220px;
    }

    .promo-article-header,
    .promo-offer-box,
    .promo-cta-container,
    .promo-article-content,
    .promo-pros-cons,
    .promo-faqs {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Floating Instructions Panel */
.floating-instructions-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.floating-instructions-panel.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.floating-instructions-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-instructions-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.floating-instructions-header .instructions-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.floating-instructions-header .instructions-title {
    flex: 1;
    font-size: 1.1rem;
}

.floating-instructions-close {
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.floating-instructions-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Panel instruction steps */
.floating-instructions-content .instruction-step {
    padding: 0.85rem 0;
}

.floating-instructions-content .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}

.floating-instructions-content .step-title {
    font-size: 0.9rem;
}

.floating-instructions-content .step-description {
    font-size: 0.82rem;
}

/* ========================================
       UNIFIED FLOATING WIDGET - Mobile Only
       ======================================== */
.unified-floating-widget {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 9999;
    display: flex;
    gap: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.unified-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 14px;
    border: none;
    background: white;
    color: #4b5563;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-right: 1px solid #e5e7eb;
}

.unified-btn:last-child {
    border-right: none;
}

.unified-btn i {
    font-size: 1.1rem;
}

.unified-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.unified-btn.active {
    background: #0f766e;
    color: white;
}

.unified-btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1c1917;
}

.unified-btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.unified-btn-primary i {
    color: #1c1917;
}

/* Unified Panel Styles */
.unified-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

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

.unified-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
}

.unified-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: white;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.unified-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.unified-panel-header span {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unified-panel-header i {
    color: #0f766e;
}

.unified-panel-close {
    background: #e5e7eb;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.unified-panel-close:hover {
    background: #d1d5db;
    color: #1f2937;
}

.unified-panel-body {
    padding: 1rem 1.25rem;
    max-height: calc(85vh - 60px);
    overflow-y: auto;
}

/* Offer Panel Styles */
.unified-offer-body {
    text-align: center;
}

.offer-logo {
    margin-bottom: 0.75rem;
}

.offer-logo img {
    max-width: 80px;
    height: auto;
}

.offer-company {
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.offer-rating {
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.offer-rating span {
    color: #1f2937;
    font-weight: 600;
    margin-left: 0.25rem;
}

.offer-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f766e;
    margin-bottom: 0.5rem;
}

.offer-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* Mobile TOC in Unified Panel */
.unified-panel-body .floating-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unified-panel-body .floating-toc-item {
    border-bottom: 1px solid #f3f4f6;
}

.unified-panel-body .floating-toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.unified-panel-body .floating-toc-link:hover {
    color: #0f766e;
}

.unified-panel-body .toc-number {
    width: 24px;
    height: 24px;
    background: #e5e7eb;
    color: #4b5563;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Tag Cloud on Post Detail ===== */
.promo-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.promo-tag-pill {
    --tag-color: #6366f1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    background: color-mix(in srgb, var(--tag-color) 12%, transparent);
    color: var(--tag-color);
    border: 1px solid color-mix(in srgb, var(--tag-color) 25%, transparent);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.promo-tag-pill:hover {
    background: var(--tag-color);
    color: white;
    border-color: var(--tag-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--tag-color) 35%, transparent);
}

.promo-tag-pill i {
    font-size: 0.7rem;
}

/* ==========================================================
       ARCHIVE HERO — Matches Contact / FAQ Hero Style
       ========================================================== */

.archive-hero {
    --hero-accent: #14b8a6;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--hero-accent) 25%, #0c1222) 0%,
            color-mix(in srgb, var(--hero-accent) 45%, #1e3a5f) 50%,
            var(--hero-accent) 100%);
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Radial accent overlays — strong color glow */
.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--hero-accent) 30%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--hero-accent) 20%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, color-mix(in srgb, var(--hero-accent) 15%, transparent) 0%, transparent 40%);
    pointer-events: none;
}

/* Bottom fade to page bg */
.archive-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-light) 0%, transparent 100%);
    pointer-events: none;
}

/* Floating particles — same as contact hero */
.archive-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.archive-hero-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.archive-hero-particles .particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.archive-hero-particles .particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
}

.archive-hero-particles .particle:nth-child(3) {
    left: 50%;
    top: 30%;
    animation-delay: 4s;
}

.archive-hero-particles .particle:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 1s;
}

.archive-hero-particles .particle:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-delay: 3s;
}

/* Breadcrumb */
.archive-hero-crumb {
    background: none;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.archive-hero-crumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.archive-hero-crumb .breadcrumb-item a:hover {
    color: #fff;
}

.archive-hero-crumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.archive-hero-crumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* Badge pill — like contact hero-badge */
.archive-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.archive-hero-badge i {
    color: var(--hero-accent);
}

/* Title */
.archive-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
    line-height: 1.2;
}

/* Subtitle */
.archive-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    line-height: 1.6;
}

.archive-hero-subtitle strong {
    color: var(--hero-accent);
}

/* Meta */
.archive-hero-meta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.archive-hero-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
}

.archive-hero-count i {
    color: var(--hero-accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .archive-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .archive-hero-title {
        font-size: 1.8rem;
    }

    .archive-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .archive-hero {
        padding: 3rem 0 2rem;
    }

    .archive-hero-title {
        font-size: 1.5rem;
    }

    .archive-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .archive-hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/* Unified Panel Styles */
.unified-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

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

.unified-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
}

.unified-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: white;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.unified-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.unified-panel-header span {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unified-panel-header i {
    color: #0f766e;
}

.unified-panel-close {
    background: #e5e7eb;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.unified-panel-close:hover {
    background: #d1d5db;
    color: #1f2937;
}

.unified-panel-body {
    padding: 1rem 1.25rem;
    max-height: calc(85vh - 60px);
    overflow-y: auto;
}

/* Offer Panel Styles */
.unified-offer-body {
    text-align: center;
}

.offer-logo {
    margin-bottom: 0.75rem;
}

.offer-logo img {
    max-width: 80px;
    height: auto;
}

.offer-company {
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.offer-rating {
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.offer-rating span {
    color: #1f2937;
    font-weight: 600;
    margin-left: 0.25rem;
}

.offer-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f766e;
    margin-bottom: 0.5rem;
}

.offer-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* Mobile TOC in Unified Panel */
.unified-panel-body .floating-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unified-panel-body .floating-toc-item {
    border-bottom: 1px solid #f3f4f6;
}

.unified-panel-body .floating-toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.unified-panel-body .floating-toc-link:hover {
    color: #0f766e;
}

.unified-panel-body .toc-number {
    width: 24px;
    height: 24px;
    background: #e5e7eb;
    color: #4b5563;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.unified-panel-body .toc-text {
    font-size: 0.9rem;
}