/* ============================================================
   MOBILE.CSS — Pink2 Mobil Optimizasyonları
   ============================================================ */

/* ============================================================
   HEADER — Logo ve Hamburger Butonu Düzeltmeleri
   ============================================================ */

@media only screen and (max-width: 991px) {
    .header {
        position: relative;
    }

    .header .container {
        position: relative;
    }

    .header .row {
        min-height: 65px;
        align-items: center;
    }

    /* Logo boyutunu küçült, mobilde fazla yer kaplıyor */
    .header__logo {
        padding: 12px 0;
    }

    .header__logo img {
        max-height: 44px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }

    /* Hamburger butonunu dikey ortala */
    .canvas__open {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #222;
        height: 38px;
        width: 38px;
        line-height: 36px;
        text-align: center;
        border: 1px solid #323232;
        border-radius: 4px;
        cursor: pointer;
        display: block;
    }

    /* Offcanvas logo da küçülsün */
    .offcanvas__logo img {
        max-height: 48px;
        width: auto;
        max-width: 150px;
    }
}

@media only screen and (max-width: 479px) {
    .header__logo img {
        max-height: 36px;
        max-width: 130px;
    }

    .header__logo {
        padding: 10px 0;
    }

    .canvas__open {
        height: 34px;
        width: 34px;
        line-height: 32px;
        font-size: 18px;
    }
}

/* ============================================================
   HERO / BANNER — Daha iyi mobil görünüm
   ============================================================ */

@media only screen and (max-width: 767px) {
    .hero__text h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero__text span {
        font-size: 13px;
    }

    .hero__text p {
        font-size: 13px;
    }

    .banner__text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .banner__text p {
        font-size: 13px;
    }

    .banner__text span {
        font-size: 28px;
    }

    .set-bg {
        background-size: cover;
    }
}

@media only screen and (max-width: 479px) {
    .hero__text h2 {
        font-size: 22px;
    }

    .banner__text h1 {
        font-size: 22px;
    }

    .hero__items .owl-nav {
        display: none;
    }
}

/* ============================================================
   GENEL SAYFA BOŞLUKLARI
   ============================================================ */

@media only screen and (max-width: 767px) {
    .spad {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .breadcrumb-option {
        padding: 15px 0;
    }

    .breadcrumb__links a,
    .breadcrumb__links span {
        font-size: 13px;
    }
}

/* ============================================================
   ÜRÜN KARTLARI — Mobil Grid
   ============================================================ */

@media only screen and (max-width: 767px) {
    /* Product item touch-friendly hover zone */
    .product__item__pic {
        min-height: 220px;
    }

    .product__item__text h6 {
        font-size: 13px;
    }

    .product__price {
        font-size: 14px;
    }

    .product__item {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 479px) {
    .product__item__pic {
        min-height: 180px;
    }
}

/* ============================================================
   SHOP SAYFASI — Kategori Sidebar Toggle (Mobil)
   ============================================================ */

/* Mobil'de sidebar toggle butonu */
.mobile-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 11px 16px;
    background: #111111;
    color: #ffffff;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.mobile-sidebar-toggle .toggle-icon {
    float: right;
    transition: transform 0.3s ease;
    font-style: normal;
    font-size: 12px;
}

.mobile-sidebar-toggle.is-open .toggle-icon {
    transform: rotate(180deg);
}

@media only screen and (max-width: 767px) {
    .mobile-sidebar-toggle {
        display: block;
    }

    .shop__sidebar {
        display: none;
        border: 1px solid #f0f0f0;
        padding: 15px;
        border-radius: 4px;
        margin-bottom: 20px;
    }

    .shop__sidebar.is-open {
        display: block;
    }

    /* Kategori accordion kartları daha küçük */
    .categories__accordion .card {
        border-radius: 0;
    }

    .categories__accordion .card-heading a {
        font-size: 13px;
        padding: 8px 0;
        display: block;
    }

    .categories__accordion .card-body ul li a {
        font-size: 12px;
        padding: 5px 0;
    }
}

/* ============================================================
   SHOP SAYFASI — Ürün Grid Genişliği (Sidebar olmadan tam ekran)
   ============================================================ */

@media only screen and (max-width: 575px) {
    /* 2 sütun ürün kartları küçük ekranda */
    .shop .col-lg-4.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .product__item__pic {
        min-height: 160px;
    }

    .product__item__text h6 {
        font-size: 12px;
    }
}

/* ============================================================
   SEPET SAYFASI — Mobil Tablo
   ============================================================ */

@media only screen and (max-width: 767px) {
    .shop__cart__table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .shop__cart__table table {
        min-width: 540px;
    }

    .cart__btn a {
        font-size: 12px;
        padding: 10px 16px;
        margin-bottom: 8px;
    }

    .cart__total h6 {
        font-size: 14px;
    }
}

/* ============================================================
   CHECKOUT SAYFASI — Mobil Form
   ============================================================ */

@media only screen and (max-width: 767px) {
    .checkout__order {
        margin-top: 30px;
    }

    .checkout__form h6 {
        font-size: 14px;
    }

    .checkout__form .site-btn {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }
}

/* ============================================================
   ÜRÜN DETAY SAYFASI — Mobil
   ============================================================ */

@media only screen and (max-width: 767px) {
    .product__details__pic {
        margin-bottom: 25px;
    }

    .product__details__text h3 {
        font-size: 20px;
    }

    .product__details__button .cart-btn {
        padding: 12px 20px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .product__details__button ul {
        margin-top: 10px;
    }

    .quantity {
        float: none;
        margin-bottom: 15px;
    }

    .pro__details__tab .nav-tabs .nav-item .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ============================================================
   FOOTER — Mobil Accordion Başlıkları
   ============================================================ */

@media only screen and (max-width: 767px) {
    .footer__widget {
        border-bottom: 1px solid #333;
        padding-bottom: 5px;
        margin-bottom: 0;
    }

    /* Başlıklar tıklanabilir ok ile */
    .footer__widget h6 {
        cursor: pointer;
        position: relative;
        padding: 14px 30px 14px 0;
        margin: 0;
        font-size: 14px;
        letter-spacing: 0.5px;
        user-select: none;
    }

    .footer__widget h6::after {
        content: '\f107';
        font-family: 'FontAwesome';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .footer__widget h6.fw-open::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Navigation/ul listesi varsayılan gizli (JS ile açılır) */
    .footer__widget > nav,
    .footer__widget > ul {
        display: none;
        padding-bottom: 12px;
    }

    .footer__widget > nav.fw-open,
    .footer__widget > ul.fw-open {
        display: block;
    }

    /* About kısmı her zaman görünür */
    .footer__about {
        border-bottom: 1px solid #333;
        padding-bottom: 20px;
        margin-bottom: 0;
    }

    .footer__about .footer__logo {
        margin-bottom: 12px;
    }

    .footer__about p {
        font-size: 13px;
    }

    /* Newsletter her zaman açık */
    .footer__newslatter {
        padding-top: 5px;
    }

    .footer__newslatter h6 {
        cursor: default;
        padding: 14px 0;
    }

    .footer__newslatter h6::after {
        display: none;
    }

    .footer__newslatter form,
    .footer__social {
        display: block !important;
    }

    /* Footer copyright */
    .footer__copyright__text p {
        font-size: 12px;
        text-align: center;
    }
}

/* ============================================================
   BLOG — Mobil İyileştirmeler
   ============================================================ */

@media only screen and (max-width: 767px) {
    .blog__item {
        margin-bottom: 30px;
    }

    .blog__item__text h5 {
        font-size: 16px;
    }

    .blog__sidebar {
        padding-left: 0;
        padding-top: 30px;
    }

    .blog__sidebar__item {
        margin-bottom: 25px;
    }
}

/* ============================================================
   İLETİŞİM SAYFASI — Mobil
   ============================================================ */

@media only screen and (max-width: 767px) {
    .contact__map {
        height: 300px;
    }

    .contact__content {
        margin-bottom: 30px;
    }

    .contact__form form input,
    .contact__form form textarea {
        font-size: 13px;
    }
}

/* ============================================================
   KATEGORİLER BÖLÜMÜ — Ana Sayfa
   ============================================================ */

@media only screen and (max-width: 767px) {
    .categories__item {
        padding: 30px 20px;
    }

    .categories__item h5 {
        font-size: 16px;
    }

    .categories__item.categories__large__item {
        padding: 30px 20px;
    }
}

/* ============================================================
   INSTAGRAM BÖLÜMÜ — Mobil
   ============================================================ */

@media only screen and (max-width: 575px) {
    .instagram__item {
        height: 120px;
    }
}

/* ============================================================
   DOKUNMA DOSTU BUTONLAR (min 44px)
   ============================================================ */

@media only screen and (max-width: 767px) {
    .site-btn,
    .primary-btn,
    .cart-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Form alanları daha geniş padding */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important; /* iOS zoom önleme */
        padding: 10px 15px;
    }

    /* Select dropdown */
    select {
        border-radius: 4px;
    }
}

/* ============================================================
   ARAMA FORMU — Mobil
   ============================================================ */

@media only screen and (max-width: 479px) {
    .search-model-form input {
        width: 90%;
        font-size: 20px;
        padding: 10px 0;
    }
}

/* ============================================================
   PAGINATION — Mobil
   ============================================================ */

@media only screen and (max-width: 767px) {
    .pagination__option {
        margin-top: 20px;
    }

    .pagination__option .page-link {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ============================================================
   HESAP SAYFASI — Mobil
   ============================================================ */

@media only screen and (max-width: 767px) {
    .checkout__form h6 {
        font-size: 14px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
}

/* ============================================================
   LOADING / OVERLAY — Mobil performans
   ============================================================ */

@media only screen and (max-width: 767px) {
    #preloder .loader {
        width: 40px;
        height: 40px;
    }
}
