/****************************************** 
    Offer CSS Start 
******************************************/

.offer-slider .swiper-slide {
    height: auto;
}

.offer-slider {
    padding-top: 20px;
    padding-bottom: 60px;
}

.offer-slider .product-card.product-card-full .card-body {
    background: #fff;
    height: 100%;
}

.offer-sec {
    background: #F3F0D9;
}

/****************************************** 
    Offer CSS End 
******************************************/

/****************************************** 
    Like CSS Start 
******************************************/

.like-slider {
    padding-top: 20px;
    padding-bottom: 60px;
}

/****************************************** 
    Like CSS End 
******************************************/

/****************************************** 
    Prodect Details CSS Start 
******************************************/

.pd-head {
    width: 80%;
    margin-bottom: 30px;
}

.pd-head h1 {
    font-family: 'myfirstfont-SemiBold';
    font-size: 66px;
    line-height: 1.2;
    color: var(--txt-color);
    margin-bottom: 10px;
}

.pd-price h2 {
    font-family: 'myfirstfont-SemiBold';
    font-size: 40px;
    line-height: 1.2;
    color: var(--main-color);
    margin-bottom: 30px;
}

.pd-price h2 span {
    font-size: 25px;
    line-height: 1.2;
    color: var(--txt-color);
    font-family: 'mysecondfont-Regular';
}

.pd-img {
    background: #fff;
    padding: 50px;
    position: relative;
    display: block;
    border: 2px solid var(--main-color);
}

.weight-options {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.weight-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e7e5dc;
    background: #fff;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    transition: all .25s ease;
    font-family: 'mysecondfont-Medium';
}

.weight-btn:hover {
    border-color: #f43b51;
}

.weight-btn.active {
    background: #f43b51;
    border-color: #f43b51;
    color: #fff;
}

.action-area {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.add-cart {
    width: auto;
    height: 50px;
    border: 0;
    border-radius: 50px;
    background: #f43b51;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all .25s ease;
    font-family: 'mysecondfont-Medium';
    padding: 10px 50px;
}

.add-cart:hover {
    background: #df2940;
    transform: translateY(-1px);
}

.divider {
    width: 100%;
    height: 1px;
    background: #e4e1d7;
    margin-bottom: 19px;
}

.delivery-title {
    font-size: 25px;
    margin-bottom: 10px;
    font-family: 'mysecondfont-Medium';
}

.pincode-box {
    width: 400px;
    height: 50px;
    border: 1px solid #d7d7d2;
    border-radius: 5px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.pincode-box input {
    width: 400px;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 12px;
    font-size: 16px;
    color: #333;
    background: #fff0;
}

.pincode-box button {
    width: 80px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--main-color);
    font-size: 16px;
    cursor: pointer;
    font-family: 'mysecondfont-Medium';
}

.pincode-result {
    display: none;
    font-size: 14px;
    margin-top: -12px;
    margin-bottom: 13px;
}

.pincode-result.success {
    display: block;
    color: #299447;
}

.pincode-result.error {
    display: block;
    color: #f43b51;
}

.product-description {
    width: 80%;
    line-height: 1.5;
    color: #333;
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 20px;
}

.cart-toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #222;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 9999;
}

.cart-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.format-box {
    width: 100%;
    max-width: 690px;
    padding: 10px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
}

.format-title {
    margin: 0 0 8px;
    padding-left: 1px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111;
    text-transform: uppercase;
}

.format-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 80%;
    margin-bottom: 30px;
}

.format-card {
    position: relative;
    min-height: 79px;
    padding: 9px 10px;
    border: 1px solid #d8d8d8;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.format-card:hover {
    border-color: var(--main-color);
}

.format-card.active {
    border-color: var(--main-color);
    background: #f9dfe1;
}

.format-name {
    margin: 0 0 10px;
    font-family: 'mysecondfont-SemiBold';
    color: #111;
}

.format-price {
    font-family: 'mysecondfont-SemiBold';
    color: var(--main-color);
    margin-bottom: 0px;
}

.format-info {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    color: #777;
}



.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 16px;
}

.stars {
    color: #f5b803;
    letter-spacing: 2px;
    font-size: 16px;
}

.review-link {
    color: #777;
    text-decoration: underline;
    font-size: 14px;
}

.rating-box {
    margin-bottom: 25px;
}

.rating-based {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.rating-number {
    font-size: 18px;
    font-weight: 600;
}

.star {
    color: #078c55;
    font-size: 17px;
}

.rating-good {
    background: #e8f7f0;
    color: #078c55;
    font-size: 13px;
    padding: 3px 7px;
    border-radius: 2px;
    margin-left: 4px;
}

.rating-based {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-review-slider {
    padding-top: 20px;
}

.review-con {
    position: relative;
}

.review-con .swiper-button-prev, .review-con .swiper-button-next {
    width: auto;
    height: auto;
}

.review-con .swiper-button-prev {
    left: -2%;
}

.review-con .swiper-button-next {
    right: -2%;
}

/****************************************** 
    Prodect Details CSS End 
******************************************/

/****************************************** 
    Prodect Details Modal CSS Start 
******************************************/

.customize-modal {
    padding: 0 !important;
}

.customize-modal .modal-dialog {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 96%;
    max-width: 700px;
    margin: 0;
    transform: translate(-50%, 100%) !important;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.customize-modal.show .modal-dialog {
    transform: translate(-50%, 0) !important;
}

.customize-modal .modal-content {
    border: 0;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 -10px 45px rgba(0, 0, 0, 0.22);
}

.modal-drag {
    width: 36px;
    height: 4px;
    margin: 9px auto 12px;
    border-radius: 10px;
    background: #d2cdca;
}

.customize-header {
    position: relative;
    padding: 0 15px 12px;
}

.customize-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #171717;
}

.modal-close-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--main-sub-color);
    color: var(--main-color);
}

.customize-body {
    padding: 0 15px 0;
    max-height: max-content;
    overflow-y: auto;
    scrollbar-width: thin;
}

.customize-body::-webkit-scrollbar {
    width: 4px;
}

.customize-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.section-label {
    margin: 4px 0 7px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    color: #3d3d3d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.extra-option {
    width: 100%;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    margin-bottom: 5px;
    border-radius: 8px;
    background: #fff7ad;
    cursor: pointer;
    transition: 0.2s ease;
}

.extra-option:hover {
    background: #efd5a5;
}

.extra-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid #c9c9c9;
    border-radius: 2px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.extra-checkbox:checked {
    background: var(--main-color);
    border-color: var(--main-color);
}

.extra-checkbox:checked::after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 0;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.extra-name {
    font-size: 13px;
    font-weight: 600;
}

.extra-price {
    color: var(--main-color);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.choice-grid {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.choice-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.choice-grid.responsive-two {
    grid-template-columns: repeat(3, 1fr);
}

.choice-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.choice-card {
    padding: 7px 10px;
    border: 1px solid #d6d0cc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.choice-card:hover {
    border-color: var(--main-color);
}

.choice-card.active {
    border-color: var(--main-color);
    background: #ffeeef;
}

.choice-title {
    margin: 0 0 3px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.choice-subtitle {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    color: #616161;
}

.customize-footer {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 15px 10px;
    border-top: 1px solid #e4e0dc;
    background: #fff;
}

.subtotal-label {
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1;
    color: #999;
    font-weight: 600;
}

.subtotal-price {
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: #222;
}

.add-bag-btn {
    min-width: 125px;
    padding: 8px 17px;
    border: 0;
    border-radius: 6px;
    background: var(--main-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.add-bag-btn:hover {
    background: var(--main-dark-color);
}

.add-bag-btn.added {
    background: #198754;
}

.customize-modal + .modal-backdrop {
    background: rgba(25, 20, 14, 0.58);
}


/****************************************** 
    Prodect Details Modal CSS End 
******************************************/

/******************************************
    Responsive Start
******************************************/

@media (max-width: 1600px) {

    .pd-head h1 {
        font-size: 60px;
        line-height: 70px;
    }

    .pd-price h2 {
        font-size: 35px;
    }

    .pd-price h2 span, .delivery-title {
        font-size: 20px;
    }

    .add-cart, .pincode-box {
        height: 45px;
        font-size: 16px;
    }
    
}

@media (max-width: 1440px) {

    .pd-head h1 {
        font-size: 55px;
        line-height: 65px;
    }

    .product-description, .pd-head {
        width: 90%;
    }

}

@media (max-width: 1399px) {

    .pd-head h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .pd-price h2 {
        font-size: 30px;
    }

    .pd-price h2 span, .delivery-title {
        font-size: 18px;
    }

    .add-cart, .pincode-box {
        height: 40px;
        font-size: 14px;
    }

    .pincode-box input, .pincode-box button {
        font-size: 14px;
    }

    .customize-body {
        max-height: 440px;
    }

}

@media (max-width: 1199px) {

    .pd-head h1 {
        font-size: 45px;
        line-height: 55px;
    }

    .customize-body {
        max-height: 380px;
    }

}

@media (max-width: 991px) {

    .pd-head h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .pd-img {
        margin-bottom: 50px;
    }

    .pd-price h2 {
        font-size: 20px;
    }

    .pd-price h2 span {
        font-size: 14px;
    }

    .format-options {
        width: 100%;
    }

}

@media (max-width: 767px) {

    .pd-head h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .product-description, .pd-head {
        width: 100%;
    }

    .choice-grid.responsive-two {
        grid-template-columns: repeat(2, 1fr);
    }

    .customize-modal .modal-dialog {
        max-width: 500px;
    }

}

@media (max-width: 575px) {

    .weight-btn {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .pincode-box, .pincode-box input {
        width: 100%;
    }

    .choice-grid.responsive-two {
        grid-template-columns: repeat(1, 1fr);
    }

}