/* 
   PURPOSE THEME - REBUILT
   Version: 4.0 (Emergency Fix)
*/

:root {
    /* --- PALETTE (RED CONCEPT) --- */
    --primary: #dc2626;
    /* Premium Red */
    --primary-rgb: 220, 38, 38;
    --primary-soft: #fef2f2;
    /* Very Light Red */
    --secondary: #450a0a;
    /* Deep Dark Red/Black */
    --accent: #f59e0b;
    /* Amber Gold */
    --danger: #ef4444;
    /* Red */
    --success: #059669;
    /* Green */

    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;

    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;

    /* --- SIZING --- */
    --header-h: 60px;
    --bottom-nav-h: 64px;
    --container-w: 1200px;
    --gutter: 16px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --font-main: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* 1. RESET */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background: var(--primary-soft);
    /* Colored Background */
    color: var(--text-main);
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
}

input {
    outline: none;
}

/* 2. UTILS */
.container {
    padding: 0 var(--gutter);
    max-width: var(--container-w);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* 3. ANNOUNCEMENT BAR */
.announcement-bar {
    background: var(--primary);
    /* Red Background */
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px;
    letter-spacing: 0.5px;
}

/* 4. HEADER */
.app-header {
    height: var(--header-h);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-title {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary);
    /* Colored Logo */
    letter-spacing: -0.5px;
}

.logo-slogan {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Masaüstü orta menü (logo — nav — aksiyonlar) */
.header-center-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.header-main-nav {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.header-nav-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.header-nav-link.is-active {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

button.header-nav-link,
.header-nav-link--chat {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
}

.header-nav-link--chat:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

/* Actions */
.header-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
    position: relative;
    background: var(--bg-subtle);
    /* Slight bg for buttons */
}

.icon-btn:hover {
    background: var(--border-color);
    color: var(--primary);
}

.icon-btn i {
    font-size: 1.5rem;
}

.badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* 5. SEARCH ROW (Below Header) */
.footer-spot {
    max-width: 560px;
    margin: 0 auto 22px;
    background: transparent;
    border: 0;
}

.footer-spot img {
    display: block;
    width: min(100%, 480px);
    height: auto;
    margin: 0 auto 16px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    mix-blend-mode: multiply;
}

.footer-spot iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: 14px;
}

.search-row {
    position: relative;
    z-index: 90;
    padding-top: 12px;
    padding-bottom: 0;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    height: 48px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.05);
    /* Red tinted shadow */
}

.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 12px 0 44px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: var(--primary);
    /* Colored Icon */
    font-size: 1.3rem;
    pointer-events: none;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

/* 6. HERO SLIDER */
.hero-section {
    margin-top: 20px;
    margin-bottom: 28px;
}

.hero-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
}

.hero-scroll::-webkit-scrollbar {
    display: none;
}

.hero-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    height: 320px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.62) 46%,
        rgba(0, 0, 0, 0.12) 74%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px 18px;
    color: white;
    box-sizing: border-box;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 34rem;
    min-width: 0;
}

.hero-tag {
    display: none;
}
.hero-btn {
    background: var(--primary);
    color: white;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 4px;
    white-space: nowrap;
    text-decoration: none;
}

.hero-title {
    width: 100%;
    max-width: 16em;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hero-subtitle {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    margin: 0;
    text-wrap: pretty;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* hero-btn mobil: yukarıda tanımlı */

/* 7. INFO BANNERS (Vertical Stack) */
.banner-section {
    margin-top: 32px;
}

.banner-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-banner {
    width: 100%;
    /* Full width */
    border-radius: var(--radius-lg);
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ib-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.15;
    transform: rotate(-15deg);
}

.ib-tag {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-bottom: 12px;
}

.ib-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.ib-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.4;
}

.ib-btn {
    background: white;
    color: black;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Banner Gradients */
.banner-whatsapp {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 55%, #075e54 100%);
}

/* WhatsApp — anasayfa CTA */
.wa-home-cta {
    margin-top: 22px;
    margin-bottom: 4px;
}

.wa-home-cta__card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 38%, #25d366 100%);
    box-shadow:
        0 16px 40px rgba(7, 94, 84, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.wa-home-cta__glow {
    position: absolute;
    top: -40%;
    right: -15%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 68%);
    pointer-events: none;
}

.wa-home-cta__inner {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 18px;
    color: #fff;
}

.wa-home-cta__icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.wa-home-cta__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    animation: wa-pulse-ring 2.4s ease-out infinite;
    pointer-events: none;
}

.wa-home-cta__pulse--delay {
    animation-delay: 1.2s;
}

.wa-home-cta__content {
    flex: 1;
    min-width: 0;
}

.wa-home-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.wa-home-cta__title {
    margin: 0 0 8px;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.wa-home-cta__desc {
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.5;
    opacity: 0.95;
}

.wa-home-cta__phone {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.wa-home-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    color: #075e54;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-home-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    color: #054640;
}

.wa-home-cta__btn i:last-child {
    margin-left: auto;
    font-size: 1rem;
    opacity: 0.7;
}

.wa-home-cta__perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.92;
}

.wa-home-cta__perks li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* WhatsApp — yüzen buton */
.wa-float {
    position: fixed;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: #fff;
}

body:has(.bottom-nav) .wa-float {
    bottom: calc(var(--bottom-nav-h, 64px) + 14px + env(safe-area-inset-bottom, 0px));
}

.wa-float__icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #25d366, #128c7e);
    font-size: 1.85rem;
    box-shadow:
        0 10px 28px rgba(37, 211, 102, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float__pulse {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: wa-pulse-ring 2.2s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

.wa-float__pulse--delay {
    animation-delay: 1.1s;
}

.wa-float__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float:hover .wa-float__icon,
.wa-float:focus-visible .wa-float__icon {
    transform: scale(1.06);
    box-shadow:
        0 14px 32px rgba(37, 211, 102, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes wa-pulse-ring {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-home-cta__pulse,
    .wa-float__pulse {
        animation: none;
    }
}

.banner-guarantee {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.banner-shipping {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.banner-payment {
    background: linear-gradient(135deg, #059669, #064e3b);
}

/* 8. TRUST FEATURES (New Standard Badge Area) */
.trust-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.tf-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.tf-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.tf-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.tf-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: none;
    /* Hidden on mobile for compactness */
}

@media (min-width: 768px) {
    .trust-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .tf-item {
        flex-direction: row;
        text-align: left;
        padding: 20px;
    }

    .tf-desc {
        display: block;
    }
}

/* 8. PRODUCTS */
.section-wrapper {
    margin-top: 32px;
}

/* Fiyat teklifi — tam beyaz sayfa, form kartı */
.quote-request-page {
    background: #fff;
    width: 100%;
    min-height: calc(100vh - var(--header-h) - var(--bottom-nav-h, 0px));
    margin: 0;
    padding: clamp(24px, 5vw, 48px) 16px clamp(40px, 8vw, 72px);
    box-sizing: border-box;
}

@media (min-width: 901px) {
    .quote-request-page {
        min-height: calc(100vh - var(--header-h) - 48px);
    }
}

@media (max-width: 900px) {
    .quote-request-page {
        padding-bottom: calc(var(--bottom-nav-h, 64px) + 24px);
    }
}

.quote-request-inner {
    max-width: 480px;
    margin: 0 auto;
}

.quote-request-panel {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eaef;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px -12px rgba(15, 23, 42, 0.12);
    padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 32px) 32px;
}

.quote-request-head {
    margin-bottom: 24px;
}

.quote-request-title {
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
}

.quote-request-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #6b7280;
    margin: 0;
}

.quote-request-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 20px;
}

.quote-request-alert--ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.quote-request-alert--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.quote-request-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote-request-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 520px) {
    .quote-request-name-row {
        grid-template-columns: 1fr;
    }
}

.quote-request-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-request-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

.quote-request-label--muted {
    color: #6b7280;
}

.quote-request-label .req {
    color: var(--primary);
    font-weight: 700;
}

.quote-request-label .opt {
    font-weight: 500;
    color: #9ca3af;
}

.quote-request-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quote-request-input:hover {
    border-color: #d1d5db;
}

.quote-request-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.quote-request-textarea {
    resize: vertical;
    min-height: 132px;
    line-height: 1.5;
}

.quote-request-submit {
    margin-top: 6px;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}

.quote-request-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.quote-request-submit:active {
    transform: translateY(0);
}

.section-header {
    align-items: flex-end;
    margin-bottom: 16px;
}

.sec-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    /* Vibrant Title */
    letter-spacing: -0.5px;
}

.sec-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
    font-weight: 600;
}

.horizontal-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 20px 16px;
    scrollbar-width: none;
}

.product-card {
    min-width: 160px;
    width: 160px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.p-img-cont {
    height: 180px;
    position: relative;
    background: var(--bg-subtle);
}

.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
}

.bg-danger {
    background: var(--danger);
}

.bg-accent {
    background: var(--accent);
}

.like-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
}

.p-info {
    padding: 12px;
}

.p-brand {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
    background: var(--primary-soft);
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
}

.p-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4em;
    /* Approx 2 lines */
    margin-bottom: 8px;
}

.p-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.price-vat__label {
    color: var(--primary);
    font-weight: 700;
}

.price-vat__amount {
    color: var(--text-main);
    font-weight: 800;
}

.p-price .price-vat__label,
.p-price .price-vat__amount {
    font-size: 0.82rem;
}

.pd-price-row .price-vat__label {
    font-size: 1.05rem;
}

.pd-price-row .price-vat__amount {
    font-size: 1.45rem;
}

.sb-label.price-vat__label {
    text-transform: none;
    color: var(--primary);
    font-size: 0.75rem;
}

.p-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 6px;
}

.add-btn {
    width: 100%;
    margin-top: 8px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.add-btn:disabled,
.add-btn.disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.8;
}

.product-card.out-of-stock {
    opacity: 0.6;
}

.product-card.out-of-stock .p-img-cont {
    filter: grayscale(100%);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sec-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.sec-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Header Filter Buttons */
.filter-btn-sm {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.filter-btn-sm i {
    font-size: 0.9rem;
}

.filter-btn-sm:hover {
    border-color: var(--primary);
    background: white;
}

/* Filter Chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.filter-chip button:hover {
    opacity: 0.8;
}

/* 9. CATEGORY GRID */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cat-tile {
    height: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--bg-subtle);
}

.cat-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: white;
    color: black;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 4px;
}

/* 10. FOOTER AREA */
.quick-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
}

.ac-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.ac-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ac-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.ac-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    margin-top: 40px;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.footer-slogan {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    max-width: 320px;
    margin: 0 auto 24px auto;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
}

.footer-apps {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.store-btn {
    background: #111;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    text-align: left;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-btn i {
    font-size: 1.5rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.st-small {
    font-size: 0.55rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
}

.st-big {
    font-size: 0.8rem;
    font-weight: 700;
}

/* CHECKOUT STEPS (Modern) */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-count {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-subtle);
    transition: all 0.3s;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Active State */
.step-item.active .step-count {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transform: scale(1.1);
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 800;
}

/* Done State */
.step-item.done .step-count {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.step-item.done .step-label {
    color: var(--success);
}

/* Connector Line */
.step-separator {
    flex: 1;
    height: 2px;
    background: var(--bg-subtle);
    margin: -20px 10px 0 10px;
    max-width: 80px;
    position: relative;
    border-radius: 4px;
}

.step-separator.done {
    background: var(--success);
}

.step-separator.active {
    background: var(--primary);
}

/* 11. BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-h);
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.b-nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    cursor: pointer;
}

.b-nav-item i {
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.b-nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
}

.b-nav-item.active {
    color: var(--primary);
}

.b-nav-item.active i {
    transform: translateY(-3px);
}

.b-nav-item.active::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    bottom: 10px;
}

/* 12. MODALS (Bottom Sheet) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 24px;
    z-index: 2001;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    max-height: 85vh;
    overflow-y: auto;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.modal-overlay.active .bottom-sheet {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.sheet-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.close-btn {
    font-size: 1.5rem;
    color: #9ca3af;
    padding: 4px;
}

/* Filter Styles */
.filter-group {
    margin-bottom: 24px;
}

.fg-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-opt {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s;
}

.pill-opt.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.action-primary-btn {
    width: 100%;
    background: var(--accent);
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

/* Sort Styles */
.sort-list {
    display: flex;
    flex-direction: column;
}

.sort-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
}

.sort-item:last-child {
    border-bottom: none;
}

.sort-item.active {
    color: var(--accent);
    font-weight: 700;
}

.sort-item i {
    display: none;
}

.sort-item.active i {
    display: block;
    color: var(--accent);
    font-size: 1.2rem;
}

/* 13. ADDRESS PAGE STYLES */
.addr-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.addr-card.selected {
    border-color: var(--primary);
    background: #fef2f2;
    box-shadow: 0 0 0 1px var(--primary);
}

.addr-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.addr-title {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.addr-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.addr-card.selected .addr-check {
    border-color: var(--primary);
    background: var(--primary);
}

.addr-check::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    display: none;
}

.addr-card.selected .addr-check::after {
    display: block;
}

.addr-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.add-addr-btn {
    background: var(--bg-subtle);
    border: 2px dashed var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-md);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 14. PAYMENT PAGE STYLES */
.pm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.pm-tab {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 4px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pm-tab i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.pm-tab span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pm-tab.active {
    border-color: var(--primary);
    background: #fef2f2;
}

.pm-tab.active i,
.pm-tab.active span {
    color: var(--primary);
}

.pm-content {
    display: none;
}

.pm-content.active {
    display: block;
}

.cc-form,
.bank-info,
.whatsapp-box {
    background: white;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
}

.form-row {
    display: flex;
    gap: 12px;
}

.bi-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.bi-row:last-child {
    border-bottom: none;
}

.bi-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bi-val {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

.iban-copy {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.wa-box {
    text-align: center;
    padding: 30px 20px;
}

.wa-icon {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 16px;
}

/* Shared Bottom Action */
.bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    z-index: 100;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.btn-continue,
.btn-finish {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-align: center;
    display: block;
}

.btn-finish {
    background: var(--success);
}

/* Final Summary Card */
.summary-card {
    background: var(--bg-subtle);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sum-total {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* 15. PRODUCT DETAIL REFINED */
/* .pd-gallery, .pd-img-main, .pd-actions, .pd-act-btn, .pd-info-block, .pd-brand 
   REMOVED - Use the definitions at the bottom of the file (Lines 1505+) */

.pd-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 16px;
}

.pd-desc-sec {
    padding: 24px 20px;
    background: white;
    margin-top: 12px;
}

.pd-sec-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pd-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pd-comments {
    padding: 24px 20px;
    background: white;
    margin-top: 12px;
    margin-bottom: 24px;
}

.comm-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.comm-user {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.comm-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Slider Dots */
.pd-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.pd-dot.active {
    background: white;
    width: 18px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- PRODUCT DETAIL SPECIFIC (Moved from Inline) --- */

/* Overrides/New Structure */
.pd-gallery {
    border-bottom: 1px solid var(--border-color);
}

.pd-scroll-view {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: auto;
}

.pd-scroll-view::-webkit-scrollbar {
    display: none;
}

.pd-img-main {
    height: 350px;
    object-fit: cover;
}

.pd-actions {
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}


.pd-act-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
}

.pd-info-block {
    padding: 20px;
}

.pd-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pd-brand {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    background: var(--primary-soft);
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 0;
}

.pd-category {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    background: var(--bg-subtle);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* Prices */
.pd-price-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.pd-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.pd-price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.pd-discount {
    background: var(--danger);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

/* Variants */
.variant-sec {
    margin-top: 20px;
}

.v-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.v-list {
    display: flex;
    gap: 10px;
}

.v-opt {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.v-opt.active {
    border-color: var(--primary);
    background: #fef2f2;
    color: var(--primary);
}

/* Description Tabs */
.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: white;
    margin-top: 12px;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    padding: 24px 20px;
    background: white;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Sticky Add to Cart */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 12px 20px;
    z-index: 999;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.sb-price-col {
    display: flex;
    flex-direction: column;
}

.sb-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.sb-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sb-old {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
}

.sb-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.add-cart-lg {
    flex: initial;
    width: auto;
    min-width: 50%;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.add-cart-lg:active {
    transform: scale(0.96);
    background: var(--secondary);
}

.add-cart-lg i {
    font-size: 1.3rem;
    color: white;
    /* White icon */
}


/* Utilities extracted from inline styles */
.spacer-flex {
    flex: 1;
}

.mt-12 {
    margin-top: 12px;
}

.mb-20 {
    margin-bottom: 20px;
}

.trust-features-grid {
    margin-top: 0;
    grid-template-columns: 1fr 1fr;
    display: grid;
}

.tf-item-sm {
    padding: 12px;
}

.tf-icon-lg {
    font-size: 1.4rem;
}

.tf-title-xs {
    font-size: 0.75rem;
}

.desc-list {
    padding-left: 20px;
    margin-top: 10px;
}


.comm-item.no-border {
    border: none;
}

/* Comment Gallery */
.comm-gallery {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.comm-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.2s;
}

.comm-img:active {
    transform: scale(0.95);
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

#lightbox-img {
    max-width: 85%;
    /* Reduced from 90% */
    max-height: 80vh;
    /* Restricted height */
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active #lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
    z-index: 20;
}

.lightbox-close:active {
    background: rgba(255, 255, 255, 0.3);
}

/* Lightbox Navigation */
.lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.lb-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lb-prev {
    left: 10px;
    /* Tighter to edge */
}

.lb-next {
    right: 10px;
    /* Tighter to edge */
}

.lb-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== PRODUCT DETAIL PAGE ====== */
.pd-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pd-scroll-view {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pd-scroll-view::-webkit-scrollbar {
    display: none;
}

.pd-img-main {
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
    aspect-ratio: 1;
}

.pd-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.pd-act-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pd-pagination {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    padding: 6px 10px;
    background: rgba(15, 23, 42, 0.45);
    border-radius: 999px;
}

.pd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.pd-dot.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

.pd-info-block {
    padding: 20px var(--gutter);
}

.pd-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-brand {
    color: var(--primary);
}

.pd-category {
    color: var(--text-muted);
}

.pd-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.pd-lead {
    margin: -4px 0 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.pd-price-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pd-discount {
    background: var(--danger);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pd-desc-sec {
    padding: 24px var(--gutter);
    border-top: 1px solid var(--border-color);
}

.pd-sec-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pd-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.pd-comments {
    padding: 24px var(--gutter);
    border-top: 1px solid var(--border-color);
}

.comm-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.comm-item.no-border {
    border-bottom: none;
}

.comm-user {
    font-weight: 700;
    margin-bottom: 8px;
}

.comm-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 12px var(--gutter);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.sb-price-col {
    flex: 1;
}

.sb-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sb-price-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.sb-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.sb-current {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.add-cart-lg {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.add-cart-lg i {
    font-size: 1.2rem;
}

.pd-wa-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: #128c7e;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 18px rgba(18, 140, 126, 0.28);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.pd-wa-info:hover {
    background: #075e54;
    color: #fff;
    box-shadow: 0 12px 24px rgba(7, 94, 84, 0.32);
}

.pd-wa-info i {
    font-size: 1.2rem;
}

/* ==========================================================================
   DESKTOP LAYOUT (>= 901px)
   Mobil tasarima dokunmadan tum masaustu kullanim icin tam optimizasyon.
   ========================================================================== */
@media (min-width: 901px) {

    /* -------- TEMEL DEGISKENLER -------- */
    :root {
        --container-w: 1280px;
        --gutter: 28px;
        --header-h: 78px;
    }

    body {
        background: #f5f6f9;
        padding-bottom: 0;
    }

    /* Mobil deseni - masaustunde gizle */
    .bottom-nav {
        display: none !important;
    }

    /* -------- ANNOUNCEMENT BAR -------- */
    .announcement-bar {
        font-size: 0.85rem;
        padding: 12px;
        letter-spacing: 0.6px;
    }

    /* -------- HEADER -------- */
    .app-header {
        height: var(--header-h);
        box-shadow: 0 1px 0 var(--border-color), 0 4px 18px rgba(15, 23, 42, 0.04);
        border-bottom: none;
    }

    .header-inner {
        gap: 28px;
    }

    .logo-icon {
        font-size: 1.9rem;
    }

    .logo-title {
        font-size: 1.55rem;
        letter-spacing: -0.6px;
    }

    .logo-slogan {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .header-actions {
        gap: 14px;
    }

    .header-nav-link {
        padding: 9px 18px;
        font-size: 0.875rem;
    }

    .icon-btn {
        width: 46px;
        height: 46px;
        transition: background 0.2s, transform 0.2s, color 0.2s;
    }

    .icon-btn:hover {
        background: var(--primary-soft);
        color: var(--primary);
        transform: translateY(-1px);
    }

    .icon-btn i {
        font-size: 1.55rem;
    }

    .badge-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    /* -------- SEARCH ROW -------- */
    .search-row {
        padding-top: 22px;
        padding-bottom: 8px;
    }

    .search-box {
        height: 56px;
        max-width: 720px;
        margin: 0 auto;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
        border: 1px solid var(--border-color);
    }

    .search-box input {
        font-size: 1rem;
        padding: 0 18px 0 52px;
    }

    .search-icon {
        font-size: 1.4rem;
        left: 18px;
    }

    /* -------- HERO SLIDER -------- */
    .hero-section {
        margin-top: 32px;
        margin-bottom: 44px;
    }

    .hero-scroll {
        margin: 0;
        padding: 0;
    }

    .hero-card {
        height: 440px;
        border-radius: 22px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

    .hero-overlay {
        justify-content: flex-end;
        padding: 48px 52px;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.78) 32%,
            rgba(0, 0, 0, 0.28) 58%,
            rgba(0, 0, 0, 0) 76%);
    }

    .hero-copy {
        max-width: 38rem;
        gap: 12px;
    }

    .hero-tag { display: none; }

    .hero-title {
        font-size: 2.15rem;
        line-height: 1.15;
        -webkit-line-clamp: 2;
    }

    .hero-subtitle {
        font-size: 1.08rem;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    .hero-btn {
        font-size: 0.95rem;
        padding: 11px 20px;
        margin-top: 6px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    }

    /* -------- WHATSAPP CTA -------- */
    .wa-home-cta {
        margin-top: 32px;
        margin-bottom: 8px;
    }

    .wa-home-cta__inner {
        align-items: center;
        gap: 28px;
        padding: 28px 32px;
    }

    .wa-home-cta__icon-wrap {
        width: 72px;
        height: 72px;
        font-size: 2.5rem;
        border-radius: 20px;
    }

    .wa-home-cta__title {
        font-size: 1.55rem;
    }

    .wa-home-cta__desc {
        font-size: 0.95rem;
        max-width: 52ch;
    }

    .wa-home-cta__actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .wa-home-cta__btn {
        width: auto;
        min-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .wa-float {
        right: 28px;
        bottom: 28px;
    }

    .wa-float__icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    .wa-float__pulse {
        width: 64px;
        height: 64px;
    }

    /* -------- INFO BANNERS (2 kolon) -------- */
    .banner-section {
        margin-top: 48px;
    }

    .banner-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .info-banner {
        padding: 36px;
        min-height: 190px;
        border-radius: 18px;
    }

    .ib-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .ib-desc {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .ib-icon-bg {
        font-size: 10rem;
    }

    .ib-btn {
        padding: 12px 22px;
        font-size: 0.88rem;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .ib-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    /* -------- TRUST FEATURES -------- */
    .trust-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        margin-top: 48px;
    }

    .tf-item {
        flex-direction: row;
        text-align: left;
        padding: 22px;
        border-radius: 14px;
        transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    }

    .tf-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        border-color: var(--primary);
    }

    .tf-icon {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .tf-title {
        font-size: 0.92rem;
    }

    .tf-desc {
        display: block;
        font-size: 0.78rem;
        margin-top: 2px;
    }

    /* -------- SECTION HEADER -------- */
    .section-wrapper {
        margin-top: 60px;
    }

    .section-header {
        margin-bottom: 26px;
    }

    .sec-title {
        font-size: 1.7rem;
        letter-spacing: -0.6px;
    }

    .sec-link {
        font-size: 0.95rem;
    }

    /* -------- HORIZONTAL SCROLL PRODUCT CARDS -------- */
    .horizontal-scroll {
        gap: 20px;
        padding: 4px 16px 24px 16px;
        scroll-behavior: smooth;
    }

    /* -------- PRODUCT CARDS -------- */
    .product-card {
        min-width: 240px;
        width: 240px;
        border-radius: 14px;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
            border-color 0.2s;
        cursor: pointer;
        background: var(--bg-surface);
    }

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
        border-color: rgba(220, 38, 38, 0.2);
    }

    /* Urun resimleri cuk oturuyor - kare aspect-ratio */
    .p-img-cont {
        height: auto;
        aspect-ratio: 1 / 1;
        background: linear-gradient(180deg, #fafbfd 0%, var(--bg-subtle) 100%);
        overflow: hidden;
    }

    .p-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .product-card:hover .p-img {
        transform: scale(1.06);
    }

    .p-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .like-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        transition: background 0.2s, color 0.2s, transform 0.2s;
    }

    .like-btn:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.08);
    }

    .like-btn:hover i {
        color: white;
    }

    .p-info {
        padding: 14px 16px 16px;
    }

    .p-brand {
        font-size: 0.66rem;
        padding: 4px 8px;
    }

    .p-name {
        font-size: 0.92rem;
        height: 2.6em;
        margin-bottom: 10px;
    }

    .p-price {
        font-size: 1.05rem;
    }

    .p-old {
        font-size: 0.8rem;
    }

    .add-btn {
        padding: 10px;
        font-size: 0.85rem;
        border-radius: 8px;
        transition: background 0.2s, transform 0.15s;
    }

    .add-btn:hover {
        background: var(--secondary);
        transform: translateY(-1px);
    }

    /* -------- GRID-2 -> 5 kolon masaustunde -------- */
    .grid-2 {
        grid-template-columns: repeat(5, 1fr);
        gap: 22px;
    }

    /* Kategori kareleri masaustunde 4 kolon ve daha buyuk */
    .container .grid-2:has(.cat-tile) {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .cat-tile {
        height: 220px;
        border-radius: 14px;
        transition: transform 0.25s, box-shadow 0.25s;
        cursor: pointer;
    }

    .cat-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    }

    .cat-tile img {
        transition: transform 0.5s;
    }

    .cat-tile:hover img {
        transform: scale(1.06);
    }

    .cat-label {
        font-size: 0.85rem;
        padding: 8px 14px;
        bottom: 14px;
        left: 14px;
    }

    /* -------- FILTER / SORT BUTTONS -------- */
    .filter-btn-sm {
        padding: 8px 14px;
        font-size: 0.82rem;
        border-radius: 8px;
        transition: all 0.2s;
    }

    /* -------- SUBCATEGORY CHIPS -------- */
    .subcategory-chips {
        overflow-x: visible !important;
        flex-wrap: wrap !important;
    }

    /* -------- REVIEW CARDS (zaten responsive) -------- */
    .reviews-grid {
        gap: 20px !important;
    }

    /* -------- PRODUCT DETAIL: 2 KOLON GRID -------- */
    .pd-desktop-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 48px;
        max-width: var(--container-w);
        margin: 32px auto 24px;
        padding: 0 var(--gutter);
        align-items: start;
    }

    .pd-gallery {
        position: sticky;
        top: calc(var(--header-h) + 16px);
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        background: white;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    }

    .pd-img-main {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        cursor: zoom-in;
        background: #fafbfd;
    }

    .pd-actions {
        top: 16px;
        right: 16px;
    }

    .pd-act-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transition: transform 0.2s, color 0.2s;
    }

    .pd-act-btn:hover {
        transform: scale(1.08);
        color: var(--primary);
    }

    .pd-info-block {
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        padding: 36px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    }

    .pd-title {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
    }

    .pd-meta {
        font-size: 0.72rem;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pd-brand,
    .pd-category {
        padding: 5px 10px;
        border-radius: 6px;
        font-size: 0.7rem;
        letter-spacing: 0.6px;
    }

    /* Fiyat satiri: baseline hizalama, taşma yok, havale-hint dışarıda */
    .pd-price-row {
        display: flex;
        align-items: baseline;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 4px;
    }

    .pd-price {
        font-size: 2.2rem;
        line-height: 1;
    }

    .pd-price-old {
        font-size: 1.15rem;
    }

    .pd-discount {
        font-size: 0.9rem;
        padding: 5px 12px;
        border-radius: 6px;
        align-self: center;
    }

    /* Havale / EFT indirim kutusu masaustunde tam genislik, ferah */
    .pd-havale-hint {
        margin-top: 16px;
        padding: 16px 18px;
        font-size: 0.95rem;
        width: 100%;
    }

    .pd-havale-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
        border-radius: 12px;
    }

    .pd-havale-title {
        font-size: 0.98rem;
    }

    .pd-havale-amount {
        font-size: 0.95rem;
    }

    .pd-havale-hint-note {
        font-size: 0.82rem;
        margin-top: 6px;
    }

    /* Mini avantaj listesi - sadece masaustunde gosterilir */
    .pd-features-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid var(--border-color);
    }

    .pdfl-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 0;
    }

    .pdfl-item > i {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--primary-soft);
        color: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .pdfl-title {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-main);
        line-height: 1.25;
        margin-bottom: 3px;
    }

    .pdfl-desc {
        font-size: 0.76rem;
        color: var(--text-muted);
        line-height: 1.4;
    }

    /* Masaustu icin inline "Sepete Ekle" gosterilir */
    .pd-desktop-buy {
        display: block;
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid var(--border-color);
    }

    .pd-desktop-buy .add-cart-lg {
        width: 100%;
        padding: 17px 24px;
        font-size: 1.02rem;
        margin-left: 0;
        border-radius: 12px;
        background: var(--primary);
        box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.28);
        transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    }

    .pd-desktop-buy .add-cart-lg:hover {
        transform: translateY(-2px);
        background: var(--primary);
        box-shadow: 0 16px 32px rgba(var(--primary-rgb), 0.32);
    }

    .pd-desktop-buy .pd-wa-info {
        margin-top: 12px;
        padding: 15px 24px;
        border-radius: 12px;
        font-size: 1.02rem;
    }

    .pd-desktop-buy .pd-wa-info:hover {
        transform: translateY(-2px);
    }

    /* Mobildeki sticky-bar masaustunde gizlenir */
    .sticky-bar {
        display: none !important;
    }

    /* Urun detay trust badges -> info-block icinde feature-list var, dis trust gizli */
    .container.mt-12 {
        display: none;
    }

    /* Aciklama ve yorumlar masaustunde container icinde, hizali */
    .pd-desc-sec,
    .pd-comments {
        max-width: var(--container-w);
        margin: 20px auto 0;
        padding: 32px 36px;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .pd-sec-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
        color: var(--text-main);
        font-weight: 800;
        letter-spacing: -0.3px;
    }

    .pd-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .comm-item {
        padding: 22px 0;
    }

    .comm-user {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .comm-text {
        font-size: 0.95rem;
    }

    /* Benzer urunler container hizalama */
    .container.section-wrapper.mb-20 {
        max-width: var(--container-w);
        margin-left: auto;
        margin-right: auto;
        margin-top: 36px;
    }

    /* -------- CART (2 KOLON) -------- */
    .cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 32px;
        align-items: start;
        margin-top: 8px;
    }

    .cart-items-list {
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .cart-item {
        padding: 22px 24px;
        gap: 18px;
        transition: background 0.2s;
    }

    .cart-item:hover {
        background: var(--bg-subtle);
    }

    .cart-item:last-child {
        border-bottom: none;
    }

    .ci-img {
        width: 110px;
        height: 110px;
        border-radius: 12px;
    }

    .ci-name {
        font-size: 1rem;
    }

    .ci-price {
        font-size: 1.15rem;
    }

    .cart-summary {
        margin-top: 0;
        border: 1px solid var(--border-color);
        border-top: 1px solid var(--border-color);
        border-radius: 18px;
        padding: 26px;
        position: sticky;
        top: calc(var(--header-h) + 16px);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .checkout-btn {
        padding: 18px;
        font-size: 1.05rem;
        border-radius: 14px;
        transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    }

    .checkout-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(220, 38, 38, 0.25);
    }

    /* -------- CHECKOUT (Adres / Odeme) -------- */
    .checkout-steps {
        padding: 32px 24px;
    }

    .step-count {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .step-separator {
        max-width: 120px;
    }

    .pm-tab {
        padding: 22px 12px;
    }

    .pm-tab i {
        font-size: 2rem;
    }

    .cc-form,
    .bank-info,
    .whatsapp-box {
        padding: 28px;
        border-radius: 14px;
    }

    /* -------- BOTTOM ACTION (Adres/Odeme alt buton) -------- */
    .bottom-action {
        position: static;
        background: transparent;
        border-top: none;
        padding: 0;
        margin-top: 28px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-continue,
    .btn-finish {
        padding: 18px;
        font-size: 1.05rem;
        border-radius: 14px;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn-continue:hover,
    .btn-finish:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    }

    /* -------- FOOTER -------- */
    .app-footer {
        padding: 50px 0;
        margin-top: 60px;
    }

    .footer-links {
        max-width: 640px !important;
        gap: 22px !important;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-apps {
        gap: 14px;
    }

    /* -------- MODAL BOTTOM SHEETS -> ORTA MODAL -------- */
    .bottom-sheet {
        left: 50%;
        bottom: 50%;
        transform: translate(-50%, 50%) translateY(100%);
        width: 92%;
        max-width: 560px;
        border-radius: 18px;
        padding: 32px;
        max-height: 80vh;
    }

    .modal-overlay.active .bottom-sheet {
        transform: translate(-50%, 50%) translateY(0);
    }

    .sheet-title {
        font-size: 1.35rem;
    }

    /* -------- DESKTOP UTILITIES -------- */
    .pd-content-html img {
        max-width: 100%;
        border-radius: 8px;
    }
}

/* ==========================================================================
   BUYUK MASAUSTU (>= 1400px) - ekstra hava
   ========================================================================== */
@media (min-width: 1400px) {
    :root {
        --container-w: 1340px;
    }

    .hero-card {
        height: 480px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1.12rem;
    }

    .grid-2 {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

/* Mobil (<= 900px) - pd-desktop-wrap ve cart-layout sade kalir (gomulu div) */
@media (max-width: 900px) {
    .pd-desktop-wrap {
        display: contents;
    }
    .pd-desktop-buy {
        display: none;
    }
    .sticky-bar:has(.pd-wa-info) {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .sticky-bar .pd-wa-info {
        flex: 1 0 100%;
        margin-top: 0;
        padding: 12px 16px;
    }
    body:has(.sticky-bar .pd-wa-info) {
        padding-bottom: 148px;
    }
    .cart-layout {
        display: contents;
    }
}

/* Vitrin kabuğu: üst arama, alt bilgi, kart, breadcrumb */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-top {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.header-search {
    position: relative;
    flex: 1 1 100%;
    min-width: 0;
    order: 3;
    z-index: 40;
}

.site-search {
    position: relative;
}

.header-search .search-box {
    max-width: none;
    margin: 0;
    height: 44px;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.header-subnav {
    border-top: 1px solid var(--border-color);
}

.header-subnav .header-main-nav {
    width: 100%;
    justify-content: flex-start;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 2px 0;
    gap: 2px;
}

.header-nav-link--chat i {
    font-size: 1rem;
    margin-right: 4px;
}

.search-loading {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-left-color: var(--primary);
    animation: spin 1s linear infinite;
    display: block;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    display: none;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
    z-index: 50;
}

.search-results-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    color: inherit;
}

.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg-subtle); }

.search-item--all {
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.search-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

.s-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
    flex: 0 0 48px;
}

.s-info { flex: 1; min-width: 0; }

.s-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.s-type,
.s-sku {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.s-type {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.grid-2 > .product-card,
.horizontal-scroll > .product-card {
    display: block;
    color: inherit;
}

.grid-2 > .product-card {
    width: 100%;
    min-width: 0;
}

.like-btn.filled i {
    color: var(--danger);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 12px;
    padding-bottom: 4px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-main);
    font-weight: 500;
}

.breadcrumb i {
    font-size: 0.7rem;
}

.grid-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cat-tile-page {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background: var(--bg-subtle);
}

.cat-tile-page:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cat-tile-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

.cat-tile-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-tile-page:hover img {
    transform: scale(1.05);
}

.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.cat-tag {
    background: white;
    color: var(--text-main);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.cat-desc {
    font-size: 0.85rem;
    color: white;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.search-page.section-wrapper {
    margin-top: 12px;
    padding-top: 0;
}

.search-page__head {
    margin: 8px 0 16px;
}

.search-page__title {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.search-page__count {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.search-page__count-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.search-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.search-sort__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.search-sort__link.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.search-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.search-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
    font-size: 0.88rem;
    font-weight: 600;
}

.search-cat img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.search-page__empty,
.catalog-empty {
    text-align: center;
    padding: 36px 16px 48px;
}

.search-page__empty h3,
.catalog-empty h3 {
    margin: 12px 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.search-page__empty p,
.catalog-empty p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.catalog-pager {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.catalog-pager a {
    text-decoration: none;
}

.site-footer {
    margin-top: 28px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 28px 0 20px;
}

.site-footer__grid {
    display: grid;
    gap: 22px;
}

.site-footer__name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--secondary);
}

.site-footer__slogan {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.site-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.site-footer__social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.site-footer__social i {
    font-size: 20px;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
    color: var(--primary);
}

.site-footer__contact {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.site-footer__contact p {
    margin: 0 0 8px;
}

.site-footer__contact a {
    color: var(--secondary);
    font-weight: 600;
}

.site-footer__pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.site-footer__pay img {
    max-height: 22px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.site-footer__map {
    margin-top: 22px;
    max-width: 720px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.site-footer__map img,
.site-footer__map iframe {
    display: block;
    width: 100%;
    border: 0;
}

.site-footer__map img {
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.site-footer__base {
    margin-top: 18px;
}

.site-footer__copy {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .grid-categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 901px) {
    .header-top {
        flex-wrap: nowrap;
        gap: 28px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header-search {
        flex: 1 1 auto;
        order: 0;
    }

    .header-search .search-box {
        height: 48px;
    }

    .logo img {
        max-height: 46px;
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr 1.2fr 0.9fr;
        gap: 32px;
        align-items: start;
    }
}