.product-card a{
text-decoration:none;
color:inherit;
display:block;
}
/* Navigation Bar */


img {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

    body, * {
        font-family: 'Poppins', sans-serif !important;
    }

h1, h2, h3, h4 {
    font-weight: 700 !important;
}

/* ---------------------------
   GLOBAL TYPOGRAPHY REFINEMENT
---------------------------- */

/* ===== CORE LAYOUT ===== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f8f9;
    color: #333;
}-

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 40px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 16px;
    }
}

.page-header {
    background: white;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}
@media (max-width: 768px) {
    .header-container {
        padding: 15px 16px;
    }
}

/* Base font */
body {
    font-weight: 400;
    line-height: 1.6;
}

/* Headings â€” strong, modern */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.5px; /* modern feel */
    color: #0B6D63;
}

@media (max-width: 768px) {

    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

}
/* Improve paragraph readability */
p {
    font-size: 17px;
    margin-bottom: 12px;
}

/* Navigation links */
.navbar a {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Buttons */
button, .btn-main, .product-btn, .checkout-btn, .hero-btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 10px;
}

/* Product Titles */
.product-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.2px;
}

/* Product Price */
.product-price {
    font-weight: 700;
    font-size: 20px;
    color: #0B6D63;
}

/* Section Titles */
.section-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: -0.7px;
    color: #0B6D63 !important;
}

/* Cards */
.product-card, .category-card, .testimonial-box, .about-box {
    font-size: 16px;
}

/* Inputs & forms */
input, select, textarea {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
}

.card-body .d-flex:hover {
    background-color: #f8f9fa;
    transition: 0.2s ease;
}

.orders-table {
        font-size: 0.85rem;
    }

/* Mobile responsiveness: scale down nicely */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    p  { font-size: 16px; }
}


.navbar {
    background: #0B6D63;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.navbar .logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.navbar ul li a:hover {
    opacity: 0.7;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================
   PRODUCT GRID PATCH (SAFE)
============================ */

/* Make sure grid children donâ€™t break layout */
.product-grid > * {
    min-width: 0;
}

/* Lock image behaviour (no width control) 
.product-card {
    display: flex;
    flex-direction: column;
}

*/

.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .product-card img {
        height: 180px;
    }
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* CONTENT */
.product-info {
    padding: 15px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #0B6D63;
    margin-bottom: 12px;
}

/* BUTTON */
.product-btn {
    display: inline-block;
    width: 100%;
    background: #0B6D63;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
}

.product-btn:hover {
    background: #09584F;
}

.product-card .checkout-btn {
    background: #1A9D84 !important;
    color: white !important;
}

.product-card .checkout-btn:hover {
    background: #157F6A !important;
}

/* CART PAGE */
.cart-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0B6D63;
}

/* TABLE */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table {
    min-width: 600px;
}
.cart-table th,
.cart-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.cart-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* PRODUCT IMAGE */
.cart-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* TOTAL SECTION */
.cart-total {
    text-align: right;
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    color: #0B6D63;
}

/* BUTTONS */
.cart-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #0B6D63;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin-right: 8px;
}

.cart-btn:hover {
    background: #09584F;
}

.cart-remove {
    color: #d33;
    cursor: pointer;
    text-decoration: underline;
}

/* CHECKOUT BUTTON */
.checkout-main-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    background: #1A9D84;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
    float: right;
}

.checkout-main-btn:hover {
    background: #157F6A;
}

/* MOBILE */
@media (max-width: 768px) {
    .cart-table th, .cart-table td {
        font-size: 14px;
        padding: 10px;
    }
    .cart-img {
        width: 50px;
        height: 50px;
    }
}

/* CART PAGE */
/* =========================
   CART PAGE TYPOGRAPHY
========================= */
/* =========================
   CART PAGE TYPOGRAPHY
========================= */

.cart-page h1 {
    font-size: 22px; /* was probably 28+ */
    margin-bottom: 20px;
}

.cart-table th {
    font-size: 14px;
    font-weight: 600;
}

.cart-table td {
    font-size: 14px;
}

.cart-product-name {
    font-size: 14px;
    font-weight: 500;
}

.cart-price,
.cart-quantity,
.cart-subtotal {
    font-size: 14px;
}

/* Totals section */
.cart-totals h3 {
    font-size: 16px;
}

.cart-totals p {
    font-size: 14px;
}

.cart-totals .grand-total {
    font-size: 14px;
    font-weight: 700;
}

/* CHECKOUT BUTTON */
.checkout-main-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    background: #1A9D84;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
    float: right;
}

.checkout-main-btn:hover {
    background: #157F6A;
}

/* CHECKOUT PAGE */
.checkout-container {
    max-width: 1000px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
}

.checkout-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.checkout-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0B6D63;
}

/* FORM FIELDS */
.checkout-box label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.checkout-box input,
.checkout-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* ORDER SUMMARY */
.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-total {
    font-size: 22px;
    font-weight: bold;
    color: #0B6D63;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* PAY BUTTON */
.checkout-btn {
    width: 100%;
    background: #1A9D84;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 20px;
}

.checkout-btn:hover {
    background: #157F6A;
}

/* MOBILE */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.back-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #0B6D63;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: #09584F;
}

/* STOCK INDICATOR */
.stock {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.status-in {
    color: #1A9D84;
}

.status-low {
    color: #E67E22;
}

.status-out {
    color: #C0392B;
}

/* QUANTITY SELECTOR */
.qty-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.qty-btn {
    padding: 8px 14px;
    background: #0B6D63;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    margin-right: 5px;
}

.qty-btn:hover {
    background: #09584F;
}

#qty {
    width: 60px;
    text-align: center;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-right: 5px;
}


.out-of-stock-msg {
    padding: 14px;
    background: #C0392B;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

/* PRODUCT DETAILS BUTTONS */
.details-btn {
    display: inline-block;
    padding: 12px 18px;
    background: #0B6D63;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 17px;
    margin-right: 10px;
    margin-top: 10px;
}

.details-btn:hover {
    background: #09584F;
}

.details-checkout-btn {
    background: #1A9D84;
}

.details-checkout-btn:hover {
    background: #157F6A;
}

/* PRODUCT DETAILS LAYOUT */
.product-details-container {
    max-width: 900px;
    margin: 40px auto; /* centers the page */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    padding: 6px 10px;
    background: #0B6D63;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.qty-btn:hover {
    background: #09584F;
}

.qty-display {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 6px;
    border-radius: 6px;
    background: #fff;
}

.toast-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #C0392B;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 15px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
}

.toast-error.show {
    opacity: 1;
    transform: translateX(0);
}

/* TOAST BASE STYLE */
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* SUCCESS */
.toast-success {
    background: linear-gradient(135deg, #C0392B, #E74C3C);
}

/* ERROR */
.toast-error {
    background: linear-gradient(135deg, #C0392B, #E74C3C);
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* PAYMENT MESSAGE PAGES */
.payment-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.payment-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.payment-card h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.payment-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

.payment-card .small {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.payment-card.success {
    border-left: 6px solid #0B6D63;
}

.payment-card.cancel {
    border-left: 6px solid #C0392B;
}

/* BUTTONS */
.payment-btn {
    display: inline-block;
    padding: 12px 18px;
    background: #0B6D63;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    margin: 8px;
    font-size: 16px;
}

.payment-btn:hover {
    background: #09584F;
}

.payment-btn.secondary {
    background: #444;
}

.payment-btn.secondary:hover {
    background: #222;
}

/* ORDER CONFIRMATION PAGE */
.order-confirm-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.order-confirm-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-confirm-card h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.order-message {
    font-size: 16px;
    margin-bottom: 25px;
}

.order-summary-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.order-summary-box h2 {
    margin-bottom: 12px;
}

.order-status.paid {
    color: #0B6D63;
    font-weight: bold;
}

.order-status.pending {
    color: #C0392B;
    font-weight: bold;
}

.confirm-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #0B6D63;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 17px;
}

.confirm-btn:hover {
    background: #09584F;
}


/* Make navbar stick to top */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Shadow appears when scrolling */
.sticky-active {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    background: #0B6D63; /* Ensures consistency when floating above content */
}


.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #1A9D84;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-box label {
    font-weight:600;
    margin-top:14px;
    display:block;
}

.checkout-box input {
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #ddd;
    margin-top:6px;
}

/* NAVBAR */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.nav-logo {
    font-size: 22px;
    font-weight: bold;
    color: #1b4332;
    text-decoration: none;
}

.nav-logo span {
    color: #40916c;
}

/* LINKS */
.nav-center a {
    margin: 0 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.nav-center a:hover {
    color: #2d6a4f;
}

/* RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* CART */
.nav-cart {
    position: relative;
    font-size: 20px;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #c1121f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* BUTTONS */
.nav-btn {
    padding: 8px 14px;
    background: #2d6a4f;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.nav-btn.outline {
    background: transparent;
    color: #2d6a4f;
    border: 1px solid #2d6a4f;
}

/* DROPDOWN */
.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 130%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: none;
    min-width: 180px;
    overflow: hidden;
}

.dropdown-menu a,
.logout-btn {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-menu a:hover,
.logout-btn:hover {
    background: #f1f5f3;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
}

/* NAV BASE */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* LOGO */
.nav-logo {
    width:80px;
    font-size: 22px;
    font-weight: bold;
    color: #1b4332;
    text-decoration: none;
}

.nav-logo span {
    color: #40916c;
}

.nav-logo-img {
    width:80px;
    height:auto;
}

/* HAMBURGER */
.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #1b4332;
    border-radius: 2px;
}

/* MENU */
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a,
.logout-btn {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

/* CART */
.cart-badge {
    background: #c1121f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 6px;
}

/* MOBILE */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .nav-menu a,
    .logout-btn {
        padding: 12px 0;
        width: 100%;
        font-size: 16px;
    }

    /* TOGGLE OPEN */
    .nav-toggle:checked + .hamburger + .nav-menu {
        display: flex;
    }
}

.inline-form {
    display: inline;
}

.btn-delete {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-delete:hover {
    background-color: #bb2d3b;
    transform: translateY(-1px);
}

.btn-delete:active {
    transform: scale(0.98);
}

/* ==============================
   ADMIN ISOLATION FIX
============================== */

/* Stop frontend layout rules affecting admin */
.admin-body {
    background: #f5f6f8;
}

/* Reset common frontend containers */
.admin-body .container,
.admin-body .product-grid,
.admin-body .navbar,
.admin-body .main-nav,
.admin-body .nav-container {
    all: unset;
}

/* Admin header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #0B6D63;
    color: white;
    font-size: 18px;
}

/* Logout button */
.admin-logout-btn {
    background: white;
    color: #0B6D63;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Admin content area */
.admin-wrapper {
    padding: 30px;
}

/* Tables inside admin */
.admin-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-wrapper th,
.admin-wrapper td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.admin-wrapper th {
    background: #f1f1f1;
}

/* ==============================
   ADMIN DASHBOARD GRID
============================== */

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* LEFT CONTENT */
.admin-main h1 {
    margin-bottom: 6px;
}

.admin-main p {
    color: #666;
    margin-bottom: 20px;
}

/* RIGHT STATS COLUMN */
.admin-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* STAT CARD */
.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.admin-stat-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0B6D63;
}

/* MOBILE */
@media (max-width: 900px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ADMIN NAV */
.admin-nav {
    display: flex;
    gap: 18px;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.admin-nav a:hover {
    text-decoration: underline;
}

/* ==============================
   ADMIN SIDEBAR LAYOUT
============================== */

.admin-body {
    background: #f5f6f8;
    margin: 0;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
    width: 240px;
    background: #0B6D63;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
}

.admin-sidebar-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.admin-sidebar-header span {
    color: #A7E8D6;
}

/* NAV LINKS */
.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-sidebar-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.admin-sidebar-nav a:hover {
    background: rgba(255,255,255,0.15);
}

/* LOGOUT */
.admin-logout-form {
    margin-top: auto;
}

.admin-logout-form button {
    width: 100%;
    padding: 10px;
    background: white;
    color: #0B6D63;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.admin-logout-form button:hover {
    background: #e6f5f1;
}

/* MAIN CONTENT */
.admin-content {
    flex: 1;
    padding: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .admin-sidebar-nav {
        flex-direction: row;
        gap: 10px;
    }

    .admin-content {
        padding: 20px;
    }
}

.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .admin-stats-row {
        grid-template-columns: 1fr;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #0B6D63;
    background: #F6F6F6;
}

.pagination a:hover {
    background: #0B6D63;
    color: #fff;
}

.pagination .active span {
    background: #1A9D84;
    color: #fff;
}

.pagination .disabled span {
    opacity: 0.4;
}

.site-footer {
    background: #111;
    color: #ccc;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ccc;
    margin: 0 8px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.shop-sidebar {
    width: 260px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.shop-sidebar h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #1b4332;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.filter-option {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.shop-sidebar input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.filter-btn {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    border: none;
    background: #2d6a4f;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover {
    background: #1b4332;
}

.shop-products {
    flex: 1;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-toolbar select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}


.product-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.product-btn,
.product-card form {
    margin-top: auto;
}

.product-info .product-btn,
.product-info form {
    margin-top: auto;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-inner h1 {
    font-size: 44px;
    margin-bottom: 20px;
}

.hero-inner p {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary {
    background: white;
    color: #1b4332;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

/* SECTIONS */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #1b4332;
}

/* CATEGORIES */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #1b4332;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TRUST SECTION */
.trust {
    background: #f8f9fa;
    padding: 70px 20px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-grid h3 {
    margin-bottom: 10px;
    color: #1b4332;
}
.hero {
    position: relative;
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1607083206968-13611e3d76db?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,67,50,0.85), rgba(45,106,79,0.75));
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.shop-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Navigation Bar */

    body, * {
        font-family: 'Poppins', sans-serif !important;
    }

h1, h2, h3, h4 {
    font-weight: 700 !important;
}

/* ---------------------------
   GLOBAL TYPOGRAPHY REFINEMENT
---------------------------- */

/* ===== CORE LAYOUT ===== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f8f9;
    color: #333;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 40px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    background: white;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* Base font */
body {
    font-weight: 400;
    line-height: 1.6;
}

/* Headings â€” strong, modern */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.5px; /* modern feel */
    color: #0B6D63;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

/* Improve paragraph readability */
p {
    font-size: 17px;
    margin-bottom: 12px;
}

/* Navigation links */
.navbar a {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Buttons */
button, .btn-main, .product-btn, .checkout-btn, .hero-btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 16px;
}

/* Product Titles */
.product-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.2px;
}

/* Product Price */
.product-price {
    font-weight: 700;
    font-size: 20px;
    color: #0B6D63;
}

/* Section Titles */
.section-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: -0.7px;
    color: #0B6D63 !important;
}

/* Cards */
.product-card, .category-card, .testimonial-box, .about-box {
    font-size: 16px;
}

/* Inputs & forms */
input, select, textarea {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
}

.card-body .d-flex:hover {
    background-color: #f8f9fa;
    transition: 0.2s ease;
}

.orders-table {
        font-size: 0.85rem;
    }

/* Mobile responsiveness: scale down nicely */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    p  { font-size: 16px; }
}


.navbar {
    background: #0B6D63;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.navbar .logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.navbar ul li a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

}

/* ============================
   PRODUCT GRID PATCH (SAFE)
============================ */

.product-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
/* Lock image behaviour (no width control) 
.product-card {
    display: flex;
    flex-direction: column;
}

*/

.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* CONTENT */
.product-info {
    padding: 15px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #0B6D63;
    margin-bottom: 12px;
}

/* BUTTON */
.product-btn {
    display: inline-block;
    width: 100%;
    background: #0B6D63;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
}

.product-btn:hover {
    background: #09584F;
}

.product-card .checkout-btn {
    background: #1A9D84 !important;
    color: white !important;
}

.product-card .checkout-btn:hover {
    background: #157F6A !important;
}

/* CART PAGE */
.cart-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0B6D63;
}

/* TABLE */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th,
.cart-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.cart-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* PRODUCT IMAGE */
.cart-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* TOTAL SECTION */
.cart-total {
    text-align: right;
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    color: #0B6D63;
}

/* BUTTONS */
.cart-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #0B6D63;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin-right: 8px;
}

.cart-btn:hover {
    background: #09584F;
}

.cart-remove {
    color: #d33;
    cursor: pointer;
    text-decoration: underline;
}

/* CHECKOUT BUTTON */
.checkout-main-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    background: #1A9D84;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
    float: right;
}

.checkout-main-btn:hover {
    background: #157F6A;
}

/* MOBILE */
@media (max-width: 768px) {
    .cart-table th, .cart-table td {
        font-size: 14px;
        padding: 10px;
    }
    .cart-img {
        width: 50px;
        height: 50px;
    }
}

/* CART PAGE */
.cart-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0B6D63;
}

/* TABLE */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th,
.cart-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.cart-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* REMOVE */
.cart-remove {
    color: #d33;
    cursor: pointer;
    text-decoration: underline;
}

/* TOTAL */
.cart-total {
    text-align: right;
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    color: #0B6D63;
}

/* CHECKOUT BUTTON */
.checkout-main-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    background: #1A9D84;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
    float: right;
}

.checkout-main-btn:hover {
    background: #157F6A;
}

/* CHECKOUT PAGE */
.checkout-container {
    max-width: 1000px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
}

.checkout-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.checkout-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0B6D63;
}

/* FORM FIELDS */
.checkout-box label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.checkout-box input,
.checkout-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* ORDER SUMMARY */
.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-total {
    font-size: 22px;
    font-weight: bold;
    color: #0B6D63;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* PAY BUTTON */
.checkout-btn {
    width: 100%;
    background: #1A9D84;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 20px;
}

.checkout-btn:hover {
    background: #157F6A;
}

/* MOBILE */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.back-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #0B6D63;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: #09584F;
}

/* STOCK INDICATOR */
.stock {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.status-in {
    color: #1A9D84;
}

.status-low {
    color: #E67E22;
}

.status-out {
    color: #C0392B;
}

/* QUANTITY SELECTOR */
.qty-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.qty-btn {
    padding: 8px 14px;
    background: #0B6D63;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    margin-right: 5px;
}

.qty-btn:hover {
    background: #09584F;
}

#qty {
    width: 60px;
    text-align: center;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-right: 5px;
}


.out-of-stock-msg {
    padding: 14px;
    background: #C0392B;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

/* PRODUCT DETAILS BUTTONS */
.details-btn {
    display: inline-block;
    padding: 12px 18px;
    background: #0B6D63;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 17px;
    margin-right: 10px;
    margin-top: 10px;
}

.details-btn:hover {
    background: #09584F;
}

.details-checkout-btn {
    background: #1A9D84;
}

.details-checkout-btn:hover {
    background: #157F6A;
}

/* PRODUCT DETAILS LAYOUT */
.product-details-container {
    max-width: 900px;
    margin: 40px auto; /* centers the page */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    padding: 6px 10px;
    background: #0B6D63;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.qty-btn:hover {
    background: #09584F;
}

.qty-display {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 6px;
    border-radius: 6px;
    background: #fff;
}

.toast-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #C0392B;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 15px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
}

.toast-error.show {
    opacity: 1;
    transform: translateX(0);
}

/* TOAST BASE STYLE */
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* SUCCESS */
.toast-success {
    background: linear-gradient(135deg, #C0392B, #E74C3C);
}

/* ERROR */
.toast-error {
    background: linear-gradient(135deg, #C0392B, #E74C3C);
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* PAYMENT MESSAGE PAGES */
.payment-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.payment-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.payment-card h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.payment-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

.payment-card .small {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.payment-card.success {
    border-left: 6px solid #0B6D63;
}

.payment-card.cancel {
    border-left: 6px solid #C0392B;
}

/* BUTTONS */
.payment-btn {
    display: inline-block;
    padding: 12px 18px;
    background: #0B6D63;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    margin: 8px;
    font-size: 16px;
}

.payment-btn:hover {
    background: #09584F;
}

.payment-btn.secondary {
    background: #444;
}

.payment-btn.secondary:hover {
    background: #222;
}

/* ORDER CONFIRMATION PAGE */
.order-confirm-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.order-confirm-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-confirm-card h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.order-message {
    font-size: 16px;
    margin-bottom: 25px;
}

.order-summary-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.order-summary-box h2 {
    margin-bottom: 12px;
}

.order-status.paid {
    color: #0B6D63;
    font-weight: bold;
}

.order-status.pending {
    color: #C0392B;
    font-weight: bold;
}

.confirm-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #0B6D63;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 17px;
}

.confirm-btn:hover {
    background: #09584F;
}


/* Make navbar stick to top */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Shadow appears when scrolling */
.sticky-active {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    background: #0B6D63; /* Ensures consistency when floating above content */
}

/* Cart Badge */
.cart-link {
    position: relative;
}


.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #1A9D84;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-box label {
    font-weight:600;
    margin-top:14px;
    display:block;
}

.checkout-box input {
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #ddd;
    margin-top:6px;
}

/* NAVBAR */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.nav-logo {
    font-size: 22px;
    font-weight: bold;
    color: #1b4332;
    text-decoration: none;
}

.nav-logo span {
    color: #40916c;
}

/* LINKS */
.nav-center a {
    margin: 0 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.nav-center a:hover {
    color: #2d6a4f;
}

/* RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* CART */
.nav-cart {
    position: relative;
    font-size: 20px;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #c1121f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* BUTTONS */
.nav-btn {
    padding: 8px 14px;
    background: #2d6a4f;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.nav-btn.outline {
    background: transparent;
    color: #2d6a4f;
    border: 1px solid #2d6a4f;
}

/* DROPDOWN */
.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 130%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: none;
    min-width: 180px;
    overflow: hidden;
}

.dropdown-menu a,
.logout-btn {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-menu a:hover,
.logout-btn:hover {
    background: #f1f5f3;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
}

/* NAV BASE */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* LOGO */
.nav-logo {
    width:80px;
    font-size: 22px;
    font-weight: bold;
    color: #1b4332;
    text-decoration: none;
}

.nav-logo span {
    color: #40916c;
}

.nav-logo-img {
    width:80px;
    height:auto;
}

/* HAMBURGER */
.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #1b4332;
    border-radius: 2px;
}

/* MENU */
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a,
.logout-btn {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

/* CART */
.cart-badge {
    background: #c1121f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 6px;
}

/* MOBILE */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .nav-menu a,
    .logout-btn {
        padding: 12px 0;
        width: 100%;
        font-size: 16px;
    }

    /* TOGGLE OPEN */
    .nav-toggle:checked + .hamburger + .nav-menu {
        display: flex;
    }
}

.inline-form {
    display: inline;
}

.btn-delete {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-delete:hover {
    background-color: #bb2d3b;
    transform: translateY(-1px);
}

.btn-delete:active {
    transform: scale(0.98);
}

/* ==============================
   ADMIN ISOLATION FIX
============================== */

/* Stop frontend layout rules affecting admin */
.admin-body {
    background: #f5f6f8;
}

/* Reset common frontend containers */
.admin-body .container,
.admin-body .product-grid,
.admin-body .navbar,
.admin-body .main-nav,
.admin-body .nav-container {
    all: unset;
}

/* Admin header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #0B6D63;
    color: white;
    font-size: 18px;
}

/* Logout button */
.admin-logout-btn {
    background: white;
    color: #0B6D63;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Admin content area */
.admin-wrapper {
    padding: 30px;
}

/* Tables inside admin */
.admin-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-wrapper th,
.admin-wrapper td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.admin-wrapper th {
    background: #f1f1f1;
}

/* ==============================
   ADMIN DASHBOARD GRID
============================== */

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* LEFT CONTENT */
.admin-main h1 {
    margin-bottom: 6px;
}

.admin-main p {
    color: #666;
    margin-bottom: 20px;
}

/* RIGHT STATS COLUMN */
.admin-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* STAT CARD */
.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.admin-stat-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0B6D63;
}

/* MOBILE */
@media (max-width: 900px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ADMIN NAV */
.admin-nav {
    display: flex;
    gap: 18px;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.admin-nav a:hover {
    text-decoration: underline;
}

/* ==============================
   ADMIN SIDEBAR LAYOUT
============================== */

.admin-body {
    background: #f5f6f8;
    margin: 0;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
    width: 240px;
    background: #0B6D63;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
}

.admin-sidebar-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.admin-sidebar-header span {
    color: #A7E8D6;
}

/* NAV LINKS */
.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-sidebar-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.admin-sidebar-nav a:hover {
    background: rgba(255,255,255,0.15);
}

/* LOGOUT */
.admin-logout-form {
    margin-top: auto;
}

.admin-logout-form button {
    width: 100%;
    padding: 10px;
    background: white;
    color: #0B6D63;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.admin-logout-form button:hover {
    background: #e6f5f1;
}

/* MAIN CONTENT */
.admin-content {
    flex: 1;
    padding: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .admin-sidebar-nav {
        flex-direction: row;
        gap: 10px;
    }

    .admin-content {
        padding: 20px;
    }
}

.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .admin-stats-row {
        grid-template-columns: 1fr;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #0B6D63;
    background: #F6F6F6;
}

.pagination a:hover {
    background: #0B6D63;
    color: #fff;
}

.pagination .active span {
    background: #1A9D84;
    color: #fff;
}

.pagination .disabled span {
    opacity: 0.4;
}

.site-footer {
    background: #111;
    color: #ccc;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ccc;
    margin: 0 8px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.shop-sidebar {
    width: 260px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.shop-sidebar h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #1b4332;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.filter-option {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.shop-sidebar input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.filter-btn {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    border: none;
    background: #2d6a4f;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover {
    background: #1b4332;
}

.shop-products {
    flex: 1;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-toolbar select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}



.product-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.product-btn,
.product-card form {
    margin-top: auto;
}

.product-info .product-btn,
.product-info form {
    margin-top: auto;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-inner h1 {
    font-size: 44px;
    margin-bottom: 20px;
}

.hero-inner p {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary {
    background: white;
    color: #1b4332;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

/* SECTIONS */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #1b4332;
}

/* CATEGORIES */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #1b4332;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TRUST SECTION */
.trust {
    background: #f8f9fa;
    padding: 70px 20px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-grid h3 {
    margin-bottom: 10px;
    color: #1b4332;
}
.hero {
    position: relative;
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1607083206968-13611e3d76db?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,67,50,0.85), rgba(45,106,79,0.75));
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.shop-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* ===== FILTER BAR INLINE (UPGRADED) ===== */

.admin-filter {
    display: flex;
    align-items: stretch; /* makes buttons match input height */
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.admin-input,
.admin-select {
    padding: 9px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    height: 38px;
    transition: all 0.2s ease;
}

.admin-input {
    min-width: 260px;
}

.admin-select {
    min-width: 180px;
}

.admin-input:focus,
.admin-select:focus {
    outline: none;
    border-color: #1A9D84;
    box-shadow: 0 0 0 3px rgba(26,157,132,0.15);
}

/* Buttons same height as inputs */
.admin-filter .admin-btn {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
}

/* Reset button softer look */
.btn-light {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-light:hover {
    background: #f5f5f5;
    color: #333;
}
.search-input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px !important;
}

.vendor-orders-container .search-input {
    font-size: 12px;
    width:200px;
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;   /* force same size */
}

.cart-icon {
    font-size: 14px;   /* override emoji weird sizing */
}

.cart-badge {
    background: #ff4d4d;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
}

.nav-menu a {
    font-size: 14px;   /* slightly smaller */
    font-weight: 500;
    text-decoration: none;
}

.hero {
    background: linear-gradient(135deg, #111, #333);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.btn-primary {
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.home-section {
    padding: 50px 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: #f7f7f7;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.2s;
}

.category-card:hover {
    background: #ff6600;
    color: white;
}
/*
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}*/

@media (max-width: 768px) {
    .nav-menu {@media (max-width: 768px) {

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        z-index: 9999;
    }

    .main-nav {
    position: relative;
    z-index: 10000;
}

.hero {
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    z-index: 0;
}
}
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
}



.hero {
    z-index: 0;
}
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Main CTA */
.btn-primary {
    background: white;
    color: #ff3366;
}

.btn-primary:hover {
    background: #f2f2f2;
    transform: translateY(-2px);
}

/* Secondary CTA */
.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #ff3366;
    transform: translateY(-2px);
}
/*
.product-grid {
    display: grid;
    gap: 16px;
}

/* ðŸ“± Mobile first â€” 2 per row */
/*@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ðŸ’» Tablet 
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ðŸ–¥ Desktop 
@media (min-width: 1025px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
*/
.contact-page {
    padding: 80px 20px;
}

.contact-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 12px;
}
.contact-hero {
    background: linear-gradient(135deg, #ff6600, #ff3366);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact-section {
    padding: 60px 20px;
}

.contact-wrapper {
    max-width: 1100px;
    margin: auto;
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}
.contact-header {
    background: #f4f6f8;
    padding: 60px 20px;
    text-align: center;
}

.contact-header h1 {
    font-size: 32px;
    font-weight: 600;
}

.contact-header p {
    margin-top: 10px;
    color: #555;
}

.contact-main {
    padding: 60px 20px;
}

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.contact-card h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-card label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.btn-corporate {
    background: #1f2937;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-corporate:hover {
    background: #111827;
}

.alert-success {
    background: #e6f4ea;
    color: #256029;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}
.info-block strong {
    display: block;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-block p {
    margin: 0;
    font-size: 15px;
    color: #111827;
}
.response-note {
    font-size: 14px;
    color: #666;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    background: #f3f4f6;
}

.auth-box {
    background: white;
    padding: 40px;
    width: 400px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-box h2 {
    margin-bottom: 10px;
}

.auth-box input {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.auth-box button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.alert-success {
    margin-top: 15px;
    padding: 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 8px;
}

/* AUTH PAGES */

.auth-wrapper {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
    margin-bottom: 25px;
    text-align: center;
}

.auth-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-card input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.auth-card input:focus {
    border-color: #111;
    outline: none;
}

.auth-card button {
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-card button:hover {
    background: #333;
}

.auth-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.auth-link a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

/* ===== LUXURY AUTH DESIGN ===== */

body {
    background: #f4f6f4;
}

/* Wrapper */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card */
.auth-card {
    width: 100%;
    max-width: 440px;
    background: #f8f6f2;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: fadeIn 0.5s ease-in-out;
}

/* Title */
.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Labels */
.auth-card label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #444;
    display: block;
    margin-bottom: 6px;
}

/* Inputs */
.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #ffffff;
    transition: 0.3s ease;
}

.auth-card input:focus {
    border-color: #b89b5e;
    box-shadow: 0 0 0 2px rgba(184, 155, 94, 0.2);
    outline: none;
}

/* Button */
.auth-card button {
    width: 100%;
    padding: 13px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-card button:hover {
    background: #b89b5e;
    color: #111;
    transform: translateY(-2px);
}

/* Links */
.auth-link {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.auth-link a {
    color: #b89b5e;
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Luxury Logo */

.auth-logo {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #b89b5e;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 25px;
}

.auth-divider {
    width: 60px;
    height: 2px;
    background: #b89b5e;
    margin: 0 auto 25px auto;
    border-radius: 2px;
}
/* Order Progress Timeline */

.order-progress-wrapper{
margin:25px 0 40px;
}

.order-progress{
display:flex;
justify-content:space-between;
align-items:center;
position:relative;
}

.progress-step{
flex:1;
text-align:center;
position:relative;
font-size:13px;
color:#aaa;
}

.progress-step span{
width:18px;
height:18px;
border-radius:50%;
background:#ddd;
display:block;
margin:0 auto 6px;
}

.progress-step.active span{
background:#0B6D63;
}

.progress-step.active{
color:#0B6D63;
font-weight:600;
}

.progress-step::after{
content:'';
position:absolute;
top:9px;
left:50%;
width:100%;
height:3px;
background:#ddd;
z-index:-1;
}

.progress-step.active::after{
background:#0B6D63;
}

.progress-step:last-child::after{
display:none;
}

.step-label{
font-size:12px;
}

/* Card */
.form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    max-width: 700px;
}

/* Title */
.form-title {
    margin-bottom: 20px;
    color: #ff6600;
    font-weight: 600;
}

/* Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full {
    grid-column: span 2;
}

/* Labels */
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

/* Inputs */
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fafafa;
}

/* Focus Effect 🔥 */
.form-group input:focus,
.form-group select:focus {
    border-color: #ff6600;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}

/* Button */
.submit-btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Hover */
.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255,102,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }
}