/* ==========================================================================
   Quarterzip — main stylesheet
   Palette is taken from the header video: alpine night, sunset gold, granite
   (the grey quarter-zip), glacier mist.
   Logical properties are used throughout, so RTL (Arabic) works without a
   separate stylesheet.
   ========================================================================== */

:root {
  --qz-night: #101a24;
  --qz-night-2: #1b2a38;
  --qz-slate: #2c3e50;
  --qz-granite: #5c6975;
  --qz-line: #dbe3e9;
  --qz-mist: #e8eef2;
  --qz-snow: #f6f8f9;
  --qz-white: #ffffff;
  --qz-ink: #15212c;
  --qz-gold: #e8a94f;
  --qz-gold-d: #c98a2b;
  --qz-red: #b3382c;
  --qz-shade: .45;
  --qz-font-display: "Bricolage Grotesque", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --qz-font-body: "Hanken Grotesk", "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --qz-radius: 4px;
  --qz-wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--qz-snow); color: var(--qz-ink);
  font-family: var(--qz-font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--qz-gold-d); }
:focus-visible { outline: 3px solid var(--qz-gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--qz-font-display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qz-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--qz-gold); color: var(--qz-night); padding: .6em 1em; border-radius: var(--qz-radius); font-weight: 700; }
.qz-skip:focus { top: 12px; }

.qz-wrap { width: 100%; max-width: var(--qz-wrap); margin-inline: auto; padding-inline: 20px; }
.qz-wrap--narrow { max-width: 800px; }
.qz-mt { margin-top: 28px; }
.qz-section { padding-block: clamp(40px, 6vw, 84px); }
.qz-section--tint { background: var(--qz-mist); }
.qz-empty { padding: 28px; border: 1px dashed var(--qz-granite); border-radius: var(--qz-radius); color: var(--qz-granite); text-align: center; }
.qz-fineprint { margin-top: 22px; font-size: .8125rem; color: var(--qz-granite); }
.qz-lead { font-size: 1.25rem; color: var(--qz-granite); }

/* ---------- zip-line motif ---------- */
.qz-zip { position: relative; display: block; width: 84px; height: 6px; margin-top: 14px;
  background: repeating-linear-gradient(90deg, var(--qz-gold) 0 3px, transparent 3px 7px); }
.qz-zip::before { content: ""; position: absolute; inset-inline-start: -5px; top: -6px; width: 15px; height: 18px;
  border: 2px solid var(--qz-gold); border-radius: 4px 4px 9px 9px; background: var(--qz-zip-bg, var(--qz-snow)); }
.qz-section--tint .qz-zip::before { --qz-zip-bg: var(--qz-mist); }

/* ---------- buttons ---------- */
.qz-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border: 2px solid transparent;
  border-radius: var(--qz-radius); font: 700 .9375rem/1.1 var(--qz-font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s; }
.qz-btn--gold { background: var(--qz-gold); color: var(--qz-night); }
.qz-btn--gold:hover { background: #f3bb6b; color: var(--qz-night); }
.qz-btn--dark { background: var(--qz-night); color: #fff; }
.qz-btn--dark:hover { background: var(--qz-slate); color: #fff; }
.qz-btn--glass { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .55); color: #fff; backdrop-filter: blur(6px); }
.qz-btn--glass:hover { background: rgb(255 255 255 / .25); color: #fff; }
.qz-btn--lg { padding: .95em 1.7em; font-size: 1rem; }
.qz-link { font-weight: 600; color: var(--qz-slate); text-decoration: underline; }

/* ---------- header ---------- */
.qz-header { position: relative; color: #fff; background: var(--qz-night); isolation: isolate; }
.qz-topbar { position: relative; z-index: 3; background: rgb(8 14 20 / .55); font-size: .78rem; }
.qz-topbar p { margin: 0; padding: 7px 0; text-align: center; color: rgb(255 255 255 / .85); }
.qz-nav { position: relative; z-index: 3; }
.qz-nav__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.qz-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.qz-brand:hover { color: #fff; }
.qz-brand__logo { max-height: 44px; width: auto; }
.qz-brand__name { font: 800 1.5rem/1 var(--qz-font-display); letter-spacing: -.02em; }
.qz-brand__mark { color: var(--qz-gold); flex: none; }
.qz-primary { margin-inline-start: auto; }
.qz-menu, .qz-flist, .qz-social { list-style: none; margin: 0; padding: 0; }
.qz-menu { display: flex; gap: 6px; }
.qz-menu a { display: block; padding: .6em .9em; color: #fff; text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: var(--qz-radius); }
.qz-menu a:hover, .qz-menu .current-menu-item > a { background: rgb(255 255 255 / .14); color: #fff; }
.qz-menu li { position: relative; }
.qz-menu .sub-menu { display: none; position: absolute; inset-inline-start: 0; top: 100%; min-width: 220px; padding: 8px; margin: 0; list-style: none; background: var(--qz-night-2); border-radius: var(--qz-radius); z-index: 20; }
.qz-menu li:hover > .sub-menu, .qz-menu li:focus-within > .sub-menu { display: block; }
.qz-nav__actions { display: flex; gap: 6px; }
.qz-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; color: #fff; border-radius: var(--qz-radius); cursor: pointer; }
.qz-iconbtn:hover { background: rgb(255 255 255 / .14); }
.qz-burger { display: none; }
.qz-burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 3px 0; transition: transform .2s, opacity .2s; }
.qz-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.qz-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qz-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.qz-searchpanel { background: var(--qz-night-2); padding: 14px 0; }
.qz-searchpanel[hidden] { display: none; }

/* solid header (posts, 404, or inner pages without video) */
.qz-header--solid { background: var(--qz-night); }
.qz-header--solid .qz-band { padding-block: 22px 40px; }

/* video layer */
.qz-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--qz-night); }
.qz-video__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.qz-video__shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(16 26 36 / calc(var(--qz-shade) + .3)) 0%, rgb(16 26 36 / calc(var(--qz-shade) * .35)) 38%, rgb(16 26 36 / calc(var(--qz-shade) + .38)) 100%); }
[dir="rtl"] .qz-video__el { object-position: 30% 40%; }
.qz-video__toggle { position: absolute; z-index: 4; inset-inline-end: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .55); background: rgb(16 26 36 / .5); color: #fff; cursor: pointer; display: grid; place-items: center; }
.qz-video__toggle[hidden] { display: none; }
.qz-video__toggle span { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.qz-video__toggle[aria-pressed="true"] span { width: 0; height: 0; border-inline: 0; border-block: 7px solid transparent; border-inline-start: 12px solid currentColor; }
[dir="rtl"] .qz-video__toggle[aria-pressed="true"] span { transform: scaleX(-1); }

/* hero */
.qz-header--hero { min-height: min(90svh, 820px); display: flex; flex-direction: column; }
.qz-hero { position: relative; z-index: 3; margin-top: auto; padding-block: 48px clamp(48px, 9vh, 96px); }
.qz-hero__title { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 800; max-width: 13ch; margin-bottom: .3em; text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.qz-hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 34em; color: rgb(255 255 255 / .92); text-shadow: 0 1px 14px rgb(0 0 0 / .4); }
.qz-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* band (inner pages) */
.qz-header--band { min-height: clamp(280px, 38vh, 380px); display: flex; flex-direction: column; }
.qz-band { position: relative; z-index: 3; margin-top: auto; padding-block: 28px 44px; }
.qz-band__title { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 0; text-wrap: balance; }
.qz-band__desc { max-width: 40em; margin: .7em 0 0; color: rgb(255 255 255 / .88); }

/* ---------- breadcrumbs ---------- */
.qz-crumbs { font-size: .84rem; margin: 18px 0 8px; color: var(--qz-granite); }
.qz-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.qz-crumbs li + li::before { content: "/"; margin-inline: .6em; opacity: .55; }
.qz-crumbs a { text-decoration: none; }
.qz-crumbs a:hover { text-decoration: underline; }
.qz-crumbs--light { color: rgb(255 255 255 / .8); margin-top: 0; }
.qz-crumbs--light a:hover { color: #fff; }

/* ---------- section heading ---------- */
.qz-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.qz-sechead__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0; }
.qz-sechead__link { font-weight: 700; color: var(--qz-slate); white-space: nowrap; }

/* ---------- trust ---------- */
.qz-trust { background: var(--qz-white); border-bottom: 1px solid var(--qz-line); }
.qz-trust__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.qz-trust__item { padding: 28px 28px; }
.qz-trust__item + .qz-trust__item { border-inline-start: 1px solid var(--qz-line); }
.qz-trust__item:first-child { padding-inline-start: 0; }
.qz-trust__item h2 { font-size: 1.1rem; margin-bottom: .25em; }
.qz-trust__item p { margin: 0; color: var(--qz-granite); font-size: .95rem; }

/* ---------- grids + cards ---------- */
.qz-grid { display: grid; gap: 22px; }
.qz-grid--products, .qz-grid--mixed { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); }
.qz-grid--articles { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.qz-card { position: relative; display: flex; flex-direction: column; background: var(--qz-white); border: 1px solid var(--qz-line); border-radius: var(--qz-radius); overflow: hidden; min-width: 0; }
.qz-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--qz-white); overflow: hidden; }
.qz-card__media img { width: 100%; height: 100%; display: block; }
.qz-card--product .qz-card__media { border-bottom: 1px solid var(--qz-line); }
.qz-card--product .qz-card__media img { object-fit: contain; padding: 14px; }
.qz-card--article .qz-card__media { background: var(--qz-mist); }
.qz-card--article .qz-card__media img { object-fit: cover; }
.qz-card__ph { display: block; width: 100%; height: 100%; background: var(--qz-mist); }
.qz-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.qz-card__title { font-size: 1.06rem; font-weight: 700; line-height: 1.3; margin: 0 0 .5em; }
.qz-card__title a { text-decoration: none; }
.qz-card__title a:hover { text-decoration: underline; }
.qz-card__excerpt { color: var(--qz-granite); font-size: .95rem; margin-bottom: .6em; }
.qz-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.qz-card__actions .qz-btn { padding: .6em 1em; font-size: .86rem; }
.qz-card.is-unavailable { opacity: .75; }

.qz-tag { position: absolute; inset-block-start: 10px; inset-inline-start: 0; background: var(--qz-night); color: var(--qz-gold); font: 800 .78rem/1 var(--qz-font-body);
  padding: 7px 10px 7px 9px; border-start-end-radius: 3px; border-end-end-radius: 3px; }
.qz-price { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.qz-price strong { font: 800 1.25rem/1.1 var(--qz-font-display); }
.qz-price s { color: var(--qz-granite); font-size: .92rem; }
.qz-price small { flex-basis: 100%; color: var(--qz-granite); font-size: .74rem; }
.qz-price--na { color: var(--qz-granite); font-weight: 600; }

.qz-cat { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--qz-gold-d); text-decoration: none; margin-bottom: .45em; }
.qz-cat:hover { text-decoration: underline; }
.qz-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .82rem; color: var(--qz-granite); }
.qz-card__body .qz-meta { margin-top: auto; }

/* featured articles on home */
.qz-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.qz-feature__rest { display: grid; gap: 14px; }
.qz-card--wide .qz-card__media { aspect-ratio: 16 / 9; }
.qz-card--wide .qz-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.qz-card--row { flex-direction: row; }
.qz-card--row .qz-card__media { width: 132px; flex: none; aspect-ratio: auto; }
.qz-card--row .qz-card__body { padding: 12px 14px; }
.qz-card--row .qz-card__title { font-size: 1rem; }

/* categories on home: type-led list, not cards */
.qz-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.qz-cats a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--qz-granite); text-decoration: none; }
.qz-cats a:hover .qz-cats__name { color: var(--qz-gold-d); }
.qz-cats__name { font: 700 clamp(1.3rem, 2.2vw, 1.8rem)/1.1 var(--qz-font-display); }
.qz-cats__count { font-size: .85rem; color: var(--qz-granite); white-space: nowrap; }

/* how we make money */
.qz-section--how { background: var(--qz-night); color: #fff; --qz-zip-bg: var(--qz-night); }
.qz-section--how .qz-zip::before { --qz-zip-bg: var(--qz-night); background: var(--qz-night); }
.qz-how { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.qz-how__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0; }
.qz-how p { color: rgb(255 255 255 / .85); }
.qz-how__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.qz-how .qz-link { color: var(--qz-gold); }

/* ---------- filters / deals ---------- */
.qz-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 16px; margin-bottom: 26px; background: var(--qz-white); border: 1px solid var(--qz-line); border-radius: var(--qz-radius); }
.qz-filters label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--qz-granite); }
.qz-filters select, .qz-filters input { min-width: 128px; padding: .6em .7em; font: inherit; font-weight: 500; color: var(--qz-ink); background: var(--qz-snow); border: 1px solid var(--qz-line); border-radius: var(--qz-radius); }
.qz-intro { margin-bottom: 26px; max-width: 46em; }

/* pagination */
.qz-pager, .navigation.pagination { margin-top: 36px; }
.qz-pager ul, .navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.page-numbers { display: inline-block; padding: .55em .9em; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); background: var(--qz-white); text-decoration: none; font-weight: 600; }
a.page-numbers:hover { border-color: var(--qz-night); color: var(--qz-ink); }
.page-numbers.current { background: var(--qz-night); color: #fff; border-color: var(--qz-night); }
.screen-reader-text + .nav-links { margin-top: 0; }

/* ---------- search form ---------- */
.qz-search { display: flex; gap: 10px; max-width: 640px; }
.qz-search input[type="search"] { flex: 1; min-width: 0; padding: .8em 1em; font: inherit; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); background: #fff; color: var(--qz-ink); }

/* ---------- single ---------- */
.qz-single__head { padding-block: 10px 6px; }
.qz-single__title { font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 800; margin-bottom: .35em; text-wrap: balance; }
.qz-meta--single { margin-bottom: 22px; font-size: .9rem; }
.qz-single__media { margin: 0 0 26px; }
.qz-single__media img { width: 100%; border-radius: var(--qz-radius); display: block; }
.qz-notice { margin: 0 0 24px; padding: 12px 16px; background: #fff7e7; border-inline-start: 4px solid var(--qz-gold); border-radius: 0 var(--qz-radius) var(--qz-radius) 0; font-size: .9rem; color: #4d3a14; }
[dir="rtl"] .qz-notice { border-radius: var(--qz-radius) 0 0 var(--qz-radius); }
.qz-notice a { font-weight: 700; }
.qz-single__foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--qz-line); }
.qz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-tags a { padding: .3em .7em; background: var(--qz-mist); border-radius: 999px; text-decoration: none; font-size: .85rem; }
.qz-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .9rem; margin: 18px 0; }
.qz-share span { font-weight: 700; }
.qz-share a, .qz-copy { color: var(--qz-slate); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.qz-author { display: flex; gap: 16px; padding: 18px; background: var(--qz-white); border: 1px solid var(--qz-line); border-radius: var(--qz-radius); margin-top: 22px; }
.qz-author__img { border-radius: 50%; flex: none; }
.qz-author p { margin: 0; }
.qz-author__label { font-size: .78rem; color: var(--qz-granite); }
.qz-author__name { font-weight: 700; }
.qz-author__bio { margin-top: 4px !important; font-size: .92rem; color: var(--qz-granite); }

/* prose */
.qz-prose { font-size: 1.125rem; line-height: 1.78; }
.qz-prose > * { max-width: 100%; }
.qz-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 1.7em 0 .5em; scroll-margin-top: 20px; }
.qz-prose h3 { font-size: 1.3rem; margin: 1.5em 0 .4em; }
.qz-prose a { color: var(--qz-slate); font-weight: 600; }
.qz-prose a:hover { color: var(--qz-gold-d); }
.qz-prose ul, .qz-prose ol { padding-inline-start: 1.4em; }
.qz-prose li { margin-bottom: .4em; }
.qz-prose blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.2em; border-inline-start: 4px solid var(--qz-gold); color: var(--qz-slate); font-size: 1.2rem; }
.qz-prose img { border-radius: var(--qz-radius); }
.qz-prose figure { margin: 1.6em 0; }
.qz-prose figcaption { font-size: .85rem; color: var(--qz-granite); text-align: center; margin-top: .5em; }
.qz-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.qz-prose th, .qz-prose td { padding: 10px; border: 1px solid var(--qz-line); text-align: start; }
.qz-prose th { background: var(--qz-mist); }
.qz-prose pre, .qz-prose code { font-size: .9em; background: var(--qz-mist); border-radius: 3px; }
.qz-prose pre { padding: 14px; overflow-x: auto; }
.qz-prose code { padding: .1em .35em; }
.qz-prose hr { border: 0; height: 1px; background: var(--qz-line); margin: 2.4em 0; }
.qz-prose .alignwide { max-width: none; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-block-image img { height: auto; }
.qz-fullwidth > * { max-width: none; }

/* table of contents */
.qz-toc { margin: 0 0 30px; padding: 18px 22px; background: var(--qz-white); border: 1px solid var(--qz-line); border-radius: var(--qz-radius); font-size: .98rem; }
.qz-toc__title { margin: 0 0 .5em; font: 800 1rem var(--qz-font-display); }
.qz-toc ol { margin: 0; padding-inline-start: 1.3em; }
.qz-toc li { margin-bottom: .3em; }
.qz-toc a { text-decoration: none; font-weight: 500; }
.qz-toc a:hover { text-decoration: underline; }

/* ---------- AI Article Builder content (product posts) ---------- */
.qz-prose .aia-amazon-image { margin: 0 0 18px !important; }
.qz-prose .aia-amazon-image img { max-height: 460px; width: auto; max-width: 100%; margin-inline: auto; background: #fff; padding: 12px; border: 1px solid var(--qz-line); }
.qz-cta-row { text-align: center; margin: 0 0 14px; font-size: 1rem; }
.qz-cta-row strong { font-weight: inherit; }
.aia-cta { transition: background-color .15s; }
.qz-prose .aia-cta, .aia-hub .aia-cta {
  display: inline-block !important; background: var(--qz-gold) !important; color: var(--qz-night) !important; padding: .85em 1.7em !important;
  border-radius: var(--qz-radius) !important; font: 700 1rem/1.1 var(--qz-font-body) !important; text-decoration: none !important; white-space: nowrap; }
.qz-prose .aia-cta:hover { background: #f3bb6b !important; }
.qz-prose .aia-compare-wrap { margin: 18px 0 !important; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); }
.qz-prose table.aia-compare { margin: 0; font-size: .92rem; background: #fff; }
.qz-prose table.aia-compare th { background: var(--qz-night) !important; color: #fff; border-color: var(--qz-night) !important; padding: 12px 10px !important; }
.qz-prose table.aia-compare td { border-color: var(--qz-line) !important; }
.qz-prose table.aia-compare .aia-cta { padding: .6em 1em !important; font-size: .86rem !important; }
.qz-prose .aia-related { margin-top: 28px; }

/* plugin Deals Hub shortcode, restyled to match */
.aia-hub-filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 16px; margin-bottom: 26px; background: #fff; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); }
.aia-hub-filters label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--qz-granite); }
.aia-hub-filters select, .aia-hub-filters input { padding: .6em .7em; font: inherit; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); background: var(--qz-snow); }
.aia-hub-filters button { padding: .8em 1.3em; background: var(--qz-night); color: #fff; border: 0; border-radius: var(--qz-radius); font-weight: 700; cursor: pointer; }
.aia-hub-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important; gap: 22px !important; }
.aia-hub-card { border: 1px solid var(--qz-line) !important; border-radius: var(--qz-radius) !important; background: #fff !important; padding: 14px !important; text-align: start !important; }
.aia-hub-card h3 { font-size: 1.02rem !important; }
.aia-hub-card a { text-decoration: none; }
.aia-hub-price strong { font-family: var(--qz-font-display); font-size: 1.2rem; }
.aia-hub-off { color: var(--qz-red) !important; }
.aia-hub-btn { margin-top: 8px; text-align: center; }
.aia-hub-pages .page-numbers { border-radius: var(--qz-radius) !important; }
.aia-hub-pages .current { background: var(--qz-night) !important; }

/* sticky buy bar (mobile, product posts) */
.qz-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--qz-night); color: #fff; box-shadow: 0 -6px 24px rgb(0 0 0 / .25);
  transform: translateY(110%); transition: transform .25s; }
.qz-sticky[hidden] { display: none; }
.qz-sticky.is-on { transform: none; }
.qz-sticky__txt { display: flex; flex-direction: column; min-width: 0; font-size: .86rem; line-height: 1.25; }
.qz-sticky__txt strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-sticky__txt span { color: var(--qz-gold); font-weight: 700; }
.qz-sticky .aia-cta { padding: .7em 1.1em; }
@media (min-width: 900px) { .qz-sticky { display: none !important; } }

/* ---------- pages ---------- */
.qz-page-title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
.qz-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.qz-contact__mail { font-weight: 700; margin-top: 18px; }
.qz-form p { margin: 0 0 16px; }
.qz-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.qz-form input[type="text"], .qz-form input[type="email"], .qz-form textarea { width: 100%; padding: .8em .9em; font: inherit; color: var(--qz-ink); background: #fff; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); }
.qz-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qz-alert { padding: 12px 16px; border-radius: var(--qz-radius); font-weight: 600; }
.qz-alert--ok { background: #e4f5e9; color: #14532d; }
.qz-alert--err { background: #fde8e6; color: #7a1f16; }

.qz-faq__item { border-top: 1px solid var(--qz-line); padding: 4px 0; }
.qz-faq__item:last-child { border-bottom: 1px solid var(--qz-line); }
.qz-faq__item summary { cursor: pointer; padding: 14px 0; font: 700 1.1rem var(--qz-font-display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qz-faq__item summary::-webkit-details-marker { display: none; }
.qz-faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--qz-gold-d); }
.qz-faq__item[open] summary::after { content: "\2212"; }
.qz-faq__a { padding-bottom: 12px; color: var(--qz-slate); }
.qz-sitemap h2 { font-size: 1.3rem; margin-top: 1.4em; }

.qz-404 { text-align: start; }
.qz-404__code { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--qz-font-display); color: var(--qz-mist); margin: 0; -webkit-text-stroke: 2px var(--qz-granite); }
.qz-404__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* comments */
.qz-comments__title, .comment-reply-title { font-size: 1.4rem; }
.qz-comments__list { list-style: none; padding: 0; }
.qz-comments__list .comment-body { padding: 16px 0; border-top: 1px solid var(--qz-line); }
.qz-comments__list .children { list-style: none; padding-inline-start: 24px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: .7em; font: inherit; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); }

/* ---------- footer ---------- */
.qz-footer { background: var(--qz-night); color: rgb(255 255 255 / .82); margin-top: 0; }
.qz-footer a { color: inherit; text-decoration: none; }
.qz-footer a:hover { color: var(--qz-gold); text-decoration: underline; }
.qz-footer__extra { padding-block: 36px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.qz-widget__title { font-size: 1.1rem; color: #fff; }
.qz-footer__main { padding-block: 56px 36px; }
.qz-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.qz-footer__brand p { max-width: 30em; margin-top: 14px; }
.qz-footer__col h2 { font-size: .95rem; color: #fff; margin-bottom: .9em; }
.qz-flist li { margin-bottom: .55em; }
.qz-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.qz-social a { font-weight: 600; font-size: .9rem; }
.qz-footer__base { border-top: 1px solid rgb(255 255 255 / .12); font-size: .82rem; }
.qz-footer__baserow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.qz-footer__baserow p { margin: 0; }
.qz-footer__disclosure { flex: 1 1 340px; }
.qz-totop { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .qz-footer__grid { grid-template-columns: 1fr 1fr; }
  .qz-feature { grid-template-columns: 1fr; }
  .qz-cats { grid-template-columns: repeat(2, 1fr); }
  .qz-how, .qz-contact { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .qz-burger { display: inline-grid; }
  .qz-primary { position: absolute; inset-inline: 0; top: 100%; margin: 0; background: var(--qz-night); display: none; padding: 8px 20px 18px; border-top: 1px solid rgb(255 255 255 / .12); }
  .qz-primary.is-open { display: block; }
  .qz-nav__row { justify-content: space-between; }
  .qz-nav__actions { margin-inline-start: auto; }
  .qz-menu { flex-direction: column; gap: 0; }
  .qz-menu a { padding: .9em .4em; border-bottom: 1px solid rgb(255 255 255 / .1); border-radius: 0; }
  .qz-menu .sub-menu { display: block; position: static; background: transparent; padding: 0 0 0 14px; }
  .qz-trust__row { grid-template-columns: 1fr; }
  .qz-trust__item, .qz-trust__item:first-child { padding: 18px 0; }
  .qz-trust__item + .qz-trust__item { border-inline-start: 0; border-top: 1px solid var(--qz-line); }
  body.qz-is-product { padding-bottom: 70px; }
}
@media (max-width: 560px) {
  .qz-grid--products, .qz-grid--mixed { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .qz-card__body { padding: 12px; }
  .qz-card__actions { flex-direction: column; align-items: stretch; }
  .qz-card__actions .qz-link { text-align: center; }
  .qz-cats { grid-template-columns: 1fr; }
  .qz-footer__grid { grid-template-columns: 1fr; }
  .qz-sechead { align-items: flex-start; flex-direction: column; gap: 10px; }
  .qz-search { flex-direction: column; }
  .qz-header--hero { min-height: 86svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .qz-header, .qz-footer, .qz-sticky, .qz-share, .qz-toc { display: none !important; }
  body { background: #fff; }
}


/* Quarterzip product-card refinement: clear price hierarchy, quiet discount badge, one strong CTA. */
.qz-card--product { border-color: #e5e8ec; box-shadow: 0 5px 20px rgb(14 25 38 / .045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.qz-card--product:hover { transform: translateY(-3px); border-color: #d5b56b; box-shadow: 0 12px 28px rgb(14 25 38 / .09); }
.qz-card--product .qz-card__media { aspect-ratio: 1 / 1; padding: 8px; }
.qz-card--product .qz-card__media img { padding: 10px; }
.qz-card--product .qz-card__body { padding: 15px 16px 16px; gap: 0; }
.qz-card--product .qz-card__title { font-size: 1rem; line-height: 1.42; margin: 0 0 12px; min-height: 2.8em; }
.qz-card--product .qz-tag { inset-block-start: 12px; inset-inline-start: 12px; border-radius: 5px; background: #b63c32; color: #fff; padding: 7px 9px; font-size: .74rem; letter-spacing: .01em; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.qz-card--product .qz-price { display: flex; align-items: baseline; gap: 6px 9px; margin: 0 0 10px; min-height: 29px; }
.qz-card--product .qz-price strong { color: #172b3b; font: 800 1.42rem/1.1 var(--qz-font-display); letter-spacing: -.025em; }
.qz-card--product .qz-price s { color: #737d87; font-size: .88rem; }
.qz-card--product .qz-price small { margin-top: 2px; font-size: .7rem; color: #737d87; }
.qz-card--product .qz-card__actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid #edf0f2; }
.qz-card--product .qz-card__actions .qz-btn { width: 100%; min-height: 43px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: .9rem; font-weight: 800; }
.qz-card--product .qz-product-details { order: 2; text-align: center; font-size: .82rem; color: #5f6871; text-decoration: none; padding: 3px 0 0; }
.qz-card--product .qz-product-details:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .qz-grid--products, .qz-grid--mixed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qz-card--product .qz-card__body { padding: 11px 11px 12px; }
  .qz-card--product .qz-card__title { font-size: .91rem; min-height: 3.9em; margin-bottom: 9px; }
  .qz-card--product .qz-price strong { font-size: 1.2rem; }
  .qz-card--product .qz-price s { font-size: .78rem; }
  .qz-card--product .qz-tag { inset-block-start: 8px; inset-inline-start: 8px; font-size: .67rem; padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) { .qz-card--product { transition: none; } .qz-card--product:hover { transform: none; } }


/* FAQ accordion */
.qz-faq{display:grid;gap:12px;margin:24px 0}.qz-faq__item{border:1px solid var(--qz-border,#e5e7eb);border-radius:12px;background:#fff;overflow:hidden}.qz-faq__item summary{cursor:pointer;list-style:none;padding:17px 20px;font-weight:700;color:var(--qz-ink,#18212f);display:flex;align-items:center;justify-content:space-between;gap:16px}.qz-faq__item summary::-webkit-details-marker{display:none}.qz-faq__item summary:after{content:"+";font-size:22px;line-height:1;color:var(--qz-gold,#b78b42)}.qz-faq__item[open] summary:after{content:"−"}.qz-faq__answer{padding:0 20px 18px;color:var(--qz-muted,#4b5563);line-height:1.75}.qz-faq__answer p:last-child{margin-bottom:0}
