/* ==========================================================================
   Responsive — breakpoint'lere göre gruplanmış
   ========================================================================== */

/* --- max-width: büyük ekrandan küçüğe --- */

@media (max-width: 1200px) {
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-layout__menu {
        display: none;
    }

    .game-quick-grid {
        min-height: auto;
        grid-template-rows: auto;
    }

    .game-quick-card {
        min-height: 130px;
    }
}

@media (max-width: 992px) {
    .category-section__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Kategori & marka */
    .category-section__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .brand-section__list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* Sepet */
    .cart-layout {
        flex-direction: column;
    }

    .cart-card__header {
        flex-direction: column;
    }

    /* Header & arama */
    .header-top {
        display: none;
    }

    .header-bottom nav {
        display: none;
    }

    .header {
        height: 80px;
    }

    .header-content {
        position: relative;
    }

    .logo {
        margin-left: auto;
        margin-right: auto;
        padding-left: 56px;
    }

    .search-button {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .search-section {
        margin-top: 80px;
        background-color: #132530;
    }

    .search-section p {
        color: #fff;
    }

    .search-section-header-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        height: 40px;
        border-radius: 5px;
        background-color: #fff;
        color: #132530;
    }

    .search-section-header {
        padding: 15px;
    }

    .search-form {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }

    .dots span {
        background-color: #fff;
    }

    select {
        height: 45px;
    }

    /* Hero & slider */
    .hero-section {
        display: none;
    }

    .hero-content-title {
        font-size: 32px;
    }

    .main-slider .media {
        aspect-ratio: 16 / 9;
    }

    .thumbs-slider .swiper-slide {
        width: 120px;
    }

    .swipper-pagination-buttons {
        display: none;
    }

    .swiper-pagination {
        display: block;
    }

    .slide-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.2;
    }

    .slide-content {
        overflow-wrap: anywhere;
    }

    /* Ürün & blog */
    .product-features {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
    }

    .related-products .product-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog-preview__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .blog-card__media {
        width: 100%;
        height: auto;
    }

    /* Footer & destek */
    .footer-brand__logo {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .site-footer__grid {
        display: flex;
        flex-direction: column;
    }

    .site-footer__bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer-nav__columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .support-banner__inner {
        display: none;
    }

    /* Alt menü */
    .bottom-menu {
        display: flex;
    }

    .bottom-menu-container {
        display: block;
    }
}

@media (max-width: 576px) {
}

@media (max-width: 540px) {
    .game-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* --- min-width: küçük ekrandan büyüğe --- */

@media (min-width: 640px) {
    .listings-grid {
        gap: 1rem;
    }

    .games-section__header {
        margin-bottom: 20px;
    }

    .games-section__row {
        gap: 16px;
    }

    .games-section__card {
        min-width: 100px;
    }

    .news-small-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .games-section__title {
        font-size: 1.5rem;
    }

    .news-featured__title {
        font-size: 1.125rem;
    }

    .news-card__title {
        font-size: 13px;
    }

    .site-box {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 769px) {
    .hero-swiper .swiper-slide {
        min-height: 520px;
    }
}

@media (min-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .games-section__row {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        overflow: visible;
        padding-bottom: 0;
    }

    .games-section__card {
        width: auto;
        min-width: 0;
    }

    .news-section__title {
        font-size: 1.5rem;
    }

    .news-section__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: stretch;
        min-height: 400px;
    }

    .news-featured {
        min-height: 100%;
        height: 100%;
    }

    .news-small-grid {
        height: 100%;
        grid-template-rows: 1fr 1fr;
    }

    .news-card {
        min-height: 0;
        height: 100%;
    }
}

@media (min-width: 1280px) {
    .listings-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
