/* ==========================================================================
   ABC TEXTIL — farebný obchodík pod Tatrami
   Estetika: papierový zine / boutique scrapbook. Prešívané okraje,
   nalepené natočené fotky, ručné cenovky, multicolor ABC akcenty.
   ========================================================================== */

:root {
  --paper:    #F6F1E6;
  --paper-2:  #EFE6D2;
  --card:     #FFFDF7;
  --ink:      #221F1A;
  --ink-soft: #5A5347;
  --ink-faint:#8B8272;

  --red:    #DD3B2B;
  --blue:   #2E6DAF;
  --green:  #6BA83A;
  --yellow: #F3B008;
  --pink:   #E85A80;

  --line:      rgba(34,31,26,.16);
  --line-soft: rgba(34,31,26,.09);

  --display: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --r: 4px;
  --shadow: 6px 8px 0 rgba(34,31,26,.10);
  --shadow-lg: 10px 14px 0 rgba(34,31,26,.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  /* jemná papierová textúra */
  background-image:
    radial-gradient(rgba(34,31,26,.028) 1px, transparent 1px),
    radial-gradient(rgba(34,31,26,.022) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 26px; }

/* ---- utility bits --------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .5; }

.dots { display: inline-flex; gap: 7px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dots .r{background:var(--red)} .dots .b{background:var(--blue)} .dots .g{background:var(--green)}
.dots .y{background:var(--yellow)} .dots .p{background:var(--pink)}

/* prešívaný (stitch) okraj — textilný motív */
.stitch { border: 2px dashed var(--line); }

.tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  background: var(--yellow);
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 2px;
  display: inline-block;
  transform: rotate(-2.5deg);
  box-shadow: 2px 2px 0 rgba(34,31,26,.18);
}

/* ---- buttons -------------------------------------------------------------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 40px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
  box-shadow: 3px 3px 0 rgba(34,31,26,.22);
}
.btn:hover { transform: translate(-1px,-2px); box-shadow: 5px 6px 0 rgba(34,31,26,.22); }
.btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 rgba(34,31,26,.22); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: 3px 3px 0 rgba(34,31,26,.12); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-underline {
  text-decoration: none;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .25s ease;
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 2px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px dashed var(--line);
}
.site-head__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 15px 26px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  justify-self: start;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand b { font-weight: 700; }
.head-actions { justify-self: end; display: flex; gap: 12px; align-items: center; }

.nav { justify-self: center; display: flex; align-items: center; gap: 32px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { background: var(--red); }

.cart-btn {
  position: relative; border: 2px solid var(--ink); background: var(--card);
  color: var(--ink); -webkit-text-fill-color: var(--ink);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: transform .12s, background .15s;
  box-shadow: 2px 2px 0 rgba(34,31,26,.18);
}
.cart-btn:hover { transform: translateY(-2px); background: var(--yellow); }
.cart-btn svg { display: block; }
.burger svg { display: block; }
.cart-btn__count {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: 11px; font-family: var(--mono);
  font-size: 12px; display: grid; place-items: center; border: 2px solid var(--paper);
  transform: scale(0); transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.cart-btn__count.show { transform: scale(1); }

.burger { display: none; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--ink); color: var(--paper); overflow: hidden;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 11px 0;
}
.marquee__track {
  display: inline-flex; white-space: nowrap; gap: 0;
  animation: slide 34s linear infinite; will-change: transform;
}
.marquee span {
  font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
}
.marquee span::after { content: "✳"; color: var(--yellow); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee__track{ animation: none; } }

/* ==========================================================================
   PHOTO FRAMES (taped / scrapbook)
   ========================================================================== */
.photo {
  background: var(--card); padding: 12px; border: 1px solid var(--line);
  box-shadow: var(--shadow); position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 96px; height: 26px; background: rgba(243,176,8,.55);
  border-left: 1px dashed rgba(0,0,0,.15); border-right: 1px dashed rgba(0,0,0,.15);
}
.photo--cap { padding-bottom: 46px; }
.photo__cap {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .02em;
}
.rot-1 { transform: rotate(-2.2deg); } .rot-2 { transform: rotate(1.8deg); }
.rot-3 { transform: rotate(-1.2deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 64px 0 40px; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 82px); line-height: .96; letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--red); }
.hero__lead { font-size: 19px; color: var(--ink-soft); max-width: 30ch; margin: 24px 0 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__photo { position: relative; }
.hero__photo .photo { aspect-ratio: 4/4.6; }
.hero__note {
  position: absolute; bottom: -22px; right: -14px; background: var(--card);
  border: 2px solid var(--ink); border-radius: 3px; padding: 10px 15px; transform: rotate(3deg);
  font-family: var(--display); font-style: italic; font-size: 18px; box-shadow: var(--shadow);
  z-index: 3;
}
.hero__meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--display); font-size: 30px; }
.hero__meta small { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section { padding: 60px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(32px, 4.5vw, 52px); }
.sec-head p { color: var(--ink-soft); max-width: 42ch; margin: 8px 0 0; }

.divider { display: flex; align-items: center; gap: 16px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }

/* categorie split */
.cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cat {
  position: relative; text-decoration: none; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--card);
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: block;
}
.cat:hover { transform: translate(-2px,-3px); box-shadow: var(--shadow-lg); }
.cat__img { aspect-ratio: 3/3.4; overflow: hidden; border-bottom: 2px solid var(--ink); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__body { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.cat__body h3 { font-size: 25px; }
.cat__arrow { font-size: 22px; transition: transform .2s; }
.cat:hover .cat__arrow { transform: translateX(5px); }
.cat__count { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }

/* about band */
.about { background: var(--paper-2); border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__photos .photo:nth-child(1){ margin-top: 26px; }
.about h2 { font-size: clamp(30px,4vw,46px); margin-bottom: 18px; }
.about p { color: var(--ink-soft); margin: 0 0 16px; }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.about__list b { font-family: var(--mono); color: var(--red); }

/* visit / info */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.info-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 30px 32px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); min-width: 96px; padding-top: 3px; }
.info-row .v { font-weight: 500; }
.info-row .v b { font-weight: 700; }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  font-family: var(--sans); font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 9px 20px; border-radius: 40px; border: 2px solid var(--ink); background: var(--card);
  transition: background .15s, transform .1s;
}
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--ink); color: var(--paper); }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.card {
  background: var(--card); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-2px,-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 3/3.6; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 12px; left: -4px; background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 4px 11px;
  transform: rotate(-3deg); box-shadow: 2px 2px 0 rgba(34,31,26,.25);
}
.card__cat { position: absolute; bottom: 10px; left: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); padding: 3px 9px; border-radius: 2px; color: var(--ink-soft); }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-family: var(--display); font-size: 21px; line-height: 1.08; }
.card__desc { font-size: 14px; color: var(--ink-soft); flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.card__price { font-family: var(--display); font-size: 24px; font-weight: 600; }
.card__price s { font-family: var(--sans); font-size: 15px; color: var(--ink-faint); margin-right: 6px; }
.add-btn {
  border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 14px; cursor: pointer;
  padding: 9px 16px; border-radius: 40px; display: inline-flex; gap: 7px; align-items: center;
  transition: transform .1s, background .15s; white-space: nowrap;
}
.add-btn:hover { transform: translateY(-2px); background: var(--green); color: #fff; }
.add-btn.added { background: var(--green); color: #fff; }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.scrim {
  position: fixed; inset: 0; background: rgba(34,31,26,.45); z-index: 90;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 92vw); z-index: 100;
  background: var(--paper); border-left: 2px solid var(--ink); transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
  box-shadow: -14px 0 40px rgba(34,31,26,.2);
}
.drawer.open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; padding: 22px 24px;
  border-bottom: 2px dashed var(--line);
}
.drawer__head h3 { font-size: 26px; }
.drawer__close { background: none; border: none; cursor: pointer; font-size: 26px; line-height: 1; padding: 4px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer__empty { text-align: center; color: var(--ink-soft); padding: 60px 20px; }
.drawer__empty .em { font-size: 46px; }
.line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0;
  border-bottom: 1px dashed var(--line); align-items: center;
}
.line__img { width: 64px; height: 74px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-family: var(--display); font-size: 17px; line-height: 1.1; }
.line__meta { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; gap: 0; margin-top: 8px; border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; }
.qty button { border: none; background: var(--card); width: 26px; height: 26px; cursor: pointer; font-size: 16px; line-height: 1; }
.qty button:hover { background: var(--yellow); }
.qty span { min-width: 26px; text-align: center; font-family: var(--mono); font-size: 13px; }
.line__price { font-family: var(--display); font-size: 18px; text-align: right; }
.line__rm { display: block; margin-top: 6px; background: none; border: none; cursor: pointer; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); text-decoration: underline; text-align: right; width: 100%; }
.line__rm:hover { color: var(--red); }
.drawer__foot { padding: 20px 24px 24px; border-top: 2px solid var(--ink); background: var(--paper-2); }
.drawer__sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.drawer__sum .lbl { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 16px; }
.drawer__total b { font-family: var(--display); font-size: 30px; }
.drawer__ship-note { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin: 0 0 14px; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout { padding: 50px 0 90px; }
.checkout__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 46px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 6px; background: var(--card); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fieldset { border: 2px solid var(--ink); border-radius: 10px; padding: 24px; margin-bottom: 26px; background: var(--card); box-shadow: var(--shadow); }
.fieldset legend { font-family: var(--display); font-size: 22px; padding: 0 10px; }
.ship-opt { display: flex; gap: 14px; }
.ship-opt label {
  flex: 1; border: 2px solid var(--ink); border-radius: 8px; padding: 14px 16px; cursor: pointer;
  display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--ink); transition: background .15s;
}
.ship-opt input { width: auto; margin-top: 3px; }
.ship-opt label:has(input:checked) { background: var(--yellow); }
.ship-opt .t { font-weight: 700; font-size: 16px; }
.ship-opt .s { font-size: 13px; color: var(--ink-soft); }

.summary { position: sticky; top: 92px; border: 2px solid var(--ink); border-radius: 10px; padding: 26px; background: var(--paper-2); box-shadow: var(--shadow); }
.summary h3 { font-size: 24px; margin-bottom: 16px; }
.summary__line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.summary__line img { width: 46px; height: 54px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.summary__line .nm { font-size: 14px; font-weight: 600; line-height: 1.15; }
.summary__line .qn { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.summary__line .pr { margin-left: auto; font-family: var(--display); font-size: 16px; }
.summary__totals { margin-top: 16px; }
.summary__totals .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.summary__totals .grand { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; }
.summary__totals .grand b { font-family: var(--display); font-size: 26px; }

.pay-note { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* success */
.success { text-align: center; padding: 80px 0; max-width: 620px; margin: 0 auto; }
.success .em { font-size: 64px; }
.success h1 { font-size: clamp(38px,6vw,60px); margin: 14px 0; }
.success p { color: var(--ink-soft); font-size: 18px; }
.success .ordno { font-family: var(--mono); background: var(--yellow); display: inline-block; padding: 6px 16px; border-radius: 4px; margin: 8px 0 22px; transform: rotate(-1.5deg); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot { background: var(--ink); color: var(--paper); padding: 60px 0 30px; margin-top: 20px; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-foot .brand { color: var(--paper); }
.site-foot p { color: rgba(246,241,230,.7); font-size: 15px; max-width: 34ch; }
.site-foot h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; font-weight: 400; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot a { color: rgba(246,241,230,.85); text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.site-foot__bottom { border-top: 1px dashed rgba(246,241,230,.25); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: rgba(246,241,230,.55); }

/* page hero (subpages) */
.page-hero { padding: 54px 0 20px; }
.page-hero h1 { font-size: clamp(40px,6vw,72px); margin: 16px 0 0; }
.page-hero p { color: var(--ink-soft); font-size: 19px; max-width: 52ch; margin: 18px 0 0; }

/* perks strip */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); border-radius: 10px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.perk { padding: 22px 26px; border-right: 2px dashed var(--line); }
.perk:last-child { border-right: 0; }
.perk b { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; margin-bottom: 5px; }
.perk span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 680px){ .perks { grid-template-columns: 1fr; } .perk { border-right: 0; border-bottom: 2px dashed var(--line); } .perk:last-child { border-bottom: 0; } }

/* map */
.map-frame {
  border: 2px solid var(--ink); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--card); padding: 8px;
}
.map-frame iframe {
  width: 100%; height: 420px; border: 0; display: block; border-radius: 4px;
  filter: saturate(1.02);
}
@media (max-width: 680px){ .map-frame iframe { height: 320px; } }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: var(--paper); padding: 13px 22px; border-radius: 40px;
  font-weight: 600; z-index: 120; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .em { color: var(--yellow); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .visit__grid, .checkout__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__photos .photo:nth-child(1){ margin-top: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  .hero__photo { max-width: 480px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-head__row { position: relative; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: 0; left: 0; right: 0; justify-self: stretch; z-index: 60;
    background: var(--paper); border-top: 2px dashed var(--line); border-bottom: 2px solid var(--ink);
    padding: 12px 26px 16px; box-shadow: 0 18px 34px rgba(34,31,26,.16);
  }
  .nav.open a { width: 100%; padding: 12px 0; font-size: 19px; border-bottom: 1px dashed var(--line-soft); }
  .nav.open a:last-child { border-bottom: 0; }
  .nav.open a::after { display: none; }
  .nav.open a[aria-current="page"] { color: var(--red); }
  .burger { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); cursor: pointer; box-shadow: 2px 2px 0 rgba(34,31,26,.18); color: var(--ink); -webkit-text-fill-color: var(--ink); }

  /* header: brand left, cart + burger together on the right */
  .site-head__row { grid-template-columns: auto 1fr; gap: 12px; }
  .nav { grid-column: 1 / -1; }
  .head-actions { grid-column: 2; }

  /* hero */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cats { grid-template-columns: 1fr; }
  .card__name { font-size: 18px; }
  .card__price { font-size: 20px; }
  .add-btn { padding: 8px 12px; font-size: 13px; }
  .site-foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row, .ship-opt { grid-template-columns: 1fr; flex-direction: column; }
  section { padding: 44px 0; }
  .hero { padding: 34px 0 26px; }
  .hero h1 { font-size: clamp(40px, 12.5vw, 58px); }
  .hero__lead { font-size: 17px; max-width: none; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__meta { flex-direction: column; gap: 13px; margin-top: 30px; }
  .hero__meta div { flex-direction: row; align-items: baseline; gap: 10px; }
  .hero__meta b { font-size: 23px; min-width: 96px; }
  .hero__meta small { font-size: 11px; }
  .hero__note { right: 8px; bottom: -16px; font-size: 16px; padding: 8px 13px; }
  .page-hero { padding: 40px 0 8px; }
  .page-hero p { font-size: 17px; }
  .sec-head h2 { font-size: clamp(28px, 8.5vw, 40px); }
  .filters { gap: 9px; }
  .chip { font-size: 14px; padding: 8px 16px; }
  .drawer__head h3 { font-size: 23px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(36px, 12vw, 48px); }
}
