/**
 * Masaüstü (≥993px) — ölçü ve düzen: Shop 29 / premiumshop29.demodeposu.com
 * Mobil kuralları store.css içinde kalır; bu dosya sadece geniş ekranı hedefler.
 */

@media (min-width: 993px) {
    :root {
        --ps-max: 1320px;
        --ps-navy: #151b2e;
        --ps-line: #e8e8e8;
        --ps-text: #1a1a1a;
        --ps-muted: #5c5c5c;
    }

    body {
        font-size: 15px;
    }

    .site-header-wrap,
    nav.site-nav,
    .footer-store {
        font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    }

    .container {
        max-width: var(--ps-max);
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Üst şeritler: Shop 29 — siyah bar, kompakt tipografi */
    .top-bar__utility {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }
    .top-bar__inner {
        padding: 11px 0;
        min-height: 40px;
    }
    .top-bar__link {
        font-weight: 500;
    }
    .top-bar-strip {
        padding: 12px 0;
    }

    /* Header: 3 sütun grid — logo | arama | araçlar */
    .site-header-wrap {
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .site-header-wrap:has(.site-header--fashion) {
        box-shadow: none;
    }

    header.site-header {
        border-bottom: 1px solid var(--ps-line);
    }

    .site-header-wrap:has(.site-header--fashion) header.site-header.site-header--fashion {
        border-bottom: none;
    }

    .header-main {
        display: grid;
        grid-template-columns: minmax(160px, 240px) minmax(320px, 1fr) minmax(300px, 440px);
        align-items: center;
        gap: 28px 40px;
        padding: 20px 0 22px;
        flex-wrap: unset;
    }

    .site-header--fashion .header-main,
    .site-header--zenvora .header-main {
        padding: 20px 0 22px;
        gap: 28px 40px;
        align-items: center;
    }

    .header-mobile-bar {
        display: none !important;
    }

    .header-logo-desktop {
        display: flex !important;
        align-items: center;
        min-width: 0;
    }

    .header-main .logo {
        margin: 0;
    }

    .site-logo-img {
        max-height: 127px;
        max-width: 220px;
    }

    .logo-text--fashion {
        font-size: clamp(1.75rem, 2.2vw, 2.1rem);
    }

    .logo-text--zenvora .logo-text__line1 {
        font-size: 1rem;
        letter-spacing: 0.28em;
    }
    .logo-text--zenvora .logo-text__line2 {
        font-size: 0.65rem;
        letter-spacing: 0.5em;
    }

    /* Arama: geniş, ince çerçeve, Shop 29 hissi */
    .header-main .search-box {
        flex: unset;
        max-width: 100%;
        width: 100%;
        margin: 0;
        justify-self: stretch;
    }

    .site-header .search-box input {
        height: 46px;
        padding: 0 52px 0 20px;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 400;
        color: var(--ps-text);
        background: #fff;
    }

    .site-header--zenvora .search-box input {
        border-radius: 999px;
    }

    .site-header .search-box__submit {
        width: 46px;
        height: 46px;
        right: 2px;
        font-size: 17px;
        color: #333;
    }

    /* İkon şeridi */
    .header-tools-desktop {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 0 6px;
        margin: 0;
        width: 100%;
        max-width: 440px;
        justify-self: end;
    }

    .header-tool-stack {
        max-width: 82px;
        min-width: 0;
        padding: 0 4px;
        gap: 8px;
    }

    .header-tool-stack__ico {
        font-size: 23px;
        color: var(--ps-text);
    }

    .header-tool-stack__label {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: var(--ps-text);
        line-height: 1.2;
    }

    .header-tool-stack__cart-sum {
        font-size: 11px;
        font-weight: 600;
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }

    .header-tool-stack__label--cart {
        max-width: 100px;
        white-space: normal;
        line-height: 1.25;
    }

    .header-badge {
        min-width: 19px;
        height: 19px;
        line-height: 19px;
        font-size: 10px;
        top: -7px;
        right: -10px;
    }

    /* Nav */
    nav.site-nav {
        border-top: none;
        border-bottom: 1px solid var(--ps-line);
        background: #fff;
    }

    .nav-bar__inner {
        align-items: stretch;
        min-height: 50px;
    }

    .nav-catalog-btn {
        display: inline-flex !important;
        align-self: stretch;
        align-items: center;
        min-height: 48px;
        padding: 0 20px 0 18px;
        margin-right: 12px;
        background: var(--ps-navy) !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        border-radius: 0;
    }

    /* Kataloğu Keşfet: tıklayınca aşağı açılan mega panel */
    .nav-catalog-wrap { position: relative; }
    .nav-catalog-btn {
        border: none;
        cursor: pointer;
    }
    .nav-catalog-btn__chev { font-size: 12px; opacity: 0.9; margin-left: 8px; }

    nav.site-nav.catalog-open .catalog-mega { pointer-events: auto; }
    .catalog-mega {
        position: absolute;
        left: 0;
        top: calc(100% + 10px);
        width: min(var(--ps-max), 100vw - 32px);
        max-width: var(--ps-max);
        z-index: 999;
        opacity: 0;
        transform: translateY(-6px);
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease, max-height 0.22s ease;
    }
    nav.site-nav.catalog-open .catalog-mega {
        opacity: 1;
        transform: translateY(0);
        max-height: 760px;
    }
    .catalog-mega .mega-menu-inner {
        border-radius: 0;
        border: 1px solid var(--ps-line);
        background: #fff;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
        padding: 26px 26px 18px;
        max-width: 100%;
    }
    .catalog-mega__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 22px 24px;
        align-items: start;
        min-width: 0;
    }
    .catalog-mega__cols {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 18px;
        min-width: 0;
    }
    .catalog-mega__section { margin-bottom: 14px; }
    .catalog-mega__products .mega-product-strip { max-height: 360px; }

    .nav-catalog-btn i {
        font-size: 16px;
    }

    .nav-links {
        padding: 0 0 2px;
        gap: 2px 4px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.1em;
    }

    .nav-links > li.nav-item {
        padding: 13px 11px;
        border-radius: 0;
    }

    .mega-menu-inner {
        max-width: var(--ps-max);
        border-radius: 0;
        border: 1px solid var(--ps-line);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
        padding: 32px 32px 28px;
    }

    /* Footer — daha düz, geniş grid (Shop 29 alt alan) */
    footer.footer-store,
    .footer-store {
        border-top: 1px solid var(--ps-line);
        background: #fafafa;
        box-shadow: none;
    }

    .footer-usp {
        background: #f5f5f5;
        border-bottom: 1px solid var(--ps-line);
        box-shadow: none;
    }

    .footer-usp__grid {
        gap: 20px 28px;
        padding: 28px 0;
    }

    .footer-usp__item {
        padding: 14px 16px;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    /* Shop29 footer: düz zemin, "kart" yüzeyi yok */
    .footer-store--shop29 .footer-main-surface {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .footer-main:not(.footer-main--shop29) {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 32px 40px;
        padding: 40px 8px 36px;
    }

    /* Footer: marka | bağlantılar | üyelik | sosyal | iletişim (tek satırda hizalı) */
    .footer-main--shop29 {
        grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr));
        gap: 24px 28px;
        padding: 44px 0 28px;
        max-width: var(--ps-max);
        margin: 0 auto;
        align-items: start;
    }

    .footer-brand--shop29 {
        max-width: none;
    }

    .footer-brand:not(.footer-brand--shop29) {
        grid-column: span 2;
        max-width: 440px;
    }

    .footer-main:not(.footer-main--shop29) > .footer-col {
        padding-left: 20px;
        border-left: 1px solid #eee;
    }

    .footer-store--shop29 .footer-newsletter {
        padding: 44px 0 48px;
    }

    .footer-col__title {
        font-size: 13px;
        letter-spacing: 0.12em;
        padding-bottom: 12px;
        border-bottom-width: 1px;
    }

    .footer-col__list li {
        font-size: 14px;
    }

    .footer-trust-row {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 0;
        padding: 20px 24px;
        background: #fff;
        border-top: 1px solid var(--ps-line);
        border-bottom: 1px solid var(--ps-line);
        box-shadow: none;
    }

    .footer-bottom {
        padding: 20px 0 24px;
        border-top: none;
        font-size: 13px;
        color: var(--ps-muted);
    }

    .footer-social {
        padding: 28px 32px 22px;
        border-top: 1px solid var(--ps-line);
    }

    .footer-disclaimer-block {
        padding: 12px 24px 4px;
    }

    .footer-disclaimer {
        font-size: 12px;
        color: var(--ps-muted);
    }

    /* Fashion: siyah kategori şeridi + açık tipografi */
    .site-header-wrap:has(.site-header--fashion) nav.site-nav {
        background: #000;
        border-top: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item {
        color: rgba(255, 255, 255, 0.92);
    }

    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item > a {
        color: inherit;
    }

    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-link__chevron i {
        color: rgba(255, 255, 255, 0.72) !important;
    }

    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item:hover,
    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item:focus-within {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item:hover .nav-link__chevron i,
    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item:focus-within .nav-link__chevron i {
        color: #fff !important;
    }

    .site-header-wrap:has(.site-header--fashion) nav.site-nav .nav-links > li.nav-item.highlight {
        color: rgba(255, 255, 255, 0.92);
        background: transparent;
    }
}
