/* Selling pages (home, car sticker, store, product, cart, checkout, legal) on top
   of css/kartak.css: the full site header and footer, then the page sections.
   Mobile first; logical properties only. */

/* ---- Shell --------------------------------------------------------------- */
.k-site .k-main--site { max-width: none; padding: 0; }
.k-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 16px; }

/* ---- Header -------------------------------------------------------------- */
.k-site-head { position: sticky; top: 0; z-index: 30; background: var(--cream); flex-wrap: wrap; gap: 4px 8px; }
.k-site-tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.k-site-cart, .k-site-burger {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: var(--tap);
  min-height: var(--tap);
  border: 0;
  border-radius: var(--r-field);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.k-site-cart__count {
  position: absolute;
  top: 4px;
  inset-inline-end: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.k-site-cart__count { display: none; align-items: center; justify-content: center; } /* js/cart.js shows it (inline-flex) when the cart has items */

/* Phones: the menu folds under the header row. */
.k-site-menu { display: none; flex-basis: 100%; flex-direction: column; padding: 4px 0 10px; }
.k-site-menu.is-open { display: flex; }
.k-site-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.k-site-menu a:last-child { border-bottom: 0; }
.k-site-menu__account { color: var(--gold-text) !important; }

@media (min-width: 1024px) {
  .k-site-head { flex-wrap: nowrap; gap: 24px; }
  .k-site-burger { display: none; }
  .k-site-menu, .k-site-menu.is-open { display: flex; flex-basis: auto; flex-direction: row; gap: 4px; padding: 0; margin-inline-start: 24px; }
  .k-site-menu a { min-height: var(--tap); padding: 0 12px; border-bottom: 0; border-radius: var(--r-field); }
  .k-site-menu a:hover { background: var(--line-soft); }
  .k-site-menu__account { margin-inline-start: 8px; }
  .k-site-tools { margin-inline-start: auto; }
}

/* ---- Footer -------------------------------------------------------------- */
.k-site-foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--paper); }
.k-site-foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 16px 16px;
}
.k-site-foot__brand p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 34ch; }
.k-site-foot__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.k-site-foot__links a, .k-site-foot__social a, .k-site-foot__legal a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--ink);
  text-decoration: none;
}
.k-site-foot__links a:hover, .k-site-foot__social a:hover { color: var(--gold-text); }
.k-site-foot__contact p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.k-site-foot__social { display: flex; gap: 16px; }
.k-site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4px 16px 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}
.k-site-foot__legal nav { display: flex; gap: 12px; }
.k-site-foot__legal a { justify-content: center; min-width: var(--tap); padding: 0 6px; color: var(--muted); }
@media (min-width: 1024px) {
  .k-site-foot__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); padding: 40px 24px 20px; }
  .k-site-foot__legal { padding: 4px 24px 12px; }
}

/* ---- Page sections (home, car sticker page) ------------------------------ */
.k-wrap--narrow { max-width: 760px; }
.k-band { padding: 44px 0; }
.k-band--paper { background: var(--paper); border-block: 1px solid var(--line); }
.k-h2 { margin: 0 0 18px; font-size: 25px; line-height: 1.3; font-weight: 600; max-width: 26ch; }
.k-band__lead { margin: -8px 0 22px; color: var(--muted); line-height: 1.7; max-width: 60ch; }
.k-band__more { margin: 24px 0 0; }

/* Opening */
.k-hero { padding: 20px 0 36px; }
.k-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; }
.k-hero__pic { order: -1; }
.k-hero__title { margin: 0 0 12px; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; max-width: 18ch; }
.k-hero__line { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 44ch; }
.k-hero__actions, .k-feature__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.k-hero__actions .k-btn, .k-feature__actions .k-btn { flex: 1 1 200px; }
.k-draw { display: block; width: 100%; height: auto; }
.k-draw--windshield, .k-draw--family { max-width: 520px; margin-inline: auto; }

/* The car sticker on the home page: its own section after the products */
.k-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 48px; align-items: center; }
.k-feature__pic { order: -1; }
.k-feature .k-band__lead { margin-top: 0; }

/* How it works */
.k-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.k-step { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.k-step .k-draw { grid-row: span 2; }
.k-step h3 { margin: 6px 0 0; font-size: 17px; font-weight: 600; }
.k-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.k-step__n {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--foil);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* Sticker price and order */
.k-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--paper);
}
.k-buy__price { margin: 0; font-size: 18px; }
.k-buy__name { font-weight: 600; margin-inline-end: 6px; }
.k-buy__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 260px; justify-content: flex-end; }
.k-buy__actions .k-btn { flex: 1 1 180px; }
.k-price { font-weight: 600; white-space: nowrap; }
.k-price__was { color: var(--muted); font-size: .85em; white-space: nowrap; }

/* Try it yourself: the one dark panel on the page */
.k-try {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 28px 22px;
  border-radius: 24px;
  background: var(--ink) radial-gradient(circle at 100% 0%, rgba(230, 192, 99, .22), transparent 55%);
  color: var(--cream);
}
.k-try .k-h2 { color: var(--cream); }
.k-try__text p { margin: 0 0 20px; color: #C9CCD4; line-height: 1.7; max-width: 46ch; }
.k-try__qr { display: none; }
.k-try__code { width: 132px; height: 132px; padding: 10px; border-radius: 14px; background: #fff; }
.k-try__code svg { display: block; width: 100%; height: 100%; }
.k-try__qr p { margin: 10px 0 0; color: #C9CCD4; font-size: 13px; max-width: 22ch; }

/* Why */
.k-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 28px; }
.k-why li { padding: 16px 0; border-top: 1px solid var(--line); }
.k-why h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.k-why h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 10px; border-radius: 2px; background: var(--gold); vertical-align: middle; }
.k-why p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }


/* Product grids (store, related products): one column, then 2 from 560px and 3 from 1024px (the breakpoints below). */
.k-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }

/* Questions */
.k-faq details { border-bottom: 1px solid var(--line); }
.k-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: "+"; flex: none; color: var(--gold-text); font-size: 22px; line-height: 1; }
.k-faq details[open] summary::after { content: "−"; }
.k-faq p { margin: 0 0 16px; color: var(--muted); line-height: 1.75; }

/* Reviews: a swipe row; js/kartak-site.js clones the cards and glides it in a loop
   (pauses on hover, touch and focus). Without motion it stays a swipe row. */
.k-reviews {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 6px 16px 14px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.k-reviews::-webkit-scrollbar { display: none; }
.k-reviews:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--r-panel); }
.k-reviews.is-gliding { scroll-snap-type: none; }
.k-review { display: flex; flex-direction: column; flex: 0 0 min(84%, 380px); scroll-snap-align: center; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--cream); text-align: left; }
.k-review__stars { display: flex; gap: 2px; margin: 0 0 10px; color: var(--gold); }
.k-review blockquote { flex: 1; margin: 0 0 14px; line-height: 1.7; }
.k-review blockquote::before { content: "“"; color: var(--gold); font-size: 28px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.k-review figcaption { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.k-review img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.k-review strong { display: block; color: var(--ink); font-size: 14px; }

/* Closing */
.k-close { text-align: center; }
.k-close .k-h2 { margin-inline: auto; }
.k-close p { margin: 0 auto 18px; color: var(--muted); }
.k-close .k-btn { min-width: 240px; }
.k-close__phone { margin-top: 14px !important; font-size: 14px; }

@media (min-width: 560px) {
  .k-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .k-wrap { padding-inline: 24px; }
  .k-band { padding: 72px 0; }
  .k-h2 { font-size: 34px; margin-bottom: 26px; }
  .k-hero { padding: 48px 0 64px; }
  .k-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .k-hero__pic { order: 0; }
  .k-hero__title { font-size: 48px; }
  .k-hero__line { font-size: 18px; }
  .k-hero__actions .k-btn, .k-feature__actions .k-btn { flex: 0 1 auto; min-width: 200px; }
  .k-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .k-feature__text { order: 1; } /* picture on the start side, the opposite of the opening */
  .k-reviews { margin-inline: -24px; padding-inline: 24px; }
  .k-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .k-step { grid-template-columns: minmax(0, 1fr); }
  .k-step .k-draw { grid-row: auto; max-width: 220px; margin-bottom: 10px; }
  .k-try { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 48px; }
  .k-try__qr { display: block; }
  .k-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .k-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* Car sticker page */
.k-reasons { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 22px; padding: 0; }
.k-reasons li { padding: 10px 14px; border-radius: var(--r-field); background: rgba(247, 242, 231, .08); border: 1px solid rgba(247, 242, 231, .16); font-weight: 500; }
.k-reasons li.is-emergency { border-color: rgba(230, 192, 99, .6); }
@media (min-width: 560px) { .k-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.k-hero .k-buy { margin-top: 4px; }
@media (min-width: 1024px) { .k-why--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Store and product pages --------------------------------------------- */
.k-band--tight { padding: 20px 0 36px; }
.k-store-head { padding-bottom: 8px; }
.k-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
.k-chips::-webkit-scrollbar { display: none; }
.k-chips a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.k-chips a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.k-search { display: flex; gap: 8px; max-width: 520px; }
.k-search .k-input { flex: 1; min-width: 0; }
.k-search .k-btn { flex: none; width: auto; padding-inline: 18px; }
.k-empty { display: grid; justify-items: start; gap: 14px; padding: 28px 0; }
.k-empty p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 46ch; }

.k-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.k-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap); padding: 0 4px; color: var(--muted); }
.k-product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.k-gallery__main { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--line-soft); }
.k-gallery__main img, .k-gallery__main svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.k-gallery__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; overflow: hidden; border: 2px solid var(--line); border-radius: var(--r-field); background: none; cursor: pointer; }
.k-gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.k-gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-product__name { margin: 0 0 8px; font-size: 26px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.k-product__price { margin: 0 0 16px; font-size: 22px; }
.k-product__desc { margin-bottom: 20px; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.k-product__buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.k-qty { display: inline-flex; align-items: center; justify-self: start; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--paper); }
.k-qty button { width: var(--tap); height: var(--tap); border: 0; background: none; color: var(--ink); font-size: 20px; cursor: pointer; }
.k-qty input { width: 52px; height: var(--tap); border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: center; -moz-appearance: textfield; }
.k-qty input::-webkit-outer-spin-button, .k-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.k-trust { list-style: none; display: grid; gap: 6px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.k-trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 10px; border-radius: 2px; background: var(--gold); vertical-align: middle; }

@media (min-width: 1024px) {
  .k-chips { margin-inline: 0; padding-inline: 0; }
  .k-product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .k-product__name { font-size: 34px; }
  .k-product__buy { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .k-product__buy > a { grid-column: 1 / -1; }
}

/* ---- Cart, checkout, order, legal ---------------------------------------- */
.k-wrap--mid { max-width: 980px; }
.k-site [hidden] { display: none !important; }
.k-empty h2 { margin: 0; font-size: 20px; font-weight: 600; }
.k-panel__title { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.k-panel__title:not(:first-child) { margin-top: 24px; }
label.k-field { display: block; }
label.k-field > span { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; }
textarea.k-input { height: auto; min-height: 72px; padding-block: 12px; line-height: 1.6; resize: vertical; font: inherit; }
.k-field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
.k-pay {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--paper);
  cursor: pointer;
}
.k-pay input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.k-pay:has(input:checked) { border-color: var(--ink); }
.k-pay.is-off { opacity: .55; cursor: not-allowed; }
.k-pay em { color: var(--muted); font-style: normal; font-size: 13px; }

.k-cart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.k-cart__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.k-cart__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas: "pic info" "qty line" "qty remove";
  gap: 6px 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--paper);
}
.k-cart__pic { grid-area: pic; width: 64px; height: 64px; overflow: hidden; border-radius: var(--r-field); background: var(--line-soft); }
.k-cart__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-cart__info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.k-cart__name { font-weight: 600; overflow-wrap: anywhere; }
.k-cart__each { color: var(--muted); font-size: 13px; }
.k-cart__row .k-qty { grid-area: qty; }
.k-cart__line { grid-area: line; justify-self: end; white-space: nowrap; }
.k-cart__remove {
  grid-area: remove;
  justify-self: end;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--error);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.k-cart__sum, .k-checkout__sum { display: grid; gap: 10px; align-content: start; }
.k-cart__sum { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.k-cart__note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.k-sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.k-sum-row--total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 18px; }
.k-sum-items { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.k-sum-items li { display: flex; justify-content: space-between; gap: 12px; }
.k-sum-items li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.k-sum-items li span:last-child { white-space: nowrap; }

.k-checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }

.k-order { display: grid; gap: 16px; justify-items: start; }
.k-order .k-panel { width: 100%; display: grid; gap: 10px; }
.k-order__number { margin: 0; padding: 10px 14px; border: 1.5px dashed var(--gold); border-radius: var(--r-btn); background: var(--paper); }
.is-ok { color: var(--ok); }
.is-bad { color: var(--error); }

.k-legal__updated { margin: -10px 0 20px; color: var(--muted); font-size: 14px; }
.k-legal { line-height: 1.8; overflow-wrap: anywhere; }
.k-legal h2 { margin: 28px 0 8px; font-size: 19px; font-weight: 600; }
.k-legal ul { padding-inline-start: 20px; }
.k-legal li { margin-bottom: 6px; }
.k-legal a { color: var(--gold-text); }

@media (min-width: 640px) {
  .k-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-cart__row { grid-template-columns: 72px minmax(0, 1fr) auto auto auto; grid-template-areas: "pic info qty line remove"; }
  .k-cart__pic { width: 72px; height: 72px; }
}
@media (min-width: 1024px) {
  .k-cart { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .k-checkout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .k-checkout__sum { position: sticky; top: 82px; }
}

/* ---- Tap cards (home row, store, related) — home motion design §4 ---------- */
.k-card {
  --tint: #EDE4D0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.k-card--individuals { --tint: #E9E1EF; }
.k-card--companies { --tint: #DFE8EE; }
.k-card--accessories { --tint: #E3ECE2; }
.k-card__art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.k-card__art .k-draw--product { width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.k-card__art .k-draw--product > rect:first-child { fill: transparent; } /* the drawing's own background; the card tint shows */
.k-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.k-card__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.k-card__phone {
  position: absolute;
  bottom: -34px;
  inset-inline-end: -84px;
  width: 72px;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.k-card__page {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 24px -12px rgba(10, 15, 28, .5);
  font-size: 12px;
  color: var(--muted);
  text-align: start;
  transform: translateY(140%);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1) .2s;
  pointer-events: none;
}
.k-card__page b { color: var(--ink); font-size: 13px; }
.k-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 16px 14px; }
.k-card__for { margin: 0; color: var(--gold-text); font-size: 12.5px; font-weight: 500; }
.k-card__name { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.k-card__name a { display: flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; }
.k-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole card opens the product */
.k-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.k-card__price { margin: 0; }
.k-card__ask { color: var(--muted); font-size: 13px; }
.k-card__add { position: relative; z-index: 2; flex: none; width: 48px; min-width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%; font-size: 24px; line-height: 1; }
.k-card__art { z-index: 2; } /* the picture keeps its own link (home row: first tap previews) */

/* The tap moment: hover (pointer), keyboard focus (focus-visible: a tap on "+" is not one), or the home row's first tap. */
/* The :has() rules stand alone: in one list with .is-tapped, a browser without :has() would drop the tap moment too. */
.k-card.is-tapped { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(10, 15, 28, .5); }
.k-card:has(:focus-visible) { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(10, 15, 28, .5); }
.k-card.is-tapped .k-card__phone { transform: translate(-108px, -76px) rotate(-14deg); }
.k-card:has(:focus-visible) .k-card__phone { transform: translate(-108px, -76px) rotate(-14deg); }
.k-card.is-tapped .k-draw--product, .k-card.is-tapped .k-card__img { transform: translateY(-20px) scale(.92); }
.k-card:has(:focus-visible) .k-draw--product, .k-card:has(:focus-visible) .k-card__img { transform: translateY(-20px) scale(.92); }
.k-card.is-tapped .k-card__rings { animation: k-rings 1.2s ease-out .35s 2; }
.k-card:has(:focus-visible) .k-card__rings { animation: k-rings 1.2s ease-out .35s 2; }
.k-card.is-tapped .k-card__page { transform: none; }
.k-card:has(:focus-visible) .k-card__page { transform: none; }
@media (hover: hover) {
  .k-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(10, 15, 28, .5); }
  .k-card:hover .k-card__phone { transform: translate(-108px, -76px) rotate(-14deg); }
  .k-card:hover .k-draw--product, .k-card:hover .k-card__img { transform: translateY(-20px) scale(.92); }
  .k-card:hover .k-card__rings { animation: k-rings 1.2s ease-out .35s 2; }
  .k-card:hover .k-card__page { transform: none; }
}
[dir="rtl"] .k-card.is-tapped .k-card__phone { transform: translate(108px, -76px) rotate(14deg); }
[dir="rtl"] .k-card:has(:focus-visible) .k-card__phone { transform: translate(108px, -76px) rotate(14deg); }
@media (hover: hover) { [dir="rtl"] .k-card:hover .k-card__phone { transform: translate(108px, -76px) rotate(14deg); } }
@keyframes k-rings { 0% { opacity: .8; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.5); } }

/* Home row: a swipe row with dots on phones, a grid from 1024px. */
.k-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 6px 16px 20px; scrollbar-width: none; }
.k-row::-webkit-scrollbar { display: none; }
.k-row > .k-card { flex: 0 0 78%; scroll-snap-align: center; }
.k-row__dots { display: flex; justify-content: center; gap: 6px; min-height: 6px; }
.k-row__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .3s ease, background-color .3s ease; }
.k-row__dots i.is-on { width: 20px; background: var(--gold); }
@media (min-width: 560px) { .k-row > .k-card { flex-basis: 46%; } }
@media (min-width: 1024px) {
  .k-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 6px 0 0; }
  .k-row__dots { display: none; }
  .k-row:has(> .k-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* four cards: one line */
}

/* ---- The opening entrance and the section reveal (only when motion runs) ---- */
.k-motion .k-hero .k-word { display: inline-block; opacity: 0; transform: translateY(14px); animation: k-rise .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 45ms + 200ms); }
.k-motion .k-hero__line { opacity: 0; animation: k-fade .8s ease forwards .5s; }
.k-motion .k-hero__actions, .k-motion .k-hero .k-buy { opacity: 0; animation: k-fade .6s ease forwards .3s; } /* tappable almost at once (Instagram visitors) */
.k-motion .k-hero .k-draw--windshield, .k-motion .k-draw--family { animation: k-settle 1s cubic-bezier(.2, .8, .2, 1) both; }
.k-motion .k-hero .k-draw__scanphone { animation: k-phone .9s cubic-bezier(.2, .8, .2, 1) .5s both; }
.k-motion .k-feature__pic .k-draw__scanphone { animation: k-phone .9s cubic-bezier(.2, .8, .2, 1) .35s both; }
.k-motion .k-reveal.is-waiting .k-feature__pic .k-draw__scanphone { animation: none; opacity: 0; } /* plays when the section comes into view */
.k-draw__rings circle { transform-box: fill-box; transform-origin: center; }
.k-motion .k-hero .k-draw__rings circle { animation: k-rings 1.3s ease-out 1.25s 2 backwards; }
.k-motion .k-hero .k-draw__rings circle + circle { animation-delay: 1.4s; }
.k-motion .k-hero .k-draw__rings circle + circle + circle { animation-delay: 1.55s; }
@keyframes k-rise { to { opacity: 1; transform: none; } }
@keyframes k-fade { to { opacity: 1; } }
@keyframes k-settle { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes k-phone { from { opacity: 0; transform: translate(36px, 28px) rotate(6deg); } to { opacity: 1; transform: none; } }
.k-motion .k-reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.k-motion .k-reveal.is-waiting { opacity: 0; transform: translateY(26px); } /* set by js/kartak-site.js while it watches: no script, nothing hidden */

/* Ripple from the touch point (js/kartak-site.js). */
.k-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: k-ripple .6s ease-out forwards; pointer-events: none; z-index: -1; } /* under the text: the button isolates (kartak.css) */
.k-btn--secondary .k-ripple { background: rgba(201, 154, 56, .3); }
@keyframes k-ripple { to { transform: scale(3.2); opacity: 0; } }

/* Printing shows every section, revealed by scrolling or not. */
@media print {
  .k-motion .k-reveal, .k-motion .k-reveal.is-waiting, .k-motion .k-hero .k-word, .k-motion .k-hero__line,
  .k-motion .k-hero__actions, .k-motion .k-hero .k-buy,
  .k-motion .k-reveal.is-waiting .k-feature__pic .k-draw__scanphone { opacity: 1; transform: none; animation: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .k-site *, .k-site *::before, .k-site *::after { animation: none !important; transition: none !important; }
  .k-motion .k-reveal, .k-motion .k-hero .k-word, .k-motion .k-hero__line, .k-motion .k-hero__actions { opacity: 1; transform: none; }
  .k-card__page { transform: none; } /* the preview just shows */
  .k-card__phone, .k-card__rings { display: none; }
}
