/**
 * HamamSpaAdvisor — Ana Sayfa (Clean Split Hero)
 */

:root {
    --home-navy: #101B33;
    --home-gold: #C9A84C;
    --home-gold-soft: #FBF6EA;
    --home-bg: #F8FAFC;
    --home-white: #FFFFFF;
    --home-border: #E5E7EB;
    --home-text: #111827;
    --home-muted: #6B7280;
    --home-shell: 1320px;
    --home-search: 1180px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
}

/* ===== BASE ===== */
body.page-home {
    overflow-x: hidden;
    background: var(--home-bg);
    font-family: var(--font-sans);
    color: var(--home-text);
}
body.page-home main {
    background: var(--home-bg);
    padding: 0;
    margin: 0;
}

/* Eski hero sınıflarını gizle */
.hero-premium,
.home-premium-main,
.home-luxury-banner,
.home-luxury-overlay,
.home-luxury-content,
.home-luxury-title,
.home-luxury-subtitle,
.home-search-floating,
.home-search-grid,
.home-search-submit,
.lux-category-grid,
.lux-category-card,
.lux-feature-grid,
.lux-feature-card { display: none !important; }

.site-container {
    max-width: var(--home-shell);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--home-white);
}
.site-topbar {
    height: 34px;
    background: var(--home-white);
    border-bottom: 1px solid #eef0f3;
}
.site-topbar-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-topbar-left,
.site-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-topbar-left span,
.site-topbar-right > a {
    font-size: 11px;
    color: var(--home-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-decoration: none;
}
.site-topbar-left i,
.site-topbar-right > a > i:first-child { color: var(--home-gold); font-size: 10px; }
.site-topbar-social {
    display: flex;
    gap: 8px;
    padding-left: 10px;
    border-left: 1px solid #eef0f3;
}
.site-topbar-social a { color: var(--home-muted); font-size: 12px; text-decoration: none; }
.site-topbar-lang { font-size: 11px; font-weight: 600; color: var(--home-navy); }

.site-navbar {
    background: var(--home-white);
    border-bottom: 1px solid #eef0f3;
}
.site-navbar-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 16px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--home-gold-soft);
    color: var(--home-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.site-logo-img { height: 34px; width: auto; }
.site-logo-text {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    color: var(--home-navy);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.site-logo-text span {
    color: var(--home-gold);
    font-family: var(--font-sans);
    font-weight: 600;
}

.site-menu-desktop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.site-menu-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-menu-list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--home-navy);
    text-decoration: none;
    white-space: nowrap;
}
.site-menu-list a:hover { color: var(--home-gold); }
.site-menu-badge {
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    background: var(--home-gold);
    color: var(--home-navy);
    padding: 2px 6px;
    border-radius: 20px;
    vertical-align: middle;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.site-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-sans);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1;
}
.site-btn-gold {
    color: var(--home-gold);
    border: 1.5px solid var(--home-gold);
    background: transparent;
}
.site-btn-gold:hover { background: var(--home-gold-soft); }
.site-btn-ghost {
    color: var(--home-navy);
    background: transparent;
    padding: 9px 12px;
}
.site-btn-ghost:hover { color: var(--home-gold); }
.site-btn-navy {
    background: var(--home-navy);
    color: #fff;
    border: 1.5px solid var(--home-navy);
}
.site-btn-navy:hover { background: #17223B; }

.site-user-dropdown { position: relative; }
.site-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 190px;
    background: var(--home-white);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 6px;
    z-index: 1100;
}
.site-user-dropdown:hover .site-dropdown-panel,
.site-user-dropdown.open .site-dropdown-panel { display: block; }
.site-dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--home-text);
    text-decoration: none;
}
.site-dropdown-panel a:hover { background: var(--home-bg); }
.site-dropdown-panel hr { margin: 4px 0; border-color: var(--home-border); }

.site-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: var(--home-white);
    cursor: pointer;
    flex-shrink: 0;
}
.site-nav-toggle span { display: block; height: 2px; background: var(--home-navy); }

.site-flash {
    background: var(--home-white);
    border-bottom: 1px solid var(--home-border);
    padding: 8px 0;
    font-size: 14px;
}
.site-flash .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== HOME PAGE ===== */
.home-page {
    background: var(--home-bg);
}

/* Split Hero — deprecated */
.home-hero-clean,
.home-hero-container,
.home-hero-visual,
.home-hero-visual-fallback,
.home-search-wrap { display: none !important; }

/* ===== Search-first Hero v2 ===== */
.home-hero-v2 {
    position: relative;
    padding: 48px 0 56px;
    overflow: visible;
}

.home-hero-v2-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 20%, rgba(16, 27, 51, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 168, 76, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #FAFBFD 0%, #F4F6FA 45%, #F8FAFC 100%);
    pointer-events: none;
}

.home-hero-v2-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(0.5px);
    opacity: 0.4;
}

.home-hero-v2-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.home-hero-v2-copy h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--home-navy);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}

.home-hero-v2-copy p {
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    line-height: 1.6;
    color: var(--home-muted);
    margin: 0 auto 28px;
    max-width: 560px;
}

/* Tabs */
.home-hero-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.home-hero-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    color: var(--home-navy);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 1px 3px rgba(16, 27, 51, 0.06);
    border-bottom: 2px solid transparent;
}

.home-hero-tab:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 27, 51, 0.08);
}

.home-hero-tab.is-active {
    background: var(--home-navy);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 27, 51, 0.2);
    border-bottom-color: var(--home-gold);
}

.home-hero-tab-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Mega search bar */
.home-hero-search-form {
    text-align: left;
}

.home-hero-query {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0 auto 16px;
    padding: 6px 6px 6px 20px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(16, 27, 51, 0.1), 0 2px 8px rgba(16, 27, 51, 0.04);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.home-hero-query:focus-within {
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 12px 40px rgba(16, 27, 51, 0.12), 0 0 0 4px rgba(201, 168, 76, 0.12);
    transform: translateY(-1px);
}

.home-hero-query-icon {
    flex-shrink: 0;
    color: var(--home-gold);
    font-size: 1.125rem;
    margin-right: 12px;
}

.home-hero-query-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--home-text);
    font-family: var(--font-sans);
    padding: 14px 0;
}

.home-hero-query-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.home-hero-query-btn {
    flex-shrink: 0;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--home-navy) 0%, #17223B 100%);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-hero-query-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(16, 27, 51, 0.25);
}

/* Filter panel v2 */
.home-search-panel-v2 {
    max-width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(16, 27, 51, 0.06);
    padding: 20px 22px;
}

.home-search-panel-v2 .home-search-form {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.home-search-panel-v2 .home-search-input {
    border-radius: 14px;
    height: 50px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-search-panel-v2 .home-search-input:focus-within {
    border-color: var(--home-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.home-search-panel-v2 .home-search-btn {
    height: 50px;
    border-radius: 14px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--home-gold) 0%, #B8941F 100%);
    color: var(--home-navy);
    font-weight: 700;
    border: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-search-panel-v2 .home-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.35);
}

/* Popular chips */
.home-popular-searches {
    margin-top: 24px;
    text-align: center;
}

.home-popular-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--home-muted);
    margin-bottom: 12px;
}

.home-popular-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.home-quick-chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    color: var(--home-navy);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.home-quick-chip:hover {
    border-color: var(--home-gold);
    background: var(--home-gold-soft);
    transform: translateY(-1px);
}

/* Split Hero (legacy) */
.home-hero-clean {
    padding: 32px 0 0;
}
.home-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 420px;
}
.home-hero-copy {
    max-width: 560px;
}
.home-hero-copy h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--home-navy);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.home-hero-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--home-muted);
    margin: 0 0 28px;
    max-width: 480px;
}
.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.home-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--home-navy);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: background 0.15s, transform 0.15s;
}
.home-hero-btn-primary:hover {
    background: #17223B;
    color: #fff;
    transform: translateY(-1px);
}
.home-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--home-white);
    color: var(--home-navy);
    border: 1.5px solid var(--home-border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: border-color 0.15s, background 0.15s;
}
.home-hero-btn-secondary:hover {
    border-color: var(--home-gold);
    background: var(--home-gold-soft);
    color: var(--home-navy);
}

.home-hero-visual {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(145deg, #e8e4df 0%, #d4cfc8 35%, #c9c4bc 100%);
}
.home-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.home-hero-visual-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(16, 27, 51, 0.06) 0%, transparent 45%),
        linear-gradient(160deg, #f0ece6 0%, #e2dcd4 40%, #d8d2ca 100%);
    position: relative;
}
.home-hero-visual-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 48px,
            rgba(16, 27, 51, 0.03) 48px,
            rgba(16, 27, 51, 0.03) 49px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 48px,
            rgba(16, 27, 51, 0.03) 48px,
            rgba(16, 27, 51, 0.03) 49px
        );
}

/* Search Panel */
.home-search-wrap {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding-bottom: 8px;
}
.home-search-panel {
    max-width: var(--home-search);
    margin: 0 auto;
    background: var(--home-white);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(16, 27, 51, 0.08);
    padding: 18px 22px;
    box-sizing: border-box;
    min-height: 120px;
}
.home-search-form {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 180px;
    gap: 12px;
    align-items: end;
}
.home-search-field {
    display: block;
    min-width: 0;
}
.home-search-form label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--home-muted);
    margin-bottom: 6px;
}
.home-search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 14px;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: var(--home-white);
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.home-search-input:focus-within { border-color: var(--home-navy); }
.home-search-input i {
    color: var(--home-gold);
    font-size: 13px;
    flex-shrink: 0;
}
.home-search-input select,
.home-search-input input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--home-text);
    font-family: var(--font-sans);
    cursor: pointer;
}
.home-search-btn {
    height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--home-navy);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.15s;
    align-self: end;
    flex-shrink: 0;
}
.home-search-btn:hover { background: #17223B; }

/* Categories */
.home-category-section {
    padding: 56px 0 48px;
    text-align: center;
}
.home-category-section .home-section-head {
    text-align: center;
    margin-bottom: 32px;
}
.home-section-head h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--home-navy);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.home-section-head p {
    font-size: 15px;
    color: var(--home-muted);
    margin: 0;
}
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: var(--home-search);
    margin: 0 auto;
}
.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 108px;
    padding: 18px 12px;
    background: var(--home-white);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--home-navy);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
    box-shadow: 0 1px 4px rgba(16, 27, 51, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.home-category-card:hover {
    border-color: var(--home-gold);
    box-shadow: 0 4px 16px rgba(16, 27, 51, 0.07);
    transform: translateY(-2px);
}
.home-category-card.active {
    background: var(--home-gold-soft);
    border-color: var(--home-gold);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.15);
}
.home-category-card .cat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--home-gold-soft);
    color: var(--home-gold);
    border-radius: 50%;
    font-size: 16px;
}
.home-category-card.active .cat-icon {
    background: var(--home-gold);
    color: #fff;
}

/* Lower sections on homepage */
body.page-home .home-section {
    padding: 48px 0;
}
body.page-home .home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
body.page-home .home-section-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--home-navy);
    margin: 0;
}
body.page-home .home-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--home-gold);
    text-decoration: none;
}
body.page-home .home-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
body.page-home .business-card {
    border-radius: 16px;
    border: 1px solid var(--home-border);
    box-shadow: 0 2px 8px rgba(16, 27, 51, 0.05);
    overflow: hidden;
    background: var(--home-white);
}
body.page-home .trust-stats {
    background: var(--home-white);
    border-top: 1px solid var(--home-border);
}

/* Why section */
.home-why-section {
    background: var(--home-white);
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
}
.home-section-head--center {
    justify-content: center;
    text-align: center;
}
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.home-why-card {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}
.home-why-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--home-gold-soft);
    color: var(--home-gold);
    border-radius: 50%;
    font-size: 18px;
    margin-bottom: 14px;
}
.home-why-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--home-navy);
    margin: 0 0 6px;
}
.home-why-card p {
    font-size: 13px;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .site-menu-list { gap: 14px; }
    .site-menu-list a { font-size: 13px; }
    .home-category-grid { grid-template-columns: repeat(3, 1fr); }
    body.page-home .home-featured-grid { grid-template-columns: repeat(2, 1fr); }
    .home-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    .site-topbar-email { display: none; }
    .home-search-panel-v2 .home-search-form,
    .home-search-form {
        grid-template-columns: 1fr 1fr;
    }
    .home-search-panel-v2 .home-search-btn,
    .home-search-form .home-search-btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    /* Mobile nav: see mobile-fix.css */
    .site-actions .site-btn-gold { display: none; }

    .home-hero-v2 {
        padding: 32px 0 40px;
    }

    .home-hero-v2-copy h1 {
        font-size: 1.625rem;
    }

    .home-hero-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin-bottom: 16px;
        scrollbar-width: none;
    }

    .home-hero-tabs::-webkit-scrollbar { display: none; }

    .home-hero-tab {
        flex-shrink: 0;
    }

    .home-hero-query {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 12px 14px;
    }

    .home-hero-query-icon {
        margin-right: 8px;
    }

    .home-hero-query-input {
        width: 100%;
        order: 1;
        flex: 1 1 100%;
        padding: 10px 0;
    }

    .home-hero-query-btn {
        order: 2;
        width: 100%;
        margin-top: 8px;
    }

    .home-search-panel-v2 .home-search-form,
    .home-search-form {
        grid-template-columns: 1fr;
    }

    .home-popular-chips {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .home-quick-chip {
        flex-shrink: 0;
    }

    .home-hero-clean { padding: 24px 0 0; }
    .home-hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: auto;
    }
    .home-hero-copy { max-width: none; text-align: center; }
    .home-hero-copy p { margin-left: auto; margin-right: auto; }
    .home-hero-actions { justify-content: center; }
    .home-hero-visual { height: 280px; }

    .home-search-wrap { margin-top: 24px; }
    .home-search-form {
        grid-template-columns: 1fr;
    }
    .home-search-form .home-search-field { display: block; }
    .home-search-btn { width: 100%; grid-column: auto; }
}

@media (max-width: 768px) {
    .site-topbar { display: none; }
    .home-category-grid,
    body.page-home .home-featured-grid,
    .home-why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .home-category-grid,
    body.page-home .home-featured-grid,
    .home-why-grid {
        grid-template-columns: 1fr;
    }
    .home-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .home-hero-btn-primary,
    .home-hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 993px) {
    .site-nav-toggle { display: none !important; }
}
