/* ============================================================
   BS YAYINCILIK — RESPONSIVE (Merkezi Medya Sorguları)
   Tüm @media kuralları burada toplanır.
   Sıralama: Büyük → Küçük (max-width)

   Breakpoint sistemi:
   - 1400px+  : Extra Large Desktop
   - 1199px   : Large Tablet
   - 1023px   : Tablet (landscape)
   - 991px    : Tablet (portrait)  → Hamburger menü geçişi
   - 768px    : Mobile
   - 600px    : Small Mobile
   - 480px    : Extra Small Mobile
   ============================================================ */

/* ============================================================
   GLOBAL TAŞMA ÖNLEYİCİ (Baseline)
   ============================================================ */
img,
svg,
video,
iframe,
object,
embed {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tablo taşma koruması */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Container */
.bs-container,
.container,
.container-fluid,
.site-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   EXTRA LARGE (1400px+)
   ============================================================ */
@media (min-width: 1400px) {

    .bs-container,
    .container {
        max-width: 1360px;
        padding-left: 24px;
        padding-right: 24px;
    }

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

/* ============================================================
   LARGE TABLET (max-width: 1199px)
   ============================================================ */
@media (max-width: 1199px) {

    .bs-footer {
        margin-top: 0 !important;
    }

    /* Footer Grid: 3 columns (contact spans all) */
    .bs-footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 2rem;
    }

    .bs-footer-grid> :last-child {
        grid-column: span 3;
    }

    /* Trust */
    .trust-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .trust-item {
        flex: 1 1 45%;
    }

    /* Home Products Grid */
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Checkout */
    .checkout-grid {
        grid-template-columns: 1fr 320px;
    }

    /* Hero (orta ekranlarda sıkılaştır) */
    .hero-blob-container {
        width: 380px;
        height: 380px;
    }

    .hero-inner {
        gap: 30px;
    }

    .hero-nav-wrapper {
        right: -10px;
    }
}

/* ============================================================
   TABLET LANDSCAPE (max-width: 1023px)
   ============================================================ */
@media (max-width: 1023px) {

    /* --- Header --- */
    .header-search {
        max-width: 360px;
    }

    /* --- Hero --- */
    .hero-section {
        padding: 60px 0 100px;
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 0 20px;
    }

    .hero-content {
        max-width: 100%;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .hero-desc {
        max-width: 520px;
        margin: 0 auto 24px;
    }

    .hero-blob-container {
        width: 280px;
        height: 280px;
    }

    .hero-image-side {
        padding-right: 0;
        justify-content: center;
    }

    .hero-social-sidebar,
    .hero-deco {
        display: none;
    }

    .hero-nav-wrapper {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 24px;
        justify-content: center;
    }

    /* --- Home Products --- */
    .home-products-side-box {
        display: none;
    }

    .home-products-container {
        display: block;
    }

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

    /* --- Circle Cat --- */
    .circle-cat-side-box {
        display: none;
    }

    .circle-cat-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .circle-cat-item {
        flex-shrink: 0;
        min-width: 120px;
    }

    /* --- Category Layout --- */
    .bs-category-layout {
        grid-template-columns: 200px 1fr;
        gap: 20px;
    }

    /* --- Product Detail --- */
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-gallery {
        position: static;
        max-width: 440px;
        margin: 0 auto;
    }

    /* --- Blog (homepage) --- */
    .blog-layout {
        flex-direction: column;
        gap: 0;
        border: none;
    }

    .blog-featured-card {
        padding: 32px 24px;
    }

    .blog-featured-heading {
        font-size: 3rem;
    }

    .blog-featured-sub {
        font-size: 1.5rem;
    }

    .blog-featured-footer {
        font-size: 1.2rem;
    }

    .blog-list {
        border-left: none;

    }

    .blog-list-item {
        flex-direction: row;
        gap: 20px;
        padding: 28px;
    }

    .blog-list-img-wrap {
        width: 200px;
        max-width: 40%;
        margin: 0;
    }

    /* --- Blog header (homepage) --- */
    .blog-header {
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    /* --- App Section --- */
    .app-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .app-store-badges {
        justify-content: center;
    }

    /* --- Section Headers --- */
    .section-title,
    .bs-section-title,
    .home-products-title,
    .blog-section-title {
        font-size: 2rem;
    }

    /* --- Hakkımızda --- */
    .hakkimizda-mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hakkimizda-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hakkimizda-card {
        padding: 30px 26px;
    }

    /* --- İletişim --- */
    .iletisim-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* --- Blog Detay --- */
    .blog-detay-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .blog-sidebar-card {
        position: static;
    }
}

/* ============================================================
   TABLET PORTRAIT (max-width: 991px)
   Navbar: Switch to hamburger menü
   ============================================================ */
@media (max-width: 991px) {

    /* --- Navbar: hide desktop nav, show hamburger --- */
    .bs-nav {
        display: none;
    }

    .bs-hamburger {
        display: flex !important;
    }

    /* Logo: scroll transform kaldır, statik */
    .bs-logo {
        position: static !important;
        transform: none !important;
        width: unset;
        min-width: unset;
        max-width: unset;
    }

    /* Header inner: sıfır padding */
    .bs-header-inner {
        padding: 0 14px !important;
    }

    .bs-header.scrolled .bs-header-inner {
        padding: 0 14px !important;
    }

    /* Header actions: kompakt */
    .bs-header-actions {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: end;
    }

    /* Main content offset (top bar + header yüksekliği) */
    #main-content {
        padding-top: 110px;
    }

    /* --- Checkout --- */
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .checkout-sidebar {
        position: static !important;
        width: 100% !important;
        order: -1;
    }

    /* --- Footer Grid --- */
    .bs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .bs-footer-grid> :last-child {
        grid-column: span 2;
    }

    /* --- Product Detail --- */
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-gallery {
        position: static;
        max-width: 440px;
        margin: 0 auto;
    }

    /* --- Category Layout --- */
    .bs-category-layout {
        grid-template-columns: 1fr;
    }

    .bs-sidebar {
        margin-bottom: 24px;
    }

    .bs-sidebar-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .bs-sort-section {
        margin-top: 12px;
        padding-top: 12px;
        width: 100%;
    }

    /* --- Populer Section --- */
    .populer-section {
        background-image: url('../images/populer-kategoriler.webp') !important;
        background-attachment: fixed !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        position: relative !important;
        padding: 50px 0 !important;
    }

    .populer-section::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(255, 248, 244, 0.92) !important;
        z-index: 1 !important;
    }

    .populer-inner {
        position: relative !important;
        z-index: 2 !important;
        flex-direction: column;
        gap: 30px;
    }

    .populer-image-wrap {
        display: none !important;
    }

    .populer-preview-wrap {
        display: none !important;
    }

    .populer-preview-img {
        display: none !important;
    }

    /* --- Trust --- */
    .trust-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .trust-item {
        flex: 1 1 calc(50% - 12px);
        padding: 20px;
    }

    /* --- Hero --- */
    .hero-section {
        padding: 60px 0 90px;
    }

    /* --- Announcement bar font size --- */
    .bs-top-bar {
        font-size: 0.75rem;
    }
}

/* ============================================================
   MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* --- Main content offset --- */
    #main-content {
        padding-top: 98px;
    }

    /* --- Header --- */
    .bs-header-inner {
        padding: 0 14px !important;
        justify-content: space-between;
    }

    .bs-logo-img {
        height: 60px !important;
        max-height: 60px !important;
        max-width: 180px;
        padding: 8px 0 !important;
        box-sizing: content-box !important;
    }

    .bs-header.scrolled .bs-logo-img {
        height: 50px !important;
        max-height: 50px !important;
        padding: 4px 0 !important;
    }

    .bs-header-actions {
        gap: 10px;
    }

    .bs-header-action-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bs-cart-icon {
        width: 42px;
        height: 42px;
    }

    .bs-cart-badge {
        font-size: 0.6rem;
        width: 18px;
        height: 18px;
        top: 0;
        right: 0;
    }

    .bs-hamburger {
        width: 38px;
        height: 34px;
    }

    /* --- Top bar --- */
    .bs-top-bar {
        font-size: 0.75rem;
        padding: 8px 0;
    }

    .bs-top-bar-item {
        padding: 0 20px;
    }

    /* --- Category Marquee --- */
    .cat-text-bar {
        border-top: none !important;
        padding: 10px 0 !important;
    }

    .cat-text-marquee-content {
        gap: 30px !important;
    }

    /* --- Hero --- */
    .hero-section {
        padding: 0 !important;
        height: 80vh !important;
        min-height: 80vh !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-inner {
        flex-direction: column-reverse !important;
        gap: 20px;
        height: auto;
    }

    .hero-bottom-wave {
        bottom: 0 !important;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-tag {
        font-size: 0.75rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-blob-container {
        width: 220px;
        height: 220px;
    }

    .bs-btn {
        padding: 14px 36px;
        font-size: 0.85rem;
    }

    .hero-nav-wrapper {
        gap: 8px;
    }

    .hero-nav-item {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .hero-nav-circle {
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }

    /* --- Home Products Grid --- */
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-product-card-wrapper {
        padding: 24px;
    }

    .home-product-title {
        font-size: 1rem;
    }

    .home-product-category {
        font-size: 0.7rem;
    }

    .home-products-title {
        font-size: 1.75rem;
    }

    .home-products-subtitle {
        font-size: 0.95rem;
    }

    /* --- Circle Cat --- */
    .circle-cat-track {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        border: none !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
    }

    .circle-cat-item {
        min-width: auto !important;
        flex: none !important;
        padding: 20px 10px !important;
        border-right: 1px solid var(--text-dark) !important;
        border-bottom: 1px solid var(--text-dark) !important;
    }

    .circle-cat-item:nth-child(2n) {
        border-right: none !important;
    }

    .circle-cat-item:nth-child(3),
    .circle-cat-item:nth-child(4) {
        border-bottom: none !important;
    }

    .circle-cat-img-wrap {
        width: 95px;
        height: 95px;
    }

    .circle-cat-label {
        font-size: 0.85rem;
        font-weight: 700;
    }

    /* --- Populer --- */
    .populer-section {
        padding: 50px 0;
    }

    .populer-list-item {
        padding: 16px 20px;
        gap: 12px;
    }

    .populer-list-text {
        font-size: 0.95rem;
    }

    .populer-list-icon {
        font-size: 1.1rem;
    }

    /* --- Trust --- */
    .trust-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .trust-item {
        flex: 1 1 calc(50% - 12px);
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
    }

    .trust-label {
        font-size: 0.9rem;
    }

    .trust-desc {
        font-size: 0.8rem;
    }

    /* --- Blog (homepage) --- */
    .blog-section-title {
        font-size: 1.5rem;
    }

    .blog-section .container-fluid {
        padding: 0 12px;
    }

    .blog-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 24px;
        padding: 0 20px;
    }

    .blog-header .bs-btn {
        width: auto !important;
        justify-content: center;
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }

    .blog-featured-card {
        display: none !important;
    }

    .blog-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 24px 16px;
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .blog-list-item:not(:last-child) {
        border-bottom: none !important;
    }

    .blog-list-img-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .blog-list-img {
        width: 100%;
        height: unset !important;
    }

    .blog-list-body {
        padding-left: 0;
        padding-right: 0;
    }

    .blog-list-title {
        font-size: 1.1rem;
    }

    .bs-btn {
        padding: 12px 28px;
        font-size: 0.8rem;
    }

    /* --- App Section --- */
    .app-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .app-title {
        font-size: 1.75rem;
    }

    .app-subtitle {
        font-size: 0.95rem;
    }

    .app-store-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* --- Section Headers --- */
    .section-title,
    .bs-section-title,
    .home-products-title,
    .blog-section-title {
        font-size: 1.5rem !important;
    }

    /* --- Hakkımızda --- */
    .hakkimizda-text-content {
        margin-bottom: 40px;
        text-align: left;
    }

    .hakkimizda-text-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hakkimizda-values-grid {
        grid-template-columns: 1fr;
    }

    .hakkimizda-mission-grid {
        margin-bottom: 40px;
    }

    .hakkimizda-value-card {
        padding: 22px;
    }

    /* --- İletişim --- */
    .iletisim-grid {
        gap: 32px;
    }

    .iletisim-desc {
        margin-bottom: 20px;
    }

    .iletisim-card {
        padding: 13px 16px;
        gap: 12px;
    }

    .iletisim-map-iframe {
        height: 320px;
    }

    /* --- Sepet --- */
    .sepet-summary {
        padding: 20px;
    }

    .sepet-summary-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sepet-summary-actions .bs-btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Sipariş Takip --- */
    .siparis-takip-form {
        flex-direction: column;
        align-items: stretch;
    }

    .siparis-takip-details-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .siparis-takip-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px;
    }

    .siparis-takip-item-price {
        margin-left: auto;
    }

    .siparis-takip-search-box {
        padding: 20px;
    }

    /* --- İç Sayfa Hero (bs-hero) --- */
    .bs-hero {
        padding: 32px 0 36px;
    }

    .bs-hero-title {
        font-size: 2rem;
    }

    .bs-hero-inner {
        padding: 0 12px;
    }

    .bs-hero-deco-left,
    .bs-hero-deco-right {
        display: block !important;
        bottom: -5px !important;
    }

    .bs-hero-deco-left img,
    .bs-hero-deco-right img {
        width: 40px !important;
    }

    .bs-hero-bee {
        display: none;
    }

    /* --- Blog Detay --- */
    .blog-detay-container {
        padding-top: 28px;
        padding-bottom: 56px;
    }

    .blog-detay-cover {
        border-radius: 16px;
    }

    .blog-sidebar-card {
        padding: 20px;
    }

    .blog-sidebar-all-btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Blog Listeleme (blog.php) --- */
    .blog-page-list {
        grid-template-columns: 1fr;
    }

    /* --- İç sayfa bölüm boşlukları --- */
    .blog-section,
    .home-products-section,
    .yazarlar-section {
        padding: 48px 0;
    }

    .home-products-header {
        margin-bottom: 28px;
    }

    /* --- Footer --- */
    .bs-footer {
        padding: 40px 0 0;
        margin-top: 50px;
    }

    .bs-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .bs-footer-grid> :last-child {
        grid-column: span 1;
    }

    .bs-footer-grid img {
        margin: 0 auto;
    }

    .bs-footer h4 {
        font-size: 1rem;
    }

    .bs-footer ul,
    .bs-footer p,
    .bs-footer-contact-info p,
    .bs-footer-link {
        font-size: 11px !important;
        line-height: 1.8 !important;
    }

    .bs-footer-bottom {
        padding: 6px 0 !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .bs-footer-bottom p {
        font-size: 10px !important;
    }

    .bs-payment-badges {
        justify-content: center;
    }

    /* --- Cart Drawer --- */
    .cart-drawer {
        width: 90vw;
        max-width: 90vw;
    }

    /* --- Mobile Nav Drawer --- */
    .bs-mobile-nav {
        width: 85vw;
        max-width: 85vw;
    }

    .bs-mobile-nav-list {
        padding: 12px 0;
    }

    .bs-mobile-nav-link {
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* --- Sepet table (mobile) --- */
    .sepet-table-wrap {
        overflow-x: visible !important;
    }

    .sepet-table,
    .sepet-table thead,
    .sepet-table tbody,
    .sepet-table tr,
    .sepet-table td {
        display: block !important;
        width: 100% !important;
    }

    .sepet-table thead {
        display: none !important;
    }

    .sepet-table tr {
        background: var(--bg-light) !important;
        border: 2px solid var(--text-dark) !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        padding: 15px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    .sepet-table td {
        border: none !important;
        padding: 8px 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    .sepet-table td:first-child {
        display: block !important;
        text-align: left !important;
        border-bottom: 1px solid var(--text-dark) !important;
        padding-bottom: 12px !important;
        margin-bottom: 8px !important;
    }

    .sepet-table td::before {
        content: attr(data-label) !important;
        font-weight: 800 !important;
        color: var(--text-dark) !important;
        float: left !important;
        text-align: left !important;
    }

    .sepet-table td:first-child::before {
        content: none !important;
    }

    .sepet-remove-btn {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
    }

    /* --- Checkout Form & Grid Responsiveness --- */
    .checkout-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: 1fr !important;
    }

    .checkout-form-container,
    .checkout-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-input,
    .checkout-textarea,
    .checkout-form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-row-2col {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    /* --- Payment Page Spacing & Font Adjustments --- */
    .odeme-form-card {
        padding: 15px !important;
    }

    .odeme-form-card .checkout-form>div {
        margin-bottom: 12px !important;
    }

    .odeme-form-card .checkout-input {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }

    .odeme-form-card .checkout-form-label {
        font-size: 0.8rem !important;
        margin-bottom: 2px !important;
    }

    .odeme-title {
        font-size: 1.25rem !important;
    }

    /* --- Checkout Step Navigation Spacing --- */
    .bs-checkout-nav-box {
        margin-top: 35px !important;
        margin-bottom: 20px !important;
        padding: 16px 12px !important;
    }

    /* --- Scroll top button --- */
    .scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
        left: auto;
    }

    /* --- Container padding --- */
    .bs-container,
    .container,
    .container-fluid {
        padding: 0 12px;
    }
}

/* ============================================================
   SMALL MOBILE (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {

    /* Form rows: tek sütun */
    .form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* Container padding */
    .bs-container,
    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Footer form */
    .bs-footer form {
        flex-direction: column;
    }

    .bs-footer .bs-btn {
        width: 100%;
    }

    /* Home products grid: 2 columns */
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 44px 0 70px;
    }

    .hero-blob-container {
        width: 180px;
        height: 180px;
    }

    .hero-desc {
        margin-bottom: 18px;
    }

    .hero-nav-wrapper {
        margin-top: 16px;
        flex-wrap: wrap;
    }

    .hero-nav-item {
        padding: 5px 10px;
    }

    /* Blog (homepage) items */
    .blog-list-img {
        height: 180px;
    }

    .blog-featured-card {
        padding: 24px 16px;
    }

    .blog-featured-heading {
        font-size: 2.4rem;
    }

    .blog-featured-sub {
        font-size: 1.3rem;
    }

    /* Timeline / Değerler */
    .iletisim-map-iframe {
        height: 280px;
    }

    /* Trust: 2 columns */
    .trust-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .trust-item {
        flex: 1 1 calc(50% - 12px);
        padding: 18px 14px;
    }

    /* Section headers */
    .section-title,
    .bs-section-title {
        font-size: 1.35rem;
    }

    /* Scroll top */
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    /* Header actions */
    .bs-header-actions {
        gap: 8px;
    }
}

/* ============================================================
   EXTRA SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

    /* Home products grid: 1 column */
    .home-products-grid {
        grid-template-columns: 1fr;
        border-left: none;
        border-right: none;
    }

    .home-product-card-wrapper {
        border-right: none;
        padding: 20px;
    }

    /* Hero title */
    .hero-title {
        font-size: 1.4rem;
    }

    /* Home products title */
    .home-products-title {
        font-size: 1.5rem;
    }

    /* Section title */
    .section-title,
    .bs-section-title,
    .home-products-title {
        font-size: 1.25rem;
    }

    /* Hero */
    .hero-section {
        padding: 36px 0 60px;
    }

    .hero-blob-container {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    /* Blog (homepage) */
    .blog-list-img {
        height: 160px;
    }

    .blog-header {
        margin-bottom: 20px;
    }

    /* İletişim */
    .iletisim-map-iframe {
        height: 240px;
    }

    .iletisim-card {
        padding: 12px 12px;
    }

    /* Circle Cat items */
    .circle-cat-item {
        min-width: 90px;
        padding: 20px 8px;
    }

    .circle-cat-img-wrap {
        width: 60px;
        height: 60px;
    }

    .circle-cat-label {
        font-size: 0.75rem;
    }

    /* Trust items: 1 column */
    .trust-inner {
        flex-direction: column;
    }

    .trust-item {
        flex: 1 1 100%;
        padding: 16px 12px;
    }

    .trust-icon {
        width: 44px;
        height: 44px;
    }

    .trust-desc {
        font-size: 0.75rem;
    }

    /* Populer list */
    .populer-list-item {
        padding: 14px 16px;
        gap: 10px;
    }

    .populer-list-text {
        font-size: 0.9rem;
    }

    /* Blog list */
    .blog-list-title {
        font-size: 1rem;
    }

    /* Header actions */
    .bs-header-actions {
        gap: 6px;
    }

    /* Scroll top */
    .scroll-top-btn {
        width: 38px;
        height: 38px;
        bottom: 12px;
        right: 12px;
    }

    /* App section */
    .app-title {
        font-size: 1.5rem;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

    .bs-header,
    .bs-top-bar,
    .bs-nav,
    .cart-drawer,
    .overlay,
    .announcement-bar,
    .scroll-top-btn,
    .toast-container,
    .bs-hamburger {
        display: none !important;
    }

    body {
        background: var(--white);
        color: var(--text-dark);
    }
}

/* ============================================================
   ACCESSIBILITY — HIGH CONTRAST
   ============================================================ */
@media (prefers-contrast: high) {
    :root {
        --border-color: var(--primary-dark);
    }

    .bs-product-card {
        border-style: solid;
        border-width: 2px;
    }
}

/* ============================================================
   HAREKET AZALTMA
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}