/* The bee shop's product and order pages. Colors and fonts come from pages.css. */
.shop-page { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.shop-back { display: inline-block; margin-bottom: 22px; font: 400 13px/1 'IBM Plex Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.shop-back:hover { color: var(--ink); }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.shop-gallery { position: sticky; top: 96px; }
.shop-main-image { position: relative; aspect-ratio: 1 / 1; background: #FBFAF6; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.shop-main-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.shop-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.shop-thumb { padding: 0; width: 76px; background: #FBFAF6; border: 1px solid var(--rule); border-radius: 4px; cursor: pointer; overflow: hidden; }
.shop-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.shop-thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.shop-eyebrow { margin: 0 0 10px; font: 400 12px/1.4 'IBM Plex Mono', monospace; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.shop-title { margin: 0; font-size: clamp(30px, 4.4vw, 44px); }
.shop-tagline { margin: 10px 0 0; font-style: italic; color: var(--muted); }
.shop-price { margin: 16px 0 0; font: 600 1.5rem/1 var(--serif); color: var(--ink); }
.shop-option { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.shop-option legend { padding: 0; margin-bottom: 10px; font: 600 12px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.shop-option legend span { margin-left: 6px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }
.shop-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-choice { min-height: 44px; min-width: 52px; padding: 10px 14px; background: transparent; border: 1px solid var(--rule); border-radius: 4px; font: 400 15px/1.2 var(--sans); color: var(--ink); cursor: pointer; }
.shop-choice small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.shop-choice:hover:not(:disabled) { border-color: var(--ink); }
.shop-choice[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 500; }
.shop-choice:disabled { color: #A9A498; text-decoration: line-through; cursor: not-allowed; background: #F3F0E8; }
.shop-swatch { width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; cursor: pointer; }
.shop-swatch:hover { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px var(--muted); }
.shop-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--ink); }
.shop-qty { width: 84px; min-height: 44px; padding: 8px 10px; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 4px; font: 400 16px/1.2 var(--sans); color: var(--ink); }
.shop-buy { display: block; width: 100%; margin-top: 28px; padding: 17px 24px; border: 0; font-size: 0.9rem; cursor: pointer; text-align: center; }
.shop-buy:disabled { background: #D9D4C7; color: #6E6A61; cursor: not-allowed; filter: none; }
.shop-buy.shop-buy-alt { margin-top: 10px; padding: 16px 24px; background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.shop-buy.shop-buy-alt:hover { background: var(--ink); color: var(--paper); filter: none; }
.shop-buy.shop-buy-alt:disabled { background: transparent; border-color: var(--rule); color: var(--muted); }
.shop-added { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid #69826A; background: #F1F4EE; font-size: 0.95rem; color: var(--ink); }
.shop-added a { color: var(--ink); text-decoration: underline; }
.shop-details { margin: 26px 0 0; padding: 18px 0 0 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
.shop-details li { margin-top: 6px; }
.shop-step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.shop-step-head h2 { font-size: 1.35rem; }
.shop-link { padding: 0; background: none; border: 0; font: 400 14px/1.2 var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; }
.shop-summary-line { margin: 12px 0 0; font-size: 0.98rem; color: var(--muted); }
.shop-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.shop-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; font: 500 13px/1.3 var(--sans); color: var(--ink); }
.shop-field-wide { grid-column: 1 / -1; }
.shop-field input, .shop-field select { width: 100%; min-height: 44px; padding: 9px 11px; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 4px; font: 400 16px/1.2 var(--sans); color: var(--ink); }
.shop-field input:focus, .shop-field select:focus, .shop-qty:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.shop-error { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid #B65858; background: #FBF1EE; font-size: 0.95rem; color: var(--ink); }
.shop-totals { margin: 20px 0 0; padding: 0; }
.shop-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.shop-totals dt, .shop-totals dd { margin: 0; }
.shop-totals .shop-total { border-bottom: 0; font-weight: 600; font-size: 1.1rem; }
.shop-note { margin: 12px 0 0; font-size: 0.86rem; color: var(--muted); }
.shop-payment { margin-top: 18px; min-height: 120px; }
.shop-message { max-width: 620px; margin: 0 auto; text-align: center; }
.shop-message h1 { font-size: clamp(30px, 5vw, 46px); }
.shop-message p { margin: 16px 0 0; color: var(--muted); }
.shop-message .button { margin-top: 24px; }
.bee-not-real-head { margin-top: 3.6rem; }
.shop-cart-link { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 2px 0; font: 500 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hero-ink); text-decoration: none; }
.shop-cart-link:hover, .shop-cart-link[aria-current="page"] { color: #A87F20; }
.shop-cart-count { min-width: 20px; padding: 4px 6px; border-radius: 10px; background: var(--hero-ink); font-size: 11px; font-weight: 600; letter-spacing: 0; text-align: center; color: var(--paper); }
.shop-cart-layout { margin-top: 26px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.shop-cart-heading { font-size: 1.35rem; }
.shop-cart-layout h2 { margin-top: 0; }
.shop-cart-layout .shop-step-head { margin-top: 0; padding-top: 0; border-top: 0; }
.shop-title:focus, .shop-message h1:focus { outline: none; }
.shop-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.shop-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.shop-line-photo { display: block; align-self: start; background: #FBFAF6; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.shop-line-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.shop-line-name { font: 500 1.05rem/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.shop-line-name:hover { text-decoration: underline; }
.shop-line-options { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }
.shop-line-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 10px; }
.shop-line-editor { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 10px; }
.shop-line-editor .shop-field { flex: 1 1 110px; }
.shop-quick-add { display: block; width: 100%; margin-top: 6px; padding: 11px 16px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--button-ink); cursor: pointer; }
.shop-quick-add:hover { filter: brightness(0.92); }
.shop-line-controls .shop-link { min-height: 44px; padding: 0 4px; font-size: 15px; color: var(--ink); }
.shop-line-controls .shop-link:disabled, .shop-qty:disabled { opacity: 0.5; cursor: not-allowed; }
.shop-line-total { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 820px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-gallery { position: static; }
}
@media (max-width: 460px) {
  .shop-form { grid-template-columns: minmax(0, 1fr); }
  .shop-line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
}
