/* WP InPlate — component stylesheet. Loads after tokens.css. Prefix: ip- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 26px; background: var(--plate-color-background); color: var(--plate-color-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[data-theme="dark"] { background: var(--plate-color-background); color: var(--plate-color-text); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
.ip-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ip-muted { color: var(--plate-color-text-muted); }
.ip-icon { flex: none; display: inline-block; vertical-align: middle; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--plate-focus-ring); border-radius: var(--plate-radius-sm); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }

/* ---------- Type: fluid desktop→mobile ---------- */
.ip-t-display-xl { font-size: clamp(44px, 3.2vw + 26px, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; max-width: 14ch; text-wrap: balance; }
.ip-t-display-l { font-size: clamp(38px, 2.2vw + 24px, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
.ip-t-h1 { font-size: clamp(34px, 1.2vw + 26px, 44px); line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.ip-t-h2 { font-size: clamp(28px, 0.8vw + 22px, 34px); line-height: 1.18; font-weight: 600; letter-spacing: -0.015em; max-width: 28ch; text-wrap: balance; }
.ip-t-h3 { font-size: clamp(22px, 0.5vw + 18px, 26px); line-height: 1.23; font-weight: 600; letter-spacing: -0.01em; }
.ip-t-h4 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.005em; }
.ip-t-h5 { font-size: 17px; line-height: 24px; font-weight: 600; }
/* Running text has two sizes site-wide (user decision 2026-10-08): 18px for every content paragraph, leads included,
   and 15px for small text (cards, steps, stats). Special elements (eyebrow, captions, tables, buttons, navigation,
   menu mockups, map popups) keep their own sizes. */
.ip-t-body-lg { font-size: 18px; line-height: 28px; max-width: 60ch; }
.ip-t-body { font-size: 18px; line-height: 28px; max-width: 68ch; }
.ip-t-body-sm { font-size: 15px; line-height: 23px; }
.ip-t-caption { font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.005em; }
.ip-eyebrow, .ip-t-overline { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plate-color-primary-text); margin-bottom: var(--plate-space-3); }
.ip-t-code { font-family: var(--font-mono); font-size: 14px; line-height: 22px; }

/* ---------- Layout ---------- */
.ip-container { width: 100%; max-width: calc(var(--plate-container-max) + 2 * var(--plate-page-margin-desktop)); margin-inline: auto; padding-inline: var(--plate-page-margin-mobile); }
/* Site-wide rule: one container width everywhere; --text and --narrow are kept as aliases only. */
.ip-container--text, .ip-container--narrow { max-width: calc(var(--plate-container-max) + 2 * var(--plate-page-margin-desktop)); }
.ip-container--wide { max-width: var(--plate-container-wide); }
@media (max-width: 374px) { .ip-container { padding-inline: var(--plate-space-4); } }
@media (min-width: 768px) { .ip-container { padding-inline: var(--plate-page-margin-tablet); } }
@media (min-width: 1024px) { .ip-container { padding-inline: var(--plate-page-margin-desktop); } }
.ip-grid { display: grid; gap: var(--plate-grid-gap-mobile); grid-template-columns: 1fr; }
.ip-grid--gap-lg { row-gap: var(--plate-space-12); }
@media (min-width: 768px) { .ip-grid { gap: var(--plate-grid-gap-tablet); } .ip-grid--2, .ip-grid--3, .ip-grid--4 { grid-template-columns: repeat(2, 1fr); } .ip-grid--gap-lg { row-gap: var(--plate-space-12); } }
@media (min-width: 1024px) { .ip-grid { gap: var(--plate-grid-gap-desktop); } .ip-grid--3 { grid-template-columns: repeat(3, 1fr); } .ip-grid--4 { grid-template-columns: repeat(4, 1fr); } .ip-grid--gap-lg { column-gap: var(--plate-space-10); row-gap: var(--plate-space-16); } }
.ip-section { padding-block: var(--plate-space-16); }
.ip-section--sm { padding-block: var(--plate-space-12); }
.ip-section--lg { padding-block: var(--plate-space-20); }
@media (min-width: 1024px) { .ip-section--sm { padding-block: var(--plate-section-sm); } .ip-section--md { padding-block: var(--plate-section-md); } .ip-section--lg { padding-block: var(--plate-section-lg); } }
.ip-section--muted { background: var(--plate-color-surface-muted); }
.ip-section--cream { background: var(--plate-color-surface-cream); }
.ip-section--dark { background: var(--plate-color-background); color: var(--plate-color-text); }
.ip-section + .ip-section--default { border-top: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-sh { display: flex; flex-wrap: wrap; gap: var(--plate-space-6); align-items: end; justify-content: space-between; margin-bottom: var(--plate-space-10); }
.ip-sh__lead { margin-top: var(--plate-space-4); }
.ip-sh--center { justify-content: center; text-align: center; }
.ip-sh--center .ip-sh__text > * { margin-inline: auto; }
@media (min-width: 1024px) { .ip-sh { margin-bottom: var(--plate-space-12); } }

/* ---------- Logo ---------- */
.ip-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--plate-color-text); text-decoration: none; }
.ip-logo__icon { border-radius: 22%; }
.ip-logo__word { font-weight: 650; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.ip-logo__wp { font-weight: 500; color: var(--plate-color-text-muted); letter-spacing: 0; }
.ip-logo__in { color: var(--plate-color-primary-text); }
.ip-logo--mono .ip-logo__wp, .ip-logo--mono .ip-logo__in { color: inherit; }

/* ---------- Button ---------- */
.ip-btn { --b-bg: var(--plate-color-primary); --b-fg: var(--plate-color-on-primary); --b-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--plate-space-2); font: inherit; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; text-decoration: none; cursor: pointer;
  height: 40px; padding: 0 var(--plate-space-4); font-size: 15px; line-height: 20px; border-radius: var(--plate-radius-md);
  background: var(--b-bg); color: var(--b-fg); border: var(--plate-border-hairline) solid var(--b-bd);
  transition: background-color var(--plate-duration-fast) var(--plate-ease-standard), border-color var(--plate-duration-fast) var(--plate-ease-standard), color var(--plate-duration-fast) var(--plate-ease-standard), transform var(--plate-duration-instant) var(--plate-ease-standard); }
.ip-btn--sm { height: 32px; padding: 0 var(--plate-space-3); font-size: 14px; border-radius: var(--plate-radius-sm); gap: 6px; }
.ip-btn--lg { height: 48px; padding: 0 var(--plate-space-5); font-size: 16px; }
.ip-btn--block { width: 100%; }
.ip-btn--icon { padding: 0; width: 40px; } .ip-btn--icon.ip-btn--sm { width: 32px; } .ip-btn--icon.ip-btn--lg { width: 48px; }
.ip-btn--sm::after { content: ""; position: absolute; inset: -6px -2px; }
.ip-btn--primary:hover, .ip-btn--primary.is-hover { --b-bg: var(--plate-color-primary-hover); }
.ip-btn--primary:active, .ip-btn--primary.is-active { --b-bg: var(--plate-color-primary-active); }
.ip-btn--secondary { --b-bg: var(--plate-color-surface-muted); --b-fg: var(--plate-color-text); --b-bd: var(--plate-color-border-subtle); }
.ip-btn--secondary:hover, .ip-btn--secondary.is-hover { --b-bd: var(--plate-color-border); background: var(--plate-color-border-subtle); }
.ip-btn--secondary:active, .ip-btn--secondary.is-active { background: var(--plate-color-border); }
.ip-btn--outline { --b-bg: transparent; --b-fg: var(--plate-color-text); --b-bd: var(--plate-color-border-strong); }
.ip-btn--outline:hover, .ip-btn--outline.is-hover { --b-bd: var(--plate-color-text); --b-bg: var(--plate-color-surface); }
.ip-btn--outline:active, .ip-btn--outline.is-active { --b-bg: var(--plate-color-surface-muted); }
.ip-btn--ghost { --b-bg: transparent; --b-fg: var(--plate-color-text); }
.ip-btn--ghost:hover, .ip-btn--ghost.is-hover { --b-bg: var(--plate-color-surface-muted); }
.ip-btn--ghost:active, .ip-btn--ghost.is-active { --b-bg: var(--plate-color-border-subtle); }
.ip-btn--destructive { --b-bg: var(--plate-color-error); --b-fg: var(--plate-color-on-error); }
.ip-btn--destructive:hover, .ip-btn--destructive.is-hover { --b-bg: var(--plate-color-error-hover); }
.ip-btn:active:not(:disabled), .ip-btn.is-active { transform: translateY(1px); }
.ip-btn.is-focus, .ip-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--plate-focus-ring); border-radius: var(--plate-radius-md); }
.ip-btn--sm.is-focus, .ip-btn--sm:focus-visible { border-radius: var(--plate-radius-sm); }
.ip-btn:disabled, .ip-btn[aria-disabled="true"], .ip-btn.is-disabled { cursor: not-allowed; transform: none; --b-bg: var(--plate-color-surface-muted); --b-fg: var(--plate-color-text-disabled); --b-bd: var(--plate-color-border-subtle); }
.ip-btn--ghost:disabled, .ip-btn--outline:disabled { --b-bg: transparent; }
.ip-btn.is-loading { cursor: progress; --b-bg: var(--plate-color-primary); --b-fg: var(--plate-color-on-primary); --b-bd: transparent; }
.ip-btn--outline.is-loading, .ip-btn--secondary.is-loading, .ip-btn--ghost.is-loading { --b-bg: var(--plate-color-surface-muted); --b-fg: var(--plate-color-text); }
.ip-btn.is-loading > :not(.ip-spinner):not(.ip-sr) { opacity: 0; }
.ip-spinner { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ip-spin 700ms linear infinite; }
@keyframes ip-spin { to { transform: rotate(360deg); } }
.ip-btn__end { transition: transform var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-btn:hover .ip-btn__end { transform: translateX(2px); }

/* ---------- Links ---------- */
.ip-link { display: inline-flex; align-items: center; gap: 6px; color: var(--plate-color-link); text-decoration: none; font-weight: 600; transition: color var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-link--inline { display: inline; font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: currentColor; }
.ip-link--inline:hover, .ip-link--inline.is-hover { color: var(--plate-color-link-hover); text-decoration-thickness: 2px; }
.ip-link--nav { color: var(--plate-color-text); font-weight: 500; }
.ip-link--nav:hover, .ip-link--nav.is-hover { color: var(--plate-color-primary-text); }
.ip-link--nav[aria-current="page"] { color: var(--plate-color-primary-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.ip-link--action:hover .ip-link__label, .ip-link--action.is-hover .ip-link__label, .ip-link--arrow:hover .ip-link__label, .ip-link--arrow.is-hover .ip-link__label { text-decoration: underline; text-underline-offset: 3px; }
.ip-link--action:hover, .ip-link--arrow:hover, .ip-link.is-hover { color: var(--plate-color-link-hover); }
.ip-link__arrow { transition: transform var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-link--arrow:hover .ip-link__arrow, .ip-link--arrow.is-hover .ip-link__arrow { transform: translateX(3px); }
.ip-link.is-focus { box-shadow: var(--plate-focus-ring); border-radius: var(--plate-radius-sm); }
.ip-link__ext { opacity: .8; }
.ip-stretch { color: inherit; text-decoration: none; }
.ip-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Forms ---------- */
.ip-field { display: grid; gap: 6px; max-width: 440px; }
.ip-label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--plate-color-text); padding: 0; }
.ip-label__req { color: var(--plate-color-error-text); }
.ip-label__opt { font-weight: 400; color: var(--plate-color-text-muted); margin-left: var(--plate-space-2); }
.ip-hint { font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-msg { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; line-height: 18px; font-weight: 500; }
.ip-msg .ip-icon { margin-top: 1px; }
.ip-msg--error { color: var(--plate-color-error-text); }
.ip-msg--success { color: var(--plate-color-success-text); }
.ip-control { position: relative; }
.ip-input { width: 100%; font: inherit; font-size: 15px; line-height: 22px; color: var(--plate-color-text); background: var(--plate-color-surface); height: 44px; padding: 0 var(--plate-space-3);
  border: var(--plate-border-hairline) solid var(--plate-color-border-strong); border-radius: var(--plate-radius-md); appearance: none;
  transition: border-color var(--plate-duration-fast) var(--plate-ease-standard), box-shadow var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-input::placeholder { color: var(--plate-color-text-subtle); }
.ip-input--area { height: auto; padding: 10px var(--plate-space-3); resize: vertical; min-height: 104px; }
.ip-input.has-icon { padding-left: 40px; }
.ip-control__icon { position: absolute; left: 12px; top: 13px; color: var(--plate-color-text-muted); pointer-events: none; }
.ip-control__status { position: absolute; right: 12px; top: 13px; color: var(--plate-color-success); }
.ip-input:hover, .ip-input.is-hover { border-color: var(--plate-color-text-muted); }
.ip-input:focus, .ip-input.is-focus { outline: none; border-color: var(--plate-color-focus); box-shadow: 0 0 0 1px var(--plate-color-focus); }
.ip-input:disabled { background: var(--plate-color-surface-muted); color: var(--plate-color-text-disabled); border-color: var(--plate-color-border); cursor: not-allowed; }
.ip-field.is-error .ip-input { border-color: var(--plate-color-error); }
.ip-field.is-error .ip-input:focus { box-shadow: 0 0 0 1px var(--plate-color-error); }
.ip-field.is-success .ip-input { border-color: var(--plate-color-success); padding-right: 40px; }
.ip-input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.ip-select { padding-right: 40px; cursor: pointer; }
.ip-select__chev { position: absolute; right: 12px; top: 13px; pointer-events: none; color: var(--plate-color-text-muted); }
.ip-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--plate-space-2); }
.ip-fieldset__items { display: grid; gap: var(--plate-space-1); }
.ip-fieldset--inline .ip-fieldset__items { display: flex; flex-wrap: wrap; gap: var(--plate-space-1) var(--plate-space-6); }
.ip-choice { display: flex; gap: var(--plate-space-3); align-items: flex-start; cursor: pointer; min-height: 44px; padding: 10px 0; position: relative; }
.ip-choice__input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; top: 11px; left: 0; cursor: inherit; }
.ip-choice__box { flex: none; width: 20px; height: 20px; margin-top: 1px; display: grid; place-items: center; background: var(--plate-color-surface); border: 1.5px solid var(--plate-color-border-strong); border-radius: var(--plate-radius-xs); color: var(--plate-color-on-primary); transition: background-color var(--plate-duration-fast) var(--plate-ease-standard), border-color var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-choice__box .ip-icon { opacity: 0; transform: scale(.6); transition: opacity var(--plate-duration-fast), transform var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-choice--radio .ip-choice__box { border-radius: 50%; }
.ip-choice--radio .ip-choice__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plate-color-on-primary); transform: scale(0); transition: transform var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-choice:hover .ip-choice__box, .ip-choice.is-hover .ip-choice__box { border-color: var(--plate-color-text-muted); }
.ip-choice__input:checked + .ip-choice__box, .ip-choice__input:indeterminate + .ip-choice__box { background: var(--plate-color-primary); border-color: var(--plate-color-primary); }
.ip-choice__input:checked + .ip-choice__box .ip-icon, .ip-choice__input:indeterminate + .ip-choice__box .ip-icon { opacity: 1; transform: none; }
.ip-choice__input:checked + .ip-choice__box::after { transform: scale(1); }
.ip-choice__input:focus-visible + .ip-choice__box, .ip-choice__input:focus-visible + .ip-toggle__track, .ip-choice.is-focus .ip-choice__box, .ip-choice.is-focus .ip-toggle__track { box-shadow: var(--plate-focus-ring); }
.ip-choice__input:disabled ~ * { opacity: .55; cursor: not-allowed; }
.ip-choice__input:disabled + .ip-choice__box { background: var(--plate-color-surface-muted); border-color: var(--plate-color-border); }
.ip-choice.is-error .ip-choice__box { border-color: var(--plate-color-error); }
.ip-choice__text { display: grid; gap: 2px; }
.ip-choice__label { font-size: 15px; line-height: 22px; }
.ip-choice__hint { font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-toggle__track { flex: none; position: relative; width: 40px; height: 24px; border-radius: var(--plate-radius-pill); background: var(--plate-color-border-strong); transition: background-color var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--plate-color-surface); box-shadow: var(--plate-shadow-subtle); transition: transform var(--plate-duration-fast) var(--plate-ease-standard); }
.ip-choice__input:checked + .ip-toggle__track { background: var(--plate-color-primary); }
.ip-choice__input:checked + .ip-toggle__track .ip-toggle__thumb { transform: translateX(16px); }
.ip-choice--toggle .ip-choice__input { width: 40px; height: 24px; top: 10px; }

/* ---------- Badges & menu tags ---------- */
.ip-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: var(--plate-radius-sm); font-size: 13px; line-height: 1; font-weight: 600; white-space: nowrap; background: var(--plate-color-surface-muted); color: var(--plate-color-text-muted); }
.ip-badge--sm { height: 20px; padding: 0 6px; font-size: 12px; }
.ip-badge--primary { background: var(--plate-color-primary-subtle); color: var(--plate-color-primary-text); }
.ip-badge--accent { background: var(--plate-color-accent-subtle); color: var(--plate-color-accent-text); }
.ip-badge--success { background: var(--plate-color-success-subtle); color: var(--plate-color-success-text); }
.ip-badge--warning { background: var(--plate-color-warning-subtle); color: var(--plate-color-warning-text); }
.ip-badge--error { background: var(--plate-color-error-subtle); color: var(--plate-color-error-text); }
.ip-badge--info { background: var(--plate-color-info-subtle); color: var(--plate-color-info-text); }
.ip-badge--solid { background: var(--plate-color-primary); color: var(--plate-color-on-primary); }
.ip-mtag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px; border-radius: var(--plate-radius-pill); font-size: 12.5px; font-weight: 500; line-height: 1; white-space: nowrap; }
.ip-mtag--diet { border: var(--plate-border-hairline) solid var(--plate-color-border); color: var(--plate-color-text-muted); background: transparent; }
.ip-mtag--promo { font-weight: 600; background: var(--plate-color-surface-muted); color: var(--plate-color-text); }
.ip-mtag--primary { background: var(--plate-color-primary-subtle); color: var(--plate-color-primary-text); }
.ip-mtag--warning { background: var(--plate-color-warning-subtle); color: var(--plate-color-warning-text); }
.ip-mtag--accent { background: var(--plate-color-accent-subtle); color: var(--plate-color-accent-text); }
.ip-mtag--compact { width: 26px; padding: 0; justify-content: center; }

/* ---------- Tooltip ---------- */
.ip-tip { position: relative; display: inline-flex; vertical-align: middle; }
.ip-tip__trigger { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--plate-color-text-muted); cursor: help; border-radius: 50%; }
.ip-tip__trigger:hover { color: var(--plate-color-text); }
.ip-tip__bubble { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); width: max-content; max-width: 260px; padding: 8px 10px; border-radius: var(--plate-radius-sm); background: var(--plate-color-surface-inverse); color: var(--plate-color-background); font-size: 13px; line-height: 18px; font-weight: 400; box-shadow: var(--plate-shadow-floating); opacity: 0; visibility: hidden; transition: opacity var(--plate-duration-fast) var(--plate-ease-enter), transform var(--plate-duration-fast) var(--plate-ease-enter); z-index: var(--plate-z-dropdown); text-align: left; }
.ip-tip__bubble.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Tabs ---------- */
.ip-tabs__list { display: flex; gap: var(--plate-space-6); border-bottom: var(--plate-border-hairline) solid var(--plate-color-border); overflow-x: auto; scrollbar-width: none; }
.ip-tabs__tab { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 500; color: var(--plate-color-text-muted); background: none; border: 0; padding: 12px 0 10px; border-bottom: var(--plate-border-thick) solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; min-height: 44px; transition: color var(--plate-duration-fast); }
.ip-tabs__tab:hover { color: var(--plate-color-text); }
.ip-tabs__tab[aria-selected="true"] { color: var(--plate-color-text); border-bottom-color: var(--plate-color-primary); font-weight: 600; }
.ip-tabs__panel { padding-top: var(--plate-space-6); }
.ip-tabs--segmented .ip-tabs__list { display: inline-flex; gap: 2px; padding: 3px; border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-pill); background: var(--plate-color-surface-muted); }
.ip-tabs--segmented .ip-tabs__tab { border: 0; margin: 0; padding: 6px 16px; min-height: 36px; border-radius: var(--plate-radius-pill); }
.ip-tabs--segmented .ip-tabs__tab[aria-selected="true"] { background: var(--plate-color-surface); box-shadow: var(--plate-shadow-subtle); }

/* ---------- Accordion ---------- */
.ip-accordion { border-top: var(--plate-border-hairline) solid var(--plate-color-border); max-width: 800px; }
.ip-accordion__item { border-bottom: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-accordion__h { margin: 0; font-size: inherit; }
.ip-accordion__btn { width: 100%; display: flex; justify-content: space-between; gap: var(--plate-space-6); align-items: center; text-align: left; font: inherit; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--plate-color-text); background: none; border: 0; padding: var(--plate-space-5) 0; cursor: pointer; }
.ip-accordion__btn:hover { color: var(--plate-color-primary-text); }
.ip-accordion__btn .ip-icon { color: var(--plate-color-text-muted); }
.ip-accordion__body { padding: 0 var(--plate-space-10) var(--plate-space-6) 0; color: var(--plate-color-text-muted); max-width: 68ch; animation: ip-reveal var(--plate-duration-base) var(--plate-ease-enter); }
@keyframes ip-reveal { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Breadcrumb ---------- */
.ip-crumbs ol { list-style: none; margin: 0 0 var(--plate-space-4); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.ip-crumbs a { color: var(--plate-color-text-muted); text-decoration: none; }
.ip-crumbs a:hover { color: var(--plate-color-link); text-decoration: underline; }
.ip-crumbs [aria-current] { color: var(--plate-color-text); font-weight: 500; }

/* ---------- Header ---------- */
.ip-header { position: relative; z-index: var(--plate-z-sticky); background: color-mix(in srgb, var(--plate-color-background) 94%, transparent); border-bottom: var(--plate-border-hairline) solid transparent; transition: border-color var(--plate-duration-base), box-shadow var(--plate-duration-base); }
@supports (backdrop-filter: blur(1px)) { .ip-header { backdrop-filter: saturate(1.2) blur(8px); } }
.ip-header.is-sticky { position: sticky; top: 0; }
.ip-header.is-scrolled { border-bottom-color: var(--plate-color-border-subtle); }
.ip-header__inner { display: flex; align-items: center; gap: var(--plate-space-8); height: 56px; }
@media (min-width: 1024px) { .ip-header__inner { height: var(--plate-header-height); } }
.ip-header__logo { display: inline-flex; text-decoration: none; border-radius: var(--plate-radius-sm); }
.ip-header__nav { display: none; flex: 1; }
.ip-header__actions { display: none; align-items: center; gap: var(--plate-space-5); }
.ip-header__burger { margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--plate-color-text); cursor: pointer; border-radius: var(--plate-radius-md); }
@media (min-width: 1024px) { .ip-header__nav, .ip-header__actions { display: flex; } .ip-header__burger, .ip-mnav { display: none !important; } }
.ip-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--plate-space-1); }
.ip-nav__item { position: relative; }
.ip-nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; white-space: nowrap; padding: 0 var(--plate-space-3); font: inherit; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--plate-color-text); background: none; border: 0; border-radius: var(--plate-radius-md); text-decoration: none; cursor: pointer; transition: background-color var(--plate-duration-fast), color var(--plate-duration-fast); }
.ip-nav__link:hover, .ip-nav__link[aria-expanded="true"] { background: var(--plate-color-surface-muted); }
.ip-nav__link.is-current, .ip-nav__link[aria-current="page"] { color: var(--plate-color-primary-text); }
.ip-nav__chev { color: var(--plate-color-text-muted); transition: transform var(--plate-duration-base) var(--plate-ease-standard); }
.ip-nav__link[aria-expanded="true"] .ip-nav__chev { transform: rotate(180deg); }
/* Header CTA: the one action in the header, taller than the nav, with the brand shadow and an arrow that nudges on hover. */
.ip-header__cta { height: 44px; padding: 0 var(--plate-space-4) 0 var(--plate-space-5); font-size: 15px; box-shadow: 0 1px 2px #1e10081f, 0 8px 18px -8px color-mix(in srgb, var(--plate-color-primary) 75%, transparent); transition: background-color var(--plate-duration-fast) var(--plate-ease-standard), box-shadow var(--plate-duration-base) var(--plate-ease-standard), transform var(--plate-duration-base) var(--plate-ease-standard); }
.ip-header__cta:hover { transform: translateY(-1px); box-shadow: 0 2px 4px #1e100824, 0 12px 24px -10px color-mix(in srgb, var(--plate-color-primary) 85%, transparent); }
.ip-header__cta-icon { flex: none; transition: transform var(--plate-duration-base) var(--plate-ease-standard); }
.ip-header__cta:hover .ip-header__cta-icon { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .ip-header__cta, .ip-header__cta:hover, .ip-header__cta:hover .ip-header__cta-icon { transform: none; } }
.ip-dropdown { position: absolute; top: calc(100% + 8px); left: -8px; z-index: var(--plate-z-dropdown); background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); box-shadow: var(--plate-shadow-floating); padding: var(--plate-space-2); animation: ip-drop var(--plate-duration-base) var(--plate-ease-enter); }
@keyframes ip-drop { from { opacity: 0; transform: translateY(-4px); } }
.ip-dropdown__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; width: 340px; }
.ip-dropdown__grid.is-2col { grid-template-columns: 1fr 1fr; width: 620px; }
.ip-dropdown__item { display: flex; gap: var(--plate-space-3); padding: var(--plate-space-3); border-radius: var(--plate-radius-md); text-decoration: none; color: var(--plate-color-text); transition: background-color var(--plate-duration-fast); }
.ip-dropdown__item:hover { background: var(--plate-color-surface-muted); }
.ip-dropdown__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--plate-radius-md); border: var(--plate-border-hairline) solid var(--plate-color-border); color: var(--plate-color-primary-text); background: var(--plate-color-background); }
.ip-dropdown__title { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.ip-dropdown__desc { display: block; font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); margin-top: 2px; }
.ip-mnav { border-top: var(--plate-border-hairline) solid var(--plate-color-border-subtle); background: var(--plate-color-background); padding: var(--plate-space-2) var(--plate-page-margin-mobile) var(--plate-space-6); animation: ip-drop var(--plate-duration-slow) var(--plate-ease-enter); }
.ip-header.is-sticky .ip-mnav { max-height: calc(100vh - 56px); overflow-y: auto; }
.ip-mnav__list { list-style: none; margin: 0; padding: 0; }
.ip-mnav__list > li { border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-mnav__link, .ip-mnav__group summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 17px; font-weight: 600; color: var(--plate-color-text); text-decoration: none; cursor: pointer; list-style: none; }
.ip-mnav__group summary::-webkit-details-marker { display: none; }
.ip-mnav__group[open] summary .ip-icon { transform: rotate(180deg); }
.ip-mnav__group ul { list-style: none; margin: 0 0 var(--plate-space-3); padding: 0; }
.ip-mnav__group a { display: flex; align-items: center; gap: var(--plate-space-3); min-height: 44px; color: var(--plate-color-text); text-decoration: none; font-size: 15px; }
.ip-mnav__group a .ip-icon { color: var(--plate-color-primary-text); }
.ip-mnav__actions { display: grid; gap: var(--plate-space-3); padding-top: var(--plate-space-6); text-align: center; }

/* ---------- Footer ---------- */
.ip-footer { background: var(--plate-color-background); color: var(--plate-color-text); padding: var(--plate-space-16) 0 var(--plate-space-8); }
.ip-footer__top { display: grid; gap: var(--plate-space-12); }
.ip-footer__brand { display: grid; gap: var(--plate-space-4); align-content: start; max-width: 320px; }
.ip-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--plate-space-10) var(--plate-space-6); }
@media (min-width: 768px) { .ip-footer__cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .ip-footer__top { grid-template-columns: 4fr 8fr; } }
.ip-footer__title { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plate-color-text-muted); margin-bottom: var(--plate-space-4); }
.ip-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--plate-space-2); }
.ip-footer__col a { color: var(--plate-color-text); text-decoration: none; font-size: 15px; line-height: 28px; }
.ip-footer__col a:hover { color: var(--plate-color-link); text-decoration: underline; text-underline-offset: 3px; }
.ip-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--plate-space-3); margin-top: var(--plate-space-16); padding-top: var(--plate-space-6); border-top: var(--plate-border-hairline) solid var(--plate-color-border-subtle); font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }

/* ---------- Photo ---------- */
.ip-photo { margin: 0; }
/* Cut-out product shot (transparent PNG/WebP, e.g. the courier app phone): no crop, no backdrop, height-capped. */
.ip-photo--cutout { display: flex; justify-content: center; }
/* A cutout-sized photo with its own background (e.g. the courier app in hand): keep the size limit, round the corners. */
.ip-photo--cutout.ip-photo--rounded img { border-radius: var(--plate-radius-xl) !important; box-shadow: var(--plate-shadow-floating); }
.ip-photo--cutout img { width: auto !important; max-width: 100%; height: auto; max-height: 640px; background: none !important; border-radius: 0 !important; }
.ip-photo__frame { position: relative; overflow: hidden; background: var(--plate-color-surface-muted); }
.ip-photo--r-xl .ip-photo__frame { border-radius: var(--plate-radius-xl); }
.ip-photo--r-lg .ip-photo__frame { border-radius: var(--plate-radius-lg); }
.ip-photo--r-md .ip-photo__frame { border-radius: var(--plate-radius-md); }
.ip-photo--r-none .ip-photo__frame { border-radius: 0; }
.ip-photo__frame > img { width: 100%; height: 100%; object-fit: cover; }
.ip-photo__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--plate-space-2); padding: var(--plate-space-4); text-align: center; color: var(--plate-color-text-muted); font-size: 12px; line-height: 16px; background: repeating-linear-gradient(135deg, var(--plate-color-surface-muted) 0 10px, var(--plate-color-surface-cream) 10px 11px); }
.ip-photo__ph span { max-width: 26ch; }
.ip-photo--r-md .ip-photo__ph span { display: none; }
.ip-photo__cap { display: flex; justify-content: space-between; gap: var(--plate-space-4); margin-top: var(--plate-space-2); font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-photo__credit { color: var(--plate-color-text-subtle); }

/* ---------- Cards ---------- */
.ip-fcard { position: relative; display: grid; gap: var(--plate-space-3); align-content: start; }
.ip-fcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--plate-radius-md); border: var(--plate-border-hairline) solid var(--plate-color-border); color: var(--plate-color-primary-text); background: var(--plate-color-surface); margin-bottom: var(--plate-space-2); }
.ip-fcard--framed { padding: var(--plate-space-6); background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); }
.ip-fcard--rule { padding-top: var(--plate-space-5); border-top: var(--plate-border-hairline) solid var(--plate-color-text); }
.ip-fcard__media { margin-bottom: var(--plate-space-3); }
.ip-fcard__link { margin-top: var(--plate-space-1); }
.ip-ucard { position: relative; display: grid; gap: var(--plate-space-4); align-content: start; }
.ip-ucard__text { display: grid; gap: var(--plate-space-2); }
.ip-ucard .ip-eyebrow { margin: 0; }
.ip-ucard img { transition: transform var(--plate-duration-slow) var(--plate-ease-standard); }
.ip-ucard:hover img { transform: scale(1.02); }
.ip-ucard:hover h3 a, .ip-acard:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ip-ucard:focus-within { border-radius: var(--plate-radius-lg); box-shadow: var(--plate-focus-ring); }
.ip-ucard a:focus-visible, .ip-acard a:focus-visible { box-shadow: none; }
.ip-rating { display: inline-flex; align-items: center; gap: var(--plate-space-2); font-size: 14px; line-height: 20px; }
.ip-rating__stars { display: inline-flex; gap: 1px; }
.ip-rating__star { position: relative; display: inline-flex; color: var(--plate-color-border); }
.ip-rating__fill { position: absolute; inset: 0; overflow: hidden; color: var(--plate-color-warning); }
.ip-rating__fill .ip-icon { fill: currentColor; }
.ip-avatar { flex: none; border-radius: 50%; object-fit: cover; }
.ip-avatar--ph { display: inline-grid; place-items: center; background: var(--plate-color-surface-cream); color: var(--plate-color-text-muted); font-size: 14px; font-weight: 600; }
.ip-tcard { display: grid; gap: var(--plate-space-5); align-content: start; padding-top: var(--plate-space-6); border-top: var(--plate-border-hairline) solid var(--plate-color-border); max-width: 560px; }
.ip-tcard__q p { text-wrap: pretty; }
.ip-tcard--feature { max-width: 880px; border-top: 0; padding-top: 0; }
.ip-tcard__who { display: flex; align-items: center; gap: var(--plate-space-3); }
.ip-tcard__name { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.ip-review { display: grid; gap: var(--plate-space-2); padding: var(--plate-space-4); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); background: var(--plate-color-surface); max-width: 360px; }
.ip-pcard { position: relative; display: grid; gap: var(--plate-space-3); align-content: start; padding: var(--plate-space-8) var(--plate-space-6); background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); }
.ip-pcard.is-highlighted { border: var(--plate-border-thick) solid var(--plate-color-primary); padding: calc(var(--plate-space-8) - 1px) calc(var(--plate-space-6) - 1px); }
.ip-pcard__label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--plate-color-primary-text); }
.ip-pcard__price { display: flex; align-items: baseline; gap: 2px; margin-top: var(--plate-space-3); font-variant-numeric: tabular-nums; }
.ip-pcard__cur { font-size: 22px; font-weight: 600; align-self: flex-start; margin-top: 6px; }
.ip-pcard__amt { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.ip-pcard__amt--text { font-size: 36px; line-height: 48px; }
.ip-pcard__per { font-size: 15px; color: var(--plate-color-text-muted); margin-left: 6px; }
.ip-pcard__actions { display: grid; gap: var(--plate-space-3); justify-items: center; margin: var(--plate-space-3) 0 var(--plate-space-2); }
.ip-pcard__features { list-style: none; margin: 0; padding: var(--plate-space-5) 0 0; border-top: var(--plate-border-hairline) solid var(--plate-color-border-subtle); display: grid; gap: var(--plate-space-3); font-size: 15px; line-height: 22px; }
.ip-pcard__features li { display: flex; gap: var(--plate-space-3); align-items: flex-start; }
.ip-pcard__features li > .ip-icon { margin-top: 2px; color: var(--plate-color-primary); }
.ip-pcard__features li.is-off { color: var(--plate-color-text-subtle); }
.ip-pcard__features li.is-off > .ip-icon { color: var(--plate-color-text-subtle); }
.ip-pcard__features .ip-tip { margin-left: -6px; }
/* Narrow screens: centre the bubble on the whole feature row, not on the 24px trigger, so it stays inside the card
   (centred on the trigger it reached past a 320px viewport even while hidden). */
@media (max-width: 480px) { .ip-pcard__features li { position: relative; } .ip-pcard__features .ip-tip { position: static; } }
.ip-acard { position: relative; display: grid; gap: var(--plate-space-4); align-content: start; }
.ip-acard__text { display: grid; gap: var(--plate-space-2); }
.ip-acard__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-acard__cat { color: var(--plate-color-primary-text); font-weight: 600; }
@media (min-width: 1024px) { .ip-acard--featured { grid-template-columns: 7fr 5fr; gap: var(--plate-space-10); align-items: center; } }
.ip-acard--compact { padding: var(--plate-space-4) 0; border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-icard { position: relative; display: grid; gap: var(--plate-space-2); align-content: start; padding: var(--plate-space-5); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); background: var(--plate-color-surface); transition: border-color var(--plate-duration-fast); }
.ip-icard:has(a):hover { border-color: var(--plate-color-text-muted); }
.ip-icard__head { display: flex; justify-content: space-between; align-items: start; margin-bottom: var(--plate-space-2); }
.ip-icard__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--plate-radius-md); background: var(--plate-color-surface-muted); color: var(--plate-color-text); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }

/* ---------- Menu ---------- */
.ip-mitem { position: relative; display: grid; gap: var(--plate-space-4); grid-template-columns: 1fr auto; align-items: start; padding: var(--plate-space-5) 0; border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-mitem--row .ip-mitem__photo { order: 2; width: 88px; }
@media (min-width: 768px) { .ip-mitem--row .ip-mitem__photo { width: 112px; } }
.ip-mitem--card, .ip-mitem--compact { grid-template-columns: 1fr; }
.ip-mitem--card { padding: 0; border: 0; gap: var(--plate-space-3); }
.ip-mitem--compact { padding: var(--plate-space-3) 0; gap: 4px; }
.ip-mitem__body { display: grid; gap: var(--plate-space-2); min-width: 0; }
.ip-mitem__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--plate-space-4); }
.ip-mitem__name { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.005em; }
.ip-mitem__price { font-size: 17px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ip-mitem__desc { font-size: 14px; line-height: 21px; color: var(--plate-color-text-muted); max-width: 52ch; }
.ip-mitem__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ip-mitem__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--plate-space-3); margin-top: 2px; min-height: 32px; }
.ip-mitem__allergens { display: flex; gap: 5px; align-items: center; font-size: 12.5px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-mitem__sold { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--plate-radius-pill); background: var(--plate-color-surface-inverse); color: var(--plate-color-background); font-size: 12.5px; font-weight: 600; }
.ip-mitem.is-unavailable .ip-mitem__photo, .ip-mitem.is-unavailable .ip-mitem__name, .ip-mitem.is-unavailable .ip-mitem__price { opacity: .55; }
.ip-mitem.is-unavailable .ip-mitem__price { text-decoration: line-through; }
.ip-msection__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--plate-space-4); padding-bottom: var(--plate-space-3); border-bottom: var(--plate-border-hairline) solid var(--plate-color-text); }
.ip-msection--card .ip-msection__items { display: grid; gap: var(--plate-space-8) var(--plate-space-6); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding-top: var(--plate-space-6); }
.ip-mcats ul { list-style: none; margin: 0; padding: 2px; display: flex; gap: var(--plate-space-2); overflow-x: auto; scrollbar-width: none; }
.ip-mcats a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--plate-radius-pill); border: var(--plate-border-hairline) solid var(--plate-color-border); font-size: 14px; font-weight: 500; color: var(--plate-color-text); text-decoration: none; white-space: nowrap; transition: background-color var(--plate-duration-fast), border-color var(--plate-duration-fast); }
.ip-mcats a:hover { border-color: var(--plate-color-text-muted); }
.ip-mcats a[aria-current] { background: var(--plate-color-surface-inverse); border-color: var(--plate-color-surface-inverse); color: var(--plate-color-background); }

/* ---------- Product presentation ---------- */
.ip-browser { margin: 0; border-radius: var(--plate-radius-lg); border: var(--plate-border-hairline) solid var(--plate-color-border); background: var(--plate-color-surface); overflow: hidden; }
.ip-browser.has-shadow { box-shadow: var(--plate-shadow-floating); }
.ip-browser__bar { display: flex; align-items: center; gap: var(--plate-space-3); height: 36px; padding: 0 var(--plate-space-3); background: var(--plate-color-surface-muted); border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-browser__dots { display: flex; gap: 6px; flex: 1; } .ip-browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--plate-color-border); }
.ip-browser__url { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 12px; border-radius: var(--plate-radius-sm); background: var(--plate-color-surface); color: var(--plate-color-text-muted); font-size: 12px; line-height: 1; min-width: 0; max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ip-browser__sp { flex: 1; }
.ip-browser__view > img { width: 100%; }
.ip-admin__crumb { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--plate-space-3); font-size: 12px; color: var(--plate-color-text-muted); border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-admin__seg { display: inline-flex; align-items: center; gap: 6px; } .ip-admin__seg:last-child { color: var(--plate-color-text); font-weight: 600; }
.ip-device { margin: 0; background: var(--plate-color-espresso-950); padding: 10px; border-radius: 34px; box-shadow: var(--plate-shadow-overlay), inset 0 0 0 1px #ffffff1a; }
.ip-device--phone { width: 300px; max-width: 100%; }
.ip-device--phone .ip-device__screen { border-radius: 25px; aspect-ratio: 9/19; }
.ip-device--tablet { padding: 14px; border-radius: 26px; }
.ip-device--tablet .ip-device__screen { border-radius: 12px; }
.ip-device__screen { overflow: hidden; background: var(--plate-color-background); position: relative; }
.ip-device__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ip-flabel { display: inline-flex; align-items: center; gap: var(--plate-space-3); padding: 10px 14px 10px 10px; background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); box-shadow: var(--plate-shadow-floating); z-index: var(--plate-z-raised); }
.ip-flabel__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--plate-radius-md); background: var(--plate-color-primary-subtle); color: var(--plate-color-primary-text); }
.ip-flabel--accent .ip-flabel__icon { background: var(--plate-color-accent-subtle); color: var(--plate-color-accent-text); }
.ip-flabel__title { display: block; font-size: 14px; line-height: 18px; font-weight: 600; }
.ip-flabel__meta { display: block; font-size: 12.5px; line-height: 16px; color: var(--plate-color-text-muted); font-variant-numeric: tabular-nums; }
.ip-annot { margin: 0; }
.ip-annot__stage { position: relative; border-radius: var(--plate-radius-lg); overflow: visible; }
.ip-annot__stage > img { border-radius: var(--plate-radius-lg); border: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-annot__pin { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-14px, -14px); z-index: var(--plate-z-raised); }
.ip-annot__pin.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -14px); }
.ip-annot__num { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--plate-color-accent); color: var(--plate-color-on-accent); font-size: 13px; font-weight: 700; box-shadow: 0 0 0 3px var(--plate-color-surface), var(--plate-shadow-floating); }
.ip-annot__label { padding: 5px 10px; border-radius: var(--plate-radius-sm); background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border); box-shadow: var(--plate-shadow-floating); font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) { .ip-annot__label { display: none; } }
.ip-annot__legend { list-style: none; margin: var(--plate-space-5) 0 0; padding: 0; display: grid; gap: var(--plate-space-3); font-size: 14px; line-height: 21px; }
@media (min-width: 768px) { .ip-annot__legend { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.ip-annot__legend li { display: flex; gap: var(--plate-space-3); align-items: flex-start; }
.ip-annot__legend .ip-annot__num { width: 22px; height: 22px; font-size: 12px; box-shadow: none; }
/* WP InSpot KDS map + table (KdsShot, zones synced by tools/inspot-kds). The row gap alone separates map and table
   once stacked: InSpot appends an empty element after the map, which the column's flex gap would turn into space. */
.ip-kb-media > .kt-inside-inner-col:has(> .wp-inspot-map) { row-gap: 0; }
.wp-inspot-map { border-radius: var(--plate-radius-lg); border: var(--plate-border-hairline) solid var(--plate-color-border); }
/* Each hotspot is a text zone whose label is its full note (the table shows it). On the map the label is pushed out of
   a circle and the zone number drawn instead, counted in zone order like the table's Nr column. The circle is the
   zone colour (currentColor: InSpot sets it inline and swaps in the hover colour on hover and when the table row is
   hovered), sized in em because InSpot scales the inline font size with zoom. A separate circle zone under the number
   would close the popup as soon as the pointer moves onto the number. */
/* Fullscreen builds a second map in .wp-inspot-fs-modal, a child of <body>: the same rules apply there. */
/* Outside the dark section: keep its dark number colour, readable on the accent and on the cream hover colour. */
.wp-inspot-fs-modal { --plate-color-on-accent: #1e1008; }
:is(.wp-inspot-map, .wp-inspot-fs-modal) .leaflet-marker-pane { counter-reset: ip-zone; }
:is(.wp-inspot-map, .wp-inspot-fs-modal) .inspot-text-marker { counter-increment: ip-zone; position: relative; display: block; width: 1.9em; height: 1.9em; overflow: hidden; white-space: nowrap; text-indent: 3em; border-radius: 50%; background: currentColor; text-shadow: none; box-shadow: 0 0 0 3px var(--plate-color-surface), var(--plate-shadow-floating); cursor: pointer; transition: color var(--plate-duration-fast) ease; }
:is(.wp-inspot-map, .wp-inspot-fs-modal) .inspot-text-marker::after { content: counter(ip-zone); position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0; color: var(--plate-color-on-accent); font-weight: 700; line-height: 1; }
/* Popup (each zone's text_content, see tools/inspot-kds): a dark card like the section the map sits in, the zone
   number in the marker's colour, then heading and text. InSpot moves the popup into <body>, out of the dark section,
   so the dark theme values are set on the popup itself; its own background, border, width (inline variable from
   Settings popup_width) and close button colours need !important or a stronger selector. */
.wp-inspot-map__popup-inner:has(.ip-inspot-pop__title) {
	--wp-inspot-popup-width: 340px !important;
	--inspot-scrollbar-thumb: #5f4233; --inspot-scrollbar-thumb-hover: #9d7b6b; --inspot-scrollbar-track: transparent;
	padding: var(--plate-space-5) var(--plate-space-6) var(--plate-space-6) !important;
	background: #331f15 !important; color: #f4e7d4;
	border: var(--plate-border-hairline) solid #5f4233 !important; border-radius: var(--plate-radius-xl) !important;
	box-shadow: 0 32px 64px -12px #000000cc, 0 0 0 1px #0000004d !important;
	font-family: var(--font-sans);
	scrollbar-color: var(--inspot-scrollbar-thumb) var(--inspot-scrollbar-track);
	animation: ip-inspot-pop-in var(--plate-duration-base) var(--plate-ease-enter);
}
@keyframes ip-inspot-pop-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .wp-inspot-map__popup-inner:has(.ip-inspot-pop__title) { animation: none; } }
.wp-inspot-map__popup-inner:has(.ip-inspot-pop__title) .wp-inspot-map__popup-content { color: inherit; line-height: inherit; }
.wp-inspot-map__popup-inner:has(.ip-inspot-pop__title) .wp-inspot-map__popup-close {
	top: var(--plate-space-3); right: var(--plate-space-3); width: 32px; height: 32px; padding: 0;
	border-radius: var(--plate-radius-pill); color: #bd9e8f; background: transparent;
	transition: background-color var(--plate-duration-fast) ease, color var(--plate-duration-fast) ease;
}
/* InSpot focuses the close button whenever the popup opens, also on hover, so focus is shown like hover, not as a ring. */
.wp-inspot-map__popup-inner:has(.ip-inspot-pop__title) .wp-inspot-map__popup-close:is(:hover, :focus-visible) { outline: none; box-shadow: none; color: #f4e7d4; background: #472d20; }
/* Phone: InSpot shows the same content in a bottom sheet (also moved into <body>). Same dark colours, plugin layout. */
.wp-inspot-bottom-sheet__panel:has(.ip-inspot-pop__title) { background: #331f15; color: #f4e7d4; border-top: var(--plate-border-hairline) solid #5f4233; box-shadow: 0 -24px 48px -12px #000000b3; font-family: var(--font-sans); }
.wp-inspot-bottom-sheet__panel:has(.ip-inspot-pop__title) .wp-inspot-bottom-sheet__handle span { background: #5f4233; }
.wp-inspot-bottom-sheet__panel:has(.ip-inspot-pop__title) .ip-inspot-pop__title { padding-right: 44px; color: #f4e7d4; }
.wp-inspot-bottom-sheet__panel:has(.ip-inspot-pop__title) .ip-inspot-pop__text { padding-left: calc(26px + var(--plate-space-3)); color: #d7bfb4; }
.wp-inspot-bottom-sheet__panel:has(.ip-inspot-pop__title) .wp-inspot-bottom-sheet__close { color: #d7bfb4; background: #472d20; }
.wp-inspot-bottom-sheet__panel:has(.ip-inspot-pop__title) .wp-inspot-bottom-sheet__close:is(:hover, :focus-visible) { outline: none; box-shadow: 0 0 0 2px #331f15, 0 0 0 4px #a9ceb2; color: #f4e7d4; background: #5f4233; }
.ip-inspot-pop__title { display: flex; align-items: flex-start; gap: var(--plate-space-3); margin: 0 0 var(--plate-space-3); padding-right: var(--plate-space-8); font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--plate-color-text); }
.wp-inspot-map__popup-inner .ip-inspot-pop__title { color: #f4e7d4; }
.ip-inspot-pop__num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--plate-radius-pill); background: #e39475; color: #1e1008; font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: 0; }
.ip-inspot-pop__text { margin: 0; font-size: 15px; line-height: 24px; font-weight: 400; color: var(--plate-color-text-muted); }
.wp-inspot-map__popup-inner .ip-inspot-pop__text { padding-left: calc(26px + var(--plate-space-3)); color: #d7bfb4; }
/* The mobile accordion numbers its rows itself. */
.wp-inspot-accordion .ip-inspot-pop__num { display: none; }
/* Mobile accordion: pins and row numbers in the same colours (InSpot sets them inline from the zone colour). */
.wp-inspot-map .wp-inspot-accordion__pin, .wp-inspot-map .wp-inspot-accordion__num { background: var(--plate-color-accent) !important; color: var(--plate-color-on-accent) !important; }
/* The workspace title would repeat the section heading. In mobile mode the accordion rows (heading, then photo and
   text on tap) replace the table, which cannot drive the map there; see the table rules below. */
.wp-inspot-map .wp-inspot-accordion__header-title { display: none; }
.wp-inspot-map .wp-inspot-accordion__trigger { font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--plate-color-text); }
.wp-inspot-map .wp-inspot-accordion__trigger { font-family: inherit; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--plate-color-text); }
/* The table (wp-inspot/table): plugin colours mapped to tokens, the Nr cell drawn as the same numbered circle. */
.wp-inspot-table-wrap { --wp-inspot-table-border: var(--plate-color-border-subtle); --wp-inspot-table-head-bg: transparent; --wp-inspot-table-head-color: var(--plate-color-text-subtle); --wp-inspot-table-stripe: transparent; }
.wp-inspot-table-wrap .wp-inspot-table { color: var(--plate-color-text); font-size: 16px; line-height: 24px; }
.wp-inspot-table-wrap .wp-inspot-table__cell { padding: var(--plate-space-4) var(--plate-space-3); vertical-align: top; }
.wp-inspot-table-wrap .wp-inspot-table__cell--head { padding-block: 0 var(--plate-space-3); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wp-inspot-table-wrap .wp-inspot-table__cell[data-column-id="nr"] { position: relative; width: 1%; min-width: 52px; color: transparent; }
.wp-inspot-table-wrap td.wp-inspot-table__cell[data-column-id="nr"]::before { content: attr(data-value); position: absolute; top: var(--plate-space-4); left: var(--plate-space-3); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--plate-color-accent); color: var(--plate-color-on-accent); font-size: 13px; font-weight: 700; line-height: 1; }
.ip-kb-text .wp-inspot-table-wrap--linked tbody .wp-inspot-table__row:hover > .wp-inspot-table__cell, .ip-kb-text .wp-inspot-table-wrap--linked tbody .wp-inspot-table__row--active > .wp-inspot-table__cell { background: var(--plate-color-accent-subtle); }
/* Rows are short headings; the popup carries the text and photo, so a linked row (one that opens it) shows a chevron. */
.wp-inspot-table-wrap td.wp-inspot-table__cell[data-column-id="note"] { font-weight: 600; }
.wp-inspot-table-wrap--linked td.wp-inspot-table__cell[data-column-id="note"] { position: relative; padding-right: var(--plate-space-10); }
.wp-inspot-table-wrap--linked td.wp-inspot-table__cell[data-column-id="note"]::after { content: ""; position: absolute; top: 50%; right: var(--plate-space-4); width: 8px; height: 8px; border-top: 2px solid var(--plate-color-accent); border-right: 2px solid var(--plate-color-accent); transform: translateY(-50%) rotate(45deg); transition: transform var(--plate-duration-fast) ease; }
.wp-inspot-table-wrap--linked tbody .wp-inspot-table__row:hover td.wp-inspot-table__cell[data-column-id="note"]::after { transform: translate(3px, -50%) rotate(45deg); }
.kt-row-column-wrap:has(.wp-inspot-map--mobile) .wp-inspot-table-wrap { display: none; }
.ip-callout-f { display: flex; gap: var(--plate-space-3); max-width: 300px; }
.ip-callout-f__line { flex: none; width: 24px; height: 1px; margin-top: 11px; background: var(--plate-color-accent); position: relative; }
.ip-callout-f__line::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--plate-color-accent); }
.ip-callout-f__title { display: flex; gap: 6px; align-items: center; font-size: 15px; line-height: 22px; font-weight: 600; margin-bottom: 2px; }
.ip-callout-f__title .ip-icon { color: var(--plate-color-accent-text); }
.ip-callout-f--end { flex-direction: row-reverse; text-align: right; } .ip-callout-f--end .ip-callout-f__title { justify-content: flex-end; }
.ip-ba { margin: 0; }
.ip-ba__stage { position: relative; overflow: hidden; border-radius: var(--plate-radius-lg); border: var(--plate-border-hairline) solid var(--plate-color-border); background: var(--plate-color-surface); }
.ip-ba__layer { position: absolute; inset: 0; }
.ip-ba__layer > * { width: 100%; height: 100%; }
.ip-ba__before { clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
.ip-ba__before::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--ba); width: 2px; margin-left: -1px; background: var(--plate-color-surface); box-shadow: 0 0 0 1px var(--plate-color-border-strong); }
.ip-ba__handle { position: absolute; top: 50%; left: var(--ba); transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border-strong); box-shadow: var(--plate-shadow-floating); color: var(--plate-color-text); pointer-events: none; }
.ip-ba__tag { position: absolute; top: var(--plate-space-3); padding: 4px 8px; border-radius: var(--plate-radius-sm); background: var(--plate-color-surface-inverse); color: var(--plate-color-background); font-size: 12px; font-weight: 600; pointer-events: none; }
.ip-ba__tag--l { left: var(--plate-space-3); } .ip-ba__tag--r { right: var(--plate-space-3); }
.ip-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ip-ba__range:focus-visible + * , .ip-ba__stage:focus-within .ip-ba__handle { box-shadow: var(--plate-focus-ring); }
.ip-zoom { margin: 0; display: grid; gap: var(--plate-space-5); align-items: center; }
@media (min-width: 768px) { .ip-zoom:not(.ip-zoom--crop) { grid-template-columns: 3fr 2fr; } }
.ip-zoom__full { position: relative; border-radius: var(--plate-radius-lg); overflow: hidden; border: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-zoom__full img { width: 100%; height: 100%; object-fit: cover; }
.ip-zoom__box { position: absolute; border: 2px solid var(--plate-color-brand-cream); border-radius: var(--plate-radius-sm); box-shadow: 0 0 0 999px #1e100866; }
.ip-zoom__detail { display: grid; gap: var(--plate-space-3); }
.ip-zoom__lens { aspect-ratio: 4/3; border-radius: var(--plate-radius-lg); background-repeat: no-repeat; border: var(--plate-border-hairline) solid var(--plate-color-border); box-shadow: var(--plate-shadow-floating); background-color: #111; }
.ip-zoom--crop { gap: var(--plate-space-2); max-width: 420px; }
.ip-mprev { font-size: 14px; }
.ip-mprev--desktop { display: grid; grid-template-columns: 180px 1fr; min-height: 420px; background: var(--plate-color-background); }
.ip-mprev__side { padding: var(--plate-space-6) var(--plate-space-5); border-right: var(--plate-border-hairline) solid var(--plate-color-border-subtle); display: grid; align-content: start; gap: 4px; }
.ip-mprev__side ul { list-style: none; margin: var(--plate-space-6) 0 0; padding: 0; display: grid; gap: 2px; }
.ip-mprev__side li { padding: 6px 10px; border-radius: var(--plate-radius-md); color: var(--plate-color-text-muted); font-weight: 500; }
.ip-mprev__side li.is-on { background: var(--plate-color-surface-inverse); color: var(--plate-color-background); }
.ip-mprev__venue { font-weight: 650; font-size: 16px; letter-spacing: -0.01em; }
.ip-mprev__main { padding: var(--plate-space-6); display: grid; gap: var(--plate-space-5); align-content: start; }
.ip-mprev__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--plate-space-6) var(--plate-space-5); }
.ip-mprev__grid .ip-mitem__desc { font-size: 13px; line-height: 19px; }
.ip-mprev__grid .ip-mitem__name { font-size: 15px; line-height: 21px; }
.ip-mprev__grid .ip-mitem__price { font-size: 15px; }
.ip-mprev__grid .ip-mitem__allergens { display: none; }
.ip-mprev--mobile { height: 100%; display: flex; flex-direction: column; background: var(--plate-color-background); position: relative; }
.ip-mprev__top { display: flex; justify-content: space-between; align-items: center; padding: 34px 16px 10px; }
.ip-mprev__mode { display: flex; gap: 6px; margin: 0 16px 10px; padding: 3px; background: var(--plate-color-surface-muted); border-radius: var(--plate-radius-md); font-size: 12.5px; font-weight: 600; }
.ip-mprev__mode span { flex: 1; display: flex; gap: 5px; align-items: center; justify-content: center; height: 30px; border-radius: var(--plate-radius-sm); color: var(--plate-color-text-muted); }
.ip-mprev__mode .is-on { background: var(--plate-color-surface); color: var(--plate-color-text); box-shadow: var(--plate-shadow-subtle); }
.ip-mprev--mobile .ip-mcats { padding: 0 14px; }
.ip-mprev--mobile .ip-mcats a { height: 30px; font-size: 12.5px; padding: 0 11px; }
.ip-mprev__list { flex: 1; overflow: hidden; padding: 14px 16px 70px; }
.ip-mprev__list .ip-mitem { padding: 12px 0; gap: 10px; }
.ip-mprev__list .ip-mitem__photo { width: 72px; }
.ip-mprev__list .ip-mitem__name { font-size: 14.5px; line-height: 20px; }
.ip-mprev__list .ip-mitem__desc { font-size: 12.5px; line-height: 17px; }
.ip-mprev__list .ip-mitem__allergens, .ip-mprev__list .ip-mitem__tags { display: none; }
.ip-mprev__list .ip-mitem__price { font-size: 14.5px; }
.ip-mprev__list .ip-mitem__foot { margin: 0; }
.ip-mprev__list .ip-btn { height: 28px; font-size: 12.5px; }
.ip-mprev__cart { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 14px; border-radius: var(--plate-radius-md); background: var(--plate-color-primary); color: var(--plate-color-on-primary); font-size: 13px; }
.ip-mprev__cart span { display: flex; gap: 6px; align-items: center; }

/* ---------- Hero ---------- */
.ip-hero { padding-block: var(--plate-space-12) var(--plate-space-16); }
@media (min-width: 1024px) { .ip-hero { padding-block: var(--plate-space-20) var(--plate-space-16); } }
.ip-hero__text { display: grid; gap: var(--plate-space-5); align-content: center; }
.ip-hero__text .ip-eyebrow, .ip-hero__text .ip-crumbs ol { margin-bottom: 0; }
.ip-hero__actions { display: flex; flex-wrap: wrap; gap: var(--plate-space-3); margin-top: var(--plate-space-3); }
@media (max-width: 479px) { .ip-hero__actions .ip-btn { width: 100%; } }
.ip-hero__grid { display: grid; gap: var(--plate-space-12); }
@media (min-width: 1024px) { .ip-hero__grid { grid-template-columns: 5fr 7fr; gap: var(--plate-space-16); align-items: center; } }
.ip-hero--visual .ip-hero__text { max-width: 760px; margin-bottom: var(--plate-space-12); }
.ip-hero__stage { position: relative; }
.ip-hero__overlay { position: relative; margin: -56px var(--plate-space-4) 0; }
@media (min-width: 1024px) { .ip-hero__overlay { position: absolute; right: var(--plate-space-10); bottom: calc(-1 * var(--plate-space-12)); width: 52%; margin: 0; } .ip-hero--visual { padding-bottom: calc(var(--plate-section-md) + var(--plate-space-12)); } }
.ip-hero__ed { display: grid; gap: var(--plate-space-6); padding-bottom: var(--plate-space-10); border-bottom: var(--plate-border-hairline) solid var(--plate-color-text); margin-bottom: var(--plate-space-10); }
@media (min-width: 1024px) { .ip-hero__ed { grid-template-columns: 7fr 4fr; gap: var(--plate-space-16); align-items: end; } }
.ip-hero__aside { display: grid; gap: var(--plate-space-4); }
.ip-hero--minimal { padding-block: var(--plate-space-10) var(--plate-space-8); border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-hero--minimal .ip-hero__text { gap: var(--plate-space-3); }
.ip-heroc { position: relative; aspect-ratio: 7/6; }
.ip-heroc__photo { position: absolute; left: 0; top: 0; width: 46%; }
.ip-heroc__tablet { position: absolute; right: 0; top: 16%; width: 80%; z-index: 1; }
.ip-heroc__phone { position: absolute; right: 2%; bottom: 0; width: 300px; transform: scale(var(--heroc-phone, .62)); transform-origin: bottom right; z-index: 2; }
.ip-heroc__label { position: absolute; left: 4%; bottom: 8%; z-index: 3; }
/* Phones: one column. The tablet runs full width in the flow; the phone sits lower at the right edge, its top at
   ~a third of the column width (about halfway down the tablet, whose frame is ~1.5:1). --heroc-ph is the scaled phone
   height (612px × scale); the inner wrapper reserves what the phone adds below the tablet. */
@media (max-width: 767px) {
  .ip-heroc { --heroc-phone: .5; --heroc-ph: 306px; aspect-ratio: auto; container-type: inline-size; }
  .ip-heroc > .kt-inside-inner-col { padding-bottom: max(0px, calc(var(--heroc-ph) - 31cqw)); }
  .ip-heroc__tablet { position: relative; top: auto; right: auto; width: 100%; }
  .ip-heroc__phone { right: 0; top: 33.5cqw; bottom: auto; transform-origin: top right; }
  .ip-heroc__label { display: none; }
}
@media (min-width: 560px) and (max-width: 767px) { .ip-heroc { --heroc-phone: .62; --heroc-ph: 380px; } }

/* ---------- Section patterns ---------- */
.ip-split { display: grid; gap: var(--plate-space-10); }
.ip-split__text { display: grid; gap: var(--plate-space-5); align-content: center; }
.ip-split__text .ip-eyebrow { margin-bottom: calc(-1 * var(--plate-space-2)); }
@media (min-width: 1024px) {
  .ip-split { gap: var(--plate-space-16); align-items: center; }
  .ip-split--5-7 { grid-template-columns: 5fr 7fr; } .ip-split--6-6 { grid-template-columns: 1fr 1fr; } .ip-split--7-5 { grid-template-columns: 7fr 5fr; } .ip-split--4-8 { grid-template-columns: 4fr 8fr; }
  .ip-split.is-reverse .ip-split__text { order: 2; }
  .ip-split--start { align-items: start; }
}
.ip-elist { list-style: none; margin: 0; padding: 0; border-top: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-elist__row { display: grid; gap: var(--plate-space-2); padding: var(--plate-space-5) 0; border-bottom: var(--plate-border-hairline) solid var(--plate-color-border); }
@media (min-width: 768px) { .ip-elist:not(.is-plain) .ip-elist__row { grid-template-columns: 64px 4fr 7fr; gap: var(--plate-space-6); padding: var(--plate-space-6) 0; } }
.ip-elist__n { font-family: var(--font-mono); font-size: 13px; line-height: 28px; color: var(--plate-color-accent-text); }
.ip-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--plate-space-8); counter-reset: s; }
@media (min-width: 1024px) { .ip-steps--horizontal { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--plate-space-6); } }
.ip-steps__item { display: grid; gap: var(--plate-space-4); align-content: start; }
.ip-steps--horizontal .ip-steps__item { padding-top: var(--plate-space-4); border-top: var(--plate-border-thick) solid var(--plate-color-text); }
.ip-steps--horizontal .ip-steps__n { font-family: var(--font-mono); font-size: 13px; color: var(--plate-color-text-muted); }
.ip-steps--vertical .ip-steps__item, .ip-steps--docs .ip-steps__item { grid-template-columns: 32px 1fr; gap: var(--plate-space-4); position: relative; }
.ip-steps--vertical .ip-steps__n, .ip-steps--docs .ip-steps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: var(--plate-border-hairline) solid var(--plate-color-border-strong); background: var(--plate-color-surface); font-size: 14px; font-weight: 600; z-index: 1; }
.ip-steps--vertical .ip-steps__item:not(:last-child)::before, .ip-steps--docs .ip-steps__item:not(:last-child)::before { content: ""; position: absolute; left: 15.5px; top: 36px; bottom: calc(-1 * var(--plate-space-8) + 4px); width: 1px; background: var(--plate-color-border); }
.ip-steps--docs { gap: var(--plate-space-6); }
.ip-steps__body { display: grid; gap: var(--plate-space-2); padding-top: 4px; }
.ip-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--plate-space-8) var(--plate-space-6); margin: 0; }
@media (min-width: 1024px) { .ip-stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.ip-stats__item { display: grid; gap: var(--plate-space-2); align-content: start; padding-top: var(--plate-space-4); border-top: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-stats__item dt { order: 2; } .ip-stats__item dd:last-child:not(.ip-stats__value) { order: 3; }
.ip-stats__value { order: 1; font-size: clamp(36px, 2vw + 24px, 52px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ip-cta { padding-block: var(--plate-space-20); background: var(--plate-color-background); color: var(--plate-color-text); }
@media (min-width: 1024px) { .ip-cta { padding-block: var(--plate-section-lg); } }
.ip-cta--cream { background: var(--plate-color-surface-cream); }
.ip-cta__inner { display: grid; gap: var(--plate-space-10); align-items: center; }
.ip-cta__text { display: grid; gap: var(--plate-space-5); }
@media (min-width: 1024px) { .ip-cta.has-media .ip-cta__inner { grid-template-columns: 6fr 6fr; gap: var(--plate-space-16); } }
.ip-cmp { position: relative; overflow-x: auto; border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); background: var(--plate-color-surface); }
.ip-cmp table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; min-width: 560px; }
.ip-cmp th, .ip-cmp td { padding: 14px var(--plate-space-5); text-align: left; border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); vertical-align: middle; }
.ip-cmp thead th { font-size: 15px; font-weight: 600; vertical-align: bottom; }
.ip-cmp tbody th { font-weight: 500; position: sticky; left: 0; background: var(--plate-color-surface); }
.ip-cmp tbody th[scope="rowgroup"] { position: static; } /* group rows span the table; only row labels stick */
.ip-cmp tbody tr:last-child > * { border-bottom: 0; }
.ip-cmp .is-hl { background: var(--plate-color-primary-subtle); }
.ip-cmp thead .is-hl { color: var(--plate-color-primary-text); }
.ip-cmp__note { display: block; font-size: 13px; font-weight: 400; color: var(--plate-color-text-muted); }
.ip-cmp__group th { background: var(--plate-color-surface-muted) !important; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--plate-color-text-muted); font-weight: 600; padding-block: 10px; }
.ip-cmp__yes { color: var(--plate-color-primary); } .ip-cmp__no { color: var(--plate-color-text-subtle); }
/* Phones: the values are short (✓, —, 0%, Różnie), so the table fits the screen instead of scrolling behind a sticky
   label column that took most of the width. Labels 42%, the two value columns 29% each, values centred. */
@media (max-width: 600px) {
  .ip-cmp { overflow-x: visible; }
  .ip-cmp table { min-width: 0; table-layout: fixed; }
  .ip-cmp thead tr > :first-child { width: 42%; }
  .ip-cmp th, .ip-cmp td { padding: 12px 8px; }
  .ip-cmp tr > :first-child { padding-left: var(--plate-space-4); }
  .ip-cmp tbody th { position: static; }
  .ip-cmp thead th, .ip-cmp tbody td { text-align: center; hyphens: auto; }
  .ip-cmp__note { font-size: 12px; line-height: 16px; margin-top: 2px; }
}
@media (max-width: 360px) { .ip-cmp thead tr > :first-child { width: 38%; } .ip-cmp thead th { font-size: 13px; line-height: 18px; } }
.ip-logos { display: grid; gap: var(--plate-space-4); }
.ip-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--plate-space-6) var(--plate-space-10); align-items: center; }
.ip-logos__ph { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: var(--plate-color-text-subtle); }
.ip-logos img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; }

/* ---------- Blog & docs ---------- */
.ip-ahead { padding-block: var(--plate-space-12) var(--plate-space-10); }
.ip-ahead .ip-container--text { display: grid; gap: var(--plate-space-4); }
.ip-ahead .ip-t-h1 { max-width: none; }
.ip-ahead__meta { display: flex; flex-wrap: wrap; gap: var(--plate-space-3) var(--plate-space-6); align-items: center; padding-top: var(--plate-space-4); font-size: 14px; line-height: 20px; }
.ip-ahead__author { display: inline-flex; align-items: center; gap: var(--plate-space-3); }
.ip-ahead__photo { margin-top: var(--plate-space-10); }
.ip-prose { font-size: 18px; line-height: 30px; color: var(--plate-color-text); max-width: var(--plate-container-text); }
.ip-prose--docs { font-size: 18px; line-height: 30px; }
.ip-prose > * + * { margin-top: 1.1em; }
.ip-prose h2 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.015em; margin-top: 1.9em; }
.ip-prose h3 { font-size: 21px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin-top: 1.6em; }
.ip-prose--docs h2 { font-size: 24px; line-height: 30px; padding-top: var(--plate-space-6); border-top: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-prose h2 + *, .ip-prose h3 + * { margin-top: .6em; }
.ip-prose a { color: var(--plate-color-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ip-prose a:hover { color: var(--plate-color-link-hover); text-decoration-thickness: 2px; }
.ip-hero__note a { color: var(--plate-color-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ip-hero__note a:hover { color: var(--plate-color-link-hover); text-decoration-thickness: 2px; }
.ip-prose ul, .ip-prose ol { padding-left: 1.3em; } .ip-prose li + li { margin-top: .4em; } .ip-prose li::marker { color: var(--plate-color-text-muted); }
.ip-prose strong { font-weight: 600; }
.ip-prose blockquote { padding: var(--plate-space-2) 0 var(--plate-space-2) var(--plate-space-6); border-left: var(--plate-border-thick) solid var(--plate-color-text); font-size: 22px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.ip-prose blockquote cite { display: block; margin-top: var(--plate-space-3); font-size: 14px; line-height: 20px; font-style: normal; font-weight: 400; color: var(--plate-color-text-muted); }
.ip-prose code { font-family: var(--font-mono); font-size: .85em; padding: 2px 5px; border-radius: var(--plate-radius-xs); background: var(--plate-color-surface-muted); border: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.ip-prose th, .ip-prose td { padding: 10px 12px; border-bottom: var(--plate-border-hairline) solid var(--plate-color-border); text-align: left; vertical-align: top; }
.ip-prose th { font-weight: 600; background: var(--plate-color-surface-muted); }
.ip-prose figcaption { margin-top: var(--plate-space-2); font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); }
.ip-prose hr { border: 0; border-top: var(--plate-border-hairline) solid var(--plate-color-border); margin-block: 2.4em; }
.ip-prose .ip-callout, .ip-prose .ip-code, .ip-prose .ip-steps { margin-top: 1.6em; }
.ip-callout { display: flex; gap: var(--plate-space-3); padding: var(--plate-space-4) var(--plate-space-5); border-radius: var(--plate-radius-md); background: var(--plate-color-info-subtle); color: var(--plate-color-text); font-size: 15px; line-height: 23px; }
.ip-callout__icon { margin-top: 1px; color: var(--plate-color-info); }
.ip-callout__title { font-weight: 600; margin-bottom: 2px; }
.ip-callout__body > * + * { margin-top: .5em; }
.ip-callout--tip { background: var(--plate-color-primary-subtle); } .ip-callout--tip .ip-callout__icon { color: var(--plate-color-primary); }
.ip-callout--warning { background: var(--plate-color-warning-subtle); } .ip-callout--warning .ip-callout__icon { color: var(--plate-color-warning-text); }
.ip-callout--success { background: var(--plate-color-success-subtle); } .ip-callout--success .ip-callout__icon { color: var(--plate-color-success); }
.ip-code { border-radius: var(--plate-radius-lg); overflow: hidden; background: var(--plate-color-background); color: var(--plate-color-text); border: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-code__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--plate-space-3); min-height: 40px; padding: 0 var(--plate-space-2) 0 var(--plate-space-4); border-bottom: var(--plate-border-hairline) solid var(--plate-color-border-subtle); font-size: 13px; color: var(--plate-color-text-muted); }
.ip-code__file { font-family: var(--font-mono); font-size: 12px; }
.ip-code__tabs { display: flex; gap: var(--plate-space-4); }
.ip-code__tabs button { font: inherit; font-size: 13px; background: none; border: 0; padding: 10px 0 8px; color: var(--plate-color-text-muted); border-bottom: 2px solid transparent; cursor: pointer; }
.ip-code__tabs button[aria-selected="true"] { color: var(--plate-color-text); border-bottom-color: var(--plate-color-primary); }
.ip-code__copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; font: inherit; font-size: 13px; color: var(--plate-color-text-muted); background: none; border: 0; border-radius: var(--plate-radius-sm); cursor: pointer; }
.ip-code__copy:hover { color: var(--plate-color-text); background: var(--plate-color-surface-muted); }
.ip-code pre { margin: 0; padding: var(--plate-space-4); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 22px; }
.ip-code code { background: none; border: 0; padding: 0; font-size: inherit; }
.ip-author { display: flex; gap: var(--plate-space-4); padding: var(--plate-space-6) 0; border-block: var(--plate-border-hairline) solid var(--plate-color-border); max-width: var(--plate-container-text); }
.ip-author > div { display: grid; gap: 4px; }
.ip-docs { display: grid; gap: var(--plate-space-8); padding-block: var(--plate-space-6); }
@media (min-width: 1024px) { .ip-docs { grid-template-columns: 240px minmax(0, 1fr); gap: var(--plate-space-12); } .ip-docs__mobile { display: none; } }
@media (min-width: 1280px) { .ip-docs { grid-template-columns: 240px minmax(0, 720px) 200px; } }
.ip-docs__toc { display: none; }
@media (min-width: 1280px) { .ip-docs__toc { display: block; } }
.ip-docs__side { display: none; }
.ip-docs__side.is-open { display: block; }
@media (min-width: 1024px) { .ip-docs__side { display: block; position: sticky; top: calc(var(--plate-header-height) + var(--plate-space-6)); align-self: start; } }
.ip-docs__mobile button { width: 100%; display: flex; align-items: center; gap: var(--plate-space-2); height: 44px; padding: 0 var(--plate-space-3); font: inherit; font-size: 15px; font-weight: 600; color: var(--plate-color-text); background: var(--plate-color-surface); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-md); cursor: pointer; }
.ip-docs__mobile button .ip-icon:last-child { margin-left: auto; }
.ip-docs__main { min-width: 0; display: grid; gap: var(--plate-space-6); align-content: start; }
.ip-docs__main .ip-crumbs ol { margin: 0; }
.ip-dside { display: grid; gap: var(--plate-space-6); }
.ip-dside .ip-field { max-width: none; }
.ip-dside__title { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--plate-color-text-muted); margin-bottom: var(--plate-space-2); }
.ip-dside ul, .ip-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.ip-dside a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: var(--plate-radius-md); font-size: 15px; line-height: 22px; color: var(--plate-color-text); text-decoration: none; }
.ip-dside a:hover { background: var(--plate-color-surface-muted); }
.ip-dside a[aria-current="page"] { background: var(--plate-color-primary-subtle); color: var(--plate-color-primary-text); font-weight: 600; }
.ip-toc { position: sticky; top: calc(var(--plate-header-height) + var(--plate-space-6)); }
.ip-toc ul { border-left: var(--plate-border-hairline) solid var(--plate-color-border); }
.ip-toc a { display: block; padding: 4px 0 4px 12px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13px; line-height: 18px; color: var(--plate-color-text-muted); text-decoration: none; }
.ip-toc .is-sub a { padding-left: 24px; }
.ip-toc a:hover { color: var(--plate-color-text); }
.ip-toc a[aria-current] { color: var(--plate-color-primary-text); border-left-color: var(--plate-color-primary); font-weight: 600; }
.ip-pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--plate-space-4); padding-top: var(--plate-space-8); margin-top: var(--plate-space-4); border-top: var(--plate-border-hairline) solid var(--plate-color-border-subtle); }
.ip-pager__link { display: grid; gap: 4px; padding: var(--plate-space-4); border: var(--plate-border-hairline) solid var(--plate-color-border); border-radius: var(--plate-radius-lg); text-decoration: none; color: var(--plate-color-text); transition: border-color var(--plate-duration-fast); }
.ip-pager__link:hover { border-color: var(--plate-color-primary); }
.ip-pager__link.is-next { text-align: right; justify-items: end; }
.ip-pager__link .ip-t-caption { display: inline-flex; align-items: center; gap: 4px; }
.ip-pager__t { font-weight: 600; color: var(--plate-color-link); }

/* ---------- Preview helpers (also fine for docs pages) ---------- */
.ip-demo { padding: var(--plate-space-6); display: grid; gap: var(--plate-space-6); }
.ip-row { display: flex; flex-wrap: wrap; gap: var(--plate-space-3); align-items: center; }
.ip-stack { display: grid; gap: var(--plate-space-4); }
.ip-demo-label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plate-color-text-muted); margin-bottom: var(--plate-space-2); }
.ip-page { background: var(--plate-color-background); }
.ip-prose .ip-steps { padding-left: 0; }
.ip-prose .ip-steps h3, .ip-prose .ip-callout p, .ip-prose .ip-steps li + li { margin-top: 0; }
.ip-prose .ip-steps li + li { margin-top: 0; }
.ip-prose .ip-steps__body > * + * { margin-top: 0; }
.ip-demo > *, .ip-split > *, .ip-hero__grid > *, .ip-grid > *, .ip-cta__inner > *, .ip-docs > * { min-width: 0; }
@media (max-width: 767px) { .ip-mprev--desktop { grid-template-columns: 1fr; } .ip-mprev__side { display: none; } .ip-browser__url { max-width: 75%; } }

/* Sticky notes (home "Mniej telefonów…"): the problems as framed cards like the rest of the site, in the yellow of
   sticky notes, then the fix in the brand green. Static: no tilt, no hover. */
.ip-notes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--plate-space-5); }
.ip-notes__item { margin: 0; padding: var(--plate-space-8); background: #fdf3c4; border: var(--plate-border-hairline) solid #eedc8f; border-radius: var(--plate-radius-lg); box-shadow: 0 1px 2px #1e10080f, 0 12px 24px -12px #1e100833; }
.ip-notes__item h3 { margin: 0 0 var(--plate-space-3); font-size: 19px; line-height: 25px; font-weight: 600; letter-spacing: -0.01em; color: #1e1008; }
.ip-notes__item p { margin: 0; font-size: 15px; line-height: 23px; color: #5a4b2e; }
.ip-notes__item strong { color: #1e1008; font-weight: 600; }
.ip-notes__item:first-child strong { color: #8b3c19; }
.ip-notes__item a { color: #1e1008; font-weight: 600; text-decoration: underline; text-decoration-color: #8b3c19; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ip-notes__item a:hover { color: #8b3c19; }
.ip-notes__fix { display: flex; align-items: center; gap: var(--plate-space-4); margin-top: var(--plate-space-5); padding: var(--plate-space-5) var(--plate-space-6); border: var(--plate-border-hairline) solid color-mix(in srgb, var(--plate-color-primary) 35%, transparent); border-radius: var(--plate-radius-lg); background: var(--plate-color-primary-subtle); }
.ip-notes__fix-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--plate-radius-pill); background: var(--plate-color-primary); color: var(--plate-color-on-primary); }
.ip-notes__fix p { margin: 0; flex: 1; font-size: 16px; line-height: 24px; color: var(--plate-color-text); }
.ip-notes__fix p b { font-weight: 600; }
.ip-notes__fix a { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--plate-color-primary-text); text-decoration: none; white-space: nowrap; }
.ip-notes__fix a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.ip-notes__list { grid-template-columns: 1fr; }
	.ip-notes__item { padding: var(--plate-space-6); }
	.ip-notes__fix { flex-wrap: wrap; }
}
}
