/* Components. Shared by the public site and the admin. */

/* ---------------------------------------------------------------- Eyebrow + live line (signature) */
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-3); font-size: var(--fs-200); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); margin-bottom: var(--space-4); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-energy); border-radius: 2px; box-shadow: 0 0 8px rgba(141, 198, 63, 0.7); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--lime-300); }

.live-line { position: relative; display: block; height: 2px; width: 100%; border-radius: 2px; background: rgba(14, 42, 71, 0.08); overflow: visible; }
.section--dark .live-line, .site-footer .live-line, .page-hero .live-line { background: rgba(255, 255, 255, 0.08); }
.live-line__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--grad-energy); transform-origin: 0 50%; box-shadow: 0 0 10px rgba(141, 198, 63, 0.55); }
.live-line__spark { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 3px rgba(191, 227, 106, 0.25), 0 0 18px 4px rgba(191, 227, 106, 0.9); opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 2px solid transparent; font-family: var(--font-body); font-weight: 700; font-size: var(--fs-400); line-height: 1; text-decoration: none; cursor: pointer; transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-base), background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-base) var(--ease-spring); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 10px 24px -12px rgba(94, 158, 51, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--primary:hover { background: #3E6E26; color: #fff; box-shadow: 0 14px 30px -12px rgba(94, 158, 51, 1), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--outline { background: transparent; border-color: rgba(14, 42, 71, 0.85); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.section--dark .btn--outline, .hero .btn--outline, .page-hero .btn--outline, .card--dark .btn--outline, .cta-band .btn--outline, .menu .btn--outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.section--dark .btn--outline:hover, .hero .btn--outline:hover, .page-hero .btn--outline:hover, .card--dark .btn--outline:hover, .cta-band .btn--outline:hover, .menu .btn--outline:hover { background: #fff; border-color: #fff; color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--blue-700); padding-inline: var(--space-3); }
.btn--ghost:hover { background: var(--blue-100); }
.btn--glass { background: var(--glass-light); border-color: var(--glass-border); color: #fff; backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn--sm { min-height: 40px; padding-inline: var(--space-4); font-size: var(--fs-300); }
.btn--lg { min-height: 56px; padding-inline: var(--space-8); font-size: var(--fs-500); }
.btn--block { width: 100%; }
.btn--icon { width: 44px; min-height: 44px; padding: 0; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; left: var(--space-5); width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- Cards */
.card { position: relative; background: var(--surface-1); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-base); display: flex; flex-direction: column; }
a.card, .card:has(.card__title a):hover { border-color: rgba(94, 158, 51, 0.35); }
.card:has(.card__title a):hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--wide { aspect-ratio: 16 / 10; }
.card__body { padding: var(--space-5) var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__kicker { font-size: var(--fs-200); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700); }
.card__title { font-size: var(--fs-600); margin: 0; letter-spacing: -0.015em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--ink-500); margin: 0; font-size: var(--fs-300); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); }
.card--dark { background: var(--navy-800); border-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.86); }
.card--dark .card__title, .card--dark h3 { color: #fff; }
.card--dark .card__text { color: rgba(255, 255, 255, 0.7); }
.card--glass { background: var(--glass-light); border-color: var(--glass-border); color: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); }
.card--glass h3 { color: #fff; }

/* Product card: commerce-first, with a quick add */
.product-card .card__media { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--grey-100), #fff); }
.product-card__flag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-card__add { position: relative; z-index: 2; }
.product-card__add .btn { min-height: 40px; padding-inline: 14px; font-size: var(--fs-300); }
.product-card .price { font-size: var(--fs-500); }

/* Tile: image-led card with the text on a navy scrim (services, featured categories) */
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-sm); transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); transition: opacity var(--dur-slow); }
.tile__body { padding: var(--space-6); display: grid; gap: var(--space-2); }
.tile__badge { justify-self: start; display: inline-flex; padding: 5px 11px; border-radius: var(--radius-pill); font-size: var(--fs-200); font-weight: 600; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); }
.tile__title { margin: 0; color: #fff; font-size: var(--fs-600); letter-spacing: -0.02em; }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tile__text { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: var(--fs-300); max-width: 46ch; }
.tile__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-1); }
.tile__price { font-weight: 700; color: var(--lime-300); font-size: var(--fs-300); }
.tile__arrow { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); transition: background var(--dur-base), transform var(--dur-base) var(--ease-spring); }
.tile__arrow svg { width: 18px; height: 18px; }
.tile:hover .tile__arrow { background: var(--green-600); border-color: var(--green-600); transform: translateX(4px); }
.tile--lg { min-height: 520px; }
.tile--lg .tile__title { font-size: var(--fs-700); }
.tile--lg .tile__body { padding: var(--space-8); }

/* ---------------------------------------------------------------- Chips, badges, price */
.chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-pill); background: var(--surface-1); border: 1px solid var(--grey-200); color: var(--ink-700); font-size: var(--fs-300); font-weight: 600; text-decoration: none; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-spring); }
.chip:hover { border-color: var(--green-400); color: var(--navy-900); }
.chip[aria-current="true"], .chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip__count { font-weight: 500; font-size: var(--fs-200); color: var(--ink-500); }
.chip[aria-current="true"] .chip__count { color: var(--lime-300); }
.page-hero .chip { background: var(--glass-light); border-color: var(--glass-border); color: #fff; }
.page-hero .chip:hover { background: rgba(255, 255, 255, 0.16); }
.badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 4px 10px; border-radius: var(--radius-pill); font-size: var(--fs-200); font-weight: 600; background: var(--green-100); color: var(--green-700); }
.badge--navy { background: var(--navy-900); color: #fff; }
.badge--gold { background: #FFF4D6; color: #8A5B00; }
.badge--grey { background: var(--grey-100); color: var(--ink-700); }
.badge--light { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.price { font-family: var(--font-body); font-weight: 700; color: var(--navy-900); font-size: var(--fs-500); font-variant-numeric: tabular-nums; }
.price--lg { font-family: var(--font-display); font-weight: 800; font-variant-numeric: normal; font-size: var(--fs-700); letter-spacing: -0.02em; }
.price__note { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-300); color: var(--ink-500); margin-top: 2px; }
.price--quote { color: var(--blue-700); }

/* ---------------------------------------------------------------- Checklist, spec, datasheet, trust */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.45; }
.checklist li::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 4px rgba(94, 158, 51, 0.12); }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); }
@media (max-width: 600px) { .checklist--cols { grid-template-columns: 1fr; } }
.section--dark .checklist li::before, .card--dark .checklist li::before { background-color: var(--green-400); box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.14); }

.spec { list-style: none; margin: 0; padding: 0; font-size: var(--fs-300); }
.spec li { display: flex; align-items: baseline; gap: var(--space-2); padding: var(--space-3) 0; border-bottom: 1px dashed var(--grey-200); }
.spec li:last-child { border-bottom: 0; }
.spec .spec__k { font-size: var(--fs-300); color: var(--ink-500); flex: 0 1 auto; }
.spec .spec__dots { flex: 1; border-bottom: 1px dotted var(--grey-400); transform: translateY(-4px); min-width: 16px; }
.spec .spec__v { font-weight: 600; color: var(--navy-900); text-align: right; }
.section--dark .spec li, .card--dark .spec li { border-color: rgba(255, 255, 255, 0.12); }
.section--dark .spec .spec__k, .card--dark .spec .spec__k { color: rgba(255, 255, 255, 0.6); }
.section--dark .spec .spec__v, .card--dark .spec .spec__v { color: #fff; }
.section--dark .spec .spec__dots, .card--dark .spec .spec__dots { border-color: rgba(255, 255, 255, 0.25); }

.datasheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); background: var(--surface-1); overflow: hidden; }
.datasheet__cell { padding: var(--space-6); border-right: 1px solid var(--grey-200); }
.datasheet__cell:last-child { border-right: 0; }
.datasheet__k { font-size: var(--fs-300); font-weight: 500; color: var(--ink-500); margin-bottom: var(--space-3); min-height: 2.8em; line-height: 1.4; }
.datasheet__v { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-700); color: var(--navy-900); line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .datasheet { grid-template-columns: repeat(2, 1fr); } .datasheet__cell:nth-child(2) { border-right: 0; } .datasheet__cell:nth-child(-n+2) { border-bottom: 1px solid var(--grey-200); } }
@media (max-width: 420px) { .datasheet { grid-template-columns: 1fr; } .datasheet__cell { border-right: 0; border-bottom: 1px solid var(--grey-200); } .datasheet__cell:last-child { border-bottom: 0; } }

.trust { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); list-style: none; margin: 0; padding: 0; font-size: var(--fs-300); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.trust svg { width: 16px; height: 16px; color: var(--green-400); }
.trust--muted { color: var(--ink-500); }
.trust--muted svg { color: var(--green-600); }

/* ---------------------------------------------------------------- Forms */
.form { display: grid; gap: var(--space-5); }
.form--panel { background: var(--surface-1); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.fieldset + .fieldset { padding-top: var(--space-6); border-top: 1px dashed var(--grey-200); }
.fieldset legend { padding: 0; margin-bottom: var(--space-4); font-family: var(--font-display); font-size: var(--fs-500); color: var(--navy-900); font-weight: 700; }
.form__row { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field label { font-weight: 600; font-size: var(--fs-300); color: var(--ink-700); }
.field .hint { font-size: var(--fs-200); color: var(--ink-500); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--grey-200); border-radius: 12px; background: var(--surface-0); color: var(--ink-900); font: inherit; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-400); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333414F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: var(--shadow-glow); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger-600); background: #fff; }
.field__error { color: var(--danger-600); font-size: var(--fs-300); font-weight: 600; }
.field--check { display: flex; align-items: center; gap: var(--space-3); }
.field--check input { width: 20px; height: 20px; accent-color: var(--green-600); }
.field input[type="file"] { padding: var(--space-2) 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--grey-200); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; color: var(--navy-900); }
.qty button:hover { background: var(--green-100); }
.qty input { width: 52px; height: 44px; border: 0; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: var(--fs-400); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:focus-within { border-color: var(--green-600); box-shadow: var(--shadow-glow); }

/* ---------------------------------------------------------------- Flash, toast */
.flash-stack { display: grid; gap: var(--space-3); margin: var(--space-6) auto 0; }
.flash { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--green-100); color: var(--green-700); border: 1px solid rgba(94, 158, 51, 0.25); font-weight: 600; }
.flash--error { background: var(--danger-100); color: var(--danger-600); border-color: rgba(194, 65, 12, 0.25); }
.flash--info { background: var(--blue-100); color: var(--blue-700); border-color: rgba(30, 91, 140, 0.2); }
.toast { position: fixed; left: 50%; bottom: calc(var(--space-4) + 64px); transform: translate(-50%, 20px); z-index: 160; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); background: var(--navy-900); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out); max-width: calc(100vw - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--lime-300); }

/* ---------------------------------------------------------------- Prose and write-ups */
.prose { font-size: var(--fs-500); line-height: 1.8; max-width: 68ch; color: var(--ink-700); }
.prose h2 { font-size: var(--fs-700); margin-top: var(--space-12); }
.prose h3 { font-size: var(--fs-600); margin-top: var(--space-8); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-5); }
.prose li + li { margin-top: var(--space-2); }
.prose li::marker { color: var(--green-600); }
.prose blockquote { margin: var(--space-8) 0; padding: var(--space-4) var(--space-6); border-left: 4px solid var(--green-400); background: var(--surface-1); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--font-display); font-weight: 600; color: var(--navy-900); }
.prose img { border-radius: var(--radius-md); margin: var(--space-8) 0; }
.prose strong { color: var(--navy-900); }
.prose a { color: var(--green-700); font-weight: 600; }
.writeup { display: grid; gap: var(--space-5); font-size: var(--fs-500); line-height: 1.75; color: var(--ink-700); }
.writeup p:first-child { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); color: var(--navy-900); line-height: 1.35; letter-spacing: -0.015em; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--grad-hero); color: #fff; padding: clamp(2rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-3); max-width: 16ch; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-end; }
.cta-band__mark { position: absolute; right: -60px; top: 50%; width: 360px; transform: translateY(-50%); z-index: -1; opacity: 0.5; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } .cta-band__mark { width: 260px; right: -90px; top: 20%; } }

/* ---------------------------------------------------------------- Power mark (the logo's "O") */
.power-mark { display: inline-grid; place-items: center; }
.power-mark svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; }
.power-mark--idle { width: 64px; height: 64px; color: var(--grey-400); }
.power-mark--ghost { color: rgba(141, 198, 63, 0.085); }
.power-mark--ghost svg { stroke-width: 2.2; }
.power-mark--on { color: var(--green-400); filter: drop-shadow(0 0 14px rgba(141, 198, 63, 0.75)); }

/* ---------------------------------------------------------------- Pagination, tables, frames, icons */
.pagination { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-10); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 var(--space-3); border-radius: var(--radius-pill); text-decoration: none; font-weight: 600; border: 1px solid var(--grey-200); background: #fff; color: var(--ink-700); }
.pagination [aria-current="page"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-300); }
.table th { text-align: left; font-size: var(--fs-200); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-500); padding: var(--space-3) var(--space-3); border-bottom: 2px solid var(--grey-200); }
.table td { padding: var(--space-4) var(--space-3); border-bottom: 1px solid var(--grey-200); vertical-align: middle; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { position: relative; overflow-x: auto; } /* relative: keeps absolutely positioned bits (screen-reader labels) inside the scroller */
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grey-100); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-circle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-700); flex: none; }
.icon-circle svg { width: 22px; height: 22px; }
.section--dark .icon-circle, .card--dark .icon-circle { background: rgba(141, 198, 63, 0.12); color: var(--lime-300); }

/* Campaign artwork (the client's full flyer) */
.artwork { margin: 0; display: grid; gap: var(--space-3); }
.artwork button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.artwork img { width: 100%; transition: transform 450ms var(--ease-out); }
.artwork button:hover img { transform: scale(1.03); }
.artwork__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(14, 42, 71, 0.82); color: #fff; font-size: var(--fs-200); font-weight: 600; }
.artwork figcaption { font-size: var(--fs-300); color: var(--ink-500); }

/* ---------------------------------------------------------------- Checkout steps */
.steps { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: flex; align-items: center; gap: var(--space-2); counter-reset: s; }
.steps__item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-300); font-weight: 600; color: var(--ink-500); }
.steps__item + .steps__item::before { content: ""; width: clamp(16px, 5vw, 56px); height: 2px; border-radius: 2px; background: var(--grey-200); margin-right: var(--space-2); }
.steps__item.is-done + .steps__item::before, .steps__item.is-current::before { background: var(--grad-energy); }
.steps__dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--grey-200); font-size: var(--fs-200); font-weight: 700; background: #fff; }
.steps__dot svg { width: 14px; height: 14px; }
.steps__item.is-done .steps__dot { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.steps__item.is-current { color: var(--navy-900); }
.steps__item.is-current .steps__dot { border-color: var(--green-600); color: var(--green-700); box-shadow: var(--shadow-glow); }
@media (max-width: 520px) { .steps__label { display: none; } .steps__item.is-current .steps__label { display: inline; } }

/* ---------------------------------------------------------------- Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(9, 24, 41, 0.55); opacity: 0; visibility: hidden; transition: opacity var(--dur-base), visibility 0s var(--dur-base); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 141; width: min(440px, 100vw); display: grid; grid-template-rows: auto 1fr; background: var(--surface-0); box-shadow: var(--shadow-xl); transform: translateX(104%); visibility: hidden; transition: transform 460ms var(--ease-out), visibility 0s 460ms; }
.drawer.is-open { transform: none; visibility: visible; transition: transform 520ms var(--ease-spring), visibility 0s; }
.drawer.is-open + .drawer-backdrop, .drawer-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-base), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--grey-200); }
.drawer__head h2 { margin: 0; font-size: var(--fs-600); }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--grey-200); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__content { overflow-y: auto; }
.drawer__body { display: flex; flex-direction: column; min-height: 100%; }
.drawer__foot { margin-top: auto; padding: var(--space-6); border-top: 1px solid var(--grey-200); display: grid; gap: var(--space-3); background: var(--surface-1); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-size: var(--fs-600); }
.drawer__empty { padding: var(--space-12) var(--space-6); display: grid; gap: var(--space-3); justify-items: center; text-align: center; }
.drawer__loading { padding: var(--space-12); text-align: center; color: var(--ink-500); }
.mini-lines { list-style: none; margin: 0; padding: var(--space-2) var(--space-6); }
.mini-line { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--grey-200); }
.mini-line:last-child { border-bottom: 0; }
.mini-line__media img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.mini-line__name { font-weight: 700; color: var(--navy-900); text-decoration: none; line-height: 1.3; }
.mini-line__meta { display: block; font-variant-numeric: tabular-nums; font-size: var(--fs-200); color: var(--ink-500); margin-top: 4px; }
.mini-line__end { display: grid; justify-items: end; gap: 4px; }
.mini-line__end .price { font-size: var(--fs-300); }
.mini-line__remove { border: 0; background: none; padding: 4px 0; font-size: var(--fs-200); color: var(--ink-500); text-decoration: underline; cursor: pointer; }
.mini-line__remove:hover { color: var(--danger-600); }

/* Spark that flies to the cart */
.cart-spark { position: fixed; z-index: 170; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(191, 227, 106, 0.3), 0 0 26px 8px rgba(141, 198, 63, 0.85); pointer-events: none; }

/* ---------------------------------------------------------------- Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 18, 31, 0.9); }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); }
.lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__caption { color: rgba(255, 255, 255, 0.8); text-align: center; margin-top: var(--space-3); font-size: var(--fs-300); }

/* ---------------------------------------------------------------- Sticky buy bar (phones) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--grey-200); box-shadow: 0 -12px 30px -18px rgba(14, 42, 71, 0.35); transform: translateY(110%); transition: transform 420ms var(--ease-spring); }
.buybar.is-visible { transform: none; }
.buybar__info { display: grid; line-height: 1.2; min-width: 0; }
.buybar__name { font-weight: 700; font-size: var(--fs-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .buybar { display: flex; } }

/* ---------------------------------------------------------------- Marquee */
.marquee { position: relative; overflow: hidden; background: var(--navy-800); color: rgba(255, 255, 255, 0.78); border-block: 1px solid rgba(255, 255, 255, 0.06); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--space-8); padding-block: var(--space-4); font-size: var(--fs-300); font-weight: 600; white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: var(--space-8); }
.marquee__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 10px rgba(141, 198, 63, 0.8); }
html[data-motion="full"] .marquee__track { animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html[data-motion="full"] .marquee__track { animation: none; } }

/* ---------------------------------------------------------------- Process (a real sequence, so numbered) */
.process { --p: 0; }
.process__wrap { position: relative; }
.process__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6); }
.process__track { position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: rgba(14, 42, 71, 0.1); border-radius: 2px; z-index: 0; }
.section--dark .process__track { background: rgba(255, 255, 255, 0.1); }
.process__fill { position: absolute; inset: 0; background: var(--grad-energy); transform-origin: 0 50%; transform: scaleX(var(--p)); box-shadow: 0 0 10px rgba(141, 198, 63, 0.6); border-radius: inherit; }
.process__step { position: relative; z-index: 1; display: grid; gap: var(--space-3); align-content: start; }
.process__num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 700; font-size: var(--fs-300); font-variant-numeric: tabular-nums; background: var(--surface-0); border: 2px solid var(--grey-200); color: var(--ink-500); transition: background var(--dur-slow), border-color var(--dur-slow), color var(--dur-slow), box-shadow var(--dur-slow); }
.section--tint .process__num { background: var(--surface-1); }
.section--dark .process__num { background: var(--navy-900); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.6); }
.process__step.is-lit .process__num { background: var(--green-700); border-color: var(--green-700); color: #fff; box-shadow: 0 0 0 6px rgba(141, 198, 63, 0.18), 0 0 22px rgba(141, 198, 63, 0.5); }
.process__step h3 { font-size: var(--fs-500); margin: var(--space-2) 0 0; }
.process__step p { font-size: var(--fs-300); color: var(--ink-500); margin: 0; }
.section--dark .process__step p { color: rgba(255, 255, 255, 0.68); }
html[data-motion="off"] .process__step .process__num, html:not(.motion-ready) .process__step .process__num { background: var(--green-700); border-color: var(--green-700); color: #fff; }
html:not(.motion-ready) .process__fill, html[data-motion="off"] .process__fill { transform: none; }
@media (max-width: 900px) {
  .process__steps { grid-template-columns: 1fr; gap: var(--space-8); }
  .process__track { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .process__fill { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  html:not(.motion-ready) .process__fill, html[data-motion="off"] .process__fill { transform: none; }
  .process__step { grid-template-columns: 48px 1fr; column-gap: var(--space-4); row-gap: 4px; }
  .process__num { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .process__step h3 { grid-column: 2; grid-row: 1; margin: 12px 0 0; }
  .process__step p { grid-column: 2; grid-row: 2; }
}


/* ---------------------------------------------------------------- Glass chip (floats over hero photos) */
.glass-chip { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: #fff; box-shadow: var(--shadow-xl); }
.glass-chip__k { font-size: var(--fs-200); font-weight: 600; color: var(--lime-300); }
.glass-chip__v { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-600); letter-spacing: -0.02em; line-height: 1.15; }
.glass-chip__n { font-size: var(--fs-200); color: rgba(255, 255, 255, 0.72); }

/* ---------------------------------------------------------------- Order summary */
.summary__card { padding: var(--space-6); gap: var(--space-4); }
.summary__title { margin: 0; font-size: var(--fs-600); }
.summary__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.summary__line { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--space-3); align-items: center; }
.summary__line img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.summary__name { font-weight: 600; font-size: var(--fs-300); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-4); border-top: 1px dashed var(--grey-200); }
@media (min-width: 901px) { .summary { position: sticky; top: calc(var(--header-h-compact) + var(--space-6)); } }

/* FAQ */
.faq { display: grid; gap: var(--space-3); }
.faq details { background: var(--surface-1); border: 1px solid var(--grey-200); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.faq details[open] { border-color: rgba(94, 158, 51, 0.4); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-6); font-weight: 700; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A7A2D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform var(--dur-base) var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 var(--space-6) var(--space-5); color: var(--ink-500); }

/* Long button labels wrap on small phones instead of being cut off */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .btn--lg { padding-inline: var(--space-6); }
}
