/* Shared storefront system. Layout, product records and transaction behavior stay owned
   by the existing screens. The homepage uses the same tokens in home.css. */
body.buyer-app {
  --store-ink: #172f29;
  --store-accent: #176b50;
  --store-muted: #5c6861;
  --store-paper: #fffefa;
  --store-surface: #f4f5ef;
  --store-line: #dce3da;
  --store-body: 16px;
  --store-secondary: 14px;
  --store-heading: clamp(32px, 4vw, 48px);
  --store-rhythm: clamp(64px, 8vw, 112px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--store-body);
  line-height: 1.6;
}
body.buyer-app.public-store {
  --color-clay: var(--store-accent);
  --color-clay-deep: #10573f;
  --color-clay-soft: #edf1e6;
  --color-slate: var(--store-ink);
  --color-slate-deep: var(--store-ink);
  --color-ink: var(--store-ink);
  --color-muted: var(--store-muted);
  --color-line: var(--store-line);
  --color-surface: var(--store-paper);
  --lp-serif: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lp-ink: var(--store-ink);
  --lp-muted: var(--store-muted);
  --lp-slate: var(--store-ink);
  --lp-slate-deep: var(--store-ink);
  --lp-clay: var(--store-accent);
  --lp-clay-deep: #10573f;
  --lp-clay-soft: #edf1e6;
  --lp-cream: var(--store-paper);
  --lp-line: var(--store-line);
  background: var(--store-paper);
  color: var(--store-ink);
}
body.buyer-app :is(button, input, select, textarea) { font-family: inherit; }
body.buyer-app :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 16px; }
body.buyer-app :is(small, .eyebrow, .muted, .hint, .field-hint, .back-link, .text-link, .tag, .status-tag, .section-label, .tab-count) { font-size: 14px; }
body.buyer-app :is(.page-head, .account-welcome) h1 { font-family: inherit; font-size: var(--store-heading); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; }
body.buyer-app .page-head p { font-size: 16px; line-height: 1.7; }
body.public-store .lp-header,
body.public-store .lp-header.is-floating,
body.public-store .lp-header.is-scrolled { background: var(--store-paper); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
body.public-store .lp-header .lp-header-inner,
body.public-store .lp-header.is-floating .lp-header-inner { background: var(--store-paper); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-color: var(--store-line); }
body.public-store .lp-brand .brand small { display: none; }
body.public-store .lp-header :is(.lp-link, .lp-signin, .lp-support-trigger) { font-size: 14px; min-height: 44px; }
body.public-store .lp-footer-inner > p { font-size: 14px; }
body.public-store .lp-cart .cart-count { font-size: 14px; min-width: 22px; height: 22px; line-height: 22px; padding: 0 4px; }
body.public-store .lp-footer nav :is(a,button) { font-size: 14px; min-height: 44px; }
body.public-store .lp-signin { background: var(--store-ink); }
body.public-store :is(.lp-page-head h1, .catalog-tools h2, .pdp-info h1) { font-family: inherit; color: var(--store-ink); font-weight: 650; letter-spacing: -.04em; }
body.public-store:not(.lp-home-open) :is(h1,h2,h3) { font-family: inherit; font-weight: 650; letter-spacing: -.035em; color: var(--store-ink); }
body.public-store .lp-page-head { margin-bottom: 40px; }
body.public-store .lp-page-head h1 { font-size: var(--store-heading); line-height: 1.15; }
body.public-store .lp-page-head p { margin-top: 12px; font-size: 16px; line-height: 1.7; }
body.public-store :is(.category-chips, .catalog-tools) { margin-bottom: 28px; }
body.public-store .chip { min-height: 44px; font-size: 14px; }
body.public-store :is(.button, .lp-btn) { min-height: 48px; font-size: 16px; border-radius: 9px; }
body.public-store.buyer-app #main .button:not(.secondary) { background: var(--store-accent); border-color: var(--store-accent); }
body.public-store.buyer-app #main .button:not(.secondary):hover { background: #10573f; border-color: #10573f; }
body.public-store :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--store-accent); outline-offset: 4px; }
body.public-store .panel { border: 1px solid var(--store-line); border-radius: 12px; box-shadow: none; background: var(--store-paper); }
body.public-store :is(.pdp-description, .pdp-about, .pdp-about p, .product-includes li, .lp-faq-answer p, .tracking-form, .guest-receipt) { font-size: 16px; line-height: 1.75; }
body.public-store :is(.pdp-facts dt, .pdp-facts dd, .pdp-facts a, .pdp-facts button.text, .pdp-note, .pdp-kind, .pdp-row label, .pdp-stock, .pdp-recipient-note) { font-size: 14px; line-height: 1.65; }
body.public-store :is(.pdp-crumbs, .pdp-crumbs a, .pdp-crumbs span, .field-label) { font-size: 14px; }
body.public-store .pdp-related .product-price { font-size: 16px; }
body.public-store :is(.pdp-actions button, .pdp-variant select) { min-height: 48px; font-size: 16px; }
body.public-store :is(.pdp-card, .cart-summary, .cart-line, .checkout-steps > section) { border-color: var(--store-line); box-shadow: none; }
body.public-store :is(.cart-summary, .cart-summary .summary-line, .checkout-summary, .checkout-steps label, .key-values dd) { font-size: 16px; }
body.public-store #main button { font-size: 16px; }
body.public-store :is(.tracking-form label, .step-number) { font-size: 14px; }
body.public-store .section-label h3 { font-size: 18px; }
body.public-store :is(.payment-note, .basket-item > div > strong, .quantity span, .basket-item > .money) { font-size: 16px; line-height: 1.6; }
body.public-store .quantity button { min-width: 40px; min-height: 40px; }
body.public-store .compact-payments label:has(input:checked) { border-color: var(--store-accent); background: #edf3ec; color: var(--store-ink); }
body.public-store :is(.key-values dt, .cart-line small, .cart-item-meta, .checkout-steps small, .payment-option small, .summary-line small, .form-error, .stock-tag, .stock-state) { font-size: 14px; }
body.public-store .lp-faq-item summary { font-family: inherit; min-height: 72px; font-size: 18px; color: var(--store-ink); font-weight: 550; }
body.public-store .lp-faq-answer { padding-bottom: 18px; }
@media (max-width: 760px) {
  body.public-store .lp-page-head { margin-bottom: 28px; }
  body.public-store .lp-header .lp-header-inner { gap: 12px; }
  body.public-store .lp-header .lp-signin { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.public-store :is(.lp-header,.lp-header-inner,.catalog-card,.button) { transition: none; }
}

/* Account dialogs share the storefront's type, green controls and square frame. */
body dialog.store-account-dialog { width: min(480px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 1px solid #dce3da; border-radius: 0; background: #fffefa; color: #172f29; font: 16px/1.6 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; box-shadow: 0 24px 80px #172f2926; }
body dialog.store-account-dialog::backdrop { background: #172f2959; backdrop-filter: none; -webkit-backdrop-filter: none; }
body dialog.store-account-dialog .dialog-layout { max-height: calc(100dvh - 34px); border-radius: 0; }
body dialog.store-account-dialog .dialog-head { align-items: flex-start; padding: 32px 32px 0; border: 0; border-radius: 0; background: transparent; }
body dialog.store-account-dialog .dialog-head .eyebrow { margin: 0 0 12px; color: #5c6861; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
body dialog.store-account-dialog .dialog-head h2 { margin: 0; color: #172f29; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
body dialog.store-account-dialog .close-dialog { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 10px; margin-top: -8px; border: 1px solid #dce3da; border-radius: 4px; background: transparent; color: #172f29; }
body dialog.store-account-dialog .dialog-body { padding: 20px 32px 32px; }
body dialog.store-account-dialog .account-intro { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: #5c6861; }
body dialog.store-account-dialog form { display: grid; gap: 22px; }
body dialog.store-account-dialog form > .field { margin: 0; }
body dialog.store-account-dialog #authError:empty { display: none; }
body dialog.store-account-dialog :is(label,.field-label,.muted,.small,.form-error,.auth-register) { font-size: 14px; line-height: 1.6; }
body dialog.store-account-dialog label { display: block; color: #172f29; font-weight: 500; }
body dialog.store-account-dialog input { min-height: 48px; padding: 12px 14px; border: 1px solid #bacabd; border-radius: 4px; background: #fffefa; color: #172f29; font-size: 16px; box-shadow: none; }
body dialog.store-account-dialog input:hover { border-color: #789884; }
body dialog.store-account-dialog input:focus { border-color: #176b50; outline: 2px solid #176b50; outline-offset: 2px; box-shadow: none; }
body dialog.store-account-dialog .label-row { flex-wrap: wrap; gap: 4px 12px; }
body dialog.store-account-dialog button.text { min-height: 44px; padding: 6px 0; color: #176b50; font-size: 14px; }
body dialog.store-account-dialog :is(button[type=submit],.confirm) { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 18px; border: 1px solid #176b50; border-radius: 4px; background: #176b50; color: white; font-size: 16px; font-weight: 550; }
body dialog.store-account-dialog #loginForm > button[type=submit] { min-height: 48px; border-radius: 4px; background: #176b50; font-size: 16px; }
body dialog.store-account-dialog :is(button[type=submit],.confirm):hover { background: #10573f; border-color: #10573f; }
body dialog.store-account-dialog .auth-register { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #dce3da; color: #5c6861; }
body dialog.store-account-dialog .dialog-footer { padding: 20px 32px 28px; justify-content: flex-end; flex-wrap: wrap; gap: 12px; border: 0; background: transparent; }
body dialog.store-account-dialog .cancel { min-height: 48px; padding: 12px 16px; border: 1px solid #bacabd; border-radius: 4px; background: transparent; color: #172f29; font-size: 16px; }
body dialog.store-account-dialog :is(a,button):focus-visible { outline: 2px solid #176b50; outline-offset: 3px; }
body dialog.store-account-dialog.store-signout-dialog .account-intro { margin-bottom: 0; }
@media (min-width: 761px) {
  body dialog.store-account-dialog.store-registration-dialog { position: fixed; inset: 0; margin: auto; width: min(640px,calc(100vw - 64px)); max-height: calc(100dvh - 64px); }
  body dialog.store-registration-dialog .dialog-layout { max-height: calc(100dvh - 66px); }
  body dialog.store-registration-dialog .dialog-head { padding: 24px 28px 0; }
  body dialog.store-registration-dialog .dialog-body { min-height: 0; padding: 16px 28px 24px; overflow-y: auto; }
  body dialog.store-registration-dialog .dialog-body > p { margin: 0 0 20px; }
  body dialog.store-registration-dialog #registrationForm { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
  body dialog.store-registration-dialog #registrationForm > :is(.field:has(#registerPassword),.field:has(#registerInvite),p,.form-error,button) { grid-column: 1 / -1; }
  body dialog.store-registration-dialog #registrationForm > p { margin: 0; }
  body dialog.store-registration-dialog #registrationForm > .form-error:empty { display: none; }
}
body dialog#storeSignOut.store-signout-dialog button.confirm.danger { background: #a3372b; border-color: #a3372b; color: #fff; }
body dialog#storeSignOut.store-signout-dialog button.confirm.danger:hover:not(:disabled) { background: #85291f; border-color: #85291f; color: #fff; }
body dialog#storeSignOut.store-signout-dialog button.confirm.danger:focus-visible { outline-color: #a3372b; }

/* The cart is a calm side drawer, with a scrollable list and a fixed checkout area. */
body.buyer-app dialog.cart-drawer { inset: 0 0 0 auto; margin: 0 0 0 auto; width: min(480px,100vw); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-left: 1px solid #dce3da; border-radius: 0; background: #fffefa; color: #172f29; box-shadow: -12px 0 50px #172f2920; backdrop-filter: none; -webkit-backdrop-filter: none; transform-origin: right center; animation: cart-drawer-in .3s cubic-bezier(.22,1,.36,1); }
body.buyer-app dialog.cart-drawer.closing { animation: cart-drawer-out .22s ease forwards; }
body.buyer-app dialog.cart-drawer::backdrop { background: #172f2959; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.buyer-app dialog.cart-drawer .cart-drawer-panel { height: 100%; max-height: 100%; }
body.buyer-app dialog.cart-drawer .cart-drawer-head { grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: calc(28px + env(safe-area-inset-top,0px)) 24px 24px; border-bottom: 1px solid #dce3da; }
body.buyer-app dialog.cart-drawer .cart-drawer-status { display: none; }
body.buyer-app dialog.cart-drawer .cart-drawer-head h2 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; color: #172f29; }
body.buyer-app dialog.cart-drawer .cart-drawer-head p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #5c6861; }
body.buyer-app dialog.cart-drawer .close-drawer { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; border: 1px solid #dce3da; border-radius: 4px; color: #172f29; background: transparent; }
body.buyer-app dialog.cart-drawer .cart-drawer-body { padding: 28px 24px; gap: 28px; }
body.buyer-app dialog.cart-drawer .cart-drawer-item { grid-template-columns: 72px minmax(0,1fr); gap: 16px; padding: 0; border: 0; border-radius: 0; background: transparent; }
body.buyer-app dialog.cart-drawer .cart-drawer-thumb { width: 72px; height: 88px; border-radius: 4px; background: #edf3e8; }
body.buyer-app dialog.cart-drawer .cart-drawer-item-info strong { font-size: 16px; line-height: 1.5; font-weight: 550; }
body.buyer-app dialog.cart-drawer .cart-drawer-item-info small { font-size: 14px; line-height: 1.6; color: #5c6861; }
body.buyer-app dialog.cart-drawer .cart-drawer-item-controls { flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
body.buyer-app dialog.cart-drawer .cart-drawer-item-controls .quantity { padding: 0; gap: 0; border: 1px solid #bacabd; border-radius: 4px; background: transparent; }
body.buyer-app dialog.cart-drawer .cart-drawer-item-controls .quantity button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; border-radius: 0; color: #172f29; font-size: 16px; }
body.buyer-app dialog.cart-drawer .cart-drawer-item-controls .quantity span { min-width: 30px; font-size: 16px; }
body.buyer-app dialog.cart-drawer .cart-drawer-item > .money { grid-column: 2; font-size: 16px; color: #176b50; }
body.buyer-app dialog.cart-drawer .cart-drawer-others h3 { margin-bottom: 12px; font-size: 16px; text-transform: none; letter-spacing: 0; color: #172f29; }
body.buyer-app dialog.cart-drawer .cart-drawer-others li { flex-wrap: wrap; gap: 8px 16px; padding: 16px 0; font-size: 16px; border-color: #dce3da; }
body.buyer-app dialog.cart-drawer .cart-drawer-others li > span:first-child { flex: 1 1 100%; }
body.buyer-app dialog.cart-drawer .cart-drawer-others li .money { margin: 0 auto 0 0; }
body.buyer-app dialog.cart-drawer :is(small,button.text,.cart-drawer-undo) { font-size: 14px; }
body.buyer-app dialog.cart-drawer button.text { min-height: 44px; color: #176b50; }
body.buyer-app dialog.cart-drawer .cart-drawer-undo { border: 1px solid #dce3da; border-radius: 4px; background: #edf3e8; }
body.buyer-app dialog.cart-drawer .cart-drawer-foot { padding: 24px 24px calc(24px + env(safe-area-inset-bottom,0px)); gap: 16px; border-top: 1px solid #dce3da; background: #f4f5ef; }
body.buyer-app dialog.cart-drawer .cart-drawer-total { font-size: 16px; }
body.buyer-app dialog.cart-drawer .cart-drawer-total strong { font-size: 24px; color: #172f29; }
body.buyer-app dialog.cart-drawer .drawer-checkout { min-height: 48px; padding: 12px 18px; border-radius: 4px; background: #176b50; border-color: #176b50; color: #fff; font-size: 16px; }
body.buyer-app dialog.cart-drawer .drawer-checkout:hover { background: #10573f; border-color: #10573f; }
body.buyer-app dialog.cart-drawer .cart-drawer-links { grid-template-columns: 1fr; gap: 8px; }
body.buyer-app dialog.cart-drawer .cart-drawer-links > * { min-height: 44px; border-radius: 4px; font-size: 16px; background: transparent; color: #176b50; border: 0; }
body.buyer-app dialog.cart-drawer :is(button,a):focus-visible { outline: 2px solid #176b50; outline-offset: 3px; }

/* The full cart uses the same product hierarchy and quantity controls. */
body.buyer-app.public-store #main:has(:is(.cart-layout,.cart-empty)) { padding-top: 40px; }
body.buyer-app .cart-layout { gap: 40px; grid-template-columns: minmax(0,1fr) 340px; }
body.buyer-app .cart-list { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.buyer-app .cart-line { grid-template-columns: 80px minmax(0,1fr) auto; gap: 16px 24px; padding: 28px 0; border-top: 1px solid #dce3da; }
body.buyer-app .cart-thumb { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 80px; height: 100px; border-radius: 4px; }
body.buyer-app .cart-info { grid-column: 2; grid-row: 1; }
body.buyer-app .cart-info strong { font-size: 16px; font-weight: 550; line-height: 1.5; color: #172f29; }
body.buyer-app .cart-info small { font-size: 14px; color: #5c6861; }
body.buyer-app .cart-line .quantity { grid-area: auto; grid-column: 2; grid-row: 2; justify-self: start; gap: 0; border: 1px solid #bacabd; border-radius: 4px; }
body.buyer-app .cart-line .quantity button { width: 44px; min-width: 44px; min-height: 44px; border: 0; border-radius: 0; background: transparent; color: #172f29; }
body.buyer-app .cart-line .quantity span { min-width: 32px; text-align: center; font-size: 16px; }
body.buyer-app .cart-line-total { grid-area: auto; grid-column: 3; grid-row: 2; font-size: 16px; color: #176b50; }
body.buyer-app .cart-line .remove-line { grid-area: auto; grid-column: 3; grid-row: 1; justify-self: end; align-self: start; width: 44px; min-height: 44px; color: #5c6861; }
body.buyer-app .cart-summary { top: 88px; padding: 28px; gap: 16px; border: 1px solid #dce3da; border-radius: 0; background: #f4f5ef; box-shadow: none; }
body.buyer-app .cart-summary h2 { font-size: 24px; color: #172f29; }
body.buyer-app .cart-summary .summary-line { font-size: 16px; }
body.buyer-app .cart-summary .summary-total { padding-top: 20px; border-top: 1px solid #dce3da; }
body.buyer-app .cart-summary .summary-total > span:last-child { font-size: 24px; font-weight: 600; }
body.buyer-app .cart-summary .continue-shopping { font-size: 16px; color: #176b50; min-height: 44px; }
body.buyer-app .cart-summary #cartCheckout { display: flex; justify-content: space-between; border-radius: 4px; background: #176b50; border-color: #176b50; color: #fff; }
body.buyer-app :is(.toast,.toast span) { font-size: 14px; }
@media (max-width: 1000px) { body.buyer-app .cart-layout { grid-template-columns: 1fr; gap: 32px; } body.buyer-app .cart-summary { position: static; } }
@media (max-width: 480px) {
  body.buyer-app.public-store #main:has(:is(.cart-layout,.cart-empty)) { padding-top: 28px; }
  body dialog.store-account-dialog .dialog-head { padding: 24px 20px 0; }
  body dialog.store-account-dialog .dialog-body { padding: 20px; }
  body dialog.store-account-dialog .dialog-footer { padding: 8px 20px 24px; }
  body dialog.store-account-dialog .dialog-footer > button { flex: 1 1 auto; justify-content: center; }
  body.buyer-app .cart-line { grid-template-columns: 64px minmax(0,1fr) 44px; gap: 16px 12px; }
  body.buyer-app .cart-thumb { width: 64px; height: 80px; }
  body.buyer-app .cart-info { grid-column: 2 / 4; padding-right: 40px; }
  body.buyer-app .cart-line-total { grid-column: 2 / 4; grid-row: 3; text-align: left; }
  body.buyer-app .cart-summary { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { body.buyer-app dialog.cart-drawer, body.buyer-app dialog.cart-drawer.closing { animation: none; } }

/* Full-width navigation scrolls naturally, then reveals with scroll direction. */
body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) {
  position: relative;
  top: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 4px 24px;
  overflow: visible;
  border: 0;
  background: transparent;
  isolation: isolate;
  transform: translateY(0);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
body.buyer-app.public-store .lp-header.is-scrolled {
  position: sticky;
  animation: store-header-dock .4s cubic-bezier(.22,1,.36,1);
}
body.buyer-app.public-store .lp-header.is-away { transform: translateY(-110%); pointer-events: none; animation: none; }
@keyframes store-header-dock { from { transform: translateY(-110%); } to { transform: translateY(0); } }
body.buyer-app.public-store .lp-header::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  border: 1px solid #d7e3d4;
  border-radius: 0;
  background: #fff;
  pointer-events: none;
  transition: width .45s cubic-bezier(.22,1,.36,1), top .45s cubic-bezier(.22,1,.36,1), bottom .45s cubic-bezier(.22,1,.36,1), border-radius .45s cubic-bezier(.22,1,.36,1);
}
body.buyer-app.public-store .lp-header.is-scrolled::before { width: 100%; top: 0; bottom: 0; border-radius: 0; background: #edf3e8; border-left-color: transparent; border-right-color: transparent; }
body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) .lp-header-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  grid-template-areas: 'brand nav actions';
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 56px;
  max-height: none;
  padding: 5px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transition: none;
}
body.buyer-app.public-store .lp-header.is-scrolled .lp-header-inner { max-width: 100%; }
body.buyer-app.public-store .lp-header .lp-brand { grid-area: brand; justify-self: start; min-width: 0; flex: none; }
body.buyer-app.public-store .lp-header .brand { align-items: center; gap: 10px; color: #1b3b30; transform-origin: left center; transition: transform .35s cubic-bezier(.22,1,.36,1); }
body.buyer-app.public-store .lp-header.is-scrolled .brand { transform: none; }
body.buyer-app.public-store .lp-header .brand-wordmark { font-size: 24px; line-height: 1.2; }
body.buyer-app.public-store .lp-header .brand-emblem { width: 34px; height: 34px; filter: none; }
body.buyer-app.public-store .lp-header .lp-nav { grid-area: nav; display: flex; justify-self: center; align-items: center; gap: 28px; }
body.buyer-app.public-store .lp-header .lp-actions { grid-area: actions; justify-self: end; margin: 0; gap: 12px; flex: none; }
body.buyer-app.public-store .lp-header :is(.lp-link,.lp-signin,.lp-support-trigger) { font-size: 16px; line-height: 1.4; min-height: 44px; height: auto; white-space: nowrap; }
body.buyer-app.public-store .lp-header .lp-link { padding: 9px 0; color: #1b3b30; }
body.buyer-app.public-store .lp-header .lp-link::after { background: #176b50; }
body.buyer-app.public-store .lp-header .lp-signin { margin: 0; padding: 10px 18px; background: #176b50; color: #fff; }
body.buyer-app.public-store .lp-header .lp-signin:hover { background: #10573f; }
body.buyer-app.public-store .lp-header .lp-support-trigger { padding: 10px 12px; color: #1b3b30; }
body.buyer-app.public-store .lp-header .lp-support-trigger svg { color: #176b50; }
body.buyer-app.public-store .lp-header .lp-cart { width: 44px; height: 44px; flex: none; color: #1b3b30; }
body.buyer-app.public-store .lp-header :is(.lp-support-trigger:hover,.lp-support-trigger[aria-expanded=true],.lp-cart:hover) { background: #dfeadb; }
body.buyer-app.public-store .lp-header .cart-count { background: #176b50; color: #fff; }
body.buyer-app.public-store .lp-header :is(a,button):focus-visible { outline: 2px solid #176b50; outline-offset: 4px; }
body.buyer-app.public-store .lp-header .lp-menu-trigger { display: none; }

/* Compact illustrations give each page its own visual identity. */
body.buyer-app.public-store.store-banner-page .lp-header.is-scrolled { animation: none; }
body.buyer-app.public-store.store-banner-page .lp-header::before,
body.buyer-app.public-store.store-banner-page .lp-header .lp-header-inner { transition: none; }
body.buyer-app.public-store.store-banner-page .lp-header.is-at-top::before { background: #fff; border-color: #e4e8e1; }
body.buyer-app .store-page-banner { display: flex; align-items: center; width: 100%; min-height: 240px; height: clamp(240px,20vw,288px); overflow: hidden; background: #edf3e8; }
body.buyer-app .store-page-banner-inner { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: center; gap: 48px; width: 100%; max-width: 1200px; padding: 24px; margin: 0 auto; }
body.buyer-app .store-page-banner-copy { min-width: 0; }
body.buyer-app .store-page-banner-art { display: flex; align-items: center; justify-content: center; }
body.buyer-app .store-page-banner-art svg { display: block; width: 100%; height: 200px; }
body.buyer-app .store-page-banner-art.is-question svg { max-width: 200px; }
body.buyer-app .store-page-banner h1 { margin: 0; color: #172f29; font-size: clamp(34px,4vw,52px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
body.buyer-app .store-page-banner p { margin: 16px 0 0; max-width: 38ch; font-size: 16px; line-height: 1.6; color: #4e6157; }
body.buyer-app.public-store.store-banner-page #main { padding-top: 40px; }
body.buyer-app.public-store .store-catalog-count { margin: 0 0 24px; font-size: 14px; color: var(--store-muted); }
body.buyer-app.public-store.store-banner-page .lp-faq-page { max-width: 840px; margin: 0 auto; }
@media (max-width: 760px) {
  body.buyer-app .store-page-banner { min-height: 200px; height: 220px; }
  body.buyer-app .store-page-banner-inner { grid-template-columns: minmax(0,1fr) clamp(80px,24vw,144px); gap: 16px; padding: 24px 20px; }
  body.buyer-app .store-page-banner-art svg { height: auto; max-height: 144px; }
  body.buyer-app .store-page-banner h1 { font-size: clamp(28px,5.4vw,38px); }
  body.buyer-app .store-page-banner p { margin-top: 12px; }
  body.buyer-app.public-store.store-banner-page #main { padding-top: 28px; }
}

/* A native modal keeps phone navigation focused and the page behind it still. */
body.store-menu-open { overflow: hidden; }
body.buyer-app.public-store .store-menu {
  position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto;
  width: min(360px,calc(100% - 32px)); max-width: none; height: 100dvh; max-height: 100dvh;
  padding: calc(24px + env(safe-area-inset-top,0px)) 24px calc(24px + env(safe-area-inset-bottom,0px)); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
  border: 0; border-left: 1px solid #d7e3d4; border-radius: 16px 0 0 16px; color: #1b3b30; background: #fffefa;
  box-shadow: 0 18px 60px #172f2920; animation: store-menu-enter .22s ease-out;
}
body.buyer-app.public-store .store-menu[open] { display: flex; flex-direction: column; }
body.buyer-app.public-store .store-menu > * { flex-shrink: 0; }
body.buyer-app.public-store .store-menu::backdrop { background: #25423438; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.buyer-app.public-store .store-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; }
body.buyer-app.public-store .store-menu-head h2 { margin: 0; font-size: 16px; font-weight: 550; letter-spacing: 0; color: #5c6861; }
body.buyer-app.public-store .store-menu-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #d7e3d4; border-radius: 50%; color: #1b3b30; background: #edf3e8; }
body.buyer-app.public-store .store-menu-primary { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; }
body.buyer-app.public-store .store-menu-primary a { display: block; padding: 12px 0; color: #1b3b30; font-size: clamp(24px,6vw,30px); line-height: 1.3; font-weight: 550; letter-spacing: -.035em; text-decoration: none; }
body.buyer-app.public-store .store-menu-primary a[aria-current=page] { color: #176b50; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
body.buyer-app.public-store .store-menu-help { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 0; border-top: 1px solid #dce3da; }
body.buyer-app.public-store .store-menu-help :is(a,button) { display: flex; align-items: center; min-height: 48px; padding: 10px 0; border: 0; background: transparent; color: #1b3b30; font-size: 16px; text-decoration: none; }
body.buyer-app.public-store .store-menu-signin { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 16px 18px; border-radius: 9px; background: #176b50; color: #fff; font-size: 16px; text-decoration: none; }
body.buyer-app.public-store .store-menu-signin svg { width: 20px; height: 20px; }
body.buyer-app.public-store .store-menu :is(a,button) { transition: background-color .2s ease,color .2s ease; }
body.buyer-app.public-store .store-menu-primary a:hover,
body.buyer-app.public-store .store-menu-help :is(a,button):hover { color: #176b50; }
body.buyer-app.public-store .store-menu-signin:hover { background: #10573f; }
@keyframes store-menu-enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

/* Footer navigation is grouped by purpose, with a quiet ownership/payment line. */
body.buyer-app.public-store .lp-footer { background: #143d31; color: #f4f6ee; border: 0; margin-top: 0; }
body.buyer-app.public-store .lp-footer .lp-footer-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px 80px; max-width: 1280px; padding: 72px 40px 28px; }
body.buyer-app.public-store .lp-footer .lp-footer-brand { display: inline-flex; }
body.buyer-app.public-store .lp-footer .brand { color: #f4f6ee; align-items: center; gap: 10px; }
body.buyer-app.public-store .lp-footer .brand-emblem { width: 34px; height: 34px; filter: grayscale(1) brightness(0) invert(1); }
body.buyer-app.public-store .lp-footer .brand-wordmark { font-size: 26px; }
body.buyer-app.public-store .lp-footer .lp-footer-intro > p { max-width: 27ch; margin: 24px 0 0; font-size: 16px; line-height: 1.75; color: #d2dfd5; }
body.buyer-app.public-store .lp-footer .lp-footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 32px; }
body.buyer-app.public-store .lp-footer .lp-footer-group { display: flex; flex-direction: column; align-items: flex-start; }
body.buyer-app.public-store .lp-footer .lp-footer-group h2 { margin: 0 0 18px; color: #bfd0c2; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
body.buyer-app.public-store .lp-footer .lp-footer-group :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; height: auto; padding: 6px 0; color: #f0f5ed; font-size: 16px; font-weight: 450; line-height: 1.6; text-align: left; border: 0; background: transparent; transition: color .2s ease, text-decoration-color .2s ease; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; }
body.buyer-app.public-store .lp-footer .lp-footer-group :is(a,button):hover { background: transparent; color: white; text-decoration-color: #afc6af; }
body.buyer-app.public-store .lp-footer :is(a,button):focus-visible { outline: 2px solid #e0ecc9; outline-offset: 5px; }
body.buyer-app.public-store .lp-footer .lp-footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; border-top: 1px solid #ffffff25; padding-top: 24px; }
body.buyer-app.public-store .lp-footer .lp-footer-bottom p { margin: 0; font-size: 14px; color: #c3d2c8; line-height: 1.6; }
@media (max-width: 1000px) {
  body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) .lp-header-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 24px; padding-top: 5px; padding-bottom: 5px; }
  body.buyer-app.public-store .lp-header .lp-nav { gap: 20px; }
  body.buyer-app.public-store .lp-header .lp-actions { gap: 8px; }
  body.buyer-app.public-store .lp-footer .lp-footer-inner { gap: 48px 40px; }
}
@media (max-width: 760px) {
  body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) { padding: calc(env(safe-area-inset-top,0px) + 4px) 8px 4px; background: transparent; }
  body.buyer-app.public-store .lp-header.is-floating::before { width: 100%; top: 0; bottom: 0; border: 1px solid #d7e3d4; border-radius: 0; }
  body.buyer-app.public-store .lp-header.is-scrolled::before { width: 100%; top: 0; bottom: 0; border-radius: 0; border-left: 0; border-right: 0; }
  body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) .lp-header-inner { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'brand actions'; gap: 12px; min-height: 56px; padding: 6px 12px; border: 0; border-radius: 0; box-shadow: none; }
  body.buyer-app.public-store .lp-header :is(.lp-nav,.lp-support-trigger,.lp-signin) { display: none; }
  body.buyer-app.public-store .lp-header .lp-menu-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 12px; border: 1px solid #cadac7; border-radius: 8px; background: transparent; color: #1b3b30; font-size: 16px; line-height: 1.4; }
  body.buyer-app.public-store .lp-header .lp-menu-trigger:hover { background: #dfeadb; }
  body.buyer-app.public-store .lp-menu-lines { display: inline-block; width: 18px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  body.buyer-app.public-store .lp-header .brand-wordmark { font-size: 22px; }
  body.buyer-app.public-store .lp-header .brand-emblem { width: 30px; height: 30px; }
  body.buyer-app.public-store .lp-header .brand { gap: 8px; }
  body.buyer-app.public-store .lp-header .lp-signin { padding: 10px 12px; }
  body.buyer-app.public-store .lp-header .lp-actions { gap: 6px; }
  body.buyer-app.public-store .lp-header .lp-support-trigger { width: 44px; padding: 10px; }
  body.buyer-app.public-store .lp-footer .lp-footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 24px; }
  body.buyer-app.public-store .lp-footer .lp-footer-links { gap: 24px; }
  body.buyer-app.public-store .lp-footer .lp-footer-group :is(a,button) { font-size: 16px; }
  body.buyer-app.public-store .lp-footer .lp-footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  body.buyer-app.public-store .lp-header .lp-support-trigger span { display: none; }
  body.buyer-app.public-store .lp-footer .lp-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; }
}
@media (max-width: 370px) {
  body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) .lp-header-inner { padding-left: 12px; padding-right: 12px; column-gap: 8px; }
  body.buyer-app.public-store .lp-header .lp-actions { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  body.buyer-app.public-store .store-menu { animation: none; }
  body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled),
  body.buyer-app.public-store .lp-header:is(.is-floating,.is-scrolled) .lp-header-inner,
  body.buyer-app.public-store .lp-header::before { transition: none; }
  body.buyer-app.public-store .lp-header .brand { transition: none; }
  body.buyer-app.public-store .lp-header.is-scrolled { animation: none; }
}

/* Storefront actions keep a square silhouette, including account and cart controls. */
body.buyer-app.public-store #root :is(button,a.button,.home-button,.lp-signin,.lp-btn),
body dialog.store-account-dialog :is(button,a.button),
body dialog.store-account-dialog #loginForm > button[type=submit],
body.buyer-app dialog.cart-drawer :is(button,a.button),
body.buyer-app .cart-summary #cartCheckout,
body.buyer-app.public-store .store-menu :is(button,.store-menu-signin) { border-radius: 0; }
body.buyer-app.public-store .lp-header .lp-support-trigger { text-decoration: none; }
body.buyer-app .store-page-banner-symbol { display: grid; place-items: center; width: 176px; height: 176px; border: 2px solid #176b50; background: #fffefa; color: #176b50; }
body.buyer-app .store-page-banner-symbol svg { width: 100px; height: 100px; stroke-width: 1.4; }
body.buyer-app:not(.public-store) #main > .store-page-banner { margin-bottom: 40px; }
body.buyer-app.compact-workspace #main .store-page-banner h1 { font-size: clamp(34px,4vw,52px); color: #172f29; line-height: 1.15; }
body.buyer-app .store-support-page { max-width: 1100px; margin: 0 auto; color: #172f29; font-size: 16px; line-height: 1.6; }
body.buyer-app .store-support-contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 64px; }
body.buyer-app .store-support-intro h2 { margin: 0 0 24px; font-size: 28px; letter-spacing: -.035em; }
body.buyer-app .store-support-intro > p { max-width: 36ch; margin: 0 0 16px; font-size: 16px; color: #5c6861; }
body.buyer-app .store-support-intro .store-support-status { display: flex; align-items: center; gap: 10px; color: #172f29; }
body.buyer-app .store-support-dot { width: 8px; height: 8px; border-radius: 50%; background: #87958b; }
body.buyer-app .store-support-dot.is-online { background: #176b50; }
body.buyer-app .store-support-hours { margin: 28px 0 0; }
body.buyer-app .store-support-hours dt { margin-bottom: 8px; font-size: 14px; color: #5c6861; }
body.buyer-app .store-support-hours dd { margin: 0 0 4px; font-size: 14px; }
body.buyer-app .store-support-channels { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dce3da; }
body.buyer-app .store-support-channels li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid #dce3da; }
body.buyer-app .store-support-channels li > div:first-child { min-width: 0; overflow-wrap: anywhere; }
body.buyer-app .store-support-channels h3 { margin: 0 0 4px; font-size: 18px; font-weight: 550; }
body.buyer-app .store-support-channels li span { font-size: 14px; color: #5c6861; }
body.buyer-app .store-support-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
body.buyer-app .store-support-actions a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #176b50; font-size: 16px; text-decoration: none; white-space: nowrap; }
body.buyer-app .store-support-actions a:hover { text-decoration: underline; text-underline-offset: 5px; }
body.buyer-app .store-support-copy { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #dce3da; border-radius: 0; background: transparent; color: #176b50; }
body.buyer-app .store-support-empty { margin: 0; padding: 24px; border: 1px solid #dce3da; font-size: 16px; }
body.buyer-app .store-support-next { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; }
body.buyer-app .store-support-next > a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid #dce3da; color: #176b50; text-decoration: none; }
body.buyer-app .store-support-next strong { display: block; font-size: 18px; font-weight: 550; }
body.buyer-app .store-support-next a > span > span { display: block; margin-top: 8px; font-size: 14px; color: #5c6861; }
body.buyer-app .store-support-next svg { flex: none; }
body.buyer-app .store-support-page :is(a,button):focus-visible { outline: 2px solid #176b50; outline-offset: 4px; }
body.buyer-app .store-support-error h2 { font-size: 28px; }
body.buyer-app .store-support-error p { font-size: 16px; }
body.buyer-app .store-support-error > a { display: inline-block; margin: 16px; color: #176b50; font-size: 16px; }
body.buyer-app .tracking-form { max-width: 640px; margin: 0 auto 32px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.buyer-app .tracking-form input { min-height: 48px; padding: 12px 14px; font-size: 16px; }
body.buyer-app .tracking-form #orderTrackingForm button[type=submit] { min-height: 48px; padding: 12px 20px; border: 1px solid #176b50; border-radius: 0; background: #176b50; color: #fff; font-size: 16px; }
/* Filled primary actions retain legible labels while unavailable or processing. */
body.buyer-app #main :is(#placeOrder,#addToCart,button[type=submit]:not(.secondary),button.button:not(.secondary)) { color: #fff; -webkit-text-fill-color: currentColor; }
body.buyer-app #main :is(#placeOrder,#addToCart,button[type=submit]:not(.secondary),button.button:not(.secondary)):disabled { color: #fff; background: #526b5e; border-color: #526b5e; opacity: 1; }
body.buyer-app #main #placeOrder { min-height: 48px; font-size: 16px; border-radius: 0; }
body.buyer-app #main :is(#placeOrder,#addToCart,button[type=submit]:not(.secondary),button.button:not(.secondary)) :is(svg,span) { color: inherit; }
body.buyer-app.public-store #main button[type=submit].secondary { color: #176b50; background: #fffefa; border-color: #bacabd; -webkit-text-fill-color: currentColor; }
body.buyer-app.public-store #main button[type=submit].secondary:hover:not(:disabled) { color: #10573f; background: #edf3e8; border-color: #789884; }
body.buyer-app.public-store #main button[type=submit].secondary:disabled { color: #5c6861; background: #eef1e9; border-color: #dce3da; opacity: 1; }
body.buyer-app #trackingResult { max-width: 840px; margin: 0 auto; }

/* Product listing: a complete image, an uncut title and one clear next action. */
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 28px; margin-top: 32px; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-card.product-link.catalog-card { display: flex; flex-direction: column; align-items: stretch; height: 100%; min-height: 0; padding: 0; overflow: hidden; border: 1px solid #dce3da; border-radius: 0; background: #fffefa; color: #172f29; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; text-decoration: none; transform: none; transition: border-color .25s ease; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-card.product-link.catalog-card:hover { border-color: #8ca594; background: #fffefa; box-shadow: none; transform: none; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-card.product-link.catalog-card:focus-visible { outline: 2px solid #176b50; outline-offset: 6px; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-link .product-image { flex: 0 0 auto; position: relative; display: grid; place-items: center; width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / .84; margin: 0; padding: 24px; overflow: hidden; border: 0; border-bottom: 1px solid #dce3da; border-radius: 0; background: #eef1e9; transition: background-color .3s ease; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.catalog-kind-physical .product-image { background: #f2eee6; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .product-image img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); max-height: none; border-radius: 0; object-fit: contain; filter: drop-shadow(0 6px 12px #172f2914); transition: transform .45s cubic-bezier(.22,1,.36,1); }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-placeholder { display: flex; flex-direction: column; align-items: center; gap: 20px; color: #5c6861; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-placeholder > svg { width: 72px; height: 72px; stroke-width: 1.1; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-placeholder > span { font-size: 14px; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-content { flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; height: auto; padding: 20px 22px 0; background: #fffefa; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-content > .eyebrow { display: block; margin: 0; overflow: visible; color: #5c6861; font-size: 14px; font-weight: 450; line-height: 1.5; text-transform: none; letter-spacing: 0; white-space: normal; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-title { display: block; margin: 0 0 16px; min-height: 54px; max-height: none; overflow: visible; color: #172f29; font-size: 18px; font-weight: 550; line-height: 1.5; letter-spacing: -.02em; white-space: normal; overflow-wrap: anywhere; -webkit-line-clamp: unset; text-overflow: clip; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-earning { display: block; color: #176b50; font-size: 14px; line-height: 1.5; }
body.buyer-app .pdp .earn-panel { border-radius: 0; background: #edf3e8; border-color: #dce3da; }
body.buyer-app .pdp .earn-panel strong { color: #176b50; font-size: 20px; }
body.buyer-app :is(.catalog-earning,.earn-panel) .earning-amount { display: inline; font-size: inherit; font-weight: 800; color: inherit; }
body.buyer-app .pdp .earn-panel small { color: #5c6861; font-size: 14px; line-height: 1.5; }
body.buyer-app .pdp .earn-panel :is(button,a.button) { flex: none; border-radius: 0; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .card-price { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; width: 100%; margin-top: auto; padding: 14px 0; border-top: 1px solid #dce3da; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .card-price .product-price { overflow: visible; color: #172f29; font-size: 20px; font-weight: 600; line-height: 1.5; white-space: normal; text-overflow: clip; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .card-price :is(small,s) { color: #5c6861; font-size: 14px; font-weight: 450; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-action { display: inline-flex; align-items: center; justify-self: end; gap: 10px; min-height: 44px; color: #176b50; font-size: 14px; font-weight: 500; white-space: nowrap; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-action svg { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .card-badges { top: 12px; left: 12px; right: 12px; gap: 8px; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .card-badge { padding: 6px 10px; border: 1px solid #dce3da; border-radius: 0; background: #fffefa; color: #172f29; font-size: 14px; font-weight: 500; line-height: 1.4; white-space: normal; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .card-badge.out { color: #873e32; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .photo-count { right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 0; background: #fffefa; color: #172f29; font-size: 14px; line-height: 1.4; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .photo-count svg { width: 16px; height: 16px; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.is-out .product-image img { opacity: .8; filter: grayscale(.3); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile:is(:hover,:focus-visible) .product-image { background: #e6edde; }
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile:is(:hover,:focus-visible) .product-image img { transform: scale(1.025); }
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile:is(:hover,:focus-visible) .catalog-card-action svg { transform: translateX(4px); }
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile:is(:hover,:focus-visible) .catalog-card-action { text-decoration: underline; text-underline-offset: 5px; }
}
@media (max-width: 1000px) { body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; } }
@media (max-width: 560px) {
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-link .product-image { aspect-ratio: 1 / .86; }
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-content { padding: 18px 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .product-image,
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-card.product-link .product-image img,
  body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .catalog-card-action svg { transition: none; transform: none; }
}
/* Smaller recommendation tiles retain the same reading order as catalogue cards. */
body.buyer-app #relatedProducts { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
body.buyer-app #relatedProducts .catalog-tile.product-link .product-image { aspect-ratio: 1 / .8; padding: 16px; }
body.buyer-app #relatedProducts .catalog-tile .product-image img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
body.buyer-app #relatedProducts .catalog-tile .catalog-card-content { padding: 16px 16px 0; gap: 6px; }
body.buyer-app #relatedProducts .catalog-tile .catalog-card-title { min-height: 48px; margin-bottom: 12px; font-size: 16px; }
body.buyer-app #relatedProducts .catalog-tile .card-price { gap: 6px; padding: 10px 0; }
body.buyer-app #relatedProducts .catalog-tile .card-price .product-price { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 0 4px; min-height: 54px; font-size: 18px; }
body.buyer-app #relatedProducts .catalog-tile .catalog-placeholder { gap: 12px; text-align: center; }
body.buyer-app #relatedProducts .catalog-tile .catalog-placeholder > svg { width: 48px; height: 48px; }
body.buyer-app #relatedProducts .catalog-tile .catalog-card-action { gap: 6px; }

/* A contained gallery leaves room for the product's name and buying controls. */
body.buyer-app .pdp { max-width: 1060px; margin: 8px auto 0; grid-template-columns: minmax(0,420px) minmax(0,1fr); gap: 48px; }
body.buyer-app .pdp-gallery { width: 100%; max-width: 420px; justify-self: center; }
body.buyer-app .pdp .pdp-media { aspect-ratio: 1; border-radius: 0; border-color: #dce3da; background: #eef1e9; box-shadow: none; }
body.buyer-app .pdp .product-media-stage { background: #eef1e9; }
body.buyer-app .pdp .product-media-stage > img { inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); border-radius: 0; object-fit: contain; }
body.buyer-app .pdp .pdp-title { font-size: clamp(28px,2.8vw,36px); line-height: 1.25; }
body.buyer-app .pdp .pdp-thumbs button { border-radius: 0; }
body.buyer-app .pdp .gallery-counter { font-size: 14px; border-radius: 0; background: #172f29; backdrop-filter: none; }
@media (max-width: 1000px) {
  body.buyer-app #relatedProducts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.buyer-app .pdp { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; }
}
@media (max-width: 760px) {
  body.buyer-app .pdp { grid-template-columns: minmax(0,1fr); gap: 28px; }
  body.buyer-app .pdp-gallery { max-width: 340px; }
  body.buyer-app #relatedProducts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  body.buyer-app #relatedProducts .catalog-tile .card-price { grid-template-columns: minmax(0,1fr); gap: 0; }
  body.buyer-app #relatedProducts .catalog-tile .catalog-card-action { justify-self: start; }
  body.buyer-app #relatedProducts .catalog-tile.product-link .product-image { padding: 12px; }
  body.buyer-app #relatedProducts .catalog-tile .catalog-placeholder { gap: 8px; }
  body.buyer-app #relatedProducts .catalog-tile .catalog-placeholder > svg { width: 32px; height: 32px; }
  body.buyer-app #relatedProducts .catalog-tile .catalog-placeholder > span { line-height: 1.4; }
}
@media (max-width: 400px) {
  body.buyer-app #relatedProducts .catalog-tile .catalog-card-content { padding: 12px 12px 0; }
  body.buyer-app #relatedProducts .catalog-tile .product-image img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  body.buyer-app #relatedProducts .catalog-tile .catalog-placeholder > span { display: none; }
}
@media (max-width: 760px) {
  body.buyer-app .store-page-banner-symbol { width: 80px; height: 80px; }
  body.buyer-app .store-page-banner-symbol svg { width: 52px; height: 52px; }
  body.buyer-app .store-support-contact { grid-template-columns: 1fr; gap: 32px; }
  body.buyer-app .store-support-channels li { align-items: flex-start; flex-direction: column; gap: 12px; }
  body.buyer-app .store-support-actions { width: 100%; justify-content: space-between; }
  body.buyer-app .store-support-next { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  body.buyer-app.compact-workspace #main .store-page-banner h1 { font-size: 28px; }
}

/* Artwork fills listing cards; registration badges stay independent overlays. */
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile.product-link .product-image { aspect-ratio: 1; padding: 2px; }
body.buyer-app :is(#productCatalog,#home-product-grid,#relatedProducts) .catalog-tile .product-image img { inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; filter: none; }

/* Checkout shares the store's typography, square surfaces and green actions. */
body.buyer-app:has(#orderBasket) #main {
  --primary: #176b50; --primary-hover: #10573f; --link: #176b50; --ink: #172f29;
  --muted: #5c6861; --line: #dce3da; --ws-slate: #176b50; --ws-slate-deep: #172f29;
  font-family: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color: #172f29;
}
body.buyer-app:has(#orderBasket) #main .pos-layout { grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); align-items: start; gap: 32px; }
body.buyer-app:has(#orderBasket) #main :is(.checkout-steps > section,#orderBasket) { border: 1px solid #dce3da; border-radius: 0; background: #fffefa; box-shadow: none; backdrop-filter: none; }
body.buyer-app:has(#orderBasket) #main .checkout-steps { gap: 24px; }
body.buyer-app:has(#orderBasket) #main .checkout-steps > section { padding: 28px; }
body.buyer-app:has(#orderBasket) #main .section-label { gap: 12px; margin-bottom: 24px; }
body.buyer-app:has(#orderBasket) #main :is(.section-label h3,.basket-head h2) { font-family: inherit; font-size: 20px; font-weight: 600; color: #172f29; }
body.buyer-app:has(#orderBasket) #main .step-number { width: 32px; height: 32px; border-radius: 0; font-size: 14px; color: #176b50; background: #edf3e8; }
body.buyer-app:has(#orderBasket) #main :is(button,a.button,input,select,textarea,.compact-payments label) { border-radius: 0; font-family: inherit; font-size: 16px; }
body.buyer-app:has(#orderBasket) #main :is(button,a.button,input:not([type=radio]),select) { min-height: 44px; }
body.buyer-app:has(#orderBasket) #main :is(label,.summary-line,.basket-item,.basket-item > div > strong,.basket-item > .money) { font-size: 16px; }
body.buyer-app:has(#orderBasket) #main :is(small,.small,.payment-note,.wallet-preview > div,.checkout-reason,.coupon-entry summary) { font-size: 14px; line-height: 1.6; }
body.buyer-app:has(#orderBasket) #main :is(.payment-note,.checkout-reason,.muted) { color: #5c6861; }
body.buyer-app:has(#orderBasket) #main .notice { border-radius: 0; font-size: 14px; line-height: 1.6; }
body.buyer-app:has(#orderBasket) #main .compact-payments { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 12px; }
body.buyer-app:has(#orderBasket) #main .compact-payments label { min-height: 64px; padding: 16px 12px; gap: 10px; background: #fffefa; color: #172f29; border-color: #bacabd; box-shadow: none; }
body.buyer-app:has(#orderBasket) #main .compact-payments label:hover { background: #f4f5ef; }
body.buyer-app:has(#orderBasket) #main .compact-payments label:has(input:checked) { background: #edf3e8; color: #176b50; border-color: #176b50; box-shadow: inset 0 0 0 1px #176b50; }
body.buyer-app:has(#orderBasket) #main .compact-payments label svg { width: 22px; height: 22px; }
body.buyer-app:has(#orderBasket) #main :is(input,select,textarea):focus { border-color: #176b50; box-shadow: none; }
body.buyer-app:has(#orderBasket) #main :is(button,a,input,select,textarea,summary):focus-visible { outline-color: #176b50; }
body.buyer-app:has(#orderBasket) #main #orderBasket { top: 24px; }
body.buyer-app:has(#orderBasket) #main :is(.basket-head,.basket-section) { padding: 24px; }
body.buyer-app:has(#orderBasket) #main .basket-head { background: #edf3e8; }
body.buyer-app:has(#orderBasket) #main .basket-items { padding: 0 24px; max-height: 400px; }
body.buyer-app:has(#orderBasket) #main .basket-item { gap: 20px; padding: 24px 0; }
body.buyer-app:has(#orderBasket) #main .basket-item > div { min-width: 0; }
body.buyer-app:has(#orderBasket) #main .basket-item strong { overflow-wrap: anywhere; }
body.buyer-app:has(#orderBasket) #main .quantity { flex-wrap: wrap; gap: 8px; }
body.buyer-app:has(#orderBasket) #main .quantity button { width: 44px; height: 44px; min-width: 44px; }
body.buyer-app:has(#orderBasket) #main .summary-total { font-size: 22px; margin-top: 24px; padding-top: 24px; }
body.buyer-app:has(#orderBasket) #main :is(#placeOrder,button[type=submit]:not(.secondary)) { color: #fff; background: #176b50; border-color: #176b50; }
body.buyer-app:has(#orderBasket) #main :is(#placeOrder,button[type=submit]:not(.secondary)):hover:not(:disabled) { color: #fff; background: #10573f; border-color: #10573f; }
body.buyer-app:has(#orderBasket) #main :is(button.secondary,a.button.secondary,.quantity button) { color: #176b50; background: #fffefa; border-color: #bacabd; }
body.buyer-app:has(#orderBasket) #main :is(button.secondary,a.button.secondary,.quantity button):hover:not(:disabled) { color: #10573f; background: #edf3e8; }
body.buyer-app:has(#orderBasket) #main #placeOrder:disabled { opacity: 1; color: #5c6861; background: #eef1e9; border-color: #dce3da; }
@media (max-width: 1100px) {
  body.buyer-app:has(#orderBasket) #main .pos-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.buyer-app:has(#orderBasket) #main #orderBasket { position: static; }
}
@media (max-width: 600px) {
  body.buyer-app:has(#orderBasket) #main .page-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  body.buyer-app:has(#orderBasket) #main .page-head a.button { white-space: nowrap; }
  body.buyer-app:has(#orderBasket) #main :is(.checkout-steps > section,.basket-head,.basket-section) { padding: 20px; }
  body.buyer-app:has(#orderBasket) #main .basket-items { padding: 0 20px; }
  body.buyer-app:has(#orderBasket) #main .compact-payments { grid-template-columns: minmax(0,1fr); }
  body.buyer-app:has(#orderBasket) #main .compact-payments label { min-height: 56px; justify-content: flex-start; }
  body.buyer-app:has(#orderBasket) #main .basket-item { flex-wrap: wrap; gap: 12px; }
}
