/* Shop parts: product cards (the look the old „Additional CSS“ aimed at), side cart, product tables, order pages.
   Loaded after theme.css only when WooCommerce is active. */

/* ---------- Product cards: compact, centred, small product icon, no stars, pill button
   (the intent of the site's old Additional CSS: 150-px cards, 70-px images, ratings hidden, blue pill buttons) ---------- */
.woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.woocommerce ul.products li.product { text-align: center; align-items: center; padding: 1rem .9rem 1.1rem !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; align-items: center; color: inherit; text-decoration: none; width: 100%; }
.woocommerce ul.products li.product a img { width: 96px !important; height: 96px !important; max-width: 96px; object-fit: contain; margin: .25rem auto .6rem !important; border-radius: 8px; } /* one picture box for every shape */
/* every card the same height (owner 2026-11-25: "long product name on product card increases other product cards height … normalize
   their heights"): the name always takes three lines — a longer one ends with „…“ (the whole name shows on hover) — so the
   price and „Į krepšelį“ sit on the same line in every card of every row */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .95rem !important; line-height: 1.35 !important; height: 4.05em; min-height: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.woocommerce ul.products li.product .price { display: block; margin: .35rem 0 .75rem !important; font-size: 1rem; color: var(--wp--preset--color--primary-dark) !important; white-space: nowrap; } /* a sale price (old + new) on one line */
.woocommerce ul.products li.product .star-rating, .woocommerce ul.products li.product .woocommerce-product-rating { display: none !important; }
.woocommerce ul.products li.product .button { align-self: center; border-radius: 999px !important; padding: .55rem 1.1rem !important; font-size: .875rem; }
.woocommerce ul.products li.product .added_to_cart { display: none; } /* the side cart shows it instead */
@media (max-width: 480px) {
	.woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.woocommerce ul.products li.product { padding: .75rem .5rem .85rem !important; }
	.woocommerce ul.products li.product a img { width: 64px !important; height: 64px !important; max-width: 64px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .85rem !important; height: 4.05em; }
	.woocommerce ul.products li.product .button { font-size: .8rem; padding: .45rem .8rem !important; }
}

/* ---------- Order received / order pay: no „Pay / Cancel / Order again“ (kept from the old Additional CSS) ---------- */
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:has(a.button),
body.woocommerce-order-pay table.woocommerce-table--order-details tfoot tr:has(a.button),
body.woocommerce-order-received .order-again, body.woocommerce-order-pay .order-again,
body.woocommerce-order-received a.button.order-again, body.woocommerce-order-received a.button.pay, body.woocommerce-order-received a.button.cancel,
body.woocommerce-order-pay a.button.order-again, body.woocommerce-order-pay a.button.pay, body.woocommerce-order-pay a.button.cancel { display: none !important; }

/* ---------- Header cart button + floating button ---------- */
.pg-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--wp--preset--color--navy); text-decoration: none; transition: background-color .15s; }
.pg-cart-btn:hover { background: var(--wp--preset--color--tint); }
/* the item count: a small badge fitted to the number (owner 2026-11-25: "too huge bubble") */
.pg-cart-btn .pg-cart-count, .pg-cart-fab .pg-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #dd3333; color: #fff;
	font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center; letter-spacing: 0; box-shadow: 0 0 0 2px #fff;
}
html[data-pg-cart-count="0"] .pg-cart-btn .pg-cart-count, html:not([data-pg-cart-count]) .pg-cart-btn .pg-cart-count { display: none; }
.pg-cart-fab {
	position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--wp--preset--color--primary); color: #fff; box-shadow: 0 10px 24px rgba(11,30,59,.25); display: inline-flex; align-items: center; justify-content: center;
	transition: transform .18s, opacity .18s;
}
.pg-cart-fab:hover { transform: translateY(-2px); }
.pg-cart-fab .pg-cart-count { top: 6px; right: 6px; }
html:not([data-pg-cart-count]) .pg-cart-fab--items, html[data-pg-cart-count="0"] .pg-cart-fab--items { opacity: 0; pointer-events: none; transform: translateY(12px); }
html[data-pg-cart-count="0"] .pg-cart-fab .pg-cart-count { display: none; }

/* ---------- Side cart drawer ---------- */
html.pg-cart-lock { overflow: hidden; }
.pg-cart { position: fixed; inset: 0; z-index: 100000; }
.pg-cart[hidden] { display: none; }
.pg-cart__backdrop { position: absolute; inset: 0; background: rgba(11,30,59,.45); opacity: 0; transition: opacity .25s; }
.pg-cart__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; display: flex; flex-direction: column;
	box-shadow: -20px 0 50px rgba(11,30,59,.2); transform: translateX(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); outline: none;
}
.pg-cart.is-open .pg-cart__backdrop { opacity: 1; }
.pg-cart.is-open .pg-cart__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .pg-cart__panel, .pg-cart__backdrop { transition: none; } }
.admin-bar .pg-cart__panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .pg-cart__panel { top: 46px; } }
.pg-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--pg-line); }
.pg-cart__title { margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--wp--preset--color--navy); display: flex; align-items: center; gap: .5rem; }
.pg-cart__title .pg-cart-count { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); border-radius: 999px; min-width: 1.3rem; padding: 0 .35rem; font-size: .7rem; line-height: 1.3rem; text-align: center; }
.pg-cart__close { border: 0; background: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; color: var(--wp--preset--color--navy); display: inline-flex; align-items: center; justify-content: center; }
.pg-cart__close:hover { background: var(--wp--preset--color--tint); }
.pg-cart__notice:empty { display: none; }
.pg-cart__notice { margin: .75rem 1.25rem 0; padding: .6rem .8rem; border-radius: 10px; font-size: .9rem; }
.pg-cart__notice.is-ok { background: #e8f6ee; color: #155f36; }
.pg-cart__notice.is-error { background: #fdecec; color: #8a1c1c; }
.pg-cart__inner { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; } /* items → totals + buttons → suggestions: one scroll */
.pg-cart__loading { margin: auto; display: flex; gap: 6px; }
.pg-cart__loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--primary); animation: pgdot 1s infinite ease-in-out; }
.pg-cart__loading span:nth-child(2) { animation-delay: .15s; } .pg-cart__loading span:nth-child(3) { animation-delay: .3s; }
@keyframes pgdot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.pg-cart__body { flex: none; padding: .5rem 1.25rem 1rem; }
.pg-cart__items { list-style: none; margin: 0; padding: 0; }
.pg-cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--pg-line); align-items: start; transition: opacity .15s; }
.pg-cart__item.is-busy { opacity: .45; pointer-events: none; }
.pg-cart__thumb img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--wp--preset--color--tint); padding: 4px; }
.pg-cart__name { margin: 0 0 .15rem; font-weight: 600; line-height: 1.3; font-size: .95rem; }
.pg-cart__name a { color: var(--wp--preset--color--navy); text-decoration: none; }
.pg-cart__name a:hover { color: var(--wp--preset--color--primary); }
.pg-cart__info .variation { margin: .15rem 0; font-size: .8rem; color: var(--wp--preset--color--muted); display: grid; grid-template-columns: auto 1fr; gap: 0 .35rem; }
.pg-cart__info .variation dt, .pg-cart__info .variation dd, .pg-cart__info .variation p { margin: 0; }
.pg-cart__price { margin: 0 0 .45rem; font-size: .85rem; color: var(--wp--preset--color--muted); }
.pg-cart__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pg-cart__line { font-weight: 700; color: var(--wp--preset--color--navy); }
.pg-qty { display: inline-flex; align-items: center; border: 1px solid var(--pg-line); border-radius: 999px; overflow: hidden; }
.pg-qty__btn { width: 32px; height: 32px; border: 0; background: #fff; cursor: pointer; font-size: 1.05rem; color: var(--wp--preset--color--navy); }
.pg-qty__btn:hover { background: var(--wp--preset--color--tint); }
.pg-qty__input { width: 38px; height: 32px; border: 0; text-align: center; font: inherit; font-size: .9rem; -moz-appearance: textfield; appearance: textfield; }
.pg-qty__input::-webkit-outer-spin-button, .pg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pg-cart__qty-single { font-size: .85rem; color: var(--wp--preset--color--muted); }
.pg-cart__remove { border: 0; background: none; color: var(--wp--preset--color--muted); width: 34px; height: 34px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pg-cart__remove:hover { color: #c62828; background: #fdecec; }
/* „Jums gali prireikti“: its own tinted block, well apart from what is in the cart (owner 2026-11-25: "make a bigger gap
   between existant added to card and them as now it seems that they are inside cart") */
.pg-cart__suggest { margin: 0; padding: 1.25rem 1.25rem 1.5rem; background: #fff; border-top: 1px solid var(--pg-line); }
.pg-cart__suggest li { background: #fff; }
.pg-cart__subtitle { margin: 0 0 .5rem; font-weight: 700; font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.pg-cart__suggest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pg-cart__suggest li { display: grid; grid-template-columns: 44px 1fr auto; gap: .65rem; align-items: center; padding: .5rem; border: 1px solid var(--pg-line); border-radius: 12px; }
.pg-cart__s-img img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.pg-cart__s-name { display: block; font-size: .85rem; font-weight: 600; line-height: 1.25; color: var(--wp--preset--color--navy); text-decoration: none; }
.pg-cart__s-price { font-size: .8rem; color: var(--wp--preset--color--muted); }
.pg-cart__s-add { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--wp--preset--color--primary); background: #fff; color: var(--wp--preset--color--primary); font-size: 1.2rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pg-cart__s-add:hover { background: var(--wp--preset--color--primary); color: #fff; }
.pg-cart__foot { border-top: 1px solid var(--pg-line); padding: .9rem 1.25rem 1.1rem; background: var(--wp--preset--color--surface, #f8fafc); }
.pg-cart__coupon summary { cursor: pointer; font-size: .85rem; color: var(--wp--preset--color--primary-dark); margin-bottom: .5rem; }
.pg-cart__coupon-row { display: flex; gap: .4rem; margin-bottom: .6rem; }
.pg-cart__coupon-input { flex: 1; min-width: 0; border: 1px solid var(--pg-line); border-radius: 10px; padding: .5rem .7rem; font: inherit; }
.pg-cart__coupon-apply { border: 0; border-radius: 10px; padding: .5rem .9rem; background: var(--wp--preset--color--navy); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pg-cart__uncoupon { border: 0; background: none; padding: 0; color: #c62828; font-size: .75rem; cursor: pointer; text-decoration: underline; }
.pg-cart__totals { margin: 0 0 .85rem; display: grid; gap: .3rem; font-size: .9rem; }
.pg-cart__totals > div { display: flex; justify-content: space-between; gap: 1rem; }
.pg-cart__totals dt, .pg-cart__totals dd { margin: 0; }
.pg-cart__total { font-size: 1.05rem; font-weight: 700; color: var(--wp--preset--color--navy); padding-top: .35rem; border-top: 1px dashed var(--pg-line); }
.pg-cart__total small { display: block; font-weight: 400; font-size: .75rem; color: var(--wp--preset--color--muted); }
.pg-cart__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pg-cart__checkout { grid-column: 1 / -1; text-align: center; justify-content: center; display: flex !important; padding: .85rem 1rem !important; font-size: 1rem; }
.pg-cart__ghost { text-align: center; padding: .6rem .5rem; border: 1px solid var(--pg-line); border-radius: 10px; background: #fff; color: var(--wp--preset--color--navy); font-weight: 600; font-size: .85rem; text-decoration: none; }
.pg-cart__ghost:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-dark); }
.pg-cart__empty { margin: auto; padding: 2rem 1.5rem; text-align: center; color: var(--wp--preset--color--muted); }
.pg-cart__empty .pg-cart-icon { width: 56px; height: 56px; color: var(--wp--preset--color--line); }
.pg-cart__empty p { margin: .5rem 0 1.25rem; }
.pg-form-error { margin: 0 0 1rem; padding: .75rem 1rem; }

/* ---------- Product tables ---------- */
.pg-ptable { margin: 1.25rem 0 2rem; --pgt-line: var(--pg-line); }
/* a product table right under a page's questions (/saugos-reikalavimai-imonems/) */
html body:not(#pg0) details.wp-block-details + .pg-keep-below { margin-top: 2.5rem !important; }
.pg-ptable__bar { display: flex; justify-content: flex-end; margin-bottom: .75rem; }
.pg-ptable__search { position: relative; display: flex; align-items: center; width: min(100%, 320px); color: var(--wp--preset--color--muted); }
.pg-ptable__search svg { position: absolute; left: .75rem; pointer-events: none; }
.pg-ptable__search input { width: 100%; padding: .6rem .8rem .6rem 2.3rem; border: 1px solid var(--pgt-line); border-radius: 999px; font: inherit; font-size: .9rem; background: #fff; }
.pg-ptable__search input:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(42,116,237,.15); }
.pg-ptable__table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--pgt-line); border-radius: var(--pg-radius); overflow: hidden; font-size: .95rem; }
.pg-ptable__table th { background: var(--wp--preset--color--tint); text-align: left; font-size: .8rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); padding: .65rem .9rem; border-bottom: 1px solid var(--pgt-line); }
.pg-ptable__table th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.pg-ptable__table th button:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 4px; }
.pg-ptable__arrow::after { content: "↕"; opacity: .45; font-size: .9em; }
.pg-ptable__table th[aria-sort="ascending"] .pg-ptable__arrow::after { content: "↑"; opacity: 1; }
.pg-ptable__table th[aria-sort="descending"] .pg-ptable__arrow::after { content: "↓"; opacity: 1; }
.pg-ptable__table td { padding: .6rem .9rem; border-bottom: 1px solid var(--pgt-line); vertical-align: middle; }
.pg-ptable__table tbody tr:last-child td { border-bottom: 0; }
.pg-ptable__table tbody tr { transition: background-color .12s; }
.pg-ptable__table tbody tr:hover { background: #fafcff; }
.pg-ptable__c-image { width: 64px; }
.pg-ptable__c-image img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; display: block; }
.pg-ptable__c-name a { color: var(--wp--preset--color--navy); font-weight: 600; text-decoration: none; line-height: 1.35; }
.pg-ptable__c-name a:hover { color: var(--wp--preset--color--primary); }
.pg-ptable__c-price { white-space: nowrap; font-weight: 700; color: var(--wp--preset--color--primary-dark); width: 1%; }
.pg-ptable__c-price del { color: var(--wp--preset--color--muted); font-weight: 400; margin-right: .25rem; }
.pg-ptable__c-price ins { text-decoration: none; }
.pg-ptable__c-cart { width: 1%; white-space: nowrap; text-align: right; }
.pg-ptable a.pg-ptable__buy, .woocommerce .pg-ptable a.pg-ptable__buy {
	display: inline-flex; align-items: center; justify-content: center; gap: .3rem; border: 0; border-radius: 999px !important; padding: .5rem 1rem !important;
	background: var(--wp--preset--color--primary) !important; color: #fff !important; font-size: .85rem !important; font-weight: 600; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
	box-shadow: 0 3px 8px rgba(42,116,237,.22); transition: background-color .15s, transform .15s;
}
.pg-ptable a.pg-ptable__buy:hover { background: var(--wp--preset--color--primary-dark) !important; }
.pg-ptable a.pg-ptable__buy.loading { opacity: .6; pointer-events: none; }
.pg-ptable a.pg-ptable__buy:not(.add_to_cart_button) { background: #fff !important; color: var(--wp--preset--color--primary-dark) !important; box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary); }
.pg-ptable .added_to_cart { display: none; }
.pg-ptable .pg-ptable__buy.added::after { content: " ✓"; }
.pg-ptable__none { margin: 1rem 0; color: var(--wp--preset--color--muted); text-align: center; }
.pg-ptable__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .75rem; font-size: .875rem; color: var(--wp--preset--color--muted); }
.pg-ptable__per { display: inline-flex; align-items: center; gap: .4rem; }
.pg-ptable__per select { border: 1px solid var(--pgt-line); border-radius: 8px; padding: .3rem .5rem; font: inherit; background: #fff; }
.pg-ptable__pager { display: flex; flex-wrap: wrap; gap: .3rem; margin-left: auto; }
.pg-ptable__pg { min-width: 36px; height: 36px; padding: 0 .65rem; border: 1px solid var(--pgt-line); border-radius: 10px; background: #fff; font: inherit; font-size: .875rem; color: var(--wp--preset--color--navy); cursor: pointer; }
.pg-ptable__pg:hover:not([disabled]) { border-color: var(--wp--preset--color--primary); }
.pg-ptable__pg.is-current { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; font-weight: 700; }
.pg-ptable__pg[disabled] { opacity: .4; cursor: default; }
.pg-ptable__gap { align-self: center; padding: 0 .2rem; }

/* phones: every row becomes a compact card — image · name + price · button; no sideways scrolling */
@media (max-width: 700px) {
	.pg-ptable__bar { justify-content: stretch; }
	.pg-ptable__search { width: 100%; }
	.pg-ptable__table, .pg-ptable__table tbody { display: block; border: 0; background: none; border-radius: 0; overflow: visible; }
	.pg-ptable__table thead { display: block; }
	.pg-ptable__table thead tr { display: flex; gap: .5rem; justify-content: flex-end; }
	.pg-ptable__table thead th { background: none; border: 0; padding: 0 0 .4rem; width: auto !important; flex: none; }
	.pg-ptable__table thead th:not(.pg-ptable__c-name):not(.pg-ptable__c-price) { display: none; }
	.pg-ptable__table tbody tr:not([hidden]) {
		display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "img name name" "img price cart"; align-items: center; column-gap: .75rem; row-gap: .35rem;
		background: #fff; border: 1px solid var(--pgt-line); border-radius: 12px; padding: .65rem .75rem; margin-bottom: .5rem;
	}
	.pg-ptable__table td { display: block; padding: 0; border: 0; width: auto !important; }
	.pg-ptable__table td.pg-ptable__c-image { grid-area: img; }
	.pg-ptable__table td.pg-ptable__c-image img { width: 44px; height: 44px; }
	.pg-ptable__table td.pg-ptable__c-name { grid-area: name; font-size: .92rem; }
	.pg-ptable__table td.pg-ptable__c-price { grid-area: price; font-size: .95rem; }
	.pg-ptable__table td.pg-ptable__c-cart { grid-area: cart; }
	.pg-ptable__table td.pg-ptable__c-sku, .pg-ptable__table td.pg-ptable__c-desc, .pg-ptable__table td.pg-ptable__c-cat { grid-column: 2 / -1; font-size: .8rem; color: var(--wp--preset--color--muted); }
	.pg-ptable .pg-ptable__buy { padding: .45rem .85rem !important; font-size: .8rem !important; }
	.pg-ptable__foot { justify-content: center; }
	.pg-ptable__pager { margin: 0 auto; justify-content: center; }
	.pg-ptable__info { width: 100%; text-align: center; }
}

/* A product list inside a page column (converted Elementor pages: [products … columns="10"] in a 20 % side column):
   as many ~150 px cards as fit — one in a narrow column — instead of the column count or the phone rule's two
   (found on the real site copy 2026-11-24: the card text stood one letter per line). */
.wp-block-column ul.products[class*="columns-"], .wp-block-column .woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }

/* Product cards in a NARROW column — a page's right column, the e-shop sidebar — are compact rows, the same on every page
   (owner 2026-11-25: "products that are placed into right sidebar looks too big and too expanded also in some eshop pages right
   sidebar products has different size than on the others"): picture 52 px on the left, the name (two lines), the price, a
   small full-width button. Decided by the column's own width (container query), so a 20 % and a 33 % column look alike. */
.pg-content .wp-block-column:has(ul.products), .pg-shop__aside, .woocommerce-Tabs-panel .wp-block-column:has(ul.products) { container-type: inline-size; container-name: pgside; }
@container pgside (max-width: 420px) {
	/* one compact row (owner 2026-11-25: "move price an į krepšelį to appear below their title … so the products would become
	   shorter"): picture | name (two lines) / price + a small „Į krepšelį“ on the line below */
	.woocommerce ul.products, .woocommerce ul.products[class*="columns-"] { grid-template-columns: 1fr !important; gap: .5rem !important; }
	/* the name (up to 3 lines) and the price + button line fit within the picture's height — the card ends with the picture
	   (owner 2026-11-25: "make sure price and į krepšelį fits in the row where picture is and does not drop lower") */
	.woocommerce ul.products li.product { display: grid !important; grid-template-columns: 80px minmax(0, 1fr) auto; grid-template-rows: 1fr auto; grid-template-areas: "img title title" "img price btn"; column-gap: .75rem; row-gap: .3rem; align-items: center; padding: .7rem .75rem !important; text-align: left; box-shadow: none; }
	.woocommerce ul.products li.product:hover { transform: none; box-shadow: var(--pg-shadow); }
	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: contents; }
	.woocommerce ul.products li.product a img { grid-area: img; width: 80px !important; height: 80px !important; max-width: 80px; margin: 0 !important; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { grid-area: title; font-size: .8rem !important; line-height: 1.25 !important; height: auto; max-height: 3.75em; min-height: 0; -webkit-line-clamp: 3; line-clamp: 3; align-self: center; } /* three lines (owner 2026-11-25: "truncates text too early"); a short name centred in its space ("if product title fits to one row … it should appear centered") */
	/* price + button a little above the picture's bottom edge (owner 2026-11-25: "move price and į krepšelį slightly upper like 10%") */
	.woocommerce ul.products li.product .price { grid-area: price; margin: 0 0 .55rem !important; font-size: .85rem; align-self: end; }
	.woocommerce ul.products li.product .button { grid-area: btn; align-self: end; margin: 0 0 .55rem !important; padding: .3rem .65rem !important; font-size: .74rem; line-height: 1.2 !important; }
	/* no „Akcija“ badge in a narrow column (owner 2026-11-25: "do not write 'akcija' on right navbar product icons") — the
	   crossed-out old price still shows the discount */
	.woocommerce ul.products li.product .onsale { display: none !important; }
}

/* the line above the product title (as on the old product template): „Peržiūrėti daugiau mūsų paslaugų produktų.“ */
.pg-product-more { margin: 0 0 .5rem; font-size: .9rem; color: var(--wp--preset--color--muted); }
.pg-product-more a { font-weight: 600; }

/* ---------- Shop pages: products / categories / product page with the e-shop menu on the right (owner 2026-11-25) ---------- */
.pg-shop__cols { margin-block: 0 !important; }
.pg-shop__main { min-width: 0; }
.pg-shop__aside { min-width: 0; }
.pg-shop-sidebar__inner > * + * { margin-top: 1.25rem; }
.pg-shop-sidebar__inner .woocommerce ul.products { grid-template-columns: 1fr !important; }
.pg-shopnav-toggle { display: none; }
@media (max-width: 781px) {
	.pg-shopnav-toggle { display: block; margin-block: 0 1.25rem; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); }
	.pg-shopnav-toggle > summary { cursor: pointer; list-style: none; padding: .8rem 1rem; font-weight: 700; color: var(--wp--preset--color--navy); position: relative; }
	.pg-shopnav-toggle > summary::-webkit-details-marker { display: none; }
	.pg-shopnav-toggle > summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
	.pg-shopnav-toggle[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
	.pg-shopnav-toggle .pg-side-menu { border: 0; box-shadow: none; margin: 0; border-top: 1px solid var(--pg-line); border-radius: 0 0 var(--pg-radius) var(--pg-radius); }
	.pg-shopnav-toggle .pg-side-menu__title { display: none; }
	.pg-shop__aside .pg-side-menu--shop { display: none; } /* on phones the menu is the list above the products */
}
/* the category / shop heading, count and sorting */
.woocommerce-products-header { margin: 0 0 1rem; }
.woocommerce-products-header__title.page-title { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.25; letter-spacing: 0; margin: 0; }
.pg-shop .woocommerce-result-count { margin: .6rem 0 1rem; font-size: .875rem; color: var(--wp--preset--color--muted); }
.pg-shop .woocommerce-ordering { margin: 0 0 1rem; }
.pg-shop .woocommerce-ordering select { min-height: 40px; padding: .45rem .7rem; font-size: .9rem; }
.pg-shop .woocommerce-pagination { margin-top: 1.5rem; }
/* the category text below the products (it held H2 lines: calm sizes) */
.pg-term-description { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--pg-line); color: var(--wp--preset--color--ink); }
.pg-term-description :is(h1, h2, h3) { font-size: 1.2rem; line-height: 1.35; letter-spacing: 0; margin: 0 0 .5rem; }
/* product page: the shop line above the title, related products below */
.single-product .pg-shop__main .related > h2, .single-product .pg-shop__main .upsells > h2 { font-size: 1.2rem; }
.single-product .pg-shop__main section.related, .single-product .pg-shop__main section.upsells { margin-top: 2rem; }

/* ---------- Cart page (owner 2026-11-25: "the list looks too big … table drops without any margins") ---------- */
.pg-shop--cart .pg-content > * + * { margin-block-start: 1.25rem; }
.pg-shop--cart .pg-content .pg-title-text { margin-block: 2.5rem .75rem; padding: .65rem 1rem; background: var(--wp--preset--color--surface); border-radius: 10px; font-size: 1.05rem; }
.pg-shop--cart .pg-content .pg-ptable { margin-top: .75rem; }
.woocommerce-cart .cart-empty.woocommerce-info { margin-bottom: 1rem; }
.woocommerce-cart .return-to-shop { margin: 0 0 1rem; }
.woocommerce-cart table.shop_table { border: 1px solid var(--pg-line); border-radius: var(--pg-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .95rem; }
.woocommerce-cart table.shop_table th { background: var(--wp--preset--color--tint); font-size: .8rem; text-transform: none; letter-spacing: 0; color: var(--wp--preset--color--muted); }
.woocommerce-cart table.shop_table td.product-thumbnail img { width: 48px; height: 48px; object-fit: contain; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 1.2rem; }
/* WooCommerce's block-theme CSS caps cart / checkout / account content at 1000 px („.woocommerce-page main .woocommerce“) —
   here it uses the page's full width like everything else on the page (the cart's „Jums taip pat gali prireikti“ table did).
   Only INSIDE the page's column: the product tabs sit straight in the 1240-px layout, and lifting their cap made them as wide
   as the window (owner 2026-11-25: "bottom area where aprašymas is as wide as my monitor") */
.woocommerce-page main.pg-main .pg-content .woocommerce, .woocommerce-page main.pg-main .pg-shop__main .woocommerce { max-width: none; }
.pg-layout > .woocommerce { max-width: 1240px !important; margin-inline: auto !important; width: 100%; } /* the layout's own 1240 px (the global content size is narrower) */

/* ---------- Round 12, second part (owner 2026-11-25) ---------- */
/* category / shop pages: four products per row */
.pg-shop__main ul.products, .pg-shop__main ul.products[class*="columns-"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1023px) { .pg-shop__main ul.products, .pg-shop__main ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .pg-shop__main ul.products, .pg-shop__main ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* the category's description under its title, as a short subtitle */
.pg-shop .woocommerce-products-header .pg-term-description { margin: .35rem 0 1rem; padding: 0; border: 0; color: var(--wp--preset--color--muted); }
.pg-shop .woocommerce-products-header .pg-term-description :is(h1, h2, h3) { font-size: 1.05rem; font-weight: 500; color: var(--wp--preset--color--muted); margin: 0; line-height: 1.45; }
.pg-shop .woocommerce-products-header .pg-term-description p { margin: .25rem 0 0; }
/* product page: price and „Į krepšelį“ on one line, the rest below */
.single-product div.product div.summary { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: center; }
.single-product div.product div.summary > * { grid-column: 1 / -1; }
.single-product div.product div.summary > p.price { grid-column: 1; margin: .25rem 0 !important; }
.single-product div.product div.summary > form.cart { grid-column: 2; justify-self: start; margin: .25rem 0 !important; }
.single-product div.product div.summary > .woocommerce-product-details__short-description { margin-top: 1rem; }
@media (max-width: 480px) { .single-product div.product div.summary > p.price, .single-product div.product div.summary > form.cart { grid-column: 1 / -1; } }
.woocommerce div.product form.cart .quantity .qty { width: 4rem; }
/* the product's pictures: one calm box, a photo fills it, an icon stays its own size; more pictures as small thumbnails */
.woocommerce div.product div.images { background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: .4rem; margin-top: .6rem !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 48px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 6px; border: 1px solid var(--pg-line); }
/* the tabs under the whole product row, full width */
/* the product's tabs right below its top row (owner 2026-11-26, a drawn line ~55 px below the side card: "single products has even
   bigger gap now, narrow it aprox to my drawed line") — WooCommerce's own 2em under the picture and the summary go, the tabs keep
   2 rem of their own */
.single-product div.product div.images, .single-product div.product div.summary { margin-bottom: 0 !important; }
.pg-shop__cols { margin-bottom: 0 !important; }
.pg-product-tabs { display: block !important; margin-top: 1.6rem !important; } /* measured: 32 px at 2 rem; 52 px was still too big — half of it, 26 px (owner 2026-11-26: "make it twice as less as now") */
.pg-product-tabs .woocommerce-tabs { width: 100%; }
/* the product's tabs before WooCommerce's script runs (owner 2026-12-03: "when loading products and it loads slowly then sometimes the user sees the reviews
   at the bottom but when page loads fully it hides behind 'atsiliepimai' tab"): jQuery and that script come at the END of the page (performance.php), so
   every panel showed until then. Only the first panel shows from the start; the script then shows the chosen one with its own inline style (a link to
   #reviews still opens the reviews). */
.woocommerce-tabs > .wc-tab:not(:first-of-type) { display: none; }
/* … and halved (owner 2026-11-27: "reduce on single products this gap by half it is now" — measured on his crane product from the short
   description's last line: 102 px at 1280, 53 at 390). WooCommerce's clearfix div.product::after is a GRID ITEM in this theme's product
   grid: an empty second row that added the grid's 36-px gap (1280); the short description's last paragraph adds no margin under itself;
   phones: the empty „back in stock“ box (.ema-bis-wrap, a plugin's, filled only for a product out of stock) takes no line, the summary's
   last parts no margin, the tabs .75rem below */
.pg-shop__main div.product::after { content: none !important; display: none !important; }
.single-product div.product div.summary > .woocommerce-product-details__short-description > :last-child { margin-bottom: 0 !important; }
.single-product div.product div.summary > .ema-bis-wrap:not(:has(*)) { display: none !important; }
@media (max-width: 781px) {
	.single-product div.product div.summary > :is(.woocommerce-product-details__short-description, .ema-bis-wrap) { margin-bottom: 0 !important; }
	.pg-layout > .woocommerce:has(> .pg-product-tabs) { margin-top: 0 !important; }
	/* the side column holds only the shop menu, hidden on phones — yet the stacked columns' 20-px row gap stood under the product
	   (measured 2026-11-27: 53 → 35 px without it, → ~26 with it) */
	.single-product .pg-shop__cols > .pg-shop__aside { display: none !important; }
	html body .pg-product-tabs { margin-top: 1.4rem !important; }
}
/* related products in the right column */
.pg-side-related { margin-top: 1.25rem; }
.pg-side-related .related > h2 { display: none; }
.pg-side-related__title { margin: 0 .2rem .5rem !important; }
/* product table: a title in the search row (cart: „Jums taip pat gali prireikti:“), the count and „Rodyti po“ together */
.pg-ptable__bar--titled { justify-content: space-between !important; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; }
.pg-ptable__title { margin: 0 !important; font-weight: 400; font-size: 1rem; color: var(--wp--preset--color--ink); }
.pg-ptable__foot .pg-ptable__info + .pg-ptable__per { margin-left: 1rem; }
@media (max-width: 700px) { .pg-ptable__info { width: auto !important; } .pg-ptable__foot { justify-content: space-between; } }
/* checkout: the page's notes inside the order card, under „Aš perskaičiau ir sutinku…“ */
.pg-checkout-notes { margin: .6rem 0 1rem; font-size: .875rem; line-height: 1.5; color: var(--wp--preset--color--ink); }
.pg-checkout-notes p { margin: .35rem 0 0 !important; }
.pg-checkout-notes p:last-child { padding: .6rem .75rem; border-radius: 8px; background: #fff8e6; border: 1px solid #f5d68a; }
/* wider right columns (owner 2026-11-25: "increase right sidebars width by 20%"): a page's side column (marked .pg-col--side by
   compat.php: it holds the side menu, or it is a narrow column of product cards) = 24 % between 250 and 320 px, the other
   columns of that row share the rest (the first version let the main-column rule outweigh the side rule: a 50 / 50 split) */
@media (min-width: 782px) {
	:is(.pg-content, .woocommerce-Tabs-panel) .wp-block-columns:has(> .pg-col--side):has(> .wp-block-column:not(.pg-col--side)) > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
	:is(.pg-content, .woocommerce-Tabs-panel) .wp-block-columns:has(> .pg-col--side):has(> .wp-block-column:not(.pg-col--side)) > .wp-block-column.pg-col--side { flex: 0 0 clamp(250px, 24%, 320px) !important; }
}
/* questions moved from the shop's D.U.K page below a category's products (inc/shop-texts.php) */
.pg-cat-faq { margin-top: 2rem; }
.pg-cat-faq__title { margin: 0 0 .75rem; font-weight: 700; font-size: 1.05rem; color: var(--wp--preset--color--navy); }
.pg-cat-faq .wp-block-details + .wp-block-details { margin-top: .5rem; }
/* a product on a phone: its title first, then the picture (smaller, centred), the price and the button (owner 2026-11-26: "title text
   maybe should be above product picture … the empty space gaps are too big") */
@media (max-width: 781px) {
	.single-product div.product { display: flex; flex-direction: column; }
	.single-product div.product div.summary { display: contents; }
	.single-product div.product .product_title { order: -3; margin: 0 0 .75rem !important; text-align: left; }
	.single-product div.product div.images { order: -2; width: min(62%, 240px) !important; float: none !important; margin: 0 auto 1rem !important; }
	.single-product div.product div.summary > * { margin-top: 0 !important; margin-bottom: .6rem !important; }
	.pg-product-tabs { margin-top: 1rem !important; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 !important; margin: 0 0 1rem !important; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; }
	.woocommerce div.product .woocommerce-tabs .panel { margin-top: 0 !important; }
}
/* a product on a phone: even, small gaps between title, picture, stars, price, button, text and the tabs; the three tabs on one row */
@media (max-width: 781px) {
	.single-product div.product { gap: 0 !important; row-gap: 0 !important; }
	.single-product div.product .woocommerce-product-rating { margin: 0 0 .35rem !important; }
	.single-product div.product div.summary > p.price { margin: 0 0 .5rem !important; }
	.single-product div.product div.summary > form.cart { margin: 0 0 .9rem !important; }
	.single-product div.product .woocommerce-product-details__short-description { margin: 0 !important; }
	.single-product div.product .woocommerce-product-details__short-description > :last-child { margin-bottom: 0 !important; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: nowrap !important; gap: .15rem !important; overflow-x: auto; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .45rem .5rem !important; font-size: .85rem !important; white-space: nowrap; }
}
/* round 17 (owner 2026-11-27: "why I still find pages with all caps somewhere"): no label, title or table head is drawn in CAPITALS
   by the theme any more — text-transform none on every one (the words keep the case they are written in) */
/* round 17 (owner 2026-11-29): no „(1 pirkėjo atsiliepimas)“ under the product's title (the stars stay; the tab „Atsiliepimai (1)“ counts
   them) and the gap above the product's tabs halved again ("reduce the empty space gap above … by twice it is now": 1.6 → .8 rem, phones
   1.4 → .7 rem) */
.single-product div.product .woocommerce-product-rating .woocommerce-review-link { display: none !important; }
html body .pg-product-tabs { margin-top: .8rem !important; }
@media (max-width: 781px) {
	html body .pg-product-tabs { margin-top: .7rem !important; }
}
/* the reviews tab, modern (owner 2026-11-29: "products 'atsiliepimai' tab modernize it"): each review a card — the first letter of the name
   in a circle (inc/shop-layout.php), gold stars, the name and the date on one quiet line, the text below; the form a light card with
   rounded fields, name and e-mail side by side on a computer */
.woocommerce #reviews #comments h2.woocommerce-Reviews-title { margin: 0 0 1rem !important; font-size: 1.15rem !important; line-height: 1.35; color: var(--wp--preset--color--navy, #0B1E3B); }
.woocommerce #reviews #comments h2.woocommerce-Reviews-title span { font-weight: inherit; }
.woocommerce #reviews #comments ol.commentlist { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: .75rem; }
.woocommerce #reviews #comments ol.commentlist li { margin: 0 !important; padding: 1rem 1.15rem !important; background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 14px; box-shadow: 0 1px 2px rgba(11, 30, 59, .04); }
.woocommerce #reviews #comments ol.commentlist li .comment_container { display: flex; align-items: flex-start; gap: .9rem; }
.woocommerce #reviews #comments ol.commentlist li .pg-review-avatar { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--tint, #EEF4FF); color: var(--wp--preset--color--primary-dark, #1A56C8); font-weight: 700; font-size: 1.05rem; line-height: 1; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating { float: none !important; margin: 0 0 .35rem !important; font-size: .95rem; color: #F5B301; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; margin: 0 0 .4rem !important; font-size: .875rem !important; color: var(--wp--preset--color--muted, #5B6472) !important; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__author { color: var(--wp--preset--color--navy, #0B1E3B); font-weight: 700; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__dash { display: none; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__verified { font-style: normal; font-size: .78rem; padding: .1rem .5rem; border-radius: 999px; background: #E9F7EF; color: #1E7B45; }
.woocommerce #reviews #comments ol.commentlist li .comment-text .description p { margin: 0; line-height: 1.6; }
.woocommerce #reviews #comments ol.commentlist li .comment-text .description p + p { margin-top: .5rem; }
.woocommerce #reviews .woocommerce-noreviews { margin: 0; padding: 1rem 1.15rem; border: 1px dashed var(--pg-line, #E3E8F0); border-radius: 14px; color: var(--wp--preset--color--muted, #5B6472); }
.woocommerce #reviews #review_form_wrapper { margin-top: 1.25rem; }
.woocommerce #reviews #review_form #respond { margin: 0; padding: clamp(1rem, 2.5vw, 1.4rem); background: var(--wp--preset--color--surface, #F6F8FB); border: 1px solid var(--pg-line, #E3E8F0); border-radius: 14px; }
.woocommerce #reviews #review_form #respond .comment-reply-title { display: block; margin: 0 0 .35rem; font-size: 1.05rem; font-weight: 700; color: var(--wp--preset--color--navy, #0B1E3B); }
.woocommerce #reviews #review_form #respond .comment-notes { margin: 0 0 .9rem; font-size: .85rem; color: var(--wp--preset--color--muted, #5B6472); }
.woocommerce #reviews #review_form #respond form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.woocommerce #reviews #review_form #respond form > * { grid-column: 1 / -1; margin: 0 !important; }
.woocommerce #reviews #review_form #respond form > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
.woocommerce #reviews #review_form #respond label { display: block; margin: 0 0 .3rem; font-weight: 600; font-size: .9rem; color: var(--wp--preset--color--navy, #0B1E3B); }
.woocommerce #reviews #review_form #respond .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.woocommerce #reviews #review_form #respond .comment-form-cookies-consent label { display: inline; font-weight: 400; font-size: .85rem; color: var(--wp--preset--color--muted, #5B6472); }
.woocommerce #reviews #review_form #respond :is(textarea, input[type="text"], input[type="email"], select) { width: 100%; box-sizing: border-box; padding: .65rem .8rem; border: 1px solid #D5DDEA; border-radius: 10px; background: #fff; font: inherit; color: var(--wp--preset--color--ink, #1F2937); }
.woocommerce #reviews #review_form #respond textarea { min-height: 7.5rem; resize: vertical; }
.woocommerce #reviews #review_form #respond :is(textarea, input[type="text"], input[type="email"], select):focus { outline: 3px solid rgba(42, 116, 237, .18); border-color: var(--wp--preset--color--primary, #2A74ED); }
.woocommerce #reviews #review_form #respond p.stars { margin: .1rem 0 0 !important; }
.woocommerce #reviews #review_form #respond p.stars a { color: #F5B301; font-size: 1.35rem; }
.woocommerce #reviews #review_form #respond .form-submit input[type="submit"] { justify-self: start; cursor: pointer; }
@media (max-width: 600px) {
	.woocommerce #reviews #review_form #respond form { grid-template-columns: 1fr; }
	.woocommerce #reviews #review_form #respond form > :is(.comment-form-author, .comment-form-email) { grid-column: 1 / -1; }
}
/* the shop menu's „El. parduotuvė“ (its start page) and „Pagrindinė svetainė“ (the main site): a little bigger, each with an arrow — they
   lead away from the list (owner 2026-11-29: "should have a little bigger fond and should have arrows meaning it redirects to those links") */
html body:not(#pg0) .pg-side-menu--shop > .pg-side-menu__title { font-size: .9rem; }
html body:not(#pg0) .pg-side-menu--shop > .pg-side-menu__title > a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: var(--wp--preset--color--navy, #0B1E3B); font-weight: 700; }
html body:not(#pg0) .pg-side-menu--shop > .pg-side-menu__title > a::after { content: "→"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 8px; background: #fff; color: var(--wp--preset--color--primary, #2A74ED); font-size: .95rem; font-weight: 700; line-height: 1; transition: transform .15s ease, background-color .15s ease; }
html body:not(#pg0) .pg-side-menu--shop > .pg-side-menu__title > a:hover { color: var(--wp--preset--color--primary, #2A74ED); }
html body:not(#pg0) .pg-side-menu--shop > .pg-side-menu__title > a:hover::after { transform: translateX(2px); background: var(--wp--preset--color--tint, #EEF4FF); }
/* the shop's own pages (pg-shop-page: /saugos-ir-sveikatos-mokymai-ir-pazymejimai/ …) title themselves like a shop category: the same
   title size, the line under it the category's muted line (owner 2026-11-29: "normalize e-shop styling and navbar and title texts") */
html body.pg-shop-page:not(#pg0) .pg-content h1:not(.product_title) { font-size: clamp(1.5rem, 2.4vw, 1.875rem) !important; line-height: 1.25 !important; letter-spacing: 0 !important; margin: 0 !important; }
html body.pg-shop-page:not(#pg0) .pg-content .pg-subtitle { font-size: 1.05rem !important; font-weight: 400 !important; margin: .35rem 0 1rem !important; }
/* the shop menu inside a page's text column (the shop's own pages) takes no list indent from the text — the same rows as on a category page */
html body:not(#pg0) .pg-content .pg-side-menu--shop ul { padding-left: 0 !important; margin-left: 0 !important; list-style: none; }

/* phones (owner 2026-11-29: "on products (only on mobile) increase price font size by 30% and 'į krepšelį' font size and button size by also 20% …
   avoid making products cards bigger, use already free empty space zones for this"): the room comes from the price's own margins and the card's
   padding — card_sizes_probe.cjs measures every card's height before / after. Later the same day: "I asked to increase 'į krepšelį' pricing font size
   on mobiles by 30% remember? now reduce that font size by 15%" — the price 15 % smaller than that: 1.3 → 1.105 rem (the row cards 1.105 → .94 rem) */
@media (max-width: 781px) {
	.woocommerce ul.products li.product .price { font-size: 1.105rem; margin: .15rem 0 .3rem !important; }
	.woocommerce ul.products li.product .button { font-size: 1.05rem; padding: .66rem 1.32rem !important; }
}
@media (max-width: 480px) {
	.woocommerce ul.products li.product .button { font-size: .96rem; padding: .54rem .96rem !important; }
	.woocommerce ul.products li.product a img { margin-bottom: .45rem !important; }
}
@media (max-width: 781px) {
	@container pgside (max-width: 420px) {
		.woocommerce ul.products li.product { padding-top: .45rem !important; padding-bottom: .45rem !important; }
		.woocommerce ul.products li.product .price { font-size: .94rem; margin: 0 0 .55rem !important; }
		.woocommerce ul.products li.product .button { font-size: .888rem; padding: .36rem .78rem !important; }
		.woocommerce ul.products li.product a img { margin-bottom: 0 !important; } /* the ≤ 480 px card rule's .45 rem is for the cards in a grid, not these row cards (code review 2026-11-29) */
	}
}
/* a product on a phone (owner 2026-11-29: "on single products make the product images 50% smaller and fit price, quantity and 'į krepšelį' to the
   same row as the image is without dropping it to the bottom"): the title on top, the picture at half its old width (170 → 85 px on a 390 px phone)
   on the left with the price and quantity + „Į krepšelį“ beside it; the short text and the tabs below as before. The column holds the picture's frame
   (padding + border ≈ 26 px): min(28.5 %, 150 px) = 111 px at 390 → the picture ≈ 85 px (the first 23.7 % gave 64 px — measured, phone_layout_probe) */
@media (max-width: 781px) {
	.single-product div.product { display: grid !important; grid-template-columns: min(28.5%, 150px) minmax(0, 1fr); column-gap: 1rem !important; row-gap: 0 !important; align-items: center; } /* !important: the older phone rule's „gap: 0 !important“ had left the price flush against the picture (code review 2026-11-29) */
	.single-product div.product > *, .single-product div.product div.summary > * { grid-column: 1 / -1; }
	.single-product div.product div.summary > .product_title { grid-row: 1; }
	.single-product div.product div.images { grid-column: 1 !important; grid-row: 2 / span 2; width: 100% !important; max-width: none !important; margin: 0 0 .9rem !important; box-sizing: border-box; overflow: hidden; }
	.single-product div.product div.images img { width: 100% !important; height: auto !important; }
	.single-product div.product div.summary > p.price { grid-column: 2 !important; grid-row: 2; align-self: end; margin: 0 0 .45rem !important; }
	.single-product div.product div.summary > form.cart { grid-column: 2 !important; grid-row: 3; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .9rem !important; }
	.single-product div.product div.summary > form.cart :is(.quantity, .single_add_to_cart_button) { margin: 0 !important; float: none !important; }
}

/* ---------- the shop on a phone (owner 2026-11-30) ---------- */
/* "empty gap before it should be smaller": the list „Parduotuvės meniu“ closer to what stands above it (it was 24 px, on a product page 44 px) */
@media (max-width: 781px) {
	html body:has(.pg-shopnav-toggle) .pg-main > .pg-layout { margin-block-start: 0; padding-top: .75rem; }
	html body .pg-shopnav-toggle { margin-block: 0 .9rem; }
	html body .pg-shopnav-toggle > summary { font-size: 1.0625rem; }
	/* names a person reads: 14 px (they were 12.8–13.6 px). Not more: 15 px made cards with a long name up to 20 px taller (the owner, 2026-11-29:
	   "avoid making products cards bigger"); the price and „Į krepšelį“ keep the sizes the owner set that day */
	html body:not(#pg0) ul.products li.product .woocommerce-loop-product__title { font-size: .875rem !important; }
	html body .pg-ptable__table th, html body .pg-ptable__table th button { font-size: .875rem; }
	html body .pg-ptable__table :is(td.pg-ptable__c-sku, td.pg-ptable__c-desc, td.pg-ptable__c-cat) { font-size: .875rem; }
	html body .pg-ptable .pg-ptable__buy { font-size: .875rem !important; }
	html body .woocommerce-cart table.shop_table th { font-size: .875rem; }
	html body :is(.pg-cart__info .variation, .pg-cart__price, .pg-cart__qty-single, .pg-cart__s-price, .pg-cart__coupon summary, .pg-cart__uncoupon, .pg-cart__total small, .pg-cart__ghost) { font-size: .875rem; }
	html body :is(.pg-cart__subtitle, .pg-cart__s-name) { font-size: .9375rem; }
	html body .woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: .9375rem !important; padding: .45rem .42rem !important; }
	html body:not(#pg0) .woocommerce #reviews #comments .woocommerce-review__verified, html body:not(#pg0) #reviews #review_form #respond :is(.comment-notes, .comment-form-cookies-consent label) { font-size: .875rem; }
}
/* the checkout, every width: the payment mark in its own small size (the plugin draws it 64 px wide; the theme's rule for pictures in a text
   made it 320 px and it ran to the edge of its box on a phone) */
html body:not(#pg0) .woocommerce-checkout #payment ul.payment_methods li img { max-width: min(100%, 110px) !important; height: auto !important; vertical-align: middle; }
/* the small product cards beside a text on a computer: „Į krepšelį“ 13 px (it was 11.8) */
@media (min-width: 782px) { @container pgside (max-width: 420px) { html body .woocommerce ul.products li.product .button { font-size: .8125rem; } } }
