/* Ziggy Bookshop Layout – change the look by changing the values below */

/* Libre Caslon Text, hosted on this site */
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/libre-caslon-text-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/libre-caslon-text-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Libre Caslon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/libre-caslon-text-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/libre-caslon-text-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/libre-caslon-text-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.zb {
	--zb-font: 'Libre Caslon Text', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
	--zb-ink: var(--wp--preset--color--contrast, #1a1a1a);
	--zb-bg: var(--wp--preset--color--base, #fffdef);
	--zb-accent: #e94f36;          /* exact red of the Ziggy logo */
	--zb-accent-hover: #d4432b;
	--zb-muted: #6d6a60;
	--zb-line: #e6e1cf;
	--zb-tint: #f4f0df;
	--zb-gap-x: 28px;
	--zb-gap-y: 40px;
	--zb-rail-gap: 22px;
	--zb-max: 1200px;
	--zb-comma-left: -.1em;        /* pulls the price comma towards the number on its left */
	--zb-comma-right: .03em;
	color: var(--zb-ink);
	font-family: var(--zb-font);
	font-size: 1rem;
	line-height: 1.5;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
}
.zb *, .zb *::before, .zb *::after { box-sizing: border-box; }
.zb a { color: inherit; text-decoration: none; }
.zb ul, .zb ol { list-style: none; margin: 0; padding: 0; }
.zb button, .zb input, .zb summary { font-family: var(--zb-font); }
.zb-main { margin-block-start: 0 !important; }

.zb-wrap { max-width: var(--zb-max, 1200px); margin: 0 auto; padding: 1.25rem clamp(1rem, 4vw, 2rem) 4.5rem; }
.zb-row-section .zb-wrap { padding-top: .5rem; padding-bottom: 1.5rem; }
.zb-center { text-align: center; margin: 3rem 0 0; }

/* typography */
.zb-h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; font-weight: 400; letter-spacing: -.01em; margin: 0; }
.zb-h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; font-weight: 400; margin: 0; }
.zb-kicker { margin: 0 0 .4rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--zb-muted); }

/* breadcrumbs */
.zb-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .82rem; color: var(--zb-muted); margin-bottom: 1.5rem; }
.zb-crumbs a:hover { color: var(--zb-ink); text-decoration: underline; }
.zb-crumbs i { font-style: normal; opacity: .5; }

/* ---------- search ---------- */
.zb-search { position: relative; display: flex; align-items: center; max-width: 640px; margin: 0 auto 1.75rem; border: 1.5px solid var(--zb-ink); border-radius: 999px; background: #fff; padding: .3rem .3rem .3rem 1.1rem; }
.zb-search:focus-within { border-color: var(--zb-accent); }
.zb-search-ico { flex: none; opacity: .65; }
.zb-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font-size: 1rem; padding: .55rem .75rem; -webkit-appearance: none; appearance: none; }
.zb-search input[type="search"]::placeholder { color: var(--zb-muted); opacity: 1; }
.zb-search button { flex: none; border: 0; border-radius: 999px; background: var(--zb-accent); color: #fff; font-size: .9rem; font-weight: 700; padding: .6rem 1.3rem; cursor: pointer; transition: background .15s; }
.zb-search button:hover { background: var(--zb-accent-hover); }

/* ---------- book cards ---------- */
.zb-grid { display: grid; gap: var(--zb-gap-y) var(--zb-gap-x); }
.zb-grid.zb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zb-grid.zb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zb-grid.zb-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zb-grid.zb-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.zb-card { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.zb-cover { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--zb-tint); overflow: hidden; }
.zb-cover .zb-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; margin: 0; transition: transform .25s ease; }
.zb-card:hover .zb-img { transform: scale(1.025); }

/* title and author on the left, price on the right – kept compact */
.zb-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; margin-top: .65rem; flex: 1; }
.zb-text { min-width: 0; }
.zb-title { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.25; font-weight: 400; }
.zb-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.zb-author { display: block; margin-top: .2rem; font-size: .7rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--zb-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.zb-author a:hover { color: var(--zb-ink); text-decoration: underline; }
.zb-price { flex: none; font-size: .95rem; line-height: 1.25; white-space: nowrap; font-variant-numeric: lining-nums proportional-nums; }
.zb-price del, .zb-product-price del { opacity: .55; font-size: .85em; margin-right: .3em; }
.zb-price ins, .zb-product-price ins { text-decoration: none; }
.zb-dec { margin-left: var(--zb-comma-left); margin-right: var(--zb-comma-right); }

/* Add to cart: a friendly red pill */
.zb-add, .zb-btn { display: block; margin: .75rem 0 0; padding: .5rem 1rem; text-align: center; font-family: var(--zb-font); font-size: .85rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em; border: 1.5px solid var(--zb-ink); border-radius: 999px; background: var(--zb-accent); color: #fff !important; cursor: pointer; transition: background .15s; }
.zb-add:hover, .zb-btn:hover { background: var(--zb-accent-hover); }
.zb-btn { display: inline-block; margin: 0; padding: .7rem 1.8rem; font-size: .95rem; }
.zb-add.is-loading { opacity: .65; pointer-events: none; }
.zb-add.is-added { background: var(--zb-ink); }
.zb-add--ghost { background: transparent; color: var(--zb-ink) !important; box-shadow: none; }
.zb-add--ghost:hover { background: var(--zb-tint); }
.zb-add--off { background: transparent; border-color: var(--zb-line); color: var(--zb-muted) !important; box-shadow: none; cursor: default; }
.zb-add--off:hover { background: transparent; }

/* books without a cover */
.zb-nocover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10%; color: #fff; }
.zb-nocover b { font-size: clamp(.95rem, 1.6vw, 1.3rem); line-height: 1.15; font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.zb-nocover i { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-style: normal; opacity: .85; }
.zb-c0 { background: #2f4858; } .zb-c1 { background: #7a3b3b; } .zb-c2 { background: #3d5a45; }
.zb-c3 { background: #8a6d2f; } .zb-c4 { background: #4d3b6b; } .zb-c5 { background: #38393d; }

/* ---------- rows (carousels) ---------- */
.zb-row { margin: 0 0 3.25rem; }
.zb-row-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.zb-row-tools { display: flex; align-items: center; gap: 1.1rem; }
.zb-more { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; }
.zb-more:hover { color: var(--zb-accent); }
.zb-arrows { display: inline-flex; gap: .45rem; }
.zb-arrow { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; padding: 0; border: 1.5px solid var(--zb-ink); border-radius: 50%; background: #fff; color: var(--zb-ink); cursor: pointer; transition: background .12s, color .12s, opacity .12s; }
.zb-arrow:hover:not(:disabled) { background: var(--zb-ink); color: #fff; }
.zb-arrow:disabled { opacity: .3; cursor: default; }
.zb-row.zb-noscroll .zb-arrows { display: none; }

.zb-rail { display: flex; gap: var(--zb-rail-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: .25rem; }
.zb-rail::-webkit-scrollbar { display: none; }
.zb-rail .zb-card { flex: 0 0 calc((100% - 5 * var(--zb-rail-gap)) / 6); scroll-snap-align: start; }
.zb-related { margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--zb-line); }

/* ---------- genre buttons ---------- */
.zb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; max-width: 860px; margin: 0 auto 3rem; }
.zb-chip { padding: .4rem .95rem; border: 1.5px solid var(--zb-ink); border-radius: 999px; font-size: .88rem; background: #fff; transition: background .12s, color .12s; }
.zb-chip:hover { background: var(--zb-ink); color: #fff; }

/* ---------- archive pages ---------- */
.zb-archive-head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.zb-desc { margin-top: .9rem; color: var(--zb-muted); font-size: 1.02rem; line-height: 1.6; }
.zb-desc p { margin: 0 0 .6em; }

.zb-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; margin-bottom: 2rem; border-top: 1px solid var(--zb-line); border-bottom: 1px solid var(--zb-line); }
.zb-count { font-size: .88rem; color: var(--zb-muted); }
.zb-menus { display: flex; gap: .6rem; }
.zb-menu { position: relative; }
.zb-menu summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border: 1.5px solid var(--zb-ink); border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff; }
.zb-menu summary::-webkit-details-marker { display: none; }
.zb-menu summary::after { content: ''; width: .4rem; height: .4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.zb-menu[open] summary { background: var(--zb-ink); color: #fff; }
.zb-menu[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.zb-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; min-width: 230px; max-height: min(65vh, 480px); overflow: auto; padding: .5rem 0; background: #fff; border: 1.5px solid var(--zb-ink); border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.zb-panel a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 1.1rem; font-size: .95rem; }
.zb-panel a:hover { background: var(--zb-tint); }
.zb-panel a.is-current { font-weight: 700; }
.zb-panel small { color: var(--zb-muted); font-size: .78rem; }
.zb-panel .zb-sub a { padding-left: 2rem; font-size: .92rem; }
.zb-panel--cats { min-width: 270px; }

.zb-pagination { margin-top: 3.5rem; }
.zb-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; }
.zb-pagination a, .zb-pagination span { display: inline-flex; min-width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; padding: 0 .6rem; font-size: .95rem; border: 1.5px solid transparent; border-radius: 999px; }
.zb-pagination a:hover { border-color: var(--zb-ink); }
.zb-pagination .current { background: var(--zb-ink); color: #fff; }
.zb-empty { text-align: center; color: var(--zb-muted); padding: 2.5rem 0; }
.zb-empty .zb-chips { margin-top: 1.5rem; }

/* ---------- single book ---------- */
.zb-product { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.zb-product-cover { position: sticky; top: 2rem; }
.zb-product-cover .zb-img { display: block; width: 100%; height: auto; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
.zb-product-cover .zb-nocover { position: relative; inset: auto; aspect-ratio: 2 / 3; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
.zb-product-info { max-width: 640px; }
.zb-byline { margin: .7rem 0 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.zb-byline a { border-bottom: 1px solid var(--zb-line); }
.zb-byline a:hover { border-color: var(--zb-ink); }
.zb-product-price { margin: 1.4rem 0 0; font-size: 1.5rem; font-variant-numeric: lining-nums proportional-nums; }

.zb-buy { margin-top: 1.2rem; }
.zb-buy form.cart { display: flex; gap: .75rem; align-items: stretch; flex-wrap: wrap; margin: 0; }
.zb-buy .quantity { display: flex; }
.zb-buy .quantity.hidden, .zb-buy .quantity:has(input[type="hidden"]) { display: none; }
.zb-buy .quantity input.qty { width: 4.2rem; height: 3rem; text-align: center; border: 1.5px solid var(--zb-ink); border-radius: 999px; background: #fff; color: inherit; font: inherit; padding: 0 .4rem; }
.zb-buy .single_add_to_cart_button { flex: 1 1 auto; max-width: 20rem; height: 3rem; margin: 0; padding: 0 2rem; border: 1.5px solid var(--zb-ink); border-radius: 999px; background: var(--zb-accent); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.zb-buy .single_add_to_cart_button:hover { background: var(--zb-accent-hover); }
.zb-buy .single_add_to_cart_button.is-loading { opacity: .6; pointer-events: none; }
.zb-added { margin: .9rem 0 0; font-size: .95rem; }
.zb-added a { border-bottom: 1px solid currentColor; font-weight: 700; }

.zb-stock { margin: .9rem 0 0; font-size: .9rem; color: var(--zb-muted); }
.zb-stock--in::before, .zb-stock--low::before, .zb-stock--out::before { content: ''; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .5rem; background: #3f9b5b; }
.zb-stock--low::before { background: #d08a1d; }
.zb-stock--out::before { background: #b94a48; }

.zb-acc { margin-top: 2rem; border-top: 1px solid var(--zb-line); }
.zb-acc + .zb-acc { margin-top: 0; }
.zb-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.zb-acc summary::-webkit-details-marker { display: none; }
.zb-acc summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; letter-spacing: 0; }
.zb-acc[open] summary::after { content: '–'; }
.zb-acc-body { padding: 0 0 1.5rem; }
.zb-acc:last-of-type { border-bottom: 1px solid var(--zb-line); }
.zb-prose { line-height: 1.7; }
.zb-prose p { margin: 0 0 1em; }
.zb-details { margin: 0; }
.zb-details > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--zb-line); font-size: .97rem; }
.zb-details > div:first-child { border-top: 0; padding-top: 0; }
.zb-details dt { color: var(--zb-muted); }
.zb-details dd { margin: 0; }
.zb-details a { border-bottom: 1px solid var(--zb-line); }
.zb-details a:hover { border-color: var(--zb-ink); }

/* ---------- notices & cart link ---------- */
.zb .woocommerce-notices-wrapper { max-width: var(--zb-max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.zb .woocommerce-message, .zb .woocommerce-info, .zb .woocommerce-error { margin: 1rem 0 0; padding: .9rem 1.1rem; border-left: 3px solid var(--zb-accent); background: var(--zb-tint); font-size: .95rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.zb .woocommerce-message a.button { order: 2; font-weight: 700; border-bottom: 1px solid currentColor; }
.zb-cart-link { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; font-size: inherit; }
.zb-cart-link--menu { margin-left: 1.25rem; }
.zb-cart-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.zb-cart-count { display: inline-flex; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--wp--preset--color--contrast, #111); color: var(--wp--preset--color--base, #fff); font-size: .72rem; line-height: 1; }
.zb-cart-count[data-count="0"] { display: none; }

/* ---------- favourites ---------- */
.zb-card { position: relative; }
.zb-heart { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--zb-ink); cursor: pointer; font-family: var(--zb-font); transition: color .15s, background .15s, transform .15s; }
.zb-heart .zb-heart-ico { fill: none; transition: fill .15s; }
.zb-card > .zb-heart { position: absolute; top: .45rem; right: .45rem; z-index: 2; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(255, 253, 239, .72); color: rgba(26, 26, 26, .7); }
.zb-card > .zb-heart .zb-heart-ico { width: 15px; height: 15px; }
.zb-card > .zb-heart:hover, .zb-card > .zb-heart.is-saved { background: rgba(255, 253, 239, .95); }
.zb-heart:hover { color: var(--zb-accent); }
.zb-heart.is-saved { color: var(--zb-accent); }
.zb-heart.is-saved .zb-heart-ico { fill: var(--zb-accent); }
.zb-heart:focus-visible { outline: 2px solid var(--zb-ink); outline-offset: 2px; }
.zb-save-row { margin: .9rem 0 0; }
.zb-heart--text { gap: .5rem; font-size: .95rem; padding: .25rem 0; }
.zb-heart--text .zb-heart-label { border-bottom: 1px solid var(--zb-line); }
.zb-heart--text:hover .zb-heart-label { border-color: currentColor; }
.zb-saved-link { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; font-size: inherit; }
.zb-saved-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.zb-saved-link .zb-heart-ico { width: 1.05em; height: 1.05em; fill: none; }
.zb-saved-count { display: inline-flex; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--zb-accent, #e94f36); color: #fff; font-size: .72rem; line-height: 1; }
.zb-saved-count[data-count="0"] { display: none; }
.zb-saved-empty[hidden] { display: none; }
/* the Saved link only shows once something has been saved */
.zb-saved-li:has(.zb-saved-count[data-count="0"]), .zb-saved-link:has(.zb-saved-count[data-count="0"]) { display: none; }
.zb-saved-loading { margin: 2rem 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
	.zb-grid.zb-cols-4, .zb-grid.zb-cols-5, .zb-grid.zb-cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zb-rail .zb-card { flex-basis: calc((100% - 3 * var(--zb-rail-gap)) / 4); }
}
@media (max-width: 760px) {
	.zb { --zb-gap-x: 16px; --zb-gap-y: 30px; --zb-rail-gap: 14px; }
	.zb-grid.zb-cols-3, .zb-grid.zb-cols-4, .zb-grid.zb-cols-5, .zb-grid.zb-cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zb-rail { margin-right: calc(-1 * clamp(1rem, 4vw, 2rem)); padding-right: clamp(1rem, 4vw, 2rem); }
	.zb-rail .zb-card { flex-basis: 40vw; max-width: 200px; }
	.zb-arrows { display: none; }
	.zb-search { padding-left: .9rem; }
	.zb-search-ico { display: none; }
	.zb-search input[type="search"] { padding-left: 0; padding-right: .4rem; }
	.zb-search input[type="search"]::placeholder { font-size: .85rem; }
	.zb-search button { padding: .55rem .9rem; font-size: .82rem; }
	.zb-product { grid-template-columns: 1fr; gap: 1.75rem; }
	.zb-product-cover { position: static; max-width: 210px; margin: 0 auto; }
	.zb-details > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
	.zb-toolbar { flex-wrap: wrap; }
	.zb-buy .single_add_to_cart_button { max-width: none; }
	.zb-panel { right: auto; left: 0; }
	.zb-menus .zb-menu:last-child .zb-panel { right: 0; left: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.zb-cover .zb-img, .zb-add, .zb-btn { transition: none; }
	.zb-rail { scroll-behavior: auto; }
}

/* the section holding a homepage shortcode breaks out of narrow page columns */
.zb-row-section { max-width: none !important; width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; }
body:has(.zb-row-section) { overflow-x: clip; }

/* ---------- every other button on the site (cart, checkout, account, forms) gets the same flat red pill ---------- */
body .wp-block-button:not(.is-style-outline) .wp-block-button__link,
body .wp-element-button:not(.is-style-outline),
body .wc-block-components-button:not(.outlined):not(.is-link),
body .woocommerce a.button, body .woocommerce button.button, body .woocommerce input.button,
body .woocommerce #respond input#submit {
	font-family: var(--zb-font, 'Libre Caslon Text', Georgia, serif); font-weight: 700; text-decoration: none;
	border: 1.5px solid #1a1a1a; border-radius: 999px; background: #e94f36; color: #fff;
	box-shadow: none; transition: background .15s;
}
body .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
body .wp-element-button:not(.is-style-outline):hover,
body .wc-block-components-button:not(.outlined):not(.is-link):hover,
body .woocommerce a.button:hover, body .woocommerce button.button:hover, body .woocommerce input.button:hover,
body .woocommerce #respond input#submit:hover { background: #d4432b; color: #fff; box-shadow: none; }
.wp-block-navigation-item__content.zb-saved-link { display: inline-flex; align-items: center; gap: .4rem; }
.zb-saved-li[hidden] { display: none !important; }
