/*
 * customCss-checkout.css - shopping cart + one-page checkout
 * Loaded on Cart / Wishlist / OnePageCheckout.
 * Sections: [10b], [10d]/[10e]/[10f], [10g]
 */

/* OPC — vienas pagrindinis svetainės šriftas visame checkout'e */
.checkout-page.spc,
.checkout-page.spc *,
.html-checkout-page.spc,
.html-checkout-page .spc,
.spc.checkout-page,
.spc .order-summary-content,
.spc .opc,
.spc .checkout-data {
    font-family: var(--jupoja-font-family, "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif);
}

.checkout-page.spc input,
.checkout-page.spc select,
.checkout-page.spc textarea,
.checkout-page.spc button,
.spc input,
.spc select,
.spc textarea,
.spc button,
.spc .button-1,
.spc .button-2,
.spc label,
.spc .title,
.spc .step-title,
.spc .step-title .title,
.spc .cart th,
.spc .cart td,
.spc .cart a,
.spc .totals,
.spc .coupon-box,
.spc .checkout-attributes {
    font-family: var(--jupoja-font-family, "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif) !important;
}

/* Ikonų fontai lieka icomoon */
.spc [class^="icon-"],
.spc [class*=" icon-"],
.spc .icon,
.spc .qty-button::before,
.spc .remove-btn::before {
    font-family: "icomoon" !important;
}

/* [10b] Krepšelio puslapis — kiekio valdiklis ir pašalinimo mygtukas           */
/* -------------------------------------------------------------------------- */
.html-shopping-cart-page .order-summary-content .cart td.remove-from-cart,
.html-wishlist-page .wishlist-content .cart td.remove-from-cart {
    vertical-align: middle;
}

.html-shopping-cart-page .order-summary-content .cart td.remove-from-cart input[type="checkbox"],
.html-wishlist-page .wishlist-content .cart td.remove-from-cart input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.html-shopping-cart-page .order-summary-content .cart td.remove-from-cart .remove-btn,
.html-wishlist-page .wishlist-content .cart td.remove-from-cart .remove-btn,
.order-summary-content .cart td.remove-from-cart .remove-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    padding: 0;
    border: none !important;
    border-radius: 4px;
    background: rgba(227, 30, 36, 0.08) !important;
    color: var(--jupoja-red) !important;
    font-size: 0 !important;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.html-shopping-cart-page .order-summary-content .cart td.remove-from-cart .remove-btn::before,
.html-wishlist-page .wishlist-content .cart td.remove-from-cart .remove-btn::before,
.order-summary-content .cart td.remove-from-cart .remove-btn::before {
    content: "×" !important;
    font-family: "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: var(--jupoja-fw-bold, 700) !important;
    font-style: normal !important;
    line-height: 1 !important;
    color: inherit !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

.html-shopping-cart-page .order-summary-content .cart td.remove-from-cart .remove-btn:hover,
.html-shopping-cart-page .order-summary-content .cart td.remove-from-cart .remove-btn:focus,
.html-wishlist-page .wishlist-content .cart td.remove-from-cart .remove-btn:hover,
.html-wishlist-page .wishlist-content .cart td.remove-from-cart .remove-btn:focus,
.order-summary-content .cart td.remove-from-cart .remove-btn:hover,
.order-summary-content .cart td.remove-from-cart .remove-btn:focus {
    color: var(--jupoja-red) !important;
    background: rgba(227, 30, 36, 0.16) !important;
}

.html-shopping-cart-page .order-summary-content .cart .product-quantity,
.html-wishlist-page .wishlist-content .cart .product-quantity {
    display: inline-block;
}

/* Kiekio langelis — tas pats stilius kaip header mini-krepšelyje */
.html-shopping-cart-page .order-summary-content .cart .cart-quantity,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity,
.html-wishlist-page .wishlist-content .cart .cart-quantity,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity,
.spc .cart .cart-quantity,
.spc .cart .qty-wrapper.cart-quantity,
.checkout-page .cart .cart-quantity,
.order-summary-content .cart .cart-quantity {
    position: relative !important;
    display: inline-flex !important;
    align-items: stretch;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    overflow: hidden !important;
    vertical-align: middle;
    box-shadow: none !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity input.qty-input,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity input.qty-input,
.html-wishlist-page .wishlist-content .cart .cart-quantity input.qty-input,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity input.qty-input,
.spc .cart .cart-quantity input.qty-input,
.spc .cart .cart-quantity input,
.checkout-page .cart .cart-quantity input.qty-input,
.order-summary-content .cart .cart-quantity input.qty-input {
    display: block !important;
    width: 44px !important;
    max-width: 44px !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 4px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 14px !important;
    font-weight: var(--jupoja-fw-medium, 500) !important;
    line-height: 34px !important;
    text-align: center !important;
    outline: none;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity input.qty-input:focus,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity input.qty-input:focus,
.html-wishlist-page .wishlist-content .cart .cart-quantity input.qty-input:focus,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity input.qty-input:focus,
.spc .cart .cart-quantity input:focus,
.checkout-page .cart .cart-quantity input.qty-input:focus {
    outline: none;
    box-shadow: none !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button,
.spc .cart .cart-quantity .qty-button,
.checkout-page .cart .cart-quantity .qty-button,
.order-summary-content .cart .cart-quantity .qty-button {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 26px !important;
    min-width: 26px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-left: 1px solid #e8ecf1 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.15s ease;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button .icon,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button .icon,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button .icon,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button .icon,
.spc .cart .cart-quantity .qty-button .icon,
.checkout-page .cart .cart-quantity .qty-button .icon {
    display: none !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button::before,
.spc .cart .cart-quantity .qty-button::before,
.checkout-page .cart .cart-quantity .qty-button::before,
.order-summary-content .cart .cart-quantity .qty-button::before {
    font-family: "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: var(--jupoja-fw-medium, 500) !important;
    line-height: 1 !important;
    color: inherit !important;
    pointer-events: none;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.increment::before,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.btn-increase::before,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.increament::before,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.plus::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.increment::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.btn-increase::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.increament::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.increment::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-increase::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.increament::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.increment::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.btn-increase::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.increament::before,
.spc .cart .cart-quantity .qty-button.increament::before,
.spc .cart .cart-quantity .qty-button.increment::before,
.spc .cart .cart-quantity .qty-button.plus::before,
.checkout-page .cart .cart-quantity .qty-button.increament::before,
.checkout-page .cart .cart-quantity .qty-button.increment::before {
    content: "+" !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.decrement::before,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.btn-decrease::before,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.minus::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.decrement::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.btn-decrease::before,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.minus::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.decrement::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-decrease::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.minus::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.decrement::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.btn-decrease::before,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.minus::before,
.spc .cart .cart-quantity .qty-button.decrement::before,
.spc .cart .cart-quantity .qty-button.minus::before,
.checkout-page .cart .cart-quantity .qty-button.decrement::before,
.checkout-page .cart .cart-quantity .qty-button.minus::before {
    content: "−" !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.increment,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.btn-increase,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.increament,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.plus,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.increment,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.btn-increase,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.increament,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.increment,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-increase,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.increament,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.increment,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.btn-increase,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.increament,
.spc .cart .cart-quantity .qty-button.increament,
.spc .cart .cart-quantity .qty-button.increment,
.spc .cart .cart-quantity .qty-button.plus,
.checkout-page .cart .cart-quantity .qty-button.increament,
.checkout-page .cart .cart-quantity .qty-button.increment {
    top: 0 !important;
    bottom: auto !important;
    border-bottom: 1px solid #cfd6de !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.decrement,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.btn-decrease,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.minus,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.decrement,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.btn-decrease,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button.minus,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.decrement,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-decrease,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.minus,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.decrement,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.btn-decrease,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button.minus,
.spc .cart .cart-quantity .qty-button.decrement,
.spc .cart .cart-quantity .qty-button.minus,
.checkout-page .cart .cart-quantity .qty-button.decrement,
.checkout-page .cart .cart-quantity .qty-button.minus {
    top: auto !important;
    bottom: 0 !important;
    border-top: 0 !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button:hover,
.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button:focus,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button:hover,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button:focus,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button:hover,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button:focus,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button:hover,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button:focus,
.spc .cart .cart-quantity .qty-button:hover,
.spc .cart .cart-quantity .qty-button:focus,
.checkout-page .cart .cart-quantity .qty-button:hover,
.checkout-page .cart .cart-quantity .qty-button:focus {
    background: #eef2f7 !important;
    color: var(--jupoja-dark, #434242) !important;
}

.html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button:active,
.html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button:active,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button:active,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button:active,
.spc .cart .cart-quantity .qty-button:active,
.checkout-page .cart .cart-quantity .qty-button:active {
    background: #e2e8f0 !important;
}

@media (max-width: 991px) {
    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button,
    .html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button,
    .html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button,
    .html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity .qty-button,
    .spc .cart .cart-quantity .qty-button,
    .checkout-page .cart .cart-quantity .qty-button {
        display: flex !important;
    }
}

/* -------------------------------------------------------------------------- */

/* [10c] OPC checkout — sekcijų antraščių geltonas fonas */
.checkout-page.spc .opc .step-title,
.checkout-page.spc .checkout-data .step-title,
.spc .opc .step-title {
    background: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
    border: 0;
}

.checkout-page.spc .opc .step-title .title,
.checkout-page.spc .opc .step-title h2,
.checkout-page.spc .opc .step-title h3,
.checkout-page.spc .checkout-data .step-title .title,
.checkout-page.spc .checkout-data .step-title h2,
.checkout-page.spc .checkout-data .step-title h3,
.spc .opc .step-title .title,
.spc .step-title .title {
    background: none !important;
    color: inherit !important;
    font-weight: 300 !important;
}

.checkout-page.spc .opc .step-title .number,
.spc .opc .step-title .number {
    color: inherit !important;
}

/* [10d] OPC checkout — payment method tabs (jupoja theme) */
.spc .opc .section.payment-method .method-list {
    gap: 12px;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary,
.spc .opc .section.payment-method .method-list > li.payment-method-group--banks,
.spc .opc .section.payment-method .method-list > li.payment-method-group--wallets {
    padding: 0 !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    background: var(--jupoja-white, #fff) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
    max-width: none !important;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary {
    padding: 16px 18px 16px 40px !important;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary:has(input[name="paymentmethod"]:checked),
.spc .opc .section.payment-method .method-list > li.payment-method-group--banks.is-active:not(.is-expanded),
.spc .opc .section.payment-method .method-list > li.payment-method-group--wallets.is-active:not(.is-expanded) {
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    background: var(--jupoja-white, #fff) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name,
.spc .opc .section.payment-method .payment-method-group__header .method-name {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name .payment-logo,
.spc .opc .section.payment-method .payment-method-group__header .method-name .payment-logo {
    flex: 0 0 56px !important;
    max-width: 56px !important;
    min-width: 56px !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
    background: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name .payment-logo img,
.spc .opc .section.payment-method .payment-method-group__header .method-name .payment-logo img {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: contain;
    object-position: center center;
}

.spc .opc .section.payment-method .method-list > li .payment-details {
    flex: 1 1 auto;
    min-width: 0;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .payment-details > label,
.spc .opc .section.payment-method .payment-method-group__title {
    display: block;
    font-family: inherit;
    font-weight: var(--jupoja-fw-bold, 700);
    font-size: var(--jupoja-fs-body, 16px);
    line-height: 1.35;
    color: var(--jupoja-dark, #434242);
    letter-spacing: 0;
    margin: 0;
    text-align: left;
}

.spc .opc .section.payment-method .method-list > li .payment-description {
    margin-top: 6px;
    font-size: var(--jupoja-fs-helper, 14px);
    line-height: 1.5;
    font-weight: 400;
    color: var(--jupoja-gray-dark, #5B5B5B);
    text-align: left;
}

/* Mokėjimo aprašymo „Sužinokite daugiau“ — subtilus ribbon stilius */
.spc .opc .section.payment-method .payment-description .opc-payment-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 12px 6px 14px;
    border: 1px solid rgba(252, 223, 0, 0.55);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(252, 223, 0, 0.16) 0%, rgba(252, 223, 0, 0.08) 100%);
    color: var(--jupoja-dark, #434242);
    font-family: inherit;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.spc .opc .section.payment-method .payment-description .opc-payment-learn-more::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--jupoja-yellow, #FCDF00);
}

.spc .opc .section.payment-method .payment-description .opc-payment-learn-more::after {
    content: "→";
    font-size: 12px;
    line-height: 1;
    opacity: 0.75;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.spc .opc .section.payment-method .payment-description .opc-payment-learn-more:hover,
.spc .opc .section.payment-method .payment-description .opc-payment-learn-more:focus {
    color: var(--jupoja-dark, #434242);
    text-decoration: none;
    border-color: var(--jupoja-yellow, #FCDF00);
    background: rgba(252, 223, 0, 0.22);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.spc .opc .section.payment-method .payment-description .opc-payment-learn-more:hover::after,
.spc .opc .section.payment-method .payment-description .opc-payment-learn-more:focus::after {
    opacity: 1;
    transform: translateX(2px);
}

.spc .opc .section.payment-method .payment-description .opc-payment-learn-more:focus {
    outline: 2px solid rgba(252, 223, 0, 0.55);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .spc .opc .section.payment-method .payment-description .opc-payment-learn-more {
        margin-top: 8px;
        padding: 5px 10px 5px 12px;
        font-size: 12px;
    }
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .payment-details > label::before {
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

.spc .opc .section.payment-method .payment-logo label::before {
    display: none !important;
    content: none !important;
}

.spc .payment-method .payment-logo {
    max-width: 56px !important;
}

/* [10e] OPC checkout — bank + wallet payment groups (collapsed by default) */
.spc .opc .section.payment-method .method-list > li.payment-method-group--banks,
.spc .opc .section.payment-method .method-list > li.payment-method-group--wallets {
    padding: 0 !important;
    overflow: hidden;
}

.spc .opc .section.payment-method .payment-method-group__header {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 16px 18px 16px 40px !important;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    position: relative;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
}

.spc .opc .section.payment-method .payment-method-group__body {
    padding: 0 14px 14px;
    border-top: 1px solid #ececec;
    box-sizing: border-box;
}

.spc .opc .section.payment-method .payment-method-banks-list,
.spc .opc .section.payment-method .payment-method-wallets-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.spc .opc .section.payment-method .method-list .payment-method-banks-list > li,
.spc .opc .section.payment-method .method-list .payment-method-wallets-list > li {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0;
    min-height: auto;
    padding: 14px 16px !important;
    background: var(--jupoja-white, #fff) !important;
    box-shadow: none !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.spc .opc .section.payment-method .payment-method-banks-list > li:has(input[name="paymentmethod"]:checked),
.spc .opc .section.payment-method .payment-method-wallets-list > li:has(input[name="paymentmethod"]:checked) {
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    background: var(--jupoja-white, #fff) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .method-name,
.spc .opc .section.payment-method .payment-method-wallets-list > li .method-name {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    width: 100%;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .method-name .payment-logo,
.spc .opc .section.payment-method .payment-method-wallets-list > li .method-name .payment-logo {
    flex: 0 0 88px !important;
    max-width: 88px !important;
    min-width: 88px !important;
    width: 88px !important;
    height: 44px !important;
    margin: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .method-name .payment-logo img,
.spc .opc .section.payment-method .payment-method-wallets-list > li .method-name .payment-logo img {
    display: block !important;
    width: auto !important;
    height: 40px !important;
    max-width: 88px !important;
    max-height: 40px !important;
    object-fit: contain;
    object-position: center center;
}

/* Swedbank — oficialus PNG; dydis, kad varnelė sutaptų su kitais bankais */
.spc .opc .section.payment-method .payment-method-banks-list > li .method-name .payment-logo:has(img[src*="swedbank"]) {
    flex: 0 0 88px !important;
    max-width: 88px !important;
    min-width: 88px !important;
    width: 88px !important;
    height: 40px !important;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .method-name .payment-logo img[src*="swedbank"] {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 88px !important;
    width: auto !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Apple Pay vizualiai „sunkesnis“ — šiek tiek mažesnis už Google Pay */
.spc .opc .section.payment-method .payment-method-wallets-list > li .method-name .payment-logo img[src*="apple-pay"] {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 78px !important;
}

/* Varnelė + tekstas: logo | checkbox | pavadinimas */
.spc .opc .section.payment-method .payment-method-banks-list > li .payment-details,
.spc .opc .section.payment-method .payment-method-wallets-list > li .payment-details {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 30px !important;
    box-sizing: border-box;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .payment-details > input[type="radio"],
.spc .opc .section.payment-method .payment-method-wallets-list > li .payment-details > input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    pointer-events: none;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .payment-details > label,
.spc .opc .section.payment-method .payment-method-wallets-list > li .payment-details > label {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.35;
    text-align: left;
}

.spc .opc .section.payment-method .payment-method-banks-list > li .payment-details > label::before,
.spc .opc .section.payment-method .payment-method-wallets-list > li .payment-details > label::before,
.spc .opc .section.payment-method .payment-method-banks-list > li .payment-details input[type="radio"] + label::before,
.spc .opc .section.payment-method .payment-method-wallets-list > li .payment-details input[type="radio"] + label::before {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

@media (min-width: 992px) {
    .spc .opc .section.payment-method .method-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .spc .opc .section.payment-method .method-list > li.payment-method-item--primary,
    .spc .opc .section.payment-method .method-list > li.payment-method-group--banks:not(.is-expanded),
    .spc .opc .section.payment-method .method-list > li.payment-method-group--wallets:not(.is-expanded) {
        width: auto !important;
        max-width: none !important;
    }

    /* Collapsed groups — half width in 2-column grid */
    .spc .opc .section.payment-method .method-list > li.payment-method-group--banks:not(.is-expanded),
    .spc .opc .section.payment-method .method-list > li.payment-method-group--wallets:not(.is-expanded) {
        grid-column: auto;
        width: auto !important;
    }

    /* Expanded — full width for sub-lists */
    .spc .opc .section.payment-method .method-list > li.payment-method-group--banks.is-expanded,
    .spc .opc .section.payment-method .method-list > li.payment-method-group--wallets.is-expanded {
        grid-column: 1 / -1;
        width: 100% !important;
        max-width: none !important;
        border-color: var(--jupoja-yellow, #FCDF00) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }

    .spc .opc .section.payment-method .method-list > li.payment-method-group--banks.is-expanded .payment-method-group__header,
    .spc .opc .section.payment-method .method-list > li.payment-method-group--wallets.is-expanded .payment-method-group__header {
        padding-bottom: 14px;
    }

    .spc .opc .section.payment-method .method-list .payment-method-banks-list > li,
    .spc .opc .section.payment-method .method-list .payment-method-wallets-list > li {
        width: calc(50% - 5px) !important;
    }
}

@media (max-width: 991px) {
    .spc .opc .section.payment-method .method-list > li.payment-method-item--primary {
        padding: 14px 16px 14px 38px !important;
    }

    .spc .opc .section.payment-method .payment-method-group__header {
        padding: 14px 16px 14px 38px !important;
    }

    .spc .opc .section.payment-method .method-list > li.payment-method-group--banks,
    .spc .opc .section.payment-method .method-list > li.payment-method-group--wallets {
        width: 100% !important;
    }
}

/* [10f] OPC checkout — square checkbox-style selectors (payment) */
.spc .opc .section.payment-method .payment-details input[type="radio"] + label::before {
    border-radius: 3px !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #c6ccd0 !important;
    background: var(--jupoja-white, #fff) !important;
    box-shadow: none !important;
    color: var(--jupoja-dark, #434242);
    font-family: "icomoon" !important;
    font-size: 10px !important;
    line-height: 16px !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.spc .opc .section.payment-method .payment-details input[type="radio"]:checked + label::before {
    content: "\e967" !important;
    background: var(--jupoja-yellow, #FCDF00) !important;
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
    box-shadow: none !important;
}

.spc .opc .section.payment-method .payment-method-group__header::before {
    content: "" !important;
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    box-sizing: border-box;
    border-radius: 3px !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #c6ccd0 !important;
    background: var(--jupoja-white, #fff) !important;
    box-shadow: none !important;
    color: var(--jupoja-dark, #434242);
    font-family: "icomoon" !important;
    font-size: 10px !important;
    line-height: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.spc .opc .section.payment-method .payment-method-group--banks.is-active .payment-method-group__header::before,
.spc .opc .section.payment-method .payment-method-group--wallets.is-active .payment-method-group__header::before {
    content: "\e967" !important;
    background: var(--jupoja-yellow, #FCDF00) !important;
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
    box-shadow: none !important;
}

/* Shipping method name under "Pristatymas:" (cart + OPC totals) */
.totals .cart-total tr.shipping-cost .cart-total-left,
.totals .cart-total tr.shipping-cost .cart-total-right,
.spc .totals .cart-total tr.shipping-cost .cart-total-left,
.spc .totals .cart-total tr.shipping-cost .cart-total-right {
    vertical-align: top;
}

.totals .cart-total tr.shipping-cost .selected-shipping-method,
.spc .totals .cart-total tr.shipping-cost .selected-shipping-method {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    opacity: 0.9;
}

/* OPC / krepšelio suvestinė — taras virš „Viso“ (desktop) */
@media (min-width: 992px) {
    .spc .checkout-totals .totals .cart-total tr.order-total td,
    .spc .totals .cart-total tr.order-total td,
    .checkout-page.spc .totals .cart-total tr.order-total td {
        padding-top: 16px !important;
    }

    /* Tarpinė suma + Viso — paryškinti užrašai ir sumos (desktop) */
    .spc .checkout-totals .totals .cart-total tr.order-subtotal .cart-total-left label,
    .spc .checkout-totals .totals .cart-total tr.order-subtotal .value-summary,
    .spc .totals .cart-total tr.order-subtotal .cart-total-left label,
    .spc .totals .cart-total tr.order-subtotal .value-summary,
    .checkout-page.spc .totals .cart-total tr.order-subtotal .cart-total-left label,
    .checkout-page.spc .totals .cart-total tr.order-subtotal .value-summary {
        font-weight: 700 !important;
    }

    .spc .checkout-totals .totals .cart-total tr.order-total .cart-total-left label,
    .spc .checkout-totals .totals .cart-total tr.order-total .value-summary,
    .spc .checkout-totals .totals .cart-total tr.order-total .value-summary strong,
    .spc .totals .cart-total tr.order-total .cart-total-left label,
    .spc .totals .cart-total tr.order-total .value-summary,
    .spc .totals .cart-total tr.order-total .value-summary strong,
    .checkout-page.spc .totals .cart-total tr.order-total .cart-total-left label,
    .checkout-page.spc .totals .cart-total tr.order-total .value-summary,
    .checkout-page.spc .totals .cart-total tr.order-total .value-summary strong {
        font-weight: 700 !important;
    }

    /* OPC checkout — prekių lentelė: švelnios linijos kaip kitur checkout'e */
    .html-checkout-page .order-summary-content .table-wrapper,
    .checkout-page .order-summary-content .table-wrapper,
    .spc .order-summary-content .table-wrapper,
    .spc #shopping-cart-items .table-wrapper {
        max-width: 100%;
        overflow: hidden;
        border: 1px solid #e8ecf1;
        border-radius: 4px;
        background: #fff;
    }

    .html-checkout-page .order-summary-content .cart,
    .checkout-page .order-summary-content .cart,
    .spc .order-summary-content .cart {
        width: 100%;
        max-width: 100%;
        table-layout: auto;
        border-collapse: collapse;
        box-shadow: none !important;
        margin-bottom: 0;
        font-family: inherit;
        font-size: var(--jupoja-fs-helper, 14px);
        color: var(--jupoja-dark, #434242);
    }

    .html-checkout-page .order-summary-content .cart thead tr,
    .html-checkout-page .order-summary-content .cart tbody tr,
    .checkout-page .order-summary-content .cart thead tr,
    .checkout-page .order-summary-content .cart tbody tr,
    .spc .order-summary-content .cart thead tr,
    .spc .order-summary-content .cart tbody tr {
        box-shadow: none !important;
    }

    .html-checkout-page .order-summary-content .cart th,
    .html-checkout-page .order-summary-content .cart td,
    .checkout-page .order-summary-content .cart th,
    .checkout-page .order-summary-content .cart td,
    .spc .order-summary-content .cart th,
    .spc .order-summary-content .cart td {
        padding: 12px 10px !important;
        box-sizing: border-box;
        vertical-align: middle;
        border: 0 !important;
        border-bottom: 1px solid #e8ecf1 !important;
        font-family: inherit !important;
        font-size: inherit;
        line-height: 1.45;
        color: var(--jupoja-dark, #434242);
        background: transparent;
    }

    .html-checkout-page .order-summary-content .cart tbody tr:last-child td,
    .checkout-page .order-summary-content .cart tbody tr:last-child td,
    .spc .order-summary-content .cart tbody tr:last-child td {
        border-bottom: 0 !important;
    }

    .html-checkout-page .order-summary-content .cart th,
    .checkout-page .order-summary-content .cart th,
    .spc .order-summary-content .cart th {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        hyphens: manual;
        background: #f7f8fa !important;
        color: var(--jupoja-dark, #434242) !important;
        border-bottom: 1px solid #e8ecf1 !important;
    }

    /* Nuotrauka — pakankamai plati antraštei ir miniatiūrai */
    .html-checkout-page .order-summary-content .cart th.product-picture,
    .html-checkout-page .order-summary-content .cart td.product-picture,
    .checkout-page .order-summary-content .cart th.product-picture,
    .checkout-page .order-summary-content .cart td.product-picture,
    .spc .order-summary-content .cart th.product-picture,
    .spc .order-summary-content .cart td.product-picture {
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        padding-left: 8px !important;
        padding-right: 8px !important;
        text-align: center !important;
    }

    .html-checkout-page .order-summary-content .cart th.product-picture,
    .checkout-page .order-summary-content .cart th.product-picture,
    .spc .order-summary-content .cart th.product-picture {
        white-space: nowrap;
        word-break: normal;
        hyphens: none;
    }

    .html-checkout-page .order-summary-content .cart td.product-picture img,
    .checkout-page .order-summary-content .cart td.product-picture img,
    .spc .order-summary-content .cart td.product-picture img {
        width: 64px;
        max-width: 64px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .html-checkout-page .order-summary-content .cart th.quantity,
    .html-checkout-page .order-summary-content .cart td.quantity,
    .checkout-page .order-summary-content .cart th.quantity,
    .checkout-page .order-summary-content .cart td.quantity,
    .spc .order-summary-content .cart th.quantity,
    .spc .order-summary-content .cart td.quantity {
        width: 1%;
        min-width: 88px;
        white-space: nowrap;
        text-align: center !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .html-checkout-page .order-summary-content .cart th.subtotal,
    .html-checkout-page .order-summary-content .cart td.subtotal,
    .checkout-page .order-summary-content .cart th.subtotal,
    .checkout-page .order-summary-content .cart td.subtotal,
    .spc .order-summary-content .cart th.subtotal,
    .spc .order-summary-content .cart td.subtotal {
        width: 1%;
        min-width: 84px;
        white-space: nowrap;
        text-align: right !important;
        padding-left: 10px !important;
        padding-right: 8px !important;
    }

    .html-checkout-page .order-summary-content .cart th.subtotal,
    .checkout-page .order-summary-content .cart th.subtotal,
    .spc .order-summary-content .cart th.subtotal {
        white-space: nowrap;
        hyphens: none;
    }

    .html-checkout-page .order-summary-content .cart th.remove-from-cart,
    .html-checkout-page .order-summary-content .cart td.remove-from-cart,
    .checkout-page .order-summary-content .cart th.remove-from-cart,
    .checkout-page .order-summary-content .cart td.remove-from-cart,
    .spc .order-summary-content .cart th.remove-from-cart,
    .spc .order-summary-content .cart td.remove-from-cart {
        width: 1%;
        min-width: 76px;
        white-space: nowrap;
        text-align: center !important;
        padding-left: 6px !important;
        padding-right: 8px !important;
    }

    .html-checkout-page .order-summary-content .cart th.remove-from-cart,
    .checkout-page .order-summary-content .cart th.remove-from-cart,
    .spc .order-summary-content .cart th.remove-from-cart {
        hyphens: none;
    }

    /* Prekė — visas likęs plotis */
    .html-checkout-page .order-summary-content .cart th.product,
    .html-checkout-page .order-summary-content .cart td.product,
    .checkout-page .order-summary-content .cart th.product,
    .checkout-page .order-summary-content .cart td.product,
    .spc .order-summary-content .cart th.product,
    .spc .order-summary-content .cart td.product {
        width: auto;
        max-width: none !important;
        min-width: 0;
        text-align: left !important;
    }

    .html-checkout-page .order-summary-content .cart td.product .product-name,
    .checkout-page .order-summary-content .cart td.product .product-name,
    .spc .order-summary-content .cart td.product .product-name {
        display: block;
        line-height: 1.35;
        word-break: break-word;
    }

    .html-checkout-page .order-summary-content .cart td.subtotal .product-subtotal,
    .checkout-page .order-summary-content .cart td.subtotal .product-subtotal,
    .spc .order-summary-content .cart td.subtotal .product-subtotal {
        display: inline-block;
        white-space: nowrap;
        font-size: 14px;
        line-height: 1.3;
        font-weight: var(--jupoja-fw-bold, 700);
    }
}

/* Hide "Request a Quote" button on shopping cart and OPC */
.checkout-buttons .rfq-button-2,
.totals .checkout-buttons .rfq-button-2,
.spc .totals .rfq-button-2,
.spc .rfq-button-2 {
    display: none !important;
}

.checkout-buttons > div:has(.rfq-button-2),
.spc .totals > div:has(.rfq-button-2) {
    display: none !important;
}

/* Cart: keep estimate shipping popup for auto-calc, hide the manual button */
.html-shopping-cart-page .common-buttons .estimate-shipping-button,
.shopping-cart-page .common-buttons .estimate-shipping-button {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/* OPC billing — Fizinis / Juridinis asmuo + modernūs laukai                  */
/* -------------------------------------------------------------------------- */
.spc .opc .spc-billing .opc-person-type {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    width: 100%;
    padding: 2px 5px 14px;
    box-sizing: border-box;
}

.spc .opc .spc-billing .opc-person-type__option {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: var(--jupoja-dark, #434242);
}

.spc .opc .spc-billing .opc-person-type__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.spc .opc .spc-billing .opc-person-type__box {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 1.5px solid #c6ccd0;
    border-radius: 3px;
    background: var(--jupoja-white, #fff);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.spc .opc .spc-billing .opc-person-type__text {
    font-weight: 500;
}

.spc .opc .spc-billing .opc-person-type__option.is-selected,
.spc .opc .spc-billing .opc-person-type__option:has(input:checked) {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.spc .opc .spc-billing .opc-person-type__option.is-selected .opc-person-type__box,
.spc .opc .spc-billing .opc-person-type__option:has(input:checked) .opc-person-type__box {
    border-color: var(--jupoja-yellow, #FCDF00);
    background: var(--jupoja-yellow, #FCDF00);
}

.spc .opc .spc-billing .opc-person-type__option.is-selected .opc-person-type__box::before,
.spc .opc .spc-billing .opc-person-type__option:has(input:checked) .opc-person-type__box::before {
    content: "\e967";
    font-family: "icomoon";
    font-size: 9px;
    line-height: 1;
    color: var(--jupoja-dark, #434242);
}

.spc .opc .spc-billing .opc-person-type__option:hover .opc-person-type__box {
    border-color: #9aa3ad;
}

.spc .opc .spc-billing .opc-legal-only[hidden] {
    display: none !important;
}

/* Įmonės kodas — privaloma žvaigždutė tik juridiniam asmeniui */
.spc .opc .spc-billing .opc-company-code-required[hidden] {
    display: none !important;
}

.spc .opc .spc-billing .opc-company-code-field.opc-field-required .opc-company-code-required {
    display: inline !important;
}

.spc .opc .spc-billing .opc-company-code-field.opc-field-invalid input,
.spc .opc .spc-billing .opc-company-code-field.opc-field-invalid textarea {
    border-color: var(--jupoja-red, #e02b27) !important;
}

.spc .opc .spc-billing .opc-company-code-error {
    display: block;
    margin-top: 4px;
    color: var(--jupoja-red, #e02b27);
    font-size: 13px;
}

/* Checkout naujienlaiškio opt-in — tas pats stilius kaip Fizinis/Juridinis asmuo */
.spc .opc .spc-billing .opc-newsletter-optin,
.spc .opc #billing-new-address-form > .opc-newsletter-optin,
.spc .totals .opc-newsletter-optin,
#opc-order-consent-slot .opc-newsletter-optin {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 4px;
    padding: 4px 0;
    clear: both;
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
}

.spc .opc .spc-billing .opc-newsletter-optin__input,
.spc .totals .opc-newsletter-optin__input,
#opc-order-consent-slot .opc-newsletter-optin__input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    clip: rect(0, 0, 0, 0);
}

.spc .opc .spc-billing .opc-newsletter-optin__btn,
.spc .totals .opc-newsletter-optin__btn,
#opc-order-consent-slot .opc-newsletter-optin__btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 6px 4px !important;
    float: none !important;
    position: relative !important;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: var(--jupoja-dark, #434242);
    user-select: none;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
}

.spc .opc .spc-billing .opc-newsletter-optin__box,
.spc .totals .opc-newsletter-optin__box,
#opc-order-consent-slot .opc-newsletter-optin__box {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1.5px solid #c6ccd0;
    border-radius: 3px;
    background: var(--jupoja-white, #fff);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    pointer-events: none;
}

.spc .opc .spc-billing .opc-newsletter-optin__btn:hover .opc-newsletter-optin__box,
.spc .totals .opc-newsletter-optin__btn:hover .opc-newsletter-optin__box,
#opc-order-consent-slot .opc-newsletter-optin__btn:hover .opc-newsletter-optin__box {
    border-color: #9aa3ad;
}

.spc .opc .spc-billing .opc-newsletter-optin__btn.is-selected .opc-newsletter-optin__box,
.spc .totals .opc-newsletter-optin__btn.is-selected .opc-newsletter-optin__box,
#opc-order-consent-slot .opc-newsletter-optin__btn.is-selected .opc-newsletter-optin__box {
    border-color: var(--jupoja-yellow, #FCDF00);
    background: var(--jupoja-yellow, #FCDF00);
}

.spc .opc .spc-billing .opc-newsletter-optin__btn.is-selected .opc-newsletter-optin__box::before,
.spc .totals .opc-newsletter-optin__btn.is-selected .opc-newsletter-optin__box::before,
#opc-order-consent-slot .opc-newsletter-optin__btn.is-selected .opc-newsletter-optin__box::before {
    content: "\e967";
    font-family: "icomoon";
    font-size: 9px;
    line-height: 1;
    color: var(--jupoja-dark, #434242);
}

.spc .opc .spc-billing .opc-newsletter-optin__text,
.spc .totals .opc-newsletter-optin__text,
#opc-order-consent-slot .opc-newsletter-optin__text {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--jupoja-dark, #434242);
    pointer-events: none;
}

/* Checkout atributas — sutikimas su taisyklėmis (tikras checkbox po naujienlaiškio) */
/* Kol dar atributų bloke — slepiame (išvengiame flash / dublių komentaruose) */
#checkout-attribute-load .opc-terms-consent,
#opc-checkoutattribute-form .opc-terms-consent,
#checkout-attributes .opc-terms-consent {
    display: none !important;
}

/* Krepšelis — sutikimo checkout atributas nerodomas (tik OPC) */
.html-shopping-cart-page #checkout_attribute_label_2,
.html-shopping-cart-page #checkout_attribute_input_2,
.shopping-cart-page #checkout_attribute_label_2,
.shopping-cart-page #checkout_attribute_input_2 {
    display: none !important;
}

/* „Susipažinau…: Sutinku“ selected-attributes šiukšlynas (OPC) */
.spc .opc .selected-checkout-attributes,
.spc .selected-checkout-attributes,
#selected-checkout-attribute-load,
#selected-checkout-attribute-load .selected-checkout-attributes {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.spc .opc .spc-billing .opc-terms-consent,
.spc .opc #billing-new-address-form > .opc-terms-consent,
.spc .totals .opc-terms-consent,
#opc-order-consent-slot .opc-terms-consent,
#opc-terms-consent-wrap.opc-terms-consent {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 4px;
    padding: 4px 0;
    clear: both;
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
}

.spc .opc .spc-billing .opc-terms-consent__option,
#opc-terms-consent-wrap .opc-terms-consent__option {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 8px;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 6px 4px !important;
    float: none !important;
    position: relative !important;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    color: var(--jupoja-dark, #434242);
    user-select: none;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.spc .opc .spc-billing .opc-terms-consent__option input,
#opc-terms-consent-wrap .opc-terms-consent__option input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    clip: rect(0, 0, 0, 0);
}

.spc .opc .spc-billing .opc-terms-consent__box,
#opc-terms-consent-wrap .opc-terms-consent__box {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    border: 1.5px solid #c6ccd0;
    border-radius: 3px;
    background: var(--jupoja-white, #fff);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    pointer-events: none;
}

.spc .opc .spc-billing .opc-terms-consent__option:hover .opc-terms-consent__box,
#opc-terms-consent-wrap .opc-terms-consent__option:hover .opc-terms-consent__box {
    border-color: #9aa3ad;
}

.spc .opc .spc-billing .opc-terms-consent__option:has(input:checked) .opc-terms-consent__box,
#opc-terms-consent-wrap .opc-terms-consent__option:has(input:checked) .opc-terms-consent__box {
    border-color: var(--jupoja-yellow, #FCDF00);
    background: var(--jupoja-yellow, #FCDF00);
}

.spc .opc .spc-billing .opc-terms-consent__option:has(input:checked) .opc-terms-consent__box::before,
#opc-terms-consent-wrap .opc-terms-consent__option:has(input:checked) .opc-terms-consent__box::before {
    content: "\e967";
    font-family: "icomoon";
    font-size: 9px;
    line-height: 1;
    color: var(--jupoja-dark, #434242);
}

.spc .opc .spc-billing .opc-terms-consent__text,
#opc-terms-consent-wrap .opc-terms-consent__text {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--jupoja-dark, #434242);
}

.spc .opc .spc-billing .opc-terms-consent__text a,
#opc-terms-consent-wrap .opc-terms-consent__text a {
    color: var(--jupoja-dark, #434242);
    text-decoration: underline;
    text-underline-offset: 2px;
    pointer-events: auto;
}

.spc .opc .spc-billing .opc-terms-consent__text a:hover,
#opc-terms-consent-wrap .opc-terms-consent__text a:hover {
    color: #000;
}

.spc .opc .spc-billing .opc-terms-consent .required,
#opc-terms-consent-wrap .required {
    color: #c00;
    margin-left: 2px;
}

/* Privaloma varnelė nepažymėta — tik raudonas rėmelis, be klaidos teksto */
#opc-terms-consent-wrap.opc-terms-consent--invalid .opc-terms-consent__box,
.spc .opc .spc-billing .opc-terms-consent--invalid .opc-terms-consent__box {
    border-color: #c62828 !important;
    background: #fff !important;
    box-shadow: 0 0 0 1px #c62828;
}

#opc-terms-consent-wrap.opc-terms-consent--invalid .opc-terms-consent__text,
.spc .opc .spc-billing .opc-terms-consent--invalid .opc-terms-consent__text {
    color: #c62828;
}

.spc .opc .spc-billing .edit-address .inputs {
    margin-bottom: 10px;
}

.spc .opc .spc-billing .edit-address .inputs input[type="text"],
.spc .opc .spc-billing .edit-address .inputs input[type="email"],
.spc .opc .spc-billing .edit-address .inputs input[type="tel"]:not([data-jupoja-phone]),
.spc .opc .spc-billing .edit-address .inputs input[type="password"],
.spc .opc .spc-billing .edit-address .inputs select,
.spc .opc .spc-billing .edit-address .inputs textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px !important;
    border: 1px solid #d4dae3 !important;
    border-radius: 5px !important;
    background: var(--jupoja-white, #fff) !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 14px !important;
    line-height: 1.35;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* intl-tel-input — nepalaužti left padding / dropdown */
.spc .opc .spc-billing .edit-address .inputs .iti,
.spc .opc .spc-shipping .edit-address .inputs .iti {
    width: 100%;
    position: relative;
    z-index: 5;
}

.spc .opc .spc-billing .edit-address .inputs .iti__country-container,
.spc .opc .spc-shipping .edit-address .inputs .iti__country-container {
    z-index: 6;
}

.spc .opc .spc-billing .edit-address .inputs input[data-jupoja-phone],
.spc .opc .spc-shipping .edit-address .inputs input[data-jupoja-phone] {
    width: 100% !important;
    min-height: 46px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    padding-right: 14px !important;
    border: 1px solid #d4dae3 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 14px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.spc .opc .section.billing,
.spc .opc .section.shipping,
.spc .opc .spc-billing,
.spc .opc .spc-shipping,
.spc .opc #checkout-billing-load,
.spc .opc #checkout-shipping-load,
.spc .opc .edit-address {
    overflow: visible !important;
}

.spc .opc .spc-billing .edit-address .inputs input::placeholder,
.spc .opc .spc-billing .edit-address .inputs textarea::placeholder {
    color: #8a9199;
    opacity: 1;
}

.spc .opc .spc-billing .edit-address .inputs input:hover,
.spc .opc .spc-billing .edit-address .inputs select:hover,
.spc .opc .spc-billing .edit-address .inputs textarea:hover {
    border-color: #b8c0cc !important;
}

.spc .opc .spc-billing .edit-address .inputs input:focus,
.spc .opc .spc-billing .edit-address .inputs select:focus,
.spc .opc .spc-billing .edit-address .inputs textarea:focus {
    outline: none !important;
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    box-shadow: 0 0 0 3px rgba(252, 223, 0, 0.25) !important;
}

@media (max-width: 575px) {
    .spc .opc .spc-billing .opc-person-type {
        gap: 12px 20px;
    }
}

/* Išsaugoti adresai — pasirinkimas checkout'e */
.spc .opc .spc-billing .select-billing-address {
    margin: 0 0 14px;
}

.spc .opc .spc-billing .select-billing-address > label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.spc .opc .spc-billing #billing-address-select {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: 44px;
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #434242;
    font-size: 14px;
}

/* Švelniai išskirtas „Pridėti naują adresą“ punktas (ne OS mėlynas hover) */
.spc .opc .spc-billing #billing-address-select option.opc-new-address-option,
.spc .opc .spc-billing #billing-address-select option#billing-new,
.spc .opc .spc-billing #billing-address-select option[value=""] {
    font-weight: 600;
    color: #434242;
    background-color: #FFF8D6;
}

.spc .opc .spc-billing #billing-address-select.opc-has-new-address-selected {
    border-color: #e8d56a;
    background-color: #FFFEF5;
}

.spc .opc .spc-billing .opc-save-address-btn,
.spc .opc .spc-billing .opc-add-new-address-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    height: 34px;
    padding: 0 14px;
    margin: 14px 0 0;
    border: 1px solid var(--jupoja-yellow, #FCDF00);
    border-radius: 4px;
    background: var(--jupoja-yellow, #FCDF00);
    color: #434242;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    text-transform: none;
    float: none;
}

.spc .opc .spc-billing #billing-new-address-form > .opc-save-address-btn {
    display: inline-flex;
    width: auto;
    max-width: max-content;
    align-self: flex-start;
}

.spc .opc .spc-billing .opc-save-address-btn:hover,
.spc .opc .spc-billing .opc-add-new-address-btn:hover {
    border-color: #434242;
    background: #434242;
    color: #fff;
}

.spc .opc .spc-billing .opc-save-address-btn:disabled {
    opacity: 0.65;
    cursor: wait;
    background: var(--jupoja-yellow, #FCDF00);
    border-color: var(--jupoja-yellow, #FCDF00);
    color: #434242;
}

.spc .opc .spc-billing #opc-add-new-address-btn {
    display: none !important;
}

/* Svečiams: jokio išsaugotų adresų pasirinkimo / mygtukų */
.opc-guest-checkout .select-billing-address,
.opc-guest-checkout label[for="billing-address-select"],
.opc-guest-checkout #billing-address-select,
.opc-guest-checkout #opc-save-address-btn,
.opc-guest-checkout #opc-add-new-address-btn {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Tuščias krepšelis                                                          */
/* -------------------------------------------------------------------------- */

.shopping-cart-page .cart-empty,
.html-shopping-cart-page .cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 520px;
    margin: 24px auto 48px;
    padding: 24px 16px 8px;
}

.shopping-cart-page .cart-empty__visual,
.html-shopping-cart-page .cart-empty__visual {
    margin: 0 0 18px;
}

.shopping-cart-page .cart-empty__svg,
.html-shopping-cart-page .cart-empty__svg {
    width: min(280px, 72vw);
    height: auto;
    display: block;
}

.shopping-cart-page .cart-empty__title,
.html-shopping-cart-page .cart-empty__title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--jupoja-dark, #434242);
}

.shopping-cart-page .cart-empty__text,
.html-shopping-cart-page .cart-empty__text,
.shopping-cart-page .cart-empty__hint,
.html-shopping-cart-page .cart-empty__hint {
    margin: 0 0 6px;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #64748b;
}

.shopping-cart-page .cart-empty__hint,
.html-shopping-cart-page .cart-empty__hint {
    margin-bottom: 22px;
}

.shopping-cart-page .cart-empty__actions,
.html-shopping-cart-page .cart-empty__actions {
    display: flex;
    justify-content: center;
}

.shopping-cart-page .cart-empty__button,
.html-shopping-cart-page .cart-empty__button,
.shopping-cart-page .cart-empty__button.button-1,
.html-shopping-cart-page .cart-empty__button.button-1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    height: 44px;
    padding: 0 22px;
    border: 1px solid var(--jupoja-yellow, #FCDF00) !important;
    border-radius: 4px;
    background: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 15px;
    font-weight: 700 !important;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none;
    cursor: pointer;
}

.shopping-cart-page .cart-empty__button:hover,
.html-shopping-cart-page .cart-empty__button:hover,
.shopping-cart-page .cart-empty__button.button-1:hover,
.html-shopping-cart-page .cart-empty__button.button-1:hover {
    border-color: var(--jupoja-dark, #434242) !important;
    background: var(--jupoja-dark, #434242) !important;
    color: #fff !important;
}

@media (max-width: 575px) {
    .shopping-cart-page .cart-empty__title,
    .html-shopping-cart-page .cart-empty__title {
        font-size: 22px;
    }

    .shopping-cart-page .cart-empty__button,
    .html-shopping-cart-page .cart-empty__button {
        width: 100%;
    }
}

/* Tuščiame krepšelyje nerodyti trust-bar kortelių (senas layoutas) */
.order-summary-content:has(.cart-empty) .jsm-trust-bar,
.shopping-cart-page:has(.cart-empty) .jsm-trust-bar,
.html-shopping-cart-page:has(.cart-empty) .jsm-trust-bar {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/* [10g] OPC — Venipak / DPD paštomatų kortelės (ikona kairėje, kaina dešinėje) */
.spc .opc .section.shipping-method .method-list > li.shipping-method-item--locker .method-name > label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 42px;
    width: 100% !important;
    font-weight: 400;
}

.spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: #fff !important;
    border-radius: 2px;
    overflow: hidden;
}

.spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo img,
.spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo svg {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
}

.spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo--venipak img {
    width: 28px;
    height: 28px;
}

/* Line-art kurjerio ikona — šiek tiek didesnė, kad vizualiai lygiuotųsi su Venipak/DPD */
.spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo--courier {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    overflow: visible;
}

.spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo--courier img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

/* COD atsiskaitymo ikona — didesnė, kaip sąskaitos / kitų primary ikonų */
.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name .payment-logo:has(img[src*="grynais-cod"]) {
    flex: 0 0 64px !important;
    max-width: 64px !important;
    min-width: 64px !important;
    width: 64px !important;
    height: 64px !important;
    overflow: visible;
}

.spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name .payment-logo img[src*="grynais-cod"] {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
}

.spc .opc .section.shipping-method .method-list > li .shipping-method-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spc .opc .section.shipping-method .method-list > li .shipping-method-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    color: var(--jupoja-dark, #434242);
}

.spc .opc .section.shipping-method .method-list > li .shipping-method-subtitle {
    display: block;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.35;
    color: #8A8A8A;
}

.spc .opc .section.shipping-method .method-list > li .shipping-method-price {
    flex: 0 0 auto;
    margin-left: auto;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: var(--jupoja-gray-dark, #5B5B5B);
    white-space: nowrap;
}

@media (max-width: 575px) {
    .spc .opc .section.shipping-method .method-list > li.shipping-method-item--locker .method-name > label {
        gap: 10px;
        padding: 12px 12px 12px 40px;
    }

    .spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo {
        flex-basis: 30px !important;
        width: 30px !important;
        height: 30px !important;
    }

    .spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo img,
    .spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo svg {
        width: 26px;
        height: 26px;
    }

    .spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo--venipak img {
        width: 22px;
        height: 22px;
    }

    .spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo--courier {
        flex-basis: 36px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .spc .opc .section.shipping-method .method-list > li .shipping-carrier-logo--courier img {
        width: 34px !important;
        height: 34px !important;
    }

    .spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name .payment-logo:has(img[src*="grynais-cod"]) {
        flex: 0 0 56px !important;
        max-width: 56px !important;
        min-width: 56px !important;
        width: 56px !important;
        height: 56px !important;
    }

    .spc .opc .section.payment-method .method-list > li.payment-method-item--primary .method-name .payment-logo img[src*="grynais-cod"] {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }
}

/* -------------------------------------------------------------------------- */
/* Mobile — krepšelio / OPC prekių kortelės (kaip wishlist)                     */
/* -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .html-shopping-cart-page .order-summary-content .cart tr,
    .html-shopping-cart-page .order-summary-content .cart tr td,
    .html-shopping-cart-page .order-summary-content .cart tr td.subtotal,
    .html-checkout-page .order-summary-content .cart tr,
    .html-checkout-page .order-summary-content .cart tr td,
    .checkout-page .order-summary-content .cart tr,
    .checkout-page .order-summary-content .cart tr td,
    .spc .order-summary-content .cart tr,
    .spc .order-summary-content .cart tr td {
        display: revert;
    }

    .html-shopping-cart-page .order-summary-content .table-wrapper,
    .html-checkout-page .order-summary-content .table-wrapper,
    .checkout-page .order-summary-content .table-wrapper,
    .spc .order-summary-content .table-wrapper,
    .spc .shopping-cart-items-wrapper,
    .spc #shopping-cart-items {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
        width: 100%;
        max-width: 100%;
    }

    .html-shopping-cart-page .order-summary-content .cart thead,
    .html-checkout-page .order-summary-content .cart thead,
    .checkout-page .order-summary-content .cart thead,
    .spc .order-summary-content .cart thead {
        display: none !important;
    }

    .html-shopping-cart-page .order-summary-content .cart,
    .html-shopping-cart-page .order-summary-content .cart tbody,
    .html-checkout-page .order-summary-content .cart,
    .html-checkout-page .order-summary-content .cart tbody,
    .checkout-page .order-summary-content .cart,
    .checkout-page .order-summary-content .cart tbody,
    .spc .order-summary-content .cart,
    .spc .order-summary-content .cart tbody {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .html-shopping-cart-page .order-summary-content .cart tbody tr,
    .html-checkout-page .order-summary-content .cart tbody tr,
    .checkout-page .order-summary-content .cart tbody tr,
    .spc .order-summary-content .cart tbody tr {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) auto 40px;
        grid-template-areas:
            "pic product product remove"
            "pic sku sku remove"
            "pic price price remove"
            "qty qty subtotal subtotal";
        gap: 6px 12px;
        align-items: start;
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px;
        padding: 14px !important;
        border: 1px solid #e8ecf1 !important;
        border-radius: 8px;
        background: #fff !important;
        box-shadow: none !important;
        box-sizing: border-box;
    }

    .html-shopping-cart-page .order-summary-content .cart tbody tr:not(:has(td.remove-from-cart)),
    .html-checkout-page .order-summary-content .cart tbody tr:not(:has(td.remove-from-cart)),
    .checkout-page .order-summary-content .cart tbody tr:not(:has(td.remove-from-cart)),
    .spc .order-summary-content .cart tbody tr:not(:has(td.remove-from-cart)) {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        grid-template-areas:
            "pic product product"
            "pic sku sku"
            "pic price price"
            "qty qty subtotal";
    }

    .html-shopping-cart-page .order-summary-content .cart tbody td,
    .html-checkout-page .order-summary-content .cart tbody td,
    .checkout-page .order-summary-content .cart tbody td,
    .spc .order-summary-content .cart tbody td {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        vertical-align: top;
    }

    .html-shopping-cart-page .order-summary-content .cart td.info,
    .html-checkout-page .order-summary-content .cart td.info,
    .checkout-page .order-summary-content .cart td.info,
    .spc .order-summary-content .cart td.info {
        display: none !important;
    }

    .html-shopping-cart-page .order-summary-content .cart td.product-picture,
    .html-checkout-page .order-summary-content .cart td.product-picture,
    .checkout-page .order-summary-content .cart td.product-picture,
    .spc .order-summary-content .cart td.product-picture {
        grid-area: pic;
        width: 88px !important;
    }

    .html-shopping-cart-page .order-summary-content .cart td.product-picture a,
    .html-checkout-page .order-summary-content .cart td.product-picture a,
    .checkout-page .order-summary-content .cart td.product-picture a,
    .spc .order-summary-content .cart td.product-picture a {
        display: block;
        width: 88px;
        height: 88px;
    }

    .html-shopping-cart-page .order-summary-content .cart td.product-picture img,
    .html-checkout-page .order-summary-content .cart td.product-picture img,
    .checkout-page .order-summary-content .cart td.product-picture img,
    .spc .order-summary-content .cart td.product-picture img {
        max-width: 88px !important;
        max-height: 88px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .html-shopping-cart-page .order-summary-content .cart td.product,
    .html-checkout-page .order-summary-content .cart td.product,
    .checkout-page .order-summary-content .cart td.product,
    .spc .order-summary-content .cart td.product {
        grid-area: product;
        max-width: none !important;
        min-width: 0;
    }

    .html-shopping-cart-page .order-summary-content .cart td.product .product-name,
    .html-checkout-page .order-summary-content .cart td.product .product-name,
    .checkout-page .order-summary-content .cart td.product .product-name,
    .spc .order-summary-content .cart td.product .product-name {
        display: block;
        font-size: 14px;
        font-weight: var(--jupoja-fw-bold, 700);
        line-height: 1.35;
        color: var(--jupoja-dark, #434242);
        text-decoration: none;
        word-break: break-word;
    }

    .html-shopping-cart-page .order-summary-content .cart td.sku,
    .html-checkout-page .order-summary-content .cart td.sku,
    .checkout-page .order-summary-content .cart td.sku,
    .spc .order-summary-content .cart td.sku {
        grid-area: sku;
        align-self: start;
        min-width: 0;
    }

    .html-shopping-cart-page .order-summary-content .cart td.sku .td-title,
    .html-checkout-page .order-summary-content .cart td.sku .td-title,
    .checkout-page .order-summary-content .cart td.sku .td-title,
    .spc .order-summary-content .cart td.sku .td-title {
        display: none !important;
    }

    .html-shopping-cart-page .order-summary-content .cart td.sku .sku-number,
    .html-checkout-page .order-summary-content .cart td.sku .sku-number,
    .checkout-page .order-summary-content .cart td.sku .sku-number,
    .spc .order-summary-content .cart td.sku .sku-number {
        display: block;
        font-size: 12px;
        line-height: 1.3;
        color: #8b939e;
        word-break: break-all;
    }

    .html-shopping-cart-page .order-summary-content .cart td.vendor,
    .html-checkout-page .order-summary-content .cart td.vendor,
    .checkout-page .order-summary-content .cart td.vendor,
    .spc .order-summary-content .cart td.vendor {
        grid-area: sku;
        margin-top: 2px;
    }

    .html-shopping-cart-page .order-summary-content .cart td.unit-price,
    .html-checkout-page .order-summary-content .cart td.unit-price,
    .checkout-page .order-summary-content .cart td.unit-price,
    .spc .order-summary-content .cart td.unit-price {
        grid-area: price;
        align-self: end;
        min-width: 0;
    }

    .html-shopping-cart-page .order-summary-content .cart td.unit-price .td-title,
    .html-checkout-page .order-summary-content .cart td.unit-price .td-title,
    .checkout-page .order-summary-content .cart td.unit-price .td-title,
    .spc .order-summary-content .cart td.unit-price .td-title {
        display: inline !important;
        margin: 0 4px 0 0;
        font-size: 13px;
        font-weight: 500;
        color: #5b5b5b;
    }

    .html-shopping-cart-page .order-summary-content .cart td.unit-price .product-unit-price,
    .html-checkout-page .order-summary-content .cart td.unit-price .product-unit-price,
    .checkout-page .order-summary-content .cart td.unit-price .product-unit-price,
    .spc .order-summary-content .cart td.unit-price .product-unit-price {
        font-size: 16px !important;
        font-weight: var(--jupoja-fw-bold, 700) !important;
        color: var(--jupoja-blue, #1B47A0) !important;
        line-height: 1.3;
    }

    .html-shopping-cart-page .order-summary-content .cart td.quantity,
    .html-checkout-page .order-summary-content .cart td.quantity,
    .checkout-page .order-summary-content .cart td.quantity,
    .spc .order-summary-content .cart td.quantity {
        grid-area: qty;
        padding-top: 10px !important;
        margin-top: 4px;
        align-self: center;
        min-width: 0;
    }

    .html-shopping-cart-page .order-summary-content .cart td.quantity .td-title,
    .html-checkout-page .order-summary-content .cart td.quantity .td-title,
    .checkout-page .order-summary-content .cart td.quantity .td-title,
    .spc .order-summary-content .cart td.quantity .td-title {
        display: inline-block !important;
        margin: 0 8px 0 0;
        font-size: 12px;
        font-weight: 500;
        color: #8b939e;
        vertical-align: middle;
    }

    .html-shopping-cart-page .order-summary-content .cart td.subtotal,
    .html-checkout-page .order-summary-content .cart td.subtotal,
    .checkout-page .order-summary-content .cart td.subtotal,
    .spc .order-summary-content .cart td.subtotal {
        grid-area: subtotal;
        display: block !important;
        margin-top: 10px;
        padding-top: 10px !important;
        border-top: 1px solid #eef1f5 !important;
        text-align: left !important;
    }

    .html-shopping-cart-page .order-summary-content .cart td.subtotal .td-title,
    .html-checkout-page .order-summary-content .cart td.subtotal .td-title,
    .checkout-page .order-summary-content .cart td.subtotal .td-title,
    .spc .order-summary-content .cart td.subtotal .td-title {
        display: inline !important;
        margin: 0 4px 0 0;
        font-size: 13px;
        font-weight: 500;
        color: #5b5b5b;
    }

    .html-shopping-cart-page .order-summary-content .cart td.subtotal .product-subtotal,
    .html-checkout-page .order-summary-content .cart td.subtotal .product-subtotal,
    .checkout-page .order-summary-content .cart td.subtotal .product-subtotal,
    .spc .order-summary-content .cart td.subtotal .product-subtotal {
        font-size: 18px !important;
        font-weight: var(--jupoja-fw-bold, 700) !important;
        color: var(--jupoja-blue, #1B47A0) !important;
        line-height: 1.3;
    }

    .html-shopping-cart-page .order-summary-content .cart td.remove-from-cart,
    .html-checkout-page .order-summary-content .cart td.remove-from-cart,
    .checkout-page .order-summary-content .cart td.remove-from-cart,
    .spc .order-summary-content .cart td.remove-from-cart {
        grid-area: remove;
        width: 40px !important;
        min-width: 40px;
        text-align: right !important;
        justify-self: end;
    }

    .html-shopping-cart-page .order-summary-content .cart td.remove-from-cart .remove-btn,
    .html-checkout-page .order-summary-content .cart td.remove-from-cart .remove-btn,
    .checkout-page .order-summary-content .cart td.remove-from-cart .remove-btn,
    .spc .order-summary-content .cart td.remove-from-cart .remove-btn {
        width: 32px !important;
        height: 32px !important;
        margin: 0 0 0 auto !important;
    }

    /* Kiekis — horizontalus − / sk. / + kaip wishlist */
    .html-shopping-cart-page .order-summary-content .cart .cart-quantity,
    .html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity,
    .html-checkout-page .order-summary-content .cart .cart-quantity,
    .checkout-page .order-summary-content .cart .cart-quantity,
    .spc .order-summary-content .cart .cart-quantity {
        position: relative !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;
        height: 40px !important;
        overflow: hidden !important;
        vertical-align: middle;
    }

    .html-shopping-cart-page .order-summary-content .cart .cart-quantity input.qty-input,
    .html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity input.qty-input,
    .html-checkout-page .order-summary-content .cart .cart-quantity input.qty-input,
    .checkout-page .order-summary-content .cart .cart-quantity input.qty-input,
    .spc .order-summary-content .cart .cart-quantity input.qty-input {
        order: 2;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        border-left: 1px solid #e8ecf1 !important;
        border-right: 1px solid #e8ecf1 !important;
        font-size: 15px !important;
        font-weight: var(--jupoja-fw-bold, 700) !important;
        line-height: 38px !important;
    }

    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button,
    .html-shopping-cart-page .order-summary-content .cart .qty-wrapper.cart-quantity .qty-button,
    .html-checkout-page .order-summary-content .cart .cart-quantity .qty-button,
    .checkout-page .order-summary-content .cart .cart-quantity .qty-button,
    .spc .order-summary-content .cart .cart-quantity .qty-button {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 40px !important;
        border-left: 0 !important;
        background: #f7f8fa !important;
    }

    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.decrement,
    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.minus,
    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.btn-decrease,
    .html-checkout-page .order-summary-content .cart .cart-quantity .qty-button.decrement,
    .checkout-page .order-summary-content .cart .cart-quantity .qty-button.decrement,
    .spc .order-summary-content .cart .cart-quantity .qty-button.decrement {
        order: 1;
    }

    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.increment,
    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.increament,
    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button.plus,
    .html-checkout-page .order-summary-content .cart .cart-quantity .qty-button.increment,
    .html-checkout-page .order-summary-content .cart .cart-quantity .qty-button.increament,
    .checkout-page .order-summary-content .cart .cart-quantity .qty-button.increment,
    .spc .order-summary-content .cart .cart-quantity .qty-button.increment,
    .spc .order-summary-content .cart .cart-quantity .qty-button.increament {
        order: 3;
    }

    .html-shopping-cart-page .order-summary-content .cart .cart-quantity .qty-button::before,
    .html-checkout-page .order-summary-content .cart .cart-quantity .qty-button::before,
    .checkout-page .order-summary-content .cart .cart-quantity .qty-button::before,
    .spc .order-summary-content .cart .cart-quantity .qty-button::before {
        position: static !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    .html-shopping-cart-page .order-summary-content .cart .jsmartable-collapse,
    .html-shopping-cart-page .order-summary-content .cart tr.jsmartable-row,
    .html-checkout-page .order-summary-content .cart .jsmartable-collapse,
    .html-checkout-page .order-summary-content .cart tr.jsmartable-row,
    .checkout-page .order-summary-content .cart .jsmartable-collapse,
    .checkout-page .order-summary-content .cart tr.jsmartable-row,
    .spc .order-summary-content .cart .jsmartable-collapse,
    .spc .order-summary-content .cart tr.jsmartable-row {
        display: none !important;
    }

    /* OPC /order/checkout — kaina ir SKU yra product celėje, ne atskiruose td */
    .spc .order-summary-content .cart tbody tr,
    .checkout-page.spc .order-summary-content .cart tbody tr {
        grid-template-columns: 88px minmax(0, 1fr) 40px;
        grid-template-areas:
            "pic product remove"
            "qty qty qty"
            "subtotal subtotal subtotal";
    }

    .spc .order-summary-content .cart tbody tr:not(:has(td.remove-from-cart)),
    .checkout-page.spc .order-summary-content .cart tbody tr:not(:has(td.remove-from-cart)) {
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-areas:
            "pic product"
            "qty qty"
            "subtotal subtotal";
    }

    .spc .order-summary-content .cart td.product .sku-line,
    .checkout-page.spc .order-summary-content .cart td.product .sku-line {
        margin-top: 2px;
        font-size: 12px;
        line-height: 1.3;
        color: #8b939e;
        word-break: break-all;
    }

    .spc .order-summary-content .cart td.product .unit-price-line,
    .checkout-page.spc .order-summary-content .cart td.product .unit-price-line {
        margin-top: 4px;
        font-size: 14px;
        line-height: 1.35;
    }

    .spc .order-summary-content .cart td.product .unit-price-label,
    .checkout-page.spc .order-summary-content .cart td.product .unit-price-label {
        margin-right: 4px;
        font-size: 13px;
        font-weight: 500;
        color: #5b5b5b;
    }

    .spc .order-summary-content .cart td.product .product-unit-price,
    .checkout-page.spc .order-summary-content .cart td.product .product-unit-price {
        font-size: 16px !important;
        font-weight: var(--jupoja-fw-bold, 700) !important;
        color: var(--jupoja-blue, #1B47A0) !important;
    }

    .spc .order-summary-content .cart td.product .remove-from-cart,
    .spc .order-summary-content .cart td.product .delete-item,
    .checkout-page.spc .order-summary-content .cart td.product .remove-from-cart,
    .checkout-page.spc .order-summary-content .cart td.product .delete-item {
        display: none !important;
    }
}

/* ==========================================================================
   OPC order summary — mobile (sumų suvestinė)
   ========================================================================== */
#opc-order-consent-slot.opc-order-consent {
    display: block;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 4px;
    clear: both;
}

#opc-order-consent-slot .opc-newsletter-optin,
#opc-order-consent-slot .opc-terms-consent {
    margin-top: 4px;
    margin-bottom: 2px;
}

@media (max-width: 991px) {
    .spc .checkout-totals .totals,
    .checkout-page.spc .checkout-totals .totals {
        background: #fff;
        border: 1px solid var(--jupoja-yellow, #FCDF00) !important;
        box-shadow: none !important;
        border-radius: 4px;
        padding: 16px 14px 14px;
        overflow: hidden;
    }

    .spc .checkout-totals .totals .opc-order-total-wrapper,
    .spc .checkout-totals .totals #order-total-custom,
    .spc .checkout-totals .totals .total-info {
        width: 100%;
    }

    .spc .checkout-totals .totals table.cart-total {
        width: 100%;
        table-layout: auto;
        border-collapse: collapse;
    }

    .spc .checkout-totals .totals .cart-total td {
        padding: 4px 0;
        vertical-align: top;
        border: 0;
    }

    /* Skaičiai dešinėje vienoje eilutėje; papildomas tekstas kairėje žemiau */
    .spc .checkout-totals .totals .cart-total td.cart-total-right {
        width: 1%;
        white-space: nowrap !important;
        text-align: right !important;
        padding-left: 12px;
        vertical-align: top;
    }

    .spc .checkout-totals .totals .cart-total td.cart-total-left {
        width: 99%;
        text-align: left !important;
    }

    .spc .checkout-totals .totals .cart-total td.cart-total-left label {
        font-size: 15px;
        font-weight: 500;
        color: var(--jupoja-dark, #434242);
    }

    .spc .checkout-totals .totals .cart-total .value-summary {
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
        color: var(--jupoja-dark, #434242);
    }

    /* Tarpinė suma + Pristatymas — švelniai didesni ir ryškesni */
    .spc .checkout-totals .totals .cart-total tr.order-subtotal .cart-total-left label,
    .spc .checkout-totals .totals .cart-total tr.shipping-cost .cart-total-left label {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: var(--jupoja-dark, #434242) !important;
    }

    .spc .checkout-totals .totals .cart-total tr.order-subtotal .value-summary,
    .spc .checkout-totals .totals .cart-total tr.shipping-cost .value-summary {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--jupoja-dark, #434242) !important;
    }

    .spc .checkout-totals .totals .cart-total tr.shipping-cost .selected-shipping-method {
        display: block !important;
        margin-top: 5px;
        font-size: 14px !important;
        line-height: 1.4;
        font-weight: 400 !important;
        color: #5c636a !important;
        opacity: 1 !important;
        white-space: normal !important;
        max-width: 100%;
    }

    .spc .checkout-totals .totals .cart-total tr.order-total td {
        padding-top: 14px;
    }

    .spc .checkout-totals .totals .cart-total tr.order-total .cart-total-left label {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: #111 !important;
    }

    .spc .checkout-totals .totals .cart-total tr.order-total .value-summary,
    .spc .checkout-totals .totals .cart-total tr.order-total .value-summary strong {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: var(--jupoja-blue, #1B47A0) !important;
        -webkit-text-fill-color: var(--jupoja-blue, #1B47A0);
    }

    /* Užsakyti — tamsus; hover — geltonas */
    .spc .checkout-totals .totals #confirm-order-button.button-1 {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px 0 0 !important;
        min-height: 48px;
        padding: 12px 16px !important;
        background: var(--jupoja-dark, #434242) !important;
        border: 2px solid var(--jupoja-dark, #434242) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        border-radius: 4px;
        box-shadow: none !important;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .spc .checkout-totals .totals #confirm-order-button.button-1:hover,
    .spc .checkout-totals .totals #confirm-order-button.button-1:focus {
        background: var(--jupoja-yellow, #FCDF00) !important;
        border-color: var(--jupoja-yellow, #FCDF00) !important;
        color: var(--jupoja-dark, #434242) !important;
        -webkit-text-fill-color: var(--jupoja-dark, #434242);
    }

    #opc-order-consent-slot.opc-order-consent {
        margin-top: 12px;
        margin-bottom: 4px;
        padding-top: 2px;
    }

    #opc-order-consent-slot .opc-newsletter-optin__text,
    #opc-order-consent-slot .opc-terms-consent__text {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* ==========================================================================
   OPC — nuolaidos kodo įvedimas (po prekėmis, prieš komentarus)
   ========================================================================== */
.spc .opc-discount-section {
    width: 100%;
    clear: both;
    margin: 16px 0 20px;
    padding: 0;
}

.spc .opc-discount-section .cart-collaterals,
.spc .opc-discount-section .deals {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

.spc .opc-discount-section .deals > div {
    float: none;
    width: 100%;
    margin: 0;
}

.spc .opc-discount-section #discount-box {
    width: 100%;
}

.spc .opc-discount-section .coupon-box {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

.spc .opc-discount-section .coupon-box .title,
.spc .opc-discount-section #discount-box .title,
.spc .opc-discount-section .deals .title {
    background: none !important;
    padding: 0 0 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    clear: both;
}

.spc .opc-discount-section .coupon-box .title::before,
.spc .opc-discount-section .coupon-box .title::after,
.spc .opc-discount-section .coupon-box .title strong::before,
.spc .opc-discount-section .coupon-box .title strong::after,
.spc .opc-discount-section #discount-box .title::before,
.spc .opc-discount-section #discount-box .title::after,
.spc .opc-discount-section .deals .title::before,
.spc .opc-discount-section .deals .title::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    height: 0 !important;
    background: none !important;
}

.spc .opc-discount-section .coupon-box .title strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--jupoja-dark, #434242);
    border: 0 !important;
    background: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Be temos ikonos — kaip mockupe */
.spc .opc-discount-section .coupon-box .title strong::before {
    display: none !important;
    content: none !important;
}

.spc .opc-discount-section .coupon-box .hint {
    display: none !important;
}

.spc .opc-discount-section .coupon-code {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    position: relative !important;
    margin: 0 !important;
    width: 100%;
    /* Ta pati švelni linija kaip prekių lentelėje — be atskiros „skirtuko“ juostos */
    border: 1px solid #e8ecf1 !important;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    box-shadow: none !important;
}

.spc .opc-discount-section .coupon-code .discount-coupon-code {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.3;
    color: var(--jupoja-dark, #434242);
    outline: none;
}

.spc .opc-discount-section .coupon-code .discount-coupon-code::placeholder {
    color: #9aa3ad;
    opacity: 1;
}

.spc .opc-discount-section .coupon-code .discount-coupon-code:focus {
    outline: none;
    box-shadow: none;
}

.spc .opc-discount-section .coupon-code .apply-discount-coupon-code-button.button-2,
.spc .opc-discount-section .coupon-code .apply-discount-coupon-code-button {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    align-self: stretch;
    height: auto !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-left: 1px solid #e8ecf1 !important;
    border-radius: 0 !important;
    background: #f7f8fa !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.spc .opc-discount-section .coupon-code .apply-discount-coupon-code-button:hover,
.spc .opc-discount-section .coupon-code .apply-discount-coupon-code-button:focus {
    background: var(--jupoja-yellow, #FCDF00) !important;
    border-left-color: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
}

.spc .opc-discount-section .coupon-box .message-success,
.spc .opc-discount-section .coupon-box .message-failure {
    margin-top: 8px;
    font-size: 13px;
}

.spc .opc-discount-section .coupon-box .current-code {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.spc .opc-discount-section #gift-card:empty,
.spc .opc-discount-section #gift-card:not(:has(.giftcard-box)) {
    display: none;
}

.spc .opc-discount-section #gift-card .giftcard-box {
    margin-top: 16px;
}

@media (max-width: 991px) {
    .spc .opc-discount-section {
        margin: 12px 0 18px;
        padding: 0 0 2px;
    }

    .spc .opc-discount-section .coupon-box .title strong {
        font-size: 15px;
        font-weight: 600;
    }

    .spc .opc-discount-section .coupon-code .discount-coupon-code {
        padding: 11px 12px !important;
        font-size: 14px !important;
    }

    .spc .opc-discount-section .coupon-code .apply-discount-coupon-code-button.button-2,
    .spc .opc-discount-section .coupon-code .apply-discount-coupon-code-button {
        min-height: 44px;
        padding: 11px 14px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   OPC — Komentarai ir pastabos (kaip nuolaidos kodas — be geltonos juostos)
   ========================================================================== */
.spc .order-summary-content #checkout-attributes.cart-options {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none !important;
    border-radius: 0;
}

.spc .order-summary-content .cart-footer > .col-12 > .cart-options:has(#checkout-attributes) {
    box-shadow: none !important;
    background: transparent;
    border: 0;
    padding: 0;
}

.spc .order-summary-content #checkout-attributes .opc-field-heading,
.spc .order-summary-content #checkout-attributes .step-title {
    display: block;
    margin: 0 0 10px;
    padding: 0 !important;
    background: none !important;
    color: var(--jupoja-dark, #434242) !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
}

.spc .order-summary-content #checkout-attributes .opc-field-heading strong,
.spc .order-summary-content #checkout-attributes .step-title .title,
.spc .order-summary-content #checkout-attributes .step-title .checkout-options-heading {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.spc .order-summary-content #checkout-attributes .opc-field-heading strong::before,
.spc .order-summary-content #checkout-attributes .step-title .title::before,
.spc .order-summary-content #checkout-attributes .step-title .checkout-options-heading::before {
    display: none !important;
    content: none !important;
}

.spc .order-summary-content #checkout-attributes #checkout-attribute-load,
.spc .order-summary-content #checkout-attributes .checkout-attributes {
    margin: 0;
    padding: 0 !important;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dl {
    margin: 0;
    padding: 0;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dt,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dt {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.45;
    border: 0 !important;
    margin: 0;
    padding: 14px 0 10px;
    position: static;
    text-align: left;
    color: var(--jupoja-dark, #434242);
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dt label,
.spc .order-summary-content #checkout-attributes .checkout-attributes dt .text-prompt {
    display: block;
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.45;
    color: var(--jupoja-dark, #434242);
}

/* Be temos ikonos — švarus tekstas kaip pagalbinė eilutė */
.spc .order-summary-content #checkout-attributes .checkout-attributes dt label::before,
.spc .order-summary-content #checkout-attributes .checkout-attributes dt .text-prompt::before {
    display: none !important;
    content: none !important;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dt .required {
    position: static;
    color: #c62828;
    margin-left: 2px;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd {
    margin: 0 0 4px;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd select {
    display: block;
    width: 100% !important;
    margin: 0;
    padding: 12px 14px !important;
    border: 1px solid #c6ccd0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.45;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    resize: vertical;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd select {
    min-height: 46px;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox {
    min-height: calc(1.45em * 2 + 24px);
    max-height: 240px;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea::placeholder,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox::placeholder {
    color: #9aa3ad;
    opacity: 1;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea:hover,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox:hover,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd select:hover {
    border-color: #9aa3ad !important;
}

.spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea:focus,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox:focus,
.spc .order-summary-content #checkout-attributes .checkout-attributes dd select:focus {
    outline: none;
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    box-shadow: 0 0 0 1px var(--jupoja-yellow, #FCDF00) !important;
}

@media (max-width: 991px) {
    .spc .order-summary-content #checkout-attributes.cart-options {
        margin: 0 0 18px;
    }

    .spc .order-summary-content #checkout-attributes .opc-field-heading,
    .spc .order-summary-content #checkout-attributes .step-title {
        padding: 0 !important;
        margin: 0 0 8px;
        background: none !important;
    }

    .spc .order-summary-content #checkout-attributes .opc-field-heading strong,
    .spc .order-summary-content #checkout-attributes .step-title .title,
    .spc .order-summary-content #checkout-attributes .step-title .checkout-options-heading {
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .spc .order-summary-content #checkout-attributes .checkout-attributes dt {
        padding: 12px 0 8px;
        font-size: 13px;
    }

    .spc .order-summary-content #checkout-attributes .checkout-attributes dt label,
    .spc .order-summary-content #checkout-attributes .checkout-attributes dt .text-prompt {
        font-size: 13px;
        line-height: 1.4;
        color: #5c636a;
    }

    .spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea,
    .spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox,
    .spc .order-summary-content #checkout-attributes .checkout-attributes dd select {
        padding: 11px 12px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
    }

    .spc .order-summary-content #checkout-attributes .checkout-attributes dd textarea,
    .spc .order-summary-content #checkout-attributes .checkout-attributes dd input[type="text"].textbox {
        min-height: calc(1.45em * 2 + 22px);
    }
}

/* Likučio įspėjimas — kompaktiškas, švelnus temos raudonos tonas */
.opc-stock-shortage,
.spc .opc-stock-shortage,
.spc .order-summary-content .cart .opc-stock-shortage,
.spc .order-summary-content .cart td .opc-stock-shortage,
.spc .order-summary-content .cart td.product .opc-stock-shortage,
.checkout-page .opc-stock-shortage,
.html-checkout-page .opc-stock-shortage {
    display: block !important;
    margin: 8px 0 0 !important;
    padding: 6px 10px !important;
    color: var(--jupoja-red, #E31E24) !important;
    background: rgba(227, 30, 36, 0.08) !important;
    border: 1px solid rgba(227, 30, 36, 0.22) !important;
    border-radius: 4px !important;
    font-family: var(--jupoja-font-family, "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.opc-stock-shortage *,
.spc .opc-stock-shortage *,
.checkout-page .opc-stock-shortage *,
.html-checkout-page .opc-stock-shortage * {
    font-family: inherit !important;
    font-weight: 400 !important;
    color: inherit !important;
}

