body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

.checkout-container {
    display: flex;
    margin: auto;
    background: white;
}

.checkout-left {
    width: 70%;
    padding: 40px;
}

.checkout-right {
    background: #f2f2f2;
    padding: 20px;
    margin-block: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.form-group.full {
    width: 100%;
}

.note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.item-image {
    height: 100px;
    width: 100px;
}

.checkout-right {
    width: 40% !important;
}

.next-btn {
    background: #120e0a;
    color: white;
    border: none;
    padding: 14px 40px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 0;
}


.var_id {
    display: none !important;
}


/* RIGHT SIDE */

.cart-item {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cart-item img {
    width: 60px;
}

.product-name {
    font-weight: 700;
}

.summary {
    margin-top: 30px;
}

.summary .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary .total {
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
}


/* LEFT SIDE */
.checkout-left {
    flex: 1;
}

/* ORDER TITLE */
.checkout-right h3,
h2.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-family: 'mundial-light', sans-serif;
}

/* PRODUCT ITEM */
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* PRODUCT IMAGE */
.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    /* object-fit: cover; */
    border: 1px solid #e8e8e8;
}

/* PRODUCT INFO */
.item-info {
    flex: 1;
}



.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.item-info p {
    margin: 0;
    font-size: 14px;
}

/* SUMMARY BOX */
.summary {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    margin-bottom: 25px;
}

/* ROW */
.summary .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

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

/* TOTAL ROW */
.summary .total {
    font-weight: 700;
    font-size: 16px;
}

/* PAYMENT BOX */
.payment-box {
    margin-top: 20px;
}

.payment-box h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* STRIPE CARD */
#card-element {
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 8px;
    background: white;
    margin-bottom: 15px;
}

/* ERROR */
#card-errors {
    color: red;
    font-size: 13px;
    margin-bottom: 10px;
}

/* PAY BUTTON */
.pay-btn {
    width: 100%;
    background: black;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.pay-btn:hover {
    background: #333;
}

.cart-item .item-info {
    /* display: grid; */
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding-left: 20px;
}

.checkout-right .cart-item .item-info {
    display: grid;
}

/* ITEM CARD */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* IMAGE */
.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
}

/* RIGHT CONTENT */
.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* PRODUCT NAME */
.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

/* TEXT STYLE */
.item-info p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* LABEL STYLE */
.item-info p strong {
    color: #222;
}

/* PRICE HIGHLIGHT */

/* VIEW BUTTON (Prescription / Voucher) */
.item-info a {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    font-size: 12px;
    background: #d2b48c;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease;
}

.item-info a:hover {
    background: #c19a6b;
}

/* VARIANT ID (optional styling) */
.var_id {
    font-size: 11px;
    color: #999;
    word-break: break-all;
}

/* ATTRIBUTES (Frame color etc.) */
.cart-item .item-info p.product-name,
.cart-item .item-info p:nth-child(4) {
    grid-column: 1/-1;
}

.cart-item {
    border-bottom: 1px dashed #ccc;
    margin-bottom: 0;
    padding: 0 0 20px 0;
}

.cart-item:last-child {
    border-bottom: none;
    padding: 0 0 0px 0;
}

.cart-item .item-info a {
    background-color: #d8c8b4;
    text-decoration: none;
    padding: 0px 12px;
    display: inline-block;
    font-size: 11px;
    line-height: 21px;
    color: #000;
    border-radius: 4px;
    margin-left: 10px;
}

.cart-item .item-info p {
    font-size: 12px;
    font-family: 'mundial-light', sans-serif;
}

.cart-item .item-info p b {
    color: #000;
}

.cart-item .item-info p.product-name {
    font-size: 17px;
    font-family: 'mundial-light';
    color: #000;
}


.form-grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 fields per row */
    gap: 15px;
}

/* Full width fields */
.form-group.full {
    grid-column: span 2;
}

/* Inputs styling (optional but recommended) */
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.checkout-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 90%;
    margin: auto;
}

.checkout-left {
    width: 60%;
}

.checkout-right {
    width: 40%;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.form-grid-row .form-group {
    margin: 0;
}

.checkout-left #pay-btn {
    margin-top: 30px;
}

.checkout-left form .form-group input,
.checkout-left form .form-group select {
    height: 46px;
}

.checkout-right .summary {
    width: 100%;
    font-family: 'mundial-light', sans-serif;
    position: relative;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-right .summary::before,
.checkout-right .summary::after {
    position: absolute;
    content: "";
    background-color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    top: -100%;
    bottom: 0;
    margin: auto 0;
}

.checkout-right .summary::before {
    left: -30px;
}

.checkout-right .summary::after {
    right: -30px;
}
.payment-lens-addons{
    margin-top:15px;
    background:#f8f9fa;
    padding:12px;
    border-radius:8px;
}

.payment-lens-addons h6{
    font-weight:600;
    margin-bottom:10px;
}

.payment-addon-row{
    display:flex;
    justify-content:space-between;
    font-size:14px;
    margin-bottom:6px;
}

.payment-addon-row span:last-child{
    color:#28a745;
    font-weight:600;
}
/* RESPONSIVE */
@media(max-width:900px) {

    .checkout-container {
        flex-direction: column;
    }

    .checkout-right {
        width: 100%;
    }

}

/* RESPONSIVE */

@media(max-width:900px) {

    .checkout-container {
        flex-direction: column;
    }

    .checkout-left {
        width: 100%;
    }

    .checkout-right {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

}