/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f3f6f9;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ================= TOP NAVBAR ================= */
.top-navbar {
    background: #222;
    padding: 14px 0;
    color: #fff;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #7ac142;
    letter-spacing: .3px;
}

.logo strong {
    color: #fff;
}

.top-menu {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.top-menu li a {
    color: #ddd;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}

.top-menu li a:hover {
    color: #7ac142;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-buttons i {
    background: #333;
    padding: 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease;
}

.auth-buttons i:hover {
    background: #444;
}

.signin {
    color: #7ac142;
    text-decoration: none;
    font-size: 14px;
}

.signup {
    background: #7ac142;
    padding: 7px 16px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.signup:hover {
    background: #6aad38;
}

/* ================= CATEGORY BAR ================= */
.category-bar {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.category-bar ul {
    display: flex;
    gap: 28px;
    padding: 14px 0;
    margin: 0;
    list-style: none;
}

.category-bar li {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #444;
}

.category-bar li:hover {
    color: #7ac142;
}

/* ================= HERO (FINAL IMAGE VERSION) ================= */
.hero-final {
    padding: 90px 0;
    background: #f3f6f9;
}

.hero-final h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
}

.hero-final .green {
    color: #7ac142;
}

.hero-desc {
    margin-top: 18px;
    max-width: 520px;
    font-size: 16px;
    color: #666;
}

/* SEARCH */
.hero-search {
    display: flex;
    margin-top: 28px;
    max-width: 520px;
}

.hero-search input {
    flex: 1;
    padding: 15px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
}

.hero-search input:focus {
    outline: none;
    border-color: #7ac142;
}

.hero-search button {
    background: #7ac142;
    border: none;
    padding: 0 34px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hero-search button:hover {
    background: #6aad38;
}

/* HERO IMAGE */
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 28px;
}

/* ================= CATEGORY CARDS ================= */
.category-section {
    padding: 70px 0;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.category-card h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 6px;
}

.category-card p {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.category-card .links a {
    margin: 0 8px;
    font-size: 13px;
    font-weight: 500;
    color: #007bff;
    text-decoration: none;
}

.category-card .links a:hover {
    text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
    background: #111;
    color: #bbb;
    padding: 70px 0 35px;
    margin-top: 40px;
}

.footer h6 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
}

.footer ul li:hover {
    color: #7ac142;
}

.footer .stats {
    font-size: 14px;
    line-height: 1.7;
}

.footer hr {
    border-color: #222;
    margin: 35px 0 20px;
}

/* ================= PRODUCT SECTION ================= */
.product-section {
    padding: 80px 0;
    background: #eef1f4;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 700;
}

.section-header p {
    max-width: 720px;
    margin: 10px auto 0;
    color: #666;
    font-size: 15px;
}

/* FILTER BUTTONS */
.product-filters button {
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 18px;
    margin: 4px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
}

.product-filters button.active,
.product-filters button:hover {
    background: #7ac142;
    color: #fff;
    border-color: #7ac142;
}

/* PRODUCT CARD */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: transform .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* THUMB */
.product-thumb {
    position: relative;
}

.product-thumb img {
    width: 100%;
    display: block;
}

/* HOVER ACTIONS */
.product-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: .25s;
}

.product-thumb:hover .product-hover {
    opacity: 1;
}

.btn-cart {
    background: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 18px;
}

.btn-preview {
    background: #7ac142;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

/* BODY */
.product-body {
    padding: 14px;
}

.product-body h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author {
    font-size: 13px;
    color: #777;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.price {
    color: #7ac142;
    font-weight: 700;
}

.sales {
    font-size: 13px;
    color: #999;
}

/* VIEW MORE */
.view-more {
    background: #7ac142;
    color: #fff;
    padding: 10px 28px;
    border-radius: 6px;
    border: none;
}

/* ================= PRODUCT HOVER POLISH ================= */

/* Card smoothness */
.product-card {
    transition: transform .35s ease, box-shadow .35s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 50px rgba(0,0,0,.15);
}

/* Image zoom on hover */
.product-thumb img {
    transition: transform .5s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.08);
}

/* Dark overlay gradient */
.product-hover {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.2),
        rgba(0,0,0,.75)
    );
    opacity: 0;
    transition: opacity .35s ease;
}

.product-thumb:hover .product-hover {
    opacity: 1;
}

/* Hover buttons animation */
.btn-cart,
.btn-preview {
    transform: translateY(20px);
    opacity: 0;
    transition: all .35s ease;
}

.product-thumb:hover .btn-cart,
.product-thumb:hover .btn-preview {
    transform: translateY(0);
    opacity: 1;
}

/* Cart button polish */
.btn-cart {
    background: #fff;
    color: #333;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart:hover {
    background: #7ac142;
    color: #fff;
}

/* Preview button polish */
.btn-preview {
    background: #7ac142;
    color: #fff;
    font-weight: 600;
    letter-spacing: .3px;
}

.btn-preview:hover {
    background: #6aad38;
}

/* Product title hover */
.product-body h5 {
    transition: color .25s ease;
    cursor: pointer;
}

.product-body h5:hover {
    color: #7ac142;
}

/* Price emphasis */
.price {
    font-size: 16px;
    font-weight: 800;
}

/* Sales subtle */
.sales {
    font-size: 12px;
    color: #888;
}

/* ================= PRODUCT DETAIL PAGE ================= */
.product-detail {
    padding: 80px 0;
    background: #f3f6f9;
}

/* PREVIEW */
.product-preview {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.product-preview img {
    width: 100%;
    border-radius: 10px;
}

/* LIVE PREVIEW BUTTON */
.preview-actions {
    text-align: center;
    margin-top: 15px;
}

.btn-preview-live {
    background: #7ac142;
    color: #fff;
    padding: 10px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-preview-live:hover {
    background: #6aad38;
}

/* DESCRIPTION */
.product-description {
    background: #fff;
    margin-top: 30px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.product-description h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-description p {
    color: #666;
    font-size: 15px;
}

.product-description ul {
    margin-top: 10px;
    padding-left: 18px;
}

.product-description ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* SIDEBAR */
.product-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    position: sticky;
    top: 100px;
}

.product-sidebar h3 {
    font-size: 32px;
    color: #7ac142;
    font-weight: 800;
    margin-bottom: 20px;
}

/* BUY BUTTONS */
.btn-buy {
    width: 100%;
    background: #7ac142;
    border: none;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 600;
}

.btn-buy:hover {
    background: #6aad38;
}

.btn-wishlist {
    width: 100%;
    background: #f3f6f9;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.btn-wishlist:hover {
    background: #eee;
}

/* INFO LIST */
.product-info {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.product-info li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* ================= RESPONSIVE FIXES ================= */

/* ---------- Tablets (<= 992px) ---------- */
@media (max-width: 992px) {

    /* NAVBAR */
    .top-menu {
        gap: 14px;
        font-size: 13px;
    }

    /* HERO */
    .hero-final {
        padding: 70px 0;
    }

    .hero-final h1 {
        font-size: 38px;
    }

    .hero-image {
        margin-top: 30px;
        border-radius: 20px;
    }

    /* PRODUCT GRID */
    .product-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    /* PRODUCT DETAIL */
    .product-detail {
        padding: 60px 0;
    }

    .product-sidebar {
        position: static;
        margin-top: 30px;
    }
}

/* ---------- Mobile (<= 768px) ---------- */
@media (max-width: 768px) {

    /* NAVBAR STACK */
    .top-navbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .top-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth-buttons {
        justify-content: center;
    }

    /* HERO */
    .hero-final {
        text-align: center;
        padding: 60px 0;
    }

    .hero-final h1 {
        font-size: 32px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        margin-top: 35px;
    }

    /* CATEGORY BAR */
    .category-bar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* PRODUCT FILTERS */
    .product-filters button {
        font-size: 13px;
        padding: 7px 14px;
    }

    /* PRODUCT CARD */
    .product-card {
        border-radius: 12px;
    }

    /* PRODUCT DETAIL */
    .product-preview img {
        border-radius: 8px;
    }

    .product-description {
        padding: 22px;
    }

    .product-sidebar {
        padding: 24px;
    }
}

/* ---------- Small Mobile (<= 576px) ---------- */
@media (max-width: 576px) {

    /* HERO */
    .hero-final h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .hero-search button {
        border-radius: 8px;
        justify-content: center;
        padding: 12px;
    }

    /* PRODUCT GRID */
    .section-header h2 {
        font-size: 22px;
    }

    /* FOOTER */
    .footer {
        padding: 50px 0 25px;
        text-align: center;
    }

    .footer ul li {
        justify-content: center;
    }
}

/* ================= CART PAGE ================= */
.cart-page {
    padding: 80px 0;
    background: #f3f6f9;
}

/* CART BOX */
.cart-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.cart-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* CART ITEM */
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 90px;
    border-radius: 8px;
}

/* INFO */
.cart-info {
    flex: 1;
}

.cart-info h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-info p {
    font-size: 13px;
    color: #777;
}

/* PRICE */
.cart-price {
    font-weight: 700;
    color: #7ac142;
    margin-right: 10px;
}

/* REMOVE */
.cart-remove {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
}

.cart-remove:hover {
    color: #dc3545;
}

/* SUMMARY */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    position: sticky;
    top: 100px;
}

.cart-summary h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-summary ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.cart-summary ul li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.cart-summary ul li.total {
    font-weight: 700;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 12px;
}

/* CHECKOUT */
.btn-checkout {
    width: 100%;
    background: #7ac142;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.btn-checkout:hover {
    background: #6aad38;
}

.continue {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
}

/* ================= SELLER PROFILE ================= */
.seller-profile {
    padding: 80px 0;
    background: #f3f6f9;
}

/* HEADER */
.seller-header {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.seller-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-info h3 {
    font-size: 22px;
    font-weight: 700;
}

.seller-info p {
    color: #777;
    font-size: 14px;
}

/* STATS */
.seller-stats {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    list-style: none;
    padding: 0;
}

.seller-stats li {
    text-align: center;
}

.seller-stats strong {
    display: block;
    font-size: 18px;
    color: #7ac142;
}

.seller-stats span {
    font-size: 13px;
    color: #777;
}

/* ACTIONS */
.seller-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.btn-follow {
    background: #7ac142;
    border: none;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
}

.btn-message {
    background: #f3f6f9;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
}

/* BOX */
.seller-box {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.seller-box h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* META */
.seller-meta {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.seller-meta li {
    font-size: 14px;
    padding: 6px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .seller-header {
        flex-direction: column;
        text-align: center;
    }

    .seller-actions {
        margin-left: 0;
    }

    .seller-stats {
        justify-content: center;
    }
}

/* ================= CHECKOUT PAGE ================= */
.checkout-page {
    padding: 80px 0;
    background: #f3f6f9;
}

/* BOX */
.checkout-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.checkout-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* FORM */
.checkout-form label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.checkout-form input,
.checkout-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.checkout-form input:focus,
.checkout-form select:focus {
    outline: none;
    border-color: #7ac142;
}

/* PAYMENT */
.payment-method {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.payment-note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

/* SUMMARY */
.checkout-summary {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    position: sticky;
    top: 100px;
}

.checkout-summary h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ITEMS */
.summary-items,
.summary-totals {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.summary-items li,
.summary-totals li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
}

.summary-totals li.total {
    font-weight: 800;
    font-size: 16px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 12px;
}

/* ORDER BUTTON */
.btn-place-order {
    width: 100%;
    background: #7ac142;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
}

.btn-place-order:hover {
    background: #6aad38;
}

.secure-text {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
    text-align: center;
}

/* ================= AUTH PAGES ================= */
.auth-page {
    padding: 90px 0;
    background: #f3f6f9;
}

/* AUTH BOX */
.auth-box {
    background: #fff;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.1);
    text-align: center;
}

.auth-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

/* FORM */
.auth-form {
    text-align: left;
}

.auth-form label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 15px;
}

.auth-form input:focus {
    outline: none;
    border-color: #7ac142;
}

/* ROW */
.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.remember {
    font-size: 13px;
    color: #555;
}

.forgot {
    font-size: 13px;
    text-decoration: none;
    color: #007bff;
}

/* BUTTON */
.btn-auth {
    width: 100%;
    background: #7ac142;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.btn-auth:hover {
    background: #6aad38;
}

/* SWITCH */
.auth-switch {
    margin-top: 18px;
    font-size: 14px;
}

.auth-switch a {
    color: #007bff;
    text-decoration: none;
}

/* ================= SELLER DASHBOARD ================= */
.dashboard {
    background: #f3f6f9;
    min-height: 100vh;
}

/* SIDEBAR */
.dashboard-sidebar {
    background: #1f2937;
    color: #fff;
    min-height: 100vh;
    padding: 25px 20px;
}

.dash-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

/* MENU */
.dash-menu {
    list-style: none;
    padding: 0;
}

.dash-menu li {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.dash-menu li:hover,
.dash-menu li.active {
    background: #7ac142;
}

.dash-menu li.logout {
    margin-top: 20px;
    background: #dc3545;
}

/* CONTENT */
.dashboard-content {
    padding: 30px;
}

/* STATS */
.stat-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.stat-box h3 {
    font-size: 26px;
    font-weight: 800;
    color: #7ac142;
}

.stat-box p {
    font-size: 14px;
    color: #777;
}

/* BOX */
.dashboard-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.dashboard-box h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* TABLE */
.dashboard-table th {
    font-size: 14px;
    color: #555;
}

.dashboard-table td {
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .dashboard-sidebar {
        min-height: auto;
    }

    .dashboard {
        padding-top: 60px;
    }
}

/* ================= ADMIN DASHBOARD ================= */
.admin-dashboard {
    background: #f3f6f9;
    min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
    background: #0f172a;
    color: #fff;
    min-height: 100vh;
    padding: 25px 20px;
}

.admin-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

/* MENU */
.admin-menu {
    list-style: none;
    padding: 0;
}

.admin-menu li {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.admin-menu li:hover,
.admin-menu li.active {
    background: #7ac142;
}

.admin-menu li.logout {
    margin-top: 20px;
    background: #dc3545;
}

/* CONTENT */
.admin-content {
    padding: 30px;
}

/* STATS */
.admin-stat {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.admin-stat h3 {
    font-size: 26px;
    font-weight: 800;
    color: #7ac142;
}

.admin-stat p {
    font-size: 14px;
    color: #777;
}

/* BOX */
.admin-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.admin-box h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* TABLE */
.admin-table th {
    font-size: 14px;
    color: #555;
}

.admin-table td {
    font-size: 14px;
}

/* STATUS */
.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.paid {
    background: #e6f7ee;
    color: #28a745;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .admin-sidebar {
        min-height: auto;
    }

    .admin-dashboard {
        padding-top: 60px;
    }
}

/* CART COUNT BADGE */
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= PAYMENT UI MOCK ================= */

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all .25s ease;
}

.payment-option input {
    display: none;
}

.payment-option.active,
.payment-option:hover {
    border-color: #7ac142;
    background: #f8fff2;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.payment-label img {
    height: 22px;
}

/* CARD FORM */
.card-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.card-form input:focus {
    outline: none;
    border-color: #7ac142;
}

/* ADMIN PRODUCT TABLE */
.admin-products {
    padding: 40px 0;
}

.admin-table th {
    background: #f8f9fa;
    font-size: 14px;
}

.admin-table td {
    font-size: 14px;
    vertical-align: middle;
}

.admin-table img {
    border: 1px solid #ddd;
}

.admin-orders {
    padding: 40px 0;
}

.admin-orders th {
    background: #f8f9fa;
    font-size: 14px;
}

.admin-orders td {
    font-size: 14px;
}

/* PAYMENT SUCCESS PAGE */
.payment-success {
    padding: 80px 0;
}

.success-box {
    background: #fff;
    padding: 50px 30px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-box h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.success-text {
    color: #666;
    font-size: 16px;
}

.secure-note {
    color: #777;
    font-size: 14px;
}

/* ADMIN DASHBOARD */
.admin-dashboard {
    padding: 40px 0;
}

.dashboard-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.dashboard-card h6 {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.dashboard-card h3 {
    font-weight: 700;
    margin: 0;
}

.admin-users {
    padding: 40px 0;
}

/* ================= ADMIN PANEL ================= */
.admin-wrapper {
  min-height: 100vh;
  background: #f3f6f9;
}

.admin-sidebar {
  width: 240px;
  background: #111;
  color: #fff;
  padding: 20px;
}

.admin-sidebar .logo {
  font-weight: 700;
  color: #7ac142;
}

.admin-menu {
  list-style: none;
  padding: 0;
}

.admin-menu li {
  margin-bottom: 12px;
}

.admin-menu a {
  color: #ddd;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-menu a:hover {
  color: #7ac142;
}

.admin-content {
  background: #f3f6f9;
}

/* ADMIN SIDEBAR ACTIVE */
.admin-menu a.active {
    background: #7ac142;
    color: #fff !important;
    padding: 10px 12px;
    border-radius: 6px;
}

.admin-menu a.active i {
    color: #fff;
}


/* ================= PRODUCT CARD HOVER EFFECTS ================= */

/* Overlay ko click-through banata hai (taaki image click ho sake) */
.hover-overlay {
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Sirf buttons par click allow karta hai */
.hover-overlay form, 
.hover-overlay a.btn-action { 
    pointer-events: auto; 
}

/* Hover karne par Overlay dikhana */
.product-card:hover .hover-overlay { 
    opacity: 1 !important; 
}

/* Card ko thoda upar uthana (Animation) */
.product-card:hover { 
    transform: translateY(-5px); 
    transition: transform 0.3s ease; 
}
