/* Bundle tier displayed by WooCommerce's native item-data component. */
.wc-block-components-product-details__rinkinio-nuolaida{display:flex;align-items:center;gap:.4rem;margin-top:.3rem;color:var(--wp--preset--color--brand);font-family:var(--wp--preset--font-family--body);font-size:var(--wp--preset--font-size--small);font-weight:var(--wp--custom--typography--weight--emphasis,500);line-height:1.35}
.wc-block-components-product-details__rinkinio-nuolaida:before{content:"";display:inline-block;width:.875rem;height:.875rem;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h8.6l9.8 9.8a2 2 0 0 1 0 2.8l-5.8 5.8a2 2 0 0 1-2.8 0L3 11.6V3Zm5.1 2.5a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2Z'/%3E%3C/svg%3E") center/contain no-repeat}
.wc-block-components-product-details__rinkinio-nuolaida .wc-block-components-product-details__name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wc-block-components-product-details__rinkinio-nuolaida .wc-block-components-product-details__value{color:inherit;font:inherit}

/* Mini cart: show the selected variation immediately below the product name. */
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata{display:contents}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-name{order:0}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-backorder-badge{order:1}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata>[data-wp-context*='"variation"']{order:2}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-cart-item__prices{order:3}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata>[data-wp-watch]{order:4}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata>[data-wp-context*='"item_data"']{order:5}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-cart-item__quantity{order:6}

/* Keep the active bundle tier beside the discounted unit price. The native
   item-data remains available to assistive technology and as a JS fallback. */
.wc-block-components-product-details__rinkinio-nuolaida.bz-bundle-tier-moved{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;clip-path:inset(50%)!important;white-space:nowrap!important}
.wc-block-cart-item__prices .price[data-bz-bundle-tier]{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.3rem;row-gap:.12rem;min-width:0;max-width:100%}
.wc-block-cart-item__prices .price[data-bz-bundle-tier]::after{content:attr(data-bz-bundle-tier);display:inline-block;flex:0 0 auto;max-width:100%;min-width:0;padding:3px 7px 3px 25px;border:1px solid var(--wp--preset--color--wax-green,#5F7650);border-radius:var(--wp--custom--radius--card,4px);background-color:var(--wp--preset--color--success-surface,#E8F1E9);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23244F3E' d='M3 3h8.6l9.8 9.8a2 2 0 0 1 0 2.8l-5.8 5.8a2 2 0 0 1-2.8 0L3 11.6V3Zm5.1 2.5a1.6 1.6 0 1 0 0 3.2a1.6 1.6 0 0 0 0-3.2Z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:.38em center;background-size:16px 16px;color:var(--wp--preset--color--brand,#244F3E);font-family:var(--wp--preset--font-family--body,inherit);font-size:12px;font-weight:700;line-height:1.25;text-transform:uppercase;white-space:nowrap;overflow-wrap:normal}
.wc-block-cart-items__row .wc-block-cart-item__prices:has(.price[data-bz-bundle-tier]){flex-wrap:wrap;align-items:flex-start;gap:.2rem 0}
.wc-block-cart-items__row .wc-block-cart-item__prices:has(.price[data-bz-bundle-tier]) .bz-cart-unit-price{flex:0 0 100%}
.wc-block-components-order-summary-item__description:has(.price[data-bz-bundle-tier]){grid-template-columns:minmax(0,1fr)}
.wc-block-components-order-summary-item__description:has(.price[data-bz-bundle-tier])>.wc-block-cart-item__prices{grid-column:1;grid-row:2;justify-self:start;max-width:100%}
.wc-block-components-order-summary-item__description:has(.price[data-bz-bundle-tier])>.wc-block-components-product-metadata{grid-column:1;grid-row:3}

.wc-block-components-product-details__rinkinio-nuolaida:not(.bz-bundle-tier-moved){width:max-content;max-width:100%;padding:.18em .46em;border:1px solid var(--wp--preset--color--wax-green,#5F7650);border-radius:var(--wp--custom--radius--card,4px);background:var(--wp--preset--color--success-surface,#E8F1E9);font-size:12px;font-weight:700;text-transform:uppercase}

/* Shared price hierarchy: label above original/current prices and bundle badge. */
.wc-block-cart-item__prices:has(.price[data-bz-bundle-tier]){display:flex!important;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-width:0;max-width:100%}
.wc-block-cart-item__prices:has(.price[data-bz-bundle-tier])>.bz-cart-unit-price{flex:none!important;margin:0;line-height:1.35}
.wc-block-cart-item__prices:has(.price[data-bz-bundle-tier])>.price[data-bz-bundle-tier]{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;width:100%;min-width:0;margin:0}
.wc-block-cart-item__prices .price[data-bz-bundle-tier]>.wc-block-components-product-price__regular{flex:0 0 auto;margin:0;padding:0;text-align:left;line-height:1.35}
.wc-block-cart-item__prices .price[data-bz-bundle-tier]>.wc-block-components-product-price__value.is-discounted{flex:0 0 auto;font-weight:700}
.wc-block-cart-item__prices .price[data-bz-bundle-tier]::after{box-sizing:border-box;font-size:12px;font-weight:700;background-size:16px 16px;line-height:1.35}
.wc-block-mini-cart__drawer .wc-block-cart-item__prices::before,.wc-block-components-order-summary-item__description .wc-block-cart-item__prices::before{content:"Vieneto kaina:";display:block;font-family:var(--wp--preset--font-family--body,inherit);font-size:12px;font-weight:400;line-height:1.35;color:var(--wp--preset--color--text,#62625B)}
.wc-block-mini-cart__drawer .wc-block-cart-item__prices{display:flex;flex-direction:column!important;align-items:flex-start;gap:3px}
.wc-block-mini-cart__drawer .wc-block-components-product-metadata>[data-wp-context*='"variation"']>span:not([hidden]){display:block;margin:0 0 5px}
.wc-block-mini-cart__drawer .wc-block-components-product-metadata>[data-wp-context*='"variation"'] .wc-block-components-product-details__name{display:block;font-weight:400;line-height:1.35}
.wc-block-mini-cart__drawer .wc-block-components-product-metadata>[data-wp-context*='"variation"'] .wc-block-components-product-details__value{display:block;font-weight:700;line-height:1.35}
.wc-block-components-product-details__rinkinio-nuolaida .wc-block-components-product-details__value{font-weight:700}
.wc-block-components-product-details__rinkinio-nuolaida:before{width:16px;height:16px}

/* Use the space below the line total for the unit-price row. */
.wc-block-mini-cart__drawer .wc-block-cart-items__row{display:grid;grid-template-columns:64px minmax(0,1fr) max-content!important;column-gap:16px;row-gap:7px;align-items:start}
.wc-block-mini-cart__drawer .wc-block-cart-item__image{grid-column:1;grid-row:1/span 5;width:64px!important;padding:0!important}
.wc-block-mini-cart__drawer .wc-block-cart-item__product,.wc-block-mini-cart__drawer .wc-block-cart-item__wrap{display:contents!important}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-name:not([hidden]){grid-column:2;grid-row:1;margin:0}
.wc-block-mini-cart__drawer .wc-block-cart-item__total{grid-column:3;grid-row:1;padding:0!important;width:auto!important}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata>[data-wp-context*='"variation"']{grid-column:2/-1;grid-row:2;margin:0}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-cart-item__prices{grid-column:2/-1;grid-row:3;margin:0}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata>[data-wp-context*='"item_data"']{grid-column:2/-1;grid-row:4}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-components-product-metadata>[data-wp-watch]{grid-column:2/-1;grid-row:4}
.wc-block-mini-cart__drawer .wc-block-components-product-metadata>[data-wp-watch]:has(.wc-block-components-product-metadata__description:empty){display:none}
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap>.wc-block-cart-item__quantity{grid-column:2/-1!important;grid-row:5!important;margin:0}

body .wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-cart-item__wrap>.wc-block-cart-item__prices{display:block!important}
body .wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-cart-item__prices::before{margin-bottom:3px}

/* Show the selected variation before the unit price in cart and checkout. */
.wp-block-woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__wrap>.wc-block-components-product-metadata{grid-column:2!important;grid-row:2!important}
.wp-block-woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__wrap>.wc-block-cart-item__prices{grid-column:2!important;grid-row:3!important}
.wc-block-components-order-summary-item__description>.wc-block-components-product-metadata{grid-column:1!important;grid-row:2!important}
.wc-block-components-order-summary-item__description>.wc-block-cart-item__prices{grid-column:1!important;grid-row:3!important}

/* Match the mini-cart label/value rhythm in the full cart and checkout. */
:is(.wp-block-woocommerce-cart .wc-block-cart-items__row,.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description) .wc-block-components-product-details__spalva{display:block!important;margin:0 0 5px!important;font-size:12px;line-height:1.35}
:is(.wp-block-woocommerce-cart .wc-block-cart-items__row,.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description) .wc-block-components-product-details__spalva>.wc-block-components-product-details__name{display:block!important;font-size:12px;font-weight:400;line-height:1.35}
:is(.wp-block-woocommerce-cart .wc-block-cart-items__row,.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description) .wc-block-components-product-details__spalva>.wc-block-components-product-details__value{display:block!important;font-size:12px;font-weight:700;line-height:1.35}
.wp-block-woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__prices,.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description>.wc-block-cart-item__prices{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;margin-top:0!important}
.wp-block-woocommerce-cart .wc-block-cart-items__row .bz-cart-unit-price{display:block!important;flex:none!important;margin:0!important;line-height:1.35}
.wp-block-woocommerce-cart .wc-block-cart-items__row .bz-cart-unit-price-label{display:block!important;font-size:12px;font-weight:400;line-height:1.35}
.wp-block-woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__prices>.price,.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description>.wc-block-cart-item__prices>.price{margin:0!important;min-width:0}

/* One disclosure owns one panel below its trigger. Native Woo data stays in
   place for React/Interactivity updates; only the presentation copy is shown. */
body .bz-cart-detail--folded{display:none!important}
body .bz-cart-secondary-suppressed{display:none!important}
body .bz-cart-details-disclosure.bz-cart-details-disclosure--summary{border:1px solid var(--wp--preset--color--line,#E3DED4);border-radius:10px;margin:6px 0;padding:0;list-style:none;background:rgba(255,255,255,.35);box-shadow:none}
body .bz-cart-details-ready .bz-cart-details-disclosure--summary>.bz-cart-details-toggle{width:100%;min-height:46px;padding:11px 13px;font-size:13px;justify-content:flex-start;gap:10px;text-decoration:none}
body .bz-cart-details-disclosure--summary>.bz-cart-details-toggle::before{content:'';flex:0 0 18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5ZM3 8v9l9 5 9-5V8M12 13v9M7.5 5.5l9 5v4'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
body .bz-cart-details-disclosure--summary>.bz-cart-details-toggle::after{margin-left:auto}
body .bz-cart-details-ready .bz-cart-details-disclosure--summary>.bz-cart-details-toggle:is(:hover,[aria-expanded=true]){background:#EAF0E8}
body .bz-cart-details-ready .bz-cart-details-disclosure--summary>.bz-cart-details-toggle:focus-visible{outline-offset:-3px;border-radius:8px}
body .bz-cart-details-disclosure--summary>.bz-cart-details-panel{padding:12px 13px 6px;margin:0;background:rgba(255,255,255,.25)}
body .bz-cart-details-ready>.wc-block-components-product-metadata{display:flex!important;flex-direction:column;align-items:stretch;gap:4px;min-width:0;margin-block:4px 0}
body .bz-cart-details-disclosure{box-sizing:border-box;min-width:0;width:100%;max-width:100%;margin:2px 0 4px;border:1px solid var(--wp--preset--color--border,#D8D0C2);border-radius:var(--wp--custom--radius--control,10px);overflow:hidden;background:transparent}
body .bz-cart-details-ready .bz-cart-details-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:10px 12px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--wp--preset--color--brand,#314f42);font:500 12px/1.4 var(--wp--preset--font-family--body,inherit);text-align:left;text-decoration:none;cursor:pointer;white-space:normal}
.bz-cart-details-toggle::after{content:'';flex:0 0 7px;height:7px;margin:0 2px 4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.bz-cart-details-toggle[aria-expanded=true]::after{transform:rotate(225deg);margin-block:4px 0}
body .bz-cart-details-ready .bz-cart-details-toggle:is(:hover,[aria-expanded=true]){background:var(--wp--preset--color--success-surface,#E8F1E9);color:var(--wp--preset--color--brand-hover,#22392d)}
body .bz-cart-details-ready .bz-cart-details-toggle:focus-visible{outline:2px solid var(--wp--preset--color--brand,#314f42);outline-offset:-3px;border-radius:var(--wp--custom--radius--control,10px)}
body .bz-cart-details-panel[hidden]{display:none!important}
body .bz-cart-details-panel{box-sizing:border-box;min-width:0;max-width:100%;padding:12px;border-top:1px solid var(--wp--preset--color--border,#D8D0C2);font:400 12px/1.55 var(--wp--preset--font-family--body,inherit);color:var(--wp--preset--color--text,#62625B);text-align:left;overflow-wrap:anywhere}
body .bz-cart-details-panel__entry+.bz-cart-details-panel__entry{margin-top:10px;padding-top:10px;border-top:1px solid var(--wp--preset--color--border,#D8D0C2)}
body .bz-cart-details-panel__label{display:block;margin:0 0 3px;font-weight:500;color:var(--wp--preset--color--brand,#314f42)}
body .bz-cart-details-panel p{font-size:inherit;line-height:inherit;text-align:left;margin:0 0 6px}
body .bz-cart-details-panel p:last-child{margin-bottom:0}
body .bz-cart-details-panel ul{margin:6px 0 0;padding:0;list-style:none}
body .bz-cart-details-panel li{margin:0;padding:7px 0;line-height:1.5}
body .bz-cart-details-panel li+li{border-top:1px solid var(--wp--preset--color--border,#D8D0C2)}
body .bz-cart-details-panel .bz-cart-component{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;font-size:13px;line-height:1.5}
body .bz-cart-component__quantity{display:flex;align-items:center;justify-content:center;min-height:28px;border-radius:6px;background:#EAF0E8;color:var(--wp--preset--color--brand,#314E40);font-size:12px;font-weight:500;white-space:nowrap}
body .bz-cart-component__copy{min-width:0;overflow-wrap:anywhere}
body .bz-cart-component__name{display:block;color:var(--wp--preset--color--graphite,#242421);font-weight:500}
body .bz-cart-component__colours{display:block;font-size:12px;line-height:1.5;margin-top:3px;color:var(--wp--preset--color--text,#62625B)}
/* A disclosure needs reading width on a phone. Keep the price near the
   product title and let its information panel use the full card width. */
@media(max-width:781px){
 body .wp-block-woocommerce-cart .wc-block-cart-items__row .bz-cart-details-ready>.wc-block-components-product-metadata{grid-column:1/4!important;grid-row:3!important}
 body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart-items__row:not(.bz-gift-cart-child) .wc-block-cart-item__wrap.bz-cart-details-ready>.wc-block-cart-item__prices{grid-area:2 / 2 / 3 / 4!important}
}
@media(min-width:782px){
 body .wp-block-woocommerce-cart .wc-block-cart-items__row .bz-cart-details-ready>.wc-block-components-product-metadata{grid-row:3!important}
 body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__wrap.bz-cart-details-ready>.wc-block-cart-item__prices{grid-row:2!important}
}
/* In the drawer metadata is one auto-height cell, avoiding overlapping rows
   when the native Interactivity description and item-data are both present. */
body .wc-block-mini-cart__drawer .bz-cart-details-ready>.wc-block-components-product-metadata{grid-column:2/-1;grid-row:2;margin:0}
body .wc-block-mini-cart__drawer .bz-cart-details-ready>.wc-block-components-product-metadata>[data-wp-context*='"variation"']{order:0}
body .wc-block-mini-cart__drawer .bz-cart-details-ready>.wc-block-components-product-metadata>[data-wp-context*='"item_data"']{order:1}
body .wc-block-mini-cart__drawer .bz-cart-details-ready>.wc-block-components-product-metadata>.bz-cart-details-disclosure{order:2}
body .wc-block-mini-cart__drawer .bz-cart-details-ready>.wc-block-components-product-metadata>[data-wp-watch]{order:3}
body .wc-block-mini-cart__drawer .bz-cart-details-ready>.wc-block-cart-item__quantity{grid-row:4!important}
body .wc-block-mini-cart__drawer .bz-cart-details-ready .wc-block-components-product-details>span:not([hidden]):not(.bz-cart-detail--folded){display:block;margin-block:2px}
body .wc-block-mini-cart__drawer .bz-cart-details-ready .wc-block-components-product-details>span>span[aria-hidden]{display:none}

/* Product thumbnails and readable per-set quantity badges. */
body .bz-cart-details-panel .bz-cart-component{grid-template-columns:56px minmax(0,1fr);gap:14px;align-items:center;padding:12px 0}
body .bz-cart-component__media{position:relative;display:grid;place-items:center;width:56px;min-height:56px;border-radius:8px;background:var(--wp--preset--color--section-alternate,#F1EAE0)}
body .bz-cart-component__media>img{display:block;width:56px;height:56px;max-width:100%;object-fit:cover;border-radius:8px;margin:0}
body .bz-cart-component__media>.bz-cart-component__quantity{position:absolute;bottom:-4px;right:-5px;min-height:22px;padding:0 6px;border:2px solid var(--wp--preset--color--surface-light,#FBFAF8);border-radius:20px;background:var(--wp--preset--color--brand,#314E40);color:#fff;font-size:11px;line-height:1.4}
