/* ============================================
   TSSERV - COMPLETE RESPONSIVE DESIGN
   ============================================ */

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #001f3f 0%, #0a0a0a 50%, #001f3f 100%);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== NAVBAR RESPONSIVE ===== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #0066cc;
    box-shadow: 0 5px 30px rgba(0, 102, 204, 0.2);
    height: 80px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    width: 150px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #00f0ff;
}

.nav-menu a.active {
    color: #00f0ff;
    font-weight: 600;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00f0ff;
}

.btn-login {
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    color: #fff !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.user-menu {
    position: relative;
    cursor: pointer;
}

.user-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00f0ff, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.user-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.cart-menu {
    position: relative;
    cursor: pointer;
}

.cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #0a0a0a;
}

.dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
    border: 2px solid #00f0ff;
    border-radius: 10px;
    min-width: 200px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
}

.dropdown.active {
    display: block;
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    color: #fff;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00f0ff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #0066cc;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 80px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-title p {
    color: #b0b0b0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.category-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-card:hover,
.category-card.active {
    transform: translateY(-10px) scale(1.02);
    border-color: #00f0ff;
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.4), 
                0 0 60px rgba(0, 240, 255, 0.2);
}

.category-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s ease;
}

.category-card:hover i,
.category-card.active i {
    transform: scale(1.2) rotate(5deg);
}

.category-card h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.category-card:hover h3,
.category-card.active h3 {
    color: #00f0ff;
}

/* ===== PRODUCTS ===== */
.products {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #00f0ff 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.3), 
                0 0 60px rgba(0, 240, 255, 0.1);
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 240, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image i {
    font-size: 5rem;
    color: #00f0ff;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.product-card:hover .product-image i {
    transform: scale(1.2);
    opacity: 1;
}

.product-info {
    padding: 2rem;
}

.category-badge {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.product-info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-info p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #00ff88;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}

.price .original {
    font-size: 1.1rem;
    color: #666;
    text-decoration: line-through;
    font-weight: 500;
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.features li {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.8rem;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00f0ff;
    font-weight: bold;
    font-size: 1rem;
}

.buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-add-cart {
    background: linear-gradient(135deg, #0066cc 0%, #00f0ff 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
}

.btn-buy {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
    border-left: 2px solid #00f0ff;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 240, 255, 0.2);
}

.cart-header h2 {
    color: #00f0ff;
}

.close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.cart-item-info .price {
    font-size: 1rem;
    margin-bottom: 0;
    color: #00ff88;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-controls button {
    background: #00f0ff;
    border: none;
    color: #000;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.remove-item {
    background: #ff4444;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.cart-total {
    background: rgba(0, 240, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cart-total h3 {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    color: #00ff88;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #b0b0b0;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
    border: 2px solid #00f0ff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal h2 {
    color: #00f0ff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00f0ff;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00f0ff;
}

.otp-section {
    display: flex;
    gap: 1rem;
}

.otp-section input {
    flex: 1;
}

.otp-btn {
    padding: 0.8rem 1.5rem;
    background: #00f0ff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00f0ff, #0066cc);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 4rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 2px solid #00f0ff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.footer-description {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: #1a1a2e;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #00f0ff;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

.footer-heading {
    color: #00f0ff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #b0b0b0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links li a:hover {
    color: #00f0ff;
    transform: translateX(5px);
}

.footer-links li a i {
    color: #00f0ff;
    font-size: 10px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li i {
    color: #00f0ff;
    width: 18px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #2d2d2d;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* ===== LARGE DESKTOP (1441px+) ===== */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title h2 {
        font-size: 3.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

/* ===== DESKTOP (1025px - 1440px) ===== */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

/* ===== LAPTOP (769px - 1024px) ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .category-card i {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* ===== TABLET (481px - 768px) ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1.5rem;
        border-bottom: 2px solid #00f0ff;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
    
    .logo-img {
        width: 120px;
        height: 60px;
    }
    
    .hero {
        padding: 150px 0 100px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .categories {
        padding: 60px 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .category-card i {
        font-size: 2.5rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
    
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal {
        padding: 1.5rem;
        margin: 10px;
    }
    
    .otp-section {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-about {
        align-items: center;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-links li a {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== MOBILE (320px - 480px) ===== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        top: 70px;
    }
    
    .logo-img {
        width: 100px;
        height: 50px;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .category-card h3 {
        font-size: 0.9rem;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .price .original {
        font-size: 1rem;
    }
    
    .features li {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .modal {
        padding: 1.2rem;
    }
    
    .modal h2 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-contact li {
        margin-bottom: 12px;
        font-size: 13px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* ===== VERY SMALL MOBILE (320px and below) ===== */
@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1.2rem 1rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.4rem;
    }
}

/* ===== LANDSCAPE MODE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        max-height: calc(100vh - 80px);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .floating-whatsapp,
    .cart-sidebar,
    .modal-overlay,
    .hamburger {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .hero {
        background: #f0f0f0;
        padding: 40px 0;
    }
    
    .hero h1 {
        -webkit-text-fill-color: #000;
        color: #000;
    }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo,
    .product-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #001f3f 0%, #0a0a0a 50%, #001f3f 100%);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-contrast: high) {
    .nav-menu a,
    .btn,
    .category-card,
    .product-card {
        border: 2px solid #fff;
    }
}

/* ===== FOCUS STYLES ===== */
*:focus {
    outline: 2px solid #00f0ff;
    outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
    background: #00f0ff;
    color: #000;
}

::-moz-selection {
    background: #00f0ff;
    color: #000;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #00f0ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #00f0ff #0a0a0a;
}