/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Professional Color Palette - Teal & Orange Theme */
:root {
    --primary-purple: #20BBBE;
    --primary-purple-light: #F57B20;
    --primary-purple-dark: #1A9A9D;
    --accent-green: #10B981;
    --accent-green-light: #34D399;
    --accent-green-dark: #059669;
    --dark-text: #1F2937;
    --light-text: #6B7280;
    --background-light: #F9FAFB;
    --background-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    min-height: 100vh;
    color: var(--dark-text);
    line-height: 1.6;
    padding-bottom: 80px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    color: var(--primary-purple);
    margin-right: 0.5rem;
}

.cart-icon-container {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.cart-icon-container:hover {
    background-color: rgba(107, 70, 193, 0.1);
}

.cart-icon-container i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.cart-badge.show {
    transform: scale(1);
}

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

.enquire-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #F57B20;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 123, 32, 0.3);
}

.enquire-btn:hover {
    background: #D66A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 123, 32, 0.4);
}

.enquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-green-light) 0%, var(--accent-green) 100%);
}

.enquire-btn:active {
    transform: translateY(0);
}

.enquire-btn i {
    font-size: 1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #F57B20;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 123, 32, 0.3);
}

.logout-btn:hover {
    background: #D66A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 123, 32, 0.4);
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-purple-light) 0%, var(--primary-purple) 100%);
}

.logout-btn:active {
    transform: translateY(0);
}

.logout-btn i {
    font-size: 1rem;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    margin-bottom: 80px;
}

.section {
    display: block;
    background: transparent;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    min-height: calc(100vh - 160px);
}

.section.active {
    display: block;
}

.section:not(#launch) {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
}

@media (min-width: 768px) {
    .section {
        max-width: 1200px;
        margin: 1rem auto 0 auto;
    }
}

.section-header {
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #e1e8ed;
    position: sticky;
    top: 70px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.view-btn:hover {
    background: #FFF5ED;
    color: #F57B20;
    border-color: #F57B20;
}

.view-btn.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.section-header h2 {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header h2 i {
    margin-right: 0.5rem;
}

/* Authentication Styles */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    margin: 2rem auto;
    box-shadow: var(--shadow-xl);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.otp-section {
    margin-top: 1rem;
    display: none;
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-purple);
}

.otp-display {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
}

/* Form Elements */
input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

input[type="tel"] {
    letter-spacing: 1px;
}

/* Button Styles */
button {
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
}

.btn-primary {
    background: #F57B20;
    color: white;
    border: 1px solid #F57B20;
    width: 100%;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    font-weight: 500;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(245, 123, 32, 0.3);
}

.btn-primary:hover {
    background: #D66A1A;
    border-color: #D66A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 123, 32, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
}

.btn-success {
    background: linear-gradient(45deg, #5cb85c, #449d44);
    color: white;
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: #ff4757;
    border: 2px solid #ff4757;
}

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

.btn-small {
    padding: 0.5rem;
    min-width: 40px;
    border-radius: 8px;
}

.btn-quantity {
    background: rgba(107, 70, 193, 0.1);
    color: var(--primary-purple);
    border: 1px solid rgba(107, 70, 193, 0.2);
    font-weight: 600;
    width: 35px;
    height: 35px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-quantity:hover {
    background: rgba(107, 70, 193, 0.2);
    border-color: rgba(107, 70, 193, 0.4);
    transform: scale(1.05);
}

.btn-quantity:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* View Toggle */
.view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.25rem;
}

.view-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: white;
    color: var(--primary-purple);
}

/* Categories Styles */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 100%;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-purple-light);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-purple), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--primary-purple);
}

.category-description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 300;
}

.category-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-text);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Combined Launch & Auth Screen Styles */
.launch-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: white;
    padding: 2rem;
    position: relative;
}

.launch-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
}

.company-branding {
    margin-bottom: 4rem;
    text-align: center;
}

/* Logo Styles */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.main-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-icon {
    position: relative;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a24);
    border-radius: 16px;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(255, 107, 107, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-icon i {
    font-size: 28px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-accent {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    background: linear-gradient(145deg, #ffd32a, #ff9800);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 211, 42, 0.4);
}

.company-name {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.company-name::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-dark));
    border-radius: 2px;
}

.main-slogan {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem 0;
    line-height: 1.6;
    letter-spacing: 0.3px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.business-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 20px;
}

.category-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-form {
    margin-bottom: 3rem;
}

.phone-input-fluid {
    width: 100%;
    padding: 1.2rem 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    background: transparent;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.phone-input-fluid::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.phone-input-fluid:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

.send-otp-btn-fluid {
    width: 100%;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    letter-spacing: 0.5px;
}

.send-otp-btn-fluid:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.otp-section-fluid {
    margin-top: 2rem;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.otp-display-fluid {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.otp-input-fluid {
    width: 100%;
    padding: 1.2rem 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.3rem;
    background: transparent;
    color: white;
    text-align: center;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.otp-input-fluid::placeholder {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    font-weight: 300;
}

.otp-input-fluid:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

.verify-otp-btn-fluid {
    width: 100%;
    padding: 1.2rem 2rem;
    background: rgba(76, 175, 80, 0.2);
    color: white;
    border: 2px solid rgba(76, 175, 80, 0.5);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    letter-spacing: 0.5px;
}

.verify-otp-btn-fluid:hover {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Firebase reCAPTCHA styling */
#recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

#recaptcha-container > div {
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.4;
}

.terms-link {
    color: white;
    text-decoration: underline;
}

/* Tablet/Medium screens */
@media (max-width: 768px) {
    .launch-content {
        max-width: 600px;
    }
    
    .main-logo {
        width: 130px;
        height: 130px;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .main-slogan {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive Design for Launch Screen */
@media (max-width: 480px) {
    .launch-content {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .main-logo {
        width: 120px;
        height: 120px;
    }
    
    .company-name {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .main-slogan {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .business-categories {
        gap: 8px;
    }
    
    .category-badge {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .company-branding {
        margin-bottom: 3rem;
    }
    
    .phone-input-fluid,
    .otp-input-fluid {
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .otp-input-fluid {
        font-size: 1.1rem;
        letter-spacing: 6px;
    }
    
    .send-otp-btn-fluid,
    .verify-otp-btn-fluid {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .terms-text {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 360px) {
    .company-name {
        font-size: 2.4rem;
    }
    
    .main-slogan {
        font-size: 1rem;
    }
    
    .otp-input-fluid {
        letter-spacing: 4px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0.6rem;
    }
    
    .category-card {
        padding: 0.8rem 0.5rem;
        min-height: 90px;
    }
    
    .category-icon {
        font-size: 1.6rem;
        height: 35px;
    }
    
    .category-name {
        font-size: 0.75rem;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0.6rem;
    }
    
    .product-card {
        padding: 0.8rem 0.5rem;
        min-height: 130px;
    }
    
    .product-image {
        height: 60px;
        font-size: 1.6rem;
    }
    
    .product-name {
        font-size: 0.75rem;
    }
    
    .product-price {
        font-size: 0.85rem;
    }
    
    .btn-quantity {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .quantity-display {
        min-width: 30px;
        font-size: 0.8rem;
    }
}

.back-btn-auth {
    background: transparent;
    border: none;
    color: #F57B20;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.back-btn-auth:hover {
    background: rgba(245, 123, 32, 0.1);
}

/* Address Form Improvements */
.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-purple);
    padding-bottom: 0.5rem;
}

.form-section label {
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.form-section input,
.form-section select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-section input:focus,
.form-section select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

/* Smaller text for category and product cards */
.category-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.category-card p {
    font-size: 0.75rem !important;
    margin: 0;
    color: #666;
}

.product-card h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.product-card .product-price {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: var(--primary-purple);
}

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

/* Category specific colors */
.category-card.bakery .category-icon { color: #d4a574; }
.category-card.dairy .category-icon { color: #74c0fc; }
.category-card.pulses .category-icon { color: #8ce99a; }
.category-card.rice .category-icon { color: #ffd43b; }
.category-card.snacks .category-icon { color: #ff8cc8; }
.category-card.spices .category-icon { color: #ff6b6b; }
.category-card.frozen .category-icon { color: #51cf66; }

/* Product Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalog-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

/* List View */
.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(107, 70, 193, 0.2);
}

/* List View Product Card */
.catalog-list .product-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.catalog-list .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.catalog-list .product-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.catalog-list .product-info {
    flex: 1;
    margin-right: 15px;
}

.catalog-list .product-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.catalog-list .product-price {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.catalog-list .quantity-controls {
    flex-shrink: 0;
    align-items: center;
}

.product-card.list-view {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.product-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.product-card.list-view .product-image {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 2rem;
}
}

.product-info {
    flex-grow: 1;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.product-card.list-view .product-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.product-card.list-view .product-price {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 20px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--dark-text);
}

.add-to-cart {
    background: rgba(107, 70, 193, 0.15);
    color: var(--primary-purple);
    border: 1px solid rgba(107, 70, 193, 0.3);
    backdrop-filter: blur(20px);
    flex-grow: 1;
    padding: 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Product Images with Gradients */
.product-image.bread { background: linear-gradient(135deg, #d7ccc8 0%, #a1887f 100%); }
.product-image.milk { background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%); }
.product-image.eggs { background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); }
.product-image.cheese { background: linear-gradient(135deg, #fff9c4 0%, #fff176 100%); }
.product-image.pulses { background: linear-gradient(135deg, #e8f5e8 0%, #81c784 100%); }
.product-image.rice { background: linear-gradient(135deg, #fffde7 0%, #fff176 100%); }
.product-image.snacks { background: linear-gradient(135deg, #fce4ec 0%, #f48fb1 100%); }
.product-image.spices { background: linear-gradient(135deg, #ffebee 0%, #ef5350 100%); }
.product-image.frozen { background: linear-gradient(135deg, #e0f2f1 0%, #4db6ac 100%); }

/* Fluid Cart Styles */
.cart-items {
    background: transparent;
    margin: 1.5rem;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-bottom: 1rem;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(107, 70, 193, 0.1);
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--primary-purple);
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Modern Cart Item Styles */
.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.item-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(107, 70, 193, 0.1);
    overflow: hidden;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
}

.item-details p {
    margin: 0;
    color: var(--primary-purple);
    font-weight: 500;
    font-size: 0.9rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid #F57B20;
    background: white;
    color: #F57B20;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.quantity-btn:hover {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 90px;
    height: 36px;
    text-align: center;
    border: 2px solid var(--primary-purple-light);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0 4px;
}

.quantity-input:hover {
    border-color: var(--primary-purple);
    background: rgba(107, 70, 193, 0.05);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
    background: white;
}

/* Hide spinner buttons in number input */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.item-total {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
}

.cart-summary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2rem 1.5rem;
    margin: 1.5rem;
}

.customer-details {
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(107, 70, 193, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.input-group input[type="email"]:invalid {
    border-color: #ff6b6b;
}

.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(107, 70, 193, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    resize: vertical;
    min-height: 80px;
}

.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.input-help {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.input-error {
    display: block;
    margin-top: 0.5rem;
    color: #ff4757;
    font-size: 0.85rem;
    font-weight: 500;
}

.total-amount {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.2);
    color: var(--dark-text);
}

.cart-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

/* Fluid Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    margin: 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(107, 70, 193, 0.3);
    margin-bottom: 1.5rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Address Form */
.address-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.order-confirm-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Fluid Orders */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.order-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.order-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
}

.order-info {
    flex-grow: 1;
}

.order-id {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 300;
}

.order-phone {
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.confirmed { background: #e8f5e8; color: #2e7d32; }
.order-status.processing { background: #fff3e0; color: #f57c00; }
.order-status.shipped { background: #e3f2fd; color: #1976d2; }
.order-status.delivered { background: #e8f5e8; color: #388e3c; }
.order-status.cancelled { background: #ffebee; color: #d32f2f; }

.order-total {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1.1rem;
    text-align: right;
}

.order-address {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-purple);
}

.order-address-title {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.order-address-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.order-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Order Tracking Info */
.order-tracking {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f2f5;
}

.tracking-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
}

.tracking-info i {
    color: var(--primary-purple);
}

/* Admin Orders */
.admin-controls {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-filter {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.admin-orders .order-item {
    border-left: 4px solid var(--primary-purple);
}

/* Admin Access Restrictions */
.admin-only {
    display: none;
}

.admin-user .admin-only {
    display: block;
}

/* Profile */
.profile-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.profile-avatar {
    font-size: 4rem;
    color: var(--primary-purple);
}

.profile-details h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.profile-details p {
    color: #666;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-actions button {
    flex: 1;
    min-width: 120px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.875rem 0.5rem;
    background: transparent;
    color: #6b7280;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.nav-item.active {
    color: #20BBBE;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #20BBBE 0%, #F57B20 100%);
    border-radius: 0 0 3px 3px;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    transition: transform 0.2s ease;
}

.nav-item.active i {
    transform: scale(1.1);
}

.nav-item span:not(.nav-badge) {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-badge {
    position: absolute;
    top: 0.3rem;
    right: 50%;
    transform: translateX(0.6rem);
    background: #ff4757;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.nav-badge.show {
    opacity: 1;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    z-index: 2000;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
}

.toast.loading {
    background: rgba(107, 70, 193, 0.9);
}

.toast .fa-spinner {
    animation: spin 1s linear infinite;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--primary-purple);
}

.loading-spinner i {
    font-size: 2rem;
}

/* Network Status Indicator */
.network-status {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1000;
    display: none;
}

.network-status.online {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.network-status.offline {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
    display: block;
}

/* Sync Status Indicators */
.sync-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #666;
}

.sync-status.synced {
    color: #28a745;
}

.sync-status.pending {
    color: #ffc107;
}

.sync-status.failed {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    
    .enquire-btn span {
        display: none;
    }
    
    .enquire-btn {
        padding: 0.6rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .logout-btn span {
        display: none;
    }
    
    .logout-btn {
        padding: 0.6rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .header-right {
        gap: 0.5rem;
    }
    
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
    
    .category-card {
        padding: 0.75rem;
    }
    
    .category-icon {
        font-size: 2rem;
        height: 40px;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .catalog-controls {
        justify-content: space-between;
        width: 100%;
    }
    
    .cart-actions {
        grid-template-columns: 1fr;
    }
    
    .view-toggle {
        align-self: center;
    }
    
    .product-card.list-view {
        flex-direction: column;
        text-align: center;
    }
    
    .product-card.list-view .product-image {
        width: 100%;
        height: 120px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .category-card {
        padding: 0.5rem;
    }
    
    .category-icon {
        font-size: 1.5rem;
        height: 30px;
    }
    
    .category-name {
        font-size: 0.8rem;
    }
    
    .category-card h3 {
        font-size: 0.75rem !important;
    }
    
    .category-card p {
        font-size: 0.65rem !important;
    }
    
    .product-card h3 {
        font-size: 0.7rem !important;
    }
    
    .product-card .product-price {
        font-size: 0.65rem !important;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .product-card {
        padding: 0.5rem;
    }
    
    .product-image {
        height: 80px;
        font-size: 1.5rem;
    }
    
    .cart-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-controls {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .search-filter {
        grid-template-columns: 1fr;
    }
    
    .order-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        flex-direction: column;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

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

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mobile Grid View Improvements */
@media (max-width: 768px) {
    .container {
        padding: 0;
        margin-bottom: 80px;
    }
    
    .section:not(#launch) {
        background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
        min-height: 100vh;
    }
    
    .modern-header {
        padding: 1.5rem 1rem;
        border-radius: 0 0 25px 25px;
    }
    
    .header-title {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 0.9rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .category-card {
        padding: 1.2rem 0.8rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .category-icon {
        font-size: 2rem;
        height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .category-name {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .category-description {
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }
    
    /* Mobile Catalog Grid */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .product-card {
        padding: 1rem 0.8rem;
        min-height: 160px;
    }
    
    .product-image {
        height: 80px;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .product-name {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .product-price {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .quantity-controls {
        padding: 0.3rem;
        gap: 0.3rem;
    }
    
    .btn-quantity {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .quantity-display {
        min-width: 35px;
        font-size: 0.9rem;
    }
}
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .catalog-list .product-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .catalog-list .product-image {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .catalog-list .product-info {
        margin-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .catalog-list .quantity-controls {
        width: 100%;
        justify-content: center;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .auth-card {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .address-form {
        padding: 15px;
    }
    
    .address-form input,
    .address-form select {
        margin-bottom: 12px;
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .bottom-nav {
        height: 70px;
        padding: 5px 0;
    }
    
    .nav-item {
        padding: 8px 5px;
    }
    
    .nav-item i {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .nav-item span:not(.nav-badge) {
        font-size: 0.7rem;
    }

@media (max-width: 480px) {
    .launch-content {
        padding: 0 1.5rem;
    }
    
    .company-name {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .main-slogan {
        font-size: 1.1rem;
    }
    
    .company-branding {
        margin-bottom: 3rem;
    }
    
    /* Mobile Kurv Logo Adjustments */
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        margin-right: 0.8rem;
        border-radius: 14px;
    }
    
    .logo-icon i {
        font-size: 24px;
    }
    
    .logo-accent {
        width: 14px;
        height: 14px;
        top: -2px;
        right: -2px;
    }
    
    .company-name {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .modern-header {
        padding: 1.2rem 0.8rem;
    }
    
    .header-title {
        font-size: 1.6rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .category-card {
        padding: 1rem 0.6rem;
        min-height: 100px;
    }
    
    .category-icon {
        font-size: 1.8rem;
        height: 40px;
    }
    
    .category-name {
        font-size: 0.8rem;
    }
    
    .category-description {
        font-size: 0.65rem;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .product-card {
        padding: 0.8rem 0.6rem;
        min-height: 140px;
    }
    
    .product-image {
        height: 70px;
        font-size: 1.8rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .cart-items {
        margin: 0.8rem;
    }
    
    .cart-item {
        padding: 1rem 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .item-controls {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .quantity-input {
        width: 75px;
        height: 32px;
        font-size: 0.8rem;
        padding: 0 2px;
    }
    
    .item-total {
        min-width: 70px;
        font-size: 0.9rem;
    }
    
    .cart-summary {
        margin: 0.8rem;
        padding: 1.2rem;
    }
    
    .orders-list {
        padding: 0.8rem;
        gap: 1rem;
    }
    
    .order-item {
        padding: 1.2rem;
    }
    
    .profile-content {
        padding: 0.8rem;
    }
    
    .profile-header {
        padding: 1.5rem 1rem;
    }
    
    .profile-avatar {
        font-size: 3rem;
        margin-right: 1rem;
    }
    
    .profile-info h2 {
        font-size: 1.3rem;
    }
    
    .detail-item {
        padding: 1rem;
    }
    
    .profile-actions {
        padding: 1.5rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .nav-item span:not(.nav-badge) {
        font-size: 0.65rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
}

/* Fluid Header Styles */
.modern-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: white;
    padding: 2rem 1.5rem;
    position: relative;
    border: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.header-title {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    letter-spacing: -1px;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-weight: 300;
}

.view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    gap: 4px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.view-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-btn {
    background: #F57B20;
    border: 1px solid #F57B20;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #D66A1A;
    border-color: #D66A1A;
    transform: translateY(-1px);
}

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

.modern-back {
    background: #f8f9fa;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #495057;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.2s ease;
}

.modern-back:hover {
    background: #e9ecef;
    color: #212529;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 60px;
    z-index: 999;
}

/* Professional Grid and List Views */
.categories-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.categories-grid.list-view .category-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    text-align: left;
}

.categories-grid.list-view .category-card .category-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-bottom: 0;
}

.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.catalog-list .product-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    text-align: left;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.catalog-list .product-card .product-image {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.catalog-list .product-card .product-info {
    flex: 1;
    text-align: left;
}

.catalog-list .product-card .quantity-controls {
    margin-left: 1rem;
    margin-top: 0;
}

/* Fluid Profile Styles */
.profile-content {
    padding: 1.5rem;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    overflow: hidden;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: white;
    position: relative;
    text-align: center;
}

.company-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.company-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 15px;
    border-radius: 20px;
}

.company-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.company-tagline {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.profile-avatar {
    font-size: 3.5rem;
    margin-right: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.profile-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.profile-info p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.profile-details {
    padding: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(107, 70, 193, 0.05);
}

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

.detail-item i {
    font-size: 1.3rem;
    color: var(--primary-purple);
    margin-right: 1.5rem;
    width: 24px;
    text-align: center;
}

.detail-content {
    flex: 1;
}

.detail-content label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content span {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 400;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(248, 249, 250, 0.5);
}

.btn-secondary {
    flex: 1;
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
    padding: 1rem;
    border-radius: 25px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    flex: 1;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 1rem;
    border-radius: 25px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
}

/* Mobile Profile Styles */
@media (max-width: 768px) {
    .profile-header {
        padding: 1rem;
    }
    
    .profile-avatar {
        font-size: 2.5rem;
    }
    
    .profile-info h2 {
        font-size: 1.1rem;
    }
    
    .detail-item {
        padding: 0.75rem 1rem;
    }
    
    .profile-actions {
        padding: 1rem;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .profile-content {
        padding: 1rem;
    }
    
    .profile-header {
        padding: 0.75rem;
    }
    
    .profile-avatar {
        font-size: 2rem;
        margin-right: 0.75rem;
    }
    
    .profile-info h2 {
        font-size: 1rem;
    }
    
    .profile-info p {
        font-size: 0.8rem;
    }
    
    .detail-item {
        padding: 0.5rem 0.75rem;
    }
    
    .detail-item i {
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .detail-content label {
        font-size: 0.75rem;
    }
    
    .detail-content span {
        font-size: 0.85rem;
    }
    
    /* Launch screen mobile */
    .launch-screen {
        padding: 1rem;
    }
    
    .app-logo {
        font-size: 3rem;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .launch-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}/* Professional Header */
.pro-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #20BBBE;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 8px;
}

.nav-link:hover {
    color: #20BBBE;
    background: rgba(32, 187, 190, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #F57B20;
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Navigation */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-item-dropdown .nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.75rem;
    border: 1px solid rgba(32, 187, 190, 0.1);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.875rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-item:hover {
    background: rgba(32, 187, 190, 0.08);
    color: #20BBBE;
    border-left-color: #20BBBE;
    padding-left: 1.75rem;
}

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

.brand-logo {
    height: 80px;
}

.brand-text h1 {
    font-size: 1.75rem;
    color: #000000;
    margin: 0;
    white-space: nowrap;
}

.brand-text p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.cart-btn {
    position: relative;
    background: #F57B20;
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 123, 32, 0.3);
}

.cart-btn:hover {
    background: #D66A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 123, 32, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-close {
    display: none;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #20BBBE 0%, #F57B20 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin: 2rem 1rem;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Services Container */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #20BBBE, #F57B20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.explore-btn {
    background: transparent;
    border: 2px solid #F57B20;
    color: #F57B20;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: #F57B20;
    color: white;
}

/* Company Highlights */
.company-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 2rem auto;
    background: white;
    border-radius: 15px;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
}

.highlight-item i {
    font-size: 3rem;
    color: #20BBBE;
    margin-bottom: 1rem;
}

.highlight-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.highlight-item p {
    color: #666;
}

/* Content Wrapper for Details Pages */
.content-wrapper {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-detail-card, .solution-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-detail-card:hover, .solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-detail-card i, .solution-card i {
    font-size: 2.5rem;
    color: #20BBBE;
    margin-bottom: 1rem;
}

.service-detail-card h3, .solution-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-detail-card p, .solution-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .hero-banner {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .company-highlights {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    /* Mobile Header Styles */
    .header-wrapper {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .brand-section {
        gap: 0.5rem;
        flex-shrink: 1;
        order: 1;
    }
    
    .brand-text h1 {
        font-size: 1rem;
    }
    
    .brand-text p {
        display: none;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .mobile-menu-toggle {
        order: 2;
        flex-shrink: 0;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        gap: 0.5rem !important;
        margin-top: 0.5rem;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem 2rem;
        gap: 0;
        justify-content: flex-start;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .main-nav.mobile-active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        justify-content: space-between;
        color: #333;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-item-dropdown {
        width: 100%;
    }
    
    .nav-item-dropdown .nav-link {
        white-space: normal;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f9f9f9;
        display: none;
    }
    
    .nav-item-dropdown.mobile-open .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Header Actions - Mobile Button Optimization */
    .header-actions {
        gap: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .cart-btn {
        padding: 0.6rem 0.8rem !important;
        font-size: 1rem !important;
        min-width: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }
    
    .cart-btn span:not(.cart-count) {
        display: none !important;
    }
    
    .cart-btn i {
        margin: 0 !important;
        font-size: 1.1rem;
    }
    
    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cart-btn:nth-child(2) {
        position: relative;
    }
    
    /* Hamburger Menu */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .mobile-menu-close {
        display: block !important;
    }
}

/* Product Details Page */
.product-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.product-details-main {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.product-details-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-image-large {
    font-size: 150px;
    text-align: center;
    width: 100%;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-image-large:hover {
    transform: scale(1.02);
}

.product-image-large img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: zoom-in;
}

/* Image Zoom Modal */
.image-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(3px);
}

.image-zoom-modal.active {
    display: flex;
}

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

.image-zoom-modal img {
    max-width: 70%;
    max-height: 80%;
    object-fit: contain;
    cursor: zoom-out;
    animation: zoomIn 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: white;
    padding: 10px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.image-zoom-close:hover {
    background: #f44336;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.product-make {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #20BBBE;
}

.product-unit {
    font-size: 1.125rem;
    color: #666;
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.product-specifications {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
}

.product-specifications h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.spec-item i {
    color: #20BBBE;
    margin-top: 0.25rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #666;
}

.meta-item i {
    color: #20BBBE;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.quantity-controls-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.qty-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #F57B20;
    font-size: 1rem;
}

.qty-btn:hover {
    background: #F57B20;
    color: white;
    transform: scale(1.1);
}

.quantity-display {
    font-size: 1.5rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.btn-add-to-cart {
    flex: 1;
    background: #20BBBE;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart:hover {
    background: #1A9A9D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

@media (max-width: 968px) {
    .product-details-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .product-image-large {
        font-size: 100px;
    }
    
    .product-name {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-controls-large {
        width: 100%;
        justify-content: center;
    }
}

/* Single Page Application Styles */
html {
    scroll-behavior: smooth;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section.alt-bg {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #20BBBE;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: none;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: #20BBBE;
    margin: 0 auto;
    border-radius: 2px;
}

/* Specific section title colors - all main sections in orange */
#trading-showcase .section-title,
#about .section-title,
#services .section-title,
#products .section-title {
    color: #F57B20;
}

#trading-showcase .title-underline,
#about .title-underline,
#services .title-underline,
#products .title-underline {
    background: #F57B20;
}

/* About Section */
.content-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #20BBBE;
    margin-bottom: 1.5rem;
}

/* Subsections within About */
.subsection {
    margin-top: 3rem;
    padding-top: 2rem;
}

.subsection-title {
    font-size: 1.75rem;
    color: #20BBBE;
    margin-bottom: 1rem;
    font-weight: 600;
}

.subsection .title-underline {
    background: #20BBBE;
}

/* Ensure teal color for icons and accents */
.vm-icon,
.achievement-icon,
.why-icon {
    color: #20BBBE !important;
}

.achievement-card h3 {
    color: #20BBBE !important;
}

/* Ensure orange is used only for buttons and gradients */
.explore-btn {
    background: #F57B20;
}

.explore-btn:hover {
    background: #D66A1A;
}

.cart-btn {
    background: #F57B20;
}

.cart-btn:hover {
    background: #D66A1A;
}

/* Vision & Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.vm-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
}

.vm-icon {
    font-size: 3rem;
    color: #20BBBE;
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.achievement-icon {
    font-size: 2.5rem;
    color: #20BBBE;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    font-size: 1.3rem;
    color: #20BBBE;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.achievement-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.15);
}

.service-icon-small {
    font-size: 2rem;
    color: #20BBBE;
    background: #EFF6FF;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-custom {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card-custom:hover {
    transform: translateY(-8px);
    border-color: #20BBBE;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.2);
}

.product-icon-custom {
    font-size: 3rem;
    color: #20BBBE;
    margin-bottom: 1rem;
}

.product-card-custom h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-card-custom p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Trading Grid */
.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.trading-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.trading-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.15);
}

.trading-card i {
    font-size: 2.5rem;
    color: #20BBBE;
    margin-bottom: 1rem;
}

.trading-card h4 {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

/* Why Us Section */
.why-us-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.2);
}

.why-icon {
    font-size: 3rem;
    color: #20BBBE;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.why-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: #20BBBE;
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 2rem;
    box-shadow: 0 8px 30px rgba(32, 187, 190, 0.3);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section > p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    font-style: italic;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-info-item i {
    font-size: 2rem;
    opacity: 0.9;
}

.contact-info-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-nav {
        display: none;
    }
    
    .header-wrapper {
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .vm-card, .product-card-custom {
        padding: 1.5rem;
    }
    
    .hero-content {
        flex-direction: column !important;
    }
}

@media (max-width: 600px) {
    .brand-text h1 {
        font-size: 1.3rem;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .achievements-grid,
    .products-grid,
    .trading-grid {
        grid-template-columns: 1fr;
    }
    
    .scrolling-banner {
        font-size: 0.9rem;
    }
}

/* Scrolling Banner Animation */
.scrolling-banner {
    background: #20BBBE;
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 4px 12px rgba(32, 187, 190, 0.2);
}

.banner-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    padding-left: 100%;
}

.banner-text {
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0 2rem;
}

.banner-separator {
    margin: 0 2rem;
    opacity: 0.6;
    font-size: 1.5rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Enhanced Professional Styling */
.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 400;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #20BBBE;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
    border-color: #20BBBE;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(32, 187, 190, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #20BBBE;
    transition: all 0.4s ease;
    border: 2px solid rgba(32, 187, 190, 0.2);
}

.service-card:hover .service-icon {
    background: #20BBBE;
    color: white;
    transform: scale(1.1) rotate(5deg);
    border-color: #20BBBE;
}

.service-card h2 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.explore-btn {
    background: #F57B20;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(245, 123, 32, 0.3);
}

.explore-btn:hover {
    background: #D66A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 123, 32, 0.4);
}

.explore-btn i {
    transition: transform 0.3s ease;
}

.explore-btn:hover i {
    transform: translateX(5px);
}

/* Enhanced Container */
.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.section {
    background: #ffffff;
}

/* Professional Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
