/* ===== Carbon Cycle — pagal Website_Vorschlag.pdf ===== */
:root {
  --green-head: #257f41;   /* antraštės */
  --green-dark: #036b23;   /* Bestellen/Warenkorb mygtukas, kainos */
  --green-btn:  #3fbd33;   /* šviesus pill mygtukas */
  --green-nav:  #1b7c35;   /* nav nuorodos */
  --bg-input:   #eff9ee;   /* formų laukai, dropdown */
  --bg-soft:    #e9f7e6;   /* šviesiai žalios juostos */
  --bg-footer:  #e7f6e5;
  --ink:        #1d1d1f;
  --ink-soft:   #3c3c43;
  --line:       #d9e8dc;
  --maxw:       1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--green-nav); text-decoration: none; }
p { margin-bottom: 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3.green { color: var(--green-head); }
h1 { font-size: clamp(26px, 3.6vw, 38px); margin: 26px 0 18px; }
h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 30px 0 14px; }
h3 { font-size: 18px; margin: 22px 0 10px; }
h4 { font-size: 16px; margin: 18px 0 8px; }

/* ===== Header + dropdown nav ===== */
header.site { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; gap: 26px; padding: 10px 22px; max-width: var(--maxw); margin: 0 auto; }
.brand img { height: 62px; width: auto; }
.menu { display: flex; gap: 4px; list-style: none; margin-left: auto; align-items: center; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 10px 13px; color: var(--green-nav); font-size: 15px; font-weight: 500;
}
.menu > li > a:hover { color: var(--green-dark); }
.sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 205px;
  background: var(--bg-soft); border-radius: 8px; box-shadow: 0 8px 22px rgba(20,60,30,.14);
  list-style: none; padding: 8px 0; z-index: 60;
}
.menu li:hover > .sub, .menu li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 8px 18px; color: var(--green-nav); font-size: 14.5px; }
.sub a:hover { background: #d9efd6; color: var(--green-dark); }
.btn-dark {
  background: var(--green-dark); color: #fff !important; font-weight: 600; font-size: 15px;
  padding: 11px 24px; border-radius: 8px; white-space: nowrap;
}
.btn-dark:hover { background: #02551c; }

/* mobile */
@media (max-width: 860px) {
  .menu { display: none; }
  .nav { justify-content: space-between; }
}

/* ===== Hero ===== */
.hero { position: relative; }
.hero img { width: 100%; height: clamp(240px, 38vw, 460px); object-fit: cover; }
.hero.tall img { height: clamp(280px, 44vw, 560px); }
.hero video { width: 100%; height: clamp(240px, 38vw, 460px); object-fit: cover; display: block; background: #0e2a17; }

/* ===== Mygtukai ===== */
.btn {
  display: inline-block; background: var(--green-btn); color: #fff; font-weight: 600;
  padding: 8px 22px; border-radius: 7px; border: none; cursor: pointer; font-size: 15px;
  font-family: inherit;
}
.btn:hover { background: #2fa626; }
.btn.big { padding: 12px 36px; font-size: 17px; border-radius: 8px; }
.btn.soft {
  background: var(--bg-soft); color: var(--green-dark); font-weight: 600; border-radius: 999px;
}
.btn.soft:hover { background: #d9efd6; }

/* ===== Sekcijos ===== */
section.block { padding: 34px 0; }
.center { text-align: center; }
.lead { color: var(--ink-soft); }

/* Produktų kortelės (Startseite) */
.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.two-cards figure { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.two-cards img { width: 100%; height: 300px; object-fit: cover; border-radius: 6px; }
@media (max-width: 720px) { .two-cards { grid-template-columns: 1fr; } }

/* Tekstas + paveikslas šonais */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.txt-first { grid-template-columns: 1.05fr .95fr; }
.split img { border-radius: 6px; width: 100%; }
@media (max-width: 800px) { .split, .split.txt-first { grid-template-columns: 1fr; } }

ul.plain { list-style: disc; margin: 0 0 1em 22px; }
ul.plain li { margin-bottom: 5px; }
ul.check { list-style: none; margin: 0 0 1em 0; }
ul.check li { padding-left: 26px; position: relative; margin-bottom: 6px; }
ul.check li::before { content: "✔"; position: absolute; left: 0; color: var(--green-head); font-weight: 700; }

/* Zertifikate */
.certs { display: flex; gap: 38px; align-items: center; justify-content: flex-start; flex-wrap: wrap; margin: 26px 0 10px; }
.certs img { height: 84px; width: auto; }

/* ===== Formos ===== */
form.cc label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
form.cc input, form.cc textarea, select.koern {
  width: 100%; background: var(--bg-input); border: 1px solid #dcecd9; border-radius: 6px;
  padding: 10px 13px; font: inherit; color: var(--ink);
}
form.cc input:focus, form.cc textarea:focus, select.koern:focus { outline: 2px solid var(--green-btn); outline-offset: 0; }
form.cc textarea { min-height: 130px; }

/* ===== FAQ ===== */
.faq h2 { margin-top: 34px; }
.faq h3 { color: var(--green-head); font-size: 16.5px; margin: 18px 0 4px; }
.faq p, .faq ul { color: var(--ink-soft); }

/* ===== Kontakt ===== */
.k-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .k-grid { grid-template-columns: 1fr; } }
.k-grid img.map { border-radius: 6px; border: 1px solid var(--line); width: 100%; }
.k-grid iframe.map { display: block; width: 100%; height: 300px; border-radius: 6px; }
.k-grid .map-consent { height: 300px; border-radius: 6px; border: 1px solid var(--line); background: #eff9ee; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; font-size: 14px; }
.k-grid .map-consent p { margin: 0; max-width: 380px; }
.k-grid .map-consent .map-ext { font-size: 13px; }
form.cc label.ds-ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.45; margin-top: 16px; }
form.cc label.ds-ok input { width: auto; flex: none; margin: 4px 0 0; }

/* ===== Shop ===== */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 26px 0 44px; }
@media (max-width: 860px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
.p-card { text-align: center; }
.p-card img { width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 3/4; object-fit: contain; }
.p-card a h3 { color: var(--green-head); font-size: 17px; line-height: 1.35; margin-top: 12px; }
.p-card a:hover h3 { text-decoration: underline; }

/* ===== Parduotuvė: VISI 6 produktai viename ekrane (be slinkimo) =====
   Problema, kurią tai sprendžia: anksčiau puslapis turėjo hero nuotrauką + dvi atskiras
   sekcijas su antraštėmis, tad iki apatinių produktų reikėdavo slinkti.
   ⚠️ SVARBU: visos 6 kortelės naudoja TIK 3 skirtingas nuotraukas (tas pats BigBag
   ÖKO Terr ir ÖKO Feed kategorijoms), tad iš paveikslėlio produkto atpažinti NEĮMANOMA.
   Todėl atpažinimą neša: kategorijos spalva + piktograma + ryški dydžio žyma. */
/* Tinklelis: 3 stulpeliai × 2 eilės = visi 6 vienam ekrane.
   Baymard rekomendacija: 3–4 stulpeliai desktop'e, 2 mobiliajame; daugiau nei 4 eilėje
   didina kognityvinę apkrovą. Kortelėje privalomi: nuotrauka, pavadinimas, KAINA. */
.shop-one { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 20px; }
.shop-one .p2 {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #dde9dd; border-radius: 8px; overflow: hidden;
  border-top: 3px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
/* Kategorija = spalvota briauna viršuje. Atskira juostelė su tekstu ėdė vertikalią vietą,
   o spalva atpažįstama iš karto ir nekainuoja nė vieno pikselio aukščio. */
.shop-one .p2.terr { border-top-color: #6b4b2a; }   /* ruda = dirvožemis */
.shop-one .p2.feed { border-top-color: #1f7a3d; }   /* žalia = pašaras gyvūnams */
/* Kategorijų spalvos vienoje vietoje — kortelė, etiketė ir mygtukas ima iš tų pačių
   kintamųjų, tad pridedant naują kategoriją pakanka pakeisti tris reikšmes. */
/* `--c-soft` sustiprinta (2026-08-07): pirmoji versija (#f6f1ea / #eef8f0) buvo tokia blanki,
   kad atspalvio beveik nesimatė. `--c-glow` = kategorijos spalva su alfa — naudojama švytėjimui
   už kortelės; hex kintamojo į rgba() paversti negalima, todėl laikomas atskirai. */
.shop-one .p2.terr { --c: #6b4b2a; --c-dark: #533619; --c-soft: #faf6f0; --c-glow: rgba(107,75,42,.30); }  /* ruda = dirvožemis */
.shop-one .p2.feed { --c: #1f7a3d; --c-dark: #14602e; --c-soft: #f2faf4; --c-glow: rgba(31,122,61,.30); }  /* žalia = pašaras */

/* Kategorijos atspalvis — trečia versija. Kelias iki jos (kad nebūtų sukama ratu):
     #f6f1ea / #eef8f0 iki 46 %  → per blanku, atspalvio beveik nesimatė
     #efe0cd / #d5eedc iki 78 %  → per stipru, kortelė atrodė nudažyta
     #f4ece1 / #e4f4e9 iki 62 %  → dar per stipru
     ŠITA: kiekvienas kanalas pastumtas per pusę link balto — vos juntamas potepis.
   Norint reguliuoti, užtenka dviejų dalykų: `--c-soft` sodrumo ir gradiento ribos (62 %). */
.shop-one .p2 { background: linear-gradient(180deg, var(--c-soft, #fff) 0%, #fff 62%); }

.shop-one .p2 { transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, border-color .18s ease; }
/* Hover: kortelė pakyla ir po ja užsidega KATEGORIJOS SPALVOS švytėjimas — atrodo, tarsi
   šviesa sklistų iš už kortelės. Neutralus pilkas šešėlis tokio įspūdžio neduoda. */
.shop-one .p2:hover { transform: translateY(-3px); border-color: var(--c);
  box-shadow: 0 12px 24px var(--c-glow), 0 0 20px var(--c-glow); }
/* Paspaudimas — kortelė „prisispaudžia". Be šito paspaudimas neduoda jokio atsako
   ir mobiliajame atrodo, tarsi mygtukas neveiktų. */
.shop-one .p2:active { transform: translateY(-1px) scale(.994); box-shadow: 0 4px 10px var(--c-glow); }
.shop-one .p2 a:focus-visible { outline: 3px solid var(--c); outline-offset: -3px; border-radius: 7px; }
/* Nuotrauka hover metu vos prisiartina — pojūtis, kad produktas „atsiliepia" */
.shop-one .p2 img { transition: transform .22s cubic-bezier(.2,.7,.3,1); }
.shop-one .p2:hover img { transform: scale(1.05); }
/* HORIZONTALI kortelė: nuotrauka KAIRĖJE, informacija DEŠINĖJE.
   Kodėl ne viena po kita: produktų nuotraukos yra vertikalios (3:4) ir baltame fone,
   tad plačioje kortelėje `object-fit:contain` palikdavo tuščias juostas iš abiejų šonų.
   Šone nuotrauka užpildo savo stulpelį, tuščia vieta dingsta, o kortelė tampa žemesnė —
   6 produktai telpa į ekraną laisviau nei anksčiau.
   HTML nekeičiamas: elementai išdėstomi grid'u (img = 1 stulpelis per 3 eiles). */
.shop-one .p2 a {
  display: grid; grid-template-columns: minmax(84px, 36%) 1fr;
  grid-template-rows: auto auto auto; column-gap: 10px;
  align-content: center; height: 100%; padding: 9px 11px 9px 9px; text-decoration: none;
}
.shop-one .p2 img {
  grid-column: 1; grid-row: 1 / span 3; align-self: center;
  width: 100%; height: clamp(92px, 14vh, 132px); object-fit: contain;
  background: #fbfdfb; border-radius: 5px;
}
/* Kategorijos etiketė — spalvota „pilytė". Vien spalvotas tekstas buvo per silpnas:
   dvi kategorijos skyrėsi tik atspalviu, kurio šalia nuotraukos beveik nesimatė. */
.shop-one .cat { grid-column: 2; grid-row: 1; align-self: end; justify-self: start;
  font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  margin: 0; padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--c);
  box-shadow: 0 1px 3px rgba(0,0,0,.16); }
.shop-one .p2 h3 { grid-column: 2; grid-row: 2;
  color: var(--green-head); font-size: 14px; line-height: 1.25; margin: 3px 0 0; }
/* Kiekis + kaina viena po kita — dešiniame stulpelyje siauriau nei per visą kortelę.
   Kiekis ryškus, nes 2000 L ir 1300 L maišai nuotraukoje atrodo vienodai. */
.shop-one .buy { grid-column: 2; grid-row: 3; align-self: start;
  display: flex; flex-direction: column; gap: 1px; margin: 6px 0 0; }
.shop-one .qty { font-size: 13px; font-weight: 800; color: #143c14; }
/* Kaina VISADA žalia — ta pati `--green-dark`, kurią naudoja produktų puslapių
   `.price-row .preis`. Anksčiau ji ėmė kategorijos spalvą, tad ÖKO Terr kainos buvo
   rudos: viena ir ta pati informacija atrodė skirtingai dviejuose puslapiuose. */
.shop-one .price { font-size: 16px; font-weight: 800; color: var(--green-dark); }
.shop-one .price small { display: block; font-size: 10px; font-weight: 600; color: #7a8a7a; }

/* Kam nepatinka judesys (sistemos nustatymas) — spalvos lieka, animacijos dingsta */
@media (prefers-reduced-motion: reduce) {
  .shop-one .p2, .shop-one .p2 img { transition: none; }
  .shop-one .p2:hover { transform: none; }
  .shop-one .p2:hover img { transform: none; }
}
@media (max-width: 860px) {
  .shop-one { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shop-one .p2 img { height: clamp(84px, 12vh, 116px); }
  .shop-one .p2 h3 { font-size: 13px; }
}
/* Siaurame telefone dviejų stulpelių horizontali kortelė per ankšta — vienas stulpelis,
   bet kortelė lieka horizontali, tad sąrašas vis tiek trumpas. */
@media (max-width: 470px) {
  .shop-one { grid-template-columns: 1fr; gap: 8px; }
  .shop-one .p2 a { grid-template-columns: 96px 1fr; }
  .shop-one .p2 img { height: 92px; }
}

/* Produkto detalė */
.pd { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; margin-top: 10px; }
@media (max-width: 800px) { .pd { grid-template-columns: 1fr; } }
.pd .photo { border: 1px solid #cfe6cf; border-radius: 4px; padding: 18px; background: #fff; }
.pd .photo img { width: 100%; object-fit: contain; }
.pd .desc { color: var(--ink-soft); }
.pd hr { border: none; border-top: 1px solid var(--green-head); margin: 22px 0; opacity: .5; }
.variant-box { margin-top: 6px; }
.price-row { display: none; margin-top: 20px; }
.price-row.show { display: block; }
.price-row .preis { font-size: 30px; font-weight: 700; color: var(--green-dark); }
.price-row .meta { font-size: 14px; color: var(--ink-soft); margin: 10px 0 14px; }
.price-row .meta b { display: inline-block; min-width: 130px; color: var(--ink); font-weight: 600; }
.gebinde { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.pd-info h2 { margin-top: 46px; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 760px) { .pd-cols { grid-template-columns: 1fr; } }
.pd-cols h3 { font-size: 19px; color: var(--ink); }
.pd-certs { display: flex; gap: 26px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.pd-certs img { height: 90px; width: auto; }

/* Kohle apskritimai (Produktion) */
.circles { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 26px 0; }
.circles img { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; }

/* Diagrama */
.diagram { max-width: 470px; border-radius: 8px; }

/* ===== Footer ===== */
footer.site { background: var(--bg-footer); margin-top: 60px; padding: 38px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.f-brand { display: flex; gap: 18px; align-items: flex-start; }
.f-brand img { width: 110px; height: auto; flex: none; }
.f-brand h4 { color: var(--green-head); font-size: 16px; margin: 0 0 8px; }
.f-brand p { color: var(--green-nav); font-size: 14.5px; margin: 0; line-height: 1.7; }
.foot-grid h5 { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.foot-grid .col a { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; }
.foot-grid .col a:hover { color: var(--green-dark); }

/* Puslapio turinio atstumai */
main { min-height: 40vh; }
.page-pad { padding-top: 8px; }

/* ===== Kalbų perjungiklis ===== */
.lang-sw { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.lang-sw span { color: #b9cfbd; }
.lang-sw a { color: var(--ink-soft); padding: 4px 2px; display: inline-flex; align-items: center; gap: 6px; }
.lang-sw a svg { width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-sw a.on { color: var(--green-dark); border-bottom: 2px solid var(--green-btn); }
.lang-sw a:hover { color: var(--green-dark); }

/* ===== Warenkorb ===== */
.badge {
  display: inline-block; min-width: 20px; text-align: center; background: #fff; color: var(--green-dark);
  border-radius: 999px; font-size: 12.5px; font-weight: 700; padding: 1px 6px; margin-left: 6px;
}
.badge:empty { display: none; }
.cart-mini {
  display: none; align-items: center; gap: 4px; font-size: 18px; text-decoration: none;
  background: var(--bg-soft); border-radius: 999px; padding: 6px 13px;
}
.cart-mini span { font-size: 13.5px; font-weight: 700; color: var(--green-dark); }
table.cart { width: 100%; border-collapse: collapse; margin: 20px 0 10px; font-size: 15px; }
table.cart th { text-align: left; background: var(--bg-soft); color: var(--green-head); padding: 10px 12px; }
table.cart td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: middle; }
.qtd { white-space: nowrap; }
.qtd b { display: inline-block; min-width: 26px; text-align: center; }
.qbtn {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--green-btn); background: #fff;
  color: var(--green-dark); font-weight: 700; cursor: pointer; line-height: 1;
}
.qbtn:hover { background: var(--bg-soft); }
.xbtn { border: none; background: none; color: #c0392b; font-size: 16px; cursor: pointer; }
.cart-total { font-size: 20px; color: var(--green-head); margin: 16px 0; }
.cart-total b { color: var(--green-dark); font-size: 24px; }

/* ===== Kasse (checkout vedlys) ===== */
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 30px; }
.step {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #f2f6f2; color: var(--ink-soft); font-size: 14px; font-weight: 600;
}
.step .dot {
  width: 22px; height: 22px; border-radius: 50%; background: #d5e2d6; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12.5px;
}
.step.on { background: var(--bg-soft); color: var(--green-dark); }
.step.on .dot { background: var(--green-btn); }
.step.done { color: var(--green-head); }
.step.done .dot { background: var(--green-head); }
.kpanel h2 { margin-top: 6px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
@media (max-width: 640px) { .form-2col { grid-template-columns: 1fr; } }
.knav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; }
.knav .btn:disabled, .btn:disabled { opacity: .45; cursor: not-allowed; }

.pay-list { display: grid; gap: 14px; max-width: 720px; }
.pay-card {
  display: flex; align-items: center; gap: 16px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 16px 18px; cursor: pointer; transition: border-color .12s, background .12s;
}
.pay-card:hover { border-color: var(--green-btn); }
.pay-card:has(input:checked) { border-color: var(--green-btn); background: var(--bg-soft); }
.pay-card input { accent-color: var(--green-btn); width: 18px; height: 18px; flex: none; }
.pay-card .pc-icon { font-size: 26px; flex: none; }
.pay-card b { display: block; color: var(--ink); }
.pay-card .pc-desc { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.pay-card .pc-preis { margin-left: auto; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.kk-box {
  max-width: 480px; margin-top: 18px; border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 20px 20px; background: #fbfdfb;
}
.kk-box label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.kk-box input {
  width: 100%; background: var(--bg-input); border: 1px solid #dcecd9; border-radius: 6px;
  padding: 10px 13px; font: inherit;
}
.ueb-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin: 22px 0; }
@media (max-width: 800px) { .ueb-grid { grid-template-columns: 1fr; } }
.card-soft { background: #f7fbf7; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.card-soft h4 { color: var(--green-head); margin: 0 0 8px; }
.card-soft p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-soft); }
.agb { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14.5px; cursor: pointer; }
.agb input { margin-top: 3px; accent-color: var(--green-btn); width: 17px; height: 17px; }
td.center, .cart td.center { text-align: center; }

/* ---- 2026-08-21: Menge auf der Produktseite, dynamische Versandkosten, Fehlerbox ---- */
.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 6px; }
.qty-row label { font-size: 14px; font-weight: 600; color: var(--ink); }
.qty-in {
  width: 78px; padding: 9px 10px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.qty-in:focus { outline: 2px solid var(--green-btn); outline-offset: 1px; }

.pay-card .pc-preis { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.35; }
.pay-card .pc-note { font-size: 12.5px; font-weight: 400; color: var(--ink-soft); white-space: normal; text-align: right; max-width: 210px; }
.pay-card.disabled { opacity: .5; cursor: not-allowed; border-style: dashed; }
.pay-card.disabled:hover { border-color: var(--line); }

.send-err {
  border: 1px solid #d9534f; background: #fdf3f3; border-radius: 10px;
  padding: 18px 20px; margin: 20px 0;
}
.send-err h4 { margin: 0 0 8px; color: #b02a26; }
.send-err p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink); }

/* Schmale Screens: Versandkosten unter den Text statt in eine enge Spalte quetschen */
@media (max-width: 560px) {
  .pay-card { flex-wrap: wrap; }
  .pay-card .pc-preis { width: 100%; margin-left: 0; align-items: flex-start; margin-top: 6px; }
  .pay-card .pc-note { text-align: left; max-width: none; }
}

@media print {
  header.site, footer.site, .knav, .steps { display: none !important; }
  .block { padding: 0 !important; }
}

/* ===== Kundenkonto / Anmeldung mit Google ===== */
.auth-box { display: flex; align-items: center; }
.auth-link { font-size: 14.5px; font-weight: 600; color: var(--green-nav); white-space: nowrap; padding: 6px 2px; }
.auth-link:hover { color: var(--green-dark); }

.btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px;
  cursor: pointer; font: inherit; font-weight: 600; padding: 12px 20px; white-space: nowrap;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
.btn-google:hover { border-color: var(--green-btn); background: #fbfdfb; box-shadow: 0 2px 10px rgba(20,60,30,.10); }
.btn-google:disabled { opacity: .55; cursor: default; }
.btn-google .gicon { width: 20px; height: 20px; flex: none; }
.btn-google.wide { width: 100%; padding: 13px 0; font-size: 16px; }

.auth-user { position: relative; }
.auth-trigger {
  display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: none;
  border-radius: 999px; padding: 5px 13px 5px 5px; cursor: pointer; font: inherit;
  font-weight: 600; color: var(--green-dark);
}
.auth-trigger:hover { background: #d9efd6; }
.auth-trigger i { font-style: normal; font-size: 12px; color: var(--ink-soft); }
.av, .av-big { border-radius: 50%; object-fit: cover; display: block; flex: none; }
.av { width: 28px; height: 28px; }
.av-big { width: 72px; height: 72px; }
.ini { background: var(--green-head); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.av.ini { font-size: 14px; }
.av-big.ini { font-size: 30px; }

.auth-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 235px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 26px rgba(20,60,30,.16); padding: 6px 0; z-index: 120;
}
.auth-menu.open { display: block; }
.am-head { padding: 10px 16px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.am-head b { display: block; font-size: 14.5px; color: var(--ink); }
.am-head span { display: block; font-size: 13px; color: var(--ink-soft); word-break: break-all; }
.auth-menu a, .auth-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 16px; font: inherit; font-size: 14.5px;
  color: var(--green-nav); background: none; border: none; cursor: pointer;
}
.auth-menu a:hover, .auth-menu button:hover { background: var(--bg-soft); color: var(--green-dark); }

/* Anmeldeseite: nur Logo + Karte, mittig */
.login-wrap { display: flex; flex-direction: column; align-items: center; padding: 6px 0 10px; }
.lc-logo { height: 76px; width: auto; margin-bottom: 26px; }
body.login-only { background: #f7faf7; }
body.login-only main { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 190px); }
body.login-only section.block { padding: 40px 0; width: 100%; }
body.login-only #kontoBox { margin: 0 !important; }
.login-card {
  width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 34px; box-shadow: 0 10px 34px rgba(20,60,30,.09); text-align: center;
}
.login-card h2 { margin: 0; font-size: 24px; color: var(--ink); }
.login-card .lc-sub { margin: 8px 0 24px; font-size: 14.5px; color: var(--ink-soft); }
.login-card .lc-hint { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.auth-msg { margin: 14px 0 0; font-size: 13.5px; line-height: 1.45; }
.auth-msg:empty { display: none; }
.auth-msg.bad { color: #a33; background: #fdf0ef; border-radius: 8px; padding: 10px 12px; }

.konto-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; background: #fbfdfb; max-width: 560px; }
.kc-head { display: flex; align-items: center; gap: 20px; margin-bottom: 6px; }
.kc-head h2 { margin: 0; }
.kc-since { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.kc-data { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 22px 0 26px; font-size: 15px; }
.kc-data dt { font-weight: 600; color: var(--ink-soft); }
.kc-data dd { margin: 0; word-break: break-all; }
.kc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 980px) { .au-name { display: none; } }
@media (max-width: 480px) {
  .kc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .login-card { padding: 26px 20px; }
}

/* ---- 2026-08-21: Warenkorb-/Uebersichtstabelle auf schmalen Screens als Karten ----
 * Vorher lief die 6-spaltige Tabelle bei 390 px aus dem Bild; "Summe" und das
 * Entfernen-Kreuz waren nur per horizontalem Scrollen erreichbar. */
.cart-wrap { overflow-x: auto; }
.xbtn .xtxt { display: none; }

@media (max-width: 620px) {
  .cart-wrap { overflow-x: visible; }
  table.cart, table.cart tbody, table.cart tr, table.cart td { display: block; width: 100%; }
  table.cart { border-collapse: separate; border-spacing: 0; margin: 18px 0 10px; }
  table.cart thead { display: none; }
  table.cart tr {
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    padding: 2px 14px 6px; margin: 0 0 12px;
  }
  table.cart td {
    border: none; border-bottom: 1px dashed #e8eee8; padding: 9px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    text-align: right;
  }
  table.cart td::before {
    content: attr(data-l); flex: none; text-align: left;
    font-size: 13px; font-weight: 600; color: var(--green-head);
  }
  table.cart td.c-prod {
    display: block; text-align: left; font-weight: 700; color: var(--green-head);
    padding: 12px 0 9px;
  }
  table.cart td.c-prod::before { content: none; }
  table.cart td.c-prod span { font-weight: 400; }
  table.cart td.c-sum { font-weight: 700; font-size: 16.5px; }
  table.cart td.center { text-align: right; }
  table.cart td.c-del { border-bottom: none; justify-content: flex-end; padding-bottom: 12px; }
  table.cart td.c-del::before { content: none; }
  .xbtn .xtxt { display: inline; font-size: 14px; }
  .xbtn {
    border: 1px solid #e6cdcb; border-radius: 8px; background: #fdf6f6;
    padding: 7px 14px; line-height: 1;
  }
}

/* ---- 2026-08-21: Lagerbestand + Mindestbestellmenge ---- */
.stock {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 12px 0 2px; padding: 5px 12px 5px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; line-height: 1.3;
}
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.stock.st-lager   { background: #eaf5ea; color: #2e7d32; }
.stock.st-wenige  { background: #fdf3e3; color: #a26a08; }
.stock.st-anfrage { background: #eef3f8; color: #3a6491; }
.stock.st-aus     { background: #fbeceb; color: #b02a26; }
.stock-hint {
  margin: 10px 0 2px; padding: 12px 14px; border: 1px solid #e6cdcb; border-radius: 10px;
  background: #fdf6f6; font-size: 14.5px; color: var(--ink);
}
.stock-hint a { color: #b02a26; font-weight: 600; }
.min-note { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.qty-row .min-note { flex-basis: 100%; }
.qbtn:disabled { opacity: .4; cursor: not-allowed; }
.qbtn:disabled:hover { background: #fff; }
/* Gesamtsumme nicht zwischen Zahl und Euro-Zeichen umbrechen */
.cart-total b { white-space: nowrap; }

/* ---- 2026-08-21: PDF-Downloads, die es noch nicht gibt ---- */
.dok-fehlt { color: var(--ink-soft); }
.dok-fehlt a { font-weight: 600; }
