﻿/* Global Styles */

@font-face {
    font-family: 'Inter-Medium';
    src: url('../fonts/Inter-Medium.ttf') format('truetype');
}


:root {
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --contact-gray: #5A616D;
    --background-gray: #DCDCDC;
    --red: #D92C54;
    --green: #6A7E3F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter-Medium';
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: black;
    text-decoration: none;
}

button,
button a {
    color: black;
    text-decoration: none;
}

    button:visited,
    button:hover,
    button:active {
        color: black;
    }

select, select option {
    color: black; /* Text color */
    -webkit-text-fill-color: black; /* For Safari */
    -webkit-appearance: none; /* Optional: remove default arrow */
    appearance: none; /* Optional: remove default arrow */
}

    select:focus {
        color: black;
        outline: none; /* optional */
    }

    select option:disabled {
        color: gray;
    }

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    border-radius: 4px;
}

    .btn:hover {
        background-color: var(--white);
        color: var(--black);
    }

.btn-red {
    background-color: var(--red);
    border: 1px solid var(--red);
    transition: transform 0.3s ease;
}

    .btn-red:hover {
        background-color: var(--red);
        transform: scale(1.05);
        color: var(--white);
    }

.btn-green {
    background-color: var(--green);
    border: 1px solid var(--green);
    transition: transform 0.3s ease;
}

    .btn-green:hover {
        background-color: var(--green);
        transform: scale(1.05);
        color: var(--white);
    }

/* Style the file input to match text/select */
input[type="file"] {
    width: 100%;
    padding: 0; /* remove internal padding */
    margin: 0; /* remove margins */
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
}

    /* Style the "Browse" button in Chromium/Edge */
    input[type="file"]::-webkit-file-upload-button {
        display: inline-block;
        padding: 10px 20px;
        background-color: var(--black);
        color: var(--white);
        border: 1px solid var(--black);
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        border-radius: 4px;
        margin-right: 10px;
    }

        input[type="file"]::-webkit-file-upload-button:hover {
            background-color: var(--white);
            color: var(--black);
        }

    /* Style the button in Firefox */
    input[type="file"]::file-selector-button {
        display: inline-block;
        padding: 10px 20px;
        background-color: var(--black);
        color: var(--white);
        border: 1px solid var(--black);
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        border-radius: 4px;
        margin-right: 10px;
    }

        input[type="file"]::file-selector-button:hover {
            background-color: var(--white);
            color: var(--black);
        }

img {
    max-width: 100%;
    height: auto;
}

/* Navigation Bar */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-family: 'Inter-Medium';
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

    .nav-links a {
        font-weight: 500;
    }

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

    .nav-icons i {
        font-size: 18px;
    }

    .nav-icons a[href="/Cart"] {
        position: relative;
        display: inline-block;
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--black);
    }

.alert {
    font-family: 'Inter-Medium';
    font-weight: 300;
}

.outofstock {
    font-family: 'Inter-Medium';
    font-weight: 300;
    font-size: 16px;
    color: orangered;
    margin-bottom: 10px;
    margin-top: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 0;
    display: inline-flex;
    align-items: center; /* vertical center */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border: 1px solid var(--medium-gray);
}

    .dropdown-content a {
        color: var(--black);
        padding: 12px 16px;
        display: block;
    }

        .dropdown-content a:hover {
            color: var(--black);
            background-color: var(--light-gray);
        }

        .dropdown-content a:visited {
            color: var(--black);
        }

        .dropdown-content a:active {
            color: var(--black);
        }

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        border-right: 1px solid var(--medium-gray);
        z-index: 999;
    }

        .nav-links.active {
            left: 0;
        }

    .dropdown {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        text-align: left;
        padding: 10px 0;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        display: none;
    }

        .dropdown-content a {
            padding: 10px 20px;
        }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger {
        display: flex;
    }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        .hamburger span {
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
}

/* Hero Section */
.hero {
    width: 100%;
    height: 500px; /* desktop height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-text {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* centers text horizontally */
    padding: 60px;
    text-align: center;
}

    .hero-text h1 {
        font-family: Inter-Medium;
        font-weight: 500;
        font-size: 48px;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .hero-text p {
        font-size: 20px;
        margin-bottom: 30px;
    }

.hero-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center; /* vertically center the image */
}

    .hero-image img {
        width: 60%;
        height: auto;
        object-fit: contain;
    }


@media (max-width: 768px) {
    .hero {
        height: auto; /* let it grow based on content */
        padding: 40px 0;
    }

    .hero-content {
        flex-direction: column; /* stack image on top, text below */
        align-items: center;
        height: auto; /* allow automatic height */
    }

    .hero-text,
    .hero-image {
        flex: 0 0 auto; /* let content define height */
        width: 100%;
        padding: 20px;
    }

        .hero-image img {
            width: 90%; /* image fills container, but keeps aspect ratio */
            max-width: 400px;
            height: auto;
        }
}

/* About Us */

.about-us {
    padding: 60px 20px;
    font-family: Inter-Medium;
}

    .about-us .container {
        max-width: 1200px;
        margin: 0 auto;
    }

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}


.about-image {
    flex: 0 0 70%; /* don’t let image push text down */
    display: flex;
    justify-content: center;
}

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
    }

.about-text {
    min-width: 200px;
    flex: 0 0 30%; /* text takes 40% */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .about-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #333;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
        max-width: 300px;
        color: #555;
    }

/* On Sale Products */

.onsaleproducts {
    padding: 20px 20px;
    font-family: Inter-Medium;
}

    .onsaleproducts .container {
        max-width: 1200px;
        margin: 0 auto;
    }


.onsaleproducts-image {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.onsaleproducts-image:hover {
    transform: scale(1.01);
}

    .onsaleproducts-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
    }

    .onsaleproducts-image .overlay {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: #D5F0EE;
        color: black;
        font-size: 14px;
        font-weight: 400;
        padding: 6px 10px;
        border-radius: 4px;
        box-shadow: 0px 4px 6.5px 0px #00000040;
    }

/* Trending Products */
.trending {
    padding: 60px 0;
    text-align: center;
}

    .trending h2 {
        font-size: 26px;
        position: relative;
        display: inline-block;
    }

/*.trending h2 {
        font-size: 32px;
        margin-bottom: 40px;
        position: relative;
        display: inline-block;
    }

.trending h2::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background-color: var(--black);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }*/

/* Shop By Category */
.shop-by-category {
    padding: 60px 0;
    text-align: center;
}

    .shop-by-category h2 {
        font-size: 24px;
        margin-bottom: 0px;
        position: relative;
        display: inline-block;
    }


.categories-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}


.categories-card {
    display: block; /* or inline-block */
    padding: 0; /* padding moved to inner container */
    transition: transform 0.3s ease;
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
}

    .categories-card:hover {
        transform: scale(1.01);
    }

.categories-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px; /* or whatever height fits */
}

    .categories-card-content .subtitle {
        background: #D5F0EE;
        width: 40%;
        color: black;
        font-size: 12px;
        box-shadow: 0px 4px 6.5px 0px #00000040;
        font-weight: 400;
        padding: 6px 10px;
        border-radius: 4px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
    }

.categories-card .image-container img {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    /*aspect-ratio: 16 / 15; */
    object-fit: cover;
    object-position: 50% 50%;
}


/* Products */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}


.product-card {
    display: block; /* or inline-block */
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    padding: 0; /* padding moved to inner container */
    transition: transform 0.3s ease;
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    cursor: pointer; 
}

.product-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    min-height: 400px; /* or whatever height fits */
}

    .product-card:hover {
        transform: translateY(-5px);
    }

    .product-card .image-container img {
        width: 100%;
        height: 300px;
        border-radius: 10px;
        /*aspect-ratio: 16 / 15; */
        object-fit: cover;
        object-position: 50% 50%;
    }

    .product-card .price-container {
        margin-top: auto;
    }

    .product-card .sale {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .product-card .sale-button {
        cursor: pointer;
        padding: 10px;
        background-color: #ffd814;
        color: black;
        border: none;
        border-radius: 20px;
        font-weight: bold;
        font-size: 15px;
        text-transform: none;
        text-decoration: none;
        width: 140px;
    }

    .product-card .outofstock-button {
        cursor: pointer;
        margin-top: 10px;
        padding: 10px;
        background-color: #37353E;
        color: white;
        border: none;
        border-radius: 20px;
        font-weight: 400;
        font-size: 15px;
        text-transform: none;
        text-decoration: none;
        width: 140px;
    }

    .product-card .price {
    }

    .product-card .sale del {

    }

    .product-card .vendor {
        font-size: 14px;
        color: var(--contact-gray);
        text-align: right;
    }

    .product-card .language {
        font-size: 14px;
        color: var(--contact-gray);
        text-align: right;
    }
/* Orders */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}


.order-card {
    display: block; /* or inline-block */
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    padding: 0; /* padding moved to inner container */
    transition: transform 0.3s ease;
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    background-color: var(--light-gray);
}

.order-card:hover {
    transform: translateY(-5px);
}

.order-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    min-height: 200px; /* or whatever height fits */
}

    .order-card-content .order-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 5px;
    }

    .order-card-content .order-number {
        font-size: 20px;
        font-weight: 600;
    }

    .order-card-content .order-meta {
        font-size: 14px;
        color: var(--dark-gray);
        margin-bottom: 15px;
    }

    .order-card-content .order-info {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 5px;
    }

        .order-card-content .order-meta i,
        .order-card-content .order-info i,
        .order-card-content .order-number i {
            margin-right: 6px;
        }

        .order-card-content .order-info i {
            display: inline-block;
            width: 20px;
            text-align: center;
            margin-right: 6px;
            font-size: 16px;
        }

    .order-card-content .order-price {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 12px 20px;
        border-radius: 40px;
        font-size: 20px;
        font-weight: 700;
        color: #000000;
        text-align: center;
        margin: 8px 0;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.15), 0 0 10px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.05);
    }

        .order-card-content .order-price i {
            margin-right: 8px;
            font-size: 18px;
            color: #2e7d32;
        }

    .order-card-content .order-delivery {
        position: relative;
        margin-top: 5px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

        .order-card-content .order-delivery p {
            font-size: 14px;
        }

        .order-card-content .order-delivery i {
            display: inline-block;
            width: 20px;
            text-align: center;
            margin-right: 8px;
            font-size: 16px;
            color: #333;
        }

    .order-card-content .delivery-overlay {
        position: absolute;
        top: -5px; /* make overlay slightly larger than the delivery box */
        left: -5px;
        right: -5px;
        bottom: -5px;
        backdrop-filter: blur(5px) saturate(120%); /* stronger blur + more vivid */
        border-radius: 14px; /* slightly larger than delivery box */
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Inter-Bold';
        font-size: 16px;
        color: var(--black);
        text-align: center;
    }

.timeline-fullscreen-modal {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.order-summary {
    font-family: 'Inter-Medium';
    padding: 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    height: fit-content;
    margin-top: 30px;
    position: relative;
}

    .order-summary .timeline {
        position: relative;
        margin-left: 20px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

        .order-summary .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 12px;
            width: 2px;
            height: 100%;
            background-color: #555;
        }

    .order-summary .timeline-item {
        position: relative;
        margin-bottom: 20px;
        padding-left: 30px;
    }

        .order-summary .timeline-item:last-child {
            margin-bottom: 0;
        }

    .order-summary .timeline-icon {
        position: absolute;
        left: 0;
        top: 0;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
    }

        .order-summary .timeline-icon i {
            display: block;
        }


    .order-summary .timeline-delete {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        color: #d9534f;
        font-size: 16px;
        cursor: pointer;
    }

        .order-summary .timeline-delete i {
            display: block;
        }

            .order-summary .timeline-delete i:hover {
                transform: scale(1.05);
            }

    .order-summary .timeline-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

        .order-summary .timeline-header h2 {
            margin: 0;
        }

    .order-summary .timeline-add i {
        cursor: pointer;
        font-size: 24px;
        color: #5cb85c;
        transition: color 0.2s;
    }

        .order-summary .timeline-add i:hover {
            transform: scale(1.05);
        }


.order-summary .status-none {
    background-color: #777;
}

    .order-summary .status-pending {
        background-color: orange;
    }

    .order-summary .status-approved {
        background-color: royalblue;
    }

    .order-summary .status-indelivery {
        background-color: darkviolet;
    }

    .order-summary .status-delivered {
        background-color: green;
    }

    .order-summary .status-returned {
        background-color: red;
    }

    .order-summary .status-canceled {
        background-color: black;
    }

.order-summary .timeline-item h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
}

.order-summary  .timeline-item p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}

.order-add-item {
    font-family: 'Inter-Medium';
    margin-top: 30px;
}

.search-result-item {
    display: flex;
    align-items: center; /* vertically centers image + text */
    gap: 8px; /* spacing between image and text */
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 6px;
}

.search-result-item:hover {
    background-color: #f0f0f0;
}

    .search-result-item img {
        width: 40px;
        height: 48px;
        object-fit: cover;
        border-radius: 6px;
        margin-right: 8px;
    }

.order-extra-charges {
    font-family: 'Inter-Medium';
    padding: 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    height: fit-content;
    margin-top: 30px;
}

.order-delivery-summary {
    font-family: 'Inter-Medium';
    padding: 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    height: fit-content;
    margin-top: 30px;
}

    .order-delivery-summary .summary-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .order-delivery-summary .delivery-add i {
        cursor: pointer;
        font-size: 24px;
        color: #333;
        transition: color 0.2s;
    }

        .order-delivery-summary .delivery-add i:hover {
            transform: scale(1.05);
        }

    .order-delivery-summary .order-delivery {
        position: relative;
        margin-top: 5px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

        .order-delivery-summary .order-delivery .delivery-overlay {
            position: absolute;
            top: -5px; /* make overlay slightly larger than the delivery box */
            left: -5px;
            right: -5px;
            bottom: -5px;
            backdrop-filter: blur(5px) saturate(120%); /* stronger blur + more vivid */
            border-radius: 14px; /* slightly larger than delivery box */
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Inter-Bold';
            font-size: 16px;
            color: var(--black);
            text-align: center;
        }

        .order-delivery-summary .order-delivery p {
        }

        .order-delivery-summary .order-delivery i {
            display: inline-block;
            width: 20px;
            text-align: center;
            margin-right: 8px;
            font-size: 16px;
            color: #333;
        }

/* Order Filter Status Capsule */

.status-capsule {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    color: #fff;
}

    /* Status colors */
    .status-capsule.none {
        background-color: var(--medium-gray);
        color: #000000;
    }

    .status-capsule.pending {
        background-color: orange;
    }

    .status-capsule.canceled {
        background-color: black;
    }

    .status-capsule.returned {
        background-color: red;
    }

    .status-capsule.approved {
        background-color: royalblue;
    }

    .status-capsule.indelivery {
        background-color: darkviolet;
    }

    .status-capsule.delivered {
        background-color: green;
    }

/* Statistics */

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}


.statistics-card {
    display: block; /* or inline-block */
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    padding: 0; /* padding moved to inner container */
    transition: transform 0.3s ease;
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    background-color: var(--light-gray);
}

    .statistics-card:hover {
        transform: translateY(-5px);
    }

.statistics-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    justify-content: space-between;
    min-height: 100px; /* or whatever height fits */
}

    .statistics-card-content .statistics-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 5px;
    }

    .statistics-card-content .statistics-title {
        font-size: 20px;
        font-weight: 600;
    }

    .statistics-card-content .statistics-meta {
        font-size: 14px;
        color: var(--dark-gray);
        margin-bottom: 15px;
    }

    .statistics-card-content .statistics-text {
        position: relative;
        margin-top: 5px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

        .statistics-card-content .statistics-text p {
            font-size: 14px;
        }

        .statistics-card-content .statistics-text i {
            display: inline-block;
            width: 20px;
            text-align: center;
            margin-right: 8px;
            font-size: 16px;
            color: #333;
        }

    .statistics-card-content .statistics-info {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 12px 20px;
        border-radius: 40px;
        font-size: 18px;
        font-weight: 500;
        color: #000000;
        text-align: center;
        margin: 8px 0;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.15), 0 0 10px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.05);
    }

        .statistics-card-content .statistics-meta i,
        .statistics-card-content .statistics-title i,
        .statistics-card-content .statistics-info i {
            margin-right: 6px;
        }

/* Newsletter */
.newsletter {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

    .newsletter h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .newsletter p {
        margin-bottom: 30px;
        font-size: 18px;
    }

    .newsletter form {
        display: flex;
        max-width: 500px;
        margin: 0 auto;
    }

    .newsletter input {
        flex: 1;
        padding: 15px;
        border: 1px solid var(--medium-gray);
        border-right: none;
    }

    .newsletter button {
        padding: 15px 30px;
    }

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
    font-family: 'Inter-Medium';
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section p {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 10px;
    }

        .footer-section ul li a {
            color: var(--white);
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: var(--medium-gray);
            }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .social-icons a {
        color: var(--white);
        font-size: 20px;
        transition: color 0.3s ease;
    }

        .social-icons a:hover {
            color: var(--medium-gray);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--dark-gray);
}

/* Product Listing Page */
.product-listing {
    padding: 40px 0;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

    .breadcrumbs a {
        color: var(--dark-gray);
    }

        .breadcrumbs a:hover {
            text-decoration: underline;
        }

.filters {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

#sort-by {
    padding: 8px 15px;
    border: 1px solid var(--medium-gray);
    background-color: var(--white);
}

/* Pagination */

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-info {
    font-weight: 500;
    color: #333;
}

.pagination-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    border-radius: 50%;
    text-decoration: none;
    color: #444;
    transition: all 0.2s ease;
    position: relative;
}

    .pagination-btn:hover {
        background-color: #cfcfcf;
        color: #000;
        transform: scale(1.05);
    }

    .pagination-btn i {
        font-size: 18px;
    }

    .pagination-btn[title]:hover::after {
        content: attr(title);
        position: absolute;
        bottom: 125%;
        background: #333;
        color: #fff;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
        white-space: nowrap;
        opacity: 0.9;
    }
    
/* Loader */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8em;
    height: 3em;
    margin: 2em auto;
}

    .loader span {
        width: 1em;
        height: 1em;
        border-radius: 50%;
        animation: bubbleFade 1.8s infinite ease-in-out;
        animation-fill-mode: both;
    }

        /* Moderately dark, muted colors */
        .loader span:nth-child(1) {
            background-color: #b33a3a;
            animation-delay: 0s;
        }
        /* Muted Red */
        .loader span:nth-child(2) {
            background-color: #b36b3a;
            animation-delay: 0.15s;
        }
        /* Muted Orange */
        .loader span:nth-child(3) {
            background-color: #b3b33a;
            animation-delay: 0.3s;
        }
        /* Muted Yellow */
        .loader span:nth-child(4) {
            background-color: #3ab36b;
            animation-delay: 0.45s;
        }
        /* Muted Green */
        .loader span:nth-child(5) {
            background-color: #3a6bb3;
            animation-delay: 0.6s;
        }
/* Muted Blue */

@keyframes bubbleFade {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Product Details Page */
.product-details {
    padding: 40px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    margin-top: 30px;
}

.product-images .main-image {
    margin-bottom: 20px;
    width: 100%; /* or fixed width */
    aspect-ratio: 16 / 20; /* or your desired ratio */
}

    .product-images .main-image img {
        border-radius: 20px;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

.thumbnail-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* allow wrapping to next line */
    max-width: fit-content; /* optional: shrink container to fit items */
}

    .thumbnail-images img {
        width: 80px;
        height: 100px;
        object-fit: cover;
        cursor: pointer;
        border-radius: 5px;
        border: 1px solid var(--medium-gray);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        transition: transform 0.2s ease;
    }

        .thumbnail-images img.clicked {
            transform: scale(1.1);
        }

.fullscreen-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

    .fullscreen-modal .fullscreen-content {
        margin: auto;
        display: block;
        margin-top: 20px;
        max-width: 90%;
        max-height: 90%;
    }

    .fullscreen-modal .fullscreen-model-header {
        margin: auto;
        display: block;
        max-width: 90%;
        text-align: right;
    }

    .fullscreen-modal .close-btn {
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        
    }


.product-info {
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
}

    .product-info .product-title-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .product-info .description {
        margin-top: 10px;
        margin-bottom: 25px;
        
    }

        .product-info .description p {
            font-size: 15px;
            line-height: 1.7;
        }

    .product-info .sale {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .product-info .sale-button {
        cursor: pointer;
        padding: 10px;
        background-color: #ffd814;
        color: black;
        border: none;
        border-radius: 20px;
        font-weight: bold;
        font-size: 15px;
        text-transform: none;
        text-decoration: none;
        width: 140px;
    }

    .product-info .outofstock-button {
        cursor: pointer;
        padding: 10px;
        background-color: #37353E;
        color: white;
        border: none;
        border-radius: 20px;
        font-weight: 400;
        font-size: 15px;
        text-transform: none;
        text-decoration: none;
        width: 140px;
    }

    .product-info .price {
        margin-top: 11px;
    }

    .product-info .sale del {
    }

    .product-info .product-meta {
        margin-top: auto; /* pushes it to the bottom */
        margin-bottom: 20px;
    }



.trending-container {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
}

    .trending-container .trending-button {
        padding: 10px;
        background-color: #FFE6E1;
        color: #D25D5D;
        border: none;
        border-radius: 20px;
        font-weight: bold;
        font-size: 14px;
        text-transform: none;
        text-decoration: none;
        width: 100px;
    }

        .trending-container .trending-button:hover {
            background-color: #D25D5D;
            color: #FFE6E1;
            transition: 0.3s ease;
        }


.rating {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .rating span {
        font-size: 14px;
    }

.options {
    margin-bottom: 30px;
}

.option {
    margin-bottom: 20px;
}

    .option label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

.color-options {
    display: flex;
    gap: 10px;
}

.color-label {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--medium-gray);
}

    .color-label.black {
        background-color: var(--black);
    }

    .color-label.silver {
        background-color: #c0c0c0;
    }

.color-options input[type="radio"] {
    display: none;
}

    .color-options input[type="radio"]:checked + .color-label {
        border: 2px solid var(--black);
    }

.sizeSelectContainer {
    margin-bottom: 10px;
    gap: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

    .sizeSelectContainer .selectionText {
        cursor: pointer;
        color: rgba(118, 112, 112, 1);
        border-color: #DFDFDF;
        background-color: #F7F7F7;
        border-style: solid;
        border-width: 1px;
        width: auto;
        min-width: 36px;
        padding-left: 5px;
        padding-right: 5px;
        height: 36px;
        font-size: 12px;
        text-align: center;
        font-weight: 500;
        line-height: 36px;
        font-stretch: normal;
        text-decoration: none;
        -webkit-user-select: none; /* Safari */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
        user-select: none; /* Standard */
    }

        .sizeSelectContainer .selectionText.selected {
            color: black;
            background-color: #FFFFFF;
            border-color: rgba(127, 127, 127, 1);
            border-style: solid;
            border-width: 1px;
        }

.colorSelectContainer {
    margin-bottom: 10px;
    gap: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

    .colorSelectContainer .selectionText {
        cursor: pointer;
        color: rgba(118, 112, 112, 1);
        border-color: #DFDFDF;
        background-color: #F7F7F7;
        border-style: solid;
        border-width: 1px;
        width: auto;
        min-width: 36px;
        padding-left: 5px;
        padding-right: 5px;
        height: 36px;
        font-size: 12px;
        text-align: center;
        font-weight: 500;
        line-height: 36px;
        font-stretch: normal;
        text-decoration: none;
        -webkit-user-select: none; /* Safari */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
        user-select: none; /* Standard */
    }

        .colorSelectContainer .selectionText.selected {
            color: black;
            background-color: #FFFFFF;
            border-color: rgba(127, 127, 127, 1);
            border-style: solid;
            border-width: 1px;
        }

.quantityContainer {
    gap: 135px;
    width: 100%;
    max-width: 358px;
    height: 43px;
    display: flex;
    padding: 13px 24px;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
    user-select: none;
    touch-action: manipulation;
    background-color: rgba(243, 243, 243, 1);
}

    .quantityContainer img {
        cursor: pointer;
        width: 20px;
        height: 20px;
    }

    .quantityContainer .quantityText {
        color: rgba(0, 0, 0, 1);
        height: auto;
        font-size: 13px;
        font-style: Regular;
        text-align: center;
        font-family: 'Inter-Medium';
        font-weight: 400;
        line-height: normal;
        font-stretch: normal;
        text-decoration: none;
    }

.add-to-cart {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
}

.wishlist {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-gray);
    cursor: pointer;
    margin-bottom: 30px;
}

    .wishlist:hover {
        color: var(--black);
    }

.product-meta p {
    margin-bottom: 10px;
}

.product-meta strong {
    font-weight: 600;
}

.related-products {
    padding: 40px 0;
    border-top: 1px solid var(--medium-gray);
}

/* Address Styles */

.address-fullscreen-modal {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.address-form {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
}

    .address-form .title {
        padding: 25px;
    }


    .address-form .advanced-form-container textarea {
        min-height: 70px;
    }

        .address-form .title h2 {
            font-size: 32px;
        }

        .address-form .title p {
            font-size: 16px;
            color: var(--contact-gray);
        }

@media (min-width: 996px) {

    .address-fullscreen-modal {
        max-width: 50%;
    }

    .timeline-fullscreen-modal {
        max-width: 30%;
    }

}

/* Shopping Cart Page */
.shopping-cart {
    padding: 40px 0;
}

.cart-notification-dot {
    position: absolute;
    top: 0px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    pointer-events: none;
    user-select: none;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
}

    .cart-item .main-image {
        width: 100%;
        height: auto;
        max-width: 150px;
        max-height: 180px;
        object-fit: cover;
    }

.item-details {
    flex: 1;
    font-family: 'Inter-Medium';
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
    font-stretch: normal;
}

    .item-details h3 {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .item-details p.vendor {
        color: var(--contact-gray);
    }

    .item-details p.language {
        color: var(--contact-gray);
    }

    .item-details p.price {
        font-weight: 500;
        margin: 10px 0;
    }

    .item-details p.quantityText {
        font-size: 16px;
        color: var(--contact-gray);
    }

    .item-details .quantityBlankContainer {
        width: 100%;
        max-width: 230px;
        height: 28px;
        display: flex;
        padding: 13px 24px;
        align-items: center;
        flex-shrink: 0;
        justify-content: center;
        user-select: none;
        touch-action: manipulation;
        background-color: rgba(243, 243, 243, 1);
    }

        .item-details .quantityBlankContainer .quantityText {
            color: rgba(0, 0, 0, 1);
            height: auto;
            font-size: 13px;
            font-style: Regular;
            text-align: center;
            font-family: 'Inter-Medium';
            font-weight: 400;
            line-height: normal;
            font-stretch: normal;
            text-decoration: none;
        }

    .item-details .quantityContainer {
        gap: 80px;
        width: 100%;
        max-width: 230px;
        height: 28px;
        display: flex;
        padding: 13px 24px;
        align-items: center;
        flex-shrink: 0;
        justify-content: center;
        user-select: none;
        touch-action: manipulation;
        background-color: rgba(243, 243, 243, 1);
    }

        .item-details .quantityContainer img {
            cursor: pointer;
            width: 20px;
            height: 20px;
        }

        .item-details .quantityContainer .quantityText {
            color: rgba(0, 0, 0, 1);
            height: auto;
            font-size: 13px;
            font-style: Regular;
            text-align: center;
            font-family: 'Inter-Medium';
            font-weight: 400;
            line-height: normal;
            font-stretch: normal;
            text-decoration: none;
        }

    .item-details h2.net-profit {
        font-size: 16px;
        font-weight: 600;
        margin: 10px 0;
    }

    .item-details p.net-profit {
        color: var(#333333);
        font-size: 16px;
        font-weight: 500;
        margin-left: 10px;
    }

    .item-details .net-profit i {
        display: inline-block;
        width: 20px;
        text-align: center;
        margin-right: 6px;
        font-size: 16px;
    }

.remove-btn {
    background: none;
    border: none;
    color: var(--dark-gray);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
}

.cart-summary {
    font-family: 'Inter-Medium';
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
    height: fit-content;
}

.cart-order-summary {
    font-family: 'Inter-Medium';
    height: fit-content;
}

.summary-details p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-details p span {
    font-weight: 500;
}

.summary-details hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid var(--medium-gray);
}

.summary-details .total {
    font-weight: bold;
    font-size: 18px;
}

.summary-details .netprofit-content {
    display: block;
    text-align: center;
}

    .summary-details .netprofit-content h2 {
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        font-size: 18px;
    }


    .summary-details .netprofit-content .refresh-netprofit {
        font-size: 14px;
        color: var(--dark-gray);
        margin-left: 10px;
        cursor: pointer;
    }

.summary-details .netprofit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 8px 0;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15), 0 0 10px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.05);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    margin: 20px 0 10px;
}

.whatsapp-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin: 20px 0 10px;
    background-color: seagreen;
    border-color: seagreen;
    gap: 8px; /* space between icon and text */
}

    .whatsapp-checkout-btn i {
        font-size: 20px; /* make icon bigger */
        color: #25D366; /* WhatsApp green */
        margin-right: 10px;
    }

.continue-shopping {
    display: block;
    text-align: center;
    color: var(--dark-gray);
}

    .continue-shopping:hover {
        color: var(--black);
    }

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

    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .cart-item .main-image {
            width: 100px;
            height: 100px;
        }

    .item-details {
        width: 100%;
        font-size: 14px;
    }

        .item-details .quantityBlankContainer {
            gap: 20px;
            max-width: 160px;
            padding: 5px 12px;
            height: auto;
            margin: 10px auto;
        }

            .item-details .quantityBlankContainer .quantityText {
                font-size: 14px;
            }

        .item-details .quantityContainer {
            gap: 20px;
            max-width: 160px;
            padding: 5px 12px;
            height: auto;
            margin: 10px auto;
            justify-content: space-between;
        }

        .item-details .quantityContainer img {
            width: 18px;
            height: 18px;
        }

        .item-details .quantityContainer .quantityText {
            font-size: 14px;
        }

}


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

/* Auth Pages */
.auth-section {
    padding: 60px 0;
    max-width: 600px;
    margin: 0 auto;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

    .tab-btn.active {
        border-bottom: 2px solid var(--black);
    }

.auth-forms {
    position: relative;
}

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
    }

.signup-password-error {
    color: red;
    display: none;
    margin-bottom: 5px;
}


.login-btn {
    width: 100%;
    padding: 15px;
    margin: 20px 0 10px;
}

.sign-up-btn {
    width: 100%;
    padding: 15px;
    margin: 20px 0 10px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .form-group select {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border: 1px solid var(--medium-gray);
        font-weight: 500;
    }

    .form-group input {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border: 1px solid var(--medium-gray);
    }

    .form-group.checkbox {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .form-group.checkbox input {
            width: auto;
        }

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 5px;
    font-size: 14px;
    color: var(--dark-gray);
}

.social-login {
    text-align: center;
    margin-top: 30px;
}

    .social-login p {
        margin-bottom: 15px;
        position: relative;
    }

        .social-login p::before,
        .social-login p::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 30%;
            height: 1px;
            background-color: var(--medium-gray);
        }

        .social-login p::before {
            left: 0;
        }

        .social-login p::after {
            right: 0;
        }

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--light-gray);
        color: var(--black);
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background-color: var(--black);
            color: var(--white);
        }

/* User Profile Page */
.user-profile {
    padding: 40px 0;
}

    .user-profile .container {
        display: flex;
        gap: 30px; /* optional spacing between sidebar and content */
    }

.portal-sidebar {
    flex: 0 0 250px; /* fixed sidebar width */
    border-right: 1px solid var(--medium-gray);
    padding-right: 20px;
}

.profile-pic {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

    .profile-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.edit-pic {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.portal-sidebar h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.portal-sidebar p {
    font-size: 14px;
    color: var(--dark-gray);
}

.portal-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

    .portal-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

        .portal-menu a.active {
            background-color: var(--light-gray);
            font-weight: 500;
        }

        .portal-menu a:hover:not(.active) {
            background-color: var(--light-gray);
        }

    .portal-menu i {
        width: 20px;
        text-align: center;
    }

    .portal-menu .portal-admin-menu {

    }

        .portal-menu .portal-admin-menu hr {
            margin-bottom: 20px;
            border: none;
            height: 1px;
            background-color: var(--medium-gray);
        }

    .portal-content {
        flex: 1; /* take remaining space */
    }

.portal-content h1 {
    margin-bottom: 30px;
    font-size: 24px;
}

.portal-content-container {
    display: none;
}

    .portal-content-container.active {
        display: block;
    }



.portal-form {
    padding: 10px;
}


    .portal-form hr {
        margin-bottom: 20px;
        border: none;
        height: 1px;
        width: 70%;
        background-color: var(--medium-gray);
    }

    .portal-form .form-group {
        margin-bottom: 20px;
    }

    .portal-form label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .portal-form .form-row input,
    .portal-form .form-row select {
        width: 100%;
        padding: 10px;
        border: 1px solid var(--medium-gray);
        border-radius: 4px;
    }

    .portal-form textarea {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        min-height: 150px;
        resize: none;
        border: 1px solid var(--medium-gray);
    }

    .portal-form input,
    .portal-form select {
        width: 49%;
        padding: 10px;
        border: 1px solid var(--medium-gray);
        border-radius: 4px;
    }

    .portal-form.form-row {
        display: flex;
        gap: 20px;
    }

        .portal-form .form-row .form-group {
            flex: 1;
        }

/* Wishlist Section */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-item {
    position: relative;
    border: 1px solid var(--medium-gray);
    padding: 15px;
    border-radius: 8px;
}

    .wishlist-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        margin-bottom: 15px;
    }

    .wishlist-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .wishlist-item .price {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .wishlist-item .add-to-cart {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

.remove-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .remove-wishlist:hover {
        background-color: var(--light-gray);
    }


/* Settings Section */
.password-requirements {
    font-size: 12px;
    color: var(--dark-gray);
    margin-top: 5px;
}

.account-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

    .account-actions h2 {
        margin-bottom: 15px;
        font-size: 18px;
    }

.deactivate-account {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
}

    .deactivate-account:hover {
        background-color: #dc3545;
        color: var(--white);
    }

/* Forms */

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.form-buttons-centered {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
}

.form-buttons-centered .btn {
    margin-top: 0px;
}

.form-row {
    display: flex;
    gap: 15px;
}

    .form-row .form-group {
        flex: 1;
    }

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .checkbox input {
        width: auto;
    }

/* Contact Us Page */

.contact-us {
    padding: 60px 20px;
    font-family: Inter-Medium;
}

    .contact-us .container {
        max-width: 1200px;
        margin: 0 auto;
    }

.contact-content {
    display: flex;
    align-items: flex-start; /* align to top instead of center */
    justify-content: space-between; /* push left/right */
    gap: 40px;
    flex-wrap: nowrap; /* don't wrap on desktop */
}

.contact-info {
    flex: 0 0 60%;
    order: 1; /* show first on large screens */
    padding: 25px;
}

    .contact-info h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 16px;
        margin-bottom: 15px;
        color: var(--contact-gray);
    }

    .contact-info .contact-info-grid {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px; /* spacing between the 3 divs */
    }

        .contact-info .contact-info-grid > div {
            min-width: 300px;
            flex: 1;
            text-align: left;
        }

        .contact-info .contact-info-grid h3 {
           font-size: 18px;
           font-weight: 500;
           margin-bottom: 10px;
        }

        .contact-info .contact-info-grid p {
            font-size: 16px;
        }

.contact-form {
    flex: 0 0 40%;
    order: 2; /* show second on large screens */
    border-radius: 12px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
}

.contact-form .title {
    padding: 25px;
}

    .contact-form .title h2 {
        font-size: 32px;
    }

    .contact-form .title p {
        font-size: 16px;
        color: var(--contact-gray);
    }


.whatsapp-contactus-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin: 5px 0 5px;
    background-color: seagreen;
    border-color: seagreen;
    gap: 8px; /* space between icon and text */
}

    .whatsapp-contactus-btn i {
        font-size: 20px; /* make icon bigger */
        color: #25D366; /* WhatsApp green */
        margin-right: 10px;
    }

.email-contactus-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin: 5px 0 5px;
    gap: 8px; /* space between icon and text */
}

    .email-contactus-btn i {
        font-size: 20px;
        color: #FFFFFF;
        margin-right: 10px;
    }

    .email-contactus-btn:hover i {
        color: #000000;
    }

@media (max-width: 996px) {
    .contact-content {
        flex-wrap: wrap; /* allow stacking */
    }

    .contact-info,
    .contact-form {
        flex: 0 0 100%;
        text-align: center;
        order: unset;
    }
}

/* Admin */

.admin-filters {
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 15px 20px 20px 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
}

    .admin-filters input {
        width: 50%;
        padding: 12px;
        font-size: 15px;
        border: 1px solid var(--medium-gray);
    }

    .admin-filters legend {
        font-weight: bold;
        padding: 0 8px;
        color: #555;
    }

.flatpickr-calendar.custom-calendar {
    padding: 10px;
    font-family: 'Inter-Medium';
    border: 2px solid #000000;
    border-radius: 8px;
    width: fit-content;
}

    .flatpickr-calendar.custom-calendar .flatpickr-day {
        font-size: 14px;
        color: #333;
    }

    .flatpickr-calendar.custom-calendar .flatpickr-month {
        background-color: #f0f8ff;
        color: #007bff;
        font-weight: bold;
    }

.capsule-btn {
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 5px 15px;
    margin: 5px;
    cursor: pointer;
    display: inline-block;
    background-color: #f8f8f8;
    transition: background-color 0.3s;
    transition: border-color 0.3s;
    user-select: text; /* Allow text selection */
    -webkit-user-select: text; /* For Safari */
}

    .capsule-btn.active {
        background-color: #000000;
        color: white;
        border-color: #000000;
    }

.advanced-form-container {
    padding: 15px 20px 20px 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
}

fieldset.advanced-form-container {
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 15px 20px 20px 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
}

    .advanced-form-container .input-container {
        margin-top: 10px;
        margin-bottom: 10px;
    }

        .advanced-form-container .input-container .range-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .advanced-form-container .input-container .range-container input[type="range"] {
                -webkit-appearance: none;
                background: rgba(243, 243, 243, 1); /* track */
                border-radius: 20px;
                height: 12px;
                margin: 0;
                padding: 0;
            }

                .advanced-form-container .input-container .range-container input[type="range"]::-webkit-slider-thumb {
                    -webkit-appearance: none;
                    appearance: none;
                    width: 20px;
                    height: 20px;
                    background: black;
                    border: 2px solid #ffffff;
                    border-radius: 50%;
                    cursor: pointer;
                }


        .advanced-form-container .input-container.checkbox-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .advanced-form-container .input-container.checkbox-container input[type="checkbox"] {
                appearance: none;
                -webkit-appearance: none;
                width: 12px;
                border: 2px solid #000;
                border-radius: 20px; /* square with rounded corners */
                background: #fff;
                cursor: pointer;
                position: relative;
                vertical-align: middle;
            }

                .advanced-form-container .input-container.checkbox-container input[type="checkbox"]:checked {
                    background: #000;
                }

                    .advanced-form-container .input-container.checkbox-container input[type="checkbox"]:checked::after {
                        content: "✔";
                        color: #fff;
                        font-size: 14px;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -58%);
                    }

        .advanced-form-container .input-container .thumbnail-images {
            
        }

            .advanced-form-container .input-container .thumbnail-images .image-wrapper {
                position: relative;
                display: inline-block;
            }

                .advanced-form-container .input-container .thumbnail-images .image-wrapper .remove-image-btn {
                    position: absolute;
                    top: -8px;
                    right: -8px;
                    background: #000;
                    color: #fff;
                    border: none;
                    border-radius: 50%;
                    width: 20px;
                    height: 20px;
                    font-size: 10px;
                    cursor: pointer;
                    text-align: center;
                }

                    .advanced-form-container .input-container .thumbnail-images .image-wrapper .remove-image-btn:hover {
                        background: #fff;
                        color: #000;
                        border: 1px solid #000;
                    }

    .advanced-form-container input {
        width: 50%;
        padding: 12px;
        font-size: 15px;
        border: 1px solid var(--medium-gray);
    }

    .advanced-form-container textarea {
        width: 50%;
        padding: 12px;
        font-size: 15px;
        min-height: 150px;
        resize: none;
        border: 1px solid var(--medium-gray);
    }

    .advanced-form-container legend {
        font-weight: bold;
        padding: 0 8px;
        color: #555;
    }
    .advanced-form-container select {
        font-size: 15px;
        padding: 8px 15px;
        border: 1px solid var(--medium-gray);
        background-color: var(--white);
    }

    .advanced-form-container .form-group {
        
    }

        .advanced-form-container .form-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--medium-gray);
            border-radius: 4px;
        }

        .advanced-form-container .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--medium-gray);
            border-radius: 4px;
        }

        .advanced-form-container .form-group p {
            padding: 5px;
            font-size: 14px;
            color: var(--contact-gray);
        }

    .advanced-form-container .form-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

        .advanced-form-container .form-row .form-group {
            flex: 1;
            margin-bottom: 0px;
        }

    .advanced-form-container .categories-table {
        width: 100%;
        border-collapse: collapse;
        text-align: center;
        margin-bottom: 20px;
    }

        .advanced-form-container .categories-table td,
        .advanced-form-container .categories-table th {
            border: 1px solid #ccc;
            padding: 10px;
            text-align: center;
            vertical-align: middle;
        }

        .advanced-form-container .categories-table th {
            background-color: #f4f4f4;
        }

        .advanced-form-container .categories-table td button {
            display: inline-block;
            margin: 0 auto;
        }

        .advanced-form-container .categories-table input {
            width: 90%;
            text-align: center;
            padding: 5px;
        }

/* Data Tables */

        .advanced-form-container .categories-table td button {
            display: inline-block;
            margin: 0 auto;
        }

        .advanced-form-container .categories-table input[type="checkbox"] {
            appearance: none; 
            -webkit-appearance: none;
            -moz-appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid #000000;
            border-radius: 50%;
            cursor: pointer;
            position: relative;
        }

            .advanced-form-container .categories-table input[type="checkbox"]:checked {
                background-color: #000000;
                border-color: #000000;
            }

        .advanced-form-container .categories-table #select-all {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }


/* Pagination container */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 15px;
}

    /* Pagination buttons */
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: #f9f9f9 !important;
        color: #333 !important;
        border: 1px solid #ccc !important;
        border-radius: 6px;
        padding: 8px 14px;
        margin: 0 3px;
        font-size: 14px;
        cursor: pointer;
        box-shadow: none !important;
        text-shadow: none !important;
    }

        /* Hover effect */
        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #000 !important;
            color: #fff !important;
            border: 1px solid #000 !important;
            box-shadow: none !important;
            text-shadow: none !important;
        }

        /* Active (current page) */
        .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
            background-color: #ccc !important;
            color: #fff !important;
            border: 1px solid #000 !important;
            box-shadow: none !important;
            text-shadow: none !important;
        }

/* Search box styling */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

    .dataTables_wrapper .dataTables_filter input {
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
    }


/* Category Management */
.category-block {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Flexbox layout for the rows - keeps form on left, image on right */
.category-row, .sub-category-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Vertically centers the image against the form block */
    gap: 20px;
}

/* Left side: Form content stacking */
.form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-row {
    display: flex;
    align-items: center;
}

    .form-row input[type="text"] {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.2s ease;
    }
    .form-content input[type="file"] {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.2s ease;
    }


/* Action buttons under the inputs */
.category-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
}

    .category-actions .btn {
        white-space: nowrap;
        margin: 0;
    }

/* Right side: Image preview block */
.image-preview-container {
    width: 48px; /* Fixed width for consistency */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevents the image container from shrinking */
}

    .image-preview-container img {
        max-height: 48px;
        max-width: 100%;
        border-radius: 4px;
        object-fit: contain;
    }

/* Sub-category list indentation and visual hierarchy */
.sub-category-list {
    margin-left: 60px;
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px dashed #dcdcdc;
}

/* Sub-category container styling */
.sub-category-row {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .product-container, .contact-container, .checkout-container {
        grid-template-columns: 1fr;
    }

    .user-profile {
        grid-template-columns: 1fr;
    }

    .portal-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--medium-gray);
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .user-profile .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .admin-filters input {
        width: 100%;
    }

    .advanced-form-container input,
    .advanced-form-container textarea {
        width: 100%
    }

    .portal-form input,
    .portal-form select {
        width: 100%;
    }

    .checkout-navigation {
        flex-direction: column;
        gap: 10px;
    }

        .checkout-navigation .btn {
            width: 100%;
        }

    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

        .order-footer .btn {
            width: 100%;
            margin-left: 0;
            margin-top: 10px;
        }
}

/* Tablets: usually 3 across */
@media (max-width: 992px) {
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .orders-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .statistics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

}

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

    .orders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        border-radius: 12px;
        font-size: 14px;
    }

    .product-card-content {
        padding: 12px;
        min-height: auto; /* let it shrink on small screens */
    }

    .product-card .image-container img {
        height: 180px; /* reduce image height so cards fit nicely */
        border-radius: 8px;
        object-fit: cover;
    }

    .product-card .sale-button {
        width: 100px; /* avoid fixed width squeezing the layout */
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 14px;
    }

    .product-card .outofstock-button {
        width: 100px; /* avoid fixed width squeezing the layout */
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 14px;
    }

    .categories-card .image-container img {
        width: 180px;
        height: 180px; /* reduce image height so cards fit nicely */
        border-radius: 8px;
        object-fit: cover;
    }

}

/* Saving Overlay */

.saving-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647; /* above all modals */
}

/* Lock background interaction */
.fullscreen-loading {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0);
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
}

    .fullscreen-loading .content {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.loader {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    margin: 10px auto;
    position: relative;
    color: #000000;
    box-sizing: border-box;
    animation: animloader 1.5s linear infinite;
}

@keyframes animloader {
    0% {
        box-shadow: 14px 0 0 -2px, 38px 0 0 -2px, -14px 0 0 -2px, -38px 0 0 -2px;
    }

    25% {
        box-shadow: 14px 0 0 -2px, 38px 0 0 -2px, -14px 0 0 -2px, -38px 0 0 2px;
    }

    50% {
        box-shadow: 14px 0 0 -2px, 38px 0 0 -2px, -14px 0 0 2px, -38px 0 0 -2px;
    }

    75% {
        box-shadow: 14px 0 0 2px, 38px 0 0 -2px, -14px 0 0 -2px, -38px 0 0 -2px;
    }

    100% {
        box-shadow: 14px 0 0 -2px, 38px 0 0 2px, -14px 0 0 -2px, -38px 0 0 -2px;
    }
}
    
/* ===== Apple Review Screenshot Drop Zones ===== */

.review-image-modal .address-form {
    animation: review-modal-rise 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes review-modal-rise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.image-drop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .image-drop-grid.has-ai {
        grid-template-columns: 1fr 1fr;
    }
}

.image-drop-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 210px;
    padding: 20px;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    border: 2px dashed var(--medium-gray);
    border-radius: 12px;
    background: var(--light-gray);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    /* Stagger the entrance; --drop-delay is set per zone. */
    animation: drop-zone-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--drop-delay, 0s);
}

@keyframes drop-zone-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-drop-zone:hover {
    border-color: #007bff;
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.image-drop-zone.is-dragover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.06);
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

    .image-drop-zone.is-dragover .image-drop-icon {
        transform: translateY(-6px) scale(1.12);
        color: #007bff;
    }

.image-drop-zone.has-image {
    border-style: solid;
    border-color: var(--green);
    background: var(--white);
}

.image-drop-zone.is-invalid {
    border-color: var(--red);
    animation: drop-zone-shake 0.4s ease;
}

@keyframes drop-zone-shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

.image-drop-icon {
    font-size: 34px;
    color: var(--contact-gray);
    transition: transform 0.25s ease, color 0.25s ease;
}

.image-drop-title {
    font-family: 'Inter-Medium';
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}

.image-drop-hint {
    font-family: 'Inter-Medium';
    font-size: 13px;
    color: var(--contact-gray);
}

.image-drop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: 'Inter-Medium';
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--contact-gray);
}

    .image-drop-badge.ai-badge {
        background: #007bff;
    }

.image-drop-preview {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--white);
}

.image-drop-zone.has-image .image-drop-preview {
    display: flex;
    animation: preview-fade-in 0.35s ease both;
}

@keyframes preview-fade-in {
    from {
        opacity: 0;
        transform: scale(1.04);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-drop-preview img {
    max-width: 100%;
    max-height: 168px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.image-drop-clear {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    color: var(--white);
    background: var(--red);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.image-drop-zone.has-image:hover .image-drop-clear,
.image-drop-clear:focus-visible {
    opacity: 1;
    transform: scale(1);
}

.image-drop-filename {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 6px 10px;
    font-family: 'Inter-Medium';
    font-size: 12px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

    /* .checkout-btn is full-width with vertical margins by default, which would stretch the
       Cancel button to match its margin box. Normalise both to identical padding/margin so they
       render at the same height. */
    .review-modal-actions .btn {
        width: auto;
        margin: 0;
        padding: 15px 28px;
    }

    .review-modal-actions .btn:disabled {
        cursor: not-allowed;
        opacity: 0.5;
    }

        .review-modal-actions .btn:disabled:hover {
            transform: none;
        }

@media (prefers-reduced-motion: reduce) {
    .review-image-modal .address-form,
    .image-drop-zone,
    .image-drop-zone.has-image .image-drop-preview {
        animation: none;
    }

    .image-drop-zone,
    .image-drop-icon,
    .image-drop-clear {
        transition: none;
    }

    .image-drop-zone:hover,
    .image-drop-zone.is-dragover {
        transform: none;
    }
}

/* ===== Metadata Sync Controls ===== */

.sync-icon {
    cursor: pointer;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.sync-icon-google {
    color: #28a745;
}

.sync-icon-apple {
    color: #007bff;
}

.sync-icon.is-disabled {
    opacity: 0.35;
    filter: grayscale(1);
    cursor: not-allowed;
}

.sync-dirty-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 14px;
    border-left: 3px solid var(--red);
    border-radius: 4px;
    background: rgba(217, 44, 84, 0.08);
    font-family: 'Inter-Medium';
    font-size: 14px;
    color: var(--red);
    animation: sync-hint-in 0.25s ease both;
}

@keyframes sync-hint-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sync-icon {
        transition: none;
    }

    .sync-dirty-hint {
        animation: none;
    }
}
