/* Pier look (added 25 Nov 2026), for outdoor structures, boat lifts and docks. Loaded after theme.css when the store file
   says "look": "pier". Taken from a dock on a lake: the product pictures stand on deck boards over a strip of water, the
   stressed words of a heading carry a wavy tide line in the lake colour (--sx-hi), labels are stamped like lumber, corners
   are those of sawn boards, the dark bands are the harbour colour (the ink) with deck boards running through them. */

:root {
	--sx-r: 8px; --sx-r-sm: 6px; --sx-r-btn: 6px;
	--sx-shadow: 0 22px 44px -28px rgba(20, 35, 45, .5);
	/* deck boards: narrow seams across a surface */
	--sx-boards: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 48px);
	--sx-boards-light: repeating-linear-gradient(90deg, transparent 0 46px, color-mix(in srgb, var(--sx-text) 7%, transparent) 46px 47px);
}

/* headings: the tide line under the stressed words */
.sxw-h2 em, .sxw-hero-h em, .sxw-pg-h1 em, .sxw-pg-h2 em { font-style: normal; color: var(--sx-accent); text-decoration: underline wavy var(--sx-hi); text-decoration-thickness: .075em; text-underline-offset: .2em; text-decoration-skip-ink: none; }
.sxw-deals .sxw-h2 em, .sxw-cta .sxw-h2 em, .sxw-pg-cta h2 em { color: var(--sx-hi); text-decoration-color: color-mix(in srgb, var(--sx-hi) 55%, transparent); }
.sxw-hero-h { letter-spacing: -.035em; }

/* labels stamped like lumber: capitals between two short rules */
.sxw-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--sx-accent); }
.sxw-eyebrow::before { content: ''; flex: none; width: 26px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.sxw-eyebrow--chip { display: inline-flex; padding: 6px 12px; border: 1.5px solid var(--sx-text); border-radius: 3px; background: var(--sx-bg2); color: var(--sx-text); }
.sxw-eyebrow--chip::before { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--sx-hi); box-shadow: 0 0 0 2px var(--sx-text); }
.sxw-deals .sxw-eyebrow { color: var(--sx-hi); }

.sxw-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce button.button.alt { letter-spacing: .01em; }
.sxw-topbar { background: var(--sx-text); }
.sxw-logo-mark { border-radius: 8px; }

/* the hero: sky above, the deck and the water along the bottom */
.sxw-hero { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--sx-hi) 26%, var(--sx-bg2)) 0%, var(--sx-bg2) 46%, var(--sx-bg) 100%); }
.sxw-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(90deg, var(--sx-accent2) 0 2px, var(--sx-accent) 2px 64px); opacity: .9; }
.sxw-hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 26px; height: 10px; background: color-mix(in srgb, var(--sx-text) 22%, transparent); }
.sxw-duo { border-radius: 10px; border-color: var(--sx-line2); }
.sxw-duo:not(.is-scene) { background: linear-gradient(180deg, #fff 0 64%, color-mix(in srgb, var(--sx-hi) 32%, #fff) 64% 100%); }
.sxw-duo-b { border-radius: 6px; border-left: 4px solid var(--sx-accent); }
.sxw-hero-lineup, .sxw-hero-stage { border-radius: 10px; background: linear-gradient(180deg, #fff 0 70%, color-mix(in srgb, var(--sx-hi) 30%, #fff) 70% 100%); }

/* pictures on the deck: a board edge under every product and department picture */
.sxw-dep-img, .sxw-card-img { background: linear-gradient(180deg, #fff 0 82%, color-mix(in srgb, var(--sx-hi) 22%, #fff) 82% 100%); }
.sxw-dep { border-top: 3px solid var(--sx-accent); }
.sxw-dep-n, .sxw-dep-gn { color: var(--sx-accent); }
.sxw-dep-gh { border-top: 3px double var(--sx-text); padding-top: 12px; }
.sxw-dep-gfacts li { border-radius: 3px; }

.sxw-trust-in .sxw-ico, .sxw-reason .sxw-ico { border-radius: 8px; background: color-mix(in srgb, var(--sx-hi) 45%, var(--sx-bg2)); color: var(--sx-text); }
.sxw-trust.is-band { background: var(--sx-text) var(--sx-boards); }
.sxw-trust.is-band .sxw-trust-in .sxw-ico { background: rgba(255, 255, 255, .08); color: var(--sx-hi); }

/* sale tags hang like a lumber tag */
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale { border-radius: 3px; background: var(--sx-hi); color: var(--sx-text); font-weight: 700; }
.woocommerce ul.products li.product .onsale::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--sx-bg2); box-shadow: inset 0 0 0 1.5px var(--sx-text); vertical-align: 1px; }

/* the dark bands: the harbour at dusk, deck boards through it */
.sxw-deals { background: var(--sx-text) var(--sx-boards); }
.sxw-brand-list a { border-radius: 4px; }
.sxw-cta-in { border-radius: 10px; background: linear-gradient(180deg, var(--sx-accent) 0 78%, var(--sx-accent2) 78% 100%); }
.sxw-cta-in::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 22%; border-radius: 0; background: var(--sx-boards); opacity: 1; }
.sxw-cta.is-card .sxw-cta-in { background: var(--sx-bg2) var(--sx-boards-light); border: 1.5px solid var(--sx-text); }

.sxw-pp::before { height: 6px; background: repeating-linear-gradient(90deg, var(--sx-accent) 0 40px, var(--sx-accent2) 40px 42px); }
.sxw-pg-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--sx-hi) 22%, var(--sx-bg2)), var(--sx-bg2)); }
.sxw-pg-hero-ic { border-radius: 8px; color: var(--sx-hi); }
.sxw-footer { background: var(--sx-text) var(--sx-boards); }
.sxw-fh { color: var(--sx-hi); }
html[data-look="pier"] .sxw-wix .pg-h1 em, html[data-look="pier"] .sxw-wix .pg-h2 em { font-style: normal; text-decoration: underline wavy var(--sx-hi); text-decoration-thickness: .075em; text-underline-offset: .2em; }
@media (prefers-reduced-motion: no-preference) {
	.sxw-dep:hover { transform: translateY(-3px); }
}
