/*
 * customCss-wishlist.css — Įsimintos (wishlist)
 * Loaded on Wishlist page. Matches jupoja minimal theme.
 */

/* -------------------------------------------------------------------------- */
/* Layout / page                                                              */
/* -------------------------------------------------------------------------- */
.html-wishlist-page .wishlist-page .page-body > .container {
    max-width: 1660px;
    width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 991px) {
    .html-wishlist-page .wishlist-page .page-body > .container {
        width: calc(100% - 32px);
    }
}

.html-wishlist-page .wishlist-page .page-body {
    padding-bottom: 40px;
}

/* -------------------------------------------------------------------------- */
/* Sąrašų mygtukai — atskirtas kūrimas vs pasirinkimas                        */
/* -------------------------------------------------------------------------- */
.html-wishlist-page .wishlist-page .wishlist-lists {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 0 0 24px;
}

.html-wishlist-page .wishlist-page .wishlist-lists__actions {
    display: flex;
    justify-content: flex-start;
}

.html-wishlist-page .wishlist-page .wishlist-lists__tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    border-top: 1px solid #e8ecf1;
}

.html-wishlist-page .wishlist-page .wishlist-lists__label {
    flex: 0 0 auto;
    margin-right: 4px;
    padding-right: 10px;
    border-right: 1px solid #e8ecf1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8f8f8f;
    white-space: nowrap;
}

.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button {
    width: auto;
    min-width: 0;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #e8ecf1;
    border-radius: 4px;
    background: #fff;
    color: var(--jupoja-dark, #434242);
    font-size: 14px;
    font-weight: var(--jupoja-fw-medium, 500);
    box-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    flex: 0 0 auto;
}

.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button:hover {
    background: #fffef5;
    border-color: var(--jupoja-yellow, #FCDF00);
    color: var(--jupoja-dark, #434242);
    box-shadow: none;
}

.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button.active {
    background: var(--jupoja-yellow, #FCDF00);
    border-color: var(--jupoja-yellow, #FCDF00);
    color: var(--jupoja-dark, #434242);
    font-weight: var(--jupoja-fw-bold, 700);
}

/* „Naujas sąrašas“ — aiškus CTA, ne tabas */
.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button.add-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    height: 44px;
    padding: 0 18px;
    border: 1px dashed #c8c8c8;
    border-radius: 8px;
    background: #fff;
    color: var(--jupoja-dark, #434242);
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
}

.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button.add-new::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--jupoja-yellow, #FCDF00);
    color: var(--jupoja-dark, #434242);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button.add-new:hover,
.html-wishlist-page .wishlist-page .button-2.custom-wishlist-button.add-new:focus {
    background: #fffef5;
    border-color: var(--jupoja-yellow, #FCDF00);
    border-style: solid;
    color: var(--jupoja-dark, #434242);
}

@media (min-width: 768px) {
    .html-wishlist-page .wishlist-page .wishlist-lists {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .html-wishlist-page .wishlist-page .wishlist-lists__actions {
        order: 2;
        flex: 0 0 auto;
    }

    .html-wishlist-page .wishlist-page .wishlist-lists__tabs {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        border-top: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .html-wishlist-page .wishlist-page .button-2.custom-wishlist-button.add-new {
        width: auto;
        max-width: none;
    }
}

/* senas .button-row wrapper — jei kur nors likęs */
.html-wishlist-page .wishlist-page .button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    text-align: left;
}

/* -------------------------------------------------------------------------- */
/* Lentelė — švari, be sunkaus juodo header                                   */
/* -------------------------------------------------------------------------- */
.html-wishlist-page .wishlist-content .table-wrapper {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #e8ecf1;
    border-radius: 4px;
    background: #fff;
}

.html-wishlist-page .wishlist-content .cart,
.html-wishlist-page .wishlist-content .cart.wishlist-cart {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    box-shadow: none;
}

.html-wishlist-page .wishlist-content .cart tr,
.html-wishlist-page .wishlist-content .cart.wishlist-cart tr {
    box-shadow: none;
}

.html-wishlist-page .wishlist-content .cart thead th {
    background: #f7f8fa !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 13px !important;
    font-weight: var(--jupoja-fw-bold, 700) !important;
    line-height: 1.35;
    text-align: left;
    padding: 12px 14px !important;
    border: 0;
    border-bottom: 1px solid #e8ecf1;
    white-space: nowrap;
    vertical-align: middle;
}

.html-wishlist-page .wishlist-content .cart tbody td {
    padding: 16px 14px !important;
    border: 0;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle !important;
    font-weight: var(--jupoja-fw-regular, 400);
    color: var(--jupoja-dark, #434242);
    background: #fff;
}

.html-wishlist-page .wishlist-content .cart tbody tr:last-child td {
    border-bottom: 0;
}

.html-wishlist-page .wishlist-content .cart tbody tr:hover td {
    background: #fcfcfd;
}

/* Tuščias „info“ stulpelis — slepiame */
.html-wishlist-page .wishlist-content .cart th.info,
.html-wishlist-page .wishlist-content .cart td.info {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Nuotrauka */
.html-wishlist-page .wishlist-content .cart td.product-picture {
    width: 88px;
}

.html-wishlist-page .wishlist-content .cart td.product-picture a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 1px solid #eef1f5;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.html-wishlist-page .wishlist-content .cart td.product-picture img {
    width: 100%;
    height: 100%;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
}

/* Prekė */
.html-wishlist-page .wishlist-content .cart td.product {
    max-width: 360px;
}

.html-wishlist-page .wishlist-content .cart td.product .product-name {
    display: block;
    font-size: 15px;
    font-weight: var(--jupoja-fw-medium, 500);
    line-height: 1.4;
    color: var(--jupoja-dark, #434242);
    text-decoration: none;
}

.html-wishlist-page .wishlist-content .cart td.product .product-name:hover {
    color: var(--jupoja-blue, #1B47A0);
}

.html-wishlist-page .wishlist-content .cart td.product .wishlist-sku,
.html-wishlist-page .wishlist-content .cart td.sku .sku-number {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #8b939e;
    font-weight: 400;
}

/* SKU stulpelį slepiame — kodas rodomas po pavadinimu */
.html-wishlist-page .wishlist-content .cart th.sku,
.html-wishlist-page .wishlist-content .cart td.sku {
    display: none !important;
}

.html-wishlist-page .wishlist-content .cart td.product .attributes,
.html-wishlist-page .wishlist-content .cart td.product .recurring-info,
.html-wishlist-page .wishlist-content .cart td.product .rental-info {
    margin-top: 6px;
    font-size: 13px;
    color: #5b5b5b;
}

/* Perkėlimas į kitą sąrašą — kompaktiškas */
.html-wishlist-page .wishlist-content .cart td.product .custom-wishlist {
    margin-top: 10px;
}

.html-wishlist-page .wishlist-content .cart td.product .custom-wishlist .td-title {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #8b939e;
}

.html-wishlist-page .wishlist-content .custom-wishlist-dropdown {
    height: 34px;
    min-width: 180px;
    max-width: 100%;
    padding: 0 10px;
    margin-top: 0;
    border: 1px solid #e8ecf1;
    border-radius: 4px;
    background: #fff;
    color: var(--jupoja-dark, #434242);
    font-size: 13px;
    box-shadow: none;
}

.html-wishlist-page .wishlist-content .custom-wishlist-dropdown:focus {
    border-color: var(--jupoja-yellow, #FCDF00);
    outline: none;
    box-shadow: 0 0 0 2px rgba(252, 223, 0, 0.25);
}

/* Kaina / suma */
.html-wishlist-page .wishlist-content .cart td.unit-price .product-unit-price,
.html-wishlist-page .wishlist-content .cart td.subtotal .product-subtotal {
    font-size: 15px;
    font-weight: var(--jupoja-fw-bold, 700);
    color: var(--jupoja-blue, #1B47A0);
    white-space: nowrap;
}

.html-wishlist-page .wishlist-content .cart td.subtotal .discount {
    margin-top: 4px;
    font-size: 12px;
    color: var(--jupoja-red, #E31E24);
}

/* Į krepšelį — checkbox (desktop: 1 stulpelis, mobile: šalia kiekio) */
.html-wishlist-page .wishlist-content .cart td.quantity .wishlist-qty-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.html-wishlist-page .wishlist-content .cart td.quantity .wishlist-qty-block {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.html-wishlist-page .wishlist-content .cart th.add-to-cart,
.html-wishlist-page .wishlist-content .cart td.add-to-cart {
    width: 118px;
    min-width: 118px;
    text-align: left;
    vertical-align: middle !important;
}

.html-wishlist-page .wishlist-content .cart .wishlist-addtocart {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

/* Natyvus checkbox slepiamas — piešiame savo langelį (be Kingdom ::before dvejinimo) */
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-check,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart input.wishlist-addtocart-check,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none;
}

.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-label,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 13px !important;
    font-weight: var(--jupoja-fw-medium, 500) !important;
    line-height: 20px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer;
}

/* Išjungiame Kingdom globalų input~label::before — jis dvejinasi su mūsų langeliu */
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-label::before,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-label::after,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart label::before,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart label::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 16px !important;
    box-sizing: border-box !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #c6ccd0 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: transparent !important;
    font-family: "icomoon" !important;
    font-size: 8px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-check:checked + .wishlist-addtocart-label .wishlist-addtocart-box,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart input[type="checkbox"]:checked + label .wishlist-addtocart-box {
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
}

.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-check:checked + .wishlist-addtocart-label .wishlist-addtocart-box::before,
.html-wishlist-page .wishlist-content .cart .wishlist-addtocart input[type="checkbox"]:checked + label .wishlist-addtocart-box::before {
    content: "\e967" !important;
    display: block !important;
    font-family: "icomoon" !important;
    font-size: 8px !important;
    line-height: 1 !important;
    color: inherit !important;
}

.html-wishlist-page .wishlist-content .cart .wishlist-addtocart-text {
    display: inline-block;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .html-wishlist-page .wishlist-content .cart td.add-to-cart .wishlist-addtocart-label,
    .html-wishlist-page .wishlist-content .cart td.add-to-cart .wishlist-addtocart label {
        display: inline-flex !important;
    }
}

/* Kiekis — horizontalus − / sk. / + (didesni paspaudimai) */
.html-wishlist-page .wishlist-content .cart .cart-quantity,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.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;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: none !important;
    vertical-align: middle;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity input.qty-input,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity input.qty-input,
.html-wishlist-page .wishlist-content .cart td.quantity .qty-input {
    order: 2;
    display: block !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border: none !important;
    border-left: 1px solid #e8ecf1 !important;
    border-right: 1px solid #e8ecf1 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 15px !important;
    font-weight: var(--jupoja-fw-bold, 700) !important;
    line-height: 38px !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button,
.html-wishlist-page .wishlist-content .cart .qty-wrapper.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;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f7f8fa !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.decrement,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.minus,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-decrease {
    order: 1;
}

.html-wishlist-page .wishlist-content .cart .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.plus,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-increase {
    order: 3;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button .icon,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button .icon:before {
    display: none !important;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button::before {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: block !important;
    font-family: "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: inherit !important;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.decrement::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.minus::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-decrease::before {
    content: "−" !important;
}

.html-wishlist-page .wishlist-content .cart .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.plus::before,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button.btn-increase::before {
    content: "+" !important;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button:hover,
.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button:focus {
    background: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
}

.html-wishlist-page .wishlist-content .cart .cart-quantity .qty-button:active {
    background: #ffe84a !important;
}

.html-wishlist-page .wishlist-content .cart td.quantity .qty-dropdown {
    height: 40px;
    min-width: 72px;
    padding: 0 8px;
    border: 1px solid #e8ecf1;
    border-radius: 4px;
    background: #fff;
}

.html-wishlist-page .wishlist-content .cart td.remove-from-cart {
    width: 56px;
    text-align: center;
}

/* Soft remove — be rausvo kvadrato */
.html-wishlist-page .wishlist-content .cart td.remove-from-cart .remove-btn {
    background: transparent !important;
    border-radius: 4px;
}

.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 {
    background: rgba(227, 30, 36, 0.08) !important;
}

/* -------------------------------------------------------------------------- */
/* Apačios mygtukai                                                           */
/* -------------------------------------------------------------------------- */
.html-wishlist-page .wishlist-content .buttons.common-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .button-2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 10px 18px !important;
    border: 1px solid #e8ecf1;
    border-radius: 4px;
    background: #fff;
    color: var(--jupoja-dark, #434242);
    font-size: 14px;
    font-weight: var(--jupoja-fw-medium, 500);
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .button-2::before {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    font-family: "icomoon" !important;
    font-size: 16px !important;
    font-weight: normal !important;
    line-height: 1 !important;
    color: inherit;
    background: none;
    opacity: 1;
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .button-2:hover {
    background: #fffef5;
    border-color: var(--jupoja-yellow, #FCDF00);
    color: var(--jupoja-dark, #434242);
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .wishlist-add-to-cart-button {
    background: var(--jupoja-yellow, #FCDF00);
    border-color: var(--jupoja-yellow, #FCDF00);
    color: var(--jupoja-dark, #434242);
    font-weight: var(--jupoja-fw-bold, 700);
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .wishlist-add-to-cart-button:hover {
    background: #ffe84a;
    border-color: #ffe84a;
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .email-a-friend-wishlist-button::before {
    content: "\e919";
    background: none !important;
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .update-wishlist-button::before {
    content: "\e963";
    background: none !important;
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .delete-wishlist-button {
    border-color: rgba(227, 30, 36, 0.25);
    color: var(--jupoja-red, #E31E24);
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .delete-wishlist-button:hover {
    background: rgba(227, 30, 36, 0.06);
    border-color: var(--jupoja-red, #E31E24);
    color: var(--jupoja-red, #E31E24);
}

.html-wishlist-page .wishlist-content .buttons.common-buttons .delete-wishlist-button::before {
    content: none;
    display: none;
}

/* Dalijimosi nuoroda */
.html-wishlist-page .share-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 1px solid #e8ecf1;
    border-radius: 4px;
    background: #f7f8fa;
    text-align: left;
}

.html-wishlist-page .share-info .share-label {
    font-size: 13px;
    font-weight: var(--jupoja-fw-medium, 500);
    color: #8b939e;
}

.html-wishlist-page .share-info .share-link {
    font-size: 13px;
    color: var(--jupoja-blue, #1B47A0);
    word-break: break-all;
    text-decoration: none;
}

.html-wishlist-page .share-info .share-link:hover {
    text-decoration: underline;
}

/* Tuščias sąrašas */
.html-wishlist-page .wishlist-page .no-data {
    margin: 24px 0;
    padding: 28px 20px;
    border: 1px dashed #e8ecf1;
    border-radius: 4px;
    background: #fafbfc;
    text-align: center;
    font-size: 15px;
    color: #5b5b5b;
}

.html-wishlist-page .wishlist-content .tax-shipping-info {
    margin-top: 12px;
    font-size: 13px;
    color: #8b939e;
}

/* -------------------------------------------------------------------------- */
/* Mobile — kortelės be jsmartable „+“ praskleidimo                            */
/* -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Perrašome kingdom.css table-cell taisykles — wishlist kortelės */
    .html-wishlist-page .wishlist-content .cart tr,
    .html-wishlist-page .wishlist-content .cart tr td,
    .html-wishlist-page .wishlist-content .cart tr td.subtotal {
        display: revert;
    }

    .html-wishlist-page .wishlist-content .table-wrapper {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .html-wishlist-page .wishlist-content .cart thead {
        display: none !important;
    }

    .html-wishlist-page .wishlist-content .cart,
    .html-wishlist-page .wishlist-content .cart tbody {
        display: block;
        width: 100%;
    }

    .html-wishlist-page .wishlist-content .cart tbody tr {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) auto 40px;
        grid-template-areas:
            "pic product product remove"
            "pic price price remove"
            "qty qty cart cart"
            "subtotal subtotal subtotal subtotal";
        gap: 6px 12px;
        align-items: start;
        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-wishlist-page .wishlist-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;
    }

    .html-wishlist-page .wishlist-content .cart td.product-picture {
        grid-area: pic;
        width: 88px !important;
    }

    .html-wishlist-page .wishlist-content .cart td.product-picture a {
        width: 88px;
        height: 88px;
    }

    .html-wishlist-page .wishlist-content .cart td.product-picture img {
        max-width: 88px !important;
        max-height: 88px;
    }

    .html-wishlist-page .wishlist-content .cart td.product {
        grid-area: product;
        max-width: none !important;
        min-width: 0;
    }

    .html-wishlist-page .wishlist-content .cart td.product .product-name {
        font-size: 14px;
        line-height: 1.35;
    }

    .html-wishlist-page .wishlist-content .cart td.unit-price {
        grid-area: price;
        align-self: end;
    }

    .html-wishlist-page .wishlist-content .cart td.unit-price .product-unit-price {
        font-size: 16px;
    }

    .html-wishlist-page .wishlist-content .cart td.quantity {
        grid-area: qty;
        padding-top: 10px !important;
        border-top: 0 !important;
        margin-top: 4px;
        align-self: center;
        min-width: 0;
    }

    .html-wishlist-page .wishlist-content .cart td.quantity .wishlist-qty-row {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }

    .html-wishlist-page .wishlist-content .cart td.quantity .wishlist-qty-block {
        flex: 0 1 auto;
    }

    .html-wishlist-page .wishlist-content .cart td.add-to-cart {
        grid-area: cart;
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        margin: 4px 0 0 !important;
        padding: 10px 0 0 !important;
        border: 0 !important;
        border-top: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        align-self: center;
        justify-self: end;
        text-align: right;
        overflow: visible !important;
        white-space: nowrap !important;
    }

    .html-wishlist-page .wishlist-content .cart td.add-to-cart .wishlist-addtocart {
        margin: 0;
        padding: 0;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        white-space: nowrap !important;
    }

    .html-wishlist-page .wishlist-content .cart td.add-to-cart .wishlist-addtocart-label,
    .html-wishlist-page .wishlist-content .cart td.add-to-cart .wishlist-addtocart label {
        color: var(--jupoja-dark, #434242) !important;
        font-size: 13px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .html-wishlist-page .wishlist-content .cart td.add-to-cart label.td-title {
        display: none !important;
    }

    .html-wishlist-page .wishlist-content .cart td.subtotal {
        grid-area: subtotal;
        display: block !important;
        margin-top: 10px;
        padding-top: 10px !important;
        border-top: 1px solid #eef1f5 !important;
        font-weight: inherit;
    }

    .html-wishlist-page .wishlist-content .cart td.subtotal label.td-title {
        font-size: 13px;
        color: #5b5b5b;
    }

    .html-wishlist-page .wishlist-content .cart td.subtotal .product-subtotal {
        font-size: 18px !important;
        font-weight: var(--jupoja-fw-bold, 700) !important;
        line-height: 1.3;
    }

    .html-wishlist-page .wishlist-content .cart td.remove-from-cart {
        grid-area: remove;
        width: 40px !important;
        min-width: 40px;
        text-align: right !important;
        justify-self: end;
    }

    .html-wishlist-page .wishlist-content .cart td.product .custom-wishlist {
        margin-top: 8px;
    }

    .html-wishlist-page .wishlist-content .cart td label.td-title {
        display: inline-block !important;
        margin: 0 8px 0 0;
        font-size: 12px;
        color: #8b939e;
        font-weight: 500;
        vertical-align: middle;
    }

    .html-wishlist-page .wishlist-content .cart .cart-quantity,
    .html-wishlist-page .wishlist-content .cart .qty-wrapper.cart-quantity {
        vertical-align: middle;
    }

    .html-wishlist-page .wishlist-content .buttons.common-buttons .button-2 {
        flex: 1 1 100%;
    }

    .html-wishlist-page .wishlist-content .cart .jsmartable-collapse,
    .html-wishlist-page .wishlist-content .cart tr.jsmartable-row {
        display: none !important;
    }
}

/* -------------------------------------------------------------------------- */
/* „Naujas sąrašas“ modalas — jupoja stilistika                                */
/* -------------------------------------------------------------------------- */
.ui-dialog.add-new-wishlist-popup,
.add-new-wishlist-popup.ui-dialog {
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: 420px !important;
    padding: 0 !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14) !important;
    overflow: hidden;
    font-family: "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif;
}

.add-new-wishlist-popup .ui-dialog-titlebar,
.add-new-wishlist-popup .ui-widget-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef1f5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
    font-weight: var(--jupoja-fw-bold, 700) !important;
}

.add-new-wishlist-popup .ui-dialog-title {
    display: block;
    width: auto !important;
    max-width: calc(100% - 36px);
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;
    font-size: 17px !important;
    font-weight: var(--jupoja-fw-bold, 700) !important;
    line-height: 1.35 !important;
    color: var(--jupoja-dark, #434242) !important;
}

.add-new-wishlist-popup .ui-dialog-titlebar-close {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 4px !important;
    background: #f7f8fa !important;
    color: var(--jupoja-dark, #434242) !important;
    opacity: 1 !important;
    overflow: visible !important;
    text-indent: 0 !important;
    font-size: 0 !important;
    line-height: 32px !important;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.add-new-wishlist-popup .ui-dialog-titlebar-close:hover,
.add-new-wishlist-popup .ui-dialog-titlebar-close:focus {
    background: #fffef5 !important;
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
}

.add-new-wishlist-popup .ui-dialog-titlebar-close .ui-icon,
.add-new-wishlist-popup .ui-dialog-titlebar-close .ui-button-icon,
.add-new-wishlist-popup .ui-dialog-titlebar-close .ui-button-icon-space,
.add-new-wishlist-popup .ui-dialog-titlebar-close .ui-button-text {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: -9999px !important;
}

.add-new-wishlist-popup .ui-dialog-titlebar-close::before {
    content: "\00d7" !important;
    display: block !important;
    width: 100% !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Open Sans", "Noto Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 32px !important;
    text-align: center !important;
    text-indent: 0 !important;
    color: var(--jupoja-dark, #434242) !important;
    position: relative !important;
    z-index: 2 !important;
}

.add-new-wishlist-popup .ui-dialog-content,
.add-new-wishlist-popup .ui-widget-content {
    padding: 18px !important;
    border: 0 !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242);
}

.add-new-wishlist-popup .add-wishlist-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.add-new-wishlist-popup .add-wishlist-label {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: var(--jupoja-fw-medium, 500);
    line-height: 1.35;
    color: #5b5b5b;
}

.add-new-wishlist-popup .add-wishlist-input,
.add-new-wishlist-popup .add-wishlist-content input {
    display: block;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
    font-size: 15px !important;
    font-weight: var(--jupoja-fw-regular, 400) !important;
    line-height: 42px !important;
    box-shadow: none !important;
    outline: none;
    box-sizing: border-box;
}

.add-new-wishlist-popup .add-wishlist-input:focus,
.add-new-wishlist-popup .add-wishlist-content input:focus {
    border-color: var(--jupoja-yellow, #FCDF00) !important;
    box-shadow: 0 0 0 2px rgba(252, 223, 0, 0.28) !important;
}

.add-new-wishlist-popup .add-wishlist-input::placeholder,
.add-new-wishlist-popup .add-wishlist-content input::placeholder {
    color: #8b939e;
    opacity: 1;
}

.add-new-wishlist-popup .add-wishlist-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 6px;
}

.add-new-wishlist-popup .add-wishlist-actions .button-2,
.add-new-wishlist-popup .add-wishlist-content button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: var(--jupoja-fw-bold, 700) !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.add-new-wishlist-popup .add-wishlist-cancel {
    border: 1px solid #e8ecf1 !important;
    background: #fff !important;
    color: var(--jupoja-dark, #434242) !important;
}

.add-new-wishlist-popup .add-wishlist-cancel:hover,
.add-new-wishlist-popup .add-wishlist-cancel:focus {
    background: #f7f8fa !important;
    border-color: #d9dee6 !important;
}

.add-new-wishlist-popup .wishlist-add-custom-button {
    border: 1px solid var(--jupoja-yellow, #FCDF00) !important;
    background: var(--jupoja-yellow, #FCDF00) !important;
    color: var(--jupoja-dark, #434242) !important;
}

.add-new-wishlist-popup .wishlist-add-custom-button:hover,
.add-new-wishlist-popup .wishlist-add-custom-button:focus {
    background: #f5d400 !important;
    border-color: #f5d400 !important;
    color: var(--jupoja-dark, #434242) !important;
}

/* Overlay — švelnesnis, be sunkaus šešėlio jausmo */
.ui-widget-overlay {
    background: rgba(15, 23, 42, 0.35) !important;
    opacity: 1 !important;
}

@media (max-width: 480px) {
    .add-new-wishlist-popup .add-wishlist-actions {
        flex-direction: column-reverse;
    }

    .add-new-wishlist-popup .add-wishlist-actions .button-2,
    .add-new-wishlist-popup .add-wishlist-content button {
        width: 100%;
    }
}
