/* Souvenirs & giveaways (/bulk-orders/, page-bulk.php). Loaded only on that page (inc/bulk.php). Mobile first. */

/* ---------- hero (B: frost bleed, photo right) ---------- */
/* the frame renders only once art-batch-names is mapped, around the pink JAM keychain */
.sm-bulkhero__frame { --fx: 39%; --fy: 35%; --fw: 22%; --fh: 14%; }
@media (max-width: 959px) {
  .sm-bulkhero__media > .sm-ph { width: 100%; max-height: 46vh; }
}
.sm-bulkp__cta { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 600px) { .sm-bulkp__cta { grid-template-columns: repeat(2, minmax(0, 230px)); gap: 12px; } }
.sm-bulkp__link { margin: 14px 0 0; font-size: var(--fs-md); text-align: center; }
@media (min-width: 600px) { .sm-bulkp__link { text-align: left; } }
.sm-bulkp__link b, .sm-bdoors__more b, .sm-bulkp__more, .sm-bfaq__head a { color: var(--laser-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sm-bulkp__after { margin-top: 16px; } /* the fact strip, right under the hero */

/* ---------- section rhythm: 64px between sections on phone, 96px on desktop ---------- */
.sm-bulkp__sec { padding: 32px 0; }
.sm-bulkp__sec:first-child { padding-top: 40px; }
@media (min-width: 960px) { .sm-bulkp__sec { padding: 48px 0; } .sm-bulkp__sec:first-child { padding-top: var(--sec); } }
.sm-bulkp__sec .sm-h2 { margin-bottom: 16px; }

/* ---------- two doors: celebrations / school or company ---------- */
.sm-bdoors { display: grid; gap: 40px; }
@media (min-width: 960px) { .sm-bdoors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; } }
.sm-bdoor { scroll-margin-top: calc(var(--top-h) + 16px); }
.sm-bdoor .sm-h2 { font-size: clamp(1.45rem, 5vw, 2.1rem); }
.sm-bdoor__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sm-bdoor__tiles > :first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .sm-bdoor__tiles { gap: 16px; } }
.sm-bdoor__tile .sm-ph, .sm-bnext .sm-ph { display: block; } /* printed as <span> (a <figure> may not sit in a <button>) */
.sm-bdoor__tile { width: 100%; padding: 0; border: 0; text-align: left; font: inherit; transition: translate var(--dur-1) var(--ease-out), box-shadow var(--dur-1) ease, scale var(--dur-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sm-bdoor__tile:hover { translate: 0 -2px; box-shadow: var(--lift-2); } }
.sm-bdoor__tile:active { scale: .98; }
.sm-bdoor__tile .sm-tile__t { display: flex; align-items: center; gap: 10px; }
.sm-bdoor__tile .sm-tile__t small { display: block; margin-top: 2px; font-size: var(--fs-sm); font-weight: 600; color: var(--laser-deep); font-variation-settings: 'wdth' 100; }
.sm-bdoor__go { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: transparent; color: var(--ink); transition: translate var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sm-bdoor__tile:hover .sm-bdoor__go { translate: 3px 0; } }
@media (max-width: 767px) {
  .sm-bdoor__tiles > :not(:first-child) .sm-tile__t { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 6px 5px 9px; font-size: var(--fs-sm); gap: 6px; }
  .sm-bdoor__tiles > :not(:first-child) .sm-bdoor__go { width: 22px; height: 22px; }
}
.sm-bdoors__more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-size: var(--fs-md); }
@media (min-width: 960px) { .sm-bdoors__more { grid-column: 1 / -1; } }

/* ---------- what it costs (hidden until the owner prices a tier) ---------- */
.sm-bcost { display: grid; gap: 4px; }
@media (min-width: 960px) { .sm-bcost { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: center; } }
.sm-bcost__head p { margin: 0 0 16px; max-width: 30em; }
.sm-bcost__tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .sm-bcost__tiers { gap: 16px; } }
.sm-bcost__tiers button { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 12px; border: 0; border-radius: var(--r); background: var(--paper); box-shadow: var(--lift); text-align: left; transition: box-shadow var(--dur-1) ease, translate var(--dur-1) var(--ease-out), scale var(--dur-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sm-bcost__tiers button:hover { translate: 0 -2px; box-shadow: var(--lift), inset 0 0 0 2px var(--laser); } }
.sm-bcost__tiers button:active { scale: .97; }
.sm-bcost__tiers .sm-spec { font-size: var(--fs-ui); color: var(--ink-2); }
.sm-bcost__tiers b { font-size: clamp(1.5rem, 6vw, 2.4rem); font-weight: 850; line-height: 1.05; font-variation-settings: 'wdth' 90; }
.sm-bcost__tiers span:last-child { font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- how it works: rows on phone, 4-up from 768 ---------- */
.sm-bhow { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.sm-bhow > li { counter-increment: s; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--paper); box-shadow: var(--lift); }
.sm-bhow > li::before { content: counter(s); position: absolute; z-index: 5; left: 8px; top: 8px; width: auto; height: auto; padding: 4px 7px 3px; display: grid; place-items: center; border-radius: var(--r-xs); background: var(--ink); color: #fff; font: 800 var(--fs-sm)/1 var(--f); font-variation-settings: 'wdth' 75; letter-spacing: .02em; }
.sm-bhow strong { display: block; font-size: 17px; line-height: 1.2; font-variation-settings: 'wdth' 112; }
.sm-bhow li > div:last-child span { display: block; margin-top: 3px; font-size: var(--fs-md); color: var(--ink-2); }
.sm-bhow__m { width: 64px; height: 64px; margin: 0; border-radius: 50%; overflow: hidden; }
.sm-ph.sm-bhow__m { aspect-ratio: 1; --r-ph: 50%; }
.sm-bhow__chat { display: grid; place-items: center; background: var(--ink); color: var(--laser); }
.sm-bhow__chat span { display: none; }
.sm-bhow__proof { box-shadow: var(--lift), inset 0 0 0 2px var(--laser) !important; }
.sm-bhow > .sm-bhow__proof { grid-template-columns: minmax(0, 1fr); }
.sm-bhow__proof .sm-bhow__m { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-sm); --r-ph: var(--r-sm); }
.sm-bhow__proof::before { background: var(--laser); color: var(--ink); }
.sm-bproof { position: relative; display: grid; place-items: center; align-content: center; gap: 8px; padding: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--edge); }
.sm-bproof .sm-kc-poster { position: static; transform: none; width: 78%; max-width: 360px; } /* app.css centres it absolutely for the configurator stage */
.sm-bproof figcaption { display: grid; gap: 2px; text-align: center; font-size: var(--fs-xs); color: var(--ink-3); }
.sm-bproof figcaption .sm-spec { color: var(--ink); font-size: var(--fs-sm); }
@media (min-width: 768px) {
  .sm-bhow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .sm-bhow > li, .sm-bhow > .sm-bhow__proof { grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; padding: 10px 10px 18px; }
  .sm-bhow > li::before { left: 18px; top: 18px; }
  .sm-bhow li > div:last-child { padding: 0 8px; }
  .sm-bhow__m, .sm-ph.sm-bhow__m { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-sm); --r-ph: var(--r-sm); }
  .sm-bhow__chat { place-items: stretch; align-content: center; gap: 8px; padding: 16px 14px; }
  .sm-bhow__chat .sm-i { justify-self: end; }
  .sm-bhow__chat span { display: block; max-width: 88%; padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: var(--paper); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
  .sm-bhow__chat span:last-child { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--laser); }
}

/* ---------- recent batches (real photos only) ---------- */
.sm-bulkp .sm-section__head { margin-bottom: 16px; }
@media (min-width: 960px) {
  .sm-bcases .sm-case:only-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none; }
  .sm-bcases .sm-case:only-child .sm-case__body { justify-content: center; padding: 32px 40px; }
  .sm-bcases .sm-case:only-child .sm-h3 { font-size: 1.7rem; }
}

/* ---------- form ---------- */
.sm-bulkp__sec--form .sm-bulkpg__info .sm-lead { margin-bottom: 16px; }.sm-bulkp__chat { margin-bottom: 8px; }
.sm-bulkpg__ok { display: grid; justify-items: start; gap: 12px; }
.sm-bulkpg__ok .sm-h3 { margin: 0; color: var(--ink); font-size: 1.4rem; }
.sm-bulkp__okic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--frost); color: var(--ink); }

/* ---------- FAQ: heading left third, answers right ---------- */
.sm-bfaq { display: grid; gap: 8px; }
@media (min-width: 960px) { .sm-bfaq { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; } }
.sm-bfaq__head p { margin: 0 0 8px; }
.sm-bfaq__list { max-width: none; font-size: 16px; }
.sm-bfaq__list .sm-acc:first-child { margin-top: 0; }

/* ---------- phone sticky pair (one bottom bar at a time: the tab bar steps aside; app.css owns its transition) ---------- */
.sm-stickypair { position: fixed; left: calc(8px + var(--safe-l)); right: calc(8px + var(--safe-r)); bottom: calc(8px + var(--safe-b)); z-index: 61; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px;
  border-radius: var(--r-lg); background: rgba(238,241,244,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--lift-3), inset 0 0 0 1px var(--edge);
  transform: translateY(calc(100% + 24px)); transition: transform var(--dur-3) var(--ease-drawer); }
.sm-stickypair.is-on { transform: none; }
.sm-stickypair .sm-btn { min-height: 48px; padding: 10px 12px; }
body.sm-pair-on .sm-tabbar { transform: translateY(calc(100% + 24px)); }
@media (min-width: 960px) { .sm-stickypair { display: none; } }
@media (max-width: 599px) { .sm-bdoors__more { flex-direction: column; } }
@media (min-width: 960px) { .sm-bdoor .sm-h2 { font-size: clamp(1.5rem, 2.55vw, 2.1rem); white-space: nowrap; } }

/* ---------- end block "Still deciding?" (until footer.php renders the shared journey block) ---------- */
.page-template-page-bulk .sm-foot__cta { display: none; } /* the old footer band links back to this page */
.sm-bnext { margin-top: 16px; padding: 48px 0 40px; background: var(--ink); color: #dfe8f5; }
.sm-bnext .sm-h2 { margin: 0 0 20px; color: #fff; }
.sm-bnext__cards { list-style: none; margin-bottom: 0; }
.sm-bnext__cards > li { margin: 0; }
.sm-bnext .sm-tile { height: 100%; background: var(--lab-2); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .sm-bnext .sm-tile:hover .sm-tile__t { background: var(--laser); } }
.sm-bnext .sm-tile__t { transition: background-color var(--dur-1) ease; }
.sm-bnext__kc { background: radial-gradient(120% 100% at 50% 35%, #fff, var(--frost)); }
.sm-bnext .sm-bnext__kc > img.sm-kc-poster { width: 76%; height: auto; top: 44%; object-fit: contain; } /* beat .sm-ph > img (cover) */
@media (max-width: 959px) { .sm-bnext__cards > :nth-child(4) { display: none; } }
@media (min-width: 768px) and (max-width: 959px) { .sm-bnext .sm-bnext__cards { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }
@media (min-width: 960px) { .sm-bnext { margin-top: 0; padding: var(--sec) 0 calc(var(--sec) * .75); } .sm-bnext .sm-bnext__cards { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; } }
.sm-bnext__line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 8px 0 0; font-weight: 650; }
/* Messenger at the page end: a white outline on navy (the one orange fill is the hero's) */
.sm-bnext .sm-btn--line { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
@media (hover: hover) and (pointer: fine) { .sm-bnext .sm-btn--line:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; } }
