.wcql-container * {
    font-family: 'Hind Siliguri';
    box-sizing: border-box;
}


.d-flex {
    display: flex;
    gap: 15px;
}

.jsb {
    justify-content: space-between;
}

.ac {
    align-items: center;
}

.a-fs {
    align-items: flex-start;
}

.wcql-quantity {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.wcql-variations {
    margin-bottom: 20px;
}

.wcql-variations h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.wcql-variation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.wcql-variation-item:hover {
    background: #f9f9f9;
}

.wcql-variation-item input[type="radio"] {
    margin: 0;
}

.wcql-variation-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.wcql-variation-item span {
    flex: 1;
    font-size: 16px;
}

.wcql-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.wcql-price {
    margin: 5px 0;
}

.wcql-totals {
    padding: 0 15px;
    border-radius: 5px;
    /* border: 1px solid #d6d7db; */
    background: #e3e3e3;
}

.wcql-totals p {
    padding: 15px 0 8px 0;
    border-bottom: 1px dashed #d6d7db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.wcql-totals p:last-child {
    border-bottom: none;
    padding-bottom: 15px;
}


.wcql-left,
.wcql-right {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    border-radius: 10px;
}

.wcql-left img {
    border-radius: 10px;
    margin-bottom: 10px;
}

.wcql-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.wcql-qty-btn {
    background: #444 !important;
    color: #fff !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.wcql-qty-btn:hover {
    background: #000;
}

.wcql-total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

.wcql-right h3,
.pay-method h3 {
    margin-bottom: 15px !important;
    font-size: 22px;
    font-weight: bold;
}

.wcql-right p {
    margin-bottom: 10px;
}

.wcql-right input,
.wcql-right textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
}

.wcql-right label {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.wcql-right input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

.pay-method {
    padding: 15px;
    border: 1px solid #222;
    border-radius: 5px;
    margin-bottom: 15px;
    background: rgb(238 255 217 / 1);
    margin-bottom: 20px !important;
}

.wcql-submit {
    background: #d72129 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 5px !important;
    cursor: pointer;
    width: 100%;
    font-size: 28px !important;
    font-weight: bold !important;
}

.wcql-submit:hover {
    background: #218838 !important;
}

#wcql-quantity {
    width: 40px;
    padding: 3px 8px;
    border-radius: 5px;
}

.wcql-right {
    margin: 0px 0px 50px 0px !important;
}

.pay-m-1 {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.wcql-upsale-product-item.box {
    width: auto;
}

.pay-methods {
    padding: 10px;

    border-radius: 5px;
    margin-bottom: 15px;
}


.pay-methods h3 {
    margin: 10px 0;
    font-size: 20px;
}

.pay-methods label {
    font-size: 18px;
    display: block;

}

.pay-methods label:not(:last-child) {
    border-bottom: 1px dashed #d6d7db;
    margin-bottom: 10px;
    padding-bottom: 10px;
}


@media (max-width: 768px) {
    #calculation {
        flex-direction: column;
    }

    .wcql-left,
    .wcql-right {
        padding: 0 0px;
    }

    .wcql-quantity {
        display: inline-block;
    }

    .wcql-totals {
        margin-top: 20px;
    }

    .wcql-right {
        margin: 0px 0px 0px 0px !important;
    }

    .cal-box {
        gap: 5px;
    }

    .wcql-submit {
        font-size: 20px !important
    }

}

.wcql-variation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #f4c1c1;
    padding: 20px 15px;
    margin-bottom: 25px;
    background: #ffefef;
}

.wcql-variation-item span {
    font-size: 22px;
}

.wcql-variations input[type="radio"] {
    width: 20px;
    height: 20px;
}

.wcql-variations {
    padding: 20px;
}

.wcql-variations h4 {
    margin-bottom: 10px;
    font-size: 26px;
    margin-top: 0px;
}

.pay-method label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    ;
}

.v1 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pay-method,
.wcql-totals {
    margin: 0 20px;
}

#wcql-product-summery {
    padding: 10px;
}

#wcql-product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

#wcql-variation-info {
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.wcql-quantity {
    padding: 0 10px 10px;
    justify-content: flex-end;
    gap: 10px;
    border-bottom: 1px solid #000;
    ;
}

.wcql-quantity h4 {
    font-size: 16px;
    font-weight: bold;
    padding-left: 90px;
}

@media (max-width: 600px) {
    .wcql-variations {
        padding: 0;
    }

    .v1 {
        gap: 10px;
    }

    .wcql-variation-item span {
        font-size: 16px;
        font-weight: bold;
    }

    .wcql-quantity {
        display: flex;
    }

    .wcql-quantity h4 {
        padding-left: 0px;
    }

    .variation-qty {
        width: 40px;
        padding: 3px 8px;
        border-radius: 5px;
    }

    .pay-method,
    .wcql-totals {
        margin: 0 0px;

    }

    .wcql-right input,
    .wcql-right textarea {
        width: 100%;
    }

    .wcql-right label {
        font-size: 16px;
    }

}

#selected-variations {
    padding: 10px !important;
}


.column-origin {
    display: none;
}

.box {
    padding: 15px;
    border: 1px solid #ddd;
    width: 50%;
    gap: 20px;
    border-radius: 10px;
}

.wcql-upsell-section,
.wcql-products {
    padding: 0px 20px 0px;
}

.product-main-image {
    border-radius: 10px;
    width: 100px;
}

.variation-radio {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: bold;
}

del {
    color: red;
}

.product-info {
    font-size: 18px;
}

/* New variation box styles */
.variation-box {
    border-bottom: 2px dashed #c2c2c2;
    padding: 5px;
    margin-bottom: 5px;
    transition: border-color 0.3s ease;
}

.variation-box:hover {
    border-color: #007cba;
}

.variation-row-1 {
    display: flex;
    align-items: center;
    gap: 15px;

}

/* .selected .variation-row-1 {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dbdbdb3d;
} */

.variation-row-1:last-child {
    margin-bottom: 0;
}

.variation-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #ddd;
}

.variation-info {
    flex: 1;
}

.variation-info h4 {
    margin: 0 0 0px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.variation-info p {
    margin: 0 0 0px 0;
    color: #666;
    font-size: 14px;
}

.variation-price {
    font-size: 16px;
    font-weight: bold;
    color: #d72129;
}

.variation-price del {
    color: #999;
    font-weight: normal;
}

.variation-row-2 {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    display: none;
}

.selected .variation-row-2 {
    display: flex;
}

.size-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    background: #f0f0f0;
    border: 1px solid blue;
    padding: 2px 10px !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: bold;
    text-align: center;
    transition: all 0.2s ease;
}

.size-btn:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.size-btn.selected {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.variation-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    padding-bottom: 15px;
    display: none;
}

.selected .variation-row-3{
    display: flex;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls label {
    font-weight: bold;
    color: #333;
    margin: 0;
}

.qty-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-input-group input {
    width: 50px !important;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    font-weight: bold;
    height: 30px;
    background: #fff;
    box-shadow: none !important;
    border: 1px solid #000 !important;
}

.total-price {
    font-size: 18px;
    font-weight: bold;
    color: #d72129;
}

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

.wcql-upsale-container {
    padding: 20px;
}


.wcql-upsale-container h3 {
    margin: 0;
    margin-bottom: 5px;
}

.cal-box .left,
.cal-box .right {
    width: 50%;
}

.variation-checkbox {
    display: block;
    ;
}

.wcql-upsell-product-item {
    padding: 30px;
    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;

    background: #c9f7a314;
}

.up-s {
    gap: 50px;
}

.up-s img {
    width: 120px;
    height: auto;
    border-radius: 10px;
}

.description .d-flex {
    gap: 20px;
    align-items: flex-start;
}

.description h2 {
    font-size: 22px;
    font-weight: bold;
    color: #1808f5;
}

.description h3 {
    font-size: 18px;
    font-weight: bold;
}

.description p {
    font-size: 18px;
}

.description p {
    font-size: 18px;
    line-height: 30px;
}

.wcql-submit {
    margin: 0px 10%;
    font-size: 18px;
    width: 80%;
}

.upsell-variation-option {
    display: block;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border: 1px dashed #888;
    font-size: 20px;
}

.no-space {
    margin: 0px 15px !important;
    padding: 0 !important;
}

.wcql-right {
    padding-top: 0;
}

.wcql-right h3 {
    margin-top: 0;
}

.no-space h3 {
    font-size: 22px;
    background: #222;
    padding: 10px;
    color: #fff;
    margin: 0 0 15px;
}

.only-mobile {
    display: none;
}

@media (max-width: 600px) {
    .box {
        width: 100%;
    }

    .up-s {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .up-s img {
        width: 100px;
        height: auto;
    }


}

/* Variation box selected state */
.variation-box.selected {
    background-color: #aee1ae !important;
    border-color: #28a745 !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

/* Upsell product selected state */
.wcql-upsell-product-item.selected {
    background: #c9f7a314 !important;
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4);
}

/* Notification styles */
.wcql-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
}

.wcql-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.wcql-notification-success {
    background-color: #28a745;
    border-left: 5px solid #1e7e34;
}

.wcql-notification-info {
    background-color: #17a2b8;
    border-left: 5px solid #138496;
}

@media (max-width: 900px) {

    .wcql-products,
    .product-header,
    .cal-box {
        flex-direction: column;
        align-items: center;
    }

    .product-variations h3 {
        text-align: center;
    }

    .cal-box .left,
    .cal-box .right {
        width: 100%;
    }

    .wcql-upsell-section,
    .wcql-products {
        padding: 0;
        margin-bottom: 0px;
    }

    .only-mobile {
        display: block;
    }

    .only-desktop {
        display: none;
    }

    .wcql-qty-btn {
        background: #444 !important;
        color: #fff !important;
        border: none !important;
        width: 25px !important;
        height: 30px !important;
        font-size: 18px !important;
        border-radius: 5px;
        cursor: pointer !important;
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        padding: 0;
    }

    .qty-input-group input {
        width: 30px !important;
        text-align: center;
        padding: 5px;
        border-radius: 4px;
        font-weight: bold;
        height: 30px;
        background: #fff;
        box-shadow: none !important;
        border: 1px solid #000 !important;
        padding: 0px 2px !important;
    }

    .size-btn {
        background: #f0f0f0;
        border: 1px solid blue;
        padding: 2px 10px !important;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px !important;
        font-weight: bold;
        text-align: center;
    }
    .size-buttons{gap: 5px;}
}


.pay-methods label {
    display: flex;
    gap: 20px;
    align-items: center;
}