/* =============================================
   TeamCar PREMIUM AUTO - LIGHT THEME
   Inspired by Lorisparfum.com minimal aesthetic
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Light/Cream Theme */
    --bg-dark: #F5F3EF;
    /* warm cream page background */
    --bg-surface: rgba(255, 255, 255, 0.85);
    /* card surfaces */
    --bg-card: #FFFFFF;
    --bg-mid: #EAE7E0;
    /* slightly darker divider sections */

    --accent-blue: #1a1a1a;
    /* dark charcoal (replaces neon blue) */
    --accent-red: #C0392B;
    /* muted warm red */
    --text-primary: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-light: #9A9A9A;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(0, 0, 0, 0.18);

    --neon-shadow-blue: 0 4px 20px rgba(0, 0, 0, 0.12);
    --neon-shadow-red: 0 4px 20px rgba(192, 57, 43, 0.2);

    /* Layout */
    --header-height: 70px;
    --ticker-height: 0px;
    --container-max-width: 1400px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
}

/* ─── TICKER VISIBILITY ────────────────────────── */
body.has-ticker {
    --ticker-height: 36px;
}

/* ─── ADMIN THEME OVERRIDE (Reverting to Dark) ─── */
.admin-theme {
    --bg-dark: #0A0B0D;
    --bg-surface: rgba(255, 255, 255, 0.05);
    --bg-card: rgba(20, 22, 26, 0.82);
    --bg-mid: rgba(255, 255, 255, 0.02);

    --accent-blue: #00D2FF;
    --accent-red: #FF0055;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-light: #666666;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(255, 255, 255, 0.15);

    --neon-shadow-blue: 0 0 15px rgba(0, 210, 255, 0.4);
    --neon-shadow-red: 0 0 15px rgba(255, 0, 85, 0.4);
}

.admin-theme body {
    background-color: var(--bg-dark);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Page spacing to avoid fixed header overlap */
.content-page {
    padding-top: calc(var(--ticker-height) + var(--header-height));
}

/* ─── ANNOUNCEMENT TICKER BAR ─────────────────── */
.ticker-bar {
    background: var(--text-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    height: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker-track span {
    padding: 0 80px;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── SELECT DROPDOWN OPTIONS ──────────────────── */
select option {
    background-color: #fff;
    color: #1a1a1a;
}

/* ─── CONTAINER ────────────────────────────────── */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── GLASS CARD (light) ───────────────────────── */
.glass {
    background: var(--bg-surface);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
}

/* ─── HEADER ───────────────────────────────────── */
.header {
    position: fixed;
    top: var(--ticker-height);
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 50px;
    z-index: 1000;
    transition: background 0.3s, border-bottom 0.3s, box-shadow 0.3s, color 0.3s;
    background: transparent;
    border-bottom: 1px solid transparent;
    color: #fff;
    pointer-events: auto;
}



/* Dark gradient behind transparent header for text contrast */
.header::before {
    content: '';
    position: absolute;
    top: calc(var(--ticker-height) * -1);
    left: 0;
    right: 0;
    height: calc(100% + var(--ticker-height) + 40px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 1;
}

.header.scrolled::before,
.header.force-light::before {
    opacity: 0;
}

.header.force-light {
    background: rgba(245, 243, 239, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.force-light .logo {
    color: var(--text-primary) !important;
}

.header.force-light .logo span {
    color: var(--accent-red) !important;
}

.header.force-light button,
.header.force-light a {
    color: var(--text-primary) !important;
}

.header.force-light .lang-switcher,
.header.scrolled .lang-switcher,
.header.glass .lang-switcher {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

.header.force-light .lang-btn,
.header.scrolled .lang-btn,
.header.glass .lang-btn {
    color: var(--text-primary);
    opacity: 0.6;
}

.header.force-light .lang-btn.active,
.header.scrolled .lang-btn.active,
.header.glass .lang-btn.active {
    background: var(--text-primary) !important;
    color: #fff !important;
    opacity: 1;
}

.header.force-light button span {
    background: var(--text-primary) !important;
}

.header.force-light svg,
.header.force-light svg * {
    stroke: var(--text-primary) !important;
}

/* filter removed for better visibility */

/* ─── RTL SUPPORT ─────────────────────────── */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .header>div:first-child {
    flex-direction: row-reverse;
}

body.rtl .header .logo {
    margin-left: 0;
    margin-right: 40px;
}

body.rtl .nav-links {
    margin-left: 0;
    margin-right: auto;
    flex-direction: row-reverse;
}

body.rtl .header-actions {
    margin-left: auto;
    margin-right: 0;
    flex-direction: row-reverse;
}

body.rtl .sidebar-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

body.rtl .sidebar-menu.open {
    transform: translateX(0);
}

body.rtl .cta-primary i,
body.rtl .cta-secondary i {
    transform: rotate(180deg);
    margin-left: 8px;
    margin-right: 0;
}

/* ─── LANGUAGE SWITCHER ──────────────────── */
.lang-switcher {
    display: flex;
    gap: 6px;
    margin-right: 15px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 38px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    opacity: 0.8;
    font-weight: 700;
    color: #fff;
    background: transparent;
    letter-spacing: 0.02em;
    padding: 0;
    line-height: 1;
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.lang-btn.active {
    background: #ffffff !important;
    color: #000000 !important;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 800;
    transform: scale(1);
    z-index: 2;
}

body.rtl .lang-switcher {
    margin-right: 0;
    margin-left: 15px;
    flex-direction: row-reverse;
}

/* White colors for transparent header */
.header .logo {
    color: #fff !important;
}

.header .logo span {
    color: rgba(255, 255, 255, 0.85) !important;
}

.header button {
    color: #fff !important;
}

.header.scrolled button,
.header.scrolled a {
    color: var(--text-primary) !important;
}

.header.scrolled .fav-badge-count {
    background: var(--accent-red) !important;
    color: #fff !important;
}

.header .header-spacer a,
.header .header-spacer button {
    color: rgba(255, 255, 255, 0.9) !important;
}

.header.scrolled {
    background: rgba(245, 243, 239, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

/* Dark colors for scrolled header */
.header.scrolled .logo {
    color: var(--text-primary) !important;
}

.header.scrolled .logo span {
    color: var(--accent-red) !important;
}

.header.scrolled button {
    color: var(--text-primary) !important;
}

.header.scrolled .header-spacer a,
.header.scrolled .header-spacer button {
    color: var(--text-primary) !important;
    opacity: 0.8;
}

.header.scrolled .header-spacer a:hover,
.header.scrolled .header-spacer button:hover {
    opacity: 1;
}

.nav {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.header-spacer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.header-spacer>* {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── LOGO ─────────────────────────────────────── */
.header .logo {
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.logo span {
    color: inherit;
}

/* ─── HERO SECTION ─────────────────────────────── */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height) - 36px);
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #1a1a1a;
}

.hero-visual {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    color: #ffffff;
    max-width: 680px;
}

.hero-content .hero-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 22px;
    color: #fff;
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 38px;
    max-width: 430px;
    line-height: 1.7;
}

/* ─── BUTTONS ──────────────────────────────────── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.cta-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-primary.light {
    background: #fff;
    color: #1a1a1a;
}

.cta-primary.light:hover {
    background: #f0f0f0;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-dark);
    padding: 13px 30px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.cta-secondary:hover {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* ─── SECTION TITLES ───────────────────────────── */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-title span {
    color: var(--accent-red);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 60px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* underline link style */
.underline-link {
    display: inline-block;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1.5px solid var(--text-primary);
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.underline-link:hover {
    opacity: 0.6;
}

/* ─── PRODUCT / CATEGORY GRID ──────────────────── */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
    transition: transform 0.5s ease;
}

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

/* ─── CATEGORY BANNER CARDS ─────────────────────── */
.cat-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.cat-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-banner:hover img {
    transform: scale(1.05);
}

.cat-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: #fff;
}

.cat-banner-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ─── CHIC MASONRY CATEGORY GRID ────────────────── */
.cat-chic-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
        "L L L M1 M1 M1"
        "L L L M2 M2 M2"
        "S1 S1 S2 S2 S3 S3";
    gap: 24px;
    padding: 30px 0;
}

.cat-chic-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cat-chic-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.cat-chic-item-large {
    grid-area: L;
    height: 480px;
}

.cat-chic-item-medium-1 {
    grid-area: M1;
    height: 228px;
}

.cat-chic-item-medium-2 {
    grid-area: M2;
    height: 228px;
}

.cat-chic-item-small-1,
.cat-chic-item-small-2,
.cat-chic-item-small-3 {
    height: 180px;
    /* Shorter for better symmetry with the top row */
}

.cat-chic-item-small-1 {
    grid-area: S1;
}

.cat-chic-item-small-2 {
    grid-area: S2;
}

.cat-chic-item-small-3 {
    grid-area: S3;
}

.cat-chic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, opacity 0.5s ease;
    opacity: 0.8;
}

.cat-chic-item:hover .cat-chic-img {
    transform: scale(1.1);
    opacity: 1;
}

.cat-chic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
}

.cat-chic-tag {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.cat-chic-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.cat-chic-item-small-1 .cat-chic-title,
.cat-chic-item-small-2 .cat-chic-title,
.cat-chic-item-small-3 .cat-chic-title {
    font-size: 1.25rem;
    /* Slightly smaller for the small cards to maintain symmetry */
}

.cat-chic-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-chic-item-small-1 .cat-chic-desc,
.cat-chic-item-small-2 .cat-chic-desc,
.cat-chic-item-small-3 .cat-chic-desc {
    display: none;
    /* Desc not shown in small cards in screenshot */
}

.cat-chic-link {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 6px;
    display: inline-block;
    transition: all 0.3s;
    width: fit-content;
}

.cat-chic-item:hover .cat-chic-link {
    border-color: #fff;
    color: #fff;
}

@media (max-width: 1200px) {
    .cat-chic-item-large {
        height: 440px;
    }

    .cat-chic-item-medium-1,
    .cat-chic-item-medium-2 {
        height: 208px;
    }
}

@media (max-width: 992px) {
    .cat-chic-grid {
        grid-template-areas: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cat-chic-item,
    .cat-chic-item-large,
    .cat-chic-item-medium-1,
    .cat-chic-item-medium-2,
    .cat-chic-item-small-1,
    .cat-chic-item-small-2,
    .cat-chic-item-small-3 {
        grid-area: auto;
        grid-column: span 1;
        grid-row: auto;
        height: 320px;
        border-radius: 16px;
    }

    .cat-chic-item-small-1 .cat-chic-desc,
    .cat-chic-item-small-2 .cat-chic-desc,
    .cat-chic-item-small-3 .cat-chic-desc {
        display: -webkit-box;
    }
}

@media (max-width: 600px) {
    .cat-chic-grid {
        grid-template-columns: 1fr;
    }

    .cat-chic-item,
    .cat-chic-item-large,
    .cat-chic-item-medium-1,
    .cat-chic-item-medium-2,
    .cat-chic-item-small-1,
    .cat-chic-item-small-2,
    .cat-chic-item-small-3 {
        grid-column: span 1;
        height: 280px;
    }

    .cat-chic-overlay {
        padding: 25px;
    }

    .cat-chic-title {
        font-size: 1.5rem;
    }
}

/* ─── FADE-IN ANIMATION ─────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Delay for Grids */
.reveal-stagger>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger>*:nth-child(6) {
    transition-delay: 0.6s;
}

/* ─── LUXURY HOVER EFFECTS ────────────────────── */
.luxury-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.luxury-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.luxury-button:hover::after {
    width: 300%;
    height: 300%;
}

/* ─── TOP PAGE LOADER ────────────────────────── */
#top-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-red);
    width: 0%;
    z-index: 10002;
    transition: width 0.4s ease;
}

/* ─── GRADIENT TEXT ──────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ─── HERO SLIDER ────────────────────────────────── */
.hero-slider-wrap {
    position: absolute;
    inset: 0;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 40px;
    margin-top: 0;
}

footer a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #fff !important;
    transform: translateX(5px);
}

footer .logo {
    color: #fff;
}

footer .logo span {
    color: var(--accent-red);
}

/* ─── FOOTER GRID & UTILS ───────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-bottom {
    padding: 30px 0;
}

/* ─── CONTACT INFO ITEMS ────────────────────── */
.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.contact-info-text p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    background: #fcfcfc;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--text-primary);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ─── FILTER SIDE PANEL ─────────────────────────── */
#filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

#filter-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border-color);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

#filter-panel.open {
    right: 0;
}

.filter-panel-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.filter-panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #111 !important;
    /* Forces dark color, overriding inherited white */
    margin: 0;
    font-weight: 800;
}

.close-filter-btn {
    background: transparent;
    border: none;
    color: #666;
    /* More distinct close button */
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-filter-btn:hover {
    color: var(--accent-red);
}

.filter-panel-content {
    padding: 28px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: #fafafa;
    /* Keep consistent light background */
}

.filter-panel-content label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
    /* Darker labels for contrast */
}

.filter-panel-content select,
.filter-panel-content input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-dark);
    border-radius: 8px;
    background: #fafafa;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.filter-panel-content select:focus,
.filter-panel-content input:focus {
    border-color: #1a1a1a;
}

/* ─── CUSTOM COLLAPSIBLE FILTERS ────────── */
.filter-accordion {
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle dark border, not white */
    border-radius: 6px;
    background: #fff;
    /* Solid white background, not rgba */
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-accordion summary {
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    /* Dark text for light background */
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
    outline: none;
    background: #fff;
    transition: background 0.2s;
}

.filter-accordion summary:hover {
    background: #fdfdfd;
}

.filter-accordion summary::-webkit-details-marker {
    display: none;
}

.filter-accordion summary::after {
    content: '▼';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    transition: transform 0.3s;
    color: #888;
}

.filter-accordion[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.filter-accordion[open] summary {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Dark subtle border */
}

.filter-selected-text {
    font-size: 0.8rem;
    color: var(--accent-red);
    /* Red accent to replace blue on white */
    margin-top: 4px;
    font-weight: 600;
    display: block;
}

.filter-accordion-content {
    padding: 15px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    background: #fafafa;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #444;
    /* Darker text */
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}

.filter-checkbox-label:hover {
    color: var(--accent-red);
}

.filter-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-red);
    cursor: pointer;
    margin: 0;
}

.filter-accordion-content::-webkit-scrollbar {
    width: 6px;
}

.filter-accordion-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    /* Darker thumb for light scrollbar */
    border-radius: 4px;
}

/* ─── SHARED RESPONSIVE CLASSES (Base) ────────── */
.product-detail-article {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.product-detail-h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1;
}

/* ─── PRODUCT DESCRIPTION SECTION ───────────── */
.product-description-section#categories {
    padding: 0 !important;
}

.product-description-section {
    border-top: 1px solid var(--border-color);
}

.product-description-section .rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.product-description-section .rich-content video {
    max-width: 100%;
    border-radius: 16px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.rich-content p {
    margin-bottom: 20px;
}

.fav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-layout {
    display: flex;
}

.admin-sidebar {
    width: 280px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 10;
}

.admin-main {
    flex: 1;
    padding: 50px 60px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-modal-content {
    width: 850px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .admin-sidebar nav {
        flex-direction: row !important;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
    }

    .admin-sidebar nav a {
        flex: 1;
        justify-content: center;
        border-left: none !important;
        border-bottom: 3px solid transparent;
        padding: 10px !important;
        border-radius: 8px !important;
    }

    .admin-main {
        padding: 20px 15px;
        height: auto;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .admin-checkbox-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .admin-header h1 {
        font-size: 1.8rem !important;
    }

    .admin-header div[style*="display: flex"] {
        flex-wrap: wrap;
        width: 100%;
    }

    .admin-header button {
        flex: 1;
        min-width: 140px;
        width: 100%;
        margin-top: 10px;
    }

    .admin-modal-content {
        padding: 20px 15px;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        transform: translateY(0);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .admin-theme .glass {
        padding: 20px !important;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Fix table overflow on mobile */
    .admin-main table {
        width: 100%;
        min-width: 600px;
        /* Ensure table keeps its structure and scrolls */
    }

    .glass[style*="overflow-x: auto"] {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

@media (max-width: 900px) {
    .header {
        padding: 0 15px;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    .header-spacer {
        justify-content: flex-end;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Make stats grid stack */
    section[style*="justify-content:space-around"]>.container>div {
        flex-direction: column;
        gap: 30px;
    }

    section[style*="justify-content:space-around"]>.container>div>div[style*="width:1px"] {
        width: 100% !important;
        height: 1px !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Category Grid adjustments removed as they interfered with the new design */

    /* Featured Section Adjustment */
    section[style*="background:var(--bg-mid)"]>.container>div {
        flex-direction: column;
        gap: 40px !important;
    }

    .product-detail-article {
        gap: 40px;
    }

    .product-detail-article>div {
        min-width: 100% !important;
    }

    .product-detail-h1 {
        font-size: 2.2rem;
    }

    .fav-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    /* Footer Grid */
    footer .container>div:first-child {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .products-header h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-primary {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
}

/* ─── SIDEBAR MENU ─────────────────────────────── */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    transition: left 0.3s ease;
    padding: 40px 30px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-menu.open {
    left: 0;
}

.sidebar-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s, padding-left 0.3s;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu a:hover {
    color: var(--accent-blue);
    padding-left: 10px;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.sidebar-close:hover {
    color: var(--accent-red);
}

/* =============================================
   PAGE TYPE OVERRIDES (Always at bottom)
   ============================================= */

/* 1. CONTENT PAGES (No hero, solid header) */
.content-page .header {
    background: var(--bg-dark) !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.content-page .header::before {
    display: none !important;
}

/* Force dark icons/logo on content pages */
.content-page .header .logo,
.content-page .header .logo span,
.content-page .header button,
.content-page .header a,
.content-page .header .header-spacer a,
.content-page .header .header-spacer button,
.content-page .header svg,
.content-page .header svg * {
    color: var(--text-primary) !important;
    stroke: var(--text-primary) !important;
}

/* 2. HOME/BLOG PAGES (Handled by .header defaults) */
.has-ticker .header {
    top: 36px;
}

/* ─── SEARCH BOX FIX ────────────────────────── */
#header-search-box {
    position: fixed !important;
    top: calc(var(--ticker-height) + var(--header-height)) !important;
    left: 0;
    right: 0;
    z-index: 1002 !important;
    background: rgba(245, 243, 239, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    padding: 0 50px;
    overflow: hidden;
    transition: height 0.3s ease;
}

.content-page {
    overflow-x: hidden !important;
}

/* ─── WHATSAPP FLOAT BUTTON ────────────────────── */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #1a1a1a;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--accent-red, #C0392B);
    box-shadow: 0 15px 35px rgba(192, 57, 43, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-float i {
    font-size: 32px;
}

/* Pulse animation - Now using Accent Red */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent-red, #C0392B);
    border-radius: 50%;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
    opacity: 0.5;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}


/* ─── ABOUT US SECTION ─────────────────────────── */
#about-us {
    background: #0a0a0a !important;
    /* Darker for premium feel */
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16/9;
}

.play-trigger {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4);
    animation: pulsePlay 2s infinite;
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.6);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(192, 57, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
    }
}

.play-trigger:hover {
    transform: scale(1.15);
    background: #fff !important;
    color: var(--accent-red) !important;
}

.about-text-content h2 {
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.about-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-text-content {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }
}

/* ─── MOBILE UX PRO ENHANCEMENTS (max-width: 768px) ─── */
@media (max-width: 768px) {

    /* M1: Veri girişi sırasında iOS Safari'de oto-zoom'u engelle */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* M2: Fluid Typography (Dinamik ve Okunabilir Başlıklar) */
    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: clamp(1.6rem, 6vw, 2rem) !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
        line-height: 1.4 !important;
    }

    /* M3: Touch Target Optimization (Daha kolay dokunulabilir alanlar) */
    .btn,
    button,
    .lang-btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* M4: Üst Kısım (Header) Kompaktlaştırılması */
    .header {
        padding: 10px 15px !important;
        gap: 5px !important;
    }

    .header .logo {
        font-size: 1.3rem !important;
        /* Logo ekranı kaplamasın */
        text-align: center;
    }

    /* Dil ve Favoriler kısmının taşmasını engelle! Piyasaya sürülen sürümde 250px sabitti */
    .header-spacer {
        width: auto !important;
        gap: 8px !important;
        justify-content: flex-end;
    }

    /* Dillerin kesilmesini düzelt (Kutuları küçült ve aralığı kıs) */
    .lang-switcher {
        gap: 4px !important;
    }

    .lang-switcher .lang-btn {
        min-width: 32px !important;
        width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        font-size: 0.75rem !important;
        padding: 0 !important;
    }

    /* Arama kutusu mobilde taşmasın */
    #header-search-box {
        padding: 0 15px !important;
    }

    /* M5: Genel Alan & Hero İyileştirmeleri */
    .section-spacing {
        padding: 50px 15px !important;
        /* Yanlardan daha az boşluk */
    }

    .hero {
        min-height: 500px !important;
        height: auto !important;
        padding-top: 100px !important;
    }

    /* Kategori Sayfası Filtre ve Sıralama Butonlarını alt alta al (Taşmayı önler) */
    .products-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .products-header>div {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    /* Input ve Butonların tam genişliğe yayılmasını sağla */
    .products-header select,
    .products-header button {
        width: 100% !important;
        justify-content: center !important;
    }

    /* M6: Ürün Kartları İyileştirme */
    .product-card {
        margin-bottom: 15px;
        /* Kartlar arası devasa boşlukları kıs */
    }

    .product-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    .product-image {
        height: 220px !important;
        /* Dikeyde ekranı daha dengeli kullansın */
    }

    /* M7: Akıcı Footer & Formlar */
    .footer {
        padding: 50px 20px 30px !important;
        text-align: center;
        /* Mobilde ortalı tasarım daha şıktır */
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .footer-social {
        justify-content: center !important;
    }

    .contact-form-card {
        padding: 30px 20px !important;
        /* Mobilde daha ince iç boşluk */
    }
}

/* ─── LIVE SEARCH DROPDOWN ───────────────── */
.live-search-dropdown-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    border-top: none;
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

#header-search-box.open {
    overflow: visible !important;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.live-search-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.live-search-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.live-search-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-search-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.live-search-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
}

.live-search-empty {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}