:root {

    --navy-950: #253346;
    --navy-900: #334152;
    --navy-850: #48596f;
    --navy-800: #51637b;
    --navy-700: #5d708a;

    --slate-600: #5d708a;
    --slate-500: #75879f;
    --slate-400: #a4b5cb;
    --slate-300: #d9e2ec;
    --slate-200: #e5eaf0;
    --slate-100: #f9fbfe;
    --slate-50: #ffffff;


    --primary: #334152;
    --primary-hover: #48596f;
    --primary-active: #253346;
    --primary-subtle: #f9fbfe;
    --primary-border: #e5eaf0;
    --accent: #d32f2f;


    --nav-dark: #48596f;
    --nav-dark-hover: #3c4b5e;
    --header-strip: #75808f;
    --footer-bg: #3b495b;
    --footer-bottom: #2f3c4c;


    --blue-600: #48596f;
    --blue-700: #3c4b5e;
    --blue-800: #253346;
    --blue-200: #e5eaf0;
    --blue-100: #f9fbfe;
    --blue-50: #f8fafc;

    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-500: #f97316;
    --orange-100: #ffedd5;
    --orange-50: #fff7ed;

    --price-red: #d32f2f;
    --price-red-hover: #b71c1c;

    --amber-500: #d97706;
    --amber-600: #b45309;
    --amber-50: #fef3c7;

    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-50: #ecfdf5;

    --rose-600: #e11d48;
    --rose-500: #f43f5e;
    --rose-50: #fff1f2;


    --bg-page: #f7f9fb;
    --bg-surface: #ffffff;
    --bg-subtle: #f9fbfe;
    --border-color: #e5eaf0;
    --border-strong: #d9e2ec;
    --text-primary: #1e293b;
    --text-secondary: #5d708a;
    --text-muted: #75879f;
    --text-inverse: #ffffff;


    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;


    --container-max: 1100px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-primary);
    background-color: #ececec;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

ul,
ol {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(var(--container-max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.site-main {
    flex: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.6px;
    color: var(--navy-900);
    text-decoration: none;
}

.logo-accent {
    color: var(--primary);
}

.gs-text-logo-2line {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.gs-text-logo-2line:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.gs-text-logo-2line .logo-line-top {
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-size: 23px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.8px;
}

.gs-text-logo-2line .logo-line-bottom {
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    color: #75808f;
    letter-spacing: 4.6px;
    margin-top: -5px;
}

.footer-text-logo-2line .logo-line-top {
    color: #fff !important;
}

.footer-text-logo-2line .logo-line-bottom {
    color: #75808f !important;
    text-shadow: none !important;
}

@media (max-width: 768px) {
    .gs-text-logo-2line .logo-line-top {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .gs-text-logo-2line .logo-line-bottom {
        font-size: 11px;
        letter-spacing: 3.5px;
    }
}

@media (max-width: 420px) {
    .gs-text-logo-2line .logo-line-top {
        font-size: 12.5px;
        letter-spacing: 0.3px;
    }

    .gs-text-logo-2line .logo-line-bottom {
        font-size: 10px;
        letter-spacing: 2.8px;
    }
}

.header-top-bar {
    background: #465161;
    color: var(--text-primary);
    width: 100%;
}

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

.header-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.04);
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gs-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gs-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gs-brand-logo:hover .gs-logo-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.header-top-bar .logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #111827;
    white-space: nowrap;
}

.header-top-bar .logo-accent {
    color: #4b5563;
    font-weight: 800;
}

.header-search-form.gs-search-pill {
    flex: 1;
    max-width: 480px;
    margin: 0 16px;
}

.gs-search-pill .search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    height: 38px;
    padding: 0 14px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.gs-search-pill .search-input-wrap:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gs-search-pill .search-input-wrap:focus-within {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.search-lens-icon {
    color: #6b7280;
    flex-shrink: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.gs-search-pill .search-input-wrap:hover .search-lens-icon {
    color: #334155;
}

.gs-search-pill .search-input-wrap:focus-within .search-lens-icon {
    color: #2563eb;
    transform: scale(1.08);
}

.gs-search-pill input {
    flex: 1;
    height: 100%;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #111827;
    font-family: var(--font-sans);
}

.gs-search-pill input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-kbd-hint {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.3px;
    pointer-events: none;
    flex-shrink: 0;
}

.gs-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.gs-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.gs-action-link svg {
    color: #ffffff;
    transition: transform 0.18s ease, color 0.18s ease;
}

.gs-action-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.gs-action-link:hover svg {
    color: #ffffff;
    transform: scale(1.1);
}

.gs-action-link.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    font-weight: 800;
}

.gs-action-link.active svg {
    color: #ffffff;
}

.gs-header-social-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.gs-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.gs-social-btn svg {
    color: #ffffff;
    transition: transform 0.18s ease;
}

.gs-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.gs-social-btn.gs-social-youtube:hover {
    background: #ff0000;
}

.gs-social-btn.gs-social-twitter:hover {
    background: #000000;
}

.gs-social-btn.gs-social-facebook:hover {
    background: #1877f2;
}

.gs-social-btn.gs-social-instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.drawer-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
}

.drawer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    background: #0f172a;
    transition: all 0.2s ease;
    text-decoration: none;
}

.drawer-social-btn:hover {
    transform: translateY(-2px);
}

.drawer-social-btn.youtube {
    background: #ff0000;
}

.drawer-social-btn.twitter {
    background: #000000;
}

.drawer-social-btn.facebook {
    background: #1877f2;
}

.drawer-social-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.gs-btn-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background-color 0.15s ease;
    margin-left: 4px;
}

.gs-btn-signin:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.header-menu-bar {
    background: #5c6674;
    width: 100%;
}

.header-menu-inner {
    padding: 0;
}

.sub-nav-list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 42px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #e2e8f0;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
    position: relative;
    border: none;
    height: 100%;
}

.sub-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px 2px 0 0;
    transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1), right 0.22s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.18s ease;
}

.sub-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.sub-nav-link:hover::after {
    left: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.sub-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
}

.sub-nav-link.active::after {
    left: 10px;
    right: 10px;
    background: #e53935;
    box-shadow: 0 -1px 8px rgba(229, 57, 53, 0.5);
}

.sub-nav-link.active:hover {
    background: rgba(255, 255, 255, 0.22);
}

.sub-nav-link.active:hover::after {
    left: 10px;
    right: 10px;
    background: #ff5252;
}

.sub-nav-chevron {
    margin-left: 5px;
    color: #cbd5e1;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.18s ease;
}

.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.nav-item-dropdown:hover .sub-nav-chevron,
.nav-item-dropdown.is-open .sub-nav-chevron {
    transform: rotate(180deg);
    color: #ffffff;
}

.type-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.18), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
    pointer-events: none;
}

.type-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
}

.nav-item-dropdown:hover .type-dropdown-menu,
.nav-item-dropdown:focus-within .type-dropdown-menu,
.nav-item-dropdown.is-open .type-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.type-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.type-dropdown-link:hover {
    background-color: #eff6ff;
    color: #2563eb;
    transform: translateX(3px);
}

.type-dropdown-link.active {
    background-color: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
}

.type-dropdown-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 6px 4px;
}

.type-dropdown-all {
    display: block;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.type-dropdown-all:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.type-dropdown-all.active {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

@media (max-width: 991px) {
    .nav-hamburger-btn {
        display: inline-flex;
    }

    .search-kbd-hint {
        display: none;
    }

    .header-search-form.gs-search-pill {
        max-width: 320px;
        margin: 0 10px;
    }

    .gs-action-link span {
        display: none;
    }

    .gs-action-link {
        padding: 6px 8px;
    }

    .header-menu-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header-menu-bar::-webkit-scrollbar {
        display: none;
    }

    .sub-nav-list {
        justify-content: flex-start;
        width: max-content;
    }
}

@media (max-width: 768px) {
    .header-top-inner {
        height: 52px;
        gap: 10px;
    }

    .header-top-bar .logo-text {
        font-size: 17px;
    }

    .gs-logo-icon {
        width: 30px;
        height: 30px;
    }

    .gs-logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .header-search-form.gs-search-pill {
        max-width: 220px;
        margin: 0 6px;
    }

    .gs-search-pill .search-input-wrap {
        height: 32px;
        padding: 0 10px;
        gap: 6px;
    }

    .gs-search-pill input {
        font-size: 12px;
    }

    .gs-action-link,
    .gs-header-social-group {
        display: none;
    }

    .gs-btn-signin {
        padding: 5px 12px;
        font-size: 11.5px;
    }

    .sub-nav-link {
        padding: 0 12px;
        font-size: 11.5px;
    }
}

@media (max-width: 480px) {
    .header-search-form.gs-search-pill {
        display: none;
    }

    .header-brand-group {
        gap: 8px;
    }
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    background: #ffffff;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.drawer-search {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.drawer-search input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 24px;
}

.drawer-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--navy-800);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
}

.drawer-link:hover {
    background: var(--blue-50);
    color: var(--primary);
}

.drawer-link.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    border-left: 3px solid #2563eb;
}

.drawer-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    padding: 7px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.drawer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #64748b;
    flex-shrink: 0;
}

.drawer-icon svg {
    width: 16px;
    height: 16px;
}

.drawer-sublink:hover .drawer-icon,
.drawer-sublink.active .drawer-icon {
    color: currentColor;
}

.empty-state-icon-wrap svg,
.empty-icon-wrap svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
    opacity: 0.8;
}

.sec-emoji svg,
.sitemap-card-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
    color: #2563eb;
}

.drawer-sublink:hover {
    color: #2563eb;
    background: #f1f5f9;
    transform: translateX(2px);
}

.drawer-sublink.active {
    color: #1d4ed8;
    background: #dbeafe;
    font-weight: 700;
}

.drawer-brand-pill {
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    text-decoration: none;
    color: #334155;
    transition: all 0.15s ease;
}

.drawer-brand-pill:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.drawer-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.home-hero {
    background: var(--navy-900);
    color: #ffffff;
    padding: clamp(40px, 6vw, 76px) 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fed7aa;
    margin-bottom: 18px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-subhead {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 580px;
    margin-bottom: 24px;
}

@media (min-width: 560px) {
    .hero-search-box {
        flex-direction: row;
        background: #ffffff;
        padding: 6px;
        border-radius: var(--radius-full);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }
}

.hero-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-search-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: var(--slate-500);
}

.hero-search-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 15px;
    color: var(--navy-900);
    outline: none;
    background: #ffffff;
}

@media (max-width: 559px) {
    .hero-search-input-wrap input {
        border: 1px solid var(--border-color);
    }
}

.hero-search-submit {
    height: 48px;
    padding: 0 24px;
    background: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}

.hero-search-submit:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
}

.hero-quick-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.quick-tags-label {
    color: #94a3b8;
    font-weight: 500;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.hero-tag:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-tag.highlight {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero-spotlight-rail {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(8px);
}

.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #93c5fd;
}

.spotlight-all-link {
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spotlight-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.spotlight-card:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
}

.spotlight-img-wrap {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 6px;
}

.spotlight-img-wrap img {
    max-height: 100%;
    object-fit: contain;
}

.spotlight-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spotlight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.spotlight-brand {
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.spotlight-score {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}

.spotlight-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotlight-spec {
    font-size: 11px;
    color: #94a3b8;
}

.spotlight-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--price-red, #d0021b);
    margin-top: 4px;
}

.section {
    margin-bottom: 48px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.section-head.compact {
    margin-bottom: 14px;
    padding-bottom: 8px;
}

.section-kicker {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--navy-900);
    line-height: 1.25;
}

.section-subhead {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

.section-action-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
}

.section-action-link:hover {
    background: var(--blue-50);
}

.product-breadcrumbs {
    display: none !important;
    margin: 0 !important;
}

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

.breadcrumb-separator {
    color: var(--slate-300);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.page-top-header {
    margin-bottom: 28px;
}

.page-kicker {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--blue-600);
    margin-bottom: 4px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--navy-900);
    line-height: 1.25;
    margin-bottom: 6px;
}

.page-intro {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 760px;
    line-height: 1.65;
}

.product-cards-grid,
.product-grid,
.catalog-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.18s ease;
    position: relative;
    text-align: center;
}

.product-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.card-views-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    z-index: 2;
    line-height: 1.2;
}

.product-card-price,
.card-price,
.top-rated-price,
.sidebar-item-price,
.slot-device-price,
.modal-phone-price {
    display: none !important;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px 14px;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-image-wrap {
    position: relative;
    width: calc(100% - 12px);
    height: 130px;
    background: var(--blue-50, #f8fafc);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 8px;
    overflow: hidden;
}

.product-img {
    max-height: 110px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.rank-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--navy-900);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.rating-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--amber-500);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.star-icon {
    width: 10px;
    height: 10px;
}

.status-badge.upcoming {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--blue-600);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.product-card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 3px;
}

.brand-tag {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
    display: block;
}

.type-tag {
    font-size: 10px;
    color: var(--text-muted);
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.product-card:hover .product-card-title {
    color: var(--primary);
}

.card-quick-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-secondary);
}

.qspec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-subtle);
    padding: 3px 8px;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qspec-icon {
    font-size: 12px;
}

.product-card-snippet {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.product-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.card-price strong {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-900);
}

.card-price.unlisted strong {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.price-prefix {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-color);
    background: var(--bg-subtle);
}

.card-btn-view,
.card-btn-compare {
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: background 0.15s ease, color 0.15s ease;
}

.card-btn-view:hover {
    background: #ffffff;
    color: var(--primary);
}

.card-btn-compare {
    border-left: 1px solid var(--border-color);
}

.card-btn-compare:hover {
    background: var(--navy-900);
    color: #ffffff;
}

#section2,
.home-split-layout,
.phones-page-container,
.brands-directory-page,
.types-directory-page,
.compare-page-shell,
.product-page-container,
.article-page-container,
.news-page-container,
.contact-page-container,
.site-main>.container:not(.main-content-wrap) {
    background-color: #ffffff;
    border-radius: 0px;
}

.phones-page-container,
.brands-directory-page,
.types-directory-page,
.compare-page-shell,
.product-page-container,
.article-page-container,
.news-page-container,
.contact-page-container,
.site-main>.container:not(.main-content-wrap) {
    padding: 20px;
}

#section2,
.home-split-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

#section2 {
    padding: 20px;
}

.phones-page-container>.product-breadcrumbs:first-child,
.brands-directory-page>.product-breadcrumbs:first-child,
.types-directory-page>.product-breadcrumbs:first-child,
.compare-page-shell>.product-breadcrumbs:first-child,
.product-page-container>.product-breadcrumbs:first-child,
.article-page-container>.product-breadcrumbs:first-child,
.site-main>.container>.product-breadcrumbs:first-child {
    margin-top: 0;
}

@media (max-width: 768px) {

    #section2,
    .home-split-layout,
    .phones-page-container,
    .brands-directory-page,
    .types-directory-page,
    .compare-page-shell,
    .product-page-container,
    .article-page-container,
    .news-page-container,
    .contact-page-container,
    .site-main>.container:not(.main-content-wrap) {
        padding: 14px;
        margin-top: 12px;
        border-radius: var(--radius-sm, 4px);
    }
}

.home-split-left {
    width: 30%;
    flex: 0 0 30%;
    max-width: 30%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-subtle, #f7f9fc);
    margin-left: 10px;
    margin-right: 0;
}

.home-split-right {
    width: 70%;
    flex: 0 0 calc(70% - 16px);
    max-width: calc(70% - 16px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 0.5px solid var(--border-color);
    padding-right: 10px;
    border-left: none;
    padding-left: 0;
}

.home-split-left .section {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.home-split-left .section-head {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-split-left .section-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-900);
    border-left: 3px solid var(--blue-600);
    padding-left: 8px;
    margin: 0;
    line-height: 1.25;
}

.home-split-left .section-subhead {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 2px;
}

.home-split-left .section-action-link {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-600);
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-split-left .section-action-link:hover {
    color: var(--blue-800);
    transform: none;
    text-decoration: underline;
}

.home-split-right .section-head {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-split-right .section-title {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy-900);
    border-left: 3px solid var(--blue-600);
    padding-left: 10px;
    margin: 0;
    line-height: 1.25;
}

.home-split-right .section-subhead {
    font-size: 13px;
    color: var(--slate-500);
    margin: 3px 0 0 13px;
}

.home-split-right .section-kicker {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--blue-600);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 0 0 2px 13px;
}

.home-split-right .section-action-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-600);
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-split-right .section-action-link:hover {
    color: var(--blue-800);
    transform: none;
    text-decoration: underline;
}

.gs-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: #5c6674;
    border-radius: 4px 4px 0 0;
}

.gs-card-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gs-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    flex-shrink: 0;
}

.gs-pulse-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.gs-card-title {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
    margin: 0;
}

.gs-card-subtitle {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 1px;
}

.gs-card-action {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.gs-card-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.gs-brand-directory-section {
    margin-bottom: 20px;
}

.gs-brand-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding-top: 8px;
    background: #ffffff;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.gs-brand-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    min-width: 0;
}

.gs-brand-chip:hover {
    background: #ffffff;
    border-color: var(--header-strip, #51637b);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.gs-brand-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: #eef2f7;
    color: #374151;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gs-brand-chip:hover .gs-brand-avatar {
    background: var(--header-strip, #51637b);
    color: #ffffff;
}

.gs-brand-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: center;
    letter-spacing: 0.3px;
}

.gs-brand-count {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--slate-500);
    background: #e2e8f0;
    padding: 1px 5px;
    border-radius: 4px;
    flex-shrink: 0;
}

.gs-brand-footer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--header-strip, #51637b);
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    transition: background-color 0.15s ease;
    margin-top: 8px;
}

.gs-brand-footer-bar:hover {
    background: var(--navy-900, #253346);
    color: #ffffff;
    border-color: var(--blue-600);
}

.gs-brand-footer-bar svg {
    transition: transform 0.15s ease;
}

.gs-brand-footer-bar:hover svg {
    transform: translateX(2px);
}

.gs-similar-section {
    margin-bottom: 24px;
}

.gs-similar-section .sidebar-device-list {
    background: #ffffff;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gs-similar-section .sidebar-device-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 4px;
    text-decoration: none;
    border-bottom: 1px solid #edf1f6;
    transition: background-color 0.12s ease;
}

.gs-similar-section .sidebar-device-item:last-child {
    border-bottom: none;
}

.gs-similar-section .sidebar-device-item:hover {
    background-color: var(--blue-50, #f0f7ff);
}

.gs-similar-section .sidebar-device-item img {
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid var(--border-color, #e2e8f0);
}

.gs-similar-section .sidebar-item-info strong {
    font-size: 12.5px;
    color: var(--navy-900, #0f172a);
    line-height: 1.3;
}

.gs-similar-section .sidebar-device-item:hover strong {
    color: var(--primary, #2563eb);
}

.gs-trending-section {
    margin-bottom: 24px;
}

.gs-trending-leaderboard {
    background: #ffffff;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.gs-trending-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    text-decoration: none;
    border-bottom: 1px solid #edf1f6;
    transition: background-color 0.12s ease;
}

.gs-trending-row:last-child {
    border-bottom: none;
}

.gs-trending-row:hover {
    background-color: #f4f7fb;
}

.gs-trending-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #eef2f7;
    color: #475569;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.gs-trending-rank.is-top-rank {
    background: var(--header-strip, #51637b);
    color: #ffffff;
}

.gs-trending-thumb {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    flex-shrink: 0;
}

.gs-trending-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gs-trending-info {
    flex: 1;
    min-width: 0;
}

.gs-trending-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.gs-trending-row:hover .gs-trending-name {
    color: var(--blue-600);
}

.gs-trending-brand {
    display: block;
    font-size: 11px;
    color: var(--slate-500);
    line-height: 1.2;
}

.gs-trending-hits {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.gs-hits-number {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--navy-900);
}

.gs-trending-row:hover .gs-hits-number {
    color: var(--blue-700);
}

.gs-hits-label {
    font-size: 9.5px;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.top-rated-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.top-rated-card {
    background: #ffffff;
    padding: 5px 6px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: border-color 0.15s ease;
    box-shadow: none;
}

.top-rated-card:hover {
    background: #ffffff;
    border-color: var(--blue-600);
    transform: none;
    box-shadow: none;
}

.top-rated-img-wrap {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    border-radius: 4px;
    padding: 4px;
}

.top-rated-img-wrap img {
    max-height: 100%;
    max-width: 85%;
    object-fit: contain;
    transition: transform 0.15s ease;
}

.top-rated-card:hover .top-rated-img-wrap img {
    transform: scale(1.03);
}

.top-rated-score-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--amber-500);
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 2px;
    line-height: 1.1;
    z-index: 2;
}

.top-rated-brand {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue-600);
    margin-bottom: 2px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.top-rated-name {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.15s ease;
}

.top-rated-card:hover .top-rated-name {
    color: var(--blue-600);
}

.top-rated-price {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-600);
    margin-top: 3px;
    display: block;
    line-height: 1.2;
}

.budget-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.budget-inputs-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.budget-input-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.budget-input-field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.budget-input-field input {
    height: 38px;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    width: 100%;
}

.budget-input-field input:focus {
    border-color: var(--blue-600);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.budget-dash {
    color: var(--text-muted);
    font-weight: 700;
    padding-bottom: 8px;
}

.budget-presets-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 2px;
}

.budget-preset-btn {
    padding: 6px 8px;
    font-size: 11.5px;
    font-weight: 600;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.budget-preset-btn:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
    color: var(--blue-700);
}

.sidebar-comparisons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-comp-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 10px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-comp-card:hover {
    background: #ffffff;
    border-color: var(--blue-500);
    transform: translateX(2px);
    box-shadow: var(--shadow-xs);
}

.sidebar-comp-device {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.sidebar-comp-thumb {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-comp-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sidebar-comp-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-comp-vs {
    font-size: 9px;
    font-weight: 800;
    color: #ffffff;
    background: #ef4444;
    border-radius: 3px;
    padding: 1px 4px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.sidebar-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sidebar-news-card {
    background: var(--bg-surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.15s ease;
}

.sidebar-news-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-news-card {
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.15s ease;
    box-shadow: none;
}

.sidebar-news-card:hover {
    border-color: var(--blue-600);
    transform: none;
    box-shadow: none;
}

.sidebar-news-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    text-decoration: none;
    height: 100%;
}

.sidebar-news-thumb {
    width: 72px;
    height: 52px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-subtle);
    border-radius: 4px;
}

.sidebar-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.sidebar-news-card:hover .sidebar-news-thumb img {
    transform: scale(1.06);
}

.sidebar-news-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.sidebar-news-title {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy-900);
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.sidebar-news-card:hover .sidebar-news-title {
    color: var(--blue-600);
}

.gs-editorial-section {
    margin-bottom: 0px;
}

.gs-bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.gs-hero-spotlight {
    position: relative;
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    min-height: 330px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    background: #0f172a;
    transition: border-color 0.15s ease;
}

.gs-hero-spotlight:hover {
    border-color: var(--blue-600);
}

.gs-hero-spotlight-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    z-index: 1;
}

.gs-hero-spotlight:hover .gs-hero-spotlight-bg {
    transform: scale(1.03);
}

.gs-hero-spotlight-overlay {
    position: absolute;
    inset: 0;
    background: #0f172a;
    opacity: 0.62;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.gs-hero-spotlight:hover .gs-hero-spotlight-overlay {
    opacity: 0.72;
}

.gs-hero-spotlight-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gs-badge-tag {
    display: inline-block;
    padding: 3px 8px;
    background: var(--blue-600);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 4px;
}

.gs-badge-metric {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}

.gs-hero-spotlight-bottom {
    position: relative;
    z-index: 3;
}

.gs-hero-spotlight-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
    transition: color 0.15s ease;
}

.gs-hero-spotlight:hover .gs-hero-spotlight-title {
    color: #93c5fd;
}

.gs-bento-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.gs-bento-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    text-decoration: none;
    flex: 1;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    min-height: 100px;
}

.gs-bento-card:hover {
    border-color: var(--blue-600);
    background-color: var(--blue-50);
}

.gs-bento-thumb {
    width: 88px;
    height: 80px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.gs-bento-body {
    flex: 1;
    min-width: 0;
}

.gs-bento-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 3px;
}

.gs-bento-category {
    color: var(--blue-600);
    letter-spacing: 0.4px;
}

.gs-bento-time {
    color: var(--slate-400);
}

.gs-bento-comments {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    color: var(--slate-400);
}

.gs-bento-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.gs-bento-card:hover .gs-bento-title {
    color: var(--blue-600);
}

.gs-bento-bottom-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.gs-bento-subcard {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.gs-bento-subcard:hover {
    border-color: var(--blue-600);
    background-color: var(--blue-50);
}

.gs-subcard-thumb {
    width: 68px;
    height: 52px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.gs-subcard-body {
    flex: 1;
    min-width: 0;
}

.gs-subcard-time {
    display: block;
    font-size: 10.5px;
    color: var(--slate-400);
    margin-bottom: 2px;
}

.gs-subcard-title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.gs-bento-subcard:hover .gs-subcard-title {
    color: var(--blue-600);
}

.gs-showdown-section {
    margin: 28px 0;
}

.gs-showdown-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    padding: 20px 22px;
}

.gs-showdown-header {
    margin-bottom: 14px;
}

.gs-showdown-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--blue-600);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.gs-showdown-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
    margin: 0 0 4px 0;
}

.gs-showdown-sub {
    font-size: 13px;
    color: var(--slate-500);
    margin: 0;
}

.gs-showdown-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.gs-showdown-selects {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 280px;
}

.gs-select-field {
    flex: 1;
    min-width: 0;
}

.gs-select-field select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-900);
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.gs-select-field select:focus {
    border-color: var(--blue-600);
    background-color: #ffffff;
}

.gs-vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.gs-btn-showdown {
    height: 42px;
    padding: 0 20px;
    background: var(--blue-600);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background-color 0.15s ease;
    cursor: pointer;
    border: none;
}

.gs-btn-showdown:hover {
    background: var(--blue-700);
}

.gs-popular-battles {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.gs-battles-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gs-battles-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gs-battle-pill {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--navy-900);
    text-decoration: none;
    transition: all 0.15s ease;
}

.gs-battle-pill:hover {
    background: var(--blue-50);
    border-color: var(--blue-600);
    color: var(--blue-600);
}

.recent-releases-4col,
.recent-releases-5col {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.mini-release-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 4px);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s ease;
    box-shadow: none;
    position: relative;
    min-width: 0;
}

.mini-release-card:hover {
    transform: none;
    border-color: var(--blue-600);
    box-shadow: none;
}

.mini-release-img-wrap {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 5px;
    padding: 5px;
}

.mini-release-img-wrap img {
    max-height: 100%;
    max-width: 88%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.mini-release-card:hover .mini-release-img-wrap img {
    transform: scale(1.03);
}

.mini-release-brand {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue-600);
    margin-bottom: 3px;
    display: block;
}

.mini-release-name {
    font-family: var(--font-heading);
    font-size: 13.2px;
    font-weight: 500;
    color: var(--navy-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
    letter-spacing: 0.3px;
}

.mini-release-card:hover .mini-release-name {
    color: var(--blue-600);
}

.home-split-right .product-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.home-split-right .news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.home-split-right .compare-cta-banner {
    margin-bottom: 0;
}

@media (max-width: 991px) {

    #section2,
    .home-split-layout {
        flex-direction: column;
        gap: 24px;
        padding: 16px 12px;
    }

    .home-split-left {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .home-split-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 24px;
    }


    .home-split-right,
    .phones-split-layout .home-split-right,
    .brands-split-layout .home-split-right,
    .types-split-layout .home-split-right,
    .top-phones-split-layout .home-split-right,
    .news-split-layout .home-split-right,
    .article-split-layout .home-split-right {
        order: 1;
    }

    .home-split-left,
    .phones-split-layout .home-split-left,
    .brands-split-layout .home-split-left,
    .types-split-layout .home-split-left,
    .top-phones-split-layout .home-split-left,
    .news-split-layout .home-split-left,
    .article-split-layout .home-split-left {
        order: 2;
    }

    .home-split-left .brands-carousel-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .recent-releases-4col,
    .recent-releases-5col {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .gs-bento-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gs-hero-spotlight {
        min-height: 240px;
    }

    .gs-hero-spotlight-title {
        font-size: 17px;
    }

    .gs-bento-bottom-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gs-showdown-selects {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .gs-vs-divider {
        align-self: center;
    }

    .gs-btn-showdown {
        width: 100%;
    }

    .recent-releases-4col,
    .recent-releases-5col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container.main-content-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    #section2,
    .home-split-layout {
        padding: 10px 4px;
    }

    .gs-brand-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 6px;
    }

    .gs-brand-chip {
        padding: 5px 6px;
        gap: 6px;
    }

    .gs-brand-text {
        font-size: 11px;
    }

    .gs-showdown-card {
        padding: 14px 12px;
    }

    .gs-showdown-title {
        font-size: 16px;
    }

    .recent-releases-4col,
    .recent-releases-5col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mini-release-card {
        padding: 10px 6px;
    }

    .mini-release-img-wrap {
        height: 95px;
    }

    .mini-release-name {
        font-size: 11.5px;
    }

    .top-rated-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .top-rated-img-wrap {
        height: 48px;
    }

    .top-rated-name {
        font-size: 10px;
    }

    .catalog-results-grid,
    .top-ranked-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .brands-directory-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .brand-directory-card {
        padding: 10px 12px;
        gap: 12px;
    }

    .types-directory-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .alphabet-filter-bar {
        padding: 6px 8px;
        gap: 3px;
        margin-bottom: 12px;
    }

    .alpha-link {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

.brands-carousel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .brands-carousel-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

.brand-card-tile {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-card-tile:hover {
    transform: translateY(-3px);
    border-color: var(--blue-600);
    box-shadow: var(--shadow-md);
}

.brand-logo-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.brand-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-initial-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--navy-800);
}

.brand-card-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
    margin-bottom: 2px;
}

.brand-card-count {
    font-size: 11px;
    color: var(--text-muted);
}

.compare-cta-banner {
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid #1e293b;
    border-top: 3px solid var(--blue-600);
    padding: clamp(20px, 3vw, 30px);
    box-shadow: none;
}

.compare-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--blue-600);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.compare-cta-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.8vw, 26px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: #ffffff;
}

.compare-cta-text p {
    color: #94a3b8;
    font-size: 14px;
    max-width: 680px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quick-compare-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .quick-compare-form {
        flex-direction: row;
        align-items: center;
    }
}

.quick-compare-selects {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
}

@media (max-width: 600px) {
    .quick-compare-selects {
        flex-direction: column;
        gap: 10px;
    }
}

.compare-select-field {
    flex: 1;
    width: 100%;
}

.compare-select-field select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--radius-sm, 4px);
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.compare-select-field select:focus {
    border-color: var(--blue-600);
}

.compare-select-field select option {
    background: #0f172a;
    color: #ffffff;
}

.compare-vs-pill {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    background: var(--blue-600);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-compare-submit {
    height: 44px;
    padding: 0 22px;
    background: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
    border-radius: var(--radius-sm, 4px);
    white-space: nowrap;
    border: none;
    box-shadow: none;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.btn-compare-submit:hover {
    background: var(--blue-700);
    transform: none;
}

.two-col-browse-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .two-col-browse-section {
        grid-template-columns: 1fr 1fr;
    }
}

.browse-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 0;
}

.taxonomy-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.taxonomy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.15s ease;
}

.taxonomy-chip:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
    color: var(--primary);
    transform: translateY(-1px);
}

.chip-badge {
    background: #ffffff;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.taxonomy-chip:hover .chip-badge {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.budget-bands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.budget-band-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.budget-band-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.budget-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.budget-card-currency {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.budget-card-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.budget-card-link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.reviews-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.review-preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-200);
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-card-score {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    background: var(--amber-500);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.review-card-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.review-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 6px;
}

.review-card-product {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.review-card-pros {
    background: var(--emerald-50);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    color: #065f46;
    margin-bottom: 16px;
    line-height: 1.4;
}

.review-card-pros strong {
    display: block;
    margin-bottom: 2px;
}

.review-read-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.news-preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-card-img-wrap {
    width: 100%;
    height: 180px;
    background: #f1f5f9;
    overflow: hidden;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.news-preview-card:hover .news-card-img-wrap img {
    transform: scale(1.04);
}

.news-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-tag {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--blue-600);
    margin-bottom: 6px;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 8px;
}

.news-card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 14px;
}

.news-card-meta {
    margin-top: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    box-shadow: var(--shadow-xs);
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: #f8fafc;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #f8fafc;
}

.table-phone-cell {
    min-width: 220px;
}

.table-phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-900);
    font-weight: 600;
}

.table-phone-link img {
    border-radius: 4px;
    background: var(--bg-subtle);
    padding: 2px;
}

.price-highlight,
.table-price-highlight {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--navy-900);
}

.price-kind-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
}

.price-kind-tag.official {
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid #a7f3d0;
}

.price-kind-tag.unofficial {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.price-kind-tag.estimated {
    background: #f3f4f6;
    color: #6b7280;
}

.stock-pill {
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.stock-pill.in_stock {
    background: #ecfdf5;
    color: #059669;
}

.stock-pill.out_of_stock {
    background: #fef2f2;
    color: #dc2626;
}

.stock-pill.preorder {
    background: var(--primary-subtle);
    color: var(--primary);
}

.btn-table-action,
.btn-deal {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    background: var(--blue-50);
    color: var(--primary);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-table-action:hover,
.btn-deal:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.product-page-container {
    max-width: 1100px !important;
    width: min(1100px, calc(100% - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.product-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .product-layout-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
        gap: 24px;
    }
}

@media (min-width: 1080px) {
    .product-layout-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
        gap: 28px;
    }
}

.product-main-col {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-sidebar-rail {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.device-hero-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: clamp(0px, 0.2vw, 20px);
    margin-bottom: 20px;
}

.device-hero-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.device-title-wrap {
    flex: 1;
    min-width: 260px;
}

.device-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.device-brand-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    background: rgba(211, 84, 0, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(211, 84, 0, 0.2);
    text-decoration: none;
    transition: all 0.15s ease;
}

.device-brand-badge:hover {
    background: var(--primary);
    color: #ffffff;
}

.device-eyebrow-separator {
    color: #cbd5e1;
    font-size: 12px;
}

.device-type-badge {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 6px;
}

.device-status-badge {
    font-size: 12px;
    font-weight: 600;
    color: #166534;
    background: #f0fdf4;
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
}

.device-name {
    font-family: var(--font-heading);
    font-size: clamp(17px, 1.9vw, 24px);
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--navy-900);
    line-height: 1.2;
    margin: 5px 0 10px;
}

.device-model-no {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.device-model-no code {
    font-family: monospace;
    font-size: 11.5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1px 6px;
    border-radius: 4px;
    color: #334155;
    font-weight: 600;
}

.device-hero-price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 10px;
    flex-shrink: 0;
    max-width: 60%;
}

.hero-price-label {
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
}

.hero-price-amount {
    font-size: 12.5px;
    font-weight: 650;
    color: #334152;
    line-height: 1.25;
    text-align: right;
    word-break: break-word;
}

.gsm-bullet-text {
    font-size: 13px;
    font-weight: 600;
}

.editor-score-box {
    background: var(--blue-600);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    text-align: center;
    box-shadow: none;
}

.score-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.9;
}

.device-showcase-row.gsm-showcase-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
    .device-showcase-row.gsm-showcase-card {
        grid-template-columns: 220px 1fr;
    }
}

@media (min-width: 1024px) {
    .device-showcase-row.gsm-showcase-card {
        grid-template-columns: 240px 1fr;
    }
}

.gsm-showcase-card .device-gallery-container {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

@media (min-width: 768px) {
    .gsm-showcase-card .device-gallery-container {
        border-bottom: none;
        border-right: 1px solid var(--border-color, #e2e8f0);
    }
}

.gsm-showcase-card .main-image-viewport {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    min-height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gsm-showcase-card .main-image-viewport img {
    max-height: 250px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.gsm-showcase-card .gallery-thumbs-row {
    margin-top: 12px;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.gsm-showcase-card .gallery-thumb-btn {
    width: 44px;
    height: 44px;
    padding: 2px;
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.gsm-showcase-card .gallery-thumb-btn.active,
.gsm-showcase-card .gallery-thumb-btn:hover {
    border-color: var(--primary);
}

.gsm-showcase-card .gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gsm-showcase-card .device-specs-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.gsm-showcase-card .gsm-specs-upper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 640px) {
    .gsm-showcase-card .gsm-specs-upper {
        flex-direction: row;
        align-items: stretch;
    }
}

.gsm-showcase-card .gsm-specs-bullets {
    flex: 1;
    padding: 18px 22px;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

@media (min-width: 900px) {
    .gsm-showcase-card .gsm-specs-bullets {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 28px;
        padding: 22px 26px;
    }
}

.gsm-showcase-card .gsm-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--navy-900, #0f172a);
    font-weight: 500;
}

.gsm-showcase-card .gsm-bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600, #2563eb);
    flex-shrink: 0;
    margin-top: 1px;
}

.gsm-showcase-card .gsm-bullet-text {
    flex: 1;
    word-break: break-word;
}

.gsm-showcase-card .gsm-stats-wrap {
    border-top: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    background: #fafbfc;
}

@media (min-width: 640px) {
    .gsm-showcase-card .gsm-stats-wrap {
        border-top: none;
        border-left: 1px solid var(--border-color, #e2e8f0);
        min-width: 220px;
        max-width: 240px;
    }
}

.gsm-showcase-card .gsm-stat-col {
    flex: 1;
    min-width: 90px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gsm-showcase-card .gsm-stat-fans {
    border-left: 1px solid var(--border-color, #e2e8f0);
}

.gsm-showcase-card .gsm-stat-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 3px;
}

.gsm-showcase-card .gsm-trend-icon,
.gsm-showcase-card .gsm-view-icon {
    color: var(--primary, #2563eb);
    display: inline-flex;
}

.gsm-showcase-card .gsm-heart-icon {
    color: #e11d48;
    display: inline-flex;
    transition: transform 0.2s ease;
}

.gsm-showcase-card .gsm-heart-icon.filled svg {
    fill: #e11d48;
    stroke: #e11d48;
}

.gsm-showcase-card .gsm-stat-main-num {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    color: var(--navy-900, #0f172a);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.gsm-showcase-card .gsm-stat-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--slate-500, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

.gsm-showcase-card .gsm-fan-btn {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--slate-600, #475569);
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    line-height: 1.2;
    transition: color 0.15s ease;
}

.gsm-showcase-card .gsm-fan-btn:hover {
    color: #e11d48;
}

.gsm-showcase-card .gsm-fan-btn.is-fan {
    color: #e11d48;
}

.gsm-showcase-card .gsm-specs-lower {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: #ffffff;
}

@media (min-width: 600px) {
    .gsm-showcase-card .gsm-specs-lower {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gsm-showcase-card .gsm-spec-pillar {
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    transition: background-color 0.15s ease;
}

.gsm-showcase-card .gsm-spec-pillar:hover {
    background: #f8fafc;
}

@media (min-width: 600px) {
    .gsm-showcase-card .gsm-spec-pillar {
        border-bottom: none;
        border-right: 1px solid var(--border-color, #e2e8f0);
    }

    .gsm-showcase-card .gsm-spec-pillar:last-child {
        border-right: none;
    }
}

@media (max-width: 599px) {
    .gsm-showcase-card .gsm-spec-pillar:nth-child(odd) {
        border-right: 1px solid var(--border-color, #e2e8f0);
    }

    .gsm-showcase-card .gsm-spec-pillar:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

.gsm-showcase-card .pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-700, #334155);
    margin-bottom: 6px;
}

.gsm-showcase-card .pillar-value {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900, #0f172a);
    line-height: 1.10;
    letter-spacing: -0.4px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.gsm-showcase-card .pillar-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--slate-500, #64748b);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.device-summary-info {
    display: flex;
    flex-direction: column;
}

.summary-key-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    background: var(--bg-subtle);
    padding: 14px 18px;
    border-radius: var(--radius-md);
}

.summary-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    gap: 12px;
}

.detail-name {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-val {
    font-weight: 700;
    color: var(--navy-900);
    text-align: right;
}

.detail-val.price-val {
    color: var(--emerald-600);
}

.category-link {
    color: var(--primary);
    text-decoration: underline;
    margin-left: 4px;
}

.device-summary-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.device-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.btn-action-compare {
    background: var(--navy-900);
    color: #ffffff;
}

.btn-action-compare:hover {
    background: var(--navy-800);
}

.inline-compare-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
}

.inline-compare-bar label {
    font-weight: 700;
    color: var(--navy-900);
    white-space: nowrap;
}

.inline-compare-bar select {
    flex: 1;
    border: 1px solid var(--border-color);
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 28px;
}

.panel.empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.panel.empty h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.panel-section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.panel-header-with-badge {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.gsm-pricing-section {
    background: #ffffff !important;
    border: 1px solid var(--border-color, #e5e7eb) !important;
    border-radius: 12px;
    padding: 24px 28px !important;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.gsm-pricing-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.gsm-pricing-title {
    font-size: 22px;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0;
    letter-spacing: -0.2px;
    font-family: var(--font-heading, inherit);
}

.gsm-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    cursor: pointer;
    transition: color 0.15s ease;
}

.gsm-info-icon:hover {
    color: #111827;
}

.gsm-pricing-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    display: block;
}

.gsm-pricing-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}

.gsm-pricing-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.gsm-pricing-table tr:first-child {
    border-top: 1px solid #f0f0f0;
}

.gsm-pricing-table td {
    padding: 16px 22px;
    vertical-align: middle;
    white-space: nowrap;
}

.gsm-pricing-table td:not(:first-child) {
    border-left: 1px solid #f0f0f0;
}

.gsm-variant-cell {
    white-space: nowrap;
    width: 200px;
    min-width: 170px;
}

.gsm-variant-name {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.gsm-deal-cell {
    white-space: nowrap;
}

.gsm-pricing-deal-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.gsm-pricing-deal-link:hover {
    opacity: 0.82;
}

.gsm-price-amount {
    font-size: 17.5px;
    font-weight: 800;
    color: #d0021b;
    letter-spacing: -0.2px;
    white-space: nowrap;
    font-family: inherit;
}

.retailer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.retailer-brand.amazon {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
    white-space: nowrap;
}

.retailer-brand.amazon .amazon-word-wrap {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 5px;
}

.retailer-brand.amazon .amazon-name {
    font-size: 17px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
}

.retailer-brand.amazon .domain-tld {
    font-size: 17px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
}

.retailer-brand.amazon .amazon-smile-svg {
    position: absolute;
    bottom: -2px;
    left: 2px;
    width: 54px;
    height: 10px;
    overflow: visible;
}

.retailer-brand.bestbuy {
    font-size: 15.5px;
    font-weight: 800;
    color: #0046be;
    letter-spacing: -0.3px;
}

.retailer-brand.mediamarkt {
    font-size: 15.5px;
    font-weight: 800;
    color: #df0000;
    letter-spacing: -0.3px;
}

.retailer-brand.startech {
    font-size: 15.5px;
    font-weight: 700;
    color: #e02424;
    letter-spacing: -0.2px;
}

.retailer-brand.apple {
    font-size: 15.5px;
    font-weight: 700;
    color: #111827;
}

.retailer-brand.flipkart {
    font-size: 15.5px;
    font-weight: 800;
    color: #2874f0;
}

.retailer-brand.generic {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.retailer-brand .domain-tld {
    font-weight: 700;
    color: inherit;
}

.editorial-text-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.variants-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-pill-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
}

.variant-name {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--navy-900);
}

.variant-sku {
    font-size: 11px;
    color: var(--text-muted);
}

.spec-matrix-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 25px);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.spec-matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--navy-900);
}

.spec-matrix-kicker {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.spec-matrix-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.6vw, 20px);
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--navy-900);
}

.spec-details-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.spec-tables-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gsm-spec-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 13.5px;
    box-sizing: border-box;
}

.gsm-spec-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.gsm-spec-table tr:last-child {
    border-bottom: none;
}

.spec-category-header {
    width: 130px;
    background: #f1f5f9;
    color: var(--primary);
    border-right: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 14px 15px;
    vertical-align: top;
}

@media (max-width: 640px) {
    .spec-category-header {
        width: 100px;
        font-size: 11px;
        padding: 10px;
    }
}

.spec-prop-name {
    width: 160px;
    background: #f8fafc;
    color: #444a52;
    font-weight: 650;
    padding: 10px 14px;
    vertical-align: top;
    border-right: 1px solid var(--border-color);
    font-size: 14px;
}

@media (max-width: 640px) {
    .spec-prop-name {
        width: 110px;
        font-size: 12px;
    }
}

.spec-prop-val {
    padding: 10px 16px;
    color: var(--text-primary);
    vertical-align: top;
    line-height: 1.55;
    background: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.gsm-spec-table tr:hover .spec-prop-val {
    background: #f9fafb;
}

.full-review-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.review-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.review-article-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.3;
}

.review-author-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.review-score-gauge {
    background: var(--navy-900);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 8px 14px;
    text-align: center;
    flex-shrink: 0;
}

.gauge-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.gauge-max {
    font-size: 11px;
    color: #94a3b8;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pros-box,
.cons-box {
    border-radius: var(--radius-md);
    padding: 16px;
}

.pros-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.cons-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pros-box h4,
.cons-box h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pros-box h4 {
    color: #166534;
}

.cons-box h4 {
    color: #991b1b;
}

.box-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
}

.pros-icon {
    background: #16a34a;
}

.cons-icon {
    background: #dc2626;
}

.pros-list,
.cons-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.pros-list li {
    color: #14532d;
    position: relative;
    padding-left: 16px;
}

.pros-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #16a34a;
    font-weight: bold;
}

.cons-list li {
    color: #7f1d1d;
    position: relative;
    padding-left: 16px;
}

.cons-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #dc2626;
    font-weight: bold;
}

.review-body-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-xs);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-device-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.sidebar-device-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-device-item:hover {
    background: var(--bg-subtle);
}

.sidebar-device-item .rank-badge {
    position: static !important;
    top: auto;
    left: auto;
    flex-shrink: 0;
}

.sidebar-device-item img {
    border-radius: 4px;
    background: var(--bg-subtle);
    padding: 2px;
    flex-shrink: 0;
    object-fit: contain;
}

.sidebar-item-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.sidebar-item-info strong {
    display: block;
    font-size: 13px;
    color: var(--navy-900);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-score {
    font-size: 11px;
    font-weight: 700;
    color: var(--amber-600);
}

.hero-brand-kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 2px;
}

.hero-brand-kicker:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.sidebar-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.sidebar-card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-card-header-flex .sidebar-card-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-card-action-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sidebar-card-action-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.sidebar-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    font-size: 11.5px;
}

.sidebar-item-brand {
    color: var(--slate-500, #64748b);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.sidebar-item-price {
    font-weight: 700;
    color: var(--emerald-600, #059669);
    font-size: 12px;
}

.sidebar-item-hits {
    font-size: 11px;
    color: var(--slate-400, #94a3b8);
    font-weight: 600;
    margin-left: auto;
}

.sidebar-vs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.sidebar-vs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-subtle, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-900, #0f172a);
    text-decoration: none;
    transition: all 0.15s ease;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-vs-item>span:first-child {
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-vs-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sidebar-compare-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sidebar-compare-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: var(--radius-sm, 6px);
    font-size: 12.5px;
    background: #ffffff;
    color: var(--navy-900, #0f172a);
    font-weight: 500;
    cursor: pointer;
}

.sidebar-brands-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.sidebar-brand-chip {
    padding: 4px 9px;
    background: var(--bg-subtle, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-700, #334155);
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-brand-chip:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
}

.compare-page-shell {
    margin-bottom: 60px;
}

.compare-device-slots-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.slots-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.slots-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
}

.btn-reset-compare {
    font-size: 13px;
    font-weight: 700;
    color: var(--rose-600);
}

.compare-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.compare-slot-card {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8fafc;
    position: relative;
}

.compare-slot-card.filled {
    border-style: solid;
    border-color: var(--border-color);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.slot-device-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-remove-slot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rose-50);
    color: var(--rose-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.btn-remove-slot:hover {
    background: var(--rose-600);
    color: #ffffff;
}

.slot-img-wrap {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.slot-img-wrap img {
    max-height: 100%;
    object-fit: contain;
}

.slot-device-name {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.slot-device-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.slot-device-price {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--emerald-600);
    margin: 6px 0;
}

.slot-view-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.placeholder-icon {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.placeholder-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.placeholder-action-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    transition: all 0.15s ease;
}

.compare-slot-card.empty {
    cursor: pointer;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    transition: all 0.2s ease;
}

.compare-slot-card.empty:hover {
    border-color: #9ca3af;
    background: #f3f4f6;
    box-shadow: none;
}

.compare-slot-card.empty:hover .placeholder-icon {
    transform: scale(1.2);
}

.compare-slot-card.empty:hover .placeholder-action-badge {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.slot-placeholder.btn-add-slot {
    width: 100%;
    height: 100%;
    min-height: 190px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.slot-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-swap-device {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-swap-device:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.compare-presets-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.presets-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
}

.preset-pill {
    font-size: 12px;
    font-weight: 600;
    background: var(--blue-50);
    color: var(--primary);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.preset-pill:hover {
    background: var(--primary);
    color: #ffffff;
}

body.modal-open {
    overflow: hidden !important;
}

.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.compare-modal[hidden] {
    display: none !important;
}

.compare-modal.open {
    opacity: 1;
    visibility: visible;
}

.compare-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.compare-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-modal.open .compare-modal-dialog {
    transform: scale(1) translateY(0);
}

.compare-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
    margin: 0;
}

.modal-count-badge {
    font-size: 11px;
    font-weight: 700;
    background: var(--blue-50);
    color: var(--primary);
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--blue-200);
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: var(--navy-800);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.modal-close-btn:hover {
    background: var(--rose-50);
    color: var(--rose-600);
}

.compare-modal-search-wrap {
    position: relative;
    padding: 16px 24px 12px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
}

.modal-search-icon {
    position: absolute;
    left: 38px;
    color: #94a3b8;
    pointer-events: none;
}

.modal-search-input {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 44px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    color: var(--navy-900);
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.modal-search-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.modal-search-clear {
    position: absolute;
    right: 36px;
    background: #e2e8f0;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.modal-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.compare-modal-brands {
    display: flex;
    gap: 6px;
    padding: 10px 24px;
    overflow-x: auto;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    scrollbar-width: none;
}

.compare-modal-brands::-webkit-scrollbar {
    display: none;
}

.modal-brand-pill {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.modal-brand-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.modal-brand-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.compare-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px 24px;
    background: #f8fafc;
    max-height: calc(85vh - 180px);
}

.modal-phones-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-phone-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.modal-phone-card:hover:not(.already-selected) {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.modal-phone-card.already-selected {
    opacity: 0.65;
    background: #f1f5f9;
    cursor: default;
}

.modal-phone-thumb {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 2px;
}

.modal-phone-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.modal-phone-info {
    flex: 1;
    min-width: 0;
}

.modal-phone-brand {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
}

.modal-phone-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-phone-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--emerald-600);
}

.modal-phone-action {
    flex-shrink: 0;
}

.btn-select-phone {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: var(--primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-select-phone:hover {
    background: var(--primary-hover);
}

.badge-in-compare {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
}

.modal-empty-notice {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.modal-empty-notice .empty-emoji {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

.modal-empty-notice .empty-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.modal-empty-notice .empty-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.compare-report-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.report-header-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.report-actions {
    display: flex;
    gap: 10px;
}

.compare-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.sticky-phone-row th {
    position: sticky;
    top: 68px;
    background: #ffffff;
    z-index: 10;
    padding: 16px;
    border-bottom: 2px solid var(--navy-900);
    box-shadow: none;
}

.feature-col-th {
    width: 180px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--navy-900);
    background: #f8fafc !important;
}

.phone-col-th {
    min-width: 220px;
    text-align: center;
}

.sticky-phone-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sticky-phone-header img {
    max-height: 64px;
    object-fit: contain;
}

.th-phone-name {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--navy-900);
}

.th-phone-brand {
    font-size: 11px;
    color: var(--text-muted);
}

.th-phone-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald-600);
}

.matrix-group-row th {
    background: var(--navy-900);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 16px;
    text-align: left;
}

.matrix-spec-row {
    border-bottom: 1px solid var(--border-color);
}

.matrix-spec-row:hover {
    background: #fafcff;
}

.matrix-spec-name {
    padding: 10px 16px;
    font-weight: 600;
    color: var(--text-muted);
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
    width: 180px;
}

.matrix-spec-val {
    padding: 10px 16px;
    color: var(--text-primary);
    vertical-align: top;
    line-height: 1.5;
    border-right: 1px solid var(--border-color);
}

.matrix-spec-val:last-child {
    border-right: none;
}

.matrix-spec-row.row-diff td {
    background: rgba(254, 243, 199, 0.3);
}

.highlight-diffs-active .matrix-spec-row.row-same {
    opacity: 0.55;
}

.highlight-diffs-active .matrix-spec-row.row-diff td {
    background: #fef3c7 !important;
}

.alphabet-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--bg-surface);
    padding: 5px 0px;
    margin-bottom: 10px;
}

.alpha-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--navy-800);
    transition: all 0.15s ease;
}

.alpha-link:hover,
.alpha-link.active {
    background: var(--primary);
    color: #ffffff;
}

.alpha-link.disabled {
    color: var(--slate-300);
    pointer-events: none;
}

.brand-search-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-filter-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    flex: 1;
}

.brand-filter-form input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.brand-total-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.brands-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.brand-directory-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: none;
    transition: border-color 0.18s ease;
}

.brand-directory-card:hover {
    border-color: var(--blue-600);
}

.brand-card-logo {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px;
    flex-shrink: 0;
}

.brand-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-initial-badge {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--blue-600);
}

.brand-card-info {
    flex: 1;
    min-width: 0;
}

.brand-name-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.25;
}

.brand-phone-count {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.brand-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-card-arrow {
    font-size: 18px;
    color: var(--slate-400);
    transition: transform 0.15s ease, color 0.15s ease;
}

.brand-directory-card:hover .brand-card-arrow {
    transform: translateX(3px);
    color: var(--primary);
}

.period-tabs-nav {
    display: flex;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    overflow-x: auto;
}

.period-tab-btn {
    flex: 1;
    text-align: center;
    padding: 4px 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.15s ease;
    margin-bottom: 0px !important;

}

.period-tab-btn:hover {
    background: var(--bg-subtle);
    color: var(--navy-900);
}

.period-tab-btn.active {
    background: var(--navy-900);
    color: #ffffff;
}

.reviews-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.review-archive-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.18s ease;
}

.review-archive-card:hover {
    border-color: var(--blue-600);
}

.review-card-media {
    position: relative;
    height: 190px;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.review-card-media img {
    max-height: 160px;
    object-fit: contain;
}

.review-score-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--amber-500);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: baseline;
    gap: 2px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.score-val {
    font-size: 15px;
}

.score-max {
    font-size: 10px;
    opacity: 0.85;
}

.review-card-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.review-meta-line {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 6px;
}

.review-brand-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
}

.review-date {
    color: var(--text-muted);
}

.review-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 4px;
}

.review-target-phone {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.review-card-highlight {
    background: var(--emerald-50);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 12px;
    color: #166534;
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pros-symbol {
    font-weight: 800;
    color: #16a34a;
}

.review-card-bottom {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.review-author {
    color: var(--text-muted);
}

.review-link-arrow {
    font-weight: 700;
    color: var(--primary);
}

.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.page-num-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-900);
    transition: all 0.15s ease;
}

.page-num-btn:hover,
.page-num-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.single-article-content {
    background: var(--bg-surface);
    padding: 10px;
    max-width: 100%;
    margin: 0 0 28px;
}

.article-header-hero {
    margin-bottom: 20px;
}

.article-type-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
    display: inline-block;
}

.article-headline {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--navy-900);
    line-height: 1.25;
    margin-bottom: 12px;
}

.article-byline-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.author-avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-600);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.author-details-meta {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.date-and-time {
    color: var(--text-muted);
}

.article-hero-media {
    margin: 24px 0 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f1f5f9;
}

.article-lead-paragraph {
    font-size: 15px;
    line-height: 1.65;
    font-weight: 500;
    color: var(--navy-800);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.article-body-prose {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.article-body-prose p {
    margin-bottom: 20px;
}

.article-author-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.author-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--navy-900);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-card-info h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.author-card-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 880px) {
    .contact-layout-split {
        grid-template-columns: 1.3fr 1fr;
    }
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-xs);
}

.contact-card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 8px;
}

.contact-direct-email {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.form-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
}

.styled-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
    padding: 10px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
    background: var(--bg-subtle);
    color: var(--navy-900);
    border-color: var(--border-color);
}

.btn.secondary:hover {
    background: #ffffff;
    border-color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.btn.danger {
    background: var(--rose-600);
    color: #ffffff;
}

.btn.danger:hover {
    background: #be123c;
}

.btn.full-width {
    width: 100%;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.alert.success {
    background: var(--emerald-50);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert.error {
    background: var(--rose-50);
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
}

.admin-side {
    width: 260px;
    background: var(--navy-950);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    z-index: 100;
}

@media (max-width: 900px) {
    .admin-side {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
    }

    .admin-side.open {
        transform: translateX(0);
    }
}

.admin-side-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-side-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: #ffffff;
}

.admin-side-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav-group-title {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #64748b;
    padding: 12px 12px 6px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.15s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.admin-nav-link.active {
    background: var(--blue-600);
    color: #ffffff;
}

.admin-nav-icon {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.admin-side-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-top {
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-top-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-mobile-toggle {
    display: block;
    font-size: 20px;
}

@media (min-width: 901px) {
    .admin-mobile-toggle {
        display: none;
    }
}

.admin-page-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
}

.logo-line-top:hover {
    color: #d32f2f;
}

.admin-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    background: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.admin-role-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--blue-600);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.admin-body {
    padding: 0px !important;
    flex: 1;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-xs);
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.kpi-icon.products {
    background: #f3f4f6;
    color: #111827;
}

.kpi-icon.published {
    background: #ecfdf5;
    color: #059669;
}

.kpi-icon.brands {
    background: #fef3c7;
    color: #d97706;
}

.kpi-icon.categories {
    background: #f3e8ff;
    color: #7e22ce;
}

.kpi-icon.reviews {
    background: #fdf2f8;
    color: #db2777;
}

.kpi-icon.messages {
    background: #e0e7ff;
    color: #4338ca;
}

.kpi-info {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.1;
}

.kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.admin-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 24px;
}

.admin-panel h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.site-footer {
    background: var(--footer-bg, #3b495b);
    color: #d0dbe6;
    padding-top: 48px;
    border-top: 3px solid var(--nav-dark, #48596f);
    width: 1100px;
    margin: auto;
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .footer-top-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col .site-logo {
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 18px;
    max-width: 320px;
    text-align: center;
}

.footer-badge-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13px;
}

.footer-link-list a {
    color: #cbd5e1;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-link-list a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom-bar {
    border-top: 1px solid var(--nav-dark, #48596f);
    padding: 18px 0;
    background: var(--footer-bottom, #2f3c4c);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
}

.copyright-text {
    color: #a4b5cb;
}

.back-to-top-btn {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    background: var(--nav-dark, #48596f);
    border: 1px solid #5d708a;
    transition: all 0.15s ease;
    cursor: pointer;
}

.back-to-top-btn:hover {
    background: #5d708a;
    color: #ffffff;
}

@media (max-width: 640px) {
    .device-action-buttons {
        flex-direction: column;
    }

    .device-action-buttons .btn {
        width: 100%;
    }

    .period-tabs-nav {
        justify-content: flex-start;
    }
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
}

.admin-side {
    width: 270px;
    background: #0b1329;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.25s ease, width 0.25s ease;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-side-header {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-side-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.admin-side-logo span {
    color: #38bdf8;
}

.admin-badge-role {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.admin-side {
    position: relative;
    overflow: visible !important;
}

.admin-side-nav {
    flex: 1;
    overflow: visible !important;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.admin-menu-item {
    position: relative;
    width: 100%;
}

.admin-nav-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: relative;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
}

.admin-nav-top:hover {
    color: #72aee6;
    background: #141a24;
}

.admin-nav-top .admin-nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    opacity: 0.9;
}

.admin-nav-top .admin-nav-label {
    flex: 1;
    white-space: nowrap;
}

.admin-nav-top .admin-nav-arrow {
    font-size: 9px;
    margin-left: auto;
    opacity: 0.45;
    padding: 2px 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.admin-menu-item.wp-menu-open>.admin-nav-top,
.admin-nav-top.single-active {
    background: #2271b1 !important;
    color: #ffffff !important;
    font-weight: 700;
}

.admin-menu-item.wp-menu-open>.admin-nav-top .admin-nav-icon,
.admin-nav-top.single-active .admin-nav-icon {
    opacity: 1;
}

.admin-menu-item.wp-menu-open>.admin-nav-top .admin-nav-arrow {
    opacity: 0.9;
    transform: rotate(90deg);
}

.admin-sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-menu-item.wp-menu-open>.admin-sub-menu {
    display: flex !important;
    flex-direction: column;
    background: #10151f;

    padding: 4px 0 6px 0;
    position: static;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.admin-menu-item.wp-menu-open>.admin-sub-menu>.admin-sub-menu-title {
    display: none;
}

.admin-menu-item:not(.wp-menu-open):hover>.admin-sub-menu {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #141a24;
    border-radius: 0 6px 6px 0;
    box-shadow: 4px 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: 999999;
    padding: 6px 0 8px 0;
    animation: wpFlyoutIn 0.12s ease-out;
}

.admin-menu-item:not(.wp-menu-open)>.admin-sub-menu::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    width: 14px;
    height: 100%;
}

@keyframes wpFlyoutIn {
    from {
        opacity: 0;
        transform: translateX(-3px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-sub-menu-title {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
    background: rgba(0, 0, 0, 0.15);
}

.admin-sub-link {
    display: block;
    padding: 7px 16px 7px 48px;

    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.12s ease;
    white-space: nowrap;
    position: relative;
}

.admin-menu-item:not(.wp-menu-open) .admin-sub-link {
    padding: 7px 16px;

}

.admin-sub-link:hover {
    color: #72aee6;
    background: rgba(255, 255, 255, 0.04);
}

.admin-sub-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.admin-menu-item.wp-menu-open .admin-sub-link.active::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #38bdf8;
}

.admin-side-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: #38bdf8;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(56, 189, 248, 0.3);
}

.admin-user-info {
    flex: 1;
    min-width: 0;
}

.admin-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.admin-user-role {
    font-size: 11px;
    color: #64748b;
    display: block;
}

.admin-side-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.admin-side-actions a,
.admin-side-actions button {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.admin-side-actions a:hover,
.admin-side-actions button:hover {
    color: #ffffff;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
}

.admin-top {
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.admin-top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-toggle-btn {
    display: none;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 9px;
    color: #334155;
    cursor: pointer;
}

.admin-page-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.admin-top-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-content-wrap {
    padding: 28px;
    flex: 1;
}

@media (max-width: 991px) {
    .admin-toggle-btn {
        display: inline-flex;
    }

    .admin-side {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        box-shadow: var(--shadow-xl);
    }

    .admin-side.open {
        transform: translateX(0);
    }

    .admin-content-wrap {
        padding: 16px;
    }
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.stat-icon.products {
    background: #f3f4f6;
    color: #111827;
}

.stat-icon.published {
    background: #f0fdf4;
    color: #16a34a;
}

.stat-icon.drafts {
    background: #fffbeb;
    color: #d97706;
}

.stat-icon.categories {
    background: #f5f3ff;
    color: #7c3aed;
}

.stat-icon.brands {
    background: #ecfeff;
    color: #0891b2;
}

.stat-icon.articles {
    background: #fdf2f8;
    color: #db2777;
}

.stat-icon.messages {
    background: #fef2f2;
    color: #dc2626;
}

.stat-icon.reviews {
    background: #fef3c7;
    color: #b45309;
}

.stat-icon.prices {
    background: #ecfdf5;
    color: #059669;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.panel-heading h2 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.panel-heading p {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.15s ease;
}

.action-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateX(3px);
}

.action-icon {
    font-size: 16px;
    opacity: 0.8;
}

.action-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #fee2e2;
    color: #dc2626;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.data-table th {
    background: #f8fafc;
    color: #475569;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.product-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info strong {
    font-size: 13.5px;
    color: #0f172a;
    display: block;
}

.product-info small {
    display: block;
    font-size: 11.5px;
    color: #64748b;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 9999px;
}

.status-pill::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-published,
.status-active,
.status-in_stock,
.status-read {
    background: #dcfce7;
    color: #15803d;
}

.status-published::before,
.status-active::before,
.status-in_stock::before,
.status-read::before {
    background: #22c55e;
}

.status-draft,
.status-preorder,
.status-new {
    background: #fef3c7;
    color: #b45309;
}

.status-draft::before,
.status-preorder::before,
.status-new::before {
    background: #f59e0b;
}

.status-archived,
.status-out_of_stock,
.status-inactive {
    background: #f1f5f9;
    color: #64748b;
}

.status-archived::before,
.status-out_of_stock::before,
.status-inactive::before {
    background: #94a3b8;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.toolbar input[type="search"],
.toolbar select,
.toolbar input[type="text"] {
    padding: 9px 14px;
    font-size: 13.5px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.toolbar input[type="search"]:focus,
.toolbar select:focus,
.toolbar input[type="text"]:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-icon:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

.btn-icon.danger {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff5f5;
}

.btn-icon.danger:hover {
    background: #fee2e2;
    border-color: #f87171;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field input,
.field select,
.field textarea {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    outline: none;
}

.field small {
    font-size: 11.5px;
    color: #64748b;
}

.editor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.editor-nav a {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.editor-nav a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.editor-nav a.active {
    background: var(--blue-600);
    color: #ffffff;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.spec-table td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    font-size: 13.5px;
    vertical-align: middle;
}

.spec-table .spec-section {
    background: #f8fafc;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #0f172a;
    font-size: 13px;
    width: 160px;
}

.spec-table .spec-name {
    font-weight: 600;
    color: #475569;
    width: 160px;
}

.spec-table .spec-value input,
.spec-table .spec-value select,
.spec-table .spec-value textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
}

.log-badge-action {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #334155;
}

.matrix-check {
    color: #16a34a;
    font-weight: 800;
}

.matrix-dash {
    color: #94a3b8;
}

.types-directory-page {
    padding-top: 24px;
    padding-bottom: 60px;
}

.types-stats-bar {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 10px 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
}

.types-stat-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.types-stat-item .stat-num {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.types-stat-item .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.types-stat-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
}

.types-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 22px;
}

@media (max-width: 640px) {
    .types-directory-grid {
        grid-template-columns: 1fr;
    }
}

.type-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none;
    transition: border-color 0.18s ease;
}

.type-card:hover {
    border-color: var(--blue-600);
}

.type-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.type-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--blue-50);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.type-emoji {
    font-size: 26px;
    line-height: 1;
}

.type-header-text {
    flex: 1;
    min-width: 0;
}

.type-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.type-card-title a {
    color: var(--navy-900);
    text-decoration: none;
    transition: color 0.15s ease;
}

.type-card-title a:hover {
    color: var(--primary);
}

.type-device-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.type-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.type-preview-section {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 0;
}

.preview-heading {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.type-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-preview-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px 10px 3px 4px;
    text-decoration: none;
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 600;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    max-width: 100%;
}

.type-preview-chip img {
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.type-preview-chip .chip-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.type-preview-chip:hover {
    border-color: var(--primary);
    background-color: var(--blue-50);
    color: var(--primary);
}

.type-card-footer {
    margin-top: auto;
    padding-top: 10px;
}

.btn-browse-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.15s ease;
}

.btn-browse-type:hover {
    color: var(--primary-hover);
    gap: 10px;
}

.phones-hero-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.phones-hero-meta {
    flex: 1;
    min-width: 0;
}

.phones-hero-meta .page-title {
    margin-bottom: 6px;
}

.phones-hero-meta .page-intro {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    max-width: 680px;
}

.phones-hero-stats {
    flex-shrink: 0;
}

.hero-stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    box-shadow: none;
}

.hero-stat-badge .stat-count {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.hero-stat-badge .stat-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy-800);
    margin-top: 3px;
}

.active-filters-bar {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.active-filters-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.active-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 12px;
    color: var(--navy-900);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: all 0.15s ease;
}

.filter-chip:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.chip-remove {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.filter-chip:hover .chip-remove {
    color: #ef4444;
}

.filter-chip.chip-clear-all {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
    font-weight: 700;
}

.filter-chip.chip-clear-all:hover {
    background: #fecaca;
    border-color: #f87171;
    color: #991b1b;
}

.phones-main-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 860px) {
    .phones-main-layout {
        grid-template-columns: 1fr;
    }
}

.phones-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 861px) {
    .phones-sidebar {
        position: sticky;
        top: 84px;
    }
}

.sidebar-filter-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    box-shadow: var(--shadow-xs);
}

.sidebar-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sidebar-box-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--navy-900);
    margin: 0 0 10px 0;
}

.sidebar-box-head .sidebar-box-title {
    margin-bottom: 0;
}

.box-clear-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.box-clear-link:hover {
    text-decoration: underline;
}

.sidebar-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sidebar-search-input-wrap .search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
    pointer-events: none;
}

.sidebar-search-field {
    width: 100%;
    padding: 7px 10px 7px 32px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    color: var(--navy-900);
    transition: all 0.15s ease;
}

.sidebar-search-field:focus {
    background: #ffffff;
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.sidebar-brand-scroll {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 4px;
}

.sidebar-brand-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-brand-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.sidebar-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--navy-800);
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-brand-row:hover {
    background: var(--blue-50);
    color: var(--primary);
}

.sidebar-brand-row.active {
    background: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
}

.brand-count-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    color: var(--text-muted);
}

.sidebar-brand-row.active .brand-count-pill {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.sidebar-type-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-type-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--navy-800);
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-type-row:hover {
    background: var(--blue-50);
    color: var(--primary);
}

.sidebar-type-row.active {
    background: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
}

.type-row-icon {
    font-size: 15px;
    line-height: 1;
}

.price-presets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.price-preset-pill {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 5px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    color: var(--navy-800);
    text-decoration: none;
    transition: all 0.15s ease;
}

.price-preset-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-50);
}

.price-preset-pill.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
}

.price-inputs-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-input-group {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.price-input-group .currency-prefix {
    position: absolute;
    left: 8px;
    font-size: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.price-input-group input {
    width: 100%;
    padding: 5px 6px 5px 18px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #ffffff;
}

.price-sep {
    color: var(--text-muted);
    font-weight: 600;
}

.btn-price-go {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.sidebar-cat-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--navy-800);
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-cat-row:hover {
    background: var(--blue-50);
    color: var(--primary);
}

.sidebar-cat-row.active {
    background: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
}

.cat-chevron {
    font-size: 14px;
    color: var(--text-muted);
}

.sidebar-cat-row.active .cat-chevron {
    color: #ffffff;
}

.gs-page-banner {
    position: relative;
    width: 100%;
    border-radius: var(--radius-sm, 4px);
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gs-banner-img {
    width: 100%;
    height: auto;
    max-height: 224px;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.gs-banner-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(16, 21, 28, 0.94) 0%, rgba(24, 31, 41, 0.86) 65%, rgba(24, 31, 41, 0) 100%);
    padding: 10px 32px 12px 18px;
    display: flex;
    align-items: center;
    min-width: 240px;
    max-width: 85%;
}

.gs-banner-title {
    font-family: var(--font-heading, 'Roboto Condensed', 'Arial Narrow', sans-serif);
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.gs-page-intro-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted, #64748b);
    margin: 0 0 14px 0;
}

@media (max-width: 640px) {
    .gs-page-banner {
        margin-bottom: 10px;
    }

    .gs-banner-label {
        padding: 8px 16px 8px 12px;
        max-width: 100%;
        width: 100%;
    }

    .gs-banner-title {
        font-size: 15px;
    }
}

.active-filters-bar,
.phones-top-toolbar {
    display: none !important;
}

.phones-top-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
    flex-wrap: wrap;
}

.results-count-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.results-count-text strong {
    color: var(--navy-900);
    font-weight: 700;
}

.sort-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

.sort-select {
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.sort-select:focus {
    border-color: var(--primary);
    outline: none;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-search-inline-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inline-search-input {
    padding: 5px 10px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-color);
    min-width: 140px;
    max-width: 190px;
}

.inline-search-input:focus {
    border-color: var(--primary);
    outline: none;
}

.catalog-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .catalog-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.phones-empty-panel {
    padding: 48px 24px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-icon-wrap {
    font-size: 42px;
    margin-bottom: 12px;
}

.pagination,
.phones-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    row-gap: 8px;
    margin-top: 36px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.phones-pagination .page-num-link,
.phones-pagination .page-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    text-decoration: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.phones-pagination .page-num-link:hover,
.phones-pagination .page-nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-50);
}

.phones-pagination .page-num-link.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #ffffff;
    font-weight: 700;
    pointer-events: none;
}

@media (max-width: 640px) {

    .pagination,
    .phones-pagination {
        gap: 4px;
        row-gap: 8px;
        margin-top: 24px;
    }

    .phones-pagination .page-num-link,
    .phones-pagination .page-nav-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
}

.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-item-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.type-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
}

.nav-item-dropdown:hover .type-dropdown-menu,
.nav-item-dropdown:focus-within .type-dropdown-menu,
.nav-item-dropdown.is-open .type-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item-dropdown:hover .nav-item .chevron-icon,
.nav-item-dropdown.is-open .nav-item .chevron-icon {
    transform: rotate(180deg);
}

.chevron-icon {
    transition: transform 0.2s ease;
}

.type-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.type-dropdown-link:hover {
    background-color: var(--blue-50);
    color: var(--primary);
}

.type-dd-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

.type-dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 6px 4px;
}

.type-dropdown-all {
    display: block;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.type-dropdown-all:hover {
    background-color: var(--blue-50);
    color: var(--primary-hover);
}

.drawer-group {
    display: flex;
    flex-direction: column;
}

.drawer-sublinks {
    display: flex;
    flex-direction: column;
    padding-left: 14px;
    margin: 2px 0 6px 6px;
    border-left: 2px solid var(--border-color);
    gap: 2px;
}

.drawer-sublink {
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.drawer-sublink:hover {
    color: var(--primary);
    background-color: var(--blue-50);
}

.sidebar-filter-pills {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-pill-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy-800);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

.filter-pill-btn:hover {
    background: var(--blue-50);
    border-color: var(--blue-300);
    color: var(--primary);
}

.filter-pill-btn.active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.news-page-container {
    padding-bottom: 48px;
}

.news-articles-list-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    margin-bottom: 32px;
}

.news-list-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.news-list-header-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy-900, #0f172a);
}

.news-list-header-count {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

.news-list-feed {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.news-list-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    transition: background-color 0.15s ease;
    text-decoration: none;
}

.news-list-row:last-child {
    border-bottom: none;
}

.news-list-row:hover {
    background-color: #f8fafc;
}

.news-row-thumb {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    background: #0f172a;
    display: block;
    position: relative;
    flex-shrink: 0;
}

.news-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.news-list-row:hover .news-row-thumb img {
    transform: scale(1.05);
}

.news-row-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted, #64748b);
    margin-bottom: 5px;
}

.news-row-badge {
    background: #eff6ff;
    color: var(--primary, #2563eb);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1.2;
}

.news-row-sep {
    color: var(--slate-300, #cbd5e1);
}

.news-row-date {
    color: var(--text-muted, #64748b);
}

.news-row-author {
    color: var(--text-secondary, #475569);
    font-weight: 600;
}

.news-row-read {
    color: var(--slate-400, #94a3b8);
}

.news-row-title {
    font-family: var(--font-heading, inherit);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
}

.news-row-title a {
    color: var(--navy-900, #0f172a);
    text-decoration: none;
    transition: color 0.15s ease;
}

.news-row-title a:hover,
.news-list-row:hover .news-row-title a {
    color: var(--primary, #2563eb);
}

.news-row-excerpt {
    font-size: 13px;
    color: var(--text-secondary, #475569);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 680px) {
    .news-list-row {
        gap: 12px;
        padding: 12px 14px;
    }

    .news-row-thumb {
        width: 110px;
        min-width: 110px;
        max-width: 110px;
        height: 78px;
    }

    .news-row-title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .news-row-excerpt {
        font-size: 12px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 440px) {
    .news-row-thumb {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
        height: 65px;
    }

    .news-row-excerpt {
        display: none;
    }
}

.pagination-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    row-gap: 8px;
    margin-top: 32px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    row-gap: 8px;
    max-width: 100%;
}

.pagination-btn,
.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-800);
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

.pagination-btn:hover,
.pagination-num:hover {
    background: var(--blue-50);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-num.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
}

.policy-page-container {
    padding-bottom: 48px;
}

.policy-meta-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.policy-status-badge {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
}

.policy-updated-text {
    font-size: 12.5px;
    color: var(--text-muted);
}

.policy-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 960px) {
    .policy-layout-grid {
        grid-template-columns: 1fr 280px;
        align-items: start;
    }
}

.policy-section-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
}

.section-icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-icon-title h2 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
}

.sec-emoji {
    font-size: 20px;
    line-height: 1;
}

.policy-section-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 12px 0;
}

.policy-section-card p:last-child {
    margin-bottom: 0;
}

.policy-bullet-list {
    margin: 10px 0 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-bullet-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    list-style-type: disc;
}

.policy-highlight-box {
    background: var(--bg-subtle);
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin: 14px 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--navy-900);
}

.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-top: 8px;
    transition: background-color 0.15s ease;
}

.btn-primary-pill:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.policy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 84px;
}

.policy-side-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.policy-side-card.contact-cta-card {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.side-card-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.side-principles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-principles-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-principles-list strong {
    font-size: 13px;
    color: var(--navy-900);
}

.side-principles-list span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.side-nav-links a:hover {
    background: var(--blue-50);
    color: var(--primary);
    padding-left: 12px;
}

.side-action-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.15s ease;
}

.side-action-btn:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.sitemap-page-container {
    padding-bottom: 48px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.sitemap-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-xs);
}

.sitemap-card-wide {
    grid-column: 1 / -1;
}

.sitemap-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.sitemap-card-icon {
    font-size: 20px;
    line-height: 1;
}

.sitemap-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
}

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemap-list a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.sitemap-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.sitemap-list a::before {
    content: "•";
    color: var(--blue-500);
    font-weight: bold;
}

.sitemap-brands-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.sitemap-brand-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy-800);
    transition: all 0.15s ease;
}

.sitemap-brand-pill:hover {
    background: var(--blue-50);
    border-color: var(--blue-300);
    color: var(--primary);
}

.sitemap-pill-count {
    font-size: 10.5px;
    color: var(--text-muted);
    background: #ffffff;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
}

.dashboard-timeframe-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.timeframe-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeframe-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
}

.timeframe-live-indicator::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.timeframe-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

.time-filter-group {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-md);
    gap: 4px;
}

.time-filter-btn {
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.time-filter-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.time-filter-btn.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(211, 84, 0, 0.25);
}

.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.analytics-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.analytics-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.analytics-stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.analytics-stat-card.visits::after {
    background: var(--primary);
}

.analytics-stat-card.unique::after {
    background: #8b5cf6;
}

.analytics-stat-card.products::after {
    background: #f59e0b;
}

.analytics-stat-card.avg::after {
    background: #10b981;
}

.analytics-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.analytics-stat-card.visits .analytics-icon-wrap {
    background: var(--primary-subtle);
    color: var(--primary);
}

.analytics-stat-card.unique .analytics-icon-wrap {
    background: #ede9fe;
    color: #7c3aed;
}

.analytics-stat-card.products .analytics-icon-wrap {
    background: #fef3c7;
    color: #d97706;
}

.analytics-stat-card.avg .analytics-icon-wrap {
    background: #d1fae5;
    color: #059669;
}

.analytics-info {
    flex: 1;
    min-width: 0;
}

.analytics-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 4px;
}

.analytics-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 4px;
}

.analytics-sub {
    font-size: 11.5px;
    color: #64748b;
}

.device-breakdown-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.device-breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.device-breakdown-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.device-stacked-bar {
    height: 10px;
    border-radius: 999px;
    background: #f1f5f9;
    display: flex;
    overflow: hidden;
    margin-bottom: 12px;
}

.device-bar-segment {
    height: 100%;
    transition: width 0.3s ease;
}

.device-bar-segment.mobile {
    background: var(--primary);
}

.device-bar-segment.desktop {
    background: #8b5cf6;
}

.device-bar-segment.tablet {
    background: #f59e0b;
}

.device-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
}

.device-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.device-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.device-legend-dot.mobile {
    background: var(--primary);
}

.device-legend-dot.desktop {
    background: #8b5cf6;
}

.device-legend-dot.tablet {
    background: #f59e0b;
}

.traffic-chart-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 22px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.traffic-chart-bars-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 180px;
    padding-top: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.traffic-bar-col {
    flex: 1;
    min-width: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    cursor: pointer;
}

.traffic-bar-fill {
    width: 100%;
    max-width: 38px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease, background 0.15s ease;
    min-height: 4px;
}

.traffic-bar-col:hover .traffic-bar-fill {
    background: var(--primary-hover);
}

.traffic-bar-tooltip {
    position: absolute;
    top: -24px;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.traffic-bar-col:hover .traffic-bar-tooltip {
    opacity: 1;
    background: #0f172a;
    color: #ffffff;
}

.traffic-bar-label {
    font-size: 10.5px;
    color: #64748b;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.rank-badge.rank-1 {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
}

.rank-badge.rank-2 {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.rank-badge.rank-3 {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.rank-badge.rank-other {
    background: #f8fafc;
    color: #94a3b8;
    font-weight: 600;
}

.traffic-share-bar {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}

.traffic-share-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
}

.overview-panel {
    background: #ffffff;
    border: 1px solid var(--slate-300, #e2e8f0);
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.overview-panel .panel-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-950, #0f172a);
    margin: 0 0 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.overview-editorial-body p {
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--navy-900, #334155);
    margin: 0 0 12px 0;
}

.overview-quick-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.overview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.overview-badge:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.overview-badge svg {
    color: var(--primary, #0284c7);
}

.overview-editorial-body p:last-child {
    margin-bottom: 0;
}

.overview-editorial-body p strong {
    color: var(--navy-950, #0f172a);
    font-weight: 700;
}

.overview-admin-content {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
}

@media (max-width: 640px) {
    .overview-panel {
        padding: 16px;
    }
}

.dual-filter-toolbar {
    margin: 0 0 16px 0;
    padding: 0;
}

.dual-filter-toolbar.home-dual-filter {
    margin: 0 0 18px 0;
}

.filter-dropdown-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.view-mode-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 4px;
}

.view-mode-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    margin-right: 4px;
    user-select: none;
    line-height: 1;
}

.view-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.view-mode-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.view-mode-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.filter-select-wrapper {
    position: relative;
    display: inline-block;
}

.filter-dropdown-select {
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 13px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 36px 8px 14px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    color: #1e293b;
    line-height: 1.4;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    min-width: 165px;
}

.filter-dropdown-select:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.filter-dropdown-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.filter-dropdown-select option {
    font-weight: 500;
    color: #334155;
    background: #ffffff;
    padding: 6px 10px;
}

.filter-dropdown-select option:first-child {
    font-weight: 700;
    color: #0f172a;
}

.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.filter-reset-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.catalog-results-grid.is-list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.catalog-results-grid.is-list-view .product-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.15s ease !important;
}

.catalog-results-grid.is-list-view .product-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px) !important;
}

.catalog-results-grid.is-list-view .product-card-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 10px 16px !important;
    gap: 16px !important;
    text-decoration: none !important;
    width: 100% !important;
}

.catalog-results-grid.is-list-view .product-image-wrap {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border-radius: 6px !important;
    padding: 4px !important;
    position: relative !important;
}

.catalog-results-grid.is-list-view .product-img {
    max-width: 100% !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.catalog-results-grid.is-list-view .product-card-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 !important;
}

.catalog-results-grid.is-list-view .brand-tag {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.catalog-results-grid.is-list-view .product-card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

.catalog-results-grid.is-list-view .card-views-badge {
    position: static !important;
    margin-left: auto !important;
    font-size: 11.5px !important;
    padding: 4px 8px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 4px !important;
}

#latestReleasesGrid.is-list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#latestReleasesGrid.is-list-view .mini-release-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    gap: 16px !important;
    text-decoration: none !important;
    text-align: left !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.15s ease !important;
}

#latestReleasesGrid.is-list-view .mini-release-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px) !important;
}

#latestReleasesGrid.is-list-view .mini-release-img-wrap {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border-radius: 6px !important;
    padding: 4px !important;
    margin-bottom: 0 !important;
}

#latestReleasesGrid.is-list-view .mini-release-img-wrap img {
    max-width: 100% !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

#latestReleasesGrid.is-list-view .mini-release-brand {
    display: block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

#latestReleasesGrid.is-list-view .mini-release-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    .filter-dropdown-group {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .view-mode-group {
        width: auto;
        margin-right: 4px;
    }

    .filter-select-wrapper {
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
    }

    .filter-dropdown-select {
        width: 100%;
        min-width: 0;
        padding-left: 10px;
        padding-right: 28px;
        font-size: 13px;
        background-position: right 10px center;
    }
}

.ad-slot {
    margin: 16px auto;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clear: both;
}

.ad-slot-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 5px;
    line-height: 1;
    user-select: none;
}

.adsense-ad-slot {
    width: 100%;
    max-width: 100%;
}

.adsense-slot-header,
.adsense-slot-home_top,
.adsense-slot-product_top,
.adsense-slot-footer {
    min-height: 105px;
    width: 100%;
    max-width: 1180px;
    margin: 14px auto;
}

.adsense-slot-sidebar {
    min-height: 265px;
    width: 100%;
    max-width: 320px;
    margin: 16px auto;
}

.ad-banner-slot {
    margin: 16px auto;
}

.ad-banner-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ad-banner-list img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

a, button, input, select, textarea, .btn, .sub-nav-link, .drawer-link, .period-tab-btn, .mini-release-card, .product-card-link, .gallery-thumb-btn {
    touch-action: manipulation;
}

.spec-matrix-section,
.gsm-detail-col-right,
.related-section,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

@media (max-width: 768px) {
    .adsense-slot-header,
    .adsense-slot-home_top,
    .adsense-slot-product_top,
    .adsense-slot-footer {
        min-height: 65px;
        margin: 10px auto;
    }

    .adsense-slot-sidebar {
        min-height: 255px;
        max-width: 300px;
    }
}


.ad-slot {
    margin: 16px auto;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clear: both;
}

.ad-slot-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 5px;
    line-height: 1;
    user-select: none;
}

.adsense-ad-slot {
    width: 100%;
    max-width: 100%;
}

.adsense-slot-header,
.adsense-slot-home_top,
.adsense-slot-product_top,
.adsense-slot-footer {
    min-height: 105px;
    width: 100%;
    max-width: 1180px;
    margin: 14px auto;
}

.adsense-slot-sidebar {
    min-height: 265px;
    width: 100%;
    max-width: 320px;
    margin: 16px auto;
}

.ad-banner-slot {
    margin: 16px auto;
}

.ad-banner-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ad-banner-list img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

a, button, input, select, textarea, .btn, .sub-nav-link, .drawer-link, .period-tab-btn, .mini-release-card, .product-card-link, .gallery-thumb-btn {
    touch-action: manipulation;
}

.spec-matrix-section,
.gsm-detail-col-right,
.related-section,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

@media (max-width: 768px) {
    .adsense-slot-header,
    .adsense-slot-home_top,
    .adsense-slot-product_top,
    .adsense-slot-footer {
        min-height: 65px;
        margin: 10px auto;
    }

    .adsense-slot-sidebar {
        min-height: 255px;
        max-width: 300px;
    }
}