/* ==========================================================================
   Nesiburnok – bazinis stilius.
   Spalvos/šriftai ateina iš Customizer per CSS kintamuosius (:root).
   Savo stilius rašykite assets/css/custom.css (kraunamas po šio failo).
   ========================================================================== */

:root {
	--nsb-primary: #111;
	--nsb-primary-text: #fff;
	--nsb-accent: #e4572e;
	--nsb-text: #1d1d1f;
	--nsb-muted: #6b6b70;
	--nsb-bg: #fff;
	--nsb-bg-alt: #f5f5f4;
	--nsb-bg-dark: #111;
	--nsb-border: color-mix(in srgb, var(--nsb-text) 12%, transparent);
	--nsb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nsb-font-heading: var(--nsb-font);
	--nsb-radius: 12px;
	--nsb-container: 1180px;
	--nsb-gap: clamp(16px, 3vw, 32px);
	--nsb-section-y: clamp(48px, 8vw, 104px);
	--nsb-header-h: 68px;
}

/* ---------- Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nsb-header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--nsb-font); font-size: 17px; line-height: 1.6; color: var(--nsb-text); background: var(--nsb-bg); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--nsb-font-heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.nsb-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--nsb-bg); padding: 8px 14px; }
.nsb-skip:focus { left: 8px; }

.nsb-container { width: 100%; max-width: var(--nsb-container); margin-inline: auto; padding-inline: 20px; }
.nsb-container--narrow { max-width: 820px; }

/* ---------- Mygtukai ---------- */
.nsb-btn,
.woocommerce .nsb-product__form .button,
.woocommerce #payment #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9em 1.6em; border: 2px solid var(--nsb-primary); border-radius: var(--nsb-radius);
	background: var(--nsb-primary); color: var(--nsb-primary-text);
	font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}
.nsb-btn:hover { opacity: .92; transform: translateY(-1px); }
.nsb-btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.nsb-btn--lg { padding: 1.05em 2em; font-size: 1.05rem; }
.nsb-btn--block { width: 100%; }
.nsb-btn--ghost { background: transparent; color: var(--nsb-primary); }

/* ---------- Pranešimų juosta ---------- */
.nsb-bar { background: var(--nsb-bar-bg, #111); color: var(--nsb-bar-color, #fff); font-size: .85rem; text-align: center; }
.nsb-bar__inner { position: relative; min-height: 38px; display: grid; place-items: center; }
.nsb-bar__msg { grid-area: 1 / 1; padding: 8px 0; text-decoration: none; opacity: 0; transition: opacity .4s; }
.nsb-bar__msg.is-active { opacity: 1; }

/* ---------- Antraštė ---------- */
.nsb-header { background: var(--nsb-bg); border-bottom: 1px solid var(--nsb-border); z-index: 50; }
.nsb-has-sticky-header .nsb-header { position: sticky; top: 0; }
.admin-bar.nsb-has-sticky-header .nsb-header { top: 32px; }
.nsb-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--nsb-header-h); }
.nsb-header__logo { flex-shrink: 0; }
.nsb-header__logo .custom-logo-link { display: block; }
.nsb-header__logo img { height: 48px; width: auto; max-width: none; }
@media (max-width: 600px) { .nsb-header__logo img { height: 40px; } }
.nsb-header__name { font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.nsb-nav { margin-left: auto; }
.nsb-nav__list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nsb-nav__list a { text-decoration: none; font-weight: 500; }
.nsb-nav__list a:hover { color: var(--nsb-accent); }
.nsb-header__cta { margin-left: auto; }
.nsb-nav + .nsb-header__cta { margin-left: 0; }
.nsb-header__secure { margin-left: auto; font-size: .9rem; color: var(--nsb-muted); }
.nsb-header__burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nsb-header__burger span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }

@media (max-width: 860px) {
	.nsb-header__burger { display: block; }
	.nsb-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--nsb-bg); border-bottom: 1px solid var(--nsb-border); display: none; }
	.nsb-nav.is-open { display: block; }
	.nsb-nav__list { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
	.nsb-nav__list a { display: block; padding: 12px 0; }
	.nsb-header { position: relative; }
	.nsb-header__cta { margin-left: 0; }
	.nsb-header__burger + .nsb-nav + .nsb-header__cta { display: none; }
}

/* ---------- Sekcijos ---------- */
.nsb-section { padding-block: var(--nsb-section-y); position: relative; }
.nsb-section--bg-alt { background: var(--nsb-bg-alt); }
.nsb-section--bg-dark { background: var(--nsb-bg-dark); color: #fff; --nsb-muted: rgba(255,255,255,.7); --nsb-border: rgba(255,255,255,.15); }
.nsb-section--bg-dark .nsb-btn { background: #fff; color: var(--nsb-bg-dark); border-color: #fff; }
.nsb-section--bg-accent { background: var(--nsb-accent); color: #fff; --nsb-muted: rgba(255,255,255,.85); }
.nsb-section--bg-accent .nsb-btn { background: #fff; color: var(--nsb-accent); border-color: #fff; }

.nsb-heading { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 56px); }
.nsb-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--nsb-accent); margin-bottom: .75em; }
.nsb-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.nsb-lead { color: var(--nsb-muted); font-size: 1.1rem; }
.nsb-lead > :last-child { margin-bottom: 0; }

.nsb-grid { display: grid; gap: var(--nsb-gap); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.nsb-grid--2 { --cols: 2; } .nsb-grid--3 { --cols: 3; } .nsb-grid--4 { --cols: 4; }
@media (max-width: 900px) { .nsb-grid--3, .nsb-grid--4 { --cols: 2; } }
@media (max-width: 600px) { .nsb-grid { --cols: 1 !important; } }

.nsb-card { background: var(--nsb-bg); border: 1px solid var(--nsb-border); border-radius: var(--nsb-radius); padding: clamp(20px, 3vw, 32px); color: var(--nsb-text); }
.nsb-section--bg-dark .nsb-card { background: rgba(255,255,255,.06); color: inherit; }

.nsb-bullets { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: .5em; }
.nsb-bullets li { position: relative; padding-left: 1.8em; }
.nsb-bullets li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--nsb-accent); font-weight: 800; }

.nsb-stars { color: #f5a623; letter-spacing: 2px; }
.nsb-rating { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; font-size: .95rem; color: var(--nsb-muted); }
.nsb-price { font-size: 1.6rem; font-weight: 800; margin: .5em 0 1em; }
.nsb-price del { color: var(--nsb-muted); font-weight: 400; font-size: .7em; margin-right: .3em; }
.nsb-price ins { text-decoration: none; color: var(--nsb-accent); }

.nsb-prose > :last-child { margin-bottom: 0; }
.nsb-prose a { color: var(--nsb-accent); }

/* ---------- Hero ---------- */
.nsb-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.nsb-hero__title { font-size: clamp(2.1rem, 5.2vw, 3.75rem); }
.nsb-hero__text { font-size: 1.15rem; color: var(--nsb-muted); }
.nsb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nsb-hero__media img { border-radius: var(--nsb-radius); width: 100%; }
[data-layout="left"] .nsb-hero__media { order: -1; }
[data-layout="center"] .nsb-hero, [data-layout="background"] .nsb-hero { grid-template-columns: 1fr; text-align: center; max-width: 860px; }
[data-layout="center"] .nsb-bullets, [data-layout="background"] .nsb-bullets { justify-content: center; }
[data-layout="center"] .nsb-hero__actions, [data-layout="background"] .nsb-hero__actions, [data-layout="center"] .nsb-rating, [data-layout="background"] .nsb-rating { justify-content: center; }
[data-layout="background"] { color: #fff; min-height: min(88vh, 760px); display: grid; align-items: center; }
[data-layout="background"] .nsb-hero__text, [data-layout="background"] .nsb-rating { color: rgba(255,255,255,.85); }
.nsb-hero__bg { position: absolute; inset: 0; z-index: -1; }
.nsb-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.nsb-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
[data-layout="background"] { isolation: isolate; }
@media (max-width: 860px) {
	.nsb-hero { grid-template-columns: 1fr; }
	.nsb-hero__media { order: -1; }
}

/* ---------- Pasitikėjimo juosta ---------- */
.nsb-section--trustbar { padding-block: 22px; }
.nsb-trustbar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 600; font-size: .95rem; }
.nsb-trustbar__item { display: flex; align-items: center; gap: 10px; }
.nsb-trustbar__icon { width: 28px; height: 28px; object-fit: contain; }
.nsb-trustbar__check { color: var(--nsb-accent); font-weight: 800; }

/* ---------- Privalumai ---------- */
.nsb-benefit__icon img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 16px; }
.nsb-benefit__title { font-size: 1.2rem; }
.nsb-benefit__text { color: var(--nsb-muted); margin: 0; }

/* ---------- Tekstas + paveikslėlis ---------- */
.nsb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.nsb-split--img-left .nsb-split__media { order: -1; }
.nsb-split__media img { border-radius: var(--nsb-radius); width: 100%; }
@media (max-width: 860px) { .nsb-split { grid-template-columns: 1fr; } .nsb-split__media { order: -1; } }

/* ---------- Produktas ---------- */
.nsb-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.nsb-product__gallery { position: sticky; top: calc(var(--nsb-header-h) + 20px); }
.nsb-product__main { position: relative; border-radius: var(--nsb-radius); overflow: hidden; background: var(--nsb-bg); }
.nsb-product__img { display: none; width: 100%; }
.nsb-product__img.is-active { display: block; }
.nsb-product__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.nsb-product__thumb { flex: 0 0 72px; padding: 0; border: 2px solid transparent; border-radius: calc(var(--nsb-radius) * .6); overflow: hidden; background: none; cursor: pointer; opacity: .7; }
.nsb-product__thumb.is-active { border-color: var(--nsb-primary); opacity: 1; }
.nsb-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--nsb-accent); color: #fff; font-weight: 700; font-size: .8rem; padding: .35em .8em; border-radius: 999px; }
.nsb-badge--inline { position: static; display: inline-block; margin-bottom: 12px; }
.nsb-product__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.nsb-product__desc { color: var(--nsb-muted); margin-bottom: 1em; }
.nsb-urgency { color: var(--nsb-accent); font-weight: 600; font-size: .95rem; }
.nsb-product__guarantee { margin-top: 16px; text-align: center; font-size: .9rem; color: var(--nsb-muted); }
.nsb-out-of-stock { font-weight: 700; color: var(--nsb-accent); }
@media (max-width: 860px) { .nsb-product { grid-template-columns: 1fr; } .nsb-product__gallery { position: static; } }

/* Pasiūlymai */
.nsb-offers { display: grid; gap: 12px; margin-top: 8px; }
.nsb-offer { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--nsb-border); border-radius: var(--nsb-radius); background: var(--nsb-bg); cursor: pointer; transition: border-color .15s; }
.nsb-offer input { position: absolute; opacity: 0; pointer-events: none; }
.nsb-offer.is-selected { border-color: var(--nsb-primary); }
.nsb-offer__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--nsb-border); }
.nsb-offer.is-selected .nsb-offer__radio { border: 6px solid var(--nsb-primary); }
.nsb-offer__label { display: block; font-weight: 700; }
.nsb-offer__note { display: block; font-size: .85rem; color: var(--nsb-accent); }
.nsb-offer__price { text-align: right; line-height: 1.25; }
.nsb-offer__price del { display: block; color: var(--nsb-muted); font-size: .85rem; }
.nsb-offer__price strong { font-size: 1.15rem; }
.nsb-offer__badge { position: absolute; top: -11px; right: 14px; background: var(--nsb-accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25em .7em; border-radius: 999px; }
.nsb-offer input:focus-visible ~ .nsb-offer__radio { outline: 2px solid var(--nsb-accent); outline-offset: 2px; }
.nsb-offers .nsb-btn { margin-top: 8px; }

/* Standartinė WC forma */
.nsb-product__form form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.nsb-product__form form.variations_form { display: block; }
.nsb-product__form .quantity input { height: 100%; min-height: 52px; width: 80px; text-align: center; border: 1px solid var(--nsb-border); border-radius: var(--nsb-radius); font: inherit; }
.nsb-product__form .single_add_to_cart_button { flex: 1; min-height: 52px; }
.nsb-product__form table.variations { width: 100%; margin-bottom: 12px; }
.nsb-product__form table.variations select { width: 100%; padding: 12px; border: 1px solid var(--nsb-border); border-radius: var(--nsb-radius); font: inherit; }
.nsb-product__form .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.nsb-hide-qty .quantity { display: none !important; }

/* ---------- Žingsniai ---------- */
.nsb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--nsb-gap); counter-reset: s; }
.nsb-step { text-align: center; }
.nsb-step__media img { border-radius: var(--nsb-radius); margin: 0 auto 16px; }
.nsb-step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nsb-primary); color: var(--nsb-primary-text); font-weight: 800; margin-bottom: 12px; }
.nsb-step__title { font-size: 1.15rem; }
.nsb-step__text { color: var(--nsb-muted); }

/* ---------- Skaičiai ---------- */
.nsb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--nsb-gap); margin: 0; text-align: center; }
.nsb-stat__number { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; font-family: var(--nsb-font-heading); }
.nsb-stat__label { margin: 0; color: var(--nsb-muted); }

/* ---------- Palyginimas ---------- */
.nsb-table-wrap { overflow-x: auto; }
.nsb-compare { width: 100%; border-collapse: collapse; }
.nsb-compare th, .nsb-compare td { padding: 14px 16px; border-bottom: 1px solid var(--nsb-border); text-align: center; }
.nsb-compare tbody th { text-align: left; font-weight: 500; }
.nsb-compare__us { background: color-mix(in srgb, var(--nsb-accent) 8%, transparent); font-weight: 700; }
.nsb-yes { color: #1a9b4b; font-weight: 800; }
.nsb-no { color: var(--nsb-muted); }

/* ---------- Atsiliepimai ---------- */
.nsb-reviews--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--nsb-gap); }
.nsb-reviews--slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 85%); gap: var(--nsb-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.nsb-reviews--slider .nsb-review { scroll-snap-align: start; }
.nsb-review { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.nsb-review__text { margin: 0; flex: 1; }
.nsb-review__author { display: flex; align-items: center; gap: 12px; }
.nsb-review__author small { display: block; color: var(--nsb-muted); }
.nsb-review__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---------- Video ---------- */
.nsb-video { aspect-ratio: 16 / 9; border-radius: var(--nsb-radius); overflow: hidden; background: #000; }
.nsb-video iframe, .nsb-video video { width: 100%; height: 100%; }

/* ---------- DUK ---------- */
.nsb-faq { display: grid; gap: 10px; }
.nsb-faq__item { border: 1px solid var(--nsb-border); border-radius: var(--nsb-radius); background: var(--nsb-bg); color: var(--nsb-text); }
.nsb-faq__q { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.nsb-faq__q::-webkit-details-marker { display: none; }
.nsb-faq__q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.nsb-faq__item[open] .nsb-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.nsb-faq__a { padding: 0 20px 18px; color: var(--nsb-muted); }

/* ---------- CTA ---------- */
.nsb-cta { text-align: center; max-width: 760px; }
.nsb-cta--with-image { display: grid; grid-template-columns: 1fr 1fr; gap: var(--nsb-gap); align-items: center; text-align: left; max-width: var(--nsb-container); }
.nsb-cta__media img { border-radius: var(--nsb-radius); }
@media (max-width: 760px) { .nsb-cta--with-image { grid-template-columns: 1fr; text-align: center; } }

/* ---------- Puslapiai ---------- */
.nsb-page { padding-block: clamp(32px, 6vw, 72px); }
.nsb-page__header { margin-bottom: 28px; }
.nsb-page__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nsb-page__subtitle { color: var(--nsb-muted); }
.nsb-page--checkout .nsb-page__header { text-align: center; }
.nsb-admin-note { padding: 16px; border: 2px dashed var(--nsb-accent); border-radius: var(--nsb-radius); }

/* ---------- Checkout (klasikinis) ---------- */
.nsb-checkout .woocommerce form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	grid-template-areas: "notices notices" "details heading" "details review";
	column-gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
.nsb-checkout .woocommerce form.checkout::before,
.nsb-checkout .woocommerce form.checkout::after { display: none; }
.nsb-checkout form.checkout > .woocommerce-NoticeGroup { grid-area: notices; margin-bottom: 20px; }
.nsb-checkout form.checkout > wc-order-attribution-inputs { display: none; }
.nsb-checkout form.checkout > #customer_details { grid-area: details; }
.nsb-checkout #customer_details .col-1,
.nsb-checkout #customer_details .col-2 { width: 100%; float: none; }
.nsb-checkout #customer_details h3 { font-size: 1.2rem; margin: 0 0 16px; }
.nsb-checkout #customer_details .col-2 h3 { margin-top: 24px; }

/* Dešinė kortelė: antraštė + santrauka = vienas blokas */
.nsb-checkout form.checkout > #order_review_heading,
.nsb-checkout form.checkout > #order_review { background: var(--nsb-bg-alt); border: 1px solid var(--nsb-border); }
.nsb-checkout form.checkout > #order_review_heading {
	grid-area: heading; margin: 0; padding: 24px 24px 8px; font-size: 1.2rem;
	border-bottom: 0; border-radius: var(--nsb-radius) var(--nsb-radius) 0 0;
}
.nsb-checkout form.checkout > #order_review {
	grid-area: review; padding: 0 24px 24px;
	border-top: 0; border-radius: 0 0 var(--nsb-radius) var(--nsb-radius);
}

/* Santraukos lentelė */
.nsb-checkout .woocommerce table.shop_table { border: 0; border-radius: 0; margin: 0 0 20px; border-collapse: collapse; width: 100%; }
.nsb-checkout .woocommerce table.shop_table th,
.nsb-checkout .woocommerce table.shop_table td { padding: 14px 0; border: 0; border-top: 1px solid var(--nsb-border); background: none; vertical-align: top; line-height: 1.4; }
.nsb-checkout .woocommerce table.shop_table thead { display: none; }
.nsb-checkout .woocommerce table.shop_table tbody tr:first-child td { border-top: 0; }
.nsb-checkout .woocommerce table.shop_table th { text-align: left; font-weight: 500; color: var(--nsb-muted); }
.nsb-checkout .woocommerce table.shop_table td.product-total,
.nsb-checkout .woocommerce table.shop_table tfoot td { text-align: right; white-space: nowrap; }
.nsb-checkout .woocommerce table.shop_table td.product-name { font-weight: 600; padding-right: 12px; }
.nsb-checkout .woocommerce table.shop_table .product-quantity { font-weight: 500; color: var(--nsb-muted); }
.nsb-checkout .woocommerce table.shop_table dl.variation { margin: 4px 0 0; font-size: .85rem; font-weight: 400; color: var(--nsb-muted); }
.nsb-checkout .woocommerce table.shop_table dl.variation dt,
.nsb-checkout .woocommerce table.shop_table dl.variation dd { display: inline; float: none; margin: 0; padding: 0; }
.nsb-checkout .woocommerce table.shop_table dl.variation dd p { display: inline; margin: 0; }
.nsb-checkout .woocommerce table.shop_table dl.variation dd::after { content: ""; display: block; }
.nsb-checkout .woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; text-align: right; }
.nsb-checkout .woocommerce ul#shipping_method li { margin: 0 0 4px; padding: 0; text-indent: 0; }
.nsb-checkout .woocommerce ul#shipping_method li input { margin: 0 6px 0 0; vertical-align: middle; }
.nsb-checkout .woocommerce table.shop_table tr.order-total th,
.nsb-checkout .woocommerce table.shop_table tr.order-total td { padding-top: 16px; border-top: 2px solid var(--nsb-text); color: var(--nsb-text); font-weight: 800; font-size: 1.25rem; }

/* Mokėjimo būdai */
.nsb-checkout .woocommerce #payment { background: none; border-radius: 0; }
.nsb-checkout .woocommerce #payment ul.payment_methods { padding: 0; margin: 0 0 16px; border: 0; display: grid; gap: 8px; }
.nsb-checkout .woocommerce #payment ul.payment_methods::before,
.nsb-checkout .woocommerce #payment ul.payment_methods::after { display: none; }
.nsb-checkout .woocommerce #payment ul.payment_methods li {
	position: relative; margin: 0; padding: 14px 16px 14px 44px; line-height: 1.4;
	background: var(--nsb-bg); border: 2px solid var(--nsb-border); border-radius: calc(var(--nsb-radius) * .75);
	transition: border-color .15s;
}
.nsb-checkout .woocommerce #payment ul.payment_methods li:has(input:checked) { border-color: var(--nsb-primary); }
.nsb-checkout .woocommerce #payment ul.payment_methods li input.input-radio { position: absolute; left: 16px; top: 17px; margin: 0; width: 18px; height: 18px; accent-color: var(--nsb-primary); }
.nsb-checkout .woocommerce #payment ul.payment_methods li label { display: block; font-weight: 600; cursor: pointer; margin: 0; }
.nsb-checkout .woocommerce #payment ul.payment_methods li img { display: inline-block; max-height: 22px; width: auto; margin: 0 0 0 6px; vertical-align: middle; }
.nsb-checkout .woocommerce #payment div.payment_box { margin: 6px 0 0; padding: 0; background: none; color: var(--nsb-muted); font-size: .9rem; }
.nsb-checkout .woocommerce #payment div.payment_box::before { display: none; }
.nsb-checkout .woocommerce #payment div.payment_box p:last-child { margin: 0; }
.nsb-checkout .woocommerce #payment div.form-row { padding: 0; margin: 0; }
.nsb-checkout .woocommerce-privacy-policy-text { font-size: .82rem; color: var(--nsb-muted); }
.nsb-checkout .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
.nsb-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 0 16px; font-size: .9rem; }
.nsb-checkout .woocommerce #payment #place_order { width: 100%; float: none; margin: 0; font-size: 1.1rem; padding: 1.05em; }

/* Laukai */
.nsb-checkout .woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.nsb-checkout .woocommerce form .form-row label { font-size: .9rem; font-weight: 500; margin-bottom: 4px; line-height: 1.4; }
.nsb-checkout .woocommerce form .form-row input.input-text,
.nsb-checkout .woocommerce form .form-row textarea,
.nsb-checkout .woocommerce form .form-row select,
.nsb-checkout .select2-container .select2-selection--single { width: 100%; padding: 12px 14px; min-height: 48px; border: 1px solid var(--nsb-border); border-radius: calc(var(--nsb-radius) * .6); font: inherit; background: var(--nsb-bg); color: var(--nsb-text); }
.nsb-checkout .woocommerce form .form-row input.input-text:focus,
.nsb-checkout .woocommerce form .form-row textarea:focus,
.nsb-checkout .woocommerce form .form-row select:focus { outline: 2px solid var(--nsb-primary); outline-offset: -1px; border-color: transparent; }
.nsb-checkout .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #d63638; }
.nsb-checkout .select2-container { width: 100% !important; }
.nsb-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
.nsb-checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 11px; right: 8px; }
.nsb-checkout #ship-to-different-address { font-size: 1rem; margin: 8px 0 16px; }
.nsb-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }

/* Pranešimai (nuolaidos kodas, klaidos) */
.nsb-checkout .woocommerce-info,
.nsb-checkout .woocommerce-error,
.nsb-checkout .woocommerce-message { border: 0; border-radius: var(--nsb-radius); background: var(--nsb-bg-alt); color: var(--nsb-text); padding: 14px 18px 14px 48px; font-size: .95rem; }
.nsb-checkout .woocommerce-info::before { color: var(--nsb-accent); top: 14px; left: 18px; }
.nsb-checkout .woocommerce-error { background: #fcf0f1; }
.nsb-checkout .woocommerce-error::before { top: 14px; left: 18px; }
.nsb-checkout .woocommerce-info a { color: var(--nsb-accent); }
.nsb-checkout form.checkout_coupon { border: 1px solid var(--nsb-border); border-radius: var(--nsb-radius); padding: 16px; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.nsb-checkout form.checkout_coupon p:not(.form-row) { flex-basis: 100%; margin: 0; }
.nsb-checkout form.checkout_coupon .form-row { float: none; width: auto; margin: 0; }
.nsb-checkout form.checkout_coupon .form-row-first { flex: 1; }
.nsb-checkout form.checkout_coupon .button { min-height: 48px; border-radius: calc(var(--nsb-radius) * .6); background: var(--nsb-primary); color: var(--nsb-primary-text); padding: 0 20px; }
.nsb-checkout form.checkout_coupon .clear { display: none; }

.nsb-trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .9rem; color: var(--nsb-muted); }
.nsb-trust li::before { content: "✓ "; color: #1a9b4b; font-weight: 800; }

@media (max-width: 900px) {
	.nsb-checkout .woocommerce form.checkout { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "notices" "details" "heading" "review"; }
	.nsb-checkout form.checkout > #order_review_heading { margin-top: 24px; }
}
@media (max-width: 480px) {
	.nsb-checkout form.checkout > #order_review_heading { padding: 20px 16px 4px; }
	.nsb-checkout form.checkout > #order_review { padding: 0 16px 20px; }
}

.nsb-thanks__title { display: block; font-size: 1.8rem; font-weight: 800; margin-bottom: .3em; color: var(--nsb-text); }
.nsb-thanks__text { display: block; }

/* ---------- Poraštė ---------- */
.nsb-footer { background: var(--nsb-bg-alt); padding-block: 56px 28px; font-size: .95rem; }
.nsb-footer--minimal { padding-block: 24px; }
.nsb-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--nsb-gap); margin-bottom: 32px; }
.nsb-footer__name { font-weight: 800; font-size: 1.2rem; }
.nsb-footer .custom-logo { height: 56px; width: auto; max-width: none; margin-bottom: 12px; }
.nsb-footer__heading { font-weight: 700; margin-bottom: .6em; }
.nsb-footer ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.nsb-footer a { text-decoration: none; color: var(--nsb-muted); }
.nsb-footer a:hover { color: var(--nsb-text); }
.nsb-social { display: flex !important; gap: 14px !important; }
.nsb-footer__bottom { border-top: 1px solid var(--nsb-border); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; color: var(--nsb-muted); font-size: .85rem; }
.nsb-footer__bottom p { margin: 0; }
.nsb-footer__payments img { max-height: 28px; width: auto; }
.nsb-footer--minimal .nsb-footer__bottom { border: 0; padding: 0; justify-content: center; }
@media (max-width: 760px) { .nsb-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Prilipęs pirkimo mygtukas (mobile) ---------- */
.nsb-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nsb-bg); border-top: 1px solid var(--nsb-border); box-shadow: 0 -6px 24px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.nsb-sticky-buy.is-visible { transform: none; }
.nsb-sticky-buy__info { flex: 1; min-width: 0; line-height: 1.25; }
.nsb-sticky-buy__name { display: block; font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsb-sticky-buy__price { font-size: .9rem; }
.nsb-sticky-buy__price del { color: var(--nsb-muted); }
.nsb-sticky-buy__price ins { text-decoration: none; }
@media (min-width: 861px) { .nsb-sticky-buy { display: none !important; } }
.nsb-missing { background: #ffe58a; color: #5c4400; padding: 0 .3em; border-radius: 3px; font-size: .9em; }

/* Turinio puslapiai (taisyklės, privatumas) */
.nsb-prose h2 { font-size: 1.45rem; margin-top: 2em; }
.nsb-prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.nsb-prose ul, .nsb-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.nsb-prose li { margin-bottom: .35em; }
.nsb-prose .wp-block-table { margin: 0 0 1.5em; overflow-x: auto; }
.nsb-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nsb-prose th, .nsb-prose td { padding: 10px 12px; border-bottom: 1px solid var(--nsb-border); text-align: left; vertical-align: top; }
.nsb-prose thead th { background: var(--nsb-bg-alt); font-weight: 700; }
