* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* user-select: none; */
}

:root {
    --font-title: 2.5rem;
    /* 40px */
    --font-heading: 2rem;
    /* 32px */
    --font-subheading: 1.5rem;
    /* 24px */
    --font-body: 1.125rem;
    /* 18px */
    --font-small: 1rem;
    /* 16px */
}

textarea {
    font-family: "Nunito", sans-serif !important;
    font-size: 1rem;
    ;
}

html,
body {
    font-family: "Nunito", sans-serif;
    /* background-color: #ececec50; */
}

.nav-menu.active {
    display: flex;
    /* show when JS adds this class */
}

.profile-burger {
    display: none;
}

.nav-menu {
    display: flex;
    /* show when JS adds this class */
}

.drop-menu {
    position: relative;
}

.drop-menu .drop-down {
    position: relative;
    display: none;
}

.drop-menu:hover .drop-down {
    display: block;
}

.drop-menu .drop-down {
    position: absolute;
    top: 30px;
    left: -10px;
    width: 120px;
    height: auto;
    padding: 5px 8px;
    border: 1px solid #eee;
    list-style-type: none;
    background-color: #fff;
}

.drop-menu .drop-down::after {
    content: "";
    position: absolute;
    top: -16px;
    border-top: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid #eee;
    border-right: 8px solid transparent;

}

.drop-menu .drop-down li:nth-child(1) {
    padding: 2px;
    border-bottom: 1px solid #eee;
    margin-bottom: 3px;
}

#header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    justify-content: space-around;
    z-index: 999;
    padding: 0px 30px;
    height: 80px;
    align-items: center;
    box-shadow: 1px 0px 5px #d2d2d2;
    color: #000000;
}

.menu-close-btn,
.burger {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
}

.nav-menu-desktop {
    display: flex;
    /* color: red; */
}

.nav-menu-desktop>li {
    display: flex;
    list-style-type: none;
    justify-content: space-between;
    margin-right: 20px;
    gap: 50px;
    font-size: 18px;
}

.nav-menu-desktop a {
    text-decoration: none;
    color: #000;
}

.nav-menu-desktop li:hover {
    cursor: pointer;
}

/* mobile */

.nav-menu li {
    display: none;
    list-style-type: none;
    justify-content: space-between;
    margin-right: 20px;
    gap: 10px;
    font-size: 18px;
}

.nav-menu li:hover {
    cursor: pointer;
}

#homeBanner {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: space-evenly;
    background-image: url("../images/ice-cream-concept-with-copyspace-left.jpg");
    /* Removed trailing comma */
    background-size: cover;
    /* Ensure image covers the section */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Prevent tiling */
    /* background: #C04848;  
background: -webkit-linear-gradient(to bottom, #480048, #C04848); 
background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);  */

}


.banner-content {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.banner-content .title {
    margin-bottom: 10px;
    font-size: var(--font-title);
    font-weight: 700;
    color: #fe68a8;
}

.banner-content h3 {
    font-weight: 200;
    font-size: var(--font-subheading);
    color: #c96948;
}

.banner-content a {
    margin-top: 30px;
    border: 1px solid rgb(255, 255, 255);
    padding: 10px 15px;
    width: fit-content;
    border-radius: 8px;
    text-decoration: none;
    color: white;
}

#homeBanner>img {
    height: 35%;
    max-width: 450px;
    top: 50%;
    left: 50%;
    filter: drop-shadow(30px 30px 30px rgb(25, 76, 102));
    /* background-color: aqua; */
}


/* card  */
.crousel-parent {
    width: 100%;
    display: flex;
    justify-content: center;
}

#crouselSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 90vh;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.card-container {
    position: absolute;
    margin-top: 20px;
    height: 340px;
    width: 330px;
    background-color: #fff;

    border: 1px solid #d7d7d7;
    border-radius: 8px;
    left: auto;
    transition: transform 0.3s ease-out, z-index 0.1s ease;
    overflow: hidden;
}

.card-container>.card-image {
    width: 100%;
    height: 190px;
    background: cover;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #5a5a5a;
}

.card-data {
    padding: 0px 15px;
}

.card-data h2{
    padding: 0;
    margin: 0;
}

.card-container .card-subtext {
    font-size: var(--font-small);
    color: #5a5a5a;
    margin-bottom: 8px;
}

.card-container .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
}

.card-container button {
    background-color: #000000;
    color: #fff;
    padding: 6px 9px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.card-container button:hover {
    cursor: pointer;
}

#next,
#prev {
    position: absolute;
    /* top: 50%; */
    transform: translateY(-50%);
    font-size: large;
    background: #fff;
    padding: 4px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: 1px 1px 5px #c8c8c8;
    color: #000000;
    font-weight: bold;
    border: none;

}

#prev {
    left: 20px;
    /* Position on the left side */
}

#next {
    right: 20px;
    /* Position on the right side */
}

#next,
#prev:hover {
    cursor: pointer;
}

.card-image img {
    height: 2auto;
    width: 100%;
}

/* *********************REGISTERATION PAGE********************** */
#registeration-section {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
}

.registeration-container {
    width: 60%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.register-form {
    display: flex;
    flex-direction: column;
    max-width: 550px;

    a {
        margin-left: 5px;
    }
}

.register-form .login-section {
    display: flex;
    width: 100%;
    margin: 25px 0px;
    /* width: fit-content; */
}

.registeration-img {
    width: 40%;
    height: 100vh;
    justify-content: center;
}

.registeration-title {
    width: 50%;
    margin-bottom: 35px;
}

.registeration-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ***********************Contact***************************** */
.contact {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 150px;
    gap: 30px;
    margin-bottom: 70px;
    justify-content: center;
}

.social-container {
    width: 35%;
    width: auto;
    vertical-align: middle;
    padding: 10px 25px;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.social h1 {
    font-size: 42px;
}

.social-links {
    margin-top: 30px;
    width: 100%;
    justify-content: center;
}

.social-links h3 {
    color: var(--mute-text);
    font-weight: 500;
}

.social-box a {
    margin-top: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    height: 45px;
    width: 45px;
    margin: 10px 3px;
    box-shadow: 4px 4px 8px 0px #e9e9e9;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50px;
    align-self: center;
    color: black;
    background-color: #fff;
}

#form {
    display: flex;
    flex-direction: column;
    width: 35%;
    max-width: 600px;
    justify-content: center;
}

.social .img {
    width: 100%;
    max-width: 500px;
    height: 500px;
}

.social .img img {
    /* margin-top: 65px; */
    width: 90%;
    /* min-width: 250px; */
    height: 500px;
    border-radius: 10px;
}

.form-control {
    width: 100%;
}

.form-control,
input {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    /* width: 50%; */
}

.contact-msg,
.social-msg {
    font-size: 1rem;
    padding-right: 10px;
    margin: 25px 0;
    text-align: justify;
    color: var(--mute-text);
    letter-spacing: 1px;
    line-height: 22px;
}


#form input {
    width: 100%;
    padding: 0.7rem 1.25rem;
    padding-left: 2rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    margin-top: 10px;
    outline: none;
    transition: all 0.3s ease;
    color: #111827;
    font-size: 1rem;
}

#form textarea {
    margin-top: 10px;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
    resize: none;
    border-radius: 8px;
    color: #5A5A5A;
    letter-spacing: 1px;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #e5e7eb;
}

#form button {
    margin-top: 10px;
    width: 200px;
    font-weight: 400;
    padding: 16px;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #6244C5;
    border-color: #6244C5;
    border: 1px solid transparent;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 10px;
}

/* **********************single Product page******************* */
/* Your existing CSS unchanged */
#wishlist-btn {
    display: block;
    cursor: pointer !important;
}

.linkBtn {
    width: 100px;
    padding: 6px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    color: #fff;
    background-color: #7E57C2;
}

/* .divider {
        width: 100%;
        height: 1px;
        margin-bottom: 8px;
        background-color: #cfcececf;
    } */

#productSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 150px;
}

.side-bar {
    width: 250px;
    height: 40vh;
    background-color: #f6f6f6ff;
    padding: 8px;
    margin-left: 20px;
    /* align-self: center; */
    justify-content: center;
    border-radius: 12px;
    /* box-shadow: 2px 3px 8px #6e6e6ec3; */
}

#productSection .product-parent {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    /* align-items: center; */
    width: 80%;
    max-width: 1200px;
}

#productSection #product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}

.product-details {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.product-details .product-descirption {
    color: #9d9d9d;
}

.product-details .product-img {
    width: 300px;
}

.product-details .product-img img {
    background-image: cover;
    width: 100%;
    height: 200px;
    border-radius: 12px;
}

.product-details .product-info {
    height: 150px;
    gap: 5px;
}

.product-details .product-info .product-varients {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.product-details .product-info .product-varients h4 {
    width: 100%;
}

.product-info .product-varients>a {
    background-color: #eee;
    padding: 5px;
    border-radius: 8px;
    color: #000;
}

.product-details .product-price {
    margin: 6px 0px;
    font-size: 20px;
}

.product-btns .quantity-counter {
    display: flex;
    border: none;
}

.product-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
}

.product-btns .quantity-counter span {
    background-color: #7E57C2;
    width: 15px;
    text-align: center;
    color: #fff;
    padding: 5px;
}

.product-btns .quantity-counter #minus-btn {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: 12px;
    color: #fff;
    background-color: #7E57C2;
    border: none;
    padding: 5px 10px;
}

.product-btns .quantity-counter #plus-btn {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    font-size: 12px;
    color: #fff;
    background-color: #7E57C2;
    padding: 5px 10px;
    border: none;
}

/* customer revirew section starts here  */
#reviewSection {
    margin-top: 150px;
    margin-bottom: 50px;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
}

#reviewSection .review-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    margin-bottom: 15px;
}

.review-container {
    width: 80%;
}

.customer-review {
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.customer-review .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    width: 100%;
    margin-bottom: 7px;
}

.customer-review .title .customer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-review .customer-details .c-name {
    font-size: 19px;
}

.customer-review .customer-details .time {
    font-size: 16px;
    color: #9f9f9f;
}

.customer-review .title .customer img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.customer-review .review {
    margin-top: 15px;
    margin-left: 8px;
}

.review-title button {
    border-radius: 50px;
    padding: 7px 15px;
    font-size: 16px;
    background-color: #000;
    color: white;
    border: none;
}

.review-title button:hover {
    cursor: pointer;
}

/* ***rating system** */
.rating-system {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    direction: rtl;
    /* Stars ko left-to-right karne ke liye */
}

.rating-system input {
    display: none;
    /* Radio buttons ko chhupao */
}

.rating-system label {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

/* Selected star aur uske baad ke saare stars ko bharna */
.rating-system input:checked~label {
    color: #ffca28;
    /* Golden yellow color */
}

/* Hover effect */
.rating-system label:hover,
.rating-system label:hover~label {
    color: #ffca28;
}

/* Selected star ke baad hover effect rokna */
.rating-system input:checked+label:hover,
.rating-system input:checked+label:hover~label {
    color: #ffca28;
}

/* Result dikhane ke liye */
.rating-result {
    margin-top: 16px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* **************************Order*************************** */
/*  Date Heading */
.order-date-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 22px 0 12px;
    color: #212121;
    border-left: 4px solid #ff5c00;
    padding-left: 10px;
}

/* Flex Card Container */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Order Card */
.order-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: .2s;
}


/* Order Header */
.order-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    color: #444;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* Status Colors */
.status.success { color: #1b9c57; }
.status.pending { color: #ff9800; }
.status.failed { color: #d32f2f; }

/*  Flex product row */
.order-body {
    display: flex;
    flex-direction:column;
    gap: 15px;
}

.order-body .order-product-item{
    display: flex;
    gap: 10px;
}
/* Product Image */
.order-product-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* Product Text Section */
.order-info {
    flex: 1; /* take remaining width */
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.brand-name {
    font-size: 13px;
    color: #666;
}

.variant-info,
.quantity {
    font-size: 13px;
    color: #444;
}

/* Price on right */
.price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    align-self: right;
}

/* Footer Button */
.order-footer {
    display: flex;
    justify-content: flex-end;
}

.view-btn {
    padding: 8px 18px;
    background: #ff5c00;
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: .2s;
}

.view-btn:hover {
    background: #e64900;
}


/* *********************User Wishlist***************************** */
.wishlist-details {
    display: flex;
    justify-content: space-evenly;
}

.wishlist-details .detail {
    margin-top: 30px;
    width: 150px;
    text-align: center;
}

.profile-wishlist-body {
    display: flex;
    justify-content: center;
}

.profile-wishlist-body .profile-heading {
    display: flex;
    padding: 30px 16px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;

}

.sideheading>ul>li>i {
    width: 20px;
    text-align: center;
    color: red;
}


.profile-body-details {
    width: 70%;
    justify-content: center;
}

.profile-wishlist-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.wishlist-card {
    width: 250px;
    height: 240px;
    border: 1px solid #eee;
    border-radius: 12px;
    position: relative;
    box-shadow: 0px 0px 5px #eee;
}

.wishlist-card .img img {
    height: 150px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 100%;
}

.wishlist-card .wishlist-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 10px;
}

.wishlist-details .subheading {
    display: flex;
    margin-top: 9px;
    justify-content: space-between;
}

.wishlist-card #remove-btn {
    background-color: transparent;
    border: none;
    font-size: 16px;
    position: absolute;
    background-color: #f9f9f9ff;
    top: 8px;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    right: 8px;
}

.wishlist-card #remove-btn:hover {
    cursor: pointer;
}


/* **********************User Profile Carts************************* */
.profile-body {
    display: flex;
    justify-content: center;
}

.profile-body-details {
    width: 70%;
    max-width: 1200px !important;
}

.profile-body .profile-heading {
    display: flex;
    padding: 30px 16px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/* Cart styles */
.cart-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cart-items {
    flex: 2;
    min-width: 60%;
}

.cart-items h3 {
    font-size: 22px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.cart-card {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 15px;
    transition: 0.3s;
}

.cart-card img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-details {
    flex: 1;
    margin-left: 20px;
}

.cart-details h4 {
    font-size: 18px;
    margin: 0;
}

.cart-details p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.cart-actions {
    text-align: right;
}

.cart-price {
    font-size: 18px;
    font-weight: bold;
}

.remove-btn {
    background: none;
    border: none;
    /* color: red; */
    font-size: 16px;
    cursor: pointer;
    margin-top: 5px;
}

.remove-btn:hover {
    color: darkred;
}

/* Right side - Summary */
.cart-summary {
    flex: 1;
    max-width: 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: fit-content;
}

.cart-summary h3 {
    font-size: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
}

.summary-total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #333;
}

@media (max-width: 900px) {
    .cart-container {
        flex-direction: column;
        align-items: center;
    }

    .cart-summary {
        width: 100%;
        max-width: 500px;
    }

    .cart-items {
        width: 100%;
    }
}

/* user transaction */

.profile-details {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
}

.profile-details .detail {
    margin-top: 30px;
    width: 200px;
    text-align: center;
}

.profile-details .detail h2 {
    font-size: 18px;
}

.profile-details .detail span {
    font-size: 16px;
}

.profile-body {
    display: flex;
    justify-content: center;
}

.profile-body-details {
    width: 70%;
    max-width: 1200px !important;
}

.profile-body .profile-heading {
    display: flex;
    padding: 30px 16px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/* Transaction Section */
.transaction-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.transaction-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
}

.transaction-table th,
.transaction-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.transaction-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.transaction-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .profile-details {
        flex-direction: column;
        align-items: center;
    }

    .transaction-table th,
    .transaction-table td {
        font-size: 14px;
    }
}

/* user order */
.profile-body {
    display: flex;
    justify-content: center;
}

.profile-body-details {
    width: 70%;
    max-width: 1200px !important;
}

.profile-body .profile-heading {
    display: flex;
    padding: 30px 16px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/*  Ice Cream Orders Section */
.orders-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.orders-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.orders-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.orders-table tr:hover {
    background-color: #f1f1f1;
}

.status {
    font-weight: bold;
    text-transform: capitalize;
}

.status.completed {
    color: green;
}

.status.pending {
    color: orange;
}

.status.cancelled {
    color: red;
}

.view-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.view-btn:hover {
    background: #444;
}

@media (max-width: 768px) {

    .orders-table th,
    .orders-table td {
        font-size: 14px;
    }
}

/* ***********************DASHBOARD **************************** */
.dash-container {
    width: 100%;
}

.dash-parent {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dash-parent .dash-title {
    width: 70%;
    /* margin-left: 100px; */
    margin-top: 20px;
    margin-bottom: 20px;
}

.dashboard-body {
    margin-top: 50px;
    width: 70%;
    align-self: center;
}

.dash-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    margin-bottom: 20px;
}

.dash-chart-cards {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-evenly; */
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dash-cards .card {
    height: 150px;
    width: 250px;
    border-radius: 8px;
    border: 2px solid #eee;
}

.dash-cards .card {
    height: 110px;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px 15px;
    border-radius: 8px;
    border: 2px solid #eee;
}

.dash-cards .card .card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-cards .card .card-data {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.dash-chart-cards .chart-card {
    height: 280px;
    width: 400px;
    padding: 10px;
    border-radius: 8px;
    align-self: flex-start;
    border: 2px solid #eee;
}

#ordersChart {
    height: 229px;
    width: 100%;
}

/*************************** dash products*********************** */
.profile-details {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
}

.profile-details .detail {
    margin-top: 30px;
    width: 200px;
    text-align: center;
}

.profile-details .detail h2 {
    font-size: 18px;
}

.profile-details .detail span {
    font-size: 16px;
}

.profile-body {
    display: flex;
    justify-content: center;
}

.profile-body .profile-heading {
    display: flex;
    padding: 30px 16px;
    justify-content: space-around;

}

.profile-body-details {
    width: 70%;
}

.modal-body .product-details,
.product-varient {
    display: flex;
    gap: 10px;
}

#editProductModal .modal-body .input-form,
#productModal .modal-body .input-form {
    width: 47%;
}

#editProductModal .modal-body input,
#productModal .modal-body input {
    width: 100%;
    /* max-width: 380px; */
    padding: 0.6rem 1.5rem;
    padding-left: 1rem;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    margin-top: 10px;
    outline: none;
    transition: all 0.3s ease;
    color: #111827;
    font-size: 0.9rem;
}

#editProductModal .modal-body textarea,
#productModal .modal-body textarea {
    resize: none;
    padding: 0.7rem 1.25rem;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    width: 100%
}

.custom-file-input {
    display: flex;
    align-items: center;
    width: 240px;
    gap: 10px;
}

.custom-file-input input[type="file"] {
    display: none;
    /* Hide default file input */
}

.custom-file-input button {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.custom-file-input button:hover {
    background: #444;
}

.custom-file-input span {
    font-size: 14px;
    color: #555;
}

/* product table */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.product-table th,
.product-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.product-tableth {
    background-color: #f8f8f8;
    font-weight: bold;
}

.product-table tr:hover {
    background: #f8f8f8;
}

/* ***********************Dash Orders************************* */
.profile-body {
    display: flex;
    justify-content: center;
}

.profile-body-details {
    width: 70%;
    max-width: 1200px !important;
}

.profile-body .profile-heading {
    display: flex;
    padding: 30px 16px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/*  Ice Cream Orders Section */
.orders-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.orders-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.orders-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.orders-table tr:hover {
    background-color: #f1f1f1;
}

.status {
    font-weight: bold;
    text-transform: capitalize;
}

.status.completed {
    color: green;
}

.status.pending {
    color: orange;
}

.status.cancelled {
    color: red;
}

.view-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.view-btn:hover {
    background: #444;
}

@media (max-width: 768px) {

    .orders-table th,
    .orders-table td {
        font-size: 14px;
    }
}

/* *********************Empaty Cart**************************** */
.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-cart-img {
    width: 240px;
    height: 250px !important;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-cart-message h3 {
    border: none;
}

.explore-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    background: #7E57C2;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

/* *******************rezor order page********************* */
.order-wrapper {
    /* max-width: 950px; */
    width: 25%;
    margin-top: 180px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
}

.order-wrapper h2 {
    margin-bottom: 15px;
    color: #4a148c;
}

.order-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.order-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.order-details {
    flex: 1;
}

.order-details h4 {
    margin: 0;
    font-size: 1.05em;
    color: #333;
}

.order-details p {
    margin: 3px 0;
    color: #777;
    font-size: 0.9em;
}

.price {
    font-weight: 600;
    color: #333;
}

.summary {
    text-align: right;
    margin-top: 25px;
}

.summary h3 {
    color: #222;
}

.btn-primary {
    background: #5e35b1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
}

.btn-primary:hover {
    background: #4527a0;
}

/********************** 40 Page****************************/
#ErrorPage {
    color: red;
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#ErrorPage #heading {
    font-size: 80px;
    font-weight: bold;
}

#ErrorPage #message {
    font-size: 20px;
    font-weight: 400;
}

/* **************************Tool Tip***************************** */
#tooltip {
    height: 40px;
    min-width: 300px;
    padding: 2px 50px;
    background-color: #000000;
    color: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 50%;
    top: 85%;
    transform: translateX(-50%);
    animation: tooltipSlide 1s forwards;
    opacity: 0;
    visibility: hidden;
}

@keyframes tooltipSlide {

    0%,
    10% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    20%,
    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(-20px);
        visibility: visible;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/****************************** pagination**************************** */
/* ✅ Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.pagination button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.pagination button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pagination .active {
    background: #000;
    color: #fff;
    border-color: #000;
}


/* dropdown */
/* Wrapper (for custom arrow & rounded corner) */
.select-input-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.select-wrapper {
    position: relative;
    margin-top: 8px;
    display: inline-block;
    width: 100%;
}

/* Dropdown */
.select-wrapper select {
    width: 100%;
    appearance: none;
    /* hide default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 40px 10px 14px;
    font-size: 0.95rem;
    color: #000000;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Focus state */
.select-wrapper select:focus {
    /* box-shadow: 0 0 0 3px rgba(59,130,246,0.2); */
    outline: none;
}

/* Custom dropdown arrow */
.select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 0.9rem;
}

/* Hover effect */
.select-wrapper select:hover {
    border-color: #9ca3af;
}

/* For dark mode (optional) */
@media (prefers-color-scheme: dark) {
    .select-wrapper select {
        /* background-color: #1f2937; */
        /* border-color: #374151; */
        color: #000000;
    }

    .select-wrapper::after {
        color: #000000;
    }
}

/* ************************PRODUCT CARD ********************** */
.productContainer {
    width: 100%;
    margin-top: 150px;
    display: flex;
    min-height: 500px;
    justify-content: center;
}

#ProductsSection {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    /* justify-content: center; */
    width: 90%;
    min-height: 500px;
    gap: 30px;
}

.productParent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    min-height: 500px;
    gap: 30px;
}

#productCard {
    height: 270px;
    width: 270px;
    border: 1px solid #605f5f73;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#productCard .title {
    margin-top: 8px;
    font-weight: bold;
    /* padding: 5px; */
    font-size: 1.3em;
}

#productCard .productImg {
    height: 180px;
    overflow: hidden;
    position: relative;
}

#productCard .productImg img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

#productCard .productImg i {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #fff;
    padding: 4px 4px;
    text-align: center;
    background-color: #efefefa2;
    border-radius: 50%;
    color: red;
    font-size: 18px;
}

/* .productCardDetails {
    /* padding: 5px; 
} */

#productCard .productCardDetails .heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2px 0px;
}

#productCard .productCardDetails .card-desc {
    font-size: var(--font-small);
    color: #5a5a5a;
    line-height: 14px;
    margin: 2px 0px;
}

#productCard .footer {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 4px;
}

/* *********************BUTTON *************************** */
.form-groups {
    display: flex;
    width: fit-content;
    gap: 10px;
}

.footer-text {
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
}

.linkBtn {
    margin-left: 2px;
}

.linkBtn,
#wishlist-btn,
#cart-btn,
#filterBtn {
    height: 33px;
    width: 100px;
    padding: 6px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer !important;
    /* border: 0.5px solid #5A5A5A; */
    background-color: #7E57C2;
}

.table-action {
    gap: 5px;
    display: flex;
    height: inherit;
}

.table-action button {
    height: 25px;
    width: 55px;
    padding: 4px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer !important;
    /* border: 0.5px solid #5A5A5A; */
    background-color: #7E57C2;
    align-self: right;
}

#product-btn {
    display: flex;
    gap: 10px;
    width: 100%;
}

#style-button {
    height: 33px;
    width: 130px;
    padding: 6px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    color: #fff;
    /* border: 0.5px solid #5A5A5A; */
    background-color: #7E57C2;
}

#blackBtn {
    border-radius: 50px;
    padding: 7px 15px;
    font-size: 16px;
    background-color: #000;
    color: white;
    border: none;
}

#blackBtn:hover {
    cursor: pointer;
}

/* ***********************Profile*********************** */
#profileSection {
    display: flex;
    width: 100%;
}

.profile-sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    background-color: #ffffffff;
    height: 100vh;
    padding: 10px;
    box-shadow: 1px 2px 3px #eeee;
}

.profile-sidebar ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    list-style-type: none;
    gap: 3px;
    margin-left: 10px;
    margin-top: 60px;
    font-size: 17px;
}

.profile-sidebar ul li a {
    margin-left: 8px;
    text-decoration: none;
    color: black;
}

/* .profile-sidebar ul li:active{
    background-color: #0069d9;
    padding: 5px 3px;
    border-radius: 50px;
} */

.profile-sidebar ul li:hover {
    cursor: pointer;
}

.profile-container {
    width: 100%;
}

.profile-header {
    width: 100%;
    height: 100px;
    padding: 5px 8px;
    box-shadow: 1px 2px 3px #eeee;

}

/************************Modal****************************/
/* Modal Background Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Box */
.modal {
    top: 50% !important;
    left: 50% !important;
    position: relative;
    transform: translate(-50%, -50%) !important;
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    /* background-color: #f5f5f5; */
    /* border-bottom: 1px solid #ddd; */
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #000;
}

/* Modal Body */
.modal-body {
    padding: 20px;
    min-height: 100px;
    color: #333;
}

.modal-body .success-msg {
    display: flex;
    flex-direction: column;
    min-height: 90px;
    justify-content: space-evenly;
    align-items: center;
    font-size: 20px;
    width: 100%;
    text-align: center;

    span {
        font-size: 22px;
    }

    i {
        border-radius: 50%;
        padding: 7px;
        height: 35px;
        width: 35px;
        color: #fff;
        background-color: #7cfa80;
    }
}

/* Modal Footer */
.modal-footer {
    padding: 16px 20px;
    /* background-color: #f9f9f9;
    border-top: 1px solid #eee; */
    text-align: right;
}

.modal-footer button {
    margin-left: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.btn-cancel {
    background: #f0f0f0;
    color: #333;
}

.btn-save {
    background: #000000;
    color: white;
}

.btn-save:hover {
    background: #04b501;
}

.btn-cancel:hover {
    background: #e40101;
    color: #fff;
}

/* ******************** FOOTER *********************** */

#footer {
    margin-top: 60px;
    bottom: 0;
    left: 0;
    color: #fff;
    /* position: absolute; */
    width: 100%;
    min-height: 250px;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer_section {
    margin: 20px 20px 20px 0px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

#footer li a {
    text-decoration: none;
    color: #fff;
}

#footer :is(.section_1 ul, .section_2 ul, .section_3 ul) {
    min-width: 100px;
    list-style-type: none;
}

#footer .section_1 li>i {
    margin-right: 8px;
}



/***********************about Us form**************************/
/* ---------- HERO ---------- */
.about-hero {
    height: 50vh;
    background: linear-gradient(rgba(75, 63, 114, 0.55), rgba(75, 63, 114, 0.55)),
        url("<?= BASE_URL ?>/assets/images/gelato-banner.jpeg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.about-hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: auto;
    opacity: 0.9;
}

/* ---------- CONTAINER ---------- */
.about-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 6%;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* ---------- STORY SECTION ---------- */
.story-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    align-items: center;
    gap: 60px;
}

.story-section img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.story-text h2 {
    font-size: 2rem;
    color: #4b3f72;
    margin-bottom: 20px;
}

.story-text p {
    color: #666;
    font-size: 1.05rem;
}

/* ---------- MISSION SECTION ---------- */
.mission-section {
    background: #ffffffff;
    color: #3b2e59;
    border-radius: 14px;
    width: 100%;
    text-align: center;
    padding: 80px 40px;
}

.mission-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-section p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
}

/* ---------- TEAM SECTION ---------- */
.team-section {
    text-align: center;
}

.team-section h2 {
    font-size: 2.2rem;
    color: #4b3f72;
    margin-bottom: 40px;
}

.team-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    justify-content: center;
}

.team-member {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 1.1rem;
    color: #4b3f72;
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.team-member .bio {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}