/* Page stylesheet ported from the design (build/pages/bulk). */

/* ---- hero ---- */
.chero { position: relative; height: clamp(460px, 64svh, 640px); overflow: hidden; background: var(--ink); color: var(--bone); display: flex; align-items: flex-end; }
.chero picture, .chero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.chero img { object-fit: cover; object-position: 60% 60%; transform: scale(1.04); will-change: transform; }
.chero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,27,29,.5) 0%, rgba(26,27,29,0) 28%, rgba(26,27,29,0) 45%, rgba(26,27,29,.8) 100%), linear-gradient(90deg, rgba(26,27,29,.5) 0%, rgba(26,27,29,0) 60%); pointer-events: none; }
.chero-copy { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(36px, 6vh, 64px); }
.chero-copy > * { max-width: 720px; }
.hero-kicker { font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(239,237,230,.8); }
.hero-h1 { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.1rem + 3.2vw, 4.2rem); line-height: 1; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero-sub { margin-top: 18px; max-width: 48ch; font-size: clamp(.9375rem, .9rem + .25vw, 1.0625rem); line-height: 1.55; color: rgba(239,237,230,.88); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn--tan { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bone); }
.btn--tan:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chero .btn--ghost { color: var(--bone); border-color: rgba(239,237,230,.55); background: rgba(26,27,29,.2); backdrop-filter: blur(6px); }
.chero .btn--ghost:hover { background: var(--bone); color: var(--ink); }
/* ---- points ---- */
.bk-points { padding: clamp(28px, 4vw, 48px) 0 0; }
.bk-points ul { display: grid; gap: 12px; grid-template-columns: 1fr; }
.bk-point { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(26,27,29,.04), 0 10px 30px -18px rgba(26,27,29,.18); }
.bk-point-ic { display: block; width: 26px; height: 26px; color: var(--accent-deep); margin-bottom: 14px; }
.bk-point-ic svg { width: 100%; height: 100%; }
.bk-point b { display: block; font-weight: 600; font-size: 1rem; }
.bk-point p { margin-top: 4px; font-size: .9375rem; line-height: 1.45; color: var(--fg-2); }
@media (min-width: 640px) { .bk-points ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bk-points ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
/* ---- section heads ---- */
.bk-sec { padding: clamp(48px, 7vw, 96px) 0 0; }
.bk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
.bk-head .explore-sub { max-width: 54ch; }
/* ---- made for tiles ---- */
.bk-tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bk-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ink); color: var(--bone); box-shadow: 0 1px 2px rgba(26,27,29,.04), 0 12px 30px -20px rgba(26,27,29,.25); }
.bk-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease-out); }
.bk-tile:hover img { transform: scale(1.07); }
.bk-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,27,29,0) 40%, rgba(26,27,29,.82) 100%); }
.bk-tile span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: grid; gap: 4px; }
.bk-tile b { font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.bk-tile em { font-style: normal; font-size: .8125rem; line-height: 1.45; color: rgba(239,237,230,.85); max-width: 30ch; }
@media (min-width: 768px) { .bk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bk-tile { aspect-ratio: 1; } }
/* ---- the range ---- */
.bk-range { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bk-range-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ink); color: var(--bone); }
.bk-range-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s var(--ease-out); }
.bk-range-card:hover img { transform: scale(1.07); }
.bk-range-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,27,29,0) 40%, rgba(26,27,29,.78) 100%); }
.bk-range-card span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: grid; gap: 3px; }
.bk-range-card b { font-family: var(--font-display); font-weight: 300; font-size: 1.7rem; line-height: 1.05; }
.bk-range-card em { font-style: normal; font-size: .8125rem; color: rgba(239,237,230,.85); }
@media (min-width: 768px) { .bk-range { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ---- how it works ---- */
.bk-steps { display: grid; gap: 22px; grid-template-columns: 1fr; }
.bk-step { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.bk-step em { font-family: var(--font-display); font-style: normal; font-weight: 300; font-size: 1.9rem; line-height: 1; color: var(--accent-deep); }
.bk-step b { display: block; margin-top: 10px; font-weight: 600; font-size: 1rem; }
.bk-step p { margin-top: 6px; font-size: .9375rem; line-height: 1.5; color: var(--fg-2); }
@media (min-width: 640px) { .bk-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bk-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
/* ---- personalisation / packaging cards ---- */
.bk-card { display: grid; gap: 24px; background: #F4F2EE; border-radius: 18px; padding: clamp(22px, 3vw, 44px); }
.bk-card + .bk-card { margin-top: 16px; }
.bk-card .explore-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); }
.bk-card .explore-sub { max-width: 54ch; font-size: 1rem; }
.bk-card .spec { margin-top: 22px; }
.bk-card .spec dd { font-weight: 500; max-width: 60%; }
.bk-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.bk-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1024px) { .bk-card { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; } .bk-card--flip .bk-photo { order: -1; } }
/* ---- enquiry ---- */
.bk-enquire { padding: clamp(48px, 7vw, 96px) 0 0; }
.bk-form-card { display: grid; gap: 28px; background: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 44px); box-shadow: 0 1px 2px rgba(26,27,29,.04), 0 10px 30px -18px rgba(26,27,29,.18); }
.bk-form-intro .explore-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); }
.bk-form-intro .explore-sub { font-size: 1rem; max-width: 40ch; }
.bk-form-intro ul { margin-top: 22px; display: grid; gap: 10px; font-size: .9375rem; }
.bk-form-intro li { display: flex; gap: 10px; align-items: flex-start; }
.bk-form-intro li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--accent); }
.bk-form-intro .bk-alt { margin-top: 24px; font-size: .9375rem; color: var(--fg-2); }
.bk-form-intro .bk-alt a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.bk-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
.bk-field { display: grid; gap: 6px; }
.bk-field label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.bk-field input, .bk-field select, .bk-field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #FBFAF7; color: var(--ink); font: inherit; font-size: .9375rem; transition: border-color .25s ease, box-shadow .25s ease; }
.bk-field textarea { min-height: 110px; resize: vertical; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(139,74,31,.14); }
.bk-form-foot { display: grid; gap: 12px; margin-top: 6px; }
.bk-form-foot .btn { justify-self: start; }
.bk-form-foot p { font-size: .8125rem; color: var(--fg-2); }
.bk-form-foot [data-bk-status] { color: var(--success); font-weight: 500; min-height: 1.4em; }
@media (min-width: 640px) { .bk-form { grid-template-columns: 1fr 1fr; } .bk-field--wide { grid-column: 1 / -1; } .bk-form-foot { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .bk-form-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; } }

/* ---- build your order ---- */
.bo { padding: clamp(48px, 7vw, 96px) 0 0; }
.bo-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.bo-tab { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: .8125rem; font-weight: 500; color: var(--fg); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.bo-tab[aria-selected="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bo-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.bo-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 8px; border: 1.5px solid transparent; box-shadow: 0 1px 2px rgba(26,27,29,.04), 0 10px 30px -18px rgba(26,27,29,.18); transition: border-color .3s ease, transform .3s var(--ease-out); }
.bo-card.is-hidden { display: none; }
.bo-card.is-in { border-color: var(--accent-deep); }
.bo-media { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 8px; background: #F3F1EC; overflow: hidden; }
.bo-media img { width: 76%; height: auto; max-height: 82%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(26,27,29,.16)); transition: opacity .3s ease; }
.bo-count { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--accent-deep); color: var(--bone); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.bo-count[hidden] { display: none; }
.bo-body { display: grid; gap: 6px; padding: 10px 2px 2px; }
.bo-body h3 { font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.bo-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bo-meta .cc-sw { width: 18px; height: 18px; }
.bo-meta .cc-sw i { width: 12px; height: 12px; }
.bo-colour { font-size: .6875rem; color: var(--fg-2); }
.bo-size { min-height: 26px; padding: 0 6px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 6px; background: #FBFAF7; font: inherit; font-size: .6875rem; color: var(--ink); }
.bo-price { font-size: .75rem; color: var(--fg-2); }
.bo-price b { font-weight: 700; font-size: .875rem; color: var(--accent-deep); }
.bo-qty { width: 100%; justify-content: space-between; height: 34px; }
.bo-qty button { width: 34px; }
.bo-qty span { font-size: .8125rem; }
.bo-qty span { flex: 1; }
@media (min-width: 640px) { .bo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .bo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { .bo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .bo-grid { gap: 14px; } }
/* sticky order bar */
.bo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 var(--gutter) calc(12px + env(safe-area-inset-bottom)); transform: translateY(120%); transition: transform .45s var(--ease-out); pointer-events: none; }
.bo-bar.is-on { transform: none; pointer-events: auto; }
.bo-bar-inner { position: relative; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 20px 18px; border-radius: 16px; background: #232426; color: var(--bone); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); overflow: hidden; }
.bo-bar-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bo-bar-text b { font-size: 1.05rem; font-weight: 700; }
.bo-bar-text b span { font-weight: 400; color: rgba(239,237,230,.75); }
.bo-bar-text small { font-size: .8125rem; color: rgba(239,237,230,.7); }
.bo-bar-prog { position: absolute; left: 20px; right: 20px; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(239,237,230,.14); }
.bo-bar-prog i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transition: width .4s var(--ease-out); }
.bo-bar .btn { flex: none; background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bone); }
.bo-bar .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.bo-bar .btn[disabled] { opacity: .55; pointer-events: none; }
@media (max-width: 639px) { .bo-bar-inner { padding: 12px 16px 16px; gap: 10px; } .bo-bar-text b { font-size: .9375rem; } .bo-bar .btn { min-height: 42px; padding: 0 18px; } .bo-bar-prog { left: 16px; right: 16px; } }
/* form additions */
.bk-field label span, .bk-label span { text-transform: none; letter-spacing: 0; color: var(--fg-2); font-weight: 400; }
.bk-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.bk-pieces { min-height: 50px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; background: #FBFAF7; font-size: .875rem; display: grid; gap: 6px; }
.bk-pieces .bk-pieces-head b { font-weight: 700; }
.bk-pieces .bk-piece { color: var(--fg-2); justify-content: flex-start; }
.bk-field[hidden] { display: none; }
.bk-pieces-empty { color: var(--fg-2); }
.bk-pieces a { color: var(--accent-deep); font-weight: 600; }
.bk-pieces .bk-piece { display: flex; justify-content: space-between; gap: 10px; }
.bk-pieces .bk-piece span:last-child { color: var(--fg-2); white-space: nowrap; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: .8125rem; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.bk-chip[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bk-chip[aria-pressed="true"]::before { content: "\2713"; font-size: .75rem; }
.bk-form-foot .btn { justify-self: stretch; width: 100%; }
@media (max-width: 767px) {
  .chero { height: 72svh; min-height: 500px; max-height: 660px; }
  .chero img { object-position: 50% 60%; }
  .chero::after { background: linear-gradient(180deg, rgba(26,27,29,.6) 0%, rgba(26,27,29,.05) 30%, rgba(26,27,29,.15) 48%, rgba(26,27,29,.86) 100%); }
  .chero-copy { padding-bottom: 56px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .bk-head { flex-direction: column; align-items: flex-start; }
}
