/* Khavho Groups - Main Website Styles */

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

:root {
    --primary-orange: #F37021;
    --secondary-black: #000000;
    --accent-orange-light: #FF8C42;
    --dark-charcoal: #2d3748;
    --light-gray: #f7fafc;
    --medium-gray: #718096;
    --border-gray: #e2e8f0;
    --success-green: #38a169;
    --error-red: #e53e3e;
    --warning-yellow: #d69e2e;
    --white: #ffffff;
    --black: #000000;
    
    /* Legacy support - map old variables to new color scheme */
    --primary-navy: #000000;
    --secondary-orange: #F37021;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

main {
    margin: 0;
    padding: 0;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

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

.section-padding {
    padding: 120px 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-top {
    background: var(--black);
    color: var(--white);
    padding: 6px 0;
    font-size: 13px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-main {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    gap: 2rem;
    min-height: 60px;
    position: relative;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 10;
    margin-right: auto;
    flex: 0 0 auto;
}

.logo-icon {
    width: 160px;
    height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--black);
    overflow: visible;
    position: relative;
    flex-shrink: 0;
    margin-right: auto;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.logo span {
    color: var(--secondary-orange);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--white);
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.nav-link.active {
    color: var(--white);
    font-weight: 700;
    background: var(--primary-orange);
    box-shadow: 0 3px 10px rgba(243, 112, 33, 0.4);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 20px 0;
}

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

/* Mobile: Disable hover behavior for dropdowns */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
    
    /* Only show dropdown when explicitly activated */
    .dropdown.mobile-active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-gray);
}

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

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-orange);
    padding-left: 35px;
}

.dropdown-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.dropdown-item small {
    color: var(--black);
    font-size: 13px;
    opacity: 0.7;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-btn {
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.login-btn {
    background: transparent;
    color: var(--secondary-black);
    border-color: var(--secondary-black);
}

.login-btn:hover {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

/* User Profile Display */
.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-black) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(243, 112, 33, 0.1);
    border: 1px solid rgba(243, 112, 33, 0.3);
}

.user-profile * {
    color: var(--secondary-black) !important;
}

.user-profile .user-email,
.user-profile .user-name {
    color: var(--secondary-black) !important;
}

.user-profile .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.logout-btn {
    background: transparent;
    color: var(--secondary-black);
    border-color: #dc3545;
    font-size: 12px;
    padding: 6px 12px;
}

.logout-btn:hover {
    background: #dc3545;
    color: white;
}

.login-btn:hover {
    background: var(--black);
    color: var(--white);
}

.register-btn {
    background: var(--primary-orange);
    color: white;
}

.register-btn:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Hide mobile auth buttons on desktop */
.mobile-auth {
    display: none;
}

.mobile-cart-item {
    display: none;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-email {
    color: var(--secondary-black) !important;
    font-size: 14px;
    font-weight: 500;
}

.logout-btn {
    background: var(--primary-orange);
    color: white;
}

.logout-btn:hover {
    background: var(--accent-orange-light);
}

.logout-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.4);
}

/* Admin Badge Styles */
.admin-badge {
    background: var(--accent-gold);
    color: var(--black);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-btn {
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.admin-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.cart-icon {
    position: relative;
    color: var(--black);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    color: var(--primary-orange);
    transform: scale(1.1);
}

.cart-icon:hover {
    color: var(--secondary-orange);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cta-button {
    background: var(--primary-orange);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Hamburger Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #000000;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--secondary-orange);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--secondary-orange);
}

/* ===== PAGE CONTENT AREAS ===== */
.page-content {
    display: none;
    min-height: 100vh;
    padding-top: 120px;
}

.page-content.active {
    display: block;
}

/* ===== HOME PAGE ===== */
.hero-section {
    min-height: 100vh;
    margin-top: 0;
    padding-top: 120px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(243, 112, 33, 0.8) 50%, 
        rgba(212, 175, 55, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect width="1200" height="800" fill="%231a365d"/><circle cx="200" cy="200" r="150" fill="%23F37021" opacity="0.1"/><circle cx="1000" cy="600" r="200" fill="%23d4af37" opacity="0.1"/><rect x="600" y="100" width="300" height="300" fill="%23F37021" opacity="0.05" transform="rotate(45 750 250)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 40px 1rem 2rem 1rem;
    width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

.btn-outline:hover {
    background: var(--black);
    color: white;
    border-color: var(--black);
}

/* Hero Stats */
.hero-stats {
    position: relative;
    margin-top: auto;
    z-index: 2;
    padding: 40px 20px 20px 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    min-width: 150px;
    flex: 0 0 auto;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-orange);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== SUBSIDIARIES SECTION ===== */
.subsidiaries-section {
    background: var(--light-gray);
    margin-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: var(--secondary-orange);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--black);
}

.section-description {
    font-size: 20px;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.subsidiary-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.subsidiary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 112, 33, 0.1), transparent);
    transition: left 0.6s ease;
}

.subsidiary-card:hover::before {
    left: 100%;
}

.subsidiary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.subsidiary-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.subsidiary-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--black), var(--secondary-orange));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.subsidiary-info h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 5px;
}

.subsidiary-info .industry {
    color: var(--medium-gray);
    font-size: 14px;
    font-weight: 500;
}

.subsidiary-description {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.subsidiary-features {
    list-style: none;
    margin-bottom: 30px;
}

.subsidiary-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-charcoal);
    font-size: 14px;
}

.subsidiary-features li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: bold;
}

.subsidiary-button {
    background: var(--black);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.subsidiary-button:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}

/* ===== PRODUCTS SECTION (E-COMMERCE) ===== */
.products-section {
    background: white;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 12px;
    border: 2px solid var(--border-gray);
    background: white;
    color: var(--dark-charcoal);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--secondary-orange);
    background: var(--secondary-orange);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    height: auto;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-orange);
}

.product-image {
    height: 140px;
    background: linear-gradient(135deg, var(--light-gray), var(--border-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--medium-gray);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.badge-success {
    background: var(--success-green);
}

.product-badge.badge-danger {
    background: var(--error-red);
}

.product-badge.badge-warning {
    background: var(--warning-yellow);
}

.product-badge.badge-info {
    background: var(--secondary-orange);
}

.product-stock {
    color: var(--medium-gray);
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 3px;
    line-height: 1.2;
    min-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.product-description {
    color: var(--text-dark);
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
    font-weight: 400;
    max-height: 32px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
    flex-shrink: 0;
    padding-bottom: 2px;
}

.product-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0;
    padding: 2px 5px;
    background: rgba(243, 112, 33, 0.07);
    border-radius: 4px;
    border-left: 3px solid var(--primary-orange);
    display: inline-block;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-price:hover {
    background: rgba(243, 112, 33, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(243, 112, 33, 0.2);
}

.product-actions {
    display: flex;
    gap: 4px;
    flex-direction: row;
    flex-shrink: 0;
    min-height: 26px;
}

.add-to-cart-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 9px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 26px;
    white-space: nowrap;
    flex: 1;
}

.add-to-cart-btn i {
    width: 11px;
    height: 11px;
}

.request-quote-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 9px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 26px;
    white-space: nowrap;
    flex: 1;
}

.request-quote-btn i {
    width: 11px;
    height: 11px;
}

.add-to-cart-btn i {
    width: 14px;
    height: 14px;
}

.add-to-cart-btn:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.add-to-cart-btn.unavailable {
    background: var(--medium-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

.add-to-cart-btn.unavailable:hover {
    background: var(--medium-gray);
    transform: none;
    box-shadow: none;
}

.add-to-cart {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.add-to-cart:hover {
    background: var(--black);
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    background: linear-gradient(135deg, var(--black), var(--secondary-orange));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--black);
}

.about-text p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--light-gray), var(--border-gray));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--medium-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--black);
}

.value-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== SERVICES PAGE ===== */
.services-hero {
    background: var(--light-gray);
    text-align: center;
    padding: 160px 0 80px 0; /* Added top padding for fixed header */
    margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--black), var(--secondary-orange));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 40px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--black);
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--dark-charcoal);
    font-size: 14px;
}

.service-features li::before {
    content: '→';
    color: var(--secondary-orange);
    font-weight: bold;
}

/* ===== SOLUTIONS PAGE ===== */
.solutions-hero {
    background: linear-gradient(135deg, var(--black), var(--primary-orange));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.solutions-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.solution-category {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.solution-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.solution-category h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--black);
}

.solution-category p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    background: var(--light-gray);
    padding-top: 160px !important; /* Account for fixed header */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--black);
}

.contact-info p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--dark-charcoal);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-orange);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

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

.submit-btn {
    background: var(--secondary-orange);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #e55a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.4);
}

/* ===== CREATIVE ANIMATIONS ===== */

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(243, 112, 33, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Animation */
.success-animation {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Error Animation */
.error-animation {
    animation: shakeError 0.6s ease-in-out;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Creative Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-orange);
    color: var(--secondary-black);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    min-width: 300px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--secondary-black);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: #28a745;
    color: white;
    border-left-color: white;
}

.notification.error {
    background: #dc3545;
    color: white;
    border-left-color: white;
}

.notification.loading {
    background: var(--primary-orange);
    color: var(--secondary-black);
    border-left-color: var(--secondary-black);
}

.notification.info {
    background: var(--primary-orange);
    color: var(--secondary-black);
    border-left-color: var(--secondary-black);
}

.notification-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

.notification-content {
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}

.notification-content strong {
    color: inherit;
    font-weight: bold;
}

/* Pulse Animation for Cart Icon */
.cart-pulse {
    animation: pulse 0.6s ease-in-out;
}

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

/* Slide In Animation for Products */
.product-card {
    animation: slideInUp 0.6s ease-out;
}

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

/* Button Click Animation */
.btn-click {
    animation: buttonClick 0.3s ease-in-out;
}

@keyframes buttonClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Checkout Modal Styles */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.checkout-modal.show {
    display: flex;
}

.checkout-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideInScale 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

@keyframes slideInScale {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Progress Bar Animation */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Checkout Modal Styles */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.checkout-modal.show {
    display: flex;
}

.checkout-content {
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInScale 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkout-header {
    background: var(--primary-orange);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header h2 {
    margin: 0;
    font-size: 24px;
}

.checkout-header .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.checkout-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.checkout-progress {
    padding: 20px 30px 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.progress-steps .step {
    color: #ccc;
    font-weight: 500;
    font-size: 14px;
}

.progress-steps .step.active {
    color: var(--primary-orange);
    font-weight: bold;
}

.checkout-body {
    padding: 30px;
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
    animation: slideInUp 0.4s ease-out;
}

.checkout-step h3 {
    margin: 0 0 20px 0;
    color: var(--secondary-black);
    font-size: 20px;
}

.checkout-items {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.checkout-item-details h4 {
    margin: 0 0 5px 0;
    color: var(--secondary-black);
}

.checkout-item-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.checkout-item-price {
    font-weight: bold;
    color: var(--primary-orange);
}

.checkout-totals {
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-bottom: 30px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.total-line.final {
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-orange);
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-form {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.payment-options {
    margin-bottom: 30px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-orange);
    background: rgba(243, 112, 33, 0.05);
}

.payment-option.selected {
    border-color: var(--primary-orange);
    background: rgba(243, 112, 33, 0.1);
}

.payment-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    margin: 0 0 5px 0;
    color: var(--secondary-black);
}

.payment-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.payment-radio input {
    margin: 0;
}

.checkout-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.checkout-back-btn,
.checkout-next-btn,
.checkout-submit-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.checkout-back-btn {
    background: #f8f9fa;
    color: var(--secondary-black);
    border: 2px solid #eee;
}

.checkout-back-btn:hover {
    background: #e9ecef;
    border-color: #ddd;
}

.checkout-next-btn,
.checkout-submit-btn {
    background: var(--primary-orange);
    color: white;
}

.checkout-next-btn:hover,
.checkout-submit-btn:hover {
    background: #e5631b;
    transform: translateY(-1px);
}

.checkout-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.checkout-submit-btn .loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

/* Toast/Alert Messages */
.toast {
    background: var(--primary-orange);
    color: var(--secondary-black);
    border: 2px solid var(--secondary-black);
}

.alert {
    background: var(--primary-orange);
    color: var(--secondary-black);
    border: 1px solid var(--secondary-black);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .checkout-header,
    .checkout-body {
        padding: 20px;
    }
    
    .checkout-progress {
        padding: 15px 20px 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .checkout-buttons {
        flex-direction: column;
    }
    
    .checkout-back-btn,
    .checkout-next-btn,
    .checkout-submit-btn {
        margin-bottom: 10px;
    }
}

/* ===== CREATIVE BUTTON STYLES ===== */

/* WhatsApp Contact Button */
.contact-whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.contact-whatsapp-btn:hover {
    background: #1a8e47;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(26, 142, 71, 0.5);
}

/* Floating Action Buttons for Products */
.floating-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.product-card:hover .floating-actions {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-btn.cart {
    background: var(--primary-orange);
    color: white;
}

.floating-btn.cart:hover {
    background: var(--black);
    transform: scale(1.1) rotate(360deg);
}

.floating-btn.whatsapp {
    background: #25D366;
    color: white;
}

.floating-btn.whatsapp:hover {
    background: #20b858;
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-orange);
    color: var(--black);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--black);
    font-weight: 700;
}

.footer-section p {
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
    background: var(--black);
    padding: 4px 8px;
    border-radius: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 30px;
    text-align: center;
    color: #a0aec0;
}

/* ===== ADD TO CART TOAST NOTIFICATION ===== */
.cart-toast {
    position: fixed;
    top: 100px;
    right: -400px;
    background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 320px;
    border-left: 4px solid #F37021;
}

.cart-toast.show {
    right: 20px;
}

.cart-toast-icon {
    width: 50px;
    height: 50px;
    background: #F37021;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    animation: toastIconPulse 0.5s ease-out;
}

.cart-toast-content {
    flex: 1;
}

.cart-toast-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.cart-toast-message {
    font-size: 14px;
    color: #e2e8f0;
}

.cart-toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cart-toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes toastIconPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cart-toast {
        right: -100%;
        left: auto;
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
    
    .cart-toast.show {
        right: 20px;
        left: 20px;
    }
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-orange);
    color: white;
}

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

.close-cart {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-items {
    padding: 20px;
    min-height: 300px;
}

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

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

.continue-shopping-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.continue-shopping-btn:hover {
    background: #e5631b;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    animation: slideInUp 0.3s ease-out;
}

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

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

.cart-item-details h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--secondary-black);
    font-weight: 600;
}

.cart-item-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: 10px;
}

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

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-black);
}

.cart-item-category {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: var(--medium-gray);
    text-transform: capitalize;
}

.cart-item-price {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-orange);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 4px 8px;
    border-radius: 6px;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: var(--primary-orange);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--secondary-black);
    transform: scale(1.1);
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.remove-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.cart-totals {
    margin-bottom: 15px;
}

/* Enhanced Checkout Modal Styles */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none; /* HIDDEN BY DEFAULT */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal.show {
    display: flex; /* ONLY SHOW WHEN .show CLASS IS ADDED */
}

.checkout-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-gray);
}

.checkout-header h2 {
    margin: 0;
    color: var(--secondary-black);
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--medium-gray);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--secondary-black);
}

.checkout-progress {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-gray);
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: var(--medium-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--primary-orange);
    color: white;
    font-weight: 600;
}

.progress-step.completed {
    background: var(--secondary-black);
    color: white;
}

.checkout-steps {
    padding: 30px;
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.checkout-step h3 {
    margin: 0 0 20px 0;
    color: var(--secondary-black);
    font-size: 20px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    margin-bottom: 10px;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: var(--secondary-black);
    display: block;
    margin-bottom: 4px;
}

.item-category {
    font-size: 12px;
    color: var(--medium-gray);
    text-transform: capitalize;
}

.item-quantity {
    margin: 0 20px;
    font-size: 14px;
    color: var(--medium-gray);
}

.item-price {
    font-weight: 700;
    color: var(--primary-orange);
    font-size: 16px;
}

.order-totals {
    border-top: 2px solid var(--border-gray);
    padding-top: 15px;
    margin-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.total-final {
    font-size: 18px;
    color: var(--secondary-black);
    border-top: 1px solid var(--border-gray);
    padding-top: 10px;
    margin-top: 10px;
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--secondary-black);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-option {
    margin-bottom: 10px;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: block;
    padding: 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-label:hover {
    border-color: var(--primary-orange);
    background: rgba(243, 112, 33, 0.05);
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--primary-orange);
    background: rgba(243, 112, 33, 0.1);
}

.payment-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-desc {
    font-size: 12px;
    color: var(--medium-gray);
}

.payment-info {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.payment-info h4 {
    margin: 0 0 10px 0;
    color: var(--secondary-black);
}

.payment-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.checkout-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.checkout-back-btn,
.checkout-next-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.checkout-back-btn {
    background: var(--light-gray);
    color: var(--medium-gray);
}

.checkout-back-btn:hover {
    background: var(--border-gray);
    color: var(--secondary-black);
}

.checkout-next-btn {
    background: var(--primary-orange);
    color: white;
}

.checkout-next-btn:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
}

.processing-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-gray);
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.order-success {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.order-details {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.order-details p {
    margin: 8px 0;
}

.next-steps {
    text-align: left;
    margin: 20px 0;
}

.next-steps h4 {
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.next-steps ul {
    padding-left: 20px;
}

.next-steps li {
    margin: 5px 0;
}

.order-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border: 2px solid;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-black);
    border-color: var(--secondary-black);
}

.btn-secondary {
    background: white;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .checkout-modal {
        padding: 10px;
    }
    
    .checkout-modal-content {
        max-height: 95vh;
    }
    
    .checkout-header,
    .checkout-progress,
    .checkout-steps {
        padding: 15px;
    }
    
    .progress-step {
        font-size: 12px;
        padding: 8px 4px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .checkout-nav {
        flex-direction: column;
    }
    
    .order-actions {
        flex-direction: column;
    }
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #eee;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: var(--secondary-black);
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: scale(1.1);
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary-black);
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cart-item-total {
    font-weight: bold;
    color: var(--primary-orange);
    font-size: 16px;
    margin-top: 5px;
}

.cart-total {
    padding: 20px;
    border-top: 2px solid #eee;
    background: #f8f9fa;
    margin-top: auto;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.total-row.final {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-orange);
}

.checkout-btn {
    width: 100%;
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #e5631b;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.3);
}

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

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-row.final {
    font-weight: 700;
    font-size: 18px;
    color: var(--black);
    border-top: 1px solid var(--border-gray);
    padding-top: 10px;
}

.checkout-btn {
    width: 100%;
    background: var(--secondary-orange);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: #e55a0a;
}

/* ===== RESPONSIVE VISIBILITY ===== */
.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-flex;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }
    
    .desktop-only {
        display: none;
    }
}

/* ===== HERO CTA STYLING ===== */
.hero-cta {
    background: var(--black) !important;
    color: white !important;
    border: 2px solid var(--primary-orange);
    margin-left: 20px;
}

.hero-cta:hover {
    background: var(--primary-orange) !important;
    color: var(--black) !important;
    border-color: var(--black);
}

/* ===== RESPONSIVE DESIGN ===== */

/* ===== RESPONSIVE VISIBILITY ===== */
.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-flex;
}

/* Mobile dropdown styling */
.mobile-dropdown {
    display: none;
    background: rgba(0, 0, 0, 0.1) !important;
    margin: 10px 0;
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: auto;
}

/* Hero CTA styling */
.hero-cta {
    background: var(--black) !important;
    color: white !important;
    border: 2px solid var(--primary-orange);
    margin-left: 20px;
}

.hero-cta:hover {
    background: var(--primary-orange) !important;
    color: var(--black) !important;
    border-color: var(--black);
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Extra large screens - ensure navigation fits */
@media (max-width: 1400px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .logo-icon {
        width: 190px;
        height: 95px;
    }
}

/* Large screens - compact navigation */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 5px 8px;
        gap: 3px;
    }
    
    .header-cta {
        gap: 8px;
    }
    
    .auth-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .logo-icon {
        width: 180px;
        height: 90px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-icon {
        width: 170px;
        height: 85px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .subsidiaries-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        z-index: 1000;
    }
    
    .header-top {
        display: none;
    }
    
    .header-main {
        padding: 8px 0;
    }
    
    .nav-container {
        gap: 15px;
        padding: 0.3rem 0;
        min-height: 60px;
    }
    
    .logo-icon {
        width: 150px;
        height: 75px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        color: #000000;
    }
    
    .hamburger-line {
        background: #000000;
    }
    
    /* Services and Contact page mobile adjustments */
    .services-hero {
        padding: 120px 0 60px 0 !important;
    }
    
    .contact-section {
        padding-top: 120px !important;
    }
    
    /* Mobile navigation overlay - FIXED SCROLLABLE VERSION */
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--secondary-black) 0%, var(--dark-charcoal) 100%);
        backdrop-filter: blur(15px);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all 0.3s ease;
        z-index: 1001;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        padding: 20px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        scrollbar-width: thin;
        scrollbar-color: var(--primary-orange) transparent;
    }
    
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-orange);
        border-radius: 3px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-orange);
    }
    
    .nav-menu.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    .nav-menu .nav-item {
        margin: 8px 0;
        border-bottom: 1px solid rgba(243, 112, 33, 0.3);
        padding-bottom: 8px;
    }
    
    .nav-menu .nav-item:last-child {
        border-bottom: none;
        margin-bottom: 12px;
    }
    
    .nav-menu .nav-link {
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 6px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(243, 112, 33, 0.2);
        color: var(--primary-orange);
        transform: translateX(5px);
    }
    
    .nav-menu .nav-link i {
        color: var(--primary-orange);
        width: 20px;
        height: 20px;
    }
    
    /* Hide dropdown menu by default on mobile */
    .nav-item.dropdown .dropdown-menu {
        display: none;
        position: static;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 8px;
        padding: 10px;
        box-shadow: none;
    }
    
    /* Show dropdown only when clicked */
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Hide desktop auth on mobile */
    .header-cta {
        display: none !important;
    }
    
    .header-cta .cta-button {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .cart-icon {
        padding: 8px;
    }
    
    .hero-section {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 20px 15px 40px 15px;
        text-align: center;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hide desktop-only elements on mobile */
    .desktop-only {
        display: none !important;
    }
    
    .hero-stats {
        margin-top: auto;
        padding: 20px 15px;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-item {
        text-align: center;
        min-width: auto;
    }
    
    .stat-number {
        font-size: 28px;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Main nav container stays visible on mobile, only .nav-menu toggles */
    .main-nav {
        display: block;
    }
    
    .main-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
    }
    
    .main-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .main-nav .nav-link {
        padding: 15px 0;
        width: 100%;
        font-size: 17px;
        font-weight: 500;
        color: white;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .main-nav .nav-link:hover {
        color: var(--accent-gold);
        background: rgba(255, 255, 255, 0.1);
        padding-left: 10px;
        border-radius: 5px;
    }
    
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0;
        border-radius: 8px;
        padding: 10px 0;
    }
    
    .main-nav .dropdown-item {
        color: white;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--accent-gold);
    }
    
    /* Mobile cart in hamburger menu */
    .mobile-cart-item {
        display: block !important;
        border-top: 2px solid rgba(243, 112, 33, 0.3);
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .mobile-cart-item .nav-link {
        position: relative;
        font-weight: 600;
    }
    
    .mobile-cart-count {
        position: absolute;
        top: -5px;
        right: 10px;
        background: #F37021;
        color: white;
        font-size: 11px;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
        font-weight: 700;
    }
    
    /* Mobile auth section in hamburger menu */
    .mobile-auth {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 15px 0 10px 0;
        border-top: 2px solid rgba(243, 112, 33, 0.3);
        margin-top: 15px;
        list-style: none;
    }
    
    .mobile-auth .auth-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .mobile-auth .auth-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-auth .auth-btn i {
        width: 16px;
        height: 16px;
    }
    
    .mobile-auth .login-btn {
        background: var(--primary-orange);
        color: #ffffff;
    }
    
    .mobile-auth .login-btn:hover {
        background: #e55a0a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(243, 112, 33, 0.4);
    }
    
    .mobile-auth .register-btn {
        background: #ffffff;
        color: var(--primary-orange);
        border: 2px solid var(--primary-orange);
    }
    
    .mobile-auth .register-btn:hover {
        background: var(--primary-orange);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(243, 112, 33, 0.4);
    }
    
    /* User menu styles in mobile */
    .mobile-auth .user-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: stretch;
    }
    
    .mobile-auth .user-info {
        text-align: center;
        padding: 8px 10px;
        background: rgba(243, 112, 33, 0.15);
        border-radius: 6px;
        border-left: 3px solid var(--primary-orange);
    }
    
    .mobile-auth .user-email {
        color: #ffffff !important;
        font-size: 13px;
        font-weight: 600;
    }
    
    .mobile-auth .logout-btn {
        background: #dc2626 !important;
        color: white !important;
        padding: 10px 16px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 14px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .mobile-auth .logout-btn:hover {
        background: #b91c1c !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    }
    
    .mobile-auth .logout-btn i {
        width: 16px;
        height: 16px;
    }
    
    .mobile-auth .admin-controls {
        width: 100%;
    }
    
    .mobile-auth .admin-btn {
        width: 100%;
        justify-content: center;
        background: var(--accent-gold);
        color: var(--black);
    }
    
    .mobile-auth .logout-btn {
        width: 100%;
        justify-content: center;
        background: #dc3545;
        color: white;
    }
    
    /* Cart in mobile hamburger */
    .header-cta {
        gap: 8px;
    }
    
    .header-cta .cta-button {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .cart-icon {
        padding: 8px;
    }
    
    .auth-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .header-main {
        padding: 5px 0;
    }
    
    .logo-icon {
        width: 110px;
        height: 55px;
    }
    
    .nav-container {
        gap: 8px;
        padding: 0.2rem 0;
        min-height: 50px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .main-nav {
        padding: 15px;
        max-height: calc(100vh - 60px);
    }
    
    .nav-link {
        padding: 10px 0;
        font-size: 12px;
    }
    
    .cart-icon {
        padding: 6px;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    /* Smaller mobile adjustments for services and contact */
    .services-hero {
        padding: 100px 0 40px 0 !important;
    }
    
    .services-hero .hero-title {
        font-size: 28px;
    }
    
    .contact-section {
        padding-top: 100px !important;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 20px 10px 30px 10px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 25px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure proper text rendering on mobile */
    .hero-content {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hide desktop-only elements on mobile */
    .desktop-only {
        display: none !important;
    }
    
    .hero-stats {
        margin-top: auto;
        padding: 15px 10px;
    }
    
    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 15px 10px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.15);
        padding: 15px;
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }
    
    .stat-number {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 11px;
        font-weight: 500;
    }
    
    .subsidiaries-section {
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .subsidiary-card,
    .service-card,
    .product-card {
        padding: 20px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 12px 0;
    }
    
    .auth-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .user-email {
        font-size: 13px;
    }
    
    .admin-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .auth-buttons {
        gap: 10px;
        padding-top: 12px;
    }
    
    /* Additional Mobile Improvements */
    .container {
        padding: 0 10px;
    }
    
    .notification {
        width: calc(100% - 20px);
        right: 10px;
        left: 10px;
        min-width: auto;
        top: 80px;
        font-size: 14px;
    }
    
    .checkout-modal .checkout-content {
        width: 95%;
        margin: 5px;
        max-height: 95vh;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 12px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 20px;
    }
    
    .products-filter {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ===== AUTHENTICATION MODALS ===== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.auth-modal.active {
    display: flex;
}

.auth-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--error-red);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--black);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--medium-gray);
}

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

.auth-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--secondary-orange);
}

.auth-submit-btn {
    background: var(--secondary-orange);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit-btn:hover {
    background: #e55a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.auth-switch a {
    color: var(--secondary-orange);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.error-message {
    background: var(--error-red);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px;
    display: none;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3);
    animation: slideInRight 0.3s ease-out;
}

.success-message {
    background: var(--success-green);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px;
    display: none;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(56, 161, 105, 0.3);
    animation: slideInRight 0.3s ease-out;
}

.success-message.show {
    display: flex;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top: 2px solid var(--secondary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

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

/* ===== SUCCESS MESSAGES ===== */
.success-message {
    background: var(--success-green);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}

.success-message.show {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

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

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.hidden { display: none; }
.visible { display: block; }

/* ===== FIREBASE PRODUCTS DISPLAY ===== */
.products-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 700;
}

.products-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

#products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-orange);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-gray);
}

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

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}





.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn-secondary,
.product-actions .btn-primary {
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.product-actions .btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

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

.product-actions .btn-primary {
    background: var(--primary-orange);
    color: white;
    border: 2px solid var(--primary-orange);
}

.product-actions .btn-primary:hover {
    background: var(--accent-orange-light);
    border-color: var(--accent-orange-light);
    transform: translateY(-2px);
}

/* No Products Message */
.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    grid-column: 1 / -1;
}

.no-products-message h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 15px;
}

.no-products-message p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-products-message .cta-button {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-products-message .cta-button:hover {
    background: var(--accent-orange-light);
    transform: translateY(-2px);
}

/* Responsive Design for Products */
@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    
    .products-header h2 {
        font-size: 2rem;
    }
    
    #products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .product-actions {
        justify-content: center;
        width: 100%;
    }
    
    .product-actions .btn-secondary,
    .product-actions .btn-primary {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-section .container {
        padding: 0 15px;
    }
    
    .product-card {
        margin: 0;
        border-radius: 12px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .no-products-message {
        padding: 40px 15px;
    }
}

/* ===== BUSINESS MODEL SECTION ===== */
.business-model-section {
    padding: 80px 0;
    background: white;
}

.model-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.model-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
    background: var(--light-gray);
    transition: transform 0.3s ease;
}

.model-item:hover {
    transform: translateY(-5px);
}

.model-icon {
    background: var(--primary-orange);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.model-info h3 {
    color: var(--black);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.model-info p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.process-example {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
}

.process-example h3 {
    color: var(--black);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.example-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-gray);
}

.example-header i {
    color: var(--primary-orange);
    font-size: 24px;
}

.example-header h4 {
    color: var(--black);
    font-size: 1.4rem;
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    background: var(--light-gray);
}

.step-number {
    background: var(--primary-orange);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--black);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.step-content p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .business-model-section {
        padding: 60px 0;
    }
    
    .model-overview {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .model-item {
        padding: 20px;
    }
    
    .process-example {
        padding: 25px;
        margin-top: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .example-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===== CATEGORY SHOWCASE STYLES (Homepage) ===== */
.category-showcase {
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: white;
}

.category-header {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--dark-charcoal) 100%);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 1.8rem;
    color: white;
}

.category-info {
    flex: 1;
}

.category-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.category-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.view-all-btn {
    background: var(--primary-orange);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-all-btn:hover {
    background: var(--accent-orange-light);
    transform: translateX(5px);
}

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

.products-row {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.product-code {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--medium-gray);
    font-size: 2.5rem;
}

.product-unit {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-style: italic;
}

/* Enhanced product card styles for homepage */
.category-showcase .product-card {
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.category-showcase .product-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-showcase .product-image {
    height: 180px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

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

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

.category-showcase .product-info {
    padding: 20px;
}

.category-showcase .product-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-black);
    margin-bottom: 8px;
    line-height: 1.3;
}



.category-showcase .product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-orange);
    padding: 10px 14px;
    background: rgba(243, 112, 33, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.category-showcase .product-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.category-showcase .product-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive design for category showcase */
@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .category-info h3 {
        font-size: 1.5rem;
    }
    
    .products-row {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .view-all-btn {
        align-self: center;
    }
}

/* ===== PRODUCTS SHOWCASE SECTION ===== */
.products-showcase-section {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 80px 0;
}

.products-showcase-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-showcase-section .section-cta {
    text-align: center;
    margin-top: 60px;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-gray);
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* ===== HOMEPAGE PRODUCT CARDS ===== */
.homepage-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.homepage-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(243, 112, 33, 0.2);
}

.homepage-card .product-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.homepage-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRODUCT MODAL STYLES ===== */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.product-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-modal-header h2 {
    color: var(--secondary-black);
    font-size: 1.8rem;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    color: var(--medium-gray);
}

.modal-close-btn:hover {
    background: var(--light-gray);
    color: var(--secondary-black);
}

.product-modal-content {
    padding: 30px;
}

.product-modal-info {
    margin-bottom: 30px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.product-code-display {
    background: var(--primary-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}



.product-description {
    margin-bottom: 25px;
}

.product-description h3 {
    color: var(--secondary-black);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-description p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.product-pricing h3 {
    color: var(--secondary-black);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.price-note {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-style: italic;
}

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

.product-modal-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.product-modal-actions .btn-primary {
    background: var(--primary-orange);
    color: white;
}

.product-modal-actions .btn-primary:hover {
    background: var(--accent-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.3);
}

.product-modal-actions .btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.product-modal-actions .btn-outline:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

.product-modal-actions .btn-secondary {
    background: var(--light-gray);
    color: var(--secondary-black);
}

.product-modal-actions .btn-secondary:hover {
    background: var(--border-gray);
    transform: translateY(-2px);
}

/* Prevent body scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Optimized Image Loading - WebP Support */
.product-img,
.product-image picture,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background-color: var(--light-gray);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Image lazy loading optimization */
.product-img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-img.loaded {
    opacity: 1;
}

/* Enhanced product placeholder styling */
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f1f5f9 100%);
    color: var(--medium-gray);
    font-size: 2.5rem;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.product-placeholder i {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.product-card:hover .product-placeholder i {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Image loading states */
.product-image {
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.4), 
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
    z-index: 1;
    pointer-events: none;
}

.product-image.loaded::before {
    display: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* WebP image optimization styles */
picture {
    display: block;
}

picture img {
    width: 100%;
    height: auto;
    display: block;
}

/* Performance optimizations for images */
img[loading="lazy"] {
    content-visibility: auto;
}

.product-card img {
    will-change: transform;
}

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

/* Mobile responsive modal */
@media (max-width: 768px) {
    .product-modal {
        margin: 10px;
        max-height: 95vh;
    }
    
    .product-modal-header {
        padding: 20px 20px 15px;
    }
    
    .product-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .product-modal-content {
        padding: 20px;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-modal-actions {
        flex-direction: column;
    }
    
    .product-modal-actions .btn {
        min-width: auto;
        width: 100%;
    }
    
    .price-display {
        font-size: 1.5rem;
    }
    
    .product-placeholder {
        font-size: 2rem;
    }
}

/* Additional mobile styles for products page and checkout */
@media (max-width: 768px) {
    /* Product cards mobile optimization */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px !important;
    }
    
    .product-card {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Cart sidebar mobile */
    .cart-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }
    
    /* Enhanced checkout modal mobile responsiveness */
    .checkout-modal {
        padding: 5px !important;
        align-items: flex-start !important;
    }
    
    .checkout-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    .checkout-header {
        padding: 15px 20px !important;
        position: sticky !important;
        top: 0 !important;
        background: white !important;
        z-index: 10 !important;
        border-bottom: 2px solid var(--border-gray) !important;
    }
    
    .checkout-header h2 {
        font-size: 18px !important;
    }
    
    .checkout-progress {
        padding: 10px 15px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    .progress-step {
        font-size: 11px !important;
        padding: 8px 6px !important;
        min-width: 70px !important;
        flex-shrink: 0 !important;
    }
    
    .checkout-steps {
        padding: 15px !important;
    }
    
    .checkout-step h3 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    
    .order-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    
    .item-details {
        width: 100% !important;
    }
    
    .item-name {
        font-size: 14px !important;
    }
    
    .item-quantity,
    .item-price {
        align-self: flex-end !important;
    }
    
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .form-group {
        margin-bottom: 12px !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .payment-option {
        margin-bottom: 8px !important;
    }
    
    .payment-label {
        padding: 12px !important;
    }
    
    .payment-header strong {
        font-size: 14px !important;
    }
    
    .payment-desc {
        font-size: 11px !important;
    }
    
    .payment-info {
        padding: 12px !important;
        margin-top: 8px !important;
    }
    
    .checkout-nav {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 20px !important;
        position: sticky !important;
        bottom: 0 !important;
        background: white !important;
        padding: 15px 0 !important;
        border-top: 1px solid var(--border-gray) !important;
    }
    
    .checkout-back-btn,
    .checkout-next-btn {
        width: 100% !important;
        padding: 14px !important;
        font-size: 16px !important;
    }
    
    .order-success {
        padding: 0 !important;
    }
    
    .order-details {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .order-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        padding: 14px !important;
        font-size: 16px !important;
    }
    
    /* Product filters mobile */
    .category-filter {
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: center !important;
    }
    
    .filter-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    
    /* Search bar mobile */
    .search-bar {
        width: 100% !important;
    }
    
    .search-bar input {
        padding: 12px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}
