/* Hallmark · component: Flash Sale to category transition · genre: ecommerce catalogue
 * theme: KingSport locked system · pre-emit critique: P5 H5 E5 S5 R5 V5
 * correction: one quiet surface rhythm, no stacked outer elevation.
 */
.ks3-showcase {
      --bg: #f4f4f4;
      --surface: #fff;
      --surface-warm: #f8f3f2;
      --surface-tech: #f1f3f4;
      --fg: #202124;
      --fg-2: #3b3d40;
      --muted: #62666b;
      --meta: #767b82;
      --border: #d8dade;
      --border-soft: #e7e8ea;
      --accent: #cc2338;
      --accent-on: #fff;
      --accent-hover: #a81d2e;
      --accent-active: #7a1220;
      --success: #16794b;
      --warn: #a96600;
      --danger: #b4232d;
      --font-display: "SVN-WalsheimPro", "Avenir Next", "Segoe UI", sans-serif;
      --font-body: "SVN-WalsheimPro", "Avenir Next", "Segoe UI", sans-serif;
      --font-mono: ui-monospace, "SF Mono", Consolas, monospace;
      --space-1: 4px;
      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-5: 20px;
      --space-6: 24px;
      --space-8: 32px;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-pill: 9999px;
      --focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 62%);
      --ease-out: cubic-bezier(.23, 1, .32, 1);
      --motion-fast: 150ms;
      --motion-base: 200ms;
    }

.ks3-showcase {
  --ks3-inner-gutter: max(16px, calc((100% - 1200px) / 2 + 16px));
  position: relative;
  left: calc((min(100vw, var(--home-layout-max)) / 2) - var(--home-rail) - var(--space-2));
  width: min(calc(100vw - 32px), 1440px);
  margin: 24px 0 0;
  padding: 0 0 42px;
  color: var(--fg);
  font-family: var(--font-body);
  transform: translateX(-50%);
}
.ks3-showcase, .ks3-showcase * { box-sizing: border-box; }
.ks3-showcase button, .ks3-showcase a { font: inherit; }
.ks3-showcase button { cursor: pointer; }
.ks3-showcase img { max-width: 100%; }

.ks3-industry-list { display: grid; gap: 34px; }
    .ks3-industry-section {
      overflow: hidden;
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-lg);
      background: var(--surface);
      box-shadow: none;
    }
    .ks3-campaign-banner {
      display: grid;
      height: 204px;
      min-height: 204px;
      grid-template-columns: 42% minmax(0, 1fr);
      overflow: hidden;
      margin: 16px var(--ks3-inner-gutter) 0;
      border-radius: var(--radius-md);
      background: #2b1918;
      color: var(--accent-on);
      box-shadow: 0 1px 2px rgb(32 33 36 / .05);
    }
    .ks3-campaign-banner[data-tone="light"] { background: #f1ece7; color: var(--fg); }
    .ks3-campaign-copy {
      position: relative;
      z-index: 1;
      display: grid;
      align-content: center;
      gap: 6px;
      padding: 20px 32px;
      background: linear-gradient(115deg, color-mix(in oklab, currentColor, transparent 90%), transparent 72%);
    }
    .ks3-campaign-kicker { color: #f3c6be; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
    [data-tone="light"] .ks3-campaign-kicker { color: var(--accent); }
    .ks3-campaign-copy h2 { max-width: 17ch; margin: 0; font-family: var(--font-display); font-size: 27px; font-weight: 780; letter-spacing: -.025em; line-height: 1.06; }
    .ks3-campaign-copy p { max-width: 43ch; margin: 0; color: color-mix(in oklab, currentColor, transparent 20%); font-size: 13px; line-height: 1.45; }
    .ks3-campaign-cue { display: inline-flex; width: max-content; min-height: 30px; align-items: center; margin-top: 4px; padding: 0 12px; border: 1px solid color-mix(in oklab, currentColor, transparent 65%); border-radius: var(--radius-sm); color: currentColor; font-size: 11px; font-weight: 750; }
    .ks3-campaign-art { position: relative; min-width: 0; overflow: hidden; }
    .ks3-campaign-art::after { position: absolute; inset: 0; background: linear-gradient(90deg, #2b1918 0, transparent 25%); content: ""; pointer-events: none; }
    [data-tone="light"] .ks3-campaign-art::after { background: linear-gradient(90deg, #f1ece7 0, transparent 25%); }
    .ks3-campaign-art img { display: block; width: 100%; height: 204px; object-fit: cover; object-position: right center; transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out); }
    .ks3-campaign-banner.ks3-is-changing .ks3-campaign-art img { opacity: .18; transform: scale(1.01); }

    .ks3-industry-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px var(--ks3-inner-gutter) 0; }
    .ks3-industry-title { margin: 0; font-family: var(--font-display); font-size: 24px; letter-spacing: -.025em; line-height: 1.1; }
    .ks3-industry-link { color: var(--accent); font-size: 11px; font-weight: 800; text-decoration: none; }
    .ks3-industry-link:hover { color: var(--accent-hover); }
    .ks3-subcategory-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 14px var(--ks3-inner-gutter) 16px; }
    .ks3-subcategory-tab {
      min-height: 34px;
      padding: 6px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      background: var(--surface);
      color: var(--fg-2);
      font-size: 11px;
      font-weight: 750;
      transition: background var(--motion-base) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
    }
    .ks3-subcategory-tab:hover { border-color: color-mix(in oklab, var(--border), var(--accent) 40%); color: var(--accent); }
    .ks3-subcategory-tab:active { background: var(--surface-warm); }
    .ks3-subcategory-tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-on); box-shadow: 0 5px 14px rgb(204 35 56 / .2); }
    .ks3-subcategory-tab:focus-visible { outline: 0; box-shadow: var(--focus-ring); }

    .ks3-product-panel { position: relative; padding: 0 var(--ks3-inner-gutter) 18px; }
    .ks3-product-panel.ks3-is-changing .ks3-product-grid { opacity: 0; transform: translateY(5px); }
    .ks3-product-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 12px;
      opacity: 1;
      transform: translateY(0);
      transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out);
    }

    .ks3-product-card {
      position: relative;
      display: grid;
      min-width: 0;
      min-height: 450px;
      grid-template-rows: 144px 68px 70px 1fr auto;
      overflow: hidden;
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-md);
      background: var(--surface);
      color: var(--fg);
      text-decoration: none;
      box-shadow: 0 3px 10px rgb(32 33 36 / .06);
      transition: border-color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
    }
    .ks3-product-card:hover { border-color: color-mix(in oklab, var(--border), var(--accent) 18%); box-shadow: 0 12px 26px rgb(32 33 36 / .11); transform: translateY(-2px); }
    .ks3-product-card:active { transform: translateY(0); }
    .ks3-product-card:focus-visible { position: relative; z-index: 2; outline: 3px solid var(--accent); outline-offset: 2px; }
    .ks3-product-card[data-state="disabled"] { pointer-events: none; opacity: .5; }
    .ks3-product-card[data-state="loading"] .ks3-product-image { opacity: .45; }
    .ks3-product-card[data-state="error"] { border-color: var(--danger); }
    .ks3-product-card[data-state="success"] { border-color: var(--success); }

    .ks3-product-media-badge {
      position: absolute;
      z-index: 3;
      top: 9px;
      left: 9px;
      display: inline-flex;
      max-width: calc(100% - 18px);
      min-height: 25px;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border: 1px solid rgb(255 255 255 / .38);
      border-radius: 7px;
      background: linear-gradient(135deg, var(--accent-active), var(--accent));
      color: var(--accent-on);
      font-size: 9px;
      font-weight: 850;
      line-height: 1.1;
      white-space: nowrap;
      box-shadow: 0 6px 14px rgb(122 18 32 / .22);
    }
    .ks3-product-media-badge.ks3-is-gift { padding: 3px 8px 3px 4px; }
    .ks3-product-media-badge.ks3-is-gift span { display: inline-grid; min-width: 31px; min-height: 19px; place-items: center; border-radius: 5px; background: rgb(255 255 255 / .96); color: var(--accent-active); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
    .ks3-product-media-badge.ks3-is-gift strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; }
    .ks3-product-media { position: relative; display: grid; place-items: center; padding: 13px 14px 4px; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, #fafafa 100%); }
    .ks3-product-media::after { position: absolute; right: 17%; bottom: 9px; left: 17%; height: 10px; border-radius: 50%; background: rgb(32 33 36 / .09); content: ""; filter: blur(7px); }
    .ks3-product-image { position: relative; z-index: 1; display: block; width: 100%; height: 132px; object-fit: contain; transition: opacity var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out); }
    .ks3-product-card:hover .ks3-product-image { transform: translateY(-2px); }

    .ks3-product-identity { min-width: 0; height: 68px; padding: 8px 12px 0; overflow: hidden; }
    .ks3-product-family { display: block; margin-bottom: 3px; color: var(--meta); font-size: 9px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
    .ks3-product-name { display: -webkit-box; min-height: 34px; overflow: hidden; font-size: 13px; font-weight: 800; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

    .ks3-commerce-block { height: 70px; padding: 8px 12px 10px; overflow: hidden; }
    .ks3-price-line { display: flex; min-width: 0; align-items: baseline; gap: 6px; }
    .ks3-price { color: var(--accent-active); font-family: var(--font-display); font-size: 21px; font-variant-numeric: tabular-nums; font-weight: 850; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
    .ks3-old-price { overflow: hidden; color: var(--meta); font-size: 9px; text-decoration: line-through; text-overflow: ellipsis; white-space: nowrap; }
    .ks3-installment { display: block; margin-top: 6px; color: var(--fg-2); font-size: 10px; font-weight: 700; line-height: 1.25; }

    .ks3-technology-proof {
      position: relative;
      display: grid;
      align-content: start;
      gap: 5px;
      margin: 0 12px;
      padding: 10px 10px 9px 13px;
      border-top: 1px solid #d5d8db;
      border-bottom: 1px solid #dfe1e3;
      background: linear-gradient(90deg, var(--surface-tech), #fafafa);
    }
    .ks3-technology-proof::before { position: absolute; top: 10px; bottom: 10px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--fg-2); content: ""; }
    .ks3-technology-label { display: flex; align-items: center; gap: 6px; color: var(--meta); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .ks3-technology-label svg { width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .ks3-technology-name { color: var(--fg); font-size: 12px; font-weight: 850; line-height: 1.2; }
    .ks3-technology-benefit { color: var(--muted); font-size: 9px; line-height: 1.35; }
    .ks3-tech-chips { display: flex; min-width: 0; align-items: center; overflow: hidden; color: var(--fg-2); }
    .ks3-tech-chip { overflow: hidden; padding: 0; border: 0; background: transparent; color: inherit; font-size: 8px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
    .ks3-tech-chip + .ks3-tech-chip::before { margin: 0 5px; color: var(--meta); content: "/"; }

    .ks3-trust-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 12px 12px; }
    .ks3-trust-cue { display: flex; min-width: 0; align-items: center; gap: 6px; color: var(--success); font-size: 9px; font-weight: 750; line-height: 1.2; }
    .ks3-trust-cue::before { width: 7px; height: 7px; flex: 0 0 auto; border: 2px solid color-mix(in oklab, var(--success), transparent 55%); border-radius: 50%; background: var(--success); content: ""; }
    .ks3-card-action { display: inline-flex; min-height: 28px; align-items: center; gap: 4px; color: var(--accent); font-size: 9px; font-weight: 850; white-space: nowrap; }
    .ks3-card-action svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform var(--motion-fast) var(--ease-out); }
    .ks3-product-card:hover .ks3-card-action svg { transform: translateX(2px); }

    .ks3-preview-footnote { display: flex; justify-content: space-between; gap: 20px; margin: 13px 2px 0; color: var(--meta); font-size: 9px; line-height: 1.45; }
    .ks3-preview-footnote p { margin: 0; }
    .ks3-preview-footnote strong { color: var(--fg-2); }
    .ks3-live-region { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

    @media (max-width: 1210px) {
      .ks3-product-grid { gap: 9px; }
      .ks3-product-card { min-height: 448px; }
      .ks3-price { font-size: 19px; }
      .ks3-campaign-copy { padding-inline: 24px; }
    }
    @media (max-width: 768px) {
      .ks3-showcase { display: none; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ks3-showcase *, .ks3-showcase *::before, .ks3-showcase *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
      .ks3-product-card:hover, .ks3-product-card:hover .ks3-product-image { transform: none; }
    }

/* Continuous catalogue rhythm: categories stay on the page surface, while
 * each product keeps the approved Option B Technology-led card treatment. */
.ks3-showcase {
  margin-top: 0;
  padding: 34px 0 48px;
  background: transparent;
}

.ks3-industry-list { gap: 0; }

.ks3-industry-section {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ks3-industry-section + .ks3-industry-section { margin-top: 56px; }

.ks3-campaign-banner { margin-top: 0; }

.ks3-product-grid { gap: 12px; }

/* Option E final: one calm card system, adapted to each category journey. */
.ks3-control-dock-v2 {
  --ks3-card-red: #cc2338;
  --ks3-card-red-hover: #a81d2e;
  --ks3-card-ink: #202124;
  --ks3-card-ink-2: #4c5055;
  --ks3-card-muted: #767b82;
  --ks3-card-paper: #fff;
  --ks3-card-quiet: #f1f3f4;
  --ks3-card-line: #e7e8ea;
}

.ks3-control-dock-v2 .ks3-product-grid { align-items: stretch; }

.ks3-control-dock-v2 .ks3-product-card {
  min-height: 458px;
  grid-template-rows: 148px 68px 82px minmax(0, 1fr) auto;
  border: 1px solid var(--ks3-card-line);
  border-radius: 8px;
  background: var(--ks3-card-paper);
  color: var(--ks3-card-ink);
  box-shadow: 0 4px 12px rgb(32 33 36 / .075);
  transition:
    border-color 180ms cubic-bezier(.23, 1, .32, 1),
    box-shadow 180ms cubic-bezier(.23, 1, .32, 1),
    transform 180ms cubic-bezier(.23, 1, .32, 1);
}

.ks3-control-dock-v2 .ks3-product-card:hover,
.ks3-control-dock-v2 .ks3-product-card:focus-visible {
  border-color: var(--ks3-card-red);
  box-shadow:
    inset 0 2px 0 var(--ks3-card-red),
    0 12px 24px rgb(32 33 36 / .13);
}

.ks3-control-dock-v2 .ks3-product-card:focus-visible {
  outline: 2px solid var(--ks3-card-red);
  outline-offset: 3px;
}

.ks3-control-dock-v2 .ks3-product-media { background: var(--ks3-card-paper); }
.ks3-control-dock-v2 .ks3-product-media-badge { display: none; }

.ks3-control-dock-v2 .ks3-product-media-badge.ks3-is-gift {
  display: inline-flex;
  overflow: hidden;
  min-height: 25px;
  gap: 6px;
  padding: 3px 8px 3px 4px;
  border-color: rgb(167 11 24 / .42);
  border-radius: 6px;
  background: linear-gradient(110deg, #d9081d, #a70b18);
  color: #fff;
  box-shadow: 0 3px 8px rgb(89 3 10 / .2);
}

.ks3-control-dock-v2 .ks3-product-media-badge.ks3-is-gift::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 18%,
    rgb(255 255 255 / .15) 36%,
    rgb(255 255 255 / .88) 50%,
    rgb(255 255 255 / .15) 64%,
    transparent 82%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-135%);
  animation: ks3-gift-sweep 3.2s cubic-bezier(.23, 1, .32, 1) infinite;
}

.ks3-control-dock-v2 .ks3-product-media-badge.ks3-is-gift span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  min-width: 31px;
  min-height: 19px;
  place-items: center;
  border-radius: 4px;
  background: #fff;
  color: #a70b18;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ks3-control-dock-v2 .ks3-product-media-badge.ks3-is-gift strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 9px;
  letter-spacing: .01em;
  text-transform: none;
}

@keyframes ks3-gift-sweep {
  0%, 58% { transform: translateX(-135%); }
  82%, 100% { transform: translateX(135%); }
}

.ks3-control-dock-v2 .ks3-product-family,
.ks3-control-dock-v2 .ks3-old-price,
.ks3-control-dock-v2 .ks3-technology-label { color: var(--ks3-card-muted); }

.ks3-control-dock-v2 .ks3-product-name,
.ks3-control-dock-v2 .ks3-technology-name { color: var(--ks3-card-ink); }

.ks3-control-dock-v2 .ks3-price,
.ks3-control-dock-v2 .ks3-card-action,
.ks3-control-dock-v2 .ks3-technology-label svg {
  color: var(--ks3-card-red);
  stroke: var(--ks3-card-red);
}

.ks3-control-dock-v2 .ks3-commerce-block {
  height: 82px;
  padding-top: 9px;
}

.ks3-control-dock-v2 .ks3-installment {
  margin-top: 7px;
  color: var(--ks3-card-ink-2);
  font-size: 10px;
  line-height: 1.3;
}

.ks3-control-dock-v2 .ks3-technology-proof {
  min-height: 0;
  margin-inline: 12px;
  border: 1px solid var(--ks3-card-line);
  border-radius: 6px;
  background: var(--ks3-card-quiet);
  color: var(--ks3-card-ink);
}

.ks3-control-dock-v2 .ks3-technology-proof::before { background: var(--ks3-card-ink-2); }

.ks3-control-dock-v2 .ks3-technology-benefit,
.ks3-control-dock-v2 .ks3-tech-chips,
.ks3-control-dock-v2 .ks3-trust-cue { color: var(--ks3-card-ink-2); }

.ks3-control-dock-v2 .ks3-technology-benefit { font-size: 10px; }
.ks3-control-dock-v2 .ks3-tech-chip { font-size: 9px; }

.ks3-control-dock-v2 .ks3-trust-footer {
  min-height: 50px;
  padding-top: 9px;
}

.ks3-control-dock-v2 .ks3-trust-cue {
  font-size: 10px;
  font-weight: 750;
}

.ks3-control-dock-v2 .ks3-trust-cue::before {
  border-color: rgb(204 35 56 / .36);
  background: var(--ks3-card-red);
}

.ks3-control-dock-v2 .ks3-card-action { font-weight: 850; }

.ks3-control-dock-v2 [data-industry] .ks3-technology-proof {
  border-top-color: rgb(204 35 56 / .32);
}

@media (prefers-reduced-motion: reduce) {
  .ks3-control-dock-v2 .ks3-product-card,
  .ks3-control-dock-v2 .ks3-product-image,
  .ks3-control-dock-v2 .ks3-card-action svg { transition: none; }
  .ks3-control-dock-v2 .ks3-product-media-badge.ks3-is-gift::after { animation: none; }
}

@media (max-width: 1210px) {
  .ks3-control-dock-v2 .ks3-product-card { min-height: 458px; }
}
