:root {
    --colorPrimary: #c8f9d3;
    --colorPrimaryHover: #ffdd00a3;
    --lightPrimary: #d4d4d4;
    --colorSecondary: #2a912f;
    --colorTertiary: #ffffff;
    --readColor: #848484;
    --textColor: #000000;
}

.cart-holder {
    margin: 6px;
    border: 1px solid lightgray;
    padding: 2px;
}

.product-name {
    margin-bottom: 3px !important;
}

.product-price ins,
.product-price del {
    text-decoration: none;
}

.product-price del {
    color: red;
    text-decoration: line-through;
    padding-left: 4px;
}

.product-price small {
    color: green;
}

.price-container {
    padding: 7px 5px 4px 6px;
}

@media(max-width:993px) {
    .image-holder {
        min-height: 226px;
    }
}

@media(min-width:993px) {
    .image-holder {
        min-height: 250px;
    }
}

@media(min-width: 575px) {
    .selectedProductTable img {
        width: 130px !important;
    }
}

.selectedProductTable img,
.wishListContent img {
    background-color: var(--colorTertiary) !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2) !important;
    padding: 0.25rem !important;
    width: 100px !important;
}

.selectedProductTable h6 {
    margin-bottom: -6px !important;
    text-transform: none !important;
    border-bottom: 0px;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding-bottom: 10px !important;
    text-wrap: pretty;
    text-align: left;
}

@media(min-width:576px) {
    .imgContainer {
        width: 29%;
    }
}

@media(max-width:576px) {
    .imgContainer {
        width: 116px;
    }
}

.name-holders {
    width: 71%;
    position: relative;
    padding-right: 54px;
}

.name-holders .modelName {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    text-wrap: balance;
    color: #006dff;
}

.cart-model-price {
    position: absolute;
    right: 0;
    font-size: 18px;
    font-weight: bold;
}

.selectedProductTable>table>tbody>tr:nth-child(odd)>td:last-child {
    text-align: left !important;
    font-size: 1rem !important;
    white-space: nowrap !important;
}

.cut-btn {
    display: block;
    width: 100%;
    padding-left: 36px;
}

.cut-btn span {
    color: red;
}

.new-counter {
    margin-top: 10px;
}

.new-counter button {
    width: 29px;
    height: 32px;
    text-align: center;
    border-radius: 0;
    margin: 0 !important;
    border: 2px solid royalblue !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--colorPrimary);
    font-size: 22px;
}

.new-counter button.cartQuantityMinus {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.new-counter button.cartQuantityPlus {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.new-counter button:disabled {
    background-color: #0d6efd;
    color: white;
}

.new-counter input {
    width: 68px !important;
    height: 32px;
    border-radius: 0;
    margin: 0;
    font-size: 14px;
    border-top: 2px solid royalblue;
    border-bottom: 2px solid royalblue;
}

.place-order-btn-container {
    position: fixed;
    bottom: 0;
    margin: 0;
    display: block;
    width: 100%;
}

.place-order-btn-container button {
    width: 96%;
    font-size: 20px;
    margin: 0 7px;
}

#zipCode.error {
    border: 1px solid red !important;
}

#zipCode.error::after {
    content: "Please enter pincode first";
    color: red;
    position: absolute;
    left: 0;
    top: 20;
}

.orderSummary {
    box-shadow: 0 0 5px 2px #80808061;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 7px;
    width: 46%;
}

.barrier {
    width: 27px;
}

.user-address {
    box-shadow: 0 0 5px 2px #80808061;
    display: inline-block;
    padding: 10px 20px 42px 20px;
    margin-top: 10px;
    border-radius: 7px;
    min-width: 66%;
    position: relative;
}

.user-address button {
    font-size: 14px !important;
    padding: 6px 17px !important;
}

.edit-address {
    position: absolute;
    right: 6px;
    bottom: 4px;
    font-size: 23px;
    padding: 1px 11px;
    text-align: center;
    font-weight: bold;
}

.orderSummary h2 {
    font-size: 24px;
    font-weight: bold;
}

.orderSummary span {
    font-size: 18px;
}

.left-arrow-btn {
    width: 38px;
    font-size: 19px;
    color: var(--textColor)
}

.cross-icon,
.search-icon {
    position: absolute;
    top: 16px;
    font-size: 20px !important;
}

.cross-icon {
    left: 10px;
}

.search-icon {
    right: 10px;
}

.searchBar {
    display: block;
    width: 100%;
    height: 53px;
    border: none;
    padding-left: 43px;
    font-size: 18px;
}

.whatsapp-icon {
    font-size: 28px !important;
    padding: 0 !important;
    color: black !important;
}

/* .bg-red{
    background-color: red!important;
    color: white!important;
} */
.cart-list-toggle {
    margin-right: 10px;
    background-color: #f9eb28 !important;
    border: 2px solid #f9eb28 !important;
    color: black !important;
}

.cart-list-toggle.active,
.cart-list-toggle:hover {
    background-color: transparent !important;
    border: 2px solid black !important;
    box-shadow: 0px 3px 6px 0px #00000099;
}

.phone-number-input {
    border-radius: 9px;
    height: 44px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 0 2px 0 #b1acac61;
}

.phone-number-input::placeholder {
    color: lightgray !important;
    font-weight: 400;
    opacity: 1;
}

.whatsapp {
    position: absolute;
    top: 0;
    right: 0px;
    width: 44px;
}

.login-btn-style {
    border-radius: 20px;
    padding: 5px 30px;
    box-shadow: 0 0 3px 0 #939393;
    min-width: 136px;
    margin: 0 13px;
}

.category-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media(max-width:767px) {
    .category-list-container {
        justify-content: space-between;
        /* Align items to the left */
    }
}

@media(min-width:767px) {
    .category-list-container {
        justify-content: flex-start;
        /* Align items to the left */
    }
}

@media(max-width:1024px) {
    .four-in-row {
        flex: 1 1 calc(100% / 5);
        /* 4 per row on mobile */
        max-width: calc(100% / 4);
    }

    .three-in-row {
        flex: 1 1 calc(100% / 4);
        /* 4 per row on mobile */
        max-width: calc(100% / 4);
    }
}

@media (min-width: 1024px) {
    .category-list-container a {
        /* flex: 1 1 auto; */
    }
}

.category-list-container figcaption {
    font-size: clamp(15px, 2vw, 20px);
    margin-top: clamp(15px, 2vw, 20px);
    min-height: 42px;
    display: flex;
    justify-content: center;
    text-wrap: pretty;
}


.no-slider a {
    display: inline-block;
}

@media(min-width:360px) {
    .w20 {
        width: 20vw;
    }

    .w30 {
        width: 28vw;
    }
}

@media(min-width:360px) AND (max-width:576px) {
    .w20 {
        width: 20vw;
    }

    .w30 {
        width: 28vw;
    }
}

@media(min-width:576px) AND (max-width:767px) {
    .w20 {
        width: 20vw;
    }

    .w30 {
        width: 28vw;
    }
}

@media(min-width:767px) AND (max-width:992px) {
    .w20 {
        width: 20vw;
    }

    .w30 {
        width: 18vw;
    }
}

@media(min-width:992px) AND (max-width:1200px) {
    .w20 {
        width: 15vw;
    }

    .w30 {
        width: 18vw;
    }
}

@media(min-width:1200px) {
    .w20 {
        width: 14vw;
    }

    .w30 {
        width: 14vw;
    }
}

.type-container div p {
    width: 30vw;
    border: 1px solid lightgray;
    padding: 17px 12px;
    font-size: clamp(17px, 2vw, 19px);
    text-align: center;
    border-radius: 44px;
    transition: all .25s;
    cursor: pointer;
}

.type-container div p.active,
.type-container div p:hover {
    background: #f9eb28;
}

/* @media(min-width:767px){
    .category-main-container{
        display: flex!important;
        flex-wrap: wrap!important;
    }
    
    .sliderContainer{
        display: contents!important;
    }
} */



/* ============================================
Login Modal
============================================ */
/* Load AFTER Bootstrap and your existing modal styles. */
#loginModal {
    --login-primary: #278c31;
    --login-primary-dark: #1c6f25;
    --login-text: #203126;
    --login-border: #dce5dd;
}

#loginModal .modal-dialog {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
}

#loginModal .modal-content {
    /* The supplied HTML has an inline !important background.
       This white background image visually covers that gray color. */
    background-image: linear-gradient(#fff, #fff);
    border: 1px solid #e2e9e3;
    border-radius: 24px;
    box-shadow: 0 24px 75px rgba(18, 45, 25, .22);
    color: var(--login-text);
}

#loginModal .modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e8eee9;
    border-radius: 24px 24px 0 0;
    background: #f5faf4;
}

#loginModal .modal-title {
    margin: 0;
    font-weight: 750;
    letter-spacing: 1px;
    color: var(--login-text);
}

#loginModal .btn-close {
    flex-shrink: 0;
    padding: 12px;
    margin: 0;
    border-radius: 50%;
    background-color: #ff0000;
    background-size: 12px;
    opacity: .8;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
}

.login-modal-close {
    cursor: pointer;
    position: absolute;
    right: -6px;
    top: -7px;
    z-index: 100;
    background: #268c32;
    padding: 5px;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 18px;
    justify-content: center;
}

#loginModal .btn-close:hover {
    opacity: 1;
}

#loginModal .modal-body {
    padding: 22px 24px 24px;
}

#loginModal .modal-body>img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid #e6ece7;
    border-radius: 14px;
}

#loginModal .phone-number-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 15px 16px;
    border: 1px solid var(--login-border);
    border-radius: 12px;
    background: #f9fbf8;
    color: var(--login-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#loginModal .phone-number-input::placeholder {
    color: #748078;
    font-weight: 400;
    opacity: 1;
}

#loginModal .phone-number-input:focus {
    background: #fff;
    border-color: var(--login-primary);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(39, 140, 49, .12);
}

#loginModal #identifier {
    padding-right: 68px;
}

#loginModal .mobile-container>.whatsapp {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: none;
}

#loginModal .signup-container .phone-number-input.mb-1 {
    margin-bottom: 12px !important;
}

#loginModal .captcha-box {
    max-width: 100%;
    overflow-x: auto;
}

#loginModal .captcha-box:empty {
    margin-top: 0 !important;
}

#loginModal .login-btn-style {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .2px;
    white-space: normal;
    transition: background-color .18s ease, box-shadow .18s ease;
}

#loginModal .login-btn-style.btn-primary {
    background: var(--login-primary);
    border: 1px solid var(--login-primary);
    color: #fff;
    box-shadow: 0 5px 12px rgba(39, 140, 49, .16);
}

#loginModal .login-btn-style.btn-primary:hover,
#loginModal .login-btn-style.btn-primary:active {
    background: var(--login-primary-dark);
    border-color: var(--login-primary-dark);
}

#loginModal .login-btn-style.btn-success {
    background: #edf6e9;
    border: 1px solid #cbdcc5;
    color: #236d2b;
    box-shadow: none;
}

#loginModal .login-btn-style.btn-success:hover {
    background: #dfeeda;
    border-color: #aac9a3;
}

#loginModal .login-btn-style:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

#loginModal .login-btn-style:focus-visible,
#loginModal .btn-close:focus-visible {
    outline: 3px solid var(--login-primary);
    outline-offset: 3px;
    box-shadow: none;
}

#loginModal .mobile-container>.d-flex,
#loginModal .signup-container>.d-flex {
    margin-top: 16px;
}

#loginModal .verify-otp>.d-flex.mt-2 {
    margin-top: 16px !important;
    gap: 10px;
    /* Suppress the existing &nbsp; between these flex buttons. */
    font-size: 0;
}

#loginModal #otp {
    text-align: center;
    font-size: 20px;
    letter-spacing: 7px;
    font-weight: 700;
}

#loginModal #otp::placeholder {
    font-size: 16px;
    letter-spacing: normal;
}

#loginModal #timer-container {
    margin: 14px 0 18px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f7f3;
    color: #66736a;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

#loginModal #timer {
    color: #236d2b;
    font-weight: 750;
}

#loginModal .login-error:not(:empty) {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #edc7c7;
    border-radius: 10px;
    background: #fff4f4;
    color: #a32b2b;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    #loginModal .modal-dialog {
        padding: 10px;
    }

    #loginModal .modal-content {
        border-radius: 20px;
    }

    #loginModal .modal-header {
        padding: 0px;
        border-radius: 20px 20px 0 0;
    }

    #loginModal .modal-body {
        padding: 0px;
    }

    #loginModal .modal-body>img {
       border-radius: 12px;
    margin-bottom: 18px;
    border-bottom-left-radius: 0!important;
    border-bottom-right-radius: 0!important;
    }

    #loginModal .login-btn-style {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #loginModal .phone-number-input,
    #loginModal .login-btn-style {
        transition: none;
    }
}