* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-teal: #006B6D;
    --vibrant-orange: #FF6B35;
    --charcoal-black: #2C2C2C;
    --warm-gold: #F4A460;
    --fresh-green: #006B6D;
    --sky-blue: #3498DB;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --dark-gray: #666666;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-black);
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}
/* Header */
.header {
    background-color: #006B6D;
    color: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}
.logo span {
    color: var(--vibrant-orange);
}
.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    margin: 0 2rem;
}
.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}
.search-bar button {
    padding: 0.75rem 1.5rem;
    background-color: var(--vibrant-orange);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}
.search-bar button:hover {
    background-color: #e85a2a;
}
.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.icon-btn {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 14px;
    transition: color 0.3s;
}
.icon-btn:hover {
    color: var(--vibrant-orange);
}
.badge {
    background-color: var(--vibrant-orange);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.hamburger {
    font-size: 24px;
    cursor: pointer;
}
/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--light-gray);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 1rem;
    overflow-y: auto;
}
.sidebar.active {
    left: 0;
}
.sidebar-close {
    font-size: 24px;
    cursor: pointer;
    text-align: right;
    margin-bottom: 1rem;
}
.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.nav-link {
    color: var(--charcoal-black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--primary-teal);
}
/* Overlay for sidebar */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 998;
}
.overlay.active {
    display: block;
}
/* Hero Banner */
.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #004d4f 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 20px;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.cta-button {
    display: inline-block;
    background-color: var(--vibrant-orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}
/* Featured Categories */
.featured-categories {
    padding: 3rem 2rem;
    background-color: var(--white);
}
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-teal);
}
.categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.category-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 107, 109, 0.15);
    border-color: var(--primary-teal);
}
.category-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}
.category-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal-black);
}
/* Flash Deals */
.flash-deals {
    padding: 3rem 2rem;
    background-color: var(--light-gray);
}
.deals-header {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.countdown {
    background-color: var(--vibrant-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.products-scroll {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}
.product-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    min-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--warm-gold);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}
.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--light-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 64px;
}
.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--charcoal-black);
}
.rating {
    color: var(--warm-gold);
    font-size: 14px;
    margin-bottom: 0.5rem;
}
.price-container {
    margin-bottom: 1rem;
}
.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}
.original-price {
    font-size: 16px;
    color: var(--dark-gray);
    text-decoration: line-through;
    margin-left: 0.5rem;
}
.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--vibrant-orange);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.add-to-cart-btn:hover {
    background-color: #e85a2a;
}
/* New Arrivals */
.new-arrivals {
    padding: 3rem 2rem;
    background-color: var(--white);
}
.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}
/* Footer */
.footer {
    background-color: #006B6D;
    color: var(--white);
    padding: 3rem 2rem 1rem;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 18px;
}
.footer-link {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.footer-link:hover {
    opacity: 1;
    color: var(--vibrant-orange);
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    opacity: 0.8;
}
.payment-info {
    background-color: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}
.payment-info strong {
    color: var(--vibrant-orange);
}
/* Responsive */
@media (max-width: 768px) {
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--medium-gray);
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}
.close {
    color: var(--dark-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: var(--charcoal-black);
    text-decoration: none;
    cursor: pointer;
}
.tabs {
    display: flex;
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 20px;
}
.tab-link {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-gray);
}
.tab-link.active {
    color: var(--primary-teal);
    border-bottom: 2px solid var(--primary-teal);
}
.form-container {
    display: flex;
    flex-direction: column;
}
.form-container input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
}
.form-container button {
    padding: 10px;
    background-color: var(--vibrant-orange);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.form-container button:hover {
    background-color: #e85a2a;
}
/* Add styles for products.php and cart.php */
.products-section, .cart-section {
    padding: 3rem 2rem;
}
.view-details {
    display: block;
    text-align: center;
    color: var(--sky-blue);
    text-decoration: none;
    margin-top: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 10px;
    border: 1px solid var(--medium-gray);
    text-align: left;
}
tfoot td {
    font-weight: bold;
}
.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}
.logo-image:hover { transform: scale(1.05); }