.slider-container {
    height: 500px;
}

@media (max-width: 1200px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .urun-kart {
        padding: 1rem !important;
    }
    
    .urun-kart img {
        height: 240px !important;
    }
    
    .slider-container {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    section.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .urun-scroll .d-flex {
        gap: 1.5rem !important;
    }
    
    .urun-kart {
        flex: 0 0 240px !important;
        padding: 0.875rem !important;
    }
    
    .urun-kart img {
        height: 220px !important;
    }
    
    .fiyat {
        font-size: 1.2rem;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .carousel-item {
        height: 400px !important;
    }
    
    .carousel-caption h2 {
        font-size: 1.75rem !important;
    }
    
    .carousel-caption p {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    section.container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    h2.h3 {
        font-size: 1.25rem;
    }
    
    .urun-scroll .d-flex {
        gap: 1rem !important;
        padding-bottom: 0.75rem;
    }
    
    .urun-kart {
        flex: 0 0 200px !important;
        padding: 0.75rem !important;
        border-radius: 16px !important;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .urun-kart img {
        height: 200px !important;
        border-radius: 12px !important;
    }
    
    .urun-kart h3,
    .urun-kart h6 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        min-height: 2.8em;
    }
    
    .urun-rating {
        font-size: 0.8rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .rating-puan {
        font-size: 0.9rem;
    }
    
    .rating-yildizlar {
        font-size: 0.75rem;
    }
    
    .urun-kart .mb-2.d-flex.align-items-center.gap-2 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.25rem !important;
    }
    
    .fiyat {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    .eski-fiyat-badge {
        font-size: 0.7rem;
        padding: 2px 6px;
        display: inline-block;
        width: auto;
    }
    
    .kupon-badge,
    .kargo-badge {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
    
    .urun-istatistik-mesaj {
        padding: 8px 12px;
        min-height: 36px;
        font-size: 0.8rem;
    }
    
    .istatistik-mesaj i {
        font-size: 0.95rem;
    }
    
    .btn-favori {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin: 0.5rem !important;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .btn.rounded-pill {
        padding: 0.5rem 1rem;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .carousel-item {
        height: 300px !important;
    }
    
    .carousel-caption {
        padding: 1rem !important;
    }
    
    .carousel-caption h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.875rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .carousel-caption .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .hikaye-item {
        flex: 0 0 90px !important;
    }
    
    .hikaye-resim {
        width: 70px !important;
        height: 70px !important;
    }
    
    .hikaye-item p {
        font-size: 0.7rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between .btn-link {
        align-self: flex-start;
    }
    
    .row.g-4 {
        gap: 1rem !important;
    }
    
    .col-12.col-sm-6.col-lg-3 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart {
        min-height: 100%;
        height: 100%;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart img {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    section.container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    h2.h3 {
        font-size: 1.1rem;
    }
    
    .text-muted {
        font-size: 0.8rem;
    }
    
    .urun-scroll .d-flex {
        gap: 0.75rem !important;
    }
    
    .urun-kart {
        flex: 0 0 180px !important;
        padding: 0.625rem !important;
        border-radius: 12px !important;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .urun-kart img {
        height: 180px !important;
        border-radius: 8px !important;
    }
    
    .urun-kart h3,
    .urun-kart h6 {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
        min-height: 2.8em;
    }
    
    .urun-rating {
        font-size: 0.75rem;
        gap: 0.375rem;
        flex-wrap: wrap;
    }
    
    .rating-puan {
        font-size: 0.85rem;
    }
    
    .rating-yildizlar {
        font-size: 0.7rem;
    }
    
    .rating-yorum-sayi {
        font-size: 0.7rem;
    }
    
    .urun-kart .mb-2.d-flex.align-items-center.gap-2 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.25rem !important;
    }
    
    .fiyat {
        font-size: 1rem;
        display: block;
        width: 100%;
    }
    
    .eski-fiyat-badge {
        font-size: 0.65rem;
        padding: 2px 5px;
        display: inline-block;
        width: auto;
    }
    
    .kupon-badge,
    .kargo-badge {
        font-size: 0.7rem;
        padding: 2px 5px;
    }
    
    .urun-istatistik-mesaj {
        padding: 6px 10px;
        min-height: 32px;
        font-size: 0.75rem;
        margin-bottom: 0.5rem !important;
    }
    
    .istatistik-mesaj i {
        font-size: 0.85rem;
    }
    
    .btn-favori {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin: 0.375rem !important;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.875rem;
    }
    
    .btn.rounded-pill {
        padding: 0.45rem 0.875rem;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .carousel-item {
        height: 250px !important;
    }
    
    .carousel-caption {
        padding: 0.75rem !important;
    }
    
    .carousel-caption h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.875rem;
    }
    
    .hikaye-item {
        flex: 0 0 80px !important;
    }
    
    .hikaye-resim {
        width: 60px !important;
        height: 60px !important;
    }
    
    .hikaye-item p {
        font-size: 0.65rem;
    }
    
    .col-12.col-sm-6.col-lg-3 {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
        margin-bottom: 1rem;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart {
        min-height: 100%;
        height: 100%;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart img {
        height: 220px !important;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.25em 0.5em;
    }
    
    .urun-etiketler {
        gap: 0.25rem !important;
    }
    
    .urun-etiketler .badge {
        font-size: 0.65rem;
        padding: 0.2em 0.4em;
    }
}

@media (max-width: 400px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    section.container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .urun-kart {
        flex: 0 0 160px !important;
        padding: 0.5rem !important;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .urun-kart img {
        height: 160px !important;
    }
    
    .urun-kart .mb-2.d-flex.align-items-center.gap-2 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.2rem !important;
    }
    
    .fiyat {
        font-size: 0.95rem;
        display: block;
        width: 100%;
    }
    
    .eski-fiyat-badge {
        font-size: 0.6rem;
        padding: 2px 4px;
        display: inline-block;
        width: auto;
    }
    
    .hikaye-item {
        flex: 0 0 70px !important;
    }
    
    .hikaye-resim {
        width: 55px !important;
        height: 55px !important;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart {
        min-height: 100%;
        height: 100%;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart img {
        height: 200px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .urun-kart img {
        height: 300px;
    }
    
    .col-12.col-sm-6.col-lg-3 .urun-kart img {
        height: 320px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .carousel-item {
        height: 250px !important;
    }
    
    header {
        padding: 0.5rem 0 !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn-favori:hover {
        transform: none;
    }
    
    .urun-kart:hover {
        transform: none;
    }
    
    .card.rounded-4:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

@media print {
    .btn-favori,
    .btn,
    header,
    footer,
    .canli-destek-widget {
        display: none !important;
    }
    
    .urun-kart {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
