/*
Theme Name: Povilo Christmas Collection
Theme URI: https://povilo.lt
Author: Paulius Vitkus
Description: Premium WooCommerce theme for the POVILO Limited Edition Christmas Collection.
Version: 0.2.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: povilo
WC requires at least: 9.0
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
	--white: #ffffff;
	--paper: #faf9f7;
	--mist: #f3f3f3;
	--sand: #f4f1ec;
	--linen: #ede7dd;
	--dash: #c4bcb0;
	--dash-strong: #b0a798;
	--line: #e6e3de;
	--line-dark: #cdc8c0;
	--ink: #0d0d0d;
	--ink-2: rgba(13, 13, 13, .74);
	--muted: #726f6d;

	/* Christmas accents */
	--pine: #1f3d31;
	--pine-deep: #13281f;
	--pine-2: #2c5242;
	--berry: #9b1c24;
	--gold: #b8954f;
	--gold-light: #dcc58f;

	--serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
	--sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

	--radius: 5px;
	--container: 1280px;
	--gutter: 40px;
	--bar-h: 38px;
	--header-h: 96px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: .2px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: 0; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
::selection { background: var(--pine); color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* Christmas baubles – the section ornament */
.dots { display: inline-flex; gap: 6px; align-items: center; }
.dots--v { flex-direction: column; gap: 5px; }
.dots i { display: block; width: 7px; height: 7px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--berry); }
.dots i:nth-child(2) { background: var(--gold); }
.dots i:nth-child(3) { background: var(--pine); }

/* =========================================================
   Buttons & links
   ========================================================= */
.btn, .button, button.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 12px 32px;
	font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
	border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer;
	background: var(--ink); color: var(--white);
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--pine); border-color: var(--pine); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .single_add_to_cart_button, .checkout-button, #place_order {
	background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink) !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover { background: var(--pine) !important; border-color: var(--pine) !important; }
.button.loading { opacity: .6; pointer-events: none; }
.woocommerce a.added_to_cart { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =========================================================
   Top bar (ribbon) & header
   ========================================================= */
.topbar { position: relative; z-index: 101; height: var(--bar-h); background: var(--pine); color: var(--gold-light); overflow: hidden; }
.topbar__track { position: relative; height: 100%; }
.topbar__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-size: 12px; letter-spacing: .08em; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.topbar__msg.is-active { opacity: 1; transform: none; }
.topbar__msg .icon { width: 10px; height: 10px; fill: var(--gold-light); stroke: none; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: var(--white); color: var(--ink);
	transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
	--emblem-ring: var(--gold); --emblem-wreath: var(--pine); --emblem-hat: var(--ink); --emblem-berry: var(--berry);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .5); }
.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.nav__list { display: flex; gap: 50px; list-style: none; margin: 0; padding: 0; }
.nav--left .nav__list { justify-content: flex-end; padding-right: 60px; }
.nav--right .nav__list { justify-content: flex-start; padding-left: 60px; }
.nav a { position: relative; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-icons { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; gap: 18px; }
.header-cart { position: relative; display: inline-flex; padding: 6px; }
.header-cart .icon { width: 24px; height: 24px; }
.cart-count { position: absolute; top: -1px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 18px; background: var(--berry); color: var(--white); font-size: 10.5px; font-weight: 500; line-height: 18px; text-align: center; }
.cart-count.is-empty { background: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

/* Brand: wreath emblem + wordmark */
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; text-align: center; }
.brand .emblem { width: 48px; height: 48px; margin-bottom: 4px; transition: transform .6s var(--ease); }
.brand:hover .emblem { transform: rotate(-8deg); }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: .2em; text-transform: uppercase; padding-left: .2em; }
.custom-logo-link img { max-height: 70px; width: auto; }

/* Transparent header on top of the homepage hero */
.has-hero .site-header:not(.is-scrolled):not(.is-open) {
	background: transparent; color: var(--white);
	--emblem-wreath: var(--gold-light); --emblem-hat: var(--white);
}
.has-hero .site-main { margin-top: calc(-1 * var(--header-h)); }

/* Mobile drawer */
.drawer { position: fixed; z-index: 99; inset: var(--header-h) 0 0 0; background: var(--white); padding: 24px var(--gutter) 40px; overflow: auto; }
.drawer[hidden] { display: none; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid var(--line); }
.drawer__list a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.drawer__note { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 13px; color: var(--muted); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
	position: relative; overflow: hidden; color: var(--white);
	padding-top: var(--header-h);
	background:
		radial-gradient(circle at 12% 22%, rgba(220, 197, 143, .16), transparent 20%),
		radial-gradient(circle at 34% 84%, rgba(220, 197, 143, .10), transparent 18%),
		radial-gradient(circle at 92% 12%, rgba(155, 28, 36, .22), transparent 26%),
		radial-gradient(ellipse at 70% 55%, #2c5242 0%, #1f3d31 45%, #13281f 100%);
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .18)); pointer-events: none; }
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__branch { position: absolute; left: -110px; top: calc(var(--header-h) - 10px); width: 420px; opacity: .55; transform: rotate(-6deg); pointer-events: none; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; min-height: min(720px, calc(100vh - var(--bar-h))); padding-top: 40px; padding-bottom: 72px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 26px; }
.hero__eyebrow .icon { width: 11px; height: 11px; fill: var(--gold-light); stroke: none; }
.hero__title { margin: 0 0 22px; font-weight: 600; text-transform: uppercase; line-height: .98; }
.hero__title span { display: block; font-size: clamp(50px, 6.4vw, 92px); letter-spacing: .01em; }
.hero__title span + span { font-style: italic; font-weight: 400; text-transform: none; font-size: clamp(42px, 5.2vw, 76px); color: var(--gold-light); margin-top: 6px; }
.hero__lead { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.hero__text { max-width: 470px; font-size: 16px; color: rgba(255, 255, 255, .8); margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero__link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 3px; }
.hero__link .icon { width: 18px; height: 18px; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 600px; }
.hero__frame { position: relative; }
.hero__frame::before { content: ''; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgba(220, 197, 143, .55); pointer-events: none; }
.hero__frame img { position: relative; width: 100%; aspect-ratio: 600 / 476; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero__tag {
	position: absolute; left: -34px; bottom: 36px; z-index: 3; margin: 0;
	width: 112px; height: 112px; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
	background: var(--berry); color: var(--white); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6);
	font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.25;
	transform: rotate(-10deg);
}
.hero__tag::before { content: ''; position: absolute; inset: 5px; border: 1px dashed rgba(255, 255, 255, .45); border-radius: 50%; }
.hero__tag strong { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: 0; line-height: 1; }

/* =========================================================
   Section headings
   ========================================================= */
.sec-head { text-align: center; margin: 0 auto 56px; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.sec-head .dots { margin-bottom: 22px; }
.sec-title { font-size: clamp(36px, 4.6vw, 58px); margin: 0 0 14px; }
.sec-lead { color: var(--ink-2); font-size: 16px; margin: 0; }
.sec-head--page { margin-top: 64px; }

/* =========================================================
   Product cards
   ========================================================= */
.woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products li.product.card, ul.products li.card {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important;
	display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
	transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
ul.products li.card:hover { border-color: var(--line-dark); box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .45); }
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--mist); }
.card__media img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 4px; background: var(--pine); color: var(--gold-light); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-radius: 3px; }
.card__badge .icon { width: 9px; height: 9px; fill: var(--gold-light); stroke: none; }
.card__body { flex: 1; padding: 22px 20px 20px; text-align: center; }
.card__title { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; margin: 0 0 4px; }
.card__weight { font-family: var(--serif); font-size: 18px; font-style: italic; margin: 0 0 10px; color: var(--ink-2); }
.card__excerpt { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card__excerpt p { margin: 0; }
.card__foot { display: flex; align-items: stretch; border-top: 1px solid var(--line); min-height: 54px; }
.card__price { flex: 1; display: flex; align-items: center; padding: 0 18px; font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing: .02em; }
.card__price del { color: var(--muted); font-size: 15px; margin-right: 6px; font-weight: 400; }
.card__price ins { text-decoration: none; }
.card__cart { display: flex; align-items: center; justify-content: center; width: 56px; border-left: 1px solid var(--line); transition: background .2s var(--ease), color .2s var(--ease); }
.card__cart .icon { width: 21px; height: 21px; }
.card__cart:hover { background: var(--ink); color: var(--white); }
.card__cart.loading { opacity: .5; }
.card__cart.added { background: var(--pine); color: var(--white); }
.card__soldout { display: flex; align-items: center; padding: 0 14px; border-left: 1px solid var(--line); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   Homepage: collection
   ========================================================= */
.collection { padding: 100px 0 110px; }
.rotated-title { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(54px, 5.4vw, 76px); line-height: 1; margin: 0; white-space: nowrap; }

/* Stock meter */
.stock-meter { min-width: 260px; }
.stock-meter__text { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.stock-meter__text strong { font-family: var(--serif); font-size: 18px; color: var(--berry); }
.stock-meter__bar { display: block; height: 3px; background: var(--line); overflow: hidden; }
.stock-meter__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--berry), var(--gold)); }
.stock-meter--product { margin-bottom: 4px; }
.soldout-note { padding: 14px 18px; border-left: 3px solid var(--berry); background: var(--sand); }

/* Tiers – variant-style boxes */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 560px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); background: var(--white); }
.tiers__item { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 8px 14px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); text-align: center; }
.tiers__item.is-best { background: var(--paper); box-shadow: inset 0 0 0 1px var(--pine); }
.tiers__flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px 2px; background: var(--berry); color: var(--white); font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border-radius: 3px; }
.tiers__qty { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.05; }
.tiers__label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tiers__save { margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--berry); }
.tiers__item.is-base .tiers__save { color: var(--muted); font-weight: 400; }
.tiers__price { margin-top: 2px; font-family: var(--serif); font-size: 15px; font-weight: 600; }
.tiers__price .amount { white-space: nowrap; }

/* =========================================================
   Homepage: story
   ========================================================= */
.story { padding: 120px 0; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story__visual { position: relative; min-height: 520px; }
.story__texture { position: absolute; left: 0; top: 0; width: 70%; height: 82%;
	background: radial-gradient(circle at 70% 30%, rgba(220, 197, 143, .18), transparent 45%), repeating-linear-gradient(105deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 7px), repeating-linear-gradient(15deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 11px), var(--pine); }
.story__photo { position: absolute; right: 0; bottom: 0; width: 72%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.story__branch { position: absolute; left: 38%; top: -64px; width: 320px; transform: rotate(8deg); pointer-events: none; }
.story__copy { display: flex; flex-direction: column; align-items: flex-start; }
.story__copy .dots { margin-bottom: 26px; }
.story__title { font-size: clamp(46px, 5.4vw, 78px); line-height: 1.02; margin: 0 0 22px; }
.story__subtitle { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; margin: 0 0 24px; }
.story__text { max-width: 440px; font-size: 16px; color: var(--ink-2); margin: 0 0 32px; }

/* =========================================================
   Homepage: delivery (three columns)
   ========================================================= */
.delivery { padding: 100px 0 110px; background: var(--linen); }
.delivery__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.delivery__item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 36px; }
.delivery__item + .delivery__item { background: linear-gradient(180deg, var(--dash-strong) 0 6px, transparent 6px 11px) left top / 1px 11px repeat-y; }
.delivery__item .icon { width: 34px; height: 34px; color: var(--pine); margin-bottom: 16px; }
.delivery__label { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 6px; }
.delivery__value { font-family: var(--serif); font-size: 34px; font-weight: 600; margin: 0 0 10px; }
.delivery__item p:last-child { margin: 0; color: var(--ink-2); max-width: 260px; }

/* =========================================================
   Reassurance + footer
   ========================================================= */
.reassure { background: var(--white); }
.reassure__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 56px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.reassure__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.reassure__item .icon { width: 32px; height: 32px; margin-bottom: 14px; color: var(--pine); }
.reassure__title { font-size: 18px; margin: 0 0 8px; }
.reassure__item p { margin: 0; font-size: 13.5px; color: var(--ink-2); max-width: 230px; }

.site-footer { position: relative; overflow: hidden; background: var(--paper); padding-top: 64px; --emblem-ring: var(--gold); --emblem-wreath: var(--pine); --emblem-hat: var(--ink); --emblem-berry: var(--berry); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer-title { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.footer-col p { font-size: 14px; color: var(--ink-2); }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-legal a { position: relative; display: inline-block; }
.footer-links a::after, .footer-legal a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.footer-links a:hover::after, .footer-legal a:hover::after, .footer-links a:focus-visible::after, .footer-legal a:focus-visible::after { right: 0; }
.footer-links--plain li { color: var(--ink); }
.footer-col--brand { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer-col--brand .brand .emblem { width: 64px; height: 64px; }
.footer-col--brand .brand__word { font-size: 26px; }
.footer-copy { margin-top: 18px; font-size: 12.5px; color: var(--muted) !important; }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 26px; font-size: 12px; color: var(--muted); }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer-cookie { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-cookie:hover { color: var(--ink); }
.site-footer__branch { position: absolute; right: -60px; bottom: 20px; width: 340px; opacity: .22; pointer-events: none; transform: scaleX(-1); }

/* =========================================================
   Pages
   ========================================================= */
.page-hero { text-align: center; padding: 72px 0 52px; background: var(--paper); }
.page-hero .container { display: flex; flex-direction: column; align-items: center; }
.page-hero .dots { margin-bottom: 20px; }
.page-hero .sec-title { margin-bottom: 10px; }
.page-hero__kicker { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 800px; padding-top: 56px; padding-bottom: 100px; font-size: 16px; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 21px; margin-top: 1.4em; color: var(--ink); }
.prose a { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); color: var(--ink); font-weight: 500; }
.shop-flow { padding-top: 48px; padding-bottom: 100px; }

/* Breadcrumb */
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 40px 0 0; font-size: 12.5px; color: var(--ink-2); }
.crumbs a:hover { color: var(--pine); }
.crumbs__sep { font-size: 9px; color: var(--muted); }

/* =========================================================
   Shop archive
   ========================================================= */
.shop-main { padding-bottom: 100px; }
.shop-offer { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 0 auto 56px; padding: 34px 24px 38px; background: var(--sand); }
.shop-offer__title { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0; }

/* =========================================================
   Single product
   ========================================================= */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 40px; }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; background: var(--mist); }
.single-product div.product .woocommerce-product-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.single-product div.product .woocommerce-product-gallery__trigger { background: var(--white); border-radius: 50%; }
.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.badge-outline { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 5px; border: 1px solid var(--ink); border-radius: 3px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; }
.badge-outline .icon { width: 10px; height: 10px; fill: var(--berry); stroke: none; }
.single-product .product_title { font-size: clamp(34px, 3.4vw, 46px); margin: 0 0 6px; }
.product-weight { font-size: 15px; color: var(--ink-2); margin: 0 0 18px; }
.woocommerce-product-details__short-description { font-size: 15.5px; color: var(--ink-2); margin-bottom: 26px; }
.summary-label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.summary-tiers { margin-bottom: 22px; }
.summary-tiers .tiers { max-width: none; }
.buy-panel { padding: 22px 24px 24px; background: var(--sand); margin-bottom: 20px; }
.woocommerce div.product .buy-panel p.price, .woocommerce div.product .buy-panel span.price { display: block; text-align: center; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.woocommerce div.product form.cart { display: flex; gap: 14px; align-items: stretch; margin: 0; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 50px; }
.summary-notes { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.summary-notes li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.summary-notes .icon { width: 20px; height: 20px; color: var(--pine); }
.summary-notes strong { color: var(--ink); font-weight: 500; }

/* Quantity pill */
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 30px; background: var(--white); padding: 0 6px; }
.woocommerce .quantity .qty { width: 40px; min-height: 46px; border: 0; background: transparent; color: var(--ink); text-align: center; font-size: 15px; font-family: var(--sans); -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 30px; height: 30px; background: none; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--sand); }
.qty-btn .icon { width: 14px; height: 14px; }

/* Description & accordion */
.product-story { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; margin-top: 80px; }
.product-story__desc { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 56px 48px; background: var(--mist); }
.product-story__desc .dots { margin-bottom: 18px; }
.product-story__title { font-size: clamp(38px, 4vw, 54px); margin: 0 0 22px; }
.product-story__desc p { max-width: 560px; color: var(--ink-2); }
.product-story__more { align-self: start; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.acc[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding: 0 0 22px; color: var(--ink-2); }

/* Related */
.related.products { grid-column: 1 / -1; margin-top: 80px; }
.related.products > h2 { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 40px; }
.related.products > h2::after { content: ''; width: 34px; height: 7px; background: radial-gradient(circle, var(--berry) 3.5px, transparent 4px) 0 0 / 12px 7px no-repeat, radial-gradient(circle, var(--gold) 3.5px, transparent 4px) 12px 0 / 12px 7px no-repeat, radial-gradient(circle, var(--pine) 3.5px, transparent 4px) 24px 0 / 12px 7px no-repeat; }

/* =========================================================
   WooCommerce general: notices, tables, forms
   ========================================================= */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background: var(--paper) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-left: 3px solid var(--pine) !important; border-radius: 0; padding: 16px 20px 16px 52px !important; margin: 0 0 28px !important; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.woocommerce-error { border-left-color: var(--berry) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--pine) !important; top: 50% !important; transform: translateY(-50%); left: 20px !important; }
.woocommerce-error::before { color: var(--berry) !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 38px; padding: 8px 18px; font-size: 11px; }

.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 0; border-collapse: collapse; background: var(--white); }
.woocommerce table.shop_table th { font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--line) !important; padding: 16px 14px; }
.woocommerce table.shop_table td.product-name a { font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: 13.5px; }
.woocommerce table.cart img { width: 88px; }
.woocommerce a.remove { color: var(--ink) !important; border: 1px solid var(--line); line-height: 1.05; }
.woocommerce a.remove:hover { background: var(--berry) !important; color: var(--white) !important; border-color: var(--berry); }
.woocommerce table.cart td.product-price del, .woocommerce table.cart td.product-price del .amount { color: var(--muted); font-size: 13px; }
.woocommerce table.cart td.product-price ins { text-decoration: none; color: var(--berry); font-weight: 500; }
.cart-collaterals .cart_totals h2, #order_review_heading { font-size: 26px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { padding: 30px; background: var(--sand); }
.woocommerce .cart_totals table.shop_table { border: 0; background: transparent; }
.woocommerce .order-total .amount { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.woocommerce ul#shipping_method li { margin-bottom: 6px; }
.woocommerce ul#shipping_method li input, .woocommerce-checkout input[type="radio"], .woocommerce-checkout input[type="checkbox"] { accent-color: var(--pine); }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { display: none; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }

.povilo-nudge { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 16px 20px; background: var(--sand); border-left: 3px solid var(--berry); font-size: 15px; }
.povilo-nudge::before { content: ''; flex: 0 0 22px; height: 22px; background: var(--berry); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='.5'/%3E%3Cpath d='M5 12v9h14v-9M12 8v13M12 8C10.5 4 6.5 3.6 6.5 6c0 1.5 2.3 2 5.5 2ZM12 8c1.5-4 5.5-4.4 5.5-2 0 1.5-2.3 2-5.5 2Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='.5'/%3E%3Cpath d='M5 12v9h14v-9M12 8v13M12 8C10.5 4 6.5 3.6 6.5 6c0 1.5 2.3 2 5.5 2ZM12 8c1.5-4 5.5-4.4 5.5-2 0 1.5-2.3 2-5.5 2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.povilo-nudge strong { color: var(--berry); font-weight: 600; }
.woocommerce table.shop_table tr.povilo-savings th, .woocommerce table.shop_table tr.povilo-savings td { color: var(--pine); }
.woocommerce table.shop_table tr.povilo-savings small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

.woocommerce form .form-row label, .woocommerce-page form .form-row label { font-size: 13px; margin-bottom: 6px; color: var(--ink); }
.woocommerce form .form-row .required { color: var(--berry); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .input-text, .select2-container--default .select2-selection--single {
	background: var(--white) !important; border: 1px solid var(--line-dark) !important; border-radius: var(--radius) !important; color: var(--ink) !important; padding: 12px 14px; min-height: 48px; font-family: var(--sans); font-size: 15px;
}
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce .input-text:focus, .woocommerce form .form-row select:focus { outline: none; border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(31, 61, 49, .12); }
.woocommerce form .form-row .optional { color: var(--muted); font-size: 12px; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--berry) !important; }
::placeholder { color: rgba(13, 13, 13, .38); }
.povilo-hidden { display: none !important; }

/* =========================================================
   Checkout
   ========================================================= */
.povilo-checkout .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.checkout-step { padding: 30px 32px 14px; margin-bottom: 22px; border: 1px solid var(--line); background: var(--white); }
.checkout-step__title { display: flex; align-items: center; gap: 14px; font-size: 24px; margin: 0 0 20px; }
.checkout-step__title span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: var(--white); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.checkout-step__hint { margin: -10px 0 20px; font-size: 13.5px; color: var(--muted); }
.povilo-checkout .woocommerce-billing-fields__field-wrapper, .povilo-checkout .checkout-step__fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.povilo-checkout .form-row { width: auto !important; float: none !important; margin: 0 0 18px !important; padding: 0 !important; grid-column: span 2; }
.povilo-checkout .form-row-first, .povilo-checkout .form-row-last { grid-column: span 1; }
.povilo-checkout .form-row.povilo-date, .povilo-checkout .form-row.povilo-pickup { grid-column: span 2; }
.povilo-checkout select { width: 100%; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 18px !important; padding-right: 44px !important; cursor: pointer; }

.povilo-shipping { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.ship-option { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 20px 18px 20px 50px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--white); cursor: pointer; transition: background .2s var(--ease); }
.ship-option:hover { background: var(--paper); }
.ship-option input { position: absolute; opacity: 0; pointer-events: none; }
.ship-option::before { content: ''; position: absolute; left: 18px; top: 23px; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; background: var(--white); }
.ship-option.is-selected { background: var(--sand); box-shadow: inset 0 0 0 1px var(--ink); }
.ship-option.is-selected::after { content: ''; position: absolute; left: 23px; top: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--pine); }
.ship-option input:focus-visible + .ship-option__body { outline: 2px solid var(--pine); outline-offset: 4px; }
.ship-option__body { display: flex; flex-direction: column; flex: 1; }
.ship-option__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ship-option__title { font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.ship-option__desc { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 3px; }
.ship-option__price { font-family: var(--serif); font-size: 18px; font-weight: 600; white-space: nowrap; }

.checkout-side { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px 30px 32px; background: var(--sand); }
.checkout-side .checkout-step__title { font-size: 26px; }
.checkout-side .woocommerce-checkout-review-order-table { border: 0 !important; background: transparent !important; margin-bottom: 20px !important; }
.checkout-side .woocommerce-checkout-review-order-table th, .checkout-side .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; border-color: var(--line-dark) !important; }
.checkout-side .woocommerce-checkout-review-order-table td.product-total, .checkout-side .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.checkout-side .woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout #payment { background: transparent !important; border: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 0 14px !important; border-bottom-color: var(--line-dark) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--white) !important; color: var(--ink-2) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white) !important; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; }
.woocommerce-checkout #payment div.form-row { padding: 14px 0 0 !important; }
.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text { color: var(--ink-2); font-size: 13px; }
#place_order { width: 100%; min-height: 54px; font-size: 12.5px; }

/* Thank-you page */
.woocommerce-order { max-width: 860px; margin: 0 auto; }
.woocommerce-thankyou-order-received { font-family: var(--serif); font-size: 32px; font-weight: 600; text-align: center; margin-bottom: 28px; }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; padding: 0; margin: 0 0 36px; border: 1px solid var(--line); }
.woocommerce ul.order_details li { flex: 1 1 180px; margin: 0; padding: 16px 20px; border-right: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.woocommerce ul.order_details li strong { display: block; margin-top: 6px; color: var(--ink); font-size: 15px; letter-spacing: .02em; text-transform: none; }
.woocommerce-order-details h2, .woocommerce-customer-details h2, .woocommerce-bacs-bank-details h2 { font-size: 26px; }
.woocommerce .woocommerce-customer-details address { border-color: var(--line); background: var(--paper); }
.cart-empty.woocommerce-info { justify-content: center; text-align: center; }
.return-to-shop { text-align: center; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
	:root { --gutter: 28px; }
	.nav__list { gap: 38px; }
	.nav--left .nav__list { padding-right: 44px; }
	.nav--right .nav__list { padding-left: 44px; }
	.nav a { letter-spacing: .08em; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-col--brand { grid-column: 1 / -1; align-items: flex-start; text-align: left; order: -1; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; --gutter: 20px; }
	.header-inner { grid-template-columns: 44px 1fr 44px; }
	.nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header.is-open .nav-toggle__open { display: none; }
	.site-header.is-open .nav-toggle__close { display: block; }
	.brand { justify-self: center; }
	.brand .emblem { width: 32px; height: 32px; }
	.brand__word { font-size: 19px; }
	.header-icons { position: static; transform: none; justify-self: end; }

	.hero__grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: 36px; padding-bottom: 56px; }
	.hero__media { justify-self: center; max-width: 520px; }
	.hero__tag { left: -10px; width: 92px; height: 92px; }
	.hero__tag strong { font-size: 26px; }
	.hero__branch { width: 300px; left: -120px; }

	.collection { padding: 64px 0 72px; }


	.story { padding: 72px 0; }
	.story__grid { grid-template-columns: 1fr; gap: 48px; }
	.story__visual { min-height: 380px; }

	.delivery { padding: 64px 0 72px; }
	.delivery__grid { grid-template-columns: 1fr; }
	.delivery__item { padding: 28px 10px; }
	.delivery__item + .delivery__item { background: linear-gradient(90deg, var(--dash-strong) 0 6px, transparent 6px 11px) left top / 11px 1px repeat-x; }

	.reassure__grid { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }

	.single-product div.product { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
	.single-product div.product .summary { position: static; }
	.product-story { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
	.product-story__desc { padding: 40px 22px; }

	.povilo-checkout .checkout-grid { grid-template-columns: 1fr; gap: 8px; }
	.checkout-side { position: static; }
}

@media (max-width: 600px) {
	body { font-size: 14.5px; }
	.tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce ul.products, ul.products { gap: 12px; }
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card__body { padding: 14px 10px 12px; }
	.card__title { font-size: 12px; }
	.card__excerpt { display: none; }
	.card__price { font-size: 16px; padding: 0 10px; }
	.card__cart { width: 46px; }
	.card__badge { left: 8px; top: 8px; font-size: 8.5px; padding: 4px 7px 3px; }
	.hero__title span { font-size: 46px; }
	.hero__title span + span { font-size: 40px; }
	.hero__actions { gap: 18px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.reassure__grid { grid-template-columns: 1fr; }
	.checkout-step { padding: 24px 18px 8px; }
	.checkout-side { padding: 24px 18px; }
	.povilo-shipping { grid-template-columns: 1fr; }
	.povilo-checkout .woocommerce-billing-fields__field-wrapper, .povilo-checkout .checkout-step__fields { grid-template-columns: 1fr; }
	.povilo-checkout .form-row-first, .povilo-checkout .form-row-last { grid-column: span 2; }
	.woocommerce div.product form.cart { flex-direction: column; }
	.woocommerce div.product form.cart .quantity { align-self: center; }
}
@media (max-width: 600px) {
	.hero__frame::before { inset: -10px 10px 10px -10px; }
}

/* =========================================================
   Round 2 corrections
   ========================================================= */
.brand--header { margin-top: .25rem; }

/* Secondary button on dark backgrounds: soft fill + border, no underline */
.btn--glass { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .42); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); color: var(--white); }
.btn--glass .icon { width: 17px; height: 17px; }

/* Collection: title above the cards */
.collection__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.collection__title { display: flex; align-items: center; gap: 22px; font-size: clamp(40px, 4.8vw, 62px); margin: 0 0 16px; }
.collection__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.collection__head .link-arrow { flex: 0 0 auto; margin-bottom: 6px; }
.collection__foot { margin-top: 36px; }

/* Volume offer: one pine section, quantity tiers only */
.offer { position: relative; overflow: hidden; color: var(--white);
	background: radial-gradient(circle at 18% 20%, rgba(220, 197, 143, .14), transparent 32%), radial-gradient(circle at 82% 85%, rgba(220, 197, 143, .10), transparent 30%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px), var(--pine); }
.offer__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 96px; padding-bottom: 100px; }
.offer__branch { position: absolute; width: 360px; opacity: .5; pointer-events: none; }
.offer__branch--left { left: -110px; top: -36px; transform: rotate(-4deg); }
.offer__branch--right { right: -110px; bottom: -48px; transform: scaleX(-1) rotate(-4deg); }
.offer__kicker { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 14px; }
.offer__title { font-size: clamp(40px, 4.6vw, 62px); color: var(--white); margin: 0 0 18px; }
.offer__inner > .dots { margin-bottom: 22px; }
.offer__text { max-width: 520px; font-size: 16px; color: rgba(255, 255, 255, .78); margin: 0 0 36px; }
.offer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

.tiers--offer { max-width: 760px; background: rgba(255, 255, 255, .03); border-color: rgba(220, 197, 143, .38); }
.tiers--offer .tiers__item { padding: 22px 10px 20px; border-color: rgba(220, 197, 143, .38); }
.tiers--offer .tiers__qty { font-size: 40px; color: var(--white); }
.tiers--offer .tiers__label { color: rgba(255, 255, 255, .72); }
.tiers--offer .tiers__save { color: var(--gold-light); font-size: 14px; }
.tiers--offer .tiers__item.is-base .tiers__save { color: rgba(255, 255, 255, .55); }
.tiers--offer .tiers__price { font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--white); }
.tiers--offer .tiers__item.is-best { background: rgba(220, 197, 143, .12); box-shadow: inset 0 0 0 1px var(--gold-light); }

/* Tier prices everywhere in the sans font, like card prices */
.tiers__price { font-family: var(--sans); font-weight: 500; }

/* Footer bottom: copyright left, legal links bottom right */
.footer-bottom { align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-legal a { color: var(--ink-2); }
.footer-legal a:hover { color: var(--ink); }
.footer-col--brand .brand { align-items: center; }

@media (max-width: 960px) {
	.collection__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
	.collection__title { gap: 16px; }
	.offer__inner { padding-top: 64px; padding-bottom: 68px; }
	.offer__branch { width: 240px; }
}
@media (max-width: 600px) {
	.collection__lead { font-size: 15.5px; }
	.card__title { font-size: 13px; }
	.card__weight { font-size: 15px; }
	.card__price { font-size: 16px; padding: 0 10px; }
	.tiers--offer .tiers__qty { font-size: 32px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
.prose .policy-date { margin-top: 2.4em; font-size: 13px; color: var(--muted); }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
/* On pine backgrounds the green bauble would vanish – make it cream there */
.offer .dots i:nth-child(3), .hero .dots i:nth-child(3) { background: #f4ecdd; }

/* =========================================================
   Round 3 corrections
   ========================================================= */

/* Tiers: trays as icons, gold discount, bigger labels */
.tiers__trays { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 26px; margin-bottom: 10px; color: var(--pine); }
.tiers__trays .tray { width: 28px; height: 20px; }
.tiers__label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tiers__save { display: inline-block; margin-top: 8px; padding: 3px 10px 2px; border-radius: 999px; background: linear-gradient(180deg, #ecd9ab, #d4b77a); color: var(--pine-deep); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.tiers__save.is-empty { visibility: hidden; }
.tiers__item.is-base .tiers__save { color: var(--pine-deep); }
.tiers__price { margin-top: 6px; font-size: 15px; }

.tiers--offer { max-width: 980px; }
.tiers--offer .tiers__item { padding: 28px 14px 24px; }
.tiers--offer .tiers__trays { color: var(--gold-light); min-height: 34px; gap: 6px; margin-bottom: 14px; }
.tiers--offer .tiers__trays .tray { width: 40px; height: 29px; }
.tiers--offer .tiers__label { font-size: 16px; letter-spacing: .1em; color: var(--white); }
.tiers--offer .tiers__save { font-size: 14px; padding: 4px 12px 3px; color: var(--pine-deep); margin-top: 12px; }
.tiers--offer .tiers__item.is-base .tiers__save { color: var(--pine-deep); }
.tiers--offer .tiers__price { font-size: 17px; margin-top: 10px; }

.summary-tiers .tiers__trays .tray, .tiers--shop .tiers__trays .tray { width: 24px; height: 17px; }

/* Recipes section */
.craft { padding: 120px 0; background: var(--white); }
.craft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.craft__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.craft__tile { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1 / 1; background: var(--mist); }
.craft__tile:nth-child(2) { transform: translateY(40px); }
.craft__tile:nth-child(4) { transform: translateY(40px); }
.craft__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.craft__tile:hover img { transform: scale(1.05); }
.craft__tile figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px 4px; background: rgba(255, 255, 255, .92); font-family: var(--serif); font-size: 15px; font-style: italic; }
.craft__copy .dots { margin-bottom: 22px; }
.craft__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--berry); margin: 0 0 14px; }
.craft__title { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; margin: 0 0 22px; }
.craft__lead { font-size: 17px; color: var(--ink-2); margin: 0 0 34px; max-width: 520px; }
.craft__steps { list-style: none; margin: 0; padding: 0; background: linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 11px) left top / 11px 1px repeat-x; }
.craft__steps li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 22px 0; background: linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 11px) left bottom / 11px 1px repeat-x; }
.craft__num { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--gold); }
.craft__steps h3 { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 2px 0 6px; }
.craft__steps p { margin: 0; color: var(--ink-2); }
.craft__sign { margin: 28px 0 0; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--pine); }

@media (max-width: 960px) {
	.craft { padding: 72px 0 80px; }
	.craft__grid { grid-template-columns: 1fr; gap: 56px; }
	.craft__mosaic { padding-bottom: 40px; }
}
@media (max-width: 600px) {
	.tiers--offer .tiers__trays .tray { width: 30px; height: 22px; }
	.tiers--offer .tiers__label { font-size: 14px; }
	.craft__tile:nth-child(2), .craft__tile:nth-child(4) { transform: translateY(24px); }
	.craft__steps li { grid-template-columns: 48px 1fr; }
	.craft__num { font-size: 24px; }
}
@media (max-width: 600px) {
	.craft__tile figcaption { left: 8px; bottom: 8px; font-size: 13px; padding: 4px 8px 3px; }
}
@media (max-width: 600px) {
	.craft__mosaic { gap: 16px; }
}

/* =========================================================
   Round 5 corrections
   ========================================================= */

/* Product cards: photo without a frame, bordered info, price row, full-width button */
.woocommerce ul.products li.product.card, ul.products li.card { border: 0; background: transparent; box-shadow: none !important; }
ul.products li.card:hover { box-shadow: none; }
.card__info { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 20px 20px; border: 1px solid var(--line); border-top: 0; background: var(--white); transition: border-color .3s var(--ease); }
.card:hover .card__info { border-color: var(--line-dark); }
.card__excerpt { flex: 1; }
.card__price { margin: 16px 0 14px; font-family: var(--sans); font-size: 21px; font-weight: 500; letter-spacing: .02em; }
.card__price del { color: var(--muted); font-size: 15px; margin-right: 6px; font-weight: 400; }
.card__price ins { text-decoration: none; }
.card__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--pine); border-radius: var(--radius); color: var(--pine); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease); }
.card__btn .icon { width: 17px; height: 17px; }
.card__btn:hover, .card__btn.added { background: var(--pine); color: var(--white); }
.card__btn.loading { opacity: .6; pointer-events: none; }
.card__btn.is-disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.card__btn-short { display: none; }

/* Limited-edition counter (replaces the progress bar) */
.edition { display: inline-flex; align-items: center; gap: 16px; margin: 0; }
.edition__label { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.edition__count { padding: 0 16px; border-left: 1px solid var(--gold); border-right: 1px solid var(--gold); font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; color: var(--berry); }
.edition__of { font-size: 11px; font-weight: 500; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; color: var(--ink-2); }
.edition--product { margin: 6px 0 4px; gap: 12px; }
.edition--product .edition__count { font-size: 32px; padding: 0 12px; }
.collection__head .edition { flex: 0 0 auto; margin-bottom: 4px; }
.collection__foot { display: flex; justify-content: center; margin-top: 44px; }

/* Tiers: simpler trays, bigger "Geriausia kaina", flat gold, totals */
.tiers__save { background: var(--gold-light); }
.tiers__flag { top: -15px; padding: 6px 14px 5px; font-size: 11px; letter-spacing: .12em; border-radius: 4px; }
.tiers--offer .tiers__flag { font-size: 12px; padding: 7px 16px 6px; top: -17px; }
.tiers__total { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.tiers__total .amount { white-space: nowrap; }
.tiers--offer .tiers__total { font-size: 13px; color: rgba(255, 255, 255, .62); margin-top: 4px; }

/* Story: photo closer to the green block; branch light on green, green on white */
.story__visual { isolation: isolate; }
.story__branch { left: 200px; top: -64px; width: 320px; z-index: 0; }
.story__texture { z-index: 1; overflow: hidden; }
.story__branch--light { position: absolute; left: 200px; top: -64px; width: 320px; transform: rotate(8deg); }
.story__photo { z-index: 2; right: 5%; bottom: 7%; }

/* Recipes: no line above the first step; signature on the right */
.craft__steps { background: none; }
.craft__sign { text-align: right; }

@media (max-width: 960px) {
	.collection__head .edition { margin-top: 6px; }
	.story__branch, .story__branch--light { left: 120px; top: -48px; width: 250px; }
	.story__photo { right: 0; bottom: 0; }
}
@media (max-width: 600px) {
	.card__info { padding: 14px 10px 12px; }
	.card__price { font-size: 17px; margin: 10px 0 10px; }
	.card__btn { min-height: 40px; padding: 8px 6px; font-size: 10.5px; letter-spacing: .06em; gap: 6px; }
	.card__btn .icon { width: 15px; height: 15px; }
	.card__btn-long { display: none; }
	.card__btn-short { display: inline; }
	.edition__count { font-size: 38px; }
	.tiers--offer .tiers__flag { font-size: 10.5px; padding: 6px 10px 5px; }
}
/* price row no longer shares the free space with the description */
.card__info .card__price { flex: 0 0 auto; display: block; padding: 0; }
@media (max-width: 600px) {
	/* descriptions are hidden on phones: keep price and button at the bottom of every card */
	.card__info .card__price { margin-top: auto; padding-top: 10px; }
}
/* no dashed line under the last recipe step */
.craft__steps li:last-child { background: none; }

/* =========================================================
   Round 7 corrections
   ========================================================= */
/* Content pages: one black colour for text and links; legal pages keep grey text with green links */
.prose { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--pine); }
.prose--legal { color: var(--ink-2); }
.prose--legal a { color: var(--pine); }
.page-hero .sec-title { margin-bottom: 0; }
/* Contacts map */
.map-block { margin: 40px 0 0; }
.map { height: 440px; background: var(--mist); z-index: 0; }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(1.04) brightness(1.04); }
.map-pin { background: none; border: 0; }
.map-pin svg { width: 32px; height: 44px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.map-popup .leaflet-popup-content-wrapper { border-radius: 4px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.map-popup .leaflet-popup-content { margin: 12px 16px; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink); }
.map-popup .leaflet-popup-content strong, .map-popup .leaflet-popup-content span { display: block; }
.map .leaflet-control-attribution { font-family: var(--sans); font-size: 11px; }
.map .leaflet-bar a { color: var(--ink); }
.map-block__caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 14px; }
.prose .map-block__caption a { white-space: nowrap; }
@media (max-width: 600px) { .map { height: 340px; } .map-block__caption { flex-direction: column; gap: 4px; } }

/* ---------- Round 7: collection band, quantity choices, live total, top breadcrumbs ---------- */
.shop-main--archive { padding-bottom: 0; }
.shop-main--archive > .container { padding-bottom: 110px; }

.single-product .shop-main > .container > .crumbs { margin: 28px 0 0; }
.single-product div.product { padding-top: 32px; }

.choices { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.choices > legend { float: left; width: 100%; padding: 0; margin: 0 0 22px; }
.choices__grid { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__body { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 22px 8px 16px; border: 1px solid var(--line-dark); border-radius: 4px; background: var(--white); text-align: center; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.choice:hover .choice__body { border-color: var(--pine); }
.choice__input:focus-visible + .choice__body { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice__label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: color .2s var(--ease); }
.choice__save { display: inline-block; margin-top: 8px; padding: 3px 10px 2px; border-radius: 999px; background: var(--gold-light); color: var(--pine-deep); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.choice__save.is-empty { visibility: hidden; }
.choice__price { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s var(--ease); }
.choice__price .amount { white-space: nowrap; }
.choice__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px 4px; border-radius: 4px; background: var(--berry); color: var(--white); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.choice__input:checked + .choice__body { background: var(--pine); border-color: var(--pine); }
.choice__input:checked + .choice__body .choice__label,
.choice__input:checked + .choice__body .choice__price { color: var(--white); }
.choices__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

.buy-panel .live-price { margin: 0 0 18px; text-align: center; }
.live-price__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; margin: 0; }
.live-price__now { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.live-price__old { font-size: 17px; color: var(--muted); text-decoration-thickness: 1px; }
.live-price__meta { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.live-price__save { color: var(--berry); font-weight: 500; }
.live-price__save::before { content: '·'; margin: 0 7px; color: var(--muted); font-weight: 400; }
.live-price .amount { white-space: nowrap; }
.live-price [hidden] { display: none !important; }

@media (max-width: 600px) {
	.shop-main--archive > .container { padding-bottom: 72px; }
	.offer--shop .offer__title { font-size: 34px; }
	.single-product .shop-main > .container > .crumbs { margin-top: 18px; }
	.single-product div.product { padding-top: 20px; }
	.choices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}

/* ---------- Round 8: inner-page gaps, borderless quantity, one description block, badges on the choices ---------- */
/* Same gap under the page title whatever the first element is (heading or paragraph) */
.prose { padding-top: 100px; }
.prose > :first-child { margin-top: 0; }

/* Quantity: the generic .woocommerce .input-text field style must not box the number */
.woocommerce .quantity .qty { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }

/* Description and the Sudėtis / Alergenai / Laikymas accordion in one block */
.product-story { align-items: start; padding: 64px 72px; background: var(--mist); }
.product-story__desc { padding: 0; background: none; }
.product-story__more { border-top-color: var(--line-dark); }
.product-story .acc { border-bottom-color: var(--line-dark); }

/* Choices: discount badge sits on the top edge of each card; price in regular weight */
.choice__body { padding: 24px 8px 18px; }
.choice__save { position: absolute; top: -1px; left: 50%; margin: 0; transform: translate(-50%, -50%); white-space: nowrap; }
.choice__price { font-weight: 400; }
.choices > legend { margin-bottom: 28px; }

@media (max-width: 960px) {
	.product-story { padding: 40px 22px 24px; }
}

/* ---------- Round 9: dots in one row after titles, recipes on Apie projektą ---------- */
.related.products > h2::after { flex: 0 0 34px; }
.sec-head .sec-title { margin-bottom: 18px; }
.sec-head .dots { margin: 0 0 22px; }
.page-hero .sec-title { margin-bottom: 18px; }
.page-hero .dots { margin: 0; }
.story__title { margin-bottom: 20px; }
.story__copy .dots { margin: 0 0 26px; }
.craft__title { margin-bottom: 20px; }
.craft__copy .dots { margin: 0 0 26px; }
.product-story__title { margin-bottom: 18px; }
.product-story__desc .dots { margin: 0 0 22px; }
/* Apie projektą: the page text already ends with 100px of space */
.page-main > .craft { padding-top: 0; }

/* Cart: nudge without the side stripe */
.povilo-nudge { border-left: 0; }

/* Cart: remove (×) is the last column, a plain glyph without a circle */
.woocommerce table.cart th.product-remove, .woocommerce table.cart td.product-remove { width: 56px; text-align: right; }
.woocommerce table.cart td.product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 0; background: none !important; font-size: 26px; font-weight: 300; line-height: 1; }
.woocommerce table.cart td.product-remove a.remove:hover { background: none !important; color: var(--berry) !important; }

/* Cart: "Atnaujinti krepšelį" is a quiet outline until a quantity changes, then the normal black button */
.woocommerce .woocommerce-cart-form button[name="update_cart"]:disabled,
.woocommerce .woocommerce-cart-form button[name="update_cart"]:disabled[disabled] { padding: 12px 32px; background: transparent; color: var(--muted); border-color: var(--line-dark); opacity: 1; cursor: default; }
/* WooCommerce disables it right after load – switch instantly instead of fading from black */
.woocommerce .woocommerce-cart-form button[name="update_cart"] { transition: none; }

/* Cart totals: full width under the products – delivery choice on the left, sums and checkout on the right */
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; padding: 36px 40px 40px; }
.cart-collaterals .cart_totals h2 { margin: 0 0 28px; }
.cart-totals__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.cart-totals__shipping { padding-right: 48px; }
.cart-totals__sums { grid-column: 2; padding-left: 48px; border-left: 1px solid var(--line-dark); }
.woocommerce .cart_totals .cart-totals__grid table.shop_table { width: 100%; margin: 0; border: 0; background: transparent; }
.woocommerce .cart_totals .cart-totals__grid table.shop_table th,
.woocommerce .cart_totals .cart-totals__grid table.shop_table td { padding: 14px 0; border-top: 1px solid var(--line-dark) !important; vertical-align: top; }
.woocommerce .cart_totals .cart-totals__grid table.shop_table tr:first-child th,
.woocommerce .cart_totals .cart-totals__grid table.shop_table tr:first-child td { padding-top: 0; border-top: 0 !important; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table th { white-space: nowrap; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table td { text-align: right; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table tr.order-total th, .woocommerce .cart_totals .cart-totals__sums table.shop_table tr.order-total td { vertical-align: middle; }
.cart-totals__shipping table, .cart-totals__shipping tbody, .cart-totals__shipping tr, .cart-totals__shipping th, .cart-totals__shipping td { display: block; }
.woocommerce .cart_totals .cart-totals__shipping table.shop_table th { width: auto; padding: 0 0 16px; }
.woocommerce .cart_totals .cart-totals__shipping table.shop_table td { padding: 0; border-top: 0 !important; }
.cart-totals__shipping ul#shipping_method { margin: 0; padding: 0; text-align: left; }
.woocommerce .cart-totals__shipping ul#shipping_method li { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 15px; line-height: 1.4; }
.woocommerce .cart-totals__shipping ul#shipping_method li input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; }
.cart-totals__shipping ul#shipping_method label { cursor: pointer; }
.woocommerce-cart .cart_totals .wc-proceed-to-checkout { padding: 24px 0 0; }
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button { margin: 0; }

@media (max-width: 768px) {
	.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { padding: 28px 20px 24px; }
	.cart-totals__grid { grid-template-columns: minmax(0, 1fr); }
	.cart-totals__shipping { margin-bottom: 22px; padding: 0 0 22px; border-bottom: 1px solid var(--line-dark); }
	.cart-totals__sums { grid-column: auto; padding-left: 0; border-left: 0; }
	/* Stacked cart rows: the remove row spans the item, × on the right */
	.woocommerce table.cart td.product-remove { width: auto; padding-top: 6px; padding-bottom: 6px; text-align: right !important; }
}

/* Inline titles: the dots follow the last word, also when the title wraps */
.related.products > h2 { display: block; text-align: center; }
.related.products > h2::after { display: inline-block; margin-left: 16px; vertical-align: middle; }
.collection__title { display: block; }
.collection__title .dots { margin-left: 20px; vertical-align: middle; }

/* ---------- Round 10: dashed footer line, notices, dashed cart totals ---------- */
/* Footer: same dashed rule as the recipe steps */
.footer-bottom::before { background: linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 11px) left top / 11px 1px repeat-x; }

/* Notices: no side stripe; success gets a pine circle with a white tick; button on the right */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-left: 1px solid var(--line) !important; padding: 16px 20px 16px 64px !important; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { content: none; }
.woocommerce-message::before { content: '' !important; left: 20px !important; width: 30px; height: 30px; border-radius: 50%; background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.woocommerce .woocommerce-message .button, .woocommerce .woocommerce-info .button { order: 2; margin-left: auto; }

/* Product page: the notice sits between the breadcrumbs and the product with even air */
.single-product .shop-main > .container > .woocommerce-notices-wrapper { margin-top: 24px; }
.single-product .shop-main > .container > .woocommerce-notices-wrapper > * { margin: 0 !important; }

/* Cart totals: no column divider; the rows are separated by the same dashed rule */
.cart-totals__sums { padding-left: 48px; border-left: 0; }
.cart-totals__sums table, .cart-totals__sums tbody { display: block; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; background: linear-gradient(90deg, var(--dash-strong) 0 6px, transparent 6px 11px) left top / 11px 1px repeat-x; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table tr:first-child { padding-top: 0; background: none; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table tr.order-total { align-items: center; }
.woocommerce .cart_totals .cart-totals__sums table.shop_table th,
.woocommerce .cart_totals .cart-totals__sums table.shop_table td { display: block; width: auto; padding: 0; border: 0 !important; background: none; }

@media (max-width: 768px) {
	.cart-totals__shipping { margin-bottom: 28px; padding-bottom: 0; border-bottom: 0; }
	.cart-totals__sums { padding-left: 0; }
}
@media (max-width: 600px) {
	.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 16px 14px 58px !important; }
	.woocommerce-message::before { left: 16px !important; }
	.single-product .shop-main > .container > .woocommerce-notices-wrapper { margin-top: 18px; }
}
@media (max-width: 600px) {
	/* Phone: tick level with the first text line, the button full width under the text */
	.woocommerce-message::before, .woocommerce-info::before { top: 11px !important; transform: none !important; }
	.woocommerce .woocommerce-message .button, .woocommerce .woocommerce-info .button { flex: 1 1 100%; margin-left: 0; }
}

/* ---------- Round 11: checkout ---------- */
/* Same 48px between the steps as between the two columns */
.checkout-step { margin-bottom: 48px; }
.checkout-step:last-child { margin-bottom: 0; }

/* Atsiėmimas / pristatymas: two separate rounded cards, the chosen one in pine – like the tray choices */
.povilo-shipping { gap: 18px; border: 0; } /* same as the gap between the address fields */
.ship-option { padding: 18px; border: 1px solid var(--line-dark); border-radius: 4px; background: var(--white); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.ship-option:hover { background: var(--white); border-color: var(--pine); }
.ship-option::before, .ship-option.is-selected::after { content: none; }
.ship-option.is-selected { background: var(--pine); border-color: var(--pine); box-shadow: none; color: var(--white); }
.ship-option.is-selected .ship-option__title, .ship-option.is-selected .ship-option__price { color: var(--white); }
.ship-option.is-selected .ship-option__desc { color: rgba(255, 255, 255, .72); }
.ship-option input:focus-visible + .ship-option__body { outline-color: var(--gold); }

/* Jūsų užsakymas: dashed rules between the rows, none under the title */
.checkout-side .woocommerce-checkout-review-order-table,
.checkout-side .woocommerce-checkout-review-order-table tbody,
.checkout-side .woocommerce-checkout-review-order-table tfoot { display: block; }
.checkout-side .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; background: linear-gradient(90deg, var(--dash-strong) 0 6px, transparent 6px 11px) left top / 11px 1px repeat-x; }
.checkout-side .woocommerce-checkout-review-order-table tbody tr:first-child { padding-top: 0; background: none; }
.checkout-side .woocommerce-checkout-review-order-table tr.order-total { align-items: center; }
.checkout-side .woocommerce-checkout-review-order-table th,
.checkout-side .woocommerce-checkout-review-order-table td { display: block; padding: 0 !important; border: 0 !important; background: none; }
/* No rule between the payment method and the privacy text */
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 0 !important; background: none !important; }

@media (max-width: 960px) {
	.povilo-checkout .checkout-grid { gap: 32px; }
	.checkout-step { margin-bottom: 32px; }
}
/* (outweighs ".woocommerce table.shop_table td { border-top … !important }") */
.woocommerce .checkout-side table.woocommerce-checkout-review-order-table th,
.woocommerce .checkout-side table.woocommerce-checkout-review-order-table td { border: 0 !important; }

/* ---------- Round 12 ---------- */
textarea { resize: none; }

/* ---------- Round 14: mobile menu, product grid gaps, recipes without photos on mobile ---------- */
/* Mobile menu: centred items, dashed rules like the recipe steps */
.drawer__list li { border-bottom: 0; background: linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 11px) left bottom / 11px 1px repeat-x; }
.drawer__list a { text-align: center; }
.drawer__note { justify-content: center; text-align: center; }

@media (max-width: 960px) {
	/* Front page, stacked layout: the steps carry the section, the photo mosaic is left out (Apie projektą keeps it) */
	.home .craft__mosaic { display: none; }
}
@media (max-width: 600px) {
	/* More air between the product cards (was 12px) */
	.woocommerce ul.products, ul.products { gap: 20px; }
}

/* ---------- Round 15: mobile cover ---------- */
@media (max-width: 960px) {
	/* The gold branch comes in from the right on stacked layouts */
	.hero__branch { left: auto; right: -120px; transform: scaleX(-1) rotate(-6deg); }
}
@media (max-width: 600px) {
	/* Phones: one call to action in the cover */
	.hero__actions .btn--glass { display: none; }
}
