/* ============================================================
   FREE LIVE COUPONS — Frontend Design System (Phase 3)
   ------------------------------------------------------------
   Central design tokens + shared component polish for every
   frontend page. All rules use CSS variables so the palette
   switches with html[data-theme] (no layout change per theme).

   NOTE: per-page <style> blocks render AFTER this file in
   document order, so every rule below that must standardize
   a component is prefixed with html[data-theme] to outrank
   equal-specificity inline rules. Page-specific intentional
   differences (custom paddings, animations) are left alone.
   ============================================================ */

/* ---------------- 1. DEFAULT THEME (Indigo/Violet/Pink) ---------------- */
:root{
    --flc-primary:#4F46E5;
    --flc-primary-dark:#4338ca;
    --flc-secondary:#7C6CF6;
    --flc-accent:#7C6CF6;
    --flc-accent-2:#A5B4FC;
    --flc-grad:linear-gradient(135deg,#4F46E5,#7C6CF6);
    --flc-grad-soft:linear-gradient(135deg,rgba(79,70,229,.09),rgba(124,108,246,.09));

    --flc-ink:#111827;
    --flc-muted:#6b7280;
    --flc-body-bg:#f8fafc;
    --flc-card:#ffffff;
    --flc-border:#e5e7eb;
    --flc-input-bg:#ffffff;
    --flc-input-border:#d1d5db;

    --flc-nav-bg:#25224E;
    --flc-nav-link:#ffffff;
    --flc-nav-hover:#c7d2fe;

    --flc-footer-bg:#25224E;
    --flc-footer-muted:#c7d2fe;

    --flc-ring:rgba(79,70,229,.18);

    /* Phase 19: owner's radius rule — every component is exactly 6px,
       so the radius tokens themselves now resolve to 6px. */
    --flc-r-sm:6px;
    --flc-r-md:6px;
    --flc-r-lg:6px;
    --flc-r-xl:6px;
    --flc-r-pill:6px;

    --flc-sh-sm:0 2px 10px rgba(15,23,42,.06);
    --flc-sh-md:0 10px 28px rgba(15,23,42,.10);
    --flc-sh-lg:0 22px 55px rgba(15,23,42,.16);

    --flc-section-y:64px;
    --flc-hero-y:30px; /* Phase 15: 56px -> 40px. Phase 19: -> 30px (slimmer heroes) */
}

/* ---------------- 2. THEME PALETTES (variables only) ---------------- */

html[data-theme="emerald"]{
    --flc-primary:#059669;
    --flc-primary-dark:#047857;
    --flc-secondary:#0d9488;
    --flc-accent:#2FBF9B;
    --flc-accent-2:#6ee7b7;
    --flc-grad:linear-gradient(135deg,#059669,#2FBF9B);
    --flc-grad-soft:linear-gradient(135deg,rgba(5,150,105,.09),rgba(47,191,155,.09));
    --flc-nav-bg:#0C3828;
    --flc-nav-hover:#a7f3d0;
    --flc-ring:rgba(5,150,105,.18);
}

html[data-theme="royal"]{
    --flc-primary:#2563EB;
    --flc-primary-dark:#1D4ED8;
    --flc-secondary:#1e40af;
    --flc-accent:#5E9BFF;
    --flc-accent-2:#3b82f6;
    --flc-grad:linear-gradient(135deg,#2563EB,#5E9BFF);
    --flc-grad-soft:linear-gradient(135deg,rgba(37,99,235,.09),rgba(94,155,255,.09));
    --flc-nav-bg:#14295E;
    --flc-nav-hover:#bfdbfe;
    --flc-ring:rgba(37,99,235,.18);
}

html[data-theme="coral"]{
    --flc-primary:#DF6A45;
    --flc-primary-dark:#c95430;
    --flc-secondary:#b4522e;
    --flc-accent:#F0955C;
    --flc-accent-2:#fbbf24;
    --flc-grad:linear-gradient(135deg,#DF6A45,#F0955C);
    --flc-grad-soft:linear-gradient(135deg,rgba(223,106,69,.09),rgba(240,149,92,.09));
    --flc-nav-bg:#40251A;
    --flc-nav-hover:#fed7aa;
    --flc-ring:rgba(223,106,69,.18);
}

html[data-theme="plum"]{
    --flc-primary:#8B5CF6;
    --flc-primary-dark:#7C3AED;
    --flc-secondary:#7e22ce;
    --flc-accent:#A78BFA;
    --flc-accent-2:#d946ef;
    --flc-grad:linear-gradient(135deg,#8B5CF6,#A78BFA);
    --flc-grad-soft:linear-gradient(135deg,rgba(139,92,246,.09),rgba(167,139,250,.09));
    --flc-nav-bg:#2E1A47;
    --flc-nav-hover:#e9d5ff;
    --flc-ring:rgba(139,92,246,.18);
}

/* ---------------- 3. MIDNIGHT DARK (full dark palette) ---------------- */

html[data-theme="dark"]{
    --flc-primary:#818CF8;
    --flc-primary-dark:#6366f1;
    --flc-secondary:#a78bfa;
    --flc-accent:#A5B4FC;
    --flc-accent-2:#e879f9;
    --flc-grad:linear-gradient(135deg,#818CF8,#A5B4FC);
    --flc-grad-soft:linear-gradient(135deg,rgba(129,140,248,.16),rgba(165,180,252,.12));

    --flc-ink:#e9edf3;
    --flc-muted:#9aa3b2;
    --flc-body-bg:#0b1220;
    --flc-card:#121c30;
    --flc-border:#22304a;
    --flc-input-bg:#0f1a2e;
    --flc-input-border:#2a3a58;

    --flc-nav-bg:#0B1120;
    --flc-nav-link:#e9edf3;
    --flc-nav-hover:#c7d2fe;

    --flc-footer-bg:#0B1120;
    --flc-footer-muted:#9aa3b2;

    --flc-ring:rgba(129,140,248,.28);

    --flc-sh-sm:0 2px 10px rgba(0,0,0,.35);
    --flc-sh-md:0 10px 28px rgba(0,0,0,.45);
    --flc-sh-lg:0 22px 55px rgba(0,0,0,.55);
}

/* ---------------- 4. BASE ---------------- */

html[data-theme] body{
    background:var(--flc-body-bg);
    color:var(--flc-ink);
    font-family:'Poppins',sans-serif;
}

/* NOTE: no blanket link-color rule here on purpose — per-page link
   styles (footer, nav, brand) must keep their designed colors. */

html[data-theme] ::selection{
    background:var(--flc-primary);
    color:#fff;
}

/* ---------------- 5. NAVBAR + THEME SWITCHER ---------------- */

html[data-theme] .custom-navbar{
    background:var(--flc-nav-bg);
    border-bottom:1px solid rgba(255,255,255,.06);
}

html[data-theme] .custom-navbar .nav-link{
    color:var(--flc-nav-link);
    font-weight:600;
}

html[data-theme] .custom-navbar .nav-link:hover{
    color:var(--flc-nav-hover);
}

html[data-theme] .custom-navbar .nav-link::before,
html[data-theme] .custom-navbar .nav-link::after{
    background:var(--flc-nav-hover);
}

/* theme switcher */
.flc-theme-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--flc-nav-link);
    font-weight:600;
    background:none;
    border:none;
    cursor:pointer;
}

.flc-theme-btn:hover{
    color:var(--flc-nav-hover);
}

.flc-theme-menu{
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-md);
    box-shadow:var(--flc-sh-lg);
    padding:8px;
    min-width:220px;
}

.flc-theme-menu .dropdown-item{
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:var(--flc-r-sm);
    padding:9px 12px;
    font-weight:600;
    font-size:14px;
    color:var(--flc-ink);
}

.flc-theme-menu .dropdown-item:hover{
    background:var(--flc-grad-soft);
    color:var(--flc-ink);
}

.flc-swatch{
    width:22px;
    height:22px;
    border-radius:50%;
    flex-shrink:0;
    border:2px solid rgba(0,0,0,.08);
}

/* ---------------- 6. HEROES + SECTIONS ---------------- */

html[data-theme] .inner-hero,
html[data-theme] .policy-hero{
    background:var(--flc-grad);
    color:#fff;
    padding:var(--flc-hero-y) 0;
    position:relative;
    overflow:hidden;
}

html[data-theme] .inner-hero h1,
html[data-theme] .policy-hero h1{
    color:#fff;
    font-weight:700;
    font-size:clamp(26px,4vw,38px);
}

html[data-theme] .inner-hero p,
html[data-theme] .policy-hero p{
    color:rgba(255,255,255,.88);
}

html[data-theme] .inner-hero a,
html[data-theme] .policy-hero a{
    color:#fff;
}

html[data-theme] .page-section{
    padding:var(--flc-section-y) 0;
}

html[data-theme] .section-head{
    margin-bottom:26px;
    flex-wrap:wrap;
    row-gap:12px;
}

html[data-theme] .section-head h2{
    font-size:clamp(20px,2.6vw,27px);
    font-weight:700;
    color:var(--flc-ink);
}

/* 5-column coupon grid helper (duplicated globally for consistency) */
html[data-theme] .col-lg-2-4{
    flex:0 0 auto;
}
@media(min-width:992px){
    html[data-theme] .col-lg-2-4{width:20%;}
}

/* ---------------- 7. BUTTONS ---------------- */

html[data-theme] .btn-gradient{
    background:var(--flc-grad);
    border:none;
    color:#fff;
    border-radius:var(--flc-r-md);
    font-weight:700;
    box-shadow:var(--flc-sh-md);
    transition:transform .25s ease,box-shadow .25s ease;
}

html[data-theme] .btn-gradient:hover{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-lg);
    opacity:1;
}

html[data-theme] .btn-main,
html[data-theme] .deal-btn,
html[data-theme] .copy-btn,
html[data-theme] .terms-box-btn{
    background:var(--flc-grad);
    border:none;
    color:#fff;
    border-radius:var(--flc-r-md);
    font-weight:700;
    transition:transform .25s ease,box-shadow .25s ease;
}

html[data-theme] .btn-main:hover,
html[data-theme] .deal-btn:hover,
html[data-theme] .copy-btn:hover,
html[data-theme] .terms-box-btn:hover{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-md);
}

html[data-theme] .view-all-btn{
    border:2px solid var(--flc-primary);
    color:var(--flc-primary);
    background:transparent;
    border-radius:var(--flc-r-pill);
    font-weight:700;
    padding:10px 26px;
    transition:.25s ease;
}

html[data-theme] .view-all-btn:hover{
    background:var(--flc-grad);
    border-color:transparent;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-md);
}

html[data-theme] .visit-store-btn{
    background:var(--flc-grad);
    color:#fff;
    border:none;
    border-radius:var(--flc-r-pill);
    font-weight:700;
    transition:.25s ease;
}

html[data-theme] .visit-store-btn:hover{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-md);
}

html[data-theme] .sort-btn{
    border:1px solid var(--flc-border);
    background:var(--flc-card);
    color:var(--flc-ink);
    border-radius:var(--flc-r-pill);
    font-weight:600;
    transition:.25s ease;
}

html[data-theme] .sort-btn:hover,
html[data-theme] .sort-btn.active{
    background:var(--flc-grad);
    border-color:transparent;
    color:#fff;
}

html[data-theme] .coupon-tab{
    border:1px solid var(--flc-border);
    background:var(--flc-card);
    color:var(--flc-muted);
    border-radius:var(--flc-r-md);
    font-weight:600;
    transition:.25s ease;
}

html[data-theme] .coupon-tab:hover{
    color:var(--flc-primary);
    border-color:var(--flc-primary);
}

html[data-theme] .coupon-tab.active{
    background:var(--flc-grad);
    border-color:transparent;
    color:#fff;
}

html[data-theme] .alphabet-btn{
    border:1px solid var(--flc-border);
    background:var(--flc-card);
    color:var(--flc-ink);
    border-radius:var(--flc-r-sm);
    font-weight:700;
    transition:.2s ease;
}

html[data-theme] .alphabet-btn:hover,
html[data-theme] .alphabet-btn.active{
    background:var(--flc-grad);
    color:#fff;
    border-color:transparent;
}

/* reveal buttons keep their notched-card mechanics untouched;
   only themed paint here */
html[data-theme] .reveal-btn,
html[data-theme] .premium-reveal-btn,
html[data-theme] .premium-modal-btn{
    background:var(--flc-grad);
    color:#fff;
    border-radius:var(--flc-r-md);
    font-weight:700;
}

html[data-theme] .btn-front,
html[data-theme] .btn-back{
    border-radius:var(--flc-r-md);
    font-weight:700;
}

/* ---------------- 8. CARDS ---------------- */

html[data-theme] .store-card-pro,
html[data-theme] .category-card,
html[data-theme] .category-mini,
html[data-theme] .store-mini,
html[data-theme] .meta-mini-card,
html[data-theme] .coupon-pro-card,
html[data-theme] .blog-row-card,
html[data-theme] .stat-box,
html[data-theme] .feature-box,
html[data-theme] .help-card,
html[data-theme] .faq-item,
html[data-theme] .policy-box,
html[data-theme] .ads-box,
html[data-theme] .sidebar-box{
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-lg);
    box-shadow:var(--flc-sh-sm);
    color:var(--flc-ink);
}

html[data-theme] .store-card-pro,
html[data-theme] .category-card,
html[data-theme] .category-mini,
html[data-theme] .store-mini,
html[data-theme] .meta-mini-card,
html[data-theme] .feature-box,
html[data-theme] .help-card,
html[data-theme] .blog-row-card,
html[data-theme] .coupon-pro-card{
    transition:transform .25s ease,box-shadow .25s ease;
}

html[data-theme] .store-card-pro:hover,
html[data-theme] .category-card:hover,
html[data-theme] .category-mini:hover,
html[data-theme] .store-mini:hover,
html[data-theme] .meta-mini-card:hover,
html[data-theme] .feature-box:hover,
html[data-theme] .help-card:hover,
html[data-theme] .blog-row-card:hover,
html[data-theme] .coupon-pro-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--flc-sh-md);
}

html[data-theme] .feature-icon,
html[data-theme] .info-icon{
    background:var(--flc-grad);
    color:#fff;
}

html[data-theme] .how-number{
    background:var(--flc-grad);
    color:#fff;
    box-shadow:var(--flc-sh-md);
}

/* coupon code dashed box keeps its mechanics, themed paint only */
html[data-theme] .code-box{
    border-color:var(--flc-primary);
    background:var(--flc-grad-soft);
    color:var(--flc-ink);
    border-radius:var(--flc-r-md);
}

/* ---------------- 9. FORMS + PAGINATION ---------------- */

html[data-theme] .form-control,
html[data-theme] .form-select,
html[data-theme] .auth-input,
html[data-theme] .contact-input,
html[data-theme] .hero-search input{
    background:var(--flc-input-bg);
    border:1px solid var(--flc-input-border);
    color:var(--flc-ink);
    border-radius:var(--flc-r-md);
    padding:.72rem 1rem;
}

html[data-theme] .form-control::placeholder,
html[data-theme] .auth-input::placeholder,
html[data-theme] .contact-input::placeholder,
html[data-theme] .hero-search input::placeholder{
    color:var(--flc-muted);
}

html[data-theme] .form-control:focus,
html[data-theme] .form-select:focus,
html[data-theme] .auth-input:focus,
html[data-theme] .contact-input:focus,
html[data-theme] .hero-search input:focus{
    border-color:var(--flc-primary);
    box-shadow:0 0 0 .22rem var(--flc-ring);
    background:var(--flc-input-bg);
    color:var(--flc-ink);
}

html[data-theme] .form-label{
    font-weight:600;
    color:var(--flc-ink);
}

html[data-theme] .pagination .page-link{
    color:var(--flc-ink);
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-sm);
    margin:0 3px;
}

html[data-theme] .pagination .page-item.active .page-link{
    background:var(--flc-grad);
    border-color:transparent;
    color:#fff;
}

html[data-theme] .pagination .page-link:hover{
    border-color:var(--flc-primary);
    color:var(--flc-primary);
}

/* ---------------- 10. FOOTER ---------------- */

html[data-theme] .premium-footer{
    background:var(--flc-footer-bg);
    padding:64px 0 20px;
}

html[data-theme] .premium-footer p,
html[data-theme] .premium-footer small{
    color:var(--flc-footer-muted);
}

html[data-theme] .footer-links a:hover{
    color:var(--flc-nav-hover);
}

html[data-theme] .footer-social a:hover{
    background:var(--flc-primary);
}

html[data-theme] .footer-brand-gradient{
    background:var(--flc-grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* ---------------- 11. MISC POLISH ---------------- */

html[data-theme] #scrollTopBtn{
    background:var(--flc-grad);
    box-shadow:var(--flc-sh-md);
}

html[data-theme] ::-webkit-scrollbar-thumb{
    background:var(--flc-grad);
}

html[data-theme] .filter-bar{
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-lg);
}

html[data-theme] .live-timer{
    color:var(--flc-accent);
    font-weight:700;
}

html[data-theme] .blog-meta,
html[data-theme] .store-bottom{
    color:var(--flc-muted);
}

/* ---------------- 12. DARK-THEME DEEP FIXES ---------------- */

html[data-theme="dark"] .coupon-img-wrap{
    background:#0f1a2e;
}

html[data-theme="dark"] .modal-content{
    background:var(--flc-card);
    color:var(--flc-ink);
    border:1px solid var(--flc-border);
}

html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer{
    border-color:var(--flc-border);
}

html[data-theme="dark"] .btn-close{
    filter:invert(1);
}

html[data-theme="dark"] .dropdown-menu{
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    box-shadow:var(--flc-sh-lg);
}

html[data-theme="dark"] .dropdown-item{
    color:var(--flc-ink);
}

html[data-theme="dark"] .dropdown-item:hover{
    background:rgba(129,140,248,.12);
    color:var(--flc-ink);
}

html[data-theme="dark"] img{
    filter:saturate(.92) brightness(.96);
}

/* ---------------- 13. RESPONSIVE SAFETY ---------------- */

@media(max-width:768px){
    html[data-theme] .page-section{
        padding:48px 0;
    }
    html[data-theme] .inner-hero,
    html[data-theme] .policy-hero{
        padding:40px 0;
    }
}

/* ============================================================
   14. PHASE 3.1 ENRICHMENT — motion + effects + themed icon
   colors + text hierarchy. Append-only: every rule above still
   applies. All palettes reuse the same variables, so themes
   switch with zero layout change.
   ============================================================ */

@keyframes flc-fade-up{
    from{opacity:0;transform:translateY(14px)}
    to{opacity:1;transform:translateY(0)}
}

/* --- entrance: runs once on load, ends fully visible --- */
html[data-theme] .page-section,
html[data-theme] .inner-hero > .container,
html[data-theme] .policy-hero > .container,
html[data-theme] .section-head{
    animation:flc-fade-up .55s ease both;
}

/* --- smooth feel: color/background transitions (no color changes) --- */
html[data-theme] a{
    transition:color .25s ease,background-color .25s ease,border-color .25s ease,box-shadow .25s ease,opacity .25s ease;
}

/* --- card hover: lift (kept) + accent border glow + ring --- */
html[data-theme] .store-card-pro:hover,
html[data-theme] .category-card:hover,
html[data-theme] .category-mini:hover,
html[data-theme] .store-mini:hover,
html[data-theme] .meta-mini-card:hover,
html[data-theme] .feature-box:hover,
html[data-theme] .help-card:hover,
html[data-theme] .blog-row-card:hover,
html[data-theme] .coupon-pro-card:hover{
    border-color:var(--flc-primary);
    box-shadow:var(--flc-sh-md),0 0 0 4px var(--flc-ring);
}

/* --- card image zoom (.coupon-img-wrap already has overflow:hidden) --- */
html[data-theme] .coupon-img-wrap img{
    transition:transform .35s ease;
}

html[data-theme] .coupon-pro-card:hover .coupon-img-wrap img{
    transform:scale(1.06);
}

/* --- buttons: shine sweep + press effect --- */
html[data-theme] .btn-gradient,
html[data-theme] .btn-main,
html[data-theme] .deal-btn,
html[data-theme] .copy-btn,
html[data-theme] .visit-store-btn,
html[data-theme] .terms-box-btn,
html[data-theme] .premium-modal-btn,
html[data-theme] .sort-btn,
html[data-theme] .coupon-tab,
html[data-theme] .alphabet-btn{
    position:relative;
    overflow:hidden;
}

html[data-theme] .btn-gradient::after,
html[data-theme] .btn-main::after,
html[data-theme] .deal-btn::after,
html[data-theme] .copy-btn::after,
html[data-theme] .visit-store-btn::after,
html[data-theme] .terms-box-btn::after,
html[data-theme] .premium-modal-btn::after,
html[data-theme] .sort-btn::after,
html[data-theme] .coupon-tab::after,
html[data-theme] .alphabet-btn::after{
    content:"";
    position:absolute;
    top:0;
    left:-90%;
    width:55%;
    height:100%;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);
    transform:skewX(-20deg);
    transition:left .55s ease;
    pointer-events:none;
}

html[data-theme] .btn-gradient:hover::after,
html[data-theme] .btn-main:hover::after,
html[data-theme] .deal-btn:hover::after,
html[data-theme] .copy-btn:hover::after,
html[data-theme] .visit-store-btn:hover::after,
html[data-theme] .terms-box-btn:hover::after,
html[data-theme] .premium-modal-btn:hover::after,
html[data-theme] .sort-btn:hover::after,
html[data-theme] .coupon-tab:hover::after,
html[data-theme] .alphabet-btn:hover::after{
    left:140%;
}

html[data-theme] .btn-gradient:active,
html[data-theme] .btn-main:active,
html[data-theme] .deal-btn:active,
html[data-theme] .copy-btn:active,
html[data-theme] .visit-store-btn:active,
html[data-theme] .terms-box-btn:active,
html[data-theme] .premium-modal-btn:active,
html[data-theme] .sort-btn:active,
html[data-theme] .coupon-tab:active,
html[data-theme] .alphabet-btn:active{
    transform:scale(.97);
}

/* --- section titles: accent underline bar --- */
html[data-theme] .section-head h2{
    position:relative;
    padding-bottom:12px;
}

html[data-theme] .section-head h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:60px;
    height:4px;
    border-radius:var(--flc-r-pill);
    background:var(--flc-grad);
}

/* --- themed icon colors (Font Awesome) inside info/feature boxes --- */
html[data-theme] .how-box i,
html[data-theme] .feature-box i,
html[data-theme] .stat-box i,
html[data-theme] .help-card i,
html[data-theme] .sidebar-box i,
html[data-theme] .info-row i,
html[data-theme] .ads-box i,
html[data-theme] .section-head i{
    background:var(--flc-grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:var(--flc-accent);
}

/* icons that MUST stay white: gradient holders, dark surfaces, nav, buttons */
html[data-theme] .feature-icon i,
html[data-theme] .info-icon i,
html[data-theme] .how-number,
html[data-theme] .footer-social a i,
html[data-theme] .custom-navbar .nav-link i,
html[data-theme] .flc-theme-btn i,
html[data-theme] .btn-gradient i,
html[data-theme] .btn-main i,
html[data-theme] .deal-btn i,
html[data-theme] .copy-btn i,
html[data-theme] .visit-store-btn i,
html[data-theme] .terms-box-btn i,
html[data-theme] .premium-modal-btn i,
html[data-theme] .premium-reveal-btn i,
html[data-theme] .reveal-btn i,
html[data-theme] .inner-hero i,
html[data-theme] .policy-hero i,
html[data-theme] #scrollTopBtn i{
    background:none;
    -webkit-text-fill-color:#fff;
    color:#fff;
}

/* --- text hierarchy: headings follow theme ink (light in dark mode) --- */
html[data-theme] .page-section h1,
html[data-theme] .page-section h2,
html[data-theme] .page-section h3,
html[data-theme] .page-section h4,
html[data-theme] .page-section h5,
html[data-theme] .page-section h6,
html[data-theme] .sidebar-box h1,
html[data-theme] .sidebar-box h2,
html[data-theme] .sidebar-box h3,
html[data-theme] .sidebar-box h4,
html[data-theme] .blog-content h1,
html[data-theme] .blog-content h2,
html[data-theme] .blog-content h3,
html[data-theme] .blog-content h4,
html[data-theme] .policy-box h1,
html[data-theme] .policy-box h2,
html[data-theme] .policy-box h3,
html[data-theme] .help-card h1,
html[data-theme] .help-card h2,
html[data-theme] .help-card h3,
html[data-theme] .faq-item h1,
html[data-theme] .faq-item h2,
html[data-theme] .faq-item h3{
    color:var(--flc-ink);
}

/* --- prose links inside content boxes: theme accent --- */
html[data-theme] .sidebar-box p a,
html[data-theme] .blog-content p a,
html[data-theme] .blog-content li a,
html[data-theme] .policy-box p a,
html[data-theme] .policy-box li a,
html[data-theme] .help-card p a,
html[data-theme] .faq-item p a{
    color:var(--flc-primary);
    font-weight:600;
    text-decoration:none;
}

html[data-theme] .sidebar-box p a:hover,
html[data-theme] .blog-content p a:hover,
html[data-theme] .blog-content li a:hover,
html[data-theme] .policy-box p a:hover,
html[data-theme] .policy-box li a:hover,
html[data-theme] .help-card p a:hover,
html[data-theme] .faq-item p a:hover{
    color:var(--flc-primary-dark);
    text-decoration:underline;
}

/* --- footer: brand/links/social keep light contrast on dark footer --- */
html[data-theme] .premium-footer h1,
html[data-theme] .premium-footer h2,
html[data-theme] .premium-footer h3,
html[data-theme] .premium-footer h4,
html[data-theme] .premium-footer h5{
    color:#fff;
}

html[data-theme] .footer-social a{
    color:#fff;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}

html[data-theme] .footer-social a:hover{
    transform:translateY(-3px);
    color:#fff;
}

/* --- accessibility: honor reduced motion --- */
@media (prefers-reduced-motion: reduce){
    html[data-theme] *,
    html[data-theme] *::before,
    html[data-theme] *::after{
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
}

/* ============================================================
   PHASE 5B — frontend premium + account/wishlist
   (all var-driven; recolors coherently across the 6 themes)
   ============================================================ */

/* ---------- 1. NAVBAR PREMIUM ---------- */
html[data-theme] #flcNavbar{
    transition:box-shadow .3s ease, background .3s ease;
}
html[data-theme] #flcNavbar.navbar-scrolled{
    box-shadow:0 10px 30px rgba(0,0,0,.28);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
html[data-theme] .header-brand-text{
    background:var(--flc-grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:var(--flc-primary);
    font-weight:800;
    letter-spacing:.5px;
}
html[data-theme] .custom-navbar .nav-link{
    padding:8px 2px;
}
html[data-theme] .custom-navbar .nav-link::after{
    left:0;
    right:auto;
    bottom:0;
    height:2px;
    width:0;
    background:var(--flc-grad);
    transition:width .3s ease;
}
html[data-theme] .custom-navbar .nav-link:hover::after,
html[data-theme] .custom-navbar .nav-link.active::after{
    width:100%;
}
html[data-theme] .custom-navbar .nav-link.active{
    color:var(--flc-nav-hover);
}
html[data-theme] .custom-navbar .nav-link::before{
    display:none;
}
/* logged-in user dropdown */
html[data-theme] .flc-user-menu{
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-md);
    box-shadow:var(--flc-sh-lg);
    padding:8px;
    min-width:210px;
    background:var(--flc-card);
}
html[data-theme] .flc-user-menu .dropdown-item{
    display:flex;
    align-items:center;
    border-radius:var(--flc-r-sm);
    padding:9px 12px;
    font-weight:600;
    font-size:14px;
    color:var(--flc-ink);
    background:none;
    border:none;
    width:100%;
    text-align:left;
    cursor:pointer;
}
html[data-theme] .flc-user-menu .dropdown-item:hover{
    background:var(--flc-grad-soft);
    color:var(--flc-primary);
}
html[data-theme] .flc-user-menu .dropdown-item i{
    color:var(--flc-primary);
}
html[data-theme] .flc-user-menu form{
    margin:0;
}
/* wishlist heart link in header */
html[data-theme] .flc-wish-link{
    position:relative;
    display:inline-flex;
    align-items:center;
}
html[data-theme] .flc-wish-link i{
    color:#f43f5e;
}
html[data-theme] .flc-wish-count{
    position:absolute;
    top:2px;
    right:-6px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:6px;
    background:var(--flc-grad);
    color:#fff;
    font-size:10px;
    font-weight:800;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
}

/* ---------- 2. FRONTEND FILTER BAR ---------- */
html[data-theme] .flc-front-filter-bar{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-lg);
    box-shadow:var(--flc-sh-sm);
    padding:14px 16px;
    margin:14px 0 20px;
}
html[data-theme] .flc-ffb-search{
    flex:1 1 220px;
    position:relative;
}
html[data-theme] .flc-ffb-search input{
    width:100%;
    border:1px solid var(--flc-input-border);
    background:var(--flc-input-bg);
    color:var(--flc-ink);
    border-radius:var(--flc-r-pill);
    padding:10px 18px;
    font-size:14px;
}
html[data-theme] .flc-ffb-search input:focus{
    outline:none;
    border-color:var(--flc-primary);
    box-shadow:0 0 0 4px var(--flc-ring);
}
html[data-theme] .flc-ffb-select{
    flex:0 1 auto;
    min-width:150px;
    width:auto;
    border:1px solid var(--flc-input-border);
    background:var(--flc-input-bg);
    color:var(--flc-ink);
    border-radius:var(--flc-r-pill);
    padding:10px 36px 10px 16px;
    font-size:14px;
    font-weight:600;
}
html[data-theme] .flc-ffb-check{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:600;
    color:var(--flc-ink);
    cursor:pointer;
    white-space:nowrap;
}
html[data-theme] .flc-ffb-check input{
    width:18px;
    height:18px;
    accent-color:var(--flc-primary);
}
html[data-theme] .flc-filter-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:var(--flc-grad);
    border:none;
    color:#fff;
    font-weight:700;
    font-size:14px;
    border-radius:var(--flc-r-pill);
    padding:10px 22px;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease;
    text-decoration:none;
}
html[data-theme] .flc-filter-btn:hover{
    transform:translateY(-1px);
    box-shadow:var(--flc-sh-md);
    color:#fff;
}
html[data-theme] .flc-reset-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    color:var(--flc-ink);
    font-weight:700;
    font-size:14px;
    border-radius:var(--flc-r-pill);
    padding:10px 20px;
    cursor:pointer;
    text-decoration:none;
    transition:.2s ease;
}
html[data-theme] .flc-reset-btn:hover{
    border-color:var(--flc-primary);
    color:var(--flc-primary);
}
/* blog category jump select */
html[data-theme] .flc-blog-cat-jump{
    max-width:320px;
    margin:16px auto 0;
}
html[data-theme] .flc-blog-cat-link{
    color:var(--flc-primary);
    font-weight:700;
    text-decoration:none;
}
html[data-theme] .flc-blog-cat-link:hover{
    text-decoration:underline;
}

/* ---------- 3. WISHLIST HEART ON CARDS ---------- */
html[data-theme] .coupon-pro-card{
    position:relative;
}
html[data-theme] .flc-wish-form{
    position:absolute;
    bottom:10px;
    right:10px;
    top:auto;
    z-index:8;
    margin:0;
}
html[data-theme] .flc-wish-btn{
    width:34px;
    height:34px;
    border-radius:50%;
    border:1px solid var(--flc-border);
    background:rgba(255,255,255,.92);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:var(--flc-sh-sm);
    transition:transform .2s ease;
}
html[data-theme] .flc-wish-btn i{
    font-size:15px;
    color:#e11d48;
    background:none;
    -webkit-text-fill-color:#e11d48;
}
html[data-theme] .flc-wish-btn:hover{
    transform:scale(1.12);
}
html[data-theme] .flc-wish-btn.saved i{
    color:#e11d48;
    -webkit-text-fill-color:#e11d48;
}

/* ---------- 4. COUPON CARD PREMIUM ---------- */
html[data-theme] .coupon-pro-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--flc-sh-lg);
}
html[data-theme] .coupon-img-wrap{
    position:relative;
    overflow:hidden;
    border-radius:var(--flc-r-lg) var(--flc-r-lg) 0 0;
}
html[data-theme] .coupon-img-wrap img{
    transition:transform .45s ease;
}
html[data-theme] .coupon-pro-card:hover .coupon-img-wrap img{
    transform:scale(1.06);
}
html[data-theme] .flc-card-discount{
    font-size:26px;
    font-weight:800;
    line-height:1.1;
    margin:8px 0 4px;
    background:var(--flc-grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:var(--flc-primary);
}
html[data-theme] .flc-expiry-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    font-weight:600;
    color:var(--flc-muted);
    background:var(--flc-grad-soft);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-pill);
    padding:4px 12px;
    margin:6px 0;
}
html[data-theme] .flc-expiry-chip i{
    color:var(--flc-primary);
    background:none;
    -webkit-text-fill-color:var(--flc-primary);
}
html[data-theme] .premium-reveal-btn,
html[data-theme] .reveal-btn{
    box-shadow:var(--flc-sh-sm);
}
html[data-theme] .premium-reveal-btn:hover,
html[data-theme] .reveal-btn:hover{
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-md);
}

/* ---------- 5. ACCOUNT / WISHLIST PAGES ---------- */
html[data-theme] .flc-account-card{
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-lg);
    box-shadow:var(--flc-sh-sm);
    padding:26px 24px;
}
html[data-theme] .flc-avatar-circle{
    width:88px;
    height:88px;
    border-radius:50%;
    background:var(--flc-grad);
    color:#fff;
    font-size:34px;
    font-weight:800;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:var(--flc-sh-md);
}
html[data-theme] .flc-chip{
    display:inline-flex;
    align-items:center;
    font-size:12px;
    font-weight:600;
    color:var(--flc-muted);
    background:var(--flc-grad-soft);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-pill);
    padding:5px 12px;
}
html[data-theme] .flc-chip-accent{
    color:var(--flc-primary);
}
html[data-theme] .flc-account-stat{
    display:flex;
    justify-content:center;
    gap:24px;
    padding:14px;
    border:1px dashed var(--flc-border);
    border-radius:var(--flc-r-md);
}
html[data-theme] .flc-account-stat strong{
    display:block;
    font-size:24px;
    color:var(--flc-primary);
}
html[data-theme] .flc-account-stat span{
    font-size:12px;
    color:var(--flc-muted);
    font-weight:600;
}
html[data-theme] .flc-account-btn{
    display:block;
    text-align:center;
    background:var(--flc-grad);
    color:#fff;
    font-weight:700;
    border-radius:var(--flc-r-md);
    padding:12px;
    text-decoration:none;
    transition:transform .2s ease, box-shadow .2s ease;
}
html[data-theme] .flc-account-btn:hover{
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-md);
    color:#fff;
}
html[data-theme] .flc-account-title{
    color:var(--flc-ink);
    font-weight:700;
    margin-bottom:18px;
}
html[data-theme] .flc-account-title i{
    color:var(--flc-primary);
    background:none;
    -webkit-text-fill-color:var(--flc-primary);
}
html[data-theme] .flc-input{
    background:var(--flc-input-bg);
    border:1px solid var(--flc-input-border);
    color:var(--flc-ink);
    border-radius:var(--flc-r-md);
    padding:11px 14px;
}
html[data-theme] .flc-input:focus{
    border-color:var(--flc-primary);
    box-shadow:0 0 0 4px var(--flc-ring);
}
html[data-theme] .flc-empty-state{
    text-align:center;
    background:var(--flc-card);
    border:1px dashed var(--flc-border);
    border-radius:var(--flc-r-lg);
    padding:60px 24px;
}
html[data-theme] .flc-empty-icon{
    width:76px;
    height:76px;
    border-radius:50%;
    background:var(--flc-grad-soft);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
}
html[data-theme] .flc-empty-icon i{
    font-size:30px;
    color:var(--flc-primary);
    background:none;
    -webkit-text-fill-color:var(--flc-primary);
}

/* ---------- 6. THEME SWEEP: hardcoded indigo paint -> theme vars ----------
   (per-page styles render after this file, so equal-specificity
   html[data-theme] rules win on paint only; no mechanics changed) */
html[data-theme] .cta-btn,
html[data-theme] .category-btn,
html[data-theme] .send-btn,
html[data-theme] .hero-search button,
html[data-theme] .alphabet-bar a:hover,
html[data-theme] .popular-category-tag:hover,
html[data-theme] .social-icons a:hover,
html[data-theme] .voucher-left,
html[data-theme] .premium-reveal-btn .btn-back,
html[data-theme] .premium-modal-btn .btn-back,
html[data-theme] .read-btn,
html[data-theme] .copy-btn{
    background:var(--flc-grad)!important;
    color:#fff!important;
}
html[data-theme] .view-all-btn::before{
    background:var(--flc-grad)!important;
}
html[data-theme] .hero-store-search{
    background:var(--flc-grad)!important;
}
html[data-theme] .stat-box h3{
    background:var(--flc-grad)!important;
    -webkit-background-clip:text!important;
    background-clip:text!important;
    -webkit-text-fill-color:transparent!important;
    color:var(--flc-primary)!important;
}
html[data-theme] .view-all-link:hover{
    color:var(--flc-primary)!important;
}
html[data-theme] .related-store-grid::-webkit-scrollbar-thumb{
    background:var(--flc-primary)!important;
}
/* ============================================================
   PHASE 6 — fully dynamic theme + floating switcher + footer
   Root causes fixed here:
   (a) Get Code/Get Deal buttons stayed black: the visible span
       (.btn-front) carries its own #0f172a gradient and covers the
       button — the button itself was themed, the span was not.
   (b) Footer never changed: --flc-footer-bg was only overridden
       for the dark theme. Every theme now gets its own deep shade.
   (c) Nav links/hover stayed white/yellow: legacy !important
       colors in layout.blade.php. Overridden here with higher
       specificity + !important.
   (d) Ticket-notch circles on reveal buttons used the light body
       color (#f8fafc) — now follow --flc-body-bg.
   (e) Home hero gradient was hardcoded purple — now theme grad.
   ============================================================ */

/* ---------- per-theme footer deep shades ---------- */
html[data-theme="default"]{ --flc-footer-bg:#25224E; }
html[data-theme="emerald"]{ --flc-footer-bg:#0C3828; }
html[data-theme="royal"]{ --flc-footer-bg:#14295E; }
html[data-theme="coral"]{ --flc-footer-bg:#40251A; }
html[data-theme="plum"]{ --flc-footer-bg:#2E1A47; }

/* ---------- reveal buttons: theme the visible span ---------- */
html[data-theme] .btn-front{
    background:var(--flc-grad);
    color:#fff;
}
html[data-theme] .btn-back{
    background:var(--flc-card);
    color:var(--flc-ink);
}
html[data-theme] .premium-reveal-btn:before,
html[data-theme] .premium-reveal-btn:after{
    background:var(--flc-body-bg)!important;
}

/* ---------- navbar: beat legacy !important colors ---------- */
html[data-theme] .custom-navbar .navbar-brand{
    color:var(--flc-nav-link)!important;
}
html[data-theme] .custom-navbar .nav-link{
    color:var(--flc-nav-link)!important;
}
html[data-theme] .custom-navbar .nav-link:hover{
    color:var(--flc-nav-hover)!important;
}
html[data-theme] .custom-navbar .nav-link::before,
html[data-theme] .custom-navbar .nav-link::after{
    background:var(--flc-nav-hover);
}

/* ---------- home hero follows theme ---------- */
html[data-theme] .hero-pro{
    background:radial-gradient(circle at left,rgba(255,255,255,.13),transparent 30%),var(--flc-grad);
}

/* ---------- footer premium polish ---------- */
html[data-theme] .premium-footer{
    position:relative;
    border-top:1px solid var(--flc-border);
}
html[data-theme] .premium-footer::before{
    content:'';
    position:absolute;
    top:-1px;left:0;right:0;
    height:4px;
    background:var(--flc-grad);
}
html[data-theme] .footer-links a{
    display:inline-block;
    color:var(--flc-footer-muted);
    transition:color .25s ease,padding .25s ease;
}
html[data-theme] .footer-links a:hover{
    color:var(--flc-nav-hover);
    padding-left:6px;
}
html[data-theme] .premium-footer h4,
html[data-theme] .premium-footer h5,
html[data-theme] .premium-footer h6{
    color:#fff;
}
html[data-theme] .footer-social a{
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    transition:transform .25s ease,background .25s ease;
}
html[data-theme] .footer-social a:hover{
    background:var(--flc-grad);
    transform:translateY(-3px);
}

/* footer newsletter (same working form, themed) */
html[data-theme] .footer-newsletter{
    margin-top:18px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.10);
    border-radius:var(--flc-r-md);
    padding:14px;
}
html[data-theme] .footer-newsletter h6{
    color:#fff;
    font-size:13px;
    margin-bottom:10px;
    font-weight:700;
}
html[data-theme] .footer-newsletter-form{
    display:flex;
    gap:8px;
}
html[data-theme] .footer-newsletter-form input{
    flex:1;
    min-width:0;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.14);
    border-radius:6px;
    padding:10px 12px;
    color:#fff;
    font-size:13px;
    outline:none;
}
html[data-theme] .footer-newsletter-form input::placeholder{
    color:var(--flc-footer-muted);
}
html[data-theme] .footer-newsletter-form button{
    background:var(--flc-grad);
    border:none;
    color:#fff;
    font-weight:700;
    border-radius:6px;
    padding:10px 16px;
    font-size:13px;
    cursor:pointer;
    white-space:nowrap;
    transition:transform .2s ease,box-shadow .2s ease;
}
html[data-theme] .footer-newsletter-form button:hover{
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-md);
}

/* ---------- floating theme switcher (bottom-left) ---------- */
.flc-float-theme{
    position:fixed;
    left:18px;
    bottom:18px;
    z-index:990;
}
.flc-float-check{
    display:none;
}
.flc-float-backdrop{
    position:fixed;
    inset:0;
    cursor:default;
    display:none;
    z-index:0;
}
.flc-float-check:checked ~ .flc-float-backdrop{
    display:block;
}
.flc-float-btn{
    position:relative;
    z-index:2;
    width:52px;
    height:52px;
    border-radius:50%;
    background:var(--flc-grad);
    color:#fff;
    border:2px solid rgba(255,255,255,.35);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    box-shadow:var(--flc-sh-lg);
    transition:transform .2s ease;
    margin:0;
}
.flc-float-btn:hover{
    transform:scale(1.08) rotate(12deg);
}
.flc-float-panel{
    position:absolute;
    z-index:1;
    left:0;
    bottom:64px;
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:var(--flc-r-lg);
    box-shadow:var(--flc-sh-lg);
    padding:10px;
    min-width:208px;
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
.flc-float-check:checked ~ .flc-float-panel{
    opacity:1;
    visibility:visible;
    transform:none;
}
.flc-float-title{
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--flc-muted);
    padding:4px 10px 8px;
}
.flc-float-item{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    border:none;
    background:none;
    padding:9px 10px;
    border-radius:var(--flc-r-sm);
    font-weight:600;
    font-size:13px;
    color:var(--flc-ink);
    cursor:pointer;
    transition:background .18s ease;
    text-align:left;
}
.flc-float-item:hover{
    background:var(--flc-grad-soft);
}
.flc-float-item.active{
    background:var(--flc-grad-soft);
    outline:2px solid var(--flc-primary);
}
.flc-float-item .flc-swatch{
    width:22px;
    height:22px;
    border-radius:50%;
    flex-shrink:0;
    border:2px solid rgba(0,0,0,.10);
}

/* ---------- coupon card: theme polish on the partial itself ---------- */
html[data-theme] .premium-coupon-card::before{
    content:'';
    display:block;
    height:5px;
    background:var(--flc-grad);
}
html[data-theme] .verified-badge-new{
    background:var(--flc-grad);
}
html[data-theme] .category-mini{
    background:var(--flc-grad);
    color:#fff;
}
html[data-theme] .store-mini{
    background:var(--flc-grad-soft);
    color:var(--flc-ink);
    border:1px solid var(--flc-border);
}
html[data-theme] .coupon-content h5{
    color:var(--flc-ink);
}
html[data-theme] .coupon-desc{
    color:var(--flc-muted);
}
html[data-theme] .code-box{
    border-color:var(--flc-primary);
    color:var(--flc-ink);
}

/* ---------- blog card titles: ink, no underline ---------- */
html[data-theme] .blog-row-card h3 a{
    color:var(--flc-ink);
    text-decoration:none;
}
html[data-theme] .blog-row-card h3 a:hover{
    color:var(--flc-primary);
}

/* ============================================================
   PHASE 7 — frontend polish: dynamic heroes/bands, hero
   clearance, title colors, type scale-down, 6px radius rule,
   hardcoded-gradient sweep. All rules beat page <style> blocks
   (loaded later in body) via html[data-theme] + !important.
   ============================================================ */

/* ---- 7A. Fixed-navbar clearance: some pages nuke body padding
   with `html,body{padding:0!important}`, which slides every hero
   under the fixed navbar. Restore it. ---- */
html[data-theme] body{
    padding-top:70px !important;
}

/* ---- 7B. All page heroes + full-width CTA bands follow theme ---- */
html[data-theme] .inner-hero,
html[data-theme] .policy-hero,
html[data-theme] .blog-hero,
html[data-theme] .contact-hero,
html[data-theme] .cta-section,
html[data-theme] .single-hero,
html[data-theme] .hero-pro{
    background:var(--flc-grad) !important;
    color:#fff;
    padding-top:calc(var(--flc-hero-y) + 22px) !important;
    padding-bottom:var(--flc-hero-y) !important;
}
html[data-theme] .inner-hero h1,
html[data-theme] .policy-hero h1,
html[data-theme] .blog-hero h1,
html[data-theme] .contact-hero-content h1,
html[data-theme] .single-hero h1,
html[data-theme] .cta-section h2{
    color:#fff !important;
}
html[data-theme] .inner-hero p,
html[data-theme] .policy-hero p,
html[data-theme] .blog-hero p,
html[data-theme] .contact-hero-content p,
html[data-theme] .single-hero p,
html[data-theme] .cta-section p{
    color:rgba(255,255,255,.9) !important;
}

/* ---- 7C. Yellow accent words inside heroes -> white w/ soft underline ---- */
html[data-theme] .contact-hero-content h1 span,
html[data-theme] .blog-hero h1 span,
html[data-theme] .inner-hero h1 span,
html[data-theme] .policy-hero h1 span,
html[data-theme] .hero-pro .hero-left h1 span{
    color:#fff !important;
    text-decoration:underline !important;
    text-decoration-color:rgba(255,255,255,.55) !important;
    text-underline-offset:5px;
}
html[data-theme] .hero-highlight{
    color:#fff !important;
    opacity:.92;
}

/* ---- 7D. Odd heading styles normalized ---- */
html[data-theme] .help-header h2{
    color:var(--flc-ink) !important;
    text-shadow:none !important;
}
html[data-theme] .section-head h2::after{
    background:var(--flc-grad) !important;
}
html[data-theme] .mini-tag,
html[data-theme] .blog-cat{
    color:var(--flc-primary) !important;
    background:var(--flc-grad-soft) !important;
}

/* ---- 7E. Card + sidebar titles: ink, no underline, theme hover ---- */
html[data-theme] .blog-grid-content h3 a,
html[data-theme] .featured-title a,
html[data-theme] .blog-row-card h3 a{
    color:var(--flc-ink) !important;
    text-decoration:none !important;
    font-weight:700;
}
html[data-theme] .blog-grid-content h3 a:hover,
html[data-theme] .featured-title a:hover,
html[data-theme] .blog-row-card h3 a:hover{
    color:var(--flc-primary) !important;
}
html[data-theme] a.latest-post-item,
html[data-theme] a.store-card-pro{
    text-decoration:none !important;
}
html[data-theme] .latest-post-item h6,
html[data-theme] .store-card-pro h6,
html[data-theme] .category-card h6{
    color:var(--flc-ink) !important;
}
html[data-theme] a.latest-post-item:hover h6,
html[data-theme] a.store-card-pro:hover h6{
    color:var(--flc-primary) !important;
}

/* ---- 7F. Frontend type scale-down ---- */
html[data-theme] .inner-hero h1,
html[data-theme] .policy-hero h1,
html[data-theme] .blog-hero h1,
html[data-theme] .contact-hero-content h1,
html[data-theme] .single-hero h1{
    font-size:clamp(26px,4vw,34px) !important;
    font-weight:700;
}
html[data-theme] .hero-pro .hero-left h1{
    font-size:clamp(28px,4.5vw,36px) !important;
}
html[data-theme] .section-head h2,
html[data-theme] .section-heading h2,
html[data-theme] .section-title,
html[data-theme] .help-header h2,
html[data-theme] .about-title{
    font-size:25px !important;
}
html[data-theme] .cta-section h2{
    font-size:28px !important;
}
html[data-theme] .inner-hero p,
html[data-theme] .policy-hero p,
html[data-theme] .blog-hero p,
html[data-theme] .contact-hero-content p,
html[data-theme] .hero-pro .hero-left p{
    font-size:15px !important;
    line-height:1.7;
}
html[data-theme] .stat-box h3{
    font-size:30px !important;
}
html[data-theme] .blog-grid-content h3,
html[data-theme] .blog-grid-content h3 a{
    font-size:16px !important;
}
html[data-theme] .coupon-content h5{
    font-size:16px !important;
}

/* ---- 7G. 6px radius rule (owner standing rule) ---- */
html[data-theme] .card,
html[data-theme] .btn,
html[data-theme] .form-control,
html[data-theme] .form-select,
html[data-theme] .input-group,
html[data-theme] .input-group-text,
html[data-theme] .modal-content,
html[data-theme] .dropdown-menu,
html[data-theme] .alert,
html[data-theme] .page-link,
html[data-theme] .badge,
html[data-theme] .blog-grid-card,
html[data-theme] .blog-row-card,
html[data-theme] .featured-blog-card,
html[data-theme] .blog-grid-img,
html[data-theme] .store-card-pro,
html[data-theme] .store-img-edge,
html[data-theme] .store-img-edge img,
html[data-theme] .category-card,
html[data-theme] .category-store-card,
html[data-theme] .sidebar-box,
html[data-theme] .stat-box,
html[data-theme] .mini-tag,
html[data-theme] .blog-cat,
html[data-theme] .hero-search,
html[data-theme] .hero-search input,
html[data-theme] .hero-search button,
html[data-theme] .hero-store-search,
html[data-theme] .flc-ffb-select,
html[data-theme] .account-panel,
html[data-theme] .wishlist-panel{
    border-radius:6px !important;
}
html[data-theme] .hero-search{
    overflow:hidden;
}
/* EXCEPTIONS — stay round */
html[data-theme] .flc-float-theme,
html[data-theme] #scrollTopBtn,
html[data-theme] .flc-swatch,
html[data-theme] .premium-footer .d-flex.gap-2 a,
html[data-theme] .social-icons a,
html[data-theme] .yt-footer-avatar img,
html[data-theme] .account-avatar{
    border-radius:50% !important;
}

/* ---- 7H. Hardcoded purple gradients -> theme gradient ---- */
html[data-theme] .btn-main,
html[data-theme] .send-btn,
html[data-theme] .cta-btn,
html[data-theme] .category-btn,
html[data-theme] .visit-store-btn,
html[data-theme] .read-btn,
html[data-theme] .copy-btn,
html[data-theme] .store-btn,
html[data-theme] .sort-btn.active,
html[data-theme] .alphabet-btn:hover,
html[data-theme] .alphabet-bar a:hover,
html[data-theme] .popular-category-tag:hover,
html[data-theme] .voucher-left{
    background:var(--flc-grad) !important;
    color:#fff !important;
    border-color:transparent !important;
}
html[data-theme] .view-all-btn::before{
    background:var(--flc-grad) !important;
}
html[data-theme] .stat-box h3{
    background:var(--flc-grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* ============================================================
   PHASE 8 — Poppins-only, light premium palettes, glassy navbar,
   smaller buttons/type, decent click animation, premium cards.
   All rules beat per-page <style> blocks (loaded later in body)
   via html[data-theme] + !important.
   ============================================================ */

/* ---- 8A. Light premium palettes (muted, two-stop gradients) ---- */
:root{
    --flc-primary:#4F46E5;
    --flc-primary-dark:#4338ca;
    --flc-secondary:#7C6CF6;
    --flc-grad:linear-gradient(135deg,#4F46E5,#7C6CF6);
    --flc-grad-soft:linear-gradient(135deg,rgba(79,70,229,.09),rgba(124,108,246,.09));
    --flc-nav-bg:#25224E;
    --flc-nav-link:#ffffff;
    --flc-nav-hover:#c7d2fe;
    --flc-footer-bg:#25224E;
    --flc-footer-muted:#c7d2fe;
}
html[data-theme="emerald"]{
    --flc-primary:#059669;
    --flc-primary-dark:#047857;
    --flc-secondary:#0d9488;
    --flc-grad:linear-gradient(135deg,#059669,#2FBF9B);
    --flc-grad-soft:linear-gradient(135deg,rgba(5,150,105,.09),rgba(47,191,155,.09));
    --flc-nav-bg:#0C3828;
    --flc-nav-hover:#a7f3d0;
    --flc-footer-bg:#0C3828;
    --flc-footer-muted:#a7f3d0;
}
html[data-theme="royal"]{
    --flc-primary:#2563EB;
    --flc-primary-dark:#1D4ED8;
    --flc-secondary:#1e40af;
    --flc-grad:linear-gradient(135deg,#2563EB,#5E9BFF);
    --flc-grad-soft:linear-gradient(135deg,rgba(37,99,235,.09),rgba(94,155,255,.09));
    --flc-nav-bg:#14295E;
    --flc-nav-hover:#bfdbfe;
    --flc-footer-bg:#14295E;
    --flc-footer-muted:#bfdbfe;
}
html[data-theme="coral"]{
    --flc-primary:#DF6A45;
    --flc-primary-dark:#c95430;
    --flc-secondary:#b4522e;
    --flc-grad:linear-gradient(135deg,#DF6A45,#F0955C);
    --flc-grad-soft:linear-gradient(135deg,rgba(223,106,69,.09),rgba(240,149,92,.09));
    --flc-nav-bg:#40251A;
    --flc-nav-hover:#fed7aa;
    --flc-footer-bg:#40251A;
    --flc-footer-muted:#fed7aa;
}
html[data-theme="plum"]{
    --flc-primary:#8B5CF6;
    --flc-primary-dark:#7C3AED;
    --flc-secondary:#7e22ce;
    --flc-grad:linear-gradient(135deg,#8B5CF6,#A78BFA);
    --flc-grad-soft:linear-gradient(135deg,rgba(139,92,246,.09),rgba(167,139,250,.09));
    --flc-nav-bg:#2E1A47;
    --flc-nav-hover:#e9d5ff;
    --flc-footer-bg:#2E1A47;
    --flc-footer-muted:#e9d5ff;
}
html[data-theme="dark"]{
    --flc-primary:#818CF8;
    --flc-primary-dark:#6366f1;
    --flc-secondary:#a78bfa;
    --flc-grad:linear-gradient(135deg,#818CF8,#A5B4FC);
    --flc-grad-soft:linear-gradient(135deg,rgba(129,140,248,.16),rgba(165,180,252,.12));
    --flc-nav-bg:#0B1120;
    --flc-nav-hover:#c7d2fe;
    --flc-footer-bg:#0B1120;
    --flc-footer-muted:#9aa3b2;
}

/* ---- 8B. Poppins everywhere (weights: headings 600/700, body 400, UI 500) ---- */
html[data-theme] body,
html[data-theme] p, html[data-theme] span, html[data-theme] div, html[data-theme] a,
html[data-theme] input, html[data-theme] select, html[data-theme] textarea,
html[data-theme] .btn, html[data-theme] button{
    font-family:'Poppins',sans-serif !important;
}
html[data-theme] h1, html[data-theme] h2, html[data-theme] h3,
html[data-theme] h4, html[data-theme] h5, html[data-theme] h6{
    font-family:'Poppins',sans-serif !important;
    font-weight:700 !important;
}
html[data-theme] .nav-link{font-weight:500 !important;}

/* ---- 8C. Glassy premium navbar ---- */
html[data-theme] .custom-navbar{
    background:color-mix(in srgb,var(--flc-nav-bg) 84%,transparent) !important;
    backdrop-filter:blur(14px) !important;
    -webkit-backdrop-filter:blur(14px) !important;
    border-bottom:1px solid rgba(255,255,255,.07) !important;
    padding:10px 0 !important;
}
html[data-theme] #flcNavbar.navbar-scrolled{
    background:var(--flc-nav-bg) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.25) !important;
}
html[data-theme] .navbar-brand img{
    height:34px !important;
    width:auto !important;
}
html[data-theme] .custom-navbar .navbar-toggler{
    color:var(--flc-nav-link) !important;
}
html[data-theme] .custom-navbar .nav-link{
    font-size:14px !important;
    font-weight:500 !important;
    margin-left:14px !important;
    transition:color .18s ease !important;
}
html[data-theme] .custom-navbar .nav-link::before{
    content:'' !important;
    position:absolute !important;
    right:0 !important;
    top:-4px !important;
    width:0 !important;
    height:2px !important;
    background:var(--flc-nav-hover) !important;
    transition:width .22s ease !important;
}
html[data-theme] .custom-navbar .nav-link:hover::before,
html[data-theme] .custom-navbar .nav-link.active::before{
    width:100% !important;
}
html[data-theme] .custom-navbar .nav-link::after{
    display:none !important;
}
html[data-theme] .custom-navbar .nav-link.active{
    color:var(--flc-nav-hover) !important;
}

/* ---- 8D. Login / Register professional icon buttons ---- */
html[data-theme] .flc-login-btn,
html[data-theme] .flc-register-btn{
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    font-size:13.5px !important;
    font-weight:600 !important;
    border-radius:6px !important;
    padding:7px 14px !important;
    margin:4px 0 4px 10px !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease !important;
}
html[data-theme] .flc-login-btn{
    color:var(--flc-nav-link) !important;
    border:1.5px solid rgba(255,255,255,.65) !important;
    background:transparent !important;
}
html[data-theme] .flc-login-btn:hover{
    background:rgba(255,255,255,.14) !important;
    color:#fff !important;
    transform:translateY(-2px) !important;
}
html[data-theme] .flc-register-btn{
    color:#fff !important;
    background:var(--flc-grad) !important;
    border:1.5px solid transparent !important;
    box-shadow:0 4px 14px rgba(0,0,0,.18) !important;
}
html[data-theme] .flc-register-btn:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.24) !important;
    color:#fff !important;
}
html[data-theme] .flc-login-btn:active,
html[data-theme] .flc-register-btn:active{
    transform:scale(.97) !important;
}

/* ---- 8E. Smaller buttons + decent global click animation ---- */
html[data-theme] .btn{
    font-size:13.5px !important;
    padding:7px 14px !important;
    font-weight:600 !important;
    border-radius:6px !important;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease !important;
}
html[data-theme] .btn:hover{
    transform:translateY(-2px) !important;
}
html[data-theme] .btn:active{
    transform:scale(.97) !important;
}
html[data-theme] .navbar .btn{
    margin:2px 4px !important;
}

/* ---- 8F. Premium lighter cards (coupon / store / category / blog) ---- */
html[data-theme] .premium-coupon-card,
html[data-theme] .coupon-pro-card{
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    overflow:hidden !important;
    transition:transform .22s ease,box-shadow .22s ease !important;
}
html[data-theme] .premium-coupon-card:hover,
html[data-theme] .coupon-pro-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 32px color-mix(in srgb,var(--flc-primary) 18%,transparent) !important;
}
html[data-theme] .coupon-pro-card .coupon-img-wrap{
    overflow:hidden !important;
    background:var(--flc-grad-soft) !important;
}
html[data-theme] .coupon-pro-card .coupon-img-wrap img{
    transition:transform .3s ease !important;
}
html[data-theme] .coupon-pro-card:hover .coupon-img-wrap img{
    transform:scale(1.05) !important;
}
html[data-theme] .coupon-pro-card h5{
    font-size:15.5px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
}
html[data-theme] .meta-mini-card{
    background:var(--flc-grad-soft) !important;
    color:var(--flc-primary) !important;
    border-radius:6px !important;
    font-size:11.5px !important;
    font-weight:500 !important;
}
html[data-theme] .store-card-pro,
html[data-theme] .category-card,
html[data-theme] .blog-grid-card,
html[data-theme] .category-store-card{
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    transition:transform .22s ease,box-shadow .22s ease !important;
    overflow:hidden !important;
}
html[data-theme] .store-card-pro:hover,
html[data-theme] .category-card:hover,
html[data-theme] .blog-grid-card:hover,
html[data-theme] .category-store-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 32px color-mix(in srgb,var(--flc-primary) 16%,transparent) !important;
}
html[data-theme] .store-card-pro img,
html[data-theme] .category-card img,
html[data-theme] .blog-grid-card img{
    transition:transform .3s ease !important;
}
html[data-theme] .store-card-pro:hover img,
html[data-theme] .category-card:hover img,
html[data-theme] .blog-grid-card:hover img{
    transform:scale(1.05) !important;
}
html[data-theme] .blog-grid-card h3 a,
html[data-theme] .store-card-pro h6,
html[data-theme] .category-card h6{
    font-size:15px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
    text-decoration:none !important;
}
html[data-theme] .verified-badge-new{
    background:var(--flc-grad) !important;
    color:#fff !important;
    border-radius:6px !important;
    font-size:11px !important;
    font-weight:600 !important;
}
html[data-theme] .flc-wish-btn{
    background:rgba(255,255,255,.92) !important;
    color:var(--flc-primary) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:50% !important;
    transition:transform .18s ease !important;
}
html[data-theme] .flc-wish-btn:hover{
    transform:scale(1.08) !important;
}
html[data-theme] .flc-wish-btn:active{
    transform:scale(.94) !important;
}

/* ============================================================
   PHASE 9A (2026-10-16) — frontend: hero pills state, verified
   badge, cards enhanced, blog images, view-all/links, lighter
   disclaimer, animated stats section, inner-page refresh,
   search-row polish, auth field icons, radius audit.
   All rules beat page <style> blocks via html[data-theme] +
   !important. JS hooks / data-* untouched.
   ============================================================ */

/* ---- 9A-1. Hero shortcut pills: clicked pill no longer goes white ---- */
html[data-theme] .hero-btns a{
    border-radius:6px !important;
    padding:9px 16px !important;
    font-size:13.5px !important;
    font-weight:600 !important;
    background:rgba(255,255,255,.08) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    color:#fff !important;
    transition:all .2s ease !important;
}
html[data-theme] .hero-btns a:hover,
html[data-theme] .hero-btns a:focus,
html[data-theme] .hero-btns a:active{
    background:var(--flc-grad) !important;
    color:#fff !important;
    border-color:transparent !important;
    transform:translateY(-2px) !important;
}
html[data-theme] .hero-btns a.bs-btn:hover,
html[data-theme] .hero-btns a.bs-btn:focus,
html[data-theme] .hero-btns a.bs-btn:active{
    color:#fff !important;
}
html[data-theme] .hero-btns a:first-child{
    color:#fff !important;
}

/* ---- 9A-2. Verified badge: premium finished look ---- */
html[data-theme] .verified-badge-new{
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    padding:6px 12px !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:.4px;
    box-shadow:0 4px 12px rgba(0,0,0,.18) !important;
}
html[data-theme] .verified-badge-new .v-icon{
    background:rgba(255,255,255,.28) !important;
    color:#fff !important;
}
html[data-theme] .verified-coupon-badge{
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    font-size:11px !important;
    font-weight:700 !important;
    box-shadow:0 4px 12px rgba(0,0,0,.15) !important;
}
html[data-theme] .verified-coupon-badge i{
    color:#fff !important;
}

/* ---- 9A-3. Top Categories + Top Stores cards enhanced ---- */
html[data-theme] .slider-card{
    border-radius:6px !important;
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    box-shadow:var(--flc-sh-sm) !important;
    padding:24px 14px !important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease !important;
}
html[data-theme] .slider-card:hover{
    transform:translateY(-4px) !important;
    box-shadow:var(--flc-sh-md) !important;
    border-color:color-mix(in srgb,var(--flc-primary) 40%,transparent) !important;
}
html[data-theme] .slider-card h6{
    font-size:15px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
}
html[data-theme] .slider-card small{
    color:var(--flc-primary) !important;
    font-weight:600 !important;
    font-size:12.5px !important;
}
html[data-theme] .card-icon-big{
    width:64px !important;
    height:64px !important;
    border-radius:6px !important;
    background:var(--flc-grad-soft) !important;
    margin:0 auto 10px !important;
}
html[data-theme] .store-card-pro{
    border-radius:6px !important;
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    transition:transform .2s ease,box-shadow .2s ease !important;
}
html[data-theme] .store-card-pro:hover{
    transform:translateY(-4px) !important;
    box-shadow:var(--flc-sh-md) !important;
}
html[data-theme] .store-img-edge{
    background:var(--flc-grad-soft) !important;
}
html[data-theme] .store-img-edge img{
    transition:transform .25s ease !important;
}
html[data-theme] .store-card-pro:hover .store-img-edge img{
    transform:scale(1.05);
}
html[data-theme] .store-bottom h6{
    font-size:15px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
}

/* ---- 9A-4. Blog images fully fill card top; Read More transition ---- */
html[data-theme] .blog-pro{
    border-radius:6px !important;
}
html[data-theme] .blog-pro img{
    object-fit:cover !important;
    height:170px !important;
}
html[data-theme] .read-btn{
    transition:transform .2s ease,box-shadow .2s ease,filter .2s ease !important;
}
html[data-theme] .read-btn::after{
    content:'\2192';
    margin-left:7px;
    display:inline-block;
    transition:transform .2s ease;
}
html[data-theme] .read-btn:hover{
    transform:translateY(-2px) !important;
    filter:brightness(1.06);
}
html[data-theme] .read-btn:hover::after{
    transform:translateX(3px);
}

/* ---- 9A-5. View All buttons uniform; no link decoration anywhere ---- */
html[data-theme] .view-all-btn{
    padding:6px 14px !important;
    border-radius:6px !important;
    font-size:13px !important;
    font-weight:600 !important;
    border:1px solid color-mix(in srgb,var(--flc-primary) 45%,transparent) !important;
    color:var(--flc-primary) !important;
    background:transparent !important;
    transition:all .2s ease !important;
}
html[data-theme] .view-all-btn:hover{
    background:var(--flc-grad) !important;
    color:#fff !important;
    border-color:transparent !important;
    transform:translateY(-2px) !important;
}
html[data-theme] a{
    text-decoration:none;
}
/* Phase 7 hero-span underline -> bold/opacity instead */
html[data-theme] .contact-hero-content h1 span,
html[data-theme] .blog-hero h1 span,
html[data-theme] .inner-hero h1 span,
html[data-theme] .policy-hero h1 span,
html[data-theme] .hero-pro .hero-left h1 span{
    text-decoration:none !important;
    font-weight:700 !important;
    opacity:.94;
}

/* ---- 9A-6. Disclaimer cards: light premium (text unchanged) ---- */
html[data-theme] .flc-trust-card{
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    box-shadow:var(--flc-sh-sm) !important;
    padding:24px !important;
}
html[data-theme] .flc-trust-card h3{
    color:var(--flc-ink) !important;
    font-size:17px !important;
    font-weight:700 !important;
}
html[data-theme] .flc-trust-card p{
    color:var(--flc-muted) !important;
    font-size:14px !important;
}
html[data-theme] .flc-trust-card .flc-icon-box{
    background:var(--flc-grad) !important;
    color:#fff !important;
    border-radius:6px !important;
    box-shadow:var(--flc-sh-sm) !important;
}

/* ---- 9A-7. Animated stats strip (home) ---- */
html[data-theme] .flc-stats-section{
    margin:56px 0 !important;
}
html[data-theme] .flc-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}
@media(max-width:768px){
    html[data-theme] .flc-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
html[data-theme] .flc-stat-card{
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:6px;
    box-shadow:var(--flc-sh-sm);
    padding:22px 16px;
    text-align:center;
    transition:transform .2s ease,box-shadow .2s ease;
}
html[data-theme] .flc-stat-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--flc-sh-md);
}
html[data-theme] .flc-stat-icon{
    width:46px;
    height:46px;
    margin:0 auto 10px;
    border-radius:6px;
    background:var(--flc-grad);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    box-shadow:var(--flc-sh-sm);
}
html[data-theme] .flc-stat-num{
    font-size:30px;
    font-weight:700;
    color:var(--flc-ink);
    line-height:1.2;
}
html[data-theme] .flc-stat-label{
    font-size:13px;
    font-weight:500;
    color:var(--flc-muted);
    margin-top:4px;
}

/* ---- 9A-8. Inner pages refresh (CSS-only) ---- */
html[data-theme] .contact-help-section,
html[data-theme] .about-points{
    padding:56px 0 !important;
}
html[data-theme] .section-head h2,
html[data-theme] .section-heading h2,
html[data-theme] .about-title,
html[data-theme] .help-card h3,
html[data-theme] .info-card h3{
    font-size:24px !important;
    font-weight:700 !important;
    color:var(--flc-ink) !important;
}
html[data-theme] .section-head h2::after,
html[data-theme] .section-heading h2::after{
    content:'';
    display:block;
    width:44px;
    height:3px;
    border-radius:6px;
    background:var(--flc-grad);
    margin-top:8px;
}
html[data-theme] .feature-box,
html[data-theme] .help-card,
html[data-theme] .info-card,
html[data-theme] .about-points .card{
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    box-shadow:var(--flc-sh-sm) !important;
    transition:transform .2s ease,box-shadow .2s ease !important;
}
html[data-theme] .feature-box:hover,
html[data-theme] .help-card:hover,
html[data-theme] .info-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:var(--flc-sh-md) !important;
}
html[data-theme] .feature-icon{
    border-radius:6px !important;
}
html[data-theme] .about-image-wrap img,
html[data-theme] .map-wrap iframe{
    border-radius:6px !important;
}

/* ---- 9A-9. Search rows: one row, 38px, premium selects ---- */
html[data-theme] .hero-search select.flc-ffb-select,
html[data-theme] .hero-search .flc-search-select{
    height:44px;
    border-radius:6px !important;
    font-size:13.5px;
    font-weight:500;
    color:var(--flc-ink);
    background-color:#fff;
    border:1px solid var(--flc-border);
    padding:0 34px 0 14px;
    -webkit-appearance:none;
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:12px;
    max-width:220px;
    flex:0 1 auto;
}
html[data-theme] .flc-ffb-select{
    -webkit-appearance:none !important;
    appearance:none !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat:no-repeat !important;
    background-position:right 12px center !important;
    background-size:12px !important;
    padding-right:34px !important;
    border-radius:6px !important;
    height:38px;
    font-size:13px;
    border:1px solid var(--flc-border);
    background-color:var(--flc-card);
    color:var(--flc-ink);
}
html[data-theme] .flc-ffb-select:focus{
    border-color:var(--flc-primary) !important;
    box-shadow:0 0 0 3px color-mix(in srgb,var(--flc-primary) 18%,transparent) !important;
    outline:none !important;
}

/* ---- 9A-10. Auth field icons (customer login/register) ---- */
html[data-theme] .auth-field{
    position:relative;
}
html[data-theme] .auth-field > i{
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    color:var(--flc-primary);
    font-size:14px;
    pointer-events:none;
    z-index:2;
}
html[data-theme] .auth-field .auth-input{
    padding-left:38px !important;
}
html[data-theme] .auth-card{
    border-radius:6px !important;
}
html[data-theme] .auth-brand i{
    border-radius:6px !important;
}

/* ---- 9A-11. Radius audit: remaining frontend components to 6px ---- */
html[data-theme] .ads-box,
html[data-theme] .blog-pro,
html[data-theme] .slider-card,
html[data-theme] .store-card-pro,
html[data-theme] .coupon-pro-card,
html[data-theme] .premium-coupon-card,
html[data-theme] .flc-trust-card,
html[data-theme] .hero-btns a,
html[data-theme] .auth-card,
html[data-theme] .premium-modal-wrap,
html[data-theme] .nav-pills .nav-link,
html[data-theme] .list-group-item,
html[data-theme] .accordion-item,
html[data-theme] .toast,
html[data-theme] .progress,
html[data-theme] .tab-content{
    border-radius:6px !important;
}
html[data-theme] .modal-top-image{
    border-radius:6px 6px 0 0 !important;
}

/* ================================================================
   PHASE 9B (2026-10-16) — account activity list + status chips
   ================================================================ */
html[data-theme] .flc-act-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
html[data-theme] .flc-act-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:var(--flc-grad-soft);
    border:1px solid var(--flc-border);
    border-radius:6px;
    padding:10px 14px;
    transition:transform .18s ease, box-shadow .18s ease;
}
html[data-theme] .flc-act-row:hover{
    transform:translateY(-2px);
    box-shadow:var(--flc-sh-sm);
}
html[data-theme] .flc-act-main{
    min-width:0;
    color:var(--flc-ink);
}
html[data-theme] .flc-act-side{
    flex-shrink:0;
}
html[data-theme] .flc-chip-red{
    color:#dc2626;
    background:rgba(220,38,38,.08);
    border-color:rgba(220,38,38,.25);
}
html[data-theme] .flc-chip-green{
    color:#16a34a;
    background:rgba(22,163,74,.08);
    border-color:rgba(22,163,74,.25);
}

/* ============================================================
   PHASE 10 (2026-10-16) — stats band unmissable, blog image bg,
   wishlist chip reposition (see edits inline above)
   ============================================================ */

/* ---- 10A. Stats = full-width themed band, JS-independent ---- */
html[data-theme] .flc-stats-section{
    background:var(--flc-grad) !important;
    padding:34px 0 !important;
    margin:56px 0 !important;
    border-radius:0 !important;
}
html[data-theme] .flc-stat-card{
    background:rgba(255,255,255,.12) !important;
    border:1px solid rgba(255,255,255,.25) !important;
    box-shadow:none !important;
}
html[data-theme] .flc-stat-card:hover{
    transform:translateY(-3px) !important;
    background:rgba(255,255,255,.18) !important;
}
html[data-theme] .flc-stat-icon{
    width:52px !important;
    height:52px !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.18) !important;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px !important;
}
html[data-theme] .flc-stat-icon i{
    color:#fff !important;
    font-size:20px !important;
    background:none !important;
    -webkit-text-fill-color:#fff !important;
}
html[data-theme] .flc-stat-num{
    color:#fff !important;
    font-size:26px !important;
    font-weight:700 !important;
    font-family:'Poppins',sans-serif !important;
}
html[data-theme] .flc-stat-label{
    color:rgba(255,255,255,.92) !important;
}

/* ---- 10B. Blog images: intentional themed tint behind ---------- */
html[data-theme] .featured-img,
html[data-theme] .blog-row-img,
html[data-theme] .blog-grid-img{
    background:var(--flc-grad-soft) !important;
    object-fit:cover !important;
    width:100% !important;
}

/* ================= PHASE 12 — Soft Modern cards (owner-approved style B) ================= */

/* --- 12A. Coupon card shell: soft shadow + gentle lift --- */
html[data-theme] .coupon-pro-card,
html[data-theme] .premium-coupon-card{
    box-shadow:0 6px 18px rgba(37,34,78,.10) !important;
}
html[data-theme] .coupon-pro-card:hover,
html[data-theme] .premium-coupon-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 12px 28px rgba(37,34,78,.16) !important;
}

/* --- 12B. Image zone: fixed height, soft tint, cover --- */
html[data-theme] .coupon-img-wrap{
    height:155px !important;
    background:var(--flc-grad-soft) !important;
}
html[data-theme] .coupon-img-wrap > img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}
@media(max-width:575px){
    html[data-theme] .coupon-img-wrap{height:140px !important;}
}

/* --- 12C. Verified: single clean green pill --- */
html[data-theme] .verified-badge-new{
    background:#16a34a !important;
    border-radius:6px !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.4px !important;
    padding:4px 10px !important;
    top:10px !important;
    left:10px !important;
    color:#fff !important;
    box-shadow:0 2px 8px rgba(22,163,74,.35) !important;
}
html[data-theme] .verified-badge-new .v-icon,
html[data-theme] .verified-badge-new .v-text{
    color:#fff !important;
}

/* --- 12D. Discount pill, bottom-left on the image --- */
html[data-theme] .flc-card-discount{
    position:absolute !important;
    left:10px !important;
    bottom:10px !important;
    z-index:8 !important;
    background:#fff !important;
    color:var(--flc-primary) !important;
    -webkit-text-fill-color:var(--flc-primary) !important;
    font-size:11px !important;
    font-weight:800 !important;
    line-height:1.4 !important;
    padding:4px 10px !important;
    border-radius:6px !important;
    box-shadow:0 2px 8px rgba(37,34,78,.18) !important;
    margin:0 !important;
}

/* --- 12E. Card body: padding, 2-line title clamp --- */
html[data-theme] .coupon-content{
    padding:12px 13px 14px !important;
}
html[data-theme] .coupon-pro-card h5,
html[data-theme] .premium-coupon-card h5{
    font-size:15px !important;
    font-weight:600 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    min-height:2.5em !important;
}
html[data-theme] .coupon-desc{
    font-size:12px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
}

/* --- 12F. Reveal button: full-width face (flip mechanic untouched) --- */
html[data-theme] .premium-reveal-btn,
html[data-theme] .reveal-btn{
    display:block !important;
    width:100% !important;
    margin-top:10px !important;
}

/* --- 12G. Category cards --- */
html[data-theme] .slider-card{
    text-align:left !important;
    padding:14px !important;
}
html[data-theme] .card-icon-big{
    width:40px !important;
    height:40px !important;
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    margin:0 0 8px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 4px 12px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .card-icon-big img{
    max-height:24px !important;
    max-width:24px !important;
    object-fit:contain !important;
}
html[data-theme] .card-icon-big i{
    color:#fff !important;
    font-size:18px !important;
}
html[data-theme] .slider-card small{
    color:var(--flc-muted) !important;
    font-weight:500 !important;
    font-size:11.5px !important;
}
html[data-theme] .category-store-left{
    width:40px !important;
    height:40px !important;
    flex:none !important;
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 4px 12px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .category-store-logo{
    max-width:24px !important;
    max-height:24px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    background:none !important;
    border-radius:0 !important;
}
html[data-theme] .category-store-right h5{
    font-size:15px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
}
html[data-theme] .category-store-card .coupon-count{
    color:var(--flc-muted) !important;
    font-size:11.5px !important;
    font-weight:500 !important;
}
html[data-theme] .category-card .icon-box{
    width:40px !important;
    height:40px !important;
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 0 8px !important;
    box-shadow:0 4px 12px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .category-card .icon-box i{
    color:#fff !important;
    font-size:18px !important;
}
html[data-theme] .category-card .icon-box img{
    max-width:24px !important;
    max-height:24px !important;
    object-fit:contain !important;
}
html[data-theme] .flc-cat-count{
    color:var(--flc-muted) !important;
    font-size:11.5px !important;
    font-weight:500 !important;
}

/* --- 12H. Store cards: centered B layout --- */
html[data-theme] .store-card-pro{
    text-align:center !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    padding:16px 12px !important;
    box-shadow:0 6px 18px rgba(37,34,78,.10) !important;
}
html[data-theme] .store-card-pro:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 12px 28px rgba(37,34,78,.16) !important;
}
html[data-theme] .store-img-edge{
    width:52px !important;
    height:52px !important;
    border-radius:50% !important;
    background:var(--flc-grad-soft) !important;
    margin:0 auto 10px !important;
    position:relative !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:none !important;
}
html[data-theme] .store-initial{
    font-size:20px !important;
    font-weight:800 !important;
    color:var(--flc-primary) !important;
}
html[data-theme] .store-img-edge img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    padding:9px !important;
    background:var(--flc-grad-soft) !important;
}
html[data-theme] .store-card-pro .store-bottom{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
}
html[data-theme] .store-bottom h6{
    font-size:15px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
    margin:0 0 3px !important;
}
html[data-theme] .store-bottom small{
    color:var(--flc-muted) !important;
    font-size:11.5px !important;
    font-weight:500 !important;
    display:block !important;
    margin-bottom:2px !important;
}
html[data-theme] .store-btn{
    background:var(--flc-grad) !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:600 !important;
    padding:8px 0 !important;
    border-radius:6px !important;
    margin-top:10px !important;
    width:100% !important;
    text-align:center !important;
    transition:transform .18s ease,box-shadow .18s ease !important;
}
html[data-theme] .store-btn:hover{
    transform:translateY(-1px) !important;
    box-shadow:0 6px 16px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .store-verified-pill{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    font-size:9.5px !important;
    font-weight:700 !important;
    color:#16a34a !important;
    background:rgba(22,163,74,.10) !important;
    border-radius:6px !important;
    padding:3px 9px !important;
    margin-bottom:6px !important;
}
html[data-theme] .store-verified-pill i{
    color:#16a34a !important;
    font-size:10px !important;
}

/* ================================================================
   PHASE 13 — card polish pass (owner screenshot defects)
   ================================================================ */

/* --- 13A. Store logo: true 52px circle in EVERY variant ---
   (kills blade-level height:120/130/180px + min-height:120px ovals) */
html[data-theme] .store-img-edge{
    width:52px !important;
    height:52px !important;
    min-height:0 !important;
    max-height:52px !important;
    aspect-ratio:1/1 !important;
    flex:none !important;
    align-self:center !important;
    border-radius:50% !important;
    overflow:hidden !important;
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:var(--flc-grad-soft) !important;
    margin:0 auto 10px !important;
}
html[data-theme] .store-img-edge img{
    position:static !important;
    width:auto !important;
    height:auto !important;
    max-width:70% !important;
    max-height:70% !important;
    object-fit:contain !important;
    padding:0 !important;
    background:none !important;
    transform:none !important;
}
html[data-theme] .store-initial{
    font-size:20px !important;
    font-weight:800 !important;
    color:var(--flc-primary) !important;
    line-height:1 !important;
}

/* --- 13B. Coupon card body: single meta line (replaces chunky pills) --- */
html[data-theme] .flc-meta-line{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:4px 6px !important;
    font-size:12px !important;
    color:var(--flc-muted) !important;
    margin:3px 0 10px !important;
    line-height:1.5 !important;
}
html[data-theme] .flc-meta-store{
    font-weight:500 !important;
    color:var(--flc-ink) !important;
}
html[data-theme] .flc-meta-sep{
    color:var(--flc-border) !important;
}
html[data-theme] .flc-meta-cat{
    background:var(--flc-grad-soft) !important;
    color:var(--flc-primary) !important;
    font-size:10.5px !important;
    font-weight:600 !important;
    padding:2px 7px !important;
    border-radius:4px !important;
    line-height:1.4 !important;
    display:inline-block !important;
}
html[data-theme] .flc-meta-expiry,
html[data-theme] .flc-meta-timer{
    font-size:11.5px !important;
    color:var(--flc-muted) !important;
}
html[data-theme] .flc-meta-line .fa{
    font-size:10px !important;
    margin-right:3px !important;
}

/* --- 13C. Category cards: 48px gradient chip + white inner icon square --- */
html[data-theme] .card-icon-big{
    width:48px !important;
    height:48px !important;
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    margin:0 auto 10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:none !important;
    box-shadow:0 4px 12px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .card-icon-big img{
    width:30px !important;
    height:30px !important;
    max-width:30px !important;
    max-height:30px !important;
    object-fit:contain !important;
    background:#fff !important;
    border-radius:6px !important;
    padding:3px !important;
}
html[data-theme] .card-icon-big i{
    color:#fff !important;
    font-size:20px !important;
}
html[data-theme] .slider-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:150px !important;
    text-align:center !important;
}
html[data-theme] .category-store-left{
    width:48px !important;
    height:48px !important;
    flex:none !important;
    background:var(--flc-grad) !important;
    border-radius:6px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 4px 12px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .category-store-logo{
    width:30px !important;
    height:30px !important;
    max-width:30px !important;
    max-height:30px !important;
    object-fit:contain !important;
    background:#fff !important;
    border-radius:6px !important;
    padding:3px !important;
}
html[data-theme] .category-card .icon-box{
    width:48px !important;
    height:48px !important;
}
html[data-theme] .category-card .icon-box img{
    width:30px !important;
    height:30px !important;
    max-width:30px !important;
    max-height:30px !important;
    background:#fff !important;
    border-radius:6px !important;
    padding:3px !important;
}
html[data-theme] .category-card .icon-box i{
    font-size:20px !important;
}

/* ================================================================
   PHASE 15 (2026-10-21) — owner's big list: navbar account icon,
   coupon card fixed height + flush image + small Verified,
   home categories grid + circle logos, store cards, blogs hero
   search gap, categories circles, stores page cards, eye toggles,
   global transitions (F). Palette/radius unchanged (Indigo, 6px).
   ================================================================ */

/* ---- 15-C. Navbar: premium deep gradient + single account icon ---- */
html[data-theme] .custom-navbar{
    background:linear-gradient(120deg,var(--flc-nav-bg),color-mix(in srgb,var(--flc-nav-bg) 55%,var(--flc-primary))) !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 10px 30px rgba(10,8,40,.22) !important;
}
html[data-theme] .flc-account-btn{
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(255,255,255,.35) !important;
    color:#fff !important;
    font-size:17px !important;
    text-decoration:none !important;
    margin-left:10px !important;
    transition:background .25s ease,transform .25s ease,border-color .25s ease !important;
}
html[data-theme] .flc-account-btn:hover,
html[data-theme] .flc-account-btn.active{
    background:rgba(255,255,255,.16) !important;
    border-color:rgba(255,255,255,.65) !important;
    transform:translateY(-1px) !important;
}

/* ---- 15-B. Password eye toggle (frontend) ---- */
html[data-theme] .flc-eye-wrap{
    position:relative !important;
}
html[data-theme] .flc-eye-wrap .form-control{
    padding-right:44px !important;
}
html[data-theme] .flc-eye-btn{
    position:absolute !important;
    right:6px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:32px !important;
    height:32px !important;
    border:none !important;
    background:transparent !important;
    color:var(--flc-muted) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    cursor:pointer !important;
    border-radius:6px !important;
    z-index:5 !important;
    transition:color .2s ease,background .2s ease !important;
}
html[data-theme] .flc-eye-btn:hover{
    color:var(--flc-primary) !important;
    background:var(--flc-grad-soft) !important;
}
/* auth pages: the field icon sits left, the eye takes the right side */
html[data-theme] .auth-field.flc-eye-wrap .flc-eye-btn{
    right:10px !important;
}

/* ---- 15-D. Coupon cards: fixed height, flush image, small Verified ---- */
html[data-theme] .coupon-pro-card{
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    border-radius:6px !important;
}
html[data-theme] .coupon-img-wrap{
    height:155px !important;
    flex:none !important;
}
html[data-theme] .coupon-img-wrap img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
}
html[data-theme] .verified-badge-new{
    font-size:10px !important;
    padding:3px 8px !important;
    gap:4px !important;
    border-radius:6px !important;
    line-height:1.2 !important;
}
html[data-theme] .verified-badge-new .v-icon{
    width:13px !important;
    height:13px !important;
    font-size:8px !important;
    background:rgba(255,255,255,.25) !important;
    padding:0 !important;
    margin:0 !important;
}
html[data-theme] .verified-badge-new .v-text{
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    font-size:10px !important;
    letter-spacing:.4px !important;
}
html[data-theme] .coupon-content{
    flex:1 !important;
    display:flex !important;
    flex-direction:column !important;
    padding:13px 14px 14px !important;
}
html[data-theme] .coupon-content h5{
    font-size:15.5px !important;
    line-height:1.35 !important;
    margin-bottom:6px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
}
html[data-theme] .coupon-title-link{
    color:var(--flc-ink) !important;
    text-decoration:none !important;
}
html[data-theme] .coupon-title-link:hover{
    color:var(--flc-primary) !important;
}
html[data-theme] .coupon-content .coupon-desc{
    font-size:13px !important;
    line-height:1.45 !important;
    min-height:0 !important;
    margin-bottom:10px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:1 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
}
html[data-theme] .coupon-content .premium-reveal-btn{
    margin-top:auto !important;
    border-radius:6px !important;
    height:46px !important;
}
html[data-theme] .flc-meta-line a.flc-meta-store,
html[data-theme] .flc-meta-line a.flc-meta-cat{
    color:var(--flc-primary) !important;
    font-weight:600 !important;
    text-decoration:none !important;
}
html[data-theme] .flc-meta-line a.flc-meta-store:hover,
html[data-theme] .flc-meta-line a.flc-meta-cat:hover{
    text-decoration:underline !important;
}

/* ---- 15-D. View All buttons: one clean filled hover everywhere ---- */
html[data-theme] .view-all-btn{
    position:relative !important;
    display:inline-block !important;
    overflow:hidden !important;
    transition:background .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease !important;
}
html[data-theme] .view-all-btn::before{
    content:none !important;
    display:none !important;
}
html[data-theme] .view-all-btn:hover{
    background:var(--flc-grad) !important;
    color:#fff !important;
    border-color:transparent !important;
    box-shadow:0 10px 22px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}

/* ---- 15-D. Home Top Categories: grid REMOVED in Phase 17 (auto-loop slider, styles at EOF) ---- */

/* ---- 15-D. Home Top Stores marquee: smaller cards, full-bleed logo band ---- */
html[data-theme] #storeWrap .store-card-pro{
    width:190px !important;
    min-width:190px !important;
    max-width:190px !important;
    display:flex !important;
    flex-direction:column !important;
    border-radius:6px !important;
}
html[data-theme] #storeWrap .store-img-edge{
    height:92px !important;
    min-height:92px !important;
    margin:0 !important;
    border-radius:0 !important;
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    overflow:hidden !important;
    background:var(--flc-grad-soft) !important;
}
html[data-theme] #storeWrap .store-img-edge img{
    max-width:78% !important;
    max-height:64px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    position:relative !important;
    z-index:1 !important;
}
html[data-theme] #storeWrap .store-bottom{
    flex:1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:12px 10px 14px !important;
    background:var(--flc-card) !important;
}
html[data-theme] #storeWrap .store-bottom h6{
    color:var(--flc-ink) !important;
    font-size:14px !important;
    font-weight:600 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    max-width:100% !important;
    margin-bottom:2px !important;
}
html[data-theme] #storeWrap .store-bottom small{
    color:var(--flc-muted) !important;
    font-size:12px !important;
    display:block !important;
    margin-bottom:10px !important;
}
html[data-theme] #storeWrap .store-btn{
    margin-top:auto !important;
    width:100% !important;
    border-radius:6px !important;
}

/* ---- 15-E. Stores page: smaller cards, readable contrast ---- */
html[data-theme] #all-stores .store-card-pro{
    border-radius:6px !important;
}
html[data-theme] #all-stores .store-img-edge{
    min-height:86px !important;
    height:86px !important;
}
html[data-theme] #all-stores .store-bottom h6{
    color:var(--flc-ink) !important;
    font-size:13.5px !important;
}
html[data-theme] #all-stores .store-bottom small{
    color:var(--flc-muted) !important;
    font-size:11.5px !important;
}
html[data-theme] #all-stores .store-card-pro:hover .store-bottom h6{
    color:var(--flc-primary) !important;
}
html[data-theme] #all-stores .store-card-pro:hover .store-bottom small{
    color:var(--flc-muted) !important;
}

/* ---- 15-E. Categories page: circle logos, fitted images ---- */
html[data-theme] .category-card .icon-box,
html[data-theme] .category-card .category-icon,
html[data-theme] .category-card .cat-icon{
    width:64px !important;
    height:64px !important;
    border-radius:50% !important;
    background:var(--flc-grad-soft) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
html[data-theme] .category-card .icon-box img,
html[data-theme] .category-card .category-icon img,
html[data-theme] .category-card .cat-icon img{
    width:40px !important;
    height:40px !important;
    object-fit:contain !important;
    background:transparent !important;
}
html[data-theme] .category-store-left{
    width:56px !important;
    height:56px !important;
    min-width:56px !important;
    border-radius:50% !important;
    background:var(--flc-grad-soft) !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
}
html[data-theme] .category-store-left img{
    width:36px !important;
    height:36px !important;
    max-width:36px !important;
    max-height:36px !important;
    object-fit:contain !important;
}

/* ---- 15-E. Blogs page: hero search gap + smaller promo box ---- */
html[data-theme] form.blog-hero-search{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    align-items:stretch !important;
    background:transparent !important;
    padding:0 !important;
    box-shadow:none !important;
}
html[data-theme] form.blog-hero-search input[type="text"],
html[data-theme] form.blog-hero-search input[type="search"],
html[data-theme] form.blog-hero-search input:not([type]){
    flex:1 1 240px !important;
    background:#fff !important;
    border-radius:6px !important;
    min-height:46px !important;
}
html[data-theme] form.blog-hero-search select{
    flex:0 1 200px !important;
    min-width:180px !important;
    background:#fff !important;
    border-radius:6px !important;
    min-height:46px !important;
}
html[data-theme] form.blog-hero-search button{
    border-radius:6px !important;
    min-height:46px !important;
}

/* ---- 15-F. Smooth transitions + hover lift (transform/opacity only) ---- */
html[data-theme] .coupon-pro-card,
html[data-theme] .store-card-pro,
html[data-theme] .blog-pro,
html[data-theme] .blog-grid-card,
html[data-theme] .flc-stat-card,
html[data-theme] .category-card{
    transition:transform .25s ease,box-shadow .25s ease !important;
}
html[data-theme] .coupon-pro-card:hover,
html[data-theme] .store-card-pro:hover,
html[data-theme] .blog-pro:hover,
html[data-theme] .blog-grid-card:hover{
    box-shadow:0 18px 36px rgba(37,34,78,.15) !important;
}
html[data-theme] a,
html[data-theme] button{
    transition:color .25s ease,background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease !important;
}

/* ================================================================
   PHASE 16 — inner-pages premium uplift + stores-card rebuild
   ================================================================ */

/* --- 16A. Directory group header row (stores / categories letters) --- */
html[data-theme] .flc-group-head{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    margin:4px 0 14px !important;
}
html[data-theme] .flc-group-letter{
    width:34px !important;
    height:34px !important;
    flex:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:var(--flc-grad) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-size:16px !important;
    font-weight:800 !important;
    line-height:1 !important;
    border-radius:6px !important;
    box-shadow:0 4px 12px color-mix(in srgb,var(--flc-primary) 35%,transparent) !important;
}
html[data-theme] .flc-group-count{
    font-size:12.5px !important;
    font-weight:500 !important;
    color:var(--flc-muted) !important;
    white-space:nowrap !important;
}
html[data-theme] .flc-group-line{
    flex:1 !important;
    height:1px !important;
    background:color-mix(in srgb,var(--flc-primary) 20%,transparent) !important;
}
html[data-theme] .flc-group-head .view-all-link{
    flex:none !important;
    margin:0 !important;
}

/* --- 16B. Soft directory band + section eyebrow chip --- */
html[data-theme] .flc-soft-band,
html[data-theme] #all-stores,
html[data-theme] #all-categories{
    background:color-mix(in srgb,var(--flc-grad-soft) 55%,#ffffff) !important;
    border:1px solid color-mix(in srgb,var(--flc-primary) 10%,transparent) !important;
    border-radius:6px !important;
    padding:20px 18px !important;
}
html[data-theme] .flc-eyebrow{
    display:inline-flex !important;
    align-items:center !important;
    background:var(--flc-grad) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:.8px !important;
    text-transform:uppercase !important;
    padding:5px 12px !important;
    border-radius:6px !important;
    margin-bottom:10px !important;
}

/* --- 16C. Stores page cards: full-bleed logo band (matches home Top Stores) ---
   Kills the 52px-circle / 52x86px oval cascade from 12H/13A/15-E on this page:
   the band is full width, the initial sits centered BEHIND the logo image
   (the loaded image paints the band colour over its own box), and the
   onerror fallback hides a broken image so only the initial shows. */
html[data-theme] #all-stores .store-card-pro{
    width:100% !important;
    max-width:200px !important;
    height:262px !important;
    padding:0 !important;
    margin:0 auto !important;
    border-radius:6px !important;
    overflow:hidden !important;
    background:var(--flc-card) !important;
    align-items:stretch !important;
    box-shadow:0 6px 18px rgba(37,34,78,.10) !important;
}
html[data-theme] #all-stores .store-card-pro:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 30px rgba(37,34,78,.16),0 0 0 1px color-mix(in srgb,var(--flc-primary) 30%,transparent) !important;
}
html[data-theme] #all-stores .store-img-edge{
    width:100% !important;
    height:92px !important;
    min-height:92px !important;
    max-height:92px !important;
    aspect-ratio:auto !important;
    border-radius:0 !important;
    margin:0 !important;
    align-self:auto !important;
    background:var(--flc-grad-soft) !important;
    position:relative !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:none !important;
}
html[data-theme] #all-stores .store-initial{
    position:absolute !important;
    inset:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    z-index:0 !important;
    font-size:26px !important;
    font-weight:800 !important;
    color:var(--flc-primary) !important;
    line-height:1 !important;
}
html[data-theme] #all-stores .store-img-edge img{
    position:relative !important;
    z-index:1 !important;
    width:auto !important;
    height:auto !important;
    max-width:70% !important;
    max-height:62px !important;
    object-fit:contain !important;
    padding:0 !important;
    background:var(--flc-grad-soft) !important;
    transform:none !important;
}
html[data-theme] #all-stores .store-bottom{
    flex:1 !important;
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:10px 10px 12px !important;
    background:var(--flc-card) !important;
}
html[data-theme] #all-stores .store-bottom h6{
    color:var(--flc-ink) !important;
    font-size:14px !important;
    font-weight:600 !important;
    height:auto !important;
    max-width:100% !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    margin:0 0 2px !important;
}
html[data-theme] #all-stores .store-bottom small{
    background:var(--flc-grad) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-size:11.5px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    height:auto !important;
    min-height:0 !important;
    padding:5px 12px !important;
    border-radius:6px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:6px 0 10px !important;
    transform:none !important;
}
html[data-theme] #all-stores .store-btn{
    margin-top:auto !important;
    width:100% !important;
    border-radius:6px !important;
}

/* --- 16D. Deals pill unified on home Top Stores (same gradient pill) --- */
html[data-theme] #storeWrap .store-bottom small{
    background:var(--flc-grad) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-size:11.5px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    padding:5px 12px !important;
    border-radius:6px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:center !important;
    margin:0 0 10px !important;
}

/* --- 16E. Premium card shadow / hover for category + blog cards --- */
html[data-theme] .category-store-card{
    box-shadow:0 6px 18px rgba(37,34,78,.10) !important;
}
html[data-theme] .category-store-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 30px rgba(37,34,78,.16),0 0 0 1px color-mix(in srgb,var(--flc-primary) 30%,transparent) !important;
}
html[data-theme] .blog-grid-card{
    box-shadow:0 6px 18px rgba(37,34,78,.10) !important;
}
html[data-theme] .blog-grid-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 30px rgba(37,34,78,.16),0 0 0 1px color-mix(in srgb,var(--flc-primary) 30%,transparent) !important;
}

/* --- 16F. Contact hero mini-cards: icon chip + readable copy --- */
html[data-theme] .contact-hero .mini-card{
    display:flex !important;
    gap:12px !important;
    align-items:flex-start !important;
    text-align:left !important;
    border-radius:6px !important;
    padding:14px !important;
}
html[data-theme] .contact-hero .mini-icon{
    width:36px !important;
    height:36px !important;
    flex:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:var(--flc-grad) !important;
    color:#fff !important;
    font-size:15px !important;
    border-radius:6px !important;
}
html[data-theme] .contact-hero .mini-icon i{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
html[data-theme] .contact-hero .mini-card h6{
    margin:0 0 3px !important;
}
html[data-theme] .contact-hero .mini-card p{
    margin:0 !important;
    font-size:12.5px !important;
    line-height:1.55 !important;
}

/* ================================================================
   PHASE 17 — Home auto-loop sliders (Top Categories + Top Stores)
   + radius sweep: every frontend component radius is now 6px
   (only true circles keep 50%: logo circles, heart chip, avatar,
   social circles, floating buttons, theme swatches).
   ================================================================ */

/* --- 17A. Loop slider mechanics --- */
html[data-theme] .flc-loop-wrap{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-behavior:auto !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
    cursor:grab;
}
html[data-theme] .flc-loop-wrap::-webkit-scrollbar{
    display:none !important;
}
html[data-theme] .flc-loop-track{
    display:flex !important;
    gap:14px !important;
    width:max-content !important;
    animation:none !important;
    padding:4px 2px 12px !important;
}
html[data-theme] .flc-loop-track > a{
    flex:0 0 auto !important;
}

/* --- 17B. Top Categories slider cards (circle logo 56px) --- */
html[data-theme] .flc-loop-track .flc-cat-card{
    width:170px !important;
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    padding:16px 8px 13px !important;
    text-align:center !important;
    text-decoration:none !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    box-shadow:0 6px 18px rgba(37,34,78,.08) !important;
    transition:transform .25s ease,box-shadow .25s ease !important;
}
html[data-theme] .flc-loop-track .flc-cat-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 28px rgba(37,34,78,.14) !important;
}
html[data-theme] .flc-loop-track .flc-cat-circle{
    width:56px !important;
    height:56px !important;
    border-radius:50% !important;
    background:var(--flc-grad-soft) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin-bottom:9px !important;
    overflow:hidden !important;
    flex:none !important;
}
html[data-theme] .flc-loop-track .flc-cat-circle img{
    width:36px !important;
    height:36px !important;
    object-fit:contain !important;
}
html[data-theme] .flc-loop-track .flc-cat-circle i{
    font-size:20px !important;
    color:var(--flc-primary) !important;
}
html[data-theme] .flc-loop-track .flc-cat-card h6{
    font-size:13.5px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
    margin:0 0 2px !important;
    max-width:100% !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
html[data-theme] .flc-loop-track .flc-cat-card small{
    font-size:11.5px !important;
    color:var(--flc-muted) !important;
}
@media(max-width:1199px){
    html[data-theme] .flc-loop-track .flc-cat-card{width:160px !important;}
}
@media(max-width:991px){
    html[data-theme] .flc-loop-track .flc-cat-card{width:186px !important;}
}
@media(max-width:767px){
    html[data-theme] .flc-loop-track .flc-cat-card{width:150px !important;}
}
@media(max-width:575px){
    html[data-theme] .flc-loop-track .flc-cat-card{width:146px !important;}
}

/* --- 17C. Top Stores slider cards: smaller, pure-white logo band,
        NO initial letters - wordmark fallback only --- */
html[data-theme] #storeWrap .store-card-pro{
    width:176px !important;
    min-width:176px !important;
    max-width:176px !important;
    height:196px !important;
    display:flex !important;
    flex-direction:column !important;
    border-radius:6px !important;
    overflow:hidden !important;
}
html[data-theme] #storeWrap .store-img-edge{
    height:84px !important;
    min-height:84px !important;
    margin:0 !important;
    border-radius:0 !important;
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    overflow:hidden !important;
    background:#ffffff !important;
    flex:none !important;
}
html[data-theme="dark"] #storeWrap .store-img-edge{
    background:var(--flc-card) !important;
}
html[data-theme] #storeWrap .store-img-edge img{
    max-width:88% !important;
    max-height:64px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    position:relative !important;
    z-index:1 !important;
}
html[data-theme] #storeWrap .flc-store-wordmark{
    font-size:15px !important;
    font-weight:700 !important;
    color:var(--flc-primary) !important;
    text-align:center !important;
    line-height:1.25 !important;
    padding:0 10px !important;
}
html[data-theme] #storeWrap .store-bottom{
    flex:1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:10px 10px 12px !important;
    background:var(--flc-card) !important;
}
html[data-theme] #storeWrap .store-bottom h6{
    color:var(--flc-ink) !important;
    font-size:14px !important;
    font-weight:600 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    max-width:100% !important;
    margin:0 0 2px !important;
}
/* Phase 16 made this a gradient pill; Phase 17 spec: plain readable text */
html[data-theme] #storeWrap .store-bottom small{
    background:none !important;
    color:var(--flc-muted) !important;
    -webkit-text-fill-color:var(--flc-muted) !important;
    font-size:12px !important;
    font-weight:500 !important;
    line-height:1.3 !important;
    padding:0 !important;
    border-radius:6px !important;
    display:block !important;
    margin:0 0 8px !important;
}
html[data-theme] #storeWrap .store-btn{
    margin-top:auto !important;
    width:100% !important;
    padding:6px 10px !important;
    font-size:12.5px !important;
    border-radius:6px !important;
}

/* ================================================================
   PHASE 18 - Top Categories slider: #catWrap-scoped rebuild
   (mirrors the working #storeWrap pattern).
   Root cause of the v3.7 break: the category-card sizing lived
   ONLY in the Phase 17B class rules of this file, while stores,
   blogs and coupons also carry sizing in the home blade's own
   inline <style>. When this file did not refresh on the owner's
   machine, categories alone rendered unstyled - no card width,
   images at natural size, vertical stack. This ID-scoped block
   (plus a self-contained fallback in home.blade.php) fixes that.
   ================================================================ */
html[data-theme] #catWrap{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}
html[data-theme] #catWrap::-webkit-scrollbar{
    display:none !important;
}
html[data-theme] #catWrap .flc-loop-track{
    display:flex !important;
    gap:16px !important;
    width:max-content !important;
    animation:none !important;
    padding:4px 2px 12px !important;
}
html[data-theme] #catWrap .flc-cat-card{
    flex:0 0 auto !important;
    width:168px !important;
    height:172px !important;
    background:var(--flc-card) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    box-shadow:0 6px 18px rgba(37,34,78,.08) !important;
    padding:14px 8px 12px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    text-decoration:none !important;
    transition:transform .25s ease,box-shadow .25s ease !important;
}
html[data-theme] #catWrap .flc-cat-card:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 14px 28px rgba(37,34,78,.14) !important;
}
html[data-theme] #catWrap .flc-cat-circle{
    width:64px !important;
    height:64px !important;
    border-radius:50% !important;
    background:var(--flc-grad-soft) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    flex:none !important;
    margin-bottom:9px !important;
}
html[data-theme] #catWrap .flc-cat-circle img{
    width:40px !important;
    height:40px !important;
    object-fit:contain !important;
    display:block !important;
}
html[data-theme] #catWrap .flc-cat-circle i{
    font-size:22px !important;
    color:var(--flc-primary) !important;
}
html[data-theme] #catWrap .flc-cat-card h6{
    font-size:13.5px !important;
    font-weight:600 !important;
    color:var(--flc-ink) !important;
    margin:0 0 2px !important;
    max-width:100% !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
html[data-theme] #catWrap .flc-cat-card small{
    font-size:11.5px !important;
    color:var(--flc-muted) !important;
}
/* HARD CAP: no category image can ever blow up this section again,
   whatever its natural size or any other rule says. */
html[data-theme] #catWrap .flc-cat-card img{
    max-width:64px !important;
    max-height:64px !important;
}
@media(max-width:767px){
    html[data-theme] #catWrap .flc-cat-card{width:152px !important;height:166px !important;}
}
@media(max-width:575px){
    html[data-theme] #catWrap .flc-cat-card{width:144px !important;}
}

/* ================================================================
   PHASE 19 (2026-10-21) — owner's mega-batch: stores loop rtl +
   always-overflow, navbar square account box + hover dropdown +
   FAQ + underline + slim navbar, ONE global hero-search treatment
   (+ working sort filters), mobile 2-per-row grids, coupons page
   normalisation, slimmer buttons, radius tokens = 6px.
   ================================================================ */

/* ---- 19-B4. Slimmer navbar ---- */
html[data-theme] .custom-navbar{
    padding-top:7px;
    padding-bottom:7px;
}

/* ---- 19-B3. Nav link underline: 2px gradient bar scaling in
   from the left (.25s); the active link keeps it permanently ---- */
html[data-theme] .custom-navbar .nav-link::after{
    width:100% !important;
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .25s ease !important;
}
html[data-theme] .custom-navbar .nav-link:hover::after,
html[data-theme] .custom-navbar .nav-link.active::after{
    transform:scaleX(1);
}

/* ---- 19-B1. Square account box + hover dropdown ---- */
html[data-theme] .flc-account-wrap{
    position:relative;
    display:flex;
    align-items:center;
}
html[data-theme] .flc-account-box{
    width:34px;
    height:34px;
    border-radius:6px !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.10);
    color:#fff !important;
    font-size:15px;
    text-decoration:none !important;
    margin-left:14px;
    transition:background .25s ease,border-color .25s ease,transform .25s ease;
}
html[data-theme] .flc-account-box:hover,
html[data-theme] .flc-account-box.active{
    background:rgba(255,255,255,.20);
    border-color:rgba(255,255,255,.65);
    color:#fff !important;
    transform:translateY(-1px);
}
html[data-theme] .flc-account-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    min-width:200px;
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:6px;
    box-shadow:var(--flc-sh-lg);
    padding:8px;
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
    z-index:100001;
}
html[data-theme] .flc-account-menu::before{
    content:'';
    position:absolute;
    top:-12px;
    left:0;
    right:0;
    height:12px;
}
html[data-theme] .flc-account-wrap:hover .flc-account-menu,
html[data-theme] .flc-account-wrap:focus-within .flc-account-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
html[data-theme] .flc-account-menu-wide{
    min-width:268px;
}
html[data-theme] .flc-account-item{
    display:flex;
    align-items:center;
    gap:9px;
    width:100%;
    padding:9px 10px;
    border:none;
    background:none;
    border-radius:6px;
    font-size:14px;
    font-weight:600;
    color:var(--flc-ink);
    text-decoration:none;
    text-align:left;
    cursor:pointer;
}
html[data-theme] .flc-account-item i{
    width:16px;
    text-align:center;
    color:var(--flc-primary);
}
html[data-theme] .flc-account-item:hover{
    background:var(--flc-grad-soft);
    color:var(--flc-primary);
}
html[data-theme] .flc-account-head{
    padding:8px 10px 10px;
    border-bottom:1px solid var(--flc-border);
    margin-bottom:6px;
}
html[data-theme] .flc-account-head strong{
    display:block;
    font-size:14px;
    color:var(--flc-ink);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
html[data-theme] .flc-account-head span{
    display:block;
    font-size:12px;
    color:var(--flc-muted);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
html[data-theme] .flc-account-latest{
    border-top:1px solid var(--flc-border);
    margin-top:6px;
    padding-top:8px;
}
html[data-theme] .flc-account-latest-title{
    display:block;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.6px;
    color:var(--flc-muted);
    padding:0 10px 6px;
}
html[data-theme] .flc-account-coupon{
    display:flex;
    align-items:center;
    gap:10px;
    padding:6px 10px;
    border-radius:6px;
    text-decoration:none;
}
html[data-theme] .flc-account-coupon:hover{
    background:var(--flc-grad-soft);
}
html[data-theme] .flc-account-coupon img{
    width:40px;
    height:40px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
}
html[data-theme] .flc-account-coupon-meta{
    min-width:0;
}
html[data-theme] .flc-account-coupon-meta strong{
    display:block;
    font-size:13px;
    color:var(--flc-ink);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
html[data-theme] .flc-account-coupon-meta small{
    display:block;
    font-size:11.5px;
    color:var(--flc-muted);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
html[data-theme] .flc-account-divider{
    margin:6px 0;
    border:none;
    border-top:1px solid var(--flc-border);
}
html[data-theme] .flc-account-menu form{
    margin:0;
}

/* ---- 19-C. ONE global hero-search treatment ----
   Controls sit directly on the hero gradient (no panel/box
   behind the row), everything 44px tall, gap 10px, search icon
   inside the input, translucent-white fields on the gradient. */
html[data-theme] .hero-search,
html[data-theme] .hero-store-search{
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
    gap:10px !important;
}
html[data-theme] .blog-hero .hero-search{
    overflow:visible !important;
}
html[data-theme] .flc-search-field{
    position:relative;
    display:flex;
    flex:1 1 auto;
    min-width:0;
}
html[data-theme] .flc-search-field > i{
    position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    font-size:14px;
    color:rgba(255,255,255,.75);
    pointer-events:none;
    z-index:2;
}
html[data-theme] .flc-search-field > input{
    width:100%;
    flex:1 1 auto;
    min-width:0;
}
html[data-theme] .flc-filter-field{
    position:relative;
    display:flex;
    flex:0 1 210px;
    min-width:170px;
}
html[data-theme] .flc-filter-field > i{
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    font-size:13px;
    color:rgba(255,255,255,.75);
    pointer-events:none;
    z-index:2;
}
html[data-theme] .flc-filter-field > select{
    width:100%;
}
html[data-theme] .hero-pro .hero-search .flc-search-field{
    flex:0 1 480px;
}
html[data-theme] .inner-hero .hero-search input,
html[data-theme] .inner-hero .hero-store-search input,
html[data-theme] .hero-pro .hero-search input,
html[data-theme] .blog-hero .hero-search input{
    height:44px !important;
    padding:10px 14px 10px 40px !important;
    font-size:14px !important;
    background:rgba(255,255,255,.14) !important;
    border:1px solid rgba(255,255,255,.35) !important;
    border-radius:6px !important;
    color:#fff !important;
    box-shadow:none !important;
    outline:none !important;
}
html[data-theme] .inner-hero .hero-search input::placeholder,
html[data-theme] .inner-hero .hero-store-search input::placeholder,
html[data-theme] .hero-pro .hero-search input::placeholder,
html[data-theme] .blog-hero .hero-search input::placeholder{
    color:rgba(255,255,255,.75) !important;
}
html[data-theme] .inner-hero .hero-search input:focus,
html[data-theme] .inner-hero .hero-store-search input:focus,
html[data-theme] .hero-pro .hero-search input:focus,
html[data-theme] .blog-hero .hero-search input:focus{
    border-color:rgba(255,255,255,.70) !important;
    background:rgba(255,255,255,.18) !important;
    box-shadow:0 0 0 3px rgba(255,255,255,.16) !important;
}
/* single store / category heroes: the submit button overlays the
   input's right edge, so the text needs right clearance */
html[data-theme] .inner-hero .store-info .hero-search input,
html[data-theme] .inner-hero .category-info .hero-search input{
    padding-right:56px !important;
}
html[data-theme] .inner-hero .hero-store-search select,
html[data-theme] .blog-hero .hero-search select{
    height:44px !important;
    padding:10px 30px 10px 36px !important;
    font-size:14px !important;
    font-weight:600;
    background:rgba(255,255,255,.14) !important;
    border:1px solid rgba(255,255,255,.35) !important;
    border-radius:6px !important;
    color:#fff !important;
    box-shadow:none !important;
    outline:none !important;
    width:100%;
}
html[data-theme] .inner-hero .hero-store-search select option,
html[data-theme] .blog-hero .hero-search select option{
    color:#111827;
    background:#fff;
}
html[data-theme] .inner-hero .hero-search button,
html[data-theme] .inner-hero .hero-store-search button,
html[data-theme] .hero-pro .hero-search button,
html[data-theme] .blog-hero .hero-search button{
    height:44px !important;
    padding:10px 18px !important;
    font-size:14px !important;
    border-radius:6px !important;
    white-space:nowrap;
}
/* slimmer blogs hero to match the other heroes */
html[data-theme] .blog-hero{
    padding:44px 0 28px;
}

/* ---- 19-C/E. Filter bars (coupons page + stores page): no panel,
   slim 44px controls, search icon inside the input ---- */
html[data-theme] .flc-front-filter-bar{
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    padding:4px 0 !important;
}
html[data-theme] .flc-ffb-search-icon{
    position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    font-size:14px;
    color:var(--flc-muted);
    pointer-events:none;
    z-index:2;
}
html[data-theme] .flc-ffb-search input{
    height:44px;
    padding-left:38px;
}
html[data-theme] .flc-ffb-select{
    height:44px;
}
html[data-theme] .flc-filter-btn{
    height:44px;
}
html[data-theme] .flc-reset-btn{
    height:44px;
}

/* ---- 19-C. Sort bar on single store / category pages ---- */
html[data-theme] .flc-sort-bar{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:14px 0 8px;
}
html[data-theme] .flc-sort-bar label{
    margin:0;
    font-size:14px;
    font-weight:600;
    color:var(--flc-ink);
}
html[data-theme] .flc-sort-bar label i{
    color:var(--flc-primary);
}
html[data-theme] .flc-sort-select{
    min-width:190px;
    width:auto;
}

/* ---- 19-E. Slimmer primary buttons site-wide ---- */
html[data-theme] .btn-main,
html[data-theme] .hero-btn,
html[data-theme] .cta-btn,
html[data-theme] .send-btn,
html[data-theme] .read-btn,
html[data-theme] .visit-store-btn,
html[data-theme] .flc-filter-btn{
    padding:10px 18px !important;
    font-size:14px !important;
}

/* ---- 19-C. Hero search rows on mobile: input full width,
   select + button on the second row ---- */
@media(max-width:767px){
    html[data-theme] .hero-store-search,
    html[data-theme] .blog-hero .hero-search,
    html[data-theme] .hero-pro .hero-search{
        flex-wrap:wrap !important;
    }
    html[data-theme] .flc-search-field,
    html[data-theme] .hero-pro .hero-search .flc-search-field{
        flex:1 1 100%;
    }
    html[data-theme] .flc-filter-field{
        flex:1 1 auto;
    }
}

/* ---- 19-D. Mobile (<=767px): 2-per-row coupon + blog grids ---- */
@media(max-width:767px){
    /* coupon cards: home Latest Coupons + coupons page */
    html[data-theme] .flc-coupons-grid,
    html[data-theme] #couponResults .row{
        --bs-gutter-x:12px;
        --bs-gutter-y:12px;
    }
    html[data-theme] .flc-coupons-grid > [class*="col-"]{
        flex:0 0 50%;
        max-width:50%;
    }
    html[data-theme] #couponResults .coupon-item{
        flex:0 0 50%;
        max-width:50%;
    }
    html[data-theme] .flc-coupons-grid .coupon-img-wrap,
    html[data-theme] #couponResults .coupon-img-wrap{
        height:110px !important;
    }
    html[data-theme] .flc-coupons-grid .coupon-content,
    html[data-theme] #couponResults .coupon-content{
        padding:10px !important;
    }
    html[data-theme] .flc-coupons-grid .coupon-title-link,
    html[data-theme] #couponResults .coupon-title-link{
        font-size:13px !important;
    }
    html[data-theme] .flc-coupons-grid .coupon-desc,
    html[data-theme] #couponResults .coupon-desc{
        display:none !important;
    }
    html[data-theme] .flc-coupons-grid .reveal-btn,
    html[data-theme] #couponResults .reveal-btn{
        padding:8px 10px !important;
        font-size:12.5px !important;
    }
    /* coupon rows: single store / single category pages */
    html[data-theme] .right-content{
        display:flex;
        flex-wrap:wrap;
        gap:12px;
    }
    html[data-theme] .right-content > *{
        flex:0 0 100%;
        max-width:100%;
    }
    html[data-theme] .right-content > .coupon-row-item{
        flex:0 0 calc(50% - 6px);
        max-width:calc(50% - 6px);
    }
    html[data-theme] .right-content .modern-coupon-row{
        flex-direction:column;
        height:100%;
        margin-bottom:0;
    }
    html[data-theme] .right-content .coupon-logo-side{
        width:100%;
        min-width:100%;
        height:110px;
    }
    html[data-theme] .right-content .coupon-logo-side img{
        height:100%;
        padding:10px;
    }
    html[data-theme] .right-content .coupon-row-title{
        font-size:13px;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    html[data-theme] .right-content .coupon-row-desc{
        display:none;
    }
    html[data-theme] .right-content .coupon-btn-side{
        margin-left:0;
        width:100%;
    }
    html[data-theme] .right-content .coupon-btn-side .premium-reveal-btn{
        width:100%;
        padding:8px 10px;
        font-size:12.5px;
    }
    /* blog cards: home Latest Blogs + blogs page */
    html[data-theme] .flc-blogs-grid{
        --bs-gutter-x:12px;
        --bs-gutter-y:12px;
    }
    html[data-theme] .flc-blogs-grid > [class*="col-"]{
        flex:0 0 50%;
        max-width:50%;
    }
    html[data-theme] .flc-blogs-grid .blog-pro > img{
        height:100px !important;
        object-fit:cover;
        width:100%;
    }
    html[data-theme] .flc-blogs-grid .blog-title{
        font-size:13px !important;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    html[data-theme] .flc-blogs-grid .blog-desc{
        display:none !important;
    }
    html[data-theme] .flc-blogs-grid .read-btn{
        padding:7px 10px !important;
        font-size:12px !important;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-img{
        height:100px !important;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-content{
        padding:10px !important;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-content h3{
        font-size:13px !important;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-content p{
        display:none !important;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-content .btn-main{
        padding:7px 12px !important;
        font-size:12px !important;
    }
}

/* ================================================================
   PHASE 20 — mobile fixes from the owner's iPhone screenshots:
   contact hero clearance + mini-card copy colour, home blog-card
   height, mobile-menu account row. Desktop rendering unchanged.
   ================================================================ */

/* --- 20-A. Contact hero mini-cards: the copy was white-on-white.
   7B forces every .contact-hero-content p to white (correct on the
   gradient), but the mini-cards are light boxes INSIDE that content,
   so their paragraph inherited white and vanished, leaving tall
   empty-looking boxes. Give the cards their own themed surface +
   readable ink/muted colours (higher specificity than 7B, so this
   wins in every theme, desktop and mobile). --- */
html[data-theme] .contact-hero .mini-card{
    background:var(--flc-card) !important;
}
html[data-theme] .contact-hero .mini-card h6{
    color:var(--flc-ink) !important;
}
html[data-theme] .contact-hero .mini-card p{
    color:var(--flc-muted) !important;
}

/* --- 20-D. Mobile menu account row. Hidden on desktop (the navbar
   keeps the Phase 19 box + hover dropdown); in the collapsed menu
   (<=991px, navbar-expand-lg breakpoint) the lone desktop box is
   hidden and this labelled row takes its place at the menu bottom. --- */
html[data-theme] .flc-mobile-account-row{
    display:none;
}
@media(max-width:991px){
    html[data-theme] .flc-account-wrap{
        display:none !important;
    }
    html[data-theme] .flc-mobile-account-row{
        display:flex !important;
        align-items:center;
        gap:12px;
        padding:10px 0;
        margin-top:6px;
        border-top:1px solid rgba(255,255,255,.15);
    }
    html[data-theme] .flc-mobile-account-row .flc-mrow-box{
        margin-left:0;
        flex:none;
    }
    html[data-theme] .flc-mobile-account-row a{
        color:#fff !important;
        font-size:14px;
        font-weight:600;
        text-decoration:none !important;
        padding:6px 2px;
    }
    html[data-theme] .flc-mrow-logout{
        margin:0;
    }
    html[data-theme] .flc-mrow-logout button{
        background:none;
        border:none;
        padding:6px 2px;
        color:#fff !important;
        font-size:14px;
        font-weight:600;
        font-family:inherit;
        cursor:pointer;
    }
}

@media(max-width:767px){
    /* --- 20-A. Contact hero top clearance: re-assert the shared
       hero clearance (same calc the blogs hero renders with) for
       this hero specifically. Phase 19 slimmed the contact blade's
       own hero padding to 38px/50px; the blogs blade carries no
       private hero padding, so wherever the blade block governs,
       contact tucked under the fixed navbar while blogs did not. --- */
    html[data-theme] .contact-hero{
        padding-top:calc(var(--flc-hero-y) + 22px) !important;
    }
    /* --- 20-B. Mini-cards fit their content: no equal-height
       stretch, compact 14px padding, smaller heading --- */
    html[data-theme] .contact-hero .hero-mini-cards{
        align-items:start !important;
    }
    html[data-theme] .contact-hero .mini-card{
        height:auto !important;
        padding:14px !important;
    }
    html[data-theme] .contact-hero .mini-card h6{
        font-size:13px !important;
    }
    html[data-theme] .contact-hero .mini-card p{
        font-size:12px !important;
        line-height:1.55 !important;
    }
    /* --- 20-C. Home Latest Blogs: drop the desktop fixed height
       (blade .blog-pro min-height:340px, Phase 15) on mobile so the
       card is only as tall as its content and Read More flows right
       after the title instead of pinning to the bottom of a hollow
       card. The 19-D 2-per-row grid, 100px image and 13px clamp-2
       title are kept. Scoped to .blog-pro = home cards only; the
       blogs page (.blog-grid-card) is untouched. --- */
    html[data-theme] .flc-blogs-grid .blog-pro{
        min-height:0 !important;
        height:auto !important;
    }
    html[data-theme] .flc-blogs-grid .blog-pro .read-btn{
        margin-top:10px !important;
    }
}

/* ================================================================
   PHASE 21 — mobile blog cards: ONE unified proportion spec for
   BOTH blog card types (home .blog-pro + blogs page .blog-grid-card)
   at ≤767px. Diagnosis (owner's device, v3.10): home cards no
   longer filled their row cell (Phase 20 height:auto) so siblings
   ended at ragged heights and titles still carried the blade's
   nowrap; blogs-page cards still had the blade's 340px min-height
   (never reset) with ~230px of content = hollow band in every
   card. Desktop untouched. Featured card is NOT in .flc-blogs-grid
   and is untouched.
   ================================================================ */
@media (max-width:767px){
    /* grid: 2 columns, 12px gaps */
    html[data-theme] .flc-blogs-grid{
        --bs-gutter-x:12px;
        --bs-gutter-y:12px;
    }
    html[data-theme] .flc-blogs-grid > [class*="col-"]{
        flex:0 0 50%;
        max-width:50%;
    }
    /* card shell: fill the row cell, siblings equal height, no
       leftover fixed/min heights from any earlier phase */
    html[data-theme] .flc-blogs-grid .blog-pro,
    html[data-theme] .flc-blogs-grid .blog-grid-card{
        display:flex !important;
        flex-direction:column !important;
        height:100% !important;
        min-height:0 !important;
        border-radius:6px !important;
        overflow:hidden !important;
        background:var(--flc-card) !important;
        box-shadow:0 6px 18px rgba(37,34,78,.10) !important;
    }
    /* image zone: fixed 96px, COVER — fills the zone edge to edge,
       no contain white margins (beats 9A-4's 170px .blog-pro img,
       19-D's 100px rules, and the blades' contain fallbacks) */
    html[data-theme] .flc-blogs-grid .blog-pro > img,
    html[data-theme] .flc-blogs-grid .blog-grid-img{
        height:96px !important;
        max-height:96px !important;
        width:100% !important;
        object-fit:cover !important;
        display:block !important;
        flex:none !important;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-card > a{
        display:block;
        flex:none;
    }
    /* body: 10px padding, tight stack, grows to fill the card */
    html[data-theme] .flc-blogs-grid .blog-pro > div{
        padding:10px !important;
        display:flex;
        flex-direction:column;
        flex:1 1 auto;
        gap:5px;
    }
    html[data-theme] .flc-blogs-grid .blog-grid-content{
        padding:10px !important;
        display:flex;
        flex-direction:column;
        flex:1 1 auto;
        height:auto !important;
        gap:5px;
    }
    /* category chip + date (blogs page card) */
    html[data-theme] .flc-blogs-grid .blog-cat{
        font-size:10px !important;
        padding:2px 8px !important;
        margin-bottom:0 !important;
        align-self:flex-start;
    }
    html[data-theme] .flc-blogs-grid .blog-meta{
        font-size:10.5px !important;
    }
    /* title: 13px/600, clamp 2, reserved 2-line height so titles
       align across the row (white-space reset kills the home
       blade's nowrap single-line truncation) */
    html[data-theme] .flc-blogs-grid .blog-title,
    html[data-theme] .flc-blogs-grid .blog-grid-content h3{
        font-size:13px !important;
        font-weight:600 !important;
        line-height:1.35 !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
        white-space:normal !important;
        min-height:calc(13px * 1.35 * 2) !important;
        margin:0 !important;
    }
    /* excerpt hidden on mobile (re-asserted; the blogs-page
       excerpt also loses its 72px reserved height) */
    html[data-theme] .flc-blogs-grid .blog-desc,
    html[data-theme] .flc-blogs-grid .blog-grid-content p{
        display:none !important;
        min-height:0 !important;
    }
    /* Read More: pinned to the card bottom, full width, one line
       (margin-top:auto beats Phase 20's 10px flow margin at equal
       specificity — this block is later in the file) */
    html[data-theme] .flc-blogs-grid .blog-pro .read-btn,
    html[data-theme] .flc-blogs-grid .blog-grid-content .btn-main{
        margin-top:auto !important;
        display:block !important;
        width:100% !important;
        padding:7px 10px !important;
        font-size:12.5px !important;
        white-space:nowrap;
        text-align:center;
    }
}

/* ============================================================
   PHASE 22 — ONE premium dropdown system (frontend).
   Native selects (light + hero), popup menus (account menu,
   Bootstrap menus, theme-switcher panel): one chevron, one
   surface, one shadow, radius exactly 6px, theme vars only.
   ============================================================ */

/* ---- 22-F1. Native selects on light surfaces ---- */
html[data-theme] select{
    -webkit-appearance:none;
    appearance:none;
    background-color:var(--flc-input-bg);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:12px;
    border:1px solid var(--flc-input-border);
    border-radius:6px;
    color:var(--flc-ink);
    font:inherit;
    font-size:14px;
    min-height:40px;
    padding:8px 34px 8px 12px;
    transition:border-color .18s ease,box-shadow .18s ease;
}
html[data-theme] select:hover{
    border-color:var(--flc-primary);
}
html[data-theme] select:focus{
    border-color:var(--flc-primary);
    box-shadow:0 0 0 3px var(--flc-ring);
    outline:none;
}
html[data-theme] select:disabled{
    opacity:.55;
    cursor:not-allowed;
    background-color:var(--flc-body-bg);
}

/* ---- 22-F2. Native selects on gradient heroes (Phase 19
   translucent treatment, unified: white chevron, 44px) ---- */
html[data-theme] .hero-search select,
html[data-theme] .hero-store-search select,
html[data-theme] .inner-hero select,
html[data-theme] .hero-pro select,
html[data-theme] .flc-filter-field > select,
html[data-theme] select.flc-hero-sort{
    -webkit-appearance:none;
    appearance:none;
    background-color:rgba(255,255,255,.14);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:12px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:6px;
    color:#fff;
    height:44px;
    min-height:44px;
    padding:10px 34px 10px 12px;
}
html[data-theme] .hero-search select:focus,
html[data-theme] .hero-store-search select:focus,
html[data-theme] .inner-hero select:focus,
html[data-theme] .hero-pro select:focus,
html[data-theme] .flc-filter-field > select:focus,
html[data-theme] select.flc-hero-sort:focus{
    border-color:rgba(255,255,255,.65);
    box-shadow:0 0 0 3px rgba(255,255,255,.35);
    outline:none;
}
html[data-theme] .hero-search select option,
html[data-theme] .hero-store-search select option,
html[data-theme] .inner-hero select option,
html[data-theme] .hero-pro select option,
html[data-theme] .flc-filter-field > select option,
html[data-theme] select.flc-hero-sort option{
    color:#222;
    background:#fff;
}

/* ---- 22-F3. Popup menus: one premium surface ---- */
@keyframes flcMenuIn{
    from{opacity:0;transform:translateY(4px);}
    to{opacity:1;transform:translateY(0);}
}
html[data-theme] .dropdown-menu{
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:6px;
    box-shadow:0 18px 40px rgba(20,18,60,.16),0 2px 8px rgba(20,18,60,.08);
    padding:6px;
    min-width:190px;
    font-size:14px;
}
html[data-theme] .dropdown-menu.show{
    animation:flcMenuIn .18s ease;
}
html[data-theme] .dropdown-item{
    padding:9px 12px;
    border-radius:6px;
    font-size:14px;
    color:var(--flc-ink);
}
html[data-theme] .dropdown-item:hover,
html[data-theme] .dropdown-item:focus{
    background:var(--flc-grad-soft);
    color:var(--flc-primary-dark);
}
html[data-theme] .dropdown-item.active,
html[data-theme] .dropdown-item:active{
    background:var(--flc-grad);
    color:#fff;
}
html[data-theme] .dropdown-item.text-danger,
html[data-theme] .dropdown-item.flc-logout{
    color:#dc2626;
}
html[data-theme] .dropdown-item.text-danger:hover,
html[data-theme] .dropdown-item.flc-logout:hover{
    background:rgba(220,38,38,.08);
    color:#dc2626;
}
html[data-theme] .dropdown-header{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.6px;
    color:var(--flc-muted);
    padding:8px 12px 4px;
}
html[data-theme] .dropdown-divider{
    border-top:1px solid var(--flc-border);
    margin:6px 0;
    opacity:1;
}
html[data-theme] .dropdown-toggle::after{
    border-top-color:var(--flc-muted);
}

/* Account hover menu (Phase 19): behavior untouched, surface
   + items aligned to this system */
html[data-theme] .flc-account-menu{
    padding:6px;
    box-shadow:0 18px 40px rgba(20,18,60,.16),0 2px 8px rgba(20,18,60,.08);
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
html[data-theme] .flc-account-item{
    padding:9px 12px;
}
html[data-theme] .flc-account-item:hover{
    color:var(--flc-primary-dark);
}
html[data-theme] .flc-account-menu .flc-logout,
html[data-theme] .flc-account-menu .text-danger{
    color:#dc2626;
}
html[data-theme] .flc-account-menu .flc-logout:hover,
html[data-theme] .flc-account-menu .text-danger:hover{
    background:rgba(220,38,38,.08);
    color:#dc2626;
}
html[data-theme] .flc-account-menu .flc-logout i,
html[data-theme] .flc-account-menu .text-danger i{
    color:#dc2626;
}

/* Theme-switcher float panel: same surface language
   (swatches stay circles — documented shape exception) */
html[data-theme] .flc-float-panel{
    border-radius:6px;
    box-shadow:0 18px 40px rgba(20,18,60,.16),0 2px 8px rgba(20,18,60,.08);
    padding:6px;
}
html[data-theme] .flc-float-item{
    border-radius:6px;
    padding:9px 12px;
}
html[data-theme] .flc-float-item:hover{
    background:var(--flc-grad-soft);
    color:var(--flc-primary-dark);
}

/* ---- 22-F4. Mobile safety: menus stay in the viewport ---- */
@media(max-width:767px){
    html[data-theme] .dropdown-menu,
    html[data-theme] .flc-account-menu{
        max-width:calc(100vw - 24px);
    }
}

/* ============================================================
   PHASE 23 — Custom dropdowns (.flc-dd) + decisive cascade.
   Root cause of the owner's "kahin bi ni howa": a native
   <select>'s OPEN list is painted by the OS, never by CSS —
   so the visible filter selects are now custom components
   (button + menu, Phase 22 surface) synced to a hidden native
   select that stays in the DOM as the source of truth.
   ============================================================ */

/* ---- 23-F1. The hidden native select: out of flow, still
   submittable/readable. Only ever applied by the layout JS,
   so no-JS visitors keep the working native select. ---- */
html[data-theme] select.flc-native-hidden{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    opacity:0 !important;
    pointer-events:none !important;
    overflow:hidden;
}

/* ---- 23-F2. Component shell ---- */
html[data-theme] .flc-dd{
    position:relative;
    display:block;
}
html[data-theme] .flc-dd-btn{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    text-align:left;
    cursor:pointer;
    font:inherit;
    font-size:14px;
    font-weight:600;
    border-radius:6px;
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
html[data-theme] .flc-dd-label{
    flex:1 1 auto;
    min-width:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
html[data-theme] .flc-dd-chev{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    transition:transform .18s ease;
}
html[data-theme] .flc-dd.open .flc-dd-chev{
    transform:rotate(180deg);
}

/* Light variant (filter bars, sort bars) */
html[data-theme] .flc-dd-light .flc-dd-btn{
    height:44px;
    min-height:44px;
    padding:8px 12px;
    background:var(--flc-input-bg);
    color:var(--flc-ink);
    border:1px solid var(--flc-input-border);
}
html[data-theme] .flc-dd-light .flc-dd-btn:hover{
    border-color:var(--flc-primary);
}
html[data-theme] .flc-dd-light .flc-dd-btn:focus-visible,
html[data-theme] .flc-dd-light.open .flc-dd-btn{
    border-color:var(--flc-primary);
    box-shadow:0 0 0 3px var(--flc-ring);
    outline:none;
}

/* Hero variant (gradient heroes): translucent white, PURE white
   text — the washed/pale closed-field text ends here. */
html[data-theme] .flc-dd-hero .flc-dd-btn{
    height:44px;
    min-height:44px;
    padding:10px 12px;
    background:rgba(255,255,255,.14);
    color:#fff;
    -webkit-text-fill-color:#fff;
    border:1px solid rgba(255,255,255,.35);
}
html[data-theme] .flc-dd-hero .flc-dd-btn:hover{
    border-color:rgba(255,255,255,.55);
}
html[data-theme] .flc-dd-hero .flc-dd-btn:focus-visible,
html[data-theme] .flc-dd-hero.open .flc-dd-btn{
    border-color:rgba(255,255,255,.65);
    box-shadow:0 0 0 3px rgba(255,255,255,.35);
    outline:none;
}
/* hero selects live inside .flc-filter-field, whose funnel icon
   sits at left:12px — the button text must clear it */
html[data-theme] .flc-filter-field .flc-dd-btn{
    padding-left:36px;
}

/* ---- 23-F3. The menu: Phase 22 surface, component-scoped ---- */
html[data-theme] .flc-dd-menu{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    z-index:1080;
    width:max-content;
    min-width:100%;
    max-width:min(480px,calc(100vw - 24px));
    max-height:264px;
    overflow-y:auto;
    background:var(--flc-card);
    border:1px solid var(--flc-border);
    border-radius:6px;
    box-shadow:0 18px 40px rgba(20,18,60,.16),0 2px 8px rgba(20,18,60,.08);
    padding:6px;
    opacity:0;
    visibility:hidden;
    transform:translateY(4px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
html[data-theme] .flc-dd.open .flc-dd-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
html[data-theme] .flc-dd-align-end .flc-dd-menu{
    left:auto;
    right:0;
}
html[data-theme] .flc-dd-item{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    padding:9px 12px;
    border:none;
    background:transparent;
    border-radius:6px;
    font:inherit;
    font-size:14px;
    color:var(--flc-ink);
    text-align:left;
    cursor:pointer;
    white-space:nowrap;
}
html[data-theme] .flc-dd-item-text{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
}
html[data-theme] .flc-dd-item .flc-dd-check{
    flex:0 0 auto;
    font-size:12px;
    visibility:hidden;
}
html[data-theme] .flc-dd-item:hover,
html[data-theme] .flc-dd-item:focus-visible{
    background:var(--flc-grad-soft);
    color:var(--flc-primary-dark);
    outline:none;
}
html[data-theme] .flc-dd-item.active{
    background:var(--flc-grad);
    color:#fff;
}
html[data-theme] .flc-dd-item.active .flc-dd-check{
    visibility:visible;
}
html[data-theme] .flc-dd-item.active:hover,
html[data-theme] .flc-dd-item.active:focus-visible{
    background:var(--flc-grad);
    color:#fff;
}
html[data-theme] .flc-dd-item:disabled{
    opacity:.5;
    cursor:not-allowed;
}

/* ---- 23-F4. Flex contexts: the component takes the select's
   place in each row it used to occupy ---- */
html[data-theme] .flc-filter-field > .flc-dd{
    flex:1 1 auto;
    width:100%;
    min-width:0;
}
html[data-theme] .flc-front-filter-bar > .flc-dd{
    flex:1 1 160px;
    min-width:150px;
}
html[data-theme] .flc-sort-bar .flc-dd{
    min-width:190px;
}

/* ---- 23-F5. Remaining NATIVE selects: decisive cascade.
   !important is used only where the codebase already fights
   with it: Phase 9A-9 sets a dark ink color on hero selects,
   and layered !important hero blocks made the closed hero
   text unreliable — hero select text is now pure white by
   force, and every select's focus ring cannot be overridden. */
html[data-theme] select:focus{
    border-color:var(--flc-primary) !important;
    box-shadow:0 0 0 3px var(--flc-ring) !important;
    outline:none !important;
}
html[data-theme] .hero-search select,
html[data-theme] .hero-store-search select,
html[data-theme] .inner-hero select,
html[data-theme] .hero-pro select{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

/* ============================================================
   PHASE 24 — .flc-dd field fixes (owner's screenshot of the
   Categories hero sort, v3.13):
   (1) The .flc-filter-field funnel icon painted OVER the
   button's first letter ("Featured" lost its F). The field's
   icon is now pinned decisively (left:14px, z-index 3,
   pointer-events none) and the button label clears it with
   padding-left:38px — !important is justified and documented:
   blade-private `.hero-store-search button` /
   `.hero-search button` shorthand rules also match the
   component's <button>, the same fight pattern as 23-F5.
   The light-variant fields (coupons filter bar, sort bars)
   were audited: no prefix icon wraps those selects (their
   icons live in labels/buttons beside them), so no overlap
   exists there — nothing to change.
   (2) Heroes clip overflow for their decorations, so a menu
   opening downward from the hero's bottom row was cut off at
   the hero's bottom edge (only its top strip showed). The
   layout initializer now measures at open time and adds
   .flc-dd-up when the menu would cross the viewport bottom
   OR the nearest overflow-clipping ancestor's bottom edge;
   the menu then opens upward and flips its entrance motion.
   Open wrappers stack at z-index 220 above hero decorations
   and sibling fields; the menu keeps its Phase 22 surface.
   ============================================================ */
html[data-theme] .flc-filter-field{
    position:relative;
}
html[data-theme] .flc-filter-field > i,
html[data-theme] .flc-filter-field > svg{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    pointer-events:none;
}
html[data-theme] .flc-filter-field > .flc-dd{
    width:100%;
}
html[data-theme] .flc-filter-field .flc-dd-btn{
    padding-left:38px !important;
}
html[data-theme] .flc-dd.open{
    z-index:220;
}
html[data-theme] .flc-dd-up .flc-dd-menu{
    top:auto;
    bottom:calc(100% + 6px);
    z-index:220;
    transform:translateY(-4px);
}
html[data-theme] .flc-dd-up.open .flc-dd-menu{
    transform:translateY(0);
}

/* ============================================================
   PHASE 25 — .flc-dd STRUCTURE fix (owner's v3.14 screenshot:
   the funnel STILL crowded the label and the menu STILL
   clipped at the hero's bottom edge — two rounds of cascade
   patching, Phases 23/24, were not enough, so the structure
   changed and neither failure is possible any more):
   (1) ICON INSIDE THE BUTTON. The layout initializer MOVES a
   filter field's prefix icon element (<i class="fa fa-filter">
   on the blogs / stores / categories heroes) into the button
   as a normal flex child — [icon] [label] [chevron], gap 9px.
   There is no absolute positioning and no padding clearance
   left to lose a cascade fight: the icon cannot paint over
   the label because it sits in the flex row before it.
   Phase 24's padding-left:38px !important is retired by the
   equal-specificity override below (later wins). Phase 24's
   field-child icon pin rules are neutralized by the same
   move: a converted field's icon is no longer a field child,
   so those selectors can only ever match the pre-JS native
   fallback, where the pinned icon is correct.
   (2) MENU AT BODY LEVEL (portal). On open the initializer
   appends the menu to <body> with .flc-dd-menu-portal and
   position:fixed geometry computed from the button's rect
   (width = button width, left clamped to the viewport,
   direction chosen by free space, max-height capped when
   neither side fits). No ancestor overflow, transform or
   stacking context can clip or trap it. On close the menu is
   moved back into its wrapper and its portal classes/inline
   styles are stripped. Phase 24's .flc-dd-up mechanism is
   removed from the initializer and superseded — its rules
   above are inert because the class is never added again.
   ============================================================ */
html[data-theme] .flc-dd-btn{
    gap:9px;
}
html[data-theme] .flc-dd-btn .flc-dd-icon{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    font-size:13px;
    line-height:1;
    opacity:.85;
    pointer-events:none;
}
html[data-theme] .flc-dd-label{
    text-align:left;
}
/* Phase 24's 38px icon clearance, retired: with the icon a
   flex child of the button, the button keeps the hero
   variant's normal 12px left padding. */
html[data-theme] .flc-filter-field .flc-dd-btn{
    padding-left:12px !important;
}
/* Portal menu: identical Phase 23 surface, body-level
   positioning context (top/left/width are set inline by the
   initializer from the button's rect). */
html[data-theme] .flc-dd-menu.flc-dd-menu-portal{
    position:fixed !important;
    margin:0 !important;
    z-index:3000;
    min-width:0;
    max-width:calc(100vw - 16px);
}
html[data-theme] .flc-dd-menu.flc-dd-menu-portal.up{
    transform:translateY(-4px);
}
html[data-theme] .flc-dd-menu.flc-dd-menu-portal.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* ================================================================
   PHASE 30 (2026-10-22) — coupon modal: ONE authoritative spec
   The coupon modal markup lives in 4 blade copies (home,
   category, store, partials/coupon-cards — the partial also
   renders on coupons / alphabet / wishlist). Each copy carried
   its own inline <style> for the modal and they DISAGREED:
   top-image height 100px (category/store) vs 180px (home/
   coupons/alphabet), object-fit:contain everywhere, and home's
   .premium-modal-btn even had border-radius:50%. On the owner's
   machine one render path served the top image completely
   unconstrained — the photo printed at natural size, ballooned
   the modal past the screen edge and pushed the body off-view —
   and the modal's Visit Store anchor collapsed into a small
   round blue blob with its label clipped ("Visi..." inside a
   ~54px circle). The modal sizing therefore now lives HERE, in
   the one stylesheet that is filemtime cache-busted on every
   page, with !important on the dimensions so no page-inline
   copy can outrank it.
   ================================================================ */
html[data-theme] .premium-modal-wrap{
    max-width:500px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
    position:relative;
}
html[data-theme] .modal-top-image{
    height:190px !important;
    overflow:hidden;
    border-radius:6px 6px 0 0;
    background:#eef1f8;
}
html[data-theme] .modal-top-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block;
}
html[data-theme] .premium-modal-btn{
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px !important;
}
html[data-theme] .premium-modal-wrap .visit-store-btn{
    display:flex;
    width:100%;
    min-height:46px;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border-radius:6px;
}
/* Visible close control (added to all 4 modal copies in
   Phase 30 — none of them had one): white circle over the
   image's top-right corner. A true circle, exempt from the
   6px rule like the other shape-circles. */
html[data-theme] .premium-modal-wrap .flc-modal-close{
    position:absolute;
    top:10px;
    right:10px;
    z-index:40;
    width:34px;
    height:34px;
    padding:0;
    border-radius:50%;
    background-color:#ffffff;
    opacity:1;
    box-shadow:0 4px 14px rgba(0,0,0,.28);
}
html[data-theme] .premium-modal-wrap .flc-modal-close:hover{
    background-color:#eef1f8;
    opacity:1;
}
@media (max-width:768px){
    html[data-theme] .modal-top-image{
        height:150px !important;
    }
}

/* ================================================================
   PHASE 31 (2026-10-22) — flip/reveal buttons: ONE face at a time
   ----------------------------------------------------------------
   Owner's screenshots: (1) a card's Get Code button shows BOTH
   faces mashed together ("Get Code ert###"); (2) the wishlist
   modal's Copy Code button reads "Copy Codeertyu" — front label
   and back code side-by-side in the flow.
   Disease: the flip mechanics lived in per-page inline <style>
   copies that disagree — the pages that have them position the
   faces absolutely and slide the front out with translateX on
   hover (any mid/odd state shows both faces), and pages with NO
   copy of their own (wishlist renders the shared partial bare)
   have no positioning at all, so the spans just flow inline —
   made worse by Phase 30's display:flex on .premium-modal-btn,
   which lays the two faces out as a flex row.
   Fix (this block, theme CSS = the cache-busted channel, wins
   every conflict): both button families get position:relative +
   overflow:hidden; both faces are pinned absolute inset:0,
   flex-centered, transform FLATTENED (the translateX slide is
   overridden everywhere) and swapped by OPACITY only — front
   visible at rest, back on hover/focus, .18s fade. No overlap,
   no side-by-side, no layout shift. min-height floors keep the
   buttons from collapsing on pages whose inline copy is absent.
   Colors/sizes otherwise untouched.
   ================================================================ */
html[data-theme] .premium-reveal-btn,
html[data-theme] .premium-modal-btn{
    position:relative !important;
    overflow:hidden !important;
}
html[data-theme] .premium-reveal-btn{
    min-height:40px !important;
}
html[data-theme] .premium-modal-btn{
    min-height:48px !important;
}
html[data-theme] .premium-reveal-btn .btn-front,
html[data-theme] .premium-reveal-btn .btn-back,
html[data-theme] .premium-modal-btn .btn-front,
html[data-theme] .premium-modal-btn .btn-back{
    position:absolute !important;
    inset:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    transform:none !important;
    transition:opacity .18s ease !important;
    pointer-events:none;
}
html[data-theme] .premium-reveal-btn .btn-front,
html[data-theme] .premium-modal-btn .btn-front{
    opacity:1 !important;
    z-index:2;
}
html[data-theme] .premium-reveal-btn .btn-back,
html[data-theme] .premium-modal-btn .btn-back{
    opacity:0 !important;
    z-index:1;
}
html[data-theme] .premium-reveal-btn:hover .btn-front,
html[data-theme] .premium-reveal-btn:focus-visible .btn-front,
html[data-theme] .premium-modal-btn:hover .btn-front,
html[data-theme] .premium-modal-btn:focus-visible .btn-front{
    opacity:0 !important;
}
html[data-theme] .premium-reveal-btn:hover .btn-back,
html[data-theme] .premium-reveal-btn:focus-visible .btn-back,
html[data-theme] .premium-modal-btn:hover .btn-back,
html[data-theme] .premium-modal-btn:focus-visible .btn-back{
    opacity:1 !important;
}
/* Modal "Terms & Conditions" row: the general theme rule paints
   .terms-box-btn with the full theme gradient, so inside the
   modal it reads as a big blue selection block. Scoped to the
   modal it is a calm full-row link instead: soft tint, ink text,
   6px radius. (The button outside a modal is not used anywhere.) */
html[data-theme] .premium-modal-wrap .terms-box-btn{
    background:var(--flc-grad-soft) !important;
    color:var(--flc-ink) !important;
    border:1px solid var(--flc-border) !important;
    border-radius:6px !important;
    font-weight:600;
    text-align:center;
    padding:10px 16px;
}
html[data-theme] .premium-modal-wrap .terms-box-btn:hover{
    color:var(--flc-primary) !important;
    transform:none;
    box-shadow:none;
}

/* ================================================================
   PHASE 32 (2026-10-22) — owner's design batch: nav underline,
   modal premium, auth centering, account wishlist summary,
   footer trust badge. All rules live HERE (the filemtime-busted
   sheet) so no page-inline copy can outrank or go stale.
   ================================================================ */

/* ---- 32-A. Navbar hover underline (item 6) ----
   Why the Phase 19 attempt never showed: it drew the line with
   ::before parked at top:-4px growing from the right, it
   display:none'd ::after (the natural bottom slot), AND the
   links were never position:relative, so the absolute line
   anchored to the navbar instead of the link. One version now:
   a 2px gradient ::after under the link, scaleX 0 -> 1 from the
   left on hover, persistent on the active link. */
html[data-theme] .custom-navbar .nav-link{
    position:relative !important;
}
html[data-theme] .custom-navbar .nav-link::before,
html[data-theme] .custom-navbar .nav-link:hover::before,
html[data-theme] .custom-navbar .nav-link.active::before{
    display:none !important;
    content:none !important;
}
html[data-theme] .custom-navbar .nav-link::after{
    content:'' !important;
    display:block !important;
    position:absolute !important;
    left:0 !important;
    right:auto !important;
    bottom:0 !important;
    width:100% !important;
    height:2px !important;
    background:var(--flc-grad) !important;
    border-radius:6px;
    transform:scaleX(0) !important;
    transform-origin:left center !important;
    transition:transform .22s ease !important;
}
html[data-theme] .custom-navbar .nav-link:hover::after,
html[data-theme] .custom-navbar .nav-link:focus-visible::after,
html[data-theme] .custom-navbar .nav-link.active::after{
    transform:scaleX(1) !important;
}

/* ---- 32-B. Coupon modal premium (item 2) ----
   Extends the Phase 30 spec (same classes, same sheet): richer
   header image, a store chip row under the image, roomier body,
   a more premium code box, softer button shadows. Sizing from
   Phase 30 (190px image, 500px wrap, close x) is unchanged. */
html[data-theme] .premium-modal-wrap{
    border:1px solid var(--flc-border);
    box-shadow:0 30px 70px rgba(10,8,40,.35) !important;
    overflow:hidden;
}
html[data-theme] .modal-top-image{
    position:relative;
}
html[data-theme] .modal-top-image::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:46%;
    background:linear-gradient(180deg, rgba(10,8,40,0) 0%, rgba(10,8,40,.38) 100%);
    pointer-events:none;
}
html[data-theme] .flc-modal-store-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 22px 0;
}
html[data-theme] .flc-modal-store-chip{
    display:inline-flex;
    align-items:center;
    gap:7px;
    max-width:72%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    background:var(--flc-grad-soft);
    color:var(--flc-primary);
    border:1px solid var(--flc-border);
    border-radius:6px;
    font-size:12.5px;
    font-weight:700;
    padding:5px 12px;
}
html[data-theme] .flc-modal-verified{
    display:inline-flex;
    align-items:center;
    gap:5px;
    flex:0 0 auto;
    background:rgba(34,197,94,.12);
    color:#16a34a;
    border-radius:6px;
    font-size:11.5px;
    font-weight:700;
    letter-spacing:.02em;
    padding:5px 10px;
}
html[data-theme] .premium-modal-body{
    padding:16px 28px 30px !important;
}
html[data-theme] .premium-modal-wrap .code-box{
    border:1.5px dashed var(--flc-primary);
    background:var(--flc-grad-soft);
    color:var(--flc-ink);
    border-radius:6px;
    font-size:19px;
    font-weight:800;
    letter-spacing:.14em;
    padding:13px 16px;
}
html[data-theme] .premium-modal-wrap .code-box::before{
    content:'\f0c5';
    font-family:'Font Awesome 6 Free';
    font-weight:900;
    font-size:14px;
    letter-spacing:0;
    color:var(--flc-primary);
    margin-right:10px;
    vertical-align:2px;
}
html[data-theme] .premium-modal-btn{
    box-shadow:var(--flc-sh-md);
}
html[data-theme] .premium-modal-wrap .visit-store-btn{
    box-shadow:var(--flc-sh-sm);
}

/* ---- 32-C. Login / Register: exact centering + premium
   backdrop (item 3). Both blades extend the frontend layout
   and style .auth-wrap/.auth-card from near-identical inline
   copies; this one spec outranks both. Forms and the Phase 14
   official Google/Facebook buttons are untouched. ---- */
html[data-theme] .auth-wrap{
    min-height:calc(100dvh - 72px) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:52px 0 60px !important;
    background:
        radial-gradient(620px 340px at 12% -4%, rgba(124,58,237,.14), transparent 60%),
        radial-gradient(720px 400px at 90% 108%, rgba(236,72,153,.12), transparent 60%),
        linear-gradient(180deg, var(--flc-grad-soft), var(--flc-body-bg)) !important;
}
html[data-theme] .auth-card{
    border-radius:6px !important;
    padding:42px 38px !important;
    box-shadow:0 24px 60px rgba(10,8,40,.16), var(--flc-sh-lg) !important;
}

/* ---- 32-D. Account: wishlist button restored + compact
   wishlist summary card (items 4 + 5). ----
   The clipped "small circle" on the account page IS the
   profile card's "My Wishlist" button (.flc-account-btn):
   the Phase 15-C navbar-icon rule still targets that class
   with 34x34px / border-radius:50% / font-size:17px, all
   !important — the navbar itself moved to .flc-account-box
   in Phase 19, so the stale rule now crushes the account
   button into a tiny circle and clips its label (the owner
   could only read fragments of the squeezed text). The
   button is re-asserted here as the full-width gradient
   button section 5 designed. Wishlist itself now lives
   only on its own page; the account keeps this one compact
   summary card (count + link). */
html[data-theme] .flc-account-btn{
    width:100% !important;
    height:auto !important;
    min-height:46px;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px;
    margin-left:0 !important;
    padding:12px 16px !important;
    border:none !important;
    border-radius:6px !important;
    background:var(--flc-grad) !important;
    color:#fff !important;
    font-size:15px !important;
    font-weight:700;
    text-align:center;
    text-decoration:none !important;
}
html[data-theme] .flc-account-btn:hover,
html[data-theme] .flc-account-btn.active{
    background:var(--flc-grad) !important;
    border-color:transparent !important;
    filter:brightness(1.07);
    transform:translateY(-1px) !important;
}
html[data-theme] .flc-wish-summary-head{
    display:flex;
    align-items:center;
    gap:14px;
    text-align:left;
    margin-bottom:16px;
}
html[data-theme] .flc-wish-summary-icon{
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:50%;
    background:var(--flc-grad-soft);
    color:var(--flc-primary);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}
html[data-theme] .flc-wish-summary-head h5{
    margin:0;
    font-size:17px;
    font-weight:700;
    color:var(--flc-ink);
}
html[data-theme] .flc-wish-summary-head p{
    margin:2px 0 0;
    font-size:13px;
    color:var(--flc-muted);
}

/* ---- 32-E. Footer trust badge + security card (item 7) ----
   The footer badge was a plain white pill (its centered
   variant strips the icon chip entirely); the popup card
   (.modal-box) ran 540px wide with a bare 48px glyph for a
   header icon. Both get the premium finish: narrower widths,
   gradient top accent, shield-check SVG in a tinted circle,
   cleaner rows. Content/data unchanged. */
html[data-theme] .footer-security-center .trust-badge{
    position:relative !important;
    overflow:hidden;
    max-width:340px !important;
    padding:12px 16px !important;
    gap:12px !important;
    justify-content:flex-start !important;
    background:rgba(255,255,255,.94) !important;
    border:1px solid rgba(15,23,42,.07) !important;
    border-radius:6px !important;
    box-shadow:0 14px 32px rgba(10,8,40,.16) !important;
}
html[data-theme] .footer-security-center .trust-badge::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:3px;
    background:var(--flc-grad);
}
html[data-theme] .footer-security-center .trust-badge-header{
    height:auto !important;
}
html[data-theme] .footer-security-center .trust-badge-icon{
    width:44px !important;
    height:44px !important;
    flex:0 0 44px;
    border-radius:50% !important;
    background:rgba(34,197,94,.13) !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
}
html[data-theme] .footer-security-center .trust-badge-icon svg{
    width:22px;
    height:22px;
    display:block;
}
html[data-theme] #securityModal .modal-box{
    max-width:360px !important;
    border-radius:6px !important;
    box-shadow:0 30px 70px rgba(0,0,0,.35) !important;
}
html[data-theme] #securityModal .modal-box::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,#22c55e,#4f46e5);
    z-index:2;
}
html[data-theme] .security-main-icon{
    width:54px;
    height:54px;
    flex:0 0 54px;
    border-radius:50%;
    background:rgba(34,197,94,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}
html[data-theme] .security-active-box{
    box-shadow:0 8px 20px rgba(22,163,74,.10);
}
html[data-theme] .security-row{
    padding:11px 0;
}
html[data-theme] .security-label i{
    width:30px;
    height:30px;
    border-radius:50%;
    background:#f0fdf4;
    color:#16a34a;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
}

/* ================================================================
   PHASE 38 (2026-10-22) — whole-site language switcher UI:
   left-edge tab + slide-in panel (styles below).
   PHASE 43 (2026-10-22) — the Google Translate gadget that
   originally powered this switcher is REMOVED entirely: its
   top banner kept showing on the owner's machine despite the
   CSS hides (v3.28) and the JS hard-kill (v3.29), so the
   gadget no longer exists on the page and no banner can ever
   appear. Our own translation engine (end of the frontend
   layout) does the work now; the gadget-chrome hide rules
   that used to live here are deleted with the gadget.
   ================================================================ */

/* --- Vertical tab: left edge, vertically centered --- */
#flcLangTab{
    position:fixed;
    left:0;
    top:50%;
    transform:translateY(-50%);
    z-index:1020;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:9px;
    padding:15px 8px 17px;
    border:none;
    border-radius:0 6px 6px 0;
    background:var(--flc-grad);
    color:#fff;
    font-family:inherit;
    cursor:pointer;
    box-shadow:0 10px 26px rgba(15,23,42,.28);
}
#flcLangTab:hover{
    filter:brightness(1.07);
}
#flcLangTab:focus-visible{
    outline:2px solid #fff;
    outline-offset:-2px;
}
#flcLangTab .flc-lang-tab-label{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    font-size:12px;
    font-weight:700;
    letter-spacing:2.5px;
    text-transform:uppercase;
    line-height:1;
}

/* --- Panel: slides in from the left, vertically centered --- */
#flcLangPanel{
    position:fixed;
    left:0;
    top:50%;
    width:250px;
    max-width:84vw;
    z-index:1030;
    background:var(--flc-card);
    color:var(--flc-ink);
    border:1px solid var(--flc-border);
    border-left:none;
    border-radius:0 6px 6px 0;
    box-shadow:0 24px 60px rgba(15,23,42,.25);
    overflow:hidden;
    transform:translate(-110%,-50%);
    transition:transform .22s ease;
    font-family:inherit;
}
#flcLangPanel.open{
    transform:translate(0,-50%);
}
.flc-lang-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:13px 16px;
    background:var(--flc-grad);
    color:#fff;
}
.flc-lang-title{
    font-size:14px;
    font-weight:700;
    letter-spacing:.4px;
}
.flc-lang-close{
    flex:0 0 auto;
    width:28px;
    height:28px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#fff;
    font-size:17px;
    line-height:1;
    cursor:pointer;
    font-family:inherit;
}
.flc-lang-close:hover{
    background:rgba(255,255,255,.32);
}
.flc-lang-list{
    max-height:62vh;
    overflow-y:auto;
    padding:8px;
}
.flc-lang-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
    padding:9px 10px;
    border:none;
    border-radius:6px;
    background:none;
    color:var(--flc-ink);
    font-family:inherit;
    text-align:left;
    cursor:pointer;
}
.flc-lang-item:hover{
    background:var(--flc-grad-soft);
}
.flc-lang-item.active{
    background:var(--flc-grad-soft);
}
.flc-lang-names{
    display:flex;
    flex-direction:column;
    min-width:0;
}
.flc-lang-native{
    font-size:14px;
    font-weight:600;
    line-height:1.3;
}
.flc-lang-sub{
    font-size:11px;
    color:var(--flc-muted);
    line-height:1.3;
}
.flc-lang-check{
    flex:0 0 auto;
    color:var(--flc-primary);
    opacity:0;
}
.flc-lang-item.active .flc-lang-check{
    opacity:1;
}
@media (max-width:576px){
    #flcLangTab{
        padding:11px 6px 13px;
        gap:7px;
    }
    #flcLangTab .flc-lang-tab-label{
        font-size:11px;
        letter-spacing:2px;
    }
    #flcLangPanel{
        width:236px;
    }
}

/* --- RTL (ar / fa / ur): modest, safe flips only.
   Text alignment + form fields + nav; sliders, modals and the
   switcher itself keep their physical placement. --- */
html[dir="rtl"] body{
    text-align:right;
}
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select{
    text-align:right;
}
html[dir="rtl"] .navbar-nav{
    padding-right:0;
}
html[dir="rtl"] .dropdown-menu{
    text-align:right;
}
html[dir="rtl"] .flc-lang-item{
    text-align:right;
}

/* ================================================================
   PHASE 44 — Single category / single store coupon rows: one
   authoritative pin (v3.34).
   Disease: /category/{slug} and /store/{slug} carry their whole
   card CSS in one giant in-body <style> copy each. Theme rule 12F
   (html[data-theme] .premium-reveal-btn{width:100%!important})
   outranks the pages' own
   .coupon-btn-side .premium-reveal-btn{width:150px}, and after a
   PJAX swap the per-page copy races the theme sheet — the row
   geometry breaks and the Get Code / Get Deal flip buttons
   collapse or vanish until a hard refresh.
   Fix: (1) the layout's PJAX exclusion list now contains
   '/category/' and '/store/', so these two pages always
   full-load — their known-good state; (2) this block pins the
   rows' intended geometry here, mirrored value-for-value from
   the pages' own CSS (210px logo side, 145px row, 150x44 button)
   with html[data-theme] selectors + !important, so no other
   rule can move it. Faces use the Phase 31 mechanism: absolute
   inset 0, flex-centered, opacity swap on hover/focus.
   Nothing visual changes — this is a hardening pin.
   ================================================================ */
html[data-theme] .modern-coupon-row{
    display:flex !important;
    align-items:stretch !important;
    position:relative !important;
    overflow:hidden !important;
    min-height:145px !important;
    background:#fff !important;
    border-radius:6px !important;
    box-shadow:0 8px 25px rgba(0,0,0,.08) !important;
    margin-bottom:10px !important;
}
html[data-theme] .coupon-logo-side{
    width:210px !important;
    min-width:210px !important;
    height:150px !important;
    background:#fff !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
}
html[data-theme] .coupon-logo-side img{
    max-width:100% !important;
    max-height:100% !important;
    width:auto !important;
    height:145px !important;
    object-fit:contain !important;
    display:block !important;
    padding:25px !important;
}
html[data-theme] .coupon-info-side{
    flex:1 1 auto !important;
    min-width:0 !important;
    padding:10px !important;
    display:flex !important;
    flex-direction:column !important;
}
html[data-theme] .coupon-btn-side{
    display:block !important;
    position:static !important;
    margin-left:auto !important;
    min-width:150px !important;
    visibility:visible !important;
}
html[data-theme] .coupon-btn-side .premium-reveal-btn,
html[data-theme] .coupon-btn-side .premium-reveal-btn.deal-btn{
    position:relative !important;
    display:block !important;
    width:150px !important;
    height:44px !important;
    min-height:44px !important;
    visibility:visible !important;
    opacity:1 !important;
    overflow:hidden !important;
}
html[data-theme] .coupon-btn-side .premium-reveal-btn .btn-front,
html[data-theme] .coupon-btn-side .premium-reveal-btn .btn-back{
    position:absolute !important;
    inset:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    transform:none !important;
    transition:opacity .18s ease !important;
    pointer-events:none;
}
html[data-theme] .coupon-btn-side .premium-reveal-btn .btn-front{
    opacity:1 !important;
    z-index:2;
}
html[data-theme] .coupon-btn-side .premium-reveal-btn .btn-back{
    opacity:0 !important;
    z-index:1;
}
html[data-theme] .coupon-btn-side .premium-reveal-btn:hover .btn-front,
html[data-theme] .coupon-btn-side .premium-reveal-btn:focus-visible .btn-front{
    opacity:0 !important;
}
html[data-theme] .coupon-btn-side .premium-reveal-btn:hover .btn-back,
html[data-theme] .coupon-btn-side .premium-reveal-btn:focus-visible .btn-back{
    opacity:1 !important;
}
@media (max-width:768px){
    html[data-theme] .coupon-btn-side{
        width:100% !important;
        margin-left:0 !important;
    }
    html[data-theme] .coupon-btn-side .premium-reveal-btn,
    html[data-theme] .coupon-btn-side .premium-reveal-btn.deal-btn{
        width:100% !important;
    }
}

/* ============================================================
   Phase 46 (v3.36) + polish (v3.37): category description card.
   The category page renders the admin-written description under
   the hero inside the site's own .sidebar-box card (same card as
   the store "About" box). Only layout tweaks live here — colors,
   border and shadow come from .sidebar-box itself.
   ============================================================ */
html[data-theme] .category-desc-box h4{
    margin-bottom:10px;
}
html[data-theme] .category-desc-text{
    max-width:920px;
    margin:0;
    line-height:1.75;
    font-size:15.5px;
}

/* ================================================================
   PHASE 49 — Mobile scroll smoothness (home rails + navbar)
   The sticky navbar's backdrop blur forces the phone GPU to
   re-blur the strip over the content on every scroll frame —
   on Android that reads as heavy, stuttery scrolling on long
   pages. Below the lg breakpoint the navbar goes solid (its own
   theme background) and the blur is dropped; desktop unchanged.
   ================================================================ */
@media (max-width:991.98px){
    html[data-theme] .custom-navbar{
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
        background:var(--flc-nav-bg) !important;
    }
    html[data-theme] #flcNavbar.navbar-scrolled{
        backdrop-filter:none;
        -webkit-backdrop-filter:none;
    }
}

/* ================================================================
   PHASE 50 — Mobile menu: account icon + tap dropdown.
   The Phase 20 labelled account row (written Login/Register etc.)
   is removed from the markup. Below the lg breakpoint the real
   account wrap now shows inside the collapsed menu (the Phase 20
   display:none below is overridden), styled as a separated menu
   row, and its dropdown opens on tap via .flc-open (layout JS)
   instead of hover. Desktop untouched.
   ================================================================ */
@media (max-width:991.98px){
    html[data-theme] .flc-account-wrap{
        display:flex !important;
        width:100%;
        padding:10px 0 2px;
        margin-top:6px;
        border-top:1px solid rgba(255,255,255,.15);
    }
    html[data-theme] .flc-account-wrap .flc-account-box{
        margin-left:0;
    }
    html[data-theme] .flc-account-menu{
        left:0;
        right:auto;
        top:calc(100% + 8px);
    }
    html[data-theme] .flc-account-wrap.flc-open .flc-account-menu{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }
}

/* ================================================================
   PHASE 50 (round 2) — account icon in the mobile top bar + home
   hero search on one line.
   (a) The owner found the account icon buried at the menu's
   bottom; its markup now also lives in the bar next to the
   hamburger (.flc-mobile-bar-account, layout). On mobile the
   in-menu wrap stays hidden; the bar wrap shows.
   (b) The Phase 19 mobile rule deliberately wrapped hero
   searches (field 100%, button on row 2 — built for heroes WITH
   a filter select). The HOME hero has only input + button, and
   the owner wants them on ONE line: nowrap + flexible field.
   Store/blog heroes keep the Phase 19 wrap.
   ================================================================ */
.flc-mobile-bar-account{
    display:none;
}
@media (max-width:991.98px){
    html[data-theme] .flc-mobile-bar-account{
        display:flex;
        align-items:center;
        margin-left:auto;
    }
    html[data-theme] #mainMenu .flc-account-wrap{
        display:none !important;
    }
    html[data-theme] .flc-mobile-bar-account .flc-account-wrap{
        display:flex !important;
        width:auto;
        padding:0;
        margin:0;
        border-top:none;
    }
    html[data-theme] .flc-mobile-bar-account .flc-account-box{
        margin-left:0;
    }
    html[data-theme] .flc-mobile-bar-account .flc-account-menu{
        left:auto;
        right:0;
    }
}
@media (max-width:767px){
    html[data-theme] .hero-pro .hero-search{
        flex-wrap:nowrap !important;
    }
    html[data-theme] .hero-pro .hero-search .flc-search-field{
        flex:1 1 auto;
        min-width:0;
    }
    html[data-theme] .hero-pro .hero-search button{
        flex:0 0 auto;
        white-space:nowrap;
        padding-left:18px;
        padding-right:18px;
    }
}
