
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 22px;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(10deg);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}

.nav a:hover {
    color: #333;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;  /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1200;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.mobile-menu-header .logo {
    font-size: 22px;
    font-weight: 800;
}

.mobile-menu-header .logo i {
    font-size: 18px;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 20px;
    cursor: pointer;
    color: #666;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-close:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.15);
    color: #333;
    transform: scale(1.05);
}

.mobile-menu-nav {
    flex: 1;
    padding: 25px 0;
    overflow-y: auto;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.mobile-menu-nav a:hover {
    background: linear-gradient(90deg, rgba(51, 51, 51, 0.04) 0%, transparent 100%);
    border-left-color: #333;
    transform: translateX(4px);
}

.mobile-menu-nav a i {
    width: 24px;
    font-size: 20px;
    color: #666;
    transition: color 0.2s ease;
}

.mobile-menu-nav a:hover i {
    color: #333;
}

.mobile-menu-footer {
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.mobile-menu-footer p {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

.header-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-icon {
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    position: relative;
    font-size: 18px;
}

.header-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Page Content */
.page {
    display: none;
    padding-top: 70px;
}

.page.active {
    display: block;
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
    background: #fafafa;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Professional Styling */
.btn {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.3);
}

/* Section */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Categories */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.category {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.02) 0%, rgba(51, 51, 51, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category:hover::before {
    opacity: 1;
}

.category:hover {
    border-color: #333;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: #666;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category:hover .category-icon {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.3);
}

.category h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category:hover h3 {
    color: #333;
}

.category p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.category-stat {
    text-align: center;
}

.category-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: block;
}

.category-stat-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.category-cta {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.category:hover .category-cta {
    background: #333;
    color: white;
    border-color: #333;
    transform: translateY(-2px);
}

.category-cosmetics .category-icon {
    background: linear-gradient(135deg, #ffeef0 0%, #ffe0e6 100%);
    color: #d63384;
}

.category-cosmetics:hover .category-icon {
    background: linear-gradient(135deg, #d63384 0%, #b02a5b 100%);
    color: white;
}

.category-fashion .category-icon {
    background: linear-gradient(135deg, #e7f3ff 0%, #cde7ff 100%);
    color: #0066cc;
}

.category-fashion:hover .category-icon {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
}

.category-footwear .category-icon {
    background: linear-gradient(135deg, #f0f9f0 0%, #d4f0d4 100%);
    color: #198754;
}

.category-footwear:hover .category-icon {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
}

/* Products */
.products {
    background: #fafafa;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter {
    background: white;
    border: 1px solid #eee;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.filter.active {
    background: #333;
    color: white;
    border-color: #333;
}

.filter:hover:not(.active) {
    border-color: #ccc;
}

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

.product {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.product:hover {
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    aspect-ratio: 1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 40px;
    color: #ccc;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.wishlist:hover {
    border-color: #333;
    background: white;
}

.wishlist.active {
    color: #e74c3c;
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.2);
}

.add-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.add-to-cart.added {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    transform: scale(0.98);
}

/* Cart */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(420px, 100vw);
    height: 100vh;
    background: white;
    z-index: 1400;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.cart.active {
    right: 0;
}

.cart-header {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.cart-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    margin: 0;
}

.cart-close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.cart-close:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.15);
    color: #333;
    transform: scale(1.05);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    -webkit-overflow-scrolling: touch;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.cart-empty i {
    font-size: 60px;
    margin-bottom: 25px;
    color: #ddd;
}

.cart-empty p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image i {
    font-size: 20px;
    color: #ccc;
}

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

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.cart-item-category {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.cart-item-remove {
    background: none;
    border: 1px solid #eee;
    color: #666;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.cart-item-remove:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.cart-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;  /* Keep it sticky but not fixed */
    bottom: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 800;
    color: #333;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.2);
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.3);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.about-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    color: #666;
}

.feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.feature p {
    font-size: 14px;
    color: #666;
}

/* Contact Page */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-top: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    text-align: center;
    padding: 20px;
}

.contact-item i {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    font-size: 14px;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

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

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

/* Product Details Page */
.product-details-page {
    padding: 80px 0;
}

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: #f8f8f8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail.active {
    border-color: #333;
    transform: scale(1.05);
}

.product-details-info {
    padding: 20px;
}

.product-details-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.product-details-brand {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-details-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.product-details-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #f5f5f5;
    border-color: #333;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
}

.order-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Checkout Page */
.checkout-content {
    padding: 40px 20px;
}

.order-summary {
    border: 1px solid #eee;
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.order-summary-item span:last-child {
    font-weight: 600;
}

.checkout-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
}

#submitOrderBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#submitOrderBtn .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Footer */
.footer {
    background: #f5f5f5;
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand h3 i {
    font-size: 20px;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.footer-section a:hover {
    color: #333;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-icons .header-icon:not(.mobile-menu-btn) {
        display: none;
    }

    .header {
        height: 65px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
    }

    .header .container {
        padding: 0 16px;
    }

    .logo {
        font-size: 22px;
    }

    .logo i {
        font-size: 18px;
    }

    .header-icons {
        gap: 4px;
    }

    .page {
        padding-top: 65px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category {
        padding: 30px 20px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .category-stats {
        gap: 15px;
    }

    .category-stat-number {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        width: min(320px, 85vw);
    }

    .cart {
        width: 100vw;
    }

    .cart-header {
        padding: 20px 20px;
    }

    .cart-header h3 {
        font-size: 20px;
    }

    .cart-items {
        padding: 20px;
        height: auto;  /* Change from calc(100vh - 200px) to auto */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    
    .cart-footer {
        padding: 20px;
        background: white;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .checkout-btn {
        padding: 16px;
        font-size: 15px;
    }

    .product-details-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-details-title {
        font-size: 24px;
    }

    .product-details-price {
        font-size: 20px;
    }

    .checkout-content {
        padding: 20px 15px;
    }

    .checkout-form {
        padding: 30px 20px;
    }

    .order-summary {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 16px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 18px;
    }

    .products-grid {
        gap: 10px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 16px;
    }

    .add-to-cart {
        padding: 10px;
        font-size: 13px;
    }

    .mobile-menu {
        width: min(300px, 90vw);
    }

    .mobile-menu-header {
        padding: 25px 20px;
    }

    .mobile-menu-nav a {
        padding: 16px 20px;
        font-size: 15px;
    }

    .cart-header {
        padding: 18px 16px;
    }

    .cart-header h3 {
        font-size: 18px;
    }

    .cart-close {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .cart-items {
        padding: 16px;
        height: calc(100vh - 180px);
    }

    .cart-footer {
        padding: 16px;
    }

    .cart-total {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .checkout-btn {
        padding: 14px;
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-form {
        padding: 20px 15px;
    }

    .order-summary h3 {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 30px;
    }
}

@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 30px;
    }
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
