/* ================================
   Modern Light Theme Override
   Demirhan Panel Çit — 2026 Refresh
   ================================ */

:root {
    /* Brand */
    --color-primary: #CC2128;
    --color-primary-dark: #9B161C;
    --color-primary-light: #E94952;
    --color-primary-soft: #FEE7E8;
    --color-primary-bg: #FFF5F5;

    /* Neutral light palette */
    --color-bg: #ffffff;
    --color-bg-soft: #F7F8FA;
    --color-bg-muted: #EFF1F5;
    --color-surface: #ffffff;

    --color-ink: #0B1220;
    --color-ink-2: #1F2937;
    --color-text: #1F2937;
    --color-text-muted: #5B6473;
    --color-text-soft: #8A93A2;

    --color-border: #E5E8EE;
    --color-border-strong: #D2D6DE;

    /* Accents */
    --color-accent-dark: #0B1220;

    /* Updated gradients — deeper red, no pink wash */
    --gradient-primary: linear-gradient(135deg, #CC2128 0%, #9B161C 100%);
    --gradient-accent: linear-gradient(135deg, #0B1220 0%, #1F2937 100%);
    --gradient-warm: linear-gradient(135deg, #FF7A59 0%, #CC2128 100%);
    --gradient-soft: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);

    /* Shadows — soft, modern */
    --shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.04);
    --shadow-sm: 0 2px 8px rgba(11, 18, 32, 0.05);
    --shadow-md: 0 8px 24px rgba(11, 18, 32, 0.06);
    --shadow-lg: 0 20px 40px -10px rgba(11, 18, 32, 0.10);
    --shadow-xl: 0 30px 60px -20px rgba(11, 18, 32, 0.18);
    --shadow-glow: 0 12px 36px -8px rgba(204, 33, 40, 0.35);
    --shadow-red: 0 12px 24px -8px rgba(204, 33, 40, 0.45);

    /* Vertical rhythm tokens — used by all modernized sections so spacing
       stays consistent across hero, content sections, and CMS-builder blocks. */
    --hero-pad-y:          clamp(2.5rem, 5vw, 4rem);  /* products/about/contact/blog/product-detail hero */
    --section-pad-y:       clamp(2rem, 4.5vw, 3.5rem); /* outer section padding */
    --section-pad-y-sm:    clamp(1.25rem, 3vw, 2rem);  /* tighter follow-on section */
    --builder-block-pad-y: 1.4rem;                     /* per builder-section block */
    --builder-page-pad-y:  1rem;                       /* content-builder wrapper */
    --heading-tighten:     0.25rem;                    /* heading bottom drop */
    --heading-next-pad-t:  0.5rem;                     /* next block top padding after heading */
}

/* Base */
html { background: var(--color-bg); }
body {
    background-color: var(--color-bg) !important;
    color: var(--color-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

::selection { background: var(--color-primary); color: #fff; }

/* ================================
   Top Info Bar (announcement strip)
   ================================ */
.topbar {
    background: var(--color-accent-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.825rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1001;
}
.topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.topbar a {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color .2s ease;
}
.topbar a:hover { color: #fff; }
.topbar a svg { color: var(--color-primary-light); }
.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}
.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0.55rem;
    background: rgba(204, 33, 40, 0.18);
    color: #FECACA;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.topbar-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
@media (max-width: 768px) {
    .topbar { display: none; }
}

/* ================================
   Modern Navbar
   ================================ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0;
    transition: box-shadow .25s ease, background .25s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
    padding: 0.5rem 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo — show ONLY the dark/colored logo on light theme.
   Boyutlar Site Ayarları → Site Kimliği → Logo Boyut Ayarları'ndan
   --logo-height, --logo-height-mobile, --logo-max-width CSS vars ile beslenir. */
.logo-image.dark-hide { display: block !important; }
.logo-image.dark-show { display: none !important; }
.logo-image {
    height: var(--logo-height, 72px) !important;
    max-height: var(--logo-height, 72px) !important;
    width: auto !important;
    max-width: var(--logo-max-width, 260px) !important;
}
@media (max-width: 992px) {
    .logo-image {
        height: var(--logo-height-mobile, 52px) !important;
        max-height: var(--logo-height-mobile, 52px) !important;
    }
}

/* Nav links — clean modern */
.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text) !important;
    padding: 0.6rem 0.95rem !important;
    border-radius: 10px;
    position: relative;
    transition: color .2s ease, background .2s ease;
}
.nav-link::after { display: none !important; }
.nav-link:hover {
    background: var(--color-primary-bg);
    color: var(--color-primary) !important;
}
.nav-link.active {
    color: var(--color-primary) !important;
    background: var(--color-primary-bg);
}

/* Dropdown styling refresh */
.nav-item-dropdown .dropdown-content {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: 14px !important;
    padding: 0.6rem !important;
    margin-top: 0.4rem;
    min-width: 240px !important;
}
.nav-item-dropdown .dropdown-content .nav-link {
    color: var(--color-text) !important;
    padding: 0.55rem 0.85rem !important;
    border-radius: 8px;
    display: block;
}
.nav-item-dropdown .dropdown-content .nav-link:hover {
    background: var(--color-primary-bg);
    color: var(--color-primary) !important;
}

/* Nav actions: align button + lang selector */
.nav-actions { align-items: stretch !important; gap: 0.6rem !important; }
.nav-actions .btn,
.nav-actions .lang-current {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 1.1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
}

/* Language selector — light */
.lang-current {
    background: var(--color-bg-soft) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text) !important;
    font-weight: 600;
}
.lang-current:hover {
    background: var(--color-bg-muted) !important;
    border-color: var(--color-border-strong) !important;
}
.lang-dropdown {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: 12px !important;
}
.lang-option { color: var(--color-text) !important; }
.lang-option:hover { background: var(--color-bg-soft) !important; }
.lang-option.active {
    background: var(--color-primary-bg) !important;
    color: var(--color-primary) !important;
}

/* Modern hamburger — visible across tablet & mobile */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        background: var(--color-bg-soft) !important;
        border: 1px solid var(--color-border) !important;
        border-radius: 12px !important;
        flex-shrink: 0;
    }
}
.mobile-menu-toggle span {
    background: var(--color-ink) !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 2px;
    display: block;
}

/* ================================
   Buttons — modernized
   ================================ */
.btn {
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.btn-primary {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    box-shadow: var(--shadow-red);
    border: none !important;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -8px rgba(204, 33, 40, 0.55);
}
.btn-secondary {
    background: var(--color-ink) !important;
    color: #fff !important;
    border: 1px solid var(--color-ink) !important;
}
.btn-secondary:hover {
    background: #1F2937 !important;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent !important;
    color: var(--color-ink) !important;
    border: 1.5px solid var(--color-border-strong) !important;
}
.btn-outline:hover {
    background: var(--color-bg-soft) !important;
    border-color: var(--color-ink) !important;
    color: var(--color-ink) !important;
}
.btn-large {
    padding: 1rem 1.8rem;
    font-size: 1rem;
    border-radius: 14px;
}

/* ================================
   Hero — modern light variant
   ================================ */
.hero {
    position: relative;
    min-height: 0 !important;
    height: auto !important;
    background:
        radial-gradient(ellipse at 80% 10%, rgba(204, 33, 40, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 90%, rgba(11, 18, 32, 0.06) 0%, transparent 50%),
        var(--color-bg);
    overflow: hidden;
    padding: 4.5rem 0 4rem !important;
    color: var(--color-text);
}
@media (min-width: 993px) {
    .hero { padding: 5.5rem 0 5rem !important; }
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11,18,32,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,18,32,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero-video { display: none !important; }
.hero-video-overlay { display: none !important; }
.gradient-orb { display: none !important; }

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-text { max-width: 680px; }
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--color-ink);
    margin-bottom: 1.25rem;
}
.title-line { display: block; }
.gradient-text {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    border: 1px solid rgba(204, 33, 40, 0.15);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}
.hero-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(204, 33, 40, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Trust strip under CTA */
.hero-trust {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}
.hero-trust strong { color: var(--color-ink); font-weight: 700; }
.hero-trust .pipe {
    width: 1px; height: 18px; background: var(--color-border);
}

/* Floating stats — modern card */
.floating-stats {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
}
.stat-card {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: none !important;
    padding: 1.1rem 1.25rem !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center;
    gap: 1rem;
}
.stat-card.glass { background: #fff !important; }
.stat-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
}
.stat-info { display: flex; flex-direction: column; }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Scroll indicator — hide on the modern hero (was floating awkwardly) */
.scroll-indicator { display: none !important; }

/* ================================
   Hero Modern — Editorial Bento
   ================================ */
.hero-modern {
    position: relative;
    background: var(--color-bg) !important;
    overflow: hidden;
    padding: 4rem 0 5rem !important;
    min-height: 0 !important;
    isolation: isolate;
}
.hero-modern.has-bg-image {
    background-color: transparent !important;
    color: #fff;
}
.hero-modern.has-bg-image::before { display: none; }
.hero-modern.has-bg-image .hero-pattern,
.hero-modern.has-bg-image .hero-glow { opacity: 0.15; }
.hero-modern.has-bg-image .hero-eyebrow,
.hero-modern.has-bg-image .hero-lede,
.hero-modern.has-bg-image .hero-mega-title,
.hero-modern.has-bg-image .hero-marker-text { color: #fff; }
@media (min-width: 993px) {
    .hero-modern { padding: 5rem 0 6rem !important; }
}

/* Hero FX stage — particles/canvas mounts here (between pattern and content) */
.hero-fx-stage {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Floating product/keyword labels — sit on top of Vanta NET but under content */
.hero-fx-labels {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.hero-fx-label {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    color: var(--color-ink);
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
    will-change: opacity;
    transition: opacity .35s ease;
}
@media (max-width: 992px) {
    .hero-fx-labels { display: none; }
}
.hero-modern[data-fx="vanta"] .hero-fx-stage { pointer-events: auto; }
/* When an FX is active, soften the existing layered glow/pattern so they coexist */
.hero-modern[data-fx="vanta"] .hero-glow,
.hero-modern[data-fx="particles"] .hero-glow { opacity: 0.35; }
.hero-modern[data-fx="vanta"] .hero-pattern { opacity: 0.5; }

/* Fence-mesh inspired background pattern */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11,18,32,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,18,32,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    z-index: -2;
    pointer-events: none;
}

/* Soft red glow blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    z-index: -1;
    pointer-events: none;
}
.hero-glow-1 {
    top: -150px; right: -100px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(204,33,40,0.35) 0%, transparent 70%);
}
.hero-glow-2 {
    bottom: -200px; left: -150px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(11,18,32,0.12) 0%, transparent 70%);
}

/* Huge background watermark */
.hero-watermark {
    position: absolute;
    bottom: -2.5rem;
    left: -1rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(7rem, 18vw, 18rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(11, 18, 32, 0.06);
    text-stroke: 1px rgba(11, 18, 32, 0.06);
    z-index: -1;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

/* Grid layout */
.hero-modern-grid {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 992px) {
    .hero-modern-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Vertical EST marker */
.hero-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--color-text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    padding-top: 2rem;
    align-self: stretch;
    justify-self: center;
}
.hero-marker-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    display: block;
    writing-mode: horizontal-tb;
}
.hero-marker-big {
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 800;
}
@media (max-width: 992px) {
    .hero-marker { display: none; }
}

/* Text column */
.hero-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 640px;
}
.hero-modern .hero-eyebrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: #fff;
    color: var(--color-ink);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.hero-modern .hero-eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(204,33,40,0.15);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(204,33,40,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(204,33,40,0.05); }
}

/* Mega title */
.hero-mega-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2.8rem, 6.5vw, 5.2rem) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
    color: var(--color-ink) !important;
    margin: 0 !important;
}
.hero-mega-line {
    display: block;
    padding-bottom: 0.08em;
}
.hero-mega-line.accent {
    background: linear-gradient(135deg, #CC2128 0%, #E94952 50%, #CC2128 100%) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: shimmer 6s ease-in-out infinite;
    padding-bottom: 0.12em;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

/* Lede */
.hero-lede {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 580px;
    margin: 0.5rem 0 0;
}

/* Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.hero-ghost-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color .2s ease, gap .2s ease;
}
.hero-ghost-link:hover { color: var(--color-primary); gap: 0.85rem; }
.hero-ghost-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    display: grid; place-items: center;
    transition: background .2s ease, transform .2s ease;
}
.hero-ghost-link:hover .hero-ghost-icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.05);
}

/* Trust row */
.hero-trust-row {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-border);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.trust-item .trust-icon {
    width: 22px; height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.trust-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.trust-item strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-ink);
}
.trust-item span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ================================
   Hero Visual Column
   ================================ */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.hero-image-frame {
    position: relative;
    padding: 1rem;
}
.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,33,40,0.18), rgba(11,18,32,0.08));
    border-radius: 32px;
    filter: blur(20px);
    transform: translate(8px, 14px);
    z-index: 0;
}
.hero-image-card {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    background: #fff;
}
.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s ease;
}
.hero-image-card:hover img { transform: scale(1.04); }

/* Video card variant */
.hero-video-card { background: #0B1220; }
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.hero-video-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,18,32,0.10) 0%, rgba(11,18,32,0.20) 50%, rgba(11,18,32,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Centered play CTA → opens YouTube */
.hero-play-cta {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    z-index: 4;
    display: grid;
    place-items: center;
    border-radius: 50%;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.hero-play-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: play-ring-pulse 2.4s ease-out infinite;
}
@keyframes play-ring-pulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}
.hero-play-circle {
    position: relative;
    z-index: 1;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 12px 28px -6px rgba(204,33,40,0.55), inset 0 0 0 1px rgba(255,255,255,0.15);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero-play-circle svg { width: 18px; height: 18px; transform: translateX(2px); }
.hero-play-cta:hover .hero-play-circle {
    transform: scale(1.08);
    background: #B91C1C;
    box-shadow: 0 20px 36px -6px rgba(204,33,40,0.75);
}

/* Meta chip — moved to TOP-LEFT to avoid clashing with 4.9 rating at bottom-left */
.hero-video-meta {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    pointer-events: none;
    max-width: 70%;
}
.hero-video-yt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-video-yt svg { color: #FF0033; }
.hero-video-title {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
    padding-left: 0.25rem;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .hero-play-cta { width: 56px; height: 56px; }
    .hero-play-circle { width: 42px; height: 42px; }
    .hero-play-circle svg { width: 16px; height: 16px; }
}

/* Floating badges over image */
.hero-floating-badge {
    position: absolute;
    z-index: 3;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    backdrop-filter: blur(10px);
}
.hero-badge-top {
    top: -1rem;
    right: -1.25rem;
}
.hero-badge-bottom {
    bottom: 1.5rem;
    left: -1.5rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem;
}
.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
    flex-shrink: 0;
    animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
    50% { box-shadow: 0 0 0 8px rgba(16,185,129,0.06); }
}
.hero-badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.1;
}
.hero-badge-sub {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.1;
    margin-top: 0.15rem;
}
.hero-badge-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-ink);
    font-weight: 700;
    font-size: 0.95rem;
}
.hero-badge-rating span { color: var(--color-text-muted); font-weight: 500; font-size: 0.8rem; }

/* Mini stats row */
.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.mini-stat {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 0.9rem 0.75rem;
    text-align: center;
    transition: border-color .2s ease, transform .2s ease;
}
.mini-stat:hover {
    border-color: rgba(204,33,40,0.25);
    transform: translateY(-2px);
}
.mini-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.05;
}
.mini-stat-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
    font-weight: 500;
}

/* Hide old floating-stats when modern hero is active */
.hero-modern .floating-stats { display: none !important; }

/* Mobile tweaks */
@media (max-width: 992px) {
    .hero-image-card { aspect-ratio: 16/11; }
    .hero-badge-top { top: -0.75rem; right: 0; }
    .hero-badge-bottom { bottom: -0.5rem; left: 0; }
    .hero-trust-row { gap: 1.25rem; }
}
@media (max-width: 560px) {
    .hero-trust-row { flex-direction: column; gap: 0.85rem; }
    .hero-mini-stats { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
    .hero-floating-badge { padding: 0.6rem 0.75rem; }
}
/* Mobile hero: hero-actions ile hero-trust-row arasındaki boşluğu sıkılaştır
   (border-top + büyük margin/padding mobile'de fazla boşluk veriyor). */
@media (max-width: 768px) {
    .hero-text-col { gap: 1rem; }
    .hero-trust-row {
        margin-top: 0.75rem;
        padding-top: 0.85rem;
    }
    .hero-actions { gap: 0.85rem; margin-top: 0.25rem; }
}

/* ================================
   Stats grid block (CMS) — light theme
   ================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item, .stat-item.glass {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 18px !important;
    padding: 1.75rem 1.25rem !important;
    text-align: center;
    box-shadow: var(--shadow-xs) !important;
    backdrop-filter: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md) !important;
    border-color: rgba(204, 33, 40, 0.2) !important;
}
.stat-icon-wrapper {
    width: 44px; height: 44px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    display: grid; place-items: center;
}
.stat-value {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: var(--color-primary) !important;
    line-height: 1.05 !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-primary) !important;
    -webkit-background-clip: border-box !important;
    margin-bottom: 0.35rem;
}
.stat-text {
    color: var(--color-text-muted) !important;
    font-size: 0.9rem !important;
    font-weight: 500;
}

/* ================================
   Section headers
   ================================ */
.section-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--color-primary-bg) !important;
    color: var(--color-primary) !important;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.9rem, 3.5vw, 2.75rem) !important;
    font-weight: 800 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem;
}
.section-description {
    color: var(--color-text-muted) !important;
    font-size: 1.05rem !important;
    max-width: 680px;
    margin: 0 auto;
}

/* ================================
   Features section
   ================================ */
.features {
    background: var(--color-bg-soft);
    padding: 5rem 0 !important;
}
.feature-card {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 18px !important;
    padding: 2rem !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
    box-shadow: var(--shadow-xs) !important;
}
.feature-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(204, 33, 40, 0.2) !important;
}
.feature-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    display: grid; place-items: center;
    margin-bottom: 1.25rem;
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-title {
    font-family: 'Outfit', sans-serif !important;
    color: var(--color-ink) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}
.feature-description {
    color: var(--color-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* ================================
   Products — bento grid
   ================================ */
.products {
    background: #fff;
    padding: 5rem 0 !important;
}
.products-bento {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 240px !important;
    gap: 1rem !important;
    margin-top: 2.5rem;
}
.products-bento .product-card {
    position: relative;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
}
.products-bento .product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-xl) !important;
}
.products-bento .product-card-large {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    min-height: 0 !important;
}
.products-bento .product-card-medium {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
    min-height: 0 !important;
}
.products-bento .product-card-small {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
    min-height: 0 !important;
}
@media (max-width: 768px) {
    .products-bento { grid-template-columns: 1fr !important; grid-auto-rows: 260px !important; }
    .products-bento .product-card-large,
    .products-bento .product-card-medium,
    .products-bento .product-card-small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

.products-bento .product-card .product-image {
    position: absolute !important;
    inset: 0 !important;
    background: #1F2937 !important;
    overflow: hidden;
}
.products-bento .product-card .product-image-tag {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
    display: block;
}
.products-bento .product-card:hover .product-image-tag { transform: scale(1.06); }
.product-card:hover .product-image { transform: scale(1.06); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,18,32,0) 35%, rgba(11,18,32,0.85) 100%);
}
.product-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 1.5rem;
    color: #fff;
}
/* Higher specificity to beat .product-title gradient-text leak from style.css */
.products-bento .product-card .product-title,
.product-card .product-content .product-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    margin-bottom: 0.4rem !important;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.products-bento .product-card .product-description {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.75rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .2s ease, transform .2s ease;
}
.product-link:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    transform: translateX(2px);
}

/* ================================
   References / brands strip
   ================================ */
.references {
    background: var(--color-bg-soft);
    padding: var(--section-pad-y) 0 !important;
    overflow: hidden;
}
.references .section-header { margin-bottom: 2rem !important; }

/* Kenar fade — markalar kenarda yumuşakça kaybolup belirir */
.references-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.references-track {
    display: flex;
    gap: 1.25rem;
    animation: marquee 40s linear infinite;
    width: max-content;
    align-items: center;
    padding: 0.5rem 0; /* hover lift için nefes */
    will-change: transform;
}
.references-marquee:hover .references-track { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.reference-logo {
    color: var(--color-text-soft) !important;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.reference-logo:hover {
    color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 6px 16px rgba(11,18,32,0.08));
    border-color: rgba(204,33,40,0.25);
}

@media (max-width: 640px) {
    .reference-logo { font-size: 1rem; padding: 0.7rem 1.15rem; }
    .references-track { gap: 1rem; animation-duration: 30s; }
}

/* ================================
   CTA Section — Modern Light Theme
   Split layout: copy on left, contact card on right
   ================================ */
.cta-section {
    background: var(--color-bg-soft) !important;
    color: var(--color-text) !important;
    padding: 5.5rem 0 !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11,18,32,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,18,32,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    z-index: -2;
    pointer-events: none;
}
.cta-background, .cta-section .gradient-orb { display: none !important; }

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    /* Kendi compositor layer'ında izole et — blur(90px) her scroll'da değil 1 kez rasterize edilir */
    transform: translateZ(0);
    contain: paint;
}
.cta-glow-1 {
    top: -120px; left: -100px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(204,33,40,0.35) 0%, transparent 70%);
}
.cta-glow-2 {
    bottom: -160px; right: -120px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(11,18,32,0.12) 0%, transparent 70%);
}

.cta-modern-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 992px) {
    .cta-modern-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Centered single-column variant (used on products/contact pages) */
.cta-section-simple .cta-copy-center {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.cta-section-simple .cta-copy-center .cta-description { margin-left: auto; margin-right: auto; }
.cta-section-simple .cta-copy-center .cta-buttons { justify-content: center !important; }
.cta-section-simple .cta-copy-center .cta-guarantee { justify-content: center; }

/* Left copy column */
.cta-copy { max-width: 620px; }
.cta-tag {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: #fff !important;
    color: var(--color-ink) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-xs);
    padding: 0.4rem 0.9rem !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 1.1rem !important;
}
.cta-tag .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(204,33,40,0.15);
    animation: pulse 2s ease-in-out infinite;
}
.cta-section .cta-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2.1rem, 4vw, 3.2rem) !important;
    font-weight: 900 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.08 !important;
    margin: 0 0 1rem !important;
}
.cta-section .cta-description {
    color: var(--color-text-muted) !important;
    font-size: 1.08rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.75rem !important;
    max-width: 540px;
}
.cta-section .cta-buttons {
    display: flex !important;
    gap: 0.75rem !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.cta-section .btn-outline {
    color: var(--color-ink) !important;
    border-color: var(--color-border-strong) !important;
    background: #fff !important;
}
.cta-section .btn-outline:hover {
    background: var(--color-bg) !important;
    border-color: var(--color-ink) !important;
    color: var(--color-ink) !important;
}
.cta-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.cta-guarantee svg { color: var(--color-primary); flex-shrink: 0; }
.cta-guarantee strong { color: var(--color-ink); font-weight: 700; }

/* Right contact card */
.cta-contact-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.cta-contact-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    background: linear-gradient(135deg, rgba(204,33,40,0.25), transparent 60%);
    z-index: -1;
    opacity: 0.6;
}
.cta-contact-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}
.cta-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    background: rgba(16,185,129,0.10);
    color: #047857;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.cta-contact-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
    animation: pulse-green 2s ease-in-out infinite;
}
.cta-contact-header p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0;
}
.cta-contact-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-ink);
    transition: background .2s ease, transform .2s ease;
}
.cta-contact-row:hover {
    background: var(--color-bg-soft);
    transform: translateX(2px);
}
.cta-contact-row + .cta-contact-row {
    margin-top: 0.25rem;
}
.cta-contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.cta-contact-icon-phone {
    background: rgba(204,33,40,0.10);
    color: var(--color-primary);
}
.cta-contact-icon-wa {
    background: rgba(37,211,102,0.12);
    color: #25D366;
}
.cta-contact-icon-mail {
    background: rgba(11,18,32,0.08);
    color: var(--color-ink);
}
.cta-contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}
.cta-contact-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.cta-contact-text strong {
    font-size: 0.95rem;
    color: var(--color-ink);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cta-contact-arrow {
    color: var(--color-text-soft);
    flex-shrink: 0;
    transition: color .2s ease, transform .2s ease;
}
.cta-contact-row:hover .cta-contact-arrow {
    color: var(--color-primary);
    transform: translateX(2px);
}

/* ================================
   WhatsApp Float Button — text must stay readable on dark bg
   ================================ */
.whatsapp-btn { border-color: rgba(37, 211, 102, 0.45) !important; }
.whatsapp-text span { color: rgba(255,255,255,0.7) !important; }
.whatsapp-text strong { color: #fff !important; }

/* ================================
   Products Page — Modern Refresh
   ================================ */
.products-hero {
    position: relative;
    background: var(--color-bg) !important;
    padding: var(--hero-pad-y) 0 !important;
    overflow: hidden;
    isolation: isolate;
}
.products-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11,18,32,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,18,32,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 85%);
    z-index: -2;
    pointer-events: none;
}
.products-hero::after {
    content: "";
    position: absolute;
    top: -120px; right: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,33,40,0.18) 0%, transparent 70%);
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
}

.breadcrumb {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted) !important;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.85rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    box-shadow: var(--shadow-xs);
}
.breadcrumb a {
    color: var(--color-text-muted) !important;
    transition: color .2s ease;
}
.breadcrumb a:hover { color: var(--color-primary) !important; }
.breadcrumb span:not(:last-child) { color: var(--color-border-strong); }

.products-hero-content { max-width: 760px; }
.products-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2.4rem, 5vw, 4rem) !important;
    font-weight: 900 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.035em !important;
    line-height: 1.18 !important;
    padding-top: 0.1em !important;
    margin: 0 0 1rem !important;
}
.products-intro {
    color: var(--color-text-muted) !important;
    font-size: 1.1rem !important;
    line-height: 1.65 !important;
    max-width: 680px;
    margin: 0 !important;
}

/* ================================
   Filter Tabs — Segmented Pill Control
   ================================ */
.filter-section {
    padding: 1rem 0 1.25rem !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--color-border) !important;
    position: sticky !important;
    top: 96px;
    z-index: 50;
}
@media (max-width: 992px) {
    .filter-section { top: 78px; }
}
.filter-section .container {
    display: flex;
    justify-content: center;
}
.filter-tabs {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
    padding: 0.4rem !important;
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-md) !important;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start !important;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.65rem 1.05rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 11px !important;
    color: var(--color-text-muted) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease !important;
    box-shadow: none !important;
}
.filter-tab:hover {
    background: var(--color-bg-soft) !important;
    color: var(--color-ink) !important;
    border: none !important;
}
.filter-tab.active {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px -4px rgba(204,33,40,0.45) !important;
    border: none !important;
}
.filter-tab.active:hover { background: var(--gradient-primary) !important; }

.tab-count {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(11,18,32,0.08) !important;
    color: inherit !important;
    padding: 0.1rem 0.55rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 700;
    min-width: 22px;
    opacity: 1 !important;
}
.filter-tab.active .tab-count {
    background: rgba(255,255,255,0.22) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .filter-section .container { justify-content: flex-start; }
    .filter-tabs {
        width: 100%;
        border-radius: 14px !important;
    }
}

/* ================================
   Product Cards Grid — Modern Refresh
   ================================ */
.products-section {
    padding: 1rem 0 5rem !important;
    background: var(--color-bg) !important;
}
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 1.5rem !important;
}
/* Desktop standart: 3 sütun (ürün sayısı 3/6/9/12 ile uyumlu) */
@media (min-width: 1024px) and (max-width: 1919.98px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
.products-grid .product-card {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-xs) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}
.products-grid .product-card.is-hidden {
    display: none !important;
}

/* ================================
   YouTube Modal — hero play CTA tarafından tetiklenir
   ================================ */
.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
}
.yt-modal.is-open { display: flex; }

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: yt-fade .25s ease;
}
.yt-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 1100px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    animation: yt-scale .3s cubic-bezier(.22, 1, .36, 1);
}
.yt-modal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.yt-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.yt-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.yt-modal-close:hover {
    transform: scale(1.08);
    background: var(--color-primary, #CC2128);
    border-color: var(--color-primary, #CC2128);
    color: #fff;
}
@media (max-width: 640px) {
    .yt-modal-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
    }
}

@keyframes yt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes yt-scale {
    from { opacity: 0; transform: scale(.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.products-grid .product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-xl) !important;
    border-color: rgba(204,33,40,0.25) !important;
}
.product-card-image {
    position: relative !important;
    display: block !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: var(--color-bg-soft) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
}
.product-card-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color .2s ease;
}
.product-card-title a:hover {
    color: var(--color-primary) !important;
}
.product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .25s ease !important;
}
@media (hover: hover) and (pointer: fine) {
    .products-grid .product-card:hover .product-card-image img {
        transform: scale(1.05) !important;
    }
}
/* Scroll sırasında body'ye is-scrolling class'ı eklenir — hover etkileşimi tetiklenmesin */
body.is-scrolling .product-card-image img {
    transition: none !important;
}
body.is-scrolling .product-card {
    pointer-events: none !important;
}
.product-category-badge {
    position: absolute !important;
    top: 0.85rem !important;
    left: 0.85rem !important;
    padding: 0.3rem 0.7rem !important;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: var(--color-primary) !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    border: 1px solid rgba(204,33,40,0.15) !important;
    box-shadow: var(--shadow-xs) !important;
    background-image: none !important;
}
.product-card-content {
    padding: 1.35rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    flex: 1;
}
.product-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-ink) !important;
    -webkit-background-clip: border-box !important;
}
.product-card-description {
    color: var(--color-text-muted) !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin: 0.3rem 0 0.5rem !important;
}
.feature-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.3rem 0.6rem !important;
    background: var(--color-bg-soft) !important;
    color: var(--color-ink) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}
.feature-item svg { color: var(--color-primary); }
.btn-product {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    margin-top: auto !important;
    padding: 0.7rem 1.1rem !important;
    background: var(--color-bg-soft) !important;
    color: var(--color-ink) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, transform .15s ease !important;
}
.btn-product:hover {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-1px);
}
.btn-product:hover svg { color: #fff; }

/* ================================
   About Page — Modern Refresh
   ================================ */
.page-header {
    position: relative;
    background: var(--color-bg) !important;
    padding: 3rem 0 2rem !important;
    overflow: hidden;
    isolation: isolate;
    min-height: 0 !important;
}
.page-header-content { text-align: center !important; margin: 0 auto !important; }
.page-header-background, .page-header .gradient-orb { display: none !important; }
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11,18,32,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,18,32,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 85%);
    z-index: -2;
    pointer-events: none;
}
.page-header::after {
    content: "";
    position: absolute;
    top: -120px; right: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,33,40,0.18) 0%, transparent 70%);
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
}
.page-header-content {
    max-width: 760px;
    margin: 0 auto !important;
    text-align: center !important;
}
.page-header-content > * { margin-left: auto !important; margin-right: auto !important; }
.page-header .page-tag { margin-bottom: 0.75rem !important; }
.page-header .page-title { margin: 0 0 0.5rem !important; }
.page-header .page-description { margin: 0 auto !important; max-width: 580px !important; }
.page-tag {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem !important;
    background: var(--color-primary-bg) !important;
    color: var(--color-primary) !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 1rem !important;
    border: 1px solid rgba(204,33,40,0.15);
}
.page-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2.4rem, 5vw, 4rem) !important;
    font-weight: 900 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.035em !important;
    line-height: 1.18 !important;
    padding-top: 0.1em !important;
    margin: 0 0 1rem !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-ink) !important;
}
.page-description {
    color: var(--color-text-muted) !important;
    font-size: 1.1rem !important;
    line-height: 1.65 !important;
    max-width: 640px !important;
    margin: 0 !important;
}

/* About page reuses products-hero style — inherits all of products-hero CSS,
   no overrides so spacing/position is byte-identical */

/* Builder video block — frosted card on light theme */
.video-block-wrapper {
    margin: 0 auto !important;
    max-width: 960px !important;
}
.video-block-container {
    position: relative;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid var(--color-border) !important;
    background: #0B1220 !important;
    width: 100% !important;
}
.video-block-container::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    background: linear-gradient(135deg, rgba(204,33,40,0.30), transparent 60%);
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
}
.video-block-container iframe {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Content sections */
.about-page .content-section {
    background: var(--color-bg) !important;
    padding: 4rem 0 !important;
}
.about-page .content-section.bg-accent {
    background: var(--color-bg-soft) !important;
}

/* Uniform vertical rhythm — sections use padding (not parent gap) so each
   section's bg_color paints its full vertical area. Adjacent sections are
   flush; heading + next-block pairs are tightened via padding overrides.
   Applied to ALL modernized pages with a content-builder. */
.about-page .content-builder,
.product-detail-page .content-builder {
    display: block !important;
    padding: 0 !important;
}
/* İlk block hero'nun hemen altına otursun, son block CTA'ya flush yapışsın —
   araya beyaz şerit girmesin. Her block'un kendi padding'i nefes alanını verir. */
.about-page .content-builder > section:first-child,
.product-detail-page .content-builder > section:first-child {
    padding-top: 0.5rem !important;
}
/* Son block'un kendi padding-bottom'u (1.4rem) korunur — eğer block'un bg
   rengi CTA'nın bg'siyle eşleşiyorsa görsel olarak akar; eşleşmiyorsa block
   kendi bg'sini düzgün şekilde sonlandırır. Beyaz şerit yaratmamak için
   content-builder'ın kendi padding'i zaten 0. */
.about-page .builder-section,
.about-page .builder-section.py-none,
.about-page .builder-section.py-small,
.about-page .builder-section.py-medium,
.about-page .builder-section.py-large,
.product-detail-page .builder-section,
.product-detail-page .builder-section.py-none,
.product-detail-page .builder-section.py-small,
.product-detail-page .builder-section.py-medium,
.product-detail-page .builder-section.py-large {
    padding: var(--builder-block-pad-y) 0 !important;
    margin: 0 !important;
}
/* Heading-only blocks (heading partial) act as the "title" of the next block —
   drop bottom space and trim next block's top so they read as one unit.
   Excludes features/specs blocks which have their OWN body content. */
.about-page .content-builder > section:has(.section-header):not(:has(.features-grid)):not(:has(.specs-grid)):not(:has(.specs-table)):not(:has(.stats-grid)),
.product-detail-page .content-builder > section:has(.section-header):not(:has(.features-grid)):not(:has(.specs-grid)):not(:has(.specs-table)):not(:has(.stats-grid)) {
    padding-bottom: var(--heading-tighten) !important;
}
.about-page .content-builder > section:has(.section-header):not(:has(.features-grid)):not(:has(.specs-grid)):not(:has(.specs-table)):not(:has(.stats-grid)) + section,
.product-detail-page .content-builder > section:has(.section-header):not(:has(.features-grid)):not(:has(.specs-grid)):not(:has(.specs-table)):not(:has(.stats-grid)) + section {
    padding-top: var(--heading-next-pad-t) !important;
}

/* Features/specs/stats blocks have an internal section-header followed by a
   grid/table — give that internal header proper breathing room before content. */
.about-page .builder-section .section-header:has(+ .features-grid),
.about-page .builder-section .section-header:has(+ .specs-grid),
.about-page .builder-section .section-header:has(+ .specs-table-wrapper),
.about-page .builder-section .section-header:has(+ .stats-grid),
.product-detail-page .builder-section .section-header:has(+ .features-grid),
.product-detail-page .builder-section .section-header:has(+ .specs-grid),
.product-detail-page .builder-section .section-header:has(+ .specs-table-wrapper),
.product-detail-page .builder-section .section-header:has(+ .stats-grid) {
    margin-bottom: 1.25rem !important;
}

/* Inner heading spacing — section-header always left-aligned and flush with
   the container's left edge. This catches features/specs/etc. that render
   their own .section-header without going through heading.blade.php. */
.about-page .builder-section .section-header,
.product-detail-page .builder-section .section-header {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 100% !important;
    text-align: left !important;
}
.about-page .builder-section .section-header .section-title,
.about-page .builder-section .section-header .section-description,
.about-page .builder-section .section-header .section-tag,
.product-detail-page .builder-section .section-header .section-title,
.product-detail-page .builder-section .section-header .section-description,
.product-detail-page .builder-section .section-header .section-tag {
    text-align: left !important;
    margin-left: 0 !important;
}
.about-page .builder-section .section-tag,
.product-detail-page .builder-section .section-tag { margin-bottom: 0.6rem !important; }
.about-page .builder-section .section-title,
.product-detail-page .builder-section .section-title { margin-bottom: 0 !important; }
.about-page .builder-section .section-description,
.product-detail-page .builder-section .section-description {
    color: var(--color-text-muted) !important;
    margin: 0.5rem 0 0 !important;
}
.about-page .product-description,
.product-detail-page .product-description {
    color: var(--color-text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    max-width: 100% !important;
    margin: 0 !important;
}
.about-page .product-description p,
.product-detail-page .product-description p {
    margin: 0 0 1rem !important;
    line-height: 1.75 !important;
    color: var(--color-text-muted) !important;
    font-size: 1.02rem !important;
}
.about-page .product-description p:last-child,
.product-detail-page .product-description p:last-child { margin-bottom: 0 !important; }
.about-page .product-description strong,
.product-detail-page .product-description strong { color: var(--color-ink); font-weight: 700; }

/* Features grid — handle 3, 4, 5 items gracefully */
.about-page .features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
    margin: 0 !important;
}
/* 5 kart için 3+2 ortalanmış düzen — SADECE desktop. Mobilde standart grid kalır. */
@media (min-width: 993px) {
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) {
        grid-template-columns: repeat(6, 1fr) !important;
    }
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) > .feature-card { grid-column: span 2; }
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) > .feature-card:nth-child(4) { grid-column: 2 / span 2; }
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) > .feature-card:nth-child(5) { grid-column: 4 / span 2; }
}
/* Mobil sıralama — :has() rule'undan SONRA gelir ki override etsin */
@media (max-width: 992px) {
    .about-page .features-grid,
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .about-page .features-grid > .feature-card,
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) > .feature-card {
        grid-column: auto !important;
    }
}
@media (max-width: 560px) {
    .about-page .features-grid,
    .about-page .features-grid:has(> .feature-card:nth-child(5):last-child) {
        grid-template-columns: 1fr !important;
    }
}

/* Make about-page feature cards a touch taller content-wise */
.about-page .feature-card {
    padding: 1.75rem !important;
}
.about-page .feature-card .feature-title {
    font-size: 1.15rem !important;
}
.about-page .feature-card .feature-description {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
}

.content-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    gap: 3rem !important;
    align-items: center;
}
@media (max-width: 992px) {
    .content-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
.content-text h2,
.about-page .section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    font-weight: 900 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.12 !important;
    margin: 0 0 1.25rem !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-ink) !important;
}
.about-page .section-description {
    color: var(--color-text-muted) !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    max-width: 720px !important;
}
.text-content,
.text-content-wide {
    color: var(--color-text-muted) !important;
}
.text-content p,
.text-content-wide p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    margin: 0 0 1rem !important;
    color: var(--color-text-muted) !important;
}
.text-content strong,
.text-content-wide strong {
    color: var(--color-ink) !important;
    font-weight: 700;
}

/* Media card */
.about-page .media-card,
.about-page .media-card.glass {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-xl) !important;
    padding: 0 !important;
    position: relative;
    backdrop-filter: none !important;
}
.about-page .media-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    background: linear-gradient(135deg, rgba(204,33,40,0.25), transparent 60%);
    z-index: -1;
    opacity: 0.6;
}
.about-page .media-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform .6s ease !important;
}
.about-page .media-card:hover img { transform: scale(1.03) !important; }

/* Facilities grid */
.facilities-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1.25rem !important;
    margin-top: 2.5rem !important;
}
.facility-stat,
.facility-stat.glass {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 18px !important;
    padding: 1.75rem 1.5rem !important;
    box-shadow: var(--shadow-xs) !important;
    text-align: center;
    backdrop-filter: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.facility-stat:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(204,33,40,0.25) !important;
}
.facility-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    display: grid; place-items: center;
}
.facility-icon svg { width: 28px; height: 28px; }
.facility-number {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: var(--color-primary) !important;
    line-height: 1.05 !important;
    margin: 0 0 0.4rem;
    background: none !important;
    -webkit-text-fill-color: var(--color-primary) !important;
}
.facility-label {
    color: var(--color-text-muted) !important;
    font-size: 0.88rem !important;
    font-weight: 500;
}

/* Video section */
.video-section { padding: 2rem 0 4rem !important; }
.video-container {
    max-width: 960px;
    margin: 0 auto;
}
.video-wrapper {
    position: relative;
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid var(--color-border);
    aspect-ratio: 16 / 9;
    background: #0B1220;
}
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Global offices */
.global-offices {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 2.5rem !important;
}
.office-card,
.office-card.glass {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 18px !important;
    padding: 1.75rem !important;
    box-shadow: var(--shadow-xs) !important;
    backdrop-filter: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
    position: relative;
}
.office-card::before {
    content: "";
    position: absolute;
    top: 0; left: 1.75rem; right: 1.75rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity .25s ease;
}
.office-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(204,33,40,0.25) !important;
}
.office-card:hover::before { opacity: 1; }
.office-flag {
    font-size: 2rem !important;
    line-height: 1 !important;
    margin-bottom: 0.85rem !important;
}
.office-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--color-ink) !important;
    margin: 0 0 0.35rem !important;
    letter-spacing: -0.01em;
}
.office-location {
    color: var(--color-text-muted) !important;
    font-size: 0.92rem !important;
    margin: 0 0 0.3rem !important;
}
.office-size {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--color-primary-bg);
    color: var(--color-primary) !important;
    border-radius: 6px;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin-top: 0.4rem !important;
}

/* Policy section */
.policy-section {
    max-width: 1080px;
    margin: 0 auto;
}
.policy-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.policy-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
}
.policy-card,
.policy-card.glass {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.policy-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(204,33,40,0.25) !important;
}
.policy-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    display: grid; place-items: center;
    margin-bottom: 1.25rem;
}
.policy-icon svg { width: 28px; height: 28px; }
.policy-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--color-ink) !important;
    margin: 0 0 1rem !important;
    letter-spacing: -0.01em;
}
.policy-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.policy-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    color: var(--color-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.55;
}
.policy-list li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0.35rem;
    width: 18px; height: 18px;
    background: var(--color-primary-bg);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 800;
    display: grid; place-items: center;
}

/* About page CTA */
.about-page .cta-section {
    background: var(--color-bg-soft) !important;
}
.about-page .cta-section .cta-content {
    max-width: 760px;
    margin: 0 auto !important;
    text-align: center;
}
.about-page .cta-section .cta-buttons {
    justify-content: center !important;
}

/* Hide CTA-section dark theme orbs on about */
.about-page .cta-background { display: none !important; }

/* ================================
   Footer — Modern Light Theme
   ================================ */
.footer {
    background: var(--color-bg-soft) !important;
    color: var(--color-text) !important;
    border-top: 1px solid var(--color-border) !important;
    position: relative;
    padding-top: 0 !important;
    overflow: hidden;
}
.footer-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 30%, var(--color-primary) 70%, transparent 100%);
    z-index: 1;
}

/* Top strip — tagline + trust badges + CTA */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2.25rem;
}
@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-top-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-ink);
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
}
.footer-top-sub {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}
.footer-trust {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
@media (max-width: 992px) {
    .footer-trust { justify-content: flex-start; }
}
.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-xs);
    color: var(--color-ink);
    font-size: 0.78rem;
}
.footer-trust-badge svg { color: var(--color-primary); flex-shrink: 0; }
.footer-trust-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.footer-trust-badge strong {
    font-weight: 700;
    color: var(--color-ink);
    font-size: 0.82rem;
}
.footer-trust-badge span span {
    color: var(--color-text-muted);
    font-size: 0.7rem;
}
.footer .footer-trust-cta,
.footer a.footer-trust-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: var(--gradient-primary);
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px -6px rgba(204,33,40,0.45);
    transition: transform .2s ease, box-shadow .2s ease;
}
.footer .footer-trust-cta svg,
.footer a.footer-trust-cta svg { color: #fff !important; }
.footer .footer-trust-cta:hover,
.footer a.footer-trust-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -6px rgba(204,33,40,0.55);
    color: #fff !important;
}

/* Footer grid — refined typography */
.footer .footer-grid {
    padding-bottom: 2rem;
}
.footer .footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    margin-bottom: 0.5rem;
}
.footer .footer-logo .footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .footer .footer-logo .footer-logo-image { height: 48px; }
}
.footer .footer-description {
    color: var(--color-text-muted) !important;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 320px;
}
.footer .footer-heading {
    font-family: 'Outfit', sans-serif !important;
    color: var(--color-ink) !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer .footer-links a,
.footer .footer-contact li,
.footer .footer-contact a {
    color: var(--color-text-muted) !important;
    font-size: 0.92rem;
    line-height: 1.85;
    transition: color .2s ease, padding-left .2s ease;
}
.footer .footer-links a:hover { color: var(--color-primary) !important; padding-left: 4px; }
.footer .footer-contact svg {
    color: var(--color-primary);
    width: 16px; height: 16px;
    flex-shrink: 0;
}

/* Modern social buttons */
.footer .social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.footer .social-link {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-muted) !important;
    display: grid; place-items: center;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer .social-link:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 18px -6px rgba(204,33,40,0.45);
}

/* Bottom bar */
.footer .footer-bottom {
    border-top: 1px solid var(--color-border) !important;
    padding: 1.25rem 0 !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--color-text-soft) !important;
    font-size: 0.85rem;
}
.footer .footer-bottom p { margin: 0; }
.footer .footer-legal {
    display: flex;
    gap: 1.25rem;
}
.footer .footer-legal a {
    color: var(--color-text-muted) !important;
    transition: color .2s ease;
}
.footer .footer-legal a:hover { color: var(--color-primary) !important; }
.footer .logo-text { color: var(--color-ink) !important; }
.footer .logo-subtitle { color: var(--color-text-muted) !important; }
.footer-description { color: var(--color-text-muted) !important; }
.footer h3, .footer h4 { color: var(--color-ink) !important; }
.footer a:not(.btn):not(.footer-trust-cta):not(.social-link) { color: var(--color-text-muted) !important; }
.footer a:not(.btn):not(.footer-trust-cta):not(.social-link):hover { color: var(--color-primary) !important; }
/* Social link icons stay white on red hover */
.footer .social-link svg { fill: currentColor; }
.footer .social-link:hover svg { fill: #fff !important; }
.social-link {
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text) !important;
}
.social-link:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}
.footer-bottom {
    border-top: 1px solid var(--color-border) !important;
    color: var(--color-text-soft) !important;
}

/* ================================
   Mobile menu (full screen modern)
   ================================ */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 86%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.25rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: right .3s ease;
        gap: 0.25rem;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-link { padding: 0.85rem 1rem !important; font-size: 1rem; border-bottom: 1px solid var(--color-border); border-radius: 0; }
}

/* ================================
   Builder block inner-width modifiers
   Section is full-width, .container is 1280px (matches page hero).
   block-* sets readability max-width on the actual content block.
   ================================ */
/* Admin Select'teki "Dar / Normal / Geniş" değerleriyle birebir eşleşir (.content-* ile aynı) */
.block-content-narrow { max-width: 800px !important; }
.block-content-normal { max-width: 1000px !important; }
.block-content-wide   { max-width: 1200px !important; }
.block-content-full   { max-width: 100% !important; }

/* === Builder Columns bileşeni — sağ/sol nefes + sütunlar arası gap === */
.builder-section .container.content-narrow,
.builder-section .container.content-normal,
.builder-section .container.content-wide,
.builder-section .container.content-full {
    padding-left: clamp(1rem, 3vw, 2rem) !important;
    padding-right: clamp(1rem, 3vw, 2rem) !important;
}
.builder-section .grid-2,
.builder-section .grid-3,
.builder-section .grid-sidebar-left,
.builder-section .grid-sidebar-right {
    gap: clamp(1.5rem, 3vw, 3rem) !important;
}
.builder-section .column-content {
    min-width: 0;
}
@media (max-width: 768px) {
    .builder-section .grid-2,
    .builder-section .grid-3,
    .builder-section .grid-sidebar-left,
    .builder-section .grid-sidebar-right {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Inherit alignment from the inline style on the block — when alignment is
   left, the block's auto margins are zeroed by the inline style and the
   block hugs the .container's left edge (same x as page hero text). */
.builder-section .section-header,
.builder-section .product-description {
    margin-left: 0;
    margin-right: auto;
}

/* About page: NO width constraint on body copy — text fills the .container
   exactly like the hero. User explicitly rejected the narrowing. */
.about-page .product-description,
.about-page .product-description.block-content-wide,
.about-page .product-description.block-content-normal,
.about-page .product-description.block-content-narrow,
.about-page .section-header,
.about-page .section-header.block-content-wide,
.about-page .section-header.block-content-normal,
.about-page .section-header.block-content-narrow {
    max-width: 100% !important;
}

/* Stats: full width inside .container, not constrained */
.about-page .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
    max-width: 100% !important;
}
@media (max-width: 968px) {
    .about-page .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
    .about-page .stats-grid { grid-template-columns: 1fr !important; }
}

/* Video wrapper: max-width via block-* modifier */
.builder-section .video-block-wrapper {
    margin-left: 0;
    margin-right: auto;
}

/* ================================
   Contact Page — Modern Refresh
   Reuses .products-hero pattern + brand-consistent cards.
   ================================ */
.contact-hero .products-hero-content { max-width: 760px; }

.contact-page { background: var(--color-bg); }

/* --- Hızlı erişim kanalları --- */
.contact-channels { padding: 0.5rem 0 var(--section-pad-y-sm); }
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 1080px) { .contact-channels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .contact-channels-grid { grid-template-columns: 1fr; } }

.channel-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.2rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: var(--shadow-xs);
    color: var(--color-ink) !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.channel-card::before {
    content: "";
    position: absolute;
    inset: auto -40% -50% auto;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(204,33,40,0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(204,33,40,0.25);
}
.channel-card:hover::before { opacity: 1; }

.channel-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
}
.channel-card--whatsapp .channel-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.channel-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.channel-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.channel-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.35;
    word-break: break-word;
}
.channel-hint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}
.channel-arrow {
    align-self: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: transform .25s ease, color .25s ease;
    opacity: 0.6;
}
.channel-card:hover .channel-arrow {
    transform: translateX(3px);
    color: var(--color-primary);
    opacity: 1;
}

/* --- Form + Map alanı --- */
.contact-main { padding: var(--section-pad-y-sm) 0 var(--section-pad-y); }
.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 1080px) { .contact-main-grid { grid-template-columns: 1fr; } }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
@media (max-width: 560px) { .contact-form-card { padding: 1.5rem; } }

.form-header { margin-bottom: 1.5rem; }
.form-header .section-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.form-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.2;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.form-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.form-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    border: 1px solid;
}
.form-alert--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.35);
    color: #166534;
}
.form-alert--error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.35);
    color: #991b1b;
}

.modern-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-ink);
    letter-spacing: 0.01em;
}
.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg-soft);
    color: var(--color-ink);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.modern-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(204,33,40,0.12);
}
.modern-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236B7280' d='M6 8 0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.form-fineprint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.form-consent .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    cursor: pointer;
}
.form-consent .consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: var(--color-primary);
    cursor: pointer;
}
.form-consent .consent-label a {
    color: var(--color-primary);
    text-decoration: underline;
}
.form-consent .consent-label a:hover {
    opacity: 0.8;
}

.form-actions .btn:disabled,
.form-actions .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.4);
    transform: none !important;
    box-shadow: none !important;
}

/* === İletişim Modal === */
body.modal-open { overflow: hidden; }

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
}
.contact-modal.is-open { display: flex; }

.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: cmFade 0.2s ease;
}
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }

.contact-modal-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 640px;
    padding: 1.5rem 1.5rem 1.25rem;
    animation: cmSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto 0;
    box-sizing: border-box;
}
.contact-modal-card *, .contact-modal-card *::before, .contact-modal-card *::after { box-sizing: border-box; }
.contact-modal-card .form-row, .contact-modal-card .form-field { min-width: 0; }
.contact-modal-card input, .contact-modal-card select, .contact-modal-card textarea { max-width: 100%; }
@keyframes cmSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.contact-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background 0.15s, color 0.15s;
}
.contact-modal-close:hover {
    background: var(--color-primary);
    color: #fff;
}

/* --- İletişim kanalı tabları (Form / WhatsApp) --- */
.contact-modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin: 0.25rem 0 1.1rem;
    padding: 0.3rem;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
}
.contact-modal-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: none;
    background: transparent;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    line-height: 1.2;
}
.contact-modal-tab svg { flex-shrink: 0; }
.contact-modal-tab:hover { color: #0f172a; }
.contact-modal-tab.is-active {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.contact-modal-tab[data-modal-tab="whatsapp"].is-active {
    color: #25D366;
}
@media (max-width: 480px) {
    .contact-modal-tab { font-size: 0.78rem; padding: 0.55rem 0.4rem; gap: 0.35rem; }
    .contact-modal-tab svg { width: 16px; height: 16px; }
}

.contact-modal-header { margin-bottom: 0.85rem; }
.contact-modal-header .form-title { font-size: 1.5rem; margin: 0.25rem 0 0.2rem; }
.contact-modal-header .form-subtitle { margin: 0; font-size: 0.88rem; }

.contact-modal-alert { margin-bottom: 1rem; }

.contact-modal-form.modern-form { gap: 0.55rem; }
.contact-modal-form .form-row {
    gap: 0.6rem;
}
.contact-modal-form .form-field {
    gap: 0.2rem;
}
.contact-modal-form .form-field label {
    font-size: 0.82rem;
    margin-bottom: 0.1rem;
}
.contact-modal-form .form-field input,
.contact-modal-form .form-field select,
.contact-modal-form .form-field textarea {
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
    border-radius: 8px;
}
.contact-modal-form .form-field textarea {
    min-height: 88px;
    resize: vertical;
}
.contact-modal-form .form-consent { margin-top: 0.25rem; margin-bottom: 0.5rem; }
.contact-modal-form .form-consent .consent-label { font-size: 0.78rem; }
.contact-modal-form .form-actions { margin-top: 0.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.contact-modal-form .form-actions .btn { padding: 0.7rem 1.4rem; }
.contact-modal-skip { font-size: 0.82rem; color: #6b7280; text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.contact-modal-skip:hover { color: #25D366; }
.contact-modal-wa-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 0.75rem; padding: 0.6rem 1rem;
    background: #25D366; color: #fff; border-radius: 8px;
    font-weight: 700; font-size: 0.92rem; text-decoration: none;
    transition: background .15s, transform .15s;
}
.contact-modal-wa-cta:hover { background: #1ebe5b; transform: translateY(-1px); }
.contact-modal-wa-cta svg { flex-shrink: 0; }


.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(204, 33, 40, 0.12);
}
.field-error {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: var(--color-primary);
}

@media (max-width: 640px) {
    .contact-modal {
        padding: 0;
        align-items: stretch;
        overflow-x: hidden;
    }
    .contact-modal-card {
        border-radius: 0;
        width: 100vw;
        max-width: 100vw;
        min-height: 100vh;
        padding: 2.5rem 1rem 1.25rem;
        margin: 0;
        overflow-x: hidden;
    }
    .contact-modal-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-modal-close { top: 0.5rem; right: 0.5rem; }
    .contact-modal-header .form-title { font-size: 1.35rem; }
}

/* --- Sağ taraf: harita + bilgi kartı --- */
.contact-side { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-map {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    background: var(--color-bg-soft);
}
.contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

.contact-side-card {
    background: var(--color-ink);
    color: #fff;
    border-radius: 22px;
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.contact-side-card::after {
    content: "";
    position: absolute;
    inset: -50% -30% auto auto;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(204,33,40,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.side-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: 0.01em;
    color: #fff;
}
.hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.78);
}
.hours-list li strong { color: #fff; font-weight: 600; }
.side-card-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 1.2rem 0;
}
.side-card-note {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.72);
    margin: 0 0 1rem;
}
.side-card-socials { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.side-social {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    transition: background .2s ease, transform .2s ease;
}
.side-social:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

/* Legacy contact-page selectors — make sure no inherited dark/light bleed */
.contact-page .info-card,
.contact-page .contact-form,
.contact-page .map-container,
.contact-page .map-section { display: none; }

/* ================================
   Blog Page — Modern Refresh
   ================================ */
.blog-hero .products-hero-content { max-width: 760px; }

.blog-page { background: var(--color-bg); }
.blog-section { padding: var(--section-pad-y) 0; }

.blog-empty {
    padding: 4rem 1rem;
    text-align: center;
    color: var(--color-text-muted);
    background: var(--color-bg-soft);
    border: 1px dashed var(--color-border);
    border-radius: 18px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1080px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    min-height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(204,33,40,0.22);
}

.blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-soft);
}
.blog-card-media.is-placeholder {
    background:
        radial-gradient(circle at 80% 25%, rgba(204,33,40,0.22) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(11,18,32,0.18) 0%, transparent 55%),
        linear-gradient(135deg, #1F2937 0%, #0B1220 100%);
}
.blog-card-media.is-placeholder::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
    pointer-events: none;
}
.blog-card-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }

/* ================================
   Product image placeholder — görsel yokken/yüklenemediğinde gradient + ürün
   adı baş harfi gösterir. Üç yerde de kullanılır:
   .product-card-image (products listing)
   .product-media-frame (product-detail showcase)
   .product-image (home category bento)
   ================================ */
.product-card-image.is-placeholder,
.product-media-frame.is-placeholder,
.product-image.is-placeholder {
    position: relative;
    background:
        radial-gradient(circle at 80% 25%, rgba(204,33,40,0.22) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(11,18,32,0.18) 0%, transparent 55%),
        linear-gradient(135deg, #1F2937 0%, #0B1220 100%) !important;
    overflow: hidden;
}
.product-card-image.is-placeholder::before,
.product-media-frame.is-placeholder::before,
.product-image.is-placeholder::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
    pointer-events: none;
}
.product-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    font-size: 4.5rem;
    z-index: 1;
}
.product-card-image .product-fallback { font-size: 3.5rem; }
.product-media-frame .product-fallback { font-size: 6rem; }

.blog-card-date {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(11,18,32,0.9);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 12px;
    padding: 0.45rem 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    box-shadow: var(--shadow-md);
}
.blog-card-date strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}
.blog-card-date span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.18rem;
    color: rgba(255,255,255,0.78);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.4rem 1.5rem 1.6rem;
    flex: 1 1 auto;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.blog-card-tag {
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-weight: 700;
}
.blog-card-read { color: var(--color-text-muted); }

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.015em;
}
.blog-card-title a {
    color: var(--color-ink);
    text-decoration: none;
    transition: color .2s ease;
}
.blog-card-title a:hover { color: var(--color-primary); }

.blog-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap .2s ease;
}
.blog-card-link:hover { gap: 0.7rem; }

/* Pagination — match brand */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
.blog-pagination nav { display: flex; }
.blog-pagination .pagination,
.blog-pagination ul {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-pagination a,
.blog-pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-ink) !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all .2s ease;
}
.blog-pagination a:hover {
    background: var(--color-primary-bg);
    border-color: rgba(204,33,40,0.3);
    color: var(--color-primary) !important;
}
.blog-pagination .active span,
.blog-pagination [aria-current="page"] span {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary);
}
.blog-pagination .disabled span {
    opacity: 0.4;
    background: var(--color-bg-soft);
}

/* Hide legacy blog elements */
.blog-categories,
.newsletter-section,
.newsletter-card { display: none !important; }

/* ================================
   Product Detail Page — Modern Refresh
   ================================ */
.product-detail-hero .products-hero-content { max-width: 820px; }
.product-detail-cat {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.product-detail-page { background: var(--color-bg); }

/* --- Showcase: image + info --- */
.product-showcase { padding: var(--section-pad-y-sm) 0 var(--section-pad-y); }
.product-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 1024px) { .product-showcase-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

.product-showcase-media { display: flex; flex-direction: column; gap: 0.9rem; }
.product-media-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-soft);
    box-shadow: var(--shadow-md);
}
.product-media-frame::after {
    content: "";
    position: absolute;
    inset: auto -25% -40% auto;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,33,40,0.18) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.product-media-frame img {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.product-media-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}
.thumb-btn {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-soft);
    border: 2px solid var(--color-border);
    padding: 0;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn:hover { transform: translateY(-2px); border-color: rgba(204,33,40,0.35); }
.thumb-btn.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(204,33,40,0.15); }

/* --- Info column --- */
.product-showcase-info { display: flex; flex-direction: column; gap: 1.25rem; }
.product-showcase-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.product-showcase-desc p { margin: 0 0 0.85rem; }
.product-showcase-desc p:last-child { margin-bottom: 0; }

.product-quick-list {
    list-style: none;
    margin: 0;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}
.product-quick-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--color-ink);
    font-size: 0.95rem;
    line-height: 1.5;
}
.product-quick-list li svg {
    flex: 0 0 18px;
    margin-top: 3px;
    color: var(--color-primary);
}
.product-quick-list li strong {
    font-weight: 700;
    color: var(--color-ink);
}

.product-showcase-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}
.product-showcase-cta .btn { display: inline-flex; align-items: center; gap: 0.55rem; }
.product-showcase-cta-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

.product-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-border);
}
.trust-pill {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: center;
}
.trust-pill strong {
    font-family: 'Outfit', sans-serif;
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.trust-pill span {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* product-detail builder rhythm is shared with .about-page via the unified rule above. */
.about-page .product-description ul,
.about-page .product-description ol,
.product-detail-page .product-description ul,
.product-detail-page .product-description ol {
    margin: 0.5rem 0 1rem 1.25rem;
}
.about-page .product-description li,
.product-detail-page .product-description li { margin-bottom: 0.35rem; }

/* Specs table (specs partial) */
.product-detail-page .specs-table,
.product-detail-page .specs-grid {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.product-detail-page .specs-table tr:nth-child(odd),
.product-detail-page .specs-grid > div:nth-child(odd) {
    background: var(--color-bg-soft);
}
.product-detail-page .specs-table td,
.product-detail-page .specs-table th {
    padding: 0.85rem 1.1rem;
    border: 0;
}
.product-detail-page .specs-table td:first-child { font-weight: 700; color: var(--color-ink); width: 40%; }

/* Image blocks: rounded, bordered */
.product-detail-page .product-content-builder img {
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
}

/* Features grid on product detail — same 3-col layout */
.product-detail-page .features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
    margin: 0 !important;
}
@media (max-width: 992px) { .product-detail-page .features-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .product-detail-page .features-grid { grid-template-columns: 1fr !important; } }

/* Hide the in-block legacy CTA — the global CTA in layout already covers conversion */
.product-detail-page .builder-section.cta-section,
.product-detail-page .builder-section:has(> .cta) { display: none !important; }

/* Mobile showcase tweaks */
@media (max-width: 560px) {
    .product-showcase-grid { gap: 1.25rem; }
    .product-trust-row { grid-template-columns: 1fr; }
    .trust-pill { flex-direction: row; gap: 0.5rem; justify-content: flex-start; text-align: left; }
}

/* ================================
   Blog Detail Page — Modern Refresh
   ================================ */
.blog-detail-hero .products-hero-content {
    max-width: 820px;
    text-align: left;
}
.blog-detail-hero .products-hero-content > * { text-align: left; }
.blog-detail-hero .products-title {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    hyphens: auto;
    max-width: 100% !important;
}
@media (max-width: 560px) {
    .blog-detail-hero .products-title { font-size: clamp(1.55rem, 6.5vw, 1.95rem) !important; }
    .blog-detail-hero .blog-detail-meta-hero { gap: 0.4rem; }
    .blog-detail-hero .meta-chip { padding: 0.3rem 0.55rem; font-size: 0.75rem; }
}

/* Breadcrumb able to wrap onto multiple lines (long titles) */
.breadcrumb.breadcrumb--wrap {
    flex-wrap: wrap;
    max-width: 100%;
    row-gap: 0.25rem;
}
.breadcrumb .breadcrumb-current {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

.blog-detail-cat {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.blog-detail-meta-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.82rem;
    box-shadow: var(--shadow-xs);
}
.meta-chip svg { color: var(--color-primary); }

.blog-detail-page { background: var(--color-bg); }

.blog-detail-section { padding: var(--section-pad-y-sm) 0 var(--section-pad-y); }
.blog-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 1024px) { .blog-detail-grid { grid-template-columns: 1fr; gap: 2rem; } }

.blog-detail-content {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.blog-detail-image {
    position: relative;
    width: 100%;
    background: var(--color-bg-soft);
}
.blog-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-detail-image.is-placeholder {
    aspect-ratio: 21 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 25%, rgba(204,33,40,0.22) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(11,18,32,0.18) 0%, transparent 55%),
        linear-gradient(135deg, #1F2937 0%, #0B1220 100%);
}
.blog-detail-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.blog-detail-body {
    padding: 2.5rem 2.5rem 1.5rem;
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.8;
}
@media (max-width: 640px) { .blog-detail-body { padding: 1.75rem 1.5rem 1rem; font-size: 1rem; } }

.blog-detail-body > *:first-child { margin-top: 0 !important; }
.blog-detail-body > *:last-child { margin-bottom: 0 !important; }

.blog-detail-body p {
    margin: 0 0 1.25rem;
    color: var(--color-text);
    line-height: 1.8;
}
.blog-detail-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-ink);
    margin: 2.25rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.blog-detail-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-ink);
    margin: 1.75rem 0 0.85rem;
    letter-spacing: -0.015em;
    line-height: 1.35;
}
.blog-detail-body h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-ink);
    margin: 1.5rem 0 0.6rem;
}
.blog-detail-body ul,
.blog-detail-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}
.blog-detail-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.blog-detail-body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.blog-detail-body a:hover { color: var(--color-primary-dark); }
.blog-detail-body strong { color: var(--color-ink); font-weight: 700; }
.blog-detail-body blockquote {
    border-left: 3px solid var(--color-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--color-text-muted);
    font-style: italic;
    background: var(--color-bg-soft);
    border-radius: 0 12px 12px 0;
}
.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.5rem 0;
    border: 1px solid var(--color-border);
}
.blog-detail-body code {
    background: var(--color-bg-muted);
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.92em;
    color: var(--color-ink);
}
.blog-detail-body pre {
    background: var(--color-ink);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.blog-detail-body pre code { background: transparent; color: inherit; padding: 0; }

/* Share strip */
.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem 2.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1.5rem;
}
@media (max-width: 640px) { .blog-share { padding: 1rem 1.5rem 1.75rem; gap: 0.75rem; } }
.blog-share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.blog-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.blog-share .share-btn {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    text-decoration: none !important;
}
.blog-share .share-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.blog-share .share-btn--whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Sidebar */
.blog-detail-aside {
    position: sticky;
    top: calc(var(--navbar-height, 80px) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
@media (max-width: 1024px) { .blog-detail-aside { position: static; } }

.aside-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-xs);
}
.aside-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.recent-post-link {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none !important;
    color: var(--color-ink);
    transition: transform .2s ease;
}
.recent-post-link:hover { transform: translateX(2px); }
.recent-post-link:hover strong { color: var(--color-primary); }

.recent-post-thumb {
    flex: 0 0 64px;
    width: 64px; height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    position: relative;
}
.recent-post-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.recent-post-thumb.is-placeholder {
    background: linear-gradient(135deg, #1F2937 0%, #0B1220 100%);
}
.recent-post-thumb.is-placeholder span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.85);
}

.recent-post-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.recent-post-info strong {
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-ink);
    transition: color .2s ease;
}
.recent-post-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-ink);
}
.category-pill strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Hide legacy blog-detail elements */
.blog-detail-section .blog-detail-wrapper > .blog-detail-sidebar .sidebar-widget.newsletter-widget,
.blog-detail-section .sidebar-widget.newsletter-widget { display: none !important; }

/* ================================
   Blog Categories — Tıklanır rozetler + filtre şeridi
   ================================ */

/* Liste sayfasındaki kart tag'leri linke dönünce */
.blog-card-tag--link {
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.blog-card-tag--link:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Detay sayfasındaki hero kategori pill'i link */
.blog-detail-cat--link {
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.blog-detail-cat--link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Sidebar pill'leri */
.category-pill--link {
    text-decoration: none !important;
    color: var(--color-ink);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.category-pill--link:hover {
    background: var(--color-primary-bg);
    border-color: rgba(204,33,40,0.3);
    transform: translateY(-1px);
}

/* Blog liste üstündeki kategori filtre şeridi */
.blog-categories-bar {
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}
.blog-categories-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.blog-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    box-shadow: var(--shadow-xs);
}
.blog-cat-tab:hover {
    border-color: rgba(204,33,40,0.3);
    color: var(--color-primary);
    transform: translateY(-1px);
}
.blog-cat-tab.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.blog-cat-count {
    background: rgba(11,18,32,0.08);
    color: inherit;
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
}
.blog-cat-tab.is-active .blog-cat-count {
    background: rgba(255,255,255,0.2);
}

/* ================================
   Katalog Flipbook Modal
   ================================ */
.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
}
.catalog-modal.is-open { display: flex; }

.catalog-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11,18,32,0.96);
    animation: yt-fade .25s ease;
}

.catalog-modal-dialog {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: yt-fade .3s ease;
}

/* Alt overlay bar içindeki ayraç çizgisi */
.catalog-controls-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.15);
    margin: 0 0.25rem;
}
.catalog-nav-btn--close:hover {
    background: var(--color-primary, #CC2128) !important;
}

.catalog-modal-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
}
.catalog-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: rgba(255,255,255,0.85);
    z-index: 1;
    text-align: center;
}
.catalog-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--color-primary, #CC2128);
    border-radius: 50%;
    animation: catalog-spin .9s linear infinite;
}
@keyframes catalog-spin { to { transform: rotate(360deg); } }

.catalog-progress-bar {
    width: 280px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.25rem;
}
.catalog-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary, #CC2128), #ff5a5f);
    border-radius: 999px;
    transition: width .25s cubic-bezier(.4, .0, .2, 1);
}
.catalog-progress-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-variant-numeric: tabular-nums;
}

.catalog-flipbook-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#catalogFlipbook {
    display: block;
    transition: transform .35s cubic-bezier(.4,.0,.2,1), clip-path .35s cubic-bezier(.4,.0,.2,1);
}
#catalogFlipbook .page {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    overflow: hidden;
}
#catalogFlipbook .page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    /* Yüksek kalite downscale — browser bilinear yerine optimize edilmiş
       contrast algoritması kullanır, kenarlar keskin kalır. */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
/* Henüz render edilmemiş sayfalar için placeholder — sayfa numarası + spinner */
#catalogFlipbook .page-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(204,33,40,0.04), transparent 60%),
        repeating-linear-gradient(45deg, #f3f4f6 0 12px, #fafafa 12px 24px);
    color: #9ca3af;
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
#catalogFlipbook .page-skeleton::before {
    content: "";
    position: absolute;
    top: calc(50% + 28px);
    width: 28px;
    height: 28px;
    border: 2px solid rgba(204,33,40,0.2);
    border-top-color: var(--color-primary, #CC2128);
    border-radius: 50%;
    animation: catalog-spin .8s linear infinite;
}
/* Kapak (front) görünümünde sol yarımı kırp + sağ yarımı ortala.
   Arka kapakta tersi. clip-path tüm StPageFlip iç sarmalayıcısı dahil işler.
   SADECE desktop'ta (≥768px) uygulanır — mobile zaten tek sayfa modunda
   (usePortrait: true), clip-path uygulanırsa sayfanın yarısı kaybolur. */
@media (min-width: 768px) {
    #catalogFlipbook.is-cover-view.is-front-cover {
        clip-path: inset(0 0 0 50%);
        transform: translateX(-25%);
    }
    #catalogFlipbook.is-cover-view.is-back-cover {
        clip-path: inset(0 50% 0 0);
        transform: translateX(25%);
    }
}

.catalog-modal-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    margin: 0.5rem auto 0.75rem;
    color: #fff;
    background: rgba(11,18,32,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    width: max-content;
    max-width: calc(100% - 2rem);
}
.catalog-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.catalog-nav-btn:hover {
    background: var(--color-primary, #CC2128);
    transform: scale(1.06);
}
.catalog-progress {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    min-width: 56px;
    text-align: center;
    font-weight: 600;
}

/* ============================================================
   BUILDER BLOCKS — taşındı: builder-content.blade.php @push'undan
   ============================================================ */

/* FAQ */
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: var(--card-bg); transition: all 0.3s; }
.faq-question { width: 100%; padding: 20px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; color: var(--text-main); font-size: 1.1rem; font-weight: 600; text-align: left; cursor: pointer; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active { border-color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.active .faq-answer { max-height: 500px; }
.answer-content { padding: 0 20px 20px; color: var(--text-muted); line-height: 1.6; }

/* Tabs */
.product-tabs { background: var(--card-bg); border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); }
.tabs-header { display: flex; border-bottom: 1px solid var(--border-color); background: rgba(255, 255, 255, 0.02); overflow-x: auto; }
.tab-trigger { padding: 15px 25px; border: none; background: none; color: var(--text-muted); cursor: pointer; font-weight: 600; transition: all 0.3s; position: relative; white-space: nowrap; }
.tab-trigger.active { color: var(--primary); }
.tab-trigger.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--primary-gradient); }
.tab-content { display: none; padding: 30px; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Video Block */
.video-block-wrapper { width: 100%; margin: 0 auto; display: block; overflow: visible; }
.video-block-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; border-radius: 12px; box-shadow: var(--shadow-lg); width: 100% !important; }
.video-block-container iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0; }

/* Gallery / Slider */
.gallery-slider { width: 100%; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 2rem; }
.gallery-image-slider { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.builder-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .builder-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .builder-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform 0.3s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-image-grid { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; }

/* Stats Block */
.stats-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { padding: 2rem; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; color: var(--text-muted); letter-spacing: 0.1em; }
.stat-icon-wrapper { margin-bottom: 1.5rem; color: var(--primary); }
.stat-icon-wrapper svg { width: 48px; height: 48px; margin: 0 auto; }

/* ============================================================
   NAVBAR — inline style attribute'larından taşındı
   ============================================================ */
.logo-image.dark-show { display: none; }
.logo-image.dark-show.is-white-fallback { filter: brightness(0) invert(1); }

.nav-item-dropdown { position: relative; display: inline-block; }
.nav-dropdown-caret { margin-left: 4px; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 1000;
}
.dropdown-content .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
}

.catalog-btn-mobile {
    width: 100%;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.catalog-btn-desktop {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact honeypot — botlar görsün, kullanıcılar görmesin */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Product block: image */
.product-feature-image-img { width: 100%; border-radius: 20px; }
.product-feature-image-caption { margin-top: 15px; color: var(--text-muted); font-style: italic; }

/* Catalog flipbook error message */
.catalog-error-msg {
    color: #fca5a5;
    max-width: 480px;
    text-align: center;
    padding: 1rem;
}
.catalog-error-msg small { opacity: 0.7; }

/* ============================================================
   COOKIE CONSENT — KVKK banner + modal
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9500;
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    transform: translateY(20px);
    opacity: 0;
    transition: transform .3s ease, opacity .25s ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner-inner {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: 1fr;
    padding: 1.1rem 1.25rem;
    align-items: center;
}
@media (min-width: 900px) {
    .cookie-banner-inner { grid-template-columns: 1fr auto; }
}
.cookie-banner-title { font-size: 1rem; font-weight: 700; color: #111827; margin: 0 0 0.25rem; }
.cookie-banner-text { font-size: 0.85rem; color: #4b5563; line-height: 1.55; margin: 0 0 0.4rem; }
.cookie-banner-links { font-size: 0.75rem; color: #6b7280; margin: 0; }
.cookie-banner-links a { color: #CC2128; text-decoration: none; font-weight: 600; }
.cookie-banner-links a:hover { text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-btn {
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
    line-height: 1;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }
.cookie-btn--primary { background: #CC2128; color: #fff; box-shadow: 0 4px 14px rgba(204, 33, 40, 0.25); }
.cookie-btn--primary:hover { background: #a8181e; }
.cookie-btn--outline { background: #fff; color: #111827; border: 1px solid #d1d5db; }
.cookie-btn--outline:hover { background: #f9fafb; border-color: #9ca3af; }
.cookie-btn--ghost { background: transparent; color: #6b7280; }
.cookie-btn--ghost:hover { color: #111827; background: #f3f4f6; }

/* Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity .22s ease;
}
.cookie-modal.is-open { display: flex; opacity: 1; }
.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    cursor: pointer;
}
.cookie-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: cookieModalPop .25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes cookieModalPop {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid #f3f4f6;
}
.cookie-modal-header h2 { font-size: 1.05rem; font-weight: 700; color: #111827; margin: 0; }
.cookie-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 6px;
    border-radius: 8px;
    transition: background .15s ease;
}
.cookie-modal-close:hover { background: #f3f4f6; color: #111827; }
.cookie-modal-body {
    padding: 1rem 1.3rem;
    overflow-y: auto;
}
.cookie-modal-intro { font-size: 0.85rem; color: #4b5563; line-height: 1.55; margin: 0 0 1.1rem; }

.cookie-cat {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.7rem;
}
.cookie-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.cookie-cat-row h4 { font-size: 0.93rem; font-weight: 700; color: #111827; margin: 0; }
.cookie-cat-locked {
    font-size: 0.72rem;
    color: #059669;
    background: #d1fae5;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-weight: 600;
}
.cookie-cat-desc { font-size: 0.8rem; color: #6b7280; line-height: 1.5; margin: 0; }

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-toggle-track {
    position: absolute;
    inset: 0;
    background-color: #d1d5db;
    border-radius: 999px;
    transition: background-color .2s ease;
    cursor: pointer;
}
.cookie-toggle-track::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform .2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.cookie-toggle input:checked + .cookie-toggle-track { background-color: #CC2128; }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(18px); }

.cookie-modal-footer {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 0.95rem 1.3rem;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

body.cookie-modal-open { overflow: hidden; }

@media (max-width: 640px) {
    .cookie-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; padding: 0.7rem 0.8rem; font-size: 0.8rem; }
}


/* ─────────────── Error Pages (404, 500, etc.) ─────────────── */
.error-page {
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background:
        radial-gradient(ellipse at 80% 10%, rgba(204, 33, 40, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 90%, rgba(11, 18, 32, 0.04) 0%, transparent 50%),
        var(--color-bg);
}
.error-hero { width: 100%; }
.error-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.error-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(204, 33, 40, 0.08);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.error-eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}
.error-code {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(6rem, 18vw, 11rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0 0 0.75rem;
    background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-ink);
    margin: 0 0 1rem;
}
.error-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-muted, #6b7280);
    margin: 0 auto 2.5rem;
    max-width: 540px;
}
.error-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.error-suggestions {
    padding-top: 2rem;
    border-top: 1px solid rgba(11, 18, 32, 0.08);
}
.error-suggestions h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted, #6b7280);
    margin: 0 0 1rem;
}
.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.error-suggestions a {
    color: var(--color-ink);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}
.error-suggestions a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.error-suggestions a:hover { color: var(--color-primary); }
.error-suggestions a:hover::after { transform: scaleX(1); }

/* ============================================================
 * Category Bento — Modern Layouts (db-bento-*)
 * Tüm class adları unique, legacy CSS ile sıfır çakışma.
 * 3 stil: bento (asymmetric), magazine (overlay), showcase (horizontal)
 * ============================================================ */

/* === Rich text içindeki tablo stilleri (TipTap'tan gelen <table>) === */
.product-description table,
.text-content table,
.builder-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    font-size: 0.95rem;
    line-height: 1.55;
    color: #0f172a;
}
.product-description table thead,
.text-content table thead,
.builder-content table thead { background: #f1f5f9; }
.product-description table th,
.text-content table th,
.builder-content table th {
    text-align: left;
    font-weight: 700;
    color: #0f172a;
    padding: 0.85rem 1.1rem;
    border-bottom: 2px solid #e2e8f0;
    background: #f1f5f9;
}
.product-description table td,
.text-content table td,
.builder-content table td {
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: top;
}
.product-description table tr:last-child td,
.text-content table tr:last-child td,
.builder-content table tr:last-child td { border-bottom: none; }
.product-description table tbody tr:nth-child(even),
.text-content table tbody tr:nth-child(even),
.builder-content table tbody tr:nth-child(even) { background: #fafbfc; }
.product-description table tbody tr:hover,
.text-content table tbody tr:hover,
.builder-content table tbody tr:hover { background: #f8fafc; }

/* Mobil: yatay scroll wrapper */
@media (max-width: 720px) {
    .product-description table,
    .text-content table,
    .builder-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        font-size: 0.88rem;
    }
}

.db-bento-wrap { margin-top: 2.5rem; }
.db-bento-wrap .section-header { margin-bottom: 3rem; }
.db-bento-wrap .section-header + .db-bento-grid,
.db-bento-wrap .section-header + .db-mag-grid,
.db-bento-wrap .section-header + .db-show-wrap,
.db-bento-wrap .section-header + .products-grid { margin-top: 0.75rem; }

/* ===== LAYOUT 1: ASYMMETRIC BENTO ===== */
.db-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}
.db-bento-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    background: #0f172a;
}
.db-bento-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18); }
.db-bento-feature { grid-column: span 2; grid-row: span 2; }
.db-bento-medium { grid-column: span 2; grid-row: span 1; }
.db-bento-small { grid-column: span 1; grid-row: span 1; }
.db-bento-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}
.db-bento-card:hover .db-bento-bg { transform: scale(1.08); }
.db-bento-bg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937 0%, #0b1220 100%);
    color: rgba(255,255,255,0.18);
    font-size: 5rem;
    font-weight: 800;
}
.db-bento-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,0.45) 65%, rgba(15,23,42,0.92) 100%);
    transition: background 0.3s ease;
}
.db-bento-card:hover .db-bento-overlay {
    background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.96) 100%);
}
.db-bento-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.db-bento-feature .db-bento-content { padding: 2rem; }
.db-bento-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    color: #fff;
}
.db-bento-feature .db-bento-title { font-size: 1.75rem; }
.db-bento-medium .db-bento-title { font-size: 1.3rem; }
.db-bento-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}
.db-bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    padding: 0.4rem 0.85rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    align-self: flex-start;
    transition: background 0.25s ease, gap 0.25s ease;
}
.db-bento-card:hover .db-bento-cta { background: #CC2128; border-color: #CC2128; gap: 0.7rem; }
@media (max-width: 960px) {
    .db-bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .db-bento-feature { grid-column: span 2; grid-row: span 2; }
    .db-bento-medium { grid-column: span 1; grid-row: span 1; }
    .db-bento-feature .db-bento-title { font-size: 1.4rem; }
}
@media (max-width: 560px) {
    .db-bento-grid { grid-template-columns: 1fr; }
    .db-bento-feature, .db-bento-medium, .db-bento-small { grid-column: auto; grid-row: auto; }
}

/* ===== LAYOUT 2: MAGAZINE (overlay text on image) ===== */
.db-mag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.db-mag-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    aspect-ratio: 3 / 4;
    background: #0f172a;
    box-shadow: 0 6px 16px rgba(15,23,42,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.db-mag-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(15,23,42,0.2); }
.db-mag-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.7s ease;
}
.db-mag-card:hover .db-mag-bg { transform: scale(1.07); }
.db-mag-bg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937 0%, #0b1220 100%);
    color: rgba(255,255,255,0.2);
    font-size: 7rem;
    font-weight: 800;
}
.db-mag-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75) 80%, rgba(0,0,0,0.95) 100%);
}
.db-mag-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
    color: #fff;
    width: 100%;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}
.db-mag-card:hover .db-mag-content { transform: translateY(0); }
.db-mag-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #CC2128;
    background: rgba(255,255,255,0.95);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.9rem;
}
.db-mag-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #fff;
    line-height: 1.2;
}
.db-mag-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin: 0 0 0.85rem;
}
.db-mag-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid #CC2128;
    padding-bottom: 0.2rem;
    transition: gap 0.25s ease;
}
.db-mag-card:hover .db-mag-cta { gap: 0.7rem; }
@media (max-width: 960px) { .db-mag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .db-mag-grid { grid-template-columns: 1fr; } }

/* ===== LAYOUT 3: SHOWCASE (horizontal large cards) ===== */
.db-show-wrap {
    position: relative;
    overflow: hidden;
}
.db-show-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: #CC2128 transparent;
    -webkit-overflow-scrolling: touch;
}
.db-show-track::-webkit-scrollbar { height: 6px; }
.db-show-track::-webkit-scrollbar-thumb { background: #CC2128; border-radius: 8px; }
.db-show-track::-webkit-scrollbar-track { background: transparent; }
.db-show-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    text-decoration: none;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15,23,42,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.db-show-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(15,23,42,0.18); }
.db-show-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #f1f5f9;
}
.db-show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.db-show-card:hover .db-show-image img { transform: scale(1.07); }
.db-show-bg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937, #0b1220);
    color: rgba(255,255,255,0.2);
    font-size: 5rem;
    font-weight: 800;
}
.db-show-content {
    padding: 1.5rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.db-show-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #CC2128;
}
.db-show-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}
.db-show-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.db-show-cta {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #CC2128;
    transition: letter-spacing 0.2s ease;
}
.db-show-card:hover .db-show-cta { letter-spacing: 0.02em; }
@media (max-width: 560px) { .db-show-card { flex: 0 0 280px; } }

/* ===== TÜMÜNÜ GÖRÜNTÜLE BUTON ===== */
.db-bento-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.db-bento-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, gap 0.25s ease;
    box-shadow: 0 6px 18px rgba(15,23,42,0.18);
}
.db-bento-view-all:hover { background: #CC2128; gap: 0.8rem; transform: translateY(-2px); }

/* === Builder Galeri Bileşeni (grid + masonry) === */
.builder-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--bgg-cols, 3), 1fr);
}
.builder-gallery-grid.bgg-cols-2 { --bgg-cols: 2; }
.builder-gallery-grid.bgg-cols-3 { --bgg-cols: 3; }
.builder-gallery-grid.bgg-cols-4 { --bgg-cols: 4; }
.builder-gallery-grid.bgg-cols-5 { --bgg-cols: 5; }
.builder-gallery-grid.bgg-cols-6 { --bgg-cols: 6; }

.builder-gallery-grid.bgg-gap-tight { gap: 0.5rem; }
.builder-gallery-grid.bgg-gap-normal { gap: 1rem; }
.builder-gallery-grid.bgg-gap-loose { gap: 1.5rem; }
.builder-gallery-grid.bgg-gap-extra { gap: 2rem; }

.bgg-grid-item {
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bgg-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}
.bgg-grid-item a { display: block; width: 100%; height: 100%; }
.bgg-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.bgg-grid-item:hover img { transform: scale(1.05); }

/* Aspect ratio variants */
.builder-gallery-grid.bgg-ratio-square .bgg-grid-item { aspect-ratio: 1 / 1; }
.builder-gallery-grid.bgg-ratio-landscape .bgg-grid-item { aspect-ratio: 4 / 3; }
.builder-gallery-grid.bgg-ratio-widescreen .bgg-grid-item { aspect-ratio: 16 / 9; }
.builder-gallery-grid.bgg-ratio-portrait .bgg-grid-item { aspect-ratio: 3 / 4; }
.builder-gallery-grid.bgg-ratio-auto .bgg-grid-item { aspect-ratio: auto; }
.builder-gallery-grid.bgg-ratio-auto .bgg-grid-item img { height: auto; }

/* Masonry: CSS columns ile */
.builder-gallery-masonry {
    column-count: var(--bgg-cols, 3);
    column-fill: balance;
}
.builder-gallery-masonry.bgg-cols-2 { --bgg-cols: 2; }
.builder-gallery-masonry.bgg-cols-3 { --bgg-cols: 3; }
.builder-gallery-masonry.bgg-cols-4 { --bgg-cols: 4; }
.builder-gallery-masonry.bgg-cols-5 { --bgg-cols: 5; }
.builder-gallery-masonry.bgg-cols-6 { --bgg-cols: 6; }

.builder-gallery-masonry.bgg-gap-tight { column-gap: 0.5rem; }
.builder-gallery-masonry.bgg-gap-normal { column-gap: 1rem; }
.builder-gallery-masonry.bgg-gap-loose { column-gap: 1.5rem; }
.builder-gallery-masonry.bgg-gap-extra { column-gap: 2rem; }

.bgg-masonry-item {
    break-inside: avoid;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}
.builder-gallery-masonry.bgg-gap-tight .bgg-masonry-item { margin-bottom: 0.5rem; }
.builder-gallery-masonry.bgg-gap-normal .bgg-masonry-item { margin-bottom: 1rem; }
.builder-gallery-masonry.bgg-gap-loose .bgg-masonry-item { margin-bottom: 1.5rem; }
.builder-gallery-masonry.bgg-gap-extra .bgg-masonry-item { margin-bottom: 2rem; }
.bgg-masonry-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}
.bgg-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}
.bgg-masonry-item:hover img { transform: scale(1.04); }

/* Responsive: tablette ve mobilde otomatik daralt */
@media (max-width: 960px) {
    .builder-gallery-grid.bgg-cols-5,
    .builder-gallery-grid.bgg-cols-6,
    .builder-gallery-masonry.bgg-cols-5,
    .builder-gallery-masonry.bgg-cols-6 { --bgg-cols: 4; }
}
@media (max-width: 720px) {
    .builder-gallery-grid.bgg-cols-3,
    .builder-gallery-grid.bgg-cols-4,
    .builder-gallery-grid.bgg-cols-5,
    .builder-gallery-grid.bgg-cols-6,
    .builder-gallery-masonry.bgg-cols-3,
    .builder-gallery-masonry.bgg-cols-4,
    .builder-gallery-masonry.bgg-cols-5,
    .builder-gallery-masonry.bgg-cols-6 { --bgg-cols: 2; }
}
@media (max-width: 480px) {
    .builder-gallery-grid,
    .builder-gallery-masonry { --bgg-cols: 1; }
}

/* === Buton içinde dinamik heroicon render === */
.btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.btn .btn-icon .btn-svg,
.btn .btn-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
    display: block;
}
.btn-large .btn-icon .btn-svg,
.btn-large .btn-icon svg {
    width: 20px;
    height: 20px;
}

/* ================================
   Geniş Monitör Ölçeklendirmesi
   Default: container 1280, content-wide 1200. Ultra-wide ekranlarda büyür.
   Kademe: ≥1600px → +160, ≥1920px → +320, ≥2400px → +520
   ================================ */
@media (min-width: 1600px) {
    .container,
    .topbar-inner {
        max-width: 1440px;
    }
    .block-content-wide,
    .content-wide { max-width: 1360px !important; }
    .block-content-normal { max-width: 1120px !important; }
}
@media (min-width: 1920px) {
    .container,
    .topbar-inner {
        max-width: 1600px;
    }
    .block-content-wide,
    .content-wide { max-width: 1480px !important; }
    .block-content-normal { max-width: 1200px !important; }
    /* Hero başlık + lede biraz daha güçlü vurgu */
    .hero-mega-line { font-size: clamp(2.8rem, 4.5vw, 5.5rem); }
    .hero-lede { font-size: 1.15rem; max-width: 640px; }
    /* Ürün grid: 4 sütun (1920+ ekran için) */
    .products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .blog-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (min-width: 2400px) {
    .container,
    .topbar-inner {
        max-width: 1800px;
    }
    .block-content-wide,
    .content-wide { max-width: 1680px !important; }
    .block-content-normal { max-width: 1320px !important; }
    /* Çok geniş ekranda base font da büyütülürse okunabilirlik artar */
    html { font-size: 17.5px; }
    /* Ürün grid: 6 sütun (orphan riski az: 6, 12, 18 ürünle uyumlu) */
    .products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

/* Orphan estetiği: tek başına kalan son satır kartı tam genişliğe yayılmasın,
   normal kart boyutunda kalsın + sola yaslı görünsün. (auto-fit/fill ile
   ortalamayız çünkü "ortada uçuk kart" kötü görünüyor.) */
.products-grid > .product-card:only-child {
    max-width: 380px;
}

/* ================================
   AOS perf override — scroll'da AOS class kaldırıp eklemesi bazı pattern'lerde
   re-render hissi yaratıyor (görseller tekrar yükleniyormuş gibi). Element'leri
   her zaman görünür tut, AOS efekti kayıp olsa da stabilite önemli.
   ================================ */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ================================
   Scroll perf — body.is-scrolling sırasında compositor'u rahatlat:
   - Backdrop-filter blur'larını geçici durdur (en pahalı paint işi)
   - Infinite animation'ları durdur (sürekli repaint kaynağı)
   - Filter blur'ları (cta-glow vs.) durdur
   Scroll bittikten 150ms sonra her şey geri gelir.
   ================================ */
body.is-scrolling *,
body.is-scrolling *::before,
body.is-scrolling *::after {
    animation-play-state: paused !important;
}
body.is-scrolling .glass,
body.is-scrolling .navbar,
body.is-scrolling .cta-glow,
body.is-scrolling .references-marquee,
body.is-scrolling .references-track {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

/* ================================
   Price Table (Builder block: price_table)
   SEO-friendly responsive fiyat tablosu
   ================================ */
.price-table-wrapper {
    /* margin yok — .builder-section zaten py-medium padding veriyor, çift boşluk olmasın */
}
.price-table-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.75rem 0;
}
.price-table-caption {
    caption-side: top;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    padding: 0 0 0.75rem 0;
    background: transparent;
}
.price-table-intro {
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
    max-width: 800px;
}
.price-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 480px;
}
.price-table thead {
    background: linear-gradient(180deg, #1a1f2e 0%, #0f131e 100%);
    color: #fff;
}
.price-table th,
.price-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.price-table thead th {
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.price-table tbody th {
    font-weight: 600;
    color: var(--color-text);
    background: #fafbfc;
    position: sticky;
    left: 0;
    z-index: 1;
}
.price-table tbody td {
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price-table tbody tr:hover td,
.price-table tbody tr:hover th {
    background: rgba(204, 33, 40, 0.04);
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
    border-bottom: none;
}
.price-table td.empty {
    color: var(--color-text-soft);
    text-align: center;
}
.price-table-note {
    color: var(--color-text-soft);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0.85rem 0 0 0;
    padding: 0.65rem 0.85rem;
    background: rgba(204, 33, 40, 0.03);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 6px 6px 0;
}

/* Product PDP hero — fiyat rozeti */
.product-price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.75rem 0 0.25rem 0;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(204, 33, 40, 0.08) 0%, rgba(204, 33, 40, 0.03) 100%);
    border: 1px solid rgba(204, 33, 40, 0.15);
    border-radius: 999px;
    font-size: 0.95rem;
}
.product-price-badge-prefix {
    color: var(--color-text-soft);
    font-size: 0.85rem;
}
.product-price-badge-value {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
}
.product-price-badge-unit {
    color: var(--color-text-soft);
    font-size: 0.85rem;
}
.product-price-note {
    font-size: 0.8rem;
    color: var(--color-text-soft);
    margin: 0.35rem 0 0.75rem 0;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .price-table {
        font-size: 0.88rem;
        min-width: 380px;
    }
    .price-table th,
    .price-table td {
        padding: 0.6rem 0.75rem;
    }
}

/* ==========================================================================
   Related Posts / Benzer Ürünler (detail page footer cluster)
   ========================================================================== */
.related-posts-section,
.related-products-section {
    padding: 3rem 0;
    background: var(--surface-50, #f9fafb);
    border-top: 1px solid var(--border, #e5e7eb);
}
.related-posts-title,
.related-products-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--text-900, #111827);
}
.related-posts-grid,
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 992px) { .related-posts-grid, .related-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .related-posts-grid, .related-products-grid { grid-template-columns: 1fr; } }

.related-post-card,
.related-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.related-post-card:hover,
.related-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border-color: var(--primary, #cc2128);
}
.related-post-thumb,
.related-product-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--surface-100, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.related-post-thumb img,
.related-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-post-thumb.is-placeholder,
.related-product-thumb.is-placeholder {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
.related-post-fallback,
.related-product-fallback {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9ca3af;
}
.related-post-info,
.related-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
}
.related-post-cat,
.related-product-cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary, #cc2128);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.related-post-title,
.related-product-title {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-900, #111827);
    font-weight: 600;
}
.related-post-date,
.related-product-price {
    font-size: 0.85rem;
    color: var(--text-500, #6b7280);
    margin-top: auto;
}

/* Last Updated meta chip (blog hero) */
.meta-chip--updated {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

/* ==========================================================================
   Auto Table of Contents (uzun yazılar için — auto-toc.js üretir)
   ========================================================================== */
.auto-toc {
    margin: 0 0 2rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to bottom right, #fef2f2, #fef7f7);
    border: 1px solid #fee2e2;
    border-left: 4px solid var(--primary, #cc2128);
    border-radius: 12px;
    font-size: 0.95rem;
}
.auto-toc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary, #cc2128);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.auto-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.auto-toc-item {
    margin: 0.35rem 0;
    line-height: 1.4;
}
.auto-toc-item--h3 {
    padding-left: 1.25rem;
    font-size: 0.9rem;
}
.auto-toc-link {
    color: var(--text-700, #374151);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.auto-toc-link:hover,
.auto-toc-link:focus {
    color: var(--primary, #cc2128);
    border-bottom-color: var(--primary, #cc2128);
}
/* Anchor scroll offset (sticky navbar varsa altında kalmasın) */
html { scroll-behavior: smooth; }
h2[id], h3[id] { scroll-margin-top: 5rem; }

/* Meta chip — author byline (blog hero) */
.meta-chip--author a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    transition: color 0.15s, border-color 0.15s;
}
.meta-chip--author a:hover,
.meta-chip--author a:focus {
    color: var(--primary, #cc2128);
}
