/**
 * AgeBound Hidden Gem Alternative Finder CSS
 * Scoped under .abx-hgf
 */

/* Main Container & Base Settings */
.abx-hgf {
    font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333F48;
    background-color: #FAF6F0; /* Warm cream/beige background */
    padding: clamp(24px, 4vw, 60px) clamp(16px, 3vw, 32px);
    max-width: 1440px;
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
    border-radius: 20px;
    box-sizing: border-box;
}

/* Typography & Headings */
.abx-hgf h1,
.abx-hgf h2,
.abx-hgf h3,
.abx-hgf h4,
.abx-hgf h5 {
    color: #0A192F; /* Navy serif headings */
    font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.25;
}

.abx-hgf-kicker,
.abx-hgf-summary-kicker {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1F513B; /* Green kicker/accent */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

/* Base Buttons */
.abx-hgf .abx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    height: 48px;
    box-sizing: border-box;
    outline: none;
    border: none;
    white-space: nowrap;
}

.abx-hgf .abx-btn-primary {
    background-color: #E07A5F; /* Peach primary CTA */
    color: #FFFFFF;
}

.abx-hgf .abx-btn-primary:hover {
    background-color: #C9664B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.15);
}

.abx-hgf .abx-btn-outline {
    background-color: transparent;
    color: #333F48;
    border: 1px solid #CFCAC0;
}

.abx-hgf .abx-btn-outline:hover {
    background-color: #FAF6F0;
    border-color: #333F48;
}

.abx-hgf .abx-btn-secondary {
    background-color: #E8F2EC;
    color: #1F513B;
    border: 1px solid #C4DED0;
}

.abx-hgf .abx-btn-secondary:hover {
    background-color: #D3E7DB;
    color: #1F513B;
}

/* 1. HERO SECTION */
.abx-hgf-hero {
    padding: clamp(28px, 4vw, 48px);
    margin-bottom: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #EAE6DF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
}

.abx-hgf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

@media (max-width: 991px) {
    .abx-hgf-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.abx-hgf-headline {
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.abx-hgf-body {
    font-size: 17px;
    line-height: 1.6;
    color: #5A6570;
    margin-bottom: 30px;
    max-width: 580px;
}

.abx-hgf-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
    border-top: 1px solid #F0ECE6;
    padding-top: 25px;
}

.abx-hgf-hero-chip {
    display: inline-flex;
    align-items: center;
    background: #FAF6F0;
    border: 1px solid #EAE6DF;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #4A5560;
}

.abx-hgf-hero-action {
    display: flex;
    gap: 16px;
}

/* Hero Right: Comparison Card */
.abx-hgf-comparison-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid #EAE6DF;
}

.abx-hgf-comp-title {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1F513B; /* Accent Green */
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Popular Pick Row */
.abx-hgf-comp-popular-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.abx-hgf-comp-popular-img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.abx-hgf-comp-popular-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abx-hgf-comp-popular-info {
    display: flex;
    flex-direction: column;
}

.abx-hgf-comp-popular-name {
    font-size: 18px;
    margin-bottom: 4px;
    font-family: "Playfair Display", "Georgia", serif;
}

.abx-hgf-comp-popular-desc {
    font-size: 13px;
    color: #6A7580;
    margin: 0;
}

.abx-hgf-comp-divider {
    border: 0;
    border-top: 1px solid #F0ECE6;
    margin: 20px 0;
}

/* Alternatives List */
.abx-hgf-comp-alternatives-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.abx-hgf-comp-alt-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.abx-hgf-comp-alt-img-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.abx-hgf-comp-alt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abx-hgf-comp-alt-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.abx-hgf-comp-alt-name {
    font-size: 15px;
    margin: 0 0 2px 0;
    font-family: "Outfit", "Inter", sans-serif;
    font-weight: 700;
}

.abx-hgf-comp-alt-region {
    font-size: 12px;
    color: #6A7580;
    margin: 0;
}

.abx-hgf-comp-alt-badge-wrapper {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.abx-hgf-comp-vibe-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.abx-hgf-vibe-romantic { background: #EBFDF5; color: #1F513B; }
.abx-hgf-vibe-food { background: #FFF9E6; color: #D97706; }
.abx-hgf-vibe-slow { background: #EEF2FF; color: #4F46E5; }

.abx-hgf-comp-score-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    min-width: 50px;
}

.abx-hgf-comp-score-num {
    font-size: 16px;
    font-weight: 700;
    color: #1F513B;
}

.abx-hgf-comp-score-lbl {
    font-size: 10px;
    color: #8A95A0;
    text-transform: uppercase;
    font-weight: 600;
}

.abx-hgf-comp-footer {
    border-top: 1px dashed #EAE6DF;
    padding-top: 15px;
    font-size: 12px;
    color: #6A7580;
}

/* Alternative Item Content Wrappers */
.abx-hgf-alt-content {
    display: contents;
}

.abx-hgf-alt-meta {
    display: contents;
}

/* ─── Mobile Hero Preview Card Fix ─── */
@media (max-width: 640px) {
    .abx-hgf-alt-content {
        display: block;
        min-width: 0;
    }

    .abx-hgf-alt-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin-top: 6px;
    }

    .abx-hgf-comp-alt-item {
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 12px;
        align-items: start;
    }

    .abx-hgf-comp-alt-img-wrapper {
        width: 52px;
        height: 52px;
        grid-row: 1 / 3;
    }

    .abx-hgf-comp-alt-info,
    .abx-hgf-comp-alt-name,
    .abx-hgf-comp-alt-region {
        min-width: 0;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: normal;
        white-space: normal;
    }

    .abx-hgf-comp-alt-name {
        font-size: 14px;
    }

    .abx-hgf-comp-alt-region {
        font-size: 11px;
    }

    .abx-hgf-comp-vibe-tag {
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
        line-height: 1.3;
        font-size: 10.5px;
        padding: 3px 7px;
    }

    .abx-hgf-comp-score-col {
        min-width: auto;
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .abx-hgf-comp-score-num {
        font-size: 14px;
        white-space: nowrap;
    }

    .abx-hgf-comp-score-lbl {
        font-size: 9px;
        white-space: nowrap;
    }

    .abx-hgf-comp-alt-badge-wrapper {
        margin-right: 0;
    }

    .abx-hgf-comp-popular-name {
        font-size: 16px;
        word-break: normal;
        overflow-wrap: normal;
    }

    .abx-hgf-comp-popular-desc {
        font-size: 12px;
        word-break: normal;
        overflow-wrap: normal;
    }

    .abx-hgf-comparison-card {
        padding: 20px;
    }
}

/* 2. SEARCH FORM CARD */
.abx-hgf-search-section {
    margin-bottom: 24px;
    scroll-margin-top: 110px;
}

.abx-hgf-search-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid #EAE6DF;
}

.abx-hgf-search-heading {
    font-size: 26px;
    margin-bottom: 8px;
}

.abx-hgf-search-helper {
    font-size: 15px;
    color: #6A7580;
    margin-bottom: 30px;
}

.abx-hgf-form-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 1200px) {
    .abx-hgf-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .abx-hgf-field-destination {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .abx-hgf-form-grid {
        grid-template-columns: 1fr;
    }
    .abx-hgf-field-destination {
        grid-column: span 1;
    }
}

.abx-hgf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abx-hgf-field label {
    font-size: 13px;
    font-weight: 600;
    color: #0A192F;
}

.abx-hgf-field label .required {
    color: #DC2626;
}

.abx-hgf-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.abx-hgf-input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: #8A95A0;
}

.abx-hgf-field input[type="text"] {
    padding-left: 40px;
}

.abx-hgf-field input[type="text"],
.abx-hgf-field select {
    background-color: #FFFFFF;
    border: 1px solid #CFCAC0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #333F48;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s;
    height: 48px;
}

.abx-hgf-field input[type="text"]:focus,
.abx-hgf-field select:focus {
    border-color: #E07A5F;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

.abx-hgf-clear-btn {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #8A95A0;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.abx-hgf-clear-btn:hover {
    color: #333F48;
}

/* Form Actions Wrapper */
.abx-hgf-form-actions-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #F0ECE6;
    padding-top: 25px;
}

@media (max-width: 600px) {
    .abx-hgf-form-actions-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
}

.abx-hgf-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 600px) {
    .abx-hgf-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.abx-hgf-submit-btn {
    min-width: 250px;
}

.abx-hgf-reset-link {
    color: #6A7580;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.abx-hgf-reset-link:hover {
    color: #0A192F;
}

/* Info Strip & Loading strip */
.abx-hgf-info-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EBFDF5;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 20px;
    font-size: 13px;
    color: #1F4E3D;
    font-weight: 500;
}

.abx-hgf-loading-strip {
    display: none;
    align-items: center;
    gap: 12px;
    background: #FAF8F5;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0A192F;
    border: 1px dashed #E07A5F;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.abx-hgf-loading-dots span {
    animation: abxHgfDots 1.4s infinite both;
}
.abx-hgf-loading-dots span:nth-child(2) { animation-delay: .2s; }
.abx-hgf-loading-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes abxHgfDots {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}

.abx-hgf-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 122, 95, 0.05), transparent);
    transform: translateX(-100%);
    animation: abxHgfShimmer 1.5s infinite;
}

@keyframes abxHgfShimmer {
    100% { transform: translateX(100%); }
}

/* When form is submitting */
.abx-hgf-is-submitting .abx-hgf-loading-strip {
    display: flex;
}
.abx-hgf-is-submitting .abx-hgf-info-strip {
    display: none;
}

/* 3. RESULTS AREA */
.abx-hgf-results-section {
    scroll-margin-top: 110px;
    margin-bottom: 32px;
}

/* Result summary card */
.abx-hgf-result-summary-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid #EAE6DF;
    margin-bottom: 24px;
}

.abx-hgf-summary-heading {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 15px;
    font-family: "Playfair Display", "Georgia", serif;
}

.abx-hgf-summary-intro {
    font-size: 16px;
    line-height: 1.6;
    color: #5A6570;
    margin-bottom: 30px;
    border-bottom: 1px solid #F0ECE6;
    padding-bottom: 20px;
    max-width: 900px;
}

.abx-hgf-summary-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .abx-hgf-summary-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .abx-hgf-summary-meta-grid {
        grid-template-columns: 1fr;
    }
}

.abx-hgf-summary-meta-item {
    font-size: 15px;
    line-height: 1.5;
}

.abx-hgf-summary-meta-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6A7580;
    margin-bottom: 4px;
}

.abx-hgf-summary-meta-item span {
    color: #333F48;
    font-weight: 500;
}

.abx-hgf-summary-meta-item.abx-hgf-caution {
    background: #FFF8F0;
    border: 1px solid #FDE3C3;
    border-radius: 10px;
    padding: 16px;
}

.abx-hgf-summary-meta-item.abx-hgf-caution strong {
    color: #B25E00;
}

.abx-hgf-summary-meta-item.abx-hgf-caution span {
    color: #B25E00;
}

/* Active filters chips list */
.abx-hgf-active-filters-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #F0ECE6;
    padding-top: 20px;
}

.abx-hgf-filters-label {
    font-size: 13px;
    font-weight: 700;
    color: #0A192F;
}

.abx-hgf-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.abx-hgf-chip {
    background: #FAF6F0;
    border: 1px solid #EAE6DF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #4A5560;
}

/* Alternatives Grid - avoids orphan 4+1 layout */
.abx-hgf-alternatives-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 1280px) {
    .abx-hgf-alternatives-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 980px) and (max-width: 1279px) {
    .abx-hgf-alternatives-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 601px) and (max-width: 979px) {
    .abx-hgf-alternatives-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .abx-hgf-alternatives-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.abx-hgf-alternatives-grid .abx-hgf-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #EAE6DF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.abx-hgf-card-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background-color: #EAE6DF;
}

.abx-hgf-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.abx-hgf-card:hover .abx-hgf-card-image {
    transform: scale(1.03);
}

.abx-hgf-card-gradient-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E07A5F, #1F513B);
    display: flex;
    align-items: center;
    justify-content: center;
}

.abx-hgf-card-gradient-placeholder span {
    color: #FFFFFF;
    font-family: "Playfair Display", "Georgia", serif;
    font-size: 20px;
    font-weight: 700;
}

.abx-hgf-card-match-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #EAE6DF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.abx-hgf-match-num {
    font-size: 15px;
    font-weight: 800;
    color: #1F513B;
    line-height: 1.1;
}

.abx-hgf-match-text {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    color: #8A95A0;
}

.abx-hgf-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.abx-hgf-card-header {
    margin-bottom: 8px;
}

.abx-hgf-card-title {
    font-family: "Playfair Display", "Georgia", serif;
    font-size: 18px;
    margin: 0 0 4px 0;
}

.abx-hgf-card-state {
    font-weight: 400;
    color: #6A7580;
}

.abx-hgf-card-label-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1F513B;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.abx-hgf-card-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #5A6570;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.abx-hgf-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #F0ECE6;
    padding-top: 12px;
    margin-bottom: 12px;
    flex-grow: 1;
}

.abx-hgf-detail-item {
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.abx-hgf-detail-item strong {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8A95A0;
    margin-bottom: 1px;
}

.abx-hgf-detail-item span {
    color: #333F48;
}

.abx-hgf-card-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.abx-hgf-meta-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 6px;
    background: #FAF6F0;
    border: 1px solid #EAE6DF;
    color: #4A5560;
    line-height: 1.3;
}

.abx-hgf-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.abx-hgf-card-tag {
    font-size: 10px;
    font-weight: 600;
    background: #EEF2FF;
    color: #4F46E5;
    padding: 2px 5px;
    border-radius: 4px;
}

.abx-hgf-card-footer {
    padding: 0 16px 16px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #F0ECE6;
    padding-top: 12px;
}

.abx-hgf-card-footer .abx-btn {
    font-size: 11.5px;
    padding: 6px 8px;
    height: auto;
    min-height: 36px;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Fallback card styling */
.abx-hgf-fallback-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid #EAE6DF;
    text-align: center;
}

.abx-hgf-fallback-heading {
    font-size: 24px;
    margin-bottom: 10px;
}

.abx-hgf-fallback-body {
    font-size: 15px;
    color: #6A7580;
    margin-bottom: 25px;
}

.abx-hgf-fallback-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.abx-hgf-fallback-chip-link {
    display: inline-block;
    background-color: #FAF6F0;
    border: 1px solid #EAE6DF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333F48;
    text-decoration: none;
    transition: all 0.2s;
}

.abx-hgf-fallback-chip-link:hover {
    background-color: #E07A5F;
    color: #FFFFFF;
    border-color: #E07A5F;
    transform: translateY(-1px);
}

.abx-hgf-fallback-actions {
    display: flex;
    justify-content: center;
}

/* 4. BOTTOM CTA BLOCK */
.abx-hgf-bottom-cta {
    margin-top: 32px;
}

.abx-hgf-bottom-cta-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid #EAE6DF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    text-align: center;
}

.abx-hgf-bottom-heading {
    font-family: "Playfair Display", "Georgia", serif;
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 28px;
}

.abx-hgf-bottom-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .abx-hgf-bottom-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .abx-hgf-bottom-buttons .abx-btn {
        width: 100%;
    }
}

/* 5. TRUST FOOTER */
.abx-hgf-footer {
    margin-top: 40px;
    border-top: 1px solid #EAE6DF;
    padding-top: 20px;
}

.abx-hgf-footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13.5px;
    color: #6A7580;
}

.abx-hgf-trust-badge {
    font-weight: 700;
    color: #1F513B;
}

.abx-hgf-trust-text {
    flex-grow: 1;
}

.abx-hgf-how-link {
    color: #1F513B;
    font-weight: 700;
    text-decoration: none;
}

.abx-hgf-how-link:hover {
    text-decoration: underline;
}
