/*
 * CT_PRODUCT_DETAIL_03H_ELOY_REWARDS_ADVANTAGES_TAB_SAFE
 * Product-only visual layer for the Eloy rewards/vouchers tab.
 */
body#product #ct-product-rewards-advantages-03h {
    --ct03h-gold: #b58a49;
    --ct03h-gold-dark: #8d672f;
    --ct03h-ink: #151515;
    --ct03h-muted: #6f6962;
    --ct03h-line: #e9e0d5;
    --ct03h-soft: #fbf8f4;
    --ct03h-green: #3f805c;
    color: var(--ct03h-ink);
    font-family: inherit;
    padding: 0;
}

body#product
[data-ct-product-rewards-panel-03h="active"] {
    padding: 0 !important;
}

body#product .ct03h-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 20px;
    border: 1px solid var(--ct03h-line);
    border-bottom: 0;
    background:
        linear-gradient(112deg, #fff 0%, #fff 58%, #f5eadc 100%);
}

body#product .ct03h-eyebrow,
body#product .ct03h-section-eyebrow {
    margin: 0 0 6px;
    color: var(--ct03h-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body#product .ct03h-hero h3,
body#product .ct03h-section-title {
    margin: 0;
    color: var(--ct03h-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
}

body#product .ct03h-hero h3 {
    font-size: 23px;
    line-height: 1.25;
}

body#product .ct03h-hero p {
    max-width: 560px;
    margin: 7px 0 0;
    color: var(--ct03h-muted);
    font-size: 13px;
    line-height: 1.55;
}

body#product .ct03h-profile-badge {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid #dfe9e2;
    background: #f4faf6;
    color: #2c6547;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body#product
#ct-product-rewards-advantages-03h[data-associated="true"]
.ct03h-profile-badge {
    display: inline-flex;
}

body#product .ct03h-profile-badge::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ca26c;
    content: "";
}

body#product .ct03h-loading,
body#product .ct03h-message {
    border: 1px solid var(--ct03h-line);
    padding: 24px;
    background: #fff;
}

body#product .ct03h-loading {
    display: grid;
    gap: 11px;
}

body#product .ct03h-loading[hidden],
body#product .ct03h-content[hidden],
body#product .ct03h-message[hidden] {
    display: none !important;
}

body#product .ct03h-skeleton {
    height: 15px;
    max-width: 100%;
    background:
        linear-gradient(
            90deg,
            #f1ece6 0%,
            #faf7f3 50%,
            #f1ece6 100%
        );
    background-size: 220% 100%;
    animation: ct03hLoading 1.25s linear infinite;
}

body#product .ct03h-skeleton:nth-child(1) {
    width: 48%;
}

body#product .ct03h-skeleton:nth-child(2) {
    width: 82%;
}

body#product .ct03h-skeleton:nth-child(3) {
    width: 66%;
}

@keyframes ct03hLoading {
    to {
        background-position: -220% 0;
    }
}

body#product .ct03h-content {
    border: 1px solid var(--ct03h-line);
    background: #fff;
}

body#product .ct03h-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--ct03h-line);
}

body#product .ct03h-metric {
    min-width: 0;
    padding: 17px 16px;
    border-right: 1px solid var(--ct03h-line);
}

body#product .ct03h-metric:last-child {
    border-right: 0;
}

body#product .ct03h-metric-label {
    display: block;
    margin-bottom: 5px;
    color: var(--ct03h-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body#product .ct03h-metric-value {
    display: block;
    overflow: hidden;
    color: var(--ct03h-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body#product .ct03h-metric-note {
    display: block;
    margin-top: 4px;
    color: var(--ct03h-muted);
    font-size: 10px;
    line-height: 1.35;
}

body#product .ct03h-section {
    padding: 23px;
    border-bottom: 1px solid var(--ct03h-line);
}

body#product .ct03h-section:last-of-type {
    border-bottom: 0;
}

body#product .ct03h-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

body#product .ct03h-section-title {
    font-size: 17px;
    line-height: 1.25;
}

body#product .ct03h-section-meta {
    color: var(--ct03h-muted);
    font-size: 11px;
    line-height: 1.45;
    text-align: right;
}

body#product .ct03h-points-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 12px;
    margin-bottom: 15px;
}

body#product .ct03h-points-card,
body#product .ct03h-next-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--ct03h-line);
    background: var(--ct03h-soft);
}

body#product .ct03h-points-number {
    margin: 4px 0;
    color: var(--ct03h-gold-dark);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

body#product .ct03h-card-level {
    color: var(--ct03h-ink);
    font-size: 13px;
    font-weight: 700;
}

body#product .ct03h-card-code,
body#product .ct03h-next-copy {
    margin-top: 7px;
    color: var(--ct03h-muted);
    font-size: 11px;
    line-height: 1.45;
}

body#product .ct03h-next-value {
    margin: 4px 0 5px;
    color: var(--ct03h-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

body#product .ct03h-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

body#product .ct03h-benefit-card {
    position: relative;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--ct03h-line);
    border-left: 3px solid var(--ct03h-gold);
    background: #fff;
}

body#product .ct03h-benefit-card.is-reward {
    border-left-color: #1f1f1f;
}

body#product .ct03h-benefit-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

body#product .ct03h-benefit-value {
    color: var(--ct03h-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
}

body#product .ct03h-benefit-status {
    flex: 0 0 auto;
    padding: 4px 7px;
    border: 1px solid #eadfcf;
    background: #fbf6ee;
    color: var(--ct03h-gold-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body#product .ct03h-benefit-title {
    overflow: hidden;
    margin: 10px 0 9px;
    color: #2b2927;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body#product .ct03h-benefit-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    margin: 0;
}

body#product .ct03h-benefit-meta div {
    min-width: 0;
}

body#product .ct03h-benefit-meta dt {
    margin: 0 0 2px;
    color: var(--ct03h-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body#product .ct03h-benefit-meta dd {
    overflow: hidden;
    margin: 0;
    color: var(--ct03h-ink);
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body#product .ct03h-empty {
    padding: 18px;
    border: 1px dashed #d8c9b6;
    background: #fcfaf7;
    color: var(--ct03h-muted);
    font-size: 12px;
    line-height: 1.5;
}

body#product .ct03h-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 23px 22px;
    background: var(--ct03h-soft);
}

body#product .ct03h-action,
body#product .ct03h-retry {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid var(--ct03h-gold);
    background: #fff;
    color: var(--ct03h-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.3;
    text-decoration: none !important;
    text-transform: uppercase;
}

body#product .ct03h-action.is-primary {
    border-color: #161616;
    background: #161616;
    color: #fff;
}

body#product .ct03h-action:hover,
body#product .ct03h-action:focus,
body#product .ct03h-retry:hover,
body#product .ct03h-retry:focus {
    border-color: var(--ct03h-gold-dark);
    color: var(--ct03h-gold-dark);
}

body#product .ct03h-action.is-primary:hover,
body#product .ct03h-action.is-primary:focus {
    border-color: var(--ct03h-gold);
    background: var(--ct03h-gold);
    color: #fff;
}

body#product .ct03h-message h4 {
    margin: 0 0 8px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

body#product .ct03h-message p {
    margin: 0 0 15px;
    color: var(--ct03h-muted);
    font-size: 12px;
    line-height: 1.55;
}

body#product
[data-ct-product-rewards-tab-03h="active"] {
    white-space: nowrap;
}

@media (max-width: 991px) {
    body#product .ct03h-hero {
        display: block;
        padding: 20px 18px 17px;
    }

    body#product .ct03h-profile-badge {
        margin-top: 13px;
    }

    body#product .ct03h-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body#product .ct03h-metric:nth-child(2) {
        border-right: 0;
    }

    body#product .ct03h-metric:nth-child(-n+2) {
        border-bottom: 1px solid var(--ct03h-line);
    }

    body#product .ct03h-section {
        padding: 19px 17px;
    }

    body#product .ct03h-points-overview,
    body#product .ct03h-grid {
        grid-template-columns: 1fr;
    }

    body#product .ct03h-section-head {
        display: block;
    }

    body#product .ct03h-section-meta {
        margin-top: 6px;
        text-align: left;
    }

    body#product .ct03h-actions {
        padding: 17px;
    }
}

@media (max-width: 575px) {
    body#product .ct03h-hero h3 {
        font-size: 20px;
    }

    body#product .ct03h-metric {
        padding: 14px 12px;
    }

    body#product .ct03h-metric-value {
        font-size: 17px;
    }

    body#product .ct03h-benefit-meta {
        grid-template-columns: 1fr;
    }

    body#product .ct03h-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body#product .ct03h-action,
    body#product .ct03h-retry {
        width: 100%;
    }
}
