/* HURTNARZEDZIA.PL — Design System 1.0
   Intended for Kadence / Kadence Blocks / child theme / custom plugin.
*/

:root {
  --hn-yellow: #F7C600;
  --hn-yellow-hover: #D9A900;
  --hn-black: #111111;
  --hn-graphite: #222222;
  --hn-white: #FFFFFF;
  --hn-off-white: #F3F3F1;

  --hn-ai: #6C4DFF;
  --hn-ai-dark: #5638E8;
  --hn-ai-soft: #F1EDFF;
  --hn-ai-border: #D9D0FF;

  --hn-success: #168A4A;
  --hn-success-soft: #EAF7F0;
  --hn-warning: #B86B00;
  --hn-warning-soft: #FFF4DF;
  --hn-error: #C62828;
  --hn-error-soft: #FDECEC;
  --hn-info: #1769AA;
  --hn-info-soft: #EAF4FC;

  --hn-border: #E2E2DE;
  --hn-border-strong: #CFCFC9;

  --hn-radius-sm: 6px;
  --hn-radius-md: 10px;
  --hn-radius-lg: 16px;
  --hn-radius-xl: 24px;
  --hn-radius-pill: 999px;

  --hn-shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --hn-shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --hn-shadow-lg: 0 20px 50px rgba(0,0,0,.14);

  --hn-content: 1280px;
  --hn-wide: 1440px;
  --hn-reading: 760px;
}

/* Kadence palette aliases */
:root {
  --global-palette1: var(--hn-yellow);
  --global-palette2: var(--hn-yellow-hover);
  --global-palette3: var(--hn-black);
  --global-palette4: var(--hn-graphite);
  --global-palette5: #5B5B5B;
  --global-palette6: #777777;
  --global-palette7: var(--hn-off-white);
  --global-palette8: #FAFAF8;
  --global-palette9: var(--hn-white);
}

body,
h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  color: var(--hn-graphite);
  background: var(--hn-white);
}

/* Kadence maps plain-text links to global palette1 (brand yellow) by default —
   too low-contrast for body copy. Yellow stays reserved for CTA backgrounds. */
a {
  color: var(--hn-black);
}

a:hover,
a:focus {
  color: var(--hn-yellow-hover);
}

/* Buttons */
.hn-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button.hn-btn {
  border-radius: var(--hn-radius-md);
  font-weight: 600;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.hn-btn-primary {
  background: var(--hn-yellow);
  color: var(--hn-black);
}

.hn-btn-primary:hover {
  background: var(--hn-yellow-hover);
  transform: translateY(-1px);
  box-shadow: var(--hn-shadow-sm);
}

.hn-btn-dark {
  background: var(--hn-black);
  color: var(--hn-white);
}

.hn-btn-dark:hover {
  background: var(--hn-graphite);
}

.hn-btn-ai {
  background: var(--hn-ai);
  color: var(--hn-white);
}

.hn-btn-ai:hover {
  background: var(--hn-ai-dark);
}

/* Cards */
.hn-card {
  background: var(--hn-white);
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius-lg);
  box-shadow: var(--hn-shadow-sm);
}

.hn-card-dark {
  background: var(--hn-black);
  color: var(--hn-white);
  border-color: #333;
}

.hn-card-ai {
  background: var(--hn-ai-soft);
  border: 1px solid var(--hn-ai-border);
  border-radius: var(--hn-radius-lg);
}

/* AI layer */
.hn-ai {
  color: var(--hn-ai);
}

.hn-ai-panel {
  background: var(--hn-black);
  color: var(--hn-white);
  border-radius: var(--hn-radius-lg);
}

.hn-ai-panel .hn-ai-accent {
  color: var(--hn-ai);
}

/* Commerce */
.hn-price {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--hn-black);
}

.hn-sku {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  color: #777;
}

.hn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--hn-radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.hn-badge-sale { background: var(--hn-yellow); color: var(--hn-black); }
.hn-badge-success { background: var(--hn-success-soft); color: var(--hn-success); }
.hn-badge-warning { background: var(--hn-warning-soft); color: var(--hn-warning); }
.hn-badge-error { background: var(--hn-error-soft); color: var(--hn-error); }
.hn-badge-ai { background: var(--hn-ai-soft); color: var(--hn-ai); }

/* Search Command Center */
.hn-search-command {
  background: var(--hn-black);
  color: var(--hn-white);
  border-radius: var(--hn-radius-xl);
  padding: 24px;
}

.hn-search-command input {
  min-height: 58px;
  border-radius: var(--hn-radius-md);
  border: 1px solid #444;
  background: #1D1D1D;
  color: var(--hn-white);
}

/* Task Commerce */
.hn-task-card {
  background: var(--hn-white);
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius-lg);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hn-task-card:hover {
  transform: translateY(-2px);
  border-color: var(--hn-yellow);
  box-shadow: var(--hn-shadow-md);
}

/* Typography scale — z 04_DESIGN_TOKENS/typography.json */
.hn-display { font-size: 42px; line-height: 1.02; font-weight: 700; letter-spacing: -.01em; }
.hn-h1 { font-size: 38px; line-height: 1.08; font-weight: 700; }
.hn-h2 { font-size: 32px; line-height: 1.12; font-weight: 700; }
.hn-h3 { font-size: 24px; line-height: 1.18; font-weight: 700; }
.hn-body-lg { font-size: 17px; line-height: 1.5; }
.hn-accent { color: var(--hn-yellow-hover); }
.hn-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: 13px;
  color: var(--hn-yellow-hover);
  margin: 0 0 12px;
}
@media (min-width: 782px) {
  .hn-display { font-size: 64px; }
  .hn-h1 { font-size: 52px; }
  .hn-h2 { font-size: 40px; }
  .hn-h3 { font-size: 28px; }
  .hn-body-lg { font-size: 18px; }
}

/* Layout — z 04_DESIGN_TOKENS/design-tokens.json (layout) */
.hn-container {
  max-width: var(--hn-content);
  margin: 0 auto;
  padding: 0 24px;
}
.hn-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (min-width: 782px) {
  .hn-section { padding-top: 96px; padding-bottom: 96px; }
}
.hn-section-dark {
  background: var(--hn-black);
  color: var(--hn-white);
}
.hn-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Ikony inline SVG (zastępują emoji, które nie renderowały się na serwerze) */
.hn-icon { width: 28px; height: 28px; display: inline-block; vertical-align: middle; }
.hn-icon-sm { width: 16px; height: 16px; }

/* Domyślny header Kadence — zastąpiony przez .hn-header (wp_body_open hook) */
#masthead { display: none; }

/* Domyślny page-title Kadence — strony WooCommerce (koszyk/kasa/konto) mają własny H1 w szablonie */
body.woocommerce-cart .entry-header.page-title,
body.woocommerce-checkout .entry-header.page-title,
body.woocommerce-account .entry-header.page-title { display: none; }
body.woocommerce-cart .entry-content-wrap,
body.woocommerce-checkout .entry-content-wrap,
body.woocommerce-account .entry-content-wrap { padding-top: 0; }

/* Własny header — jeden rząd: logo / menu / wyszukiwarka-ikona / konto / koszyk */
.hn-header { background: var(--hn-white); border-bottom: 1px solid var(--hn-border); }
.hn-header__row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
  flex-wrap: wrap;
}
.hn-header__logo {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--hn-black);
  text-decoration: none;
  flex: none;
}
.hn-header__logo small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #999;
}
.hn-header__nav { flex: 1; }
.hn-header__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.hn-header__menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hn-graphite);
  text-decoration: none;
  border-radius: var(--hn-radius-sm);
}
.hn-header__menu a:hover,
.hn-header__menu .current-menu-item a { color: var(--hn-black); background: var(--hn-off-white); }

.hn-header__actions { display: flex; align-items: center; gap: 18px; flex: none; position: relative; }
.hn-search-toggle { position: absolute; opacity: 0; pointer-events: none; }
.hn-header__search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hn-black);
  color: var(--hn-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.hn-header__search-btn .hn-icon { width: 18px; height: 18px; }
.hn-header__search-expand {
  max-width: 0;
  overflow: hidden;
  transition: max-width .25s ease;
}
.hn-search-toggle:checked ~ .hn-header__search-expand { max-width: 240px; margin-right: 4px; }
.hn-header__search-expand input {
  width: 220px;
  min-height: 40px;
  border: 1px solid var(--hn-border-strong);
  border-radius: var(--hn-radius-md);
  padding: 0 12px;
  font-size: 13px;
  background: var(--hn-off-white);
}

.hn-header__action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hn-black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.hn-header__action .hn-icon { width: 22px; height: 22px; flex: none; }
.hn-header__action small { font-weight: 500; color: #888; font-size: 11px; }
@media (max-width: 1100px) {
  .hn-header__nav { display: none; }
}

/* Top utility bar — wp_body_open, sitewide */
.hn-topbar {
  background: var(--hn-black);
  color: #ccc;
  font-size: 12px;
}
.hn-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}
.hn-topbar__left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hn-topbar__left span { display: inline-flex; align-items: center; gap: 6px; }
.hn-topbar .hn-icon-sm { width: 14px; height: 14px; }
.hn-topbar__sep { width: 1px; height: 12px; background: #444; }
.hn-topbar__right strong { color: var(--hn-yellow); }
@media (max-width: 900px) {
  .hn-topbar__left span:nth-child(n+5) { display: none; }
}

/* Homepage — sekcje wg master brief sekcja 36 */
/* Hero dokładnie wg 07_MOCKUPS: tło CAŁEJ sekcji białe (nie ciemne, nie pełne
   zdjęcie za tekstem) — zdjęcie wtopione tylko z prawej strony, z miękkim
   przejściem do bieli (maska, nie twarda krawędź/box), panel AI jasny,
   pływający nad zdjęciem. Zero wizualnego "podziału na kolumny". */
.hn-hero {
  position: relative;
  max-width: var(--hn-content);
  margin: 0 auto;
  padding: 56px 24px 64px;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--hn-white);
  overflow: hidden;
}
.hn-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  background-size: cover;
  background-position: 82% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, black 32%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, black 32%);
}
@media (max-width: 900px) {
  .hn-hero__photo { display: none; }
}
.hn-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 480px;
}
.hn-hero__copy { max-width: 780px; padding-top: 8px; }
.hn-hero__title {
  margin: 0 0 20px;
  color: var(--hn-black);
}
.hn-hero__text {
  max-width: 480px;
  margin: 0 0 28px;
  color: var(--hn-graphite);
}
/* Search Command Center — ciemny panel wg 02-search-command-center (asset pack 2026-08-11) */
.hn-searchcmd {
  background: #14161a;
  border-radius: var(--hn-radius-lg);
  padding: 18px 20px 20px;
  max-width: 760px;
}
.hn-searchcmd__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--hn-yellow);
  margin: 0 0 12px;
}
.hn-searchcmd__bar {
  display: flex;
  align-items: stretch;
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  box-shadow: var(--hn-shadow-md);
}
.hn-searchcmd__icon {
  background: var(--hn-yellow);
  color: var(--hn-black);
  flex: none;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hn-searchcmd__fields { flex: 1; text-align: left; background: var(--hn-white); padding: 10px 16px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hn-searchcmd__fields input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: var(--hn-black);
  padding: 0;
}
.hn-searchcmd__fields input:focus { outline: none; }
.hn-searchcmd__fields input::placeholder { color: var(--hn-black); opacity: 1; }
.hn-searchcmd__fields small { display: block; font-size: 11px; color: #888; margin-top: 2px; }
.hn-searchcmd__submit {
  width: 60px;
  flex: none;
  background: var(--hn-yellow);
  color: var(--hn-black);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.hn-searchcmd__submit:hover { background: var(--hn-yellow-hover); }
.hn-searchcmd__examples { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hn-searchcmd__examples-label { font-size: 12px; color: #999; font-weight: 600; flex: none; }
.hn-searchcmd__examples a {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--hn-radius-pill);
  background: #1f2229;
  border: 1px solid #34383f;
  color: #ccc;
}
.hn-searchcmd__examples a:hover { border-color: var(--hn-yellow-hover); color: var(--hn-yellow-hover); }
@media (max-width: 1100px) {
  .hn-searchcmd { max-width: none; }
}

/* Panel "Inteligentny dobór" — pływa nad zdjęciem hero, ciemny */
.hn-hero__panel {
  position: absolute;
  top: 8px;
  right: 0;
  width: min(400px, 92%);
}
@media (max-width: 1100px) {
  .hn-hero__panel { position: static; margin-top: 32px; width: 100%; }
}
.hn-guide-panel {
  background: #14161a;
  color: var(--hn-white);
  border-radius: var(--hn-radius-xl);
  overflow: hidden;
  box-shadow: var(--hn-shadow-lg);
}
.hn-guide-panel__body { padding: 22px; }
.hn-guide-panel__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hn-yellow);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.hn-guide-panel__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 18px; }
.hn-guide-panel__steps { display: flex; flex-direction: column; gap: 10px; }
.hn-guide-panel__step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--hn-radius-md);
  padding: 12px 14px;
}
.hn-guide-panel__step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(247,198,0,.14);
  color: var(--hn-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hn-guide-panel__step-icon .hn-icon { width: 16px; height: 16px; }
.hn-guide-panel__step span { font-size: 13px; font-weight: 600; }
.hn-guide-panel__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 22px;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--hn-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.hn-guide-panel__cta:hover { background: rgba(255,255,255,.1); }

/* Trust bar — ciemny pasek statystyk, po sekcji zadań */
.hn-trustbar {
  background: var(--hn-black);
  padding: 28px 0;
}
.hn-trustbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.hn-trustbar__item { display: flex; gap: 12px; align-items: flex-start; }
.hn-trustbar__icon { color: var(--hn-yellow); flex: none; }
.hn-trustbar__label { font-weight: 700; margin: 0 0 2px; font-size: 14px; color: var(--hn-white); }
.hn-trustbar__text { margin: 0; font-size: 12px; color: #999; }

/* "CO CHCESZ DZISIAJ ZROBIĆ" — intro + karty zadań w jednym rzędzie */
.hn-tasks {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr) 1.3fr;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .hn-tasks { grid-template-columns: repeat(3, 1fr); }
  .hn-tasks__intro { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hn-tasks { grid-template-columns: 1fr 1fr; }
}
.hn-tasks__intro { display: flex; flex-direction: column; justify-content: center; }
.hn-tasks__intro h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.15; }
.hn-tasks__intro h2 .hn-accent { color: var(--hn-yellow-hover); display: block; }
.hn-tasks__intro p { margin: 0; font-size: 13px; color: #777; }
.hn-task-card {
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.hn-task-card__icon-box {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: var(--hn-radius-md);
  background: var(--hn-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hn-black);
}
.hn-task-card:hover .hn-task-card__icon-box { background: var(--hn-yellow); }
.hn-task-card__label { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.hn-task-card__count { font-size: 11px; color: #888; }
.hn-task-card--cta {
  background: var(--hn-black);
  color: var(--hn-white);
  border-color: var(--hn-black);
}
.hn-task-card--cta .hn-icon { color: var(--hn-yellow); }
.hn-task-card--cta .hn-task-card__label { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.hn-task-card--cta .hn-btn { margin-top: 10px; }

/* Trójkolumnowy rząd: popularne zadania / marki / B2B */
.hn-triad {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1000px) {
  .hn-triad { grid-template-columns: 1fr 1.05fr 0.85fr; }
}
.hn-triad__col { display: flex; flex-direction: column; }
.hn-triad__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.hn-triad__head h3 { margin: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.hn-triad__head a { font-size: 12px; font-weight: 600; text-decoration: none; color: #777; }

.hn-poptask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.hn-poptask-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  border: 1px solid var(--hn-border);
}
.hn-poptask-card__icon {
  background: var(--hn-off-white);
  color: var(--hn-black);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hn-poptask-card__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-poptask-card__body { padding: 10px 12px; }
.hn-poptask-card__title { font-size: 12px; font-weight: 700; margin: 0 0 4px; line-height: 1.25; }
.hn-poptask-card__link { font-size: 11px; color: var(--hn-yellow-hover); font-weight: 600; }

.hn-brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.hn-brand-badge {
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius-sm);
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}
.hn-brand-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hn-brands-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.hn-brands-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #777;
  background: var(--hn-off-white);
  border-radius: var(--hn-radius-pill);
  padding: 6px 10px;
}
.hn-brands-trust .hn-icon { width: 13px; height: 13px; color: var(--hn-yellow-hover); }

.hn-b2b-panel {
  background: var(--hn-black);
  color: var(--hn-white);
  border-radius: var(--hn-radius-lg);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.hn-b2b-panel__content { padding: 22px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hn-b2b-panel__content .hn-btn { white-space: nowrap; font-size: 13px; padding: 10px 14px; align-self: flex-start; }
.hn-b2b-panel__photo {
  width: 36%;
  flex: none;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 30%, black 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 30%, black 55%);
}
@media (max-width: 700px) {
  .hn-b2b-panel { flex-direction: column; }
  .hn-b2b-panel__photo { width: 100%; height: 140px; mask-image: none; -webkit-mask-image: none; }
}
.hn-b2b-panel p { font-size: 12px; color: #aaa; margin: 0 0 14px; }
.hn-b2b-panel ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hn-b2b-panel li { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.hn-b2b-panel .hn-icon { color: var(--hn-yellow); width: 14px; height: 14px; }

/* Rząd sklepowy: Bestsellery / Zestawy / Promocje w 3 kolumnach */
.hn-shelf-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) {
  .hn-shelf-row { grid-template-columns: repeat(3, 1fr); }
}
.hn-shelf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hn-shelf-tile { display: block; text-decoration: none; color: inherit; }
.hn-shelf-tile__img { position: relative; border-radius: var(--hn-radius-md); overflow: hidden; margin-bottom: 6px; }
.hn-shelf-tile__img img { width: 100%; height: auto; display: block; }
.hn-shelf-tile__badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--hn-error); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: var(--hn-radius-sm);
}
.hn-shelf-tile__title { font-size: 12px; font-weight: 600; margin: 0 0 4px; line-height: 1.25; }
.hn-shelf-tile__price { font-size: 13px; font-weight: 700; margin: 0; }
.hn-shelf-tile__price del { font-weight: 400; opacity: .6; font-size: 11px; margin-right: 4px; }

/* Section head with "zobacz wszystkie" link */
.hn-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.hn-link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* Featured products grid */
.hn-product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.hn-product-tile {
  padding: 16px;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease;
}
.hn-product-tile:hover { transform: translateY(-2px); box-shadow: var(--hn-shadow-md); }
.hn-product-tile__link { display: block; text-decoration: none; color: inherit; }
.hn-product-tile__img { margin-bottom: 12px; }
.hn-product-tile__img img { border-radius: var(--hn-radius-md); width: 100%; height: auto; }
.hn-product-tile__title { font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.hn-product-tile__avail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--hn-success);
  margin: 0 0 10px;
}
.hn-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hn-success); display: inline-block; }
.hn-product-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hn-product-tile__price { font-weight: 700; margin: 0; text-align: left; }
.hn-product-tile__foot .add_to_cart_button,
.hn-product-tile__foot .ajax_add_to_cart {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--hn-radius-md) !important;
  font-size: 0 !important;
  flex: none;
}
.hn-product-tile__foot .add_to_cart_button::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2.5' y='9' width='19' height='11' rx='1.5'/%3E%3Cpath d='M8 9V6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v3'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Brand strip */
.hn-brandstrip { padding: 40px 0; }
.hn-brandstrip__label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  margin: 0 0 24px;
}
.hn-brandstrip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.hn-brandstrip__item {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--hn-graphite);
  opacity: .55;
  transition: opacity .16s ease;
}
.hn-brandstrip__item:hover { opacity: 1; color: var(--hn-black); }

.hn-ai-block { padding: 32px; display: flex; gap: 24px; align-items: center; }
.hn-ai-block__mascot { flex: none; width: 96px; }
.hn-ai-block__mascot svg { width: 100%; height: auto; }
.hn-ai-block__copy { flex: 1; }
.hn-ai-block__label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .06em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hn-ai-block__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hn-ai-block__features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--hn-graphite);
}
.hn-ai-block__features .hn-icon { color: var(--hn-ai); width: 16px; height: 16px; }
@media (max-width: 640px) {
  .hn-ai-block { flex-direction: column; text-align: center; }
  .hn-ai-block__features { grid-template-columns: 1fr; }
}

.hn-b2b-banner {
  text-align: center;
}
.hn-b2b-banner p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: #ccc;
}
.hn-b2b-banner__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 24px auto 36px;
  text-align: left;
}
.hn-b2b-banner__item {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: var(--hn-radius-lg);
  padding: 20px;
}
.hn-b2b-banner__icon { color: var(--hn-yellow); margin-bottom: 10px; }
.hn-b2b-banner__label { color: #fff; font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.hn-b2b-banner__text { color: #999; font-size: 13px; margin: 0; }
.hn-btn-lg {
  display: inline-block;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 16px;
}

/* Domyślna stopka Kadence — zastąpiona przez .hn-footer (wp_footer hook) */
#colophon.site-footer { display: none; }

/* Rich footer — wp_footer, sitewide */
.hn-footer {
  background: var(--hn-black);
  color: #aaa;
  padding: 56px 0 0;
  margin-top: 64px;
}
.hn-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 782px) {
  .hn-footer__grid { grid-template-columns: 1fr 1fr; }
}
.hn-footer__logo { color: var(--hn-white); font-weight: 800; font-size: 18px; margin: 0 0 12px; }
.hn-footer__brand p { font-size: 13px; line-height: 1.6; max-width: 260px; }
.hn-footer__heading { color: var(--hn-white); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 14px; }
.hn-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hn-footer__col a { color: #aaa; font-size: 14px; text-decoration: none; }
.hn-footer__col a:hover { color: var(--hn-yellow); }
.hn-footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding: 20px 0;
  font-size: 13px;
}

/* ==========================================================================
   PLP — listing kategorii (theme/woocommerce/archive-product.php)
   Struktura wg handoff Claude Design 2026-08-11 (PLP-Kategoria.dc.html),
   przestrojona na tokeny Design System 1.0 (bez Space Grotesk/IBM Plex Sans,
   bez wymyślonego akcentu #b45309 — to był pomysł agenta, nie Rafała).
   ========================================================================== */
.hn-breadcrumb { padding: 18px 0 0; font-size: 13px; color: #888; }
.hn-breadcrumb a { color: #888; }
.hn-breadcrumb a:hover { color: var(--hn-yellow-hover); }
.hn-breadcrumb .hn-breadcrumb__current { color: var(--hn-black); }

.hn-plp-head { padding: 14px 0 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hn-plp-head h1 { margin: 0; font-size: 28px; }
.hn-plp-head__count { font-size: 14px; color: #777; margin: 6px 0 0; }
.hn-plp-sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #777; }
.hn-plp-sort select {
  border: 1.5px solid var(--hn-border);
  border-radius: var(--hn-radius-sm);
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  background: var(--hn-white);
  color: var(--hn-black);
}

.hn-plp-layout { padding-bottom: 60px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
@media (max-width: 900px) { .hn-plp-layout { grid-template-columns: 1fr; } }

.hn-plp-filters { border-right: 1px solid var(--hn-border); padding-right: 28px; }
@media (max-width: 900px) { .hn-plp-filters { border-right: none; padding-right: 0; border-bottom: 1px solid var(--hn-border); padding-bottom: 20px; margin-bottom: 8px; } }
.hn-plp-filters__title { font-weight: 800; font-size: 15px; margin: 0 0 18px; }
.hn-plp-filter-group { margin-bottom: 26px; }
.hn-plp-filter-group__label { font-size: 11.5px; font-weight: 700; color: #888; letter-spacing: .05em; margin: 0 0 10px; text-transform: uppercase; }
.hn-plp-filter-group label.hn-plp-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; cursor: pointer; margin-bottom: 9px; }
.hn-plp-filter-group label.hn-plp-check:last-child { margin-bottom: 0; }
.hn-plp-filter-group input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--hn-black); flex: none; }
.hn-plp-filter-group__count { color: #b0b2b7; }

.hn-plp-pricerange { display: flex; gap: 8px; flex-wrap: wrap; }
.hn-plp-pricerange input[type="number"] { width: 0; flex: 1; min-width: 60px; box-sizing: border-box; border: 1.5px solid var(--hn-border); border-radius: var(--hn-radius-sm); padding: 8px; font-size: 12.5px; font-family: inherit; }
.hn-plp-pricerange button { width: 100%; font-size: 12.5px; padding: 8px; margin-top: 4px; }

.hn-plp-chips { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.hn-plp-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--hn-off-white); border: none; border-radius: var(--hn-radius-pill); padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--hn-black); text-decoration: none; }
.hn-plp-chips__clear { background: none; border: none; color: var(--hn-yellow-hover); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; }

.hn-plp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 700px) { .hn-plp-grid { grid-template-columns: 1fr 1fr; } }
.hn-plp-card { border: 1px solid var(--hn-border); border-radius: var(--hn-radius-md); padding: 16px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .16s ease, border-color .16s ease; }
.hn-plp-card:hover { border-color: var(--hn-yellow-hover); box-shadow: var(--hn-shadow-sm); }
.hn-plp-card__img { position: relative; border-radius: var(--hn-radius-sm); overflow: hidden; background: var(--hn-off-white); height: 150px; }
.hn-plp-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-plp-card__brand { font-size: 11.5px; color: #888; font-weight: 700; margin: 12px 0 0; text-transform: uppercase; }
.hn-plp-card__title { font-size: 14px; font-weight: 600; margin: 3px 0 0; line-height: 1.35; flex: 1; color: var(--hn-black); }
.hn-plp-card__rating { font-size: 12.5px; color: #777; margin: 8px 0 0; }
.hn-plp-card__bottom { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; gap: 10px; }
.hn-plp-card__price { font-size: 17px; font-weight: 700; }
.hn-plp-card__price del { font-weight: 400; opacity: .55; font-size: 13px; margin-right: 4px; }
.hn-plp-card .hn-btn { padding: 9px 14px; font-size: 12.5px; white-space: nowrap; }

.hn-plp-empty { padding: 60px 20px; text-align: center; }
.hn-plp-empty__title { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.hn-plp-empty__text { font-size: 14px; color: #777; margin: 0 0 18px; }

.hn-plp-pagination { margin-top: 40px; }

/* ==========================================================================
   PDP — karta produktu (theme/woocommerce/single-product.php), v2 2026-08-12
   ========================================================================== */
.hn-pdp--v2 { padding: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr 340px; gap: 36px; align-items: start; }
@media (max-width: 1100px) { .hn-pdp--v2 { grid-template-columns: 1fr 1fr; } .hn-pdp-buybox { grid-column: 1 / -1; } }
@media (max-width: 700px) { .hn-pdp--v2 { grid-template-columns: 1fr; gap: 24px; } }

.hn-pdp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
@media (max-width: 560px) { .hn-pdp-gallery { grid-template-columns: 1fr; } }
.hn-pdp-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 560px) { .hn-pdp-gallery__thumbs { flex-direction: row; order: 2; flex-wrap: wrap; } }
.hn-pdp-gallery__thumb { border: 1.5px solid var(--hn-border); border-radius: var(--hn-radius-sm); overflow: hidden; cursor: pointer; padding: 0; background: none; display: block; }
.hn-pdp-gallery__thumb.is-active { border-color: var(--hn-yellow); }
.hn-pdp-gallery__thumb img { width: 100%; height: 70px; object-fit: cover; display: block; }
.hn-pdp-gallery__main { position: relative; border-radius: var(--hn-radius-lg); overflow: hidden; background: var(--hn-off-white); }
.hn-pdp-gallery__main img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hn-pdp-gallery__ribbon { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 11px; font-weight: 700; border-radius: var(--hn-radius-sm); padding: 4px 9px; }
.hn-pdp-gallery__ribbon--sale { background: var(--hn-error); color: #fff; }

.hn-pdp-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.hn-badge-b2b { background: var(--hn-black); color: var(--hn-white); font-size: 10.5px; font-weight: 700; border-radius: var(--hn-radius-sm); padding: 3px 8px; }
.hn-pdp-brand { font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.hn-pdp-title { font-size: 26px; margin: 0 0 8px; line-height: 1.25; }
.hn-pdp-meta { font-size: 13px; color: #777; margin: 0 0 18px; }
.hn-pdp-meta .star-rating { display: inline-block; vertical-align: middle; margin: 0 2px; }

.hn-pdp-highlight { background: var(--hn-off-white); border-radius: var(--hn-radius-md); padding: 16px 18px; margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: #444; }

.hn-pdp-bundle { border: 1px solid var(--hn-border); border-radius: var(--hn-radius-md); padding: 16px 18px; margin: 0 0 20px; }
.hn-pdp-bundle__title { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin: 0 0 12px; text-transform: uppercase; }
.hn-pdp-bundle ul, .hn-pdp-bundle__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.hn-pdp-bundle li, .hn-pdp-bundle__list li { display: flex; align-items: center; gap: 8px; }
.hn-pdp-bundle .hn-icon, .hn-pdp-bundle__list .hn-icon { color: var(--hn-success); flex: none; }

.hn-pdp-b2b { border: 1px solid var(--hn-border); border-radius: var(--hn-radius-md); padding: 16px 18px; margin: 0 0 22px; }
.hn-pdp-b2b__title { font-size: 13px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.hn-pdp-b2b p { font-size: 13px; color: #444; line-height: 1.5; margin: 0; }
.hn-pdp-b2b a { color: var(--hn-yellow-hover); font-weight: 600; }

.hn-pdp-related__title { font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.hn-pdp-related__grid { display: flex; gap: 12px; flex-wrap: wrap; }
.hn-pdp-related__card { flex: 1; min-width: 120px; border: 1px solid var(--hn-border); border-radius: var(--hn-radius-md); padding: 12px; text-align: center; text-decoration: none; color: inherit; }
.hn-pdp-related__card img { width: 100%; height: 64px; object-fit: cover; border-radius: var(--hn-radius-sm); }
.hn-pdp-related__card .name { font-size: 12px; font-weight: 600; margin: 8px 0 0; line-height: 1.3; }
.hn-pdp-related__card .price { font-size: 13px; font-weight: 700; margin: 4px 0 0; }

/* Buy-box — trzecia, sticky-ish kolumna */
.hn-pdp-buybox { border: 1px solid var(--hn-border); border-radius: var(--hn-radius-lg); padding: 22px; position: sticky; top: 20px; }
.hn-pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 0 0 6px; font-size: 30px; font-weight: 700; }
.hn-pdp-price ins { text-decoration: none; }
.hn-pdp-price del { font-size: 15px; font-weight: 400; color: #b0b2b7; }
.hn-pdp-stock { font-size: 13px; font-weight: 600; margin: 0 0 20px; }
.hn-pdp-stock.in-stock { color: var(--hn-success); }
.hn-pdp-stock.out-of-stock { color: var(--hn-error); }

.hn-pdp-cart .cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.hn-pdp-cart .quantity { display: flex; align-items: center; border: 1.5px solid var(--hn-border); border-radius: var(--hn-radius-sm); }
.hn-pdp-cart .quantity input.qty { width: 52px; border: none; text-align: center; font-weight: 600; font-size: 15px; height: 44px; }
.hn-pdp-cart button.single_add_to_cart_button {
  flex: 1;
  min-width: 140px;
  background: var(--hn-yellow) !important;
  color: var(--hn-black) !important;
  border: none;
  border-radius: var(--hn-radius-sm) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  cursor: pointer;
}
.hn-pdp-cart button.single_add_to_cart_button:hover { background: var(--hn-yellow-hover) !important; }
.hn-pdp-buynow.hn-btn-dark { display: block; width: 100%; margin-top: 12px; height: 46px; font-size: 14px; }

.hn-pdp-trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hn-border); display: flex; flex-direction: column; gap: 14px; }
.hn-pdp-trust li { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; }
.hn-pdp-trust .hn-icon { color: var(--hn-graphite); flex: none; margin-top: 1px; }
.hn-pdp-trust span { color: #888; line-height: 1.4; }
.hn-pdp-trust strong { color: var(--hn-black); font-weight: 600; }

.hn-pdp-specchips { margin-top: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 700px) { .hn-pdp-specchips { grid-template-columns: repeat(2, 1fr); } }
.hn-pdp-specchips__item { background: var(--hn-off-white); border-radius: var(--hn-radius-sm); padding: 10px 6px; text-align: center; }
.hn-pdp-specchips__item .v { font-size: 13px; font-weight: 700; }
.hn-pdp-specchips__item .k { font-size: 10.5px; color: #888; margin-top: 2px; }

/* Zakładki — checkbox-hack, zero JS (ten sam wzorzec co #hn-search-toggle w headerze) */
.hn-pdp-tabs { padding: 44px 0 0; }
.hn-pdp-tabs__nav { display: flex; gap: 28px; border-bottom: 1.5px solid var(--hn-border); flex-wrap: wrap; }
.hn-pdp-tabs__nav label { padding: 14px 4px; font-size: 14.5px; font-weight: 700; cursor: pointer; color: #888; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; }
.hn-pdp-tabs__panel { padding: 26px 0; max-width: 800px; font-size: 14.5px; color: #444; line-height: 1.6; display: none; }
.hn-pdp-tabs__panel--accessories { max-width: none; }
.hn-pdp-tabs input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
#hn-tab-opis:checked ~ .hn-pdp-tabs__nav label[for="hn-tab-opis"],
#hn-tab-specs:checked ~ .hn-pdp-tabs__nav label[for="hn-tab-specs"],
#hn-tab-bundle:checked ~ .hn-pdp-tabs__nav label[for="hn-tab-bundle"],
#hn-tab-accessories:checked ~ .hn-pdp-tabs__nav label[for="hn-tab-accessories"],
#hn-tab-reviews:checked ~ .hn-pdp-tabs__nav label[for="hn-tab-reviews"] { color: var(--hn-black); border-bottom-color: var(--hn-yellow); }
#hn-tab-opis:checked ~ .hn-pdp-tabs__content .hn-pdp-tabs__panel--opis,
#hn-tab-specs:checked ~ .hn-pdp-tabs__content .hn-pdp-tabs__panel--specs,
#hn-tab-bundle:checked ~ .hn-pdp-tabs__content .hn-pdp-tabs__panel--bundle,
#hn-tab-accessories:checked ~ .hn-pdp-tabs__content .hn-pdp-tabs__panel--accessories,
#hn-tab-reviews:checked ~ .hn-pdp-tabs__content .hn-pdp-tabs__panel--reviews { display: block; }
.hn-pdp-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; font-size: 14px; }
@media (max-width: 560px) { .hn-pdp-specs-grid { grid-template-columns: 1fr; } }
.hn-pdp-specs-grid__row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hn-off-white); }
.hn-pdp-specs-grid__row span:first-child { color: #777; }
.hn-pdp-specs-grid__row span:last-child { font-weight: 600; }

.hn-pdp-crosssell__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 700px) { .hn-pdp-crosssell__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Koszyk (theme/woocommerce/cart/cart.php), v2 2026-08-12
   ========================================================================== */
.hn-cart-page { padding-bottom: 60px; }
.hn-cart-head { display: flex; align-items: center; gap: 14px; padding: 14px 0 0; }
.hn-cart-head h1 { font-size: 28px; margin: 0; }
.hn-cart-empty { padding: 60px 0; text-align: center; }
.hn-cart-empty__title { font-size: 22px; margin: 0 0 20px; }

.hn-cart-perks { margin-top: 20px; border: 1px solid var(--hn-border); border-radius: var(--hn-radius-md); padding: 16px 26px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .hn-cart-perks { grid-template-columns: 1fr; } }
.hn-cart-perks > div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hn-cart-perks .hn-icon { color: var(--hn-graphite); flex: none; }
.hn-cart-perks strong { font-weight: 600; }
.hn-cart-perks div div { color: #888; line-height: 1.4; }

.hn-cart-layout { margin-top: 20px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .hn-cart-layout { grid-template-columns: 1fr; } }

.hn-cart-table__head { display: grid; grid-template-columns: 2fr 110px 130px 110px 60px; padding: 0 4px 12px; font-size: 12px; color: #888; font-weight: 700; letter-spacing: .03em; border-bottom: 1px solid var(--hn-border); }
@media (max-width: 700px) { .hn-cart-table__head { display: none; } }
.hn-cart-table__row { display: grid; grid-template-columns: 2fr 110px 130px 110px 60px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--hn-border); gap: 8px; }
@media (max-width: 700px) { .hn-cart-table__row { grid-template-columns: 1fr; } }
.hn-cart-table__product { display: flex; gap: 14px; align-items: center; }
.hn-cart-table__product img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--hn-radius-sm); flex: none; }
.hn-cart-table__name { font-size: 14px; font-weight: 700; color: var(--hn-black); }
.hn-cart-table__sku { font-size: 11.5px; color: #888; margin-top: 4px; }
.hn-cart-table__lowstock { font-size: 11.5px; color: var(--hn-yellow-hover); font-weight: 600; margin-top: 4px; }
.hn-cart-table__instock { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--hn-success); font-weight: 600; margin-top: 4px; }
.hn-cart-table__instock .hn-icon { width: 12px; height: 12px; }
.hn-cart-table__unit, .hn-cart-table__linetotal { font-size: 14px; font-weight: 600; }
.hn-qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--hn-border); border-radius: var(--hn-radius-sm); width: fit-content; }
.hn-qty-stepper button { border: none; background: none; color: var(--hn-black); width: 30px; height: 34px; font-size: 15px; cursor: pointer; }
.hn-qty-stepper input { width: 40px; border: none; text-align: center; font-size: 13px; font-weight: 600; -moz-appearance: textfield; }
.hn-cart-table__actions { display: flex; }
.hn-cart-table__remove { color: #888; }
.hn-cart-table__remove:hover { color: var(--hn-error); }
.hn-cart-table__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; flex-wrap: wrap; gap: 12px; }
.hn-cart-coupon { display: flex; gap: 10px; }
.hn-cart-coupon input { border: 1.5px solid var(--hn-border); border-radius: var(--hn-radius-sm); padding: 10px 14px; font-size: 13.5px; font-family: inherit; width: 200px; }
.hn-cart-clear { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: #888; font-size: 13px; font-weight: 600; }
.hn-cart-clear:hover { color: var(--hn-error); }

.hn-cart-summary { border: 1px solid var(--hn-border); border-radius: var(--hn-radius-lg); padding: 22px; }
.hn-cart-summary__title { font-size: 13px; font-weight: 700; letter-spacing: .04em; margin: 0 0 16px; }
.hn-cart-summary__row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; }
.hn-cart-summary__row span:first-child { color: #777; }
.hn-cart-summary__row span:last-child { font-weight: 600; }
.hn-cart-summary__row .is-discount { color: var(--hn-error); }
.hn-cart-summary__freeship { background: var(--hn-success-soft); color: var(--hn-success); border-radius: var(--hn-radius-sm); padding: 12px 14px; margin-top: 16px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hn-cart-summary__total { border-top: 1px solid var(--hn-border); margin-top: 16px; padding-top: 16px; }
.hn-cart-summary__total .label { font-size: 12.5px; color: #888; margin: 0; }
.hn-cart-summary__total .amount { font-size: 26px; font-weight: 700; margin: 2px 0 0; }
.hn-cart-summary__total .vat { font-size: 12px; color: #888; margin: 2px 0 0; }
.hn-cart-checkout.hn-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px; font-size: 14.5px; margin-top: 18px; }
.hn-cart-summary__secure { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: #888; }

.hn-cart-crosssell { margin-top: 56px; }
.hn-cart-crosssell__title { font-size: 15px; font-weight: 700; margin: 0 0 16px; }
.hn-plp-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .hn-plp-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .hn-plp-grid--5 { grid-template-columns: 1fr 1fr; } }

/* Focus accessibility */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(247,198,0,.55);
  outline-offset: 2px;
}
