/* ============================================================
   EYMEN E-TİCARET - HEADER / FOOTER POLISH
   Mevcut site.css'i bozmadan görünümü iyileştirir.
============================================================ */

:root {
    --shop-red: var(--theme-primary, #2563eb);
    --shop-dark: var(--theme-secondary, #111827);
}

/* Genel */
.shop-topbar,
.shop-header,
.shop-category-nav,
.shop-footer {
    font-synthesis: none;
}

/* Üst bilgi */
.shop-topbar {
    background: color-mix(in srgb, var(--theme-secondary, #111827) 94%, #ffffff 6%);
}

.shop-topbar a,
.shop-topbar span {
    transition: opacity .2s ease, color .2s ease;
}

.shop-topbar a:hover {
    opacity: .82;
}

/* Ana header */
.shop-header {
    background: #fff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
    position: relative;
    z-index: 50;
}

.shop-header-inner {
    min-height: 86px;
}

.shop-logo {
    text-decoration: none;
    transition: transform .2s ease;
}

.shop-logo:hover {
    transform: translateY(-1px);
}

.shop-logo img,
.shop-footer-logo img {
    display: block;
}

/* Arama */
.shop-search {
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.shop-search:focus-within {
    border-color: var(--theme-primary, #2563eb);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-primary, #2563eb) 13%, transparent);
}

.shop-search input {
    border-radius: 14px 0 0 14px;
}

.shop-search button {
    background: var(--theme-primary, #2563eb) !important;
    border-radius: 0 14px 14px 0 !important;
    transition: filter .2s ease;
}

.shop-search button:hover {
    filter: brightness(.93);
}

/* Header aksiyonları */
.shop-header-action {
    border-radius: 12px;
    padding: 9px 10px;
    transition: background .2s ease, transform .2s ease;
}

.shop-header-action:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.shop-cart-count {
    background: var(--theme-primary, #2563eb) !important;
}

/* Kategori menüsü */
.shop-category-nav {
    box-shadow: 0 4px 15px rgba(15, 23, 42, .04);
}

.shop-category-nav-inner {
    overflow-x: auto;
    scrollbar-width: none;
}

.shop-category-nav-inner::-webkit-scrollbar {
    display: none;
}

.shop-category-nav a {
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}

.shop-category-nav a:hover {
    color: var(--theme-primary, #2563eb);
}

.shop-all-categories {
    background: var(--theme-primary, #2563eb) !important;
    color: #fff !important;
    border-radius: 10px;
    padding-left: 15px !important;
    padding-right: 115px !important;
}

/* Mobil menü */
.offcanvas {
    border: 0;
}

.offcanvas-header {
    border-bottom: 1px solid #eef2f7;
}

.shop-mobile-links a {
    border-radius: 8px;
    margin-bottom: 2px;
    border-bottom: 0 !important;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}

.shop-mobile-links a:hover {
    background: #f8fafc;
    color: var(--theme-primary, #2563eb);
    padding-left: 10px;
}

.shop-mobile-search input {
    border-radius: 12px 0 0 12px;
}

.shop-mobile-search button {
    background: var(--theme-primary, #2563eb) !important;
    border-radius: 0 12px 12px 0 !important;
}

/* Footer */
.shop-footer {
    background:
        radial-gradient(circle at top right,
            color-mix(in srgb, var(--theme-primary, #2563eb) 12%, transparent),
            transparent 32%),
        var(--theme-secondary, #111827) !important;
}

.shop-footer h5 {
    position: relative;
    padding-bottom: 11px;
    letter-spacing: .2px;
}

.shop-footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-primary, #2563eb);
}

.shop-footer li {
    margin-bottom: 11px;
}

.shop-footer a {
    transition: color .18s ease, transform .18s ease;
}

.shop-footer li > a:hover {
    color: #fff !important;
}

.shop-footer-contact > div {
    padding: 2px 0;
}

.shop-footer-contact i {
    color: var(--theme-primary, #2563eb) !important;
    margin-top: 2px;
}

.shop-footer .d-flex.gap-3.mt-3 a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.07);
    color: #fff;
    transition: transform .2s ease, background .2s ease;
}

.shop-footer .d-flex.gap-3.mt-3 a:hover {
    background: var(--theme-primary, #2563eb);
    transform: translateY(-2px);
}

.shop-footer-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.shop-footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* WhatsApp */
.shop-whatsapp-button {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-whatsapp-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 34px rgba(0, 0, 0, .23);
}

/* Responsive */
@media (max-width: 991px) {
    .shop-header-inner {
        min-height: 72px;
    }
}

@media (max-width: 576px) {
    .shop-footer-trust {
        justify-content: center;
        gap: 10px 16px;
    }

    .shop-footer-description {
        max-width: none;
    }
}

/* =========================================================
   FOOTER PAYMENT LOGOS
========================================================= */

.shop-payment-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.shop-payment-section-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

    .shop-payment-section-title span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 800;
        color: #ffffff;
    }

        .shop-payment-section-title span i {
            font-size: 18px;
        }

    .shop-payment-section-title small {
        color: rgba(255,255,255,.60);
        font-size: 11px;
    }

.shop-payment-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-payment-logo-item {
    width: 82px;
    height: 42px;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .shop-payment-logo-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,.18);
    }

    .shop-payment-logo-item img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

@media (max-width: 767.98px) {
    .shop-payment-section {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .shop-payment-logos {
        justify-content: flex-start;
    }

    .shop-payment-logo-item {
        width: 74px;
        height: 40px;
    }
}
