/* Pully premium features. Built on the Customizer tokens defined in main.css and the dynamic CSS.
   Logical properties are used throughout so right-to-left languages mostly work without overrides. */

:root {
	--pully-danger: #b42318;
	--pully-ok: #15803d;
	--pully-warn: #b45309;
	--mbar-h: 60px;
}
:root[data-theme="dark"] { --pully-danger: #ff9b92; --pully-ok: #5ad48a; --pully-warn: #f0b45a; }

/* ===== Text size from the accessibility toolbar ===== */
html { font-size: calc(var(--pully-base-size, 17px) * var(--pully-a11y-scale, 1)); }

/* ===== Shared bits ===== */
.pully-empty, .pully-loading { margin: 0; padding: 24px 0; color: var(--pully-muted); text-align: center; }
.pully-icon-btn {
	display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
	background: var(--pully-bg); color: var(--pully-text); border: 1px solid var(--pully-border); border-radius: 50%; cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s;
}
.pully-icon-btn:hover { border-color: var(--pully-primary); color: var(--pully-link); }
.pully-icon-btn[aria-pressed="true"] { border-color: var(--pully-primary); background: color-mix(in srgb, var(--pully-primary) 12%, var(--pully-bg)); color: var(--pully-link); }
[data-pully-wishlist-toggle][aria-pressed="true"] svg { fill: currentColor; }
.pully-toast {
	position: fixed; inset-inline: 0; bottom: 24px; z-index: 1500; width: max-content; max-width: calc(100vw - 32px); margin-inline: auto;
	display: flex; align-items: center; gap: 14px; padding: 12px 18px;
	background: var(--pully-text); color: var(--pully-bg); border-radius: 12px; box-shadow: var(--pully-shadow);
	opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
.pully-toast.is-on { opacity: 1; transform: none; }
.pully-toast[hidden] { display: none; }
.pully-toast-action { padding: 0; background: none; border: 0; color: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.has-mobile-bar .pully-toast { bottom: calc(var(--mbar-h) + 16px); }

/* ===== Add to enquiry, tool rows ===== */
.card-tools { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: .8em; }
.card-tools .pully-add-enquiry { flex: 1 1 auto; }
.pully-add-enquiry .lbl-added { display: none; align-items: center; gap: .4em; }
.pully-add-enquiry.is-added .lbl-add { display: none; }
.pully-add-enquiry.is-added .lbl-added { display: inline-flex; }
.pully-add-enquiry.is-added { background: transparent; color: var(--pully-link); }
.details-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ===== Enquiry drawer ===== */
.pully-drawer-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(8, 12, 20, .55); }
.pully-drawer-overlay[hidden] { display: none; }
.pully-drawer {
	position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 1201; display: flex; flex-direction: column;
	width: min(460px, 100vw); background: var(--pully-bg); color: var(--pully-text); box-shadow: var(--pully-shadow); outline: 0;
	transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s;
}
.pully-drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.admin-bar .pully-drawer { top: 32px; }
.pully-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--pully-border); }
.pully-drawer-head h2 { margin: 0; font-size: 1.2rem; }
.pully-drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.pully-enquiry-page { max-width: 760px; margin-inline: auto; }
.enq-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--pully-border); }
.enq-thumb { display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 8px; background: var(--pully-surface); }
.enq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.enq-info { display: flex; flex-direction: column; min-width: 0; }
.enq-title { color: inherit; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
a.enq-title:hover { color: var(--pully-link); text-decoration: underline; }
.enq-sku { font-size: .82rem; color: var(--pully-muted); }
.enq-qty { display: inline-flex; align-items: center; border: 1px solid var(--pully-border); border-radius: 8px; overflow: hidden; }
.enq-qty button { display: grid; place-items: center; width: 34px; height: 38px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.enq-qty button:hover { background: var(--pully-surface); }
.enq-qty input.enq-qty-input { width: 56px; padding: .4em .2em; text-align: center; border: 0; border-radius: 0; -moz-appearance: textfield; appearance: textfield; }
.enq-qty input::-webkit-outer-spin-button, .enq-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.enq-remove { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--pully-muted); cursor: pointer; }
.enq-remove:hover { background: var(--pully-surface); color: var(--pully-danger); }
.pully-enquiry-form { margin-top: 24px; }
@media (max-width: 480px) {
	.enq-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
	.enq-qty { grid-column: 2; grid-row: 2; justify-self: start; }
	.enq-remove { grid-column: 3; grid-row: 1; }
}

/* ===== Modal: quick view, compare, wishlist ===== */
.pully-modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 20px; background: rgba(8, 12, 20, .6); opacity: 0; transition: opacity .2s; }
.pully-modal.is-open { opacity: 1; }
.pully-modal[hidden] { display: none; }
.pully-modal-box { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; padding: 28px; background: var(--pully-bg); color: var(--pully-text); border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); outline: 0; }
.pully-modal[data-kind="quickview"] .pully-modal-box { width: min(860px, 100%); }
.pully-modal[data-kind="wishlist"] .pully-modal-box { width: min(640px, 100%); }
.pully-modal-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; }
.pully-modal-body h2 { padding-inline-end: 48px; font-size: 1.5rem; }
.qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; }
.qv-media img, .qv-noimg { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--pully-radius); background: var(--pully-surface); }
.qv-meta { margin: 0 0 .6em; color: var(--pully-muted); font-size: .9rem; white-space: pre-wrap; }
.qv-price { margin: 0 0 .6em; font-size: 1.25rem; font-weight: 700; }
.qv-specs { margin: 0 0 1em; font-size: .92rem; }
.qv-specs :is(th, td) { padding: .45em .6em; }
.qv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
@media (max-width: 700px) { .qv { grid-template-columns: minmax(0, 1fr); } .qv-media img, .qv-noimg { aspect-ratio: 4 / 3; } .pully-modal { padding: 10px; } .pully-modal-box { padding: 20px; } }

.compare-scroll { overflow-x: auto; margin-top: 12px; }
.compare-table { min-width: 560px; table-layout: fixed; border: 1px solid var(--pully-border); }
.compare-table :is(th, td) { padding: .7em .9em; border-bottom: 1px solid var(--pully-border); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.compare-table tbody th[scope="row"] { position: sticky; inset-inline-start: 0; width: 150px; background: var(--pully-bg); color: var(--pully-muted); font-weight: 600; }
.compare-table thead td:first-child { width: 150px; }
.compare-table tr.is-diff :is(th, td) { background: color-mix(in srgb, var(--pully-primary) 8%, var(--pully-bg)); }
.cmp-head { position: relative; display: flex; flex-direction: column; gap: 8px; }
.cmp-head > a { color: inherit; font-weight: 600; text-decoration: none; padding-inline-end: 28px; }
.cmp-head > a:hover { color: var(--pully-link); text-decoration: underline; }
.cmp-img img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.cmp-remove { position: absolute; top: 0; inset-inline-end: 0; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: 50%; color: inherit; cursor: pointer; }
.cmp-remove:hover { color: var(--pully-danger); border-color: var(--pully-danger); }
.cmp-na { color: var(--pully-muted); }
.cmp-actions td { display: table-cell; }
.cmp-actions td .pully-btn { margin-bottom: 4px; }
.cmp-note { margin: .8em 0 0; font-size: .85rem; color: var(--pully-muted); }

.pully-mini-list { display: grid; gap: 16px; margin: 12px 0 0; padding: 0; list-style: none; }
.pully-mini-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--pully-border); }
.mini-thumb { display: block; overflow: hidden; border-radius: 8px; background: var(--pully-surface); }
.mini-thumb img { width: 84px; height: 84px; object-fit: cover; }
.mini-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-title { color: inherit; font-weight: 600; text-decoration: none; }
.mini-title:hover { color: var(--pully-link); text-decoration: underline; }
.mini-sub { font-size: .85rem; color: var(--pully-muted); }
.mini-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }

/* ===== Compare bar ===== */
.pully-compare-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 85; padding-block: 10px; background: var(--pully-bg); border-top: 1px solid var(--pully-border); box-shadow: 0 -8px 30px rgba(10, 18, 32, .12); }
.pully-compare-bar[hidden] { display: none; }
.compare-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.compare-bar-items { display: flex; flex: 1; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.compare-chip { display: flex; flex: none; align-items: center; gap: 8px; max-width: 230px; padding: 4px 4px 4px 6px; background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: 999px; }
.compare-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.chip-title { overflow: hidden; font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.chip-remove { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; background: none; border: 0; border-radius: 50%; color: inherit; cursor: pointer; }
.chip-remove:hover { color: var(--pully-danger); }
.compare-bar-count { font-size: .88rem; font-weight: 600; color: var(--pully-muted); }
body.has-compare-bar { padding-bottom: 76px; }
.has-compare-bar .back-to-top { bottom: 90px; }

/* ===== Catalog toolbar ===== */
.catalog-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.catalog-chips ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .4em .95em; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: 999px; color: inherit; font-size: .92rem; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--pully-primary); color: var(--pully-link); }
.chip--up { color: var(--pully-muted); }
.chip .count-badge { margin-inline-start: 0; }
.catalog-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.catalog-count { display: inline-flex; align-items: center; gap: .5em; margin: 0; margin-inline-end: auto; color: var(--pully-muted); font-weight: 600; }
.catalog-count .count-badge { margin-inline-start: 0; }
.catalog-filters select { width: auto; min-width: 150px; }
.pully-loadmore-wrap { margin: 8px 0 40px; text-align: center; }
.pully-loadmore[disabled] { opacity: .7; cursor: progress; }

/* ===== Product page ===== */
.product-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 48px; }
.product-summary .entry-title { margin-bottom: .4em; }
.product-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 1em; }
.product-price { font-size: 1.5rem; font-weight: 700; }
.stock-pill { padding: .2em .8em; border: 1px solid var(--pully-border); border-radius: 999px; background: var(--pully-surface); font-size: .82rem; font-weight: 600; }
.stock-instock { border-color: var(--pully-ok); background: color-mix(in srgb, var(--pully-ok) 12%, var(--pully-bg)); }
.stock-outofstock { border-color: var(--pully-danger); background: color-mix(in srgb, var(--pully-danger) 10%, var(--pully-bg)); }
.stock-preorder, .stock-backorder, .stock-limitedavailability { border-color: var(--pully-warn); background: color-mix(in srgb, var(--pully-warn) 12%, var(--pully-bg)); }
.product-excerpt { margin-bottom: 1.2em; color: var(--pully-muted); }
.product-description, .product-specs, .pully-downloads, .pully-video { margin-bottom: 44px; }
.product-description > h2, .product-specs > h2, .pully-downloads > h2, .pully-video > h2 { margin-bottom: .6em; font-size: 1.5rem; }
.entry--product .specs { max-width: 760px; }
.pully-gallery { display: grid; gap: 12px; }
.pully-gallery-main { position: relative; display: block; overflow: hidden; background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); }
.pully-gallery-main img { width: 100%; height: auto; }
.pully-zoom { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 36px; height: 36px; background: var(--pully-bg); color: var(--pully-text); border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.pully-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pully-gallery-thumbs a { display: block; overflow: hidden; border: 1px solid var(--pully-border); border-radius: 8px; }
.pully-gallery-thumbs a:hover { border-color: var(--pully-primary); }
.pully-gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pully-downloads ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pully-downloads a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); color: inherit; text-decoration: none; }
.pully-downloads a:hover { border-color: var(--pully-primary); color: var(--pully-link); }
.dl-title { flex: 1; font-weight: 600; }
.dl-meta { font-size: .8rem; color: var(--pully-muted); white-space: nowrap; }
.pully-embed iframe, .pully-embed video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--pully-radius); }
.pully-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0f17 center / cover no-repeat; border-radius: var(--pully-radius); }
.pully-yt-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; background: rgba(0, 0, 0, .2); border: 0; cursor: pointer; }
.pully-yt-play:hover { background: rgba(0, 0, 0, .06); }
.pully-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pully-sticky-quote { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; padding-block: 10px; background: var(--pully-bg); border-top: 1px solid var(--pully-border); box-shadow: 0 -8px 30px rgba(10, 18, 32, .12); }
.pully-sticky-quote[hidden] { display: none; }
.sticky-quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-quote-title { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
body.has-sticky-quote { padding-bottom: 68px; }
@media (max-width: 860px) { .product-top { grid-template-columns: minmax(0, 1fr); } }

/* ===== Live search ===== */
.pully-live-results { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20; max-height: min(60vh, 460px); margin: 0; padding: 6px; overflow: auto; background: var(--pully-bg); color: var(--pully-text); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); list-style: none; text-align: start; }
.pully-live-results[hidden] { display: none; }
.pully-live-results [role="option"] > a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.pully-live-results [role="option"].is-active > a, .pully-live-results [role="option"] > a:hover { background: var(--pully-surface); }
.pully-live-results img { width: 40px; height: 40px; flex: none; border-radius: 6px; object-fit: cover; }
.live-meta { display: flex; flex-direction: column; min-width: 0; }
.live-title { font-weight: 600; }
.live-sub { font-size: .8rem; color: var(--pully-muted); }
.live-all a { display: block; padding: 10px; color: var(--pully-link); font-weight: 600; text-align: center; }
.live-empty { padding: 12px; color: var(--pully-muted); }
.header-search-inline { display: none; }

/* ===== Forms ===== */
.pully-form { position: relative; }
.pully-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.pully-field { grid-column: span 6; min-width: 0; }
.pully-field--half { grid-column: span 3; }
.pully-field--third { grid-column: span 2; }
@media (max-width: 560px) { .pully-field--half, .pully-field--third { grid-column: span 6; } }
.pully-field > label:not(.pully-choice), .pully-field legend { display: block; margin-bottom: .3em; font-size: .95rem; font-weight: 600; }
.pully-field fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pully-choice { display: flex; align-items: flex-start; gap: .6em; margin-bottom: .35em; font-weight: 400; cursor: pointer; }
.pully-choice input { flex: none; width: 1.1em; height: 1.1em; margin-top: .3em; accent-color: var(--pully-primary); }
.pully-field .req { color: var(--pully-danger); }
.pully-field.has-error :is(input:not([type="checkbox"], [type="radio"]), select, textarea) { border-color: var(--pully-danger); }
.pully-error { margin: .35em 0 0; color: var(--pully-danger); font-size: .88rem; font-weight: 600; }
.pully-error[hidden] { display: none; }
.pully-help { margin: .3em 0 0; font-size: .85rem; color: var(--pully-muted); }
.pully-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pully-captcha { margin-top: 16px; }
.pully-actions { margin-top: 18px; }
.pully-form-status { margin-top: 12px; font-weight: 600; }
.pully-form-status:empty { display: none; }
.pully-form-status.is-error { color: var(--pully-danger); }
.pully-form-success, .pully-form-done { padding: 18px 20px; background: color-mix(in srgb, var(--pully-ok) 12%, var(--pully-bg)); border: 1px solid var(--pully-ok); border-radius: var(--pully-radius); }
.pully-form-success[hidden] { display: none; }
.pully-form-success > :last-child, .pully-form-done > :last-child { margin-bottom: 0; }
.pully-form.is-sent :is(.pully-fields, .pully-actions, .pully-captcha, .pully-form-status, .pully-ai-note) { display: none; }
.pully-form.is-busy { opacity: .75; }
.pully-field--phone { container-type: inline-size; }
.pully-phone { display: grid; grid-template-columns: minmax(6.5rem, 8.5rem) minmax(0, 1fr); gap: 8px; }
@container (min-width: 440px) { .pully-phone { grid-template-columns: minmax(7rem, 11.5rem) minmax(0, 1fr); } }
.pully-phone :is(select, input) { width: 100%; min-width: 0; }
.pully-phone-cc { text-overflow: ellipsis; }
@media (max-width: 340px) { .pully-phone { grid-template-columns: minmax(0, 1fr); } }
.pully-warn { margin: .35em 0 0; color: var(--pully-warn); font-size: .88rem; font-weight: 600; }
.pully-warn[hidden] { display: none; }
.pully-field.has-warn :is(input:not([type="checkbox"], [type="radio"]), select, textarea) { border-color: var(--pully-warn); }
.pully-ai-note { margin: 10px 0 0; font-size: .82rem; color: var(--pully-muted); }

/* Contact pop-up */
.pully-contact-popup .pully-popup-box { padding: clamp(22px, 4vw, 34px); }
.pully-contact-title { margin: 0 2.2rem .35rem 0; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.pully-contact-lead { margin: 0 0 18px; color: var(--pully-muted); }
.pully-contact-loading, .pully-contact-error { margin: 0; padding: 18px 0; color: var(--pully-muted); }
.pully-contact-error { color: var(--pully-danger); font-weight: 600; }
.pully-contact-popup .pully-actions .pully-btn { width: 100%; justify-content: center; }

/* ===== Lightbox ===== */
.pully-lightbox { position: fixed; inset: 0; z-index: 1400; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgba(5, 8, 14, .94); color: #fff; outline: 0; }
.pully-lightbox[hidden] { display: none; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 56px 72px 8px; }
.lb-stage img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); border-radius: 6px; object-fit: contain; transition: opacity .2s; }
.pully-lightbox.is-loading .lb-stage img { opacity: .35; }
.lb-caption { margin: 0; padding: 8px 72px 20px; color: #e5e9f0; font-size: .95rem; text-align: center; }
.lb-caption[hidden] { display: none; }
.lb-count { position: absolute; top: 20px; inset-inline-start: 22px; color: #cbd2de; font-size: .9rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn[hidden] { display: none; }
.lb-prev { inset-inline-start: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 10px; inset-inline-end: 10px; }
@media (max-width: 640px) {
	.lb-stage { padding: 56px 8px 8px; }
	.lb-caption { padding-inline: 16px; }
	.lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

/* ===== Popups ===== */
.pully-popup { position: fixed; z-index: 1250; opacity: 0; transition: opacity .25s ease; }
.pully-popup.is-open { opacity: 1; }
.pully-popup[hidden] { display: none !important; }
.pully-popup-box { position: relative; width: min(var(--popup-w, 560px), 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; padding: 30px; background: var(--pully-bg); color: var(--pully-text); border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); outline: 0; }
.pully-popup-body > :last-child { margin-bottom: 0; }
.pully-popup-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: var(--pully-surface); border: 0; border-radius: 50%; color: inherit; cursor: pointer; }
.pully-popup-close:hover { color: var(--pully-link); }
.pully-popup.pos-center { inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(8, 12, 20, .55); }
.pos-center .pully-popup-box { transform: translateY(12px); transition: transform .25s ease; }
.pos-center.is-open .pully-popup-box { transform: none; }
.pully-popup.pos-bottom-right { inset-block-end: 16px; inset-inline-end: 16px; width: min(var(--popup-w, 560px), calc(100vw - 32px)); }
.pully-popup.pos-bottom-left { inset-block-end: 16px; inset-inline-start: 16px; width: min(var(--popup-w, 560px), calc(100vw - 32px)); }
:is(.pos-bottom-right, .pos-bottom-left) .pully-popup-box { width: 100%; }
.pully-popup:is(.pos-bottom-bar, .pos-top-bar) { inset-inline: 0; }
.pully-popup.pos-bottom-bar { bottom: 0; }
.pully-popup.pos-top-bar { top: 0; }
.admin-bar .pully-popup.pos-top-bar { top: 32px; }
:is(.pos-bottom-bar, .pos-top-bar) .pully-popup-box { width: 100%; padding: 16px 64px 16px var(--gutter); border-radius: 0; }
:is(.pos-bottom-bar, .pos-top-bar) .pully-popup-body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
:is(.pos-bottom-bar, .pos-top-bar) .pully-popup-body > * { margin: 0; }
.has-mobile-bar .pully-popup.pos-bottom-bar { bottom: 0; }

/* ===== Floating contact buttons and mobile bar ===== */
.pully-floats { position: fixed; bottom: 80px; z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.floats-right .pully-floats { inset-inline-end: 20px; }
.floats-left .pully-floats { inset-inline-start: 20px; }
.has-compare-bar .pully-floats, .has-sticky-quote .pully-floats { bottom: 150px; }
.has-sticky-quote .back-to-top { bottom: 84px; }
.site-footer .pully-layout-footer { max-width: var(--pully-container); margin-inline: auto; padding: clamp(24px, 4vw, 48px) var(--gutter); }
.site-footer .pully-layout-footer :is(h1, h2, h3, h4, h5, h6, p, li, a) { color: inherit; }
.float-btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); color: #fff; text-decoration: none; transition: transform .15s; }
.float-btn:hover { transform: scale(1.06); color: #fff; }
.float-wa { background: #128c4a; }
.float-call { background: var(--pully-primary); color: var(--pully-on-primary); }
.float-call:hover { color: var(--pully-on-primary); }
.pully-mobile-bar { display: none; }
@media (max-width: 760px) {
	.has-mobile-bar { padding-bottom: var(--mbar-h); }
	.pully-mobile-bar {
		position: fixed; inset-inline: 0; bottom: 0; z-index: 95; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		padding-bottom: env(safe-area-inset-bottom, 0); background: var(--pully-bg); border-top: 1px solid var(--pully-border); box-shadow: 0 -6px 20px rgba(10, 18, 32, .1);
	}
	.pully-mobile-bar :is(a, button) { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--mbar-h); padding: 6px 4px; background: none; border: 0; color: inherit; font-size: .72rem; text-decoration: none; cursor: pointer; }
	.pully-mobile-bar .cart-count { top: 4px; inset-inline-start: calc(50% + 6px); inset-inline-end: auto; }
	.has-mobile-bar .back-to-top { bottom: calc(var(--mbar-h) + 14px); }
	.has-mobile-bar .pully-floats { bottom: calc(var(--mbar-h) + 70px); }
	.has-mobile-bar .pully-compare-bar, .has-mobile-bar .pully-sticky-quote { bottom: var(--mbar-h); }
	.has-mobile-bar.has-compare-bar, .has-mobile-bar.has-sticky-quote { padding-bottom: calc(var(--mbar-h) + 76px); }
	.has-mobile-bar.has-compare-bar .back-to-top, .has-mobile-bar.has-sticky-quote .back-to-top { bottom: calc(var(--mbar-h) + 82px); }
	.has-mobile-bar.has-compare-bar .pully-floats, .has-mobile-bar.has-sticky-quote .pully-floats { bottom: calc(var(--mbar-h) + 138px); }
	.has-mobile-bar .pully-popup.pos-bottom-bar { bottom: var(--mbar-h); }
}

/* ===== Accessibility toolbar ===== */
.pully-a11y { position: fixed; inset-inline-start: 0; top: 45%; z-index: 990; }
.a11y-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--pully-text); color: var(--pully-bg); border: 0; border-start-end-radius: 10px; border-end-end-radius: 10px; cursor: pointer; }
.a11y-panel { position: absolute; top: 0; inset-inline-start: 52px; display: grid; gap: 8px; width: 230px; padding: 12px; background: var(--pully-bg); color: var(--pully-text); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); }
.a11y-panel[hidden] { display: none; }
@media (max-width: 760px) {
	.pully-a11y { top: auto; bottom: 14px; inset-inline-start: 10px; }
	.has-mobile-bar .pully-a11y { bottom: calc(var(--mbar-h, 62px) + 14px); }
	.a11y-toggle { border-radius: 50%; width: 42px; height: 42px; box-shadow: var(--pully-shadow); opacity: .92; }
	.a11y-panel { top: auto; bottom: 52px; inset-inline-start: 0; width: min(260px, calc(100vw - 24px)); }
}
.a11y-panel button { padding: .55em .8em; background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: 8px; color: inherit; text-align: start; cursor: pointer; }
.a11y-panel button:hover { border-color: var(--pully-primary); }
.a11y-panel button[aria-pressed="true"] { background: var(--pully-primary); border-color: var(--pully-primary); color: var(--pully-on-primary); }
html.a11y-links a:not(.pully-btn, .wp-block-button__link) { text-decoration: underline !important; }
html.a11y-readable body, html.a11y-readable :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea) { font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important; letter-spacing: .02em; }
html.a11y-readable body { line-height: 1.85; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root.a11y-contrast, :root[data-theme].a11y-contrast {
	color-scheme: dark;
	--pully-bg: #000; --pully-text: #fff; --pully-muted: #e8e8e8; --pully-surface: #111; --pully-border: #fff;
	--pully-primary: #ffd800; --pully-on-primary: #000; --pully-accent: #ffd800; --pully-on-accent: #000; --pully-secondary: #000;
	--pully-link: #8ec8ff; --pully-danger: #ff9b92; --pully-ok: #5ad48a;
}

/* ===== Header on small screens ===== */
@media (max-width: 760px) {
	.has-mobile-bar .header-actions [data-pully-enquiry-open] { display: none; }
}
@media (max-width: 560px) {
	.header-inner { gap: 8px; }
	.header-actions { gap: 0; }
	.header-actions .header-btn { width: 38px; height: 38px; }
	.header-actions [data-pully-compare-open] { display: none; }
	.site-title { font-size: var(--hdr-size-m, 1.15rem); }
	.site-tagline { font-size: var(--tag-size-m, .75rem); }
	/* A very long name must not make the header tall: two lines for the title, one for the tagline. */
	.brand-text .site-title, .brand-text .site-tagline { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
	.brand-text .site-title { -webkit-line-clamp: 2; line-clamp: 2; }
	.brand-text .site-tagline { -webkit-line-clamp: 1; line-clamp: 1; }
}

/* ===== Header layouts and options ===== */
.header--split .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.header--split .main-navigation { grid-column: 1; grid-row: 1; margin: 0; justify-self: start; }
.header--split .site-branding { grid-column: 2; grid-row: 1; align-items: center; text-align: center; }
.header--split .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
.header--split .header-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.header--split .main-navigation .menu { flex-wrap: nowrap; }
.header--split .main-navigation a { white-space: nowrap; padding-inline: 10px; }
@media (max-width: 1180px) {
	.header--split .main-navigation a { padding-inline: 7px; font-size: .94em; }
}
@media (max-width: 960px) {
	.header--split .header-inner, .header--centered .header-inner { display: flex; padding-block: 0; }
	.header--split .site-branding, .header--centered .site-branding { align-items: flex-start; text-align: start; margin-inline-end: auto; }
	.header--split .header-actions, .header--centered .header-actions { margin-inline-start: auto; }
}
.header--stacked .header-inner { display: grid; grid-template-columns: auto minmax(200px, 520px) 1fr; grid-template-areas: "brand search actions" "nav nav nav"; column-gap: 32px; row-gap: 0; padding-top: 12px; }
.header--stacked .site-branding { grid-area: brand; }
.header--stacked .header-search-inline { display: block; grid-area: search; width: 100%; }
.header--stacked .header-search-inline .search-field { border-radius: 999px; }
.header--stacked .header-actions { grid-area: actions; justify-self: end; }
.header--stacked .main-navigation { grid-area: nav; margin: 0; border-top: 1px solid var(--pully-border); margin-top: 12px; }
.header--stacked .header-search-btn { display: none; }
@media (max-width: 960px) {
	.header--stacked .header-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand actions"; padding-top: 0; }
	.header--stacked .header-search-inline { display: none; }
	.header--stacked .header-search-btn { display: inline-flex; }
}
.header-full .header-inner, .header-full.container { max-width: none; }
.header-edge-shadow { border-bottom-color: transparent; box-shadow: 0 2px 14px rgba(10, 18, 32, .08); }
.header-edge-none { border-bottom: 0; }
.site-header--custom { min-height: var(--header-h); }
.site-header--custom .pully-layout-header { max-width: var(--pully-container); margin-inline: auto; padding-inline: var(--gutter); }
.site-header--custom .pully-layout-header > .wp-block-group { align-items: center; gap: 16px 28px; }
.site-header--custom .pully-layout-header .main-navigation { margin-inline-start: 0; }
.site-header--custom .pully-layout-header .site-branding, .site-header--custom .pully-layout-header .header-actions { flex: none; }
.site-header--custom .pully-layout-header .pully-search-sc { flex: 1 1 120px; min-width: 120px; max-width: 340px; }
.site-header--custom .pully-layout-header .header-actions { margin-inline-start: auto; }
@media (max-width: 960px) {
	.site-header--custom .pully-layout-header > .wp-block-group { flex-wrap: nowrap; min-height: var(--header-h, 64px); }
	.site-header--custom .pully-layout-header .pully-search-sc { display: none; }
	.site-header--custom .pully-layout-header .header-actions { margin-inline-start: auto; }
}
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link .logo-alt { display: none; }
:root[data-theme="dark"] .custom-logo-link.has-logo-dark .logo-main { display: none; }
:root[data-theme="dark"] .custom-logo-link.has-logo-dark .logo-dark { display: block; }
.has-transparent-header .site-header:not(.is-stuck) .custom-logo-link.has-logo-light .logo-main { display: none; }
.has-transparent-header .site-header:not(.is-stuck) .custom-logo-link.has-logo-light .logo-light { display: block; }

/* ===== Footer ===== */
.footer-cta { background: var(--pully-primary); color: var(--pully-on-primary); }
.footer-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(32px, 5vw, 56px); }
@media (min-width: 761px) {
	.has-floats.floats-right .footer-cta-inner { padding-inline-end: calc(var(--gutter, 20px) + 76px); }
	.has-floats.floats-left .footer-cta-inner { padding-inline-start: calc(var(--gutter, 20px) + 76px); }
}
.footer-cta h2 { margin: 0 0 .25em; color: inherit; font-size: clamp(1.4rem, 3vw, 2rem); }
.footer-cta p { max-width: 46rem; margin: 0; opacity: .94; }
.footer-cta .pully-btn { background: var(--pully-on-primary); border-color: var(--pully-on-primary); color: var(--pully-primary); }
.footer-cta .pully-btn:hover { background: color-mix(in srgb, var(--pully-on-primary) 90%, var(--pully-primary)); color: var(--pully-primary); }
.footer--centered .footer-grid { justify-items: center; text-align: center; }
.footer--centered .footer-bottom-inner { justify-content: center; text-align: center; }

/* ===== Theme Builder areas ===== */
.pully-layout-area > .alignfull { width: 100%; max-width: none; margin-inline: 0; }

@media print {
	.pully-drawer, .pully-drawer-overlay, .pully-modal, .pully-compare-bar, .pully-floats, .pully-mobile-bar, .pully-a11y, .pully-popup, .pully-sticky-quote, .card-tools, .pully-toast, .pully-lightbox, .footer-cta { display: none !important; }
}

/* ===== Content components (shortcodes and patterns) ===== */
.pully-accordion { margin-block: 1.5em; border-top: 1px solid var(--pully-border); }
.pully-tabs { margin-block: 1.5em; }
.pully-tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--pully-border); }
.pully-tab-btn { padding: .7em 1.2em; margin-bottom: -1px; background: none; border: 1px solid transparent; border-radius: 8px 8px 0 0; color: var(--pully-muted); font-weight: 600; cursor: pointer; }
.pully-tab-btn:hover { color: var(--pully-link); }
.pully-tab-btn[aria-selected="true"] { background: var(--pully-bg); border-color: var(--pully-border); border-bottom-color: var(--pully-bg); color: var(--pully-text); }
.pully-tab-panel { padding: 22px 4px; }
.pully-tab-panel > :last-child { margin-bottom: 0; }
.pully-tab-heading { margin: 0 0 .6em; font-size: 1.2rem; }
.pully-tabs.is-ready .pully-tab-heading { display: none; }
.pully-tabs.is-ready .pully-tab-panel[hidden] { display: none; }
.pully-progress { margin-block: 1em; }
.progress-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; }
.progress-track { height: 10px; overflow: hidden; background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: 999px; }
.progress-track > span { display: block; height: 100%; background: var(--pully-primary); border-radius: 999px; }
.pully-countdown { margin-block: 1.5em; text-align: center; }
.countdown-units { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.countdown-unit { min-width: 92px; padding: 16px 12px; background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); }
.countdown-unit .num { display: block; font-family: var(--pully-font-heading); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: var(--pully-heading-weight); line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--pully-link); }
.countdown-unit .label { font-size: .85rem; color: var(--pully-muted); }
.countdown-units[hidden], .countdown-fallback[hidden] { display: none; }
.pully-countdown.is-done .countdown-units { display: none; }
.pully-logos { display: grid; align-items: center; gap: 28px; margin: 1.5em 0; padding: 0; list-style: none; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pully-logos.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pully-logos.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pully-logos.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pully-logos.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pully-logos.cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); } .pully-logos.cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.pully-logos img { width: 100%; max-height: 64px; margin-inline: auto; object-fit: contain; }
.pully-logos.is-gray img { filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.pully-logos.is-gray img:hover { filter: none; opacity: 1; }
@media (max-width: 760px) { .pully-logos[class*="cols-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pully-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-block: 1.5em; padding: clamp(24px, 4vw, 40px); background: var(--pully-primary); color: var(--pully-on-primary); border-radius: var(--pully-radius); }
.pully-cta h2 { margin: 0 0 .3em; color: inherit; }
.pully-cta p { margin: 0; }
.pully-cta .pully-btn { background: var(--pully-on-primary); border-color: var(--pully-on-primary); color: var(--pully-primary); }
.pully-search-sc { min-width: 220px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: .6em; background: var(--pully-primary); color: var(--pully-on-primary); border-radius: 50%; font-weight: 700; }
