/* Brenforde product page add-ons */
bf-multipack, bf-pairing, bf-complete-look { display: block; --bf-ink: #1C1917; --bf-dark: #241B16; --bf-muted: #57534E; --bf-soft: #7A7268; --bf-accent: #8C6239; --bf-line: #E6DEC8; --bf-cream: #FAF8F5; --bf-tint: #F4EFEA; }
bf-multipack[hidden], bf-pairing[hidden], .bf-ctl-section[hidden], .bf-ctl__refresh[hidden], .bf-hidden { display: none !important; }
.bf-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bf-ico { width: 15px; height: 15px; flex: none; color: var(--bf-accent, #8C6239); }

.bf-select { display: block; min-width: 0; }
.bf-select select {
  appearance: none; -webkit-appearance: none; width: 100%;
  height: 34px; padding: 0 28px 0 10px; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--bf-ink);
  border: 1px solid #D6D3D1; border-radius: 6px; cursor: pointer; outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2357534E' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 8px center / 13px 13px;
  transition: border-color .15s;
}
.bf-select select:focus { border-color: var(--bf-accent); box-shadow: 0 0 0 2px rgba(140, 98, 57, .15); }
.loading { opacity: .6; pointer-events: none; }

/* ============ 1. multi-pack ============ */
bf-multipack { margin: 14px 0 14px; -webkit-font-smoothing: antialiased; }
.bf-mp__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.bf-mp__title { font-size: 15px; font-weight: 700; color: var(--bf-ink); letter-spacing: .01em; }
.bf-mp__sub { font-size: 12px; color: var(--bf-soft); }
.bf-mp__tiers { display: flex; flex-direction: column; gap: 8px; }
.bf-mp__tier {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; margin: 0;
  padding: 9px 14px; min-height: 40px; background: #fff; color: var(--bf-ink); font: inherit;
  border: 1.5px solid #DCD2C5; border-radius: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bf-mp__tier:hover { border-color: #B08A64; background: #FCF7F1; }
.bf-mp__tier.is-active { border-color: var(--bf-accent); background: #F6ECE1; box-shadow: 0 0 0 1px var(--bf-accent), 0 6px 16px rgba(140, 98, 57, .16); }
.bf-mp__radio { width: 20px; height: 20px; border: 2px solid #B3A595; border-radius: 50%; flex: none; position: relative; }
.bf-mp__tier.is-active .bf-mp__radio { border-color: var(--bf-accent); }
.bf-mp__tier.is-active .bf-mp__radio::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; background: var(--bf-accent); border-radius: 50%; }
.bf-mp__tier-name { font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.bf-mp__tier.is-active .bf-mp__tier-name { color: #6E4B2A; }
.bf-mp__tier-std { font-size: 14px; font-weight: 600; color: var(--bf-muted); white-space: nowrap; }
.bf-mp__tier-right { margin-left: auto; display: inline-flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 2px 8px; text-align: right; }
.bf-mp__tier-hint { font-size: 13.5px; color: var(--bf-muted); }
.bf-mp__tier-deal { font-size: 13px; font-weight: 700; color: var(--bf-ink); }
.bf-mp__tier-deal.is-free { color: var(--bf-accent); }
.bf-mp__tier-save { font-size: 12.5px; font-weight: 600; color: var(--bf-muted); white-space: nowrap; }
.bf-mp__tier-save:empty { display: none; }

.bf-mp__pieces { margin-top: 10px; padding: 13px 14px; background: var(--bf-cream); border: 1.5px solid #E8E4DC; border-radius: 9px; animation: bfFade .22s ease-out; }
@keyframes bfFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.bf-mp__cust-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.bf-mp__cust-title { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--bf-ink); }
.bf-mp__pill { font-size: 10.5px; font-weight: 700; color: var(--bf-accent); background: var(--bf-tint); border: 1px solid #DFD3C3; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: .04em; }
.bf-mp__cust-desc { font-size: 12px; color: var(--bf-muted); margin-bottom: 10px; line-height: 1.4; }
.bf-mp__rows { display: flex; flex-direction: column; gap: 8px; }
.bf-mp__piece { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; min-height: 50px; background: #fff; border: 1px solid #E8E4DC; border-radius: 6px; flex-wrap: wrap; }
.bf-mp__piece-label { font-size: 13px; font-weight: 700; color: var(--bf-ink); display: inline-flex; align-items: center; gap: 6px; min-width: 68px; }
.bf-mp__current { font-size: 11px; font-weight: 600; color: var(--bf-accent); background: var(--bf-tint); padding: 1px 6px; border-radius: 4px; }
.bf-mp__piece-selects { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 1; }
.bf-mp__piece-selects .bf-select { width: 95px; }
.bf-mp__piece-selects select { font-weight: 600; font-size: 12px; }
.bf-mp__tip { margin-top: 10px; padding: 8px 10px; background: #fff; border-left: 3px solid var(--bf-accent); border-radius: 4px; font-size: 11.5px; line-height: 1.5; color: var(--bf-muted); display: flex; align-items: flex-start; gap: 6px; }
.bf-mp__tip .bf-ico { width: 14px; height: 14px; margin-top: 2px; }
.bf-mp__tip strong { color: var(--bf-ink); }
.bf-mp__ship { margin: 8px 0 0; font-size: 12px; color: var(--bf-muted); }
.bf-mp__ship:empty { display: none; }
.bf-mp__express-note { margin: 4px 0 0; font-size: 12px; color: var(--bf-soft); }

/* ============ 2. pair it with ============ */
bf-pairing { margin: 18px 0 8px; padding: 18px; background: var(--bf-cream); border: 1.5px solid var(--bf-line); border-radius: 12px; color: var(--bf-ink); }
.bf-pair__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.bf-pair__title { font-size: 15px; font-weight: 700; color: var(--bf-ink); }
.bf-pair__badge { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-accent); background: var(--bf-tint); border: 1px solid #DFD3C3; padding: 2px 9px; border-radius: 12px; }
.bf-pair__reason { margin: 6px 0 14px; font-size: 12.5px; color: #655950; }
.bf-pair__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: start; }
.bf-pair__plus { align-self: center; font-size: 22px; font-weight: 300; color: var(--bf-accent); margin-top: -40px; }
.bf-pair__card { min-width: 0; background: #fff; border: 1px solid var(--bf-line); border-radius: 10px; padding: 8px; transition: opacity .2s, border-color .2s; }
.bf-pair__card:hover { border-color: var(--bf-accent); }
.bf-pair__card.is-off { opacity: .5; }
.bf-pair__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 7px; background: #EDE6DD; }
.bf-pair__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-pair__check-wrap { position: absolute; top: 8px; left: 8px; z-index: 2; width: 22px; height: 22px; cursor: pointer; }
.bf-pair__check { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bf-pair__checkmark { position: absolute; inset: 0; border-radius: 4px; background: #fff; border: 1.5px solid #B3A595; }
.bf-pair__check:checked + .bf-pair__checkmark { background: var(--bf-dark); border-color: var(--bf-dark); }
.bf-pair__check:checked + .bf-pair__checkmark::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bf-pair__check:focus-visible + .bf-pair__checkmark { outline: 2px solid var(--bf-accent); outline-offset: 2px; }
.bf-pair__tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(255, 255, 255, .94); color: var(--bf-accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bf-pair__swap { position: absolute; right: 8px; top: 8px; padding: 4px 10px; border: 0; border-radius: 999px; background: var(--bf-dark); color: #FAF8F5; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.bf-pair__swap:hover { background: var(--bf-accent); }
.bf-pair__info { display: flex; flex-direction: column; gap: 5px; padding-top: 8px; font-size: 12.5px; }
.bf-pair__name { color: var(--bf-dark); text-decoration: none; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.bf-pair__name:hover { color: var(--bf-accent); }
.bf-pair__variant { color: var(--bf-muted); }
.bf-pair__selects { display: flex; gap: 6px; flex-wrap: wrap; }
.bf-pair__selects .bf-select { flex: 1 1 80px; }
.bf-pair__selects select { height: 30px; font-size: 12px; padding: 0 22px 0 8px; background-color: var(--bf-cream); border-color: #DED5C8; }
.bf-pair__price { font-size: 15px; font-weight: 800; color: var(--bf-dark); }
.bf-pair__summary { margin: 14px 0 10px; font-size: 14px; font-weight: 700; color: var(--bf-dark); }
.bf-pair__total { font-size: 18px; font-weight: 800; }
.bf-pair__add { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 0 20px; border: 1px solid var(--bf-dark); border-radius: 25px; background: var(--bf-dark); color: #FAF8F5; font: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 12px rgba(28, 25, 23, .16); transition: background .15s; }
.bf-pair__add:hover:not(:disabled) { background: var(--bf-accent); border-color: var(--bf-accent); }
.bf-pair__add:disabled { background: #D6CEC2; border-color: #D6CEC2; box-shadow: none; cursor: not-allowed; }
.bf-pairing.is-loading, bf-pairing.is-loading { opacity: .6; pointer-events: none; }

/* ============ 3. complete the look ============ */
.bf-ctl-section { background: #FAF7F1; padding: 36px 0 40px; -webkit-font-smoothing: antialiased; }
.bf-ctl-section .page-width { max-width: 1600px; }
.bf-ctl__header { text-align: center; margin-bottom: 26px; }
.bf-ctl__kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8C6239; margin-bottom: 8px; }
.bf-ctl__heading { margin: 0 0 8px; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: clamp(26px, 3vw, 34px); font-weight: 500; color: #241B16; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.bf-ctl__subheading { margin: 0 auto; max-width: 640px; color: #57534E; font-size: 15px; line-height: 1.75; }
.bf-ctl__refresh { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 9px 16px; background: #fff; border: 1px solid #D6D3D1; border-radius: 999px; color: #241B16; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s; }
.bf-ctl__refresh .bf-ico { color: #241B16; width: 14px; height: 14px; }
.bf-ctl__refresh:hover { border-color: #241B16; }
.bf-ctl__list { display: flex; flex-direction: column; gap: 22px; background: var(--bf-cream); border: 1.5px solid var(--bf-line); border-radius: 14px; padding: 26px; }
.bf-ctl__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.bf-ctl__card { position: relative; display: flex; gap: 18px; background: #fff; border: 1px solid var(--bf-line); border-radius: 12px; padding: 16px; transition: border-color .2s, box-shadow .2s, opacity .2s; min-width: 0; }
.bf-ctl__card:hover { border-color: var(--bf-accent); box-shadow: 0 8px 22px rgba(36, 27, 22, .07); }
.bf-ctl__card.is-off { background: var(--bf-cream); opacity: .6; }
.bf-ctl__check { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; cursor: pointer; z-index: 1; }
.bf-ctl__check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bf-ctl__check span { position: absolute; inset: 0; border-radius: 4px; background: #fff; border: 1.5px solid #B3A595; }
.bf-ctl__check input:checked + span { background: #241B16; border-color: #241B16; }
.bf-ctl__check input:checked + span::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bf-ctl__check input:focus-visible + span { outline: 2px solid var(--bf-accent); outline-offset: 2px; }
.bf-ctl__thumb { flex: none; align-self: flex-start; display: block; width: 126px; height: auto; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: #EDE6DD; border: 1px solid var(--bf-line); }
.bf-ctl__thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; transition: transform .4s; }
.bf-ctl__thumb:hover img { transform: scale(1.04); }
.bf-ctl__info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bf-ctl__badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-accent); margin-bottom: 4px; padding-right: 32px; }
.bf-ctl__name { margin: 0 0 6px; padding-right: 30px; font-family: "Playfair Display", Georgia, serif; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: #241B16; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bf-ctl__name:hover { color: var(--bf-accent); }
.bf-ctl__desc { color: #655950; font-size: 12.5px; margin: 0 0 10px; }
.bf-ctl__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; margin-bottom: 10px; }
.bf-ctl__selects select { height: 36px; background-color: var(--bf-cream); border-color: #DED5C8; }
.bf-ctl__price-row { display: flex; align-items: baseline; gap: 8px; }
.bf-ctl__price { font-size: 16.5px; font-weight: 800; color: #241B16; }
.bf-ctl__view { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--bf-accent); text-decoration: none; white-space: nowrap; }
.bf-ctl__view:hover { color: #241B16; }
.bf-ctl__summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 20px; background: #fff; border: 1.5px solid var(--bf-line); border-radius: 12px; padding: 18px 22px; box-shadow: 0 2px 8px rgba(28, 25, 23, .04); }
.bf-ctl__sum-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bf-ctl__sum-top { display: flex; align-items: center; gap: 10px; }
.bf-ctl__pill { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-accent); background: var(--bf-tint); border: 1px solid #DFD3C3; padding: 2px 9px; border-radius: 12px; }
.bf-ctl__count { font-size: 12.5px; color: var(--bf-muted); }
.bf-ctl__count strong { color: #241B16; }
.bf-ctl__sum-price { display: flex; align-items: baseline; gap: 8px; }
.bf-ctl__total-label { font-size: 14.5px; font-weight: 700; color: #241B16; }
.bf-ctl__total { font-size: 22px; font-weight: 800; color: #241B16; }
.bf-ctl__ship { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #655950; }
.bf-ctl__ship:empty { display: none; }
.bf-ctl__add { min-height: 50px; padding: 0 28px; background: #241B16; color: #FAF8F5; border: 1px solid #241B16; border-radius: 25px; font: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; cursor: pointer; box-shadow: 0 4px 12px rgba(28, 25, 23, .16); transition: background .15s, box-shadow .15s; }
.bf-ctl__add:hover:not(:disabled) { background: #8C6239; border-color: #8C6239; box-shadow: 0 6px 16px rgba(140, 98, 57, .25); }
.bf-ctl__add:disabled { background: #D6CEC2; border-color: #D6CEC2; box-shadow: none; cursor: not-allowed; }

@media (max-width: 749px) {
  bf-multipack { margin: 10px 0 8px; }
  .bf-mp__tiers { gap: 6px; }
  .bf-mp__tier { padding: 10px 12px; gap: 8px; }
  .bf-mp__tier-name { font-size: 14.5px; }
  .bf-mp__tier-std { font-size: 12.5px; }
  .bf-mp__tier-deal { font-size: 11.5px; white-space: nowrap; }
  .bf-mp__tier-right { flex-direction: column; align-items: flex-end; gap: 1px; }
  .bf-mp__tier-hint { font-size: 12px; }
  .bf-mp__piece { padding: 6px 8px; }
  .bf-mp__piece-selects .bf-select { width: auto; flex: 1 1 0; max-width: 130px; }
  bf-pairing { padding: 12px; }
  .bf-pair__grid { gap: 6px; }
  .bf-ctl-section { padding: 26px 0 30px; }
  .bf-ctl__list { padding: 14px; gap: 14px; }
  .bf-ctl__grid { grid-template-columns: 1fr; gap: 12px; }
  .bf-ctl__card { padding: 12px; gap: 12px; }
  .bf-ctl__check { top: 12px; right: 12px; }
  .bf-ctl__thumb { width: 108px; }
  .bf-ctl__selects { grid-template-columns: 1fr; gap: 6px; }
  .bf-ctl__summary { flex-direction: column; align-items: stretch; padding: 14px; }
  .bf-ctl__add { width: 100%; font-size: 13px; padding: 0 16px; }
}
