/**
 * YON — ItemSatis tema klonu (geçici referans katmanı)
 * deploy-marker: yon-is-clone-v1
 * Scope: .yon-is-clone + :has(.yon-is-clone) — sınıf adları yon-* kalır
 */

/* ── Sayfa zemin ── */
.yon-body:has(.yon-is-clone) {
    background: var(--h-bg-page, #161b28) !important;
}

.yon-body:has(.yon-is-clone) .yon-content,
.yon-body:has(.yon-is-clone) .yon-ad-layout__main {
    background: transparent;
}

/* ── Ana sayfa genel ── */
.yon-is-clone.yon-home--yon {
    --yh-section-gap: 28px;
    --yh-shell-radius: 8px;
    padding-bottom: 0;
}

.yon-is-clone.yon-home--yon::before {
    display: none;
}

.yon-is-clone .yh-section {
    padding: 14px 0;
}

.yon-is-clone .yh-section-shell {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.yon-is-clone .yh-section-head {
    margin-bottom: 14px;
    align-items: center;
}

.yon-is-clone .yh-section-head__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 17px;
    background: rgba(102, 122, 250, 0.15);
    border-color: rgba(102, 122, 250, 0.25);
}

.yon-is-clone .yh-section-head__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
}

.yon-is-clone .yh-section-head__sub {
    font-size: 12px;
}

/* ═══════════════════════════════════════
   HERO — ItemSatis main-slider-home
   ═══════════════════════════════════════ */
.yon-is-clone .yon-hero-h {
    padding: 0 0 8px;
    background: transparent;
    box-shadow: 0 30px 50px #383b50;
    margin-bottom: 4px;
}

.yon-is-clone .yon-hero-h__scene-layer.is-active {
    opacity: 1;
    filter: blur(28px);
    transform: scale(1.08);
}

.yon-is-clone .yon-hero-h__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #383b50 18%, transparent 72%);
    z-index: 1;
    pointer-events: none;
}

.yon-is-clone .yon-hero-h__promo {
    display: none;
}

.yon-is-clone .yon-hero-h__slider-wrap {
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

.yon-is-clone .yon-hero-h__main {
    border-radius: 8px;
    overflow: hidden;
}

.yon-is-clone .yon-hero-h__main .swiper-slide {
    border-radius: 8px;
    overflow: hidden;
}

.yon-is-clone .yon-hero-h__media .yon-hero-h__img {
    object-fit: cover;
}

.yon-is-clone .yon-hero-h__txt {
    display: none;
}

/* Kategori pill'leri — slider-poster-category */
.yon-is-clone .yon-hero-h__thumbs-wrap {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 14px 0 10px;
    margin: 0;
    max-width: 100%;
}

.yon-is-clone .yon-hero-h__thumbs-wrap::-webkit-scrollbar {
    display: none;
}

.yon-is-clone .yon-hero-h__thumb {
    flex-shrink: 0;
    height: auto;
    min-height: 0;
    padding: 10px 14px;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    gap: 8px;
    box-shadow: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.yon-is-clone .yon-hero-h__thumb:hover:not(.is-active) {
    background: #3a3d50 !important;
}

.yon-is-clone .yon-hero-h__thumb.is-active {
    background: var(--h-blue, #667afa) !important;
    filter: drop-shadow(0 0 10px rgba(102, 122, 250, 0.65));
    color: #fff;
}

.yon-is-clone .yon-hero-h__thumb img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* 4'lü şerit — ItemSatis servis blokları */
.yon-is-clone .yon-hero-h__strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding: 0;
}

.yon-is-clone .yon-hero-h__strip-item {
    min-height: 72px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--h-bg-raised, #333548);
    overflow: hidden;
}

.yon-is-clone .yon-hero-h__strip-frame {
    border-radius: 8px;
}

/* Stories — oyun ikon şeridi */
.yon-is-clone + .yon-site-stories,
.yon-body:has(.yon-is-clone) .yon-site-stories {
    padding: 10px 0 6px;
    background: transparent;
    border: none;
}

.yon-body:has(.yon-is-clone) .yon-site-story__ring {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.yon-body:has(.yon-is-clone) .yon-site-story__label {
    font-size: 10px;
    max-width: 64px;
}

/* ═══════════════════════════════════════
   İLAN KARTLARI — item-card klonu
   ═══════════════════════════════════════ */
.yon-is-clone .yh-listings__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (min-width: 640px) {
    .yon-is-clone .yh-listings__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .yon-is-clone .yh-listings__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .yon-is-clone .yh-listings__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.yon-is-clone .yh-listing-card.lc {
    display: flex;
    flex-direction: column;
    height: 320px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--h-bg-raised, #333548);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.yon-is-clone .yh-listing-card.lc:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.yon-is-clone .yh-listing-card .lc__media {
    position: relative;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: #2a2d3e;
}

.yon-is-clone .yh-listing-card .lc__media::before {
    content: "";
    position: absolute;
    inset: -20%;
    background-image: var(--yon-lc-blur, none);
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    opacity: 0.45;
    transform: scale(1.2);
    z-index: 0;
}

.yon-is-clone .yh-listing-card .lc__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.yon-is-clone .yh-listing-card .lc__body {
    flex: 1;
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yon-is-clone .yh-listing-card .lc__title {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--h-text-bright);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.yon-is-clone .yh-listing-card .lc__price {
    color: var(--h-green, #34d399);
    font-size: 14px;
    font-weight: 800;
    margin-top: auto;
}

.yon-is-clone .yh-listing-card .lc__seller {
    display: none;
}

.yon-is-clone .yh-listing-card__cta {
    display: none;
}

.yon-is-clone .yh-listings__filters {
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.yon-is-clone .yh-listings__filter {
    flex-shrink: 0;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    background: var(--h-bg-raised);
    border: 1px solid var(--h-border);
}

.yon-is-clone .yh-listings__filter.is-active {
    background: var(--h-blue);
    border-color: var(--h-blue);
    color: #fff;
}

.yon-is-clone .yh-listings__footer {
    margin-top: 16px;
    text-align: center;
}

.yon-is-clone .yh-listings__cta-btn {
    border-radius: 999px;
    min-height: 42px;
    padding: 0 24px;
    background: var(--h-blue);
    box-shadow: 0 4px 14px rgba(102, 122, 250, 0.35);
}

/* ═══════════════════════════════════════
   PLATFORM / SOSYAL — renkli bloklar
   ═══════════════════════════════════════ */
.yon-is-clone .yh-platforms__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .yon-is-clone .yh-platforms__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .yon-is-clone .yh-platforms__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.yon-is-clone .yh-platform {
    min-height: 88px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(145deg, color-mix(in srgb, var(--yh-platform-color, #667afa) 35%, #333548), #333548);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.yon-is-clone .yh-platform:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.yon-is-clone .yh-social__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .yon-is-clone .yh-social__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.yon-is-clone .yh-social__btn {
    min-height: 56px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, color-mix(in srgb, var(--yh-social-color, #667afa) 75%, #000), color-mix(in srgb, var(--yh-social-color, #667afa) 45%, #333548));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    font-size: 13px;
}

/* ═══════════════════════════════════════
   SIDEBAR — ItemSatis sol menü + liste
   ═══════════════════════════════════════ */
.yon-is-clone .yh-sidebar__grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 991px) {
    .yon-is-clone .yh-sidebar__grid {
        grid-template-columns: 1fr;
    }
}

.yon-is-clone .yh-sidebar__nav {
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    border-radius: 8px;
    padding: 12px;
}

.yon-is-clone .yh-sidebar__link {
    border-radius: 6px;
    min-height: 40px;
    font-size: 13px;
}

.yon-is-clone .yh-sidebar__link.is-active {
    background: var(--h-blue-soft);
    color: var(--h-blue-text);
}

.yon-is-clone .yh-sidebar__products {
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    border-radius: 8px;
    padding: 12px;
}

.yon-is-clone .yh-sidebar__product {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--h-bg-raised);
}

/* ═══════════════════════════════════════
   ÖNE ÇIKAN / VİTRİN / TRUST
   ═══════════════════════════════════════ */
.yon-is-clone .yon-product-grid {
    gap: 14px;
}

.yon-is-clone .yon-trust-boxes__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .yon-is-clone .yon-trust-boxes__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.yon-is-clone .yon-trust-box {
    border-radius: 8px;
    border: 1px solid var(--h-border);
    background: var(--h-bg-card);
    padding: 20px 16px;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.yon-is-clone .yon-trust-box i {
    font-size: 28px;
    color: var(--h-blue);
    margin-bottom: 8px;
}

.yon-is-clone .yon-trust-box strong {
    display: block;
    color: var(--h-text-bright);
    font-size: 14px;
    margin-bottom: 4px;
}

.yon-is-clone .yon-trust-box p {
    font-size: 12px;
    color: var(--h-text-muted);
    margin: 0;
}

/* FAQ / duyuru */
.yon-is-clone .yon-announce__bar {
    border-radius: 8px;
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
}

.yon-is-clone .yh-faq__item {
    border-radius: 8px;
    border: 1px solid var(--h-border);
    background: var(--h-bg-card);
}

/* ═══════════════════════════════════════
   FOOTER — ItemSatis footer-top / middle
   ═══════════════════════════════════════ */
.yon-body:has(.yon-is-clone) .ysf {
    background: #383b50;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.yon-body:has(.yon-is-clone) .ysf::before {
    display: none;
}

.yon-body:has(.yon-is-clone) .ysf__trust {
    background: linear-gradient(180deg, rgba(37, 39, 58, 0.95) 0%, rgba(56, 59, 80, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yon-body:has(.yon-is-clone) .ysf__trust-item {
    background: rgba(47, 49, 68, 0.65);
    border-color: rgba(255, 255, 255, 0.08);
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.yon-body:has(.yon-is-clone) .ysf__trust-item i {
    margin-bottom: 8px;
}

.yon-body:has(.yon-is-clone) .ysf__main {
    padding-top: 28px;
    padding-bottom: 28px;
}

.yon-body:has(.yon-is-clone) .ysf__col-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.yon-body:has(.yon-is-clone) .ysf__links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
}

.yon-body:has(.yon-is-clone) .ysf__links a:hover {
    color: #fff;
}

.yon-body:has(.yon-is-clone) .ysf__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 23, 35, 0.65);
}

.yon-body:has(.yon-is-clone) .ysf__pay-badge {
    opacity: 0.75;
    filter: grayscale(0.2);
}

/* ═══════════════════════════════════════
   MOBİL
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .yon-is-clone .yon-hero-h__strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yon-is-clone .yh-listings__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .yon-is-clone .yh-listing-card.lc {
        height: 280px;
    }

    .yon-is-clone .yh-listing-card .lc__media {
        height: 160px;
    }
}

@media (hover: none) {
    .yon-is-clone .yh-listing-card.lc:hover {
        transform: none;
    }
}
