/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Offer Page Styles */
.offer-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 0;
    
}

.offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80px;
    padding: 0px 0;
}

.offer-header-content {
    width: 100%;
    max-width: 600px;
}

.offer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.title-gradient {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}



.offer-title i {
    color: #ffd700;
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}



.offer-products-section {
    padding: 0px 0;
}

.no-offers-section {
    padding: 40px 0;
    text-align: center;
}

.no-offers-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-offers-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-offers-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.no-offers-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.discount-percentage {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.badge.offer {
    background: #ff6b35;
    color: white;
}

/* Responsive Design for Offer Page */
@media (max-width: 768px) {
    .offer-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .offer-title {
        font-size: 2.5rem;
    }
    

}

@media (max-width: 576px) {
    .offer-title {
        font-size: 2rem;
    }
    

}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-bottom: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span,
.top-right span {
    margin-right: 20px;
}

.top-left i,
.top-right i {
    margin-right: 5px;
}

/* Main Header */
.main-header {
    background: #f1f5ff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo a {
    text-decoration: none;
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: #e74c3c;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background: #c0392b;
}

/* Desktop Header */
.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Ensure desktop header shows on desktop */
@media (min-width: 769px) {
    .desktop-header {
        display: flex;
    }
    
    .mobile-header {
        display: none;
    }
}

/* Mobile Header */
.mobile-header {
    display: none;
}

.mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    flex: 1;
}

.mobile-logo h2 {
    font-size: 18px;
    margin: 0;
}

.mobile-logo .logo-img {
    max-height: 30px;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-action-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    padding: 6px;
    border-radius: 6px;
}

.mobile-action-item:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.mobile-action-item i {
    font-size: 16px;
}

.mobile-cart-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 6px;
    border-radius: 6px;
    position: relative;
}

.mobile-cart-button:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.mobile-search-section {
    padding: 10px 0;
}

.mobile-search-bar {
    position: relative;
    width: 100%;
}

.mobile-search-bar input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.mobile-search-bar input:focus {
    border-color: #e74c3c;
}

.mobile-search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-search-bar button:hover {
    background: #c0392b;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 12px;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.search-result-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 12px;
}

.search-result-category {
    color: #666;
    font-size: 11px;
}

.no-search-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    position: relative;
    padding: 8px;
    border-radius: 6px;
    min-width: 40px;
    justify-content: center;
}

.action-item:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.action-item i {
    font-size: 18px;
}

/* New Cart Button System */
.cart-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
    position: relative;
}

.cart-button:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.cart-icon-wrapper i {
    font-size: 18px;
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Main Navigation */
.main-nav {
    background: #34495e;
    color: white;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

/* Categories Dropdown */
.categories-dropdown {
    position: relative;
}

.categories-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.categories-btn:hover {
    background: #c0392b;
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.categories-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.category-item:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 20px 0;
    display: block;
}

.nav-link:hover {
    color: #e74c3c;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    transition: right 0.3s;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    background: #e74c3c;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-link,
.mobile-category-link {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-nav-link:hover,
.mobile-category-link:hover {
    color: #e74c3c;
}

.mobile-categories h4 {
    margin: 20px 0 10px 0;
    color: #e74c3c;
    font-weight: 600;
}

/* Main Content */
.main-content {
    min-height: 500px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
}

.slide-content {
    color: white;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
}

.slider-btn {
    position: absolute;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: left;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: white;
    border-radius: 10%;
    padding: 1px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #e74c3c;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.category-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
    font-size: 25px;
}

.category-image {
    width: 90px;
    height: 90px;
    border-radius: 20%;
    object-fit: cover;
    margin-bottom: 10px;
}

.category-info {
    text-align: center;
}

.category-name {
    font-size: 11px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    line-height: 1.2;
}

.category-count {
    font-size: 10px;
    color: #7f8c8d;
}

/* Products Section */
.featured-products-section,
.all-products-section {
    padding: 40px 0;
}

.featured-products-section {
    background: white;
}

.all-products-section {
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

/* Desktop: Same style as index page - vertical cards in grid */
@media (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    /* Ensure shop page shows exactly 4 products per line */
    .shop-main-content .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .product-card.premium {
        display: flex;
        flex-direction: column;
        min-height: 420px;
        max-width: 100%;
    }
    
    .product-card.premium .product-image {
        width: 100%;
        height: 240px;
        flex-shrink: 0;
    }
    
    .product-card.premium .product-info {
        flex: 1;
        padding: 16px;
        display: flex;
        flex-direction: column;
    }
    
    .product-card.premium .product-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .product-card.premium .product-price {
        margin-bottom: 12px;
    }
    
    .product-card.premium .product-buttons {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: auto;
    }
    
    .product-card.premium .btn-add-to-cart,
    .product-card.premium .btn-buy-now {
        flex: 1;
        min-width: 100px;
        font-size: 12px;
        padding: 8px 12px;
    }
}

.product-card.premium {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.product-card.premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: #e74c3c;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.sale {
    background: #e74c3c;
    color: white;
}

.badge.discount {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.badge.featured {
    background: #f39c12;
    color: white;
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #e74c3c;
}

.product-price {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: #e74c3c;
}

.original-price {
    font-size: 12px;
    color: #7f8c8d;
    text-decoration: line-through;
    margin-left: 6px;
}

.product-buttons {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-to-cart {
    background: #e74c3c;
    color: white;
}

.btn-add-to-cart:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.btn-buy-now {
    background: #2c3e50;
    color: white;
}

.btn-buy-now:hover {
    background: #34495e;
    transform: translateY(-1px);
}

/* Footer Styles */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 0 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 0;
}

.footer-section h3 {
    color: #e74c3c;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

/* Footer Logo and Description */
.footer-logo {
    margin-bottom: 15px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-description {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info p {
    color: #bdc3c7;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-info i {
    color: #e74c3c;
    margin-right: 10px;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #ecf0f1;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.footer-bottom {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    margin-top: 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #27ae60;
}

.notification.error {
    background: #e74c3c;
}

.notification.info {
    background: #3498db;
}

/* Shop Page Styles */
.shop-content {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    margin: 20px 0;
    align-items: start;
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-header h3 {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

.shop-main-content {
    flex: 1;
}

/* Products header and sorting */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.products-count {
    color: #666;
    font-size: 14px;
}

.sort-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.filter-section {
    margin-bottom: 16px;
}

.filter-section h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.filter-section input[type="text"],
.filter-section select,
.filter-section input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.filter-section input[type="text"]:focus,
.filter-section select:focus,
.filter-section input[type="number"]:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.price-inputs {
    display: flex;
    gap: 5px;
}

.price-inputs input {
    width: 50%;
}

.filter-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

.shop-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.shop-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.shop-header h1 i {
    color: #e74c3c;
    font-size: 28px;
}

.shop-header p {
    color: #666;
    margin: 0;
    font-size: 16px;
}

.search-result-info {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-keyword {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.search-input-group {
    display: flex;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #e74c3c;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background: #c0392b;
}

.clear-search {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.clear-search:hover {
    color: #c0392b;
}

/* Filter toggle (hidden on desktop) */
.filter-toggle-btn { 
    display: none; 
    margin-bottom: 16px;
}

.mobile-filter-sort-row {
    display: none;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#mobile-filter-toggle-2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

#mobile-filter-toggle-2:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

#mobile-filter-toggle-2 i {
    font-size: 14px;
}

#mobile-filter-toggle-2 span {
    font-size: 13px;
}

.mobile-sort-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.mobile-sort-section label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.mobile-sort-select {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.mobile-sort-select:focus {
    border-color: #e74c3c;
}

#mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

#mobile-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

#mobile-filter-toggle i {
    font-size: 16px;
}

#mobile-filter-toggle span {
    display: inline;
}

.close-sidebar {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #e74c3c;
    padding: 5px;
}

.no-products-found {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

.no-products-found i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.loading-more {
    display: none;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    /* Ensure shop page maintains 4 columns on desktop */
    .shop-main-content .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .product-card.premium {
        display: flex;
        flex-direction: column;
        min-height: 400px;
        max-width: 100%;
    }
    
    .product-card.premium .product-image {
        width: 100%;
        height: 220px;
        flex-shrink: 0;
    }
    
    .product-card.premium .product-info {
        flex: 1;
        padding: 14px;
        display: flex;
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shop-sidebar { width: 260px; }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Shop page: 2 columns on medium screens */
    .shop-main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-card.premium {
        display: flex;
        flex-direction: column;
        min-height: 380px;
        max-width: 100%;
    }
    
    .product-card.premium .product-image {
        width: 100%;
        height: 200px;
        flex-shrink: 0;
    }
    
    .product-card.premium .product-info {
        flex: 1;
        padding: 14px;
        display: flex;
        flex-direction: column;
    }
    
    .product-card.premium .product-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shop-sidebar { width: 240px; }
}

@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .action-item {
        padding: 5px;
        border-radius: 6px;
    }
    
    .action-item i {
        font-size: 18px;
    }
    
    .cart-icon-wrapper {
        width: 20px;
        height: 20px;
    }
    
    .cart-icon-wrapper i {
        font-size: 16px;
    }
    
    .cart-count-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }
    
    .search-results {
        max-height: 250px;
    }
    
    .nav-links {
        display: none;
    }
    
    .categories-dropdown {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .categories-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card.premium {
        flex-direction: column;
    }
    
    .product-card.premium .product-image {
        width: 100%;
        height: 200px;
    }
    
    .product-card.premium .product-info {
        padding: 15px;
    }
    
    .product-card.premium .product-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .product-card.premium .product-price {
        margin-bottom: 10px;
    }
    
    .product-card.premium .product-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-card.premium .btn-add-to-cart,
    .product-card.premium .btn-buy-now {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .shop-header {
        padding: 20px 0;
        text-align: center;
    }
    
    .shop-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .shop-header h1 i {
        font-size: 20px;
    }
    
    .shop-header p {
        font-size: 14px;
    }
    
    .shop-content { 
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-toggle-btn { 
        display: none;
    }
    
    .mobile-filter-sort-row {
        display: flex;
    }
    
    #mobile-filter-toggle { 
        display: none;
    }
    
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .shop-sidebar.active { 
        left: 0;
    }
    
    .close-sidebar { 
        position: absolute;
        top: 15px;
        right: 15px;
        background: #e74c3c;
        color: white;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
    
    .close-sidebar:hover {
        background: #c0392b;
    }
    
    .products-header { 
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sort-section { 
        display: none;
    }
    
    .sort-select { 
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .action-item {
        padding: 5px;
        min-width: 32px;
    }
    
    .action-item i {
        font-size: 15px;
    }
    
    .cart-icon-wrapper {
        width: 18px;
        height: 18px;
    }
    
    .cart-icon-wrapper i {
        font-size: 14px;
    }
    
    .cart-count-badge {
        width: 14px;
        height: 14px;
        font-size: 8px;
        top: -5px;
        right: -5px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card.premium {
        min-height: 360px;
        display: flex;
        flex-direction: column;
    }
    
    .product-card.premium .product-image {
        height: 180px;
        width: 100%;
    }
    
    .product-card.premium .product-info {
        flex: 1;
        padding: 12px;
        display: flex;
        flex-direction: column;
    }
    
    .product-card.premium .product-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .product-card.premium .product-price {
        margin-bottom: 10px;
    }
    
    .product-card.premium .product-buttons {
        flex-direction: column;
        gap: 4px;
        margin-top: auto;
    }
    
    .product-card.premium .btn-add-to-cart,
    .product-card.premium .btn-buy-now {
        width: 100%;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
        height: 32px;
    }
    
    .current-price {
        font-size: 15px;
    }
    
    .btn-add-to-cart,
    .btn-buy-now {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Shop header small screen */
    .shop-header {
        margin-bottom: 15px;
        padding: 10px 0;
    }
    
    .shop-header h1 {
        font-size: 20px;
    }
    
    .shop-header h1 i {
        font-size: 20px;
    }
    
    .shop-header p {
        font-size: 12px;
    }
    
    /* Mobile filter improvements */
    .shop-sidebar {
        width: 90%;
        padding: 16px 12px;
    }
    
    #mobile-filter-toggle {
        padding: 10px 14px;
        font-size: 13px;
        justify-content: center;
    }
    
    #mobile-filter-toggle i {
        font-size: 14px;
    }
    
    .filter-section {
        margin-bottom: 12px;
    }
    
    .filter-section h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .filter-section input[type="text"],
    .filter-section select,
    .filter-section input[type="number"] {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .filter-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cart Page Styles */
.cart-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border: none;
    padding: 20px;
}

.cart-table td {
    padding: 20px;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.quantity-input {
    width: 80px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-btn:hover {
    background: #c0392b;
}

.cart-summary {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #2c3e50;
}

/* Checkout Form */
.checkout-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control[type="text"] {
    height: 48px;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}



.payment-method img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}


/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Product page styles */
.product-page {
    padding: 20px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Product Gallery Section */
.product-gallery-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.thumbnail-gallery {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.thumbnail.active {
    border-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-header {
    margin-bottom: 25px;
}

.product-brand {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-brand i {
    color: #e74c3c;
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.product-price {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.current-price {
    font-size: 32px;
    font-weight: bold;
    color: #e74c3c;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Stock Status */
.stock-status {
    margin-bottom: 25px;
}

.stock-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
}

.stock-indicator.in-stock {
    background: #e8f5e8;
    color: #2e7d32;
}

.stock-indicator.out-of-stock {
    background: #ffebee;
    color: #c62828;
}

.stock-indicator i {
    font-size: 18px;
}

/* Add to Cart Section */
.add-to-cart-section {
    margin-bottom: 25px;
}

.cart-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-selector label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
    width: fit-content;
}

.qty-btn {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.qty-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

#quantityInput {
    width: 60px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    background: white;
}

.add-to-cart-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.add-to-cart-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Buy Now Button */
.buy-now-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    text-decoration: none;
    margin-top: 15px;
}

.buy-now-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
    color: white;
    text-decoration: none;
}

/* Product Meta */
.product-meta {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.meta-item i {
    margin-right: 12px;
    color: #e74c3c;
    width: 16px;
}

/* Product Tabs Section */
.product-tabs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}

.tabs-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: #e8f5e8;
    color: #2e7d32;
}

.tab-btn.active {
    background: white;
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

.tab-btn i {
    font-size: 16px;
}

.tabs-content {
    padding: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-inner h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-content-inner h3 i {
    color: #e74c3c;
}

/* Description Tab */
.description-content {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
}

/* Specifications Tab */
.specifications-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #666;
}

/* Stock Tab */
.stock-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
}

.stock-status-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.stock-status-detail i {
    font-size: 20px;
}

.stock-status-detail.in-stock {
    color: #2e7d32;
}

.stock-status-detail.out-of-stock {
    color: #c62828;
}

.stock-label {
    font-weight: 600;
    color: #333;
}

.stock-value {
    font-weight: 600;
}

.status-high {
    color: #2e7d32;
    background: #e8f5e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-low {
    color: #f57c00;
    background: #fff3e0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-out {
    color: #c62828;
    background: #ffebee;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Reviews Tab */
.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    color: #ffc107;
    font-size: 20px;
}

.rating-text {
    font-weight: 600;
    color: #333;
}

.total-reviews {
    color: #666;
    font-size: 14px;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-reviews i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.write-review-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* Related Products Section */
.related-products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: #e74c3c;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.related-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-card-image {
    height: 200px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 20px;
    flex: 1;
}

.product-card-title {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card-price .current-price {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
}

.product-card-price .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card-buttons {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-to-cart-btn-small {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.add-to-cart-btn-small:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.buy-now-btn-small {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.3);
    text-decoration: none;
}

.buy-now-btn-small:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .specifications-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 15px 0;
    }
    
    .product-container {
        padding: 0 15px;
        gap: 20px;
    }
    
    .product-gallery-section,
    .product-info-section {
        padding: 20px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        flex: none;
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stock-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .product-container {
        padding: 0 10px;
    }
    
    .product-gallery-section,
    .product-info-section {
        padding: 15px;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .add-to-cart-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* checkout start css */
.checkout-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px 0;
}

.checkout-breadcrumb {
    margin-bottom: 20px;
}

.checkout-breadcrumb .breadcrumb {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.checkout-breadcrumb .breadcrumb-item a {
    color: #e74c3c;
    text-decoration: none;
}

.checkout-breadcrumb .breadcrumb-item.active {
    color: #666;
}

/* Order Success */
.order-success {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.success-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 80px;
    color: #27ae60;
}

.success-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.order-number {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 18px;
}

.success-message {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.success-actions .btn-primary {
    background: #e74c3c;
    color: white;
}

.success-actions .btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.success-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.success-actions .btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Checkout Content */
.checkout-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.checkout-header {
    background: #e74c3c;
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.checkout-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
}

/* Form Section */
.checkout-form-section {
    padding: 30px;
    border-right: 1px solid #eee;
}

.form-section {
    margin-bottom: 25px;
}

.section-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.section-header h3 i {
    color: #e74c3c;
    margin-right: 8px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.form-control:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-control:hover {
    border-color: #d0d0d0;
}

.form-control:active {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-control:focus-visible {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-control::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.form-control:focus::placeholder {
    color: #ccc;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    gap: 30px;
}

.shipping-option {
    position: relative;
}

.shipping-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.shipping-option label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    min-width: auto;
}

.shipping-option label:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.shipping-option input[type="radio"]:checked + label {
    border-color: #e74c3c;
    background: #fff5f5;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.2);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-title {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.option-price {
    font-weight: 600;
    color: #e74c3c;
    font-size: 14px;
}

.option-description {
    display: none;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.payment-method {
    position: relative;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    min-width: auto;
}

.payment-content:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-method input[type="radio"]:checked + .payment-content {
    border-color: #e74c3c;
    background: #fff5f5;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.2);
}

.payment-content span {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.transaction-group {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.form-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Order Summary */
.checkout-summary-section {
    padding: 30px;
    background: #f8f9fa;
}

.order-summary {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.summary-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-header h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.summary-header h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

/* Order Items */
.order-items {
    margin-bottom: 25px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    flex-shrink: 0;
}

.item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
}

.item-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
}

.item-total {
    font-weight: 700;
    color: #e74c3c;
    font-size: 16px;
}

/* Order Totals */
.order-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
    margin-bottom: 25px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.total-row.total {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

/* Place Order Button */
.btn-place-order {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.btn-place-order i {
    margin-right: 8px;
}

/* Security Notice */
.security-notice {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.security-notice i {
    color: #27ae60;
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

.security-notice p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

.alert-danger {
    background: #fee;
    color: #c53030;
    border-left: 4px solid #c53030;
}

.alert-danger i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-form-section {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 768px) {
    .checkout-page {
        padding: 15px 0;
    }
    
    .checkout-header {
        padding: 15px 20px;
    }
    
    .checkout-header h1 {
        font-size: 20px;
    }
    
    .checkout-form-section,
    .checkout-summary-section {
        padding: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-content {
        padding: 12px 15px;
        min-width: auto;
        width: 100%;
    }
    
    .payment-content span {
        font-size: 13px;
    }
    
    .shipping-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .shipping-option label {
        padding: 12px 15px;
        min-width: auto;
        width: 100%;
    }
    
    .option-title {
        font-size: 13px;
    }
    
    .option-price {
        font-size: 13px;
    }
    
    /* Mobile Order Summary - Single card like desktop */
    .order-summary {
        background: #fff;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        border: 1px solid #e0e0e0;
    }
    
    .summary-header {
        background: transparent;
        padding: 0;
        border-radius: 0;
        margin-bottom: 20px;
        border: none;
        box-shadow: none;
    }
    
    .order-items {
        background: transparent;
        padding: 0;
        border-radius: 0;
        margin-bottom: 20px;
        border: none;
        box-shadow: none;
    }
    
    .order-totals {
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    
    .success-card {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

/* Cart Page Styles */
.cart-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cart-header {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cart-header h1 {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-header h1 i {
    color: #e74c3c;
    margin-right: 10px;
}

.cart-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.empty-cart {
    text-align: center;
    background: white;
    padding: 60px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-cart i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.shop-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    text-align: center;
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

.shop-now-btn i {
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    word-wrap: break-word; 
    overflow: ellipsis;
    text-overflow: ellipsis;
}

.cart-item-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.current-price {
    color: #e74c3c;
    font-weight: 700;
    font-size: 18px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 8px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: white;
    color: #e74c3c;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.quantity-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-1px);
}

.quantity-input {
    width: 60px;
    height: 35px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.cart-item-total {
    color: #2c3e50;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h2 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-summary h2 i {
    color: #e74c3c;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #2c3e50;
}

.summary-label {
    color: #666;
    font-size: 14px;
}

.summary-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-page {
        padding: 20px 0;
    }
    
    .cart-header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .cart-header h1 {
        font-size: 24px;
    }
    
    .cart-header p {
        font-size: 16px;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-items {
        padding: 20px;
    }
    
    .cart-item {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 15px;
        align-items: start;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .cart-item:last-child {
        border-bottom: none;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .cart-item-details h3 {
        color: #2c3e50;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .cart-item-details p {
        color: #666;
        font-size: 13px;
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .cart-item-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }
    
    .cart-item-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .current-price {
        color: #e74c3c;
        font-weight: 700;
        font-size: 16px;
    }
    
    .original-price {
        color: #999;
        text-decoration: line-through;
        font-size: 12px;
    }
    
    .cart-item-quantity {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f8f9fa;
        padding: 6px;
        border-radius: 6px;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        border: none;
        background: white;
        color: #e74c3c;
        border-radius: 4px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .quantity-btn:hover {
        background: #e74c3c;
        color: white;
        transform: translateY(-1px);
    }
    
    .quantity-input {
        width: 50px;
        height: 32px;
        border: 2px solid #e0e0e0;
        border-radius: 4px;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .quantity-input:focus {
        outline: none;
        border-color: #e74c3c;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    }
    
    .cart-item-total {
        color: #2c3e50;
        font-weight: 700;
        font-size: 16px;
        text-align: center;
    }
    
    .remove-btn {
        background: #ff4757;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 11px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 80px;
        text-align: center;
    }
    
    .remove-btn:hover {
        background: #ff3742;
        transform: translateY(-1px);
    }
    
    .remove-btn i {
        font-size: 10px;
    }
    
    .cart-summary {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        height: fit-content;
    }
    
    .cart-summary h2 {
        color: #2c3e50;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .cart-summary h2 i {
        color: #e74c3c;
    }
    
    .summary-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .summary-item:last-child {
        border-bottom: none;
        font-weight: 700;
        font-size: 18px;
        color: #2c3e50;
    }
    
    .summary-label {
        color: #666;
        font-size: 14px;
    }
    
    .summary-value {
        color: #2c3e50;
        font-weight: 600;
        font-size: 16px;
    }
    
    .checkout-btn {
        width: 100%;
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        border: none;
        padding: 15px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }
    
    .checkout-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        color: white;
        text-decoration: none;
    }
    
    .empty-cart {
        padding: 40px 20px;
    }
    
    .empty-cart i {
        font-size: 60px;
    }
    
    .empty-cart h2 {
        font-size: 20px;
    }
    
    .empty-cart p {
        font-size: 16px;
    }
    
    .shop-now-btn {
        padding: 10px 18px;
        font-size: 14px;
        text-align: center;
    }
    
    .shop-now-btn i {
        font-size: 14px;
        line-height: 1;
        vertical-align: middle;
    }
}

@media (max-width: 576px) {
    .checkout-header {
        padding: 25px 15px;
    }
    
    .checkout-header h1 {
        font-size: 20px;
    }
    
    .checkout-form-section,
    .checkout-summary-section {
        padding: 15px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .item-total {
        align-self: flex-end;
    }
}

.loading-spinner p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

/* End index / home */

/* ===== Categories Section Update ===== */


/* ===== Product Section Update ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.product-card.premium {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.product-card.premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #e74c3c;
}
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-info {
    padding: 16px;
}
.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-buttons {
    display: flex;
    gap: 8px;
}
@media (max-width: 768px) {
    .product-buttons {
        flex-direction: column;
    }
}
.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-add-to-cart {
    background: #e74c3c;
    color: white;
}
.btn-add-to-cart:hover {
    background: #c0392b;
}
.btn-buy-now {
    background: #2c3e50;
    color: white;
}
.btn-buy-now:hover {
    background: #34495e;
}

/* ===== AJAX Loading Animation ===== */
.products-loading {
    text-align: center;
    padding: 20px;
}
.products-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* shop page extra css */

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo-img {
        max-width: 120px;
        margin: 0 auto 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        gap: 15px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .contact-info p {
        font-size: 13px;
    }
}

/* Mobile Footer Menu */
.mobile-footer-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 5px 0;
}

.mobile-footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-menu-item {
    flex: 1;
    text-align: center;
}

.mobile-menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 4px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-item a:hover,
.mobile-menu-item a.active {
    color: #e74c3c;
}

.mobile-menu-item i {
    font-size: 20px;
    margin-bottom: 4px;
    display: block;
}

.mobile-menu-item span {
    font-size: 10px;
    line-height: 1.2;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -8px;
}

/* Hide mobile footer on desktop */
@media (min-width: 769px) {
    .mobile-footer-menu {
        display: none;
    }
}

/* Adjust main content padding for mobile footer */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    
    .main-footer {
        margin-bottom: 0;
        padding: 20px 0 0 0;
    }
    
    .footer-content {
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        margin-top: 0;
        padding: 15px 0;
    }
}

/* Mobile Categories Sidebar */
.mobile-categories-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-categories-sidebar.active {
    left: 0;
}

.mobile-categories-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.mobile-categories-sidebar .sidebar-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.mobile-categories-sidebar .close-sidebar {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-categories-sidebar .close-sidebar:hover {
    background: #e74c3c;
    color: white;
}

.categories-list {
    padding: 0;
}

.categories-list .category-item {
    border-bottom: 1px solid #f0f0f0;
}

.categories-list .category-item:last-child {
    border-bottom: none;
}

.categories-list .category-item a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.categories-list .category-item a:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.categories-list .category-item i:first-child {
    margin-right: 12px;
    color: #e74c3c;
    width: 20px;
    text-align: center;
}

.categories-list .category-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.categories-list .category-item i:last-child {
    color: #ccc;
    font-size: 12px;
    transition: color 0.3s ease;
}

.categories-list .category-item a:hover i:last-child {
    color: #e74c3c;
}

.no-categories {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.no-categories p {
    margin: 0;
    font-size: 14px;
}

/* Overlay for mobile categories sidebar */
.mobile-categories-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-categories-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Desktop footer fixes */
@media (min-width: 769px) {
    .footer-content {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        margin-top: 0;
        padding: 15px 0;
    }
}

/* Desktop footer gap fix */
@media (min-width: 769px) {
    body {
        padding-bottom: 0 !important;
    }
    
    .main-footer {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .footer-content {
        margin-bottom: 0 !important;
    }
    
    .footer-bottom {
        margin-top: 0 !important;
        padding: 15px 0 !important;
    }
}















