/*
Theme Name: Klynsta
Theme URI: https://klynsta.eu
Description: Klynsta Sneaker Cleaning Kit — custom monochrome store theme ported 1:1 from the static site. WooCommerce-ready, bilingual (LT default / EN toggle).
Author: Martynas
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: klynsta
WC requires at least: 5.0
*/

/* ===========================================================
   Klynsta — Sneaker Cleaning Kit
   Minimalist monochrome theme with blue accent
   =========================================================== */

/* --- KLYNSTA FONTS (self-hosted) --- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-inter-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-inter-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-inter-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-inter-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-inter-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-inter-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 300; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-montserrat-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 300; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-montserrat-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-montserrat-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-montserrat-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-montserrat-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(/wp-content/uploads/fonts/klynsta-montserrat-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #0e0e0e;
  --ink: #1a1a1a;
  --white: #ffffff;
  --paper: #f6f6f6;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #2e9be6;
  --accent-dark: #1f7fc4;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --maxw: 1180px;
  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--black);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.7); }

.center { text-align: center; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--accent); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--accent); color: var(--white); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--lg { padding: 17px 40px; font-size: 1rem; }
.price-tag { font-weight: 700; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo img { height: 48px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { padding: 11px 24px; }
/* language switch */
.nav__lang { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { color: var(--black); background: #fff; }
.nav__lang .sep { color: rgba(255, 255, 255, 0.3); font-size: 0.78rem; }
/* override .nav__links a color so button text stays visible */
.nav__links .nav__cta a.btn--light { color: var(--black); }
.nav__links .nav__cta a.btn--light:hover { color: var(--white); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 80% 0%, #1d1d1d 0%, var(--black) 55%);
  color: var(--white);
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__logo { height: 120px; width: auto; margin-bottom: 22px; }
.hero h1 { color: #fff; }
.hero__tagline {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin: 18px 0 8px;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 18px 0 34px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__media img {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 320px;
  aspect-ratio: 2 / 3;
  object-fit: contain;
}
.hero__badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.hero__badge .ttl { display: block; }
.hero__badge .sub { display: block; font-weight: 400; font-size: 0.72rem; opacity: 0.85; }

/* ---------- Trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
  text-align: center;
}
.trust__item { font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }

/* ---------- Kit / product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media {
  background: var(--paper);
  border-radius: 10px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.card__media img { max-height: 190px; width: auto; object-fit: contain; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.split h2 { margin-bottom: 18px; }
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .tick {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { text-align: center; }
.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; }

/* ---------- Buy band ---------- */
.buyband { text-align: center; }
.buyband .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  margin: 10px 0 4px;
}
.buyband .price small { font-size: 1rem; font-weight: 400; opacity: 0.6; }
.buyband p { margin-bottom: 28px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gallery__main {
  background: var(--paper);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  min-height: 420px;
}
.gallery__main img { max-height: 440px; width: auto; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.gallery__thumbs button {
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease;
}
.gallery__thumbs button.active { border-color: var(--accent); }
.gallery__thumbs img { max-height: 100%; width: auto; }
.pdp__info h1 { margin-bottom: 6px; }
.pdp__brand { color: var(--accent); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; }
.pdp__price { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; margin: 18px 0; color: var(--black); }
.pdp__price small { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.pdp__buy { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.pdp__includes { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 24px; }
.pdp__includes h3 { font-size: 1rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.pdp__includes ul { list-style: none; }
.pdp__includes li { padding: 8px 0; display: flex; gap: 12px; align-items: center; color: var(--ink); }
.pdp__includes li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq__item.open .faq__q::after { content: "−"; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a p { padding: 0 0 22px; }

/* ---------- About ---------- */
.about-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.about-hero p { font-size: 1.12rem; margin-top: 18px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.value { text-align: center; padding: 30px; }
.value__icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 14px; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info p { margin-bottom: 18px; }
.contact__info a { color: var(--accent); font-weight: 500; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }

/* ---------- CTA mini ---------- */
.cta-mini { text-align: center; }
.cta-mini h2 { margin-bottom: 12px; }
.cta-mini p { margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.7); padding: 60px 0 28px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img { height: 40px; margin-bottom: 16px; }
.footer__brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; transition: color 0.15s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .split, .pdp, .contact { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__media { order: 0; }
  .cards, .steps, .values { grid-template-columns: 1fr 1fr; }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__media { order: -1; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav.open .nav__links { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 13px 0; width: 100%; }
  .nav__cta { margin: 10px 0 0; }
  .nav__toggle { display: flex; }
  .cards, .steps, .values, .footer__grid, .trust__row { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
  .hero__badge { left: 50%; transform: translateX(-50%); }
}

/* ===========================================================
   WordPress / WooCommerce integration overrides
   Makes native WooCommerce elements match the Klynsta design.
   =========================================================== */

/* WP admin bar spacing safety */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px){ .admin-bar .site-header { top: 46px; } }

/* --- WooCommerce buttons → Klynsta pill buttons --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce-page a.button,
.woocommerce-page button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 15px 32px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--black); color: var(--white); cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease; text-transform: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.woocommerce .button.alt, .woocommerce button.button.alt { background: var(--black); color:#fff; }

/* our PDP add-to-cart button gets the large treatment */
.pdp__buy .single_add_to_cart_button { padding: 17px 40px; font-size: 1rem; }
.pdp__buy form.cart { margin: 0; display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pdp__buy .quantity input { width: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font-body); }

/* WooCommerce messages / notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--accent); font-family: var(--font-body);
}
.woocommerce-message { border-top-color: var(--accent); }

/* Cart / checkout / account pages: keep them inside our container width & spacing */
.woo-page { padding: 60px 0 88px; }
.woo-page .page-title { font-family: var(--font-head); margin-bottom: 28px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.woocommerce table.shop_table { border-radius: 10px; }
.woocommerce-checkout #payment { border-radius: var(--radius); }

/* price color inside woo */
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--black); font-family: var(--font-head); font-weight: 700; }

/* generic page (about/faq/contact/privacy) title spacing when using page.php */
.page-hero { padding: 72px 0 0; }

/* --- KLYNSTA MOBILE POLISH (1.0.2): start --- */
.hero__price { display: none; }
.buybar { display: none; }
#kas-viduje { scroll-margin-top: 76px; }
@media (max-width: 640px) {
  .hero { padding: 36px 0 60px; }
  .hero__grid { gap: 32px; }
  .hero__media { order: 0; }
  .hero__logo { display: none; }
  .hero__tagline { margin: 12px 0 0; }
  .hero p.lead { margin: 12px 0 16px; font-size: 1rem; }
  .hero__price { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1.2; color: #fff; margin-bottom: 18px; }
  .hero__price small { font-size: 0.9rem; font-weight: 400; color: rgba(255, 255, 255, 0.65); }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { justify-content: center; }
  .hero__badge { white-space: nowrap; }
  .nav__toggle { padding: 12px 10px; }
  .nav__lang { padding: 8px 0; gap: 6px; }
  .lang-btn { font-size: 0.9rem; min-width: 48px; min-height: 44px; }
  .nav__links .nav__cta a.btn { justify-content: center; display: flex; padding: 14px 24px; }
  .footer__col li { margin-bottom: 0; }
  .footer__col a { display: block; padding: 10px 0; }
  .buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 14, 14, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
  }
  .buybar.is-on { transform: none; visibility: visible; }
  .buybar__price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
  .buybar .btn { flex: 1; max-width: 220px; justify-content: center; padding: 13px 24px; }
  body.has-buybar .site-footer { padding-bottom: 100px; }
}
/* --- KLYNSTA MOBILE POLISH: end --- */

/* Hero: square kit photo */
.hero__media img { max-width: 460px; aspect-ratio: 1 / 1; }

/* Why section: text before photo on small screens */
@media (max-width: 900px) {
  .split--why .split__media { order: 2; }
}

/* --- KLYNSTA CARDS (1.0.6): start --- */
#kas-viduje .card { padding: 0 0 26px; overflow: hidden; }
#kas-viduje .card:last-child { padding: 26px; }
#kas-viduje .card__media { height: auto; aspect-ratio: 1 / 1; border-radius: 0; margin-bottom: 20px; }
#kas-viduje .card__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
#kas-viduje .card:nth-child(-n+3) .card__media img { transform: scale(1.12); }
#kas-viduje .card > h3, #kas-viduje .card > p { padding-left: 24px; padding-right: 24px; }
#kas-viduje .card:last-child > h3, #kas-viduje .card:last-child > p { padding: 0; }
@media (max-width: 640px) {
  #kas-viduje .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  #kas-viduje .section-head { margin-bottom: 32px; }
  #kas-viduje .card { padding-bottom: 16px; }
  #kas-viduje .card:last-child { padding: 16px 12px; }
  #kas-viduje .card__media { margin-bottom: 12px; }
  #kas-viduje .card > h3, #kas-viduje .card > p { padding-left: 10px; padding-right: 10px; }
  #kas-viduje .card:last-child > h3, #kas-viduje .card:last-child > p { padding: 0; }
  #kas-viduje .card h3 { font-size: 0.92rem; overflow-wrap: anywhere; margin-bottom: 6px; }
  #kas-viduje .card p { font-size: 0.82rem; line-height: 1.5; }
  #kas-viduje .card .btn { padding: 12px 24px; }
}
/* --- KLYNSTA CARDS: end --- */

/* --- KLYNSTA LOGO (1.0.9): 400x400 file, artwork is x17-382 / y68-333; keep height >= 0.67 x width --- */
.hero__logo, .nav__logo img, .footer__brand img { object-fit: cover; object-position: 50% 50%; }
.footer__brand img { width: 88px; height: 62px; margin-left: -4px; }
@media (min-width: 641px) {
  .nav { justify-content: center; }
  .nav__logo { display: none; }
  .hero__logo { width: 190px; height: 132px; margin: 0 0 22px -8px; }
}
@media (max-width: 640px) {
  .nav__logo img { width: 76px; height: 53px; margin-left: -3px; }
}

/* --- KLYNSTA PDP (1.1.0): start --- */
.gallery__main { padding: 0; min-height: 0; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.gallery__thumbs { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery__thumbs button { padding: 0; overflow: hidden; border-color: var(--line); }
.gallery__thumbs button.active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.pdp__info h1 { margin: 6px 0 18px; font-size: clamp(2rem, 4vw, 3rem); }
.pdp__price { margin: 22px 0; }
.pdp__buy { flex-direction: column; align-items: stretch; gap: 14px; max-width: 420px; }
.pdp__buy form.cart { display: flex; flex-wrap: nowrap; gap: 12px; width: 100%; }
.pdp__buy .quantity { float: none; margin: 0; }
.pdp__buy .quantity input { height: 58px; }
.pdp__buy form.cart .single_add_to_cart_button { flex: 1; float: none; min-height: 58px; font-size: 1.05rem; }
.pdp__buy > .btn--outline { justify-content: center; border: 0; padding: 10px; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; }
.pdp__buy > .btn--outline:hover { background: none; color: var(--accent); }
@media (max-width: 640px) {
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .pdp__buy { max-width: none; }
}
/* --- KLYNSTA PDP: end --- */

/* --- KLYNSTA MOBILE AUDIT (1.1.1): start --- */
@media (max-width: 640px) {
  /* 16px stops iPhone from zooming into fields */
  .field input, .field textarea, .pdp__buy .quantity input { font-size: 16px; }
  #contact-form .btn { width: 100%; justify-content: center; }
  .contact__info a, .faq__a a, .section-head a { display: inline-block; padding: 10px 0; }
  .contact__info p { margin-bottom: 10px; }
  .eyebrow, .section-head .eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; }
  .card__tag, .hero__badge .sub { font-size: 0.75rem; }
  #kas-viduje .card__tag { letter-spacing: 0.1em; }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .trust__item { font-size: 0.82rem; }
  .trust__item strong { font-size: 0.95rem; }
  .values { gap: 8px; }
  .value { padding: 14px 10px; }
  .value__icon { margin-bottom: 10px; }
  .pdp__info h1 { margin-top: 4px; }
  .single-product .section:first-of-type { padding-top: 24px; }
}
/* --- KLYNSTA MOBILE AUDIT: end --- */

/* --- KLYNSTA LEGAL (1.1.3): LT/EN blocks, safety, legal pages --- */
.only-en { display: none !important; }
html[lang="en"] .only-en { display: revert !important; }
html[lang="en"] .only-lt { display: none !important; }
.safety h2 { font-size: 1.4rem; margin-bottom: 16px; }
.safety ul, .legal ul { margin: 0 0 18px 20px; }
.safety li, .legal li { color: var(--muted); margin-bottom: 8px; font-size: 0.95rem; }
.safety .container > div { max-width: 820px; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p { margin-bottom: 12px; }
.legal a { color: var(--accent-dark); text-decoration: underline; overflow-wrap: anywhere; }
/* bilingual legal pages carry their own H1 */
.woo-page:has(.legal) .section-head { display: none; }

/* --- KLYNSTA STORE (1.2.0): cart icon, cart + checkout --- */
.nav__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; margin-left: 14px; }
.nav__cart:hover { color: var(--accent); }
.nav__cart-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 11px/18px var(--font-body); text-align: center; }
.nav__cart-n[hidden] { display: none; }
@media (max-width: 640px) { .nav__cart { margin-left: auto; margin-right: 6px; } }
body .wc-block-components-button:not(.is-link) { border-radius: 999px; min-height: 56px; background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 600; border: 0; }
body .wc-block-components-button:not(.is-link):hover { background: var(--accent); color: #fff; }
body .wc-block-components-text-input input, body .wc-block-components-text-input textarea, body .wc-blocks-components-select__select, body .wc-block-components-textarea { font-size: 16px !important; border-radius: 10px !important; font-family: var(--font-body) !important; }
body .wc-block-cart .wc-block-components-product-name, body .wc-block-checkout .wc-block-components-product-name { font-family: var(--font-head); font-weight: 600; text-decoration: none; }
body .wc-block-cart-item__image img, body .wc-block-components-order-summary-item__image img { border-radius: 10px; border: 1px solid var(--line); }
body .wc-block-components-quantity-selector { border-radius: 10px; }
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 700; }
@media (max-width: 640px) { .woo-page { padding: 32px 0 60px; } .woo-page .section-head { margin-bottom: 24px; } }
.form-privacy { font-size: 0.82rem; margin-top: 10px; }
.form-privacy a { text-decoration: underline; color: var(--accent-dark); }
