/* Final polish layer v1.3.154 for a shorter, cleaner, more practical AFCMall frontend. */
:root{
    --afc-polish-navy:#0b2438;
    --afc-polish-navy-2:#123a56;
    --afc-polish-ink:#10283d;
    --afc-polish-muted:#607184;
    --afc-polish-soft:#f8fbfd;
    --afc-polish-ivory:#fffdf7;
    --afc-polish-border:#e4ebef;
    --afc-polish-champagne:#d8bd72;
    --afc-polish-champagne-2:#f2dfaa;
    --afc-polish-teal:#1aa69c;
    --afc-polish-wa:#17a96b;
}

body{
    background:var(--afc-polish-soft);
    color:var(--afc-polish-ink);
}
.site-header{
    border-bottom:1px solid rgba(216,189,114,.25)!important;
    background:rgba(255,255,255,.94)!important;
}
.section.soft,
.section-soft,
.afc-homepage .soft{
    background:linear-gradient(180deg,var(--afc-polish-ivory),#f4f9fb)!important;
}
.afc-homepage-ordered{
    display:flex;
    flex-direction:column;
}
h1,h2,h3,
.section-head h2,
.afc-journal-hero h1,
.afc-story-card h2 a{
    color:var(--afc-polish-navy)!important;
}
.badge-pill,
.afc-journal-kicker,
.afc-footer-eyebrow{
    border-color:rgba(216,189,114,.45)!important;
    color:#816529!important;
    background:linear-gradient(135deg,rgba(242,223,170,.34),rgba(255,255,255,.72))!important;
}
.btn.gold,
.afc-btn-premium.btn.gold,
.afc-sticky-cta-member{
    color:#172334!important;
    border-color:rgba(216,189,114,.72)!important;
    background:linear-gradient(135deg,var(--afc-polish-champagne),var(--afc-polish-champagne-2))!important;
}
.btn.wa,
.afc-btn-whatsapp,
.afc-sticky-cta-wa{
    color:#fff!important;
    border-color:rgba(26,166,156,.52)!important;
    background:linear-gradient(135deg,var(--afc-polish-teal),#0f7f79)!important;
}
.btn.outline,
.afc-btn-member{
    color:var(--afc-polish-navy)!important;
    border-color:rgba(216,189,114,.48)!important;
    background:rgba(255,255,255,.92)!important;
}
.hero{
    background:
        radial-gradient(circle at 86% 8%,rgba(26,166,156,.14),transparent 30%),
        linear-gradient(135deg,#fffdf8 0%,#ffffff 48%,#edf7f8 100%)!important;
}
.afc-journal-hero{
    position:relative;
    isolation:isolate;
    border-bottom:1px solid rgba(216,189,114,.28);
    background:
        radial-gradient(circle at 82% 16%,rgba(216,189,114,.28),transparent 28%),
        radial-gradient(circle at 15% 85%,rgba(26,166,156,.18),transparent 30%),
        linear-gradient(135deg,#071827 0%,#0b2438 52%,#123a56 100%)!important;
}
.afc-journal-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:
        linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),
        linear-gradient(0deg,rgba(255,255,255,.045) 1px,transparent 1px);
    background-size:48px 48px;
    mask-image:linear-gradient(90deg,rgba(0,0,0,.6),transparent 72%);
}
.afc-journal-hero .container{
    align-items:center;
}
.afc-journal-kicker{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    padding:7px 12px;
    border:1px solid rgba(216,189,114,.55)!important;
    border-radius:999px;
    color:#ffe9a8!important;
    background:rgba(216,189,114,.12)!important;
}
.afc-journal-hero h1{
    color:#fff!important;
    text-shadow:0 2px 18px rgba(0,0,0,.18);
}
.afc-journal-hero p{
    color:#d9e7ef!important;
}
.afc-journal-stats{
    gap:14px!important;
}
.afc-journal-stats div{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(242,223,170,.42)!important;
    background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.07))!important;
    box-shadow:0 20px 48px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.22)!important;
    backdrop-filter:blur(16px);
}
.afc-journal-stats div::after{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(180deg,var(--afc-polish-champagne-2),var(--afc-polish-teal));
}
.afc-journal-stats strong{
    color:#fff7d6!important;
    text-shadow:0 2px 14px rgba(0,0,0,.28)!important;
}
.afc-journal-stats span{
    color:#f7fbff!important;
    font-weight:950!important;
    letter-spacing:.08em!important;
    opacity:1!important;
}
.cta{
    border:1px solid rgba(216,189,114,.24);
    background:linear-gradient(135deg,var(--afc-polish-navy),var(--afc-polish-navy-2))!important;
    box-shadow:0 24px 60px rgba(11,36,56,.2);
}
.cta h2,
.site-footer h2,
.site-footer h3,
.site-footer h4{
    color:#fff!important;
}
.site-footer{
    background:linear-gradient(145deg,#071827,var(--afc-polish-navy) 58%,#0f3b43)!important;
}
.site-footer a:hover{
    color:var(--afc-polish-champagne-2)!important;
}

.afc-homepage .hero{
    padding-block:clamp(34px,6vw,72px);
}
.hh-slider.hh-hero-slider{
    max-height:min(58vh,560px);
    min-height:0!important;
    overflow:hidden;
    background:#fff;
}
.hh-slider.hh-hero-slider .hh-track,
.hh-slider.hh-hero-slider .hh-slide,
.hh-slider.hh-hero-slider picture{
    min-height:0!important;
    height:min(58vh,560px)!important;
}
.hh-slider.hh-hero-slider img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#fff!important;
}
.hh-slider.hh-hero-slider .hh-overlay{
    opacity:.12!important;
}
.afc-homepage .section{
    padding-block:clamp(30px,5vw,58px);
}
.afc-homepage .section-head{
    margin-bottom:18px;
}
.afc-homepage h2{
    margin-bottom:8px;
}
.afc-homepage .muted,
.afc-story-card p,
.product-card .muted,
.afc-home-promo-card .muted{
    color:var(--afc-polish-muted);
    line-height:1.55;
}
.afc-homepage .afc-trust-stat-section{
    padding-block:18px;
}
.afc-homepage .afc-trust-stat-card{
    min-height:0;
    padding:14px;
}
.afc-homepage .afc-home-experts,
.afc-homepage .afc-home-promos{
    content-visibility:auto;
    contain-intrinsic-size:1px 620px;
}
.afc-homepage .afc-home-expert-grid,
.afc-homepage .afc-home-testimonial-grid,
.afc-homepage .afc-home-promo-grid{
    max-height:620px;
    overflow:auto;
    padding-right:6px;
}
.afc-homepage .afc-home-expert-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:12px;
    max-height:360px;
}
.afc-home-expert-card{
    border:1px solid var(--afc-polish-border);
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 24px rgba(17,38,58,.06);
}
.afc-home-expert-card[open]{
    box-shadow:0 16px 38px rgba(17,38,58,.1);
}
.afc-home-expert-summary{
    display:grid;
    grid-template-columns:58px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:12px;
    cursor:pointer;
    list-style:none;
}
.afc-home-expert-summary::-webkit-details-marker{
    display:none;
}
.afc-home-expert-summary .afc-home-expert-photo{
    display:block!important;
    flex:0 0 58px;
    width:58px;
    height:58px;
    min-width:58px;
    min-height:58px;
    max-width:58px;
    max-height:58px;
    aspect-ratio:1;
    border-radius:50%;
    padding:0;
    overflow:hidden;
    border:1px solid #e5ebf2;
    background:#f7f9fc;
}
.afc-home-expert-summary .afc-home-expert-photo img{
    display:block!important;
    width:100%;
    height:100%;
    aspect-ratio:1!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border-radius:50%;
    object-fit:cover!important;
    object-position:center!important;
}
.afc-home-expert-placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    border-radius:50%;
    color:#8a6500;
    font-size:12px;
    font-weight:900;
    background:#fff8dd;
}
.afc-home-expert-identity{
    display:grid;
    gap:2px;
    min-width:0;
}
.afc-home-expert-identity strong{
    overflow:hidden;
    color:var(--afc-polish-ink);
    font-size:15px;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.afc-home-expert-identity small{
    overflow:hidden;
    color:var(--afc-polish-muted);
    font-size:12px;
    line-height:1.35;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.afc-home-expert-open{
    padding:7px 10px;
    border-radius:999px;
    color:#805b0b;
    font-size:11px;
    font-weight:900;
    background:#fff7db;
}
.afc-home-expert-card[open] .afc-home-expert-open{
    color:#fff;
    background:#173650;
}
.afc-home-expert-card .afc-home-expert-body{
    padding:0 14px 14px;
    border-top:1px solid #edf2f7;
}

.product-card,
.afc-story-card,
.afc-home-promo-card,
.afc-home-blog-card{
    display:flex;
    flex-direction:column;
    gap:12px;
    height:100%;
    overflow:hidden;
    border:1px solid var(--afc-polish-border);
    border-radius:14px;
    background:#fff;
    box-shadow:0 14px 34px rgba(17,38,58,.07);
}
.product-card h3,
.afc-story-card h2,
.afc-home-promo-card h3,
.afc-home-blog-card h3,
.afc-home-expert-card h3{
    color:var(--afc-polish-ink);
    font-size:16px;
    line-height:1.25;
}
.afc-journal-shell .afc-story-card{
    background:#fff!important;
}
.afc-journal-shell .afc-story-body{
    background:#fff!important;
}
.afc-journal-shell .afc-story-card h2,
.afc-journal-shell .afc-story-card h2 a,
.afc-testimonial-card h2,
.afc-testimonial-card h2 a{
    color:#061827!important;
    text-shadow:none!important;
}
.afc-journal-shell .afc-story-card h2 a:hover,
.afc-testimonial-card h2 a:hover{
    color:#8a6a24!important;
}
.afc-blog-detail .afc-blog-hero .container,
.afc-testimonial-detail .afc-testimonial-hero .container{
    width:min(1280px,calc(100% - 28px))!important;
}
.afc-blog-detail .afc-blog-hero h1,
.afc-testimonial-detail .afc-testimonial-hero h1{
    display:block;
    width:100%!important;
    max-width:none!important;
    margin:clamp(12px,1.8vw,18px) 0 12px!important;
    padding:clamp(11px,1.55vw,16px)!important;
    border:1px solid rgba(242,223,170,.36)!important;
    border-radius:16px!important;
    color:#fff!important;
    font-size:clamp(24px,2.65vw,36px)!important;
    font-weight:850!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    background:linear-gradient(135deg,rgba(3,13,24,.62),rgba(9,36,56,.34))!important;
    box-shadow:0 14px 34px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.12)!important;
    text-shadow:0 2px 18px rgba(0,0,0,.42)!important;
    text-align:left!important;
    text-wrap:normal!important;
    overflow-wrap:break-word!important;
}
.afc-blog-detail .afc-blog-short,
.afc-blog-detail .afc-blog-hero p,
.afc-testimonial-detail .afc-testimonial-short{
    width:100%!important;
    max-width:1240px!important;
    color:#e2edf5!important;
    font-size:clamp(15px,1.2vw,17px)!important;
    line-height:1.72!important;
    margin-top:14px!important;
}
.afc-blog-detail .afc-blog-short p,
.afc-testimonial-detail .afc-testimonial-short p{
    max-width:inherit!important;
    margin:0 0 10px!important;
    color:inherit!important;
    font:inherit!important;
    line-height:inherit!important;
}
.afc-blog-detail .afc-blog-short p:last-child,
.afc-testimonial-detail .afc-testimonial-short p:last-child{
    margin-bottom:0!important;
}
.afc-testimonial-content h2,
.afc-testimonial-content h3{
    color:var(--afc-polish-navy)!important;
}
.product-card .btn,
.afc-story-card .btn,
.afc-home-promo-card .btn,
.afc-home-blog-card .btn{
    margin-top:auto;
    width:max-content;
}

.product-image-frame,
.afc-story-media,
.afc-home-promo-media,
.afc-home-blog-media,
.card>img:first-child{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:4/3;
    overflow:hidden;
    border-radius:12px;
    background:linear-gradient(180deg,#fff,#f4f7fb);
    border:1px solid rgba(226,232,240,.9);
}
.product-image-frame img,
.afc-story-media img,
.afc-home-promo-media img,
.afc-home-blog-media img,
.card>img:first-child,
.afc-home-promo-media video,
.afc-home-blog-media video{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain!important;
    object-position:center;
    background:#fff;
}
.afc-story-media iframe,
.afc-home-promo-media iframe,
.afc-home-blog-media iframe{
    width:100%;
    height:100%;
    border:0;
}
.afc-story-card:not(.is-featured) .afc-story-media,
.afc-testimonial-card.is-compact .afc-story-media{
    aspect-ratio:4/3!important;
    min-height:0!important;
}
.afc-story-card.is-featured .afc-story-media{
    aspect-ratio:16/10;
}
.afc-home-testimonial-grid{
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
    gap:14px;
}
.afc-testimonial-gallery-card{
    gap:0;
    padding:0;
    border-radius:16px;
    background:#fff;
    overflow:hidden;
}
.afc-testimonial-gallery-card .afc-story-media{
    aspect-ratio:4/3!important;
    min-height:0!important;
    margin:0;
    border-radius:0;
    border-bottom:1px solid #e6ebef;
    background:#fff;
}
.afc-testimonial-gallery-card .afc-story-media img{
    width:100%;
    height:100%;
    object-fit:contain!important;
    object-position:center;
    background:#fff!important;
    transform:none!important;
}
.afc-testimonial-gallery-body{
    padding:14px 14px 8px;
}
.afc-testimonial-gallery-body h2{
    margin:0!important;
    color:#173650!important;
    font-size:16px!important;
    line-height:1.4!important;
}
.afc-testimonial-gallery-body h2 a{
    color:inherit!important;
}
.afc-testimonial-gallery-card .afc-story-video-fallback{
    position:absolute;
    left:10px;
    bottom:10px;
    padding:5px 8px;
    border-radius:999px;
    color:#fff;
    font-size:11px;
    font-weight:900;
    background:rgba(11,36,56,.78);
}
.afc-testimonial-inline-detail{
    margin:0;
    padding:0 14px 14px;
}
.afc-testimonial-inline-detail summary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 11px;
    border:1px solid rgba(216,189,114,.52);
    border-radius:999px;
    color:var(--afc-polish-navy);
    font-size:12px;
    font-weight:900;
    background:linear-gradient(135deg,#fff,var(--afc-polish-ivory));
    cursor:pointer;
    list-style:none;
}
.afc-testimonial-inline-detail summary::-webkit-details-marker{
    display:none;
}
.afc-testimonial-inline-detail[open] summary{
    color:#fff;
    border-color:rgba(16,40,61,.7);
    background:var(--afc-polish-navy);
}
.afc-testimonial-inline-detail-body{
    margin-top:8px;
    padding:12px;
    border:1px solid #edf2f7;
    border-radius:12px;
    background:var(--afc-polish-soft);
}
.afc-testimonial-inline-detail-body h3{
    margin:0 0 8px;
    font-size:15px;
}
.afc-testimonial-inline-detail-body .afc-story-excerpt{
    color:var(--afc-polish-muted);
    font-size:13px;
    line-height:1.6;
}
.afc-testimonial-inline-detail-body a{
    display:inline-flex;
    margin-top:10px;
    color:#816529;
    font-size:12px;
    font-weight:900;
}
.afc-home-blog-body,
.afc-home-promo-body,
.afc-story-body{
    display:flex;
    flex:1;
    flex-direction:column;
    gap:10px;
}

.afc-journal-hero{
    padding-block:clamp(36px,6vw,72px)!important;
}
.afc-journal-shell{
    padding-block:clamp(30px,5vw,60px)!important;
}

.afc-sticky-cta{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:1000;
    display:flex;
    gap:8px;
    padding:7px;
    border:1px solid rgba(226,232,240,.85);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 46px rgba(17,38,58,.18);
    backdrop-filter:blur(14px);
}
.afc-sticky-cta a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:999px;
    color:#fff;
    font-weight:850;
    font-size:13px;
    text-decoration:none;
    white-space:nowrap;
}
.afc-sticky-cta-wa{background:linear-gradient(135deg,var(--afc-polish-teal),#0f7f79)}
.afc-sticky-cta-member{background:linear-gradient(135deg,var(--afc-polish-champagne),var(--afc-polish-champagne-2))}

/* Premium product listing polish */
body:has(.product-card) .section-soft:first-of-type{
    background:
        radial-gradient(circle at 82% 8%,rgba(216,189,114,.18),transparent 28%),
        linear-gradient(135deg,#061827,#0b2438)!important;
    color:#fff;
}
body:has(.product-card) .section-soft:first-of-type h1{
    color:#fff!important;
    font-size:clamp(32px,4.2vw,52px);
    letter-spacing:0;
}
body:has(.product-card) .section-soft:first-of-type .muted{
    max-width:760px;
    color:#dbe7ef!important;
}
.product-card{
    padding:0!important;
    border-color:rgba(216,189,114,.24)!important;
    background:linear-gradient(160deg,#fff,#fbfdff)!important;
}
.product-card .product-image-frame,
.product-card .thumb{
    margin:0!important;
    border:0!important;
    border-bottom:1px solid rgba(226,232,240,.9)!important;
    border-radius:0!important;
    background:linear-gradient(180deg,#fff,#f6fafc)!important;
}
.product-card h3,
.product-card .muted,
.product-card .btn{
    margin-inline:18px;
}
.product-card h3{
    margin-top:18px;
    font-size:17px;
    line-height:1.28;
}
.product-card .btn{
    margin-bottom:18px;
}

@media (max-width:760px){
    body{padding-bottom:74px}
    .afc-home-promos,
    .afc-home-promos *,
    .afc-home-promos *::before,
    .afc-home-promos *::after{
        animation:none!important;
        transition:none!important;
    }
    .afc-home-promos .afc-home-promo-card,
    .afc-home-promos .afc-home-promo-media,
    .afc-home-promos .afc-home-promo-media img,
    .afc-home-promos .afc-home-promo-media video,
    .afc-home-promos .afc-home-promo-media iframe{
        transform:none!important;
        will-change:auto!important;
        backface-visibility:hidden;
    }
    .hh-slider.hh-hero-slider{
        max-height:42vh;
    }
    .hh-slider.hh-hero-slider .hh-track,
    .hh-slider.hh-hero-slider .hh-slide,
    .hh-slider.hh-hero-slider picture{
        height:42vh!important;
        min-height:260px!important;
    }
    .afc-homepage .hero{padding-block:28px 34px}
    .afc-homepage .section{padding-block:28px}
    .afc-homepage .afc-home-expert-grid{
        grid-template-columns:1fr;
        max-height:340px;
    }
    .afc-homepage .grid-4,
    .afc-homepage .grid-3,
    .afc-story-grid,
    .container.grid-4{
        grid-template-columns:1fr!important;
        gap:12px;
    }
    .product-card,
    .afc-story-card,
    .afc-home-promo-card,
    .afc-home-blog-card{
        border-radius:12px;
        padding:10px;
    }
    .product-card h3,
    .afc-story-card h2,
    .afc-home-promo-card h3,
    .afc-home-blog-card h3{
        font-size:16px;
    }
    .product-card .muted,
    .afc-story-card p,
    .afc-home-promo-card .muted{
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
        font-size:12px;
    }
    .afc-sticky-cta{
        left:12px;
        right:12px;
        bottom:10px;
        justify-content:center;
        border-radius:18px;
        box-shadow:0 16px 40px rgba(17,38,58,.24);
    }
    .afc-sticky-cta a{
        flex:1;
        min-height:46px;
    }
}

@media (max-width:430px){
    .afc-homepage .grid-4,
    .afc-homepage .grid-3,
    .afc-story-grid,
    .container.grid-4{
        grid-template-columns:1fr!important;
    }
}
