/**
 * Alubio Transparency — Frontend Styles
 * Design system: Inter + Playfair Display, warm cream palette
 */

/* Campaign color utilities (use with --campaign CSS variable) */
.alubio-campaign-accent { color: var(--campaign, #1A1A1A); }
.alubio-campaign-bg { background-color: var(--campaign, #1A1A1A); }
.alubio-campaign-border { border-color: var(--campaign, #1A1A1A); }
.alubio-campaign-bg-soft { background-color: color-mix(in srgb, var(--campaign, #1A1A1A) 5%, transparent); }

/* Transparency breakdown on product page */
.alubio-transparency-breakdown {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Campaign badge in shop loop */
.alubio-campaign-badge {
    line-height: 1;
}

/* Cart summary */
.alubio-cart-summary {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Checkout donation row */
.alubio-checkout-donation th,
.alubio-checkout-donation td {
    padding-top: 16px !important;
    padding-bottom: 8px !important;
}

.alubio-checkout-donation .alubio-donation-total {
    font-size: 20px;
    font-weight: 900;
    color: #1A1A1A;
}

.alubio-checkout-note td {
    padding-top: 0 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #E5E1DA;
}

/* Thank you banner */
.alubio-thankyou-banner {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================
   Global utilities
   ============================================= */
.alubio-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6B6B6B;
    display: inline-block;
    margin-bottom: 12px;
}

.alubio-heading-serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.alubio-section-spacing {
    padding: 80px 0;
}

/* =============================================
   Stats Bar — [alubio_stats_bar]
   ============================================= */
.alubio-stats-bar {
    padding: 48px 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.alubio-stats-bar__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 64px;
}

.alubio-stats-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.alubio-stats-bar__number {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.alubio-stats-bar__label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

/* =============================================
   Transparency Page — [alubio_transparency]
   ============================================= */
.alubio-tp {
    max-width: 900px;
    margin: 0 auto;
    color: #1A1A1A;
}

/* --- Hero --- */
.alubio-tp__hero {
    text-align: center;
    padding: 60px 24px 48px;
}

.alubio-tp__hero-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin: 8px 0 16px;
    color: #1A1A1A;
}

.alubio-tp__hero-title em {
    font-style: italic;
}

.alubio-tp__hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #6B6B6B;
    max-width: 560px;
    margin: 0 auto 32px;
}

.alubio-tp__hero-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 20px 40px;
    border-radius: 8px;
}

.alubio-tp__hero-stat-number {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
}

.alubio-tp__hero-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

/* --- Section shared --- */
.alubio-tp__section-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 8px;
    color: #1A1A1A;
}

/* --- Breakdown --- */
.alubio-tp__breakdown {
    padding: 48px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-tp__breakdown-note {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 32px;
}

.alubio-tp__breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.alubio-tp__breakdown-table {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 8px;
    padding: 24px;
}

.alubio-tp__cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}

.alubio-tp__cost-row--highlight {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #1A1A1A;
    font-weight: 700;
    font-size: 16px;
}

.alubio-tp__cost-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1A1A1A;
}

.alubio-tp__cost-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.alubio-tp__cost-value {
    font-weight: 600;
    color: #1A1A1A;
}

.alubio-tp__cost-divider {
    height: 1px;
    background: #E5E1DA;
    margin: 8px 0;
}

.alubio-tp__breakdown-chart {
    min-height: 200px;
    display: flex;
    align-items: center;
}

/* --- Transfers --- */
.alubio-tp__transfers {
    padding: 48px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-tp__transfers-subtitle {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 24px;
}

.alubio-tp__transfers-empty {
    background: #F5F3EF;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: #6B6B6B;
    font-size: 14px;
}

.alubio-tp__transfers-table-wrap {
    overflow-x: auto;
}

.alubio-tp__transfers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.alubio-tp__transfers-table thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
    padding: 12px 16px;
    border-bottom: 2px solid #1A1A1A;
}

.alubio-tp__transfers-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #E5E1DA;
    vertical-align: middle;
}

.alubio-tp__transfers-table tbody tr:last-child td {
    border-bottom: none;
}

.alubio-tp__transfers-table tbody tr:hover {
    background: #F5F3EF;
}

.alubio-tp__pdf-link {
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.alubio-tp__pdf-link:hover {
    text-decoration: underline;
}

.alubio-tp__pdf-pending {
    color: #BDBDBD;
    font-size: 13px;
}

/* --- S.I.P. --- */
.alubio-tp__sip {
    padding: 0 24px;
    margin: 48px 0;
}

.alubio-tp__sip-inner {
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 56px 48px;
    text-align: center;
}

.alubio-tp__sip-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 8px;
    color: #FFFFFF;
}

.alubio-tp__sip-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.alubio-tp__sip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.alubio-tp__sip-card {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 28px 16px;
}

.alubio-tp__sip-card-number {
    display: block;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.alubio-tp__sip-card-text {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
}

.alubio-tp__sip-note {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- FAQ --- */
.alubio-tp__faq {
    padding: 48px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-tp__faq-list {
    margin-top: 24px;
}

.alubio-tp__faq-item {
    border-bottom: 1px solid #E5E1DA;
}

.alubio-tp__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    list-style: none;
}

.alubio-tp__faq-question::-webkit-details-marker {
    display: none;
}

.alubio-tp__faq-question::marker {
    content: '';
}

.alubio-faq__icon {
    font-size: 20px;
    font-weight: 300;
    color: #6B6B6B;
    flex-shrink: 0;
    margin-left: 16px;
    width: 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

.alubio-tp__faq-answer {
    padding: 0 0 20px;
}

.alubio-tp__faq-answer p {
    font-size: 14px;
    line-height: 1.7;
    color: #6B6B6B;
    margin: 0;
}

/* --- Quote --- */
.alubio-tp__quote {
    padding: 56px 24px;
    text-align: center;
    border-top: 1px solid #E5E1DA;
}

.alubio-tp__quote blockquote {
    margin: 0;
    padding: 0;
}

.alubio-tp__quote p {
    font-size: 24px;
    line-height: 1.4;
    color: #1A1A1A;
}

/* =============================================
   Responsive adjustments
   ============================================= */
@media (max-width: 768px) {
    .alubio-transparency-breakdown .alubio-donation-highlight {
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }

    .alubio-donation-highlight > div:last-child {
        text-align: left !important;
    }

    .alubio-thankyou-banner > div:last-of-type {
        flex-direction: column;
    }

    /* Stats bar responsive */
    .alubio-stats-bar__inner {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .alubio-stats-bar__number {
        font-size: 28px;
    }

    /* Transparency page responsive */
    .alubio-tp__hero-title {
        font-size: 30px;
    }

    .alubio-tp__breakdown-grid {
        grid-template-columns: 1fr;
    }

    .alubio-tp__sip-inner {
        padding: 40px 24px;
    }

    .alubio-tp__sip-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .alubio-tp__sip-card-number {
        font-size: 28px;
    }

    .alubio-tp__transfers-table thead {
        display: none;
    }

    .alubio-tp__transfers-table tbody tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid #E5E1DA;
    }

    .alubio-tp__transfers-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 4px 0;
        border: none;
    }

    .alubio-tp__transfers-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #6B6B6B;
    }

    .alubio-tp__quote p {
        font-size: 20px;
    }
}

/* =============================================
   Impact Page — [alubio_impact]
   ============================================= */
.alubio-ip {
    max-width: 900px;
    margin: 0 auto;
    color: #1A1A1A;
}

/* --- Header --- */
.alubio-ip__header {
    text-align: center;
    padding: 60px 24px 32px;
}

.alubio-ip__header-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin: 8px 0 16px;
    color: #1A1A1A;
}

.alubio-ip__header-title em {
    font-style: italic;
}

.alubio-ip__header-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #6B6B6B;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Mega-counter --- */
.alubio-ip__counter {
    text-align: center;
    padding: 32px 24px 56px;
}

.alubio-ip__counter-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 32px 56px;
    border-radius: 12px;
}

.alubio-ip__counter-amount {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.alubio-ip__counter-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

/* --- Section shared --- */
.alubio-ip__section-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 8px;
    color: #1A1A1A;
}

/* --- Empty state --- */
.alubio-ip__empty {
    background: #F5F3EF;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: #6B6B6B;
    font-size: 14px;
    margin-top: 24px;
}

/* --- Associations --- */
.alubio-ip__associations {
    padding: 48px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-ip__associations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.alubio-ip__assoc-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.alubio-ip__assoc-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.alubio-ip__assoc-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: #F5F3EF;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.alubio-ip__assoc-logo-placeholder {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    color: #6B6B6B;
}

.alubio-ip__assoc-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1A1A1A;
}

.alubio-ip__assoc-city {
    font-size: 13px;
    color: #6B6B6B;
    display: block;
    margin-bottom: 16px;
}

.alubio-ip__assoc-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #E5E1DA;
}

.alubio-ip__assoc-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alubio-ip__assoc-stat-value {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-ip__assoc-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6B6B6B;
}

/* --- Timeline --- */
.alubio-ip__timeline {
    padding: 48px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-ip__timeline-track {
    margin-top: 32px;
    padding-left: 12px;
}

.alubio-ip__timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.alubio-ip__timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 16px;
}

.alubio-ip__timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E1DA;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 2px #E5E1DA;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.alubio-ip__timeline-item--current .alubio-ip__timeline-dot {
    background: #1A1A1A;
    box-shadow: 0 0 0 2px #1A1A1A;
}

.alubio-ip__timeline-line {
    width: 2px;
    flex-grow: 1;
    background: #E5E1DA;
    min-height: 24px;
}

.alubio-ip__timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 32px;
}

.alubio-ip__timeline-quarter {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
}

.alubio-ip__timeline-amount {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-ip__timeline-detail {
    font-size: 13px;
    color: #6B6B6B;
    line-height: 1.5;
}

/* --- CTA Banner --- */
.alubio-ip__cta {
    padding: 0 24px;
    margin: 48px 0 56px;
}

.alubio-ip__cta-inner {
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 56px 48px;
    text-align: center;
}

.alubio-ip__cta-label {
    color: rgba(255, 255, 255, 0.6);
}

.alubio-ip__cta-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 8px;
    color: #FFFFFF;
}

.alubio-ip__cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.alubio-ip__cta-button {
    display: inline-block;
    background: #FFFFFF;
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.alubio-ip__cta-button:hover {
    opacity: 0.9;
    color: #1A1A1A;
    text-decoration: none;
}

/* =============================================
   CPT Templates — Causa, Asociación, Campaña, Archive
   ============================================= */
.alubio-cpt {
    max-width: 900px;
    margin: 0 auto;
    color: #1A1A1A;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Hero --- */
.alubio-cpt__hero {
    text-align: center;
    padding: 60px 24px 40px;
}

.alubio-cpt__hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.alubio-cpt__hero-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    margin: 8px 0 12px;
    color: #1A1A1A;
}

.alubio-cpt__hero-title em {
    font-style: italic;
}

.alubio-cpt__hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #6B6B6B;
    margin: 0 0 20px;
}

.alubio-cpt__hero-icon,
.alubio-cpt__hero-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #F5F3EF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alubio-cpt__hero-icon--placeholder,
.alubio-cpt__hero-logo--placeholder {
    color: #FFFFFF;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
}

.alubio-cpt__hero-icon-img,
.alubio-cpt__hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alubio-cpt__hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6B6B6B;
    margin-top: 12px;
    flex-wrap: wrap;
}

.alubio-cpt__hero-meta-label {
    font-weight: 600;
    color: #1A1A1A;
}

.alubio-cpt__hero-meta-link {
    color: #1A1A1A;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.alubio-cpt__hero-meta-link:hover {
    opacity: 0.7;
}

.alubio-cpt__hero-meta-sep {
    color: #6B6B6B;
}

.alubio-cpt__hero-meta-city {
    color: #6B6B6B;
}

.alubio-cpt__campaign-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-top: 16px;
}

.alubio-cpt__hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.alubio-cpt__hero-dates {
    font-size: 13px;
    color: #6B6B6B;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alubio-cpt__days-badge {
    display: inline-block;
    background: #1A1A1A;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alubio-cpt__days-badge--completed {
    background: #6B6B6B;
}

/* --- Buttons --- */
.alubio-cpt__btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.alubio-cpt__btn:hover {
    opacity: 0.85;
}

.alubio-cpt__btn--primary {
    background: #1A1A1A;
    color: #FFFFFF;
}

.alubio-cpt__btn--secondary {
    background: transparent;
    color: #1A1A1A;
    border: 1px solid #E5E1DA;
}

/* --- Stats --- */
.alubio-cpt__stats {
    padding: 0 24px 40px;
}

.alubio-cpt__stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.alubio-cpt__stats-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
    margin: 0 auto;
}

.alubio-cpt__stat-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alubio-cpt__stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-cpt__stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
}

/* --- Content --- */
.alubio-cpt__content {
    padding: 32px 24px 40px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__content p {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 16px;
}

.alubio-cpt__description {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A4A;
    margin-top: 16px;
}

.alubio-cpt__description p {
    margin-bottom: 12px;
}

/* --- Association card (on causa page) --- */
.alubio-cpt__association {
    padding: 40px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__assoc-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

.alubio-cpt__assoc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.alubio-cpt__assoc-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.alubio-cpt__assoc-name {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.alubio-cpt__assoc-city {
    font-size: 13px;
    color: #6B6B6B;
}

.alubio-cpt__assoc-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #6B6B6B;
    margin-bottom: 16px;
}

.alubio-cpt__assoc-link {
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    text-decoration: none;
}

.alubio-cpt__assoc-link:hover {
    text-decoration: underline;
}

/* --- Institutional data --- */
.alubio-cpt__institutional {
    padding: 40px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 4px 0 24px;
    color: #1A1A1A;
}

.alubio-cpt__data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.alubio-cpt__data-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alubio-cpt__data-key {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
}

.alubio-cpt__data-value {
    font-size: 15px;
    color: #1A1A1A;
}

.alubio-cpt__data-value a {
    color: #1A1A1A;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Causas grid (on asociacion page) --- */
.alubio-cpt__causas-section {
    padding: 40px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__causas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.alubio-cpt__causa-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.alubio-cpt__causa-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    color: inherit;
}

.alubio-cpt__causa-card-top {
    padding: 24px 20px 16px;
    flex: 1;
}

.alubio-cpt__causa-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.alubio-cpt__causa-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alubio-cpt__causa-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1A1A1A;
}

.alubio-cpt__causa-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #6B6B6B;
    margin: 0;
}

.alubio-cpt__causa-card-footer {
    padding: 12px 20px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__causa-card-raised {
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
}

/* --- Campaigns grid --- */
.alubio-cpt__campaigns {
    padding: 40px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__campaigns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.alubio-cpt__campaign-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
}

.alubio-cpt__campaign-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    color: inherit;
}

.alubio-cpt__campaign-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.alubio-cpt__campaign-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alubio-cpt__campaign-card-body {
    padding: 16px 20px 20px;
}

.alubio-cpt__campaign-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
}

.alubio-cpt__campaign-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0 12px;
    color: #1A1A1A;
}

/* --- Progress bar --- */
.alubio-cpt__progress-bar {
    height: 6px;
    background: #E5E1DA;
    border-radius: 3px;
    overflow: hidden;
}

.alubio-cpt__progress-bar--large {
    height: 10px;
    border-radius: 5px;
}

.alubio-cpt__progress-fill {
    height: 100%;
    border-radius: inherit;
    transition: width 0.5s ease;
}

.alubio-cpt__progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6B6B6B;
    margin-top: 6px;
}

.alubio-cpt__progress-section {
    padding: 0 24px 40px;
}

.alubio-cpt__progress-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    padding: 32px;
    max-width: 560px;
    margin: 0 auto;
}

.alubio-cpt__progress-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.alubio-cpt__progress-raised {
    font-size: 36px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-cpt__progress-goal {
    font-size: 14px;
    color: #6B6B6B;
}

.alubio-cpt__progress-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: #6B6B6B;
}

.alubio-cpt__progress-percent {
    font-weight: 600;
    color: #1A1A1A;
}

/* --- Products grid --- */
.alubio-cpt__products {
    padding: 40px 24px;
    border-top: 1px solid #E5E1DA;
}

.alubio-cpt__products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.alubio-cpt__product-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
}

.alubio-cpt__product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    color: inherit;
}

.alubio-cpt__product-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: #F5F3EF;
}

.alubio-cpt__product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alubio-cpt__product-card-body {
    padding: 16px;
}

.alubio-cpt__product-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 6px;
}

.alubio-cpt__product-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1A1A1A;
}

.alubio-cpt__product-price {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
}

/* --- Featured image --- */
.alubio-cpt__featured-image {
    padding: 0 24px 40px;
}

.alubio-cpt__featured-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* --- CTA (campaign / archive) --- */
.alubio-cpt__cta {
    padding: 0 24px;
    margin: 40px 0 56px;
}

.alubio-cpt__cta-inner {
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
}

.alubio-cpt__cta-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 8px auto 24px;
    max-width: 480px;
}

.alubio-cpt__cta-text strong {
    color: #FFFFFF;
}

.alubio-cpt__cta-btn {
    display: inline-block;
    background: #FFFFFF;
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.alubio-cpt__cta-btn:hover {
    opacity: 0.9;
    color: #1A1A1A;
    text-decoration: none;
}

/* --- Archive grid --- */
.alubio-cpt__archive-grid-section {
    padding: 0 24px 40px;
}

.alubio-cpt__archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.alubio-cpt__archive-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.alubio-cpt__archive-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    color: inherit;
}

.alubio-cpt__archive-card-top {
    padding: 24px 20px 16px;
    flex: 1;
}

.alubio-cpt__archive-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.alubio-cpt__archive-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5F3EF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alubio-cpt__archive-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alubio-cpt__archive-icon--placeholder {
    color: #FFFFFF;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
}

.alubio-cpt__archive-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1A1A1A;
}

.alubio-cpt__archive-card-asoc {
    font-size: 12px;
    color: #6B6B6B;
    display: block;
    margin-top: 2px;
}

.alubio-cpt__archive-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #6B6B6B;
    margin: 0;
}

.alubio-cpt__archive-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #E5E1DA;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alubio-cpt__archive-card-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alubio-cpt__archive-card-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-cpt__archive-card-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6B6B6B;
}

.alubio-cpt__archive-card-arrow {
    font-size: 18px;
    color: #6B6B6B;
}

.alubio-cpt__archive-empty {
    background: #F5F3EF;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: #6B6B6B;
    font-size: 14px;
}

/* --- Pagination --- */
.alubio-cpt__pagination {
    margin-top: 32px;
    text-align: center;
}

.alubio-cpt__pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.alubio-cpt__pagination li a,
.alubio-cpt__pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1A1A1A;
    border: 1px solid #E5E1DA;
    transition: background 0.2s ease;
}

.alubio-cpt__pagination li a:hover {
    background: #F5F3EF;
}

.alubio-cpt__pagination li .current {
    background: #1A1A1A;
    color: #FFFFFF;
    border-color: #1A1A1A;
}

/* --- CPT Responsive --- */
@media (max-width: 768px) {
    .alubio-cpt__hero-title {
        font-size: 28px;
    }

    .alubio-cpt__stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .alubio-cpt__stats-grid--compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .alubio-cpt__data-grid {
        grid-template-columns: 1fr;
    }

    .alubio-cpt__causas-grid {
        grid-template-columns: 1fr;
    }

    .alubio-cpt__campaigns-grid {
        grid-template-columns: 1fr;
    }

    .alubio-cpt__products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .alubio-cpt__archive-grid {
        grid-template-columns: 1fr;
    }

    .alubio-cpt__progress-raised {
        font-size: 28px;
    }

    .alubio-cpt__cta-inner {
        padding: 36px 24px;
    }

    .alubio-cpt__hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Impact Page responsive --- */
@media (max-width: 768px) {
    .alubio-ip__header-title {
        font-size: 30px;
    }

    .alubio-ip__counter-amount {
        font-size: 40px;
    }

    .alubio-ip__counter-card {
        padding: 24px 36px;
    }

    .alubio-ip__associations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .alubio-ip__cta-inner {
        padding: 40px 24px;
    }

    .alubio-ip__cta-title {
        font-size: 24px;
    }
}

/* ============================================================
   RECEIPT PAGE  (class="alubio-rp")
   ============================================================ */

.alubio-rp {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.alubio-rp__header {
    text-align: center;
    padding: 48px 0 24px;
}

.alubio-rp__title {
    font-size: clamp(28px, 5vw, 42px);
    margin: 12px 0 8px;
}

.alubio-rp__subtitle {
    font-size: 15px;
    color: #6B6B6B;
    margin: 0;
}

/* Summary cards */
.alubio-rp__summary {
    padding: 16px 0 40px;
}

.alubio-rp__summary-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

.alubio-rp__summary-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alubio-rp__summary-card--main {
    background: #1A1A1A;
    border-color: #1A1A1A;
}

.alubio-rp__summary-card--main .alubio-rp__summary-value {
    color: #FFFFFF;
    font-size: 32px;
}

.alubio-rp__summary-card--main .alubio-rp__summary-label {
    color: rgba(255,255,255,0.7);
}

.alubio-rp__summary-value {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-rp__summary-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
}

/* Breakdown table */
.alubio-rp__breakdown {
    padding: 40px 0;
    border-top: 1px solid #E5E1DA;
}

.alubio-rp__section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0 24px;
    color: #1A1A1A;
}

.alubio-rp__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.alubio-rp__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.alubio-rp__table thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6B6B6B;
    padding: 0 12px 12px;
    border-bottom: 2px solid #E5E1DA;
    white-space: nowrap;
}

.alubio-rp__table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #F0ECE6;
    color: #4A4A4A;
    white-space: nowrap;
}

.alubio-rp__table tbody td:last-child {
    color: #1A1A1A;
}

.alubio-rp__table tfoot td {
    padding: 14px 12px;
    border-top: 2px solid #E5E1DA;
    font-weight: 600;
    color: #1A1A1A;
}

.alubio-rp__product-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alubio-rp__product-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.alubio-rp__pct {
    font-size: 12px;
    color: #6B6B6B;
    font-weight: 400;
    margin-left: 4px;
}

/* Causas section */
.alubio-rp__causas {
    padding: 40px 0;
    border-top: 1px solid #E5E1DA;
}

.alubio-rp__causas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.alubio-rp__causa-card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.alubio-rp__causa-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    color: inherit;
}

.alubio-rp__causa-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.alubio-rp__causa-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1A1A1A;
}

.alubio-rp__causa-assoc {
    font-size: 12px;
    color: #6B6B6B;
    margin-bottom: 12px;
}

.alubio-rp__causa-amount {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alubio-rp__causa-amount strong {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
}

.alubio-rp__causa-amount span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6B6B6B;
}

/* CTA */
.alubio-rp__cta {
    margin: 40px 0 56px;
}

.alubio-rp__cta-inner {
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
}

.alubio-rp__cta-label {
    color: rgba(255,255,255,0.6);
}

.alubio-rp__cta-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 12px 0 8px;
}

.alubio-rp__cta-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    max-width: 460px;
    margin: 0 auto 24px;
}

.alubio-rp__cta-button {
    display: inline-block;
    background: #FFFFFF;
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.alubio-rp__cta-button:hover {
    opacity: 0.9;
    color: #1A1A1A;
    text-decoration: none;
}

/* Receipt responsive */
@media (max-width: 768px) {
    .alubio-rp__summary-grid {
        grid-template-columns: 1fr;
    }

    .alubio-rp__table {
        font-size: 12px;
    }

    .alubio-rp__table thead th {
        font-size: 9px;
        padding: 0 8px 10px;
    }

    .alubio-rp__table tbody td,
    .alubio-rp__table tfoot td {
        padding: 10px 8px;
    }

    .alubio-rp__causas-grid {
        grid-template-columns: 1fr;
    }

    .alubio-rp__cta-inner {
        padding: 36px 24px;
    }
}


/* ============================================================
   FEATURED PRODUCTS  (class="alubio-fp")
   ============================================================ */

.alubio-fp {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.alubio-fp__header {
    text-align: center;
    padding: 24px 0 32px;
}

.alubio-fp__title {
    font-size: clamp(24px, 4vw, 36px);
    margin: 8px 0 0;
}

/* Grid */
.alubio-fp__grid {
    display: grid;
    gap: 24px;
}

.alubio-fp__grid--2col { grid-template-columns: repeat(2, 1fr); }
.alubio-fp__grid--3col { grid-template-columns: repeat(3, 1fr); }
.alubio-fp__grid--4col { grid-template-columns: repeat(4, 1fr); }

/* Card */
.alubio-fp__card {
    background: #FFFFFF;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.alubio-fp__card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.alubio-fp__card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.alubio-fp__card-link:hover {
    color: inherit;
}

/* Image */
.alubio-fp__card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #F5F3EF;
}

.alubio-fp__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alubio-fp__card:hover .alubio-fp__card-image img {
    transform: scale(1.04);
}

.alubio-fp__card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
    color: #C0BDB8;
}

/* Badge */
.alubio-fp__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1.3;
}

/* Card body */
.alubio-fp__card-body {
    padding: 16px 20px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.alubio-fp__card-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1A1A1A;
    line-height: 1.3;
}

.alubio-fp__card-prices {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.alubio-fp__card-prices .woocommerce-Price-amount {
    font-weight: 700;
}

/* Donation bar */
.alubio-fp__card-donation {
    margin-top: auto;
}

.alubio-fp__donation-amount {
    font-size: 12px;
    font-weight: 600;
    color: #6B6B6B;
    display: block;
    margin-bottom: 6px;
}

.alubio-fp__donation-bar {
    display: block;
    width: 100%;
    height: 4px;
    background: #E5E1DA;
    border-radius: 2px;
    overflow: hidden;
}

.alubio-fp__donation-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Add to cart */
.alubio-fp__card-action {
    padding: 0 20px 16px;
}

.alubio-fp__add-to-cart {
    display: block;
    text-align: center;
    background: #1A1A1A;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.alubio-fp__add-to-cart:hover {
    opacity: 0.85;
    color: #FFFFFF;
    text-decoration: none;
}

/* Featured products responsive */
@media (max-width: 768px) {
    .alubio-fp__grid--3col,
    .alubio-fp__grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .alubio-fp__card-image {
        aspect-ratio: 4/3;
    }

    .alubio-fp__card-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .alubio-fp__grid--2col,
    .alubio-fp__grid--3col,
    .alubio-fp__grid--4col {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   P7.5 — UX AUDIT FIXES (24 Feb 2026)
   ============================================================ */

/* P7.5B: Fix gold text contrast — WCAG AA compliant
   Original: rgb(252, 185, 0) = ratio 1.74:1 on white
   Fixed: #9A7B00 = ratio ~5.2:1 on white */
.has-luminous-vivid-amber-color {
    color: #9A7B00 !important;
}

/* P7.5C: Tablet — force 2 columns at tablet breakpoint
   WooCommerce shop grid stays at 3 cols on 768px — too cramped */
@media (max-width: 999px) {
    .products.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    [data-products-columns="3"] {
        --product-listing-columns: 2 !important;
    }
}

/* P7.5D: Hide duplicate H1 "Inicio" (page-id-49 = homepage)
   Blocksy generates <h1 class="page-title">Inicio</h1> */
.page-id-49 .page-title {
    display: none !important;
}

/* P7.5F: Feedback visual — add to cart button states */
.products .product .add_to_cart_button.added {
    background: #2E7D32 !important;
    color: #FFFFFF !important;
    transition: background 0.3s ease;
}
.products .product .add_to_cart_button.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}
.products .product .add_to_cart_button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #FFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: alubio-spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}
@keyframes alubio-spin {
    to { transform: rotate(360deg); }
}

/* P7.5G: Touch targets >= 44px for header icons */
[data-id="search"].ct-header-search {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ct-header-account > a,
.ct-header-cart > a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* P7.5H: Stack hero CTA buttons vertically on narrow screens */
@media (max-width: 480px) {
    .entry-content .wp-block-buttons {
        flex-direction: column !important;
        align-items: center;
        gap: 12px !important;
    }
    .entry-content .wp-block-buttons .wp-block-button {
        width: 100%;
        text-align: center;
    }
    .entry-content .wp-block-buttons .wp-block-button__link {
        width: 100%;
        text-align: center;
    }
}

/* P7.5I: Reduce hero whitespace — hero padding was 120px */
.page-id-49 .entry-content > .wp-block-group:first-child {
    padding-top: 48px !important;
    padding-bottom: 32px !important;
}

/* P7.5J: Hide stats bar temporarily (modest numbers reduce trust) */
.alubio-stats-bar {
    display: none !important;
}

/* ===================================================================
 * P7.5 UX AUDIT FIXES (Feb 2026)
 * =================================================================== */

/* P7.5B: Fix gold text contrast â WCAG AA compliant
 * Original: rgb(252,185,0) ratio ~1.74:1 â #9A7B00 ratio ~5.2:1 */
.has-luminous-vivid-amber-color {
    color: #9A7B00 !important;
}

/* P7.5F: Visual feedback when adding to cart */
.products .product .add_to_cart_button {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.products .product .add_to_cart_button:hover {
    opacity: 0.85;
}
.products .product .add_to_cart_button.added {
    background: #2E7D32 !important;
    color: #FFFFFF !important;
}
.products .product .add_to_cart_button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #FFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: alubio-spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}
@keyframes alubio-spin {
    to { transform: rotate(360deg); }
}
.added_to_cart.wc-forward,
a.added_to_cart {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.added_to_cart.wc-forward:hover,
a.added_to_cart:hover {
    opacity: 0.85;
}

/* P7.5G: Touch targets >= 44px for header icons */
[data-id="search"] > a,
.ct-header-account > a,
.ct-header-cart > a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* P7.5H: Stack hero CTAs on narrow screens */
@media (max-width: 480px) {
    .entry-content > .wp-block-group:first-child .wp-block-buttons {
        flex-direction: column !important;
        align-items: center;
        gap: 12px;
    }
    .entry-content > .wp-block-group:first-child .wp-block-button {
        width: 100%;
        text-align: center;
    }
}

/* P7.5I: Reduce hero whitespace */
.page-id-49 .entry-content > .wp-block-group:first-child {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* P7.5J: Hide stats bar until numbers are significant */
.alubio-stats-bar {
    display: none !important;
}

/* ===================================================================
 * HEADER FIXES â compact, sticky, visible buttons
 * =================================================================== */

/* 1. Reduce header height: 120px â 70px */
header.ct-header [data-row="middle"] {
    --height: 70px !important;
}
header.ct-header {
    --header-height: 70px !important;
}

/* 2. Sticky header â stays on top while scrolling */
header.ct-header {
    position: sticky !important;
    top: 0;
    z-index: 999;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
/* Offset for WordPress admin bar when logged in */
.admin-bar header.ct-header {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar header.ct-header {
        top: 46px; /* WP admin bar is taller on mobile */
    }
}

/* 3. "Ver carrito" button â highly visible */
.added_to_cart.wc-forward,
a.added_to_cart {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 8px !important;
    transition: opacity 0.2s ease;
}
.added_to_cart.wc-forward:hover,
a.added_to_cart:hover {
    opacity: 0.85;
    color: #FFFFFF !important;
}


/* Single product: "Ver carrito" como boton secundario outline */
.single-product .ct-cart-actions .added_to_cart.wc-forward {
    background: transparent !important;
    color: #1A1A1A !important;
    border: 2px solid #1A1A1A !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.single-product .ct-cart-actions .added_to_cart.wc-forward:hover {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    opacity: 1;
}


/* Fix: Imagen galeria producto — mostrar completa, sin recorte excesivo */
.single-product .flexy-item {
    max-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
}
.single-product .flexy-item img {
    object-fit: contain !important;
    max-height: 500px !important;
}
.single-product .flexy-items {
    max-height: 500px !important;
}
.single-product .flexy {
    max-height: 500px !important;
}
