/*
 * Baraka account — Figma 11_Account-Utility, screens 01–05
 * (desktop 1:13236 hub, 1:13481 order, 1:13758 sign in, 1:14011 sign up,
 * 1:14278 address drawer; mobile 8:14959, 8:15187, 8:15445, 8:15680, 8:15931).
 * 1440 wide / 1240 content; phones 375 / 335. WooCommerce's own stylesheets
 * are off on these pages, so every WooCommerce form, notice and table is
 * styled here. Weights carry !important: the site's legacy custom CSS forces
 * "h1–h6, p, a { font-weight: inherit !important }".
 */

.bh-acc { padding: 118px var(--bh-gutter) 88px; background: #fff; }
.bh-acc--guest, .bh-acc--lost { padding-top: 128px; }
.admin-bar .bh-acc { padding-top: calc(118px + var(--wp-admin--admin-bar--height, 32px)); }
.bh-acc__wrap { max-width: var(--bh-wrap); margin-inline: auto; }
.bh-acc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bh-acc .clear { clear: both; }
.bh-acc .bh-acc-hide { display: none !important; }
.bh-acc :is(a, button, input, select, textarea, label) { font-family: var(--bh-font); }
.bh .bh-acc :is(.amount, bdi, .woocommerce-Price-amount, .woocommerce-Price-currencySymbol) { font: inherit; font-weight: inherit !important; color: inherit !important; }

/* ------------------------------------------------------------ buttons */
.bh .bh-acc-btn, .bh .bh-acc .button:not(.bh-acc-submit) {
	display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px;
	border: 1px solid #d8c7bb; border-radius: 999px; background: #fff; color: var(--bh-coffee);
	font-size: 12px; font-weight: 500 !important; line-height: normal; letter-spacing: .96px; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.bh .bh-acc-btn:hover, .bh .bh-acc .button:not(.bh-acc-submit):hover { background: var(--bh-pill); color: var(--bh-coffee); }
.bh .bh-acc-btn--dark { border-color: var(--bh-coffee); background: var(--bh-coffee); color: #fff; }
.bh .bh-acc-btn--dark:hover { border-color: var(--bh-walnut); background: var(--bh-walnut); color: #fff; }
.bh .bh-acc-btn--sm { height: 40px; padding: 0 18px; font-weight: 400 !important; }
.bh .bh-acc-btn--lg { height: 52px; padding: 0 24px; font-size: 12.5px; font-weight: 400 !important; letter-spacing: 1px; }
.bh .bh-acc-btn--wide { display: flex; width: 100%; height: 48px; padding: 0 24px; }
.bh .bh-acc-btn--guest { height: 48px; padding: 0 24px; font-weight: 300 !important; }
.bh .bh-acc-submit {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; padding: 0 24px;
	border: 0; border-radius: 999px; background: var(--bh-coffee); color: #fff;
	font-size: 13px; font-weight: 400 !important; letter-spacing: 1.04px; text-transform: uppercase; cursor: pointer;
}
.bh .bh-acc-submit:hover { background: var(--bh-walnut); color: #fff; }
.bh .bh-acc-link { color: var(--bh-coffee); font-weight: 400 !important; text-decoration: underline; text-underline-offset: 2px; }
.bh-acc-kicker, .bh .bh-acc h2.bh-acc-kicker { font-size: 11.5px; font-weight: 400 !important; line-height: 16.1px; letter-spacing: 2.07px; text-transform: uppercase; color: var(--bh-kicker); }

/* --------------------------------------------- WooCommerce form fields */
.bh-acc .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.bh-acc .form-row > label, .bh-acc fieldset legend { font-size: 12.5px; font-weight: 400 !important; line-height: 18px; color: var(--bh-muted); }
.bh-acc .form-row:focus-within > label { color: var(--bh-coffee); }
.bh-acc .form-row .required { color: var(--bh-clay); text-decoration: none; border: 0; }
.bh-acc .form-row .optional { color: var(--bh-kicker); }
.bh-acc .woocommerce-input-wrapper, .bh-acc .password-input { position: relative; display: block; width: 100%; }
.bh .bh-acc :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea) {
	display: block; width: 100%; height: 52px; margin: 0; padding: 0 18px; border: 1px solid var(--bh-line-2); border-radius: 999px; background: #fff; box-shadow: none; outline: 0;
	font-size: 14.5px; font-weight: 300 !important; line-height: normal; color: var(--bh-ink); -webkit-appearance: none; appearance: none;
}
.bh .bh-acc textarea { height: auto; min-height: 104px; padding: 14px 18px; border-radius: 22px; }
.bh .bh-acc :is(input, select, textarea)::placeholder { color: var(--bh-kicker); opacity: 1; }
.bh .bh-acc :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea):focus { border-color: var(--bh-coffee); box-shadow: 0 0 0 3px rgba(119, 92, 80, .14); }
.bh .bh-acc select:not(#_) {
	padding-inline-end: 42px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%238a756a'/%3E%3C/svg%3E") no-repeat right 19px center;
}
[dir="rtl"] .bh .bh-acc select:not(#_) { background-position: left 19px center; }
.bh-acc .woocommerce-invalid :is(input.input-text, select) { border-color: var(--bh-sale); }
.bh-acc .form-row .description, .bh-acc .form-row em, .bh-acc .checkout-inline-error-message { font-size: 12.5px; font-style: normal; font-weight: 300 !important; color: var(--bh-muted); }
.bh-acc .checkout-inline-error-message { color: var(--bh-sale); }
.bh-acc .show-password-input {
	position: absolute; inset-block: 0; inset-inline-end: 8px; width: 40px; opacity: .7;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%238a756a' stroke-width='1.3'%3E%3Cpath d='M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10z'/%3E%3Ccircle cx='10' cy='10' r='2.4'/%3E%3C/svg%3E") no-repeat center !important;
}
.bh-acc .show-password-input.display-password { opacity: 1; }
.bh-acc .password-input input { padding-inline-end: 52px !important; }
.bh-acc .woocommerce-password-strength { margin-top: 6px; font-size: 12.5px; color: var(--bh-muted); }
.bh-acc .woocommerce-password-hint { display: block; font-size: 12.5px; font-weight: 300 !important; color: var(--bh-muted); }
.bh-acc .select2-container { width: 100% !important; }
.bh-acc .select2-container .select2-selection--single { height: 52px; border: 1px solid var(--bh-line-2); border-radius: 999px; }
.bh-acc .select2-container .select2-selection__rendered { padding-inline: 18px 42px; line-height: 50px; font-size: 14.5px; color: var(--bh-ink); }
.bh-acc .select2-container .select2-selection__arrow { height: 50px; inset-inline-end: 12px; }
.bh-acc fieldset { margin: 8px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--bh-line); display: grid; gap: 16px; min-width: 0; }
.bh-acc fieldset legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font-size: 17px; font-weight: 500 !important; line-height: normal; color: var(--bh-ink); }
[dir="rtl"] .bh-acc fieldset legend { float: right; }
.bh-acc .woocommerce-privacy-policy-text, .bh-acc .bh-acc-fine { font-size: 13px; font-weight: 300 !important; line-height: 21.6px; color: var(--bh-muted); }
.bh .bh-acc .woocommerce-privacy-policy-text p { font-weight: 300 !important; }
.bh .bh-acc .woocommerce-privacy-policy-text a { color: var(--bh-coffee); text-decoration: underline; text-underline-offset: 2px; }
.bh-acc-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 300 !important; color: var(--bh-desc); cursor: pointer; }
.bh .bh-acc input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid #d8c7bb; border-radius: 5px; background: #fff; -webkit-appearance: none; appearance: none; cursor: pointer; }
.bh .bh-acc input[type="checkbox"]:checked { border-color: var(--bh-coffee); background: var(--bh-coffee) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5.2' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }

/* -------------------------------------------------------------- notices */
.bh-acc .woocommerce-notices-wrapper:empty { display: none; }
.bh-acc :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px; padding: 14px 20px; list-style: none;
	border: 1px solid var(--bh-line); border-radius: 16px; background: var(--bh-cream); font-size: 14.5px; font-weight: 300 !important; line-height: 23.2px; color: var(--bh-body); outline: 0;
}
.bh-acc ul.woocommerce-error { flex-direction: column; align-items: flex-start; border-color: #ecc9b3; background: #fdf4ee; color: #8f4a1f; }
.bh-acc :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) li { margin: 0; padding: 0; }
.bh-acc :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) :is(a:not(.button), strong) { font-weight: 400 !important; }
.bh .bh-acc :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) { color: var(--bh-coffee); text-decoration: underline; text-underline-offset: 2px; }
.bh .bh-acc :is(.woocommerce-message, .woocommerce-info) .button { order: 2; height: 40px; margin-inline-start: auto; }

/* ============================ Screen 01 · Account hub (1:13236) ====== */
.bh-acc-head { display: flex; align-items: center; gap: 18px; padding-bottom: 32px; }
.bh-acc-head__avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 999px; background: var(--bh-coffee); color: #fff; font-size: 19px; font-weight: 500 !important; }
.bh-acc-head__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bh .bh-acc-head__name { font-size: 40px; font-weight: 500 !important; line-height: 58px; letter-spacing: -.8px; color: var(--bh-coffee); overflow-wrap: anywhere; }
.bh .bh-acc-head__sub { font-size: 14.5px; font-weight: 300 !important; line-height: 21px; color: var(--bh-muted); overflow-wrap: anywhere; }

.bh-acc-hub { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }

/* Side menu: 250 wide, radius 20, rows 52 high. */
.bh-acc-nav { overflow: hidden; border: 1px solid var(--bh-line); border-radius: 20px; background: #fff; }
.bh-acc-nav li + li { border-top: 1px solid #f2e8e1; }
.bh .bh-acc-nav a { display: block; padding: 15px 20px; font-size: 14.5px; font-weight: 400 !important; line-height: 21px; color: var(--bh-ink); }
.bh .bh-acc-nav a:hover { background: var(--bh-cream); }
.bh .bh-acc-nav .is-active a { background: var(--bh-pill); font-weight: 500 !important; color: var(--bh-coffee); }
.bh .bh-acc-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--bh-kicker); }

/* Cards: 2 × 464, 18 gap, radius 20, 26 padding. */
.bh-acc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bh-acc-card { display: flex; flex-direction: column; min-height: 212px; padding: 26px; border: 1px solid var(--bh-line); border-radius: 20px; background: #fff; }
.bh-acc-card__body { display: flex; flex-direction: column; gap: 8.8px; }
.bh .bh-acc-card__title { font-size: 20px; font-weight: 500 !important; line-height: 29px; color: var(--bh-ink); }
.bh .bh-acc-card__meta, .bh-acc-card__address { font-size: 14.5px; font-style: normal; font-weight: 300 !important; line-height: 24.65px; color: var(--bh-desc); }
.bh-acc-card__address:empty { display: none; }
.bh-acc-card__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto !important; padding-top: 24px !important; }
.bh-acc-card--empty { max-width: 464px; }
.bh .bh-acc-intro { margin-bottom: 18px; font-size: 14.5px; font-weight: 300 !important; line-height: 24.65px; color: var(--bh-desc); }

/* Orders list: WooCommerce's table as bordered rows. */
.bh-acc-orders { display: block; width: 100%; border: 1px solid var(--bh-line); border-radius: 20px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.bh-acc-orders :is(thead, tbody) { display: block; }
.bh-acc-orders tr { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr 1.5fr auto; align-items: center; gap: 16px; padding: 0 26px; }
.bh-acc-orders thead tr { height: 48px; background: var(--bh-cream); border-bottom: 1px solid var(--bh-line); }
.bh-acc-orders tbody tr { min-height: 72px; padding-block: 14px; }
.bh-acc-orders tbody tr + tr { border-top: 1px solid #f2e8e1; }
.bh-acc-orders :is(th, td) { padding: 0; border: 0; text-align: start; font-size: 14.5px; font-weight: 300 !important; color: var(--bh-desc); }
.bh-acc-orders thead th { font-size: 11.5px; font-weight: 400 !important; letter-spacing: 2.07px; text-transform: uppercase; color: var(--bh-kicker); }
.bh .bh-acc-orders tbody th a { font-size: 15.5px; font-weight: 500 !important; color: var(--bh-ink); }
.bh-acc-orders small { font-size: 13px; color: var(--bh-kicker); }
.bh-acc-orders .woocommerce-orders-table__cell-order-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.bh-acc-orders thead .woocommerce-orders-table__header-order-actions { min-width: 76px; }
.bh-acc-pager { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

/* Status pill: 36 high, dot 8. */
.bh-acc-status { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--bh-pill); font-size: 13px; font-weight: 500 !important; color: var(--bh-body); white-space: nowrap; }
.bh-acc-status__dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: #c9a227; }
.bh-acc-status--green .bh-acc-status__dot { background: #5a7a63; }
.bh-acc-status--red .bh-acc-status__dot { background: var(--bh-sale); }

/* Profile form and other WooCommerce forms inside the hub. */
.bh-acc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 0; padding: 32px; }
.bh-acc-form > * { grid-column: 1 / -1; }
.bh-acc-form > .form-row-first, .bh-acc-form > .form-row-last { grid-column: auto; }
.bh-acc-form > .clear { display: none; }
.bh-acc-form__submit { max-width: 280px; margin-top: 8px !important; }
.bh-acc-hub__main > form:not(.bh-acc-form):not(.bh-acc-drawer__panel) { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--bh-line); border-radius: 20px; }
.bh-acc-hub__main > :is(h2, h3), .bh-acc-hub__main > section > h2 { margin-bottom: 14px; font-size: 20px; font-weight: 500 !important; color: var(--bh-ink); }
.bh-acc-hub__main table:not(.bh-acc-orders) { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bh-acc-hub__main table:not(.bh-acc-orders) :is(th, td) { padding: 12px 10px; border-bottom: 1px solid #f2e8e1; text-align: start; }

/* ============================ Screen 02 · Order detail (1:13481) ===== */
.bh-acc-ohead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; padding-bottom: 30px; }
.bh-acc-ohead__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bh-acc-crumbs { font-size: 12px; font-weight: 400 !important; line-height: 17px; letter-spacing: 1.92px; text-transform: uppercase; color: var(--bh-kicker); }
.bh .bh-acc-crumbs a { font-weight: 400 !important; color: var(--bh-kicker); }
.bh .bh-acc-crumbs a:hover { color: var(--bh-coffee); }
.bh .bh-acc-ohead__title { font-size: 44px; font-weight: 500 !important; line-height: 64px; letter-spacing: -.88px; color: var(--bh-coffee); }

.bh-acc-order { display: grid; grid-template-columns: minmax(0, 776fr) minmax(0, 420fr); gap: 44px; align-items: start; }
.bh-acc-order__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.bh-acc-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 26px 28px; border: 1px solid var(--bh-line); border-radius: 22px; background: var(--bh-cream); }
.bh .bh-acc-note p { flex: 1 1 300px; max-width: 440px; font-size: 15.5px; font-weight: 300 !important; line-height: 26.35px; color: var(--bh-desc); }

.bh-acc-items { padding: 26px 28px; border: 1px solid var(--bh-line); border-radius: 22px; background: #fff; }
.bh .bh-acc-items__title { margin-bottom: 16px; font-size: 18px; font-weight: 500 !important; line-height: 26px; color: var(--bh-ink); }
.bh-acc-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 16px; border-top: 1px solid #f2e8e1; }
.bh-acc-item + .bh-acc-item { margin-top: 16px; }
.bh-acc-item__img { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; overflow: hidden; border-radius: 14px; background: var(--bh-cream); }
.bh-acc-item__img img { width: 100%; height: 100% !important; object-fit: contain; padding: 8px; }
.bh-acc-item__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.bh .bh-acc-item__name { font-size: 15.5px; font-weight: 400 !important; line-height: 22px; color: var(--bh-ink); }
.bh .bh-acc-item__meta { font-size: 13px; font-weight: 300 !important; line-height: 19px; color: var(--bh-kicker); }
.bh-acc-updates .woocommerce-OrderUpdate { padding-top: 14px; border-top: 1px solid #f2e8e1; font-size: 14.5px; line-height: 23.2px; color: var(--bh-ink); }
.bh-acc-updates .woocommerce-OrderUpdate + .woocommerce-OrderUpdate { margin-top: 14px; }
.bh .bh-acc-updates .meta { font-size: 12.5px; color: var(--bh-muted); }

.bh-acc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bh-acc-fact { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--bh-line); border-radius: 18px; background: #fff; }
.bh .bh-acc-fact__label { font-size: 12.5px; font-weight: 400 !important; line-height: 18px; color: var(--bh-muted); }
.bh .bh-acc-fact__value { font-size: 14.5px; font-weight: 400 !important; line-height: 23.2px; color: var(--bh-ink); overflow-wrap: anywhere; }

.bh-acc-sum { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border: 1px solid var(--bh-line); border-radius: 22px; background: #fff; }
.bh .bh-acc-sum__title { font-size: 17px; font-weight: 500 !important; line-height: 24px; color: var(--bh-ink); }
.bh .bh-acc-sum__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 300 !important; line-height: 20px; color: var(--bh-desc); }
.bh-acc-sum__row > span:last-child { color: var(--bh-ink); text-align: end; }
.bh-acc-sum__row small { display: block; font-size: 12.5px; color: var(--bh-muted); }
.bh .bh-acc-sum__total { padding-top: 14px; border-top: 1px solid var(--bh-line); font-size: 18px; font-weight: 500 !important; line-height: 26px; color: var(--bh-ink); }

/* ================= Screens 03–04 · Sign in / Sign up (1:13758, 1:14011) */
.bh-acc-auth { display: grid; grid-template-columns: minmax(0, 660fr) minmax(0, 516fr); gap: 64px; align-items: start; }
.bh-acc-auth__card, .bh-acc--lost .woocommerce { display: flex; flex-direction: column; gap: 16px; padding: 40px; border: 1px solid var(--bh-line); border-radius: 22px; background: var(--bh-cream); }
.bh-acc--lost .woocommerce { max-width: 660px; }
.bh-acc--lost .woocommerce form { display: grid; gap: 16px; }
.bh .bh-acc--lost .woocommerce p:not(.form-row) { font-size: 14.5px; font-weight: 300 !important; line-height: 23.93px; color: var(--bh-body); }
.bh .bh-acc--lost .woocommerce .button { height: 54px; width: 100%; border-color: var(--bh-coffee); background: var(--bh-coffee); color: #fff; font-size: 13px; font-weight: 400 !important; letter-spacing: 1.04px; }
.bh-acc-tabs { display: flex; gap: 6px; height: 48px; border-bottom: 1px solid var(--bh-line); }
.bh .bh-acc-tab { height: 48px; padding: 12px 20px; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 500 !important; line-height: 22px; color: var(--bh-kicker); }
.bh .bh-acc-tab[aria-selected="true"] { border-bottom-color: var(--bh-coffee); color: var(--bh-coffee); }
.bh-acc-auth[data-tab="login"] [data-bh-pane="register"], .bh-acc-auth[data-tab="register"] [data-bh-pane="login"] { display: none; }
.bh-acc-pane { display: flex; flex-direction: column; gap: 16px; }
.bh-acc-pane form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bh-acc-pane form > * { grid-column: 1 / -1; }
.bh-acc-pane form > .form-row-first, .bh-acc-pane form > .form-row-last { grid-column: auto; }
.bh-acc-auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 19px; font-size: 13px; }
.bh .bh-acc-auth__row .bh-acc-link { font-size: 13px; line-height: 19px; }
.bh .bh-acc-auth__switch { padding-top: 16px; border-top: 1px solid var(--bh-line); font-size: 14px; font-weight: 300 !important; line-height: 20px; color: var(--bh-desc); }
.bh-acc-auth__guest { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 18px; border-top: 1px solid var(--bh-line); font-size: 13.5px; font-weight: 300 !important; line-height: 20px; color: var(--bh-muted); }

.bh-acc-why { display: flex; flex-direction: column; gap: 14px; }
.bh-acc-why ul { display: flex; flex-direction: column; gap: 14px; }
.bh-acc-why li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--bh-line); border-radius: 16px; background: #fff; font-size: 14.5px; font-weight: 300 !important; line-height: 23.93px; color: var(--bh-body); }
.bh-acc-why__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--bh-line); border-radius: 10px; background: var(--bh-pill); color: var(--bh-coffee); }

/* ================== Screen 05 · Address form · Drawer open (1:14278) = */
.bh-acc-drawer { position: fixed; inset: 0; z-index: 99990; display: flex; justify-content: flex-end; }
.bh-acc-drawer__shade { position: absolute; inset: 0; background: rgba(58, 44, 38, .45); }
.bh-acc-drawer__panel { position: relative; display: flex; flex-direction: column; width: 480px; max-width: 100%; height: 100%; margin: 0; background: #fff; box-shadow: -18px 0 48px rgba(58, 44, 38, .18); }
[dir="rtl"] .bh-acc-drawer__panel { box-shadow: 18px 0 48px rgba(58, 44, 38, .18); }
.admin-bar .bh-acc-drawer { top: var(--wp-admin--admin-bar--height, 32px); }
.bh-acc-drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 71px; padding: 0 28px; border-bottom: 1px solid var(--bh-line); }
.bh .bh-acc-drawer__head h2 { font-size: 22px; font-weight: 500 !important; line-height: 30px; color: var(--bh-ink); }
.bh .bh-acc-drawer__x { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-inline-end: -8px; font-size: 17px; line-height: 1; color: var(--bh-muted); }
.bh .bh-acc-drawer__x:hover { color: var(--bh-coffee); }
.bh-acc-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 24px 28px; overscroll-behavior: contain; }
.bh-acc-drawer .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bh-acc-drawer .woocommerce-address-fields__field-wrapper > * { grid-column: 1 / -1; }
.bh-acc-drawer .woocommerce-address-fields__field-wrapper > :is(.form-row-first, .form-row-last) { grid-column: auto; }
.bh-acc-drawer .woocommerce-notices-wrapper { margin-bottom: 4px; }
.bh-acc-drawer__foot { flex: none; display: flex; gap: 10px; padding: 19px 28px 24px; border-top: 1px solid var(--bh-line); }
.bh .bh-acc-drawer__foot .bh-acc-submit { flex: 1.5 1 0; width: auto; height: 52px; font-size: 12.5px; font-weight: 500 !important; letter-spacing: 1px; }
.bh .bh-acc-drawer__foot .bh-acc-btn { flex: 1 1 0; font-weight: 500 !important; }
html.bh-acc-lock { overflow: hidden; }

@media (max-width: 1080px) {
	.bh-acc-hub { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
	.bh-acc-cards { grid-template-columns: 1fr; }
	.bh-acc-order, .bh-acc-auth { grid-template-columns: 1fr; gap: 28px; }
	.bh-acc-orders tr { grid-template-columns: 1fr 1fr; }
	.bh-acc-orders thead { display: none; }
	.bh-acc-orders .woocommerce-orders-table__cell-order-actions { justify-content: flex-start; }
}

/* -------------------------------------------- phones (375 wide, 335 content) */
@media (max-width: 780px) {
	.bh-acc { --bh-gutter: 20px; padding-top: 84px; padding-bottom: 48px; }
	.bh-acc--guest, .bh-acc--lost { padding-top: 84px; }
	.admin-bar .bh-acc { padding-top: calc(84px + var(--wp-admin--admin-bar--height, 46px)); }

	/* Hub (8:14959): name 26, menu as pills 40 high. */
	.bh-acc-head { padding-bottom: 22px; }
	.bh .bh-acc-head__name { font-size: 26px; line-height: 38px; letter-spacing: -.52px; }
	.bh-acc-hub { display: block; }
	.bh-acc-nav { overflow: visible; border: 0; border-radius: 0; margin-bottom: 20px; }
	.bh-acc-nav ul { display: flex; flex-wrap: wrap; gap: 8px 7px; }
	.bh-acc-nav li + li { border-top: 0; }
	.bh .bh-acc-nav a { display: flex; align-items: center; height: 40px; padding: 0 17px; border: 1px solid var(--bh-line); border-radius: 999px; font-size: 14px; line-height: 20px; }
	.bh .bh-acc-nav .is-active a { border-color: var(--bh-pill); }
	.bh-acc-card { min-height: 0; }
	.bh-acc-form, .bh-acc-hub__main > form:not(.bh-acc-form):not(.bh-acc-drawer__panel) { padding: 22px 20px; }
	.bh-acc-form > .form-row-first, .bh-acc-form > .form-row-last { grid-column: 1 / -1; }
	.bh-acc-form__submit { max-width: none; }
	.bh-acc-orders tr { padding-inline: 20px; gap: 10px 12px; }

	/* Order (8:15187): crumbs 10.5, title 30, pill under the title. */
	.bh-acc-ohead { flex-direction: column; align-items: flex-start; padding-bottom: 22px; }
	.bh-acc-ohead__text { gap: 12px; }
	.bh-acc-crumbs { font-size: 10.5px; line-height: 15px; letter-spacing: 1.68px; }
	.bh .bh-acc-ohead__title { font-size: 30px; line-height: 43px; letter-spacing: -.6px; }
	.bh-acc-order { gap: 18px; }
	.bh-acc-note, .bh-acc-items { padding: 22px 20px; }
	.bh .bh-acc-note p { flex-basis: 100%; max-width: none; }
	.bh-acc-facts { grid-template-columns: 1fr; }

	/* Sign in / up (8:15445, 8:15680): card padding 20, one column. */
	.bh-acc-auth__card, .bh-acc--lost .woocommerce { padding: 20px; }
	.bh-acc-pane form > .form-row-first, .bh-acc-pane form > .form-row-last { grid-column: 1 / -1; }

	/* Address sheet (8:15931): full width, 60 from the top. */
	.bh-acc-drawer { align-items: flex-end; }
	.bh-acc-drawer__panel { width: 100%; height: calc(100% - 60px); border-radius: 22px 22px 0 0; }
	.bh-acc-drawer .woocommerce-address-fields__field-wrapper > :is(.form-row-first, .form-row-last) { grid-column: 1 / -1; }
}

/* Sign in / sign up: every field is required, so the design shows no asterisks. */
.bh-acc-auth .form-row .required { display: none; }
.bh-acc-pane { scroll-margin-top: 220px; }
