/* ================================
   MOBILE RESPONSIVE CSS
   Mobile-First Approach
   ================================ */

/* ================================
   BASE - DESKTOP DEFAULTS
   ================================ */

.desktop-only {
    display: block !important;
}

/* Mobile menu gizli desktop'te */
.mobile-menu {
    display: none;
}

/* ================================
   MOBILE - 768PX AND BELOW
   ================================ */

@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 0.5rem 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: white;
        width: 100%;
    }

    body {
        padding-top: 70px;
    }

    .header-container {
        padding: 0;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .logo {
        flex: 1;
        text-align: center;
    }

    .logo img {
        height: 50px;
        max-width: 150px;
    }

    /* Desktop öğelerini mobilde gizle */
    .desktop-only {
        display: none !important;
    }

    /* Header icons - mobilde hamburger göster, search gizle */
    .header-icons {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    .header-icons .icon-btn {
        color: var(--primary);
    }

    .header-icons .cart-btn {
        display: flex !important;
    }

    .search-toggle {
        display: none !important;
    }

    .header-search {
        display: none;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
        position: relative;
        width: 40px !important;
        height: 40px !important;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        flex-direction: column;
        gap: 6px !important;
        background: transparent !important;
        border: none !important;
        padding: 8px !important;
        margin: 0 !important;
        flex-shrink: 0;
        z-index: 1001;
        line-height: 1 !important;
    }

    .hamburger span {
        width: 24px !important;
        height: 3px !important;
        background: #8B4789 !important;
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Mobile Menu */
    .mobile-menu {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        flex-direction: column;
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background: white;
        border-radius: 20px 20px 0 0;
    }

    .mobile-menu-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: var(--primary);
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary);
        transition: all 0.3s ease;
    }

    .mobile-menu-close:active {
        transform: rotate(90deg);
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        color: var(--primary);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu-item:active {
        background: rgba(139, 71, 137, 0.1);
    }

    .mobile-menu-item i {
        font-size: 18px;
        width: 20px;
        text-align: center;
    }

    .mobile-menu-item svg {
        width: 20px;
        height: 20px;
        color: var(--primary);
        stroke: var(--primary);
        flex-shrink: 0;
    }

    /* Desktop nav menu gizle */
    .nav-menu {
        display: none;
    }

    .search-results {
        display: none;
    }

    /* Hero */
    .hero {
        height: 50vh;
        margin-top: 0;
    }

    /* Featured Section */
    .featured-section {
        padding: 60px 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image-wrapper {
        height: 250px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-badge {
        top: 10px;
        right: 10px;
    }

    .product-badge span {
        padding: 4px 8px;
        font-size: 10px;
    }

    .cart-badge,
    .cart-count {
        top: 2px !important;
        right: -12px !important;
    }

    .product-overlay {
        top: 0;
        opacity: 0;
        background: rgba(44, 44, 44, 0.9);
        gap: 10px;
    }

    .btn-quick-view,
    .btn-wishlist,
    .btn-cart {
        width: 40px;
        height: 40px;
        font-size: 16px;
        min-width: 44px;
        min-height: 44px;
    }

    .btn-quick-view {
        padding: 8px 16px;
        font-size: 11px;
    }

    /* Featured Collection */
    .featured-collection {
        padding: 60px 0 30px 0;
    }

    .collection-wrapper {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1rem;
    }

    .collection-image {
        height: 300px;
        width: 100%;
    }

    .collection-label {
        font-size: 20px;
        bottom: 15px;
        left: 15px;
    }

    /* Section Header */
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .see-more {
        font-size: 12px;
        margin-top: 1rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 60px 1rem;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .newsletter-content p {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 40px 1rem 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .footer-column p,
    .footer-column a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        font-size: 12px;
        padding-top: 1.5rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .payment-methods {
        font-size: 20px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-height: 85vh;
        padding: 20px;
    }

    .size-modal-content {
        width: 95%;
        max-height: 80vh;
        border-radius: 12px;
    }

    .size-modal-header {
        padding: 12px;
    }

    .size-modal-product {
        padding: 16px;
        gap: 12px;
    }

    .size-modal-image {
        width: 80px;
        height: 110px;
    }

    .size-modal-product-name {
        font-size: 14px;
    }

    .size-modal-product-price {
        font-size: 16px;
    }

    .size-modal-body {
        padding: 16px;
    }

    .size-modal-sizes {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .size-modal-btn {
        padding: 10px 6px;
        font-size: 12px;
    }

    .size-modal-footer {
        flex-direction: column-reverse;
    }

    .size-modal-cancel,
    .size-modal-submit {
        width: 100%;
    }

    /* Button */
    .btn {
        padding: 10px 25px;
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary {
        min-width: auto;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Icon Button */
    .icon-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body {
        padding-bottom: 0;
    }
}

/* ================================
   480PX AND BELOW
   ================================ */

@media (max-width: 480px) {
    .header {
        padding: 0.3rem 1rem;
    }

    .header-container {
        gap: 0.5rem;
    }

    .logo img {
        height: 45px;
        max-width: 120px;
    }

    .hamburger {
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
    }

    .hamburger span {
        width: 24px !important;
        height: 3px !important;
    }

    .hero {
        height: 40vh;
    }

    .featured-section {
        padding: 40px 0.8rem;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-image-wrapper {
        height: 180px;
        margin-bottom: 0.8rem;
    }

    .product-card {
        padding: 0;
    }

    .product-info {
        padding: 0.5rem;
    }

    .product-info h3 {
        font-size: 12px;
        margin-bottom: 0.25rem;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 0.3rem;
    }

    .product-rating {
        font-size: 10px;
        margin-bottom: 0.4rem;
    }

    .product-price {
        font-size: 14px;
        margin-bottom: 0.5rem;
    }

    .original-price {
        font-size: 11px;
    }

    .btn-quick-view,
    .btn-wishlist,
    .btn-cart {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .btn-quick-view {
        padding: 6px 12px;
        font-size: 10px;
    }

    .product-overlay {
        gap: 8px;
    }

    .newsletter {
        padding: 40px 0.8rem;
    }

    .newsletter-content h2 {
        font-size: 20px;
        margin-bottom: 0.8rem;
    }

    .newsletter-content p {
        font-size: 12px;
        margin-bottom: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 6px;
    }

    .footer {
        padding: 30px 0.8rem 10px;
    }

    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 0.8rem;
    }

    .footer-column p,
    .footer-column a {
        font-size: 11px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        padding-top: 1rem;
    }

    .social-links {
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .payment-methods {
        font-size: 16px;
        justify-content: center;
        width: 100%;
    }

    .modal-content {
        width: 100%;
        max-height: 90vh;
        border-radius: 12px 12px 0 0;
        padding: 16px;
    }

    .size-modal-content {
        width: 100%;
        max-height: 85vh;
        border-radius: 12px 12px 0 0;
    }

    .size-modal-header {
        padding: 10px;
        justify-content: space-between;
    }

    .size-modal-close {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .size-modal-product {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }

    .size-modal-image {
        width: 100%;
        max-width: 120px;
        height: 150px;
        margin: 0 auto;
    }

    .size-modal-body {
        padding: 12px;
    }

    .size-modal-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .size-modal-sizes {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .size-modal-btn {
        padding: 8px 4px;
        font-size: 11px;
    }

    .size-modal-footer {
        padding: 12px;
        gap: 8px;
    }

    .size-modal-cancel,
    .size-modal-submit {
        padding: 10px;
        font-size: 12px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 11px;
    }

    .container {
        padding: 0 0.8rem;
    }

    .section-subtitle {
        font-size: 12px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 13px;
    }

    .featured-collection {
        padding: 40px 1rem 20px 1rem;
    }

    .collection-image {
        height: 250px;
        width: 100%;
    }

    .collection-label {
        font-size: 16px;
        bottom: 12px;
        left: 12px;
    }

    .denim-banner,
    .promo-banner {
        padding: 20px 0.8rem;
    }

    .banner-image {
        height: 180px;
    }

    .banner-title {
        font-size: 18px;
    }

    .banner-link {
        padding: 6px 16px;
        font-size: 10px;
    }

    .product-add-btn {
        padding: 8px;
        font-size: 10px;
        margin-top: 0.5rem;
    }
}


    /* Pay page */
    .bank-detail-value {
        font-size: 12px !important;
        word-break: break-all;
    }

    .bank-detail {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .copy-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
