/* Holi Trees dizaino sistema – kilmė: dizainas/titulinis.html ir dizainas/stiliaus-gidas.html (patvirtinti 2026-10-15).
   Struktūra / klasės – iš eglutes.lt temos; .tabs/.price/.stock – .eg-* (kitaip susikirstų su WooCommerce). */
:root {
  /* Brandbook */
  --green:        #333B2C;
  --green-hover:  #252B20;
  --black:        #0C0C0C;
  --mustard:      #D0A600;
  --mustard-hover:#BB9500;
  --mustard-text: #7A5F00;
  --sky:          #80A0D0;
  --sky-soft:     #DCE6F3;
  --sky-text:     #2E4A78;
  --berry:        #9E0000;
  --moss:         #84877D;
  --cream:        #F3EBE8;
  --paper:        #FBF8F5;
  --surface:      #FFFFFF;
  --line:         #E7E0DA;
  --on-green:     #D6D9CF;
  --text:         var(--green);
  --text-muted:   #5F6358;
  --success:      #3F6B3A;

  /* Seni eglutes.lt pavadinimai (naudojami style.css ir WooCommerce dalyse) */
  --golden:       var(--mustard);
  --golden-hover: var(--mustard-hover);
  --golden-text:  var(--mustard-text);
  --grey:         var(--moss);
  --sage-light:   var(--on-green);
  --sage:         var(--sky);
  --wood:         var(--mustard-text);
  --wood-text:    var(--mustard-text);

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Poppins", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --pill:      999px;
  --shadow:    0 6px 18px rgba(51,59,44,.08), 0 1px 3px rgba(51,59,44,.06);
  --shadow-lg: 0 20px 44px rgba(51,59,44,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-drawer: cubic-bezier(.32,.72,0,1);
  /* Turinio plotis = Avada Global Options → Layout → Site Width (klientas keičia pats). */
  --wrap: var(--site_width, 1440px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; font-synthesis: none;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografija ---------- */
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 500; color: var(--green); margin: 0; }
.eyebrow { font-weight: 500; font-size: 14px; color: var(--mustard-text); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; letter-spacing: 0; text-transform: none; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); flex: none; }
.h2, .sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head p { margin: 14px 0 0; color: var(--text-muted); max-width: 52ch; font-size: 17px; }
/* Sekcijų tarpai – Fusion konteinerio parametrais (padding_top/bottom, *_medium, *_small), ne čia. */

/* ---------- Mygtukai ---------- */
.btn {
  --bg: var(--green); --fg: var(--paper); --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--pill);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:hover { --bg: var(--green-hover); --bd: var(--green-hover); color: var(--fg); }
.btn:active { transform: scale(.97); }
.btn:focus-visible, .icon-btn:focus-visible, a:focus-visible, .size:focus-visible, .size-btn:focus-visible, summary:focus-visible { outline: 2px solid var(--mustard); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-mustard, .btn-gold { --bg: var(--mustard); --bd: var(--mustard); --fg: var(--black); }
.btn-mustard:hover, .btn-gold:hover { --bg: var(--mustard-hover); --bd: var(--mustard-hover); }
.btn-outline { --bg: transparent; --fg: var(--green); --bd: var(--green); }
.btn-outline:hover { --bg: var(--green); --fg: var(--paper); }
.btn-light, .btn-outline-light { --bg: transparent; --fg: var(--paper); --bd: rgba(251,248,245,.55); }
.btn-light:hover, .btn-outline-light:hover { --bg: var(--paper); --fg: var(--green); --bd: var(--paper); }
.btn-ghost { --bg: transparent; --bd: transparent; --fg: var(--green); padding: 0 4px; text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.btn-ghost:hover { --bg: transparent; --bd: transparent; --fg: var(--green-hover); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn[disabled] { --bg: #ECE7E2; --bd: #ECE7E2; --fg: #8C8F86; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 2px; text-underline-offset: 6px; color: var(--green); white-space: nowrap; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.sticker { border-radius: 50%; display: grid; place-items: center; flex: none; }
.sticker img { width: 62%; height: auto; }

/* ---------- Viršutinė juosta ir header ---------- */
.site-bar { background: var(--green); color: var(--on-green); font-size: 13px; text-align: center; padding: 8px 16px; line-height: 1.5; }
.site-bar b, .site-bar strong { color: var(--mustard); font-weight: 500; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,245,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.head { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; min-height: 84px; }
.logo { display: block; }
.logo img { width: 78px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; }
.site-nav a { display: block; padding: 9px 15px; text-decoration: none; color: var(--green); font-size: 15px; font-weight: 500; border-radius: var(--pill); transition: background-color .2s var(--ease), color .2s var(--ease); }
.site-nav a:hover { background: var(--cream); }
.site-nav a[aria-current="page"] { background: var(--green); color: var(--paper); }
.head-actions { display: flex; gap: 4px; align-items: center; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: transparent; border: 0; cursor: pointer; position: relative; text-decoration: none; transition: background-color .2s var(--ease); padding: 0; }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mustard); color: var(--black); font-size: 11px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.search-pop { border-top: 1px solid var(--line); padding: 14px 0; }
.search { display: flex; max-width: 640px; width: 100%; margin: 0 auto; border: 1px solid #D9D1C9; border-radius: var(--pill); background: var(--surface); padding: 4px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(51,59,44,.14); }
.search input[type=search] { flex: 1; min-width: 0; border: 0; padding: 0 18px; min-height: 44px; font: inherit; font-size: 16px; background: transparent; color: var(--green); }
.search input::placeholder { color: #9EA197; }
.search input:focus { outline: none; }
.search button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--green); color: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background-color .2s var(--ease); }
.search button:hover { background: var(--green-hover); }
.search svg { width: 18px; height: 18px; }

/* Mobilus meniu */
.drawer-bg { position: fixed; inset: 0; background: rgba(12,12,12,.35); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 80; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: var(--paper); z-index: 90; transform: translateX(-100%); transition: transform .4s var(--ease-drawer); display: flex; flex-direction: column; visibility: hidden; }
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head img { width: 64px; height: auto; }
.drawer nav { padding: 12px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 18px; font-weight: 500; color: var(--green); text-decoration: none; border-radius: var(--pill); }
.drawer nav a:hover { background: var(--cream); }
.drawer nav a svg { width: 18px; height: 18px; color: var(--mustard-text); }
.drawer-foot { margin-top: auto; padding: 22px; font-size: 15px; color: var(--text-muted); line-height: 1.9; }
.drawer-foot a { color: var(--green); font-weight: 500; text-decoration: none; }

/* ---------- Hero (pilno pločio) ---------- */
.hero { position: relative; padding: 0; min-height: clamp(640px, calc(100svh - 124px), 860px); display: flex; align-items: center; overflow: hidden; background: #F6EFE6; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(251,248,245,.96) 0%, rgba(251,248,245,.9) 28%, rgba(251,248,245,.55) 46%, rgba(251,248,245,0) 62%), linear-gradient(0deg, rgba(251,248,245,.5) 0%, rgba(251,248,245,0) 22%); }
.hero .hero-bg, .hero picture .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 100%; z-index: -2; max-width: none; }
.hero > .wrap { width: 100%; padding-top: 64px; padding-bottom: 150px; }
.hero-text { max-width: min(640px, 46vw); }
.hero h1 { font-size: clamp(44px, 5.6vw, 92px); line-height: .98; letter-spacing: -.045em; margin-bottom: 26px; }
.hero h1 span { color: var(--mustard-text); display: block; }
.hero .lead { max-width: 40ch; margin-bottom: 38px; color: #4A4F44; font-size: 19px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.hero-note svg { width: 18px; height: 18px; color: var(--mustard-text); flex: none; }
.hero-sticker { position: absolute; z-index: 1; width: 148px; height: 148px; background: var(--mustard); transform: rotate(-14deg); box-shadow: var(--shadow-lg); left: 52%; top: 48px; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.hero-strip .wrap { padding-bottom: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(251,248,245,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.hero-facts > div { display: flex; gap: 14px; align-items: center; padding: 20px 24px; font-size: 14px; color: var(--text-muted); line-height: 1.4; }
.hero-facts > div + div { border-left: 1px solid rgba(51,59,44,.1); }
.hero-facts .ic { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--green); }
.hero-facts .ic svg { width: 22px; height: 22px; }
.hero-facts b { display: block; font-size: 15px; font-weight: 500; color: var(--green); }
.usp { padding: 0; }
.usp .hero-facts { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }

/* ---------- Spauda ---------- */
.press { padding: 40px 0; border-bottom: 1px solid var(--line); }
.press .wrap { display: flex; align-items: center; gap: 40px; }
.press p { margin: 0; font-size: 14px; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.press ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 28px; }
.press img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.press img.tall { height: 46px; }
.press li:hover img { filter: none; opacity: 1; }

/* ---------- Kategorijos (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: 20px; }
.tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--green); background: var(--cream); isolation: isolate; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: -1; }
.tile:hover > img { transform: scale(1.04); }
.bento > .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento > .tile:nth-child(2) { grid-column: span 2; }
.tile .label { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--paper); border-radius: var(--pill); padding: 10px 10px 10px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile h3 { font-size: 17px; line-height: 1.25; }
.tile .cnt { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; }
.tile .arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--green); color: var(--paper); display: grid; place-items: center; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tile:hover .arrow { background: var(--mustard); color: var(--black); }
.tile .arrow svg { width: 16px; height: 16px; }
.bento > .tile:nth-child(1) .label { left: 24px; right: auto; bottom: 24px; padding: 14px 14px 14px 26px; gap: 28px; }
.bento > .tile:nth-child(1) h3 { font-size: 22px; }
.tile-badge { position: absolute; top: 24px; right: 24px; width: 104px; height: 104px; background: var(--mustard); color: var(--black); transform: rotate(-12deg); font-size: 13px; line-height: 1.15; text-align: center; align-content: center; display: grid; }
.tile-badge b { display: block; font-size: 24px; font-weight: 600; }
.tile-text { background: var(--green); color: var(--paper); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-text::after { content: ""; position: absolute; inset: 0; background: url(../img/pattern-zalias.svg) right -80px bottom -80px / 320px no-repeat; z-index: -1; }
.tile-text h3 { font-size: 22px; line-height: 1.25; max-width: 14ch; color: var(--paper); }
.tile-text p { font-size: 14px; color: var(--on-green); margin: 8px 0 0; }
.tile-text .arrow { background: var(--mustard); color: var(--black); }

/* ---------- Prekės ---------- */
.eg-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.eg-tab { font: 500 14px/1 var(--font-body); padding: 11px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper); color: var(--green); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); letter-spacing: 0; }
.eg-tab:hover { border-color: var(--green); }
.eg-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.prod:hover { box-shadow: var(--shadow); }
.prod .media { aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--cream); }
.prod .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod:hover .media img { transform: scale(1.04); }
.prod .ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--green); }
.prod .ph img { width: 90px; height: auto; object-fit: contain; }
.prod:hover .ph img { transform: none; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: var(--pill); line-height: 1.3; letter-spacing: 0; text-transform: none; }
.badge-green { background: var(--green); color: var(--paper); }
.badge-gold, .badge-mustard { background: var(--mustard); color: var(--black); }
.badge-sage, .badge-sky { background: var(--sky-soft); color: var(--sky-text); }
.badge-cream { background: var(--cream); color: var(--green); }
.pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcat { font-size: 12px; color: var(--text-muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.prod h3 { font-size: 16px; line-height: 1.35; }
.prod h3 a { color: inherit; text-decoration: none; }
.prod h3 a:hover { text-decoration: underline; text-decoration-color: var(--mustard); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.size { font-size: 13px; padding: 5px 10px; border: 1px solid #D9D1C9; border-radius: var(--pill); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.size:hover { border-color: var(--green); }
.size[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.eg-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 4px; }
.eg-price { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.eg-price-old { font-size: 14px; color: var(--moss); text-decoration: line-through; }
.eg-stock { font-size: 13px; display: flex; align-items: center; gap: 6px; color: var(--success); }
.eg-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eg-stock.low { color: var(--mustard-text); }
.prod .btn { width: 100%; margin-top: 8px; }
.prod .btn.added { --bg: var(--success); --bd: var(--success); }
.products-foot { text-align: center; margin-top: 44px; }

/* ---------- Kaip tai veikia (konteineris eg-bg-green) ---------- */
.how { position: relative; color: var(--paper); isolation: isolate; }
.how .eyebrow { color: var(--mustard); }
.how .h2, .how h2 { color: var(--paper); max-width: 18ch; }
.how .lead { color: var(--on-green); max-width: 50ch; margin-top: 16px; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: rgba(251,248,245,.06); border: 1px solid rgba(251,248,245,.12); }
.steps .num { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--green); display: grid; place-items: center; font-weight: 600; font-size: 18px; margin-bottom: 22px; }
.steps .num::before { content: counter(s); }
.steps li:nth-child(4n+2) .num { background: var(--sky); color: var(--black); }
.steps li:nth-child(4n+3) .num { background: var(--mustard); color: var(--black); }
.steps li:nth-child(4n+4) .num { background: var(--cream); }
.steps h3 { font-size: 18px; margin-bottom: 6px; color: var(--paper); }
.steps p { font-size: 14px; color: var(--on-green); line-height: 1.6; margin: 0; }
.how-foot { display: flex; gap: 18px; align-items: center; margin-top: 44px; flex-wrap: wrap; }

/* ---------- Aukščio liniuotė ---------- */
.sizer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 40px 32px; }
.sizer-card .sizes { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 8px; align-items: end; }
.size-btn { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--green); padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.size-btn .tree { width: 100%; display: flex; align-items: flex-end; justify-content: center; height: 220px; }
.size-btn .tree svg { height: var(--h); width: auto; color: #B9BCAF; transition: color .25s var(--ease), transform .25s var(--ease); }
.size-btn:hover .tree svg { color: var(--moss); }
.size-btn[aria-pressed="true"] .tree svg { color: var(--green); transform: translateY(-4px); }
.size-btn .cm { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: var(--pill); transition: background-color .2s var(--ease), color .2s var(--ease); }
.size-btn[aria-pressed="true"] .cm { background: var(--green); color: var(--paper); }
.size-out { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.size-out h3 { font-size: 22px; letter-spacing: -.01em; }
.size-out p { color: var(--text-muted); margin: 4px 0 0; }
.size-out .price { font-size: 24px; font-weight: 600; display: block; text-align: right; margin-bottom: 8px; }

/* ---------- Dydžių gidas (senas elementas) ---------- */
.size-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sg-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; max-height: 640px; justify-self: center; width: 100%; max-width: 440px; }
.sg-media img { width: 100%; height: 100%; object-fit: cover; }
.sg-table { width: 100%; border-collapse: collapse; margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sg-table th, .sg-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.sg-table th { font-size: 12px; font-weight: 500; color: var(--text-muted); background: var(--cream); }
.sg-table tr:last-child td { border-bottom: 0; }
.sg-table td:last-child { font-weight: 500; color: var(--green); }
.sg-tip { margin-top: 20px; font-size: 15px; color: var(--text-muted); border-left: 3px solid var(--mustard); padding-left: 14px; }

/* ---------- Paslaugos ---------- */
.svc { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; }
.svc-media { position: relative; min-height: 460px; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 64px 60px; }
.svc-body h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px; }
.svc-body > p { color: var(--text-muted); margin: 0 0 28px; }
.svc-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 16px; }
.svc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.svc-list .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--green); }
.svc-list .ic svg { width: 22px; height: 22px; }
.svc-list b { display: block; font-weight: 500; }
.svc-list span { font-size: 15px; color: var(--text-muted); }

/* ---------- Tekstas ir nuotrauka / Verslui ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/2; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 16px; }
.feature p { color: var(--text-muted); margin: 0 0 16px; }
.checks { list-style: none; margin: 22px 0 32px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--mustard); color: var(--black); }
.feature-card { grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); align-items: stretch; }
.feature-card > div:first-child { padding: 56px; }
.feature-card .feature-media { border-radius: 0; aspect-ratio: auto; min-height: 420px; }
.feature-card .feature-media img { position: absolute; inset: 0; }
.feature-media .stat { position: absolute; left: 24px; bottom: 24px; background: var(--paper); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); max-width: 240px; font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.feature-media .stat b { display: block; font-size: 30px; font-weight: 600; color: var(--green); letter-spacing: -.02em; }

/* ---------- Citata ---------- */
.about { text-align: center; }
.about .inner { max-width: 760px; margin: 0 auto; }
.about-sticker { width: 96px; height: 96px; background: var(--mustard); transform: rotate(-12deg); margin: 0 auto 26px; }
.about blockquote { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; color: var(--green); }
.about p { color: var(--text-muted); margin: 24px auto 30px; max-width: 58ch; }
.magic { font-weight: 500; font-size: 15px; color: var(--mustard-text); margin-bottom: 20px; }

/* ---------- Tvarumas (konteineris eg-bg-cream) ---------- */
.eco-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.eco-media { position: relative; }
.eco-media img { width: 100%; aspect-ratio: 4/5; max-height: 600px; object-fit: cover; border-radius: var(--radius-lg); }
.eco-sticker { position: absolute; right: -28px; bottom: 40px; width: 150px; height: 150px; background: var(--green); color: var(--paper); text-align: center; font-size: 13px; line-height: 1.25; padding: 18px; transform: rotate(-8deg); box-shadow: var(--shadow-lg); }
.eco-sticker b { display: block; font-size: 44px; font-weight: 600; line-height: 1; color: var(--mustard); margin-bottom: 4px; }
.eco .lead { margin-top: 16px; max-width: 56ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.fact { background: var(--paper); border-radius: var(--radius); padding: 22px; }
.fact .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin-bottom: 12px; color: var(--green); }
.fact .ic svg { width: 22px; height: 22px; }
.fact b { display: block; font-weight: 500; margin-bottom: 4px; }
.fact span:last-child { font-size: 14px; color: var(--text-muted); line-height: 1.55; display: block; }

/* ---------- Priežiūra ---------- */
.care { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.care-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.care-ill { width: 132px; aspect-ratio: 1/1.02; background: url(../img/iliustracijos.svg) no-repeat; background-size: 400% 300%; margin-bottom: 18px; }
.care-item h3 { font-size: 17px; margin-bottom: 6px; }
.care-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- DUK + garantija ---------- */
.faq-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side .sec-head { display: block; margin: 0; }
.guarantee { margin-top: 32px; background: var(--green); color: var(--paper); border-radius: var(--radius-lg); padding: 28px; }
.guarantee .sticker { width: 84px; height: 84px; background: var(--mustard); color: var(--black); font-weight: 600; font-size: 22px; transform: rotate(-12deg); margin-bottom: 18px; letter-spacing: -.02em; }
.guarantee h3 { font-size: 20px; margin-bottom: 8px; color: var(--paper); }
.guarantee p { font-size: 14px; color: var(--on-green); line-height: 1.6; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 500; font-size: 17px; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transition: background-color .2s var(--ease), transform .25s var(--ease); }
.faq .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--mustard); }
.faq .ans { padding: 0 56px 24px 0; color: var(--text-muted); }
.faq .ans p { margin: 0 0 10px; }

/* ---------- Kontaktai ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
a.cc:hover { box-shadow: var(--shadow); border-color: #D9D1C9; }
.cc .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--green); display: grid; place-items: center; margin-bottom: 12px; }
.cc .ic svg { width: 22px; height: 22px; }
.cc small { font-size: 13px; color: var(--mustard-text); font-weight: 500; }
.cc b { font-weight: 500; font-size: 19px; color: var(--green); line-height: 1.3; }
.cc span { font-size: 14px; color: var(--text-muted); }

/* ---------- Naujienlaiškis ---------- */
.news-card { position: relative; border-radius: var(--radius-lg); background: var(--cream) url(../img/pattern.svg) center / 520px; padding: 72px 32px; overflow: hidden; }
.news-inner { position: relative; max-width: 620px; margin: 0 auto; background: var(--paper); border-radius: var(--radius-lg); padding: 44px; text-align: center; box-shadow: var(--shadow-lg); }
.news-inner .eyebrow { justify-content: center; }
.news-inner .h2 { font-size: clamp(26px, 2.8vw, 34px); }
.news-inner .lead { margin: 12px auto 28px; max-width: 42ch; font-size: 16px; }
.news-inner .sticker { position: absolute; width: 96px; height: 96px; }
.news-inner .s1 { left: -40px; top: -32px; background: var(--sky); transform: rotate(-12deg); }
.news-inner .s2 { right: -36px; bottom: -30px; background: var(--mustard); transform: rotate(10deg); }
.news-right { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.news-right form { width: 100%; }
.news-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; border: 1px solid #D9D1C9; border-radius: var(--pill); background: var(--surface); padding: 5px; }
.news-form input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: inherit; font-size: 16px; background: transparent; color: var(--green); }
.news-form input:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--on-green); padding: 80px 0 0; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.ft-logo img { width: 92px; height: auto; margin-bottom: 20px; }
.ft-grid p { margin: 0; max-width: 34ch; line-height: 1.65; }
.ft-grid h4 { font-size: 15px; color: var(--paper); margin: 0 0 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ft-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-grid a { color: var(--on-green); text-decoration: none; transition: color .2s var(--ease); }
.ft-grid a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--mustard); }
.ft-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contacts svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--mustard); }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(251,248,245,.25); display: grid; place-items: center; color: var(--on-green); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.social a:hover { background: var(--paper); color: var(--green); border-color: var(--paper); }
.social svg { width: 18px; height: 18px; }
.ft-band { height: 110px; background: url(../img/pattern-zalias.svg) center / 360px; border-top: 1px solid rgba(251,248,245,.1); }
.ft-bottom { background: var(--black); color: #9EA197; font-size: 13px; }
.ft-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.ft-bottom a { color: #C9CCC2; text-decoration: none; }

/* ---------- Įsijungimo animacija ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .site-nav a { padding: 9px 11px; font-size: 14px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: 380px 260px 260px; }
  .bento > .tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .prod-grid, .care { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .eco-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .eco-media { max-width: 520px; }
  .faq-side { position: static; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-body { padding: 48px 40px; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .head { min-height: 72px; gap: 8px; }
  .logo { grid-column: 2; justify-self: center; }
  .logo img { width: 64px; }
  .site-nav { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .head-actions .acc { display: none; }
  .hero { min-height: 0; display: block; background: var(--paper); }
  .hero::before { display: none; }
  .hero .hero-bg, .hero picture .hero-bg { position: relative; inset: auto; height: min(62vw, 520px); object-position: 60% 100%; }
  .hero > .wrap { padding-top: 40px; padding-bottom: 0; }
  .hero-text { max-width: 640px; }
  .hero-sticker { width: 108px; height: 108px; top: 24px; left: 24px; }
  .hero-strip { position: static; margin-top: 36px; }
  .hero-strip .wrap { padding-bottom: 32px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:nth-child(3) { border-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid rgba(51,59,44,.1); }
  .press .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .press ul { flex-wrap: wrap; justify-content: flex-start; gap: 24px 32px; }
  .feature, .size-guide { grid-template-columns: 1fr; gap: 36px; }
  .feature-card > div:first-child { padding: 36px 28px; }
  .feature-card .feature-media { min-height: 340px; order: -1; }
  .feature-rev .feature-media, .feature .feature-media { order: -1; }
  .svc { grid-template-columns: 1fr; }
  .svc-media { min-height: 260px; }
  .sizer-card { padding: 28px 20px; }
  .size-btn .tree { height: 160px; }
  .size-out { grid-template-columns: 1fr; }
  .size-out .price { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .lead { font-size: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; gap: 16px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 16px; margin-bottom: 28px; }
  .hero .hero-bg, .hero picture .hero-bg { height: 300px; object-position: 62% 100%; }
  .hero-sticker { width: 84px; height: 84px; top: 16px; left: 16px; }
  .hero-strip { margin-top: 28px; }
  .hero-strip .wrap { padding-bottom: 8px; }
  .hero-facts { background: var(--surface); box-shadow: none; border: 1px solid var(--line); }
  .hero-facts > div { padding: 14px; gap: 10px; font-size: 12px; flex-direction: column; align-items: flex-start; }
  .hero-facts .ic { width: 36px; height: 36px; }
  .hero-facts b { font-size: 14px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; gap: 14px; }
  .bento > .tile:nth-child(1), .bento > .tile:nth-child(2) { grid-column: auto; grid-row: auto; }
  .tile-badge { width: 84px; height: 84px; font-size: 11px; top: 16px; right: 16px; }
  .tile-badge b { font-size: 19px; }
  .bento > .tile:nth-child(1) .label { left: 16px; right: 16px; bottom: 16px; padding: 10px 10px 10px 22px; }
  .bento > .tile:nth-child(1) h3 { font-size: 17px; }
  .eg-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
  .eg-tab { white-space: nowrap; }
  .prod-grid { gap: 12px; }
  .pbody { padding: 12px; }
  .prod h3 { font-size: 14px; }
  .eg-price { font-size: 17px; }
  .prod .btn { padding: 0 8px; font-size: 14px; min-height: 44px; }
  .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; padding: 20px; }
  .steps .num { margin: 0; grid-row: span 2; }
  .sizer-card .sizes { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .size-btn .tree { height: 120px; }
  .size-btn .tree svg { height: calc(var(--h) * .55); }
  .facts { grid-template-columns: 1fr; }
  .eco-sticker { right: 12px; width: 124px; height: 124px; font-size: 11px; }
  .eco-sticker b { font-size: 36px; }
  .care { grid-template-columns: 1fr 1fr; gap: 12px; }
  .care-item { padding: 18px 16px; }
  .care-ill { width: 96px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .faq .ans { padding-right: 0; }
  .news-card { padding: 48px 16px; }
  .news-inner { padding: 36px 20px; }
  .news-form { flex-direction: column; border-radius: var(--radius); }
  .news-inner .sticker { width: 72px; height: 72px; }
  .news-inner .s1 { left: -20px; top: -28px; }
  .news-inner .s2 { right: -14px; bottom: -26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 56px; }
  .svc-body { padding: 32px 22px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Šoninis krepšelis (Side Cart WooCommerce) ----------
   Spalvos, plotis, mygtukai – įskiepio nustatymuose (scripts/wp_sidecart.php); čia tik tipografija ir smulkmenos. */
.xoo-wsc-modal, .xoo-wsc-container { font-family: var(--font-body); }
.xoo-wsc-opac { background: rgba(12,12,12,.35); }
.xoo-wsch-text { font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.xoo-wsc-ft-buttons-cont a .amount { font-style: normal; font-weight: 500; }
@media (max-width: 480px) {
  .xoo-wsc-ft-buttons-cont { grid-template-columns: 1fr 1fr !important; }
  .xoo-wsc-ft-buttons-cont a:not(.xoo-wsc-ft-btn-checkout) { padding: 6px 8px !important; font-size: 12px !important; white-space: nowrap; }
}
.xoo-wsch-items-count, .xoo-wsc-items-count { background: var(--mustard) !important; color: var(--black) !important; }
.xoo-wsc-pname, .xoo-wsc-pname a { color: var(--green); font-weight: 500; text-decoration: none; line-height: 1.35; }
.xoo-wsc-pname a:hover { text-decoration: underline; }
.xoo-wsc-img-col img { border-radius: var(--radius-sm); }
.xoo-wsc-smr-del { color: var(--text-muted); }
.xoo-wsc-smr-del:hover { color: var(--berry); }
.xoo-wsc-smr-ptotal, .xoo-wsc-ft-amt-value { font-weight: 500; color: var(--green); }
.xoo-wsc-psavings { color: var(--success); }
.xoo-wsc-ft-amt-subtotal { font-size: 18px; }
.xoo-wsc-footer-txt { font-size: 13px; color: var(--text-muted); text-align: center; margin: 6px 0 10px; }
.xoo-wsc-ft-buttons-cont a { text-decoration: none; border-radius: var(--pill) !important; }
.xoo-wsc-empty-cart { padding: 48px 24px; text-align: center; }
.xoo-wsc-emp-img { width: 72px; height: auto; opacity: .35; margin: 0 auto 12px; }
.xoo-wsc-emp-txt { font-size: 20px; font-weight: 500; color: var(--green); }
.eg-wsc-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 10px 16px; font-size: 12.5px; color: var(--text-muted); background: var(--paper); border-top: 1px solid var(--line); }
.eg-wsc-info span::before { content: "✓"; color: var(--success); margin-right: 5px; }

/* „Į krepšelį“ – kol WooCommerce prideda (ajax) */
.btn.add.loading { opacity: .7; pointer-events: none; }
.btn.add.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: eg-spin .7s linear infinite; }
@keyframes eg-spin { to { transform: rotate(360deg); } }
.prod a.added_to_cart { display: none; }

/* Pirkimas kaip įmonė (wc-saskaita-faktura įskiepis) – spalvos per jo kintamuosius */
.wc-sf-invoice-wrapper { --wc-sf-bg: var(--paper); --wc-sf-line: var(--line); --wc-sf-accent: var(--green); --wc-sf-radius: var(--radius); }
.woocommerce-checkout input::placeholder, .woocommerce-checkout textarea::placeholder { color: var(--moss); opacity: 1; }

/* ---------- Apmokėjimas: pristatymo data, laikas, išvežimas (inc/pristatymas.php) ---------- */
.eg-delivery { margin: 0 0 28px; padding: 22px 22px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.eg-delivery h3 { font-size: 20px; margin: 0 0 16px; }
.eg-delivery .form-row { margin-bottom: 18px; }
.eg-delivery [hidden] { display: none !important; }
.eg-delivery select { width: 100%; min-height: 46px; }
.eg-delivery .eg-label { display: block; margin-bottom: 8px; }
.eg-time-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.eg-time { position: relative; display: block; cursor: pointer; margin: 0 !important; }
.eg-time input { position: absolute; opacity: 0; pointer-events: none; }
.eg-time > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.eg-time strong { font-weight: 500; color: var(--green); line-height: 1.35; }
.eg-time small { font-size: 13px; color: var(--text-muted); }
.eg-time:hover > span { border-color: var(--sky); }
.eg-time input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.eg-time input:focus-visible + span { outline: 2px solid var(--mustard); outline-offset: 2px; }
.eg-check { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.eg-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); flex: none; }
.eg-muted, .eg-hint { color: var(--text-muted); font-weight: 400; }
.eg-hint { display: block; font-size: 13px; margin-top: 6px; }
.eg-delivery abbr.required { text-decoration: none; border: 0; }

/* Paslėpti adreso laukai (inc/woocommerce.php) */
.eg-field-hidden { display: none !important; }
