.product-card .tag.out-stock-tag {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 12px;
    padding: 6px 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(211,47,47,0.18);
    border: 1px solid rgba(255,255,255,0.18);
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

/* Loading Skeleton Styles */
.skeleton-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 10px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 10px;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-price {
    height: 16px;
    width: 60%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-button {
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* General styles */
body {
    margin: 0;
    font-family: "Lucida Console", "Courier New", monospace;
    background-color: #fff;
    color: #333;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 28px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1.5px solid rgba(0, 168, 62, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-top {
    display: contents; /* On desktop, children participate directly in navbar flex */
}

.logo,
.logo-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    order: 1;
}

.brand-logo,
.logo img {
    height: 38px;
    max-height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.brand-logo:hover,
.logo img:hover {
    transform: scale(1.03);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    order: 2;
}

.nav-links li a {
    text-decoration: none;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links li a:hover {
    color: #00a83e;
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 0 14px;
    height: 42px;
    width: 280px;
    transition: all 0.2s ease;
    order: 3;
    margin-left: 16px;
}

.search-container:focus-within {
    background: #ffffff;
    border-color: #00a83e;
    box-shadow: 0 0 0 3px rgba(0, 168, 62, 0.12);
    width: 320px;
}

.search-container .search-icon,
.search-container > i.fa-search {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-container input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #1e293b;
    padding: 0;
    font-family: inherit;
}

.search-container input::placeholder {
    color: #94a3b8;
}

.search-container button#clearSearchBtn,
.search-container button {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 6px;
    transition: color 0.2s;
}

.search-container button:hover {
    color: #1e293b;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    order: 4;
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hamburger:hover,
.hamburger:active {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #00a83e;
}

/* Icons size */
.fab {
    font-size: 1.2rem;
}

/* Suggestions dropdown */
.search-suggestions {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1200;
    max-height: 380px;
    overflow-y: auto;
    margin: 0;
    padding: 10px 0;
}

.search-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    max-width: 1200px;
    margin: 0 auto;
    transition: background 0.2s ease;
    min-height: 60px;
}
.search-suggestion:hover { background: #fafafa; }
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion .title { 
    font-weight: 700; 
    color: #222; 
    font-size: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.search-suggestion .subtitle { 
    color: #666; 
    font-size: 0.9rem; 
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-top: 2px;
}
.search-suggestion .text-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-suggestion .go { 
    margin-left: auto; 
    color: #777; 
    font-size: 0.9rem;
    flex-shrink: 0;
    align-self: center;
}

/* Cart Container Styles */
.cart-container {
    display: flex;
    align-items: center;
    margin-left: 10px;
    position: relative;
}

.cart-container button {
    background: transparent;
    border: none;
    color: #333;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 44px;
    min-width: 44px;
}

.cart-container button:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #00a83e;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    min-width: 22px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 168, 62, 0.4);
}

.cart-count:empty {
    display: none;
}

.cart-count.hidden {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 16px 12px 16px;
        gap: 10px;
        background-color: #ffffff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo,
    .logo-brand {
        display: inline-flex;
        align-items: center;
        order: unset;
        text-decoration: none;
    }

    .brand-logo,
    .logo img {
        height: 32px;
        max-height: 34px;
        width: auto;
        object-fit: contain;
    }

    .nav-actions {
        order: unset;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cart-container {
        position: relative;
        margin: 0;
    }

    .cart-container button,
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        color: #1e293b;
        font-size: 1.05rem;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }

    .cart-container button:hover,
    .cart-container button:active,
    .hamburger:hover,
    .hamburger:active {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #00a83e;
    }

    .hamburger {
        display: flex;
        margin-left: 0;
    }

    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 19px;
        height: 19px;
        font-size: 0.7rem;
        font-weight: 700;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 6px rgba(0, 168, 62, 0.4);
    }

    /* Dedicated Full-Width Row for Search on Mobile */
    .search-container {
        order: unset;
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        height: 44px;
        border-radius: 22px;
        background: #f1f5f9;
        border: 1.5px solid #e2e8f0;
        padding: 0 14px;
        position: relative;
        box-shadow: none;
        transition: all 0.2s ease;
    }

    .search-container:focus-within {
        width: 100%;
        background: #ffffff;
        border-color: #00a83e;
        box-shadow: 0 0 0 3px rgba(0, 168, 62, 0.12);
    }

    .search-container .search-icon,
    .search-container > i.fa-search {
        color: #94a3b8;
        font-size: 0.95rem;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .search-container input {
        width: 100%;
        min-width: 0;
        flex: 1;
        font-size: 16px; /* 16px prevents iOS Safari from automatically zooming */
        padding: 0;
        border: none;
        outline: none;
        background: transparent;
        color: #1e293b;
        font-family: inherit;
    }

    .search-container input::placeholder {
        color: #94a3b8;
        font-size: 0.9rem;
    }

    .search-container button#clearSearchBtn {
        padding: 4px;
        min-width: 28px;
        min-height: 28px;
        font-size: 0.85rem;
    }

    /* Mobile Suggestions Dropdown */
    .search-suggestions {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid #e2e8f0;
        overflow-y: auto;
        max-height: 60vh;
        z-index: 1200;
        padding: 6px 0;
        box-sizing: border-box;
    }

    .search-suggestion {
        padding: 12px 14px;
        gap: 12px;
        align-items: center;
        min-height: 52px;
        border-bottom: 1px solid #f1f5f9;
    }

    .search-suggestion .title {
        font-size: 0.92rem;
        font-weight: 600;
        color: #1e293b;
    }

    .search-suggestion .subtitle {
        font-size: 0.8rem;
        color: #64748b;
        margin-top: 2px;
    }

    /* Mobile Navigation Drawer */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 16px 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-bottom: 3px solid #00a83e;
        z-index: 1100;
        box-sizing: border-box;
    }

    .nav-links.active {
        display: flex;
        animation: slideDownMenu 0.22s ease forwards;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 6px;
        font-size: 0.98rem;
        font-weight: 500;
        color: #1e293b !important;
        transition: all 0.2s ease;
    }

    .nav-links li a:hover,
    .nav-links li a:active {
        color: #00a83e !important;
        padding-left: 10px;
    }
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Extra Small Mobile Styles (< 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 8px 12px 10px 12px;
        gap: 8px;
    }

    .brand-logo,
    .logo img {
        height: 30px;
        max-height: 32px;
    }

    .cart-container button,
    .hamburger {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .search-container {
        height: 42px;
        padding: 0 12px;
    }

    .search-container input {
        font-size: 15px;
    }
}

/* Promotional Banners Section */
.promotional-banners {
    width: 100%;
    margin: 0;
    padding: 0;
}

.promotional-banners.full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.banner-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-banner {
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    min-height: 180px;
    width: 100%;
    margin: 0;
}

.promo-banner.image-only {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    min-height: auto;
}

.promo-banner.image-only img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.promo-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.promo-banner.image-only:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.promo-banner.image-only:hover img {
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.banner-text {
    flex: 1;
    color: white;
}

.banner-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Lucida Console', monospace;
}

.banner-text p {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    opacity: 0.9;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Banner Specific Styling - Disabled for image-only banners */
.smartwatch-banner:not(.image-only) {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    position: relative;
}

.smartwatch-banner:not(.image-only)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
}

.gadgets-banner:not(.image-only) {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.gadgets-banner:not(.image-only)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
    z-index: 1;
}

/* Responsive Design for Banners */
@media (max-width: 768px) {
    .promotional-banners {
        padding: 0;
        margin: 0;
    }
    
    .promotional-banners.full-width {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .banner-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .promo-banner {
        min-height: 150px;
    }
    
    .banner-content {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text {
        margin-bottom: 15px;
    }
    
    .banner-text h2 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1.2rem;
    }
    
    .banner-image img {
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .banner-text h2 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .banner-image img {
        max-height: 80px;
    }
}

/* Today's Offer Section */
.todays-offer-section {
    background: linear-gradient(135deg, #072210 0%, #005a20 50%, #009938 100%);
    color: white;
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 168, 62, 0.25);
}

.todays-offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.offer-header {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.offer-header h2 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

.offer-header p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

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

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
    margin-left: -10px;
    position: relative;
    z-index: 2;
}

.offer-product-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.offer-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* 1:1 Ratio Image Container for Today's Offers */
.offer-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.offer-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-product-card:hover img {
    transform: scale(1.05);
}

.offer-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.offer-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.offer-new-price {
    color: #00a83e;
    font-weight: bold;
    font-size: 1.3rem;
}

.offer-discount {
    background: #00a83e;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* View More Card for Today's Offers */
.offer-view-more-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 60px;
    max-width: 120px;
    margin: 0 auto;
    grid-column: 1 / -1;
}

.offer-view-more-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.offer-view-more-content {
    text-align: center;
}

/* Out of Stock styles for Today's Offers */
.offer-out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.offer-out-of-stock-message {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(220, 53, 69, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
}

.offer-timer {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 2;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
}

.countdown span {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 50px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offer-header h2 {
        font-size: 2rem;
    }
    
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-left: -8px;
    }
    
    .offer-product-card {
        padding: 15px;
    }
    
    .offer-image-container {
        margin-bottom: 10px;
    }
    
    .offer-product-card h3 {
        font-size: 0.9rem;
        margin: 8px 0;
    }
    
    .countdown {
        font-size: 1.2rem;
        gap: 10px;
    }
    
    .countdown span {
        padding: 8px 12px;
        min-width: 40px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-left: -5px;
    }
    
    .offer-product-card {
        padding: 10px;
    }
    
    .offer-image-container {
        margin-bottom: 8px;
    }
    
    .offer-product-card h3 {
        font-size: 0.8rem;
        margin: 5px 0;
    }
    
    .offer-price {
        font-size: 0.9rem;
        gap: 5px;
    }
}

/* Product Grid Section - Mobile First */
.product-grid-section {
    background-color: #fff;
    padding: 30px 12px;
    text-align: left;
}

.product-grid-section h2 {
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 20px;
    text-align: left;
    margin-left: 0;
    font-weight: 700;
}

/* Scale up for larger screens */
@media (min-width: 481px) {
    .product-grid-section {
        padding: 40px 16px;
    }
    
    .product-grid-section h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
}

@media (min-width: 769px) {
    .product-grid-section {
        padding: 50px 20px;
    }
    
    .product-grid-section h2 {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
    justify-content: start;
}

/* --- PRODUCT CARD APPEARANCE - Mobile First --- */

.product-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
    padding: 12px 10px 10px 10px !important;
    margin: 0 auto;
    max-width: 100%;
    min-width: 0;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Scale up for larger screens */
@media (min-width: 481px) {
    .product-card {
        border-radius: 14px !important;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07), 0 1px 5px rgba(0, 0, 0, 0.04) !important;
        padding: 14px 12px 12px 12px !important;
        max-width: 280px;
        min-width: 160px;
    }
}

@media (min-width: 769px) {
    .product-card {
        border-radius: 16px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding: 16px 14px 14px 14px !important;
        max-width: 280px;
        min-width: 200px;
    }
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 12px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 0, 0, 0.1) !important;
}

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

.product-card h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0px;
    margin-top: 0;
    color: #2c2c2c;
    min-height: 2.2em;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: none;
}

.product-card .price {
    margin-top: 2px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    text-shadow: none;
}

/* Mobile-specific adjustments are now handled in the main responsive grid section above */

.product-card .price {
    font-weight: 700;
    color: #333333;
    margin-top: auto; /* push price block to bottom for equal heights */
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0px;
}

/* Product Tags - Always Visible and Nicer */
.product-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.35), 0 1px 3px rgba(34, 197, 94, 0.2);
    z-index: 10;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Discount Tag Specific Styling */
.product-card .tag.discount-tag {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    animation: discountPulse 2s ease-in-out infinite alternate;
}

@keyframes discountPulse {
    0% {
        box-shadow: 0 3px 10px rgba(34, 197, 94, 0.35), 0 1px 3px rgba(34, 197, 94, 0.2);
    }
    100% {
        box-shadow: 0 4px 15px rgba(34, 197, 94, 0.55), 0 2px 8px rgba(34, 197, 94, 0.3);
    }
}

/* Buy Now Button - Enhanced Vexior Theme */
.product-card .buy-now {
    background: linear-gradient(135deg, #00b140 0%, #00872e 100%);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 14px rgba(0, 168, 62, 0.35);
    margin-top: 0px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 100%;
    align-self: stretch;
}

.product-card .buy-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s;
}

.product-card .buy-now:hover::before {
    left: 100%;
}

.product-card .buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 62, 0.5);
    background: linear-gradient(135deg, #00c848 0%, #009e36 100%);
}


/* Hover Effect */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 10;
    border-color: rgba(0, 0, 0, 0.1);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

/* Main front photo section for product card */
/* Deprecated .main-photo retained for backward compatibility */
.product-card .main-photo { display:none; }

/* Hover effect now applied to wrapper image */
.product-card:hover .img-wrapper img { 
    transform: scale(1.08); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure grid stretches cards to equal height */
.product-grid { align-items: stretch; }
.product-grid .product-card { height: 100%; }

.product-card:hover .main-photo img {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Grid - Mobile First */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
        padding: 0 8px;
        min-height: 0;
        justify-content: space-between;
    }
    .product-card {
        padding: 10px 8px 8px 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }
    
    .product-card .buy-now {
        padding: 8px 14px;
        font-size: 0.75rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
        margin-top: 0px;
    }
    
    .product-card .tag {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.6rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.08);
    }
    
    .product-card h3 {
        font-size: 0.85rem;
        min-height: 1.8em;
        margin-bottom: 0px;
    }
    
    .product-card img {
        margin-bottom: 8px;
        border-radius: 10px !important;
    }
    
    .product-card .price {
        font-size: 0.95rem;
        margin-top: 0px;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px;
        padding: 0 10px;
        justify-content: space-between;
    }
    .product-card {
        padding: 12px 10px 10px 10px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03) !important;
        margin: 0;
    }
    
    .product-card .buy-now {
        padding: 10px 18px;
        font-size: 0.8rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
        margin-top: 0px;
    }
    
    .product-card .tag {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 0.65rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 30px;
        padding: 0 12px;
        justify-content: start;
    }
    .product-card {
        max-width: 180px;
        min-width: 150px;
        padding: 14px 12px 12px 12px !important;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06), 0 1px 6px rgba(0, 0, 0, 0.03) !important;
        margin: 0;
    }
    .product-card h3 {
        font-size: 0.9rem;
        min-height: 1.8em;
        margin-bottom: 0px;
    }
    .product-card img {
        border-radius: 12px !important;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 10px;
    }
    .product-card .price {
        font-size: 1rem;
        margin-top: 0px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 26px;
        padding: 0 18px;
    }
}

@media (min-width: 1025px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 32px;
        padding: 0 20px;
    }
}

/* Product Details Page Styles */
.product-details {
    padding: 50px 20px;
    text-align: center;
}

.product-details img {
    max-width: 350px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-details h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 20px;
}

.product-details p.description {
    color: #555;
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.buy-now {
    background-color: #0077ff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.buy-now:hover {
    background-color: #005dd1;
}

/* Product Details Section */
.product-details-section {
    padding: 60px 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.product-container {
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.product-container img {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.product-info {
    max-width: 500px;
}

.product-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #111;
}

.product-info .price {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.old-price {
    color: #666666;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 4px;
}

.new-price {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.product-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Buy Now Button */
.buy-now {
    background-color: #0077ff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-now:hover {
    background-color: #005dd1;
}

/* Responsive */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        text-align: center;
    }

    .product-container img {
        max-width: 100%;
    }
}

/* Footer Dark Theme - Vexior Emerald Deep Theme */
.footer {
    background-color: #081a0e;
    color: #b8ccbe;
    text-align: center;
    padding: 45px 20px 25px;
    font-size: 14px;
    border-top: 1px solid #143820;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
    min-width: 180px;
}

.footer-column h4 {
    margin-bottom: 12px;
    color: #00e65b;
    font-size: 16px;
    border-bottom: 1px solid #143820;
    padding-bottom: 6px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-column a {
    color: #a3baa8;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    font-size: 14px;
    transition: all 0.25s ease;
}

.footer-column a:hover {
    color: #00e65b;
    text-decoration: none;
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 35px;
    font-size: 14px;
    color: #6d8573;
    border-top: 1px solid #143820;
    padding-top: 20px;
}

.built-by {
    margin-top: 6px;
    font-style: italic;
    font-size: 13px;
    color: #8da693;
}

.built-by a {
    color: #00e65b !important;
}

.footer a {
    color: #00e65b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #4ade80;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        margin: 18px 0;
    }
}

/* Pagination Styles - Vexior Green Theme */
.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 30px 0 0 0;
}

.product-pagination button {
    background: linear-gradient(135deg, #00b140 0%, #00872e 100%);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 168, 62, 0.3);
}

.product-pagination button:hover:not(:disabled) {
    background: linear-gradient(135deg, #00c848 0%, #009e36 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 62, 0.45);
}

.product-pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.product-pagination span {
    font-size: 1rem;
    color: #333;
}
    font-size: 13px;
    color: #888;
}

/* Remove underlines from all links and buttons */
a,
a:visited,
a:active,
a:hover,
.product-link {
    text-decoration: none !important;
    outline: none;
    color: inherit;
}

/* Out of Stock Styles */
.out-of-stock-message {
    background: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}

.out-of-stock-notice {
    text-align: center;
    margin: 20px 0;
}

.out-of-stock-badge {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.out-of-stock-text {
    color: #6c757d;
    font-size: 1rem;
    margin: 10px 0;
}

/* Hide fixed product bar when out of stock */
.fixed-product-bar.out-of-stock {
    display: none !important;
}

/* Address Modal Styles */
.address-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.address-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: slideInDown 0.4s ease-out;
}

.address-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 168, 62, 0.2);
    background: linear-gradient(135deg, #00b140 0%, #00872e 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.address-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.address-modal-body {
    padding: 28px;
}

.address-note {
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f7ec 100%);
    border: 1px solid #bbf7d0;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    color: #166534;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-note i {
    color: #00a83e;
    font-size: 1.2rem;
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #00a83e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 168, 62, 0.15);
}

.form-group input::placeholder {
    color: #adb5bd;
}

.address-modal-footer {
    padding: 20px 28px 28px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
}

.skip-address-btn,
.save-address-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.skip-address-btn {
    background: #6c757d;
    color: white;
}

.skip-address-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.save-address-btn {
    background: linear-gradient(135deg, #00b140 0%, #00872e 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 168, 62, 0.35);
}

.save-address-btn:hover {
    background: linear-gradient(135deg, #00c848 0%, #009e36 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 168, 62, 0.5);
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .address-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .address-modal-header,
    .address-modal-body {
        padding: 20px;
    }
    
    .address-modal-footer {
        padding: 16px 20px 20px;
        flex-direction: column;
    }
    
    .skip-address-btn,
    .save-address-btn {
        width: 100%;
    }
    
    .address-modal-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .address-modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 12px;
    }
    
    .address-modal-header,
    .address-modal-body {
        padding: 16px;
    }
    
    .address-modal-footer {
        padding: 12px 16px 16px;
    }
    
    .form-group input {
        padding: 12px 14px;
    }
}