/* =========================================================
   ISTANBUL SPOT - CUSTOMER THEME
========================================================= */

:root {
    --bg: #f6f2eb;
    --surface: #ffffff;
    --surface-soft: #f0e9df;

    --text: #201d19;
    --text-soft: #756e65;

    --primary: #26382d;
    --primary-hover: #1b2921;

    --accent: #b67c45;
    --accent-light: #e8d5bf;

    --danger: #b94040;

    --border: #e1d9ce;

    --shadow:
        0 14px 40px
        rgba(50, 38, 25, 0.08);

    --shadow-hover:
        0 20px 50px
        rgba(50, 38, 25, 0.15);

    --radius: 16px;
}


body {
    background:
        linear-gradient(
            180deg,
            #faf8f4 0%,
            var(--bg) 100%
        );

    color: var(--text);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    height: 84px;

    padding: 0 6%;

    background:
        rgba(255, 255, 255, 0.95);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 4px 18px
        rgba(0, 0, 0, 0.035);

    position: sticky;

    top: 0;

    z-index: 500;

    backdrop-filter:
        blur(12px);
}


.logo {
    font-size: 25px;

    font-weight: 800;

    color: var(--primary);

    letter-spacing: -0.6px;
}


.navbar nav {
    align-items: center;

    gap: 28px;
}


.navbar nav > a {
    position: relative;

    color: #403b35;

    font-weight: 500;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


.navbar nav > a:not(.cart-link)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background:
        var(--accent);

    transition:
        width 0.22s ease;
}


.navbar nav > a:not(.cart-link):hover::after {
    width: 100%;
}


.navbar nav > a:hover {
    opacity: 1;

    color: var(--primary);
}


/* =========================================================
   CART NAVBAR
========================================================= */

.cart-link {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    background:
        var(--primary);

    color: white !important;

    border-radius: 999px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.cart-link:hover {
    background:
        var(--primary-hover);

    transform:
        translateY(-2px);
}


.cart-icon {
    font-size: 20px;
}


.cart-count {
    position: absolute;

    top: -8px;
    right: -8px;

    min-width: 21px;
    height: 21px;

    padding: 0 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--danger);

    color: white;

    border:
        2px solid white;

    border-radius:
        999px;

    font-size: 11px;

    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 4px 10px
        rgba(185, 64, 64, 0.35);
}


.cart-count[hidden] {
    display: none;
}


.cart-count-pop {
    animation:
        cart-count-pop
        0.5s ease;
}


@keyframes cart-count-pop {

    0% {
        transform:
            scale(1);
    }

    35% {
        transform:
            scale(1.55);

        box-shadow:
            0 0 0 6px
            rgba(185, 64, 64, 0.15);
    }

    100% {
        transform:
            scale(1);
    }
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
    min-height:
        calc(100vh - 84px);

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items: center;

    gap: 60px;

    padding-top: 65px;
    padding-bottom: 80px;
}


.hero-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.home-hero h1 {
    max-width: 720px;

    font-size:
        clamp(44px, 6vw, 76px);

    line-height: 1.03;

    letter-spacing: -2px;

    color: var(--primary);
}


.home-hero p {
    max-width: 600px;

    margin-top: 24px;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.8;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}


.hero-primary,
.hero-secondary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 0 23px;

    border-radius: 10px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.hero-primary {
    background:
        var(--primary);

    color: white;
}


.hero-secondary {
    background:
        white;

    border:
        1px solid var(--border);

    color:
        var(--primary);
}


.hero-primary:hover,
.hero-secondary:hover {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow);
}


.hero-visual {
    position: relative;

    min-height: 470px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius:
        30px;

    background:
        linear-gradient(
            145deg,
            #e4d3bd,
            #b88b62
        );

    box-shadow:
        var(--shadow-hover);
}


.hero-visual::before {
    content: "";

    width: 280px;
    height: 190px;

    border-radius:
        34px 34px 22px 22px;

    background:
        #faf7f0;

    box-shadow:
        0 45px 0 -20px
        #26382d;

    transform:
        rotate(-4deg);
}


.hero-visual::after {
    content:
        "Modern • Zamansız • Konforlu";

    position: absolute;

    bottom: 24px;
    right: 24px;

    padding:
        12px 17px;

    background:
        rgba(255, 255, 255, 0.9);

    border-radius:
        10px;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   PAGE HEADERS
========================================================= */

.page-header {
    padding:
        70px 0 45px;
}


.page-header h1 {
    color:
        var(--primary);

    font-size:
        clamp(38px, 5vw, 58px);

    letter-spacing:
        -1.5px;
}


.page-header p {
    max-width: 650px;

    margin-top: 10px;

    color:
        var(--text-soft);

    line-height:
        1.7;
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-card {
    border:
        1px solid rgba(225, 217, 206, 0.7);

    border-radius:
        var(--radius);

    box-shadow:
        0 7px 22px
        rgba(40, 30, 20, 0.045);
}


.product-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-hover);
}


.product-image-wrapper {
    background:
        #f1eee9;
}


.product-image {
    transition:
        transform 0.35s ease;
}


.product-card:hover
.product-image {
    transform:
        scale(1.05);
}


.product-category {
    color:
        var(--accent);

    font-weight: 700;

    text-transform:
        uppercase;

    letter-spacing:
        0.5px;
}


.product-name {
    color:
        var(--primary);

    font-weight:
        700;
}


.product-price,
.detail-price {
    color:
        var(--primary);
}


.product-button,
.product-save-button,
.admin-dashboard-link {
    background:
        var(--primary);

    color:
        white;

    border-radius:
        8px;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.product-button:hover,
.product-save-button:hover,
.admin-dashboard-link:hover {
    opacity:
        1;

    background:
        var(--primary-hover);

    transform:
        translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(38, 56, 45, 0.18);
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.filter-group input,
.filter-group select,
.products-toolbar select {
    border:
        1px solid var(--border);

    border-radius:
        8px;

    outline:
        none;

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease;
}


.filter-group input:focus,
.filter-group select:focus,
.products-toolbar select:focus {
    border-color:
        var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(182, 124, 69, 0.12);
}


.filter-button {
    background:
        var(--primary);

    border-radius:
        8px;

    font-weight:
        700;
}


/* =========================================================
   PRODUCT DETAIL
========================================================= */

.product-detail {
    align-items:
        start;
}


.main-image-wrapper {
    background:
        white;

    border:
        1px solid var(--border);

    border-radius:
        20px;

    box-shadow:
        var(--shadow);
}


.thumbnail-button {
    border-radius:
        10px;

    border:
        1px solid var(--border);
}


.thumbnail-button:hover {
    border-color:
        var(--accent);
}


.product-detail-info {
    padding:
        10px 5px;
}


.product-detail-info h1 {
    color:
        var(--primary);

    letter-spacing:
        -1px;
}


.product-meta {
    border-color:
        var(--border);
}


.product-description {
    padding-top:
        5px;
}


.product-cart-actions {
    padding:
        17px;

    background:
        var(--surface-soft);

    border-radius:
        12px;

    margin:
        10px 0 20px;
}


.product-cart-actions input {
    background:
        white;

    border-color:
        var(--border);

    border-radius:
        8px;
}


/* =========================================================
   CART
========================================================= */

.cart-item,
.cart-summary,
.checkout-card,
.checkout-summary,
.order-success-card {
    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.cart-item {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.cart-item:hover {
    transform:
        translateY(-2px);

    box-shadow:
        var(--shadow-hover);
}


.cart-item-image {
    background:
        #f2eee8;

    border-radius:
        10px;
}


.cart-item-quantity button {
    border-color:
        var(--border);

    border-radius:
        8px;

    font-weight:
        800;
}


.cart-item-quantity button:hover {
    background:
        var(--primary);

    color:
        white;
}


.cart-remove {
    color:
        var(--danger);

    font-weight:
        600;

    text-decoration:
        none;
}


.cart-summary {
    position:
        sticky;

    top:
        110px;
}


/* =========================================================
   CHECKOUT
========================================================= */

.checkout-card input,
.checkout-card textarea {
    border-color:
        var(--border);

    border-radius:
        9px;

    outline:
        none;
}


.checkout-card input:focus,
.checkout-card textarea:focus {
    border-color:
        var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(182, 124, 69, 0.12);
}


.checkout-total {
    padding-top:
        17px;

    border-top:
        1px solid var(--border);

    color:
        var(--primary);

    font-weight:
        700;
}


/* =========================================================
   SUCCESS
========================================================= */

.order-success-card {
    position:
        relative;

    overflow:
        hidden;

    padding:
        55px 45px;
}


.order-success-card::before {
    content:
        "✓";

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;

    width:
        70px;
    height:
        70px;

    margin:
        0 auto 25px;

    border-radius:
        50%;

    background:
        #dfece2;

    color:
        #28623b;

    font-size:
        34px;

    font-weight:
        900;
}


.order-success-card h1 {
    color:
        var(--primary);
}


/* =========================================================
   ABOUT
========================================================= */

.about-page {
    padding:
        70px 0 100px;
}


.about-hero {
    max-width:
        850px;

    margin-bottom:
        45px;
}


.about-hero h1 {
    font-size:
        clamp(42px, 6vw, 68px);

    color:
        var(--primary);

    letter-spacing:
        -2px;
}


.about-hero p {
    margin-top:
        20px;

    color:
        var(--text-soft);

    font-size:
        18px;

    line-height:
        1.8;
}


.about-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        22px;
}


.about-card {
    padding:
        30px;

    background:
        white;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.about-card h2 {
    margin-bottom:
        13px;

    color:
        var(--primary);
}


.about-card p {
    color:
        var(--text-soft);

    line-height:
        1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .home-hero {
        grid-template-columns:
            1fr;
    }


    .hero-visual {
        min-height:
            330px;
    }


    .about-grid {
        grid-template-columns:
            1fr;
    }
}


@media (max-width: 650px) {

    .navbar {
        height:
            auto;

        min-height:
            72px;

        padding:
            14px 18px;
    }


    .navbar nav {
        display:
            flex;

        gap:
            11px;

        flex-wrap:
            wrap;

        justify-content:
            flex-end;
    }


    .navbar nav > a:not(.cart-link) {
        display:
            none;
    }


    .cart-text {
        display:
            none;
    }


    .cart-link {
        padding:
            10px 13px;
    }


    .home-hero {
        padding-top:
            35px;
    }


    .home-hero h1 {
        font-size:
            44px;
    }
}



.customer-auth-nav {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.customer-nav-name {
    font-weight: 600;
    color: var(--primary);
}

.customer-nav-logout {
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    color: var(--text);
    padding: 0;
}

.customer-nav-logout:hover {
    color: var(--accent);
}

/* =========================================================
   ERİŞİLEBİLİRLİK / ÜRÜNLER SAYFASI
========================================================= */

/* Ekranda görünmez, ekran okuyucular ve arama motorları okur. */
.visually-hidden {
    position: absolute !important;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    white-space: nowrap;

    border: 0;
}


/* Başlık kaldırıldığı için ürünler sayfası doğrudan başlar. */
.shop-layout--flush {
    padding-top: 44px;
}


/* Kısa sayfalarda alt kısım beyaz kalmasın. */
html {
    background: var(--bg);
}

body {
    min-height: 100vh;
}


/* =========================================================
   MENÜ - PROFİL
========================================================= */

.customer-nav-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.customer-nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.customer-nav-initial {
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #f4ede2;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   SİTE FOOTER
========================================================= */

.site-footer {
    margin-top: 40px;
    background: #1f2e25;
    color: rgba(244, 237, 226, 0.72);
    font-size: 15px;
}

.site-footer-inner {
    width: min(1400px, 90%);
    margin: 0 auto;
    padding: 64px 0 44px;
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 0.8fr 1fr;
    gap: 40px;
}

.site-footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #f4ede2;
}

.site-footer-brand p {
    max-width: 30ch;
    margin-top: 12px;
    line-height: 1.6;
}

.site-footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.site-footer-col h2 {
    margin-bottom: 4px;
    color: #f4ede2;
    font-size: 15px;
    font-weight: 700;
}

.site-footer-col a {
    width: fit-content;
    color: rgba(244, 237, 226, 0.72);
    transition: color 0.2s ease;
}

.site-footer-col a:hover,
.site-footer-col a:focus-visible {
    color: #e7b878;
}

.site-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    word-break: break-all;
}

.site-footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer a:focus-visible {
    outline: 2px solid #e7b878;
    outline-offset: 3px;
}

.site-footer-bottom {
    width: min(1400px, 90%);
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(244, 237, 226, 0.12);
    font-size: 13px;
    color: rgba(244, 237, 226, 0.5);
}

/* Ana sayfada footer showroom renginde, boşluksuz başlasın */
.home-page .site-footer {
    margin-top: 0;
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 48px;
    }
}


/* =========================================================
   YASAL SAYFALAR
========================================================= */

.legal-page {
    padding: 56px 0 40px;
}

.legal-article {
    max-width: 760px;
    color: var(--text);
    line-height: 1.75;
}

.legal-article h1 {
    color: var(--primary);
    font-size: clamp(32px, 4.5vw, 46px);
    letter-spacing: -1px;
    line-height: 1.15;
}

.legal-updated {
    margin: 10px 0 34px;
    color: var(--text-soft);
    font-size: 14px;
}

.legal-lead {
    font-size: 18px;
    color: var(--text-soft);
}

.legal-article h2 {
    margin: 38px 0 12px;
    color: var(--primary);
    font-size: 21px;
}

.legal-article p + p {
    margin-top: 12px;
}

.legal-article ul,
.legal-article ol {
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.legal-article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-seller {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 8px 18px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.legal-seller dt {
    color: var(--text-soft);
    font-size: 14px;
}

.legal-seller dd {
    font-weight: 500;
}

/* Doldurulması gereken bilgiler göze batsın */
.legal-fill {
    padding: 1px 6px;
    background: #fbe7b5;
    color: #6b4a12;
    border-radius: 4px;
    font-weight: 600;
}

@media (max-width: 560px) {
    .legal-seller {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .legal-seller dd {
        margin-bottom: 8px;
    }
}


/* =========================================================
   SİPARİŞ - ONAY KUTUSU VE KAYITLI ADRES
========================================================= */

.checkout-consent {
    padding: 16px 18px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.checkout-card label.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    line-height: 1.55;
    cursor: pointer;
}

.checkout-card .consent-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-height: 0;
    margin-top: 2px;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.consent-check a,
.consent-note a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-note {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.checkout-card select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
    font: inherit;
    font-weight: 400;
}


/* Mobil menü: giriş yapınca da tek satıra sığsın. */
.logo {
    white-space: nowrap;
}

@media (max-width: 650px) {

    .customer-auth-nav {
        gap: 12px;
        font-size: 14px;
    }

    .customer-auth-nav a[href="/siparislerim"],
    .customer-auth-nav .customer-nav-name,
    .customer-auth-nav .customer-nav-logout {
        display: none;
    }
}


/* =========================================================
   VİTRİN MODU
   Online satış / hesaplar kapalıyken (backend/settings.py)
   sepet ve hesap bağlantıları gizlenir.
========================================================= */

html[data-shop="off"] .cart-link,
html[data-shop="off"] .global-cart-count {
    display: none !important;
}

html[data-accounts="off"] .customer-auth-nav {
    display: none !important;
}


/* Footer: adres ve yol tarifi */

.site-footer-directions {
    display: inline-flex;
    margin-top: 18px;
    padding: 9px 16px;
    border: 1px solid rgba(244, 237, 226, 0.3);
    border-radius: 999px;
    color: #f4ede2;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.site-footer-directions:hover {
    border-color: #e7b878;
    color: #e7b878;
}

.site-footer-contact {
    align-items: flex-start;
    line-height: 1.45;
}

.site-footer-contact svg {
    margin-top: 1px;
}


/* Ürün sayfası: sepet yerine iletişim */

.product-contact {
    margin: 26px 0 30px;
    padding: 20px 22px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.product-contact-title {
    font-weight: 600;
    color: var(--primary);
}

.product-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.contact-action {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
    padding: 6px 18px;
    border: 1px solid var(--primary);
    border-radius: 12px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    transition: background 0.2s ease;
}

.contact-action span {
    font-weight: 400;
    font-size: 13px;
    color: var(--text-soft);
}

.contact-action:hover {
    background: var(--bg);
}

.contact-action-primary {
    background: var(--primary);
    color: white;
}

.contact-action-primary:hover {
    background: var(--primary-hover);
}

.contact-action:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 560px) {

    .contact-action {
        flex: 1 1 100%;
    }
}


/* Footer: çalışma saatleri */

.site-footer-hours {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    max-width: 280px;
    font-size: 14px;
}

.site-footer-hours div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.site-footer-hours dd {
    color: #f4ede2;
}


/* =========================================================
   ADMIN - SATIŞ MODU ŞERİDİ (sadece admin görür)
========================================================= */

.admin-sale-bar {
    background: #202020;
    color: #f4ede2;
    font-size: 14px;
}

.admin-sale-bar-inner {
    width: min(1400px, 90%);
    margin: 0 auto;
    padding: 9px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 20px;
}

.admin-sale-bar strong {
    margin-right: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #e7b878;
    color: #202020;
    font-size: 12px;
}

.admin-sale-bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.admin-sale-bar a {
    color: #f4ede2;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(244, 237, 226, 0.4);
}

.admin-sale-bar a:hover {
    text-decoration-color: currentColor;
}

/* Satış formu vitrin sayfası içinde */
.sales-page .sale-cart-empty a {
    text-decoration: underline;
}


/* =========================================================
   ÜRÜN ARAMA
========================================================= */

.products-search {
    margin-bottom: 16px;
}

.products-search input {
    width: 100%;
    min-height: 50px;
    padding: 0 18px 0 46px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        white
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23756e65%27 stroke-width=%272%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%277%27/%3E%3Cpath d=%27M20 20l-3.5-3.5%27/%3E%3C/svg%3E")
        no-repeat 16px center / 20px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
}

.products-search input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: transparent;
}


/* =========================================================
   SATILDI / STOKTA YOK
========================================================= */

.product-image-wrapper,
.similar-media {
    position: relative;
}

.sold-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #1f2a26;
    color: #f4ede2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sold-badge.is-out {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    border: 1px solid var(--border);
}

.sold-badge.is-inline {
    position: static;
    display: inline-block;
    margin: 4px 0 6px;
}

.product-card.is-unavailable .product-image,
.similar-card.is-unavailable img {
    filter: grayscale(0.55);
    opacity: 0.75;
}

.product-card.is-unavailable .product-price {
    color: var(--text-soft);
}


/* =========================================================
   BENZER ÜRÜNLER
========================================================= */

.similar-products {
    margin: 56px 0 24px;
}

.similar-products[hidden] {
    display: none;
}

.similar-products h2 {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 24px;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.similar-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.similar-media {
    display: block;
    aspect-ratio: 4 / 3;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-soft);
}

.similar-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.similar-card:hover .similar-media img {
    transform: scale(1.04);
}

.similar-name {
    font-weight: 600;
    color: var(--primary);
}

.similar-price {
    color: var(--text-soft);
    font-weight: 600;
}

.similar-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 12px;
}

@media (max-width: 900px) {

    .similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
