/* Tema 2 — Yapılandırma: hover, header, footer, hero, gece modu, mini arama */

@media (hover: hover) and (pointer: fine) {
    .product-card .product-img,
    .product-card .product-card-video,
    .product-card .product-img--hover {
        transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
    }
    .product-card {
        transition: transform .25s ease, box-shadow .25s ease, border-color .15s ease;
    }

    html[data-card-hover="zoom"] .product-card:hover .product-img,
    html[data-card-hover="zoom"] .product-card:hover .product-card-video,
    html:not([data-card-hover]) .product-card:hover .product-img {
        transform: scale(1.08);
    }

    html[data-card-hover="lift"] .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
    }

    html[data-card-hover="swap"] .product-img-container .product-img--hover {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
        z-index: 1;
    }
    html[data-card-hover="swap"] .product-card:hover .product-img--hover {
        opacity: 1;
    }
    html[data-card-hover="swap"] .product-card:hover .product-img:not(.product-img--hover) {
        opacity: 0;
    }

    html[data-card-hover="overlay"] .product-img-container::after {
        content: "İncele";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 23, 42, .42);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        opacity: 0;
        transition: opacity .2s ease;
        z-index: 2;
        pointer-events: none;
    }
    html[data-card-hover="overlay"] .product-card:hover .product-img-container::after {
        opacity: 1;
    }

    html[data-card-hover="none"] .product-card:hover .product-img,
    html[data-card-hover="none"] .product-card:hover .product-card-video {
        transform: none;
    }

    html[data-pdp-hover="magnify"] .pb-product-main-image-wrap,
    html[data-pdp-hover="glass"] .pb-product-main-image-wrap {
        cursor: crosshair;
    }
    html[data-pdp-hover="zoom"] .pb-product-main-image-wrap,
    html[data-pdp-hover="none"] .pb-product-main-image-wrap {
        cursor: default;
    }
    html[data-pdp-hover="zoom"] .pb-product-main-image {
        transition: transform .35s cubic-bezier(.16, 1, .3, 1);
    }
    html[data-pdp-hover="zoom"] .pb-product-main-image-wrap:hover .pb-product-main-image {
        transform: scale(1.12);
    }
    html[data-pdp-hover="none"] .pb-product-main-image {
        transform: none !important;
    }

    .pb-product-lens {
        position: absolute;
        width: 140px;
        height: 140px;
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(15, 23, 42, .2), 0 8px 20px rgba(15, 23, 42, .18);
        pointer-events: none;
        z-index: 4;
        display: none;
        background-repeat: no-repeat;
    }
    html[data-pdp-hover="glass"] .pb-product-lens.is-on {
        display: block;
    }
}

.pb-card-color-dots {
    display: flex;
    gap: 5px;
    margin: 6px 0 0;
    min-height: 12px;
}
.pb-card-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #d2dae2;
    background: #e2e8f0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.pb-card-color-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-search-form {
    position: relative;
}
.pb-mini-search {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
    z-index: 1200;
    max-height: 360px;
    overflow: auto;
    display: none;
}
.pb-mini-search.is-open {
    display: block;
}
.pb-mini-search-group {
    padding: 8px 0;
}
.pb-mini-search-group + .pb-mini-search-group {
    border-top: 1px solid #eef2f6;
}
.pb-mini-search-label {
    padding: 4px 14px 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
}
.pb-mini-search a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 14px;
    font-size: 13.5px;
    color: #0a2240;
}
.pb-mini-search a:hover {
    background: #f8fafc;
}
.pb-mini-search img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 8px;
    flex-shrink: 0;
}
.pb-mini-search-empty {
    padding: 14px;
    font-size: 13px;
    color: #64748b;
}

html[data-header-style="centered"] .header-top {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    max-height: none;
    justify-content: center;
    row-gap: 12px;
    padding: 12px 0;
}
html[data-header-style="centered"] .header-logo {
    order: 1;
    width: 100%;
    justify-content: center;
    height: auto;
}
html[data-header-style="centered"] .header-search-form {
    order: 3;
    max-width: 720px;
    width: 100%;
}
html[data-header-style="centered"] .header-actions {
    order: 2;
}
html[data-header-style="compact"] .header-top {
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    gap: 16px;
}
html[data-header-style="compact"] .header-logo img {
    height: 36px;
    max-height: 36px;
}
html[data-header-style="compact"] .header-action-link span {
    display: none;
}

html[data-footer-layout="simple"] .footer-newsletter,
html[data-footer-layout="simple"] .footer-grid {
    display: none;
}
html[data-footer-layout="simple"] .footer-bottom {
    padding-top: 18px;
}

html[data-hero="banner"] .pb-slider-arrow,
html[data-hero="banner"] .pb-slider-dots,
html[data-hero="banner"] .pb-slider-dot,
html[data-hero="video"] .pb-slider-arrow,
html[data-hero="video"] .pb-slider-dots {
    display: none !important;
}

.pb-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 28px 0 8px;
}
.pb-pager a,
.pb-pager button,
.pb-pager span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    background: #fff;
    cursor: pointer;
}
.pb-pager a:hover,
.pb-pager button:hover {
    border-color: var(--color-primary, #0045a5);
    color: var(--color-primary, #0045a5);
}
.pb-pager .is-current {
    background: var(--color-primary, #0045a5);
    border-color: transparent;
    color: #fff;
}

html[data-theme="dark"] {
    color-scheme: dark;
}
html[data-theme="dark"] body {
    background: #0b1220;
    color: #e2e8f0;
}
html[data-theme="dark"] .replica-header,
html[data-theme="dark"] .category-nav-bar,
html[data-theme="dark"] .replica-footer,
html[data-theme="dark"] .header-top-bar,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .pb-product-main-image-wrap,
html[data-theme="dark"] .pb-static-card,
html[data-theme="dark"] .pb-mini-search {
    background: #111827;
    border-color: #1f2937;
    color: #e2e8f0;
}
html[data-theme="dark"] .header-search-input,
html[data-theme="dark"] .pb-filter-select,
html[data-theme="dark"] .newsletter-input {
    background: #0b1220;
    color: #e2e8f0;
    border-color: #334155;
}
html[data-theme="dark"] .product-name,
html[data-theme="dark"] .pb-product-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .footer-col-title {
    color: #f8fafc;
}
html[data-theme="dark"] .pb-mini-search a:hover {
    background: #1f2937;
}
