/* PikoBello Store Fixes – WooCommerce ir TT5 block šablonai PikoBello stiliumi.
   Taikoma tik body.pb-block-template (Woo, 404, paieška); PB custom puslapių nekeičia. */

body.pb-block-template {
	--pb-graphite: var(--pb-ink, #252523);
	--pb-sage-700: #68765b;
	--pb-surface: #fff;
	--wp--style--root--padding-left: 5%;
	--wp--style--root--padding-right: 5%;
	background: var(--pb-ivory, #f7f2ea);
	color: var(--pb-graphite);
}
body.pb-block-template .wp-site-blocks { padding-top: 0; padding-bottom: 0; }
body.pb-block-template .wp-site-blocks > * { margin-block-start: 0; }
body.pb-block-template .pb-header { position: relative; }

/* Turinio plotis sutampa su PB header (1440 px, 5 % kraštai). */
body.pb-block-template main { max-width: 1440px; margin-inline: auto; padding-inline: 5% !important; }
@media (max-width: 700px) { body.pb-block-template main { padding-inline: 6% !important; } }
body.pb-block-template main .has-global-padding { padding-left: 0; padding-right: 0; }
body.pb-block-template main .alignwide { max-width: 100%; }

/* Tipografija */
body.pb-block-template main h1,
body.pb-block-template main .wp-block-query-title,
body.pb-block-template main .wp-block-post-title {
	font-family: Literata, Georgia, serif;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.1;
	font-size: clamp(36px, 5vw, 56px);
}
body.pb-block-template main h2 { font-family: Literata, Georgia, serif; font-weight: 400; }
body.pb-block-template main p,
body.pb-block-template main li { font-size: 16px; line-height: 1.6; }
body.pb-block-template main a { text-decoration: underline; text-underline-offset: 3px; }
body.pb-block-template .woocommerce-breadcrumb,
body.pb-block-template .wc-block-breadcrumbs { font-size: 12px; color: var(--pb-text-muted); margin-top: 4px; }
body.pb-block-template .term-description,
body.pb-block-template .wc-block-components-product-description { max-width: 70ch; }

/* Mygtukai: vienas primary stilius */
body.pb-block-template .wp-element-button,
body.pb-block-template .wp-block-button__link,
body.pb-block-template .wc-block-components-button:not(.is-link),
body.pb-block-template .woocommerce-button,
body.pb-block-template .button {
	background: var(--pb-graphite);
	color: var(--pb-ivory, #f7f2ea);
	border: 1px solid var(--pb-graphite);
	border-radius:var(--pb-radius-pill);
	min-height: 48px;
	padding: 12px 26px;
	font: 600 14px/1.2 Manrope, sans-serif;
	text-decoration: none;
	box-shadow: none;
}
body.pb-block-template .wp-element-button:hover,
body.pb-block-template .wc-block-components-button:not(.is-link):hover,
body.pb-block-template .button:hover { background: #3a3a37; color: var(--pb-ivory, #f7f2ea); }

/* Įvesties laukai */
body.pb-block-template input[type="text"],
body.pb-block-template input[type="email"],
body.pb-block-template input[type="tel"],
body.pb-block-template input[type="password"],
body.pb-block-template input[type="search"],
body.pb-block-template input[type="number"],
body.pb-block-template select,
body.pb-block-template textarea,
body.pb-block-template .wc-block-components-text-input input {
	background: var(--pb-surface);
	border: 1px solid var(--pb-line, #d8d2c8);
	border-radius:var(--pb-radius-sm);
	min-height: 48px;
	padding: 10px 14px;
	font: 400 16px/1.4 Manrope, sans-serif;
	color: var(--pb-graphite);
}
body.pb-block-template :is(input, select, textarea, button, a, summary):focus-visible {
	outline: 3px solid var(--pb-sage-700);
	outline-offset: 2px;
}
body.pb-block-template input.wp-block-search__input { border-radius:var(--pb-radius-pill); padding-inline: 20px; }

/* Tuščios būsenos (kategorija, paieška, 404, krepšelis) */
body.pb-block-template .wc-block-product-template__responsive:empty { display: none; }
body.pb-block-template .wp-block-woocommerce-product-collection-no-results,
body.pb-block-template .wc-block-product-collection__no-results {
	text-align: left;
	padding: 32px;
	background: #e7e9df;
	border-left: 3px solid var(--pb-sage-700);
	border-radius:var(--pb-radius-sm);
	margin-block: 32px;
}
body.pb-block-template .wc-block-cart__empty-cart__title { font-family: Literata, Georgia, serif; font-weight: 400; }
body.pb-block-template .wc-block-cart__empty-cart__title::before,
body.pb-block-template .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: none !important; /* be „verkiančio“ veido */
}
body.pb-block-template .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }

/* Produktų tinklelis */
body.pb-block-template .wc-block-product-template { gap: 32px 20px; }
body.pb-block-template .wc-block-components-product-image img,
body.pb-block-template ul.products li.product a img,
body.pb-block-template .wc-block-product img { aspect-ratio: 4 / 5; object-fit: cover; background: #ede8df; border-radius:var(--pb-radius-sm); }
body.pb-block-template .wc-block-components-product-price { font-weight: 600; }
@media (max-width: 700px) {
	body.pb-block-template .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 14px; }
}

/* Krepšelis ir apmokėjimas */
body.pb-block-template .wc-block-cart,
body.pb-block-template .wc-block-checkout { margin-top: 24px; }
body.pb-block-template .wc-block-components-sidebar .wc-block-components-panel,
body.pb-block-template .wc-block-components-totals-wrapper { border-color: var(--pb-line, #d8d2c8); }
body.pb-block-template .wc-block-components-validation-error { color: #a1332a; }

/* Paskyra */
body.pb-block-template .woocommerce-form-login,
body.pb-block-template .woocommerce-form-register {
	background: var(--pb-surface);
	border: 1px solid var(--pb-line, #d8d2c8);
	border-radius:var(--pb-radius-sm);
	padding: 28px;
	max-width: 480px;
}

/* Paieška header'yje */
.pb-nav-search { display: none; }
.pb-nav-search input[type="search"] { flex: 1; min-width: 0; }
.pb-nav-search button {
	min-height: 48px; padding: 0 20px; border: 0; border-radius:var(--pb-radius-pill);
	background: var(--pb-ink, #252523); color: var(--pb-ivory, #f7f2ea); font-weight: 600; cursor: pointer;
}
@media (min-width: 701px) {
	.pb-header.pb-search-open .pb-nav-search {
		display: flex; gap: 8px; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
		width: min(440px, 90vw); padding: 12px; background: var(--pb-ivory, #f7f2ea);
		border: 1px solid var(--pb-line, #d8d2c8); border-radius:var(--pb-radius-sm); box-shadow: 0 15px 30px #25252314;
	}
}
@media (max-width: 700px) {
	.pb-nav.is-open .pb-nav-search { display: flex; gap: 8px; order: -1; margin-bottom: 6px; }
	.pb-nav.is-open .pb-nav-search input[type="search"] { border-radius:var(--pb-radius-pill); }
}

/* Footer heading eilė TT5 šablonuose */
.pb-store .pb-footer h2.pb-footer-title { font: 600 12px/15px Manrope, sans-serif !important; letter-spacing: -0.1px; text-transform: none; color: var(--pb-ink, #252523); margin: 0 0 18px; }

/* Ekrano skaitytuvams */
.pb-store .screen-reader-text:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Logotipas (tos pačios taisyklės kaip PB puslapiuose) */
.pb-store img.pb-logo-img { height: auto !important; width: auto !important; max-width: 154px !important; }
@media (max-width: 700px) { .pb-store img.pb-logo-img { max-width: 132px !important; } }
.pb-store footer img.pb-logo-img { max-width: 100% !important; }

/* alignfull blokai neturi išlįsti už main kraštų */
body.pb-block-template main .alignfull { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; width: auto; }


/* PB dropdown navigacija (kopija iš PB kodo, kad veiktų ir WooCommerce šablonuose) */
.pb-store .pb-header{position:relative;z-index:30}.pb-store .pb-nav{align-items:center;gap:14px}.pb-store details.pb-nav-group{position:relative;border:0;padding:0;margin:0;font-size:13px}.pb-store .pb-nav-group>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:48px;padding:8px 0;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.pb-nav-group>summary::-webkit-details-marker{display:none}.pb-nav-group[open]>summary{color:#59694c}.pb-nav-group[open]>summary svg{transform:rotate(180deg)}.pb-nav-dropdown{position:absolute;top:100%;left:-22px;width:320px;max-width:85vw;padding:16px 18px 18px;background:#fffdf8;border:1px solid #d8d2c8;border-radius:0 0 var(--pb-radius-lg) var(--pb-radius-lg);box-shadow:0 18px 36px #2525231a;z-index:40;max-height:65vh;overflow-y:auto}.pb-store .pb-nav-dropdown a{display:flex;align-items:center;min-height:44px;padding:9px 12px;font-size:12px;font-weight:400;border-radius:var(--pb-radius-sm);line-height:1.45;white-space:normal}.pb-store .pb-nav-dropdown a:hover,.pb-store .pb-nav-dropdown a:focus-visible{background:#e7e9df;color:#252523;text-decoration:none}.pb-store .pb-nav-dropdown a[aria-current=page]{background:#e7e9df;font-weight:700}.pb-store .pb-nav-dropdown .pb-nav-all{justify-content:space-between;font-weight:700;border-bottom:1px solid #d8d2c8;margin-bottom:8px;padding-bottom:13px;border-radius:0}.pb-store .pb-nav-dropdown ul{list-style:none;padding:0;margin:0}.pb-store .pb-nav-dropdown li{padding:0;margin:0}.pb-nav-about{display:flex;align-items:center;min-height:48px;white-space:nowrap}.pb-nav-group:last-of-type .pb-nav-dropdown{left:auto;right:-22px}@media(min-width:701px) and (max-width:1100px){.pb-store .pb-nav{gap:9px}.pb-store .pb-nav-group>summary,.pb-nav-about{font-size:11px}.pb-store .pb-header{gap:15px}.pb-store .pb-nav-group>summary{gap:4px}}@media(max-width:700px){.pb-store .pb-nav{align-items:stretch;gap:0;max-height:75vh;overflow-y:auto}.pb-store details.pb-nav-group{width:100%;border-bottom:1px solid #d8d2c8}.pb-store .pb-nav-group>summary{justify-content:space-between;font-size:14px;min-height:50px}.pb-store .pb-nav-dropdown,.pb-store .pb-nav-group:last-of-type .pb-nav-dropdown{position:static;width:100%;max-width:none;max-height:none;padding:0 0 14px;border:0;box-shadow:none;background:transparent;border-radius:0}.pb-store .pb-nav-dropdown a{padding-left:14px;min-height:44px}.pb-nav-about{font-size:14px}.pb-store:not(.pb-js) .pb-nav{max-height:none;overflow:visible}}

/* Apmokėjimo header */
.pb-header.pb-header--checkout { display: grid !important; grid-template-columns: 1fr auto 1fr !important; align-items: center; height: 78px; }
.pb-header--checkout .pb-logo { grid-row: 1 !important; grid-column: 2 !important; justify-self: center; }
.pb-checkout-back { white-space: nowrap; grid-column: 1; grid-row: 1; justify-self: start; font-size: 13px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.pb-checkout-secure { justify-self: end; font-size: 12px; color: var(--pb-text-muted); }
@media (max-width: 700px) { .pb-checkout-secure { display: none; } }

/* Tarpas po header ir tuščias krepšelis */
body.pb-block-template main { padding-top: 28px; padding-bottom: 72px; }
body.pb-block-template .wc-block-cart__empty-cart__title { font-size: clamp(24px, 3vw, 32px) !important; margin-top: 24px; }
body.pb-block-template .pb-empty-cart-cta { text-align: center; margin: 20px 0 8px; }
body.pb-block-template .wp-block-woocommerce-empty-cart-block:not(:has(.wc-block-product)) h2:not(.wc-block-cart__empty-cart__title) { display: none; }

/* 404: be dekoratyvios nuotraukos – vienas stulpelis */
body.error404.pb-block-template main .wp-block-columns { display: block; }
body.error404.pb-block-template main .wp-block-column:not(:has(*)) { display: none; }
body.error404.pb-block-template main .wp-block-column { max-width: 640px; }

/* PB pradinis puslapis: H1 neišlenda 768 px ir neužeina ant 3D scenos; mažesnė scena telefone */
@media (min-width: 701px) { body.pb-store .pb-hero h1 { white-space: normal; } body.pb-store .pb-hero h1 em { display: block; } }
@media (min-width: 701px) and (max-width: 1000px) { body.pb-store .pb-hero h1 { font-size: clamp(40px, 5.6vw, 54px); } }
@media (max-width: 700px) { body.pb-store .pb-scene { height: 230px; margin-bottom: 0; } }

/* 1.1: paieška ir PB puslapiuose */
.pb-store .pb-header { position: relative; }

/* 1.1: antrinis hero mygtukas */
.pb-store .pb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pb-store .pb-actions a.pb-button.secondary { color: var(--pb-ink, #252523) !important; background: transparent; }
.pb-store .pb-actions a.pb-button.secondary:hover { background: #e7e9df; border-color: var(--pb-ink, #252523); }

/* 1.1: mobilaus meniu fonas */
.pb-nav-backdrop { position: fixed; inset: 0; z-index: 15; background: rgba(37, 37, 35, 0.32); }
.pb-nav-backdrop[hidden] { display: none; }
html.pb-nav-locked, html.pb-nav-locked body { overflow: hidden; }
@media (max-width: 700px) { .pb-store .pb-header { z-index: 30; } .pb-store .pb-nav.is-open { z-index: 31; } }
.pb-store .pb-nav-search input[type="search"] { min-height: 48px; border: 1px solid var(--pb-line, #d8d2c8); border-radius:var(--pb-radius-pill); padding: 10px 18px; background: #fff; font: 400 16px/1.4 Manrope, sans-serif; color: var(--pb-ink, #252523); }

/* ===== 1.2: prekės kortelė ===== */
body.pb-block-template .wc-block-product { position: relative; }
body.pb-block-template .wc-block-product .wp-block-post-title,
body.pb-block-template .wc-block-product h2,
body.pb-block-template .wc-block-product h3 {
	font: 600 15px/1.35 Manrope, sans-serif !important; letter-spacing: 0; text-align: left;
	display: -webkit-box !important; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important; margin: 10px 0 4px !important;
}
body.pb-block-template .wc-block-product .wp-block-post-title a { text-decoration: none; }
body.pb-block-template .wc-block-product .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; } /* visa kortelė paspaudžiama */
body.pb-block-template .wc-block-product .wp-block-woocommerce-product-price { text-align: left !important; font-size: 15px; }
body.pb-block-template .wc-block-product .wp-block-woocommerce-product-button { display: none; }
body.pb-block-template .wc-block-product { text-align: left; }
.pb-store .pb-age { margin: 2px 0 0; font-size: 13px; color: #59694c; font-weight: 600; }

/* ===== 1.2: kategorija ===== */
body.pb-block-template .pb-cat-lead { max-width: 60ch; color: var(--pb-text-secondary); margin: 4px 0 20px; }
.pb-age-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 20px; }
.pb-age-chips-label { font-size: 13px; font-weight: 600; margin-right: 4px; }
.pb-store .pb-age-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--pb-line, #d8d2c8); border-radius:var(--pb-radius-pill); font-size: 13px; text-decoration: none; background: #fff; }
.pb-store .pb-age-chips a[aria-current="true"] { background: var(--pb-ink, #252523); color: var(--pb-ivory, #f7f2ea); border-color: var(--pb-ink, #252523); }
.pb-cat-guide { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--pb-line, #d8d2c8); max-width: 75ch; }
.pb-cat-guide h2 { font-size: 24px !important; margin: 0 0 12px; }
.pb-cat-guide p { font-size: 15px; color: var(--pb-text-secondary); }
body.pb-block-template .woocommerce-ordering select { min-height: 44px; border-radius:var(--pb-radius-pill); padding: 6px 16px; }
body.pb-block-template .woocommerce-result-count { font-size: 13px; color: var(--pb-text-muted); }

/* ===== 1.2: produkto puslapis ===== */
body.pb-block-template.single-product main .wp-block-columns { gap: 48px; }
body.pb-block-template .woocommerce-product-gallery__image img,
body.pb-block-template .woocommerce-product-gallery__wrapper img { aspect-ratio: 4 / 5; object-fit: cover; background: #ede8df; border-radius:var(--pb-radius-sm); width: 100%; }
body.pb-block-template .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px !important; }
body.pb-block-template .flex-control-thumbs li { width: 64px !important; }
body.pb-block-template .flex-control-thumbs img { aspect-ratio: 4 / 5; object-fit: cover; border-radius:var(--pb-radius-sm); opacity: .6; }
body.pb-block-template .flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--pb-ink, #252523); }
body.pb-block-template.single-product .wp-block-post-title { font-size: clamp(30px, 4vw, 44px) !important; margin: 8px 0 8px !important; }
body.pb-block-template.single-product .wp-block-woocommerce-product-price { font: 600 22px/1.3 Manrope, sans-serif; margin: 0 !important; }
body.pb-block-template.single-product .pb-age { font-size: 14px; margin-top: 4px; }
body.pb-block-template.single-product .wp-block-post-excerpt { margin-top: 16px; }
.pb-why { background: #e7e9df; border-radius:var(--pb-radius-sm); padding: 14px 16px; font-size: 14px !important; margin: 12px 0 0; }

/* Dydžio mygtukai */
.pb-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap; }
body.pb-block-template table.variations { border: 0; margin: 16px 0 4px; }
body.pb-block-template table.variations th, body.pb-block-template table.variations td { display: block; padding: 0; border: 0; text-align: left; }
body.pb-block-template table.variations th label { font-size: 13px; font-weight: 600; }
.pb-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pb-swatch { min-width: 52px; min-height: 48px; padding: 0 14px; border: 1px solid var(--pb-line, #d8d2c8); border-radius:var(--pb-radius-sm); background: #fff; font: 600 15px Manrope, sans-serif; color: var(--pb-ink, #252523); cursor: pointer; }
.pb-swatch[aria-checked="true"] { background: var(--pb-ink, #252523); color: var(--pb-ivory, #f7f2ea); border-color: var(--pb-ink, #252523); }
.pb-swatch:disabled { color: #a4a69a; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.pb-variation-error { color: #a1332a; font-size: 14px; font-weight: 600; margin: 4px 0 8px; }
body.pb-block-template .reset_variations { font-size: 13px; }
body.pb-block-template form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body.pb-block-template form.variations_form { display: block; }
body.pb-block-template .woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
body.pb-block-template .quantity input.qty { width: 72px; min-height: 52px; text-align: center; border-radius:var(--pb-radius-pill); }
body.pb-block-template .single_add_to_cart_button { flex: 1; min-height: 52px !important; font-size: 15px !important; }
body.pb-block-template .single_add_to_cart_button.disabled { opacity: .55; }
body.pb-block-template .stock.out-of-stock { color: #a1332a; font-weight: 600; }
.pb-delivery { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--pb-line, #d8d2c8); font-size: 13px; color: var(--pb-text-secondary); }
.pb-delivery li { padding: 3px 0 3px 22px; position: relative; }
.pb-delivery li::before { content: "✓"; position: absolute; left: 0; color: #59694c; font-weight: 700; }

/* Akordeonai */
.pb-accordions { margin-top: 40px; border-top: 1px solid var(--pb-line, #d8d2c8); max-width: 760px; }
.pb-accordion { border-bottom: 1px solid var(--pb-line, #d8d2c8); }
.pb-accordion > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font: 600 16px Manrope, sans-serif; cursor: pointer; }
.pb-accordion > summary::-webkit-details-marker { display: none; }
.pb-accordion > summary::after { content: "+"; font-size: 22px; font-weight: 400; }
.pb-accordion[open] > summary::after { content: "–"; }
.pb-accordion-body { padding: 0 0 20px; font-size: 15px; }
.pb-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.pb-facts dt { font-weight: 600; } .pb-facts dd { margin: 0; }
.pb-warnings { background: #f6e7c8; border-radius:var(--pb-radius-sm); padding: 10px 14px; margin-bottom: 12px; }
body.pb-block-template .wp-block-woocommerce-product-meta { font-size: 12px; color: var(--pb-text-muted); margin-top: 16px; }

/* Lipnus pirkimo mygtukas (telefonas) */
.pb-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--pb-ivory, #f7f2ea); border-top: 1px solid var(--pb-line, #d8d2c8); box-shadow: 0 -8px 20px #2525231a; }
.pb-sticky-buy[hidden] { display: none; }
.pb-sticky-buy-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pb-sticky-buy-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-sticky-buy-price { font-size: 13px; color: var(--pb-text-secondary); }
.pb-sticky-buy-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius:var(--pb-radius-pill); background: var(--pb-ink, #252523); color: var(--pb-ivory, #f7f2ea); font: 600 14px Manrope, sans-serif; }
body.pb-has-sticky-buy { padding-bottom: 76px; }
@media (max-width: 700px) {
	body.pb-block-template.single-product main .wp-block-columns { gap: 16px; }
	body.pb-block-template.single-product .wp-block-post-title { font-size: 28px !important; }
}
.pb-visually-hidden { min-width: 0 !important; max-width: 1px !important; padding: 0 !important; border: 0 !important; }
body.pb-block-template .woocommerce-product-gallery { overflow: hidden; position: relative; }
body.pb-block-template .woocommerce-product-gallery .flex-viewport,
body.pb-block-template .woocommerce-product-gallery__image { overflow: hidden; }
.pb-gallery-count { position: absolute; left: 12px; bottom: 12px; z-index: 5; padding: 4px 10px; border-radius:var(--pb-radius-pill); background: rgba(247,242,234,.92); font: 600 12px Manrope, sans-serif; }
@media (max-width: 700px) {
	body.pb-block-template.single-product .flex-control-thumbs { display: none !important; }
	body.pb-block-template.single-product .woocommerce-breadcrumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body.pb-block-template.single-product main { padding-top: 16px; }
}
@media (min-width: 701px) { .pb-gallery-count { display: none; } }
body.pb-block-template .wc-block-product .wc-block-components-product-price,
body.pb-block-template .wc-block-product .has-text-align-center,
body.pb-block-template .wc-block-product .wp-block-woocommerce-product-price { text-align: left !important; justify-content: flex-start; }
body.pb-block-template .wc-block-product .pb-age { margin-top: -6px; }
body.pb-block-template .wc-block-product .wp-block-post-title > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.pb-block-template .wc-block-product .wp-block-post-title.has-text-align-center { text-align: left !important; }

/* === 1.3.1 — Claude, auditas v4, 2 fazė (2.1 slapukų juosta, 2.3 kategorijos telefone, 2.7 lietimo zonos) === */
/* 2.3: telefone kategorijų kortelės aukščiau (pirma kortelė ≤ 650 px nuo viršaus 390 px plotyje) */
@media (max-width: 480px) {
  body .pb-hero .pb-hero-copy { padding-top: 20px !important; }
  body .pb-hero .pb-scene { height: 92px !important; min-height: 92px !important; max-height: 92px !important; }
  body .pb-ribbon { padding-top: 9px !important; padding-bottom: 9px !important; }
  body .pb-ribbon + .pb-section { padding-top: 24px !important; }
  body .pb-ribbon + .pb-section .pb-section-head { margin-bottom: 14px !important; }
  body .pb-ribbon + .pb-section .pb-section-head > .pb-text-link { margin-top: 2px !important; min-height: 32px !important; height: auto !important; display: inline-flex !important; align-items: center; }
}
/* 2.7 + G-11: slapukų juostos nuorodos – lietimo zona ≥ 24 px be išdėstymo pokyčio, nuorodos nekarpomos per žodžius */
.cmplz-cookiebanner .cmplz-documents a,
.cmplz-cookiebanner .cmplz-links a.cmplz-link { display: inline-block; padding-top: 3px; padding-bottom: 3px; margin-top: -3px; margin-bottom: -3px; white-space: nowrap; }
.cmplz-cookiebanner .cmplz-documents ul { flex-wrap: wrap !important; row-gap: 2px !important; }
@media (max-width: 360px) {
  .cmplz-cookiebanner .cmplz-documents ul { justify-content: center !important; column-gap: 16px !important; }
}
/* 2.7: juostos uždarymo „X“ – 24×24 be išdėstymo pokyčio */
.cmplz-cookiebanner .cmplz-close { box-sizing: content-box !important; padding: 2px !important; margin: -2px !important; }
/* 2.7: „Rodyti slaptažodį“ ≥ 24×24 */
.woocommerce .show-password-input, .show-password-input { min-width: 24px !important; min-height: 24px !important; }
/* 2.1: slenkama juostos teksto sritis matoma fokusuojant klaviatūra */
.cmplz-cookiebanner .cmplz-body:focus-visible { outline: 2px solid #252523; outline-offset: 2px; }

/* === 1.3.2 — Claude, auditas v4, 2.4: kategorijų puslapių turinys lygiuojamas su H1 kompiuteryje (PB2-03) === */
@media (min-width: 701px) {
  body.tax-product_cat .pb-cat-lead,
  body.tax-product_cat .pb-j3-nav,
  body.tax-product_cat .pb-cat-guide { margin-left: 0 !important; margin-right: auto !important; }
  body.tax-product_cat .wp-block-woocommerce-product-collection-no-results { padding-left: 0 !important; }
  body.tax-product_cat .wp-block-woocommerce-product-collection-no-results > .wp-block-group { margin-left: 0 !important; padding-left: 0 !important; align-items: flex-start !important; }
  body.tax-product_cat .pb-j3-empty { margin-left: 0 !important; }
}

/* 1.3.4 — auditas v4, 2.6: klasikinis krepšelis */
body.woocommerce-cart .woocommerce .cart-empty.woocommerce-info {
 background: var(--pb-ivory, #f7f2ea); color: var(--pb-ink, #252523);
 border: 1px solid var(--pb-line, #d8d2c8); border-left: 3px solid #68765b;
 border-radius:var(--pb-radius-sm); padding: 20px 24px; box-shadow: none;
}
body.woocommerce-cart .woocommerce .cart-empty.woocommerce-info::before { display: none; }
body.woocommerce-cart .woocommerce .cart_totals > h2 {
 font-family: Literata, Georgia, serif; font-size: 24px !important;
 line-height: 1.3; font-weight: 400; margin: 24px 0 16px !important;
}
body.woocommerce-cart .woocommerce table.shop_table a.remove {
 display: inline-flex; align-items: center; justify-content: center;
 width: 32px; height: 32px; min-width: 32px; min-height: 32px;
 box-sizing: border-box; line-height: 1; font-size: 24px; text-decoration: none;
 color: var(--pb-ink, #252523) !important; border-radius:var(--pb-radius-pill);
}
body.woocommerce-cart .woocommerce table.shop_table a.remove:hover {
 background: var(--pb-ink, #252523); color: var(--pb-ivory, #f7f2ea) !important;
}
@media (max-width: 700px) {
 body.woocommerce-cart .woocommerce table.cart td.product-thumbnail {
  display: block !important; text-align: center !important;
 }
 body.woocommerce-cart .woocommerce table.cart td.product-thumbnail::before { display: none; }
 body.woocommerce-cart .woocommerce table.cart td.product-thumbnail img {
  width: 64px; height: 80px; max-width: 100%; object-fit: contain;
  border-radius:var(--pb-radius-sm); background: var(--pb-ivory, #f7f2ea);
 }
}

body.woocommerce-cart .woocommerce .wc-empty-cart-message .wc-block-components-notice-banner.is-info { background: var(--pb-ivory, #f7f2ea) !important; color: var(--pb-ink, #252523) !important; border: 1px solid var(--pb-line, #d8d2c8); border-left: 3px solid #68765b; border-radius:var(--pb-radius-sm); padding: 20px 24px !important; box-shadow: none; }
body.woocommerce-cart .woocommerce .wc-empty-cart-message .wc-block-components-notice-banner.is-info > svg { background: #68765b; fill: #fff; }

/* 1.3.5 — krepšelio pristatymo ir grąžinimo informacija */
body.woocommerce-cart .pb-cart-trust { margin-top:16px; padding-top:16px; border-top:1px solid var(--pb-line,#d8d2c8); color:var(--pb-ink,#252523); }
body.woocommerce-cart .pb-cart-trust p { font:400 13px/1.6 Manrope,sans-serif; margin:4px 0; }
body.woocommerce-cart .pb-cart-trust a { display:inline-block; min-height:24px; text-underline-offset:3px; }


/* Audit v4: shared tokens for generated cards and consent controls. */
.pb-store .pb-category-card{border-radius:var(--pb-radius-lg)!important}
.pb-store .cmplz-cookiebanner .cmplz-btn{border-radius:var(--pb-radius-sm)!important}
.pb-store .cmplz-cookiebanner{color:var(--pb-ink)!important}
.pb-store .pb-header .pb-logo-img{width:154px!important;height:auto!important}
@media(max-width:700px){.pb-store .pb-header .pb-logo-img{width:132px!important}}

.pb-store .pb-nav-dropdown{border-radius:0 0 var(--pb-radius-lg) var(--pb-radius-lg)!important}
.pb-store .pb-nav-dropdown a{border-radius:var(--pb-radius-sm)!important}
.pb-store .pb-nav-dropdown .pb-nav-all{border-radius:0!important}
.pb-store .pb-menu,.pb-store .pb-motion{color:var(--pb-ink)}

/* Reserve the 4:5 gallery before WooCommerce initializes FlexSlider. */
body.pb-block-template.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper{aspect-ratio:4/5;overflow:hidden}
body.pb-block-template.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){display:none}
body.pb-block-template.single-product .woocommerce-product-gallery .flex-viewport{aspect-ratio:4/5;height:auto!important}
body.pb-block-template.single-product .woocommerce-product-gallery__image > a > img{display:block;height:auto;object-fit:contain}
body.pb-block-template.single-product .flex-control-thumbs img{object-fit:contain}
