/* =====================================================================
   GreatDealReviews — Design System (theo file khách «YÊU CẦU THIẾT KẾ GIAO DIỆN WEBSITE»)
   Mọi màu / cỡ chữ / bo góc đặt TẬP TRUNG ở :root. Đổi nhận diện chỉ sửa ở đây.
   Mobile-first: cỡ mặc định = điện thoại, @media (min-width:900px) = máy tính.
   ===================================================================== */
:root {
    /* 1. Màu thương hiệu (cố định) */
    --navy: #142B46;          /* màu thương hiệu chính */
    --emerald: #15966A;       /* CTA, nút hành động */
    --white: #FFFFFF;         /* nền chính, thẻ */
    --gray: #F3F6F8;          /* nền phụ, phân cách section */
    --amber: #F3B64A;         /* nhấn ưu đãi, Hot Deal */
    --charcoal: #273444;      /* chữ chính */
    --slate: #64748B;         /* chữ phụ */
    --bluegray: #DCE5EF;      /* chữ trên nền tối */
    --border: #E2E8F0;        /* viền, phân cách */
    /* Hover */
    --emerald-h: #107A56;
    --navy-h: #1D3B5C;
    --amber-h: #E5A52F;

    /* 2. Chữ: chỉ Inter 400/500/600/700 — cỡ điện thoại */
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-logo: 23px; --fs-h1: 30px; --fs-h2: 24px; --fs-h3: 20px; --fs-h4: 18px;
    --fs-body: 16px; --fs-small: 14px; --fs-nav: 15px; --fs-btn: 15px;
    --fs-code: 16px; --fs-discount: 25px; --fs-badge: 12px; --fs-caption: 12px;

    /* 3. Bố cục */
    --maxw: 1200px; --gutter: 16px;
    --r-sm: 8px; --r: 10px; --r-lg: 12px;
    --btn-h: 46px; --card-pad: 20px;
    --line: 1px solid var(--border);
    --sec: 48px;
    --shadow: 0 1px 2px rgba(20, 43, 70, .06), 0 4px 16px rgba(20, 43, 70, .06);
    --shadow-h: 0 2px 4px rgba(20, 43, 70, .08), 0 10px 28px rgba(20, 43, 70, .12);
}
@media (min-width: 900px) {
    :root {
        --fs-logo: 28px; --fs-h1: 40px; --fs-h2: 30px; --fs-h3: 22px;
        --fs-code: 17px; --fs-discount: 30px; --fs-caption: 13px;
        --gutter: 24px; --card-pad: 24px; --sec: 64px;
    }
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--emerald); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
h1 { font-size: var(--fs-h1); color: var(--navy); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); color: var(--navy); letter-spacing: -.01em; }
h3 { font-size: var(--fs-h3); color: var(--charcoal); font-weight: 600; }
h4 { font-size: var(--fs-h4); color: var(--charcoal); font-weight: 600; }
p { margin: 0 0 1em; }
small, .small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--slate); }
.muted { color: var(--slate); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec--alt { background: var(--gray); }
.sec--tight { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--slate); }
.sec-head .more { font-weight: 600; font-size: var(--fs-small); white-space: nowrap; }
/* WCAG AA: Slate trên nền Light Gray chỉ đạt 4.38:1 (< 4.5) → chữ phụ trên nền xám dùng Charcoal */
.sec--alt .sec-head p, .page-head p, .page-head .crumbs, .page-head .crumbs a { color: var(--charcoal); }
.grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .grid { gap: 24px; } }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-reviews { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Nút (mục 3 file Word) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-sm); font: 600 var(--fs-btn)/1.2 var(--font); cursor: pointer; text-align: center; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--border) !important; border-color: var(--border) !important; color: var(--slate) !important; cursor: not-allowed; }
.btn-code, .btn-copy, .btn-search { background: var(--emerald); color: var(--white); }
.btn-code:hover, .btn-copy:hover, .btn-search:hover { background: var(--emerald-h); color: var(--white); }
.btn-deal { background: var(--navy); color: var(--white); }
.btn-deal:hover { background: var(--navy-h); color: var(--white); }
.btn-review { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-review:hover { background: var(--navy); color: var(--white); }
.btn-excl { background: var(--amber); color: var(--navy); }
.btn-excl:hover { background: var(--amber-h); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--bluegray); color: var(--navy); }
.btn-block { display: flex; width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: var(--fs-small); }

/* Nút «Get Code» kiểu bóc mã (greatscoupons): góc phải hé 2–3 ký tự cuối của mã */
.btn-peel { position: relative; display: inline-flex; align-items: stretch; min-height: var(--btn-h); min-width: 168px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; font: 600 var(--fs-btn)/1 var(--font); }
.btn-peel .peel-code { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; border: 1px dashed var(--emerald); border-radius: var(--r-sm); background: #EAF6F1; color: var(--navy); font-size: var(--fs-code); font-weight: 700; letter-spacing: .06em; }
.btn-peel .peel-face { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: calc(100% - 44px); background: var(--emerald); color: var(--white); border-radius: var(--r-sm) 0 0 var(--r-sm); padding: 0 16px; transition: width .2s, background-color .15s; }
.btn-peel .peel-face::after { content: ""; position: absolute; top: 0; right: -22px; width: 22px; height: 22px; background: linear-gradient(225deg, transparent 50%, var(--emerald-h) 50%); border-bottom-left-radius: 4px; }
.btn-peel .peel-face::before { content: ""; position: absolute; top: 22px; right: -22px; bottom: 0; width: 22px; background: var(--emerald); }
.btn-peel:hover .peel-face { background: var(--emerald-h); width: calc(100% - 56px); }
.btn-peel:hover .peel-face::before { background: var(--emerald-h); }

/* ---------- Nhãn (badge 12px) ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: var(--fs-badge); font-weight: 600; line-height: 1.4; text-transform: uppercase; letter-spacing: .04em; }
.badge-verified { background: #E3F4EC; color: #0B6B4A; }
.badge-hot, .badge-excl { background: var(--amber); color: var(--navy); }
.badge-code { background: var(--bluegray); color: var(--navy); }
.badge-deal { background: var(--gray); color: var(--charcoal); border: var(--line); }
.badge-end { background: #FDECEC; color: #A61B1B; }
.chip { display: inline-block; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: var(--bluegray); color: var(--navy); font-size: var(--fs-badge); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* Sao: <span class="stars" style="--v:4.5"></span> */
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: #CBD5E1; vertical-align: -1px; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--v, 0) / 5 * 100%); overflow: hidden; white-space: nowrap; color: var(--amber); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--slate); }
.rating b { color: var(--charcoal); font-weight: 600; }

/* ---------- Đầu trang (Header Navy, chữ trắng) + menu gập ---------- */
/* Khách 09/11: đầu trang KHÔNG dính khi cuộn, cao còn khoảng một nửa (76px → 44px máy tính) */
.hdr { position: relative; z-index: 50; background: var(--navy); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hdr-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 48px; }
@media (min-width: 900px) { .hdr-row { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 16px; min-height: 44px; } }
.hdr .logo { font-size: 19px; }
@media (min-width: 900px) { .hdr .logo { font-size: 20px; } }
.hdr-acts[hidden] { display: none !important; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: var(--fs-logo); font-weight: 700; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.logo:hover { color: var(--white); }
.logo-mark { width: 1.15em; height: 1.15em; flex: none; }
.logo-text b { font-weight: 700; }
.logo-text i { font-style: normal; color: var(--amber); }
.logo.on-light, .logo.on-light:hover { color: var(--navy); }
.logo.on-light .logo-text i { color: var(--emerald); }

.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(220, 229, 239, .35); border-radius: var(--r-sm); background: transparent; color: var(--white); font: 500 var(--fs-nav)/1 var(--font); cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--emerald); color: var(--white); background: rgba(21, 150, 106, .16); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .lbl { display: none; }
.hdr-row .menu-btn { grid-column: 3; grid-row: 1; justify-self: end; }
/* Favorites + Account: điện thoại chỉ biểu tượng, cạnh nút menu; máy tính có chữ, bên phải ô tìm */
.hdr-acts { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 2px; }
.hdr-act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--r-sm); color: var(--white); font-size: var(--fs-nav); font-weight: 500; white-space: nowrap; }
.hdr-act:hover { color: var(--white); background: rgba(220, 229, 239, .12); }
.hdr-act svg { width: 22px; height: 22px; }
.hdr-act span { display: none; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
    .menu-btn .lbl { display: inline; }
    .hdr-row .menu-btn, .hdr-acts { grid-column: auto; grid-row: auto; }
    .hdr-row { grid-template-columns: auto auto minmax(0, 1fr) auto; }
}
@media (min-width: 1100px) { .hdr-act span { display: inline; } .hdr-act svg { width: 20px; height: 20px; } }
.nav-acc { display: none; gap: 8px; margin-bottom: 12px; }
.nav-acc .btn { flex: 1; }
@media (max-width: 479px) { .hdr-acts { display: none; } .nav-acc { display: flex; } }
.hdr-search { grid-column: 1 / -1; display: flex; padding-bottom: 8px; }
@media (min-width: 900px) { .hdr-search { grid-column: auto; padding: 0; } }
.hdr-search input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--r-sm) 0 0 var(--r-sm); font: 400 14px var(--font); color: var(--charcoal); background: var(--white); }
.hdr-search input::placeholder { color: var(--slate); }
.hdr-search .btn { min-height: 36px; border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 0 14px; }
@media (min-width: 900px) { .hdr-search input, .hdr-search .btn { height: 32px; min-height: 32px; } }
.hdr .menu-btn, .hdr-act { min-height: 36px; }
/* Máy tính rộng: như ảnh mẫu — logo, ô tìm ở giữa, Favorites + Account; menu ngang nằm dưới banner */
@media (min-width: 1280px) {
    .hdr-row .menu-btn { display: none; }
    .hdr-row { grid-template-columns: 1fr minmax(0, 575px) 1fr; }
    .hdr-row .logo { justify-self: start; }
    .hdr-acts { justify-self: end; }
}
.hdr-links { display: none; gap: 22px; font-size: var(--fs-nav); font-weight: 500; }
.hdr-links a { color: var(--white); }
.hdr-links a:hover { color: #3CC08F; }
@media (min-width: 1100px) { .hdr-links { display: flex; } }

/* Menu danh mục ngang dưới banner (máy tính rộng); màn nhỏ vẫn dùng menu gập. File khách: chữ trắng trên Navy, rê chuột Emerald */
.catbar { display: none; background: var(--navy); color: var(--white); }
@media (min-width: 1280px) { .catbar { display: block; } }
.catbar-list { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.catbar-list > li { position: relative; display: flex; }
.catbar-list > li > a, .catbar-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 50px; padding: 0 8px; border: 0; border-top: 3px solid transparent; border-bottom: 3px solid transparent; background: none; color: var(--white); font: 500 var(--fs-nav)/1 var(--font); white-space: nowrap; cursor: pointer; }
.catbar-list > li > a:hover, .catbar-list > li > a[aria-current="page"], .catbar-dd:hover > .catbar-btn, .catbar-dd:focus-within > .catbar-btn { color: var(--white); border-bottom-color: var(--emerald); }
.catbar-list svg { width: 14px; height: 14px; }
.catbar-list > li.catbar-hot { margin-left: auto; }
.catbar-list > li.catbar-hot > a, .catbar-list > li.catbar-hot > a:hover { color: var(--amber); font-weight: 600; }
.catbar-list > li.catbar-hot svg { width: 18px; height: 18px; }
.catbar-drop { display: none; position: absolute; top: 100%; left: 0; z-index: 45; min-width: 220px; margin: 0; padding: 6px; list-style: none; border: var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--white); box-shadow: var(--shadow-h); }
.catbar-dd:hover .catbar-drop, .catbar-dd:focus-within .catbar-drop { display: block; }
.catbar-drop a { display: block; padding: 9px 10px; border-radius: 6px; color: var(--charcoal); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.catbar-drop a:hover { background: var(--gray); color: var(--emerald-h); }
/* Dải công bố affiliate dưới menu, như ảnh mẫu */
.disc-bar { border-bottom: var(--line); background: var(--gray); color: var(--charcoal); font-size: var(--fs-small); line-height: 1.45; }
.disc-bar p { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 8px 0; }
.disc-bar svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--emerald-h); }
.promo-sec { padding-top: 20px; }

/* Bảng menu gập: máy tính xổ dưới đầu trang 4 cột; điện thoại ngăn kéo cả màn hình */
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--charcoal); border-bottom: var(--line); box-shadow: 0 18px 40px rgba(20, 43, 70, .18); }
.nav-panel[hidden] { display: none; }
.nav-panel .wrap { padding-top: 20px; padding-bottom: 24px; }
.nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nav-head h2 { margin: 0; font-size: var(--fs-h4); color: var(--navy); }
.nav-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: var(--gray); color: var(--navy); font-size: 24px; cursor: pointer; }
.nav-grid { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .nav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .nav-grid { grid-template-columns: repeat(4, 1fr); gap: 4px 16px; } }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--charcoal); font-size: var(--fs-nav); font-weight: 500; }
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--gray); color: var(--emerald-h); }
.nav-link .ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--bluegray); color: var(--navy); }
.nav-link .ic svg { width: 18px; height: 18px; }
.nav-sub { display: flex; gap: 16px; padding: 0 10px 8px 56px; margin-top: -6px; font-size: var(--fs-small); }
.nav-sub a { color: var(--emerald-h); font-weight: 500; padding: 4px 0; }
.nav-sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
    .nav-panel { position: fixed; inset: 0; top: 0; overflow-y: auto; border: 0; z-index: 60; }
    body.menu-open { overflow: hidden; }
}

/* ---------- Trang chủ: banner lớn như ảnh mẫu, màu theo file khách (Navy, nút Emerald) ---------- */
.bnr-sec { padding: 12px 0; background: var(--white); }
.bnr { position: relative; overflow: hidden; display: flex; align-items: center; padding: 28px 20px; border-radius: var(--r-lg); background: var(--navy); color: var(--white); }
.bnr::before { content: ""; position: absolute; right: -60px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: var(--navy-h); }
.bnr-text { position: relative; z-index: 1; }
.bnr-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: var(--navy-h); color: var(--bluegray); font-size: var(--fs-small); font-weight: 500; }
.bnr-pill svg { width: 16px; height: 16px; color: var(--amber); }
.bnr h1 { margin: 0 0 12px; color: var(--white); }
.bnr p { margin: 0 0 22px; color: var(--bluegray); font-size: 17px; }
.bnr-art { display: none; }
@media (min-width: 900px) {
    .bnr { min-height: 346px; padding: 40px 56px; }
    .bnr::before { right: 40px; top: -70px; width: 480px; height: 480px; }
    .bnr-text { max-width: 58%; }
    .bnr-art { display: block; position: absolute; z-index: 1; right: 88px; top: 50%; width: 240px; height: 240px; transform: translateY(-50%); }
    .bnr-art > svg { width: 240px; height: 240px; }
    .bnr-badge { position: absolute; right: -44px; top: -14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 112px; height: 112px; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; }
    .bnr-badge svg { width: 20px; height: 20px; }
}
.slider { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-h); aspect-ratio: 12 / 5; }
@media (min-width: 900px) { .slider { aspect-ratio: 10 / 3; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(20, 43, 70, .88)); }
.slide-cap b { display: block; font-size: var(--fs-h4); color: var(--white); }
.slide-cap span { font-size: var(--fs-small); color: var(--bluegray); }
.dots { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.dots button.is-on { background: var(--amber); width: 22px; border-radius: 5px; }
.promo-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-row::-webkit-scrollbar { display: none; }
.promo-row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .promo-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; } }
.promo { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--navy-h); aspect-ratio: 2 / 1; }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.promo:hover img { transform: scale(1.03); }
.promo span { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: var(--amber); color: var(--navy); font-size: var(--fs-small); font-weight: 600; }

/* ---------- Thẻ deal sản phẩm (Top Deals Today) ---------- */
.dcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.dcard:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.dcard-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); border-bottom: var(--line); }
.dcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dcard:hover .dcard-img img { transform: scale(1.03); }
.dcard-img img.logo-fallback { inset: 25%; width: 50%; height: 50%; object-fit: contain; }
.dcard-pct { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 6px; background: var(--amber); color: var(--navy); font-size: 13px; font-weight: 700; }
.dcard-tag { position: absolute; top: 10px; right: 10px; }
.dcard-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px; }
@media (min-width: 900px) { .dcard-body { padding: 16px 18px 18px; } }
.dcard-store { font-size: var(--fs-caption); font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; }
.dcard-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--charcoal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
@media (min-width: 900px) { .dcard-title { font-size: 16px; } }
.dcard-title a { color: inherit; }
.dcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.dcard-price .now { font-size: 20px; font-weight: 700; color: var(--navy); }
.dcard-price .was { font-size: var(--fs-small); color: var(--slate); text-decoration: line-through; }
.dcard-price .off { font-size: var(--fs-small); font-weight: 700; color: var(--emerald-h); }
.dcard-offer { font-size: var(--fs-h4); font-weight: 700; color: var(--emerald-h); }
.dcard .btn { margin-top: auto; }
.dcard-foot { margin-top: auto; padding-top: 10px; }

/* ---------- Danh mục (Browse by Category) ---------- */
.g-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .g-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.ctile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 124px; padding: 16px 10px; background: var(--white); border: var(--line); border-radius: var(--r-lg); color: var(--charcoal); text-align: center; font-size: var(--fs-small); font-weight: 600; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.ctile:hover { border-color: var(--emerald); box-shadow: var(--shadow); color: var(--navy); }
.ctile .ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bluegray); color: var(--navy); transition: background-color .15s, color .15s; }
.ctile:hover .ic { background: var(--emerald); color: var(--white); }
.ctile .ic svg { width: 26px; height: 26px; }
.ctile small { display: block; margin-top: 2px; font-weight: 400; font-size: var(--fs-caption); color: var(--slate); }

/* ---------- Thẻ review (Latest Reviews) ---------- */
.rcard { display: flex; flex-direction: column; background: var(--white); border: var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s; }
.rcard:hover { box-shadow: var(--shadow-h); }
.rcard-img { display: block; aspect-ratio: 16 / 9; background: var(--gray); overflow: hidden; }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; }
.rcard-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: var(--card-pad); }
.rcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rcard-title { margin: 0; font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; color: var(--navy); }
.rcard-title a { color: inherit; }
.rcard-title a:hover { color: var(--emerald-h); }
.rcard-ex { margin: 0; color: var(--charcoal); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rcard-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-caption); color: var(--slate); }
.rcard .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Ô store (logo) ---------- */
.g-stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .g-stores { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g-stores { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.stile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; background: var(--white); border: var(--line); border-radius: var(--r-lg); text-align: center; color: var(--charcoal); font-size: var(--fs-small); font-weight: 600; }
.stile:hover { border-color: var(--emerald); box-shadow: var(--shadow); }
.stile small { font-weight: 400; color: var(--slate); font-size: var(--fs-caption); }
.slogo { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--r); background: var(--white); border: var(--line); overflow: hidden; color: var(--navy); font-size: 26px; font-weight: 700; }
.slogo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.slogo-lg { width: 120px; height: 120px; font-size: 44px; }

/* ---------- Đăng ký nhận ưu đãi ---------- */
.news { display: grid; gap: 16px; align-items: center; padding: 28px var(--card-pad); border-radius: var(--r-lg); background: var(--navy); color: var(--white); }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; padding: 40px 48px; } }
.news h2 { color: var(--white); margin: 0 0 6px; }
.news p { margin: 0; color: var(--bluegray); }
.news form, .inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news input, .inline-form input { flex: 1 1 200px; min-width: 0; height: var(--btn-h); padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm); font: 400 15px var(--font); color: var(--charcoal); }
.hp { position: absolute; left: -9999px; }
.flash-ok { padding: 12px 16px; border-radius: var(--r-sm); background: #E3F4EC; color: #0B6B4A; font-weight: 600; }

/* ---------- Chân trang (Navy, chữ trắng + Light Blue Gray) ---------- */
/* Khách 09/11: chân trang gọn còn ~½ — chữ nhỏ, dòng sát, «nhỏ nhỏ xinh» như chân trang fairlyreview */
.ftr { background: var(--navy); color: var(--bluegray); padding: 24px 0 0; font-size: 13px; line-height: 1.5; }
.ftr-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .ftr-grid { grid-template-columns: repeat(3, 1fr); } .ftr-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; } .ftr-brand { grid-column: auto; } }
.ftr .logo { font-size: 18px; }
.ftr-brand p { margin: 8px 0 10px; max-width: 360px; }
.ftr h2 { margin: 0 0 6px; color: var(--white); font-size: 13px; font-weight: 600; }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.ftr ul a { display: inline-block; padding: 2px 0; color: var(--bluegray); }
.ftr ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #0D1E33; color: var(--white); border: 1px solid rgba(220, 229, 239, .18); transition: background-color .15s; }
.social a:hover { background: var(--emerald); color: var(--white); }
.social svg { width: 16px; height: 16px; }
.ftr-bottom { margin-top: 18px; padding: 10px 0 14px; border-top: 1px solid rgba(220, 229, 239, .16); font-size: 12px; }
.disclosure { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 4px; color: var(--bluegray); }
.disclosure svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--amber); }
.copy { margin: 0; color: var(--bluegray); opacity: .85; }

/* ---------- Đầu trang con + đường dẫn ---------- */
.page-head { background: var(--gray); border-bottom: var(--line); padding: 28px 0; }
.page-head h1 { margin: 0 0 6px; }
.page-head p { margin: 0; color: var(--slate); max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--slate); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--slate); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--emerald-h); }

/* ---------- Trang store (kiểu greatscoupons) ---------- */
.store-wrap { padding: 72px 0 var(--sec); }   /* chị Bảo 09/11 tối: bỏ ảnh bìa xong «cho tổng thể cả bên logo thấp xuống 1, 2 dòng», «hơi cách ra như mẫu» fairlyreview (~70px) */
@media (max-width: 899px) { .store-wrap { padding-top: 28px; } }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.store-layout > * { min-width: 0; }
@media (min-width: 900px) { .store-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; } }
.side { display: grid; gap: 16px; }
/* Điện thoại: thẻ store → tiêu đề + mã (khách từ Ads thấy mã ngay) → thống kê → store tương tự */
@media (max-width: 899px) {
    .side { display: contents; }
    .s-card { order: 1; }
    .store-layout > .main { order: 2; }
    .sbox-glance { order: 3; }
    .side-extra { order: 4; }
}
.sbox { background: var(--white); border: var(--line); border-radius: var(--r-lg); padding: var(--card-pad); }
.sbox h2, .sbox h3 { font-size: var(--fs-h4); color: var(--navy); margin: 0 0 12px; }
.s-card { text-align: center; }
.s-card .slogo { margin: 0 auto 12px; }
.s-card .s-name { font-size: var(--fs-h4); font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.s-card .s-site { display: inline-block; margin-bottom: 14px; font-size: var(--fs-small); }
@media (max-width: 899px) {
    .s-card { display: grid; grid-template-columns: 80px 1fr; gap: 4px 14px; text-align: left; align-items: center; }
    .s-card .slogo { width: 80px; height: 80px; margin: 0; grid-row: span 3; }
    .s-card .s-site { margin: 0; }
    .s-card .s-actions { grid-column: 1 / -1; margin-top: 10px; }
}
.s-rating { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; border-top: var(--line); border-bottom: var(--line); margin-bottom: 14px; }
@media (max-width: 899px) { .s-rating { align-items: flex-start; padding: 0; border: 0; margin: 0; } }
.s-rating .score { font-size: var(--fs-small); color: var(--slate); }
.rate-it { display: inline-flex; align-items: center; gap: 2px; }
.rate-it button { width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #CBD5E1; font-size: 22px; line-height: 1; cursor: pointer; }
.rate-it button.on, .rate-it:hover button { color: var(--amber); }
.rate-it button:hover ~ button { color: #CBD5E1; }
.rate-lbl { font-size: var(--fs-caption); color: var(--slate); }
.s-actions { display: grid; gap: 10px; }
.btn-fav[aria-pressed="true"] { background: #FDECEC; border-color: #F6D5D2; color: #A61B1B; }
.btn-fav[aria-pressed="true"] svg { fill: currentColor; }
.fav-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--gray); color: var(--slate); font-size: 18px; line-height: 1; cursor: pointer; }
.fav-x:hover { background: #FDECEC; color: #A61B1B; }
.fav-tile { position: relative; }
.s-stats { margin: 0; display: grid; gap: 0; }
.s-stats div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: var(--line); font-size: 15px; }
.s-stats div:last-child { border-bottom: 0; }
.s-stats dt { color: var(--slate); }
.s-stats dd { margin: 0; font-weight: 700; color: var(--navy); }
.s-alert-form { display: grid; gap: 8px; margin-top: 10px; }
.s-alert-form input { height: 44px; padding: 0 12px; border: var(--line); border-radius: var(--r-sm); font: 400 15px var(--font); }
.s-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.s-links a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; color: var(--charcoal); }
.s-links a:hover { color: var(--emerald-h); }
.s-links .slogo { width: 36px; height: 36px; border-radius: 8px; font-size: 15px; }
.s-links .slogo img { padding: 4px; }

/* ---------- Khách 09/11: trang coupon ---------- */
.store-wrap .slogo { border: 0; }                          /* logo store không viền khung (như fairlyreview) */
.store-wrap .store-title .lead { margin-bottom: 18px; }
/* «Similar Stores»: link 3 cột như «Thương hiệu phổ biến» của fairlyreview */
.sim-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
@media (min-width: 700px) { .sim-list { columns: 3; } }
.sim-list li { break-inside: avoid; }
.sim-list a { display: block; padding: 3px 0; font-size: 15px; }
.sim-list + .pager { margin-top: 14px; }
.sim-wide { margin-top: 32px; }   /* khối trải hết chiều ngang dưới 2 cột */
/* 09/11: chữ dài (tên store dài, trình duyệt tự dịch) không được đẩy cột trái lấn sang cột giữa — nút tự xuống dòng */
.side, .side .sbox { min-width: 0; }
.side .btn { white-space: normal; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; overflow-wrap: anywhere; }
.side .s-name, .side .s-site, .s-stats dd, .s-stats dt { overflow-wrap: anywhere; }
.s-stats dd { text-align: right; }
/* «căn chỉnh lại cho ok kể cả là chữ gì»: mọi chữ trên trang store / thẻ tự xuống dòng, không tràn khung, không đè nhau */
.store-wrap h1, .store-wrap h2, .store-wrap h3, .store-title .lead, .ccard-title, .ccard-desc, .sim-list a, .prose, .faq summary, .dcard-title, .dcard-store, .store-banner-tag { overflow-wrap: anywhere; }
.ccard-body, .main, .clist, .block { min-width: 0; }
.s-stats div { align-items: baseline; }
.s-stats dt { flex: 1 1 auto; min-width: 0; }
.s-stats dd { flex: 0 1 auto; max-width: 55%; }
.store-banner-tag { max-width: calc(100% - 24px); white-space: normal; }
.btn-peel { max-width: 100%; }
.btn-peel .peel-face { white-space: normal; text-align: center; line-height: 1.25; }
.ccard-act .btn { white-space: normal; line-height: 1.25; }
.tab { white-space: nowrap; }
/* Ảnh sản phẩm thật đầu trang store (khách 09/11) */
.store-banner { position: relative; display: block; height: 160px; margin-bottom: 18px; border-radius: var(--r-lg); overflow: hidden; background: #EEF9EE; }
@media (min-width: 900px) { .store-banner { height: 220px; } }
.store-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s; }
.store-banner:hover img { transform: scale(1.02); }
.store-banner-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0F7F14; font-size: 13px; font-weight: 600; }
/* Màu xanh lá tươi RIÊNG trang coupon (khách: «trang coupon hơi chìm … màu xanh nổi bật như mã này» — mẫu fairlyreview) */
.cp-green { --emerald: #12A012; --emerald-h: #0D850D; --navy-cp: #0F7F14; }
.cp-green a:not(.btn) { color: #0E8F12; }
.cp-green a:not(.btn):hover { color: #0A6E0D; }
.cp-green .ccard-off .num, .cp-green .ccard-off .unit { color: #0E9A12; }
.cp-green .ccard-off { background: #EEF9EE; }
.cp-green .badge-verified { background: transparent; color: #0E9A12; padding-left: 0; padding-right: 0; font-size: 13px; }
.cp-green .ccard-title { color: #1B2B1B; }
.cp-green .btn-deal { background: #12A012; color: var(--white); }
.cp-green .btn-deal:hover { background: #0D850D; }
.cp-green .btn-review { color: #0E8F12; border-color: #12A012; }
.cp-green .btn-review:hover { background: #12A012; border-color: #12A012; color: var(--white); }
.cp-green .btn-peel .peel-code { background: #EEF9EE; }
.cp-green .tab:hover { border-color: #12A012; }
.cp-green .tab.is-active { background: #12A012; border-color: #12A012; }
.cp-green .tab.is-active .n { background: #0D850D; }
.cp-green .block > h2, .cp-green .sbox h2, .cp-green .s-name, .cp-green .steps b, .cp-green .faq details[open] summary { color: #0F7F14; }
.cp-green .s-stats dd { color: #0F7F14; }
.cp-green .pager .current { background: #12A012; border-color: #12A012; color: var(--white); }

.store-title h1 { margin-bottom: 8px; }
.store-title .lead { margin: 0 0 6px; color: var(--charcoal); }
.store-title .updated { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-small); color: var(--slate); margin-bottom: 18px; }
.store-title .updated svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--emerald); }
.tabs { display: flex; gap: 8px; margin: 0 0 16px; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: var(--line); border-radius: 999px; background: var(--white); color: var(--charcoal); font: 600 var(--fs-small)/1 var(--font); cursor: pointer; }
.tab .n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gray); color: var(--slate); font-size: 12px; }
.tab:hover { border-color: var(--navy); }
.tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tab.is-active .n { background: var(--navy-h); color: var(--white); }

/* Thẻ mã (Coupon Card: nền trắng, chữ Charcoal, viền Border Gray, padding 20–24) */
.clist { display: grid; gap: 14px; }
.ccard { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px 16px; padding: 16px; background: var(--white); border: var(--line); border-radius: var(--r-lg); transition: box-shadow .2s, border-color .2s; }
@media (min-width: 700px) { .ccard { grid-template-columns: 116px minmax(0, 1fr) auto; align-items: center; padding: var(--card-pad); gap: 20px; } }
.ccard:hover { box-shadow: var(--shadow); border-color: #CBD5E1; }
.ccard.is-hidden { display: none; }
.ccard-off { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 84px; border-radius: var(--r); background: var(--gray); text-align: center; line-height: 1.05; }
@media (min-width: 700px) { .ccard-off { min-height: 104px; } }
.ccard-off .num { font-size: var(--fs-discount); font-weight: 700; color: var(--emerald); letter-spacing: -.02em; word-break: break-word; padding: 0 4px; }
.ccard-off .num.sm { font-size: 18px; }
.ccard-off .unit { margin-top: 4px; font-size: var(--fs-badge); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; }
.ccard-body { min-width: 0; }
.ccard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ccard-title { margin: 0 0 6px; font-size: var(--fs-h4); font-weight: 600; color: var(--charcoal); line-height: 1.35; }
.ccard-desc { margin: 0 0 6px; font-size: var(--fs-small); color: var(--slate); }
.ccard-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-caption); color: var(--slate); }
.ccard-act { grid-column: 1 / -1; display: flex; }
.ccard-act > * { flex: 1; }
@media (min-width: 700px) { .ccard-act { grid-column: auto; display: block; } .ccard-act > * { width: 180px; } }
.ccard.is-expired { opacity: .6; }
.ccard.is-expired .ccard-off .num { color: var(--slate); }

/* Khối nội dung dưới danh sách mã */
.block { margin-top: 32px; padding: var(--card-pad); background: var(--white); border: var(--line); border-radius: var(--r-lg); }
.block > h2 { font-size: var(--fs-h3); margin-bottom: 14px; }
.prose { color: var(--charcoal); }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.4em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--emerald-h); }
.prose img { border-radius: var(--r); margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--emerald); background: var(--gray); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px; border: var(--line); text-align: left; }
.prose th { background: var(--gray); color: var(--navy); }

/* Editor's Verdict */
.verdict-top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.v-score { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--white); }
.v-score b { font-size: 28px; line-height: 1; }
.v-score span { font-size: 12px; color: var(--bluegray); }
.verdict-top p { margin: 0; }
.v-cols { display: grid; gap: 16px; }
@media (min-width: 700px) { .v-cols { grid-template-columns: 1fr 1fr; } }
.v-col { padding: 16px; border-radius: var(--r); border: var(--line); }
.v-col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: var(--fs-h4); }
.v-col h3 svg { width: 20px; height: 20px; }
.v-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.v-col li { display: flex; gap: 10px; font-size: 15px; }
.v-col li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.v-final { margin-top: 16px; padding: 16px; border-radius: var(--r); background: var(--gray); border: var(--line); }
.v-final p { margin: 0 0 8px; }
.v-final p b { color: var(--navy); }
.v-pros { background: #F1FAF6; border-color: #CDEBDF; }
.v-pros h3, .v-pros svg { color: #0B6B4A; }
.v-cons { background: #FFF6F5; border-color: #F6D5D2; }
.v-cons h3, .v-cons svg { color: #A61B1B; }

/* How to apply */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--emerald); color: var(--white); font-weight: 700; font-size: 15px; }
.steps b { color: var(--navy); }

/* Đánh giá của người mua */
.rv-sum { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 700px) { .rv-sum { grid-template-columns: 200px 1fr auto; align-items: center; } }
.rv-avg { text-align: center; }
.rv-avg b { display: block; font-size: 44px; line-height: 1; color: var(--navy); }
.rv-avg .stars { font-size: 18px; margin: 8px 0 4px; }
.rv-bars { display: grid; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 54px 1fr 36px; gap: 10px; align-items: center; font-size: var(--fs-small); color: var(--slate); }
.rv-bar i { display: block; height: 8px; border-radius: 4px; background: var(--gray); overflow: hidden; }
.rv-bar i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--amber); border-radius: 4px; }
.rv-list { display: grid; gap: 0; margin-top: 8px; }
.rv-item { padding: 16px 0; border-top: var(--line); }
.rv-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 6px; }
.rv-item header b { color: var(--charcoal); }
.rv-item h3 { font-size: 16px; margin: 0 0 4px; }
.rv-item p { margin: 0; font-size: 15px; }
.rv-form { display: grid; gap: 12px; margin-top: 16px; padding: 16px; border-radius: var(--r); background: var(--gray); }
.rv-form[hidden] { display: none; }

/* Hỏi đáp: bấm mới mở (accordion) */
.faq { display: grid; gap: 10px; }
.faq details { border: var(--line); border-radius: var(--r); background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details[open] summary { color: var(--emerald-h); }
.faq .ans { padding: 0 16px 16px; color: var(--charcoal); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Biểu mẫu ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--charcoal); }
.input, textarea.input, select.input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: var(--r-sm); background: var(--white); font: 400 15px/1.5 var(--font); color: var(--charcoal); }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--emerald); outline: 2px solid rgba(21, 150, 106, .25); outline-offset: 0; }
.field-err { font-size: var(--fs-small); color: #A61B1B; }
.star-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 28px; line-height: 1; color: #CBD5E1; cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--amber); }
.star-pick input:focus-visible + label { outline: 3px solid var(--amber); border-radius: 4px; }

/* ---------- Hộp mã (modal) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 43, 70, .6); }
.modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--white); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.modal-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: none; font-size: 28px; color: var(--slate); cursor: pointer; }
.modal-x:hover { background: var(--gray); color: var(--navy); }
.cm-head .slogo { margin: 0 auto 10px; }
.cm-store { margin: 0 0 4px; font-size: var(--fs-small); color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.cm-head h3 { color: var(--navy); font-size: var(--fs-h4); margin-bottom: 16px; }
.cm-code { display: flex; align-items: stretch; margin: 0 auto 10px; border: 2px dashed var(--emerald); border-radius: var(--r-sm); overflow: hidden; }
.cm-code span { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 22px; font-weight: 700; letter-spacing: .08em; color: var(--navy); background: #F1FAF6; word-break: break-all; }
.cm-code .btn { border-radius: 0; min-width: 96px; }
.cm-hint { font-size: var(--fs-small); color: var(--slate); margin: 0 0 16px; }
.cm-hint.is-copied { color: #0B6B4A; font-weight: 600; }
.cm-expires { margin: 10px 0 0; font-size: var(--fs-caption); color: var(--slate); }
.cm-feedback { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: var(--line); font-size: var(--fs-small); color: var(--slate); }
.cm-feedback button { min-height: 36px; padding: 0 14px; border: var(--line); border-radius: var(--r-sm); background: var(--white); font: 600 var(--fs-small) var(--font); color: var(--navy); cursor: pointer; }
.cm-feedback button:hover { border-color: var(--emerald); color: var(--emerald-h); }

/* ---------- Danh sách / lọc / phân trang ---------- */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.az a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: var(--line); border-radius: var(--r-sm); background: var(--white); font-weight: 600; font-size: var(--fs-small); color: var(--navy); }
.az a:hover, .az a.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: var(--line); border-radius: 999px; font-size: var(--fs-small); font-weight: 600; color: var(--charcoal); background: var(--white); }
.filters a:hover, .filters a.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: var(--line); border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-small); color: var(--navy); background: var(--white); }
.pager a:hover { border-color: var(--navy); }
.pager .is-on, .pager .current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pager .is-off, .pager .disabled { color: var(--slate); background: var(--gray); }
.empty { padding: 40px 20px; text-align: center; color: var(--slate); background: var(--gray); border-radius: var(--r-lg); }

/* ---------- Bài review ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article-head { margin-bottom: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: var(--fs-small); color: var(--slate); margin-top: 10px; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; aspect-ratio: 16 / 9; background: var(--gray); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.auth-box { max-width: 440px; margin: 0 auto; }

/* ---- trang phụ ---- */
/* Danh sách / trang con dùng chung */
.list-reset { margin: 0; padding: 0; list-style: none; }
.list-reset > li { display: flex; }
.list-reset > li > * { flex: 1; }
.sec--alt .empty { background: var(--white); border: var(--line); }
.empty a { font-weight: 600; }
.empty p:last-child { margin-bottom: 0; }
.ph-count { margin: -4px 0 16px; font-size: var(--fs-small); color: var(--slate); }
.ph-title { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.ph-title h1 { margin: 0; }
.ph-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--navy); color: var(--white); }
.ph-ic svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .ph-ic { width: 60px; height: 60px; } .ph-ic svg { width: 30px; height: 30px; } }
.page-head .ph-filters { margin: 16px 0 0; }
.page-head .ph-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ph-search { max-width: 640px; margin-top: 18px; }
.ph-search input { border-color: var(--border); }
.ph-search .btn { flex: none; }
.sec-head--gap { margin-top: 40px; }
.sec-head h2 .small { font-weight: 500; }
/* Chip lọc: điện thoại cuộn ngang 1 hàng thay vì xuống nhiều dòng */
@media (max-width: 639px) {
    .filters--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
    .filters--scroll::-webkit-scrollbar { display: none; }
    .filters--scroll a { flex: none; }
}
/* Ô store: danh mục + số ưu đãi xếp sát nhau */
.st-meta { display: grid; gap: 2px; }

/* Thẻ sự kiện (/events) */
.g-events { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g-events { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.etile { display: flex; align-items: center; gap: 16px; padding: var(--card-pad); background: var(--white); border: var(--line); border-radius: var(--r-lg); color: var(--charcoal); transition: border-color .15s, box-shadow .15s; }
.etile:hover { border-color: var(--emerald); box-shadow: var(--shadow); color: var(--charcoal); }
.etile.is-live { border-color: var(--amber); }
.etile .ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--bluegray); color: var(--navy); transition: background-color .15s, color .15s; }
.etile:hover .ic { background: var(--emerald); color: var(--white); }
.etile .ic svg { width: 26px; height: 26px; }
.etile-body { display: grid; gap: 4px; min-width: 0; }
.etile-name { font-size: var(--fs-h4); font-weight: 700; color: var(--navy); line-height: 1.3; }
.etile-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-small); color: var(--slate); }
.etile-go { font-size: var(--fs-small); font-weight: 600; color: var(--emerald-h); }

/* Danh sách ưu đãi /coupons: bộ lọc + tên store trên từng thẻ mã */
.filter-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 24px; padding: 16px; background: var(--gray); border: var(--line); border-radius: var(--r-lg); }
.filter-bar .check, .filter-bar .fb-actions { grid-column: 1 / -1; }
@media (min-width: 900px) {
    .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px; }
    .filter-bar .check { grid-column: 1 / 3; }
    .filter-bar .fb-actions { grid-column: 3 / -1; justify-content: flex-end; }
}
.fb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-item { display: grid; gap: 6px; }
.cl-store { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding-left: 4px; font-size: var(--fs-small); font-weight: 600; color: var(--slate); }
.cl-store:hover { color: var(--emerald-h); }
.cl-store .slogo { width: 28px; height: 28px; border-radius: 6px; font-size: 13px; }
.cl-store .slogo img { padding: 3px; }

/* Bài review / blog */
.art-sec { padding-top: 24px; }
.article-head .chip { margin-bottom: 12px; }
.article-head .lead { margin: 8px 0 0; font-size: 18px; color: var(--slate); }
.article-meta .rating { font-size: inherit; }
.block .clist { margin-bottom: 0; }
.block-foot { margin-top: 16px; }
.art-disclosure { margin: 28px 0 0; padding-top: 16px; border-top: var(--line); }
.art-disclosure a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.prose > :first-child { margin-top: 0; }
.prose .faq { margin: 0 0 1em; }

/* Biểu mẫu: đăng nhập / đăng ký / tài khoản */
.form-stack { display: grid; gap: 16px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: var(--fs-small); color: var(--charcoal); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--emerald); }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.auth-box.block { margin-top: 0; }
.auth-box h1 { font-size: var(--fs-h2); margin-bottom: 6px; }
.auth-box > .muted { margin-bottom: 20px; }
.auth-box .flash-ok { margin-bottom: 12px; }
.auth-alt { margin: 18px 0 0; text-align: center; font-size: var(--fs-small); color: var(--slate); }
.auth-alt a { font-weight: 600; }
.perks { display: grid; gap: 14px; margin: 24px 0 0; padding: 20px 0 0; list-style: none; border-top: var(--line); }
.perks li { display: flex; gap: 12px; font-size: var(--fs-small); }
.perks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--emerald); }
.perks b { display: block; color: var(--navy); }
.perks span { color: var(--slate); }
.acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.acc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; }
@media (min-width: 640px) { .acc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acc-stats a { display: grid; gap: 2px; padding: 16px; background: var(--white); border: var(--line); border-radius: var(--r-lg); color: var(--slate); font-size: var(--fs-small); }
.acc-stats a:hover { border-color: var(--emerald); box-shadow: var(--shadow); }
.acc-stats b { font-size: var(--fs-h3); color: var(--navy); line-height: 1.2; }
.acc-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.acc-grid .g-stores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1000px) { .acc-grid .g-stores { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acc-grid .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .acc-grid .g-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acc-suggest, .acc-codes-head { margin-top: 24px; }
.acc-form { margin-top: 0; }
.acc-form h2 { font-size: var(--fs-h4); margin: 0; }
.acc-pass summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: var(--fs-small); }
.acc-pass[open] summary { margin-bottom: 12px; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; padding: 14px 16px; border: var(--line); border-left: 4px solid var(--amber); border-radius: var(--r-sm); background: var(--white); }
.notice p { margin: 2px 0 0; color: var(--slate); }
.filters + .flash-ok, .flash-ok + .notice { margin-bottom: 20px; }

/* Trang Coming soon (errors/503): nền Navy, logo trắng */
body.soon { display: grid; place-items: center; min-height: 100vh; padding: 32px var(--gutter); background: var(--navy); color: var(--bluegray); text-align: center; }
.soon-box { max-width: 560px; }
.soon-box .logo { justify-content: center; font-size: 30px; }
.soon-box h1 { margin: 32px 0 12px; color: var(--white); }
.soon-box p { margin: 0 auto; font-size: 17px; color: var(--bluegray); }
.soon-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: var(--fs-small); }
.soon-points li { display: flex; align-items: center; gap: 6px; }
.soon-points svg { width: 16px; height: 16px; color: var(--amber); }

/* ================= Khách 09/11 (video 2): trang chủ «y hệt gosmartreview», nhiều màu, không «buồn» ================= */
:root { --blue: #1D5BD8; --blue-h: #1749B3; --red: #E02D3C; }
/* Banner lớn: nền xanh dương tươi như «Summer Mega Sale» của mẫu */
.is-home .bnr { background: linear-gradient(120deg, #1D4ED8 0%, #2F6FEB 55%, #4F8DF7 100%); padding: 34px 24px; }
.is-home .bnr::before { background: rgba(255, 255, 255, .10); }
.is-home .bnr::after { content: ""; position: absolute; left: 38%; bottom: -140px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.is-home .bnr-pill { background: rgba(255, 255, 255, .16); color: var(--white); }
.is-home .bnr h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; }
.is-home .bnr p { color: #E6EEFF; }
.is-home .bnr .btn-code { background: var(--white); color: var(--blue); }
.is-home .bnr .btn-code:hover { background: #E6EEFF; color: var(--blue-h); }
/* Lưới banner 1 lớn + 2 nhỏ dưới menu */
.promo-sec { padding: 20px 0 0; }
.promo-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .promo-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; } .promo-grid > :first-child { grid-row: span 2; } }
.promo-grid .promo { aspect-ratio: auto; min-height: 150px; }
@media (min-width: 760px) { .promo-grid .promo:first-child { min-height: 320px; } }
.promo-art { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 20px; color: var(--white); }
.promo-art b { font-size: 22px; line-height: 1.15; font-weight: 800; }
.promo-art:first-child b { font-size: clamp(26px, 3.4vw, 40px); }
.promo-art small { font-size: 14px; opacity: .92; }
.promo .pa-btn { position: static; align-self: flex-start; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 13px; font-weight: 700; }
.promo-art:hover { color: var(--white); }
.pa-1 { background: linear-gradient(135deg, #0EA5E9, #2563EB 60%, #7C3AED); }
.pa-2 { background: linear-gradient(135deg, #F59E0B, #F97316); }
.pa-3 { background: linear-gradient(135deg, #10B981, #059669); }
/* Tiêu đề khối có biểu tượng */
.h-ic { display: inline-block; margin-right: 8px; font-size: .9em; }
.is-home .sec { padding: 40px 0; }
.is-home .sec-head .more { color: var(--blue); }
/* Thẻ deal như mẫu: nhãn -% đỏ, giá đỏ + giá gạch, nút xanh dương «View Deal» */
.dcard-pct { background: var(--red); color: var(--white); }
.dcard-price .now { color: var(--red); }
.dcard-price .off { color: var(--red); }
.dcard-offer { color: var(--blue); }
.dcard .btn-deal, .dcard .btn-code { background: var(--blue); color: var(--white); }
.dcard .btn-deal:hover, .dcard .btn-code:hover { background: var(--blue-h); color: var(--white); }
.dcard-img:has(.logo-fallback) { background: linear-gradient(135deg, #EEF4FF, #F5F0FF); }
.dcard-store { display: flex; align-items: center; gap: 6px; }
/* Ô danh mục nhiều màu */
.ctile .ic { transition: transform .15s; }
.ctile:hover { border-color: currentColor; }
.ctile:hover .ic { transform: scale(1.06); }
.ct-0 .ic { background: #E0ECFF; color: #1D5BD8; } .ct-0:hover .ic { background: #1D5BD8; color: #fff; }
.ct-1 .ic { background: #FFE4E6; color: #E11D48; } .ct-1:hover .ic { background: #E11D48; color: #fff; }
.ct-2 .ic { background: #DCFCE7; color: #16A34A; } .ct-2:hover .ic { background: #16A34A; color: #fff; }
.ct-3 .ic { background: #F3E8FF; color: #9333EA; } .ct-3:hover .ic { background: #9333EA; color: #fff; }
.ct-4 .ic { background: #FFEDD5; color: #EA580C; } .ct-4:hover .ic { background: #EA580C; color: #fff; }
.ct-5 .ic { background: #CFFAFE; color: #0891B2; } .ct-5:hover .ic { background: #0891B2; color: #fff; }
.ct-6 .ic { background: #FEF9C3; color: #CA8A04; } .ct-6:hover .ic { background: #CA8A04; color: #fff; }
.ct-7 .ic { background: #FCE7F3; color: #DB2777; } .ct-7:hover .ic { background: #DB2777; color: #fff; }
/* Khối nhận tin: kéo hết chiều ngang, thấp, dính liền chân trang, tông xanh dương khác chân trang */
.news-band { background: linear-gradient(90deg, #1D4ED8, #2F6FEB); }
.news-band .news { background: transparent; border-radius: 0; padding: 18px 0; }
@media (min-width: 900px) { .news-band .news { padding: 20px 0; } }
.news-band .news h2 { font-size: 20px; }
.news-band .news p { color: #E6EEFF; font-size: 14px; }
.news-band .news input { height: 40px; border: 0; }
.news-band .btn-code { min-height: 40px; background: var(--amber); color: var(--navy); }
.news-band .btn-code:hover { background: var(--amber-h); color: var(--navy); }
/* Trang All Deals: cột lọc trái + lưới 3 cột */
.deals-layout { display: grid; gap: 20px; }
/* Theo ảnh mẫu gosmartreview «Daily Deals» (giám đốc 09/11): ô lọc rộng ~260px, chữ 15px, ô tick to, dòng thưa */
@media (min-width: 900px) { .deals-layout { grid-template-columns: 262px minmax(0, 1fr); gap: 32px; align-items: start; } }
@media (min-width: 1000px) { .g-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dfilter form { display: grid; gap: 16px; padding: 22px 20px; border: var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 1px 3px rgba(20, 43, 70, .05); }
@media (min-width: 900px) { .dfilter { position: sticky; top: 16px; } }
.dfilter-head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; color: var(--navy); }
.dfilter-head a { font-size: 13px; font-weight: 600; color: var(--blue); }
.dfilter fieldset { margin: 0; padding: 0; border: 0; }
.dfilter fieldset + fieldset { padding-top: 14px; border-top: var(--line); }
.dfilter legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); }
.dfilter label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; color: var(--charcoal); cursor: pointer; }
.dfilter label:hover { color: var(--blue); }
.dfilter input { flex: none; width: 18px; height: 18px; accent-color: var(--blue); }
.deals-layout .ph-count { margin: 0 0 14px; font-size: 15px; color: var(--slate); }
.dfilter-scroll { max-height: 220px; overflow-y: auto; }
@media (max-width: 899px) { .dfilter form { grid-template-columns: 1fr 1fr; } .dfilter-head { grid-column: 1 / -1; } .dfilter fieldset { max-height: 200px; overflow-y: auto; } }

/* ---------- Giám đốc 09/11 ảnh mẫu jlmmarine (fairlyreview) «theo mẫu này»: trang coupon nền xám nhạt, thẻ trắng không viền,
   tab chữ «All(3)» ô vuông nhẹ, thẻ mã: chữ giảm giá to xanh không nền + vạch ngăn, «Verified Code» chữ xanh thường ---------- */
.store-wrap.cp-green { background: #F4F4F4; }
.cp-green .sbox, .cp-green .ccard, .cp-green .block { border: 0; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cp-green .ccard:hover { box-shadow: 0 4px 14px rgba(0,0,0,.10); }
.cp-green .tabs { gap: 14px; margin-bottom: 18px; }
.cp-green .tab { min-height: 46px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--white); color: #12A012; font-size: 17px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.cp-green .tab:hover { background: #F0FAF0; }
.cp-green .tab.is-active { background: #12A012; color: var(--white); }
.cp-green .ccard-off { flex-direction: row; flex-wrap: wrap; align-content: center; gap: 0 6px; min-height: 0; padding: 4px 0; background: transparent; border-radius: 0; }
.cp-green .ccard-off .num, .cp-green .ccard-off .unit { margin: 0; padding: 0; font-size: 24px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #12A012; line-height: 1.3; }
.cp-green .ccard-off .num.sm { font-size: 22px; }
.cp-green .ccard-off .unit { font-size: 24px; }
.cp-green .ccard-off .unit:empty { display: none; }
@media (min-width: 700px) {
    .cp-green .ccard { grid-template-columns: 136px minmax(0, 1fr) auto; gap: 0 20px; }
    .cp-green .ccard-body { padding-left: 16px; border-left: 1px solid #E6E6E6; }
}
.cp-green .badge-verified { font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.cp-green .ccard-tags { margin-bottom: 6px; }
.cp-green .ccard-title { font-size: 20px; font-weight: 500; color: #333; }
.cp-green .ccard-desc { color: #777; }
.cp-green .sbox-glance h2 { font-size: 16px; font-weight: 700; color: #333; }
.cp-green .s-stats div { border-bottom: 0; padding: 7px 0; }
.cp-green .s-stats dt, .cp-green .s-stats dd { color: #333; font-weight: 400; }
@media (max-width: 699px) { .cp-green .tabs { flex-wrap: wrap; gap: 8px; overflow: visible; } .cp-green .tab { flex: 1 1 calc(50% - 4px); justify-content: center; min-height: 42px; padding: 0 10px; font-size: 15px; } }
/* Ảnh trong bài review AI (09/11) */
.prose figure { margin: 1.4em 0; }
.prose figure img { display: block; width: 100%; max-height: 520px; object-fit: cover; margin: 0; }
.prose figcaption { margin-top: 6px; font-size: var(--fs-caption); color: var(--slate); }
