/* ===================================================
   TABLET RESPONSIVE DESIGN - DIGGI CART v2.5
   ===================================================
   Comprehensive tablet optimization for all screen sizes
   Target: 768px - 1024px (iPad, Android tablets, etc.)
   Enhanced Product Cards Based on User Feedback
   ================================================== */

/* TABLET BREAKPOINTS */
/* Large Tablets (iPad Pro 12.9", Galaxy Tab S7+): 1024px - 1366px */
/* Standard Tablets (iPad, Galaxy Tab): 768px - 1024px */
/* Small Tablets (iPad Mini, Small Android tabs): 600px - 768px */

/* ===================================================
   GLOBAL TABLET OVERRIDES
   ===================================================
   Remove unwanted shadows and fix layouts for tablets
   ================================================== */

/* Remove box shadows from hero elements on all tablets */
@media screen and (min-width: 600px) and (max-width: 1366px) {
    .hero-image,
    .hero-image img,
    .hero-image-bg {
        box-shadow: none !important;
    }
}

/* ===================================================
   ENHANCED PRODUCT CARDS FOR TABLETS
   ===================================================
   Optimized styling based on actual tablet display
   ================================================== */

/* LARGE TABLETS (1024px - 1366px) - Enhanced Product Cards */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    
    /* Sleek Product Cards for Latest Products */
    .sleek-product-card {
        width: 100%;
        max-width: 285px;
        margin: 0 auto;
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.06);
        position: relative;
    }

    .sleek-product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        border-color: #3498db;
    }

    .sleek-product-card .card-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        z-index: 3;
    }

    .sleek-product-card .sale-tag {
        background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        color: #fff;
        padding: 8px 14px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 700;
        box-shadow: 0 3px 12px rgba(238, 90, 82, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sleek-product-card .wishlist-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .sleek-product-card .wishlist-icon:hover {
        background: #fff;
        transform: scale(1.15);
        color: #e74c3c;
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    }

    .sleek-product-card .wishlist-icon.loved {
        background: #e74c3c;
        color: #fff;
        border-color: #e74c3c;
    }

    .sleek-product-card .wishlist-icon i {
        font-size: 1.2rem;
    }

    .sleek-product-card .product-image-wrapper {
        position: relative;
        height: 220px;
        overflow: hidden;
        cursor: pointer;
        background: #f8f9fa;
    }

    .sleek-product-card .product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .sleek-product-card .card-content {
        padding: 20px;
        position: relative;
    }

    .sleek-product-card .product-meta {
        margin-bottom: 10px;
    }

    .sleek-product-card .category-badge {
        background: rgba(52, 152, 219, 0.12);
        color: #2980b9;
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        border: 1px solid rgba(52, 152, 219, 0.2);
    }

    .sleek-product-card .product-name {
        font-size: 1.15rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 14px;
        line-height: 1.4;
        cursor: pointer;
        transition: color 0.3s ease;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.8rem;
    }

    .sleek-product-card .product-name:hover {
        color: #3498db;
    }

    .sleek-product-card .price-section {
        margin-bottom: 18px;
    }

    .sleek-product-card .price-group {
        display: flex;
        align-items: baseline;
        gap: 10px;
        flex-wrap: wrap;
    }

    .sleek-product-card .new-price {
        font-size: 1.4rem;
        font-weight: 800;
        color: #27ae60;
        line-height: 1;
    }

    .sleek-product-card .old-price {
        font-size: 1.05rem;
        color: #95a5a6;
        text-decoration: line-through;
        font-weight: 500;
        position: relative;
    }

    .sleek-product-card .cart-btn {
        width: 100%;
        background: linear-gradient(135deg, #FB2E86, #FF6B9D);
        color: #fff;
        border: none;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 48px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sleek-product-card .cart-btn:hover {
        background: linear-gradient(135deg, #e91e63, #FB2E86);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(251, 46, 134, 0.4);
    }

    .sleek-product-card .cart-btn:active {
        transform: translateY(0);
    }

    .sleek-product-card .cart-btn .btn-text {
        flex: 1;
    }

    .sleek-product-card .cart-btn .cart-icon {
        background: rgba(255, 255, 255, 0.25);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease;
    }

    .sleek-product-card .cart-btn:hover .cart-icon {
        background: rgba(255, 255, 255, 0.35);
    }

    .sleek-product-card .cart-btn .cart-icon i {
        font-size: 1rem;
    }

    /* Latest Product Cards Enhancement */
    .latest-product-card {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        padding: 22px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        max-width: 280px;
        margin: 0 auto;
    }

    .latest-product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        border-color: #3498db;
    }

    .latest-product-card .product-image {
        height: 190px;
        margin-bottom: 18px;
        border-radius: 12px;
        overflow: hidden;
        background: #f8f9fa;
    }

    .latest-product-card .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .latest-product-card h3 {
        font-size: 1.15rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
        min-height: 2.8rem;
    }

    .latest-product-card .product-pricing {
        margin-bottom: 18px;
    }

    .latest-product-card .price {
        font-size: 1.3rem;
        font-weight: 800;
        color: #27ae60;
    }

    .latest-product-card .product-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .latest-product-card .wishlist {
        width: 44px;
        height: 44px;
        border: 2px solid #e74c3c;
        color: #e74c3c;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

    .latest-product-card .wishlist:hover {
        background: #e74c3c;
        color: #fff;
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }

    .latest-product-card .add-to-cart {
        flex: 1;
        background: #3498db;
        color: #fff;
        border: none;
        padding: 12px 18px;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 44px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .latest-product-card .add-to-cart:hover {
        background: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }

    /* Container Adjustments */
    .container {
        max-width: 95%;
        padding: 0 3%;
    }
    
    /* Header Optimization */
    .nav-wrapper {
        padding: 1rem 3%;
    }
    
    .navbar ul {
        gap: 2rem;
    }
    
    .search-box input {
        width: 180px;
    }
    
    /* Hero Section */
    .hero {
        padding: 70px 8%;
        min-height: 500px;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .hero-text {
        order: 2;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 17px;
    }
    
    .hero-image {
        order: 1;
        max-width: 100%;
        box-shadow: none;
    }
    
    /* Hero Button Styling */
    .btn,
    .shop-now-btn {
        padding: 14px 24px;
        font-size: 15px;
        max-width: 220px;
        width: auto;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Product Grids */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .latest-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Service Cards */
    .service-boxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Enhanced Service/Feature Cards for Tablets */
    .service-card,
    .feature-card {
        background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
        border-radius: 24px;
        padding: 15px 15px;
        text-align: center;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.08),
            0 8px 20px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(52, 152, 219, 0.08);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
        position: relative;
        overflow: hidden;
        /* Standardized dimensions */
        width: 100%;
        height: 240px;
        max-width: 280px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    
    /* Beautiful gradient overlay */
    .service-card::after,
    .feature-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(251, 46, 134, 0.02) 0%, 
            rgba(52, 152, 219, 0.03) 50%, 
            rgba(155, 89, 182, 0.02) 100%);
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }
    
    .service-card::before,
    .feature-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, 
            #FB2E86 0%, #FF6B9D 25%, 
            #3498db 50%, #9b59b6 75%, 
            #FB2E86 100%);
        border-radius: 26px;
        opacity: 0;
        transition: opacity 0.6s ease;
        z-index: -1;
    }
    
    .service-card:hover,
    .feature-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.15),
            0 15px 30px rgba(52, 152, 219, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 1);
        border-color: rgba(52, 152, 219, 0.2);
    }
    
    .service-card:hover::before,
    .feature-card:hover::before {
        opacity: 1;
    }
    
    .service-card:hover::after,
    .feature-card:hover::after {
        opacity: 1;
    }
    
    .service-card .icon,
    .feature-card .icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
        border-radius: 18px;
        margin: 0 auto 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: white;
        box-shadow: 
            0 15px 35px rgba(52, 152, 219, 0.25),
            0 5px 15px rgba(46, 204, 113, 0.15);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        /* Perfect centering */
        text-align: center;
        line-height: 1;
    }
    
    .service-card .icon i,
    .feature-card .icon i,
    .service-card .icon svg,
    .feature-card .icon svg {
        display: block;
        margin: 0 auto;
        text-align: center;
        vertical-align: middle;
    }
    
    /* Icon shine effect */
    .service-card .icon::before,
    .feature-card .icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, 
            transparent 30%, 
            rgba(255, 255, 255, 0.3) 50%, 
            transparent 70%);
        transform: rotate(-45deg) translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .service-card:hover .icon,
    .feature-card:hover .icon {
        transform: scale(1.15) rotate(5deg);
        box-shadow: 
            0 20px 45px rgba(52, 152, 219, 0.35),
            0 8px 20px rgba(46, 204, 113, 0.25);
    }
    
    .service-card:hover .icon::before,
    .feature-card:hover .icon::before {
        transform: rotate(-45deg) translateX(100%);
    }
    
    .service-card h3,
    .feature-card h3 {
        font-size: 1.2rem;
        font-weight: 800;
        color: #2c3e50;
        margin-bottom: 8px;
        line-height: 1.2;
        flex-shrink: 0;
        min-height: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        letter-spacing: -0.02em;
    }
    
    .service-card p,
    .feature-card p {
        font-size: 0.85rem;
        color: #64748b;
        line-height: 1.4;
        margin: 0;
        flex-grow: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        font-weight: 400;
        opacity: 0.9;
    }
    
    /* Beautiful gradient icons for different card types */
    .service-card:nth-child(1) .icon { 
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
        box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3), 0 5px 15px rgba(238, 90, 82, 0.2);
    }
    .service-card:nth-child(2) .icon { 
        background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
        box-shadow: 0 15px 35px rgba(79, 195, 247, 0.3), 0 5px 15px rgba(41, 182, 246, 0.2);
    }
    .service-card:nth-child(3) .icon { 
        background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
        box-shadow: 0 15px 35px rgba(255, 183, 77, 0.3), 0 5px 15px rgba(255, 167, 38, 0.2);
    }
    .service-card:nth-child(4) .icon { 
        background: linear-gradient(135deg, #ba68c8 0%, #ab47bc 100%);
        box-shadow: 0 15px 35px rgba(186, 104, 200, 0.3), 0 5px 15px rgba(171, 71, 188, 0.2);
    }
    .service-card:nth-child(5) .icon { 
        background: linear-gradient(135deg, #4db6ac 0%, #26a69a 100%);
        box-shadow: 0 15px 35px rgba(77, 182, 172, 0.3), 0 5px 15px rgba(38, 166, 154, 0.2);
    }
    .service-card:nth-child(6) .icon { 
        background: linear-gradient(135deg, #78909c 0%, #607d8b 100%);
        box-shadow: 0 15px 35px rgba(120, 144, 156, 0.3), 0 5px 15px rgba(96, 125, 139, 0.2);
    }
    .service-card:nth-child(7) .icon { 
        background: linear-gradient(135deg, #ff8a65 0%, #ff7043 100%);
        box-shadow: 0 15px 35px rgba(255, 138, 101, 0.3), 0 5px 15px rgba(255, 112, 67, 0.2);
    }
    .service-card:nth-child(8) .icon { 
        background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
        box-shadow: 0 15px 35px rgba(129, 199, 132, 0.3), 0 5px 15px rgba(102, 187, 106, 0.2);
    }
    
    /* Deal Content */
    .deal-content {
        gap: 40px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* =======================================
   STANDARD TABLETS (768px - 1024px)
   ======================================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    /* Enhanced Sleek Product Cards for Standard Tablets */
    .sleek-product-card {
        width: 100%;
        max-width: 320px; /* Increased from 260px for better tablet viewing */
        margin: 0 auto;
        background: #fff;
        border-radius: 14px; /* Slightly more rounded */
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        min-height: 420px; /* Added consistent height */
    }

    .sleek-product-card:hover {
        transform: translateY(-8px); /* Increased hover lift */
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
        border-color: #3498db;
    }

    .sleek-product-card .card-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 16px; /* Increased padding */
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        z-index: 3;
    }

    .sleek-product-card .sale-tag {
        background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        color: #fff;
        padding: 8px 16px; /* Increased padding */
        border-radius: 20px;
        font-size: 0.85rem; /* Slightly larger font */
        font-weight: 700;
        box-shadow: 0 3px 12px rgba(238, 90, 82, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sleek-product-card .wishlist-icon {
        width: 44px; /* Increased size */
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .sleek-product-card .wishlist-icon:hover {
        background: #fff;
        transform: scale(1.15); /* Enhanced hover effect */
        color: #e74c3c;
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    }

    .sleek-product-card .wishlist-icon.loved {
        background: #e74c3c;
        color: #fff;
        border-color: #e74c3c;
    }

    .sleek-product-card .wishlist-icon i {
        font-size: 1.2rem; /* Larger icon */
    }

    .sleek-product-card .product-image-wrapper {
        position: relative;
        height: 220px; /* Increased from 180px */
        overflow: hidden;
        cursor: pointer;
        background: linear-gradient(135deg, #f8f9fa, #fff);
    }

    .sleek-product-card .product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sleek-product-card:hover .product-img {
        transform: scale(1.08);
    }

    .sleek-product-card .card-content {
        padding: 24px 20px; /* Increased padding for better spacing */
        position: relative;
    }

    .sleek-product-card .product-meta {
        margin-bottom: 12px; /* Increased spacing */
    }

    .sleek-product-card .category-badge {
        background: rgba(52, 152, 219, 0.1);
        color: #2980b9;
        padding: 6px 12px; /* Increased padding */
        border-radius: 14px;
        font-size: 0.75rem; /* Slightly larger */
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid rgba(52, 152, 219, 0.15);
    }

    .sleek-product-card .product-name {
        font-size: 1.1rem; /* Increased font size */
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 16px; /* Increased spacing */
        line-height: 1.4; /* Better line height */
        cursor: pointer;
        transition: color 0.3s ease;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.8rem; /* Increased min height */
    }

    .sleek-product-card .product-name:hover {
        color: #3498db;
    }

    .sleek-product-card .price-section {
        margin-bottom: 20px; /* Increased spacing */
    }

    .sleek-product-card .price-group {
        display: flex;
        align-items: baseline;
        gap: 10px; /* Increased gap */
        flex-wrap: wrap;
    }

    .sleek-product-card .new-price {
        font-size: 1.35rem; /* Increased font size */
        font-weight: 700;
        color: #27ae60;
        line-height: 1;
    }

    .sleek-product-card .old-price {
        font-size: 1.05rem; /* Increased font size */
        color: #95a5a6;
        text-decoration: line-through;
        font-weight: 500;
    }

    .sleek-product-card .cart-btn {
        width: 100%;
        background: linear-gradient(135deg, #FB2E86, #FF6B9D);
        color: #fff;
        border: none;
        padding: 14px 16px; /* Increased padding */
        border-radius: 10px; /* Slightly more rounded */
        font-size: 1rem; /* Increased font size */
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px; /* Increased gap */
        min-height: 48px; /* Increased height for better touch */
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sleek-product-card .cart-btn:hover {
        background: linear-gradient(135deg, #e91e63, #FB2E86);
        transform: translateY(-2px); /* Increased hover effect */
        box-shadow: 0 4px 15px rgba(251, 46, 134, 0.35);
    }

    .sleek-product-card .cart-btn:active {
        transform: translateY(0);
    }

    .sleek-product-card .cart-btn .btn-text {
        flex: 1;
    }

    .sleek-product-card .cart-btn .cart-icon {
        background: rgba(255, 255, 255, 0.2);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease;
    }

    .sleek-product-card .cart-btn:hover .cart-icon {
        background: rgba(255, 255, 255, 0.3);
    }

    .sleek-product-card .cart-btn .cart-icon i {
        font-size: 0.9rem;
    }

    /* Latest Product Cards for Standard Tablets */
    .latest-product-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        padding: 18px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        max-width: 250px;
        margin: 0 auto;
    }

    .latest-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
        border-color: #3498db;
    }

    .latest-product-card .product-image {
        height: 160px;
        margin-bottom: 15px;
        border-radius: 10px;
        overflow: hidden;
        background: #f8f9fa;
    }

    .latest-product-card .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .latest-product-card h3 {
        font-size: 1.05rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
        min-height: 2.6rem;
    }

    .latest-product-card .product-pricing {
        margin-bottom: 15px;
    }

    .latest-product-card .price {
        font-size: 1.2rem;
        font-weight: 700;
        color: #27ae60;
    }

    .latest-product-card .product-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .latest-product-card .wishlist {
        width: 40px;
        height: 40px;
        border: 2px solid #e74c3c;
        color: #e74c3c;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

    .latest-product-card .wishlist:hover {
        background: #e74c3c;
        color: #fff;
        transform: scale(1.05);
        box-shadow: 0 3px 12px rgba(231, 76, 60, 0.25);
    }

    .latest-product-card .add-to-cart {
        flex: 1;
        background: #3498db;
        color: #fff;
        border: none;
        padding: 10px 16px;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 40px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .latest-product-card .add-to-cart:hover {
        background: #2980b9;
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.35);
    }

    /* Base Container */
    .container {
        max-width: 92%;
        padding: 0 4%;
    }
    
    /* Header Responsive */
    .header {
        min-height: 70px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    }
    
    .nav-wrapper {
        padding: 0.8rem 2%;
        flex-wrap: nowrap;
    }
    
    .logo h2 {
        font-size: 1.6rem;
    }
    
    .navbar ul {
        gap: 1.5rem;
    }
    
    .navbar a {
        font-size: 15px;
        padding: 0.4rem 0;
    }
    
    .search-box {
        display: flex;
        order: 3;
        width: 100%;
        margin-top: 10px;
        max-width: 300px;
    }
    
    .search-box input {
        width: 200px;
        font-size: 15px;
    }
    
    .header-actions {
        gap: 1rem;
        order: 2;
    }
    
    .user-actions {
        gap: 1rem;
    }
    
    .user-actions i {
        font-size: 1.2rem;
        padding: 0.4rem;
    }
    
    .login-btn {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
    }
    
    /* Hero Section Tablet */
    .hero {
        padding: 60px 6%;
        min-height: 450px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero-text {
        max-width: 100%;
        order: 2;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 38px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-text p {
        font-size: 16px;
        margin: 16px 0 25px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        max-width: 200px;
        width: auto;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
        max-width: 100%;
        box-shadow: none;
    }
    
    /* Section Spacing */
    .featured-products,
    .latest-products,
    .best-deals,
    .services,
    .contact-section {
        padding: 60px 6%;
    }
    
    .big-deal,
    .creativity-section {
        padding: 60px 6%;
    }
    
    /* Section Headers */
    .featured-products h2,
    .latest-products h2,
    .best-deals h2,
    .services h2,
    .contact-section h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    .creativity-header h2 {
        font-size: 36px;
    }
    
    /* Product Grid Layouts */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .latest-products-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    /* Product Cards */
    .product-card,
    .sleek-product-card,
    .latest-product-card {
        max-width: 100%;
        margin: 0;
    }
    
    .product-image {
        height: 220px;
        padding: 16px;
    }
    
    .product-card h3,
    .product-name {
        font-size: 15px;
        padding: 12px;
    }
    
    .price,
    .new-price {
        font-size: 18px;
    }
    
    .old-price {
        font-size: 14px;
    }
    
    .cart-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    /* Latest Products Tabs */
    .product-tabs {
        gap: 25px;
        margin-bottom: 40px;
        justify-content: center;
    }
    
    .tab {
        padding: 10px 20px;
        font-size: 15px;
        min-width: 120px;
        text-align: center;
    }
    
    /* Service Cards */
    .service-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    /* Enhanced Service/Feature Cards for Standard Tablets */
    .service-card,
    .feature-card {
        background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
        border-radius: 20px;
        padding: 12px 14px;
        text-align: center;
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.08),
            0 5px 15px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(52, 152, 219, 0.08);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
        position: relative;
        overflow: hidden;
        /* Standardized dimensions */
        width: 100%;
        height: 220px;
        max-width: 320px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    
    .service-card::after,
    .feature-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(251, 46, 134, 0.02) 0%, 
            rgba(52, 152, 219, 0.03) 50%, 
            rgba(155, 89, 182, 0.02) 100%);
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }
    
    .service-card::before,
    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #FB2E86, #FF6B9D, #3498db, #9b59b6);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .service-card:hover,
    .feature-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.12),
            0 10px 25px rgba(52, 152, 219, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 1);
    }
    
    .service-card:hover::after,
    .feature-card:hover::after {
        opacity: 1;
    }
    
    .service-card .icon,
    .feature-card .icon,
    .service-icon {
        width: 55px;
        height: 55px;
        background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
        border-radius: 16px;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        box-shadow: 
            0 12px 30px rgba(52, 152, 219, 0.25),
            0 4px 12px rgba(46, 204, 113, 0.15);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        /* Perfect centering */
        text-align: center;
        line-height: 1;
    }
    
    .service-card .icon i,
    .feature-card .icon i,
    .service-icon i,
    .service-card .icon svg,
    .feature-card .icon svg,
    .service-icon svg {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    .service-card .icon::before,
    .feature-card .icon::before,
    .service-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, 
            transparent 30%, 
            rgba(255, 255, 255, 0.3) 50%, 
            transparent 70%);
        transform: rotate(-45deg) translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .service-card:hover .icon,
    .feature-card:hover .icon,
    .service-card:hover .service-icon {
        transform: scale(1.1) rotate(3deg);
        box-shadow: 
            0 15px 40px rgba(52, 152, 219, 0.3),
            0 6px 18px rgba(46, 204, 113, 0.2);
    }
    
    .service-card:hover .icon::before,
    .feature-card:hover .icon::before,
    .service-card:hover .service-icon::before {
        transform: rotate(-45deg) translateX(100%);
    }
    
    .service-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 6px;
        line-height: 1.2;
        flex-shrink: 0;
        min-height: 1.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-card p,
    .feature-card p {
        font-size: 0.75rem;
        color: #7f8c8d;
        line-height: 1.3;
        margin: 0;
        flex-grow: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    /* Special styling for different card types */
    .service-card:nth-child(1) .icon,
    .service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
    .service-card:nth-child(2) .icon,
    .service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #3498db, #2980b9); }
    .service-card:nth-child(3) .icon,
    .service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }
    .service-card:nth-child(4) .icon,
    .service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
    .service-card:nth-child(5) .icon,
    .service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #1abc9c, #16a085); }
    .service-card:nth-child(6) .icon,
    .service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #34495e, #2c3e50); }
    .service-card:nth-child(7) .icon,
    .service-card:nth-child(7) .service-icon { background: linear-gradient(135deg, #e67e22, #d35400); }
    .service-card:nth-child(8) .icon,
    .service-card:nth-child(8) .service-icon { background: linear-gradient(135deg, #2ecc71, #27ae60); }
    
    /* Big Deal Section */
    .deal-content {
        gap: 35px;
        align-items: center;
    }
    
    .deal-text h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .deal-text h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .deal-text p {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .deal-pricing {
        margin-bottom: 25px;
    }
    
    .deal-price {
        font-size: 22px;
    }
    
    .deal-old-price {
        font-size: 16px;
    }
    
    .shop-now-btn {
        padding: 12px 20px;
        font-size: 14px;
        max-width: 180px;
        width: auto;
        display: inline-block;
    }
    
    /* Creativity Section */
    .creativity-content {
        flex-direction: column;
        gap: 35px;
        height: auto;
    }
    
    .creativity-features {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .feature {
        flex: 1;
        text-align: center;
    }
    
    .feature-icon svg,
    .feature-icon img {
        width: 70px;
        height: 70px;
    }
    
    .feature-text h4 {
        font-size: 17px;
        margin-top: 12px;
    }
    
    .creativity-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .creativity-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 35px;
        align-items: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .contact-form {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form .form {
        gap: 18px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 14px;
        font-size: 15px;
        border-radius: 6px;
    }
    
    .contact-form button {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
        margin-top: 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 6%;
        margin-bottom: 25px;
    }
    
    .footer-section h3 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .contact-info p {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .footer-bottom-content {
        padding: 0 6%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-bottom p {
        font-size: 15px;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    /* Tablet-Optimized Swiper Improvements */
    .swiper-button-next,
    .swiper-button-prev {
        width: 44px;
        height: 44px;
        margin-top: -22px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        opacity: 0.8;
    }
    
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 1);
        transform: scale(1.05);
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
        color: #333;
        font-weight: bold;
    }
    
    .swiper-pagination {
        bottom: -45px !important;
    }
    
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 6px;
        background: #ddd;
        opacity: 0.6;
        transition: all 0.3s ease;
    }
    
    .swiper-pagination-bullet-active {
        background: #FB2E86;
        opacity: 1;
        transform: scale(1.2);
    }
    
    /* Enhanced touch area for tablet navigation */
    .swiper-button-next,
    .swiper-button-prev {
        z-index: 10;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improved swiper container spacing for tablets */
    .swiper {
        padding-bottom: 50px;
        overflow: visible;
    }
    
    /* Touch-friendly swiper slides */
    .swiper-slide {
        transition: transform 0.3s ease;
    }
    
    .swiper-slide:active {
        transform: scale(0.98);
    }
    
    /* Profile Dropdown */
    .dropdown-menu {
        min-width: 220px;
        margin-top: 6px;
    }
    
    .dropdown-header {
        padding: 14px 18px;
    }
    
    .user-name {
        font-size: 15px;
    }
    
    .user-email {
        font-size: 13px;
    }
    
    .dropdown-item {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .dropdown-item i {
        margin-right: 10px;
        font-size: 13px;
    }
}

/* ========================================
   SMALL TABLETS (600px - 768px)
   ======================================== */
@media screen and (min-width: 600px) and (max-width: 768px) {
    
    /* Enhanced Product Cards for Small Tablets */
    .sleek-product-card {
        width: 100%;
        max-width: 290px; /* Optimal size for small tablets */
        margin: 0 auto;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        min-height: 380px;
    }

    .sleek-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        border-color: #3498db;
    }

    .sleek-product-card .card-content {
        padding: 20px 18px;
    }

    .sleek-product-card .product-name {
        font-size: 1.05rem;
        margin-bottom: 14px;
        min-height: 2.6rem;
    }

    .sleek-product-card .new-price {
        font-size: 1.25rem;
    }

    .sleek-product-card .old-price {
        font-size: 1rem;
    }

    .sleek-product-card .cart-btn {
        padding: 12px 14px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .sleek-product-card .product-image-wrapper {
        height: 200px;
    }
    
    /* Container */
    .container {
        max-width: 90%;
        padding: 0 5%;
    }
    
    /* Header */
    .header {
        min-height: 65px;
    }
    
    .nav-wrapper {
        padding: 0.6rem 2%;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .logo h2 {
        font-size: 1.4rem;
    }
    
    .navbar {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .navbar ul {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar a {
        font-size: 14px;
        padding: 0.3rem 0;
    }
    
    .header-actions {
        order: 2;
        gap: 0.8rem;
    }
    
    .search-box {
        display: none; /* Hide desktop search */
    }
    
    .mobile-actions {
        display: flex; /* Show mobile search toggle */
    }
    
    .user-actions i {
        font-size: 1.1rem;
    }
    
    .login-btn {
        padding: 0.5rem 1rem;
        font-size: 13px;
    }
    
    /* Hero Section */
    .hero {
        padding: 50px 5%;
        flex-direction: column;
        text-align: center;
        gap: 30px;
        min-height: 400px;
    }
    
    .hero-text {
        max-width: 100%;
        order: 2;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    
    .hero-text p {
        font-size: 15px;
        margin: 14px 0 22px;
    }
    
    .hero-image {
        order: 1;
        max-width: 100%;
        box-shadow: none;
    }
    
    /* Hero Button Styling */
    .btn,
    .shop-now-btn {
        padding: 10px 18px;
        font-size: 13px;
        max-width: 180px;
        width: auto;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Section Spacing */
    .featured-products,
    .latest-products,
    .best-deals,
    .services,
    .contact-section,
    .big-deal,
    .creativity-section {
        padding: 50px 5%;
    }
    
    /* Section Headers */
    .featured-products h2,
    .latest-products h2,
    .best-deals h2,
    .services h2,
    .contact-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .creativity-header h2 {
        font-size: 32px;
    }
    
    /* Product Grids */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .latest-products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 18px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Product Cards */
    .product-image {
        height: 200px;
        padding: 14px;
    }
    
    .product-card h3,
    .product-name {
        font-size: 14px;
        padding: 10px;
    }
    
    .price,
    .new-price {
        font-size: 16px;
    }
    
    .old-price {
        font-size: 13px;
    }
    
    .cart-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
    
    /* Tabs */
    .product-tabs {
        gap: 15px;
        margin-bottom: 35px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab {
        padding: 8px 16px;
        font-size: 14px;
        min-width: 100px;
    }
    
    /* Services */
    .service-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Enhanced Service/Feature Cards for Small Tablets */
    .service-card,
    .feature-card {
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border-radius: 16px;
        padding: 20px 16px;
        text-align: center;
        box-shadow: 0 5px 24px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(52, 152, 219, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        /* Standardized dimensions */
        width: 100%;
        height: 280px;
        max-width: 350px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .service-card::before,
    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #FB2E86, #FF6B9D, #3498db, #9b59b6);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .service-card:hover,
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(52, 152, 219, 0.12);
        border-color: #3498db;
    }
    
    .service-card:hover::before,
    .feature-card:hover::before {
        transform: translateX(0);
    }
    
    .service-card .icon,
    .feature-card .icon,
    .service-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #3498db, #2ecc71);
        border-radius: 15px;
        margin: 0 auto 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
        transition: all 0.4s ease;
        flex-shrink: 0;
        /* Perfect centering */
        text-align: center;
        line-height: 1;
        position: relative;
    }
    
    .service-card .icon i,
    .feature-card .icon i,
    .service-icon i,
    .service-card .icon svg,
    .feature-card .icon svg,
    .service-icon svg {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    .service-card:hover .icon,
    .feature-card:hover .icon,
    .service-card:hover .service-icon {
        transform: scale(1.08) rotate(3deg);
        box-shadow: 0 8px 28px rgba(52, 152, 219, 0.4);
    }
    
    .service-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 8px;
        line-height: 1.3;
        flex-shrink: 0;
        min-height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-card p,
    .feature-card p {
        font-size: 0.75rem;
        color: #7f8c8d;
        line-height: 1.4;
        margin: 0;
        flex-grow: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    /* Special styling for different card types */
    .service-card:nth-child(1) .icon,
    .service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
    .service-card:nth-child(2) .icon,
    .service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #3498db, #2980b9); }
    .service-card:nth-child(3) .icon,
    .service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }
    .service-card:nth-child(4) .icon,
    .service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
    .service-card:nth-child(5) .icon,
    .service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #1abc9c, #16a085); }
    .service-card:nth-child(6) .icon,
    .service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #34495e, #2c3e50); }
    .service-card:nth-child(7) .icon,
    .service-card:nth-child(7) .service-icon { background: linear-gradient(135deg, #e67e22, #d35400); }
    .service-card:nth-child(8) .icon,
    .service-card:nth-child(8) .service-icon { background: linear-gradient(135deg, #2ecc71, #27ae60); }
    
    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    /* Big Deal */
    .deal-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .deal-text h2 {
        font-size: 20px;
    }
    
    .deal-text h3 {
        font-size: 26px;
        margin-bottom: 14px;
    }
    
    .deal-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .deal-price {
        font-size: 20px;
    }
    
    .deal-old-price {
        font-size: 15px;
    }
    
    /* Creativity */
    .creativity-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .creativity-features {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .feature-icon svg,
    .feature-icon img {
        width: 60px;
        height: 60px;
    }
    
    .feature-text h4 {
        font-size: 16px;
    }
    
    .creativity-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Contact Section for Small Tablets */
    .contact-content {
        flex-direction: column;
        gap: 25px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .contact-form {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form .form {
        gap: 16px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px;
    }
    
    .contact-form button {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
    }
    
    /* Contact */
    .contact-content {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .contact-form {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    /* Mobile Search Bar */
    .mobile-search-bar {
        top: 80px; /* Account for smaller header */
    }
    
    .mobile-search-container {
        padding: 16px;
    }
    
    .mobile-search-input-wrapper {
        padding: 0 16px;
    }
    
    .mobile-search-input {
        padding: 12px 0;
        font-size: 16px;
    }
}

/* ===========================================
   CHECKOUT PAGE TABLET RESPONSIVENESS
   =========================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .checkout-container {
        max-width: 95%;
        padding: 15px;
    }
    
    .checkout-header {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .checkout-header h1 {
        font-size: 2.2rem;
    }
    
    .checkout-steps {
        gap: 30px;
    }
    
    .step {
        gap: 8px;
        font-size: 14px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .checkout-content {
        grid-template-columns: 1.8fr 1fr;
        gap: 25px;
    }
    
    .checkout-section {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .checkout-section h2 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 15px;
        border-radius: 6px;
    }
    
    .payment-methods {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .payment-method {
        padding: 15px;
        border-radius: 8px;
    }
    
    .payment-method label {
        gap: 12px;
    }
    
    .payment-method label span {
        font-size: 15px;
    }
    
    .payment-desc {
        font-size: 13px;
    }
    
    .order-summary {
        padding: 25px;
    }
    
    .order-summary h2 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .order-item {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .item-image img {
        width: 60px;
        height: 60px;
    }
    
    .item-details h4 {
        font-size: 15px;
    }
    
    .item-category {
        font-size: 13px;
    }
    
    .item-price {
        font-size: 15px;
    }
    
    .order-total {
        padding: 18px;
        margin-top: 15px;
    }
    
    .total-row {
        justify-content: space-between;
        margin-bottom: 8px;
    }
    
    .total-row span:first-child {
        font-size: 14px;
    }
    
    .total-row span:last-child {
        font-size: 15px;
    }
    
    .final-total {
        font-size: 1.2rem;
        padding-top: 12px;
        border-top: 2px solid #e9ecef;
    }
    
    .place-order-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        margin-top: 15px;
        border-radius: 8px;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    
    .checkout-container {
        padding: 12px;
    }
    
    .checkout-header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .checkout-header h1 {
        font-size: 1.8rem;
    }
    
    .checkout-steps {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step {
        font-size: 13px;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-section {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .payment-methods {
        gap: 10px;
    }
    
    .payment-method {
        padding: 12px;
    }
    
    .order-summary {
        order: -1; /* Show order summary first on mobile */
        padding: 20px;
    }
    
    .item-image img {
        width: 50px;
        height: 50px;
    }
    
    .order-item {
        padding: 12px;
    }
    
    .order-total {
        padding: 15px;
    }
}

/* ===========================================
   PRODUCT DETAILS PAGE TABLET
   =========================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .product-detail-container {
        max-width: 95%;
        padding: 20px 3%;
        margin-top: 80px;
    }
    
    .product-detail-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
    
    .product-images {
        position: sticky;
        top: 100px;
    }
    
    .main-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 12px;
    }
    
    .thumbnail-images {
        display: flex;
        gap: 10px;
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .thumbnail:hover,
    .thumbnail.active {
        border-color: #e91e63;
        transform: scale(1.05);
    }
    
    .product-info h1 {
        font-size: 2rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .product-category {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
    }
    
    .product-price {
        margin-bottom: 20px;
    }
    
    .current-price {
        font-size: 1.8rem;
        font-weight: 700;
        color: #e91e63;
        margin-right: 10px;
    }
    
    .original-price {
        font-size: 1.2rem;
        color: #999;
        text-decoration: line-through;
    }
    
    .discount-badge {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: bold;
        margin-left: 8px;
    }
    
    .product-description {
        margin: 20px 0;
        line-height: 1.6;
        color: #555;
        font-size: 15px;
    }
    
    .action-buttons {
        display: flex;
        gap: 12px;
        margin-top: 25px;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        flex: 1;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .add-to-cart-btn {
        background: linear-gradient(135deg, #e91e63, #ff4081);
        color: white;
    }
    
    .buy-now-btn {
        background: linear-gradient(135deg, #2196f3, #21cbf3);
        color: white;
    }
    
    .add-to-cart-btn:hover,
    .buy-now-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .product-tabs {
        margin-top: 30px;
    }
    
    .tab-buttons {
        display: flex;
        gap: 0;
        border-bottom: 2px solid #f0f0f0;
        margin-bottom: 20px;
    }
    
    .tab-btn {
        background: none;
        border: none;
        padding: 12px 24px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        color: #666;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .tab-btn.active,
    .tab-btn:hover {
        color: #e91e63;
        border-bottom-color: #e91e63;
    }
    
    .tab-content {
        padding: 20px 0;
    }
    
    .tab-pane {
        display: none;
    }
    
    .tab-pane.active {
        display: block;
    }
    
    .tab-pane h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        color: #333;
    }
    
    .tab-pane p {
        line-height: 1.6;
        color: #555;
        font-size: 15px;
    }
    
    /* Related Products */
    .related-products {
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid #eee;
    }
    
    .related-products h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .related-products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    
    .product-detail-container {
        padding: 15px 4%;
        margin-top: 100px;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-images {
        position: static;
        order: 1;
    }
    
    .main-image img {
        max-width: 350px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-info {
        order: 2;
    }
    
    .product-info h1 {
        font-size: 1.7rem;
        text-align: center;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .original-price {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
        margin: 25px auto 0;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    .tab-buttons {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* ===========================================
   ADMIN PANEL TABLET RESPONSIVENESS
   =========================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .dashboard-container {
        display: flex;
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        order: 2;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
        gap: 5px;
    }
    
    .nav-item {
        flex: 0 0 auto;
        margin: 0 5px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 14px;
        white-space: nowrap;
        border-radius: 20px;
    }
    
    .main-content {
        order: 1;
        margin-left: 0;
        padding: 15px;
        width: 100%;
    }
    
    .admin-header {
        padding: 15px 20px;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    .stat-card p {
        font-size: 14px;
    }
    
    .content-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 15px;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 85%;
        max-width: 600px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        order: 2;
        height: auto;
        position: static;
        width: 100%;
    }
    
    .sidebar-nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px;
        gap: 8px;
    }
    
    .nav-item {
        flex: 0 0 auto;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 15px;
    }
    
    .main-content {
        order: 1;
        padding: 12px;
    }
    
    .admin-header {
        padding: 12px 15px;
        text-align: center;
    }
    
    .admin-header h1 {
        font-size: 1.3rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
        text-align: center;
    }
    
    .content-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .data-table-container {
        overflow-x: auto;
    }
    
    .data-table {
        min-width: 600px;
        font-size: 13px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
    }
}

/* ===========================================
   UTILITY CLASSES FOR TABLETS
   =========================================== */

/* Tablet-specific display utilities */
.show-tablet {
    display: none;
}

.hide-tablet {
    display: block;
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .show-tablet {
        display: block;
    }
    
    .hide-tablet {
        display: none;
    }
    
    .show-mobile {
        display: none;
    }
    
    .hide-mobile {
        display: block;
    }
}

/* Tablet text utilities */
.text-tablet-center {
    text-align: left;
}

.text-tablet-small {
    font-size: 1rem;
}

.text-tablet-medium {
    font-size: 1.2rem;
}

.text-tablet-large {
    font-size: 1.5rem;
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .text-tablet-center {
        text-align: center;
    }
    
    .text-tablet-small {
        font-size: 0.9rem;
    }
    
    .text-tablet-medium {
        font-size: 1.1rem;
    }
    
    .text-tablet-large {
        font-size: 1.3rem;
    }
}

/* Tablet spacing utilities */
.padding-tablet {
    padding: 1rem;
}

.margin-tablet {
    margin: 1rem;
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .padding-tablet {
        padding: 1.5rem;
    }
    
    .margin-tablet {
        margin: 1.5rem;
    }
    
    .padding-tablet-sm {
        padding: 0.8rem;
    }
    
    .padding-tablet-lg {
        padding: 2rem;
    }
    
    .margin-tablet-sm {
        margin: 0.8rem;
    }
    
    .margin-tablet-lg {
        margin: 2rem;
    }
}

/* ===========================================
   ACCESSIBILITY IMPROVEMENTS FOR TABLETS
   =========================================== */

/* Touch-friendly targets */
@media screen and (min-width: 600px) and (max-width: 1024px) {
    
    /* Ensure minimum 44px touch targets */
    .btn,
    .nav-link,
    .tab-btn,
    .dropdown-item,
    .user-actions i,
    .mobile-search-toggle,
    .wishlist-icon,
    .cart-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for touch */
    .user-actions {
        gap: 1.2rem;
    }
    
    .navbar ul {
        gap: 1.5rem;
    }
    
    .product-tabs {
        gap: 1rem;
    }
    
    /* Form improvements */
    input,
    select,
    textarea,
    button {
        min-height: 44px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Better contrast */
    .btn:hover,
    .nav-link:hover,
    .tab-btn:hover {
        background-color: rgba(233, 30, 99, 0.1);
        color: #e91e63;
    }
    
    /* Focus indicators */
    .btn:focus,
    .nav-link:focus,
    .tab-btn:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid #e91e63;
        outline-offset: 2px;
    }
}

/* ===========================================
   TABLET-SPECIFIC SWIPER ENHANCEMENTS
   =========================================== */

/* Swiper optimizations for tablets (600px - 1024px) */
@media screen and (min-width: 600px) and (max-width: 1024px) {
    
    /* Enhanced touch interactions for tablet swipers */
    .swiper {
        touch-action: pan-y pinch-zoom;
        padding-bottom: 60px;
    }
    
    .swiper-wrapper {
        transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Featured products swiper tablet styling */
    .featured-swiper {
        margin: 0 -10px 40px;
        padding: 0 20px;
    }
    
    .featured-swiper .swiper-slide {
        margin-right: 20px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .featured-swiper .swiper-slide:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }
    
    /* Latest products swiper tablet styling */
    .latest-swiper {
        margin: 0 -15px 40px;
        padding: 0 25px;
    }
    
    .latest-swiper .swiper-slide {
        margin-right: 18px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    /* Best deals swiper tablet styling */
    .best-deals-swiper {
        margin: 0 -15px 40px;
        padding: 0 25px;
    }
    
    .best-deals-swiper .swiper-slide {
        margin-right: 20px;
        border-radius: 12px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    }
    
    /* Navigation buttons for tablets */
    .swiper-button-next,
    .swiper-button-prev {
        width: 48px;
        height: 48px;
        margin-top: -24px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgba(251, 46, 134, 0.9);
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(251, 46, 134, 0.3);
    }
    
    .swiper-button-next:hover::after,
    .swiper-button-prev:hover::after {
        color: white;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
        color: #333;
        font-weight: 600;
    }
    
    /* Enhanced pagination for tablets */
    .swiper-pagination {
        bottom: -50px !important;
        text-align: center;
    }
    
    .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
        margin: 0 8px;
        background: #ddd;
        border-radius: 50%;
        opacity: 0.5;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }
    
    .swiper-pagination-bullet:hover {
        opacity: 0.8;
        transform: scale(1.1);
    }
    
    .swiper-pagination-bullet-active {
        background: linear-gradient(135deg, #FB2E86, #FF6B9D);
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 2px 8px rgba(251, 46, 134, 0.4);
    }
    
    /* Dynamic bullets enhancement */
    .swiper-pagination-bullet-active-main {
        background: linear-gradient(135deg, #FB2E86, #FF6B9D);
        transform: scale(1.4);
    }
    
    .swiper-pagination-bullet-active-prev,
    .swiper-pagination-bullet-active-next {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Portrait tablet specific adjustments */
@media screen and (min-width: 600px) and (max-width: 768px) and (orientation: portrait) {
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }
}

/* Landscape tablet specific adjustments */
@media screen and (min-width: 900px) and (max-width: 1024px) and (orientation: landscape) {
    
    .swiper {
        padding-bottom: 70px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 52px;
        height: 52px;
        margin-top: -26px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
    }
    
    .swiper-pagination {
        bottom: -60px !important;
    }
    
    .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        margin: 0 10px;
    }
}

/* ===========================================
   LANDSCAPE ORIENTATION ADJUSTMENTS
   =========================================== */
@media screen and (min-width: 600px) and (max-width: 1024px) and (orientation: landscape) {
    
    .hero {
        min-height: 300px;
        padding: 40px 5%;
    }
    
    .hero-text h1 {
        font-size: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .latest-products-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .creativity-features {
        flex-direction: row;
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================================
   PRINT STYLES FOR TABLETS
   =========================================== */
@media print {
    
    .header,
    .footer,
    .mobile-search-bar,
    .mobile-nav,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    
    .hero,
    .featured-products,
    .latest-products,
    .best-deals,
    .services,
    .creativity-section,
    .contact-section {
        padding: 20px 0;
        margin: 0;
        page-break-inside: avoid;
    }
    
    .product-grid,
    .latest-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card,
    .service-card {
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .hero-text h1 {
        font-size: 24px;
        color: #000;
    }
    
    .section h2 {
        font-size: 20px;
        color: #000;
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
    }
}

/* ===========================================
   PERFORMANCE OPTIMIZATIONS FOR TABLETS
   =========================================== */
@media screen and (min-width: 600px) and (max-width: 1024px) {
    
    /* Reduce animations on older tablets */
    @media (max-device-pixel-ratio: 2) {
        .product-card:hover,
        .service-card:hover,
        .btn:hover {
            transform: none;
        }
        
        .swiper-slide {
            transition: none;
        }
    }
    
    /* Optimize images */
    img {
        image-rendering: optimize-quality;
        image-rendering: -webkit-optimize-contrast;
    }
    
    /* Hardware acceleration for smooth scrolling */
    .header,
    .product-card,
    .service-card {
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Reduce motion for battery saving */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}
