/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #030a04;
    --primary-dark: #2e332f21;
    --primary-light: #363b36;
    --secondary-color: #FF6F00;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --gray: #666666;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--dark-color);
    line-height: 1.6;
}

/* Landing page - Single clean parallax bg (no double) */
/* Landing page - clean parallax bg */
body[data-page="landing"] {
    background: url('bg.png') fixed center / cover;
    background-color: #f8f9fa;
}

body[data-page="landing"]::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(248, 249, 250, 0.3);
    z-index: -1;
}

 /* Hero slider - consistent look */
.slide {
    background-size: cover !important;
    filter: brightness(0.7);
}

/* Text crisp on landing */
body[data-page="landing"] {
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* ===== HEADER ===== */
/* ===== MOBILE BURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

header {
    background: linear-gradient(135deg, rgba(26,26,26,0.95), rgba(45,45,45,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header.active .hamburger span:nth-child(1) { 
    transform: rotate(45deg) translate(8px, 8px); 
    background: var(--secondary-color);
}
header.active .hamburger span:nth-child(2) { opacity: 0; }
header.active .hamburger span:nth-child(3) { 
    transform: rotate(-45deg) translate(7px, -7px); 
    background: var(--secondary-color);
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-color);
        flex-direction: column;
        gap: 40px;
        padding: 100px 30px 30px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
    }
    
    header.active nav {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 12px 20px;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(20px);
        animation: slideInNav 0.4s forwards;
    }
    
    @keyframes slideInNav {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-link:nth-child(5) { animation-delay: 0.5s; }
    .nav-link:nth-child(6) { animation-delay: 0.6s; }
    .nav-link:nth-child(7) { animation-delay: 0.7s; }
    
    header {
        padding: 15px 20px;
    }
}


.logo {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-color), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 5px rgba(255,111,0,0.5)); }
    to { filter: drop-shadow(0 0 15px rgba(255,111,0,0.8)); }
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.user-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

.account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark-color);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-account:hover .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.account-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.15;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,111,0,0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255,111,0,0.5);
}

@media (max-width: 768px) {
    .nav-link.active::after {
        bottom: 8px;
    }
}

#cartCount {
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255,111,0,0.4);
    animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav-link:has(#cartCount):hover #cartCount {
    animation: none;
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-color);
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-slider { 
        height: 80vh; 
        min-height: 500px;
    }
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    width: min(90%, 700px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

@media (max-width: 768px) {
    .slider-overlay { 
        padding: 30px 20px; 
        width: 95%; 
        margin: 0 10px;
    }
}

.slider-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: slideIn 1s ease;
}

.slider-overlay p {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(3,10,4,0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(3,10,4,0.5);
}

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 50px 30px;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-top: 20px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.promo-banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.promo-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== SHOP PAGE ===== */
/* SHOP CONTAINER - Enhanced for PHP/static */
.shop-container, body[data-page="shop"] .page-container {
    display: flex;
    gap: 30px;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

body[data-page="shop"] .sidebar {
    flex: 0 0 250px;
}

body[data-page="shop"] .products-section {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 1100px;
}

body[data-page="shop"] .products-grid {
    width: 100%;
    max-width: 1000px;
}



body[data-page="shop"] main.products-grid {
    order: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}


.sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.sidebar h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
    font-size: 1.4rem;
}

.category-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.cat-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid transparent;
    border-radius: 10px;
    text-align: left;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}

.search-box,
.price-filter {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--light-color);
}

.search-box h3,
.price-filter h3 {
    margin-bottom: 12px;
    color: var(--dark-color);
}

.search-box input,
.price-filter input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 8px;
}

.search-box input:focus,
.price-filter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== PRODUCTS SECTION ===== */
.products-section { flex: 1; }

.products-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
}

.category-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.products-header h2 { color: var(--primary-color); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 420px; /* Fixed height for uniform cards */
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
    flex-shrink: 0;
    padding: 20px;
    box-sizing: border-box;
}

.product-img[src$=".svg"],
.product-img:not([src]) {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.product-img:invalid {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
}

.product-info {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

.product-price {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: auto;
}

.product button,
.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.product button:hover,
.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

/* ===== CART PAGE ===== */
.cart-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
}

.cart-container h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.empty-icon { font-size: 5rem; margin-bottom: 20px; }

.empty-cart h2 {
    color: var(--gray);
    margin-bottom: 10px;
}

.empty-cart .cta-button {
    display: inline-block;
    margin-top: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    gap: 15px;
    align-items: center;
    background: var(--white);
    padding: 18px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.cart-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details h3 { margin-bottom: 5px; font-size: 1rem; }
.cart-item-price { color: var(--primary-color); font-weight: bold; }

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover { background: var(--primary-dark); }

.quantity {
    font-size: 1.1rem;
    font-weight: bold;
    min-width: 25px;
    text-align: center;
}

.item-total { font-weight: bold; color: var(--dark-color); }

.remove-btn {
    padding: 8px 14px;
    background: #e53935;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.remove-btn:hover { background: #c62828; }

/* ===== CART SUMMARY ===== */
.cart-summary {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.cart-summary h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05rem;
}

.summary-row.total {
    border-bottom: none;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 20px;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    transition: var(--transition);
}

.checkout-btn:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
}

.clear-cart-btn {
    width: 100%;
    padding: 11px;
    background: transparent;
    color: #e53935;
    border: 2px solid #e53935;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    background: #e53935;
    color: white;
    transform: none;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.checkout-form-section h1 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-section {
    background: var(--white);
    padding: 28px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1.05rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.senior-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 8px;
    font-style: italic;
}

.card-details {
    margin-top: 18px;
    padding: 18px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px dashed #ccc;
}

.confirm-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.confirm-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* ===== ORDER SUMMARY (Checkout Aside) ===== */
.order-summary {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.order-summary h3 {
    color: var(--primary-color);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-color);
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.checkout-item img {
    width: 55px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.checkout-item div { flex: 1; }

.checkout-item span { font-weight: bold; color: var(--primary-color); }

.summary-divider {
    height: 2px;
    background: var(--light-color);
    margin: 16px 0;
}

/* ===== RECEIPT PAGE ===== */
.receipt-container {
    max-width: 680px;
    margin: 30px auto;
    padding: 0 20px 40px;
}

.receipt {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.receipt-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.receipt-logo { font-size: 3rem; margin-bottom: 10px; }

.receipt-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.receipt-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.receipt-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.receipt-body { padding: 30px; }

.receipt-section { margin-bottom: 20px; }

.receipt-section h3 {
    color: var(--primary-color);
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.receipt-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    font-size: 0.95rem;
}

.receipt-info-grid p:nth-child(odd) { color: var(--gray); }

.receipt-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
}

.receipt-item:last-child { border-bottom: none; }

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}

.receipt-row:last-child { border-bottom: none; }

.receipt-row.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 15px;
}

.receipt-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.print-btn {
    padding: 12px 22px;
    background: var(--dark-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.print-btn:hover { background: #333; }

.continue-btn {
    display: inline-block;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.continue-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.receipt-footer {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 20px;
    border-radius: 0 0 20px 20px;
}

.receipt-footer p:first-child {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 4px;
}

/* ===== PRINT STYLES ===== */
@media print {
    header, footer, .receipt-actions { display: none !important; }
    body { background: white; }
    .receipt { box-shadow: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .shop-container { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .cart-container { padding: 20px; max-width: 100%; }
    .cart-item { 
        grid-template-columns: 80px 1fr auto auto auto; 
        gap: 12px; 
        padding: 16px; 
    }
    .cart-item .quantity-controls,
    .cart-item .item-total,
    .cart-item .remove-btn { grid-column: unset; }
    button { transform: none !important; }
}

@media (max-width: 600px) {
    .cart-item { 
        grid-template-columns: 70px 1fr; 
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-item img { width: 70px; height: 60px; }
    .cart-item-details { order: 3; width: 100%; }
    .quantity-controls { order: 1; margin-top: 8px; }
    .item-total { order: 2; margin-top: 4px; font-size: 1.1rem; }
    .remove-btn { order: 4; align-self: flex-end; margin-top: 8px; width: auto; }
}

@media (max-width: 600px) {
    header { flex-direction: column; gap: 12px; padding: 12px 20px; }
    .slider-overlay h1 { font-size: 2rem; }
    .checkout-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .receipt-actions { flex-direction: column; }
    .receipt-actions a, .receipt-actions button { width: 100%; text-align: center; }
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { transform: translateY(-30px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px; right: 18px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover { background: #e53935; color: white; }

.modal-box h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.modal-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal-form-group {
    margin-bottom: 14px;
}

.modal-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.modal-form-group input,
.modal-form-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-next-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: var(--transition);
}

.modal-next-btn:hover { background: var(--primary-dark); transform: scale(1.02); }

/* Summary Modal */
.summary-customer-info {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.summary-modal-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 12px 0;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
}

.summary-item-row:last-child { border-bottom: none; }

.summary-totals { margin-top: 5px; }

.summary-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal-back-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    color: var(--dark-color);
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-back-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }

.modal-confirm-btn {
    flex: 2;
    padding: 12px;
    background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-confirm-btn:hover { transform: scale(1.02); box-shadow: 0 4px 15px rgba(255,111,0,0.4); }

/* ===== COD BADGE (Checkout) ===== */
.cod-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0faf0;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 16px 20px;
}
.cod-icon { font-size: 2rem; }
.cod-title { font-weight: 700; font-size: 1.05rem; color: var(--primary-color); }
.cod-desc  { font-size: 0.88rem; color: var(--gray); margin-top: 2px; }
.cod-check { font-size: 1.5rem; margin-left: auto; }

.cod-reminder {
    background: #fff8e1;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 15px;
    font-size: 0.95rem;
    color: #5d4037;
}

/* ===== DELIVERY TRACKER (Receipt) ===== */
.delivery-tracker {
    padding: 10px 0 20px;
}
.delivery-tracker h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tracker-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    text-align: center;
    opacity: 0.4;
}
.tracker-step.done { opacity: 1; }

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 6px;
    border: 2px solid #ccc;
}
.tracker-step.done .step-icon {
    background: #e8f5e9;
    border-color: var(--primary-color);
}

.step-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.2;
}
.step-date {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 2px;
}

.tracker-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin-top: 20px;
    min-width: 20px;
}
.tracker-line.done { background: var(--primary-color); }

.estimated-delivery {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
}
.est-label { font-size: 0.9rem; color: var(--gray); margin-bottom: 4px; }
.est-date  { font-size: 1.3rem; font-weight: 700; color: var(--primary-color); margin-bottom: 4px; }
.est-note  { font-size: 0.8rem; color: var(--gray); }

/* ===== DELIVERY INFO CARD (Receipt) ===== */
.delivery-info-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}
.delivery-info-row {
    display: flex;
    gap: 15px;
    padding: 11px 16px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    align-items: flex-start;
}
.delivery-info-row:last-child { border-bottom: none; }
.di-label {
    min-width: 140px;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.88rem;
}

.receipt-order-num {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 5px;
    font-weight: 600;
}

.cod-delivery-reminder {
    background: #fff3e0;
    border: 2px dashed var(--secondary-color);
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 15px;
    text-align: center;
    font-size: 1rem;
    color: #e65100;
}


/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-hero p  { font-size: 1.1rem; opacity: 0.9; }

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #1a1a1a;
    color: #aaa;
    margin-top: 60px;
    padding-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px 30px;
}
.footer-col h4 { color: white; margin-bottom: 12px; font-size: 1rem; }
.footer-col p, .footer-col a {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}
.about-story h2 { color: var(--primary-color); margin-bottom: 15px; }
.about-story p  { color: #555; margin-bottom: 12px; line-height: 1.7; }
.about-image img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    height: 300px;
    background: #e8f5e9;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary-color); }
.stat-label  { color: var(--gray); font-size: 0.9rem; margin-top: 5px; }
.about-values h2, .team-section h2 { color: var(--primary-color); margin-bottom: 25px; font-size: 1.6rem; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.value-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}
.value-icon  { font-size: 2.5rem; margin-bottom: 12px; }
.value-card h3 { color: var(--primary-color); margin-bottom: 8px; }
.value-card p  { color: #555; font-size: 0.95rem; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}
.team-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
}
.team-avatar { 
    font-size: 4rem; 
    margin-bottom: 12px; 
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--light-color));
    transition: var(--transition);
    border: 4px solid transparent;
    background-clip: padding-box;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(3, 10, 4, 0.3);
    border-color: var(--primary-color);
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}
.team-card h3 { color: var(--dark-color); margin-bottom: 5px; }
.team-role    { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-card p  { color: #666; font-size: 0.9rem; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-form-section h2, .contact-info-section h2 { color: var(--primary-color); margin-bottom: 20px; }
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.info-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 1.5rem; }
.info-item strong { display: block; margin-bottom: 4px; }
.info-item p { color: #555; font-size: 0.95rem; line-height: 1.5; margin: 0; }
.map-placeholder {
    background: #e8f5e9;
    border-radius: 15px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-light);
}
.map-inner { text-align: center; }
.map-inner p { margin: 3px 0; }
.map-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}
.contact-success { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 4rem; margin-bottom: 15px; }
.contact-success h3 { color: var(--primary-color); font-size: 1.5rem; }

/* ===== FAQ ===== */
.faq-search {
    margin-bottom: 30px;
}
.faq-search input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: var(--transition);
}
.faq-search input:focus { outline: none; border-color: var(--primary-color); }
.faq-category { margin-bottom: 35px; }
.faq-category h2 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.3rem; }
.faq-item { margin-bottom: 8px; }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover { background: #f5fdf5; border-color: var(--primary-color); }
.faq-question span { font-size: 1.3rem; color: var(--primary-color); }
.faq-answer {
    display: none;
    padding: 15px 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    line-height: 1.7;
    color: #555;
}
.faq-answer a { color: var(--primary-color); }
.faq-cta { text-align: center; padding: 40px 0; }
.faq-cta p { font-size: 1.1rem; margin-bottom: 15px; color: #555; }

/* ===== TRACK ORDER ===== */
.track-search-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}
.track-search-box h2 { color: var(--primary-color); margin-bottom: 8px; }
.track-input-row {
    display: flex;
    gap: 12px;
    margin: 20px 0 10px;
}
.track-input-row input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.track-input-row input:focus { outline: none; border-color: var(--primary-color); }
.track-btn {
    padding: 12px 22px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.track-btn:hover { background: var(--primary-dark); }
.track-hint { font-size: 0.85rem; color: #999; }
.track-result-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 750px;
    margin: 0 auto;
}
.track-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}
.track-order-num { font-size: 1.2rem; font-weight: 700; color: var(--dark-color); }
.track-order-date { font-size: 0.9rem; color: #999; margin-top: 4px; }
.track-status-badge {
    background: #e3f2fd;
    color: #1565c0;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}
.track-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}
.track-detail {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 14px;
}
.td-label { font-size: 0.85rem; color: var(--gray); font-weight: 600; margin-bottom: 5px; }
.track-not-found { text-align: center; padding: 50px 20px; }

/* ===== AUTH (Login/Register) ===== */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    text-align: center;
}
.auth-logo { font-size: 3rem; margin-bottom: 10px; }
.auth-card h1 { color: var(--primary-color); margin-bottom: 5px; }
.auth-subtitle { color: var(--gray); margin-bottom: 25px; font-size: 0.95rem; }
.auth-card .form-group { text-align: left; }
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 45px; }
.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.forgot-link { color: var(--primary-color); font-size: 0.9rem; }
.auth-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 0.9rem;
}
.auth-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 0.95rem;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #ccc;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.auth-switch { font-size: 0.95rem; color: #555; }
.auth-switch a { color: var(--primary-color); font-weight: 600; }

/* ===== ADMIN ===== */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}
.admin-stat-card {
    background: white;
    border-radius: 15px;
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow);
}
.admin-stat-icon { font-size: 2rem; margin-bottom: 8px; }
.admin-stat-num  { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); }
.admin-stat-label { color: var(--gray); font-size: 0.9rem; margin-top: 4px; }
.admin-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}
.admin-section h2 { color: var(--primary-color); margin-bottom: 20px; }
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.admin-section-header h2 { margin-bottom: 0; }
.admin-clear-btn {
    padding: 8px 16px;
    background: #ffebee;
    color: #e53935;
    border: 1px solid #e53935;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
.admin-clear-btn:hover { background: #e53935; color: white; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.admin-table th {
    background: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
}
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}
.admin-table tr:hover td { background: #fafafa; }
.admin-status {
    background: #e3f2fd;
    color: #1565c0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== POLICY PAGES ===== */
.policy-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}
.policy-content h1 { color: var(--primary-color); margin-bottom: 5px; }
.policy-date { color: #999; font-size: 0.9rem; margin-bottom: 25px; }
.policy-content h2 { color: var(--dark-color); margin: 25px 0 10px; font-size: 1.15rem; }
.policy-content p  { color: #555; line-height: 1.7; margin-bottom: 10px; }
.policy-content ul { color: #555; line-height: 1.9; padding-left: 20px; margin-bottom: 10px; }

/* ===== DASHBOARD STYLES ===== */
.dashboard-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--light-color));
  color: var(--dark-color);
}

.dashboard-welcome {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.dashboard-welcome h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.dashboard-welcome p {
  font-size: 1.3rem;
  opacity: 0.9;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 30px 0;
  margin-bottom: 40px;
}

.recent-orders {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.recent-orders h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.order-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
}

.quick-actions {
  padding: 20px 0;
}

.quick-actions h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.quick-actions .feature-card a.cta-button {
  margin-top: 15px;
}

/* ===== RESPONSIVE NEW PAGES ===== */
@media (max-width: 768px) {
    .about-grid    { grid-template-columns: 1fr; }
    .about-stats   { grid-template-columns: 1fr 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }
    .admin-stats   { grid-template-columns: 1fr 1fr; }
    .track-details-grid { grid-template-columns: 1fr; }
    .admin-table   { font-size: 0.8rem; }
    .policy-content { padding: 25px; }
}
/* ===== TEAM SECTION ===== */
.team-section {
    padding: 50px 30px;
    background: #f9f9f9;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.team-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    object-fit: cover;
    outline: none;        /* removes focus outline */
}
.team-avatar img:focus {
    outline: none;        /* ensures no orange outline on click/tab */
    box-shadow: none;     /* removes any shadow */
}

.team-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    .team-avatar {
        width: 100px;
        height: 100px;
    }
}