/* Ek stiller; renkler layout’ta CSS değişkenleri ile gelir */

.shop-main-home {
    padding: 0;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 0;
}

.shop-site-header {
    position: relative;
    z-index: 100;
    isolation: isolate;
    overflow: visible;
}

.shop-header-inner {
    min-height: var(--shop-header-min-h, 64px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.shop-header-logo-link {
    max-width: min(55vw, 280px);
}

.shop-header-logo {
    display: block;
    height: auto;
    max-height: var(--shop-logo-max-h, 40px);
    width: auto;
    max-width: 100%;
}

.shop-header-logo-fallback {
    width: var(--shop-logo-max-h, 40px);
    height: var(--shop-logo-max-h, 40px);
    min-width: var(--shop-logo-max-h, 40px);
    font-size: clamp(0.75rem, 2vw, 1rem);
}

.shop-header-nav {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 639px) {
    .shop-header-inner {
        min-height: max(48px, calc(var(--shop-header-min-h, 64px) - 8px));
    }

    .shop-header-logo {
        max-height: max(28px, calc(var(--shop-logo-max-h, 40px) - 8px));
    }

    .shop-header-logo-fallback {
        width: max(28px, calc(var(--shop-logo-max-h, 40px) - 8px));
        height: max(28px, calc(var(--shop-logo-max-h, 40px) - 8px));
        min-width: max(28px, calc(var(--shop-logo-max-h, 40px) - 8px));
    }

    .shop-header-logo-link {
        max-width: min(48vw, 200px);
    }

    .shop-header-nav .shop-nav-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.8125rem;
    }
}

@media (min-width: 1024px) {
    .shop-header-inner {
        flex-wrap: nowrap;
    }
}

.shop-site-header nav {
    overflow: visible;
}

.shop-site-header [data-nav-products] {
    position: relative;
    z-index: 1;
}

.shop-site-header [data-nav-products-panel] {
    z-index: 110;
}

.shop-site-header [data-nav-products-panel][data-open] {
    visibility: visible;
    opacity: 1;
}

.shop-home .shop-slider,
.shop-home .shop-hero {
    position: relative;
    z-index: 0;
}

.shop-full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.shop-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.shop-hero-overlay {
    pointer-events: none;
}
.shop-search-form input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.shop-card {
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.shop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.12);
}
.shop-card-preview-btn {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.shop-card:hover .shop-card-preview-btn,
.shop-card-preview-btn:focus-visible {
    opacity: 1;
    transform: scale(1);
}
@media (max-width: 767px) {
    .shop-card-preview-btn {
        opacity: 1;
        transform: scale(1);
    }
}
.shop-quickview-dialog::backdrop {
    background: rgb(15 23 42 / 0.55);
}
.shop-quickview-dialog[open] {
    margin: auto;
}

/* Anasayfa slider */
.shop-slider-track {
    will-change: transform;
}
.shop-slider-dot[data-active] {
    width: 1.5rem;
    background-color: #fff;
}

/* Anasayfa marka şeridi — yatay, sola kayan */
@keyframes shop-brands-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}
.shop-brands-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgb(241 245 249);
    background: #fff;
    padding: 1rem 0;
}
.shop-brands-marquee__viewport {
    overflow: hidden;
    width: 100%;
}
.shop-brands-marquee__track {
    display: -webkit-box !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: -webkit-max-content;
    width: max-content;
    gap: 3rem;
    padding: 0 1.5rem;
    animation: shop-brands-scroll var(--shop-marquee-duration, 180s) linear infinite;
    will-change: transform;
}
.shop-brands-marquee:hover .shop-brands-marquee__track {
    animation-play-state: paused;
}
.shop-brands-marquee__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3rem;
    z-index: 2;
    pointer-events: none;
}
.shop-brands-marquee__fade--left {
    left: 0;
    background: linear-gradient(90deg, #fff 40%, transparent);
}
.shop-brands-marquee__fade--right {
    right: 0;
    background: linear-gradient(270deg, #fff 40%, transparent);
}
.shop-brands-marquee__logo {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 2.75rem;
    flex-shrink: 0;
    text-decoration: none;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.shop-brands-marquee__logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.shop-brands-marquee__logo img {
    display: block;
    max-width: 5rem;
    max-height: 2.25rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Ürünler — filtre paneli */
.shop-filter-search {
    position: relative;
}
.shop-filter-search__icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    color: rgb(148 163 184);
    pointer-events: none;
}
.shop-filter-search__input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.8125rem;
    line-height: 1.25;
}
.shop-filter-search__input:focus {
    outline: none;
    border-color: var(--shop-primary, #4f46e5);
    box-shadow: 0 0 0 2px rgb(79 70 229 / 0.15);
}
.shop-filter-scroll {
    max-height: 13.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgb(203 213 225) transparent;
}
.shop-filter-scroll::-webkit-scrollbar {
    width: 5px;
}
.shop-filter-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: rgb(203 213 225);
}
.shop-filter-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0.15rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: rgb(51 65 85);
}
.shop-filter-option:hover {
    color: var(--shop-primary, #4f46e5);
}
.shop-filter-option__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.shop-filter-option__box {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
    border-radius: 0.2rem;
    border: 1.5px solid rgb(203 213 225);
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.shop-filter-option__input:checked + .shop-filter-option__box {
    border-color: var(--shop-primary, #4f46e5);
    background: var(--shop-primary, #4f46e5);
    box-shadow: inset 0 0 0 2px #fff;
}
.shop-filter-option__text {
    line-height: 1.35;
    word-break: break-word;
}
.shop-filter-option[data-filter-hidden="1"] {
    display: none !important;
}

/* Seçili filtreler */
.shop-active-filters__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgb(30 41 59);
}
.shop-active-filters__count {
    font-weight: 500;
    color: rgb(100 116 139);
}
.shop-active-filters__chips {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.shop-active-filters__chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid #f97316;
    background: #fff;
}
.shop-active-filters__chip-body {
    min-width: 0;
    flex: 1;
}
.shop-active-filters__chip-label {
    display: block;
    font-size: 0.65rem;
    color: rgb(148 163 184);
}
.shop-active-filters__chip-value {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(30 41 59);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-active-filters__chip-remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    font-size: 1.1rem;
    line-height: 1;
    color: rgb(148 163 184);
    text-decoration: none;
}
.shop-active-filters__chip-remove:hover {
    color: rgb(51 65 85);
    background: rgb(248 250 252);
}
.shop-active-filters__clear {
    display: block;
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgb(30 41 59);
    text-decoration: none;
}
.shop-active-filters__clear:hover {
    color: var(--shop-primary, #4f46e5);
}

/* Sol alt hızlı iletişim */
.shop-contact-float {
    position: fixed;
    left: 1rem;
    bottom: 1.25rem;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
}
.shop-contact-float__btn {
    pointer-events: auto;
    display: flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #fff;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.2), 0 4px 10px -4px rgb(0 0 0 / 0.15);
    opacity: 0;
    transform: translateX(-120%);
    animation: shop-contact-slide-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--shop-float-delay, 0ms);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-contact-float__btn:hover {
    transform: translateX(0) scale(1.08);
    box-shadow: 0 14px 28px -6px rgb(0 0 0 / 0.25);
}
.shop-contact-float--email {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}
.shop-contact-float--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.shop-contact-float--phone {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}
@keyframes shop-contact-slide-in {
    from {
        opacity: 0;
        transform: translateX(-120%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-brands-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .shop-slider-track {
        transition: none;
    }
    .shop-contact-float__btn {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
