/* MAE Dealer — main stylesheet */

:root {
	--navy-950: #0e1430;
	--navy-900: #141c3f;
	--navy-800: #1b2550;
	--navy-700: #28367e;
	--navy-100: #e7eaf4;
	--red-700: #b32220;
	--red-600: #d42a28;
	--red-500: #ef3230;
	--ink: #151821;
	--text: #2b2f3a;
	--muted: #5b6271;
	--line: #dde1e8;
	--soft: #f3f5f8;
	--white: #fff;
	--green: #1e7a46;
	--amber: #9a5b00;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
	--shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
	--font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1240px;
	--header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: .15em; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4, .h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3, .h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; border-radius: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.site-main:focus { outline: none; }
.icon { flex: none; }
.muted { color: var(--muted); }
.fine-print { font-size: .875rem; color: var(--muted); margin-top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding-top: 0; }
.section--muted { background: var(--soft); }
.section__head { max-width: 760px; margin-bottom: 32px; }
.section__head p { color: var(--muted); }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .95rem; color: var(--red-600); margin: 0 0 .5rem; }
.eyebrow--light { color: #ffb3b2; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--navy-700); }
.link-arrow:hover { color: var(--red-600); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Buttons */
.btn { --bg: var(--navy-700); --fg: #fff; --bd: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--radius-sm); border: 2px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { color: var(--fg); filter: none; }
.btn--primary { --bg: var(--red-600); --bd: var(--red-600); }
.btn--primary:hover { --bg: var(--red-700); --bd: var(--red-700); }
.btn--ghost { --bg: transparent; --fg: var(--navy-800); --bd: var(--navy-700); }
.btn--ghost:hover { --bg: var(--navy-700); --fg: #fff; }
.btn--outline { --bg: #fff; --fg: var(--ink); --bd: var(--line); }
.btn--outline:hover { --bd: var(--navy-700); --fg: var(--navy-700); }
.btn--light { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }
.btn--light:hover { --bg: var(--navy-100); --bd: var(--navy-100); --fg: var(--navy-900); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: 12px 28px; font-size: 1.075rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-stack { display: grid; gap: 10px; }
.cta-row--light .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.6); }
.cta-row--light .btn--ghost:hover { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--navy-100); color: var(--navy-800); }
.badge--in_stock { background: #e3f4ea; color: var(--green); }
.badge--available_to_order { background: #e6effa; color: #174a8b; }
.badge--coming_soon { background: #fff2d6; color: var(--amber); }
.badge--discontinued { background: #eceef1; color: var(--muted); }

/* Top bar */
.preview-bar { background: #fff4cc; color: #5c4400; font-size: .85rem; text-align: center; padding: 6px 12px; border-bottom: 1px solid #f0d77a; }
.topbar { background: var(--navy-950); color: #d6dbeb; font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.topbar__rippa { height: 19px; width: auto; display: block; }
.topbar__meta { display: flex; gap: 20px; align-items: center; }
.topbar__meta .icon { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #ffb3b2; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(16, 24, 40, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__brand { display: block; flex: none; }
.site-logo { display: block; width: auto; height: 64px; max-width: 100%; }
.site-logo--text { display: inline-block; height: auto; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy-700); }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--radius-sm); }
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a { color: var(--red-600); }
.nav__list .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { font-weight: 500; }
.nav__cta { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm); font: 600 1rem var(--font-body); color: var(--ink); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }

@media (max-width: 1280px) and (min-width: 1081px) {
	.site-header__inner { gap: 16px; }
	.site-logo { height: 56px; }
	.nav { gap: 14px; }
	.nav__list a { padding: 8px 9px; }
	.nav__cta .btn--ghost span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1180px) and (min-width: 1081px) {
	.site-logo { height: 50px; }
	.nav { gap: 10px; }
	.nav__list a { padding: 8px 6px; }
}
@media (max-width: 1080px) {
	:root { --header-h: 76px; }
	.site-logo { height: 50px; }
	.topbar__area { display: none; }
	.nav-toggle { display: inline-flex; }
	.nav { position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 120px; background: #fff; overflow-y: auto; display: none; }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { min-height: 52px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 4px; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.sub-menu a { font-size: 1.05rem; }
	.nav__cta { flex-direction: column; margin-top: 20px; }
	.nav__cta .btn { min-height: 52px; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
	.topbar__area, .topbar__hours { display: none; }
	.site-logo { height: 52px; }
	.topbar__inner { justify-content: space-between; }
	.topbar { font-size: .85rem; }
}
@media (max-width: 380px) {
	.site-logo { height: 44px; }
}
@media (max-width: 340px) {
	.site-logo { height: 34px; }
	.site-header__inner { gap: 8px; }
	.nav-toggle { padding: 8px 10px; gap: 6px; }
}

/* Hero */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 38%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(20, 28, 63, .55) 18%, rgba(20, 28, 63, 0) 42%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(460px, 62vh, 620px); padding-top: 48px; padding-bottom: 48px; }
.hero__panel { max-width: 560px; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); text-transform: uppercase; line-height: 1; margin-bottom: 18px; }
.hero__lead { font-size: 1.15rem; color: #dfe3f0; max-width: 520px; margin-bottom: 28px; }
.hero__call { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; color: #fff; text-decoration: none; font-size: 1.05rem; }
.hero__call strong { font-size: 1.2rem; }
.hero__call:hover { color: #ffb3b2; }
@media (max-width: 900px) {
	.hero__media { position: relative; inset: auto; height: 260px; }
	.hero__media::before { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(20,28,63,0) 45%); }
	.hero__inner { min-height: 0; padding-top: 8px; }
	.hero { display: flex; flex-direction: column; }
}

/* Trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; padding: 22px 18px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item .icon { width: 28px; height: 28px; color: var(--red-600); margin-top: 2px; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.trust__item span { display: block; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) {
	.trust__grid { grid-template-columns: repeat(2, 1fr); }
	.trust__item { border-left: 0; border-top: 1px solid var(--line); padding: 16px 8px 16px 0; }
	.trust__item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) { .trust__grid { grid-template-columns: minmax(0, 1fr); } .trust__item:nth-child(2) { border-top: 1px solid var(--line); } }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); text-decoration: none; color: #fff; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,20,48,.92) 0%, rgba(14,20,48,.15) 55%, rgba(14,20,48,0) 100%); }
.cat__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.cat__title { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; line-height: 1; }
.cat__meta { grid-column: 1; color: #cfd5e6; font-size: .95rem; margin-top: 4px; }
.cat__go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--red-600); display: grid; place-items: center; }
.cat:hover { color: #fff; }
.cat:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .cats { grid-template-columns: minmax(0, 1fr); } .cat { aspect-ratio: 16 / 9; } }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: #c9cfdb; }
.card[hidden] { display: none; }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__noimg { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .95rem; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card__eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.card__title { font-size: 1.6rem; margin: 0 0 6px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--red-600); }
.card__text { color: var(--muted); font-size: .97rem; margin-bottom: 12px; }
.card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card__facts div { min-width: 0; }
.card__facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card__facts dd { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.card__price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 14px; }
.card__pricing { font-weight: 600; color: var(--ink); font-size: .95rem; }
.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card__actions .btn { padding-left: 10px; padding-right: 10px; }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--navy-100), #fff); padding: 28px 0 34px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .25em; }
.page-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; margin: 0; }
.page-hero__meta { color: var(--muted); margin: 0; }
.breadcrumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: #a3a9b6; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red-600); }

/* Catalog */
.catalog { padding-top: 26px; padding-bottom: 72px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.chip:hover { border-color: var(--navy-700); color: var(--navy-700); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip__count { font-size: .8rem; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.chip.is-active .chip__count { background: rgba(255,255,255,.18); color: #fff; }
.catalog__layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters__form { display: grid; gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.filters__group { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.filters__label { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; padding: 0; }
.filters__group label { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: .98rem; }
.filters__group input[type="radio"] { width: 20px; height: 20px; accent-color: var(--red-600); margin: 0; }
.search-input { position: relative; }
.search-input .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-input input { width: 100%; min-height: 46px; padding: 8px 12px 8px 40px; border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.search-input input:focus { border-color: var(--navy-700); outline: none; box-shadow: 0 0 0 3px rgba(40, 54, 126, .2); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar__count { margin: 0; font-weight: 600; color: var(--muted); }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.toolbar__sort select { min-height: 44px; padding: 8px 36px 8px 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.filters-toggle { display: none; }
.empty { text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--soft); }
.empty .cta-row { justify-content: center; }
.empty[hidden] { display: none; }
@media (max-width: 900px) {
	.catalog__layout { grid-template-columns: minmax(0, 1fr); }
	.toolbar__right { flex-wrap: wrap; min-width: 0; max-width: 100%; }
	.toolbar__sort { flex: 1 1 100%; min-width: 0; }
	.toolbar__sort select { flex: 1 1 auto; min-width: 0; width: 100%; max-width: 100%; }
	.filters { position: static; display: none; }
	.filters.is-open { display: block; }
	.filters-toggle { display: inline-flex; }
	.catalog { padding-top: 18px; }
	.chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
	.chip { flex: none; }
}

/* Compare */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare__table th, .compare__table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare__table thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .03em; }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table tbody tr:nth-child(even) { background: #fafbfc; }
.compare__table tbody th a { font-family: var(--font-head); font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.compare__table tbody th a:hover { color: var(--red-600); }
.compare__cta { margin-top: 22px; }

/* Split / visit */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.visit, .card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.visit__list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.visit__list li { display: flex; gap: 12px; align-items: flex-start; }
.visit__list li > * { min-width: 0; overflow-wrap: anywhere; }
.visit__list .icon { color: var(--red-600); margin-top: 3px; }
.big-link { font-size: 1.35rem; font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Product page */
.product { padding-top: 22px; padding-bottom: 64px; }
.product__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.gallery__main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.gallery__main a { display: block; height: 100%; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery__thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.gallery__thumb { display: block; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--red-600); }
.gallery__empty { display: grid; place-items: center; text-align: center; padding: 40px; aspect-ratio: 4 / 3; background: var(--soft); border-radius: var(--radius); color: var(--muted); }
.product__title { font-size: clamp(2.3rem, 4vw, 3.3rem); text-transform: uppercase; margin-bottom: 8px; }
.product__lead { font-size: 1.15rem; color: var(--muted); }
.product__status { margin-bottom: 18px; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 22px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.keyfacts div { background: #fff; padding: 12px 16px; }
.keyfacts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.keyfacts dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.catalog__fineprint { margin: 18px 0 0; font-size: .85rem; color: var(--muted); max-width: 80ch; }
.card__amount { margin: auto 0 6px; padding-top: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.card__amount--call { font-size: 1.05rem; color: var(--navy-800); }
.card__amount-note { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.price-box { padding: 22px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.price-box__label { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.price-box__value { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; line-height: 1.1; }
.price-box__note { color: var(--muted); font-size: .95rem; }
.assurances { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.assurances li { display: flex; gap: 10px; align-items: flex-start; }
.assurances .icon { color: var(--green); margin-top: 2px; }
.download { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.download .icon { width: 28px; height: 28px; color: var(--red-600); }
.download small { display: block; color: var(--muted); }
.download:hover { border-color: var(--navy-700); }
.product__details { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); }
.product__content > section { margin-bottom: 44px; max-width: 980px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 24px; }
.ticks li { display: flex; gap: 10px; }
.ticks .icon { color: var(--green); margin-top: 3px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.specs__table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs__table caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #fff; background: var(--navy-800); padding: 10px 16px; }
.specs__table th, .specs__table td { padding: 10px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .97rem; }
.specs__table th { font-weight: 500; color: var(--muted); width: 50%; }
.specs__table td { font-weight: 600; color: var(--ink); }
.specs__table tr:nth-child(even) { background: #fafbfc; }
@media (max-width: 960px) {
	.product__top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.specs { grid-template-columns: minmax(0, 1fr); }
}

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact__aside { display: grid; gap: 20px; }
.contact__form:focus { outline: none; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.locations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 24px; }
.location-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.location-card__body { padding: 26px; flex: 1; }
.location-card h3 { margin: 0 0 12px; }
.location-card__addr { display: flex; gap: 10px; align-items: flex-start; }
.location-card__addr .icon { flex: none; margin-top: 4px; color: var(--red-600); }
.location-card__note { color: var(--muted); }
.location-card__map { display: block; width: 100%; height: 280px; border: 0; border-top: 1px solid var(--line); }
.trust__logo { flex: none; width: auto; height: 22px; margin-top: 4px; }
.site-footer__note { display: block; font-size: .85rem; color: #b9c0d6; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* Gravity Forms (works with the Orbital and basic themes) */
.gform_wrapper.gform-theme--orbital, .gform-theme--foundation {
	--gf-color-primary: #d42a28;
	--gf-color-primary-rgb: 212, 42, 40;
	--gf-color-primary-darker: #b32220;
	--gf-color-primary-contrast: #fff;
	--gf-ctrl-border-color: #c7ccd6;
	--gf-ctrl-label-color-primary: #151821;
	--gf-font-family-base: var(--font-body);
	--gf-ctrl-size: 48px;
	--gf-radius: 6px;
	--gf-ctrl-font-size: 1rem;
	--gf-ctrl-label-font-size-primary: 1rem;
	--gf-ctrl-label-font-weight-primary: 600;
	--gf-ctrl-btn-font-size: 1.05rem;
	--gf-ctrl-btn-font-weight: 600;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=file]), .gform_wrapper select, .gform_wrapper textarea { font-size: 1rem; min-height: 48px; }
.gform_wrapper .gform_button, .gform_wrapper input[type=submit] { min-height: 52px !important; padding: 12px 28px !important; }
.gform_wrapper .gfield_required { color: var(--red-600); }
.gform_wrapper .gform_validation_errors { border-radius: var(--radius-sm); }
.mae-form-success { padding: 18px 20px; border-radius: var(--radius); background: #e3f4ea; color: #12482a; border: 1px solid #b8dfc8; }
.mae-form-fallback { padding: 16px; background: var(--soft); border-radius: var(--radius); }

/* Prose */
.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose .wp-block-embed iframe, .prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose .wp-block-gallery { gap: 12px; }
.prose figure { margin: 0; }
.prose .wp-block-columns { gap: 24px; }

/* News */
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__date { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.post-card__title { font-size: 1.5rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-hero { margin: 0 0 28px; }
.post-hero img { border-radius: var(--radius); width: 100%; }

/* Footer */
.footer-cta { background: var(--navy-800); color: #dfe3f0; padding: 44px 0; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; margin-bottom: 6px; }
.footer-cta p { margin: 0; }
.site-footer { background: var(--navy-950); color: #b9c0d6; font-size: .97rem; padding: 56px 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb3b2; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 36px; }
.site-footer__logo { display: inline-block; margin-bottom: 14px; }
.site-footer__logo:hover { text-decoration: none; }
.site-logo--footer { height: 58px; }
.site-footer__rippa { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-footer__rippa span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #b9c0d6; }
.site-footer__rippa-logo { height: 24px; width: auto; display: block; }
.site-footer__dealer { color: #fff; font-weight: 600; margin-bottom: 4px; }
.site-footer__title { color: #fff; font-size: 1.25rem; margin-bottom: 14px; }
.site-footer__title--spaced { margin-top: 24px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__list--icons li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__list--icons .icon { color: #ff8a88; margin-top: 3px; width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(16,24,40,.08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
	.mobile-bar__call { border: 2px solid var(--navy-700); color: var(--navy-800); }
	.mobile-bar__quote { background: var(--red-600); color: #fff; }
	body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .mobile-bar, .footer-cta, .filters, .toolbar, .chips { display: none !important; }
}

/* Avoid two stacked grey bands on the home page */
.section--muted + .section--muted{padding-top:0}

/* ===== Help me choose (machine finder) ===== */
.finder-launch[hidden], .finder[hidden] { display: none !important; }
.finder-launch { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; align-items: center; background: var(--navy-800); border-radius: 999px; box-shadow: var(--shadow-lg); animation: finder-in .35s ease-out; }
.finder-launch__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px 0 18px; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.finder-launch__btn .icon { width: 18px; height: 18px; }
.finder-launch__x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 48px; border: 0; background: none; color: rgba(255,255,255,.75); cursor: pointer; border-radius: 0 999px 999px 0; }
.finder-launch__x .icon { width: 16px; height: 16px; }
.finder-launch button:hover, .finder-launch button:focus-visible { color: #fff; }
.finder-launch button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
@keyframes finder-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.finder { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.finder__backdrop { position: absolute; inset: 0; background: rgba(13, 18, 38, .55); }
.finder__panel { position: relative; display: flex; flex-direction: column; width: min(680px, 100%); max-height: min(760px, calc(100vh - 40px)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.finder__head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.finder__eyebrow { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); }
.finder__title { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.7rem; line-height: 1.1; }
.finder__title:focus { outline: none; }
.finder__step { margin: 4px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.finder__close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--soft); color: var(--ink); cursor: pointer; }
.finder__close:hover { background: var(--line); }
.finder__body { padding: 18px 22px; overflow-y: auto; }
.finder__q { border: 0; margin: 0; padding: 0; }
.finder__legend { padding: 0; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.finder__opts { display: grid; gap: 10px; }
.finder__opt { display: grid; gap: 2px; width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s; }
.finder__opt:hover, .finder__opt:focus-visible { border-color: var(--navy-700); background: #f5f7fc; color: var(--ink); }
.finder__opt:focus-visible { outline: 3px solid rgba(40, 54, 126, .3); outline-offset: 1px; }
.finder__opt.is-picked { border-color: var(--navy-800); background: #eef1fa; }
.finder__opt-l { font-weight: 700; font-size: 1.05rem; }
.finder__opt-h { color: var(--muted); font-size: .92rem; }
.finder__summary, .finder__lead { margin: 0 0 12px; color: var(--muted); }
.finder__summary:empty { display: none; }
.finder__fuel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 600; }
.finder__chip { min-height: 40px; padding: 6px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.finder__chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.finder__h { margin: 4px 0 10px; font-family: var(--font-head); font-size: 1.3rem; }
.finder__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.finder__card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.finder__card img, .finder__noimg { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.finder__card-t { margin: 0; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.15; }
.finder__facts { margin: 4px 0 0; font-weight: 600; }
.finder__tags { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.finder__miss { margin: 6px 0 0; padding: 6px 10px; border-radius: 6px; background: #fff4e5; color: #7a4a00; font-size: .9rem; }
.finder__card-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.finder__note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.finder__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line); background: #fafbfc; }
.finder__nav { display: flex; gap: 8px; }
.finder__help { margin: 0; font-size: .92rem; color: var(--muted); }
.finder__help a { font-weight: 700; color: var(--navy-800); }
html.finder-open { overflow: hidden; }
@media (max-width: 760px) {
	.finder-launch { right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); animation: none; }
	.finder-launch__btn { min-height: 44px; padding-left: 14px; font-size: .95rem; }
	.finder-launch__x { height: 44px; }
	.finder { padding: 0; align-items: flex-end; }
	.finder__panel { width: 100%; max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; }
	.finder__head, .finder__body, .finder__foot { padding-left: 16px; padding-right: 16px; }
	.finder__card { grid-template-columns: 88px 1fr; gap: 10px; }
	.finder__card img, .finder__noimg { width: 88px; height: 70px; }
	.finder__help span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .finder-launch { animation: none; } .finder__opt { transition: none; } }
@media print { .finder-launch, .finder { display: none !important; } }
.hero__finder { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.hero__finder:hover { color: #ffb3b2; }
.hero__finder + .hero__call { margin-top: 12px; }
.finder [hidden] { display: none !important; }
html.finder-open .finder-launch { display: none; }

/* Service & repair band (home) */
.service { background: var(--navy-800); color: #dfe4f2; padding: 72px 0; }
.service__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.service h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .4em; }
.service p { font-size: 1.08rem; line-height: 1.6; max-width: 56ch; }
.service .eyebrow { color: #ff8a88; }
.service .cta-row { margin-top: 26px; }
.service__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.service__list .icon { flex: none; width: 30px; height: 30px; color: #ff6b69; margin-top: 2px; }
.service__list strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: #fff; line-height: 1.2; }
.service__list span { display: block; font-size: .95rem; color: #b9c1d9; }
@media (max-width: 900px) {
	.service { padding: 52px 0; }
	.service__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
/* Trust bar: give the longer titles room so they stay on one line */
@media (min-width: 1081px) {
	.trust__grid { grid-template-columns: 1fr 1fr 1.3fr .85fr; }
	.trust__item strong { white-space: nowrap; }
}
@media (min-width: 521px) { .trust__item strong { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .cat__media img { transition: none; } .cat:hover img { transform: none; } }
@media (max-width: 860px) { .cat { aspect-ratio: 4 / 3; } }

/* Deposit checkout (WooCommerce) */
.woocommerce-checkout .container--narrow { max-width: 1160px; padding-top: 40px; }
.woocommerce-checkout .woocommerce { max-width: 1120px; margin: 0 auto; }
.woocommerce-checkout .woocommerce-notices-wrapper:empty { display: none; }
form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0 40px; align-items: start; }
form.woocommerce-checkout > * { grid-column: 1; }
form.woocommerce-checkout > .mae-co-summary { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: calc(var(--header-h, 92px) + 20px); }
#order_review_heading { display: none; }
.woocommerce-checkout #customer_details.col2-set { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-1 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2 { display: none; }
.woocommerce-billing-fields > h3 { display: none; }
.mae-co-step { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.mae-co-step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-800, #0f2a5c); color: #fff; font-size: 1rem; }
#order_review .mae-co-step { margin-top: 32px; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 24px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
/* Review table: keep only the pickup/delivery choice */
.woocommerce-checkout-review-order-table { border: 0 !important; margin: 0 0 4px !important; }
.woocommerce-checkout-review-order-table thead, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table .cart-subtotal, .woocommerce-checkout-review-order-table .order-total, .woocommerce-checkout-review-order-table .woocommerce-shipping-totals th { display: none; }
.woocommerce-checkout-review-order-table tfoot, .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals, .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td { display: block; padding: 0 !important; border: 0 !important; background: none !important; }
.woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table tfoot, .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals, .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td { width: 100%; text-align: left !important; }
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.woocommerce ul#shipping_method li { text-indent: 0; line-height: 1.4; }
.woocommerce ul#shipping_method li label { display: block !important; }
.woocommerce-checkout #payment .payment_method_square_credit_card > label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; color: var(--ink); }
.woocommerce-checkout #payment .payment_method_square_credit_card > label img { display: inline-block; height: 22px; width: auto; margin: 0 !important; float: none !important; }
.woocommerce-checkout #payment .payment_method_square_credit_card > input[type=radio] { display: none; }
#shipping_method li { position: relative; margin: 0 !important; padding: 0 !important; }
#shipping_method li input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); margin: 0 !important; accent-color: var(--red-600); width: 18px; height: 18px; }
#shipping_method li label { display: block; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); cursor: pointer; background: #fff; }
#shipping_method li input:checked + label { border-color: var(--red-600); box-shadow: 0 0 0 1px var(--red-600); background: #fff8f8; }
/* Payment */
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce-checkout #payment ul.payment_methods { padding: 16px; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--soft); margin: 10px 0 0; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 16px; }
.woocommerce-privacy-policy-text { font-size: .85rem; color: var(--muted); }
.woocommerce #payment #place_order, .woocommerce button.button.alt { float: none; width: 100%; background: var(--red-600); color: #fff; border-radius: 8px; padding: 16px 22px; font-weight: 700; font-size: 1.1rem; }
.woocommerce #payment #place_order:hover { background: var(--red-700); }
.mae-deposit__ack { margin: 4px 0 16px; font-size: .95rem; }
/* Summary card */
.mae-co-summary { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 30, 60, .06); }
.mae-co-summary__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mae-co-summary__body { padding: 20px 22px 22px; }
.mae-co-summary__eyebrow { margin: 0 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.mae-co-summary__title { margin: 0 0 14px; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.mae-co-summary dl { margin: 0 0 14px; }
.mae-co-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mae-co-summary dt { color: var(--muted); }
.mae-co-summary dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.mae-co-summary dl div.is-due { padding: 12px 0; }
.mae-co-summary dl div.is-due dt { color: var(--ink); font-weight: 700; }
.mae-co-summary dl div.is-due dd { font-family: var(--font-head); font-size: 1.5rem; color: var(--red-600); }
.mae-co-summary__terms { margin: 0 0 12px; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.mae-co-summary__alt { margin: 0; font-size: .9rem; }
.mae-deposit { margin: 0 0 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.mae-deposit__terms { margin: 0; font-size: .92rem; color: var(--text); }
@media (max-width: 900px) {
	form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr); }
	form.woocommerce-checkout > .mae-co-summary { grid-column: 1; grid-row: auto; position: static; margin-bottom: 28px; order: -1; }
	.mae-co-summary__img { display: none; }
}

/* Phone safety: long button labels wrap instead of pushing the page wider */
.cta-stack { min-width: 0; }
.cta-stack .btn { max-width: 100%; white-space: normal; text-align: center; }

/* Media page */
.media-hero { background: linear-gradient(120deg, var(--navy-950, #0b1430) 0%, var(--navy-800, #14204a) 60%, #1d2f6b 100%); color: #fff; padding: 26px 0 44px; }
.media-hero .breadcrumbs, .media-hero .breadcrumbs a { color: #c9d1ea; }
.eyebrow--light { color: #ff8a8a; }
.media-hero__title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; margin: .1em 0 .25em; }
.media-hero__lead { max-width: 640px; color: #dbe1f2; font-size: 1.08rem; margin: 0 0 26px; }
.social-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.social-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: 14px; color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .15s, box-shadow .15s; }
.social-card:hover, .social-card:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.3); color: #fff; }
.social-card--facebook { background: #1877f2; }
.social-card--tiktok { background: #111; }
.social-card--instagram { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.social-card__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.social-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.social-card__text strong { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.1; }
.social-card__text span { font-size: .9rem; opacity: .92; overflow-wrap: anywhere; }
.social-card__cta { flex: none; background: #fff; color: #111; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .9rem; }
.media-split { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 40px; align-items: start; }
.media-split h2 { margin-top: 0; }
.fb-feed { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); max-width: 500px; }
.fb-feed iframe { display: block; width: 100%; height: 640px; border: 0; }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
.photo-grid li { margin: 0; }
.photo-grid__big { grid-column: span 2; grid-row: span 2; }
.photo-grid__wide { grid-column: span 2; }
.photo-grid a { display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-grid a:hover img { transform: scale(1.04); }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.video-tile { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.video-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video-tile__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--red-600, #c8102e); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.video-tile__play .icon { width: 26px; height: 26px; }
.video-tile:hover .video-tile__play, .video-tile:focus-visible .video-tile__play { transform: scale(1.08); }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
.video-tile__cap { margin: 8px 0 0; display: flex; flex-direction: column; }
.video-tile__cap span { font-size: .85rem; color: var(--muted); }
.tag-banner { background: var(--red-600, #c8102e); color: #fff; padding: 26px 0; }
.tag-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tag-banner__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.75rem); text-transform: uppercase; }
.tag-banner__handles { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,10,25,.92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; display: block; margin: 0 auto; }
.lightbox figcaption { color: #dbe1f2; text-align: center; margin-top: 10px; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) {
	.media-split { grid-template-columns: minmax(0, 1fr); }
	.fb-feed { max-width: 100%; }
}
@media (max-width: 560px) {
	.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
	.social-card__cta { display: none; }
}

/* Footer social icons */
.site-footer__follow-title { margin: 18px 0 8px; font-weight: 700; color: #fff; }
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.footer-social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.footer-social__link:hover, .footer-social__link:focus-visible { background: rgba(255,255,255,.22); color: #fff; }
