/* K316 storefront — chỉ nạp trong các trang cửa hàng mới. */
:root{color-scheme:dark}
.storefront{--sf-bg:#0f172a;--sf-panel:#172238;--sf-raised:#1e293b;--sf-line:#334155;--sf-text:#f1f5f9;--sf-muted:#b6c4d8;--sf-primary:#2563eb;margin:0;background:var(--sf-bg);color:var(--sf-text);font:400 16px/1.6 Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.storefront *,.storefront *::before,.storefront *::after{box-sizing:border-box}
.storefront [hidden]{display:none!important}
.storefront a{color:inherit;text-decoration:none}
.storefront button,.storefront input{font:inherit}
.storefront button,.storefront summary{cursor:pointer}
.storefront img{display:block;max-width:100%}
.storefront h1,.storefront h2,.storefront h3,.storefront p{margin:0}
.storefront :focus-visible{outline:3px solid #93c5fd;outline-offset:4px}
.sf-container{width:min(1200px,calc(100% - 48px));margin-inline:auto}
.sf-sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sf-skip{position:fixed;left:16px;top:8px;transform:translateY(-180%);padding:12px 20px;background:#fff;color:#0f172a!important;z-index:100}
.sf-skip:focus{transform:translateY(0)}
.sf-header{background:var(--sf-bg);border-bottom:1px solid var(--sf-line)}
.sf-topbar{display:grid;grid-template-columns:200px minmax(0,1fr) auto;align-items:center;gap:32px;padding-block:20px}
.sf-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;line-height:1.15}
.sf-brand-mark{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;overflow:visible;background:transparent;border:0;border-radius:0}
.sf-brand-mark img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.sf-brand-text{display:flex;flex-direction:column;justify-content:center;line-height:1}
.sf-brand-sub{display:block;font-size:10px;letter-spacing:2px;color:var(--sf-muted);margin-top:5px}
.sf-search{position:relative;min-width:0}
.sf-search input{width:100%;height:46px;border:1px solid var(--sf-line);border-radius:10px;padding:10px 56px 10px 16px;background:var(--sf-panel);color:var(--sf-text);font-size:16px}
.sf-search input::placeholder{color:var(--sf-muted)}
.sf-search-button{position:absolute;right:2px;top:1px;width:46px;height:44px;border:0;border-radius:9px;background:transparent;color:var(--sf-text);font-size:28px!important;line-height:1}
.sf-search-button:hover{background:var(--sf-raised)}
.sf-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 18px;border:1px solid var(--sf-line);border-radius:10px;font-size:14px;font-weight:650;text-align:center;line-height:1.45;transition:background .15s,border-color .15s}
.sf-primary{background:var(--sf-primary);border-color:var(--sf-primary);color:#fff!important}
.sf-primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.sf-secondary,.sf-account{background:var(--sf-panel)}
.sf-secondary:hover,.sf-account:hover{background:#26374f;border-color:#64748b}
.sf-nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding-bottom:14px}
.sf-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--sf-muted);font-size:14px}
.sf-nav a:hover{color:#fff}
.sf-menu-button{display:none;background:var(--sf-panel);color:var(--sf-text);border:1px solid var(--sf-line);border-radius:10px;width:44px;height:44px;font-size:22px!important}
.sf-hero{display:grid;grid-template-columns:1.45fr 1fr;gap:40px;align-items:center;margin-top:28px;padding:36px 40px;border:1px solid var(--sf-line);border-radius:20px;background:linear-gradient(120deg,#192b48,#142039 70%)}
.sf-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#93c5fd;margin-bottom:12px!important}
.sf-hero h1{font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-1.3px;font-weight:750}
.sf-hero-copy{max-width:540px;margin-top:16px!important;color:var(--sf-muted);font-size:15px;line-height:1.7}
.sf-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:24px}
.sf-text-link{display:inline-flex;align-items:center;min-height:44px;color:#93c5fd!important;font-size:14px}
.sf-text-link:hover{text-decoration:underline}
.sf-hero-side{border-left:1px solid var(--sf-line);padding-left:32px}
.sf-side-label{font-size:10px;letter-spacing:1.2px;color:var(--sf-muted);font-weight:700}
.sf-hero-side ol{padding:0;margin:18px 0 0;list-style:none;display:grid;gap:18px}
.sf-hero-side li{display:flex;gap:14px;align-items:flex-start}
.sf-hero-side li>span{font-size:12px;background:#243755;color:#bfdbfe;border:1px solid #3b5272;border-radius:8px;display:grid;place-items:center;min-width:32px;height:32px}
.sf-hero-side strong{font-size:14px}
.sf-hero-side p{font-size:12px;color:var(--sf-muted);margin-top:2px}
.sf-catalog{padding-top:36px;scroll-margin-top:20px}
.sf-section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.sf-section-top h2,.sf-help-strip h2,.sf-faq h2{font-size:23px;line-height:1.35;letter-spacing:-.4px}
.sf-section-top p{font-size:13px;color:var(--sf-muted);margin-top:5px}
.sf-filters{display:flex;gap:6px;flex-wrap:wrap}
.sf-filter{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:9px;font-size:14px;color:var(--sf-muted)!important;border:1px solid transparent}
.sf-filter:hover{background:var(--sf-raised)}
.sf-filter.is-active{background:#1b3359;border-color:#3b5d91;color:#dbeafe!important}
.sf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.sf-card{min-width:0;border:1px solid var(--sf-line);background:var(--sf-panel);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.sf-cover{display:block;aspect-ratio:16/9;overflow:hidden;background:#233651}
.sf-cover img{width:100%;height:100%;object-fit:contain;background:#172238}
.sf-placeholder{height:100%;min-height:80px;display:grid;place-items:center;background:linear-gradient(135deg,#203e68,#26304c);font-size:32px;font-weight:800;letter-spacing:4px;color:#a9c7f0}
.sf-card-body{padding:18px;display:flex;flex-direction:column;flex:1;align-items:flex-start;min-width:0}
.sf-badge{display:inline-flex;align-items:center;background:#243755;border:1px solid #3b5272;border-radius:5px;color:#bfdbfe;font-size:10px;font-weight:650;padding:3px 7px;line-height:1.4}
.sf-card h3{font-size:16px;line-height:1.4;margin-top:10px;overflow-wrap:anywhere}
.sf-card h3 a:hover{color:#93c5fd}
.sf-meta{font-size:12px;color:var(--sf-muted);margin-top:8px!important;overflow-wrap:anywhere}
.sf-price{font-size:15px;font-weight:750;margin-top:auto!important;padding-top:20px;overflow-wrap:anywhere}
.sf-card .sf-button{width:100%;margin-top:14px;justify-content:space-between}
.sf-empty{border:1px dashed var(--sf-line);border-radius:16px;padding:48px 24px;text-align:center;margin-block:30px}
.sf-empty p{color:var(--sf-muted);margin:10px 0 22px}
.sf-pagination{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:26px;font-size:14px;color:var(--sf-muted)}
.sf-help-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;background:var(--sf-panel);border:1px solid var(--sf-line);border-radius:14px;margin-block:36px}
.sf-help-strip h2{font-size:18px}
.sf-help-strip p{font-size:13px;color:var(--sf-muted);margin-top:5px}
.sf-help-strip .sf-button{flex-shrink:0}
.sf-faq{max-width:850px;margin:0 auto 48px}
.sf-faq h2{margin-bottom:18px}
.sf-faq details{border-bottom:1px solid var(--sf-line);padding-block:8px}
.sf-faq summary{min-height:44px;padding:10px 0;font-size:15px;font-weight:600}
.sf-faq details p{color:var(--sf-muted);font-size:14px;padding:4px 0 12px}
.sf-footer{border-top:1px solid var(--sf-line);background:#111d30;padding-top:32px;scroll-margin-top:16px}
.sf-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px;padding-bottom:28px}
.sf-footer-brand{font-size:19px;font-weight:750}
.sf-footer p{color:var(--sf-muted);font-size:13px;margin-top:10px;max-width:360px}
.sf-footer h2{font-size:14px;margin-bottom:6px}
.sf-footer-grid>div>a:not(.sf-footer-brand){display:flex;align-items:center;min-height:44px;color:var(--sf-muted);font-size:13px}
.sf-footer a:hover{color:#93c5fd}
.sf-footer-bottom{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;padding-block:18px;border-top:1px solid var(--sf-line);font-size:12px;color:var(--sf-muted)}
.sf-policy-links{display:flex;gap:18px;flex-wrap:wrap}
.sf-policy-links a{display:inline-flex;align-items:center;min-height:44px}
.sf-page-title{padding:40px 0 10px}
.sf-page-title h1{font-size:clamp(26px,3vw,36px);line-height:1.25}
.sf-page-title>p:last-child{color:var(--sf-muted);margin-top:12px}
.sf-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;margin-block:24px;color:var(--sf-muted);font-size:13px}
.sf-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}
.sf-breadcrumb span{display:flex;align-items:center}
.sf-product-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:28px;align-items:start;margin-bottom:40px}
.sf-product-content,.sf-product-summary{min-width:0}
.sf-product-image{aspect-ratio:16/9;border:1px solid var(--sf-line);border-radius:16px;overflow:hidden;background:var(--sf-panel);margin-bottom:24px}
.sf-product-image img{width:100%;height:100%;object-fit:contain}
.sf-panel{padding:26px;border:1px solid var(--sf-line);background:var(--sf-panel);border-radius:16px;min-width:0}
.sf-panel h2{font-size:19px;margin-bottom:12px}
.sf-description-text{color:var(--sf-muted);white-space:pre-line;overflow-wrap:anywhere;line-height:1.8;font-size:15px}
.sf-product-summary{display:grid;gap:20px}
.sf-product-summary h1{font-size:27px;line-height:1.3;margin-top:12px;overflow-wrap:anywhere}
.sf-info{margin:20px 0}
.sf-info>div{display:flex;justify-content:space-between;gap:18px;padding-block:10px;border-bottom:1px solid var(--sf-line);font-size:13px}
.sf-info dt{color:var(--sf-muted)}
.sf-info dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.sf-price-option{border:1px solid var(--sf-line);border-radius:10px;padding:14px 16px;margin-top:12px;display:grid;gap:4px}
.sf-price-option span,.sf-price-option small{font-size:12px;color:var(--sf-muted)}
.sf-price-option strong{font-size:20px}
.sf-note{font-size:12px;color:var(--sf-muted);margin-block:18px!important}
.sf-wide{width:100%;margin-top:10px}
.sf-checklist{padding-left:20px;margin:0;color:var(--sf-muted);font-size:14px}
.sf-checklist li{margin-top:8px}
.sf-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:26px}
.sf-guide-grid p{color:var(--sf-muted);font-size:15px}
.sf-step{display:inline-flex;padding:5px 10px;background:#243755;border-radius:7px;color:#bfdbfe;font-weight:700;margin-bottom:16px}
@media(max-width:1199px){.sf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sf-topbar{gap:24px;grid-template-columns:180px minmax(0,1fr) auto}}
@media(max-width:991px){.sf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-hero{grid-template-columns:1fr;padding:30px}.sf-hero-side{display:none}.sf-nav{gap:18px}.sf-product-layout{grid-template-columns:1fr}.sf-product-summary{grid-row:1}.sf-product-summary h1{font-size:28px}.sf-footer-grid{gap:24px}}
@media(max-width:767px){.sf-topbar{grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding-block:16px}.sf-search{grid-row:2;grid-column:1/-1}.sf-menu-button{display:block}.sf-nav{display:none;flex-direction:column;align-items:stretch;gap:0;padding-bottom:12px}.sf-nav.is-open{display:flex}.sf-nav a{padding:8px 12px;border-radius:8px}.sf-nav a:hover{background:var(--sf-panel)}.sf-footer-grid{grid-template-columns:1fr 1fr}.sf-footer-grid>div:first-child{grid-column:1/-1}.sf-section-top{align-items:flex-start;flex-direction:column;gap:14px}.sf-help-strip{padding:22px;flex-direction:column;align-items:flex-start}.sf-guide-grid{grid-template-columns:1fr}}
@media(max-width:639px){.sf-container{width:calc(100% - 32px)}.sf-brand{font-size:21px}.sf-brand-mark{width:38px;height:38px;flex-basis:38px}.sf-brand-sub{font-size:9px}.sf-account{padding-inline:12px;font-size:12px}.sf-hero{margin-top:20px;padding:24px 20px;border-radius:16px}.sf-hero h1{font-size:29px;letter-spacing:-.7px}.sf-hero-copy{font-size:14px}.sf-actions{gap:8px;margin-top:18px}.sf-actions .sf-button{font-size:13px}.sf-catalog{padding-top:26px}.sf-section-top h2{font-size:22px}.sf-grid{grid-template-columns:minmax(0,1fr);gap:14px}.sf-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.sf-cover{aspect-ratio:auto;height:100%;min-height:180px;background:#1a2943}.sf-cover img{height:100%;object-fit:contain}.sf-card-body{padding:16px}.sf-card h3{font-size:16px;margin-top:7px}.sf-meta{font-size:11px;margin-top:5px!important}.sf-price{font-size:14px;padding-top:12px}.sf-card .sf-button{font-size:12px;margin-top:10px}.sf-placeholder{font-size:20px;letter-spacing:2px}.sf-filters{gap:2px}.sf-filter{font-size:13px;padding-inline:14px}.sf-help-strip{margin-block:28px}.sf-faq h2{font-size:21px}.sf-faq summary{font-size:14px}.sf-footer-grid{gap:22px 16px}.sf-panel{padding:22px}.sf-product-summary h1{font-size:25px}.sf-page-title{padding-top:28px}.sf-product-layout{gap:20px}.sf-info>div{flex-wrap:wrap}.sf-info dd{text-align:left}.sf-guide-grid{gap:16px}}
@media(prefers-reduced-motion:reduce){.storefront *{transition:none!important;scroll-behavior:auto!important}}
/* =====================================================================
   K316 INDEX ↔ DASHBOARD SYNC V2
   Chỉ thay ngôn ngữ giao diện của storefront.
   Không can thiệp voucher / checkout / login / API.
   ===================================================================== */

.storefront{
    --sf-bg:#0f172a;
    --sf-panel:#1e293b;
    --sf-panel-2:#18243a;
    --sf-raised:#24344d;
    --sf-line:rgba(255,255,255,.08);
    --sf-line-strong:rgba(255,255,255,.12);
    --sf-text:#e2e8f0;
    --sf-heading:#f1f5f9;
    --sf-muted:#94a3b8;
    --sf-muted-2:#64748b;
    --sf-primary:#2275fc;
    --sf-primary-2:#4f46e5;

    background:#0f172a;
    color:var(--sf-text);
}

/* HEADER — gần Dashboard hơn */
.sf-header{
    position:sticky;
    top:0;
    z-index:80;
    background:rgba(15,23,42,.94);
    border-bottom:1px solid rgba(255,255,255,.07);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}

.sf-topbar{
    min-height:74px;
    padding-block:13px;
    gap:28px;
}

.sf-brand{
    color:#f1f5f9;
}

.sf-brand-sub{
    color:#64748b;
}

.sf-search input{
    height:52px;
    padding:0 58px 0 18px;
    background:#1e293b;
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    color:#e2e8f0;
    font-size:13.5px;
    transition:border-color .2s,box-shadow .2s;
}

.sf-search input::placeholder{
    color:#64748b;
}

.sf-search:focus-within input{
    border-color:rgba(59,130,246,.5);
    box-shadow:0 0 0 3px rgba(59,130,246,.1),0 0 20px rgba(59,130,246,.08);
}

.sf-search-button{
    top:4px;
    right:4px;
    width:44px;
    height:44px;
    border-radius:10px;
    background:linear-gradient(135deg,#2275fc,#4f46e5);
    color:#fff;
    font-size:24px!important;
    box-shadow:0 4px 14px rgba(34,117,252,.28);
    transition:transform .18s,box-shadow .18s;
}

.sf-search-button:hover{
    background:linear-gradient(135deg,#2275fc,#4f46e5);
    transform:scale(1.04);
    box-shadow:0 6px 18px rgba(34,117,252,.42);
}

.sf-account{
    min-height:44px;
    padding:8px 16px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.1);
    color:#f1f5f9!important;
}

.sf-account:hover{
    background:rgba(34,117,252,.15);
    border-color:rgba(34,117,252,.35);
}

.sf-nav{
    gap:8px;
    padding-bottom:12px;
}

.sf-nav a{
    min-height:38px;
    padding:7px 11px;
    border-radius:9px;
    color:#94a3b8;
    font-size:13px;
    transition:background .18s,color .18s;
}

.sf-nav a:hover{
    color:#f1f5f9;
    background:rgba(59,130,246,.1);
}


/* ===== HERO ===== */
.sf-dashboard-hero{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);
    align-items:center;
    gap:32px;
    margin-top:28px;
    padding:42px 46px;
    min-height:340px;

    background:
        linear-gradient(135deg,#0f172a 0%,#17163b 50%,#0f172a 100%);
    border:1px solid rgba(124,92,255,.18);
    border-radius:24px;
    box-shadow:0 24px 60px rgba(0,0,0,.28);
}

.sf-dashboard-hero__glow{
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    pointer-events:none;
    filter:blur(2px);
}

.sf-dashboard-hero__glow--left{
    top:-130px;
    left:-100px;
    background:radial-gradient(circle,rgba(34,117,252,.16),transparent 70%);
}

.sf-dashboard-hero__glow--right{
    right:-100px;
    bottom:-140px;
    background:radial-gradient(circle,rgba(124,92,255,.18),transparent 70%);
}

.sf-dashboard-hero__content,
.sf-dashboard-hero__brand{
    position:relative;
    z-index:2;
}

.sf-dashboard-kicker,
.sf-dashboard-section-label{
    display:block;
    color:#60a5fa;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.sf-dashboard-hero h1{
    margin-top:10px;
    max-width:690px;
    color:#f1f5f9;
    font-size:clamp(36px,4.2vw,58px);
    line-height:1.08;
    letter-spacing:-2.2px;
    font-weight:900;
}

.sf-dashboard-hero h1 span{
    background:linear-gradient(135deg,#ffffff 0%,#a5b4fc 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.sf-dashboard-hero__copy{
    max-width:700px;
    margin-top:18px!important;
    color:#94a3b8;
    font-size:15px;
    line-height:1.72;
}

.sf-dashboard-hero__actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:26px;
}

.sf-dashboard-main-cta{
    min-width:180px;
    background:linear-gradient(135deg,#2275fc,#4f46e5);
    border:0;
    box-shadow:0 8px 24px rgba(34,117,252,.26);
}

.sf-dashboard-main-cta:hover{
    background:linear-gradient(135deg,#3b82f6,#4f46e5);
    transform:translateY(-1px);
}

.sf-dashboard-ghost{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    color:#e2e8f0!important;
}

.sf-dashboard-ghost:hover{
    background:rgba(255,255,255,.11);
    border-color:rgba(255,255,255,.18);
}

.sf-dashboard-hero__brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:230px;
}

.sf-dashboard-logo-orbit{
    position:relative;
    width:210px;
    height:210px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:
        radial-gradient(circle,rgba(59,130,246,.14) 0%,rgba(99,102,241,.05) 48%,transparent 70%);
}

.sf-dashboard-logo-orbit::before,
.sf-dashboard-logo-orbit::after{
    content:"";
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(96,165,250,.18);
}

.sf-dashboard-logo-orbit::before{inset:15px}
.sf-dashboard-logo-orbit::after{
    inset:35px;
    border-color:rgba(167,139,250,.16);
}

.sf-dashboard-logo-orbit img{
    position:relative;
    z-index:2;
    width:150px;
    height:150px;
    object-fit:contain;
    filter:drop-shadow(0 18px 32px rgba(0,0,0,.45));
}

.sf-dashboard-hero__brand-label{
    margin-top:2px;
    color:#64748b;
    font-size:10px;
    font-weight:800;
    letter-spacing:2px;
}


/* ===== QUICK CARDS giống widget Dashboard ===== */
.sf-dashboard-quick{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-top:22px;
}

.sf-quick-card{
    position:relative;
    min-width:0;
    display:flex;
    align-items:center;
    gap:13px;
    min-height:108px;
    padding:17px;
    overflow:hidden;

    background:#1e293b;
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;

    transition:transform .22s ease,border-color .2s,box-shadow .22s;
}

.sf-quick-card::before{
    content:"";
    position:absolute;
    top:-25px;
    right:-25px;
    width:82px;
    height:82px;
    border-radius:50%;
    opacity:.12;
}

.sf-quick-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 40px rgba(0,0,0,.28);
}

.sf-quick-card__icon{
    flex:0 0 46px;
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    font-size:17px;
    font-weight:900;
}

.sf-quick-card__body{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.sf-quick-card__body small{
    color:#64748b;
    font-size:9px;
    font-weight:800;
    letter-spacing:.9px;
    text-transform:uppercase;
}

.sf-quick-card__body strong{
    margin-top:3px;
    color:#f1f5f9;
    font-size:14px;
    line-height:1.3;
}

.sf-quick-card__body>span{
    margin-top:3px;
    color:#64748b;
    font-size:10.5px;
    line-height:1.35;
}

.sf-quick-card__arrow{
    margin-left:auto;
    flex:0 0 28px;
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    opacity:.55;
    font-size:18px;
    transition:opacity .2s,transform .2s;
}

.sf-quick-card:hover .sf-quick-card__arrow{
    opacity:1;
    transform:scale(1.08);
}

.sf-quick-card--orange::before{background:#f97316}
.sf-quick-card--orange .sf-quick-card__icon{background:rgba(249,115,22,.15);color:#fb923c}
.sf-quick-card--orange .sf-quick-card__arrow{background:rgba(249,115,22,.12);color:#fb923c}
.sf-quick-card--orange:hover{border-color:rgba(249,115,22,.25)}

.sf-quick-card--blue::before{background:#3b82f6}
.sf-quick-card--blue .sf-quick-card__icon{background:rgba(59,130,246,.15);color:#60a5fa}
.sf-quick-card--blue .sf-quick-card__arrow{background:rgba(59,130,246,.12);color:#60a5fa}
.sf-quick-card--blue:hover{border-color:rgba(59,130,246,.25)}

.sf-quick-card--purple::before{background:#a855f7}
.sf-quick-card--purple .sf-quick-card__icon{background:rgba(168,85,247,.15);color:#c084fc}
.sf-quick-card--purple .sf-quick-card__arrow{background:rgba(168,85,247,.12);color:#c084fc}
.sf-quick-card--purple:hover{border-color:rgba(168,85,247,.25)}

.sf-quick-card--green::before{background:#10b981}
.sf-quick-card--green .sf-quick-card__icon{background:rgba(16,185,129,.15);color:#34d399}
.sf-quick-card--green .sf-quick-card__arrow{background:rgba(16,185,129,.12);color:#34d399}
.sf-quick-card--green:hover{border-color:rgba(16,185,129,.25)}


/* ===== CATALOG ===== */
.sf-dashboard-catalog{
    padding-top:34px;
}

.sf-dashboard-section-top{
    margin-bottom:17px;
}

.sf-dashboard-section-top h2{
    color:#f1f5f9;
    margin-top:3px;
    font-size:24px;
    font-weight:850;
}

.sf-dashboard-section-top>div>p{
    margin-top:3px!important;
    color:#64748b;
    font-size:12px;
}

.sf-dashboard-filters{
    padding:4px;
    background:rgba(30,41,59,.72);
    border:1px solid rgba(255,255,255,.06);
    border-radius:12px;
}

.sf-dashboard-filters .sf-filter{
    min-height:36px;
    padding:7px 14px;
    border-radius:9px;
    color:#94a3b8!important;
    border:0;
}

.sf-dashboard-filters .sf-filter:hover{
    background:rgba(59,130,246,.08);
    color:#e2e8f0!important;
}

.sf-dashboard-filters .sf-filter.is-active{
    background:rgba(34,117,252,.18);
    border:1px solid rgba(59,130,246,.32);
    color:#bfdbfe!important;
}


/* ===== PRODUCT CARD cùng Dashboard ===== */
.sf-dashboard-grid{
    gap:16px;
}

.sf-card{
    position:relative;
    background:#1e293b;
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
    overflow:hidden;
    box-shadow:none;
    transition:transform .24s ease,border-color .2s,box-shadow .24s ease;
}

.sf-card:hover{
    transform:translateY(-5px);
    border-color:rgba(59,130,246,.25);
    box-shadow:0 18px 42px rgba(0,0,0,.32);
}

.sf-cover{
    position:relative;
    background:#0f172a;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.sf-cover::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:36%;
    background:linear-gradient(to top,rgba(15,23,42,.48),transparent);
    pointer-events:none;
}

.sf-cover img{
    transition:transform .28s ease;
}

.sf-card:hover .sf-cover img{
    transform:scale(1.025);
}

.sf-card-kind{
    position:absolute;
    z-index:3;
    top:12px;
    left:12px;
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:4px 8px;
    border-radius:7px;
    font-size:9px;
    font-weight:800;
    letter-spacing:.3px;
    backdrop-filter:blur(8px);
}

.sf-card-kind--tool{
    background:rgba(59,130,246,.2);
    border:1px solid rgba(96,165,250,.25);
    color:#bfdbfe;
}

.sf-card-kind--source{
    background:rgba(14,165,233,.18);
    border:1px solid rgba(56,189,248,.24);
    color:#bae6fd;
}

.sf-card-body{
    padding:17px;
}

.sf-card-topline{
    min-height:0;
}

.sf-badge{
    display:none;
}

.sf-card h3{
    margin-top:0;
    color:#f1f5f9;
    font-size:15px;
    font-weight:800;
    line-height:1.4;
}

.sf-card h3 a:hover{
    color:#60a5fa;
}

.sf-meta{
    min-height:34px;
    margin-top:6px!important;
    color:#64748b;
    font-size:10.5px;
    line-height:1.55;
}

.sf-card-purchase{
    width:100%;
    margin-top:auto;
}

.sf-price{
    margin-top:14px!important;
    padding-top:13px;
    border-top:1px solid rgba(255,255,255,.06);
    color:#f8fafc;
    font-size:14px;
    font-weight:850;
}

.sf-card-detail-button{
    min-height:39px;
    margin-top:12px!important;
    padding:8px 12px;
    border-radius:10px;
    background:rgba(255,255,255,.035);
    border-color:rgba(255,255,255,.1);
    color:#e2e8f0!important;
    font-size:12px!important;
}

.sf-card-detail-button:hover{
    background:rgba(59,130,246,.1);
    border-color:rgba(59,130,246,.28);
}

.sf-card-detail-arrow{
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    border-radius:7px;
    color:#93c5fd;
}


/* ===== PAGINATION ===== */
.sf-dashboard-pagination{
    margin-top:24px;
    color:#94a3b8;
    font-size:12px;
}

.sf-dashboard-pagination .sf-button{
    min-height:39px;
    border-radius:10px;
}


/* ===== SUPPORT NOTICE — gần notice-box Dashboard ===== */
.sf-dashboard-support{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:22px;
    align-items:center;
    overflow:hidden;

    margin-block:34px 30px;
    padding:24px 24px 24px 28px;

    background:#18243a;
    border:1px solid rgba(255,255,255,.07);
    border-radius:16px;
}

.sf-dashboard-support__bar{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:4px;
    background:linear-gradient(180deg,#f59e0b,#ef4444);
    box-shadow:2px 0 10px rgba(245,158,11,.24);
}

.sf-dashboard-support__content{
    display:flex;
    align-items:flex-start;
    gap:15px;
}

.sf-dashboard-support__icon{
    flex:0 0 42px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:rgba(245,158,11,.11);
    color:#fbbf24;
}

.sf-dashboard-support h2{
    margin-top:3px;
    color:#f1f5f9;
    font-size:17px;
    font-weight:800;
}

.sf-dashboard-support p{
    max-width:760px;
    margin-top:5px!important;
    color:#94a3b8;
    font-size:12px;
    line-height:1.6;
}


/* ===== FAQ ===== */
.sf-dashboard-faq{
    max-width:none;
    margin:0 0 44px;
    padding:24px;
    background:#111c30;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
}

.sf-dashboard-faq__heading{
    margin-bottom:12px;
}

.sf-dashboard-faq__heading h2{
    margin-top:3px;
    color:#f1f5f9;
    font-size:20px;
}

.sf-dashboard-faq__list{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.sf-dashboard-faq details{
    border:1px solid rgba(255,255,255,.07);
    border-radius:12px;
    padding:0 14px;
    background:#18243a;
}

.sf-dashboard-faq summary{
    padding:13px 0;
    color:#e2e8f0;
    font-size:12.5px;
    line-height:1.45;
}

.sf-dashboard-faq details p{
    padding:0 0 14px;
    color:#94a3b8;
    font-size:12px;
    line-height:1.65;
}


/* PAGE TITLE / EMPTY */
.sf-dashboard-page-title{
    padding:30px 0 4px;
}

.sf-dashboard-page-title h1{
    color:#f1f5f9;
    font-weight:850;
}

.sf-dashboard-empty{
    background:#18243a;
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
}

.sf-dashboard-empty__icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin:0 auto 12px;
    border-radius:14px;
    background:rgba(59,130,246,.12);
    color:#60a5fa;
    font-size:24px;
}


/* FOOTER cùng sắc Dashboard */
.sf-footer{
    background:#111c30;
    border-top:1px solid rgba(255,255,255,.07);
}

.sf-footer-brand,
.sf-footer h2{
    color:#f1f5f9;
}

.sf-footer p,
.sf-footer-grid>div>a:not(.sf-footer-brand),
.sf-footer-bottom{
    color:#94a3b8;
}


/* ===== RESPONSIVE ===== */
@media(max-width:1100px){
    .sf-dashboard-quick{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .sf-dashboard-faq__list{
        grid-template-columns:1fr;
    }
}

@media(max-width:991px){
    .sf-dashboard-hero{
        grid-template-columns:1fr;
        min-height:0;
        padding:34px;
    }

    .sf-dashboard-hero__brand{
        display:none;
    }

    .sf-dashboard-hero h1{
        max-width:650px;
    }
}

@media(max-width:767px){
    .sf-header{
        position:relative;
    }

    .sf-topbar{
        min-height:auto;
    }

    .sf-nav{
        gap:4px;
    }

    .sf-dashboard-support{
        grid-template-columns:1fr;
    }

    .sf-dashboard-support>.sf-button{
        justify-self:start;
    }
}

@media(max-width:639px){
    .sf-dashboard-hero{
        margin-top:16px;
        padding:24px 20px;
        border-radius:18px;
    }

    .sf-dashboard-kicker{
        font-size:9px;
        letter-spacing:1.2px;
    }

    .sf-dashboard-hero h1{
        margin-top:8px;
        font-size:31px;
        line-height:1.12;
        letter-spacing:-1.2px;
    }

    .sf-dashboard-hero__copy{
        margin-top:13px!important;
        font-size:13px;
        line-height:1.65;
    }

    .sf-dashboard-hero__actions{
        margin-top:19px;
        gap:8px;
    }

    .sf-dashboard-hero__actions .sf-button{
        flex:1 1 auto;
        min-width:0;
        font-size:12px;
        padding-inline:12px;
    }

    .sf-dashboard-quick{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        margin-top:12px;
    }

    .sf-quick-card{
        min-height:112px;
        padding:13px 11px;
        gap:9px;
        align-items:flex-start;
    }

    .sf-quick-card__icon{
        flex-basis:37px;
        width:37px;
        height:37px;
        border-radius:10px;
        font-size:14px;
    }

    .sf-quick-card__body strong{
        font-size:12px;
    }

    .sf-quick-card__body>span{
        font-size:9px;
    }

    .sf-quick-card__arrow{
        display:none;
    }

    .sf-dashboard-catalog{
        padding-top:25px;
    }

    .sf-dashboard-section-top h2{
        font-size:20px;
    }

    /* mobile giữ card ngang như storefront hiện tại nhưng dark giống Dashboard */
    .sf-card{
        border-radius:14px;
    }

    .sf-cover{
        min-height:176px;
    }

    .sf-card-body{
        padding:14px;
    }

    .sf-card h3{
        font-size:14px;
    }

    .sf-meta{
        min-height:0;
        font-size:9.5px;
    }

    .sf-price{
        margin-top:10px!important;
        padding-top:10px;
        font-size:12.5px;
    }

    .sf-card-detail-button{
        min-height:36px;
        padding:7px 10px;
        font-size:11px!important;
    }

    .sf-card-kind{
        top:9px;
        left:9px;
        min-height:22px;
        font-size:8px;
    }

    .sf-dashboard-support{
        margin-block:25px;
        padding:19px 17px 19px 20px;
        border-radius:14px;
    }

    .sf-dashboard-support__icon{
        width:37px;
        height:37px;
        flex-basis:37px;
    }

    .sf-dashboard-support h2{
        font-size:15px;
    }

    .sf-dashboard-support p{
        font-size:11px;
    }

    .sf-dashboard-faq{
        padding:17px;
        border-radius:14px;
        margin-bottom:28px;
    }

    .sf-dashboard-faq__heading h2{
        font-size:18px;
    }
}

@media(max-width:380px){
    .sf-dashboard-hero__actions{
        flex-direction:column;
        align-items:stretch;
    }

    .sf-dashboard-quick{
        grid-template-columns:1fr;
    }

    .sf-quick-card{
        min-height:82px;
        align-items:center;
    }
}