/* Origo Standard — quantity pricing: bundle selector and cart additions.
   Uses the site palette: basalt #141618, sand #E5DFD3, chalk #FBFAF7, bone #F2EFE8,
   steel #98A1A1, graphite #43474B, vetiver #38463A. */

.ob { margin-top: 1.5rem; border: 0; padding: 0; min-width: 0; }
.ob__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ob__legend { font: 400 .875rem/1.25rem Jost, system-ui, sans-serif; color: #43474B; padding: 0; }
.ob__legend b { font-weight: 400; color: #141618; }
.ob__ladder { font: 400 12px/1.3 Jost, system-ui, sans-serif; color: #38463A; font-variant-numeric: tabular-nums; }
.ob__list { margin-top: .75rem; display: flex; flex-direction: column; gap: .5rem; }

.ob-tier { position: relative; display: block; cursor: pointer; }
.ob-tier input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ob-tier__box {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .875rem;
  padding: .8rem 1rem; border: 1px solid #E5DFD3; border-radius: 12px; background: #fff;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.ob-tier:hover .ob-tier__box { border-color: #98A1A1; }
.ob-tier input:checked + .ob-tier__box { border-color: #141618; background: #FBFAF7; box-shadow: inset 0 0 0 1px #141618; }
.ob-tier input:focus-visible + .ob-tier__box { outline: 2px solid #141618; outline-offset: 2px; }
.ob-tier__dot { width: 18px; height: 18px; border-radius: 9999px; border: 1px solid #98A1A1; background: #fff; position: relative; }
.ob-tier input:checked + .ob-tier__box .ob-tier__dot { border-color: #141618; }
.ob-tier input:checked + .ob-tier__box .ob-tier__dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 9999px; background: #141618;
}
.ob-tier__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ob-tier__name { font: 500 .95rem/1.25 Jost, system-ui, sans-serif; color: #141618; }
.ob-tier__save { font: 400 12px/1.3 Jost, system-ui, sans-serif; color: #38463A; font-variant-numeric: tabular-nums; }
.ob-tier__save--none { color: #98A1A1; }
.ob-tier__price { text-align: right; display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.ob-tier__total { font: 400 1.0625rem/1.2 Jost, system-ui, sans-serif; color: #141618; white-space: nowrap; }
.ob-tier__each { font: 400 11.5px/1.3 Jost, system-ui, sans-serif; color: #43474B; white-space: nowrap; }

/* Savings meter: grows with every tier, so more items visibly means more saved. */
.ob-tier__meter { display: block; height: 3px; margin-top: 5px; width: 100%; max-width: 120px; border-radius: 9999px; background: #E5DFD3; overflow: hidden; }
.ob-tier__meter i { display: block; height: 100%; background: #38463A; border-radius: inherit; }

/* Best value — the prominent tier. */
.ob-tier--best { margin-top: .6rem; }
.ob-tier--best .ob-tier__box { border-color: #38463A; background: #F2EFE8; padding-top: 1rem; padding-bottom: 1rem; }
.ob-tier--best .ob-tier__name { font-size: 1.0625rem; }
.ob-tier--best .ob-tier__total { font-size: 1.25rem; }
.ob-tier--best .ob-tier__each { color: #38463A; font-weight: 500; }
.ob-tier--best input:checked + .ob-tier__box { border-color: #38463A; background: #F2EFE8; box-shadow: inset 0 0 0 1px #38463A; }
.ob-tier--best input:checked + .ob-tier__box .ob-tier__dot { border-color: #38463A; }
.ob-tier--best input:checked + .ob-tier__box .ob-tier__dot::after { background: #38463A; }
.ob-tier__flag {
  position: absolute; top: -9px; left: 1rem; padding: 2px 10px; border-radius: 9999px;
  background: #38463A; color: #F2EFE8; font: 400 10.5px/1.5 Jost, system-ui, sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
}

/* Eyewear: mix lenses and frames inside a bundle. */
.ob-mix { margin-top: 1rem; border: 1px solid #E5DFD3; border-radius: 12px; background: #FBFAF7; padding: .875rem 1rem; }
.ob-mix[hidden] { display: none; }
.ob-mix__title { font: 400 .875rem/1.25rem Jost, system-ui, sans-serif; color: #43474B; }
.ob-mix__hint { font: 400 12px/1.4 Jost, system-ui, sans-serif; color: #98A1A1; margin-top: 2px; }
.ob-mix__row { display: grid; grid-template-columns: 3.25rem 1fr 1fr; gap: .5rem; align-items: center; margin-top: .625rem; }
.ob-mix__row[hidden] { display: none; }
.ob-mix__n { font: 400 12px/1 Jost, system-ui, sans-serif; color: #98A1A1; letter-spacing: .04em; }
.ob-mix__fixed { display: flex; min-width: 0; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .75rem; border: 1px dashed #E5DFD3; border-radius: 10px; font: 400 13px/1.2 Jost, system-ui, sans-serif; color: #43474B; }
.ob-select { position: relative; display: flex; align-items: center; min-width: 0; }
.ob-select select {
  -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: 40px; padding: 0 1.6rem 0 1.85rem;
  border: 1px solid #E5DFD3; border-radius: 10px; background: #fff; color: #141618;
  font: 400 13px/1 Jost, system-ui, sans-serif; cursor: pointer; text-overflow: ellipsis;
}
.ob-select select:hover { border-color: #98A1A1; }
.ob-select select:focus-visible { outline: 2px solid #141618; outline-offset: 1px; }
.ob-select::after {
  content: ""; position: absolute; right: .8rem; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid #43474B; border-bottom: 1.5px solid #43474B; transform: rotate(45deg); pointer-events: none;
}
.ob-sw { position: absolute; left: .7rem; width: 12px; height: 12px; border-radius: 9999px; border: 1px solid rgba(20,22,24,.12); pointer-events: none; }
.ob-mix__fixed .ob-sw { position: static; flex: none; }
.ob-mix__fixed { padding-left: .7rem; gap: .45rem; background: rgba(255,255,255,.5); }

.ob-sum { margin-top: .875rem; font: 400 13px/1.4 Jost, system-ui, sans-serif; color: #43474B; font-variant-numeric: tabular-nums; }
.ob-sum b { font-weight: 500; color: #38463A; }

/* Small "3 for € …" line on product cards. */
.ob-card-deal { display: block; margin-top: 2px; font: 400 12.5px/1.35 Jost, system-ui, sans-serif; color: #38463A; font-variant-numeric: tabular-nums; }

/* Cart additions. */
.oc-each { margin-top: 2px; font: 400 11.5px/1.35 Jost, system-ui, sans-serif; color: #38463A; font-variant-numeric: tabular-nums; }
.oc-was { font: 400 11.5px/1.35 Jost, system-ui, sans-serif; color: #98A1A1; text-align: right; font-variant-numeric: tabular-nums; }
.oc-sum { display: flex; flex-direction: column; gap: .375rem; margin-bottom: .75rem; }
.oc-sum__row { display: flex; justify-content: space-between; gap: 1rem; font: 400 13px/1.35 Jost, system-ui, sans-serif; color: #43474B; font-variant-numeric: tabular-nums; }
.oc-sum__row--save { color: #38463A; }
.oc-sum__row > span:last-child { white-space: nowrap; }
.oc-sum__note { font: 400 11.5px/1.35 Jost, system-ui, sans-serif; color: #98A1A1; }
.oc-nudge { margin-top: .5rem; padding: .55rem .75rem; border-radius: 10px; background: #FBFAF7; border: 1px solid #E5DFD3; font: 400 12px/1.4 Jost, system-ui, sans-serif; color: #38463A; }

/* Lunchbox versions: One / Two compartments (cross-links between the two product pages). */
.ob-variants { margin-bottom: 1.5rem; }
.ob-variants__list { margin-top: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ob-variant {
  display: flex; flex-direction: column; gap: 2px; padding: .7rem .9rem; border: 1px solid #E5DFD3; border-radius: 12px;
  background: #fff; text-decoration: none; transition: border-color .15s, background-color .15s;
}
.ob-variant:hover { border-color: #98A1A1; }
.ob-variant:focus-visible { outline: 2px solid #141618; outline-offset: 2px; }
.ob-variant.is-current { border-color: #141618; background: #FBFAF7; box-shadow: inset 0 0 0 1px #141618; }
.ob-variant__name { font: 400 .95rem/1.25 Jost, system-ui, sans-serif; color: #141618; }
.ob-variant__sub { font: 400 12px/1.3 Jost, system-ui, sans-serif; color: #98A1A1; }
.ob-variants b, .ob-variant b, h1 b, h3 b, .ob-pending b, .prose-origo b { font-weight: 600; }
h1.font-display b { font-weight: 700; }

/* Gallery and card waiting for real photos — no image, no broken link. */
.ob-pending {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; text-align: center;
  aspect-ratio: 4 / 3; padding: 2rem; border: 1px dashed #E5DFD3; border-radius: 18px; background: #FBFAF7;
}
.ob-pending__text { max-width: 26ch; font: 400 .95rem/1.5 Jost, system-ui, sans-serif; color: #43474B; }
@media (max-width: 767px) { .ob-pending { aspect-ratio: 1 / 1; } }
.ob-card-pending {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  border: 1px dashed #E5DFD3; border-radius: 10px; background: #FBFAF7;
}

.ob-mix-note,.ob-lunch-mix p{font:400 14px/1.5 Jost,system-ui,sans-serif;color:#43474B;margin:16px 0}
.ob-lunch-mix{margin:20px 0;padding:18px;border:1px solid #E5DFD3;border-radius:14px;min-width:0}
.ob-lunch-mix legend{font:500 16px Jost,system-ui,sans-serif;padding:0 6px}
.ob-lunch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;font:400 14px Jost,system-ui,sans-serif}
.ob-lunch-row[hidden]{display:none}.ob-lunch-row select{min-height:44px;max-width:65%;padding:8px;border:1px solid #98A1A1;border-radius:8px;background:#fff;color:#141618}
