:root {
    --navy-950: #0f172a;
    --navy-900: #1e293b;
    --navy-800: #1e3a8a;
    --navy-700: #1d4ed8;
    --gold-500: #d4a017;
    --gold-400: #e8b923;
    --gold-300: #f5d061;
    --green-wa: #25d366;
    --green-wa-dark: #16a34a;
    --surface: #f8fafc;
    --surface-soft: #f1f5f9;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55;
}

.home-mockup { background: #fff; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
    color: var(--navy-800);
    white-space: nowrap;
}

.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #d4a017 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.22);
}

.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a,
.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    transition: background .15s ease, color .15s ease;
}

.site-nav a:hover,
.site-nav__link:hover,
.site-nav__link--active {
    background: #eff6ff;
    color: var(--navy-700);
}

.site-nav svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-wa-header {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-wa), var(--green-wa-dark));
    border: none;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.btn-wa-header__icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
}

.btn-wa-header strong {
    display: block;
    line-height: 1.2;
    color: #fff;
}

.btn-wa-header small {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
}

.btn-wa-header svg { width: 18px; height: 18px; color: #fff; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.65);
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 56px 0 48px;
}

.hero__content {
    width: 100%;
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-800);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.12;
    color: var(--gold-500);
    margin-bottom: 16px;
    text-shadow: none;
}

.hero__lead {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto 24px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
}

.hero__trust {
    width: 100%;
}

.trust-bar--hero {
    margin-top: 0;
    max-width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: #fff;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.2);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.btn-outline-dark {
    background: rgba(255, 255, 255, 0.85);
    color: var(--navy-800);
    border: 1px solid #cbd5e1;
    box-shadow: none;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.75);
    color: var(--text);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.trust-item + .trust-item { border-left: 1px solid rgba(226, 232, 240, 0.7); }

.trust-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(239, 246, 255, 0.85);
    color: var(--navy-700);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.84rem;
    margin-bottom: 1px;
}

.trust-item span {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* Filters */
.section { padding: 48px 0 56px; }

.section--soft { background: #fff; }

.section--banner { padding-top: 0; }

.section__head {
    text-align: center;
    margin-bottom: 24px;
}

.section__head h2 {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    margin-bottom: 8px;
    color: var(--navy-900);
}

.section__head p { color: var(--text-muted); font-size: 0.95rem; }

.filter-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 28px;
    justify-content: center;
    flex-wrap: wrap;
    scrollbar-width: thin;
}

.filter-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}

.filter-btn svg {
    width: 15px;
    height: 15px;
}

.filter-btn:hover,
.filter-btn.is-active {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.22);
}

/* Product grid — 4 columns */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card.is-hidden { display: none; }

.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.product-card__badge--ranza { background: #dbeafe; color: #1d4ed8; }
.product-card__badge--dolap { background: #ede9fe; color: #7c3aed; }
.product-card__badge--yatak { background: #ccfbf1; color: #0f766e; }
.product-card__badge--komodin { background: #ffedd5; color: #c2410c; }
.product-card__badge--sifonyer { background: #fce7f3; color: #be185d; }
.product-card__badge--default { background: rgba(255,255,255,0.92); color: var(--navy-700); }

.product-card__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    display: grid;
    place-items: center;
    color: #94a3b8;
    backdrop-filter: blur(8px);
}

.product-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.product-card__title {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
}

.product-card__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    min-height: 34px;
}

.product-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.product-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-900);
}

.product-card__quote {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.78rem;
    font-weight: 800;
}

.btn-wa-card {
    margin-top: 10px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-wa), var(--green-wa-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.btn-wa-card svg { width: 18px; height: 18px; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-xl);
    color: var(--text-muted);
    background: #fff;
}

/* Order banner */
.order-banner {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.order-banner__content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.order-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.order-banner h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.order-banner p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: #1f2937;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(212, 160, 23, 0.35);
}

/* Footer — mockup compact bar */
.site-footer--compact {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    padding-top: 0;
}

.site-footer--compact .footer-bar {
    border-top: none;
    padding: 18px 0;
}

.footer-bar__item + .footer-bar__item {
    border-left: 1px solid var(--border);
    padding-left: 18px;
}

.footer-copy {
    padding: 14px 0 22px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.92rem;
    margin-bottom: 14px;
    color: var(--navy-900);
}

.footer-col ul { list-style: none; }

.footer-col li + li { margin-top: 8px; }

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover { color: var(--navy-700); }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--navy-700);
}

.footer-bar {
    border-top: 1px solid var(--border);
    padding: 18px 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.footer-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.footer-bar__item svg {
    width: 18px;
    height: 18px;
    color: var(--navy-700);
    flex-shrink: 0;
}

.footer-copy {
    padding: 16px 0 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-wa), var(--green-wa-dark));
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
    transition: transform .15s ease;
}

.floating-wa:hover { transform: scale(1.05); }

.floating-wa svg { width: 28px; height: 28px; }

.floating-wa__tip {
    position: absolute;
    right: 68px;
    bottom: 50%;
    translate: 0 50%;
    white-space: nowrap;
    background: #fff;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.floating-wa:hover .floating-wa__tip { opacity: 1; }

/* Responsive */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .hero__inner {
        padding: 40px 0 36px;
        gap: 24px;
    }

    .trust-bar {
        grid-template-columns: 1fr;
    }

    .trust-item + .trust-item {
        border-left: none;
        border-top: 1px solid rgba(226, 232, 240, 0.7);
    }
}

@media (max-width: 1024px) {
    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .site-nav { display: none; }
    .btn-wa-header { justify-self: end; }

    .product-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-bar__item + .footer-bar__item { border-left: none; padding-left: 0; }
}

@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 10px;
        box-shadow: var(--shadow-md);
        z-index: 60;
    }

    .site-nav.is-open { display: flex; }

    .btn-wa-header small { display: none; }

    .trust-bar { grid-template-columns: 1fr; }

    .trust-item + .trust-item {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .order-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bar { grid-template-columns: 1fr; }
}

.product-card__media--interactive {
    cursor: zoom-in;
}

.product-card__media--interactive::after {
    content: 'Görsele tıkla · Kapak / Renk seç';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transition: opacity .15s ease;
}

.product-card__media--interactive:hover::after {
    opacity: 1;
}

.product-card__hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.config-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
}

.config-modal.is-open { display: flex; }

.config-modal__dialog {
    width: min(100%, 920px);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.config-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.config-modal__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.config-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
}

.config-modal__image-wrap {
    background: linear-gradient(180deg, #eff6ff, #f8fafc);
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.config-modal__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.config-modal__group { margin-bottom: 18px; }

.config-modal__label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.variant-pills,
.color-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-pill,
.color-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

.variant-pill.is-active,
.color-pill.is-active {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-color: transparent;
    color: #fff;
}

.color-pill.is-active {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: #1f2937;
}

.config-modal__price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy-900);
    margin: 8px 0 16px;
}

@media (max-width: 768px) {
    .config-modal__body { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }

    .btn-wa-header span:first-child { display: none; }
}
