/*
Theme Name: Siam Gem Source
Description: Membership directory theme for vetted wholesale gemstone and jewelry vendors in Bangkok. Pairs with the Siam Gem Source Directory plugin and Paid Memberships Pro.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Siam Gem Source
Text Domain: siamsource
*/

:root {
	--ink: #10131c;
	--ink-2: #1b2030;
	--ink-3: #2a3044;
	--gold: #c9a44c;
	--gold-2: #e2c77f;
	--gold-ink: #8a6a1f;
	--jade: #2e6b5c;
	--jade-soft: #e3efe9;
	--ruby: #8f2433;
	--ivory: #f7f3ea;
	--paper: #fffdf8;
	--line: #e6dfcf;
	--muted: #6b6a66;
	--text: #22232a;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(16, 19, 28, .05), 0 8px 28px rgba(16, 19, 28, .07);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: .6em 1em; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 940px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: .55em 1.1em; font-size: .875rem; }
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--disabled { background: var(--ivory); color: var(--muted); cursor: default; }
.btn--disabled:hover { transform: none; }

.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--gold-2); margin-bottom: 1rem; }
.eyebrow--dark { color: var(--gold-ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16, 19, 28, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 28px; height: 28px; color: var(--gold); }
.brand__name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; }
.brand__logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav .menu { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .93rem; font-weight: 500; }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { color: #fff; }
.site-nav__actions { display: flex; align-items: center; gap: 1rem; }
.link-quiet { color: rgba(255,255,255,.78); text-decoration: none; font-size: .93rem; }
.link-quiet:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 85% -10%, rgba(201,164,76,.22), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(46,107,92,.35), transparent 60%), var(--ink); color: #fff; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero--image { background: linear-gradient(100deg, rgba(16,19,28,.94) 30%, rgba(16,19,28,.55)), var(--hero-img) center/cover no-repeat, var(--ink); }
.hero__facets { position: absolute; right: -120px; top: -60px; width: 620px; height: 620px; opacity: .14; background: conic-gradient(from 30deg, transparent 0 12%, var(--gold) 12% 13%, transparent 13% 37%, var(--gold) 37% 38%, transparent 38% 62%, var(--gold) 62% 63%, transparent 63% 87%, var(--gold) 87% 88%, transparent 88%); clip-path: polygon(50% 0, 100% 35%, 50% 100%, 0 35%); pointer-events: none; }
.hero__inner { position: relative; max-width: 860px; margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2)); }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: 1.2rem; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 2.2rem; }
.hero-search { display: flex; gap: .5rem; background: #fff; padding: .45rem; border-radius: 999px; max-width: 760px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-search input, .hero-search select { border: 0; background: transparent; padding: .8rem 1.1rem; color: var(--ink); min-width: 0; }
.hero-search input { flex: 1; }
.hero-search select { border-left: 1px solid var(--line); max-width: 220px; cursor: pointer; }
.hero-search input:focus, .hero-search select:focus { outline: none; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.8rem; list-style: none; margin: 2.8rem 0 0; padding: 0; }
.hero__stats strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--flush { padding-top: 2.5rem; }
.section--tint { background: var(--ivory); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { margin-bottom: 2.4rem; max-width: 640px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 1.5rem; flex-wrap: wrap; }
.section__head h2 { margin: 0; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; padding: 1.3rem 1.3rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile__name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; padding-right: 1.5rem; }
.cat-tile__count { font-size: .82rem; color: var(--muted); }
.cat-tile__arrow { position: absolute; right: 1.2rem; bottom: 1rem; color: var(--gold-ink); transition: transform .2s; }
.cat-tile:hover .cat-tile__arrow { transform: translateX(4px); }

/* Vendor cards */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vcard--featured { border-color: rgba(201,164,76,.6); }
.vcard__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory); }
.vcard__media img, .vcard__media svg { width: 100%; height: 100%; object-fit: cover; }
.vcard__flag { position: absolute; top: .8rem; left: .8rem; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
.vcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.1rem; }
.vcard__meta { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--gold-ink); margin-bottom: .5rem; }
.vcard__title { font-size: 1.3rem; margin-bottom: .35rem; }
.vcard__title a { color: var(--ink); text-decoration: none; }
.vcard__title a:hover { color: var(--jade); }
.vcard__tag { color: var(--muted); font-size: .93rem; margin-bottom: .9rem; }
.vcard__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.vcard__loc { display: inline-flex; align-items: center; gap: .3rem; }
.vcard__vet { color: var(--jade); font-weight: 600; }
.score { display: inline-flex; align-items: center; gap: .25rem; color: var(--gold-ink); font-weight: 700; letter-spacing: 0; }
.score svg { color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.chips li, .chips a { font-size: .85rem; background: var(--ivory); color: var(--ink-2); border-radius: 999px; padding: .35rem .8rem; text-decoration: none; }
.chips a:hover { background: var(--gold-2); color: var(--ink); }
.chips--sm li { font-size: .75rem; padding: .22rem .6rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.steps__n { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: .8rem; }
.steps p { color: var(--muted); }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin-bottom: .4rem; }
.cta p { color: rgba(255,255,255,.7); margin: 0; max-width: 560px; }

/* Page hero */
.page-hero { background: radial-gradient(900px 380px at 90% -20%, rgba(201,164,76,.22), transparent 60%), var(--ink); color: #fff; padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(2.6rem, 5vw, 3.8rem); }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero__lead { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero--compact h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin: 0 auto; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); margin-top: -4.6rem; position: relative; }
.filters__field { display: flex; flex-direction: column; gap: .3rem; min-width: 160px; }
.filters__field--grow { flex: 1; min-width: 220px; }
.filters label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.filters input, .filters select { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; background: var(--paper); color: var(--ink); }
.filters input:focus, .filters select:focus { border-color: var(--gold); outline: none; }
.results-bar { display: flex; justify-content: space-between; margin: 1.6rem 0 1rem; color: var(--muted); font-size: .9rem; }
.member-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--jade-soft); color: var(--jade); border-radius: var(--radius-sm); padding: .8rem 1rem .8rem 1.2rem; margin-bottom: 1.5rem; font-weight: 500; font-size: .93rem; }
.empty { text-align: center; padding: 4rem 1rem; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; padding: 0 .6rem; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Single vendor */
.vhero { background: var(--ink); color: #fff; padding: 3rem 0 3.4rem; }
.vhero__inner { display: grid; grid-template-columns: 380px 1fr; gap: 3rem; align-items: center; }
.vhero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.vhero__media img, .vhero__media svg { width: 100%; height: 100%; object-fit: cover; }
.vhero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.vhero__tag { color: rgba(255,255,255,.75); font-size: 1.15rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; padding: .38rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.12); }
.badge--jade { background: rgba(46,107,92,.35); border-color: rgba(120,200,170,.35); color: #bfe6d6; }
.badge--gold { background: rgba(201,164,76,.15); border-color: rgba(201,164,76,.4); }
.badge--gold .score { color: var(--gold-2); }
.vlayout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.vlayout__side { position: sticky; top: 96px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 2.4rem; }
.facts div { background: #fff; padding: 1rem 1.1rem; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: .2rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.h-small { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-top: 1.6rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.panel--report { margin-top: 2.4rem; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.panel__head h2 { font-size: 1.45rem; margin: 0; }
.pill { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; background: var(--ink); color: var(--gold-2); padding: .3rem .65rem; border-radius: 999px; }
.ssd-dl { margin: 0; }
.ssd-dl dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-top: .9rem; }
.ssd-dl dt:first-child { margin-top: 0; }
.ssd-dl dd { margin: .15rem 0 0; font-weight: 500; word-break: break-word; }
.ssd-dl--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.3rem; }
.ssd-dl--grid dt { margin-top: 0; }
.ssd-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.ssd-pros, .ssd-cons { border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.ssd-pros { background: var(--jade-soft); }
.ssd-cons { background: #f8ebe7; }
.ssd-pros h4, .ssd-cons h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem; }
.ssd-pros h4 { color: var(--jade); }
.ssd-cons h4 { color: var(--ruby); }
.ssd-pros p, .ssd-cons p { margin: 0; font-size: .93rem; }
.blurred { filter: blur(6px); user-select: none; pointer-events: none; color: var(--muted); }
.ssd-locked { position: relative; text-align: center; padding: 1.4rem 1rem .6rem; margin-top: -3.2rem; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 30%); }
.ssd-locked__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.ssd-locked h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.ssd-locked p { color: var(--muted); font-size: .9rem; }
.ssd-locked__login { margin: .8rem 0 0; }

/* Pricing */
.period-toggle { display: inline-flex; margin-top: 2rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .3rem; border-radius: 999px; }
.period-toggle button { background: none; border: 0; color: rgba(255,255,255,.75); padding: .6rem 1.3rem; border-radius: 999px; cursor: pointer; font-weight: 600; }
.period-toggle button em { font-style: normal; font-size: .72rem; color: var(--gold-2); margin-left: .3rem; }
.period-toggle button.is-active { background: #fff; color: var(--ink); }
.period-toggle button.is-active em { color: var(--gold-ink); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.6rem; margin-top: -1rem; }
.plans[data-period="monthly"] [data-show="annual"], .plans[data-period="annual"] [data-show="monthly"] { display: none; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.2rem 2rem; box-shadow: var(--shadow); }
.plan--pro { background: var(--ink); color: rgba(255,255,255,.85); border-color: var(--ink); }
.plan--pro .plan__name, .plan--pro .plan__price strong { color: #fff; }
.plan__ribbon { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.plan__name { font-size: 1.8rem; margin-bottom: .3rem; }
.plan__pitch { color: var(--muted); min-height: 3.2em; }
.plan--pro .plan__pitch { color: rgba(255,255,255,.65); }
.plan__price { margin: 1.2rem 0 1.4rem; }
.plan__price strong { font-family: var(--serif); font-size: 3rem; font-weight: 500; color: var(--ink); }
.plan__price span { color: var(--muted); margin-left: .3rem; }
.plan__features { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.plan__features li { position: relative; padding: .5rem 0 .5rem 1.7rem; border-top: 1px solid var(--line); font-size: .95rem; }
.plan--pro .plan__features li { border-color: rgba(255,255,255,.1); }
.plan__features li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 10px; height: 10px; background: var(--gold); clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%); }
.compare { max-width: 880px; margin: 4.5rem auto 0; }
.compare h2 { text-align: center; margin-bottom: 1.5rem; }
.compare table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: center; font-size: .93rem; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare thead th { background: var(--ivory); font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.compare .yes { color: var(--jade); font-weight: 700; }
.compare .no { color: #bbb; }
.admin-hint { background: #fff6dd; border: 1px solid #ecd697; border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin: 0 auto 2.5rem; max-width: 860px; }

/* Prose */
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose--center { max-width: 760px; margin: 4rem auto 0; }
.post-row { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }

/* PMPro forms (checkout, account, billing) */
.prose--app { font-size: 1rem; }
.pmpro_form input[type="text"], .pmpro_form input[type="email"], .pmpro_form input[type="password"], .pmpro_form input[type="tel"], .pmpro_form select, .pmpro_form_input { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; background: #fff; max-width: 100%; }
.pmpro_btn, .pmpro_btn-submit, .pmpro_btn-submit-checkout, #pmpro_btn-submit { background: var(--gold) !important; color: var(--ink) !important; border: 0 !important; border-radius: 999px !important; padding: .9em 1.6em !important; font-weight: 600 !important; cursor: pointer; }
.pmpro_card, .pmpro_box, .pmpro_checkout { border-radius: var(--radius) !important; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 4rem 0 1.6rem; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__tag { margin-top: 1rem; max-width: 300px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: rgba(255,255,255,.45); }

/* Responsive */
@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.2rem; background: var(--ink); padding: 1.5rem 1.25rem 2rem; border-top: 1px solid rgba(255,255,255,.08); transform: translateY(-120%); transition: transform .25s ease; }
	.site-nav.is-open { transform: none; }
	.site-nav .menu { flex-direction: column; gap: 1rem; }
	.site-nav__actions { justify-content: space-between; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.vhero__inner, .vlayout { grid-template-columns: 1fr; }
	.vhero__media { max-width: 520px; }
	.vlayout__side { position: static; }
	.steps { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.plans { grid-template-columns: minmax(0, 520px); }
}
@media (max-width: 640px) {
	.hero-search { flex-direction: column; border-radius: var(--radius); }
	.cat-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
	.cat-tile { min-height: 104px; padding: 1rem 1rem .9rem; }
	.cat-tile__name { font-size: 1.02rem; padding-right: 0; }
	.cat-tile__arrow { display: none; }
	.hero-search select { border-left: 0; border-top: 1px solid var(--line); max-width: none; }
	.hero__stats { gap: 1.6rem; }
	.filters__field { min-width: calc(50% - .5rem); flex: 1; }
	.filters .btn { width: 100%; }
	.ssd-dl--grid, .ssd-pros-cons { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.compare th, .compare td { padding: .7rem .5rem; font-size: .82rem; }
}
