/*
 * Verduona shop: kraliki.com look and feel (theme 0.4.0).
 * Loaded after storefront.css. Values come from kraliki.com src/app.css, Header, Hero,
 * SolutionsOverview and Footer (read 4 Oct 2026). Token map: SHOP-DESIGN-ALIGN.md.
 * Presentation only: copy, prices, cart and checkout behaviour are unchanged.
 */

/* ---------- 1. Tokens ---------- */
html.light,
html.theme-light,
html[data-theme="light"] {
  --paper: #ffffff;              /* --color-paper */
  --paper-2: #f7f7f5;            /* --color-bg-secondary */
  --paper-3: #eeeeee;            /* --color-bg-tertiary */
  --ink: #000000;                /* --color-ink */
  --body: #000000;
  --muted: rgba(0, 0, 0, 0.6);   /* --color-ink-muted */
  --muted-2: rgba(0, 0, 0, 0.6);
  --line: #0000001a;             /* --color-line */
  --line-strong: rgba(0, 0, 0, 0.26); /* --color-border-hover */
}

/* Dark is kraliki's body.dark-mode: flat black, white ink, 10% white lines. */
html,
html.dark,
html.theme-dark,
html[data-theme="dark"] {
  --paper: #000000;
  --paper-2: #000000;
  --paper-3: #141414;
  --ink: #ffffff;
  --body: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.26);
}

html {
  --max: 1400px;                 /* .container max-width */
  --gutter: 1.5rem;              /* .container padding */
  --radius: 6px;                 /* .btn */
  --radius-card: 12px;           /* .solution-card */
  --header-h: 80px;              /* --header-height */
  --ease: 150ms ease-out;        /* --transition-fast */
  --ease-medium: 300ms ease-out; /* --transition-medium */
}
@media (min-width: 768px)  { html { --gutter: 2.5rem; } }
@media (min-width: 1280px) { html { --gutter: 4rem; } }
@media (max-width: 1099px)  { html { --header-h: 64px; } }

body {
  position: relative;
  font-size: 1.125rem;           /* --font-size-base */
  line-height: 1.7;
  color: var(--body);
  -moz-osx-font-smoothing: grayscale;
}

/* Hero grid: kraliki .hero-background. 88px cells, 40% strength, faded top and bottom. */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 760px;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)),
    linear-gradient(180deg, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px));
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 60%, transparent 100%);
  opacity: 0.4;
  pointer-events: none;
}
.shell, .wp-site-blocks { position: relative; z-index: 1; }

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.main a:not(.btn):not(.door):not(.chip):not(.button) {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--ease);
}

/* ---------- 2. Header: kraliki bar ---------- */
/* WP wraps .top in a template-part <header>; stick the wrapper so the bar stays put. */
header.wp-block-template-part:has(> .top) {
  position: sticky;
  top: 0;
  z-index: 20;
}
.top,
.wp-block-group.top {
  position: sticky;
  top: 0;
  z-index: 20;
  flex-wrap: nowrap;
  gap: 12px;                     /* .nav-controls gap; the nav keeps its own 2.5rem */
  min-height: var(--header-h);
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 0;
  background: color-mix(in srgb, var(--paper) 40%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
header.wp-block-template-part > .top { position: relative; }

.wordmark {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

/* Desktop: the menu wrapper dissolves so nav and tools sit in the bar. */
.menu,
.menu-tools { display: contents; }
.menu-toggle { display: none; }

.nav {
  display: flex;
  gap: 2.5rem;
  margin: 0 0 0 2.5rem;
  font-size: inherit;
}
.nav a {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color var(--ease);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--ink); }

.top-tools {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 12px;
  margin-left: 0;
}
/* Push the tools to the right edge: the visible theme button carries the auto margin. */
.top .chip[data-theme] { margin-left: auto; }

/* Header controls. kraliki keeps the language and mode controls square and bordered. */
html body .top .chip {
  min-height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  justify-content: center;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}
html body .top .chip:hover { color: var(--ink) !important; border-color: var(--ink); }

/* Language: one segmented EN | CS control. */
html body .top .chip[data-lang] { min-width: 40px; padding: 0; }
html body .top .chip[data-lang="en"] { margin-right: -12px; }
html body .top .chip[data-lang="cs"] { border-left: 0; }
html body .top .chip[data-lang][aria-pressed="true"] {
  background: var(--paper-3) !important;
  background-color: var(--paper-3) !important;
  color: var(--ink) !important;
}

/* Theme: one icon button showing the mode you can switch to, like kraliki's moon. */
html body .top .chip[data-theme][aria-pressed="true"] { display: none !important; }
html body .top .chip[data-theme] {
  width: 40px;
  padding: 0;
  font-size: 0 !important;
  letter-spacing: 0;
}
html body .top .chip[data-theme]::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.top .chip[data-theme="dark"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3C/svg%3E");
}
.top .chip[data-theme="light"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
}

/* Guide: a text link like kraliki's SIGN IN. */
html body .top .chip[data-guide-open] {
  border-color: transparent;
  color: var(--ink) !important;
  font-size: 0.875rem;
}
html body .top .chip[data-guide-open]:hover { border-color: transparent; color: var(--muted) !important; }

/* Cart: the one filled button, like kraliki's Shop. */
html body .top .chip[data-cart-chip] {
  min-height: 44px;
  padding: 0 1.25rem;
  border-color: var(--ink);
  border-radius: var(--radius) !important;
  background: var(--ink) !important;
  background-color: var(--ink) !important;
  color: var(--paper) !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
html body .top .chip[data-cart-chip]:hover { color: var(--paper) !important; transform: translateY(-1px); }

/* Compact header: wordmark, language, cart and a menu button on one row (kraliki ≤980px; Czech labels need <1100px). */
@media (max-width: 1099px) {
  .top,
  .wp-block-group.top { gap: 8px; flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  .top-tools { order: 2; flex: 0 0 auto; margin-left: auto; gap: 8px; justify-content: flex-end; }
  .menu-toggle {
    order: 3;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform var(--ease), opacity var(--ease);
  }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before,
  .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-lines::before { top: -6px; }
  .menu-toggle-lines::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

  .menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 19;
    display: none;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem var(--gutter);
    background: var(--paper);
    overflow-y: auto;
  }
  .top.menu-open .menu { display: flex; }
  /* backdrop-filter would make the bar the containing block of the fixed panel. */
  .top.menu-open,
  .wp-block-group.top.menu-open {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .menu .nav {
    display: flex;
    order: 0;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 0;
  }
  .menu .nav a { display: inline-flex; min-height: 0; font-size: 1rem; color: var(--ink); }
  .menu-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }
  /* In the panel the mode button shows its label next to the icon. */
  html body .top .menu .chip[data-theme] {
    width: auto;
    gap: 8px;
    margin-left: 0;
    padding: 0 14px;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em;
  }
  html body .top .menu .chip[data-guide-open] { border-color: var(--line); padding: 0 14px; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 1rem; }
  html body .top .chip[data-lang] { min-width: 36px; }
  html body .top .chip[data-cart-chip] { min-height: 40px; padding: 0 0.75rem; }
}

/* ---------- 3. Layout and type ---------- */
.main {
  width: min(var(--max), 100%);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) 4rem;
}

h1, h2, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; margin: 0 0 1.25rem; max-width: 15ch; text-wrap: balance; }  /* .hero-title */
h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }                          /* .section-title */

.lede {                          /* .hero-subtitle / .section-subtitle */
  max-width: 41rem;
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

/* Section labels: kraliki .section-badge. */
.kicker {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}
.main > .kicker:not(:first-child) { margin-top: 7.5rem; }

/* Home status: kraliki .hero-badge ("• INVITE-ONLY BETA"). */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 500;
  color: var(--muted);
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.row-actions { gap: 1rem; }

/* Fine print under the actions, like kraliki's hero note: no box, no rule. */
.proof-line {
  display: block;
  max-width: 41rem;
  margin: 1.25rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Agent Jack access: one quiet link, not a second banner. */
.jack-waitlist-strip {
  display: inline-flex;
  min-height: 44px;
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.jack-waitlist-strip:hover { text-decoration-thickness: 2px; }

/* Hero entrance: kraliki fadeInUp, shortened. */
@keyframes verduona-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .status-pill,
  .status-pill ~ h1,
  .status-pill ~ .lede,
  .status-pill ~ .row-actions { animation: verduona-rise 0.6s ease-out both; }
  .status-pill ~ h1 { animation-delay: 0.05s; }
  .status-pill ~ .lede { animation-delay: 0.1s; }
  .status-pill ~ .row-actions { animation-delay: 0.15s; }
}

/* ---------- 4. Buttons: kraliki .btn / .btn-primary / .btn-secondary ---------- */
.btn,
.woocommerce .button,
.woocommerce-page .button,
.woocommerce a.button,
.woocommerce button.button,
.wp-element-button,
.wc-block-components-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius) !important;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover,
.woocommerce .button:hover,
.woocommerce-page .button:hover { opacity: 1; color: var(--paper); transform: translateY(-1px); }
.btn.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { border-color: var(--ink); background: var(--paper-3); color: var(--ink); }
@media (max-width: 520px) {
  .row-actions { flex-direction: column; align-items: stretch; }
  .row-actions .btn { width: 100%; }
}

/* ---------- 5. Offer cards: kraliki .solution-card ---------- */
.doors { gap: 1rem; margin-top: 2.5rem; }
/* Five cards: the two products on top, the three services below. No empty slot. */
@media (min-width: 1100px) {
  .doors { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .door { grid-column: span 2; }
  .door:nth-child(-n + 2) { grid-column: span 3; }
}

.door,
.door[data-pastel] {
  min-height: 260px;
  padding: 2rem 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-2);
  box-shadow: none;
  color: inherit;
  transition: border-color var(--ease-medium), transform var(--ease-medium), box-shadow var(--ease-medium);
}
.door:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.18);
}
.door-kicker { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; color: var(--muted); }
.door h3 {
  margin: 0.75rem 0 0.75rem;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.door p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.door-meta {
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.door-meta span:last-child { font-weight: 600; white-space: nowrap; }
.door-meta span:last-child::after { content: " →"; }

/* ---------- 6. Product page ---------- */
.split { gap: 3rem 4rem; margin-top: 2.5rem; }
/* Long Czech price periods and single-line actions need a wide plan table. */
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }
.split h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; margin-bottom: 1.25rem; }
.craft p { font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.craft .proof { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink); }

.seats {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--paper);
}
.seats th {
  padding: 0.875rem 1.25rem;
  background: var(--paper-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.seats td { padding: 1.125rem 1.25rem; vertical-align: middle; }
.seats td:first-child { font-weight: 600; color: var(--ink); }
.seats td:last-child { text-align: right; }
.seats tr:last-child td { border-bottom: 0; }
.seats .price { font-variant-numeric: tabular-nums; }
.seats .note { font-size: 0.9375rem; line-height: 1.55; }
/* Several plans per table: outlined row buttons keep the page calm; hover fills. */
.seats .btn {
  min-height: 40px;
  padding: 0.5rem 1rem;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
}
.seats .btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.seats tr.is-current td { background: var(--paper-2); }
.current-plan {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.learn-more { margin: 1.25rem 0 0; font-size: 0.9375rem; }
.vat { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }
.vat + .btn { margin-top: 1.25rem; }

@media (max-width: 600px) {
  .seats tr { padding: 1rem 1.25rem; }
  .seats td:last-child { text-align: left; }
}

/* ---------- 7. Cart and checkout (preview and Woo classic markup) ---------- */
.cart-list { margin: 2rem 0; }
.cart-list li { gap: 1.25rem; padding: 1.25rem 0; }
.cart-list strong { font-weight: 600; color: var(--ink); }
.cart-total {
  margin: 1.5rem 0 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
html body .main .chip[data-remove] {
  justify-self: start;
  width: auto;
  min-height: 40px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form { gap: 1.25rem; }
.form label { gap: 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.form input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select,
.woocommerce .quantity .qty,
.guide-row input,
.guide-transcript {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--ease);
}
.form input:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.guide-transcript:focus { border-color: var(--ink); outline: none; }
.woocommerce .quantity .qty { width: 5rem; text-align: center; }

/* The checkout hold notice: calm and neutral, still unmissable. */
.staging {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  max-width: 41rem;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.staging::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-2px);
}
.form + .staging, .lede + .staging { margin-top: 1.5rem; }

/* Woo classic tables (cart, totals, order review). */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  width: 100%;
  margin: 0 0 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--paper);
  font-size: 1rem;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.woocommerce table.shop_table thead th {
  background: var(--paper-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.woocommerce table.shop_table tr:last-child > td,
.woocommerce table.shop_table tr:last-child > th { border-bottom: 0; }
.woocommerce table.shop_table td.product-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table .product-thumbnail { display: none; }
.woocommerce table.shop_table .amount { font-variant-numeric: tabular-nums; color: var(--ink); }
.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.woocommerce table.shop_table td.actions { background: var(--paper-2); text-align: right; }
.woocommerce-cart-form .product-remove a,
.woocommerce-cart .product-remove a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
}
.woocommerce-cart-form .product-remove a:hover { border-color: var(--ink); color: var(--ink); }

.woocommerce .cart-collaterals { margin-top: 1rem; }
.woocommerce .cart_totals,
.woocommerce-page .cart_totals { max-width: 32rem; margin-left: auto; }
.woocommerce .cart_totals h2,
.woocommerce-page .cart_totals h2,
#order_review_heading,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; }

/* Checkout: fields left, order summary right, from 900px. */
@media (min-width: 900px) {
  .woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 0 4rem;
    align-items: start;
  }
  .woocommerce-checkout form.checkout > * { grid-column: 1; }
  .woocommerce-checkout form.checkout > #order_review_heading,
  .woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
  .woocommerce-checkout form.checkout > #customer_details { grid-row: 1 / span 3; }
  .woocommerce-checkout form.checkout > #order_review_heading { grid-row: 1; }
  .woocommerce-checkout form.checkout > #order_review { grid-row: 2; align-self: start; }
}
.woocommerce form .form-row { display: grid; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0; }
.woocommerce form .form-row label { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.woocommerce form .form-row .required { color: var(--muted); text-decoration: none; }
.woocommerce-checkout #payment {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-2);
}
.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 1rem; padding: 0; list-style: none; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text { font-size: 0.8125rem; color: var(--muted); }
.woocommerce-checkout #place_order { width: 100%; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.9375rem;
  list-style: none;
}
.woocommerce-notices-wrapper ul,
ul.woocommerce-error,
ul.woocommerce-info,
ul.woocommerce-message { padding-left: 1.25rem; }
.woocommerce-notices-wrapper li,
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li { list-style: none; }
.wc-block-components-notice-banner {
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}
.wc-block-components-notice-banner > svg { fill: currentColor !important; background: transparent !important; }
/* Checkout is held: with no gateway, Woo prints an empty notice box. Hide it until a method exists. */
.woocommerce-checkout #payment ul.payment_methods:not(:has(input[name="payment_method"])) { display: none; }

/* Country field (selectWoo). */
.woocommerce .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0.875rem;
  line-height: 42px;
  color: var(--ink);
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { top: 0; right: 8px; height: 42px; }
.select2-dropdown { border-color: var(--line-strong) !important; background: var(--paper) !important; color: var(--ink); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--ink) !important; color: var(--paper) !important; }
.select2-container--default .select2-search--dropdown .select2-search__field { border-color: var(--line-strong); background: var(--paper); color: var(--ink); }

.cart-empty-authored h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; }
.cart-empty-authored p,
.empty { color: var(--muted); }

/* ---------- 8. Guide panel ---------- */
.guide-panel {
  border-color: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.25);
}
.guide-head { background: var(--paper-2); }
.guide-head strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.msg { border-radius: 10px; }
.guide-badge, .guide-mode { border-radius: 100px; }
.guide-offer a { border-radius: var(--radius); }
.guide-actions .btn { white-space: normal; }
@media (max-width: 600px) {
  .guide-panel { border-radius: var(--radius-card) var(--radius-card) 0 0; }
}

/* ---------- 9. Footer: kraliki .footer ---------- */
.foot {
  margin-top: 3rem;
  padding: 4rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.875rem;
}
.foot-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .foot-inner { grid-template-columns: 1fr 2fr; }
  .foot-bottom { grid-column: 1 / -1; }
}
.foot-brand { max-width: 280px; }
.foot-brand .wordmark { display: inline-block; margin-bottom: 1rem; }
.foot-tagline { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foot-heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.family,
.support { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin: 0; }
.support > span { display: none; }
.foot a,
.family a,
.support a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--muted);
  transition: color var(--ease), transform var(--ease);
}
.foot a:hover { color: var(--ink); }
.family a:hover,
.support a:hover { transform: translateX(4px); }
.foot-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.foot-legal { margin: 0; font-size: 0.75rem; color: var(--muted); }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { font-size: 0.75rem; text-transform: none; letter-spacing: 0; }
.foot .wordmark { font-size: 1.25rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); }

/* ---------- 10. Motion and print safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .btn, .door, .top .chip, .family a, .support a { transition: none; transform: none !important; }
}
