
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* PREVENT MOBILE HORIZONTAL SCROLL */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: #f1f3f6;
    color: #222;
    padding-bottom: 0;
}


/* PREMIUM HEADER */

.header {
    background: linear-gradient(120deg, #101820, #172b4d, #131921);
    color: white;

    padding: 16px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    position: relative;
    z-index: 100;

    border-bottom: 2px solid rgba(254, 189, 105, 0.45);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
}



/* PREMIUM DESKTOP LOGO */

.logo h2 {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo span {
    color: #febd69;
}

.logo small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #dce3eb;
    margin-top: 3px;
}


/* PREMIUM SEARCH BOX */

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    max-width: 600px;
    min-width: 0;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #febd69;
    box-shadow: 0 0 0 4px rgba(254, 189, 105, 0.2);
}

.search-box input {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: none;
    outline: none;
    background: transparent;
    color: #222;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    background: linear-gradient(135deg, #febd69, #ff9800);
    color: #172b4d;
    border: none;
    padding: 0 22px;
    min-height: 48px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #172b4d;
    color: white;
}

/* MOBILE SEARCH */
@media (max-width: 600px) {
    .search-box {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }

    .search-box input {
        padding: 12px;
        font-size: 13px;
    }

    .search-box button {
        padding: 0 17px;
        min-height: 44px;
    }
}


/* PREMIUM HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions button {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 11px 15px;
    border-radius: 9px;
    cursor: pointer;

    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;

    transition: all 0.3s ease;
}

.header-actions button:hover {
    background: #febd69;
    color: #172b4d;
    border-color: #febd69;
    transform: translateY(-3px);
    box-shadow: 0 5px 14px rgba(254, 189, 105, 0.2);
}

.header-actions button:active {
    transform: scale(0.96);
}

/* MOBILE HEADER ACTIONS */
@media (max-width: 600px) {
    .header-actions {
        gap: 7px;
        flex-wrap: wrap;
    }

    .header-actions button {
        padding: 9px 10px;
        font-size: 11px;
        border-radius: 7px;
    }
}

/* DESKTOP NAV */

.desktop-nav {
    background: #232f3e;
    padding: 14px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
}


/* PREMIUM HERO BANNER */

.hero {
    margin: 25px auto;
    width: 95%;
    min-height: 380px;
    border-radius: 22px;
    padding: 60px;
    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(120deg, #101c36, #174b75, #2874a6);

    color: white;
    overflow: hidden;
    position: relative;

    box-shadow: 0 12px 30px rgba(23, 43, 77, 0.2);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 9px 17px;
    border-radius: 30px;
    color: #ffd28a;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero h1 span {
    display: block;
    color: #febd69;
}

.hero-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: #e5edf5;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.shop-btn,
.hero-explore-btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.shop-btn {
    background: #febd69;
    color: #172b4d;
}

.shop-btn:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.hero-explore-btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-explore-btn:hover {
    background: white;
    color: #172b4d;
    transform: translateY(-4px);
}

.hero-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 28px;
    font-size: 13px;
    color: #e5edf5;
}

/* MOBILE HERO */

@media (max-width: 600px) {
    .hero {
        width: 94%;
        min-height: 350px;
        padding: 30px 22px;
        border-radius: 16px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .shop-btn,
    .hero-explore-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .hero-features {
        gap: 12px;
        font-size: 11px;
    }
}


/* SECTIONS */

.section {
    background: white;
    margin: 20px auto;
    width: 95%;
    padding: 25px;
    border-radius: 10px;
}


/* PREMIUM SECTION HEADINGS */

.section h2 {
    position: relative;
    font-size: 27px;
    font-weight: 800;
    color: #172b4d;
    margin-bottom: 30px;
    padding-bottom: 13px;
}


.section h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 65px;
    height: 4px;
    background: linear-gradient(90deg, #ff9800, #febd69);
    border-radius: 10px;
}


/* MOBILE */
@media (max-width: 600px) {
    .section h2 {
        font-size: 22px;
        margin-bottom: 22px;
    }
}



/* PREMIUM CATEGORIES */

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.category {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    padding: 28px 12px;
    text-align: center;
    border-radius: 16px;
    font-size: 38px;
    cursor: pointer;

    border: 1px solid #e8e8e8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);

    transition: all 0.3s ease;
}

.category:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: #ff9800;
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.18);
}

.category p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 12px;
    transition: color 0.3s ease;
}

.category:hover p {
    color: #e68900;
}

/* TABLET */
@media (max-width: 992px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category {
        padding: 22px 8px;
        font-size: 32px;
        border-radius: 13px;
    }

    .category p {
        font-size: 13px;
    }
}


/* PREMIUM PRODUCTS */

.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    overflow: hidden;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product:hover {
    transform: translateY(-7px);
    border-color: #febd69;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
    background: linear-gradient(145deg, #f1f3f6, #ffffff);
    padding: 30px;
    font-size: 65px;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Product images */
.product-image img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product:hover .product-image img {
    transform: scale(1.08);
}

.product h3 {
    font-size: 16px;
    color: #222;
    margin-bottom: 10px;
}

.product p {
    color: #087e3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.product button {
    background: #febd69;
    color: #222;
    border: none;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.product button:hover {
    background: #172b4d;
    color: white;
    transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 992px) {
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product {
        padding: 12px;
        border-radius: 12px;
    }

    .product-image {
        padding: 15px;
        font-size: 45px;
    }

    .product-image img {
        height: 135px;
    }

    .product h3 {
        font-size: 14px;
    }

    .product button {
        padding: 10px 12px;
        font-size: 12px;
    }
}


/* CART */

.cart-section {
    display: block;
}

#cartItems {
    margin: 15px 0;
}

/* FOOTER */

footer {
    background: #131921;
    color: white;
    text-align: center;
    padding: 35px 15px;
    line-height: 2;
}

/* MOBILE BOTTOM NAVIGATION */

.bottom-nav {
    display: none;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    body {
        padding-bottom: 75px;
    }

    .header {
        flex-wrap: wrap;
        padding: 12px;
        gap: 12px;
    }

   
/* MOBILE LOGO */

.logo {
    width: 100%;
    text-align: center;
    padding: 8px 0;
}

.logo h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #febd69;
    text-shadow: 0 2px 8px rgba(254, 189, 105, 0.2);
}

    .search-box {
        order: 2;
        max-width: 100%;
        width: 100%;
    }

    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .desktop-nav {
        display: none;
    }

    .hero {
        padding: 30px 20px;
        min-height: 230px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category {
        padding: 18px 5px;
        font-size: 27px;
    }

    .category p {
        font-size: 12px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product {
        padding: 10px;
    }

    .product-image {
        font-size: 45px;
        padding: 20px;
    }

    .product button {
        padding: 9px;
        font-size: 12px;
    }

    .section {
        padding: 15px;
    }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 68px;
        background: white;
        box-shadow: 0 -2px 10px #0002;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
    }

    .bottom-nav a {
        text-decoration: none;
        color: #666;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        flex: 1;
    }

    .bottom-nav a span {
        font-size: 22px;
    }

    .bottom-nav a small {
        font-size: 10px;
    }

    .bottom-nav a.active {
        color: #2874f0;
        font-weight: bold;
    }
}

/* PRODUCT IMAGE DESIGN */

.product img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
}

.product {
    background: white;
    transition: 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 18px #0002;
}
.all-products-btn {
    background: #2874f0;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: bold;
}
.remove-btn {
    background: #e53935;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.remove-btn:hover {
    background: #b71c1c;
    transform: scale(1.05);
}
/* CHECKOUT DESIGN */

.checkout-btn {
    background: #2874f0;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #174ea6;
    transform: translateY(-2px);
}

.checkout-section {
    background: white;
    padding: 25px;
    margin-top: 15px;
    border-radius: 10px;
}

.checkout-section h2 {
    margin-bottom: 20px;
}

#checkoutForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
}

#checkoutForm input,
#checkoutForm textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

#checkoutForm textarea {
    min-height: 100px;
    resize: vertical;
}

#checkoutForm button {
    background: #fb641b;
    color: white;
    padding: 13px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

#checkoutForm button:hover {
    background: #d9530f;
}
/* MY ORDERS DESIGN */

.orders-section {
    background: #ffffff;
    padding: 25px;
    margin-top: 20px;
    border-radius: 10px;
}

.orders-section h2 {
    color: #172337;
    margin-bottom: 20px;
}

#ordersList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.order-card h3 {
    color: #1f2937;
    margin-bottom: 16px;
    font-size: 20px;
}

.order-card p {
    color: #4b5563;
    margin: 10px 0;
    line-height: 1.5;
}
/* REMOVE ORDER BUTTON */

.order-remove-btn {
    background: #e53935;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 12px;
    transition: 0.3s;
}

.order-remove-btn:hover {
    background: #b71c1c;
    transform: scale(1.05);
}

/* PREMIUM ORDER TRACKING DESIGN */

.tracking-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin: 30px 0;
    padding: 22px 12px;
    background: linear-gradient(135deg, #f0f5ff, #f8faff);
    border: 1px solid #e0e9ff;
    border-radius: 16px;
}

.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    color: #9aa4b5;
    gap: 10px;
    transition: 0.3s;
}

.tracking-step span {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    background: #e1e6ef;
    color: #7b8798;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 3px 8px #0001;
    transition: 0.3s;
}

.tracking-step.active span {
    background: linear-gradient(135deg, #2874f0, #6a5af9);
    color: white;
    box-shadow: 0 5px 14px #2874f055;
    transform: translateY(-3px);
}

.tracking-step.active {
    color: #2459c5;
    font-weight: bold;
}

.tracking-step small {
    font-size: 12px;
    line-height: 1.4;
}

.order-card {
    overflow: hidden;
}

@media (max-width: 480px) {
    .tracking-steps {
        gap: 3px;
        padding: 18px 5px;
    }

    .tracking-step span {
        width: 34px;
        height: 34px;
        border-radius: 11px;
        font-size: 13px;
    }

    .tracking-step small {
        font-size: 10px;
    }
}

/* PREMIUM ADMIN DASHBOARD */

.admin-page {
    background: #f3f5fb;
    min-height: 100vh;
}

.admin-header {
    background: linear-gradient(120deg, #131921, #263b63);
    color: white;
    padding: 22px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px #0002;
}

.admin-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
}

.admin-header p {
    color: #febd69;
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 5px;
}

.admin-badge {
    background: #2874f0;
    padding: 9px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.admin-container {
    width: 92%;
    max-width: 1250px;
    margin: 35px auto;
}

.admin-welcome {
    background: linear-gradient(120deg, #172b4d, #5968d9);
    color: white;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.admin-welcome p {
    color: #febd69;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
}

.admin-welcome h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.admin-welcome span {
    color: #e0e7ff;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 5px 18px #00000008;
    transition: 0.3s;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px #0002;
}

.admin-stat-card span {
    font-size: 30px;
}

.admin-stat-card h3 {
    font-size: 28px;
    color: #2874f0;
    margin: 14px 0 5px;
}

.admin-stat-card p {
    color: #777;
    font-size: 14px;
}

.admin-orders-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px #00000008;
}

.admin-section-heading {
    margin-bottom: 25px;
}

.admin-section-heading h2 {
    color: #172337;
    margin-bottom: 8px;
}

.admin-section-heading p {
    color: #888;
    font-size: 14px;
}

.admin-orders-section .order-card {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #e1e6ef;
    background: #fbfcff;
    padding: 22px;
}

.admin-orders-section select {
    padding: 11px;
    border: 1px solid #ccd4e2;
    border-radius: 7px;
    margin: 12px 10px 5px 0;
    cursor: pointer;
}

.admin-orders-section button {
    background: linear-gradient(120deg, #2874f0, #6257e8);
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.admin-orders-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px #2874f044;
}

@media (max-width: 768px) {

    .admin-container {
        width: 94%;
        margin: 20px auto;
    }

    .admin-header {
        padding: 18px;
    }

    .admin-header h2 {
        font-size: 19px;
    }

    .admin-welcome {
        padding: 25px 18px;
    }

    .admin-welcome h1 {
        font-size: 23px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-stat-card {
        padding: 17px;
    }

    .admin-orders-section {
        padding: 16px;
    }
}
#orderSearch {
    width: 100%;
    max-width: 450px;
    padding: 14px 18px;
    margin: 20px 0;
    border: 1px solid #dce3f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

#orderSearch:focus {
    border-color: #3478f6;
    box-shadow: 0 0 8px rgba(52, 120, 246, 0.2);
}
#exportOrdersBtn {
    background: linear-gradient(135deg, #2563eb, #6255e7);
    color: white;
    border: none;
    padding: 13px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin: 15px 0;
    transition: 0.3s;
}

#exportOrdersBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
}
#statusFilter {
    width: 100%;
    max-width: 250px;
    padding: 13px 15px;
    margin: 10px 10px 10px 0;
    border: 1px solid #dce3f0;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

#statusFilter:focus {
    border-color: #3478f6;
    box-shadow: 0 0 8px rgba(52, 120, 246, 0.2);
}
.login-container {
    max-width: 420px;
    margin: 50px auto;
    padding: 35px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 10px;
    color: #222;
}

.login-container input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    background: #3478f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

#loginMessage {
    margin-top: 15px;
    color: red;
}
.logout-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.logout-btn:hover {
    background: #c0392b;
}
/* ORDER TRACKING DESIGN */

.tracking-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    position: relative;
    gap: 10px;
}

.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 8px;
    color: #999;
    font-size: 13px;
    text-align: center;
}

.tracking-step span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tracking-step.active {
    color: #16a34a;
    font-weight: bold;
}

.tracking-step.active span {
    background: #dcfce7;
    border: 2px solid #16a34a;
}

.order-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
@media (max-width: 600px) {

    .tracking-steps {
        gap: 4px;
        margin: 20px 0;
    }

    .tracking-step {
        font-size: 10px;
        gap: 6px;
    }

    .tracking-step span {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .order-card {
        padding: 15px;
        margin-bottom: 16px;
    }

    .order-card h3 {
        font-size: 17px;
    }
}
.cancelled-status {
    background: #fee2e2;
    color: #b91c1c !important;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}
/* Sales Analytics Chart */
.admin-analytics {
    margin-top: 25px;
}

.analytics-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.analytics-card {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    margin: 15px 0;
    padding: 20px;
    background: white;
    border-radius: 15px;
}

.analytics-card canvas {
    width: 100% !important;
    height: 250px !important;
}
/* Date-wise Sales Report */

.sales-report {
    margin-top: 30px;
}

.sales-report-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.sales-report-cards .admin-stat-card {
    text-align: center;
}

@media (max-width: 700px) {
    .sales-report-cards {
        grid-template-columns: 1fr;
    }
}
/* Admin Product Management */

.admin-products-section {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
}

.product-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.product-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.product-form button {
    padding: 12px;
    background: #222;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#adminProducts {
    margin-top: 25px;
}

@media (max-width: 600px) {
    .product-form {
        grid-template-columns: 1fr;
    }
}
/* Admin Product Cards */

.admin-product-card {
    padding: 18px;
    margin-top: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.admin-product-card h3 {
    margin-bottom: 10px;
}

.admin-product-card p {
    margin: 8px 0;
}

.admin-product-card button {
    padding: 10px 16px;
    margin-top: 10px;
    background: #222;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

.admin-product-card button:hover {
    opacity: 0.8;
}
/* Delete Confirmation Modal */
.delete-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.delete-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.delete-modal-content h2 {
    color: #d32f2f;
    margin-bottom: 12px;
}

.delete-modal-content p {
    color: #555;
    margin-bottom: 25px;
}

.delete-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.delete-modal-buttons button {
    padding: 11px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.delete-modal-buttons button:first-child {
    background: #dc2626;
    color: white;
}

.delete-modal-buttons button:last-child {
    background: #e5e7eb;
    color: #333;
}
/* PRODUCT DETAILS PAGE */

.product-details-page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
}

#productDetails {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.details-product-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
}

#productDetails h1 {
    font-size: 30px;
    margin: 10px 0;
}

#productDetails h2 {
    color: #e67e22;
    font-size: 26px;
}

#productDetails p {
    font-size: 17px;
    margin: 10px 0;
}

#productDetails button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

#productDetails button:hover {
    background: #e68900;
}

#productDetails button:disabled {
    background: gray;
    cursor: not-allowed;
}
/* AMAZON STYLE PRODUCT DETAILS */

#productDetails {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    text-align: left;
    padding: 40px;
}

.details-product-image {
    width: 45%;
    max-width: 450px;
    height: 450px;
    object-fit: contain;
    margin-bottom: 0;
}

.details-product-info {
    flex: 1;
    padding: 20px;
}

.details-product-info h1 {
    font-size: 32px;
}

.details-product-info h2 {
    color: #e67e22;
    font-size: 28px;
}

.details-product-info p {
    margin: 15px 0;
}

.details-product-info button {
    margin-top: 25px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    #productDetails {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .details-product-image {
        width: 100%;
        height: 300px;
    }

    .details-product-info {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}
/* BACK TO SHOPPING BUTTON */

.back-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin: 15px 25px;
    transition: 0.3s;
}

.back-shopping-btn:hover {
    background: #e68900;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-shopping-btn span {
    font-size: 22px;
}
/* PRODUCT IMAGE GALLERY */

.product-image-area {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.product-image-area .details-product-image {
    width: 100%;
    max-width: 450px;
    height: 400px;
    object-fit: contain;
}

.product-image-gallery {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.product-thumbnail:hover {
    border-color: #ff9800;
    transform: scale(1.08);
}

/* MOBILE GALLERY */

@media (max-width: 768px) {

    .product-image-area {
        width: 100%;
    }

    .product-image-area .details-product-image {
        height: 300px;
    }

    .product-thumbnail {
        width: 65px;
        height: 65px;
    }
}
/* PRODUCT DESCRIPTION */

.details-product-info h3 {
    margin-top: 25px;
    margin-bottom: 12px;
    color: #222;
    font-size: 21px;
}

.details-product-info p {
    line-height: 1.6;
}

/* PRODUCT RATING */

.details-product-info p:nth-of-type(1) {
    color: #e68900;
    font-weight: bold;
}

/* CUSTOMER REVIEWS */

.customer-reviews {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.review-card {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
}

.review-card h4 {
    margin: 0 0 8px;
    color: #333;
}

.review-card p {
    margin: 6px 0;
    font-size: 15px;
}

.review-card p:nth-of-type(1) {
    color: #ff9800;
}
/* Customer Review Form */

.review-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-form h3 {
    margin-bottom: 20px;
    color: #222;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 13px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 15px;
    box-sizing: border-box;
}

.review-form textarea {
    min-height: 110px;
    resize: vertical;
}

.review-form button {
    width: 100%;
    padding: 13px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.review-form button:hover {
    background: #e68900;
}

#reviewMessage {
    margin-top: 12px;
    font-weight: bold;
}
/* Related Products Section */

.related-products-section {
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

.related-products-section h2 {
    font-size: 25px;
    color: #222;
    margin-bottom: 22px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.related-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.related-product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
}

.related-product-card h3 {
    font-size: 16px;
    margin: 12px 0;
}

.related-product-card p {
    color: #e68900;
    font-size: 19px;
    font-weight: bold;
}

.related-product-card button {
    width: 100%;
    padding: 11px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.related-product-card button:hover {
    background: #e68900;
}

@media (max-width: 600px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .related-product-card img {
        height: 130px;
    }
}

/* Premium Related Products Design */

.related-products-section {
    width: 100%;
    margin: 45px auto;
    padding: 25px;
    box-sizing: border-box;
}

.related-products-section h2 {
    font-size: 26px;
    color: #222;
    margin-bottom: 25px;
    font-weight: 700;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
}

.related-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 15px;
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.related-product-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 10px;
}

.related-product-card h3 {
    font-size: 16px;
    color: #222;
    margin: 14px 0 8px;
}

.related-product-card p {
    color: #e68900;
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0 14px;
}

.related-product-card button {
    width: 100%;
    padding: 11px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    background: #ff9800;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.related-product-card button:hover {
    background: #e68900;
}

.related-product-card button:disabled {
    background: #999;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .related-product-card {
        padding: 10px;
    }

    .related-product-card img {
        height: 135px;
    }
}

/* Wishlist Button */


.details-product-info .wishlist-button {
    background: white;
    color: #e91e63;
    border: 2px solid #e91e63;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.details-product-info .wishlist-button:hover {
    background: #e91e63;
    color: white;
}

/* Wishlist Page Design */

.wishlist-page {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    box-sizing: border-box;
}

.wishlist-page h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 25px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
}

.wishlist-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    transition: 0.3s ease;
}

.wishlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.wishlist-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8f8f8;
}

.wishlist-card h3 {
    font-size: 16px;
    color: #222;
    margin: 12px 0;
}

.wishlist-card p {
    font-size: 20px;
    color: #e68900;
    font-weight: bold;
}

.wishlist-card button {
    width: 100%;
    padding: 11px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Add to Cart */
.wishlist-card button:first-of-type {
    background: #ff9800;
}

.wishlist-card button:first-of-type:hover {
    background: #e68900;
}

/* Remove Wishlist */
.wishlist-card button:last-of-type {
    background: #e91e63;
}

.wishlist-card button:last-of-type:hover {
    background: #c2185b;
}

.wishlist-card button:hover {
    background: #c2185b;
}

@media (max-width: 600px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wishlist-card {
        padding: 10px;
    }

    .wishlist-card img {
        height: 135px;
    }
}
/* Wishlist Back to Home Button */
.wishlist-back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s ease;
    margin: 15px;
}

.wishlist-back-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
/* Wishlist Add to Cart Button */
.wishlist-card button {
    margin-top: 8px;
    transition: 0.3s ease;
}

.wishlist-card button:first-of-type {
    background: #ff9800;
    color: white;
}

.wishlist-card button:first-of-type:hover {
    background: #e68900;
}
/* CUSTOMER AUTHENTICATION MODAL */

.auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 15px;
}

.auth-box {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
}

.auth-box h2 {
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

.auth-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-tabs button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 7px;
    background: #ff9800;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.auth-box form input {
    width: 100%;
    padding: 13px;
    margin-bottom: 13px;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-sizing: border-box;
}

.auth-box form button {
    width: 100%;
    padding: 13px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

.auth-box form button:hover {
    background: #e68900;
}

#authMessage {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

@media(max-width: 480px) {
    .auth-box {
        padding: 22px;
    }
}
/* MY ACCOUNT STYLING */

.account-details {
    background: #fff7ed;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.account-details h3 {
    color: #e68900;
    margin-bottom: 15px;
}

.account-details p {
    margin: 12px 0;
    color: #333;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.account-logout {
    width: 100%;
    padding: 13px;
    background: #e53935;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

.account-logout:hover {
    background: #c62828;
}
/* Delivery Address Cards */
.address-card {
    background: #ffffff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    border: 1px solid #eeeeee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.address-card p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-line;
    margin-bottom: 15px;
}

.address-card button {
    padding: 10px 18px;
    margin-right: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.address-card button:first-of-type {
    background: #ff9800;
    color: white;
}

.address-card button:last-of-type {
    background: #e53935;
    color: white;
}
#addressForm input,
#addressForm textarea {
    color: #222 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #222 !important;
    opacity: 1 !important;
}

#addressForm input::placeholder,
#addressForm textarea::placeholder {
    color: #888 !important;
}
/* DELIVERY ADDRESS PAGE */

#addressForm {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

#addressForm input,
#addressForm textarea {
    width: 100%;
    padding: 13px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 15px;
    color: #222;
    background: #fff;
}

#addressForm textarea {
    min-height: 90px;
    resize: vertical;
}

#addressForm input:focus,
#addressForm textarea:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 5px rgba(255,152,0,0.3);
}

#addressForm button {
    width: 100%;
    padding: 13px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#addressForm button:hover {
    background: #e68900;
}

.section > h2,
.section > h3 {
    text-align: center;
    margin: 20px 0;
}

.address-card {
    max-width: 600px;
    margin: 15px auto;
}
/* DELIVERY ADDRESS BUTTONS */

.section > button {
    display: block;
    margin: 20px auto;
    padding: 12px 25px;
    background: #131921;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.section > button:hover {
    background: #ff9800;
    transform: translateY(-2px);
}

#addressForm button {
    width: 100%;
    padding: 14px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#addressForm button:hover {
    background: #e68900;
    transform: translateY(-2px);
}
/* PREMIUM SHOPPING CART */

.cart-section {
    background: #ffffff;
    max-width: 1100px;
    margin: 40px auto;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.cart-section h2 {
    text-align: center;
    font-size: 28px;
    color: #131921;
    margin-bottom: 30px;
}

#cartItems {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#cartItems > div {
    background: #f8f9fb;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: 0.3s;
}

#cartItems > div:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

#cartItems p {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

#cartItems button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 7px;
    background: #131921;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

#cartItems button:hover {
    background: #ff9800;
}

#cartItems .remove-btn {
    background: #e53935;
}

#cartItems .remove-btn:hover {
    background: #b71c1c;
}

#cartTotal {
    text-align: right;
    font-size: 23px;
    color: #131921;
    margin-top: 25px;
    padding: 20px;
    border-top: 2px solid #eeeeee;
}

.cart-section .checkout-btn {
    display: block;
    margin: 20px auto 0;
    padding: 15px 35px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cart-section .checkout-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cart-section {
        margin: 20px 10px;
        padding: 18px;
    }

    .cart-section h2 {
        font-size: 23px;
    }

    #cartTotal {
        font-size: 20px;
    }
}
/* PREMIUM CART PRODUCT DESIGN */

.cart-section {
    display: grid;
    grid-template-columns: 1.7fr 0.8fr;
    gap: 20px;
    align-items: start;
}

.cart-section h2 {
    grid-column: 1 / -1;
}

#cartItems {
    grid-column: 1;
}

#cartItems > div {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 15px;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cart-product-image {
    width: 115px;
    height: 115px;
    object-fit: cover;
    border-radius: 10px;
    background: #f1f1f1;
}

.cart-product-details {
    flex: 1;
}

.cart-product-details h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #222;
}

.cart-product-details p {
    font-size: 18px;
    font-weight: bold;
    color: #ff9800;
    margin-bottom: 12px;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-quantity-controls button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: white;
    cursor: pointer;
    font-size: 18px;
}

.cart-quantity-controls span {
    font-weight: bold;
}

#cartItems .remove-btn {
    background: #fff0f0;
    color: #e53935;
    border: 1px solid #ffcaca;
    border-radius: 7px;
    padding: 10px 14px;
    cursor: pointer;
}

#cartTotal {
    grid-column: 2;
    grid-row: 2;
    background: #f8f9fb;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    align-self: start;
}

.cart-section .checkout-btn {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    margin-top: -10px;
}

@media (max-width: 700px) {
    .cart-section {
        display: flex;
        flex-direction: column;
    }

    #cartItems,
    #cartTotal,
    .cart-section .checkout-btn {
        width: 100%;
    }

    .cart-product-info {
        flex-wrap: wrap;
    }

    .cart-product-image {
        width: 90px;
        height: 100px;
    }
}

/* MY ORDERS - PREMIUM DESIGN */

.my-orders-section {
    max-width: 1100px;
    margin: 30px auto;
}

.my-orders-section h2 {
    font-size: 28px;
    color: #131921;
    margin-bottom: 8px;
}

.orders-subtitle {
    color: #777;
    margin-bottom: 25px;
}

.my-order-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.my-order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.09);
}

.my-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.my-order-header h3 {
    font-size: 17px;
    color: #222;
    margin-bottom: 7px;
}

.my-order-header p {
    font-size: 13px;
    color: #888;
}

.my-order-status {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.my-order-items {
    padding: 15px 0;
}

.my-order-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    color: #444;
}

.my-order-item strong {
    color: #222;
}

.my-order-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: right;
    font-size: 19px;
    color: #ff9800;
}

.empty-orders {
    text-align: center;
    background: white;
    padding: 45px 20px;
    border-radius: 14px;
    border: 1px solid #eee;
}

.empty-orders h3 {
    margin-bottom: 12px;
}

.empty-orders p {
    color: #777;
    margin-bottom: 20px;
}

.empty-orders button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.orders-error {
    color: #e53935;
    text-align: center;
    padding: 20px;
}

@media (max-width: 600px) {
    .my-orders-section {
        margin: 15px;
    }

    .my-order-card {
        padding: 15px;
    }

    .my-order-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .my-order-item {
        font-size: 14px;
    }
}
/* ORDER TRACKING - PREMIUM DESIGN */

.tracking-section {
    max-width: 750px;
    margin: 45px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.tracking-section h2 {
    text-align: center;
    font-size: 28px;
    color: #131921;
    margin-bottom: 12px;
}

.tracking-section > p {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tracking-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 9px;
    font-size: 15px;
    outline: none;
}

.tracking-form input:focus {
    border-color: #ff9800;
}

.tracking-form button {
    padding: 15px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.tracking-form button:hover {
    background: #e68900;
}

.tracking-result-card {
    margin-top: 25px;
    padding: 22px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
}

.tracking-result-card h3 {
    margin-bottom: 15px;
    color: #131921;
}

.tracking-result-card p {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #444;
    overflow-wrap: anywhere;
}

@media(max-width:600px) {
    .tracking-section {
        margin: 20px 12px;
        padding: 20px;
    }

    .tracking-section h2 {
        font-size: 23px;
    }
}
/* TRACKING BACK HOME BUTTON */

.tracking-home-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.tracking-home-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* TRACK ORDER BUTTON */
.track-order-btn {
    background: linear-gradient(135deg, #ff9800, #ff6d00);
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 12px;
}

.track-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 152, 0, 0.3);
}

.my-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.track-order-btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 130px;
    position: relative;
    z-index: 5;
}

.my-order-footer {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
/* ORDER TRACK BUTTON */
.order-track-btn {
    background: linear-gradient(135deg, #ff9800, #ff6d00);
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin: 12px 10px 0 0;
    transition: 0.3s ease;
}

.order-track-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 152, 0, 0.3);
}
/* COUPON SECTION */
.coupon-section {
    background: linear-gradient(135deg, #ffffff, #fff5f0);
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #ffd5c2;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}

.coupon-section h3 {
    color: #222;
    margin-bottom: 15px;
}

.coupon-input-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.coupon-input-box input {
    flex: 1;
    min-width: 180px;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
}

.coupon-input-box input:focus {
    border-color: #ff6d00;
}

.coupon-input-box button {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

#couponMessage {
    margin-top: 12px;
    font-size: 14px;
    font-weight: bold;
}

.coupon-total {
    background: white;
    padding: 18px;
    margin-top: 18px;
    border-radius: 10px;
    line-height: 2;
}

.coupon-total p {
    display: flex;
    justify-content: space-between;
}

.coupon-total h3 {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 10px;
    color: #e65100;
}

#removeCouponBtn {
    margin-top: 12px;
    padding: 10px 18px;
    background: #333;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .coupon-section {
        padding: 16px;
    }

    .coupon-input-box {
        flex-direction: column;
    }

    .coupon-input-box button {
        width: 100%;
    }
}
/* ADMIN COUPON MANAGEMENT */

.admin-coupons-section {
    background: #ffffff;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.admin-coupons-section h2 {
    color: #131921;
    margin-bottom: 8px;
}

.admin-coupons-section > p {
    color: #666;
    margin-bottom: 22px;
}

.coupon-admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.coupon-admin-form input,
.coupon-admin-form select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
}

.coupon-admin-form label {
    align-self: end;
    font-weight: 600;
}

.coupon-admin-form button {
    grid-column: 1 / -1;
    padding: 14px;
    border: none;
    border-radius: 7px;
    background: #ff9900;
    color: #131921;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.coupon-admin-form button:hover {
    background: #e68a00;
}

#generatedCoupon {
    margin: 15px 0;
    font-weight: bold;
    color: #087a38;
}

#adminCouponList {
    margin-top: 15px;
}

@media (max-width: 600px) {
    .coupon-admin-form {
        grid-template-columns: 1fr;
    }

    .coupon-admin-form button {
        grid-column: auto;
    }
}

/* PREMIUM PRODUCT SORTING BAR */

.product-sort-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    margin: 15px 0 28px;
    padding: 18px 20px;

    background: linear-gradient(135deg, #ffffff, #f5f7fa);
    border: 1px solid #e8eaf0;
    border-radius: 14px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.product-sort-bar label {
    color: #172b4d;
    font-size: 14px;
    font-weight: 700;
}

.product-sort-bar select {
    min-width: 220px;
    padding: 13px 16px;

    border: 1px solid #dce1e8;
    border-radius: 10px;

    background: #ffffff;
    color: #222;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    outline: none;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.product-sort-bar select:hover {
    border-color: #ff9800;
    box-shadow: 0 5px 14px rgba(255, 152, 0, 0.10);
}

.product-sort-bar select:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.13);
}

/* MOBILE */
@media (max-width: 600px) {
    .product-sort-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 15px;
        border-radius: 12px;
    }

    .product-sort-bar label {
        font-size: 13px;
    }

    .product-sort-bar select {
        width: 100%;
        min-width: 0;
    }
}

/* CONTACT US PAGE */

.contact-page {
    max-width: 650px;
    margin: 50px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-page h1 {
    text-align: center;
    color: #131921;
    margin-bottom: 10px;
}

.contact-page > p {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contactForm label {
    font-weight: bold;
    color: #333;
    margin-top: 8px;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.12);
}

#contactForm textarea {
    min-height: 130px;
    resize: vertical;
}

#contactForm button {
    padding: 14px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
    background: #ff9800;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#contactForm button:hover {
    background: #e68900;
}

@media (max-width: 600px) {
    .contact-page {
        margin: 20px 12px;
        padding: 22px;
    }
}
/* CONTACT PAGE BACK TO HOME BUTTON */

.contact-home-btn {
    background: linear-gradient(135deg, #ff9800, #e68900);
    color: #ffffff;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.25);
    transition: all 0.3s ease;
}

.contact-home-btn:hover {
    background: linear-gradient(135deg, #e68900, #cc7600);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.35);
}
/* ADMIN CUSTOMER SUPPORT */

.admin-support-section {
    background: #ffffff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.admin-support-section h2 {
    color: #131921;
    margin-bottom: 8px;
}

.admin-support-section > p {
    color: #777;
    margin-bottom: 20px;
}

.support-message-card {
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #ff9800;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
}

.support-message-card h3 {
    color: #131921;
    margin-bottom: 12px;
}

.support-message-card p {
    color: #444;
    margin: 9px 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .admin-support-section {
        padding: 16px;
    }

    .support-message-card {
        padding: 14px;
    }
}
/* SUPPORT STATUS DROPDOWN */

.support-message-card select {
    padding: 10px 14px;
    margin: 12px 0;
    border: 1px solid #ff9800;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

/* SUPPORT DELETE BUTTON */

.support-delete-btn {
    display: block;
    padding: 11px 18px;
    margin-top: 12px;
    background: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.support-delete-btn:hover {
    background: #b02a37;
    transform: translateY(-2px);
}
.footer-links {
    margin: 20px 0;
}

.footer-links a {
    display: inline-block;
    padding: 11px 25px;
    background: linear-gradient(135deg, #ff9800, #e68900);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.footer-links a:hover {
    background: #e68900;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255, 152, 0, 0.3);
}
/* PREMIUM HERO BANNER */

.hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 60px 8%;
    background: linear-gradient(120deg, #131921, #26384d, #ff9800);
    color: white;
    border-radius: 0 0 25px 25px;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffca70;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #ffca70;
}

.hero-content > p {
    font-size: 17px;
    line-height: 1.7;
    color: #f1f1f1;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero .shop-btn {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.hero .shop-btn:hover {
    background: #e68900;
    transform: translateY(-3px);
}

.hero-explore-btn {
    display: inline-block;
    padding: 13px 24px;
    border: 1px solid white;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.hero-explore-btn:hover {
    background: white;
    color: #131921;
}

.hero-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
    font-size: 13px;
    color: #fff;
}

/* MOBILE HERO */

@media (max-width: 600px) {

    .hero {
        min-height: 420px;
        padding: 45px 22px;
        border-radius: 0 0 18px 18px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
}

/* SMALL ADMIN LOGIN LINK */

.footer-admin {
    margin-top: 12px;
    text-align: center;
}

.footer-admin a {
    color: #999;
    font-size: 11px;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-admin a:hover {
    color: #d4af37;
    opacity: 1;
}
