/****************************************** 
    Cart CSS Start 
******************************************/

.delivery-box {
    background: #F9F7E9;
    border-radius: 5px;
    padding: 10px 20px;
    margin-bottom: 12px;
}

.delivery-box strong {
    font-weight: 600;
}

.product-card {
    background: #F9F7E9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-main {
    padding: 15px 20px 20px;
}

.product-img {
    width: 170px;
    height: 170px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 5px;
}

.qty-wrapper .add-btn,
.qty-wrapper .qty-box {
    width: 170px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding-left: 70px;
}

.product-info .heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.remove-btn {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50px;
    color: var(--main-dark-color);
    font-size: 15px;
    border: none;
    outline: none;
}

.product-info h2 {
    text-align: left;
}

.product-info .heading {
    margin-bottom: 5px;
}

.product-description {
    margin-bottom: 10px;
    text-align: left;
    width: 80%;
    color: #7b7b7b;
}

.product-price {
    color: var(--main-color);
    font-size: 30px;
    line-height: 1.2;
    font-family: 'mysecondfont-SemiBold';
    text-align: left;
}

.delivery-charge p {
    text-align: left;
    font-size: 15px;
}

.qty-select {
    width: 95%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 2px;
    outline: none;
    color: #000;
    font-family: 'mysecondfont-Medium';
}

.qty-select:focus {
    border-color: #f3344b;
    box-shadow: none;
}

.delivery-time p {
    text-align: left;
    margin-top: 20px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid #eee7d5;
}

.action-btn {
    border: 0;
    background: transparent;
    font-size: 18px;
    color: #222;
    border-right: 1px solid #e6e0d0;
    transition: 0.25s ease;
    padding: 10px;
}

.action-btn:last-child {
    border-right: 0;
}

.action-btn i {
    color: #f3344b;
    margin-right: 5px;
}

.action-btn:hover {
    background: #f5f0df;
}

.price-card {
    background: #fff;
    border-radius: 6px;
    padding: 15px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
    margin-bottom: 20px;
}

.price-title {
    font-size: 22px;
    font-family: 'myfirstfont-SemiBold';
    margin-bottom: 12px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    padding: 7px 0;
}

.price-row + .price-row {
    border-top: 1px dashed #ddd;
}

.price-row.total {
    font-weight: 600;
    padding-top: 10px;
}

.price-row.total .amount {
    color: #f3344b;
}

.order-box {
    background: #fff;
    margin-top: 8px;
    border-radius: 6px;
    min-height: 35px;
    padding: 15px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-total {
    color: #f3344b;
    font-size: 20px;
    font-family: 'mysecondfont-SemiBold';
}

.place-order {
    border: 0;
    background: #f3344b;
    color: #fff;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.25s ease;
    text-transform: uppercase;
    font-weight: 600;
}

.place-order:hover {
    background: #d9253b;
    transform: translateY(-1px);
}

.custom-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #222;
    color: #fff;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 11px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s ease;
    z-index: 9999;
}

.custom-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggest-product {
    background: #F9F7E9;
    border-radius: 5px;
    padding: 10px 20px; 
    margin-top: 30px;
}

.suggest-slider {
    padding-top: 0px;
    padding-bottom: 60px;
}

.product-card:hover .card-body {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/****************************************** 
    Cart CSS End 
******************************************/

/****************************************** 
    Address CSS Start 
******************************************/

.address-con {
    position: relative;
    width: 100%;
    width: 100%;
    padding: 15px 20px;
    background: #f8f7e9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.deliver-label {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.customer-name {
    font-family: 'mysecondfont-SemiBold';
    line-height: 1.5;
    margin-bottom: 11px;
}

.address-text {
    width: 80%;
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
}

.phone-number {
    display: inline-block;
    margin-top: 9px;
    padding: 1px 2px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--main-color);
    text-decoration: none;
}

.change-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    padding: 5px 20px;
    border: 0;
    border-radius: 20px;
    background: var(--main-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.change-btn:hover {
    background: #df2945;
    transform: translateY(-1px);
}

.address-form .form-control {
    border: 1px solid #c8c8c8;
    border-radius: 5px;
    padding: 10px 13px 10px;
    font-size: 14px;
    color: #333;
    box-shadow: none;
    margin-bottom: 15px;
}

.address-form .form-control::placeholder {
    color: #777;
    opacity: 1;
}

.address-form .form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 1px var(--main-color);
}

.modal-title {
    font-family: 'myfirstfont-SemiBold';
    font-size: 22px;
    color: #000;
}

.modal-header {
    border-bottom: 0;
    padding-bottom: 0;
}

.address-section-title {
    font-size: 14px;
    font-family: 'myfirstfont-SemiBold';
    color: #282828;
    margin-bottom: 10px;
}

.modal-footer-buttons {
    display: flex;
    gap: 8px;
    padding-top: 12px;
}

.modal-footer-buttons button {
    height: 37px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    flex: 1;
}

.back-btn {
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.back-btn:hover {
    background: #fff5f7;
    color: var(--main-dark-color);
}

.save-btn {
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.save-btn:hover {
    background: var(--main-dark-color);
    border-color: var(--main-dark-color);
}


.delivery-box {
    width: 100%;
    background: #faf9ed;
    border-radius: 10px;
    padding: 18px 20px;
}

.delivery-header {
    position: relative;
    padding-right: 100px;
}

.deliver-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.customer-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 15px;
}

.address-text {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 10px;
    max-width: 850px;
}

.change-btn {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    outline: 0;
    background: #f83250;
    color: #fff;
    min-width: 88px;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: 0.25s ease;
}

.change-btn:hover {
    background: var(--main-color);
}

.address-list {
    display: none;
    margin-top: 22px;
}

.address-list.active {
    display: block;
}

.address-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px solid #e4e2d5;
    cursor: pointer;
}

.address-item:last-of-type {
    border-bottom: 0;
}

.radio {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #777;
    border-radius: 50%;
    margin-top: 2px;
    margin-right: 12px;
    position: relative;
}

.address-item.selected .radio {
    border-color: var(--main-color);
}

.address-item.selected .radio::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--main-color);
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.address-content {
    flex: 1;
}

.address-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.address-details {
    color: var(--txt-color);
    font-size: 13px;
    line-height: 1.5;
}

.add-address {
    display: inline-block;
    margin-top: 12px;
    color: var(--main-color);
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    background: #fff0;
}

.add-address:hover {
    color: var(--main-dark-color);
}

/****************************************** 
    Address CSS End 
******************************************/

/****************************************** 
    Pay CSS Start 
******************************************/

.pay-box {
    padding: 20px;
    background: #fff;
    display: flex;
    justify-content: flex-start;
    border-radius: 10px;
    border: 1px solid #D3D0BA;
}

.tab {
    width: 40%;
}

.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
    border: 1px solid #C4C4C4;
}

.tab button.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.tab button.active p, .tab button.active span {
    color: #fff;
}

.tabcontent {
    padding: 0px 12px;
    width: 60%;
    border-left: none;
}

.tab button p {
    font-family: 'mysecondfont-SemiBold';
}

.tab button span {
    display: block;
    font-size: 14px;
}

.qr-box {
    width: 300px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    align-items: center;
    background: linear-gradient(0deg, #FFF9C5, transparent 60%);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #C4C4C4;
}

.qr-box .heading {
    margin-bottom: 0;
}

.qr-box img {
    mix-blend-mode: darken;
}

.pay-txt {
    background: linear-gradient(0deg, #FFF9C5, transparent 60%);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #C4C4C4;
    margin-left: 20px;
}

.pay-txt .inner-para {
    margin-bottom: 0;
}

.pay-line {
    display: block;
    margin-bottom: 20px;
}

/****************************************** 
    Pay CSS End 
******************************************/

.delivery-box {
    width: 100%;
    margin: 0 auto 20px;
    padding: 15px 20px 20px;
    background: #f9f7e9;
}

.delivery-message {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #222;
    margin-bottom: 10px;
}

.delivery-message strong {
    color: var(--main-color);
    font-weight: 700;
}

.progress-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-wrapper {
    position: relative;
    flex: 1;
    height: 5px;
    background: #d2c4a8;
    border-radius: 10px;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background: var(--main-dark-color);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.amount {
    flex: 0 0 auto;
    min-width: 66px;
    text-align: right;
    /* font-size: 9px; */
    color: #777;
    white-space: nowrap;
}

.cart-card:not(:last-child) {
    margin-bottom: 20px;
}

/******************************************
    Responsive Start
******************************************/

@media (max-width: 1600px) {

    .product-price {
        font-size: 25px;
    }

    .action-btn {
        font-size: 16px;
    }

    .price-row, .place-order, .deliver-label, .address-text, .phone-number {
        font-size: 15px;
    }

    .order-total {
        font-size: 18px;
    }
    
}

@media (max-width: 1399px) {

    .action-btn {
        font-size: 14px;
    }

    .product-description {
        width: 100%;
    }

    .price-row, .place-order, .deliver-label, .address-text, .phone-number {
        font-size: 14px;
    }

}

@media (max-width: 1199px) {

    .product-info {
        padding-left: 30px;
    }

    .price-title {
        font-size: 20px;
    }

    .product-price {
        font-size: 22px;
    }

    .delivery-charge p {
        font-size: 12px;
    }

    .price-row, .place-order, .deliver-label, .address-text, .phone-number {
        font-size: 13px;
    }

    .qr-box {
        width: 250px;
    }

}

@media (max-width: 767px) {

    .product-info {
        padding-left: 20px;
    }

    .product-img {
        width: 120px;
        height: 120px;
    }

    .qty-wrapper .add-btn,
    .qty-wrapper .qty-box {
        width: 120px;
    }

    .qty-select {
        font-size: 12px;
    }

    .delivery-time p {
        margin-top: 10px;
    }

    .change-btn {
        font-size: 12px;
        padding: 5px 15px
    }

    .address-text {
        width: 100%;
    }

    .delivery-message {
        font-size: 11px;
        line-height: 16px;
        margin-bottom: 5px;
    }

    .amount {
        min-width: 45px;
    }

    .delivery-header {
        padding-right: 0;
    }

}

@media (max-width: 575px) {

    .product-img {
        width: 80px;
        height: 80px;
    }

    .qty-wrapper .add-btn,
    .qty-wrapper .qty-box {
        width: 80px;
        font-size: 11px;
    }

    .qty-select {
        font-size: 10px;
        padding: 3px 1px;
        width: 100%;
    }

    .delivery-box {
        padding: 6px 10px;
    }

    .product-main {
        padding: 8px 10px 10px;
    }

    .product-price {
        font-size: 20px;
    }

    .action-btn {
        font-size: 12px;
        padding: 8px;
    }

    .action-btn i {
        margin-right: 2px;
    }

    .suggest-product, .price-card, .order-box, .address-con {
        padding: 10px 10px;
    }

    .accordion-button {
        flex-wrap: wrap;
        border-radius: 0 !important;
    }

    .accordion-header p, .accordion-header span {
        display: block;
        width: 100%;
        color: var(--txt-color);
    }

    .accordion-button:not(.collapsed) {
        background: var(--main-color);
    }

    .accordion-button p {
        font-size: 18px;
    }

    .accordion-button span {
        font-size: 14px;
    }

    .accordion-button:not(.collapsed) p, .accordion-button:not(.collapsed) span {
        color: #fff;
    }

    .accordion-button::after {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%) !important;
    }

    .accordion-button:not(.collapsed)::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }

    .qr-box, .pay-txt {
        width: 100%;
        margin-left: 0px;
    }

    .accordion-button::after {
        background-image: url(../images/down-arrow.png);
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url(../images/down-arrow-m.png);
    }

    .accordion-button:focus {
        box-shadow: none;
    }

    .accordion-item {
        border-radius: 0 !important;
    }

}