/*
Theme Name: SRH Kadence Child
Template: kadence
Version: 0.3.9
Description: Speier Racing Heads staging child theme (BLC Designs). Recreates Brian Meyers's demo look on Kadence + block editor. No webfonts (system font stacks, as in the demo).
Text Domain: srh-child
*/
body{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--white);-webkit-font-smoothing:antialiased}
a{color:var(--wp--preset--color--red-l)}
h1,h2,.srh-display{font-family:var(--wp--preset--font-family--display);font-style:italic;text-transform:uppercase;line-height:1;letter-spacing:-.01em}
.srh-eyebrow{color:var(--wp--preset--color--red-l);font-weight:800;text-transform:uppercase;letter-spacing:.18em;font-size:.78rem}
.srh-hero{background:linear-gradient(90deg,rgba(13,14,16,.96) 35%,rgba(13,14,16,.55)),var(--srh-hero-img,none) center/cover}
.srh-hero h1{font-size:clamp(2.3rem,6vw,4.6rem);max-width:14ch}
.srh-lead{font-size:1.15rem;color:var(--wp--preset--color--steel);max-width:52ch}
.srh-stats strong{display:block;font-family:var(--wp--preset--font-family--display);font-size:1.6rem;font-style:italic}
.srh-stats span,.srh-muted{color:var(--wp--preset--color--steel-2);font-size:.85rem;text-transform:uppercase;letter-spacing:.08em}
.srh-card{background:var(--wp--preset--color--ink-2);border:1px solid var(--wp--preset--color--line);border-radius:10px;padding:1.4rem;height:100%}
.srh-card:hover{border-color:var(--wp--preset--color--red)}
.wp-block-button__link,.button,button.single_add_to_cart_button,.woocommerce a.button{background:var(--wp--preset--color--red)!important;color:#fff!important;border:2px solid var(--wp--preset--color--red)!important;border-radius:8px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.05em;font-size:.88rem!important}
.wp-block-button__link:hover,.woocommerce a.button:hover{background:var(--wp--preset--color--red-d)!important}
.is-style-outline .wp-block-button__link{background:transparent!important;border-color:var(--wp--preset--color--line)!important}
.srh-table table,.srh-specs{width:100%;border-collapse:collapse}
.srh-table td,.srh-table th,.srh-specs td,.srh-specs th{border-bottom:1px solid var(--wp--preset--color--line);padding:.55rem .7rem;text-align:left}
.srh-specs th{color:var(--wp--preset--color--steel-2);font-weight:600;width:40%}
.srh-staging-bar{background:#111;color:#ffd23f;text-align:center;font-size:.8rem;padding:3px 10px;letter-spacing:.04em}
/* Header/footer (Kadence) */
.site-header,.site-footer,#masthead,#colophon{background:var(--wp--preset--color--ink-2)!important;border-color:var(--wp--preset--color--line)!important}
.main-navigation a,.header-navigation a{color:var(--wp--preset--color--steel)!important;font-weight:700;text-transform:uppercase;font-size:.82rem;letter-spacing:.06em}
.main-navigation a:hover{color:#fff!important}
/* WooCommerce store, matching demo cards */
.woocommerce ul.products li.product,.wc-block-grid__product{background:var(--wp--preset--color--ink-2);border:1px solid var(--wp--preset--color--line);border-radius:10px;padding:0 0 1rem;overflow:hidden}
.woocommerce ul.products li.product img{aspect-ratio:4/3;object-fit:cover;margin:0 0 .8rem}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#fff;font-size:1.12rem;padding:0 1rem}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--wp--preset--color--red-l)!important;font-weight:800}
.woocommerce ul.products li.product .button{margin:0 1rem}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--wp--preset--color--ink-3);border-color:var(--wp--preset--color--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--wp--preset--color--red)}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:#fff}
.woocommerce span.onsale{background:var(--wp--preset--color--red)}
.srh-quote-note{border-left:3px solid var(--wp--preset--color--red);padding:.6rem 1rem;background:var(--wp--preset--color--ink-3);margin:1rem 0}
input,select,textarea{background:var(--wp--preset--color--ink-3)!important;color:#fff!important;border:1px solid var(--wp--preset--color--line)!important;border-radius:8px!important}

/* ===== v0.2.0 fixes: map Kadence's global palette to the demo colors (Kadence prints these vars inline; this sheet loads after it) ===== */
html:root{
 --global-palette1:#c8142c; --global-palette2:#ff3b52; --global-palette3:#f5f6f7; --global-palette4:#e6e9ec;
 --global-palette5:#b9c0c8; --global-palette6:#8a939d; --global-palette7:#15171a; --global-palette8:#0d0e10; --global-palette9:#0d0e10;
 --global-palette-highlight:#ff3b52; --global-palette-highlight-alt:#ffffff; --global-palette-btn-bg:#c8142c; --global-palette-btn-bg-hover:#9e0f22; --global-palette-btn:#ffffff; --global-palette-btn-hover:#ffffff;
}
body,.site,.content-bg,.site-container,body.content-style-unboxed .site{background:#0d0e10!important;color:#f5f6f7}
h1,h2,h3,h4,h5,h6,.entry-title{color:#f5f6f7}

/* (3) Header like the demo: dark translucent sticky bar, logo, uppercase nav, cart pill */
#masthead .site-header-row-container-inner,#masthead .site-main-header-wrap .site-header-row-container-inner,.site-header-wrap,#mobile-header .site-header-row-container-inner{background:rgba(13,14,16,.94)!important;border-bottom:1px solid #2c3036}
#masthead{position:sticky;top:0;z-index:50;backdrop-filter:blur(8px)}
.admin-bar #masthead{top:32px}
#masthead .site-main-header-inner-wrap{min-height:72px}
.site-branding .custom-logo{max-height:44px;width:auto}
.site-branding .site-title{color:#fff!important;font-family:var(--wp--preset--font-family--display);font-style:italic;text-transform:uppercase}
.header-navigation .menu>li>a,.main-navigation .primary-menu-container>ul>li.menu-item>a{color:#b9c0c8!important;font-weight:700;text-transform:uppercase;font-size:.82rem;letter-spacing:.06em;padding:.6rem .7rem!important;border-radius:6px}
.header-navigation .menu>li>a:hover,.header-navigation .menu>li.current-menu-item>a{color:#fff!important;background:#1e2125}
.header-navigation .menu>li.current-menu-item>a{box-shadow:inset 0 -3px 0 #c8142c}
.header-navigation .sub-menu{background:#15171a!important;border:1px solid #2c3036}
.site-header-item .header-cart-button,.header-mobile-cart-wrap .header-cart-button{color:#fff!important;border:1px solid #2c3036;border-radius:999px;padding:.45rem .8rem;font-weight:700}
.header-cart-button:hover{border-color:#c8142c}
.header-cart-button .header-cart-total{background:#c8142c!important;color:#fff!important;border-radius:999px;min-width:1.4rem;height:1.4rem}
.menu-toggle-open,.mobile-toggle-open-container .menu-toggle-open{color:#fff!important;border:1px solid #2c3036;border-radius:8px}
#mobile-drawer .drawer-inner,.popup-drawer .drawer-inner{background:#15171a!important;color:#f5f6f7}
#mobile-drawer .mobile-navigation a{color:#f5f6f7!important;text-transform:uppercase;font-weight:700}

/* (2) Kadence title banner: hidden on Home, demo "page-head" style elsewhere */
.home .entry-hero,.home .page-hero-section,.home .entry-header.page-title,.home .entry-content-wrap>.entry-header{display:none!important}
.entry-hero{background:linear-gradient(180deg,#15171a,#0d0e10)!important;border-bottom:1px solid #2c3036;position:relative;overflow:hidden}
.entry-hero .entry-hero-container-inner{background:transparent!important}
.entry-hero::after{content:"";position:absolute;right:-80px;top:0;bottom:0;width:340px;background:repeating-linear-gradient(115deg,transparent 0 22px,rgba(200,20,44,.18) 22px 34px);pointer-events:none}
.entry-hero .hero-section-overlay{display:none}
.entry-hero .entry-header{text-align:left!important;min-height:0!important;padding:56px 0 36px}
.entry-hero .entry-hero-container-inner .hero-container{max-width:1180px}
.entry-hero h1.entry-title,.page-title h1{font-family:var(--wp--preset--font-family--display);font-style:italic;text-transform:uppercase;font-size:clamp(2rem,4.5vw,3.2rem);line-height:1;color:#fff}
.kadence-breadcrumbs,.entry-hero .kadence-breadcrumbs a{color:#8a939d}
/* our block-built page heads already carry the title, so drop Kadence's banner where one exists */
body:has(.srh-pagehead) .entry-hero{display:none!important}
.srh-pagehead{background:linear-gradient(180deg,#15171a,#0d0e10)!important;border-bottom:1px solid #2c3036;position:relative;overflow:hidden}
.srh-pagehead::after{content:"";position:absolute;right:-80px;top:0;bottom:0;width:340px;background:repeating-linear-gradient(115deg,transparent 0 22px,rgba(200,20,44,.18) 22px 34px);pointer-events:none}
.srh-pagehead h1{font-size:clamp(2rem,4.5vw,3.2rem)!important}
/* full-bleed pages: no top gap / white strip above first block */
.page .content-area{margin-top:0!important}
.page .entry-content-wrap{padding:0!important}
.page .content-container.site-container{max-width:none;padding:0}
.page .entry.single-entry{box-shadow:none!important;background:transparent!important}

/* (1)+(5) Hero like the demo: one text column over ports-pair.jpg with dark left-to-right fade, red bottom rule */
.srh-hero{position:relative;min-height:78vh;display:flex;align-items:center;overflow:hidden;border-bottom:4px solid #c8142c;
 background:linear-gradient(90deg,rgba(13,14,16,.96) 0%,rgba(13,14,16,.85) 42%,rgba(13,14,16,.35) 100%),url(assets/ports-pair.jpg) center/cover no-repeat!important}
.srh-hero>.wp-block-columns{width:100%}
.srh-hero>.wp-block-columns>.wp-block-column:last-child{display:none}   /* hide the inline photo column; photo is the background now */
.srh-hero>.wp-block-columns>.wp-block-column:first-child{flex-basis:100%!important;max-width:760px}
.srh-hero h1{color:#fff!important;font-size:clamp(2.3rem,6vw,4.6rem)!important;line-height:.98;max-width:14ch;margin:0 0 1rem;overflow:visible;word-break:normal;overflow-wrap:normal;hyphens:none}
.srh-hero h1 span,.srh-hero h1 strong{color:#ff3b52}
.srh-hero .srh-lead{color:#b9c0c8}
.srh-hero .wp-block-columns .wp-block-columns{gap:28px;margin-top:2.4rem;flex-wrap:wrap}
.srh-hero .wp-block-columns .wp-block-columns>.wp-block-column{flex:0 0 auto!important;border-left:3px solid #c8142c;padding-left:12px}
.srh-stats{color:#fff;margin:0}
.srh-stats span{display:block}
.is-style-outline .wp-block-button__link{border-color:#f5f6f7!important;color:#fff!important}
.is-style-outline .wp-block-button__link:hover{background:#fff!important;color:#0d0e10!important}

/* (4) Shop loop on Kadence markup: dark card, visible title/price/button */
.woocommerce ul.products li.product{background:#1e2125!important;border:1px solid #2c3036;border-radius:10px;overflow:visible;padding:0!important;display:flex;flex-direction:column}
.woocommerce ul.products li.product:hover{border-color:#c8142c}
.woocommerce ul.products li.product .woocommerce-loop-image-link,.woocommerce ul.products li.product a img{border-radius:10px 10px 0 0;overflow:hidden;display:block;aspect-ratio:4/3;object-fit:cover;width:100%;margin:0!important}
.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .entry-content-wrap{background:transparent!important;padding:16px 18px 18px!important;position:static!important;color:#f5f6f7}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-product__title a{color:#f5f6f7!important;font-size:1.08rem;padding:0;font-family:var(--wp--preset--font-family--body);font-style:normal;text-transform:none}
.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .price .amount{color:#ff3b52!important;font-weight:800}
.woocommerce ul.products li.product .product-action-wrap{opacity:1!important;visibility:visible!important;transform:none!important;position:static!important;margin-top:.6rem}
.woocommerce ul.products li.product .button{margin:0!important;display:inline-flex}
.woocommerce ul.products li.product .woocommerce-product-details__short-description,.woocommerce ul.products li.product p{color:#b9c0c8;font-size:.92rem}
.kadence-shop-top-row,.woocommerce-result-count,.woocommerce-ordering select{color:#b9c0c8}
.kadence-product-toggle-container .kadence-toggle-shop-layout{background:#1e2125;border-color:#2c3036;color:#fff}
.woocommerce div.product .product_title{color:#fff}
.woocommerce div.product .woocommerce-tabs .panel,.woocommerce-cart table.cart,.woocommerce-checkout .woocommerce{color:#f5f6f7}
.woocommerce table.shop_table{border-color:#2c3036}
/* footer */
#colophon .site-footer-row-container-inner{background:#15171a!important;border-top:1px solid #2c3036}
#colophon,#colophon a{color:#b9c0c8}

/* ===== v0.3.0: mobile + demo-parity fixes =====
   Root cause A: Kadence replaces the theme.json palette with its own theme-palette-N presets, so
   --wp--preset--color--red/ink/line/... and .has-ink-background-color etc. were never printed.
   Every rule above using those vars (buttons!) resolved to transparent. Define them here. */
:root{--wp--preset--color--red:#c8142c;--wp--preset--color--red-d:#9e0f22;--wp--preset--color--red-l:#ff3b52;--wp--preset--color--ink:#0d0e10;--wp--preset--color--ink-2:#15171a;--wp--preset--color--ink-3:#1e2125;--wp--preset--color--line:#2c3036;--wp--preset--color--steel:#b9c0c8;--wp--preset--color--steel-2:#8a939d;--wp--preset--color--white:#f5f6f7;--srh-pad:72px}
.has-red-background-color{background-color:#c8142c!important}.has-red-d-background-color{background-color:#9e0f22!important}.has-red-l-background-color{background-color:#ff3b52!important}
.has-ink-background-color{background-color:#0d0e10!important}.has-ink-2-background-color{background-color:#15171a!important}.has-ink-3-background-color{background-color:#1e2125!important}
.has-line-background-color{background-color:#2c3036!important}
.has-red-color{color:#c8142c!important}.has-red-l-color{color:#ff3b52!important}.has-steel-color{color:#b9c0c8!important}.has-steel-2-color{color:#8a939d!important}.has-ink-color{color:#0d0e10!important}

/* Root cause B: the group blocks' padding attributes (4rem / 1.25rem) were never written into the saved HTML
   (no style="padding..."), so sections had no padding, while Kadence's entry-content margins + empty
   wp:html anchors stacked into ragged gaps. Use the demo's section rhythm instead. */
.entry-content>.wp-block-group.alignfull{margin:0!important;padding:var(--srh-pad) 20px!important;box-sizing:border-box}
.entry-content>.wp-block-group.alignfull.has-ink-2-background-color{border-top:1px solid #2c3036;border-bottom:1px solid #2c3036}
.entry-content>.wp-block-group.alignfull>*:first-child,.entry-content>.wp-block-group.alignfull>a:first-child+*{margin-top:0}
.entry-content>.wp-block-group.alignfull>*:last-child{margin-bottom:0}
.entry-content>.wp-block-group.alignfull>a[id]{display:block;height:0;margin:0!important;scroll-margin-top:90px}
.entry-content>.wp-block-group.alignfull>a[id]+*{margin-top:0!important}
.entry-content .wp-block-columns{gap:40px;margin-bottom:0}
.entry-content .wp-block-column>*:first-child{margin-top:0}.entry-content .wp-block-column>*:last-child{margin-bottom:0}
.entry-content h2.wp-block-heading{font-size:clamp(1.6rem,3.4vw,2.4rem);line-height:1.05;margin:0 0 .5rem}
.entry-content h3.wp-block-heading{margin:0 0 .4rem}
.entry-content .wp-block-buttons{margin-top:1.4rem;gap:12px;flex-wrap:wrap}
.srh-pagehead{padding:56px 20px 40px!important}
.srh-hero{padding:64px 20px!important}
.srh-hero .wp-block-columns .wp-block-columns{gap:28px}
.srh-card{display:flex;flex-direction:column;gap:.4rem}
.srh-card>*{margin:0}

/* Buttons: match demo .btn (red fill, ghost outline, white on the red CTA band) */
.wp-block-button__link,.wp-block-button .wp-block-button__link.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.8rem 1.3rem!important;line-height:1.2;text-decoration:none!important;background:#c8142c!important;border:2px solid #c8142c!important;color:#fff!important;border-radius:8px!important;transition:background .15s,transform .15s}
.wp-block-button__link:hover{background:#9e0f22!important;border-color:#9e0f22!important;transform:translateY(-1px)}
.wp-block-button.is-style-outline>.wp-block-button__link,.wp-block-button[class*="is-style-outline"]>.wp-block-button__link{background:transparent!important;border-color:#8a939d!important;color:#fff!important}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{border-color:#fff!important;background:rgba(255,255,255,.06)!important}
.has-red-d-background-color{background:linear-gradient(110deg,#9e0f22,#c8142c 60%,#e2283f)!important}
.has-red-d-background-color .wp-block-button:not([class*="is-style-outline"])>.wp-block-button__link{background:#fff!important;border-color:#fff!important;color:#0d0e10!important}
.has-red-d-background-color .wp-block-button__link:hover{background:#0d0e10!important;border-color:#0d0e10!important;color:#fff!important}
.has-red-d-background-color [class*="is-style-outline"]>.wp-block-button__link{border-color:#fff!important}
.has-red-d-background-color p{color:#ffe3e6}

/* Tables: demo .table-wrap + .results; the figure scrolls, the page never does */
figure.wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;border:1px solid #2c3036;border-radius:10px;margin:1.2rem 0}
figure.wp-block-table table{width:100%;border-collapse:collapse;font-size:.95rem;margin:0;border:0}
figure.wp-block-table th,figure.wp-block-table td{padding:.65rem .8rem;border:0!important;border-bottom:1px solid #2c3036!important;text-align:left;vertical-align:top}
figure.wp-block-table thead{border:0}
figure.wp-block-table th{color:#8a939d;text-transform:uppercase;font-size:.75rem;letter-spacing:.08em;background:transparent}
figure.wp-block-table td:last-child{color:#b9c0c8}
figure.wp-block-table tbody tr:last-child td{border-bottom:0!important}
.entry-content,.site{overflow-x:clip}

/* Cylinder-head lists (functions.php turns "a · b · c" paragraphs into ul.srh-chips) */
ul.srh-chips{list-style:none;margin:.6rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
ul.srh-chips li{background:#1e2125;border:1px solid #2c3036;border-left:3px solid #c8142c;border-radius:8px;padding:.55rem .75rem;font-size:.93rem;line-height:1.3;color:#f5f6f7}
ul.srh-chips a{color:#fff}

@media (max-width:781px){
 :root{--srh-pad:48px}
 .entry-content .wp-block-columns{gap:28px}
 .srh-hero{min-height:0;padding:56px 20px!important}
 .srh-pagehead{padding:40px 20px 32px!important}
}
@media (max-width:600px){
 /* 3+ column tables stack as cards; 2-column tables stay tables (as in the demo) and scroll if needed */
 figure.wp-block-table:has(td:nth-child(3)){border:0;border-radius:0;overflow:visible}
 figure.wp-block-table:has(td:nth-child(3)) thead{display:none}
 figure.wp-block-table:has(td:nth-child(3)) table,figure.wp-block-table:has(td:nth-child(3)) tbody,figure.wp-block-table:has(td:nth-child(3)) tr,figure.wp-block-table:has(td:nth-child(3)) td{display:block;width:100%}
 figure.wp-block-table:has(td:nth-child(3)) tr{background:#1e2125;border:1px solid #2c3036;border-radius:10px;padding:.7rem .9rem;margin:0 0 8px}
 figure.wp-block-table:has(td:nth-child(3)) td{padding:.15rem 0!important;border:0!important}
 figure.wp-block-table:has(td:nth-child(3)) td:first-child{font-weight:700;color:#fff}
 figure.wp-block-table:has(td:nth-child(3)) td[data-label]:not(:first-child)::before{content:attr(data-label) ": ";color:#8a939d;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
 figure.wp-block-table th,figure.wp-block-table td{padding:.5rem .55rem}
 figure.wp-block-table table{font-size:.88rem}
 ul.srh-chips{grid-template-columns:1fr 1fr}
}
/* card footer links ("Details & pricing →") styled like the demo's small ghost buttons */
.srh-card>p:last-child{margin-top:auto!important;padding-top:.6rem}
.srh-card>p:last-child>a:only-child{display:inline-flex;align-items:center;padding:.5rem .8rem;border:2px solid #8a939d;border-radius:8px;color:#fff;font-weight:800;text-transform:uppercase;letter-spacing:.05em;font-size:.78rem;text-decoration:none}
.srh-card>p:last-child>a:only-child:hover{border-color:#fff;background:rgba(255,255,255,.06)}
.entry-content .wp-block-columns>.wp-block-column>.srh-card{height:100%}

/* ===== v0.3.1 — v2 page markup components, footer, shop ===== */
.srh-grid{display:grid!important;gap:18px;margin-top:1.4rem}
.srh-grid>*{margin:0!important}
.srh-g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.srh-g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.srh-g4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1024px){.srh-g3,.srh-g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.srh-g2,.srh-g3,.srh-g4{grid-template-columns:1fr}}
.srh-sub{color:#b9c0c8;max-width:70ch}
.srh-hint{color:#8a939d;font-size:.82rem}
.srh-feature{position:relative;padding:22px!important;border:1px solid #2c3036;border-radius:10px;background:#1e2125}
.srh-feature::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;background:#c8142c;border-radius:2px}
.srh-feature>*{margin-top:0!important}
.srh-feature h3{margin:0 0 .5rem!important;font-size:1.05rem;text-transform:uppercase;letter-spacing:.03em}
.srh-feature p{margin:0 0 .5rem;color:#b9c0c8;font-size:.95rem}
.srh-feature .wp-block-buttons{margin-top:.6rem}
.srh-list{margin:.2rem 0 0;padding-left:1.1rem;color:#b9c0c8;font-size:.93rem}
.srh-list li{margin:.22rem 0}
.srh-list a{color:#fff;text-decoration:underline;text-decoration-color:#c8142c;text-underline-offset:3px}
.srh-mono{font-family:ui-monospace,Menlo,monospace;font-size:.85rem}
.srh-media-card{padding:0!important;overflow:hidden;gap:0!important}
.srh-media-card .srh-card-media{margin:0!important;aspect-ratio:16/10;overflow:hidden}
.srh-media-card .srh-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.srh-media-card:hover .srh-card-media img{transform:scale(1.04)}
.srh-card-body{display:flex;flex-direction:column;gap:.45rem;padding:20px 22px 22px;flex:1}
.srh-card-body>*{margin:0!important}
.srh-card-body h3{font-size:1.1rem;text-transform:uppercase}
.srh-card-body p{color:#b9c0c8;font-size:.95rem}
.srh-card-body .wp-block-buttons{margin-top:auto!important;padding-top:.6rem}
.srh-btn-small .wp-block-button__link{padding:.5rem .85rem!important;font-size:.78rem!important}
.srh-rounded img{border-radius:10px;border:1px solid #2c3036;width:100%;height:auto}
.srh-split{gap:48px!important;align-items:center!important}
.srh-split-top{align-items:flex-start!important}
.srh-contact>.wp-block-column:last-child{display:flex;flex-direction:column;gap:16px}
.srh-contact>.wp-block-column:last-child>*{margin:0!important}
.srh-form-card{background:#15171a;border:1px solid #2c3036;border-radius:10px;padding:24px}
.srh-h-sm{font-size:1.5rem!important}
.srh-specs-list{list-style:none;padding:0!important;margin:14px 0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.srh-specs-list li{background:#1e2125;border:1px solid #2c3036;border-radius:8px;padding:.5rem .7rem;font-size:.9rem;margin:0}
.srh-specs-list strong{display:block;font-size:.7rem;color:#8a939d;text-transform:uppercase;letter-spacing:.08em}
.srh-quote{border-left:4px solid #c8142c!important;margin:0 0 1rem!important;padding:1rem 1.2rem!important;background:#1e2125;border-radius:0 10px 10px 0}
.srh-quote p{font-size:1.05rem;font-style:italic;color:#f5f6f7}
.srh-quote cite{color:#8a939d;font-style:normal;font-size:.85rem}
.srh-table-long{max-height:none;overflow:visible}
.srh-cta-cols{align-items:center!important}
.srh-cta-cols>.wp-block-column:last-child .wp-block-buttons{justify-content:flex-end}
@media(max-width:781px){.srh-split{gap:28px!important}.srh-cta-cols>.wp-block-column:last-child .wp-block-buttons{justify-content:flex-start}}
/* WooCommerce hand-picked products block */
.srh-products .wc-block-grid__products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:1.4rem 0!important}
@media(max-width:900px){.srh-products .wc-block-grid__products{grid-template-columns:1fr}}
.srh-products .wc-block-grid__product{max-width:none!important;flex:none!important;margin:0!important;border:1px solid #2c3036!important;border-radius:10px;background:#15171a;padding:0 0 18px!important;text-align:left!important;overflow:hidden}
.srh-products .wc-block-grid__product-image img{aspect-ratio:4/3;object-fit:cover;width:100%}
.srh-products .wc-block-grid__product-title,.srh-products .wc-block-grid__product-price,.srh-products .wp-block-button{padding:0 18px;color:#fff}
.srh-products .wc-block-grid__product-title{font-weight:800;text-transform:uppercase;font-size:1rem;margin-top:12px}
.srh-products .wc-block-grid__product-price{color:#ff3b52;font-weight:800}
/* Shop archive */
.woocommerce ul.products li.product{background:#15171a;border:1px solid #2c3036;border-radius:10px;padding:0 0 16px!important;overflow:hidden;display:flex;flex-direction:column}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:12px 16px 0!important;font-size:1rem!important;line-height:1.3;text-transform:uppercase}
.woocommerce ul.products li.product .price{padding:0 16px;color:#ff3b52!important;font-weight:800}
.woocommerce ul.products li.product .button{margin:auto 16px 0!important;align-self:flex-start}
/* Footer (Kadence footer builder + HTML widgets) */
.site-footer{border-top:4px solid #c8142c;background:#08090a!important;color:#b9c0c8;font-size:.93rem}
.site-footer .widget-title,.site-footer h2{color:#fff;font-size:.85rem!important;text-transform:uppercase;letter-spacing:.12em;margin:0 0 .8rem}
.site-footer .srh-foot-list{list-style:none;margin:0;padding:0}
.site-footer .srh-foot-list li{margin:.35rem 0}
.site-footer a{color:#b9c0c8;text-decoration:none}.site-footer a:hover{color:#fff}
.site-footer .srh-socials{display:flex;gap:14px;margin-top:12px;font-weight:700}
.site-footer .site-bottom-footer-wrap{border-top:1px solid #2c3036;font-size:.8rem;color:#8a939d}

/* ===== v0.3.2 ===== */
/* About results: show all rows (0.3.1 capped the table at 640px, hiding ~65 rows behind an inner scroll) */
figure.wp-block-table.srh-table-long{max-height:none!important;overflow-x:auto;overflow-y:visible}
/* image placeholders never collapse to blank boxes while loading */
.srh-media-card .srh-card-media,.srh-rounded{background:#1e2125;border-radius:10px}
.srh-rounded img{aspect-ratio:auto}
/* Shop archive */
.product-archive-hero-section .archive-title{text-transform:uppercase;font-style:italic}
.woocommerce-products-header{margin-bottom:1rem}
.srh-shop-intro{color:#b9c0c8;max-width:70ch;margin:.2rem 0 1rem}
.srh-cat-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 1.4rem}
.srh-pill{background:#1e2125;border:1px solid #2c3036;color:#b9c0c8!important;border-radius:999px;padding:.45rem .95rem;font-weight:700;font-size:.82rem;text-decoration:none!important}
.srh-pill:hover,.srh-pill.is-active{border-color:#c8142c;color:#fff!important;background:rgba(200,20,44,.15)}
.woocommerce ul.products li.product .srh-tag{display:block;padding:0 0 4px;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#ff3b52}
.woocommerce ul.products li.product .srh-tag+.woocommerce-loop-product__title{padding-top:0!important}
.woocommerce ul.products li.product .product-excerpt{color:#b9c0c8;font-size:.88rem;line-height:1.45}
.srh-shop-hint{margin-top:28px}
@media(max-width:600px){.srh-pill{padding:.4rem .8rem;font-size:.78rem}}
/* v0.3.3: align card category label with the title and give the title room above the button */
.woocommerce ul.products li.product .srh-tag{padding:4px 16px 2px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{margin-bottom:.8rem!important}

/* ===== v0.3.4: editable hero photo, Past Work gallery, product image placeholders/gallery ===== */
.srh-hero{background:linear-gradient(90deg,rgba(13,14,16,.96) 0%,rgba(13,14,16,.85) 42%,rgba(13,14,16,.35) 100%),var(--srh-hero-img,url(assets/ports-pair.jpg)) center/cover no-repeat!important}
/* Past Work gallery (core Gallery block with className srh-gallery) */
.wp-block-gallery.srh-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin-top:1.4rem!important}
.wp-block-gallery.srh-gallery>.wp-block-image{width:auto!important;margin:0!important;aspect-ratio:4/3;border-radius:10px;overflow:hidden;border:1px solid #2c3036;background:#1e2125}
.wp-block-gallery.srh-gallery>.wp-block-image img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .4s}
.wp-block-gallery.srh-gallery>.wp-block-image:hover img{transform:scale(1.04)}
.wp-block-gallery.srh-gallery figcaption{background:linear-gradient(0deg,rgba(0,0,0,.8),transparent)!important;font-size:.8rem!important}
@media(max-width:781px){.wp-block-gallery.srh-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}}
/* Product images: placeholder + single product gallery */
img.woocommerce-placeholder,img[src$="srh-placeholder.svg"]{background:#1e2125;border:1px solid #2c3036;object-fit:cover;aspect-ratio:4/3}
.woocommerce ul.products li.product a img{aspect-ratio:4/3;object-fit:cover;width:100%}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{border-radius:10px;border:1px solid #2c3036}
.woocommerce div.product div.images .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px!important}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important;margin:0!important}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:6px;border:1px solid #2c3036;opacity:.7;aspect-ratio:1;object-fit:cover}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1;border-color:#c8142c}

.srh-credit{background:#08090a;color:#8a939d;text-align:center;font-size:.75rem;padding:6px 10px 10px}.srh-credit a{color:#b9c0c8;text-decoration:none}.srh-credit a:hover{color:#fff}

/* ===== v0.3.7: product cards — one consistent 16px left edge at every width ===== */
.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .entry-content-wrap{padding:14px 16px 16px!important;text-align:left!important;display:flex;flex-direction:column;align-items:stretch;flex:1}
.woocommerce ul.products li.product .srh-tag,.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .product-excerpt,.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .product-action-wrap{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;text-align:left!important}
.woocommerce ul.products li.product .srh-tag{padding-top:0!important}
.woocommerce ul.products li.product .product-action-wrap{margin-top:auto!important;padding-top:.6rem!important;display:flex;justify-content:flex-start;width:100%}
.woocommerce ul.products li.product .product-action-wrap .button{margin:0!important;align-self:flex-start;width:auto;max-width:100%;white-space:nowrap}

/* ===== v0.3.7: compact mobile footer (desktop unchanged) ===== */
@media(max-width:767px){
#colophon .site-middle-footer-inner-wrap{display:grid!important;grid-template-columns:1fr 1fr;gap:18px 20px!important;padding:22px 0 14px!important}
#colophon .site-footer-middle-section-1,#colophon .site-footer-middle-section-4{grid-column:1/-1}
#colophon .site-footer-section{margin:0!important;padding:0!important}
#colophon .footer-widget1 img{width:150px!important;margin-bottom:8px!important}
#colophon .footer-widget1 p{font-size:.85rem;line-height:1.45;margin:0 0 8px}
#colophon .srh-socials{margin-top:6px}
.site-footer .widget-title,.site-footer h2{margin:0 0 .45rem!important;font-size:.78rem!important}
.site-footer .srh-foot-list li{margin:.22rem 0;font-size:.88rem;line-height:1.35}
#colophon .footer-widget4 .srh-foot-list{display:flex;flex-wrap:wrap;gap:4px 18px}
#colophon .footer-widget4 .srh-foot-list li{margin:0}
#colophon .site-bottom-footer-inner-wrap{padding:10px 0!important;text-align:center;font-size:.75rem}
.srh-credit{padding:4px 10px 12px}
}
/* ===== v0.3.8: card edge fix — tag sits outside .product-details, so give it the same 16px; kill Kadence's 8.5px side margin on .product-details ===== */
.woocommerce ul.products li.product .srh-tag{padding:12px 16px 0!important;margin:0!important;text-align:left!important}
.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .entry-content-wrap{margin:0!important;padding:6px 16px 16px!important;width:auto!important;box-sizing:border-box}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-product__title a{padding:0!important;margin-left:0!important;display:block}
.woocommerce ul.products li.product .product-action-wrap{max-width:100%;overflow:visible}
.woocommerce ul.products li.product .product-action-wrap .button{max-width:100%;box-sizing:border-box;white-space:normal}
/* ===== v0.3.8: mobile footer — smaller type, tighter rows ===== */
@media(max-width:767px){
#colophon,#colophon .site-middle-footer-inner-wrap{font-size:13px!important}
#colophon .footer-widget1 img{width:130px!important}
#colophon .footer-widget1 p{font-size:12.5px!important}
#colophon .srh-socials{gap:12px;font-size:13px}
#colophon .srh-foot-list li,#colophon .srh-foot-list a{font-size:13px!important;line-height:1.3!important}
#colophon .srh-foot-list li{margin:0 0 5px!important}
#colophon .srh-foot-list a{display:inline!important}
.site-footer .widget-title,.site-footer h2{font-size:11px!important;margin:0 0 6px!important}
#colophon .site-middle-footer-inner-wrap{gap:14px 16px!important}
#colophon .footer-widget4 .srh-foot-list{display:block!important}
#colophon .footer-widget4 .srh-foot-list li{margin:0 0 4px!important}
#colophon .site-bottom-footer-wrap{font-size:11.5px!important}
}
.woocommerce ul.products li.product .product-action-wrap .button{padding:.6em 1em!important}
