/* WooCommerce styling for the meduolis theme. Tokens, base, header and footer come from shell.css. */
select, textarea { font: inherit; }
select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.store-main, .page-content { padding-top: 28px; padding-bottom: var(--section); min-height: 45vh; }
.page-content h1, .woocommerce-products-header__title, .store-main h1.page-title { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 28px; }
.woocommerce-breadcrumb { font-size: 14px !important; color: var(--muted) !important; margin-bottom: 28px !important; }
.woocommerce-breadcrumb a:hover { color: var(--ink); }

/* Catalog cards: square photo, category, centred title and price (as on the current storefront). */
.woocommerce .woocommerce-result-count { font-size: 15px; color: var(--muted); }
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink); max-width: 100%; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin: 28px 0 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; text-align: center; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product a img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 0 14px; background: var(--surface); border-radius: var(--radius-media); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.woocommerce ul.products li.product a:hover img { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.woocommerce ul.products li.product a:hover { text-decoration: none; }
/* Out-of-stock overlay (functions.php): covers the square photo, which keeps still on hover. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative; }
.stock-overlay { position: absolute; inset: 0 0 auto; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-media); background: #faf8f459; pointer-events: none; }
.stock-overlay span { padding: 8px 18px; border-radius: 999px; background: #fffdf9; color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: .02em; box-shadow: 0 8px 22px -10px #392e2980; }
.woocommerce ul.products li.product.is-unavailable a img { filter: grayscale(.3); }
.woocommerce ul.products li.product.is-unavailable a:hover img { transform: none; box-shadow: none; }
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title { text-decoration: underline; text-underline-offset: 4px; }
.woocommerce ul.products li.product .loop-category { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-inline: 6px; margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 6px; padding: 0 6px; font-size: 16px; font-weight: 400; line-height: 1.4; text-wrap: balance; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.woocommerce ul.products li.product .price { display: block; margin: 0; font-size: 15px; color: var(--ink); }
.woocommerce span.onsale { background: var(--brand); border-radius: var(--radius); min-height: 0; line-height: 1.4; padding: 6px 12px; font-size: 12px; min-width: 0; }
.woocommerce .star-rating { color: var(--brand); }
.woocommerce nav.woocommerce-pagination { margin-top: 56px; }
.woocommerce nav.woocommerce-pagination ul, .woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border-radius: 50%; color: var(--brand); font-variant-numeric: lining-nums; }
.woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li a:focus { background: var(--surface); color: var(--brand); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--brand); color: #fff; }

/* Buttons: the same treatment as .button in shell.css. */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 26px; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; text-decoration: none; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce button.button.alt:disabled, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.disabled { color: #fff; background: var(--brand); border-color: var(--brand); opacity: .45; cursor: not-allowed; }
.woocommerce a.added_to_cart { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Single product: gallery beside a sectioned summary; description and storage notes follow. */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; min-width: 0; }
.woocommerce div.product > div.images { grid-column: 1; width: auto; float: none; margin: 0; }
.woocommerce div.product > div.summary { grid-column: 2; width: auto; float: none; margin: 0; }
.woocommerce div.product > span.onsale { top: 16px; left: 16px; z-index: 2; }
.woocommerce div.product div.images .flex-viewport, .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { overflow: hidden; border-radius: 8px; background: var(--surface); }
.woocommerce div.product div.images img { border-radius: 0; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--radius); opacity: .62; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s var(--ease), outline-color .2s var(--ease); }
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { opacity: 1; outline-color: var(--brand); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); box-shadow: 0 6px 18px -8px #392e2966; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.woocommerce div.product .summary p.price { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 26px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16px; overflow-wrap: anywhere; }
.woocommerce div.product .woocommerce-product-details__short-description p { margin-bottom: 14px; }
/* Some imported descriptions use preformatted or code text; keep it in the brand font and inside the column. */
.woocommerce div.product .summary pre, .woocommerce div.product .summary code, .woocommerce div.product .woocommerce-tabs pre, .woocommerce div.product .woocommerce-tabs code { font-family: inherit; font-size: inherit; white-space: pre-wrap; overflow-wrap: anywhere; background: none; padding: 0; margin: 0 0 14px; }
.product-delivery { margin-block: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; font-size: 15px; }
.product-delivery summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-weight: 600; }
.product-delivery summary::-webkit-details-marker { display: none; }
.product-delivery summary::after { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.product-delivery[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.product-delivery div { padding-top: 10px; color: var(--muted); }
.product-delivery p:last-child { margin-bottom: 0; }
/* Purchase panel: add-on fields, variations, quantity and button together. */
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 22px 0 18px; padding: 24px; border-radius: 8px; background: var(--surface); }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart > :not(.quantity):not(button) { flex-basis: 100%; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-width: 180px; }
.woocommerce div.product form.variations_form { display: block; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 6px; border: 0; }
.woocommerce div.product form.cart .variations tbody, .woocommerce div.product form.cart .variations tr, .woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations tr { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.woocommerce div.product form.cart .variations select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 22px; }
.woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce .quantity .qty { width: 80px; height: 50px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink); font-variant-numeric: lining-nums; }
/* Quantity stepper: minus, field and plus share one bordered control; the browser's own spin arrows are hidden. */
.woocommerce .quantity:has(.quantity-step) { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; overflow: hidden; }
.woocommerce .quantity:has(.quantity-step) .qty { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.woocommerce .quantity:has(.quantity-step) .qty::-webkit-outer-spin-button, .woocommerce .quantity:has(.quantity-step) .qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.woocommerce .quantity:has(.quantity-step) .qty:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.quantity-step { display: inline-flex; align-items: center; justify-content: center; width: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.quantity-step:hover:not(:disabled) { background: var(--surface); color: var(--brand); }
.quantity-step:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.quantity-step:disabled { color: var(--line-strong); cursor: default; }
.wcpa_form_outer { width: 100%; margin: 0 !important; font-size: 15px; }
.wcpa_form_outer label { font-size: 14px; font-weight: 600; }
.wcpa_form_outer textarea, .wcpa_form_outer input[type="text"], .wcpa_form_outer select { width: 100%; background: #fff !important; border: 1px solid var(--line-strong) !important; border-radius: var(--radius) !important; }
.wcpa_form_outer textarea { min-height: 110px; }
.product-assurances { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; }
.product-assurances li { display: flex; align-items: center; gap: 12px; }
.product-assurances svg { color: var(--brand); }
.woocommerce .product_meta { padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.woocommerce .product_meta > span { display: block; }
.woocommerce .product_meta a { text-decoration: underline; text-underline-offset: 3px; }
/* Description beside the storage notes. */
.woocommerce div.product > .woocommerce-tabs { grid-column: 1 / -1; margin-top: 72px; padding-top: 0; }
.woocommerce div.product > .product-storage { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 760px; margin-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs:has(> li:only-child) { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; padding: 12px 22px; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; margin: 0 auto; padding: 0; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: clamp(24px, 2.4vw, 32px); margin-block: 44px 14px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { margin-top: 0; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 20px; margin-block: 28px 8px; }
.woocommerce div.product .woocommerce-tabs .panel li { margin-bottom: 8px; }
.woocommerce div.product .woocommerce-tabs .panel hr { margin-block: 32px; border: 0; border-top: 1px solid var(--line); }
.product-storage { padding: 28px; border-radius: 8px; background: var(--surface); font-size: 15px; line-height: 1.7; color: var(--ink); }
.product-storage h2 { margin-bottom: 12px; font-size: 19px; font-weight: 600; letter-spacing: 0; }
.product-storage div + div { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e0dbd2; }
.product-storage p { margin: 0; }
/* Facts from the description's “Papildoma informacija” block, in a band below the product text. */
.product-facts { padding: 36px 40px; border-radius: 8px; background: var(--surface); font-size: 15px; line-height: 1.7; }
.woocommerce div.product > .product-facts { margin-top: 56px; }
.product-facts > h2 { margin-bottom: 24px; font-size: 22px; font-weight: 600; letter-spacing: 0; }
.product-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 48px; align-items: start; }
.product-facts h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.product-facts section { color: var(--muted); }
.product-facts section + section { margin-top: 24px; }
.product-facts p { margin: 0 0 10px; }
.product-facts p:last-child { margin-bottom: 0; }
.product-facts strong { color: var(--ink); font-weight: 600; }
.product-facts-notice { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed #d6cfc4; }
.product-facts-notice p { margin: 0; }
.nutrition-table { width: 100%; margin: 0 0 12px; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.nutrition-table th, .nutrition-table td { padding: 6px 0; border-bottom: 1px solid #e0dbd2; text-align: left; font-weight: 400; }
.nutrition-table td { text-align: right; color: var(--ink); white-space: nowrap; }
.nutrition-table tr:first-child th, .nutrition-table tr:first-child td { font-weight: 600; color: var(--ink); }
/* The opening sentence leads the description. */
.woocommerce div.product .woocommerce-tabs #tab-description > h2 + p { font-size: 19px; line-height: 1.65; color: var(--ink); }
.woocommerce .related.products, .woocommerce .upsells.products { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: clamp(24px, 2.4vw, 32px); }
.woocommerce .related.products ul.products, .woocommerce .upsells.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin-top: 24px; }

/* Form fields shared by cart, checkout and account */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce .select2-container .select2-selection--single, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce form.checkout_coupon .input-text { min-height: 48px; padding: 10px 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce-cart table.cart td.actions .coupon .input-text:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px #49352b1f; }
.woocommerce .select2-container .select2-selection--single { padding: 6px 4px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row input[type="checkbox"], .woocommerce input[type="radio"] { width: 18px; height: 18px; accent-color: var(--brand); }
.woocommerce form .form-row .input-checkbox { position: static; margin: 0 8px 0 0; vertical-align: middle; }
.woocommerce form .form-row label.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.woocommerce form .form-row .required { color: #a33a2b; text-decoration: none; border: 0; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 47%; }
.woocommerce table.shop_table .woocommerce-Price-amount { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

/* Notices: WooCommerce's icon font is not loaded, so its glyphs are dropped. */
.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 24px; padding: 14px 18px; list-style: none; background: var(--surface); border: 0; border-left: 3px solid var(--brand); border-radius: var(--radius); color: var(--ink); font-size: 15px; line-height: 1.5; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.woocommerce-error { flex-direction: column; align-items: flex-start; border-left-color: #a33a2b; background: #f7e9e6; }
.woocommerce-error li { margin: 0; }
.woocommerce .woocommerce-error li a:not(.button) { text-decoration: none; }
.woocommerce .woocommerce-error li a:not(.button):hover { text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }

/* Checkout steps: Krepšelis → Apmokėjimas → Užsakymas pateiktas */
.checkout-flow { padding-top: 36px; }
.checkout-steps { margin: 0 0 40px; }
.checkout-steps ol { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.checkout-steps li + li::before { content: ""; width: clamp(20px, 6vw, 72px); height: 1px; margin-right: 4px; background: var(--line-strong); }
.checkout-steps a { display: flex; align-items: center; gap: 10px; }
.checkout-steps a:hover { color: var(--brand); text-decoration: none; }
.checkout-step-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 14px; font-weight: 600; font-variant-numeric: lining-nums; }
.checkout-steps .is-current { font-weight: 700; color: var(--ink); }
.checkout-steps .is-current .checkout-step-number { border-color: var(--brand); background: var(--brand); color: #fff; }
.checkout-steps .is-done .checkout-step-number { border-color: var(--surface); background: var(--surface); color: var(--brand); }

/* Cart: items beside a sticky summary */
.woocommerce-cart .checkout-flow .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0 48px; align-items: start; }
.woocommerce-cart .checkout-flow .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
.woocommerce-cart .checkout-flow .woocommerce > .woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .checkout-flow .woocommerce > .cart-collaterals { grid-column: 2; position: sticky; top: calc(var(--header-height) + 24px); }
.woocommerce-cart table.cart { margin: 0; border: 0; border-radius: 0; border-collapse: collapse; }
.woocommerce-cart table.cart thead th { padding: 0 12px 12px; border-bottom: 1px solid var(--line); background: none; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.woocommerce-cart table.cart thead th.product-subtotal, .woocommerce-cart table.cart td.product-subtotal { text-align: right; }
.woocommerce-cart table.cart td { padding: 20px 12px; border-top: 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce-cart table.cart td.product-remove { width: 44px; padding-inline: 0; }
.woocommerce-cart table.cart td.product-thumbnail { width: 108px; }
.woocommerce-cart table.cart img { display: block; width: 88px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-media); }
.woocommerce-cart table.cart td.product-name > a { font-size: 16px; font-weight: 500; line-height: 1.4; }
.woocommerce-cart table.cart td.product-subtotal { font-weight: 600; }
.woocommerce table.cart a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted) !important; font-size: 20px; font-weight: 400; line-height: 1; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.woocommerce table.cart a.remove:hover { border-color: var(--line-strong); background: var(--surface) !important; color: var(--brand) !important; text-decoration: none; }
.woocommerce-cart table.cart .quantity .qty { width: 72px; height: 44px; }
.woocommerce-cart table.cart .quantity:has(.quantity-step) .qty { width: 44px; height: 42px; }
.woocommerce-cart table.cart .quantity-step { width: 38px; }
/* Personalisation and variation details under the product name. */
.woocommerce ul.wcpa_cart_meta { margin: 6px 0 0 !important; padding: 0 !important; list-style: none; }
.woocommerce .wcpa_cart_meta_item { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0 0 2px !important; padding: 0 !important; font-size: 14px; line-height: 1.5; color: var(--muted); }
.woocommerce .wcpa_cart_meta_item-label { margin: 0 !important; padding: 0 !important; font-weight: 600; color: var(--ink); }
.woocommerce .wcpa_cart_meta_item-value, .woocommerce .wcpa_cart_meta_item-value p { margin: 0 !important; padding: 0 !important; }
.woocommerce-cart table.cart td.actions { padding: 20px 0 0; border: 0; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 220px !important; margin: 0; }
.woocommerce-cart table.cart td.actions .button { min-height: 48px; padding: 10px 18px; border-color: var(--line-strong); background: transparent; color: var(--brand); font-size: 14px; }
.woocommerce-cart table.cart td.actions .button:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.woocommerce-cart table.cart td.actions .button:disabled, .woocommerce-cart table.cart td.actions .button:disabled[disabled] { border-color: var(--line); background: transparent; color: var(--muted); opacity: .7; }
/* Cart Share & Save: a quiet text action instead of the plugin's orange button. */
.woocommerce-cart .woocommerce-cart-form .wcss-btn { display: inline-flex; margin-top: 18px; padding: 6px 0 4px !important; min-height: 0 !important; border: 0 !important; border-bottom: 1px solid var(--line-strong) !important; border-radius: 0 !important; background: none !important; color: var(--brand) !important; font-size: 14px !important; font-weight: 600; box-shadow: none !important; }
.woocommerce-cart .woocommerce-cart-form .wcss-btn:hover { border-bottom-color: var(--brand) !important; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; padding: 28px; background: var(--surface); border-radius: 8px; }
.woocommerce-cart .cart_totals h2 { margin: 0 0 14px; font-size: 22px; }
.parcel-shipping-progress { margin: 0 0 22px; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-media); background: #fffdf9; }
.parcel-shipping-progress p { margin: 0; font-size: 14px; line-height: 1.6; }
.parcel-shipping-progress strong { white-space: nowrap; color: var(--brand); }
.parcel-shipping-progress progress { display: block; width: 100%; height: 5px; margin-top: 12px; border: 0; border-radius: 99px; overflow: hidden; background: var(--line); accent-color: var(--brand); }
.parcel-shipping-progress progress::-webkit-progress-bar { background: var(--line); border-radius: 99px; }
.parcel-shipping-progress progress::-webkit-progress-value { background: var(--brand); border-radius: 99px; }
.parcel-shipping-progress progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.parcel-shipping-progress.is-free { border-color: #b9c8ad; background: #f1f5ed; }
.woocommerce-cart .woocommerce-shipping-destination { display: none; }

/* Totals and order summary as label/value rows */
.cart_totals table.shop_table, .cart_totals table.shop_table tbody, .woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; margin: 0 !important; border: 0 !important; border-radius: 0; background: none; }
.woocommerce-checkout-review-order-table thead { display: none; }
.cart_totals table.shop_table tr, .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid #e0dbd2; }
.cart_totals table.shop_table tr:first-child, .woocommerce-checkout-review-order-table tbody tr:first-child { padding-top: 0; border-top: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { display: block; padding: 0 !important; border: 0 !important; background: none !important; font-size: 15px; line-height: 1.5; text-align: left; }
.cart_totals table.shop_table th, .woocommerce-checkout-review-order-table tfoot th { font-weight: 600; }
.cart_totals table.shop_table td, .woocommerce-checkout-review-order-table td.product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout-review-order-table td.product-name { flex: 1; min-width: 0; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 600; color: var(--muted); }
.cart_totals tr.woocommerce-shipping-totals, .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 10px; }
.cart_totals tr.woocommerce-shipping-totals td, .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { text-align: left; }
.woocommerce-checkout-review-order-table tr.montonio-pickup-point { display: block; }
.woocommerce-checkout-review-order-table tr.montonio-pickup-point td { width: 100%; text-align: left !important; }
.montonio-pickup-point__label { font-size: 15px; font-weight: 600; }
.montonio-pickup-point__label abbr { text-decoration: none; border: 0; color: #a33a2b; }
.cart_totals tr.order-total, .woocommerce-checkout-review-order-table tr.order-total { padding-top: 16px; border-top-color: var(--line-strong); }
.cart_totals tr.order-total th, .cart_totals tr.order-total td, .woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout-review-order-table tr.order-total td { font-size: 20px; font-weight: 700; }
.cart_totals tr.order-total small, .woocommerce-checkout-review-order-table tr.order-total small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.woocommerce-shipping-destination, .woocommerce-shipping-contents { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Shipping methods as selectable cards */
.woocommerce ul#shipping_method { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.woocommerce ul#shipping_method li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-media); background: #fff; line-height: 1.4; text-indent: 0; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.woocommerce ul#shipping_method li:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.woocommerce ul#shipping_method li input { flex-shrink: 0; margin: 0; }
.woocommerce ul#shipping_method li label { flex: 1; min-width: 0; margin: 0; font-size: 14px; cursor: pointer; }
.shipping-method-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shipping-method-name { font-weight: 500; }
.shipping-method-name .amount { font-weight: 700; }
.shipping-method-logo { flex-shrink: 0; width: 40px; height: 40px; object-fit: contain; border-radius: var(--radius); }
.woocommerce .wc-proceed-to-checkout { padding: 22px 0 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 54px; margin: 0; font-size: 16px; }
.continue-shopping { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; color: var(--muted); }
.continue-shopping:hover { color: var(--brand); }

/* Empty cart */
.woocommerce-cart .cart-empty.woocommerce-info { justify-content: center; margin: 0; padding: 48px 20px 20px; border: 0; background: none; font-size: 20px; text-align: center; }
.woocommerce-cart .return-to-shop { margin: 0; text-align: center; }

/* Checkout: details and payment beside the order summary */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 14px; padding: 12px 16px; border-left-color: var(--line-strong); font-size: 14px; }
.woocommerce-checkout form.checkout_coupon { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; max-width: 480px; margin: 0 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; }
.woocommerce-checkout form.checkout_coupon > p:not(.form-row) { flex-basis: 100%; margin: 0 0 4px; font-size: 14px; }
.woocommerce-checkout form.checkout_coupon .form-row { float: none; width: auto; margin: 0; }
.woocommerce-checkout form.checkout_coupon .form-row-first { flex: 1; }
.woocommerce-checkout form.checkout_coupon .clear { display: none; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 48px; align-items: start; }
.woocommerce-checkout form.checkout > * { grid-column: 1; min-width: 0; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.woocommerce-checkout #customer_details { grid-row: 2; }
/* Buyer details, delivery card (checkout-delivery.php), payment heading and payment in the left column. */
.woocommerce-checkout .checkout-payment-heading { grid-row: 4; }
.woocommerce-checkout form.checkout > #payment { grid-row: 5; }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2 / span 4; align-self: start; padding: 26px; border-radius: 8px; background: var(--surface); }
.order-review-title, .woocommerce-checkout #customer_details h3, .checkout-payment-heading { margin: 0 0 18px; font-size: 22px; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2, .woocommerce-checkout form.checkout > #payment { margin-bottom: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; }
.woocommerce-checkout .checkout-payment-heading { margin: 0; padding: 28px 28px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; background: #fffdf9; }
.woocommerce-checkout form.checkout > #payment { padding-top: 18px; border-top: 0; border-radius: 0 0 8px 8px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > *, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > * { grid-column: 1 / -1; float: none !important; width: auto !important; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last,
.woocommerce-checkout #billing_city_field, .woocommerce-checkout #billing_state_field, .woocommerce-checkout #billing_postcode_field, .woocommerce-checkout #billing_phone_field, .woocommerce-checkout #billing_email_field, .woocommerce-checkout #shipping_city_field, .woocommerce-checkout #shipping_state_field, .woocommerce-checkout #shipping_postcode_field { grid-column: auto; }
.woocommerce-checkout #billing_country_field strong, .woocommerce-checkout #shipping_country_field strong { font-weight: 500; }
.woocommerce-checkout #customer_details h3#ship-to-different-address { margin: 0 0 8px; font-size: 16px; }
.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.woocommerce-checkout .woocommerce-additional-fields h3 { margin-top: 18px; }
.woocommerce-checkout .woocommerce-additional-fields .form-row { margin-bottom: 0; }
.cart-auto-update .woocommerce-cart-form [name="update_cart"], .woocommerce-cart .woocommerce-cart-form .wcss-btn { display: none !important; }
.cart-update-status { display: none; }
.cart-auto-update .cart-update-status { display: block; min-height: 1.6em; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.small-order-explanation { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 400; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { border: 0; background: transparent; padding: 0 0 12px; font-size: 13px; }
.checkout-notes { margin-top: 12px; }
.checkout-notes summary { cursor: pointer; padding: 12px 0; font-size: 14px; color: var(--muted); }
.checkout-notes .woocommerce-additional-fields__field-wrapper { padding: 8px 0 24px; }
.checkout-notes h3 { display: none; }
.woocommerce-checkout #customer_details .col-2:has(.checkout-notes) { padding: 0; border: 0; background: transparent; margin: 0; }
.woocommerce-checkout #checkout-delivery { grid-column: 1; grid-row: 3; padding: 28px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; }
#checkout-delivery h3 { font-size: 22px; margin-bottom: 8px; }
#checkout-delivery > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
#checkout-delivery table, #checkout-delivery tbody, #checkout-delivery tr, #checkout-delivery td { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
#checkout-delivery th { display: none; }
#checkout-delivery .montonio-pickup-point { margin-top: 20px; }
.pickup-selection { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-media); font-size: 14px; }
.pickup-change { padding: 4px 0; border: 0; background: none; text-decoration: underline; color: var(--brand); cursor: pointer; }
.checkout-pay-total { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 8px; font-size: 18px; }
.payment-handoff { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 1000px) {
  .woocommerce-checkout #checkout-delivery { order: 2; width: 100%; padding: 20px; }
  .woocommerce-checkout #order_review { order: 3; }
  .woocommerce-checkout .checkout-payment-heading { order: 4; }
  .woocommerce-checkout form.checkout > #payment { order: 5; }
}
/* Payment */
.woocommerce-checkout #payment { background: #fffdf9; }
.woocommerce-checkout #payment ul.payment_methods { margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-media); background: #fff; list-style: none; line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li:last-child { margin-bottom: 0; }
.woocommerce-checkout #payment ul.payment_methods li:has(> input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.woocommerce-checkout #payment ul.payment_methods li > input { margin: 0 10px 0 0; vertical-align: middle; }
.woocommerce-checkout #payment ul.payment_methods li > label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; vertical-align: middle; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 26px; margin: 0 !important; }
.woocommerce-checkout #payment div.payment_box { margin: 12px 0 0; padding: 14px; border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.montonio-bank-payments-form .montonio-bank-items.montonio-bank-items--list { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.montonio-bank-payments-form .montonio-bank-items--list .montonio-bank-item { width: auto !important; height: 56px !important; padding: 8px 12px !important; border-radius: var(--radius) !important; }
.montonio-bank-payments-form .montonio-bank-items .montonio-bank-item.active { border-color: var(--brand) !important; box-shadow: 0 0 0 1px var(--brand); }
.montonio-bank-payments-form .montonio-bank-items img { max-height: 28px; }
.woocommerce-checkout #payment div.form-row.place-order { margin: 0; padding: 18px 0 0; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; line-height: 1.6; color: var(--muted); }
.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0 0 8px; }
.woocommerce-checkout .woocommerce-privacy-policy-text a, .woocommerce-checkout .woocommerce-terms-and-conditions-link { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 14px 0 0; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox { align-items: flex-start; font-size: 15px; line-height: 1.5; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox input { margin-top: 2px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text { flex: 0 1 auto; }
.woocommerce-checkout #payment #place_order { float: none; width: 100%; min-height: 56px; margin-top: 16px; font-size: 17px; }

/* Order received */
.woocommerce-order .woocommerce-thankyou-order-received { margin-bottom: 24px; font-size: 22px; font-weight: 500; }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.woocommerce ul.order_details::before, .woocommerce ul.order_details::after { display: none; }
.woocommerce ul.order_details li { flex: 1 1 160px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.woocommerce ul.order_details li strong { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-details table.shop_table, .woocommerce-customer-details address { border: 1px solid var(--line); border-radius: 8px; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { font-weight: 700; }

/* Catalog layout: sticky category sidebar beside the grid. */
.catalog-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 56px; align-items: start; }
.catalog-sidebar { position: sticky; top: calc(var(--header-height) + 24px); max-height: calc(100dvh - var(--header-height) - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 24px 2px; scrollbar-width: thin; }
.catalog-filters > summary { display: none; }
.catalog-sidebar h2 { position: relative; margin: 0 0 14px; padding-bottom: 12px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.catalog-sidebar h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--line-strong); }
.category-tree > li { border-bottom: 1px solid var(--line); }
.category-tree a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 36px 9px 0; font-size: 16px; line-height: 1.4; transition: color .15s var(--ease); }
.category-tree a:hover { color: var(--brand); text-decoration: none; }
.category-tree a:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.category-tree a[aria-current="page"] { font-weight: 700; color: var(--brand); text-decoration: none; }
.category-count { flex-shrink: 0; font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.category-tree details > summary { position: absolute; top: 6px; right: -4px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; list-style: none; cursor: pointer; color: var(--muted); }
.category-tree ul { margin: 0 0 10px 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.category-tree ul a { padding-block: 6px; font-size: 15px; }
.category-tree, .category-tree ul { margin: 0; padding: 0; list-style: none; }
.category-tree li { position: relative; }
.category-tree details > summary::-webkit-details-marker { display: none; }
.category-tree details > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.category-tree details[open] > summary::before { transform: translateY(1px) rotate(-135deg); }
.category-tree details > summary:hover { background: var(--surface); }
.catalog-content .term-description { max-width: 720px; margin-bottom: 20px; color: var(--muted); }

/* Complianz consent banner in the site palette (its colours are :root variables). */
html:root { --cmplz_banner_background_color: var(--paper); --cmplz_banner_border_radius: 6px; --cmplz_text_color: var(--ink); --cmplz_hyperlink_color: var(--brand); --cmplz_text_font_size: 13px; --cmplz_link_font_size: 13px; --cmplz_button_accept_background_color: var(--brand); --cmplz_button_accept_border_color: var(--brand); --cmplz_button_accept_text_color: #fff; --cmplz_button_deny_background_color: var(--surface); --cmplz_button_deny_border_color: var(--line); --cmplz_button_deny_text_color: var(--ink); --cmplz_button_settings_background_color: var(--surface); --cmplz_button_settings_border_color: var(--line); --cmplz_button_settings_text_color: var(--ink); --cmplz_button_border_radius: 4px; --cmplz_slider_active_color: var(--brand); }
.cmplz-cookiebanner { box-shadow: 0 24px 60px -24px #392e2966 !important; font-family: Raleway, Arial, sans-serif; }
.cmplz-cookiebanner .cmplz-btn { font-weight: 600; }

/* Title, then result count and sorting on one row above the grid. */
.catalog-content { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.catalog-content > * { flex: 0 0 100%; min-width: 0; }
.catalog-content > .woocommerce-products-header { margin-bottom: 10px; }
.catalog-content .woocommerce-products-header__title { margin: 0 0 6px; font-size: clamp(28px, 2.6vw, 36px); }
.catalog-content > .woocommerce-result-count { flex: 1 1 auto; margin: 0; }
.catalog-content > .woocommerce-ordering { flex: 0 0 auto; float: none; margin: 0; }

@media (max-width: 1050px) {
  .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 36px; }
  .catalog-content ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product { column-gap: 40px; }
  .woocommerce .related.products ul.products, .woocommerce .upsells.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
  .checkout-flow { --summary-top: calc(var(--header-height) + 24px); }
  .admin-bar .checkout-flow { --summary-top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 32px) + 24px); }
  .woocommerce-cart .checkout-flow .woocommerce { min-height: calc(100dvh - var(--summary-top)); align-content: start; }
  .woocommerce-cart .checkout-flow .woocommerce > .cart-collaterals,
  .woocommerce-checkout #order_review { position: sticky; top: var(--summary-top); max-height: calc(100dvh - var(--summary-top) - 24px); overflow-y: auto; scrollbar-width: thin; }
}

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .catalog-sidebar { position: static; max-height: none; overflow: visible; padding: 0; }
  .catalog-filters { border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; }
  .catalog-sidebar h2 { display: none; }
  .catalog-filters > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; list-style: none; font-weight: 600; cursor: pointer; }
  .catalog-filters > summary::-webkit-details-marker { display: none; }
  .catalog-filters > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .catalog-filters[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .catalog-filters-body { padding: 4px 14px 18px; }
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
  .woocommerce div.product > div.images, .woocommerce div.product > div.summary, .woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .product-storage, .woocommerce div.product > .product-facts { grid-column: 1; position: static; }
  .woocommerce div.product > div.summary { margin-top: 28px; }
  .woocommerce div.product > .woocommerce-tabs { margin-top: 48px; }
  .woocommerce div.product > .product-storage, .woocommerce div.product > .product-facts { margin-top: 32px; }
  /* Summary (with shipping and pickup point) before payment on narrow screens. */
  .woocommerce-checkout form.checkout { display: flex; flex-direction: column; }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { order: 0; }
  .woocommerce-checkout #customer_details { order: 1; }
  .woocommerce-checkout #order_review { order: 2; margin-bottom: 28px; }
  .woocommerce-checkout .checkout-payment-heading { order: 3; }
  .woocommerce-checkout form.checkout > #payment { order: 4; }
  .woocommerce-cart .checkout-flow .woocommerce { display: block; }
  .woocommerce-cart .checkout-flow .woocommerce > .cart-collaterals { position: static; margin-top: 32px; }
}
@media (max-width: 760px) {
  .store-main { padding-top: 20px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; padding: 0; }
  .woocommerce ul.products li.product .price { font-size: 14px; }
  .catalog-content ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-content > .woocommerce-ordering { flex: 1 1 100%; margin-top: 10px; }.catalog-content .woocommerce-ordering select { width: 100%; }
  .woocommerce div.product .product_title { font-size: 28px; }
  .woocommerce div.product .summary p.price { font-size: 22px; }
  .woocommerce div.product form.cart { padding: 18px; }
  .woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .woocommerce .related.products, .woocommerce .upsells.products { margin-top: 56px; padding-top: 36px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { padding: 10px 13px; }
  .woocommerce div.product .woocommerce-tabs .panel { font-size: 16px; }
  .product-storage, .product-facts { padding: 22px; }
  .product-facts-grid { gap: 24px; }
  .woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: 100%; }
  .checkout-flow { padding-top: 24px; }
  .checkout-steps { margin-bottom: 28px; }
  .checkout-steps ol { gap: 8px; }
  .checkout-steps li { flex-direction: column; gap: 6px; font-size: 12px; text-align: center; }
  .checkout-steps li + li::before { display: none; }
  .checkout-steps a { flex-direction: column; gap: 6px; }
  .checkout-steps li + li { padding-left: 14px; border-left: 1px solid var(--line); }
  .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { padding: 20px; }
  .woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2, .woocommerce-checkout form.checkout > #payment { padding: 20px; }
  .woocommerce-checkout .checkout-payment-heading { padding: 20px 20px 0; }
  .woocommerce-checkout form.checkout > #payment { padding-top: 14px; }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > *, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > * { grid-column: 1 / -1 !important; }
  .montonio-bank-payments-form .montonio-bank-items.montonio-bank-items--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (hover: none) { .woocommerce ul.products li.product a:hover img { transform: none; box-shadow: none; } }
/* Cart items as compact cards on small screens (WooCommerce's responsive table breakpoint). */
@media (max-width: 768px) {
  .woocommerce-cart table.cart tbody tr.cart_item { position: relative; display: grid !important; grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "thumb name name" "thumb qty total"; gap: 8px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .woocommerce-cart table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
  .woocommerce-cart table.cart tr.cart_item td::before { content: none !important; }
  .woocommerce-cart table.cart td.product-remove { position: absolute; top: 14px; right: 0; width: auto; }
  .woocommerce-cart table.cart td.product-thumbnail { grid-area: thumb; width: auto; }
  .woocommerce-cart table.cart td.product-thumbnail img { width: 76px; }
  .woocommerce-cart table.cart tr.cart_item td.product-name { grid-area: name; padding-right: 44px !important; }
  .woocommerce-cart table.cart tr.cart_item td.product-price { display: none !important; }
  .woocommerce-cart table.cart td.product-quantity { grid-area: qty; align-self: center; }
  .woocommerce-cart table.cart tr.cart_item td.product-subtotal { grid-area: total; align-self: center; text-align: right !important; }
  .woocommerce-cart table.cart tr:not(.cart_item) td.actions { display: block; padding-top: 18px !important; }
  .woocommerce-cart table.cart td.actions .coupon { float: none; width: 100%; padding: 0 0 8px; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; }
  .woocommerce-cart table.cart td.actions > .button { display: block; width: 100%; }
  .woocommerce-cart .cart_totals table.shop_table th { display: block !important; }
  .woocommerce-cart .cart_totals table.shop_table td::before { content: none !important; }
  .woocommerce-cart .cart_totals table.shop_table td { text-align: right !important; }
  .woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td { text-align: left !important; }
}

/* Toasts for WooCommerce success notices (assets/toasts.js): below the sticky header, clear of the chat button and
   cookie banner at the bottom. The inline "Peržiūrėti krepšelį" link after AJAX adds moves into the toast. */
.store-toasts { position: fixed; z-index: 25; top: calc(var(--topbar-height) + var(--header-height) + 12px); right: 24px; display: grid; gap: 10px; width: min(400px, calc(100vw - 48px)); pointer-events: none; }
.admin-bar .store-toasts { top: calc(var(--topbar-height) + var(--header-height) + var(--wp-admin--admin-bar--height, 32px) + 12px); }
.store-toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px 14px 18px; background: #fffdf9; color: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); box-shadow: 0 18px 40px -18px #392e2966; font-size: 15px; line-height: 1.5; pointer-events: auto; opacity: 0; translate: 0 -8px; transition: opacity .25s var(--ease), translate .25s var(--ease); }
.store-toast.is-visible { opacity: 1; translate: 0 0; }
.store-toast.is-leaving { opacity: 0; translate: 16px 0; }
.store-toast-body { flex: 1; min-width: 0; }
.store-toast-body > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.store-toast .store-toast-body a.button { order: 2; min-height: 36px; padding: 6px 14px; font-size: 14px; }
.store-toast-body a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.store-toast-close { flex: none; width: 32px; height: 32px; margin: -6px -2px -6px 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.store-toast-close:hover { background: var(--surface); color: var(--ink); }
.store-toast-close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.has-store-toasts .woocommerce a.added_to_cart { display: none; }
@media (max-width: 760px) {
  .store-toasts { right: 12px; left: 12px; width: auto; top: calc(var(--topbar-height) + var(--header-height) + 8px); }
}
@media (prefers-reduced-motion: reduce) { .store-toast { transition: none; translate: none; } }
