/*****loader Section *****/
.loader {
    width: 37px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn);
    }
}

/*****Loader End Section *****/

/***** flasher Section *****/

.fl-wrapper {
    z-index: 99999 !important;
}

/***** flasher End Section *****/

.modal.show {
    display: block;
}

/* /Checkout page / */

.activepoption {
    border: 2px solid green;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.p-card-image {
    height: 200px;
}

@media only screen and (max-width: 768px) {
    .p-card-image {
        height: 140px;
    }
}

/* Sidebar Styling */
.dashboard-sidebar {
    background-color: #fff;
    width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100vh;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-radius: 10px;
}

.dashboard-sidebar a {
    color: #757070;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 7px;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
    background-color: #0e7154;
    border-radius: 4px;
    color: white;
}
.dashboard-title {
    color: #535050;
    font-size: 25px;
    font-weight: 870;
    border-bottom: 1px solid;
    width: fit-content;
}
/* Main Content Area */
.dasboard-mainbox {
    padding: 0 40px 40px 40px;
    width: 90%;
}

/* Responsive Adjustments */
@media screen and (max-width: 765px) {
    .dashboard-sidebar {
        display: none;
    }
    .dasboard-mainbox {
        padding: 0;
        width: 100%;
    }
}

.stated {
    padding: 1.5rem 1.5rem 2.4rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #fff !important;
    border-radius: 25px;
}

.stated h4 {
    font-weight: 700;
    font-size: 1.75rem;
    color: #fff;
}

.stated strong {
    font-weight: 400;
    font-size: 1.125rem;
    color: #fff;
}

.stated .icon {
    position: absolute;
    inset-block-end: 0.9375rem;
    inset-inline-end: 1.25rem;
    font-size: 28px;
}

.stated.one {
    background-color: #43b20f; /* Green */
}

.stated.two {
    background-color: #3d4d76; /* Dark Blue */
}

.stated.three {
    background-color: #794c8a; /* Purple */
}

.stated.four {
    background-color: #2ab280; /* Teal */
}

.stated.five {
    background-color: #ff5733; /* Orange */
}

.stated.six {
    background-color: #ffc300; /* Yellow */
}

.stated.seven {
    background-color: #c70039; /* Red */
}

.stated.eight {
    background-color: #900c3f; /* Dark Red */
}

.stated.nine {
    background-color: #2980b9; /* Blue */
}

.stated.ten {
    background-color: #8e44ad; /* Violet */
}

.stated.eleven {
    background-color: #16a085; /* Sea Green */
}

.stated.twelve {
    background-color: #34495e; /* Dark Slate */
}

.stated::after {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 0rem;
    background-color: #fff;
    opacity: 0.05;
    content: "";
    block-size: 100%;
    inline-size: 8.125rem;
    z-index: -1;
    border-end-end-radius: 100%;
}

.message-list {
    max-height: 400px; /* Adjust as needed for your layout */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    margin-bottom: 10px; /* Space between messages */
    padding: 10px;
    border-radius: 8px; /* Rounded corners */
    position: relative;
}

.message.left {
    background-color: #00423c;
    align-self: flex-start;
    color: white;
}

.message.right {
    background-color: #000; /* Blue for right messages */
    color: white; /* White text for better contrast */
    align-self: flex-end; /* Align to the right */
}

.timestamp {
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: end;
    color: white;
}
.message.left .timestamp {
    color: white;
}
.message-text-area {
    width: 100%;
    border: 1px solid #0e7153d3;
    border-radius: 5px;
    padding: 10px;
    resize: none;
}

.message-text-area:focus {
    border-color: #00423c;
    outline: none;
    border-width: 1px;
    box-shadow: none;
}

.button-send {
    background-color: #0e7154;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 40px;
}

.button-send:hover {
    background-color: #0e7153d3;
}

.message-form {
    display: flex;
    gap: 10px;
    align-items: end;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    padding: 10px;
    background: #dddddd75;
    border-radius: 10px;
}
.chat-header .imgdiv {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-width: 765px) {
    .message-form {
        flex-direction: column;
    }
}

.countdown-timer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
}

.countdown-timer span {
    min-width: 23px;
    padding: 0px 3px;
    height: 23px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.countdown-timer .days,
.countdown-timer .hours {
    background-color: #16a085;
    color: white;
}

.countdown-timer .minutes {
    background-color: orangered;
    color: white;
}

.countdown-timer .seconds {
    background-color: orangered;
    color: white;
}

.collapse {
    visibility: visible !important;
}

.catbg {
    background-color: white;
}

@media only screen and (max-width: 768px) {
    .catbg {
        background-color: transparent;
    }
}

/* Card wrapper */
.combo-card-wrapper {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    height: 280px;
    /* Optional: Fix card height for consistency */
}

/* Image (larger look) */
.combo-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Bottom glass box */
.combo-glass-box {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    padding: 12px;
    text-align: center;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

/* Title (1-line) */
.combo-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

/* Price */
.combo-price {
    font-size: 12px;
    color: #e0e0e0;
}

.color-btn {
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}
.category-card {
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 20px;
    height: 100%;
    min-height: 260px;
    border: 1px solid #e0e0e0;
    /* Card border */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    background-color: #fff;
}

.category-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.category-img {
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
    /* Removed image border */
    border: none;
}

.category-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.category-off {
    font-size: 16px;
    color: #555;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border-color: #bbb;
}
@media only screen and (max-width: 768px) {
    .category-card {
        padding: 10px;
        min-height: fit-content;
    }
    .category-title {
        font-size: 15px;
    }
}
.product-card {
    border-radius: 1rem;
    border: 1px solid #ddd;
    padding: 1rem;
    background-color: #fff;
    transition: 0.3s;
    margin-bottom: 30px;
    box-shadow: none !important;
}
.product-card-title {
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Show "..." */
    display: block; /* Or inline-block */
    max-width: 100%; /* Make sure width is constrained */
}
.product-card:hover {
    box-shadow: none;
    border-color: #ccc;
}

.color_variants {
    width: 60px;
    height: 60px;
    border: #16a085;
    border: 1px solid #16a085;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}
.color_variants.active{
    border:2px solid red;
}
.color_variants img {
    width: 100%;
    height: 100%;
}

.image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
    display: block;
}

.top-icons {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.top-icons i {
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 50%;
    color: #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.add-cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

/* Black background plus icon button */
.add-cart-btn.plus-btn {
    background-color: black;
    color: white;
    box-shadow: none;
}

.add-cart-btn.plus-btn:hover {
    background-color: #222;
    color: white;
}

/* White background normal Add Cart button */
.add-cart-btn:not(.plus-btn) {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.add-cart-btn:not(.plus-btn):hover {
    background: #f0f0f0;
}

/* Center the "Add Cart" button text horizontally */
.add-cart-btn.w-50 {
    justify-content: center;
}

.price {
    color: red;
    font-weight: bold;
}

.rating {
    color: #ffcc00;
    font-size: 1rem;
}

.rating span {
    color: #999;
    font-size: 0.9rem;
}

.no-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
    padding-right: 1rem;
    /* Optional: add space on right */
    background-color: #fff;
    /* Optional: background */
    border: 1px solid #ccc;
}

/* For Firefox specifically */
.no-arrow::-ms-expand {
    display: none;
}

.load-more-btn {
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
    font-weight: bold;
    font-size: 24px;
    padding: 12px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.load-more-btn:hover {
    background-color: #000;
    color: #fff;
}

.small-text {
    font-size: 10px;
    color: #000;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.btn-e12114 {
    background-color: #e12114;
    border-color: #e12114;
}

.btn-e12114:hover {
    background-color: #c01d10;
    border-color: #c01d10;
}

@media (max-width: 576px) {
    .add-cart-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .top-icons i {
        font-size: 1.1rem;
        padding: 6px;
    }

    .product-card {
        padding: 0.8rem;
    }

    .price {
        font-size: 1rem;
    }

    .rating {
        font-size: 0.85rem;
    }
}

.custom-vertical-ribbon {
    position: fixed;
    top: 250px;
    right: 0;
    width: 60px;
    height: 60vh;
    background-color: #ff3b3b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    border-radius: 10px 0 0 10px;
}

.custom-vertical-ribbon .circle-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    color: red;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.custom-vertical-ribbon .ribbon-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

@media (max-width: 768px) {
    .custom-vertical-ribbon {
        display: none;
        /* Optional: hide on small screens */
    }
}
.size-btn {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    padding: 0;
    text-align: center;
    font-weight: 500;
    position: relative;
}

.size-btn.unavailable {
    opacity: 0.5;
    pointer-events: none;
}

.size-btn.unavailable::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 50%;
    left: 0;
    transform: rotate(-45deg);
}
.size-btn.active {
    border: 2px solid #ff3b3b;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid lightblue;
    border-right-color: orange;
    animation: l2 1s infinite linear;
}

@keyframes l2 {
    to {
        transform: rotate(1turn);
    }
}

.payment-option {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 12px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    flex-wrap: wrap;
}

.payment-option img {
    height: 24px;
}

.btn-check:checked + .payment-option {
    border-color: #ff0054;
    background-color: #ffe6ea;
}

.btn-check {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #999;
    position: relative;
}

.btn-check:checked + .payment-option .custom-radio {
    border-color: #ff0054;
    background-color: #ff0054;
}

.btn-check:checked + .payment-option .custom-radio::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
