body {
    background: #f5f7fa;
    margin: 0;
    font-family: Segoe UI;
}

/* TOP BAR */

.top-bar {
    background: #16a34a;
    color: white;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
}

.top-links {
    font-weight: 500;
}

/* HEADER */

.main-header {
    background: white;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 35px;
    font-weight: bold;
    color: #16a34a;
}

.search-box {
    flex: 1;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding-left: 15px;
}

.header-icons {
    font-size: 28px;
}

/* CATEGORIES */

.categories {
    background: white;
    padding: 15px 40px;
    display: flex;
    gap: 30px;
    border-top: 1px solid #eee;
}

    .categories a {
        text-decoration: none;
        color: #333;
        font-weight: 600;
    }

/* HERO */

.hero {
    margin: 20px 40px;
    height: 350px;
    border-radius: 20px;
    background: linear-gradient( 135deg, #16a34a, #22c55e );
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
}

/* CATEGORY GRID */

.category-grid {
    padding: 20px 40px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.box {
    background: white;
    padding: 50px;
    text-align: center;
    border-radius: 15px;
}

/* PRODUCTS */

.product-grid {
    padding: 20px 40px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.product-card {
    background: white;
    height: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 15px rgba(0,0,0,.08);
}

.header-icons {
    display: flex;
    gap: 25px;
    font-size: 26px;
    color: #444;
}

    .header-icons i:hover {
        color: #16a34a;
        cursor: pointer;
    }

.search-container {
    flex: 1;
    display: flex;
}

.search-btn {
    width: 60px;
    border: none;
    background: #16a34a;
    color: white;
    border-radius: 0 10px 10px 0;
}

.search-box {
    border-radius: 10px 0 0 10px;
}

.top-bar i {
    margin-right: 8px;
}

.categories a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: .3s;
}

    .categories a:hover {
        color: #16a34a;
    }

body {
    background: #f5f7fa;
    margin: 0;
    font-family: "Segoe UI", sans-serif;
}

/* TOP BAR */

.top-bar {
    background: #16a34a;
    color: white;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.top-links {
    font-weight: 600;
}

/* MAIN HEADER */

.main-header {
    background: white;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 38px;
    font-weight: bold;
    color: #16a34a;
    min-width: 220px;
}

.search-container {
    flex: 1;
    display: flex;
}

.search-box {
    flex: 1;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px 0 0 10px;
    padding-left: 20px;
    font-size: 16px;
}

.search-btn {
    width: 60px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 18px;
}

.header-icons {
    display: flex;
    gap: 25px;
    font-size: 28px;
    color: #444;
}

    .header-icons i:hover {
        color: #16a34a;
        cursor: pointer;
    }

/* CATEGORY BAR */

.categories {
    background: white;
    padding: 15px 40px;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eee;
}

    .categories a {
        text-decoration: none;
        color: #444;
        font-weight: 600;
        transition: .3s;
    }

        .categories a:hover {
            color: #16a34a;
        }

/* HERO SECTION */

.hero {
    margin: 30px 40px;
    height: 350px;
    border-radius: 20px;
    background: linear-gradient(135deg,#16a34a,#22c55e);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
}

    .hero h1 {
        font-size: 60px;
        font-weight: bold;
    }

    .hero p {
        font-size: 22px;
    }

.location-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    z-index: 100;
    position: relative;
}

    .location-bar:hover {
        opacity: 0.9;
    }

.location-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.location-content {
    background: white;
    width: 400px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

    .location-content h3 {
        margin-bottom: 15px;
    }

    .location-content input {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
    }

.save-btn {
    width: 100%;
    padding: 12px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
}

.close-btn {
    width: 100%;
    padding: 12px;
    background: #ef4444;
    color: white;
    border: dashed;
    border-radius: 8px;
    margin-bottom: 10px;
}



.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-modal-content {
    background: white;
    width: 450px;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.modal-icon {
    font-size: 60px;
    color: #16a34a;
    margin-bottom: 15px;
}

.custom-modal-content h2 {
    color: #16a34a;
    font-weight: 700;
    margin-bottom: 15px;
}

.custom-modal-content p {
    color: #666;
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.green-btn {
    flex: 1;
    padding: 12px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
}

.outline-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #16a34a;
    color: #16a34a;
    background: white;
    border-radius: 10px;
    font-weight: 600;
}

.close-modal {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
}

.cancel-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    transition: 0.3s;
}

    .cancel-btn:hover {
        background: #e5e7eb;
    }

.top-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

    .top-links a:hover {
        text-decoration: underline;
    }

.top-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.location-content {
    background: white;
    width: 500px;
    max-width: 90%;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.register-page {
    min-height: 100vh;
    background: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI',sans-serif;
}

.register-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.register-card {
    width: 450px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand {
    font-size: 42px;
    font-weight: 700;
    color: #16a34a;
    text-align: center;
    margin-bottom: 20px;
}

.register-card h1 {
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
}

.register-card input {
    margin-bottom: 15px;
    height: 50px;
    border-radius: 10px;
}

.create-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #16a34a;
    color: white;
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s;
}

    .create-btn:hover {
        background: #15803d;
    }

.login-link {
    text-align: center;
    margin-top: 20px;
}

.register-page {
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI',sans-serif;
}

.register-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.register-card {
    width: 450px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-logo {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 15px;
}

.register-card h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.register-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 25px;
}

.register-card .form-control {
    height: 50px;
    border-radius: 10px;
}

.register-card .btn-success {
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}

.login-link {
    margin-top: 20px;
    text-align: center;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

    .password-toggle:hover {
        opacity: 0.7;
    }

.profile-icon-container {
    position: relative;
}

.profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    width: 260px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
}

.profile-header {
    padding: 20px;
    background: #16a34a;
    color: white;
}

    .profile-header h4 {
        margin: 0;
    }

.profile-menu a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
}

    .profile-menu a:hover {
        background: #f5f5f5;
    }

.logout-link {
    color: #dc2626 !important;
    font-weight: bold;
}

.account-container {
    display: flex;
    gap: 25px;
    padding: 30px;
}

.account-sidebar {
    width: 280px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

    .account-sidebar h2 {
        color: #16a34a;
        margin-bottom: 15px;
    }

    .account-sidebar a {
        display: block;
        padding: 12px 0;
        color: #333;
        text-decoration: none;
    }

        .account-sidebar a:hover {
            color: #16a34a;
        }

.account-content {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 25px;
}

.account-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e5e5e5;
}

    .account-card h3 {
        color: #16a34a;
    }

.logout-btn {
    color: #dc2626 !important;
    font-weight: bold;
}

.address-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
    }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
}

    .form-control:focus {
        outline: none;
        border-color: #16a34a;
        box-shadow: 0 0 0 3px rgba(22,163,74,.15);
    }

.cart-page {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding: 30px;
}

.cart-items {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.cart-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-image {
    width: 70px;
    height: 70px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 30px;
    color: #16a34a;
}

.cart-details {
    flex: 1;
    margin-left: 20px;
}

    .cart-details h3 {
        margin: 0;
    }

.cart-price h4 {
    color: #16a34a;
    font-weight: bold;
}

.cart-summary {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
}

.checkout-btn {
    width: 100%;
    margin-top: 25px;
    background: #16a34a;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
}

    .checkout-btn:hover {
        background: #15803d;
    }

.empty-cart {
    text-align: center;
    padding: 60px;
}

    .empty-cart i {
        font-size: 80px;
        color: #16a34a;
    }

.shop-btn {
    display: inline-block;
    margin-top: 20px;
    background: #16a34a;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 10px;
}

.top-links a {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
}

    .top-links a:hover {
        color: #dcfce7 !important;
        text-decoration: none;
    }

.top-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-icon {
    font-size: 120px;
    color: #16a34a;
    opacity: .15;
}

.recent-orders {
    margin-top: 25px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

    .order-row p {
        margin: 0;
        color: #6b7280;
    }

.status {
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.delivered {
    background: #dcfce7;
    color: #166534;
}

.processing {
    background: #fef9c3;
    color: #854d0e;
}

.shipped {
    background: #dbeafe;
    color: #1d4ed8;
}

.account-card {
    background: white;
    border: 1px solid #e5e7eb;
    transition: .3s;
}

    .account-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,.08);
    }

.profile-avatar {
    box-shadow: 0 4px 10px rgba(22,163,74,.3);
}

.profile-sidebar-icon {
    font-size: 60px;
    color: #FF9900;
}

.product-search-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: .3s;
}

    .product-search-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

.search-product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.search-header {
    margin-bottom: 25px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 25px;
}

.search-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: .3s;
}

    .search-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

.search-image {
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .search-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .search-image i {
        font-size: 70px;
        color: #cbd5e1;
    }

.search-info {
    padding: 20px;
}

    .search-info h3 {
        color: #111827;
        margin-bottom: 10px;
    }

.product-category {
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-description {
    color: #6b7280;
    min-height: 50px;
}

.price-row {
    margin-top: 15px;
}

.price {
    color: #16a34a;
    font-size: 24px;
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 60px;
}

    .no-results i {
        font-size: 70px;
        color: #16a34a;
        margin-bottom: 20px;
    }

.featured-products {
    padding: 40px;
}

    .featured-products h2 {
        margin-bottom: 25px;
        color: #111827;
    }

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 18px;
    margin-top: 20px;
}

.home-product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

    .home-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,.08);
    }

.home-product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home-product-image-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    font-size: 40px;
    color: #cbd5e1;
}

.home-product-info {
    padding: 12px;
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 150px);
}

.admin-sidebar {
    width: 260px;
    background: #111827;
    padding: 25px;
}

    .admin-sidebar h2 {
        color: white;
        margin-bottom: 30px;
    }

    .admin-sidebar a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 10px;
        transition: .3s;
    }

        .admin-sidebar a:hover {
            background: #16a34a;
        }

.admin-content {
    flex: 1;
    padding: 30px;
}

.product-details-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.product-image-placeholder {
    height: 500px;
    border-radius: 20px;
    background: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
}

.product-price {
    color: #16a34a;
    font-size: 40px;
    margin: 15px 0;
}

.rating-row {
    color: #f59e0b;
    font-size: 20px;
}

.in-stock {
    color: #16a34a;
    font-weight: bold;
}

.out-stock {
    color: #ef4444;
    font-weight: bold;
}

.product-description {
    margin: 25px 0;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.reviews-section {
    padding: 40px;
}

.related-products {
    padding: 40px;
}

.stock-good {
    background: #dcfce7;
    color: #166534;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.stock-out {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.product-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-price {
    font-size: 52px;
    color: #16a34a;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars {
    color: #f59e0b;
    font-size: 22px;
}

.review-count {
    color: #6b7280;
}

.product-description-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
}

.seller-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.verified-badge {
    background: #dcfce7;
    color: #166534;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.wishlist-btn {
    background: white;
    border: 2px solid #16a34a;
    color: #16a34a;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    transition: .3s;
}

    .wishlist-btn:hover {
        background: #16a34a;
        color: white;
    }

.stock-good {
    background: #dcfce7;
    color: #166534;
    padding: 10px 18px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
}

.stock-out {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 18px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
}

.meta-item {
    margin-top: 20px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 8px;
    background: #16a34a;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.remove-btn {
    margin-top: 10px;
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
}

    .remove-btn:hover {
        background: #dc2626;
    }

.hero {
    background: linear-gradient( 135deg, #16a34a, #22c55e );
    border-radius: 25px;
    margin: 30px;
    padding: 80px 60px;
    color: white;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 22px;
    max-width: 700px;
}

.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background: white;
    color: #16a34a;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
}

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 30px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.trust-item {
    font-weight: 600;
    color: #16a34a;
}

.section-header {
    margin-bottom: 25px;
}

    .section-header p {
        color: #6b7280;
    }

.categories-section {
    padding: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    font-weight: 700;
    transition: .3s;
    cursor: pointer;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,.08);
        color: #16a34a;
    }

.marketplace-header {
    background: white;
    margin: 25px;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

.marketplace-text h1 {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.marketplace-text p {
    color: #6b7280;
    font-size: 18px;
    margin-bottom: 25px;
}

.marketplace-features {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 15px;
}

.feature-box {
    background: #f8fafc;
    padding: 18px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #111827;
    border: 1px solid #e5e7eb;
}

    .feature-box i {
        color: #16a34a;
        font-size: 22px;
    }

.section-header {
    margin-bottom: 20px;
}

    .section-header h2 {
        font-size: 32px;
        font-weight: 700;
        color: #111827;
    }

    .section-header p {
        color: #6b7280;
    }

.promo-banner {
    background: white;
    margin: 15px 40px;
    padding: 30px 45px;
    min-height: 220px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}


.promo-left h1 {
    font-size: 48px;
    font-weight: 800;
    color: #111827;
    margin: 8px 0;
}

.promo-left p {
    color: #6b7280;
    font-size: 16px;
    max-width: 500px;
}

.sale-tag {
    background: #16a34a;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
}

.shop-now-btn {
    display: inline-block;
    margin-top: 20px;
    background: #16a34a;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
}

    .shop-now-btn:hover {
        background: #15803d;
    }

.promo-right i {
    font-size: 90px;
    color: #131921;
    opacity: .08;
}

.promo-nav {
    background: white;
    margin: 20px 40px;
    padding: 0;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    display: flex;
    overflow: hidden;
}

    .promo-nav a {
        flex: 1;
        text-align: center;
        text-decoration: none !important;
        color: white !important;
        font-weight: 600;
        padding: 10px 12px;
        transition: .3s;
        border-right: 1px solid rgba(255,255,255,.15);
        font-size: 15px;
    }

        .promo-nav a:last-child {
            border-right: none;
        }

        .promo-nav a:hover {
            background: #16a34a;
            color: white !important;
        }


:root {
    --primary: #131921;
    --secondary: #1f2f46;
    --accent: #ff9900;
    --accent-hover: #e68a00;
    --background: #f3f4f6;
    --card: #ffffff;
    --text: #111827;
}

/* TOP BAR */
.top-bar {
    background: var(--primary) !important;
}

/* HEADER */
.main-header {
    background: white !important;
}

/* LOGO */
.logo {
    color: var(--primary) !important;
}

/* SEARCH BUTTON */
.search-btn {
    background: var(--accent) !important;
}

    .search-btn:hover {
        background: var(--accent-hover) !important;
    }

/* BUTTONS */
.save-btn,
.shop-now-btn,
.checkout-btn,
.create-btn {
    background: var(--accent) !important;
    color: white !important;
}

    .save-btn:hover,
    .shop-now-btn:hover,
    .checkout-btn:hover,
    .create-btn:hover {
        background: var(--accent-hover) !important;
    }

/* CATEGORY BAR */
/* CATEGORY NAVIGATION */

.promo-nav {
    background: #1f2f46;
    margin: 15px 40px;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    align-items: center;
}

    .promo-nav a {
        flex: 1;
        text-align: center;
        text-decoration: none !important;
        color: white !important;
        font-weight: 600;
        font-size: 14px;
        padding: 12px 10px;
        border-right: 1px solid rgba(255,255,255,.12);
        transition: .3s;
    }

        .promo-nav a:last-child {
            border-right: none;
        }

        .promo-nav a:hover {
            background: #131921;
            color: #ff9900 !important;
        }

/* PRICES */
.product-price,
.price,
/* BADGES */
/* ICONS */
.header-icons i:hover {
    color: var(--accent) !important;
}

.logo {
    font-size: 38px;
    font-weight: 800;
    color: #131921 !important;
}

.logo-accent {
    color: #FF9900;
}
/* ===== GOCART PREMIUM CART ===== */

.cart-items {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.cart-summary {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.cart-card {
    padding: 25px 0;
}

.cart-image {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

    .cart-image i {
        font-size: 40px;
        color: #ff9900;
    }

.cart-details h3 {
    color: #131921;
    font-size: 20px;
    margin-bottom: 10px;
}

.cart-price h4 {
    color: #ff9900;
    font-size: 24px;
    font-weight: 800;
}

.cart-quantity {
    margin-top: 15px;
    gap: 15px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #1f2f46;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

    .qty-btn:hover {
        background: #131921;
    }

.cart-quantity span {
    font-weight: 700;
    font-size: 18px;
}

.remove-btn {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

    .remove-btn:hover {
        background: #dc2626;
        color: white;
    }

.summary-total {
    color: #131921;
    font-size: 26px;
}

.checkout-btn {
    background: #ff9900 !important;
    color: white;
    font-weight: 700;
}

    .checkout-btn:hover {
        background: #e68a00 !important;
    }

/* HOMEPAGE PRODUCT CARD DETAILS */
.home-product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-rating {
    color: #ff9900;
    font-size: 13px;
    margin-bottom: 8px;
}

.home-product-info p {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
}

.home-product-info h4 {
    color: #ff9900;
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
}

.product-badge {
    display: inline-block;
    background: #fff4db;
    color: #b45309;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stock-low {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    font-size: 12px;
}
html {
    scroll-behavior: smooth;
}

.promo-nav {
    position: relative;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
}

    .password-toggle:hover {
        color: #ff9900;
    }
.brand-logo {
    font-size: 56px;
    font-weight: 800;
    color: #131921;
}

.logo-accent {
    color: #FF9900;
}
.create-btn {
    background: #FF9900 !important;
    border: none;
    color: white;
    font-weight: 700;
}

    .create-btn:hover {
        background: #E68A00 !important;
    }
a {
    color: #FF9900;
}

    a:hover {
        color: #E68A00;
    }
.form-control {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    height: 55px;
}

    .form-control:focus {
        border-color: #FF9900;
        box-shadow: 0 0 0 4px rgba(255,153,0,.15);
    }
.register-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}
.register-subtitle,
.subtitle {
    color: #6b7280;
}
.create-btn,
.btn-success,
button[type="submit"] {
    background: #FF9900 !important;
    border: none !important;
    color: white !important;
    font-weight: 700;
}

    .create-btn:hover,
    .btn-success:hover,
    button[type="submit"]:hover {
        background: #E68A00 !important;
    }
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: #FF9900;
    z-index: 100;
}

    .password-toggle:hover {
        color: #E68A00;
    }
/* GOCART WISHLIST */

.wishlist-header {
    margin-bottom: 30px;
}

    .wishlist-header h1 {
        font-size: 48px;
        font-weight: 800;
        color: #131921;
    }

        .wishlist-header h1 i {
            color: #FF9900;
        }

    .wishlist-header p {
        color: #6b7280;
        font-size: 18px;
    }

.empty-wishlist {
    background: white;
    border-radius: 20px;
    text-align: center;
    padding: 80px 30px;
    border: 1px solid #e5e7eb;
}

    .empty-wishlist i {
        font-size: 80px;
        color: #FF9900;
        margin-bottom: 20px;
    }

    .empty-wishlist h3 {
        color: #131921;
        font-size: 34px;
        margin-bottom: 15px;
    }

    .empty-wishlist p {
        color: #6b7280;
        margin-bottom: 25px;
    }

.wishlist-remove-btn {
    width: 100%;
    border: none;
    background: #fff2f2;
    color: #dc2626;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    transition: .3s;
}

    .wishlist-remove-btn:hover {
        background: #dc2626;
        color: white;
    }
/* GOCART EMPTY CART */

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    background: #fff4db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

    .empty-cart-icon i {
        font-size: 55px;
        color: #FF9900;
    }

.empty-cart h3 {
    font-size: 42px;
    font-weight: 800;
    color: #131921;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #6b7280;
    font-size: 18px;
    max-width: 500px;
    margin: auto;
    line-height: 1.7;
    margin-bottom: 30px;
}

.shop-btn {
    background: #FF9900;
    color: white !important;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

    .shop-btn:hover {
        background: #E68A00;
    }
.cart-title {
    font-size: 56px;
    font-weight: 800;
    color: #131921;
}

    .cart-title i {
        color: #FF9900;
    }
.account-card {
    cursor: pointer;
    transition: .3s;
    border: 1px solid #e5e7eb;
}

    .account-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
        border-color: #FF9900;
    }
.account-sidebar {
    border: 1px solid #e5e7eb;
}

    .account-sidebar a {
        border-radius: 10px;
        margin-bottom: 6px;
        padding: 12px 15px;
    }

        .account-sidebar a:hover {
            background: #fff4db;
            color: #FF9900;
        }
.products-header {
    padding: 40px;
}

    .products-header h1 {
        font-size: 48px;
        font-weight: 800;
        color: #131921;
    }

    .products-header p {
        color: #6b7280;
    }
/* SELL ON GOCART */

.seller-hero {
    background: white;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

    .seller-hero h1 {
        font-size: 52px;
        font-weight: 800;
        color: #131921;
    }

    .seller-hero p {
        font-size: 18px;
        color: #6b7280;
    }

.seller-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.go-btn {
    background: #FF9900;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
}

    .go-btn:hover {
        background: #E68A00;
    }
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

    .stat-card h2 {
        font-size: 38px;
        margin: 0;
        color: #ff9800;
    }

    .stat-card p {
        margin-top: 10px;
        color: #666;
        font-weight: 600;
    }

.table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.btn-success {
    background: #16a34a;
    border: none;
}

.btn-danger {
    background: #dc2626;
    border: none;
}

.btn-primary {
    background: #ff9800;
    border: none;
}

h1 {
    font-weight: 800;
}

h3 {
    font-weight: 700;
}
/* SELLER DASHBOARD */

.seller-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    min-width: 220px;
}

    .stat-card h3 {
        margin: 0;
        font-size: 36px;
        color: #FF9900;
        font-weight: 800;
    }

    .stat-card span {
        color: #6b7280;
    }

.seller-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-btn {
    background: #FF9900;
    color: white !important;
    text-decoration: none;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 700;
    transition: .3s;
}

    .dashboard-btn:hover {
        background: #E68A00;
        color: white !important;
    }
/* SELLER DASHBOARD */

.seller-dashboard {
    padding: 40px;
}

    .seller-dashboard h1 {
        font-size: 58px;
        font-weight: 800;
        color: #131921;
    }

    .seller-dashboard p {
        font-size: 18px;
        color: #6b7280;
    }

.seller-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    min-width: 220px;
}

    .stat-card h3 {
        margin: 0;
        font-size: 36px;
        color: #FF9900;
        font-weight: 800;
    }

    .stat-card span {
        color: #6b7280;
    }

.seller-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dashboard-btn {
    background: #FF9900;
    color: white !important;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    transition: .3s;
}

    .dashboard-btn:hover {
        background: #E68A00;
        color: white !important;
    }


/* =====================================================================
   Ratings, reviews, product photos (added)
   ===================================================================== */

/* Fractional stars: set --rating (0-5) on the element, e.g. style="--rating:4.5" */
.stars {
    --rating: 0;
    display: inline-block;
    position: relative;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 2px;
    color: transparent;
    background: linear-gradient(90deg, #f59e0b calc(var(--rating) / 5 * 100%), #d1d5db 0);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
}

.stars.big {
    font-size: 30px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-rating .stars {
    font-size: 15px;
    letter-spacing: 1px;
}

.rating-count {
    color: #6b7280;
    font-size: 12px;
}

.rec-reason {
    color: #16a34a !important;
    font-size: 12px !important;
    font-weight: 600;
}

.pre-line {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* Product page photo gallery */
.product-gallery {
    background: #fff;
}

.product-main-image {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: block;
}

.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumb {
    width: 72px;
    height: 72px;
    padding: 2px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.thumb.active,
.thumb:hover {
    border-color: #f59e0b;
}

/* Reviews */
.reviews-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.review-summary {
    text-align: center;
}

.review-average {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.bar-row {
    display: grid;
    grid-template-columns: 38px 1fr 28px;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-top: 6px;
}

.bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #f59e0b;
}

.bar-count {
    text-align: right;
    color: #6b7280;
}

.review-main .account-card {
    margin-bottom: 16px;
}

.review-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.review-date {
    font-size: 13px;
    margin-left: auto;
}

.review-comment {
    margin: 10px 0 0;
}

.verified-badge.small {
    font-size: 12px;
    padding: 2px 8px;
}

.link-danger-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 13px;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
}

.link-danger-btn:hover {
    text-decoration: underline;
}

.review-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

/* Star picker: the radios come in 5..1 order and are shown reversed, so
   "input:checked ~ label" lights the chosen star and every star below it. */
.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.star-input input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.star-input label {
    font-size: 34px;
    line-height: 1;
    padding: 0 3px;
    color: #d1d5db;
    cursor: pointer;
}

.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
    color: #f59e0b;
}

.star-input input:focus-visible + label {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Product filters on the listing page */
.product-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.product-filters .form-control {
    max-width: 220px;
}

/* Add Product: photo previews */
.photo-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.photo-tile {
    width: 110px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.photo-tile img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: block;
    margin-bottom: 4px;
}

@media (max-width: 800px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 32px;
    }

    .product-price {
        font-size: 36px;
    }
}
.location-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

    .location-search-row input {
        flex: 1;
        min-width: 0;
        width: 100%;
        height: 68px;
        padding: 0 20px;
        border: 1px solid #e5e7eb;
        border-radius: 30px;
        font-size: 16px;
        outline: none;
        box-sizing: border-box;
    }

        .location-search-row input:focus {
            border-color: #ff9800;
        }

    .location-search-row button {
        flex: 0 0 150px;
        height: 68px;
        border-radius: 35px;
    }

/* =====================================
   GOCART SECURITY PAGE
===================================== */

.security-card {
    max-width: 850px;
    margin-top: 25px;
    padding: 30px;
}

    .security-card h2 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 5px;
        color: #222;
    }

.security-subtitle {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.security-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff3e6;
    color: #f59e0b;
    border-radius: 12px;
    font-size: 22px;
}

.security-form-group {
    margin-top: 22px;
}

    .security-form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 9px;
    }

.security-input {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid #dedede;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

    .security-input:focus-within {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
    }

    .security-input > i {
        padding-left: 15px;
        color: #888;
        font-size: 17px;
    }

    .security-input input {
        flex: 1;
        min-width: 0;
        height: 46px;
        border: none;
        outline: none;
        padding: 0 12px;
        font-size: 14px;
        background: transparent;
        color: #222;
    }

        .security-input input:focus {
            box-shadow: none;
        }

        .security-input input::placeholder {
            color: #aaa;
        }

    .security-input button {
        border: none;
        background: transparent;
        color: #888;
        padding: 0 15px;
        height: 46px;
        cursor: pointer;
    }

        .security-input button:hover {
            color: #f59e0b;
        }

.security-tip {
    display: flex;
    gap: 12px;
    padding: 16px;
    margin-top: 25px;
    background: #fffaf3;
    border: 1px solid #f6e5cd;
    border-radius: 9px;
}

    .security-tip > i {
        color: #e99a22;
        font-size: 19px;
    }

    .security-tip strong {
        font-size: 14px;
        color: #333;
    }

    .security-tip p {
        color: #777;
        font-size: 13px;
        margin: 4px 0 0;
    }

.security-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
}

    .security-actions .save-btn {
        border: none;
        cursor: pointer;
        padding: 12px 22px;
        border-radius: 8px;
    }

.security-cancel {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    .security-cancel:hover {
        color: #f59e0b;
    }

.account-sidebar a.active {
    background: #fff4e8;
    color: #e89519;
    font-weight: 600;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .security-card {
        padding: 20px;
    }

    .security-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

        .security-actions .save-btn {
            width: 100%;
        }

    .security-cancel {
        text-align: center;
    }
}
