/* Box of Hope (Ayesha's spec 2026-11-25): homepage split banner, product page, cart card, checkout popup, links. Uses the ysb-ui tokens. */
.boh-logo { display: block; height: auto; max-width: 100%; }
html[data-theme="dark"] .boh-logo { background: #fff; border-radius: 10px; padding: .35rem .6rem; }
.boh-link { display: inline-flex; align-items: center; gap: .45rem; }
.boh-link img { flex: 0 0 auto; }
.boh-pill { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ysb-blue); color: #fff; border-radius: 999px; padding: .2rem .7rem; }
.boh-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ysb-navy); margin: 0 0 .25rem; }

/* homepage split banner */
.boh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.boh-split__hope, .boh-split__buddy { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 190px; padding: 22px 24px; border-radius: var(--ysb-radius-lg); text-decoration: none !important; color: var(--ysb-navy) !important; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.boh-split__hope { background: var(--ysb-pink-tint); border: 1px solid #f7c9d9; }
.boh-split__buddy { background: var(--ysb-blue-tint); border: 2px dashed #a8e3ef; }
.boh-split__hope:hover, .boh-split__buddy:hover { transform: translateY(-2px); box-shadow: var(--ysb-shadow-lg); }
.boh-split__text { flex: 1 1 55%; min-width: 0; }
.boh-split__text .boh-logo { width: 210px; margin-bottom: .5rem; }
.boh-split__text p { margin: 0 0 .8rem; font-size: .92rem; }
.boh-split__text h2 { font-size: 1.45rem; font-weight: 700; margin: .5rem 0 .25rem; color: var(--ysb-navy); }
.boh-split__pic { flex: 0 1 42%; display: flex; justify-content: center; }
.boh-split__pic img { max-height: 160px; width: auto; max-width: 100%; object-fit: contain; }
.boh-split__icon { max-height: 130px !important; }
.boh-split__pic--buddy { color: #b98b4e; }
html[data-theme="dark"] .boh-split__hope { background: #3a1d33; border-color: #6b2f52; }
html[data-theme="dark"] .boh-split__buddy { background: #12324a; border-color: #2a6a87; }

.boh-split__art { display: block; border-radius: var(--ysb-radius-lg); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.boh-split__art:hover { transform: translateY(-2px); box-shadow: var(--ysb-shadow-lg); }
.boh-split__art img { display: block; width: 100%; height: 100%; aspect-ratio: 1344 / 420; object-fit: cover; }

/* cart card */
.boh-card[hidden], .boh-buy__added[hidden] { display: none !important; }
.boh-card { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; padding: 14px; border-radius: var(--ysb-radius); background: var(--ysb-pink-tint); border: 1px solid #f7c9d9; }
.boh-card__icon { flex: 0 0 auto; width: 64px; height: auto; }
.boh-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.boh-card__body > span { font-size: .85rem; color: var(--ysb-muted); }
.boh-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 2px; flex-wrap: wrap; }
.boh-card__price { font-size: 1.2rem; }
.boh-card__more { font-size: .8rem; text-decoration: underline; color: var(--ysb-navy) !important; }
html[data-theme="dark"] .boh-card { background: #3a1d33; border-color: #6b2f52; }

/* quantity stepper */
.boh-qty { display: inline-flex; align-items: center; border: 1px solid var(--ysb-border); border-radius: 999px; overflow: hidden; background: var(--ysb-white); }
.boh-qty button { border: 0; background: transparent; color: var(--ysb-navy); width: 36px; height: 36px; font-size: 1.1rem; cursor: pointer; }
.boh-qty input { width: 44px; border: 0; text-align: center; font-weight: 600; background: transparent; color: var(--ysb-navy); -moz-appearance: textfield; }
.boh-qty input::-webkit-outer-spin-button, .boh-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* checkout popup */
.boh-pop { width: min(480px, calc(100vw - 32px)); border: 0; border-radius: var(--ysb-radius-lg); padding: 28px 24px 20px; box-shadow: var(--ysb-shadow-lg); background: var(--ysb-white); color: var(--ysb-navy); text-align: center; }
.boh-pop::backdrop { background: rgba(17, 39, 85, .55); }
.boh-pop .boh-logo { width: 190px; margin: 0 auto .6rem; }
.boh-pop h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 .4rem; color: var(--ysb-navy); }
.boh-pop p { font-size: .9rem; color: var(--ysb-muted); margin: 0 0 1rem; }
.boh-pop__x { position: absolute; top: 10px; right: 10px; border: 0; background: transparent; color: var(--ysb-navy); cursor: pointer; padding: 6px; }
.boh-pop__line { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--ysb-radius); background: var(--ysb-pink-tint); margin-bottom: 14px; text-align: left; }
.boh-pop__line strong { flex: 1; font-size: .9rem; }
.boh-pop .ysb-btn--block { margin-bottom: 8px; }
html[data-theme="dark"] .boh-pop__line { background: #3a1d33; }

/* product page */
.boh-page { padding-bottom: 2rem; }
.boh-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px; margin: 10px 0 24px; align-items: center; }
.boh-hero__pic { background: var(--ysb-grey); border-radius: var(--ysb-radius-lg); display: flex; align-items: center; justify-content: center; min-height: 320px; overflow: hidden; }
.boh-hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.boh-hero__pic .boh-hero__icon { width: 55%; height: auto; object-fit: contain; }
.boh-hero__body h1 { margin: 0 0 .35rem; }
.boh-logo--big { width: 300px; }
.boh-tagline { font-size: 1.15rem; font-weight: 700; color: var(--ysb-blue); margin: 0 0 .4rem; }
.boh-buy { background: var(--ysb-blue-tint); border-radius: var(--ysb-radius); padding: 14px 16px; margin: 14px 0; }
.boh-buy__name { display: block; font-size: 1.05rem; margin-bottom: .4rem; }
.boh-buy__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.boh-buy__price { font-size: 1.6rem; margin-right: auto; }
.boh-buy__added { margin: .6rem 0 0; font-weight: 600; color: var(--ysb-green-dark); }
html[data-theme="dark"] .boh-buy { background: #12324a; }
html[data-theme="dark"] .boh-buy__added { color: var(--ysb-green); }
.boh-points { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--ysb-muted); }
.boh-points span { display: inline-flex; align-items: center; gap: .45rem; flex: 1 1 200px; }
.boh-section { margin: 0 0 24px; }
.boh-section h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; color: var(--ysb-navy); }
.boh-inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.boh-inside li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--ysb-radius); }
.boh-inside__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .7); flex: 0 0 auto; }
.boh-tint--blue { background: var(--ysb-blue-tint); }
.boh-tint--pink { background: var(--ysb-pink-tint); }
.boh-tint--green { background: #e3fbee; }
.boh-tint--orange { background: #fdf0e4; }
html[data-theme="dark"] .boh-tint--blue, html[data-theme="dark"] .boh-tint--pink, html[data-theme="dark"] .boh-tint--green, html[data-theme="dark"] .boh-tint--orange { background: var(--ysb-d-raised); }
html[data-theme="dark"] .boh-inside__icon { background: rgba(255, 255, 255, .08); }
.boh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.boh-steps li { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--ysb-border); border-radius: var(--ysb-radius); font-weight: 600; font-size: .9rem; }
.boh-step { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex: 0 0 auto; }
.boh-step--green { background: var(--ysb-green); } .boh-step--orange { background: var(--ysb-orange); } .boh-step--pink { background: var(--ysb-pink); } .boh-step--blue { background: var(--ysb-blue); }
.boh-strip { background: #112755; color: #fff; text-align: center; font-size: 1.35rem; font-weight: 700; border-radius: var(--ysb-radius); padding: 14px; margin: 0; }
.boh-soon { text-align: center; padding: 48px 20px; margin: 12px 0 24px; }
.boh-soon h1 { font-size: 1.8rem; font-weight: 700; margin: .6rem 0 .3rem; }
.boh-soon p { color: var(--ysb-muted); margin: 0 0 1.2rem; }

@media (max-width: 860px) {
    .boh-split, .boh-hero { grid-template-columns: 1fr; }
    .boh-inside { grid-template-columns: repeat(2, 1fr); }
    .boh-steps { grid-template-columns: repeat(2, 1fr); }
    .boh-hero__pic { min-height: 220px; }
}
@media (max-width: 480px) {
    .boh-pop { padding: 24px 14px 16px; }
    .boh-pop__line { flex-wrap: wrap; }
    .boh-pop__line strong { flex: 1 1 calc(100% - 60px); }
    .boh-pop__line b { margin-left: 54px; margin-right: auto; }
    .boh-qty { flex: 0 0 auto; }
    .boh-qty button { width: 34px; }
    .boh-qty input { width: 40px; }
    .boh-inside, .boh-steps { grid-template-columns: 1fr; }
    .boh-split__hope, .boh-split__buddy { padding: 18px 16px; }
    .boh-split__pic img { max-height: 110px; }
    .boh-logo--big { width: 230px; }
}
