/* ======================================================================
   Ki Kinben — the shop front.
   ----------------------------------------------------------------------
   Its own stylesheet, not a repaint of styles.css: the page it dresses has
   a different shape. A ticker across the top, a centred category menu, a
   picture banner, sections that announce themselves with a small grey
   kicker over a big heading, four cases to a row each with its own "Add To
   Cart", and a four-column footer. That is kikinbenbd.com's shape, and a
   shopper who knows that shop should not have to learn this one.

   GenZ Covers and My Cover never load this file.
   ====================================================================== */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/poppins-800.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/space-grotesk-400.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/space-grotesk-500.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/space-grotesk-700.woff2) format('woff2'); }

:root, body[data-shop] {
  /* Measured off kikinbenbd.com itself. */
  --kk-purple: #7135f5;
  --kk-purple-ink: #5a22d6;
  --kk-purple-soft: #efe9fe;
  --kk-red: #e8102a;
  --kk-ink: #111111;
  --kk-ink-2: #55555f;
  --kk-ink-3: #8b8b93;
  --kk-line: #e8e6f0;
  --kk-blue: #eef5fd;
  --kk-radius: 14px;
  /* `--accent` is what the shared bits (the basket drawer, the chat bubble)
     colour themselves with, so they match without knowing about this file. */
  --accent: #7135f5;
  --accent-ink: #ffffff;
  --accent-text: #5a22d6;
  --accent-soft: #efe9fe;
  /* Those shared bits also reach for a dark to lay white text on — the chat's
     button and the bar along the top of it, the track page's steps. That dark
     lives in styles.css, which this shop does not load, so there was nothing
     behind the white lettering and the shop's name on the chat could not be
     read at all. This is the purple above taken down far enough to carry
     white comfortably. */
  --brand-dark: #3a1486;
  --surface: #ffffff;
  --surface-2: #f6f4fc;
  --ink: #111111;
  --ink-2: #55555f;
  --ink-3: #8b8b93;
  --line: #e8e6f0;
  --sale: #e8102a;
  --good: #1d9a4f;
  --page: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(17,17,17,.05), 0 10px 30px rgba(17,17,17,.07);
  --shadow-sm: 0 1px 2px rgba(17,17,17,.06);
  --shadow-md: 0 2px 8px rgba(17,17,17,.06), 0 14px 34px rgba(17,17,17,.08);
  --shadow-lg: 0 -2px 10px rgba(17,17,17,.06), 0 -14px 44px rgba(17,17,17,.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body.kk {
  margin: 0;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--kk-ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Poppins, sans-serif; margin: 0; letter-spacing: -0.02em; }

.kk-wrap { width: min(1320px, 92vw); margin: 0 auto; }

/* ---- buttons ---- */
.kk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: Poppins, sans-serif; font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: filter .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.kk-btn-fill { background: var(--kk-purple); color: #fff; }
.kk-btn-fill:hover { filter: brightness(1.08); }
.kk-btn-line { background: #fff; color: var(--kk-ink); border-color: var(--kk-purple); }
.kk-btn-line:hover { background: var(--kk-purple-soft); }
.kk-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---- the ticker ----
   Two identical halves sliding left by exactly half the track, so the loop
   has no seam. Stopped for anyone who asked for less motion. */
.kk-ticker {
  background: var(--kk-purple); color: #fff; overflow: hidden;
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em;
}
.kk-ticker-track {
  display: flex; gap: 26px; align-items: center; white-space: nowrap;
  padding: 8px 0; width: max-content;
  animation: kk-slide 32s linear infinite;
}
@keyframes kk-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .kk-ticker-track { animation: none; } }

/* ---- header ---- */
.kk-head { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--kk-line); }
.kk-head-in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  padding: 14px 0; min-height: 72px;
}
.kk-logo img { height: 40px; width: auto; object-fit: contain; }

.kk-nav { display: flex; align-items: center; justify-content: center; gap: 26px; }
.kk-nav a {
  font-family: Poppins, sans-serif; font-size: 13.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--kk-ink-2);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.kk-nav a:hover { color: var(--kk-purple); }
.kk-nav a.is-on { color: var(--kk-purple); border-bottom-color: var(--kk-purple); }

.kk-head-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.kk-icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--kk-line);
  background: #fff; display: grid; place-items: center; cursor: pointer;
}
.kk-icon-btn:hover { border-color: var(--kk-purple); }
.kk-icon-btn svg { width: 19px; height: 19px; fill: var(--kk-ink); }

.kk-cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--kk-line); border-radius: 999px; background: #fff;
  padding: 5px 7px 5px 16px; cursor: pointer;
}
.kk-cart-btn:hover { border-color: var(--kk-purple); }
.kk-cart-sum { font-family: Poppins, sans-serif; font-weight: 700; font-size: 14px; }
.kk-cart-ico { position: relative; width: 32px; height: 32px; border-radius: 999px; background: var(--kk-purple-soft); display: grid; place-items: center; }
.kk-cart-ico svg { width: 17px; height: 17px; fill: var(--kk-purple-ink); }
.kk-cart-n {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--kk-red); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
}
.kk-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--kk-line); border-radius: 10px; background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.kk-burger span { display: block; height: 2px; background: var(--kk-ink); border-radius: 2px; }

.kk-search { border-top: 1px solid var(--kk-line); background: #fff; padding: 14px 0; position: relative; }
.kk-search input {
  width: 100%; font-size: 16px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--kk-line); background: var(--surface-2);
}
.kk-search input:focus { outline: none; border-color: var(--kk-purple); background: #fff; box-shadow: 0 0 0 3px rgba(113,53,245,.14); }
.kk-search-hits {
  position: absolute; left: 0; right: 0; top: calc(100% - 6px); z-index: 70;
  width: min(1320px, 92vw); margin: 0 auto;
  background: #fff; border: 1px solid var(--kk-line); border-radius: 14px;
  box-shadow: var(--shadow); max-height: 64vh; overflow-y: auto;
}
.kk-hit { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--kk-line); }
.kk-hit:last-child { border-bottom: none; }
.kk-hit:hover, .kk-hit.is-on { background: var(--surface-2); }
.kk-hit img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: var(--surface-2); }
.kk-hit b { font-size: 13.5px; font-weight: 600; display: block; }
.kk-hit i { font-style: normal; font-size: 11.5px; color: var(--kk-ink-3); }
.kk-hit span { font-family: Poppins, sans-serif; font-weight: 700; font-size: 14px; color: var(--kk-purple); }
.kk-hit-none { padding: 18px; text-align: center; color: var(--kk-ink-2); font-size: 14px; }

/* ---- hero ----
   Three soft lights behind live text, and three real cases stacked beside
   it. No picture with words baked into it: that cannot reflow on a phone,
   cannot be read by a search engine and goes blurry on a good screen. */
.kk-hero { position: relative; overflow: hidden; background: #fbfaff; isolation: isolate; }
.kk-glow { position: absolute; inset: -20% -10%; z-index: -1; filter: blur(70px); opacity: .85; }
.kk-glow i { position: absolute; display: block; border-radius: 50%; }
.kk-glow i:nth-child(1) { width: 46%; height: 70%; left: -6%; top: -14%; background: #d9c6ff; }
.kk-glow i:nth-child(2) { width: 38%; height: 64%; left: 42%; top: 18%; background: #b9e0ff; }
.kk-glow i:nth-child(3) { width: 34%; height: 58%; right: -4%; top: -10%; background: #efd6ff; }

.kk-hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: clamp(44px, 6vw, 84px) 0;
}
.kk-kicker {
  display: inline-block; font-family: Poppins, sans-serif; font-size: 11.5px;
  font-weight: 700; letter-spacing: .2em; color: var(--kk-purple-ink);
  background: rgba(255,255,255,.7); border: 1px solid rgba(113,53,245,.22);
  padding: 6px 14px; border-radius: 999px;
}
.kk-hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; line-height: 1.02;
  color: #0e0c1d; margin: 18px 0 0; letter-spacing: -0.035em;
}
.kk-hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #7135f5 0%, #b268ff 54%, #5a22d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kk-hero-copy > p { margin: 18px 0 0; font-size: clamp(15px, 1.25vw, 18px); color: var(--kk-ink-2); max-width: 44ch; }
.kk-hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.kk-btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.kk-btn-fill.kk-btn-lg { box-shadow: 0 10px 26px rgba(113,53,245,.32); }
.kk-btn-ghost { background: rgba(255,255,255,.8); color: var(--kk-ink); border-color: rgba(17,17,17,.14); }
.kk-btn-ghost:hover { background: #fff; border-color: var(--kk-purple); color: var(--kk-purple); }

.kk-hero-trust { list-style: none; display: flex; gap: 30px; margin: 34px 0 0; padding: 0; flex-wrap: wrap; }
.kk-hero-trust b {
  display: block; font-family: Poppins, sans-serif; font-size: 26px; font-weight: 800;
  color: #0e0c1d; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.kk-hero-trust span { font-size: 12.5px; color: var(--kk-ink-3); }

/* Three cases, fanned. The middle one leads; the outer two sit back and a
   little lower, which reads as depth without a drop shadow on every edge. */
.kk-hero-art { position: relative; height: clamp(300px, 30vw, 420px); }
.kk-hero-art figure {
  position: absolute; top: 50%; margin: 0; width: 46%; aspect-ratio: 3/4;
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 44px rgba(32,18,70,.18);
  border: 1px solid rgba(255,255,255,.8);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.kk-hero-art figure img { width: 100%; height: 100%; object-fit: cover; }
.kk-hero-art figure:nth-child(1) { left: 0; transform: translateY(-46%) rotate(-7deg) scale(.88); z-index: 1; }
.kk-hero-art figure:nth-child(2) { left: 27%; transform: translateY(-54%) rotate(0deg); z-index: 3; }
.kk-hero-art figure:nth-child(3) { left: 54%; transform: translateY(-46%) rotate(7deg) scale(.88); z-index: 2; }
.kk-hero:hover .kk-hero-art figure:nth-child(1) { transform: translateY(-48%) rotate(-10deg) scale(.9); }
.kk-hero:hover .kk-hero-art figure:nth-child(3) { transform: translateY(-48%) rotate(10deg) scale(.9); }
@media (prefers-reduced-motion: reduce) { .kk-hero-art figure { transition: none; } }

/* ---- shop by phone ---- */
.kk-models { border-bottom: 1px solid var(--kk-line); padding: 20px 0; background: #fff; }
.kk-models-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.kk-models-head strong { font-family: Poppins, sans-serif; font-size: 15px; }
.kk-models-head span { font-size: 13px; color: var(--kk-ink-3); }

.kk-chips { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.kk-chips::-webkit-scrollbar { height: 5px; }
.kk-chips::-webkit-scrollbar-thumb { background: var(--kk-line); border-radius: 999px; }
.kk-chip {
  flex: none; border: 1px solid var(--kk-line); background: #fff; cursor: pointer;
  border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 500;
  color: var(--kk-ink-2); transition: all .15s ease; white-space: nowrap;
}
.kk-chip:hover { border-color: var(--kk-purple); color: var(--kk-purple); }
.kk-chip.is-on { background: var(--kk-purple); border-color: var(--kk-purple); color: #fff; font-weight: 600; }
.kk-chip b { font-weight: 600; opacity: .62; margin-left: 6px; font-size: 12px; }
.kk-chip.is-on b { opacity: .8; }
.kk-chips-theme { margin: 0 0 22px; }

/* ---- sections ---- */
.kk-sec { padding: 54px 0 10px; }
.kk-sec-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.kk-eyebrow { font-family: Poppins, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--kk-purple); }
.kk-sec-head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; margin-top: 2px; }
.kk-sec-cta { margin-left: auto; }
.kk-sorts select {
  margin-left: auto; border: 1px solid var(--kk-line); border-radius: 10px;
  padding: 10px 14px; background: #fff; font-size: 14px; cursor: pointer;
}
.kk-sorts select:focus { outline: none; border-color: var(--kk-purple); }

/* The countdown: four fat numerals, the way the shop's own offer block
   shows it. */
.kk-count { display: flex; gap: 10px; }
.kk-count div { text-align: center; }
.kk-count b {
  display: block; min-width: 46px; padding: 7px 8px; border-radius: 10px;
  background: var(--kk-purple-soft); color: var(--kk-purple-ink);
  font-family: Poppins, sans-serif; font-size: 20px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.kk-count span { font-size: 10.5px; color: var(--kk-ink-3); letter-spacing: .06em; }

/* ---- the grid of cases ---- */
.kk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kk-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--kk-line); border-radius: var(--kk-radius); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.kk-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(113,53,245,.14); border-color: rgba(113,53,245,.4); }
/* Upright, not square: the shop's clips are Shorts, filmed for a phone held
   upright, and a square tile would crop the case out of its own film. */
.kk-card-media { position: relative; aspect-ratio: 4/5; background: #fff; overflow: hidden; }
.kk-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.kk-card:hover .kk-card-media img { transform: scale(1.07); }
@media (hover: none) { .kk-card:hover .kk-card-media img { transform: none; } }
.kk-card.is-out .kk-card-media img { opacity: .45; filter: grayscale(.7); }

/* ---- the clip playing on a tile ----
   The player lies over the photograph and fades in once it has a picture to
   show, so the tile never flashes black. It takes no clicks of its own: the
   tile is a link to the case, and tapping the film opens the case's page
   just as tapping a photograph does. */
.kk-clip {
  position: absolute; inset: 0; z-index: 1; background: #000;
  pointer-events: none; opacity: 0; transition: opacity .45s ease;
}
.kk-card-media.is-playing .kk-clip { opacity: 1; }
/* Cropped to fill the tile rather than letterboxed inside it — upright for
   a Short, and across for a clip filmed the wide way. The extra eighth of
   scale pushes YouTube's own strip of chrome, which carries the name of the
   channel the clip was uploaded to, outside the tile altogether. */
.kk-clip iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.12);
  border: 0; height: 100%; width: auto; aspect-ratio: 16/9;
}
.kk-card-media[data-tall] .kk-clip iframe { width: 100%; height: auto; aspect-ratio: 9/16; }
/* What the clip is, in the shop's own words ("In hand", "MagSafe"). */
.kk-clip-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 20px);
  background: rgba(14,12,22,.6); color: #fff; backdrop-filter: blur(6px);
  border-radius: 999px; padding: 4px 10px 4px 8px;
  font-size: 11px; font-weight: 600; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kk-clip-tag::before {
  content: ''; flex: none; width: 0; height: 0;
  border: 5px solid transparent; border-left-color: #fff; border-right-width: 0;
  margin-left: 2px;
}
/* A pre-order tile already has a bar along its bottom edge. */
.kk-card-media:has(.kk-flag) .kk-clip-tag { bottom: 40px; }

/* The discount, loud, top-left — the thing shoppers on the shop's own site
   look for first. A rectangle, not a pill. */
.kk-off {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--kk-red); color: #fff; border-radius: 6px;
  font-family: Poppins, sans-serif; font-size: 11.5px; font-weight: 700;
  padding: 4px 8px;
}
.kk-flag {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(14,12,22,.86); color: #fff; text-align: center;
  font-size: 11.5px; font-weight: 600; padding: 7px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kk-share {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 32px; height: 32px; border-radius: 999px; border: none;
  background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.14);
}
.kk-share svg { width: 15px; height: 15px; fill: var(--kk-ink); }

.kk-card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.kk-cat {
  align-self: flex-start; background: var(--kk-purple-soft); color: var(--kk-purple-ink);
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px;
}
.kk-card-name {
  font-family: Poppins, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.kk-fits { font-size: 11.5px; color: var(--kk-ink-3); margin-bottom: auto; }
.kk-rate { font-size: 11.5px; color: var(--kk-ink-3); display: flex; align-items: center; gap: 5px; }
.kk-rate i { font-style: normal; color: #f0a500; letter-spacing: .5px; }
.kk-prices { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.kk-was { font-size: 13px; color: var(--kk-ink-3); text-decoration: line-through; }
.kk-now { font-family: Poppins, sans-serif; font-size: 19px; font-weight: 700; color: var(--kk-purple); }
.kk-add {
  width: 100%; margin-top: 4px; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--kk-purple); background: #fff; color: var(--kk-ink);
  font-family: Poppins, sans-serif; font-size: 13.5px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease, color .15s ease;
}
.kk-add:hover { background: var(--kk-purple); color: #fff; }
.kk-add:disabled { border-color: var(--kk-line); color: var(--kk-ink-3); background: var(--surface-2); cursor: not-allowed; }
.kk-add svg { width: 15px; height: 15px; fill: currentColor; }

.kk-empty { text-align: center; padding: 60px 20px; }
.kk-empty strong { display: block; font-family: Poppins, sans-serif; font-size: 19px; margin-bottom: 6px; }
.kk-empty p { margin: 0 0 18px; color: var(--kk-ink-2); }
.kk-more-wrap { display: flex; justify-content: center; padding: 30px 0 10px; }

/* ---- promo banners ---- */
.kk-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.kk-promo {
  border-radius: 18px; padding: 34px 36px; min-height: 190px;
  display: flex; align-items: center; color: #fff; position: relative; overflow: hidden;
  transition: transform .2s ease;
}
.kk-promo:hover { transform: translateY(-3px); }
.kk-promo strong { display: block; font-family: Poppins, sans-serif; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.15; }
.kk-promo-a { background: linear-gradient(118deg, #1b1340 0%, #4b23b8 52%, #7135f5 100%); }
.kk-promo-a ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.kk-promo-a li { font-size: 12.5px; opacity: .9; position: relative; padding-left: 18px; }
.kk-promo-a li::before { content: "✦"; position: absolute; left: 0; opacity: .8; }
.kk-promo-b { background: linear-gradient(118deg, #7135f5 0%, #a05cf7 58%, #d9b8ff 100%); }
.kk-promo-b span { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; opacity: .85; }
.kk-promo-b strong { margin-top: 8px; }
.kk-promo-b em { display: block; margin-top: 14px; font-style: normal; font-weight: 600; font-size: 14px; }

/* ---- the four promises ---- */
.kk-trust { background: var(--kk-blue); margin-top: 46px; padding: 30px 0; }
.kk-trust .kk-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kk-trust-i { display: flex; align-items: center; gap: 13px; }
.kk-trust-i > span { font-size: 27px; line-height: 1; flex: none; }
.kk-trust-i b { display: block; font-family: Poppins, sans-serif; font-size: 14.5px; font-weight: 700; }
.kk-trust-i i { font-style: normal; font-size: 12.5px; color: var(--kk-ink-2); }

/* ---- footer ---- */
.kk-foot { background: var(--kk-blue); margin-top: 60px; padding: 52px 0 0; }
.kk-foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 34px; }
.kk-foot h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.kk-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.kk-foot ul a { font-size: 14px; color: var(--kk-ink-2); }
.kk-foot ul a:hover { color: var(--kk-purple); }
.kk-foot-brand img { height: 38px; width: auto; object-fit: contain; margin-bottom: 16px; }
.kk-foot-brand p { margin: 0 0 6px; font-size: 14px; color: var(--kk-ink-2); }
.kk-foot-follow { margin-top: 18px !important; font-weight: 600; color: var(--kk-ink) !important; }
.kk-socials { display: flex; gap: 10px; margin-top: 10px; }
.kk-socials a {
  width: 38px; height: 38px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; border: 1px solid var(--kk-line);
  transition: background .15s, border-color .15s;
}
.kk-socials a:hover { background: var(--kk-purple); border-color: var(--kk-purple); }
.kk-socials svg { width: 17px; height: 17px; fill: var(--kk-ink); }
.kk-socials a:hover svg { fill: #fff; }

.kk-foot-sub p { margin: 0 0 14px; font-size: 13.5px; color: var(--kk-ink-2); }
.kk-foot-sub label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }
.kk-foot-sub input {
  width: 100%; font-size: 16px; padding: 10px 14px; margin-bottom: 12px;
  border: 1px solid var(--kk-line); border-radius: 10px; background: #fff;
}
.kk-foot-sub input:focus { outline: none; border-color: var(--kk-purple); }
.kk-sub-note { display: block; margin-top: 10px; font-size: 13px; color: var(--good); }
.kk-sub-note.is-bad { color: var(--kk-red); }

.kk-foot-bar { margin-top: 44px; border-top: 1px solid rgba(17,17,17,.08); padding: 18px 0; }
.kk-foot-bar .kk-wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--kk-ink-2); }

/* ---- narrower screens ---- */
@media (max-width: 1100px) {
  .kk-grid { grid-template-columns: repeat(3, 1fr); }
  .kk-foot-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  /* The menu leaves the bar and drops below it, so the logo and the basket
     keep the full width they need. Both are pinned to row 1 — without that
     the menu, which comes first in the markup, takes row 2 and pushes the
     search and basket down to row 3 whenever it is open. */
  .kk-head-in { grid-template-columns: auto 1fr; }
  .kk-logo { grid-row: 1; grid-column: 1; }
  .kk-head-right { grid-row: 1; grid-column: 2; }
  .kk-burger { display: flex; }
  .kk-nav {
    grid-row: 2; grid-column: 1 / -1; display: none; flex-direction: column; align-items: stretch;
    gap: 0; border-top: 1px solid var(--kk-line); margin-top: 12px; padding-top: 6px;
  }
  .kk-nav.is-open { display: flex; }
  .kk-nav a { padding: 12px 2px; border-bottom: 1px solid var(--kk-line); }
  .kk-nav a.is-on { border-bottom-color: var(--kk-line); }
  /* A page with no burger to open it (the case's own page) keeps its menu
     on show as a row that scrolls sideways, rather than losing it. */
  .kk-nav-inline {
    display: flex; flex-direction: row; gap: 18px; margin-top: 10px; padding-top: 8px;
    overflow-x: auto; scrollbar-width: none;
    /* Not centred: a centred flex row that overflows is clipped at BOTH
       ends, and the part off the left edge cannot be scrolled back to —
       "HOME" was permanently cut in half. */
    justify-content: flex-start;
  }
  .kk-nav-inline::-webkit-scrollbar { display: none; }
  .kk-nav-inline a { padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .kk-nav-inline a.is-on { border-bottom-color: var(--kk-purple); }
  .kk-promos { grid-template-columns: 1fr; }
  .kk-trust .kk-wrap { grid-template-columns: 1fr 1fr; }
  /* Stacked: the words first, the cases under them. Side by side at 900px
     the headline wraps after two words.
     `width: 100%` is load-bearing — every case in the fan is absolutely
     positioned, so with `margin: 0 auto` alone the grid sizes this box to
     its content, which is nothing, and the fan vanishes. */
  .kk-hero-in { grid-template-columns: 1fr; gap: 18px; }
  .kk-hero-art { height: 300px; width: 100%; max-width: 420px; margin: 0 auto; }
  .kk-hero-trust { gap: 22px; margin-top: 26px; }
}
@media (max-width: 680px) {
  .kk-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .kk-sec { padding: 36px 0 6px; }
  .kk-sec-head { gap: 14px; margin-bottom: 18px; }
  .kk-sec-cta, .kk-sorts select { margin-left: 0; }
  .kk-count b { min-width: 40px; font-size: 17px; }
  .kk-card-name { font-size: 13px; }
  .kk-now { font-size: 17px; }
  .kk-add { padding: 10px; font-size: 12.5px; }
  .kk-foot-cols { grid-template-columns: 1fr; }
  .kk-trust .kk-wrap { grid-template-columns: 1fr; gap: 14px; }
  .kk-promo { padding: 26px 24px; min-height: 0; }
  .kk-logo img { height: 32px; }
  .kk-hero-cta { gap: 10px; }
  .kk-hero-cta .kk-btn { flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: 14px; }
  .kk-hero-trust b { font-size: 22px; }
  .kk-hero-art { height: 250px; }
}
/* iPhones zoom into any box under 16px when it is tapped, and the zoomed
   page then slides sideways. */
@media (max-width: 900px), (hover: none) {
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
}
