/* Hayat Toolkit — basket page (templates/woocommerce/cart/*). Same look as the checkout:
   Figtree, ink text, hairline rows, the gifts on the left and a summary box on the right. */

body.hx-bk-page { background: #fff; }
body.hx-bk-page .page-header { display: none; } /* the template prints its own "Your basket" */
body.hx-bk-page .site-main, body.hx-bk-page .page-content { max-width: none; width: 100%; padding: 0; margin: 0; }

.hx-bk { --bk-ink: #10221c; --bk-head: #013b31; --bk-green: #04684d; --bk-green-dk: #013b31; --bk-line: #dbe6dc; --bk-muted: #546760; --bk-panel: #f3f7f2;
	display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start;
	max-width: 1100px; margin: 0 auto; padding: 72px 32px 96px; font-family: "Figtree", system-ui, sans-serif; color: var(--bk-ink); }
.hx-bk--empty { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.hx-bk *, .hx-bk *::before, .hx-bk *::after { box-sizing: border-box; }

.hx-bk .hx-bk__title { margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--bk-line); font: 700 clamp(30px, 3vw, 38px)/1.1 "Figtree", system-ui, sans-serif; letter-spacing: -.02em; color: var(--bk-head); }

/* gifts */
.hx-bk .hx-bk__list { list-style: none; margin: 0; padding: 0; }
.hx-bk .hx-bk__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--bk-line); }
.hx-bk .hx-bk__thumb { position: relative; width: 72px; height: 72px; }
.hx-bk .hx-bk__thumb a, .hx-bk .hx-bk__thumb img, .hx-bk .hx-thumb-none { display: block; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.hx-bk .hx-thumb-none { display: grid; place-items: center; background: var(--bk-panel); }
.hx-bk .hx-thumb-none svg { width: 26px; height: 26px; fill: none; stroke: var(--bk-green); stroke-width: 1.6; }
.hx-bk .hx-bk__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bk-muted); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.hx-bk .hx-bk__name { margin: 2px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.hx-bk .hx-bk__name a { color: var(--bk-ink); text-decoration: none; }
.hx-bk .hx-bk__name a:hover { text-decoration: underline; }
.hx-bk dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; margin: 6px 0 0; font-size: 14px; color: var(--bk-muted); }
.hx-bk dl.variation dt, .hx-bk dl.variation dd { margin: 0; color: var(--bk-muted); font-weight: 400; }
.hx-bk dl.variation dd p { margin: 0; }
.hx-bk .hx-bk__price { font-size: 17px; font-weight: 600; white-space: nowrap; padding-top: 2px; }

.hx-bk .hx-bk__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 8px; }
.hx-bk .hx-bk__acts[hidden], .hx-bk .hx-bk__edit[hidden] { display: none; }
.hx-bk .hx-bk__act { display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--bk-ink); font: 500 14.5px/1.2 "Figtree", system-ui, sans-serif; text-transform: none; letter-spacing: 0; text-decoration: underline; text-decoration-color: rgba(16, 34, 28, .35); text-underline-offset: 3px; cursor: pointer; }
.hx-bk .hx-bk__act:hover, .hx-bk .hx-bk__act:focus { background: none; color: var(--bk-ink); text-decoration-color: currentColor; }
.hx-bk .hx-bk__act[data-hx-remove]:hover { color: #c5281c; }
.hx-bk .hx-bk__dot { color: var(--bk-muted); }
.hx-bk .hx-bk__edit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.hx-bk .hx-bk__field { display: inline-flex; align-items: center; height: 42px; padding: 0 12px; border: 1px solid var(--bk-line); border-radius: 8px; background: #fff; }
.hx-bk .hx-bk__field:focus-within { border-color: var(--bk-ink); }
.hx-bk .hx-bk__sym { color: var(--bk-muted); margin-right: 4px; }
.hx-bk .hx-bk__field input { width: 96px; height: 40px; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; font: 500 16px "Figtree", system-ui, sans-serif; color: var(--bk-ink); -moz-appearance: textfield; }
.hx-bk .hx-bk__field input::-webkit-outer-spin-button, .hx-bk .hx-bk__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hx-bk .hx-bk__save { height: 42px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--bk-green); color: #fff; font: 600 15px "Figtree", system-ui, sans-serif; text-transform: none; cursor: pointer; }
.hx-bk .hx-bk__save:hover, .hx-bk .hx-bk__save:focus { background: var(--bk-green-dk); color: #fff; }
.hx-bk.is-busy { opacity: .6; pointer-events: none; transition: opacity .15s; }

/* summary box */
.hx-bk .hx-bk__side { position: sticky; top: 110px; padding: 22px 22px 24px; border: 1px solid var(--bk-line); border-radius: 8px; background: var(--bk-panel); }
.hx-bk .hx-bk__totals { width: 100%; margin: 0; border: 0 !important; border-radius: 0 !important; border-collapse: collapse; font-size: 15.5px; }
.hx-bk .hx-bk__totals th, .hx-bk .hx-bk__totals td { padding: 8px 0; border: 0 !important; background: none; text-align: left; font-weight: 400; color: var(--bk-ink); vertical-align: baseline; }
.hx-bk .hx-bk__totals td { text-align: right; }
.hx-bk .hx-bk__totals tr.order-total th, .hx-bk .hx-bk__totals tr.order-total td { padding-top: 18px; border-top: 1px solid var(--bk-line) !important; font-size: 20px; font-weight: 700; }
.hx-bk .hx-bk__totals tr.order-total th { font-size: 19px; }
.hx-bk .hx-bk__totals tr.order-total + tr th, .hx-bk .hx-bk__totals tr.order-total + tr td { padding-top: 10px; }
.hx-bk .hx-bk__totals .amount { font-weight: inherit; color: inherit; }
.hx-bk .hx-bk__code { margin-right: 4px; font-size: 12px; font-weight: 400; color: var(--bk-muted); }
.hx-bk .hx-bk__totals .includes_tax, .hx-bk .hx-bk__totals small { display: block; font-size: 13px; font-weight: 400; color: var(--bk-muted); }
.hx-bk .hx-bk__go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 18px; padding: 0 20px; border-radius: 8px; background: var(--bk-green); color: #fff; font: 600 17px "Figtree", system-ui, sans-serif; text-decoration: none; transition: background .15s; }
.hx-bk .hx-bk__go:hover, .hx-bk .hx-bk__go:focus { background: var(--bk-green-dk); color: #fff; }
.hx-bk .hx-bk__more { display: block; width: fit-content; margin: 16px auto 0; color: var(--bk-ink); font-size: 14.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(16, 34, 28, .35); }
.hx-bk .hx-bk__more:hover { text-decoration-color: currentColor; color: var(--bk-ink); }

/* empty basket */
.hx-bk .hx-bk__none { padding: 40px 32px; border: 1px solid var(--bk-line); border-radius: 8px; background: var(--bk-panel); text-align: center; }
.hx-bk .hx-bk__none-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--bk-line); }
.hx-bk .hx-bk__none-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--bk-green); stroke-width: 1.8; stroke-linejoin: round; }
.hx-bk .hx-bk__none-t { margin: 16px 0 4px; font-size: 20px; font-weight: 700; color: var(--bk-head); }
.hx-bk .hx-bk__none-s { margin: 0; color: var(--bk-muted); }
.hx-bk .hx-bk__none-acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 24px; }
.hx-bk .hx-bk__none-acts .hx-bk__go { width: auto; margin: 0; padding: 0 28px; }
.hx-bk .hx-bk__none-acts .hx-bk__more { margin: 0; }

/* notices (removed / updated) sit above the basket, inside its width */
body.hx-bk-page .woocommerce-notices-wrapper { max-width: 1100px; margin: 24px auto 0; padding: 0 32px; }

@media (max-width: 900px) {
	.hx-bk { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 20px 64px; }
	.hx-bk .hx-bk__side { position: static; }
	body.hx-bk-page .woocommerce-notices-wrapper { padding: 0 20px; }
}
@media (max-width: 480px) {
	.hx-bk .hx-bk__item { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; }
	.hx-bk .hx-bk__thumb, .hx-bk .hx-bk__thumb a, .hx-bk .hx-bk__thumb img, .hx-bk .hx-thumb-none { width: 60px; height: 60px; }
	.hx-bk .hx-bk__name, .hx-bk .hx-bk__price { font-size: 16px; }
	.hx-bk .hx-bk__none { padding: 32px 20px; }
}
/* WooCommerce / SkyDonate table styles pad and bold the cells: keep the rows flush and plain */
.hx-bk table.hx-bk__totals tr th, .hx-bk table.hx-bk__totals tr td { padding-left: 0 !important; padding-right: 0 !important; }
.hx-bk table.hx-bk__totals tr:not(.order-total) th { font-weight: 400 !important; }
