/* Base Variables */
:root {
    --primary-color: #FF7043;
    --primary-dark: #F4511E;
    --secondary-color: #8BC34A;
    --accent-color: #FFCA28;
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-color: #F7FAFC;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Blobs for Visual Interest */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,112,67,1) 0%, rgba(255,112,67,0) 70%);
}

.blob-2 {
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139,195,74,1) 0%, rgba(139,195,74,0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
    100% { transform: translate(50px, -50px) scale(0.9); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after { width: 100%; }

.cart-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-btn:hover { color: var(--primary-color); transform: scale(1.05); }

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 195, 74, 0.15);
    color: #558B2F;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 195, 74, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 15px rgba(255, 112, 67, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 112, 67, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    animation: floatImage 6s infinite ease-in-out;
    width: 450px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Products Section */
.products {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.08) rotate(5deg);
}

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tag-green { background: var(--secondary-color); }

.product-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 45px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.add-to-cart-btn {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 112, 67, 0.3);
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    transform: translateX(-450px);
}

.cart-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
}

.cart-header h2 { font-size: 1.5rem; }

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover { color: var(--text-dark); transform: rotate(90deg); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #edf2f7;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--bg-color);
    padding: 0.5rem;
}

.item-details { flex: 1; }
.item-details h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.item-price { font-weight: 700; color: var(--primary-color); }

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

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: var(--transition);
}

.qty-btn:hover { background: var(--bg-color); }
.item-qty { font-weight: 600; width: 20px; text-align: center; }

.remove-btn {
    background: none;
    border: none;
    color: #F56565;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    margin-left: auto;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    margin-top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #edf2f7;
    background: #fcfcfc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover { background: var(--primary-color); }

/* Notification */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.notification.show { bottom: 30px; }

/* Responsive */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .glass-card { width: 100%; max-width: 400px; height: 400px; }
    .nav-links { display: none; } /* Could add hamburger menu for real app */
}

@media (max-width: 500px) {
    .cart-sidebar { right: -100%; max-width: 100%; transform: none; }
    .cart-sidebar.open { transform: translateX(-100%); }
}

/* Payment Modal */
.payment-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0; visibility: hidden;
    display: flex; justify-content: center; align-items: center;
    transition: var(--transition);
}
.payment-overlay.active {
    opacity: 1; visibility: visible;
}
.payment-modal {
    background: white; border-radius: var(--radius-lg);
    width: 90%; max-width: 450px;
    box-shadow: var(--shadow-lg); overflow: hidden;
    transform: translateY(20px); transition: var(--transition);
}
.payment-overlay.active .payment-modal {
    transform: translateY(0);
}
.payment-header {
    padding: 1.5rem 2rem; border-bottom: 1px solid #edf2f7;
    display: flex; justify-content: space-between; align-items: center;
}
.payment-header h2 { font-size: 1.4rem; color: var(--text-dark); }
.close-payment {
    background: none; border: none; font-size: 2rem; color: var(--text-light); cursor: pointer; transition: var(--transition);
}
.close-payment:hover { color: var(--text-dark); }
.payment-body { padding: 2rem; text-align: center; }
.payment-body p { color: var(--text-light); margin-bottom: 1.5rem; }
.upi-box {
    background: var(--bg-color); border: 2px dashed #cbd5e0;
    border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem;
}
.upi-box h3 { font-size: 1rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.upi-id {
    font-size: 1.6rem; font-weight: 800; color: var(--primary-color); letter-spacing: 1px; margin-bottom: 1rem;
}
.amount-to-pay { font-size: 1.1rem; color: var(--text-dark); }
.amount-to-pay strong { font-size: 1.3rem; color: var(--text-dark); }
.confirm-payment-btn {
    width: 100%; padding: 1rem; background: var(--secondary-color); color: white;
    border: none; border-radius: 30px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.confirm-payment-btn:hover { background: #7CB342; box-shadow: 0 4px 10px rgba(139, 195, 74, 0.4); }

/* Swiggy Delivery Location Styles */
.address-section { margin-bottom: 0.5rem; text-align: left; }
.section-label { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.swiggy-address-form { display: flex; flex-direction: column; gap: 0.6rem; }
.input-row { display: flex; gap: 0.6rem; }
.input-field { width: 100%; padding: 0.7rem; border: 1px solid #cbd5e0; border-radius: var(--radius-md); font-family: var(--font-main); font-size: 0.9rem; }
.input-field:focus { outline: none; border-color: var(--primary-color); }
.input-field.half { flex: 1; }
.input-field[readonly] { background: #f7fafc; cursor: not-allowed; color: var(--text-light); }
.detect-btn { width: 100%; padding: 0.7rem; background: var(--bg-color); border: 2px solid var(--primary-color); border-radius: 20px; font-weight: 700; cursor: pointer; transition: var(--transition); color: var(--primary-color); font-family: var(--font-main); }
.detect-btn:hover { background: var(--primary-color); color: white; }
#location-status { display: block; margin-top: -0.2rem; font-size: 0.8rem; padding-left: 0.5rem;}
.payment-body p:not(.section-label):not(.amount-to-pay) { color: var(--text-light); font-size: 0.95rem; }

/* Order Tracking Widget (Small Window) */
.tracking-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 4000; opacity: 0; visibility: hidden; pointer-events: none;
    transition: var(--transition);
}
.tracking-overlay.active { opacity: 1; visibility: visible; }
.tracking-modal {
    pointer-events: all;
    background: white; border-radius: var(--radius-lg); width: 90%; max-width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); overflow: hidden;
    position: absolute; bottom: 20px; right: 20px;
    transform: translateY(100px); opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tracking-overlay.active .tracking-modal { transform: translateY(0); opacity: 1; }
@media (max-width: 500px) {
    .tracking-modal { max-width: 100%; right: 0; bottom: 0; border-radius: 25px 25px 0 0; width: 100%; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); }
}
.tracking-header { padding: 1rem 1.2rem; border-bottom: 1px solid #edf2f7; display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.tracking-header h2 { font-size: 1.1rem; color: var(--text-dark); }
.close-tracking { background: none; border: none; font-size: 1.5rem; color: var(--text-light); cursor: pointer; transition: var(--transition); display: block !important; }
.close-tracking:hover { color: var(--text-dark); }
.tracking-body { padding: 1.2rem; }
.order-id { font-weight: 700; color: var(--text-light); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 1px; }

.tracking-stepper { display: flex; flex-direction: column; gap: 1rem; position: relative; margin-bottom: 1.5rem; }
.tracking-stepper::before {
    content: ''; position: absolute; left: 16px; top: 10px; bottom: 10px; width: 2px; background: #e2e8f0; z-index: 1;
}
.step { display: flex; gap: 0.8rem; align-items: flex-start; position: relative; z-index: 2; opacity: 0.5; transition: var(--transition); }
.step.active { opacity: 1; transform: scale(1.02); }
.step-icon { width: 34px; height: 34px; background: white; border: 2px solid #e2e8f0; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1rem; transition: var(--transition); }
.step.active .step-icon { border-color: var(--primary-color); background: #f0fdf4; box-shadow: 0 0 10px rgba(74, 222, 128, 0.3); }
.step-text h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.1rem; margin-top: 0.2rem;}
.step-text p { font-size: 0.75rem; color: var(--text-light); margin: 0; }

.tracking-map-mock {
    height: 100px; background: #e2e8f0; border-radius: var(--radius-md); position: relative; overflow: hidden;
    background-image: radial-gradient(#cbd5e0 1px, transparent 1px); background-size: 20px 20px;
}
.delivery-eta { position: absolute; top: 10px; right: 10px; background: white; padding: 5px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow-sm); z-index: 3; color: var(--primary-color); }
.rider-dot {
    width: 20px; height: 20px; background: var(--secondary-color); border: 3px solid white; border-radius: 50%;
    position: absolute; left: 10%; top: 50%; transform: translateY(-50%); box-shadow: var(--shadow-md);
    transition: left 2s ease-in-out;
}

/* My Orders Modal */
.orders-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px);
    z-index: 3000; opacity: 0; visibility: hidden;
    display: flex; justify-content: center; align-items: center; transition: var(--transition);
}
.orders-overlay.active { opacity: 1; visibility: visible; }
.orders-modal {
    background: white; border-radius: var(--radius-lg); width: 90%; max-width: 500px; max-height: 80vh;
    box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(20px); transition: var(--transition);
    display: flex; flex-direction: column;
}
.orders-overlay.active .orders-modal { transform: translateY(0); }
.orders-header { padding: 1.5rem 2rem; border-bottom: 1px solid #edf2f7; display: flex; justify-content: space-between; align-items: center; }
.orders-header h2 { font-size: 1.4rem; color: var(--text-dark); }
.close-orders { background: none; border: none; font-size: 2rem; color: var(--text-light); cursor: pointer; transition: var(--transition); }
.close-orders:hover { color: var(--text-dark); }
.orders-body { padding: 1.5rem 2rem; overflow-y: auto; flex: 1; }
.empty-orders { text-align: center; color: var(--text-light); padding: 2rem 0; font-size: 1.1rem; }
.order-card { 
    background: var(--bg-color); border: 1px solid #edf2f7; border-radius: var(--radius-md); 
    padding: 1.2rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.order-card-header { display: flex; justify-content: space-between; align-items: center; }
.order-id-txt { font-weight: 700; color: var(--text-dark); font-size: 1.1rem; }
.order-date-txt { font-size: 0.85rem; color: var(--text-light); }
.order-items-txt { font-size: 0.95rem; color: var(--text-light); margin: 0.5rem 0 0 0; line-height: 1.4; }
.order-progress-txt { font-size: 0.85rem; font-weight: 600; color: var(--primary-color); margin-bottom: 0.5rem; }
.order-progress-txt span { color: var(--text-dark); font-weight: 400; }
.track-order-btn { background: var(--primary-color); color: white; border: none; padding: 0.3rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: var(--transition); }
.track-order-btn:hover { background: #34A853; }
.order-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; border-top: 1px dashed #cbd5e0; padding-top: 0.8rem; }
.order-status { font-weight: 700; font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 20px; }
.status-Active { background: #fff3cd; color: #856404; }
.status-Delivered { background: #d4edda; color: #155724; }
.order-total-txt { font-weight: 800; color: var(--text-dark); font-size: 1.1rem; }

.payment-methods { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.pm-option { 
    flex: 1; border: 2px solid #e2e8f0; border-radius: 12px; padding: 1rem 0; text-align: center; 
    cursor: pointer; transition: var(--transition); background: #f8fafc; font-weight: 600; font-size: 0.9rem;
    color: var(--text-dark);
}
.pm-option input { display: none; }
.pm-option.active { border-color: var(--primary-color); background: #f0fdf4; color: var(--primary-color); }
.tracking-contacts { margin-top: 1.2rem; border-top: 1px solid #edf2f7; padding-top: 1rem; display: flex; gap: 0.5rem; }
.contact-box { flex: 1; background: #f8fafc; padding: 0.8rem 0.2rem; border-radius: 12px; text-align: center; border: 1px solid #e2e8f0; }

/* Print Media Styles for Invoices */
@media print {
    body * { visibility: hidden; }
    #invoice-print-area, #invoice-print-area * { visibility: visible; }
    #invoice-print-area { position: absolute; left: 0; top: 0; width: 100vw; margin: 0; padding: 10px; box-shadow: none; border-radius: 0; }
    .no-print { display: none !important; }
}

/* Invoice Modal Styles */
.invoice-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 4000;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(4px);
}
.invoice-overlay.active { display: flex; }

.invoice-modal {
    background: white; width: 90%; max-width: 450px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    max-height: 90vh; overflow-y: auto; position: relative;
    padding: 2rem; color: var(--text-dark);
}

.invoice-header { text-align: center; border-bottom: 2px dashed #cbd5e0; padding-bottom: 1rem; margin-bottom: 1rem; }
.invoice-header h2 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 0.2rem; }
.invoice-header p { font-size: 0.8rem; color: var(--text-light); }
.invoice-meta { font-size: 0.85rem; margin-bottom: 1.5rem; line-height: 1.5; }
.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.invoice-table th, .invoice-table td { padding: 0.5rem 0; border-bottom: 1px solid #edf2f7; font-size: 0.9rem; }
.invoice-table th { text-align: left; color: var(--text-light); font-size: 0.8rem; text-transform: uppercase; }
.invoice-table .right { text-align: right; }
.invoice-total { font-size: 1.2rem; font-weight: 800; display: flex; justify-content: space-between; border-top: 2px solid var(--text-dark); padding-top: 0.8rem; margin-bottom: 2rem; }
.invoice-actions { display: flex; gap: 1rem; }
.invoice-btn { flex: 1; padding: 0.8rem; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }
.btn-print { background: var(--primary-color); color: white; }
.btn-close-inv { background: #e2e8f0; color: var(--text-dark); }
.contact-title { font-size: 0.7rem; color: var(--text-light); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.contact-number { font-size: 0.8rem; font-weight: 800; color: var(--primary-color); }

/* Footer Styles */
.footer {
    text-align: center;
    padding: 3rem 1rem;
    background: transparent;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 2rem;
    border-top: 1px solid #edf2f7;
}

.footer h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.footer a:hover {
    text-decoration: underline !important;
}

/* Google Maps Style Blue Dot */
.custom-div-icon {
    background: transparent;
    border: none;
}

.gps-pulse-dot {
    width: 16px;
    height: 16px;
    background-color: #4285F4;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1000;
}

.gps-pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(66, 133, 244, 0.25);
    border-radius: 50%;
    animation: gpsPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

@keyframes gpsPulse {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
