/* ResQVac additions: logo sizes, safety steps, storage spots, five-pack pricing. */

/* ---- logo (wider than the old one) ---- */
html body .site-brand-logo[src*="ResQVac"] { height: 32px; width: auto; margin: 0; }
html body .sf-logo[src*="ResQVac"] { height: 32px; width: auto; margin: 0; filter: none; }
@media (max-width: 1199px) { html body .site-brand-logo[src*="ResQVac"] { height: 27px; } }
@media (max-width: 575px) {
    html body .site-brand-logo[src*="ResQVac"] { height: 24px; }
    html body .sf-logo[src*="ResQVac"] { height: 28px; }
}
@media (max-width: 359px) { html body .site-brand-logo[src*="ResQVac"] { height: 20px; } }

/* ---- top banner follows the brand colour ---- */
html body .promo-banner { background-color: var(--accent); }


/* ---- comparison: cells that depend on the unit ---- */
.rq-varies { display: inline-block; color: #4b5563; font-size: 13px; font-weight: 700; }

.rq-stars { color: #ffc107; font-size: 22px; line-height: 1; letter-spacing: 2px; }
.rq-rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 0; color: #374151; font-size: 15px; }
@media (max-width: 575px) {
    .rq-rating { margin-top: 16px; }
    .rq-rating .rq-sep { display: none; }
    .rq-rating .rq-rated { display: block; }
}

/* ---- comparison table and advantage list ---- */
.rq-compare { padding: 56px 0; background: #fff; }
.rq-table-card { max-width: 960px; margin: 0 auto; overflow: hidden; border: 1px solid #e7e3df; border-radius: 14px; background: #fff; }
.rq-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #111827; }
.rq-table th, .rq-table td { padding: 14px 10px; border-bottom: 1px solid #ece8e4; text-align: center; vertical-align: middle; }
.rq-table tbody tr:last-child > * { border-bottom: 0; }
.rq-table th:first-child { width: 34%; padding-left: 20px; text-align: left; }
.rq-table thead th { font-size: 15px; font-weight: 800; line-height: 1.3; }
.rq-table tbody th { font-size: 15px; font-weight: 600; line-height: 1.4; }
.rq-table .rq-ours { border-bottom-color: rgba(255, 255, 255, 0.22); background: var(--accent); color: #fff; }
.rq-table thead .rq-ours { font-size: 18px; }
.rq-yes, .rq-no { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; }
.rq-yes { background: #2e9e48; color: #fff; }
.rq-no { background: #1e293b; color: #fff; }
.rq-ours .rq-yes { background: #fff; color: var(--accent); }
.rq-text { color: #4b5563; font-size: 14px; font-weight: 700; }

@media (max-width: 575px) {
    .rq-compare { padding: 40px 0; }
    .rq-compare .rq-wrap { padding: 0 12px; }
    .rq-table th, .rq-table td { padding: 11px 3px; }
    .rq-table th:first-child { width: 34%; padding-left: 10px; }
    .rq-table thead th { font-size: 11px; }
    .rq-table thead .rq-ours { font-size: 12.5px; }
    .rq-table tbody th { font-size: 12px; }
    .rq-text { font-size: 11.5px; }
    .rq-yes, .rq-no { width: 22px; height: 22px; font-size: 11px; }
}

/* ---- rating line above the main headline ---- */
html body .rq-hero-rating { justify-content: flex-start; gap: 8px; margin: 0 0 4px; font-size: 14px; }
.rq-hero-rating .rq-stars { font-size: 18px; }
@media (max-width: 575px) { html body .rq-hero-rating { justify-content: center; margin: 0; font-size: 13.5px; text-align: center; } }

/* ---- expert quote ---- */
html body .expert-section .rq-expert-stars { display: block; margin: 4px 0 8px; color: #ffdc32; font-size: 24px; }
html body .expert-section .rq-expert-headline { max-width: 760px; margin: 0 auto 10px; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.35; }
html body .expert-section .expert-quote.rq-expert-quote { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.7; }
html body .expert-section .rq-sample { display: inline-block; margin: 14px 0 0; padding: 4px 14px; border: 1px dashed rgba(255, 255, 255, 0.75); border-radius: 999px; color: #fff; font-size: 12.5px; }
@media (max-width: 575px) {
    html body .expert-section .rq-expert-headline { font-size: 19px; }
    html body .expert-section .expert-quote.rq-expert-quote { font-size: 15.5px; }
}

/* ---- a claim shown in the layout but still waiting for proof ---- */
html body .rq-slot { color: #6b7280; font-style: italic; font-weight: 500; }

/* ---- the squarer photo in the how-it-works story ---- */
html body .rq-works .gw-figure img { width: 100%; max-width: 480px; height: auto; margin: 0 auto; border-radius: 14px; }

/* ---- how-it-works photo: no black bars beside it ---- */
html body .rq-works .gw-figure { background: transparent; }

/* ---- timeline in the brand colour ---- */
html body .expect-timeline-section .expect-timeline-line, html body .expect-timeline-section .expect-bullet-icon-wrapper { background-color: var(--accent) !important; }
html body .expect-timeline-section .expect-timeline-marker svg circle { fill: var(--accent) !important; }
html body .expect-timeline-section .expect-step-box { border-color: var(--accent-border) !important; background: var(--accent-light) !important; }
html body .expect-timeline-section .expect-box-title { color: var(--accent) !important; }
html body .expect-timeline-section .expect-box-content, html body .expect-timeline-section .expect-box-content p { color: #374151 !important; }

/* phone timeline */
html body .journey-timeline-section .timeline-marker, html body .journey-timeline-section .list-emoji { background-color: var(--accent) !important; }
html body .journey-timeline-section .info-card-green { border-color: var(--accent-border) !important; background: var(--accent-light) !important; }
html body .journey-timeline-section .info-card-green, html body .journey-timeline-section .info-card-green :is(h4, h5, h6) { color: var(--accent) !important; }
html body .journey-timeline-section .info-card-green p { color: #374151 !important; }
html body .journey-timeline-section::before, html body .journey-timeline-section .journey-container::before,
html body .journey-timeline-section .timeline-vertical-line { background: var(--accent) !important; }
html body .journey-timeline-section .timeline-heading { color: #111827; }

/* ---- videos that stand where photos were ---- */
html body video.rq-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #e9e6e2; object-fit: cover; }
html body .rq-works .gw-figure video.rq-video { max-width: 640px; margin: 0 auto; }

/* ---- leftover greens from the old theme ---- */
html body .sources-section a { color: var(--accent); }
html body .whn-section { background: #f6f4f3; }
html body .whn-media { border-color: #e7e3df; }

/* ---- how-to drawings: show the whole picture ---- */
html body .clinical-step-media img { width: 100%; height: auto; max-height: 380px; object-fit: contain; background: #fff; }
html body .mobile-step-img[src*="ResQVac-Step"] { object-fit: contain; background: #fff; }

/* ---- short lines that sit near order buttons ---- */
.rq-note { max-width: 420px; margin: 8px 0 0 4px; color: #4b5563; font-size: 12.5px; line-height: 1.45; }
.rq-note-center { margin-left: auto; margin-right: auto; text-align: center; }
.hero-tagline { margin: 0; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- shared section frame ---- */
.rq-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; text-align: center; }
.rq-eyebrow { margin: 0 0 6px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rq-lead { max-width: 640px; margin: 8px auto 28px; color: #4b5563; font-size: 16px; line-height: 1.6; }

/* ---- what to do, in order ---- */
.rq-safety { padding: 56px 0; background: #f6f4f3; }
.rq-order { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: rq; text-align: left; }
.rq-order li { padding: 18px 16px; border: 1px solid #e7e3df; border-radius: 12px; background: #fff; counter-increment: rq; }
.rq-order li::before { content: counter(rq); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.rq-order h3 { margin: 0 0 6px; color: #111827; font-size: 16px; font-weight: 800; }
.rq-order p { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.55; }
.rq-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.rq-numbers li { padding: 8px 16px; border: 1px solid #e7e3df; border-radius: 999px; background: #fff; color: #374151; font-size: 14px; }
.rq-numbers strong { margin-right: 4px; color: var(--accent); }

/* ---- where to keep it ---- */
.rq-places { padding: 56px 0; background: #fff; }
.rq-place-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.rq-place-grid li { padding: 20px 14px; border: 1px solid #e7e3df; border-radius: 12px; background: #f6f4f3; }
.rq-place-grid i { margin-bottom: 10px; color: var(--accent); font-size: 26px; }
.rq-place-grid h3 { margin: 0 0 4px; color: #111827; font-size: 16px; font-weight: 800; }
.rq-place-grid p { margin: 0; color: #4b5563; font-size: 13.5px; line-height: 1.5; }
.rq-strip { display: block; width: 100%; height: auto; margin-top: 28px; border-radius: 12px; }

@media (max-width: 991px) {
    .rq-order { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .rq-order li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
    .rq-order li::before { grid-row: span 2; margin: 0; }
    .rq-place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .rq-safety, .rq-places { padding: 40px 0; }
    .rq-strip { height: 110px; object-fit: cover; }
}

/* ---- five packs ---- */
html body .rq-pricing .pr-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 1280px; }
.rq-pricing .pr-body { padding-left: 10px; padding-right: 10px; }
.rq-pricing .pr-count { font-size: 28px; }
.rq-pricing .pr-amount { font-size: 48px; }
.rq-pricing .pr-amount small, .rq-pricing .pr-currency { font-size: 21px; }
.rq-pricing .pr-save { font-size: 15px; }
.rq-pricing .pr-btn { font-size: 18px; gap: 10px; }
.rq-pricing .pr-total { gap: 8px; font-size: 19px; }
.rq-pack-photo { position: relative; width: 108px; height: 170px; margin: 12px auto 6px; }
.rq-pack-photo img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.rq-pack-photo span { position: absolute; right: -14px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 800; }

@media (max-width: 1199px) {
    html body .rq-pricing .pr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
}
@media (max-width: 859px) {
    html body .rq-pricing .pr-cards { grid-template-columns: minmax(0, 340px); }
}
/* phone layout: only 1, 3 and 5 units */
#pricing-mobile .pr-card:nth-child(2), #pricing-mobile .pr-card:nth-child(4) { display: none; }

/* ---- country page: pack photo and five pack buttons ---- */
.sc-package .rq-pack-photo { justify-self: center; width: 118px; height: 180px; margin: 0; }
html body .sc-switch.rq-switch { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 767px) { .sc-package .rq-pack-photo { grid-row: auto; } }
@media (max-width: 575px) { html body .sc-switch.rq-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 991px) { .sc-package .rq-pack-photo { grid-row: span 2; } }

/* ---- country shown but not on sale ---- */
button.sc-go { font-family: inherit; line-height: 1.4; cursor: pointer; }

/* ---- photos that replaced cut-out product pictures ---- */
html body .comfort-hero-product, html body .everything-included-product-image, html body .included-image,
html body .order-img, html body .limited-offer-main-image { border-radius: 0; }
.floating-img-container img { border-radius: 6px; object-fit: cover; }

/* ---- reviews use the BareEarth layout from style.css / style-desktop.css; extras for the empty slots ---- */
html body .reviews-section .rq-photo-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #e9e6e2; color: #6b7280; font-size: 13px; }
html body .reviews-section img.review-image { display: block; object-fit: cover; }
.rq-photo-slot i { font-size: 30px; }
.rq-photo-slot-phone { height: 180px; }
.rq-review-photo-phone { display: block; width: 100%; height: auto; }
.rq-be-stars { display: flex; gap: 2px; }
.rq-be-stars img { width: 15px; height: 15px; }
.reviews-section .rq-rated { display: block; color: #111827; font-weight: 700; }

/* six review photos: three across, two down */
html body .reviews-section .testimonials-images ul { grid-template-columns: repeat(3, 112px); grid-auto-rows: 112px; }
@media (max-width: 767px) {
    html body .reviews-section .testimonials-images ul { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
}
html body .customer-photo-grid { grid-template-columns: repeat(3, 1fr); }

/* narrower screens: no room for all three blocks side by side, so the photos get their own row */
@media (min-width: 768px) and (max-width: 1199px) {
    html body .reviews-section .testimonials-images { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
    html body .reviews-section .testimonials-images .images { flex: 0 0 100%; justify-content: center; }
    html body .reviews-section .testimonials-images ul { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; width: 100%; }
    html body .reviews-section .testimonials-images ul img { height: auto; aspect-ratio: 1; }
}

@media (min-width: 576px) and (max-width: 767px) {
    html body .reviews-section .rating-table .blocks { gap: 16px; }
    html body .reviews-section .testimonials-images .images { margin-top: 20px; }
}

/* ---- "As Seen On" strip: slots stay empty until an outlet has really featured the product ---- */
html body .rq-press { padding: 14px 0 18px; }
.rq-press-title { position: relative; z-index: 3; margin: 0 0 12px; color: #d1d5db; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; }
.rq-press-slot { display: inline-block; min-width: 122px; padding: 6px 14px; border: 1px dashed rgba(255, 255, 255, 0.45); border-radius: 6px; color: rgba(255, 255, 255, 0.75); font-size: 13px; text-align: center; white-space: nowrap; }

/* ---- parts and materials: plain numbered list ---- */
.rq-parts { padding: 56px 0; background: #fff; }
.rq-parts h2 { text-wrap: balance; }
.rq-parts .rq-lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.rq-part-list { max-width: 720px; margin: 30px auto 0; padding: 0; list-style: none; text-align: left; }
.rq-part { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid #e7e3df; }
.rq-part:last-child { padding-bottom: 0; }
.rq-part-number { display: flex; flex: 0 0 34px; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; font-weight: 800; }
.rq-part h3 { margin: 4px 0 8px; color: #111827; font-size: 20px; font-weight: 800; line-height: 1.35; }
.rq-part p { margin: 0 0 12px; color: #374151; font-size: 16px; line-height: 1.65; }
.rq-part .rq-part-label { margin-bottom: 4px; color: #111827; font-size: 15px; font-weight: 700; }
.rq-part-benefits { margin: 0; padding: 0; list-style: none; }
.rq-part-benefits li { position: relative; padding: 2px 0 2px 20px; color: #374151; font-size: 15.5px; line-height: 1.6; }
.rq-part-benefits li::before { content: ""; position: absolute; top: 0.72em; left: 2px; width: 6px; height: 6px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
@media (max-width: 575px) { .rq-parts { padding: 40px 0; } .rq-part-list { margin-top: 22px; } .rq-part { gap: 14px; padding: 20px 0; } .rq-part-number { flex-basis: 30px; width: 30px; height: 30px; font-size: 13px; } .rq-part h3 { margin-top: 3px; font-size: 17.5px; } }

/* first hero photo: crop from the bottom so the top of the head stays in view */
html body .main-hero .device-img[src*="ResQVac-demo"], html body #heroCarousel .device-img[src*="ResQVac-demo"] { object-position: center top; }

/* suction diagram beside "How the Suction Works" */
html body .gw-figure.rq-diagram { border: 1px solid #e7e3df; background: #fff; }
html body .rq-works .gw-figure.rq-diagram img { display: block; width: 100%; max-width: none; height: auto; margin: 0; border-radius: 0; }
html body .gw-figure.rq-diagram figcaption { display: block; padding: 12px 16px; color: #111827; font-size: 14px; font-weight: 600; line-height: 1.55; letter-spacing: 0; text-align: center; text-transform: none; }

/* closing offer photo: show it whole, with the guarantee badge opposite its own label */
html body #order .order-img[src*="Customer-Approved"] { height: auto; aspect-ratio: 1; padding: 0 !important; margin-bottom: 18px; object-fit: cover !important; }
html body #order .order-img-wrapper > .d-md-none { right: auto !important; left: 10px !important; transform-origin: top left !important; }
html body #limited-offer .limited-offer-badge-left { top: 22px; left: 22px; }
html body #limited-offer .limited-offer-badge-left img { max-width: 84px; }
