/*
Theme Name: Synchronous Belts
Theme URI: https://www.synchronous-belts.com/
Author: Synchronous Belts
Description: Shopify Minimog-style WordPress product catalogue theme migrated from the supplied storefront design.
Version: 2.1.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: synchronous-belts
*/

:root { --sb-accent: #111; --sb-muted: #6b7280; --sb-line: #e5e7eb; --sb-page: #fff; }
* { box-sizing: border-box; }
body { margin: 0; color: #202020; background: var(--sb-page); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
.sb-container { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.sb-section { padding: 72px 0; }
.sb-section--tight { padding: 40px 0; }
.sb-eyebrow { margin: 0 0 12px; color: var(--sb-muted); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sb-title { margin: 0 0 28px; font-size: clamp(30px, 4vw, 54px); font-weight: 500; line-height: 1.1; }
.sb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border: 1px solid #111; border-radius: 0; background: #111; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sb-button--light { background: #fff; color: #111; }
.sb-skip-link { position: absolute; left: -9999px; }
.sb-skip-link:focus { left: 12px; top: 12px; z-index: 99; padding: 10px; background: #fff; }
.sb-site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--sb-line); }
.sb-announcement { padding: 9px 16px; background: #111; color: #fff; text-align: center; font-size: 12px; letter-spacing: .04em; }
.sb-header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; gap: 24px; }
.sb-brand { font-size: 18px; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.sb-brand img { display: block; width: auto; max-width: 145px; max-height: 45px; }
.sb-menu, .sb-actions { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
.sb-actions { justify-content: flex-end; }
.sb-menu .sub-menu { display: none; }
.sb-menu a, .sb-actions a { white-space: nowrap; }
.sb-mobile-toggle { display: none; border: 0; background: none; font-size: 24px; }
.sb-hero { position: relative; display: grid; min-height: min(720px, 75vh); place-items: end start; overflow: hidden; background: #252525; color: #fff; }
.sb-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; }
.sb-hero__content { position: relative; z-index: 1; width: min(720px, 100%); padding: 64px; }
.sb-hero__content .sb-title { font-size: clamp(42px, 6vw, 75px); }
.sb-hero__content p { max-width: 540px; font-size: 18px; line-height: 1.55; }
.sb-grid { display: grid; gap: 28px; }
.sb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sb-card__image { display: block; aspect-ratio: 1 / 1; background: #f4f4f4; overflow: hidden; }
.sb-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sb-card:hover .sb-card__image img { transform: scale(1.03); }
.sb-card__meta { padding: 18px 0; }
.sb-card__meta h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.sb-card__meta p { margin: 0; color: var(--sb-muted); font-size: 14px; line-height: 1.5; }
.sb-product-card .price { display: block; margin-top: 7px; font-size: 14px; }
.sb-product-card .button { margin-top: 14px; }
.sb-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #f5f5f3; }
.sb-split__image { min-height: 460px; background: #ddd; }
.sb-split__image img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.sb-split__content { max-width: 600px; padding: 60px; }
.sb-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--sb-line); }
.sb-feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.sb-feature p { margin: 0; color: var(--sb-muted); font-size: 14px; }
.sb-page-header { padding: 58px 0 30px; border-bottom: 1px solid var(--sb-line); }
.sb-page-header h1 { margin: 0; font-size: clamp(32px, 5vw, 56px); font-weight: 500; }
.sb-content { padding: 56px 0; }
.sb-content article { max-width: 880px; }
.sb-content h1, .sb-content h2, .sb-content h3 { font-weight: 500; }
.sb-site-footer { margin-top: 50px; background: #141414; color: #fff; }
.sb-header-cta { padding: 10px 14px; background: #111; color: #fff; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.sb-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.sb-text-link { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sb-empty { padding: 32px; border: 1px solid var(--sb-line); color: var(--sb-muted); }
.sb-card__image-fallback, .sb-product-detail__placeholder { display: grid; width: 100%; height: 100%; min-height: 240px; place-items: center; background: #e9e9e9; color: #666; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.sb-intro { max-width: 650px; color: var(--sb-muted); font-size: 17px; line-height: 1.6; }
.sb-catalogue-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; }
.sb-catalogue-filter { border-top: 1px solid #111; }
.sb-catalogue-filter h2 { margin: 18px 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sb-catalogue-filter ul { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--sb-line); }
.sb-catalogue-filter li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--sb-line); font-size: 14px; }
.sb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-breadcrumb { padding: 25px 0; color: var(--sb-muted); font-size: 13px; }
.sb-product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 56px; padding-bottom: 75px; }
.sb-product-detail__media { min-height: 480px; background: #f1f1f1; }
.sb-product-detail__media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.sb-product-detail__summary h1 { margin: 0 0 22px; font-size: clamp(34px, 4vw, 56px); font-weight: 500; line-height: 1.08; }
.sb-product-detail__excerpt { color: #555; line-height: 1.7; }
.sb-specs { margin: 32px 0; border-top: 1px solid #111; }
.sb-specs div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sb-line); font-size: 14px; }
.sb-specs dt { color: var(--sb-muted); }
.sb-specs dd { margin: 0; font-weight: 600; }
.sb-product-detail__description { grid-column: 1 / -1; max-width: 820px; padding-top: 20px; border-top: 1px solid var(--sb-line); line-height: 1.75; }
/* Product catalogue: override generic Shopify utility styles at the integration boundary. */
#main-content .sb-catalogue-layout { display: grid !important; grid-template-columns: 230px minmax(0, 1fr) !important; align-items: start; }
#main-content .sb-catalogue-layout > div { min-width: 0; }
#main-content .sb-grid.sb-grid--3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 30px !important; align-items: start; }
#main-content .sb-product-card { display: block !important; width: 100% !important; min-width: 0; margin: 0 !important; }
#main-content .sb-product-card .sb-card__image { display: block; width: 100%; aspect-ratio: 1 / 1; background: #f6f6f6; }
#main-content .sb-product-card .sb-card__image img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
#main-content .sb-product-card .sb-card__meta { padding: 16px 0 0; }
#main-content .sb-product-card .sb-card__meta > p:not(.sb-eyebrow) { display: -webkit-box; overflow: hidden; margin-bottom: 14px; color: var(--sb-muted); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
#main-content .sb-product-card h3 { min-height: 46px; margin-bottom: 8px; font-size: 17px; line-height: 1.35; }
#main-content .sb-catalogue-layout .navigation.pagination { margin-top: 44px; }
.sb-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 68px 0; }
.sb-footer-grid h2, .sb-footer-grid h3 { margin-top: 0; font-weight: 500; }
.sb-footer-grid p, .sb-footer-grid li { color: #cacaca; font-size: 14px; line-height: 1.7; }
.sb-footer-grid ul { margin: 0; padding: 0; list-style: none; }
.sb-footer-bottom { padding: 18px 0; border-top: 1px solid #383838; color: #aaa; font-size: 12px; }
@media (max-width: 900px) { .sb-grid--4, .sb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } #main-content .sb-catalogue-layout { grid-template-columns: 1fr !important; gap: 28px; } #main-content .sb-grid.sb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .sb-header-row { grid-template-columns: auto 1fr auto; } .sb-mobile-toggle { display: block; } .sb-menu { display: none; } .sb-menu.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 24px; background: #fff; border-bottom: 1px solid var(--sb-line); } .sb-menu.is-open li { padding: 12px 0; } .sb-brand { text-align: left; } .sb-actions { gap: 12px; } .sb-actions .sb-action-label { display: none; } .sb-split { grid-template-columns: 1fr; } .sb-features { grid-template-columns: repeat(2, 1fr); } .sb-product-detail { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .sb-container { width: min(100% - 32px, 1440px); } .sb-section { padding: 48px 0; } .sb-hero { min-height: 560px; } .sb-hero__content { padding: 32px; } .sb-grid--2, .sb-grid--3, .sb-grid--4, #main-content .sb-grid.sb-grid--3 { grid-template-columns: 1fr !important; } .sb-split__content { padding: 38px 26px; } .sb-footer-grid { grid-template-columns: 1fr; gap: 25px; padding: 48px 0; } .sb-actions { font-size: 12px; } }

/* Precision Drive homepage hero */
.sb-site-header { position: relative; border-bottom: 1px solid #dedede; }
.sb-header-row { grid-template-columns: 190px minmax(0, 1fr) auto; min-height: 104px; gap: 30px; }
.sb-brand { display: flex; align-items: center; justify-content: flex-start; }
.sb-brand img { width: 172px; max-width: 100%; max-height: none; }
.sb-primary-nav { min-width: 0; }
.sb-primary-nav .sb-menu { justify-content: center; gap: clamp(16px, 2.1vw, 34px); font-size: 14px; font-weight: 700; }
.sb-actions { gap: 24px; font-size: 14px; font-weight: 700; }
.sb-header-cta { min-height: 56px; padding: 0 32px; background: #ff9200; color: #fff; font-size: 14px; letter-spacing: 0; text-transform: none; }
.sb-hero--precision { display: block; min-height: 500px; background: #f7f7f7; color: #111; }
.sb-hero--precision .sb-hero__media { inset: auto 0 0 auto; width: 50%; height: 100%; object-fit: cover; opacity: 1; }
.sb-hero--precision .sb-hero__content { display: flex; align-items: center; min-height: 500px; width: min(1440px, calc(100% - 48px)); padding: 42px 0; }
.sb-hero__panel { position: relative; z-index: 1; width: min(560px, 52%); padding: 20px 45px 28px 0; }
.sb-hero--precision .sb-eyebrow { margin-bottom: 24px; color: #ff9200; font-size: 13px; letter-spacing: .17em; }
.sb-hero--precision .sb-title { max-width: 560px; margin-bottom: 24px; font-size: clamp(54px, 5vw, 82px); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.sb-hero--precision .sb-hero__panel > p:not(.sb-eyebrow) { max-width: 450px; margin: 0; color: #333; font-size: 18px; line-height: 1.55; }
.sb-hero__buttons { display: flex; align-items: center; gap: 32px; margin-top: 38px; }
.sb-hero--precision .sb-button { min-height: 58px; padding: 0 32px; border-color: #ff9200; background: #ff9200; font-size: 14px; letter-spacing: 0; text-transform: none; }
.sb-hero__quote { border-bottom: 2px solid #ff9200; padding-bottom: 5px; color: #111; font-size: 14px; font-weight: 800; }
@media (max-width: 1050px) { .sb-header-row { grid-template-columns: 176px minmax(0, 1fr) auto; gap: 20px; } .sb-primary-nav .sb-menu { gap: 16px; font-size: 12px; } .sb-header-cta { min-height: 48px; padding: 0 20px; } .sb-hero--precision, .sb-hero--precision .sb-hero__content { min-height: 530px; } .sb-hero--precision .sb-hero__media { width: 52%; } .sb-hero--precision .sb-title { font-size: clamp(48px, 6vw, 66px); } }
@media (max-width: 900px) { .sb-header-row { grid-template-columns: auto 1fr auto; min-height: 76px; } .sb-brand { grid-column: 2; justify-content: center; } .sb-brand img { width: 135px; } .sb-primary-nav { display: contents; } .sb-primary-nav .sb-menu.is-open { top: 76px; } .sb-hero--precision, .sb-hero--precision .sb-hero__content { min-height: 610px; } .sb-hero--precision .sb-hero__media { width: 100%; opacity: .42; } .sb-hero--precision .sb-hero__content { padding: 48px 0; } .sb-hero__panel { width: min(620px, 100%); padding-right: 0; color: #fff; } .sb-hero--precision .sb-title, .sb-hero__quote { color: #fff; } .sb-hero--precision .sb-hero__panel > p:not(.sb-eyebrow) { color: #e6e6e6; } }
@media (max-width: 600px) { .sb-header-row { gap: 12px; } .sb-header-cta { min-height: 42px; padding: 0 12px; font-size: 12px; } .sb-hero--precision, .sb-hero--precision .sb-hero__content { min-height: 590px; } .sb-hero--precision .sb-hero__content { padding: 40px 0; } .sb-hero--precision .sb-title { font-size: clamp(44px, 14vw, 62px); } .sb-hero--precision .sb-hero__panel > p:not(.sb-eyebrow) { font-size: 16px; } .sb-hero__buttons { flex-wrap: wrap; gap: 20px; margin-top: 28px; } .sb-hero--precision .sb-button { min-height: 52px; } }
