/* ==========================================================================
   Teta Pometa — tetapometa.si
   Lasten CSS, brez ogrodij. Mobile-first.
   ========================================================================== */

/* --- 1. Tokeni ----------------------------------------------------------- */
:root {
  --navy: #1e3a8a;
  --navy-dark: #172e6e;
  --navy-light: #2f4fb5;
  --amber: #f59e0b;
  --amber-dark: #d98207;
  --amber-soft: #fef3c7;
  --cream: #faf8f5;
  --white: #ffffff;
  --ink: #1f2430;
  --ink-soft: #5b6472;
  --line: #e7e2da;
  --green: #15803d;
  --star: #f59e0b;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(31, 36, 48, .06), 0 2px 6px rgba(31, 36, 48, .05);
  --shadow-md: 0 4px 12px rgba(31, 36, 48, .08), 0 12px 28px rgba(31, 36, 48, .07);
  --shadow-lg: 0 10px 30px rgba(30, 58, 138, .13);

  --wrap: 1180px;
  --header-h: 88px;

  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

/* --- 2. Osnova ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--amber-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* --- 3. Gumbi ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; line-height: 1.2;
  padding: .8em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--amber); color: #3b2600; box-shadow: 0 4px 14px rgba(245, 158, 11, .35); }
.btn--primary:hover { background: var(--amber-dark); color: #3b2600; box-shadow: 0 6px 20px rgba(245, 158, 11, .45); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }

.btn--block { display: flex; width: 100%; }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }

/* --- 4. Header ----------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--header-h);
}

.logo { position: relative; display: flex; align-items: center; gap: 10px; margin-right: auto; flex-shrink: 0; }
/* Različica logotipa brez tete — prelije se čez polno, ko teta zleze ven. */
.logo__prazen { position: absolute; opacity: 0; pointer-events: none; }
.logo img { height: 72px; width: auto; }
@media (max-width: 420px) { .logo img { height: 58px; } }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 900; color: var(--navy); font-size: 1.12rem; letter-spacing: -.02em; }
.logo__tag { font-size: .68rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .5em .8em; border-radius: 10px;
  font-weight: 600; font-size: .97rem; color: var(--ink);
}
.nav__link:hover { background: var(--amber-soft); color: var(--navy); }
.nav__link[aria-current="page"] { color: var(--navy); background: #eef2ff; }

.header__tools { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 0; border-radius: 12px;
  color: var(--navy); cursor: pointer; position: relative;
}
.icon-btn:hover { background: var(--amber-soft); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: none; align-items: center; justify-content: center;
  background: var(--amber); color: #3b2600;
  font-size: .72rem; font-weight: 800; border-radius: 999px;
  border: 2px solid #fff;
}
.cart-count.is-visible { display: flex; }

/* iskalnik */
.search { border-top: 1px solid var(--line); background: #fff; display: none; }
.search.is-open { display: block; }
.search form { display: flex; gap: 8px; padding: 14px 0; }
.search input {
  flex: 1; font: inherit; padding: .7em 1em;
  border: 2px solid var(--line); border-radius: 999px; background: var(--cream);
}
.search input:focus { border-color: var(--navy); outline: none; }

/* mobilni meni */
.mobile-nav {
  display: none; border-top: 1px solid var(--line);
  background: #fff; padding: 8px 0 18px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block; padding: .85em .4em; font-weight: 700; font-size: 1.05rem;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-nav a:hover { color: var(--amber-dark); }

@media (min-width: 960px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --- 5. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1e3a8a 0%, #26429b 45%, #2f4fb5 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% -10%; height: 60%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(245,158,11,.28), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 34px; align-items: center;
  padding: 52px 0 60px;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__sub { font-size: 1.1rem; color: #dbe3ff; max-width: 46ch; margin-bottom: 1.6em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px;
  font-size: .9rem; color: #c9d4ff; list-style: none; padding: 0;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

.hero__art {
  order: -1;   /* slika je vedno prva — na mobilniku takoj pod glavo */
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #fff;
  aspect-ratio: 4 / 3;
}
/* Svetla različica heroja — enaka bela podlaga kot pas pod glavo na podstraneh. */
.hero--svetel { background: var(--white); border-bottom: 1px solid var(--line); }
.hero--svetel::after { content: none; }
.hero--svetel h1 { color: var(--navy); }
.hero--svetel h1 em { color: var(--amber-dark); }
.hero--svetel .hero__sub { color: var(--ink-soft); }
.hero--svetel .hero__trust { color: var(--ink-soft); }
.hero--svetel .hero__trust svg { color: var(--green); }
.hero--svetel .hero__art--logo { background: transparent; box-shadow: none; padding: 0; }

/* Logotip v heroju: na beli kartici, ker ima slika belo podlago. */
.hero__art--logo {
  aspect-ratio: auto; padding: 18px;
  display: grid; place-items: center;
}
.hero__art--logo::before { content: none; }
.hero__art--logo img { width: 100%; max-width: 400px; height: auto; }
.hero__art--logo .hero__badge { left: 16px; bottom: 16px; }

/* Nadomestek, dokler prave fotografije ni — vidi se skozi, če se slika ne naloži. */
.hero__art::before, .about__photo::before {
  content: attr(data-nadomestek);
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; text-align: center; padding: 20px;
  background: linear-gradient(150deg, #eef2ff, #dbe3ff);
  color: var(--navy); font-weight: 800; font-size: .95rem;
}
.hero__art img, .about__photo img { position: relative; z-index: 1; }
/* Pri logotipu nadomestka ne rabimo — sicer se ob strani vidi moder rob.
   Pravilo mora stati za zgornjim, sicer ga ta prevozi. */
.hero .hero__art--logo::before { content: none; display: none; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 16px; bottom: 16px;
  background: #fff; color: var(--navy); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-md);
  font-size: .86rem; font-weight: 700; line-height: 1.3; max-width: 70%;
}
.hero__badge span { display: block; color: var(--amber-dark); font-size: 1.35rem; font-weight: 900; }

@media (min-width: 900px) {
  /* Na namizju je logotip levo, besedilo desno. */
  .hero__inner { grid-template-columns: .92fr 1.08fr; padding: 76px 0 84px; gap: 54px; }
}

/* --- 6. Sekcije ---------------------------------------------------------- */
.section { padding: 58px 0; }
.section--tight { padding: 40px 0; }
.section--white { background: var(--white); }
.section--soft { background: #f2eee8; }

.section__head { max-width: 62ch; margin-bottom: 30px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { color: var(--ink-soft); margin-bottom: 0; }

.eyebrow {
  display: inline-block; margin-bottom: .7em;
  font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber-dark); background: var(--amber-soft);
  padding: .35em .85em; border-radius: 999px;
}

.section__more { margin-top: 34px; text-align: center; }

/* --- 7. Mreže in kartice ------------------------------------------------- */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 620px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8d0c4; }

.card__media { position: relative; aspect-ratio: 4 / 3; background: #f4f1ec; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__flag {
  position: absolute; top: 10px; left: 10px;
  background: var(--navy); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .35em .7em; border-radius: 999px;
}
.card__flag--amber { background: var(--amber); color: #3b2600; }
.card__flag--green { background: var(--green); }

.card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5em; }
.card__title { font-size: 1.06rem; margin-bottom: .4em; }
.card__title a { color: var(--navy); }
.card__text { font-size: .93rem; color: var(--ink-soft); margin-bottom: 1em; }
.card__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.price { font-size: 1.28rem; font-weight: 900; color: var(--navy); }
.price del { font-size: .88rem; font-weight: 600; color: var(--ink-soft); margin-left: .4em; }

/* zvezdice */
.rating { display: flex; align-items: center; gap: 7px; margin-bottom: .6em; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.stars .is-empty { color: #d9d3c8; }
.rating__num { font-size: .84rem; font-weight: 700; color: var(--ink-soft); }

/* --- 8. Kategorije ------------------------------------------------------- */
.cat-tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 6px;
  background: var(--amber-soft); color: var(--navy);
}
.cat-tile__icon svg { width: 26px; height: 26px; }
.cat-tile strong { color: var(--navy); font-size: 1.05rem; }
.cat-tile span { font-size: .9rem; color: var(--ink-soft); }

/* --- 9. Zaupanje / prednosti -------------------------------------------- */
.perks { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: #eef2ff; color: var(--navy);
}
.perk__icon svg { width: 22px; height: 22px; }
.perk h3 { font-size: 1.02rem; margin-bottom: .2em; }
.perk p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* --- 10. Predstavitev Tete ---------------------------------------------- */
.about { display: grid; gap: 30px; align-items: center; }
@media (min-width: 880px) { .about { grid-template-columns: .8fr 1.2fr; gap: 48px; } }
/* Različica brez slike — besedilo ostane levo poravnano kot druge sekcije. */
.about--sam { grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .about--sam { grid-template-columns: 1fr; }
  .about--sam > div { max-width: 78ch; }
}
.about__photo {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: #fff; aspect-ratio: 1;
}
.about__photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.about blockquote {
  margin: 0 0 1.2em; padding-left: 18px; border-left: 4px solid var(--amber);
  font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--navy);
}

/* --- 11. E-novice -------------------------------------------------------- */
.newsletter {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 34px 24px;
  box-shadow: var(--shadow-lg);
}
.newsletter h2 { color: #fff; }
.newsletter p { color: #d7dfff; }
.newsletter__form { display: grid; gap: 10px; margin-top: 20px; }
.newsletter__form input[type="email"] {
  font: inherit; padding: .85em 1.1em; border: 2px solid transparent; border-radius: 999px;
  background: #fff; color: var(--ink); width: 100%;
}
.newsletter__form input:focus { border-color: var(--amber); outline: none; }
.newsletter__note { font-size: .8rem; color: #bcc7f5; margin: 10px 0 0; }
.newsletter__note a { color: #fff; text-decoration: underline; }
@media (min-width: 720px) {
  .newsletter { padding: 44px 40px; }
  .newsletter__form { grid-template-columns: 1fr auto; }
}

/* --- 12. Obrazci --------------------------------------------------------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field input, .field textarea, .field select {
  font: inherit; padding: .75em .95em;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 5px; }
.field--check label { font-weight: 500; font-size: .88rem; color: var(--ink-soft); }
.field__hint { font-size: .8rem; color: var(--ink-soft); }

.form-msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 18px; display: none; }
.form-msg.is-ok { display: block; background: #dcfce7; color: #14532d; }
.form-msg.is-err { display: block; background: #fee2e2; color: #7f1d1d; }

/* --- 13. Razkritje / opozorilo ------------------------------------------ */
.disclosure {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid #f3d98a;
  border-radius: var(--radius); padding: 14px 16px;
  font-size: .88rem; color: #6b4a04;
}
.disclosure svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--amber-dark); }
.disclosure p { margin: 0; }
.disclosure a { color: #6b4a04; text-decoration: underline; }

/* --- 14. Footer ---------------------------------------------------------- */
.footer { background: #131a33; color: #b9c0d4; padding: 52px 0 26px; font-size: .93rem; }
.footer h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1em; }
.footer a { color: #b9c0d4; }
.footer a:hover { color: var(--amber); }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; } }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5em; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand img { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
.footer__brand strong { color: #fff; font-size: 1.1rem; }

.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff;
}
.social a:hover { background: var(--amber); color: #3b2600; }
.social svg { width: 20px; height: 20px; }

.footer__bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: .84rem; color: #8b93aa;
}

/* --- 15. Podstrani ------------------------------------------------------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 0; }
/* Pas pod glavo: logotip levo, besedilo desno. */
.page-head .wrap { display: grid; gap: 20px; align-items: center; }
.page-head__logo { justify-self: center; order: -1; }
.page-head__logo img { width: 200px; height: auto; mix-blend-mode: multiply; }
@media (min-width: 760px) {
  .page-head .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 40px; }
  .page-head__logo { justify-self: start; }
  .page-head__logo img { width: 260px; }
}
@media (min-width: 1040px) { .page-head__logo img { width: 320px; } }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; font-size: .84rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #b9b1a4; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 700;
  padding: .5em 1.05em; border-radius: 999px;
  background: #fff; color: var(--navy); border: 2px solid var(--line);
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }

/* članek */
.article { background: #fff; }
.article__body { max-width: 74ch; margin: 0 auto; padding: 44px 0 60px; font-size: 1.06rem; }
.article__body h2 { margin-top: 1.8em; }
.article__body h3 { margin-top: 1.5em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--ink-soft); margin-bottom: 1.6em; }
.article__lead { font-size: 1.18rem; color: var(--ink-soft); }
.article__body figure { margin: 1.8em 0; }
.article__body figcaption { font-size: .84rem; color: var(--ink-soft); margin-top: .5em; text-align: center; }

.table-wrap { overflow-x: auto; margin: 1.6em 0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
table.cmp th, table.cmp td { padding: .75em .9em; border-bottom: 1px solid var(--line); text-align: left; }
table.cmp thead th { background: #eef2ff; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
table.cmp tbody tr:hover { background: #faf8f5; }

/* --- 16. Košarica -------------------------------------------------------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: #f4f1ec; }
.cart-item strong { display: block; color: var(--navy); font-size: .98rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; color: var(--navy); font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.qty button:hover { background: var(--amber-soft); }
.qty span { min-width: 32px; text-align: center; font-weight: 700; }
.link-remove { background: none; border: 0; color: #b91c1c; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin: 0 0 18px; }
.cart-summary dt { color: var(--ink-soft); }
.cart-summary dd { margin: 0; text-align: right; font-weight: 700; color: var(--navy); }
.cart-summary .total { font-size: 1.3rem; font-weight: 900; }

/* obvestilo o dodanem izdelku */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%);
  background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: .95rem; z-index: 300;
  transition: transform .28s cubic-bezier(.2,.8,.3,1); max-width: calc(100vw - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* --- 17. Sprehajajoča se teta v glavi ------------------------------------ */
.header__bar { position: relative; }

.teta-hodi {
  position: absolute; left: 0; bottom: 0; z-index: 5;
  width: 76px; pointer-events: none;
  transform-origin: 50% 100%;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 7px rgba(31, 36, 48, .16));
}
.teta-hodi img { width: 100%; height: auto; display: block; }

@media (max-width: 959px) { .teta-hodi { width: 62px; } }

/* smeti, ki jih pomete */
.teta-smeti { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.teta-smet {
  position: absolute; bottom: 3px; display: block; width: 26px; height: 14px;
  opacity: .8;
  transition: transform .5s cubic-bezier(.25, .9, .3, 1), opacity .4s ease;
  will-change: transform, opacity;
}
.teta-smet.je-pometena {
  transform: translate(calc(var(--smer, 1) * 60px), -8px) rotate(calc(var(--smer, 1) * 40deg)) scale(.3);
  opacity: 0;
}

/* Ko je stran natisnjena, teta ne sodi zraven. */
@media print { .teta-hodi, .teta-smeti { display: none !important; } }

/* --- 18. Tisk / animacije ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
