/**
 * Biz Stationery - Mobile Responsive Fixes
 * This file contains all mobile-specific styles to fix UI/UX issues
 * Desktop version remains unaffected
 */

/* ========================================
   Mobile Navigation & Header Fixes
   ======================================== */
@media (max-width: 768px) {
    /* Header Adjustments */
    .site-header {
        padding: 0;
    }
    
    .header-main {
        padding: var(--space-3) 0;
    }
    
    .header-main-content {
        padding: 0 var(--space-4);
        gap: var(--space-3);
    }
    
    /* Logo Mobile Sizing */
    .site-logo {
        gap: var(--space-2);
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        border-radius: 6px;
    }
    
    .logo-name {
        font-size: 1.125rem;
    }
    
    .logo-tagline {
        font-size: 0.5625rem;
        letter-spacing: 0.1em;
    }
    
    /* Header Actions - Ensure proper spacing */
    .header-actions {
        gap: var(--space-2);
    }
    
    .search-toggle,
    .cart-toggle {
        width: 40px;
        height: 40px;
    }
    
    .cart-toggle svg,
    .search-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        width: 40px;
        height: 40px;
        order: 3;
    }
    
    /* Mobile Navigation Menu */
    .main-nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 999;
        overflow-y: auto;
        padding-bottom: 80px;
    }
    
    .main-nav.active {
        display: block !important;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: var(--space-4) 0;
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--slate-300);
    }
    
    .nav-menu a {
        padding: var(--space-4) var(--space-5);
        font-size: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* Mobile Dropdown */
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--off-white);
        min-width: 100%;
        padding: 0;
        display: none;
    }
    
    .nav-menu li:hover .nav-dropdown,
    .nav-menu li.open .nav-dropdown {
        display: block;
    }
    
    .nav-dropdown a {
        padding: var(--space-3) var(--space-8);
        font-size: 0.9375rem;
        color: var(--navy-600);
    }
    
    .nav-dropdown a:hover {
        background: var(--slate-300);
    }
}

/* ========================================
   Hero Section Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 65px;
        min-height: auto;
        padding: var(--space-8) 0 var(--space-10);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        min-height: auto;
        padding: var(--space-4) 0;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-badge {
        margin-bottom: var(--space-4);
        font-size: 0.75rem;
        padding: var(--space-2) var(--space-3);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        margin-bottom: var(--space-4);
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin: 0 auto var(--space-6);
        max-width: 100%;
        padding: 0 var(--space-2);
    }
    
    .hero-cta {
        justify-content: center;
        gap: var(--space-3);
        flex-direction: column;
        padding: 0 var(--space-4);
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: var(--space-4) var(--space-6);
        font-size: 0.9375rem;
    }
    
    /* Hero Image Mobile */
    .hero-image-wrapper {
        border-radius: var(--radius-lg);
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero-image-wrapper img {
        height: 280px;
        width: 100%;
    }
    
    .hero-image-badge {
        bottom: var(--space-3);
        left: var(--space-3);
        padding: var(--space-3) var(--space-4);
    }
    
    .hero-image-badge .price-tag {
        font-size: 0.625rem;
    }
    
    .hero-image-badge .price {
        font-size: 1.25rem;
    }
    
    .hero-image-badge .price-note {
        font-size: 0.6875rem;
    }
    
    /* Hero Slider Navigation */
    .hero-slider-nav {
        flex-direction: column;
        gap: var(--space-4);
        margin-top: var(--space-6);
        align-items: center;
    }
    
    .slider-arrows {
        margin-left: 0;
    }
    
    .slider-arrow {
        width: 44px;
        height: 44px;
    }
    
    .slider-dots {
        justify-content: center;
    }
}

/* ========================================
   Section Headers Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-8);
        text-align: center;
    }
    
    .section-badge {
        font-size: 0.75rem;
        margin-bottom: var(--space-3);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--space-3);
    }
    
    .section-description {
        font-size: 0.9375rem;
        padding: 0 var(--space-2);
    }
}

/* ========================================
   Categories Grid Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-4);
    }
    
    .category-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 180px;
    }
    
    .category-card-content {
        padding: var(--space-4);
    }
    
    .category-card h3 {
        font-size: 1.25rem;
    }
    
    .category-card p {
        font-size: 0.875rem;
        display: none;
    }
    
    .category-count {
        font-size: 0.75rem;
    }
}

/* ========================================
   Products Grid Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }
    
    .products-header .section-header {
        text-align: left;
    }
    
    .products-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: var(--space-2);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .products-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .products-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: var(--space-2) var(--space-4);
        font-size: 0.8125rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    /* Product Card Mobile */
    .product-card {
        border-radius: var(--radius-md);
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .product-card-image {
        aspect-ratio: 1;
    }
    
    .product-card-body {
        padding: var(--space-3);
    }
    
    .product-category {
        font-size: 0.625rem;
        margin-bottom: var(--space-1);
    }
    
    .product-title {
        font-size: 0.875rem;
        margin-bottom: var(--space-2);
        -webkit-line-clamp: 2;
    }
    
    .product-price {
        flex-wrap: wrap;
        gap: var(--space-1);
    }
    
    .price-current {
        font-size: 1rem;
    }
    
    .price-original {
        font-size: 0.75rem;
    }
    
    .price-discount {
        font-size: 0.6875rem;
    }
    
    .product-card-footer {
        padding: 0 var(--space-3) var(--space-3);
    }
    
    .btn-add-cart {
        padding: var(--space-2);
        font-size: 0.75rem;
    }
    
    .btn-add-cart svg {
        width: 14px;
        height: 14px;
    }
    
    /* Product Badges */
    .product-badge {
        font-size: 0.5625rem;
        padding: 2px 6px;
    }
    
    /* Product Actions - Show on mobile */
    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .product-action-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }
    
    .product-card-body {
        padding: var(--space-2);
    }
    
    .product-title {
        font-size: 0.8125rem;
    }
    
    .price-current {
        font-size: 0.9375rem;
    }
}

/* ========================================
   Trust Section Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .trust-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .trust-item {
        padding: var(--space-4);
    }
    
    .trust-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-3);
    }
    
    .trust-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .trust-item h4 {
        font-size: 0.9375rem;
    }
    
    .trust-item p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .trust-content {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        display: flex;
        align-items: center;
        gap: var(--space-4);
        text-align: left;
        padding: var(--space-3) var(--space-4);
    }
    
    .trust-icon {
        margin: 0;
        flex-shrink: 0;
    }
}

/* ========================================
   CTA Section Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
    }
    
    .cta-text p {
        font-size: 0.9375rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
    }
    
    .cta-image {
        order: -1;
    }
    
    .cta-image img {
        border-radius: var(--radius-lg);
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }
}

/* ========================================
   Essentials Section Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .essentials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .essentials-text {
        text-align: center;
    }
    
    .essentials-text h2 {
        font-size: 1.5rem;
    }
    
    .essentials-list {
        text-align: left;
        max-width: 100%;
    }
    
    .essentials-images {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .essentials-img {
        margin-top: 0 !important;
    }
    
    .essentials-img img {
        height: 200px;
    }
}

/* ========================================
   Footer Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .site-footer {
        padding-top: var(--space-10);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: var(--space-4);
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: var(--space-4);
    }
    
    .footer-brand p {
        font-size: 0.875rem;
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: var(--space-4);
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2) var(--space-4);
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact li {
        text-align: center;
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
        padding: var(--space-6) 0;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
    }
    
    .footer-legal a {
        font-size: 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}

/* ========================================
   Page Header Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .page-header {
        margin-top: 65px;
        padding: var(--space-8) 0 var(--space-6);
    }
    
    .page-header-content {
        text-align: center;
    }
    
    .page-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--space-2);
    }
    
    .page-description {
        font-size: 0.9375rem;
    }
    
    .breadcrumb {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 0.8125rem;
        margin-bottom: var(--space-4);
    }
}

/* ========================================
   Filters Bar Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .filters-bar {
        position: static;
        padding: var(--space-3) 0;
    }
    
    .filters-content {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .filters-left {
        text-align: center;
    }
    
    .results-count {
        font-size: 0.875rem;
    }
    
    .filters-right {
        display: flex;
        justify-content: center;
    }
    
    .sort-select {
        width: 100%;
        max-width: 200px;
        padding: var(--space-3);
        font-size: 0.875rem;
    }
}

/* ========================================
   Category Page Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        display: none;
    }
    
    .category-content .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .category-content .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-2);
    }
}

/* ========================================
   Product Page Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .product-page {
        margin-top: 65px;
        padding: var(--space-4) 0 var(--space-8);
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .product-gallery {
        position: static;
    }
    
    .gallery-main {
        border-radius: var(--radius-md);
        margin-bottom: var(--space-3);
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2);
    }
    
    .gallery-thumb {
        border-radius: var(--radius-sm);
    }
    
    /* Product Info Mobile */
    .product-info {
        padding: 0;
    }
    
    .product-info .breadcrumb {
        justify-content: flex-start;
        font-size: 0.75rem;
        margin-bottom: var(--space-3);
    }
    
    .product-info-title {
        font-size: 1.375rem;
        margin-bottom: var(--space-3);
    }
    
    .product-meta {
        flex-wrap: wrap;
        gap: var(--space-3);
        padding-bottom: var(--space-4);
        margin-bottom: var(--space-4);
    }
    
    .product-sku,
    .product-stock {
        font-size: 0.75rem;
    }
    
    .product-info-price {
        margin-bottom: var(--space-4);
    }
    
    .product-info-price .price-current {
        font-size: 1.5rem;
    }
    
    .product-info-price .price-original {
        font-size: 1rem;
    }
    
    .product-description {
        margin-bottom: var(--space-6);
        font-size: 0.9375rem;
    }
    
    /* Variants Mobile */
    .product-variants {
        margin-bottom: var(--space-6);
    }
    
    .variant-options {
        gap: var(--space-2);
    }
    
    .variant-option {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8125rem;
    }
    
    /* Quantity Selector Mobile */
    .quantity-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
        margin-bottom: var(--space-6);
    }
    
    .quantity-input {
        width: 140px;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    .quantity-input input {
        width: 60px;
        height: 40px;
    }
    
    /* Product Actions Mobile */
    .product-actions {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .product-actions .btn {
        width: 100%;
        padding: var(--space-4);
    }
    
    /* Product Trust Mobile */
    .product-trust {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: var(--space-4);
    }
    
    .trust-badge {
        font-size: 0.75rem;
    }
    
    .trust-badge .icon {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   Cart Page Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .cart-page {
        margin-top: 65px;
        padding: var(--space-6) 0;
    }
    
    .cart-page h1 {
        font-size: 1.5rem;
        margin-bottom: var(--space-6);
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .cart-items {
        border-radius: var(--radius-md);
    }
    
    .cart-header {
        padding: var(--space-4);
    }
    
    .cart-header h2 {
        font-size: 1rem;
    }
    
    /* Cart Item Mobile */
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--space-3);
        padding: var(--space-4);
    }
    
    .cart-item-image {
        border-radius: var(--radius-sm);
    }
    
    .cart-item-details h4 {
        font-size: 0.9375rem;
        margin-bottom: var(--space-1);
    }
    
    .cart-item-variant {
        font-size: 0.75rem;
        margin-bottom: var(--space-2);
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    .cart-item-actions {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: var(--space-3);
        padding-top: var(--space-3);
        border-top: 1px solid var(--slate-300);
    }
    
    .cart-item-actions .quantity-input {
        transform: scale(0.9);
        transform-origin: left center;
    }
    
    /* Cart Summary Mobile */
    .cart-summary {
        position: static;
        border-radius: var(--radius-md);
        padding: var(--space-5);
    }
    
    .cart-summary h3 {
        font-size: 1rem;
        margin-bottom: var(--space-4);
        padding-bottom: var(--space-4);
    }
    
    .summary-row {
        font-size: 0.875rem;
    }
    
    .summary-row.total {
        font-size: 1rem;
    }
    
    .free-shipping-note {
        font-size: 0.75rem;
        padding: var(--space-2) var(--space-3);
    }
    
    .cart-summary .btn {
        padding: var(--space-4);
        font-size: 0.9375rem;
    }
    
    /* Empty Cart Mobile */
    .cart-empty {
        padding: var(--space-12) var(--space-4);
    }
    
    .cart-empty-icon {
        width: 64px;
        height: 64px;
    }
    
    .cart-empty-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .cart-empty h2 {
        font-size: 1.25rem;
    }
    
    .cart-empty p {
        font-size: 0.9375rem;
    }
}

/* ========================================
   Checkout Page Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .checkout-page {
        margin-top: 65px;
        padding: var(--space-6) 0;
    }
    
    .checkout-page h1 {
        font-size: 1.5rem;
        margin-bottom: var(--space-6);
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    /* Checkout Form Mobile */
    .checkout-form {
        padding: var(--space-5);
        border-radius: var(--radius-md);
    }
    
    .form-section {
        margin-bottom: var(--space-6);
    }
    
    .form-section h3 {
        font-size: 1rem;
        flex-wrap: wrap;
        gap: var(--space-2);
    }
    
    .form-section h3 .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .form-group label {
        font-size: 0.8125rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--space-3);
        font-size: 0.9375rem;
        border-radius: var(--radius-sm);
    }
    
    /* Payment Methods Mobile */
    .payment-method {
        padding: var(--space-3);
    }
    
    .payment-method-info h4 {
        font-size: 0.875rem;
    }
    
    .payment-method-info p {
        font-size: 0.75rem;
    }
    
    .payment-note {
        font-size: 0.75rem;
        padding: var(--space-3);
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .payment-note svg {
        flex-shrink: 0;
    }
    
    /* Terms Checkbox Mobile */
    .form-section .filter-option {
        font-size: 0.8125rem;
        gap: var(--space-3);
    }
    
    /* Submit Button Mobile */
    .checkout-form .btn-lg {
        padding: var(--space-4);
        font-size: 0.9375rem;
    }
    
    /* Order Summary Mobile */
    .order-summary {
        position: static;
        border-radius: var(--radius-md);
        order: -1;
    }
    
    .order-summary-header {
        padding: var(--space-4);
    }
    
    .order-summary-header h3 {
        font-size: 0.9375rem;
    }
    
    .order-items {
        padding: var(--space-4);
        max-height: 200px;
    }
    
    .order-item {
        grid-template-columns: 50px 1fr auto;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
        padding-bottom: var(--space-3);
    }
    
    .order-item-details h4 {
        font-size: 0.8125rem;
    }
    
    .order-item-details .variant {
        font-size: 0.6875rem;
    }
    
    .order-item-price {
        font-size: 0.8125rem;
    }
    
    .order-totals {
        padding: var(--space-4);
    }
    
    .order-totals .summary-row {
        font-size: 0.875rem;
    }
    
    .order-totals .summary-row.total {
        font-size: 1rem;
    }
}

/* ========================================
   Contact Page Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-details li {
        text-align: center;
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .contact-form-wrapper {
        padding: var(--space-5);
        border-radius: var(--radius-md);
    }
}

/* ========================================
   Static Pages Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .static-page {
        margin-top: 65px;
        padding: var(--space-8) 0;
    }
    
    .static-content {
        padding: 0 var(--space-2);
    }
    
    .static-content h1 {
        font-size: 1.5rem;
        margin-bottom: var(--space-6);
    }
    
    .static-content h2 {
        font-size: 1.25rem;
        margin-top: var(--space-8);
    }
    
    .static-content h3 {
        font-size: 1.0625rem;
    }
    
    .static-content p,
    .static-content li {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}

/* ========================================
   Order Confirmation Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .confirmation-page {
        margin-top: 65px;
        padding: var(--space-8) 0;
    }
    
    .confirmation-content {
        padding: var(--space-5);
    }
    
    .confirmation-icon {
        width: 64px;
        height: 64px;
    }
    
    .confirmation-content h1 {
        font-size: 1.5rem;
    }
    
    .order-details {
        padding: var(--space-4);
    }
}

/* ========================================
   Search Modal Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 80px;
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    .search-modal-content {
        padding: var(--space-4);
        border-radius: var(--radius-md);
    }
    
    .search-input-wrapper {
        padding: var(--space-2) var(--space-3);
    }
    
    .search-input-wrapper input {
        font-size: 1rem;
    }
}

/* ========================================
   Toast Notifications Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .toast {
        left: var(--space-4);
        right: var(--space-4);
        bottom: var(--space-4);
        padding: var(--space-3) var(--space-4);
        font-size: 0.875rem;
    }
}

/* ========================================
   Buttons Mobile Fixes
   ======================================== */
@media (max-width: 768px) {
    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: var(--space-4) var(--space-6);
        font-size: 0.9375rem;
    }
    
    .btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   General Mobile Utilities
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile-only elements */
    .mobile-only {
        display: block !important;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
    }
    
    /* Improve tap targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better text readability */
    p, li {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
}

/* Extra Small Devices (< 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .products-grid {
        gap: var(--space-2);
    }
    
    .product-card-body {
        padding: var(--space-2);
    }
    
    .product-title {
        font-size: 0.75rem;
    }
    
    .price-current {
        font-size: 0.875rem;
    }
    
    .logo-name {
        font-size: 1rem;
    }
    
    .logo-tagline {
        display: none;
    }
}
