/* ═══════════════════════════════════════════════════════════════════════════
   PAŠARAI — main.css
   Agrocentrum packaging identity: cream paper, deep forest green, sepia
   engraving line-art, brush-script display type, grass edges.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --cream:        #EDE3C6;   /* page ground — packaging cream           */
  --cream-2:      #E3D6B0;   /* deeper cream, hover fills               */
  --paper:        #F7F1DE;   /* cards, ribbons                          */
  --paper-2:      #FCF9EE;   /* lightest paper                          */
  --green:        #1E6B34;   /* Agrocentrum forest green                */
  --green-dark:   #175628;
  --green-deep:   #0D3A1C;   /* footer / about ground                   */
  --green-soft:   #DCE5D0;   /* pale green tint                         */
  --ink:          #2C2A1A;   /* body text — dark olive-brown            */
  --ink-2:        #6B6448;   /* secondary text                          */
  --sketch-brown: #7A5A38;   /* sepia engraving strokes                 */
  --wheat:        #BE8F2C;   /* wheat-gold accent                       */
  --sale:         #B03A26;   /* brick red                               */
  --line:         rgba(104, 84, 48, .28);
  --line-soft:    rgba(104, 84, 48, .16);
  --font-script:  'Kaushan Script', 'Segoe Script', cursive;
  --font-body:    'Work Sans', 'Segoe UI', system-ui, sans-serif;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-card:  0 1px 2px rgba(60, 46, 20, .06), 0 10px 28px -14px rgba(60, 46, 20, .28);
  --shadow-pop:   0 18px 44px -16px rgba(40, 30, 10, .38);
  --grass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26'%3E%3Cpath d='M0 26v-4c3-2 5-8 6-13 2 6 3 9 5 12 1-8 3-13 5-18 2 6 3 11 4 17 2-4 4-9 5-14 2 7 2 11 3 15 2-3 3-6 5-10 1 5 2 8 3 12 2-5 4-10 5-16 2 7 3 11 4 15 1-3 3-7 4-11 1 5 2 9 3 13 2-4 3-8 5-12 1 5 2 10 3 14 2-3 3-6 4-9 1 4 2 7 3 11 1-6 3-11 5-16 1 7 2 11 3 16 2-4 3-8 5-12 1 5 2 9 3 13 1-3 2-5 4-8 1 4 1 7 2 10 2-5 3-9 5-14 1 6 2 10 3 14 1-3 3-6 4-9 1 4 2 7 2 11 2-4 3-8 5-13 1 6 2 10 3 14v3z'/%3E%3C/svg%3E");
}

/* ── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); position: absolute !important;
  height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important;
}

/* Script display type */
.ps-script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--green-dark);
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.ps-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ps-container--narrow { max-width: 820px; }
.ps-main { display: block; }

.ps-section-header { margin-bottom: 2.2rem; }
.ps-section-header--between {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.ps-section-header h2 { margin-bottom: .2em; }
.ps-section-header p { color: var(--ink-2); margin: 0; }

.ps-kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sketch-brown);
  margin-bottom: .5rem;
}
.ps-kicker--light { color: var(--cream-2); }

.ps-link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--green);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
}
.ps-link-arrow:hover { border-bottom-color: var(--green); }
.ps-link-arrow svg { transition: transform .2s ease; }
.ps-link-arrow:hover svg { transform: translateX(3px); }

.ps-empty { color: var(--ink-2); padding: 3rem 0; text-align: center; font-size: 1.05rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.4rem;
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  border: 1.5px solid transparent; border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              transform .15s ease, box-shadow .18s ease;
  text-align: center; white-space: nowrap;
}
.ps-btn:active { transform: translateY(1px); }
.ps-btn--lg { padding: .9rem 1.9rem; font-size: 1.02rem; }

.ps-btn--primary {
  background: var(--green); color: var(--paper-2);
  box-shadow: 0 8px 18px -8px rgba(23, 86, 40, .55);
}
.ps-btn--primary:hover { background: var(--green-dark); color: var(--paper-2); }

.ps-btn--ghost {
  background: transparent; color: var(--green-dark);
  border-color: var(--green);
}
.ps-btn--ghost:hover { background: var(--green); color: var(--paper-2); }

.ps-btn--outline-light {
  background: transparent; color: var(--paper);
  border-color: rgba(247, 241, 222, .5);
}
.ps-btn--outline-light:hover { background: var(--paper); color: var(--green-deep); border-color: var(--paper); }

.ps-btn--cart {
  background: var(--paper-2); color: var(--green-dark);
  border-color: var(--green); font-size: .88rem;
  padding: .55rem 1.1rem; width: 100%;
}
.ps-btn--cart:hover { background: var(--green); color: var(--paper-2); }
.ps-btn--cart:disabled { opacity: .6; cursor: wait; }
.ps-btn--disabled {
  background: var(--cream-2); color: var(--ink-2);
  border-color: var(--line); cursor: not-allowed;
}
.ps-btn--disabled:hover { background: var(--cream-2); color: var(--ink-2); }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.ps-badge {
  display: inline-block; padding: .22rem .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; line-height: 1.3;
}
.ps-badge--sale { background: var(--sale); color: #FDF6EC; }
.ps-badge--new { background: var(--wheat); color: #2E230C; }
.ps-badge--savings { background: var(--sale); color: #FDF6EC; }

.ps-stock {
  display: inline-flex; align-items: center; gap: .32rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
.ps-stock::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.ps-stock--in  { color: var(--green); }
.ps-stock--low { color: var(--wheat); }
.ps-stock--out { color: var(--sale); }

/* ── Grass strips ───────────────────────────────────────────────────────── */
.ps-grass {
  height: 26px;
  background-color: var(--green-deep);
  -webkit-mask-image: var(--grass);
  mask-image: var(--grass);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  -webkit-mask-position: bottom; mask-position: bottom;
  margin-bottom: -1px;
}
.ps-grass--hero {
  background-color: var(--green);
  opacity: .85;
  margin-bottom: 0;
}

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.ps-topbar {
  background: var(--green-deep); color: rgba(247, 241, 222, .92);
  font-size: .82rem;
}
.ps-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 36px; flex-wrap: wrap;
}
.ps-topbar__left { display: flex; align-items: center; gap: .7rem; }
.ps-topbar__phone {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--paper); font-weight: 600;
}
.ps-topbar__phone:hover { color: #fff; }
.ps-topbar__sep { opacity: .4; }
.ps-topbar__right { opacity: .85; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.ps-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.ps-header.scrolled { box-shadow: 0 6px 24px -12px rgba(50, 38, 14, .35); }
.ps-header__inner {
  display: flex; align-items: center; gap: 1.6rem;
  min-height: 72px;
}

.ps-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-dark); }
.ps-logo img { max-height: 52px; width: auto; }
.ps-logo__mark { color: var(--sketch-brown); display: inline-flex; }
.ps-logo__text {
  font-family: var(--font-script);
  font-size: 1.7rem; color: var(--green-dark); white-space: nowrap;
}

.ps-nav { margin-left: auto; }
.ps-nav__list {
  display: flex; align-items: center; gap: .2rem;
  list-style: none; margin: 0; padding: 0;
}
.ps-nav__link {
  display: inline-block; padding: .55rem .55rem;
  font-size: .88rem; font-weight: 500; color: var(--ink);
  border-radius: 8px; position: relative;
  white-space: nowrap;
}
.ps-nav__link::after {
  content: ""; position: absolute; left: .68rem; right: .68rem; bottom: .3rem;
  height: 2px; background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.ps-nav__link:hover { color: var(--green-dark); }
.ps-nav__link:hover::after { transform: scaleX(1); }
.ps-nav__link--all { font-weight: 700; color: var(--green-dark); }

.ps-header__actions { display: flex; align-items: center; gap: .4rem; }
.ps-header__search-btn, .ps-mobile-toggle {
  background: none; border: none; padding: .55rem;
  color: var(--ink); border-radius: 8px; display: inline-flex;
}
.ps-header__search-btn:hover { color: var(--green-dark); background: var(--cream-2); }

.ps-header__cart {
  position: relative; display: inline-flex; padding: .55rem;
  color: var(--ink); border-radius: 8px;
}
.ps-header__cart:hover { color: var(--green-dark); background: var(--cream-2); }
.ps-cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--sale); color: #FDF6EC;
  font-size: .66rem; font-weight: 700; line-height: 17px;
  border-radius: 999px; text-align: center;
}
.ps-cart-count[data-count="0"] { display: none; }

.ps-mobile-toggle { display: none; flex-direction: column; gap: 4px; }
.ps-mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
}

/* Search bar */
.ps-search-bar {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  border-top: 1px solid transparent;
}
.ps-search-bar.open {
  max-height: 90px;
  border-top-color: var(--line-soft);
}
.ps-search-form { display: flex; gap: .6rem; padding: 1rem 0; }
.ps-search-form__input {
  flex: 1; padding: .65rem 1rem;
  background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: 999px;
  outline: none;
}
.ps-search-form__input:focus { border-color: var(--green); }
.ps-search-form__submit { flex-shrink: 0; }

/* ── Mobile menu ────────────────────────────────────────────────────────── */
.ps-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(320px, 88vw);
  background: var(--paper);
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-pop);
}
.ps-mobile-menu.open { transform: translateX(0); }
.ps-mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem; border-bottom: 1px solid var(--line-soft);
}
.ps-mobile-close {
  background: none; border: none; font-size: 1.1rem;
  color: var(--ink); padding: .4rem;
}
.ps-mobile-nav { flex: 1; overflow-y: auto; padding: .6rem 0; }
.ps-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.ps-mobile-nav a {
  display: block; padding: .75rem 1.3rem;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.ps-mobile-nav a:hover { background: var(--cream-2); color: var(--green-dark); }
.ps-mobile-nav__all a { color: var(--green-dark); font-weight: 700; }
.ps-mobile-contact {
  padding: 1.1rem 1.3rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: .35rem;
  font-weight: 600;
}
.ps-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(30, 24, 8, .45);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.ps-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.ps-hero { position: relative; overflow: hidden; }
.ps-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 3rem; align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.ps-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem;
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--green-dark);
  margin-bottom: 1.3rem;
}
.ps-hero__title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.12; color: var(--green-dark);
  margin-bottom: .45em;
  text-wrap: balance;
}
.ps-hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-2); max-width: 34rem;
  margin-bottom: 1.8rem;
}
.ps-hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Emblem — circular packaging label */
.ps-hero__visual { position: relative; display: flex; justify-content: center; }
.ps-emblem { position: relative; }
.ps-emblem__ring {
  position: relative;
  width: clamp(240px, 26vw, 330px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--sketch-brown);
  outline: 1px solid var(--sketch-brown);
  outline-offset: -9px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
}
.ps-emblem__hen {
  width: 58%; color: var(--sketch-brown);
  position: relative; z-index: 1;
}
.ps-emblem__text { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-emblem__arc {
  font-family: var(--font-body); font-weight: 700;
  font-size: 9.5px; letter-spacing: .22em;
  fill: var(--green-dark);
}
.ps-emblem__ribbon {
  position: absolute; left: 50%; bottom: -14px;
  transform: translateX(-50%);
  background: var(--paper-2);
  border: 1.5px solid var(--sketch-brown);
  padding: .4rem 1.4rem;
  font-family: var(--font-script); font-size: 1rem; color: var(--sketch-brown);
  white-space: nowrap;
  box-shadow: 0 6px 16px -8px rgba(60, 46, 20, .4);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  padding-left: 1.8rem; padding-right: 1.8rem;
}
.ps-hero__wheat {
  position: absolute; width: 42px; color: var(--wheat); opacity: .8;
}
.ps-hero__wheat--left  { left: 2%; bottom: 8%; transform: rotate(-14deg); }
.ps-hero__wheat--right { right: 2%; top: 6%; transform: rotate(150deg); }

/* ── USP bar ────────────────────────────────────────────────────────────── */
.ps-usp { background: var(--green); padding: 2.6rem 0; }
.ps-usp__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.ps-usp__item { color: var(--paper); }
.ps-usp__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(247, 241, 222, .12);
  border: 1px solid rgba(247, 241, 222, .35);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); margin-bottom: .8rem;
}
.ps-usp__item h3 { color: var(--paper-2); font-size: 1rem; margin-bottom: .35em; }
.ps-usp__item p { color: rgba(247, 241, 222, .78); font-size: .88rem; margin: 0; line-height: 1.55; }

/* ── Categories grid ────────────────────────────────────────────────────── */
.ps-categories { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ps-categories .ps-section-header { text-align: center; }
.ps-categories__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem;
}
.ps-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.6rem 1rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ps-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
}
.ps-cat-card__circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--green);
  outline: 1px solid var(--green);
  outline-offset: -6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sketch-brown);
  margin-bottom: .9rem;
  transition: background .2s ease, color .2s ease;
}
.ps-cat-card__circle svg { width: 56%; height: 56%; }
.ps-cat-card:hover .ps-cat-card__circle {
  background: var(--green); color: var(--paper-2);
  outline-color: var(--paper-2);
}
.ps-cat-card__name { font-size: .95rem; margin-bottom: .15em; color: var(--ink); }
.ps-cat-card__count { font-size: .78rem; color: var(--ink-2); }

/* ── Product cards ──────────────────────────────────────────────────────── */
.ps-products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem;
}
.ps-product-card {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ps-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
  color: var(--ink);
}
.ps-product-card__image-wrap {
  position: relative; aspect-ratio: 1;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.ps-product-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.ps-product-card:hover .ps-product-card__img { transform: scale(1.04); }
.ps-product-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sketch-brown); opacity: .45;
}
.ps-product-card__image-wrap .ps-badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
}
.ps-product-card__image-wrap .ps-badge--new { top: .7rem; left: auto; right: .7rem; }

.ps-product-card__info {
  display: flex; flex-direction: column; flex: 1;
  padding: .95rem 1rem 1.1rem; gap: .4rem;
}
.ps-product-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.ps-product-card__cat {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sketch-brown);
}
.ps-product-card__name {
  font-size: .95rem; font-weight: 600; line-height: 1.4;
  margin: 0; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps-product-card__weight {
  display: inline-flex; align-items: center; gap: .32rem;
  font-size: .78rem; color: var(--ink-2);
}
.ps-product-card__bottom { margin-top: auto; padding-top: .5rem; }
.ps-product-card__price {
  font-size: 1.12rem; font-weight: 700; color: var(--green-dark);
  margin-bottom: .6rem;
}
.ps-product-card__price del { color: var(--ink-2); font-weight: 400; font-size: .88rem; margin-right: .4rem; }
.ps-product-card__price ins { text-decoration: none; color: var(--sale); }

/* ── Featured section ───────────────────────────────────────────────────── */
.ps-featured { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }

/* ── About / trust strip ────────────────────────────────────────────────── */
.ps-about {
  background: var(--green-deep);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}
.ps-about__inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 3.5rem; align-items: center;
}
.ps-about__text h2 { color: var(--paper); font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.ps-about__text p { color: rgba(247, 241, 222, .82); }
.ps-about__text .ps-btn { margin-top: .6rem; }
.ps-about__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.ps-about__fact {
  background: rgba(247, 241, 222, .07);
  border: 1px solid rgba(247, 241, 222, .18);
  border-radius: var(--radius); padding: 1.2rem 1.1rem;
}
.ps-about__fact strong {
  display: block;
  font-family: var(--font-script); font-weight: 400;
  font-size: 1.7rem; color: var(--wheat); margin-bottom: .1em;
}
.ps-about__fact span { font-size: .84rem; color: rgba(247, 241, 222, .8); }

/* ── Contact CTA ────────────────────────────────────────────────────────── */
.ps-cta { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ps-cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  background: var(--paper);
  border: 1.5px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: -8px;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.ps-cta__inner h2 { margin-bottom: .25em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ps-cta__inner p { color: var(--ink-2); margin: 0; max-width: 34rem; }
.ps-cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ps-footer {
  background: var(--green-deep); color: rgba(247, 241, 222, .85);
  padding: 3.2rem 0 1.6rem;
}
.ps-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(247, 241, 222, .16);
}
.ps-footer__logo {
  font-family: var(--font-script); font-size: 1.8rem;
  color: var(--paper);
}
.ps-footer__logo:hover { color: #fff; }
.ps-footer__tagline { font-size: .9rem; margin: .8rem 0 1rem; color: rgba(247, 241, 222, .72); }
.ps-footer__brand-badge {
  display: inline-flex; align-items: flex-start; gap: .5rem;
  font-size: .78rem; color: var(--wheat);
  border: 1px solid rgba(190, 143, 44, .4);
  border-radius: var(--radius); padding: .55rem .8rem;
}
.ps-footer__brand-badge svg { flex-shrink: 0; margin-top: 1px; }
.ps-footer__col h4 {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper); margin-bottom: .9rem;
}
.ps-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ps-footer__col li { margin-bottom: .45rem; font-size: .9rem; }
.ps-footer__col a { color: rgba(247, 241, 222, .8); }
.ps-footer__col a:hover { color: #fff; }
.ps-footer__all-link { font-weight: 700; color: var(--wheat) !important; }
.ps-footer__contacts li { display: flex; gap: .4rem; flex-wrap: wrap; }
.ps-footer__label { color: rgba(247, 241, 222, .55); }
.ps-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 1.4rem; font-size: .82rem; color: rgba(247, 241, 222, .6);
}
.ps-footer__bottom p { margin: 0; }
.ps-footer__payment { display: flex; align-items: center; gap: .5rem; }
.ps-payment-icon {
  padding: .18rem .55rem; border: 1px solid rgba(247, 241, 222, .25);
  border-radius: 5px; font-size: .72rem; font-weight: 600;
  color: rgba(247, 241, 222, .8);
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.woocommerce-breadcrumb {
  font-size: .82rem; color: var(--ink-2);
  padding: 1.2rem 0 .4rem;
}
.woocommerce-breadcrumb a { color: var(--ink-2); }
.woocommerce-breadcrumb a:hover { color: var(--green-dark); }
.bc-sep { opacity: .5; margin: 0 .15rem; }

/* ── Shop archive ───────────────────────────────────────────────────────── */
.ps-shop { padding-bottom: clamp(3rem, 6vw, 5rem); }
.ps-shop__header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: .25em;
}
.ps-shop__desc { max-width: 46rem; color: var(--ink-2); margin-bottom: 1rem; }
.ps-shop__desc p { margin-bottom: 0; }
.ps-shop__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: .9rem 0; margin-bottom: 1.4rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.ps-shop__count, .woocommerce-result-count { font-size: .88rem; color: var(--ink-2); margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .orderby {
  padding: .5rem 2rem .5rem .9rem;
  background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .88rem; outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232C2A1A' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
}
.ps-shop__grid { grid-template-columns: repeat(3, 1fr); }

/* Pagination */
.woocommerce-pagination { text-align: center; margin-top: 2.5rem; }
.woocommerce-pagination ul {
  display: inline-flex; gap: .35rem; list-style: none; margin: 0; padding: 0;
}
.woocommerce-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 .6rem;
  border: 1.5px solid var(--line); border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .9rem;
  background: var(--paper-2);
}
.woocommerce-pagination .page-numbers:hover { border-color: var(--green); color: var(--green-dark); }
.woocommerce-pagination .page-numbers.current {
  background: var(--green); border-color: var(--green); color: var(--paper-2);
}

/* ── Single product ─────────────────────────────────────────────────────── */
.ps-single-product { padding-bottom: clamp(3rem, 6vw, 5rem); }
.ps-product-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 1rem;
}

.ps-product-gallery .woocommerce-product-gallery { position: relative; }
.ps-product-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.ps-product-gallery .woocommerce-product-gallery__image,
.ps-product-gallery__placeholder {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ps-product-gallery__placeholder {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  color: var(--sketch-brown); opacity: .5;
}
.ps-product-gallery .woocommerce-product-gallery__image a { display: block; }
.ps-product-gallery .woocommerce-product-gallery__image img { width: 100%; }
.ps-product-gallery .flex-viewport { border-radius: var(--radius-lg); }
.ps-product-gallery .flex-control-thumbs {
  display: flex; gap: .6rem; list-style: none; margin: .8rem 0 0; padding: 0;
}
.ps-product-gallery .flex-control-thumbs li { width: 74px; }
.ps-product-gallery .flex-control-thumbs img {
  border: 1.5px solid var(--line-soft); border-radius: var(--radius);
  cursor: pointer; opacity: .7; transition: opacity .18s, border-color .18s;
}
.ps-product-gallery .flex-control-thumbs img.flex-active,
.ps-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--green); }
.woocommerce-product-gallery__trigger {
  position: absolute; top: .8rem; right: .8rem; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
}
.woocommerce-product-gallery__trigger::before {
  content: "🔍"; font-size: 15px;
}

.ps-product-summary__meta {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-bottom: .7rem;
}
.ps-product-summary__cat {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sketch-brown);
}
.ps-product-summary__title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3; margin-bottom: .6rem;
}
.ps-product-summary__facts {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.ps-product-summary__weight {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .86rem; color: var(--ink-2); font-weight: 500;
}
.ps-product-summary__price {
  font-size: 1.8rem; font-weight: 700; color: var(--green-dark);
  margin-bottom: 1rem;
}
.ps-product-summary__price del { color: var(--ink-2); font-weight: 400; font-size: 1.2rem; margin-right: .5rem; }
.ps-product-summary__price ins { text-decoration: none; color: var(--sale); }
.ps-product-summary__excerpt { color: var(--ink-2); margin-bottom: 1.4rem; max-width: 36rem; }
.ps-product-summary__oos {
  background: rgba(176, 58, 38, .08);
  border: 1px solid rgba(176, 58, 38, .3);
  border-radius: var(--radius); padding: .9rem 1.1rem;
  font-size: .92rem;
}

.ps-buy-row { display: flex; gap: .8rem; align-items: stretch; flex-wrap: wrap; margin-bottom: 1.1rem; }
.ps-qty {
  display: inline-flex; align-items: stretch;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper-2); overflow: hidden;
}
.ps-qty__btn {
  width: 42px; border: none; background: none;
  font-size: 1.15rem; color: var(--green-dark); font-weight: 600;
}
.ps-qty__btn:hover { background: var(--cream-2); }
.ps-qty__input {
  width: 52px; border: none; background: none; text-align: center;
  font-weight: 600; font-size: 1rem; outline: none;
  -moz-appearance: textfield; appearance: textfield;
}
.ps-qty__input::-webkit-outer-spin-button,
.ps-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ps-maker-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; margin-bottom: 1.3rem;
  border: 1.5px dashed var(--sketch-brown); border-radius: 999px;
  color: var(--sketch-brown); font-weight: 600; font-size: .88rem;
  transition: background .18s ease, color .18s ease;
}
.ps-maker-link:hover { background: var(--sketch-brown); color: var(--paper-2); }

.ps-product-trust {
  display: flex; flex-direction: column; gap: .55rem;
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin-bottom: 1.2rem;
}
.ps-product-trust__item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .87rem; color: var(--ink-2);
}
.ps-product-trust__item svg { color: var(--green); flex-shrink: 0; }

.product_meta { font-size: .82rem; color: var(--ink-2); }
.product_meta > span { display: block; margin-bottom: .2rem; }
.product_meta a { color: var(--green-dark); }

.ps-product-description {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  max-width: 52rem;
}
.ps-product-description h2 { font-size: 1.8rem; }
.ps-product-description__body { color: var(--ink-2); }

.ps-related-products { margin-top: clamp(2.5rem, 5vw, 4rem); }
.ps-related-products h2 { font-size: 1.8rem; margin-bottom: 1.4rem; }

/* Variable product fallback (Woo native form) */
.ps-product-summary form.cart { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.ps-product-summary form.cart .quantity input.qty {
  width: 74px; padding: .65rem .5rem; text-align: center;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper-2);
}
.ps-product-summary form.cart .single_add_to_cart_button {
  flex: 1;
}

/* ── Pages / blog ───────────────────────────────────────────────────────── */
.ps-main--page, .ps-main--archive { padding: 1rem 0 clamp(3rem, 6vw, 5rem); }
.ps-page-title { font-size: clamp(2rem, 4.5vw, 3rem); margin: 1.5rem 0 1.2rem; }
.ps-page-content { color: var(--ink); }
.ps-page-content a { text-decoration: underline; text-underline-offset: 3px; }
.ps-page-content h2, .ps-page-content h3 { margin-top: 1.6em; }
.ps-archive-item { padding: 1.2rem 0; border-bottom: 1px solid var(--line-soft); }

/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE CORE PAGES (cart / checkout / my account)
   These fall through to core Woo templates with Woo CSS disabled,
   so everything below keeps them clean and on-brand.
   ═══════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .ps-main,
.woocommerce-checkout .ps-main,
.woocommerce-account .ps-main { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* ── Notices ────────────────────────────────────────────────────────────── */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none;
  margin: 1.2rem 0; padding: .9rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid; font-size: .92rem;
  background: var(--paper-2);
}
.woocommerce-message { border-color: rgba(30, 107, 52, .4); color: var(--green-dark); }
.woocommerce-info { border-color: var(--line); color: var(--ink); }
.woocommerce-error { border-color: rgba(176, 58, 38, .45); color: var(--sale); }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  float: right; margin-left: 1rem;
}

/* ── Generic Woo buttons & inputs ───────────────────────────────────────── */
.woocommerce .button, .woocommerce button.button,
.woocommerce input.button, .woocommerce a.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.4rem;
  background: var(--green); color: var(--paper-2);
  border: 1.5px solid var(--green); border-radius: 999px;
  font-size: .92rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none;
  transition: background .18s ease;
}
.woocommerce .button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce a.button:hover {
  background: var(--green-dark); border-color: var(--green-dark); color: var(--paper-2);
}
.woocommerce .button:disabled, .woocommerce button.button:disabled {
  opacity: .55; cursor: not-allowed;
}
.woocommerce .button.alt, .woocommerce button.button.alt,
.woocommerce #place_order {
  background: var(--green-dark); border-color: var(--green-dark);
  padding: .9rem 1.9rem; font-size: 1rem; width: auto;
}
.woocommerce .button.alt:hover, .woocommerce #place_order:hover {
  background: var(--green-deep); border-color: var(--green-deep);
}

.woocommerce form .form-row { margin-bottom: 1rem; padding: 0; }
.woocommerce form .form-row label {
  display: block; font-size: .84rem; font-weight: 600;
  margin-bottom: .3rem; color: var(--ink);
}
.woocommerce form .form-row .required { color: var(--sale); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"] {
  width: 100%; padding: .7rem 1rem;
  background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  outline: none; transition: border-color .18s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--green); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--sale); }

/* Select2 (checkout country dropdown) */
.select2-container .select2-selection--single {
  height: auto; padding: .7rem 1rem;
  background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: var(--radius);
}
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 1.4; padding: 0; color: var(--ink);
}
.select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); right: .7rem; }
.select2-dropdown {
  background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--green); color: var(--paper-2);
}
.select2-search--dropdown .select2-search__field {
  border: 1.5px solid var(--line) !important; border-radius: 6px; padding: .4rem .6rem;
}

/* ── Cart page ──────────────────────────────────────────────────────────── */
.woocommerce table.shop_table {
  width: 100%; border-collapse: collapse;
  background: var(--paper-2);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; margin: 1.2rem 0 1.6rem;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: .9rem 1rem; text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.woocommerce table.shop_table thead th {
  background: var(--paper);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.woocommerce table.shop_table tbody tr:last-child td { border-bottom: none; }
.woocommerce-cart table.cart img {
  width: 72px; border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.woocommerce-cart table.cart td.product-name a { font-weight: 600; color: var(--ink); }
.woocommerce-cart table.cart td.product-name a:hover { color: var(--green-dark); }
.woocommerce-cart table.cart a.remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: var(--sale) !important; font-size: 1.2rem; font-weight: 700;
  border: 1.5px solid rgba(176, 58, 38, .35);
  text-decoration: none; line-height: 1;
}
.woocommerce-cart table.cart a.remove:hover { background: var(--sale); color: var(--paper-2) !important; }
.woocommerce-cart table.cart input.qty {
  width: 64px; padding: .5rem .4rem; text-align: center;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper-2);
}
.woocommerce-cart table.cart td.actions { padding-top: 1rem; }
.woocommerce-cart table.cart td.actions .coupon {
  display: inline-flex; gap: .6rem; float: left;
}
.woocommerce-cart table.cart td.actions .coupon input#coupon_code {
  width: 160px; padding: .6rem 1rem;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper-2); outline: none;
}
.woocommerce-cart table.cart td.actions > .button { float: right; }

.cart-collaterals {
  display: flex; justify-content: flex-end;
}
.cart-collaterals .cart_totals { width: min(430px, 100%); }
.cart-collaterals .cart_totals h2 {
  font-family: var(--font-script); font-weight: 400;
  color: var(--green-dark); font-size: 1.6rem;
}
.cart-collaterals table.shop_table { margin-top: .6rem; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }

/* Shipping calculator + methods */
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.woocommerce ul#shipping_method li { margin-bottom: .35rem; }
.woocommerce ul#shipping_method input { margin-right: .4rem; }

/* Cross-sells: hide to keep cart focused */
.woocommerce-cart .cross-sells { display: none; }

/* Empty cart */
.cart-empty.woocommerce-info { margin-top: 2rem; }
.woocommerce-cart .return-to-shop { margin-bottom: 2rem; }

/* ── Checkout ───────────────────────────────────────────────────────────── */
.woocommerce-checkout form.checkout { margin-top: 1.2rem; }
.woocommerce-checkout .col2-set {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-checkout h3 {
  font-size: 1.15rem; margin: 0 0 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line-soft);
}
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-script); font-weight: 400;
  font-size: 1.6rem; color: var(--green-dark);
  border-bottom: none; margin-top: 1rem;
}
.woocommerce-checkout #order_review {
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.woocommerce-checkout #order_review table.shop_table { margin-top: 0; background: transparent; border: none; }
.woocommerce-checkout #payment {
  background: transparent; border-radius: var(--radius);
}
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none; margin: 0 0 1rem; padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.woocommerce-checkout #payment ul.payment_methods li { margin-bottom: .5rem; }
.woocommerce-checkout #payment ul.payment_methods label { font-weight: 600; margin-left: .3rem; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods img { display: inline-block; max-height: 26px; margin-left: .5rem; vertical-align: middle; }
.woocommerce-checkout #payment div.payment_box {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: .8rem 1rem; margin: .5rem 0;
  font-size: .88rem; color: var(--ink-2);
  position: relative;
}
.woocommerce-checkout #payment .place-order { padding: .5rem 0 0; }
.woocommerce-checkout #place_order { width: 100%; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 1rem; font-size: .85rem; }

/* Order received / thank you */
.woocommerce-order .woocommerce-thankyou-order-received {
  font-family: var(--font-script);
  font-size: 1.7rem; color: var(--green-dark);
  margin: 1.5rem 0;
}
.woocommerce-order ul.woocommerce-thankyou-order-details {
  list-style: none; margin: 0 0 1.5rem; padding: 1.2rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  display: flex; gap: 2rem; flex-wrap: wrap; font-size: .88rem;
}
.woocommerce-order ul.woocommerce-thankyou-order-details li strong { display: block; font-size: 1rem; }

/* ── My account ─────────────────────────────────────────────────────────── */
.woocommerce-account .woocommerce {
  display: grid; grid-template-columns: 230px 1fr; gap: 2.5rem;
  margin-top: 1.5rem;
}
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { margin-bottom: .3rem; }
.woocommerce-MyAccount-navigation a {
  display: block; padding: .6rem 1rem;
  border-radius: var(--radius); color: var(--ink); font-weight: 500;
  border: 1px solid transparent;
}
.woocommerce-MyAccount-navigation a:hover { background: var(--paper); }
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--paper-2); border-color: var(--line);
  color: var(--green-dark); font-weight: 700;
}
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content fieldset { border: none; margin: 1.5rem 0 0; padding: 0; }
.woocommerce-MyAccount-content legend { font-weight: 700; margin-bottom: .8rem; }

/* Login / register split */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
#customer_login .col-1, #customer_login .col-2 {
  width: auto; float: none;
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.6rem;
}
#customer_login h2 {
  font-family: var(--font-script); font-weight: 400;
  color: var(--green-dark); font-size: 1.5rem;
}
.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: block; margin-bottom: .8rem;
}
.woocommerce-LostPassword { font-size: .85rem; }

/* Orders table view button */
.woocommerce-orders-table__cell .button { padding: .45rem 1rem; font-size: .82rem; }

/* ── Reveal animations ──────────────────────────────────────────────────── */
.ps-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ps-reveal.visible { opacity: 1; transform: none; }
.ps-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.ps-stagger.visible > * { opacity: 1; transform: none; }
.ps-stagger.visible > *:nth-child(2) { transition-delay: .06s; }
.ps-stagger.visible > *:nth-child(3) { transition-delay: .12s; }
.ps-stagger.visible > *:nth-child(4) { transition-delay: .18s; }
.ps-stagger.visible > *:nth-child(5) { transition-delay: .24s; }
.ps-stagger.visible > *:nth-child(6) { transition-delay: .3s; }
.ps-stagger.visible > *:nth-child(7) { transition-delay: .36s; }
.ps-stagger.visible > *:nth-child(8) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  .ps-reveal, .ps-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ps-nav__link { padding: .55rem .38rem; font-size: .81rem; }
  .ps-categories__grid { grid-template-columns: repeat(3, 1fr); }
  .ps-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .ps-nav { display: none; }
  .ps-mobile-toggle { display: inline-flex; }
  .ps-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ps-hero__visual { order: -1; }
  .ps-emblem__ring { width: clamp(210px, 40vw, 260px); }
  .ps-hero__wheat { display: none; }
  .ps-usp__grid { grid-template-columns: 1fr 1fr; }
  .ps-about__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ps-product-layout { grid-template-columns: 1fr; }
  .ps-footer__grid { grid-template-columns: 1fr 1fr; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 1.5rem; }
  #customer_login { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .ps-container { padding: 0 18px; }
  .ps-topbar__right { display: none; }
  .ps-products-grid, .ps-shop__grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .ps-categories__grid { grid-template-columns: repeat(2, 1fr); }
  .ps-product-card__info { padding: .75rem .8rem .9rem; }
  .ps-cta__inner { flex-direction: column; align-items: flex-start; }
  .ps-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .ps-footer__bottom { flex-direction: column; align-items: flex-start; }
  .ps-shop__toolbar { flex-direction: row; }
  .woocommerce-cart table.shop_table thead { display: none; }
  .woocommerce-cart table.cart tr { display: block; padding: .8rem; border-bottom: 1px solid var(--line-soft); }
  .woocommerce-cart table.cart td { display: flex; justify-content: space-between; align-items: center; border: none; padding: .3rem .2rem; }
  .woocommerce-cart table.cart td.product-remove { justify-content: flex-end; }
  .woocommerce-cart table.cart td::before {
    content: attr(data-title);
    font-size: .76rem; font-weight: 600; color: var(--ink-2);
    text-transform: uppercase; letter-spacing: .06em;
  }
  .woocommerce-cart table.cart td.actions { display: block; }
  .woocommerce-cart table.cart td.actions::before { display: none; }
  .woocommerce-cart table.cart td.actions .coupon { float: none; display: flex; margin-bottom: .8rem; }
  .woocommerce-cart table.cart td.actions .coupon input#coupon_code { flex: 1; width: auto; }
  .woocommerce-cart table.cart td.actions > .button { float: none; width: 100%; }
}

@media (max-width: 420px) {
  .ps-products-grid, .ps-shop__grid { grid-template-columns: 1fr; }
  .ps-buy-row .ps-btn { flex: 1; }
}

/* Didmenos pastaba (10+ maišų) */
.ps-bulk-note { margin-top: 14px; padding: 12px 16px; background: var(--paper, #f6f0dd); border: 1px dashed var(--green, #1E6B34); border-radius: 8px; font-size: 0.92rem; line-height: 1.5; }
.ps-bulk-note a { color: var(--green, #1E6B34); font-weight: 700; white-space: nowrap; }

/* Ilgas svetainės pavadinimas: mažinam ir leidžiam laužtis, kad neišstumtų mobile layouto */
.ps-logo { min-width: 0; }
.ps-logo__text { white-space: nowrap; line-height: 1.1; font-size: clamp(.95rem, 1.15vw, 1.2rem); }
@media (max-width: 960px) {
  .ps-logo__text { font-size: clamp(.78rem, 3.1vw, 1.15rem); }
}

/* Off-canvas meniu (translateX už ekrano) neturi platinti puslapio */
html, body { overflow-x: clip; }

/* Kliento emblemos nuotrauka vietoj SVG (fallback lieka SVG) */
.ps-emblem__ring--photo { padding: 0; overflow: hidden; }
.ps-emblem__photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

@media (max-width: 1180px) and (min-width: 961px) {
  .ps-logo__text { font-size: clamp(.85rem, 1.05vw, 1rem); }
}

/* 7 nav punktai netelpa 960-1080 ruože — hamburgeris anksciau */
@media (max-width: 1180px) {
  .ps-nav { display: none; }
  .ps-mobile-toggle { display: inline-flex; }
  .ps-logo__text { font-size: clamp(.95rem, 2vw, 1.2rem); }
}

/* Agrocentrum logo kortele pasitikejimo bloke */
.ps-about__fact--logo { background: #fdfaf1; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ps-about__fact--logo img { max-width: 85%; max-height: 64px; width: auto; height: auto; }

/* Vistos emblema kaip logotipo zenklas antrasteje */
.ps-logo__emblem { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 960px) { .ps-logo__emblem { width: 38px; height: 38px; } }

/* Agrocentrum wordmark antrasteje */
.ps-logo__wordmark { height: 44px; width: auto; flex-shrink: 0; }
.ps-logo__text--sub { border-left: 1px solid var(--line, #d8cfb4); padding-left: .7rem; margin-left: .25rem; }
@media (max-width: 960px) { .ps-logo__wordmark { height: 36px; } }
@media (max-width: 600px) { .ps-logo__text--sub { display: none; } }

/* Agrocentrum logo USP kortoje prie 'Oficialus' uzraso */
.ps-usp__icon--logo { width: auto; padding: .5rem .85rem; border-radius: 12px; background: #fdfaf1; }
.ps-usp__icon--logo img { height: 30px; width: auto; display: block; }

/* Mobile: ikonos prie desinio krasto (nav paslepta, tad jos margin-left:auto nebeveikia) */
@media (max-width: 960px) {
  .ps-header__actions { margin-left: auto; }
}

/* CTA korteles vidine dekoratyvine linija mobiliajame lenda prie mygtuku - isjungiam */
@media (max-width: 700px) {
  .ps-cta__inner { outline: none; }
}

/* Kategoriju korteles su nuotraukomis */
.ps-cat-card__circle--photo { padding: 0; overflow: hidden; background: none; }
.ps-cat-card__circle--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* Nuotrauku autorystes eilute footeryje (CC BY-SA reikalavimas) */
.ps-footer__credits { font-size: .72rem; opacity: .55; }
.ps-footer__credits a { color: inherit; text-decoration: underline; }

/* Mobile krepselis: ilgas prekes pavadinimas nebeplecia lenteles uz ekrano */
@media (max-width: 700px) {
  .woocommerce-cart table.cart { width: 100%; table-layout: fixed; }
  .woocommerce-cart table.cart tr { width: 100%; box-sizing: border-box; }
  .woocommerce-cart table.cart td { width: 100%; box-sizing: border-box; flex-wrap: wrap; }
  .woocommerce-cart table.cart td > * { min-width: 0; }
  .woocommerce-cart table.cart td.product-name { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .woocommerce-cart table.cart td.product-name a { overflow-wrap: anywhere; }
  .woocommerce-cart table.cart td.product-thumbnail { justify-content: flex-start; }
  .woocommerce-cart table.cart td.product-thumbnail img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
}

/* Mobile kuponas: vertikalus stulpelis, fiksuoti aukSCiai - jokiu ispustu pill'u */
@media (max-width: 700px) {
  .woocommerce-cart table.cart td.actions .coupon {
    display: flex; flex-direction: column; align-items: stretch;
    gap: .6rem; float: none; margin-bottom: .8rem;
  }
  .woocommerce-cart table.cart td.actions .coupon input#coupon_code {
    width: 100%; flex: none; height: auto; box-sizing: border-box;
    padding: .75rem 1.1rem; line-height: 1.3;
  }
  .woocommerce-cart table.cart td.actions .coupon .button,
  .woocommerce-cart table.cart td.actions .coupon button {
    width: 100%; flex: none; height: auto; padding: .75rem 1.1rem;
  }
}
