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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fef9f9;
    color: #1a1a1a;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-center {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo-icon { font-size: 2rem; }

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff2d75;
    letter-spacing: -0.5px;
}

.logo-text p { font-size: 0.7rem; color: #666; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-link:hover { color: #ff2d75; }

.cart-icon {
    position: relative;
    cursor: pointer;
    background: #ff2d75;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.cart-icon:hover { background: #e01a60; transform: scale(1.02); }

.cart-count {
    background: white;
    color: #ff2d75;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #ff2d75, #ff6b8b);
    padding: 2rem;
    text-align: center;
    color: white;
}

.hero h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hero p { opacity: 0.9; }

.location-badge {
    background: rgba(0,0,0,0.2);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.8rem;
    margin-top: 0.8rem;
}

.promo-banner {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #ffd700;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.9rem;
}

.promo-banner span { font-weight: bold; font-size: 1.1rem; }

/* ========== SEARCH & SORT ========== */
.search-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.search-input {
    flex: 1;
    max-width: 400px;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
}

.search-input:focus { outline: none; border-color: #ff2d75; }

.sort-select {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: white;
    cursor: pointer;
}

/* ========== CATEGORIES ========== */
.categories {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 1rem;
}

.category-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.category-btn:hover { background: #ff2d75; color: white; transform: translateY(-2px); }
.category-btn.active { background: #ff2d75; color: white; box-shadow: 0 4px 12px rgba(255,45,117,0.3); }

/* ========== PRODUCTS GRID ========== */
.products-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
}

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

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #ff2d75;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 5;
    transition: all 0.3s;
}

.wishlist-icon:hover {
    transform: scale(1.1);
    background: #fff0f3;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #fafafa;
}

.product-image-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe0e8, #fff0f3);
    font-size: 3rem;
}

.product-info { padding: 1rem; }
.product-name { 
    font-size: 1rem; 
    font-weight: 600; 
    margin-bottom: 0.3rem; 
    cursor: pointer;
    color: #1a1a1a;
}
.product-name:hover { color: #ff2d75; }

.product-price { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #ff2d75; 
    margin: 0.3rem 0; 
}

.product-price strike { 
    font-size: 0.8rem; 
    color: #999; 
    margin-right: 0.5rem; 
}

.product-category { 
    font-size: 0.7rem; 
    color: #aaa; 
    margin: 0.3rem 0; 
}

.product-rating { 
    font-size: 0.8rem; 
    color: #ffc107; 
    margin: 0.3rem 0; 
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    justify-content: center;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #ff2d75;
    color: white;
    border-color: #ff2d75;
}

.add-to-cart {
    width: 100%;
    padding: 0.7rem;
    background: #ff2d75;
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.add-to-cart:hover { 
    background: #e01a60; 
    transform: scale(1.02); 
}

/* ========== BUTTONS ========== */
.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #ff2d75;
    color: white;
}

.btn-primary:hover {
    background: #e01a60;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 1px solid #ff2d75;
    color: #ff2d75;
}

.btn-outline:hover {
    background: #ff2d75;
    color: white;
}

/* ========== WHATSAPP CHAT ========== */
.whatsapp-chat {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    margin: 2rem;
    padding: 2rem;
    border-radius: 28px;
    text-align: center;
    color: white;
}

.whatsapp-chat h3 { color: #25D366; margin-bottom: 0.5rem; }
.whatsapp-chat p { margin-bottom: 1rem; opacity: 0.8; }

.whatsapp-chat-btn {
    background: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-chat-btn:hover { transform: scale(1.05); background: #128C7E; }

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: #f5f5f5;
    padding: 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-card { text-align: center; }
.contact-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.contact-card h4 { color: #ff2d75; margin-bottom: 0.3rem; font-size: 0.9rem; }
.contact-card p, .contact-card a { color: #666; font-size: 0.8rem; text-decoration: none; }
.contact-card a:hover { color: #ff2d75; }

/* ========== CART PAGE ========== */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-table th, .cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th { background: #ff2d75; color: white; }

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

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-quantity input {
    width: 60px;
    padding: 0.3rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover { background: #cc0000; transform: scale(1.02); }

.cart-total {
    text-align: right;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-btn {
    background: #ff2d75;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.checkout-btn:hover { transform: scale(1.02); background: #e01a60; }

/* ========== FORMS ========== */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.form-container h2 {
    color: #ff2d75;
    margin-bottom: 1rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: #ff2d75;
    box-shadow: 0 0 0 2px rgba(255,45,117,0.1);
}

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

.modal-content {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-content h3 {
    color: #ff2d75;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.modal-close:hover { color: #ff2d75; }

/* Wishlist Modal Styles */
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.wishlist-item-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

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

.wishlist-item-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.wishlist-item-price {
    color: #ff2d75;
    font-weight: 500;
}

.wishlist-item-remove {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ff4444;
    transition: all 0.3s;
}

.wishlist-item-remove:hover { transform: scale(1.1); }

.empty-wishlist {
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 2rem;
    background: #1a1a1a;
    color: #888;
    font-size: 0.8rem;
    margin-top: 2rem;
}

/* ========== LOADING ========== */
.loading {
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* ========== ERROR & SUCCESS ========== */
.error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.success {
    color: #4caf50;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; }
    .logo-center { order: 1; }
    .nav-links { order: 2; width: 100%; justify-content: center; flex-wrap: wrap; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
    .product-image, .product-image-placeholder { height: 170px; }
    .cart-table { display: block; overflow-x: auto; }
    .whatsapp-chat { margin: 1rem; padding: 1.5rem; }
    .logo-image { height: 40px; }
    .logo-text h1 { font-size: 1rem; }
    .modal-content { width: 95%; padding: 1.5rem; }
}

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

.cart-icon:active { animation: pulse 0.2s ease; }
.add-to-cart:active { transform: scale(0.98); }