:root {
    --primary-green: #1b8a73;
    --accent-yellow: #ffc107;
    --dark-blue: #0046a1;
    --text-white: #ffffff;
}

/* --- Global Resets --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { overflow-x: hidden; width: 100%; background-color: #fff; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* --- Header & Navbar --- */
.shop-hero { 
    background-color: var(--primary-green); 
    color: white; 
    padding: 20px 0 100px 0; 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 80px; 
}

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { 
    color: white; text-decoration: none; font-weight: 500; 
    padding-bottom: 5px; border-bottom: 2px solid transparent; 
}
.nav-links a.active, .nav-links a:hover { border-bottom: 2px solid var(--accent-yellow); }


/* --- Search & Icons --- */
.nav-icons { display: flex; align-items: center; gap: 10px; }
.icon-btn { 
    background: none; border: none; color: white; 
    font-size: 18px; cursor: pointer; position: relative; padding: 8px;
}

.nav-icons a.active, .nav-icons a:hover { border-bottom: 2px solid var(--accent-yellow); }
.icon-btn:hover::after {
    content: ""; position: absolute; bottom: 0; left: 20%; 
    width: 60%; height: 2px; background: #ffcc00;
}

.search-wrapper { display: flex; align-items: center; border-radius: 50px; transition: 0.3s; }
.search-wrapper.active { background: white; padding: 2px 15px; }
.search-input { width: 0; opacity: 0; border: none; outline: none; background: transparent; transition: 0.3s; }
.search-wrapper.active .search-input { width: 180px; opacity: 1; }
.search-wrapper.active .icon-btn { color: #1b8a73; }
.mobile-toggle { display: none; }

/* --- Hero Content (Left Aligned) --- */
.hero-content { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    text-align: left; 
}

.hero-top-row { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin-bottom: 50px; 
    width: 100%; 
}

.company-name-heading { font-size: 42px; font-weight: 700; line-height: 1.2; }

.lab-pill { 
    border: 2px solid white; 
    padding: 10px 25px; 
    border-radius: 50px; 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
    white-space: nowrap; 
    font-size: 0.9rem;
}

.page-title { 
    font-size: 85px; 
    font-weight: 800; 
    margin-bottom: 10px; 
    line-height: 1; 
}

/* --- Mobile Queries (Left-Aligned Stack) --- */
@media (max-width: 768px) {
    .mobile-toggle { 
        display: flex; 
        background: var(--dark-blue); 
        color: white; 
        border: none; 
        width: 45px; height: 40px; 
        border-radius: 8px; 
        align-items: center; justify-content: center; 
    }

    .hero-top-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .company-name-heading { font-size: 28px; }
    .page-title { font-size: 55px; }
}

/* Layout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 80px 0;
    align-items: start;
}

/* Forms */
.section-title { font-size: 1.5rem; margin-bottom: 25px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: #333; }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px; border: 1px solid #ddd; border-radius: 8px; outline: none; font-size: 1rem;
}
.mt-40 { margin-top: 40px; }

/* Order Review Card */
.review-card { background: var(--bg-light); padding: 30px; border-radius: 15px; border: 1px solid #eee; position: sticky; top: 20px; }
.review-table .review-row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #e0e0e0; }
.review-row.header { font-weight: 700; color: #888; text-transform: uppercase; font-size: 0.8rem; }
.review-row.total { border-bottom: none; font-size: 1.3rem; font-weight: 800; color: var(--primary-teal); }

/* Payment Options */
.payment-methods { margin-top: 30px; }
.payment-option { margin-bottom: 15px; padding: 15px; background: white; border-radius: 8px; border: 1px solid #ddd; }
.payment-option input { margin-right: 10px; accent-color: var(--primary-teal); }
.payment-option label { font-weight: 700; cursor: pointer; }
.payment-desc { font-size: 0.85rem; color: #666; margin-top: 10px; line-height: 1.4; }

.place-order-btn {
    width: 100%; background: #000; color: white; border: none; padding: 20px;
    border-radius: 50px; font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 25px;
    transition: 0.3s;
}
.place-order-btn:hover { background: var(--primary-teal); }

/* Responsive */
@media (max-width: 992px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

.back-to-cart-btn {
    text-align: center; 
    text-decoration: none; 
    color: #666; 
    font-size: 14px; 
    font-weight: 500; 
    margin-top: 5px; 
    padding: 10px; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    transition: all 0.3s ease;
    display: block;
}

.back-to-cart-btn:hover {
    background-color: #f8f8f8;
    color: #1b8a73; /* Your brand green */
    border-color: #1b8a73;
}

.back-to-cart-btn i {
    transition: transform 0.3s ease;
}

.back-to-cart-btn:hover i {
    transform: translateX(-5px); /* Moves the arrow slightly to the left */
}