/* =========================================================
   MaxDigitalHub - Global Stylesheet (asset/css/style.css)
   Light + Dark theme tokens. Responsive.
   ========================================================= */

:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-elev: #ffffff;
    --text: #1f1f1f;
    --text-muted: #5a5a5a;
    --text-soft: #8a8a8a;
    --border: #ececec;
    --border-strong: #d8d8d8;
    --hero-bg: #c9bff0;
    --hero-bg-2: #b9adeb;
    --accent: #cfc5f0;
    --accent-strong: #b6a9e6;
    --accent-btn: #ece6ff;
    --accent-btn-hover: #dcd2ff;
    --green: #b6f0a0;
    --green-strong: #9be07f;
    --green-soft: #e7fbe0;
    --chip-bg: #f1f1f1;
    --chip-active-bg: #ffffff;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-search: 0 6px 18px rgba(0, 0, 0, 0.06);
    --icon-fill: #1f1f1f;
    --icon-on-dark: #ffffff;
    --rating-popular-bg: #ffe5b8;
    --rating-popular-fg: #6a3a00;
    --rating-new-bg: #e7fbe0;
    --rating-new-fg: #0a5b0a;
    --radius: 10px;
    --radius-sm: 6px;
    --container: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    /* Aliases used by product review pages */
    --ink: #1f1f1f;
    --ink-muted: #5a5a5a;
    --card: #ffffff;
    --link: #4338ca;
    --link-hover: #3730a3;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #121214;
    --bg-soft: #1a1a1d;
    --bg-elev: #1f1f24;
    --text: #f4f4f5;
    --text-muted: #b5b5bb;
    --text-soft: #8a8a92;
    --border: #2a2a30;
    --border-strong: #3a3a42;
    --hero-bg: #2a2454;
    --hero-bg-2: #221e4a;
    --accent: #5b4ec9;
    --accent-strong: #7466e0;
    --accent-btn: #2d2750;
    --accent-btn-hover: #3a3370;
    --green: #2f7a3f;
    --green-strong: #3aa050;
    --green-soft: #1f3a26;
    --chip-bg: #26262c;
    --chip-active-bg: #2f2f36;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-search: 0 6px 18px rgba(0, 0, 0, 0.5);
    --icon-fill: #f4f4f5;
    --icon-on-dark: #1a1a1d;
    --rating-popular-bg: #4a3a18;
    --rating-popular-fg: #ffd699;
    --rating-new-bg: #1f3a26;
    --rating-new-fg: #a8e6b0;
    --ink: #f4f4f5;
    --ink-muted: #c4c4cc;
    --card: #1f1f24;
    --link: #a5b4fc;
    --link-hover: #c7d2fe;
    --accent: #8b7cf0;
    --accent-strong: #a78bfa;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    /* Noto Sans family + script-aware fallbacks so translated
       text in Devanagari/Arabic/CJK/Hebrew/Thai actually renders */
    font-family: 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Arabic',
                 'Noto Sans Hebrew', 'Noto Sans Thai', 'Noto Sans JP',
                 'Noto Sans KR', 'Noto Sans SC',
                 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.logo-text {
    color: var(--text);
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-dot { color: var(--text); }

.primary-nav ul {
    display: flex;
    gap: 32px;
}

.primary-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s ease;
    padding: 6px 0;
    position: relative;
}

.primary-nav a:hover,
.primary-nav a.active { color: var(--text); }

.primary-nav a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Translate — proper icon button with globe + dropdown */
.translate-box { display: none !important; } /* legacy — kept for backward compat */

.translate-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Aggressive hide of every Google Translate artifact
   that escapes the dropdown (top banner, body class, etc.) */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
body > .goog-te-banner-frame,
iframe.skiptranslate,
iframe.goog-te-banner-frame,
#goog-translate-banner,
.goog-te-balloon-frame { display: none !important; visibility: hidden !important; height: 0 !important; }
body { top: 0 !important; position: static !important; }
html { margin-top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.translate-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px 0 10px;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    line-height: 1;
}
.translate-toggle:hover {
    background: var(--bg-elev);
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
}
[data-theme="dark"] .translate-toggle:hover {
    border-color: #8ab4f8;
    box-shadow: 0 2px 8px rgba(138, 180, 248, 0.2);
}
.translate-toggle:active { transform: scale(0.96); }
.translate-toggle.open {
    background: var(--bg-elev);
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}
[data-theme="dark"] .translate-toggle.open {
    border-color: #8ab4f8;
    box-shadow: 0 0 0 3px rgba(138, 180, 248, 0.15);
}
.translate-toggle .globe {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #1a73e8;
    transition: transform 0.4s ease;
}
[data-theme="dark"] .translate-toggle .globe { color: #8ab4f8; }
.translate-toggle.open .globe { transform: rotate(20deg); }
.translate-toggle .label {
    display: inline-block;
    min-width: 22px;
    text-align: left;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.translate-toggle .arrow {
    width: 10px;
    height: 10px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.15s ease;
}
.translate-toggle.open .arrow { transform: rotate(180deg); color: #1a73e8; }
[data-theme="dark"] .translate-toggle.open .arrow { color: #8ab4f8; }

/* Loading spinner while translating */
.translate-toggle.translating { pointer-events: none; opacity: 0.7; }
.translate-toggle.translating .globe { animation: mdh-spin 0.9s linear infinite; }
@keyframes mdh-spin { to { transform: rotate(360deg); } }

.translate-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    padding: 8px;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.translate-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.translate-dropdown::before { display: none !important; }
/* Let the Google widget render naturally — don't hide its text or interactive parts.
   The widget is a custom <a> + <div> popup, NOT a <select>, so the .goog-te-combo
   rules below only kick in if Google ever swaps to the legacy select UI. */
.translate-dropdown .goog-te-gadget { display: block; }
.translate-dropdown .goog-te-gadget-simple {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--bg-soft) !important;
    padding: 0 !important;
    font-family: var(--font) !important;
}
.translate-dropdown .goog-te-menu-value {
    color: var(--text) !important;
    text-decoration: none !important;
    padding: 10px 12px !important;
    display: block !important;
}
.translate-dropdown .goog-te-menu-value span {
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
.translate-dropdown .goog-te-menu-value:hover { background: var(--bg-elev) !important; }
/* Hide only the "powered by" footer */
.translate-dropdown .goog-te-gadget > span:not(.goog-te-gadget-simple) { display: none !important; }

/* === Custom language list (replaces the Google widget) === */
.translate-list-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
    padding: 6px 10px 8px;
}
.translate-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-height: 480px;
    overflow-y: auto;
    padding: 0 4px 4px;
    scrollbar-width: thin;
}
.translate-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.translate-option:hover { background: var(--bg-soft); color: #1a73e8; }
[data-theme="dark"] .translate-option:hover { color: #8ab4f8; }
.translate-option.active { background: rgba(26, 115, 232, 0.10); color: #1a73e8; font-weight: 700; }
[data-theme="dark"] .translate-option.active { background: rgba(138, 180, 248, 0.15); color: #8ab4f8; }
.translate-option .flag { font-size: 16px; line-height: 1; flex-shrink: 0; }
.translate-option .code { font-weight: 700; color: var(--text-soft); min-width: 22px; font-size: 11px; }
.translate-option.active .code { color: #1a73e8; }
[data-theme="dark"] .translate-option.active .code { color: #8ab4f8; }
.translate-option .name { flex: 1; }

@media (max-width: 640px) {
    .translate-toggle .label { display: none; }
    .translate-toggle { padding: 0 10px; width: 36px; justify-content: center; }
    .translate-dropdown {
        right: -8px;
        min-width: 200px;
    }
}

/* Theme toggle (dark / light) */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 1px solid var(--border);
    color: var(--text);
    transition: background 0.15s ease, transform 0.1s ease;
}
.theme-toggle:hover { background: var(--border); }
.theme-toggle:active { transform: scale(0.95); }

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--chip-bg);
    border: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--accent-btn); color: var(--text); border-color: var(--accent-btn); }
.btn-primary:hover { background: var(--accent-btn-hover); }
.btn-visit {
    background: var(--green);
    color: var(--text);
    border-color: var(--green-strong);
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}
.btn-visit:hover { background: var(--green-strong); }
.btn:active { transform: translateY(1px); }

/* ---------- Hero ---------- */
.hero {
    background: var(--hero-bg);
    padding: 80px 0 0;
    text-align: center;
    transition: background 0.2s ease;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-subtitle {
    max-width: 620px;
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 56px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 56px;
    margin-bottom: 56px;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--icon-fill);
    color: var(--icon-on-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-value { font-weight: 700; font-size: 16px; }
.stat-label { color: var(--text); font-weight: 500; }

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 6px 6px 6px 22px;
    width: min(720px, 100%);
    margin-bottom: -28px;
    box-shadow: var(--shadow-search);
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text);
    padding: 12px 0;
    font-family: inherit;
}
.search-bar input::placeholder { color: var(--text-soft); }
.btn-search {
    background: var(--accent-btn);
    color: var(--text);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border-color: var(--accent-btn);
}
.btn-search:hover { background: var(--accent-btn-hover); }

/* ---------- Site quicklinks removed — schema-only sitelinks ---------- */

/* ---------- Products Section ---------- */
    /* ---------- Homepage SEO sections (FAQ + HowTo) ---------- */
    .home-seo-section {
        padding: 56px 0;
        border-top: 1px solid var(--border);
        background: var(--bg);
    }
    .home-seo-section-alt { background: var(--bg-soft); }
    .home-seo-title {
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.02em;
        margin: 0 0 10px;
        color: var(--text);
    }
    .home-seo-lead {
        color: var(--text-muted);
        margin: 0 0 24px;
        max-width: 680px;
    }
    .home-howto-list {
        margin: 0;
        padding-left: 20px;
        color: var(--text);
        display: grid;
        gap: 12px;
        max-width: 760px;
    }
    .home-howto-list a { color: var(--link); text-decoration: underline; }
    .home-howto-list a:hover { color: var(--link-hover); }
    .home-faq-list { display: grid; gap: 10px; max-width: 820px; }
    .home-faq-item {
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--bg-elev);
        padding: 14px 18px;
    }
    .home-faq-item summary {
        font-weight: 700;
        cursor: pointer;
        color: var(--text);
        list-style: none;
    }
    .home-faq-item summary::-webkit-details-marker { display: none; }
    .home-faq-item p {
        margin: 12px 0 0;
        color: var(--text-muted);
        line-height: 1.6;
    }
    .home-faq-item a { color: var(--link); text-decoration: underline; }
    .home-faq-item a:hover { color: var(--link-hover); }

    .products-section { padding: 80px 0 96px; }

.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0 24px;
    margin-top: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.filter-label { font-size: 14px; font-weight: 600; color: var(--text); }

.filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--red, #dc2626);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.20);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
    line-height: 1;
}
.filter-clear:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #b91c1c;
}
.filter-clear:active { transform: scale(0.96); }
.filter-clear[hidden] { display: none; }
.filter-clear svg { flex-shrink: 0; }
[data-theme="dark"] .filter-clear {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.30);
}
[data-theme="dark"] .filter-clear:hover { background: rgba(248, 113, 113, 0.20); color: #fca5a5; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--chip-bg); color: var(--text); }
.chip-active { color: var(--text); font-weight: 600; }

.chip-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--chip-bg);
    flex-shrink: 0;
}
.chip-icon-green { background: var(--green); color: var(--rating-new-fg); }

/* ---------- Product Card ---------- */
.product-list { display: flex; flex-direction: column; gap: 16px; }

.product-card {
    display: grid;
    grid-template-columns: 130px 1.2fr 110px 1.5fr 1.3fr 200px;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.15s ease, transform 0.05s ease, background 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }

.product-logo { display: inline-block; }
.logo-square {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.1;
    padding: 6px;
}
.logo-square-text { display: block; }

.logo-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 4px;
}

/* Tall product bottle images (supplements, etc.) */
.logo-square-product {
    width: 84px;
    height: 108px;
    padding: 6px 8px;
}
.logo-square-product img {
    padding: 0;
    object-fit: contain;
    object-position: center bottom;
}

[data-theme="dark"] .logo-square-image {
    background: #ffffff !important;
    border-color: #d4d4d8 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-card.is-featured {
    border-color: #b6a9e6;
    box-shadow: 0 4px 18px rgba(124, 92, 224, 0.12);
    background: linear-gradient(180deg, #fafaff 0%, #ffffff 60%);
}
[data-theme="dark"] .product-card.is-featured {
    border-color: #5b4ec9;
    box-shadow: 0 4px 18px rgba(124, 92, 224, 0.25);
    background: linear-gradient(180deg, #1c1a2e 0%, #1f1f24 60%);
}

.product-card.is-featured .rating-badge {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
}

.product-name h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text); }
.product-name h3 a:hover { text-decoration: underline; }
.product-tag { display: block; font-size: 12px; color: var(--text-soft); margin-top: 2px; }

.product-rating { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.product-rating .star { display: inline-flex; align-items: center; }
.rating-value { font-size: 18px; font-weight: 700; color: var(--text); }
.rating-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
}
.rating-new { color: var(--rating-new-fg); background: var(--rating-new-bg); }
.rating-trending { color: var(--rating-popular-fg); background: var(--rating-popular-bg); }
.rating-popular { color: var(--rating-popular-fg); background: var(--rating-popular-bg); }

.product-bonus { font-size: 13px; color: var(--text); line-height: 1.5; }
.bonus-line { margin: 0; font-weight: 600; }
.bonus-line strong { font-weight: 700; }
.bonus-meta { margin: 4px 0 0; font-size: 11px; color: var(--text-soft); font-weight: 400; }

.product-features { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-muted); }
.product-features li { display: flex; align-items: center; gap: 6px; }
.check { color: #2ea44f; font-weight: 700; }
[data-theme="dark"] .check { color: #4ade80; }

.product-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.read-review { font-size: 12px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.read-review:hover { color: var(--text); }
[data-theme="dark"] .read-review { color: var(--link); }
[data-theme="dark"] .read-review:hover { color: var(--link-hover); }

/* View more button (homepage) */
.view-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.btn-view-more {
    background: var(--accent-btn);
    color: var(--text);
    border-color: var(--accent-btn);
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    gap: 10px;
    transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
    box-shadow: var(--shadow-card);
}
.btn-view-more:hover {
    background: var(--accent-btn-hover);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.btn-view-more svg { transition: transform 0.15s ease; }
.btn-view-more:hover svg { transform: translateX(3px); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
    margin-top: 32px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* =========================================================
   AdSense ad slots
   ========================================================= */
.ad-slot {
    margin: 28px 0;
    padding: 14px 0;
    text-align: center;
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    overflow: visible;
    min-height: 60px;
}
.ad-slot::before {
    content: 'Advertisement';
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 10px;
    opacity: 0.6;
}
.ad-slot .adsbygoogle {
    display: block;
    min-height: 90px;
    margin: 0 auto;
}
.ad-slot-compact {
    margin: 20px 0;
    padding: 10px 0;
}
.ad-slot-list {
    margin: 20px 0;
}

/* Image-rich responsive display — banners, 300×250, video */
.ad-slot-display,
.ad-slot-image.ad-slot-display {
    min-height: 280px;
}
.ad-slot-display .adsbygoogle,
.ad-slot-image.ad-slot-display .adsbygoogle {
    min-height: 250px;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

/* Multiplex — text-link "Discover more" (secondary) */
.ad-slot-multiplex {
    min-height: 200px;
}
.ad-slot-multiplex .adsbygoogle {
    min-height: 180px;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
}

/* In-article — native image + headline in content */
.ad-slot-in-article,
.ad-slot-contextual {
    min-height: 300px;
}
.ad-slot-in-article .adsbygoogle,
.ad-slot-contextual .adsbygoogle {
    min-height: 280px;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    text-align: center;
}

/* In-feed — card-style with image thumbnail */
.ad-slot-in-feed {
    min-height: 220px;
}
.ad-slot-in-feed .adsbygoogle {
    min-height: 200px;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
}

.ad-slot-footer-wrap,
.ad-slot-site-wrap {
    max-width: var(--container, 1140px);
    margin: 0 auto;
    padding: 0 16px;
}
.ad-slot-site-wrap .ad-slot-site--display { margin-bottom: 12px; }
.ad-slot-site-wrap .ad-slot-site--article { margin-top: 12px; }

/* Product review pages */
.ad-slot-product {
    margin: 28px auto;
    padding: 14px 16px;
    max-width: min(728px, 100%);
    width: 100%;
    box-sizing: border-box;
}
.ad-slot-product--last {
    margin-bottom: 36px;
}

@media (max-width: 640px) {
    .ad-slot-display,
    .ad-slot-image.ad-slot-display { min-height: 250px; }
    .ad-slot-display .adsbygoogle,
    .ad-slot-image.ad-slot-display .adsbygoogle { min-height: 220px; }
    .ad-slot-multiplex { min-height: 160px; }
    .ad-slot-multiplex .adsbygoogle { min-height: 140px; }
    .ad-slot-in-article .adsbygoogle,
    .ad-slot-contextual .adsbygoogle { min-height: 240px; }
    .ad-slot-in-feed { min-height: 180px; }
    .ad-slot-in-feed .adsbygoogle { min-height: 160px; }
    .ad-slot-product { margin: 20px auto; padding: 10px 12px; }
}

/* =========================================================
   CONTENT PAGES (about, contact, privacy, terms, etc.)
   ========================================================= */
.content-page {
    padding: 56px 0 80px;
    min-height: 60vh;
}

.content-page > .container {
    max-width: 820px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.page-header .page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.page-header .page-meta {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 8px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

.content-body h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--accent);
}

.content-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 22px 0 8px;
}

.content-body p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 14px;
}

.content-body ul, .content-body ol {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
}

.content-body li { margin-bottom: 6px; }

.content-body a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-body a:hover { color: var(--link-hover); }

.content-body strong { color: var(--text); font-weight: 600; }

.content-body .info-box {
    background: var(--accent-btn);
    border: 1px solid var(--accent-btn-hover);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 18px 0;
}

.content-body .info-box p:last-child { margin-bottom: 0; }

/* Contact form */
.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* 404 page */
.error-page {
    text-align: center;
    padding: 80px 20px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-code {
    font-size: clamp(5rem, 14vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.error-page h1 { font-size: 1.5rem; margin: 0 0 8px; color: var(--text); }
.error-page p { color: var(--text-muted); margin: 0 0 24px; max-width: 480px; }
.error-page .error-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-brand p { font-size: 13px; color: var(--text-muted); margin: 12px 0 0; max-width: 360px; }
.footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; color: var(--text); }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 12px; color: var(--text-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .product-card { grid-template-columns: 110px 1.1fr 100px 1.3fr 1.1fr 180px; gap: 14px; padding: 16px; }
    .hero-stats { gap: 36px; }
    .primary-nav ul { gap: 22px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-elev);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 24px 16px;
    }
    .primary-nav li { border-bottom: 1px solid var(--border); }
    .primary-nav li:last-child { border-bottom: none; }
    .primary-nav a { display: block; padding: 14px 0; }
    .nav-open .primary-nav { max-height: 500px; }

    .product-card { grid-template-columns: 1fr 1fr; gap: 16px; }
    .product-logo, .product-name, .product-rating, .product-bonus, .product-features, .product-actions { grid-column: span 2; }
    .product-actions { flex-direction: row; justify-content: space-between; }
    .hero-title { font-size: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .header-inner { height: 60px; gap: 12px; }
    .header-actions { gap: 6px; }
    .logo { font-size: 16px; }

    /* Remove the white line under the header on mobile */
    .site-header { border-bottom: none; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); }

    .hero { padding-top: 48px; }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 13px; margin-bottom: 36px; }
    .hero-stats {
        gap: 10px 14px;
        margin-bottom: 36px;
    }
    .stat-pill { font-size: 13px; gap: 8px; }
    .stat-icon { width: 30px; height: 30px; }
    .stat-value { font-size: 15px; }
    .stat-label { font-size: 13px; }

    .search-bar { padding: 4px 4px 4px 14px; margin-bottom: -24px; }
    .search-bar input { padding: 10px 0; font-size: 13px; }
    .btn-search { padding: 8px 12px; }
    .btn-search span { display: none; }

    .filter-bar {
        gap: 10px;
        padding-bottom: 20px;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .filter-label { font-size: 13px; flex-shrink: 0; }
    .filter-clear { font-size: 11px; padding: 3px 8px; flex-shrink: 0; }
    .filter-chips {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
        margin-bottom: -4px;
        flex: 1;
        min-width: 0;
    }
    .filter-chips::-webkit-scrollbar { display: none; }
    .chip {
        padding: 5px 10px;
        font-size: 12.5px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Mobile product card: centered, larger logo, more visual */
    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 18px;
        gap: 14px;
    }
    .product-logo {
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    .product-logo .logo-square {
        width: 96px;
        height: 96px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }
    .product-logo .logo-square-product {
        width: 120px;
        height: 150px;
        padding: 8px 10px;
    }
    .product-name {
        text-align: center;
    }
    .product-name h3 {
        font-size: 20px;
    }
    .product-tag {
        text-align: center;
    }
    .product-rating {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .product-bonus {
        text-align: center;
        background: var(--bg-soft);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 12px 14px;
    }
    .product-features {
        align-items: flex-start;
        max-width: 280px;
        margin: 0 auto;
        text-align: left;
    }
    .product-actions { flex-direction: column; align-items: stretch; gap: 6px; }
    .btn-visit { width: 100%; padding: 14px 22px; font-size: 13px; }
    .read-review { text-align: center; }

    .products-section { padding: 56px 0 64px; }
    .footer-inner { grid-template-columns: 1fr; }
    .theme-toggle, .translate-box .goog-te-gadget .goog-te-combo { font-size: 12px; }
}

/* =========================================================
   Content protection — no copy, select, drag, or print
   ========================================================= */
html,
body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

html.mdh-protected,
body.mdh-protected {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

html input,
html textarea,
html select,
html [contenteditable="true"],
body input,
body textarea,
body select,
body [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
}

html img,
body img {
    -webkit-user-drag: none !important;
    user-drag: none;
    pointer-events: auto;
}

html a,
body a {
    -webkit-user-drag: none !important;
}

@media print {
    html,
    body {
        display: none !important;
    }
}
