/*
Theme Name: GoingToBuy
Theme URI: https://goingtobuy.com/
Author: GoingToBuy
Description: Fast, SEO-ready buying-guide theme for Amazon affiliate sites. Built-in SEO and JSON-LD (no SEO plugin needed), automatic product boxes from existing posts, coupons with half-hidden codes, /go/ links for non-Amazon stores. No jQuery, no web fonts, one CSS file and one small script.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: gtb
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #14161a;
	--text: #2a2e35;
	--muted: #5b6270;
	--navy: #0f2a44;
	--accent: #c2410c;
	--accent-dark: #9a3412;
	--green: #166534;
	--green-bg: #f0fdf4;
	--red: #991b1b;
	--red-bg: #fef2f2;
	--line: #e6e4df;
	--soft: #f6f5f2;
	--img: #f1f2f4;
	--r: 14px;
	--wrap: 1240px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: var(--font);
	--font-logo: "Pacifico", cursive;
	--w-logo: 400;
	--link: #0f2a44;
	--bg: #ffffff;
	--nav-bg: #0f2a44;
	--nav-text: #ffffff;
	--logo-color: #0f2a44;
	--fs-body: 18px;
	--fs-h1: 42px;
	--fs-h2: 28px;
	--fs-card: 18px;
	--fs-logo: 32px;
	--img-w: 340px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 .5em; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.gtb-icon { flex: none; vertical-align: middle; }
.gtb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gtb-skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.gtb-skip:focus { left: 8px; }
.gtb-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.gtb-main { padding-bottom: 48px; }
.gtb-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.gtb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; padding: 13px 20px; border-radius: 10px; border: 0; cursor: pointer; line-height: 1.2; text-align: center; min-height: 44px; }
.gtb-btn:hover { background: var(--accent-dark); color: #fff; }
.gtb-btn--block { display: flex; width: 100%; }
.gtb-btn--sm { padding: 9px 14px; font-size: 14px; min-height: 40px; white-space: nowrap; }
.gtb-btn--dark { background: var(--navy); }
.gtb-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.gtb-eyebrow--green { color: var(--green); background: #dcfce7; padding: 4px 9px; border-radius: 6px; }
.gtb-tag { font-size: 12px; font-weight: 700; color: var(--green); background: #dcfce7; padding: 3px 8px; border-radius: 6px; }

/* ---------- Top bar + header ---------- */
.gtb-topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; color: #4b5260; }
.gtb-topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 7px; padding-bottom: 7px; }
.gtb-topbar a { color: #4b5260; }
.gtb-header { background: #fff; }
.gtb-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
.gtb-logo { font-family: var(--font-logo); font-weight: var(--w-logo); font-size: calc(var(--fs-logo) * .85); line-height: 1.2; color: var(--logo-color); text-decoration: none; letter-spacing: 0; white-space: nowrap; }
.gtb-logo:hover { color: var(--logo-color); opacity: .85; }
.custom-logo-link img { max-height: 52px; width: auto; display: block; }
.gtb-menu-btn { margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.gtb-header__row .gtb-search { order: 3; width: 100%; }
.gtb-search { display: flex; align-items: center; border: 1px solid #d5d2cb; border-radius: 999px; padding: 3px 3px 3px 16px; gap: 6px; background: #fff; }
.gtb-search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; background: transparent; padding: 7px 0; }
.gtb-search button { width: 38px; height: 38px; flex: none; border: 0; border-radius: 999px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gtb-nav { display: none; background: var(--nav-bg); }
.gtb-nav.is-open { display: block; }
.gtb-nav__list { list-style: none; margin: 0; padding: 4px 0; display: flex; flex-direction: column; }
.gtb-nav__list a { display: block; padding: 11px 0; color: var(--nav-text); text-decoration: none; font-weight: 500; font-size: 15px; }
.gtb-nav__list a:hover { opacity: .8; color: var(--nav-text); }
.gtb-nav__list .current-menu-item > a, .gtb-nav__list .current-cat > a, .gtb-nav__list .current-post-ancestor > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gtb-nav-plain .gtb-nav { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gtb-nav-plain .gtb-nav__list a, .gtb-nav-plain .gtb-nav__list a:hover { color: var(--ink); }
.gtb-nav-plain .gtb-nav__list .current-menu-item > a, .gtb-nav-plain .gtb-nav__list .current-cat > a { color: var(--accent); }
@media (min-width: 1024px) {
	.gtb-logo { font-size: var(--fs-logo); }
	.gtb-header__row { padding-top: 16px; padding-bottom: 16px; flex-wrap: nowrap; }
	.gtb-menu-btn { display: none; }
	.gtb-header__row .gtb-search { order: 0; width: 380px; margin-left: auto; }
	.gtb-nav { display: block; }
	.gtb-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0 26px; padding: 0; }
	.gtb-nav__list a { padding: 12px 0; }
}

/* ---------- Breadcrumbs ---------- */
.gtb-crumbs ol { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.gtb-crumbs li + li::before { content: "›"; margin-right: 8px; color: #9aa0aa; }
.gtb-crumbs a { color: var(--muted); }

/* ---------- Hero ---------- */
.gtb-hero { background: var(--navy); color: #fff; }
.gtb-hero__in { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
.gtb-hero__kicker { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fdba74; }
.gtb-hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -0.02em; }
.gtb-hero__lead { margin: 0 0 22px; font-size: 18px; color: #d6dee8; max-width: 560px; }
.gtb-hero__search { display: flex; gap: 6px; background: #fff; border-radius: 14px; padding: 6px; max-width: 560px; }
.gtb-hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; font-size: 16px; color: var(--ink); }
.gtb-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; }
.gtb-chips span { color: #afc0d3; }
.gtb-chips a { color: #fff; border: 1px solid #3a5674; border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.gtb-chips a:hover { background: #fff; color: var(--navy); }
.gtb-chips--light a, .gtb-chips--light li a { color: var(--ink); border-color: var(--line); background: #fff; }
.gtb-chips--light li { list-style: none; }
.gtb-pick { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.gtb-pick__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gtb-pick__cat { font-size: 13px; color: var(--muted); }
.gtb-pick__name { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.gtb-pick__name a { color: var(--ink); text-decoration: none; }
.gtb-pick__from { margin: 0; font-size: 14px; color: var(--muted); }
.gtb-pick__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }
@media (min-width: 900px) {
	.gtb-hero__in { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
}

/* Square product image box: whole product visible, white background (Amazon style). */
.gtb-sq { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gtb-sq a { display: block; width: 100%; height: 100%; }
.gtb-sq img { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; }

/* ---------- Trust row ---------- */
.gtb-trust { border-bottom: 1px solid var(--line); }
.gtb-trust__list { list-style: none; margin: 0 auto; padding-top: 20px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 24px; }
.gtb-trust__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.45; }
.gtb-trust__list strong { display: block; color: var(--ink); font-size: 15px; }
.gtb-trust__ic { flex: none; width: 34px; height: 34px; border-radius: 999px; background: #eaf0f6; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Sections, grids ---------- */
.gtb-sec { padding-top: 44px; }
.gtb-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 6px 16px; margin-bottom: 20px; }
.gtb-sec__head h1, .gtb-sec__head h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0; }
.gtb-sec__head p { margin: 0; color: var(--muted); width: 100%; }
.gtb-band { background: var(--soft); margin-top: 48px; padding-bottom: 48px; }
.gtb-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gtb-cats a { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); height: 100%; }
.gtb-cats a:hover { border-color: var(--navy); }
.gtb-cats span { font-size: 13px; color: var(--muted); }
.gtb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gtb-grid--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gtb-grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gtb-with-side { display: grid; gap: 28px; }
.gtb-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; align-content: start; }
@media (min-width: 1024px) {
	.gtb-with-side { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
}

/* ---------- Cards ---------- */
.gtb-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.gtb-card__img { display: block; aspect-ratio: 16 / 9; background: #e9ebee; }
.gtb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gtb-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.gtb-card__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.gtb-card__cat { font-weight: 600; color: var(--accent); }
.gtb-card__title { font-size: var(--fs-card); margin: 0; line-height: 1.35; }
.gtb-card__title a { color: var(--ink); text-decoration: none; }
.gtb-card__title a:hover { color: var(--accent); }
.gtb-card__by { font-size: 13px; color: var(--muted); }
.gtb-pcard { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.gtb-pcard__badge { position: absolute; top: 8px; left: 8px; font-size: 12px; font-weight: 700; background: var(--navy); color: #fff; padding: 4px 8px; border-radius: 6px; }
.gtb-pcard__cat { margin: 0; font-size: 13px; color: var(--muted); }
.gtb-pcard__name { margin: 0; font-size: 16px; line-height: 1.35; flex: 1; }
.gtb-pcard__guide { text-align: center; font-size: 14px; font-weight: 600; }

/* ---------- Pager ---------- */
.gtb-pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 32px 0 0; }
.gtb-pager a, .gtb-pager span { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); }
.gtb-pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Sidebar + coupons (square corners) ---------- */
.gtb-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gtb-box { background: var(--soft); border-radius: 16px; padding: 20px; }
.gtb-box--pick { background: #fff; box-shadow: inset 0 0 0 2px var(--navy); display: flex; flex-direction: column; gap: 10px; }
.gtb-box--pick .gtb-eyebrow { align-self: flex-start; }
.gtb-box__title, .gtb-side .widget h2, .gtb-side .wp-block-heading { font-size: 17px; margin: 0 0 14px; color: var(--ink); }
.gtb-box__title::after, .gtb-side .widget > h2::after, .gtb-side .wp-block-heading::after { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; margin-top: 8px; }
.gtb-box__name { margin: 0; font-weight: 700; line-height: 1.35; }
.gtb-mini-list { display: flex; flex-direction: column; gap: 12px; }
.gtb-mini { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.gtb-mini__img { flex: none; width: 88px; aspect-ratio: 16 / 9; border-radius: 6px; background: #e9ebee; overflow: hidden; }
.gtb-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gtb-mini__title { font-size: 14px; font-weight: 600; line-height: 1.35; }

.gtb-coupons { border: 2px solid var(--ink); border-radius: 0; background: #fff; }
.gtb-coupons__head { background: var(--ink); color: #fff; padding: 11px 16px; }
.gtb-coupons__head h2 { margin: 0; font-size: 17px; }
.gtb-coupons__all { display: block; border-top: 2px solid var(--ink); padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.gtb-coupon { padding: 14px 16px; border-top: 1px dashed #b9b5ac; display: flex; flex-direction: column; gap: 10px; }
.gtb-coupons .gtb-coupon:first-of-type { border-top: 0; }
.gtb-coupon__head { display: flex; gap: 12px; align-items: center; }
.gtb-coupon__logo { flex: none; width: 44px; height: 44px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); overflow: hidden; }
.gtb-coupon__logo img { width: 100%; height: 100%; object-fit: contain; }
.gtb-coupon__store { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.gtb-coupon__offer { margin: 0; font-size: 14px; font-weight: 600; color: var(--green); line-height: 1.35; }
.gtb-ticket { display: flex; border: 2px dashed #16a34a; border-radius: 0; background: var(--green-bg); }
.gtb-ticket__code { flex: 1; min-width: 0; font: 700 16px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; padding: 11px 12px; overflow-wrap: anywhere; }
.gtb-ticket__code--deal { font-family: var(--font); letter-spacing: 0; font-size: 14px; color: var(--green); }
.gtb-ticket__btn { display: inline-flex; align-items: center; border: 0; border-radius: 0; background: var(--green); color: #fff; font-weight: 600; font-size: 14px; padding: 0 14px; cursor: pointer; white-space: nowrap; text-decoration: none; min-height: 44px; }
.gtb-ticket__btn:hover { background: #14532d; color: #fff; }
.gtb-ticket.is-open { background: #fff; }
.gtb-coupon--inline { border: 0; padding: 0; gap: 6px; flex: 1 1 260px; }
.gtb-coupon--inline .gtb-coupon__offer { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.gtb-coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border: 2px solid var(--ink); }
.gtb-coupon-grid .gtb-coupon { border: 1px dashed #b9b5ac; margin: -1px 0 0 -1px; }

/* ---------- Article layout ---------- */
.gtb-layout { display: grid; gap: 40px; margin-top: 18px; }
.gtb-layout--full .gtb-article { margin-left: auto; margin-right: auto; }
.gtb-layout__main { min-width: 0; }
.gtb-article { min-width: 0; max-width: 780px; }
@media (min-width: 1024px) {
	.gtb-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
	.gtb-layout--full { grid-template-columns: minmax(0, 1fr); }
}
.gtb-article__title { font-size: clamp(28px, 4.6vw, var(--fs-h1)); line-height: 1.12; letter-spacing: -0.02em; margin: 8px 0 0; }
.gtb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.gtb-byline__av, .gtb-byline img { border-radius: 999px; }
.gtb-byline a { font-weight: 600; }
.gtb-article__hero { margin: 22px 0 0; }
.gtb-article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; display: block; background: #e9ebee; }
.gtb-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 10px 14px; }

/* ---------- Prose ---------- */
.gtb-prose { margin-top: 24px; font-size: var(--fs-body); line-height: 1.7; color: var(--text); overflow-wrap: break-word; }
.gtb-prose p { margin: 0 0 18px; }
.gtb-prose h2 { font-size: clamp(22px, 3vw, var(--fs-h2)); margin: 44px 0 14px; color: var(--ink); }
.gtb-prose h3 { font-size: 21px; margin: 30px 0 10px; color: var(--ink); }
.gtb-prose ul, .gtb-prose ol { padding-left: 22px; margin: 0 0 18px; }
.gtb-prose li { margin-bottom: 6px; }
.gtb-prose img { border-radius: 10px; }
.gtb-prose figure, .gtb-prose .wp-caption { margin: 0 0 18px; max-width: 100%; }
.gtb-prose figcaption, .gtb-prose .wp-caption-text { font-size: 14px; color: var(--muted); margin-top: 6px; }
.gtb-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.gtb-prose blockquote { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--muted); }
.gtb-prose table { width: 100%; border-collapse: collapse; border: 0; font-size: 16px; display: block; overflow-x: auto; }
.gtb-prose th, .gtb-prose td { border: 0; padding: 12px 14px; text-align: left; vertical-align: top; }
.gtb-prose th { font-weight: 700; color: var(--ink); }
.gtb-prose tbody tr:nth-child(odd) { background: var(--soft); }
.gtb-prose .gtb-buy { margin: 10px 0 24px; }
.gtb-prose a.gtb-btn { color: #fff; }
@media (max-width: 600px) { .gtb-prose { font-size: calc(var(--fs-body) - 1px); } }

/* Quick picks: borderless, no row lines, soft zebra */
.gtb-quick { margin: 8px 0 32px; background: var(--soft); border-radius: 18px; padding: 8px 8px 10px; font-size: 16px; }
.gtb-quick__head { padding: 12px 12px 8px; }
.gtb-prose .gtb-quick__head h2 { margin: 0; font-size: 20px; color: var(--ink); }
.gtb-prose .gtb-quick__list { list-style: none; margin: 0; padding: 0; }
.gtb-quick__item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 12px; margin: 0; border-radius: 12px; }
.gtb-quick__item:nth-child(odd) { background: #fff; }
.gtb-quick__num { width: 24px; font-weight: 800; color: var(--accent); font-size: 20px; text-align: center; }
.gtb-quick__thumb { width: 88px; height: 88px; flex: none; border-radius: 10px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gtb-quick__thumb:empty { display: none; }
.gtb-quick__thumb a { display: block; width: 100%; height: 100%; }
.gtb-quick__thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; display: block; }
.gtb-quick__name { flex: 1 1 200px; min-width: 0; font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.gtb-quick__name:hover { color: var(--accent); }
.gtb-quick .gtb-btn { color: #fff; }
@media (max-width: 520px) { .gtb-quick__thumb { width: 72px; height: 72px; } .gtb-quick__item .gtb-btn { width: 100%; } }

/* Product boxes */
.gtb-product { margin: 44px 0 0; padding-top: 4px; scroll-margin-top: 12px; }
.gtb-prose .gtb-product__title { margin: 0 0 16px; }
.gtb-product__num { color: var(--accent); }
.gtb-product__grid { display: grid; gap: 22px; }
.gtb-product__media { aspect-ratio: 1 / 1; max-width: 420px; width: 100%; margin: 0 auto; border-radius: var(--r); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gtb-product__media p, .gtb-product__media figure, .gtb-product__media a { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gtb-product__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; border-radius: 0; }
.gtb-img-link { display: block; cursor: pointer; }
.gtb-product__media figcaption { display: none; }
.gtb-product__body > :last-child { margin-bottom: 0; }
@media (min-width: 700px) {
	.gtb-product__grid { grid-template-columns: var(--img-w) minmax(0, 1fr); align-items: start; gap: 28px; }
	.gtb-product__media { margin: 0; }
}
.gtb-pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 20px; font-size: 16px; }
.gtb-pc__col { padding: 14px 16px; border-top: 3px solid; }
.gtb-pc__col--pro { background: var(--green-bg); border-color: var(--green); }
.gtb-pc__col--con { background: var(--red-bg); border-color: var(--red); }
.gtb-prose .gtb-pc h3 { margin: 0 0 8px; font-size: 16px; }
.gtb-pc__col--pro h3, .gtb-pc__col--pro .gtb-icon { color: var(--green); }
.gtb-pc__col--con h3, .gtb-pc__col--con .gtb-icon { color: var(--red); }
.gtb-prose .gtb-pc ul { list-style: none; padding: 0; margin: 0; }
.gtb-pc li { display: flex; gap: 8px; line-height: 1.5; margin: 4px 0 0; }
.gtb-pc li .gtb-icon { margin-top: 4px; }
.gtb-product__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--soft); border-radius: var(--r); padding: 14px; }
.gtb-product__cta > .gtb-btn { flex: 1 1 240px; font-size: 16px; }

/* Author box, comments */
.gtb-authorbox { margin-top: 48px; display: flex; gap: 16px; align-items: flex-start; background: var(--soft); border-radius: 16px; padding: 20px; }
.gtb-authorbox img { border-radius: 999px; flex: none; }
.gtb-authorbox h2 { font-size: 17px; margin: 0 0 6px; }
.gtb-authorbox p { margin: 0; color: #4b5260; font-size: 15px; }
.gtb-comments { margin-top: 40px; }
.gtb-comments h2, .gtb-comments .comment-reply-title { font-size: 22px; }
.gtb-comments__list { padding-left: 0; list-style: none; }
.gtb-comments__list .comment-body { border-bottom: 1px solid var(--line); padding: 14px 0; }
.gtb-comments__list .avatar { border-radius: 999px; float: left; margin-right: 10px; }
.gtb-comments textarea, .gtb-comments input[type="text"], .gtb-comments input[type="email"], .gtb-comments input[type="url"] { width: 100%; border: 1px solid #d5d2cb; border-radius: 10px; padding: 10px 12px; }
.gtb-comments label { display: block; font-size: 14px; color: var(--muted); }

/* Archive + author heads */
.gtb-archive-head { padding: 24px 0 4px; }
.gtb-archive-head h1 { font-size: clamp(28px, 4.4vw, 40px); margin: 0; }
.gtb-archive-head__page { color: var(--muted); font-weight: 600; font-size: .6em; }
.gtb-archive-head__desc { max-width: 760px; color: #4b5260; margin-top: 8px; }
.gtb-archive-head .gtb-search { max-width: 460px; margin-top: 14px; }
.gtb-authorhead { display: flex; gap: 20px; align-items: center; padding: 24px 0 4px; }
.gtb-authorhead img { border-radius: 999px; flex: none; }
.gtb-authorhead h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); }
.gtb-authorhead p { margin: 6px 0 0; color: #4b5260; max-width: 700px; }
.gtb-authorhead__count { font-size: 14px; color: var(--muted); }
.gtb-404 { padding-top: 40px; }
.gtb-404 .gtb-search { max-width: 460px; margin: 16px 0; }

/* Newsletter */
.gtb-news { background: var(--navy); color: #fff; border-radius: 22px; padding: 28px; display: grid; gap: 18px; }
.gtb-news h2 { margin: 0 0 6px; font-size: 26px; }
.gtb-news p { margin: 0; color: #d6dee8; }
.gtb-news form { display: flex; flex-wrap: wrap; gap: 8px; }
.gtb-news input { flex: 1 1 220px; min-width: 0; border: 0; border-radius: 10px; padding: 13px 14px; font-size: 16px; }
@media (min-width: 900px) { .gtb-news { grid-template-columns: 1fr 1fr; align-items: center; padding: 40px; } }

/* Sticky #1 pick bar (phones only) */
.gtb-sticky { display: none; }
@media (max-width: 1023px) {
	.gtb-sticky:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 10px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .2s; }
	.gtb-sticky.is-on { transform: none; }
	.gtb-sticky__name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.gtb-sticky__name small { display: block; font-size: 11px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
	.gtb-sticky__x { border: 0; background: none; width: 36px; height: 44px; color: var(--muted); cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) { .gtb-sticky { transition: none !important; } }

/* ---------- Footer ---------- */
.gtb-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.gtb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 28px; font-size: 14px; }
.gtb-footer__brand p { color: var(--muted); margin: 10px 0 0; }
.gtb-footer__h { font-size: 15px; margin: 0 0 10px; }
.gtb-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gtb-footer ul a { color: var(--ink); text-decoration: none; }
.gtb-footer ul a:hover { color: var(--accent); }
.gtb-footer__legal { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) { .single .gtb-footer { padding-bottom: 72px; } }

/* ---------- Widgets (classic + block widgets) ---------- */
.gtb-side .widget ul, .gtb-side .widget ol { list-style: none; margin: 0; padding: 0; }
.gtb-side .widget li { margin: 0; padding: 7px 0; line-height: 1.4; }
.gtb-side .widget li a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.gtb-side .widget li a:hover { color: var(--accent); }
.gtb-side .widget li .post-date, .gtb-side .wp-block-latest-posts__post-date { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.gtb-side .widget_categories li, .gtb-side .wp-block-categories li, .gtb-side .widget_archive li, .gtb-side .wp-block-archives li { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.gtb-side .widget_categories li ul, .gtb-side .wp-block-categories li ul { width: 100%; padding-left: 12px; }
.gtb-side .widget > .wp-block-group, .gtb-side .wp-block-group__inner-container { padding: 0; }
.gtb-side .wp-block-latest-posts__featured-image img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 6px; }
.gtb-side .wp-block-latest-posts.has-dates li, .gtb-side .wp-block-latest-posts li { padding: 8px 0; }
.gtb-side .widget_search form, .gtb-side .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.gtb-side .widget_search input[type="search"], .gtb-side .wp-block-search__input { flex: 1; min-width: 0; border: 1px solid #d5d2cb; border-radius: 10px; padding: 10px 12px; }
.gtb-side .wp-block-search__button, .gtb-side .widget_search button, .gtb-side .widget_search input[type="submit"] { border: 0; border-radius: 10px; background: var(--navy); color: #fff; padding: 0 14px; cursor: pointer; }
.gtb-side .wp-block-search__label { display: none; }
.gtb-side .widget_text p, .gtb-side .widget_block p { font-size: 15px; color: var(--text); }
.gtb-side .widget img { border-radius: 10px; }
.gtb-side .gtb-coupons, .gtb-side .gtb-box--pick { background-color: #fff; }
.gtb-footer__widgets .widget ul { gap: 8px; }
.gtb-footer__disc { margin: 0 0 6px; }
.gtb-footer__legal p { margin: 0 0 6px; }
.gtb-footer .gtb-logo { font-size: calc(var(--fs-logo) * .8); }
