/* Wholesale Pallet Depot — design system
   Red and black. Motif: pallet slats and stencil stamps.
   Tokens come from theme.json; edit colours there. */

:root {
	--bg: #FFFFFF;
	--surface: #F6F4F3;
	--panel: #FFFFFF;
	--line: #E3DEDD;
	--text: #0B0B0C;
	--muted: #5E5958;
	--red: #E11D2A;
	--ember: #C4121E;
	--crimson: #B3121D;
	--blood: #7A0C14;
	--r: 6px;
	--r-card: 10px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--gut: clamp(1.25rem, 4vw, 2.5rem);
	--maxw: 1240px;
	--display: var(--wp--preset--font-family--display, 'Archivo', 'Arial Black', Arial, sans-serif);
	--body: var(--wp--preset--font-family--body, 'Figtree', Arial, sans-serif);
	--space-section: clamp(3rem, 6vw, 5rem);
	--planks: repeating-linear-gradient(180deg, transparent 0 38px, rgba(255, 255, 255, .05) 38px 42px);
	color-scheme: light;
}

/* White page with black and red accents. Header, hero, banners and footer stay black, so they get their own dark tokens. */
.wpd-header, .wpd-footer, .wpd-hero, .wpd-band, .wpd-pagehead, .wpd-facts, .wpd-empty {
	--bg: #0B0B0C;
	--surface: #151517;
	--panel: #1B1B1E;
	--line: #2F2F34;
	--text: #F4F1F0;
	--muted: #B8B2B1;
	--ember: #FF4450;
	color: var(--text);
}

html { scroll-behavior: smooth; background: var(--bg); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; background: var(--bg); color: var(--text); }
::selection { background: var(--red); color: #fff; }
img, svg { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; background: var(--red); color: #fff; padding: .75rem 1rem; z-index: 1000; border-radius: var(--r); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; font-stretch: 108%; text-wrap: balance; color: var(--text); }
h1 { line-height: 1; }
p { text-wrap: pretty; }
a { text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
hr { border-color: var(--line); }

/* Template-level resets (block gap between template parts and sections) */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.wpd-main > .wp-block-post-content > * { margin-block: 0 !important; }
.wpd-main--home, .wpd-main--page-wide { display: block; }
.wpd-section > *, .wpd-wrap > * + * { margin-block-start: 0; }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 60; }
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 46px; } }

/* ---------- Layout helpers ---------- */
.wpd-wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
.wpd-section { padding-block: var(--space-section); }
.wpd-section--surface { background: var(--surface); }
.wpd-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.wpd-head h2 { margin: 0 0 .75rem; font-size: var(--wp--preset--font-size--x-large, 2.5rem); }
.wpd-head p { margin: 0; color: var(--muted); font-size: 1.125rem; }
.wpd-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.wpd-head--row h2 { margin: 0; }
.wpd-head--row p a { font-weight: 700; font-family: var(--display); }
.wpd-head--row > .wp-block-group > p { margin-top: .6rem; }
.wpd-note { margin-top: 1.5rem; color: var(--muted); }
.wpd-eyebrow { font-family: var(--display); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin: 0 0 1rem; }
.wpd-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.wpd-split:has(.wpd-card--form) { align-items: start; }
.wpd-split__lead h2 { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--x-large, 2.5rem); }
.wpd-split__lead p { color: var(--muted); font-size: 1.125rem; }
.wpd-split__lead > * + * { margin-top: 1.1rem; }
.wpd-split > .wp-block-image img { border-radius: var(--r-card); width: 100%; }
.wpd-prose { max-width: calc(780px + var(--gut) * 2); }
.wpd-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); }
.wpd-card--tint { background: var(--surface); }
.wpd-card--form { box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .8); }
.wpd-card h3 { margin: 0 0 .75rem; }
.wpd-meta { color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .wpd-split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: .9rem; }
.wp-block-button__link, .wpd-btn {
	font-family: var(--display); font-weight: 700; font-stretch: 104%; font-size: 1rem; line-height: 1.2;
	background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: var(--r);
	padding: .9rem 1.55rem; text-decoration: none; cursor: pointer; display: inline-block;
	box-shadow: 0 4px 0 var(--blood);
	transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.wp-block-button__link:hover, .wpd-btn:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 #000; }
.wp-block-button__link:active, .wpd-btn:active { transform: translateY(4px); box-shadow: 0 0 0 #000; }
.is-style-outline > .wp-block-button__link { background: transparent; color: var(--text); border-color: var(--red); box-shadow: 0 4px 0 var(--blood); }
.is-style-outline > .wp-block-button__link:hover { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 2px 0 var(--blood); }
.wpd-btn-light .wp-block-button__link { background: #fff; color: #0B0B0C; border-color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .55); }
.wpd-btn-light .wp-block-button__link:hover { background: #0B0B0C; border-color: #0B0B0C; color: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .55); }

/* ---------- Header ---------- */
.wpd-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.wpd-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; z-index: 2; pointer-events: none; }
.wpd-utility { background: var(--crimson); color: #FFE9EA; font-size: .8125rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .5rem var(--gut); max-height: 3rem; overflow: hidden; transition: max-height .3s var(--ease), padding .3s var(--ease); }
.wpd-utility p { margin: 0; }
.wpd-utility a { color: #fff; text-decoration: none; margin-left: 1.25rem; }
.wpd-utility a:hover { text-decoration: underline; }
.wpd-header.is-scrolled .wpd-utility { max-height: 0; padding-block: 0; }
@media (max-width: 720px) { .wpd-utility > p:first-child { display: none; } .wpd-utility { justify-content: center; } .wpd-utility a { margin: 0 .6rem; } }

.wpd-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding: .85rem var(--gut); }
.wpd-logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); flex: none; }
.wpd-logo svg { transition: transform .4s var(--ease); }
.wpd-logo:hover svg { transform: rotate(-6deg) scale(1.05); }
.wpd-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.wpd-logo__text strong { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.15rem; letter-spacing: -.02em; }
.wpd-logo__text small { font-size: .72rem; font-weight: 700; letter-spacing: .32em; color: var(--ember); }
.wpd-logo:hover { color: #fff; }

.wpd-nav { flex: 1; }
.wpd-nav .wp-block-navigation__container { gap: .15rem; }
.wpd-nav .wp-block-navigation-item__content { font-family: var(--display); font-weight: 600; font-size: .95rem; padding: .55rem .75rem; text-decoration: none; color: var(--text); background: linear-gradient(var(--red), var(--red)) 50% 100% / 0 3px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.wpd-nav .wp-block-navigation-item__content:hover, .wpd-nav .current-menu-item > .wp-block-navigation-item__content { background-size: calc(100% - 1.5rem) 3px; color: #fff; }
.wpd-nav .wp-block-navigation__submenu-container { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--r-card); padding: .4rem; min-width: 15rem; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); }
.wpd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--text); border-radius: var(--r); background: none; padding: .6rem .8rem; }
.wpd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--red); color: #fff; }
.wpd-nav .wp-block-navigation__submenu-icon svg { stroke: var(--muted); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--bg) !important; color: var(--text) !important; padding: 1.5rem var(--gut); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; color: var(--text); }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { fill: currentColor; }

.wpd-tools { display: flex; align-items: center; gap: .35rem; flex: none; }
.wpd-search .wp-block-search__button { background: transparent; border: 0; color: var(--text); padding: .55rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.wpd-search .wp-block-search__inside-wrapper { border: 0 !important; padding: 0 !important; min-width: 0 !important; background: transparent; }
.wpd-search, .wpd-search .wp-block-search__inside-wrapper { outline: 0; box-shadow: none; }
.wpd-search .wp-block-search__button { margin: 0 !important; box-shadow: none !important; border-radius: var(--r); }
.wpd-search .wp-block-search__button:hover { background: var(--panel); }
.wpd-tools .wc-block-customer-account a, .wpd-tools .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.wpd-tools svg { fill: currentColor; }
.wc-block-mini-cart__badge { background: var(--red) !important; color: #fff !important; font-weight: 700; }
.wc-block-mini-cart__button.wpd-pulse { animation: pulse .6s var(--ease); }
@keyframes pulse { 30% { transform: scale(1.25) rotate(-8deg); } 100% { transform: none; } }
.wc-block-mini-cart__footer .wc-block-components-button { border-radius: var(--r); }
@media (max-width: 600px) { .wpd-search { display: none; } .wpd-bar { padding-inline: 1rem; gap: .25rem; } .wpd-logo { gap: .5rem; } .wpd-logo svg { width: 36px; height: 36px; } .wpd-logo__text strong { font-size: 1rem; } .wpd-tools { gap: 0; } }
@media (max-width: 1100px) { .wpd-bar { gap: .5rem; } .wpd-nav { flex: none; order: 3; } .wpd-tools { margin-left: auto; } .wpd-logo__text small { display: none; } }

/* ---------- Page head (inner pages, blog, shop) ---------- */
.wpd-pagehead { background: linear-gradient(105deg, rgba(5, 5, 6, .96) 0%, rgba(24, 6, 8, .9) 55%, rgba(122, 12, 20, .72) 100%), url("../img/photos/racks-lights.jpg") center / cover; color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.post-type-archive-product .wpd-pagehead, .tax-product_cat .wpd-pagehead { background-image: linear-gradient(105deg, rgba(5, 5, 6, .96) 0%, rgba(24, 6, 8, .9) 55%, rgba(122, 12, 20, .72) 100%), url("../img/photos/wrapped-aisle.jpg"); background-position: center 60%; }
.wpd-pagehead::after { content: ""; position: absolute; right: -4%; top: 0; bottom: 0; width: 30%; background: repeating-linear-gradient(180deg, rgba(225, 29, 42, .16) 0 22px, transparent 22px 30px); transform: skewX(-14deg); pointer-events: none; }
.wpd-pagehead__in { max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); position: relative; z-index: 1; }
.wpd-pagehead h1, .wpd-pagehead .wp-block-query-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.75rem); margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
.wpd-pagehead p { color: #E9D6D7; font-size: 1.125rem; max-width: 40rem; margin: .8rem 0 0; }
.wpd-pagehead p.wpd-eyebrow { margin: 0 0 .8rem; }
.wpd-pagehead .wpd-date, .wpd-pagehead .wpd-tag a { color: #E9D6D7; }
.wpd-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.wpd-chip { font-family: var(--display); font-weight: 600; font-size: .9rem; color: #fff; text-decoration: none; padding: .5rem .9rem; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: var(--r); transition: background .2s, color .2s, border-color .2s; }
.wpd-chip:hover { border-color: var(--red); background: rgba(225, 29, 42, .25); color: #fff; }
.wpd-chip.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.wpd-main--page { padding-block: clamp(2rem, 5vw, 4rem); }
.wpd-main--page .wp-block-post-content, .wpd-main > .wp-block-post-content.is-layout-constrained { padding-inline: var(--gut); box-sizing: border-box; }
.wpd-main--page .wp-block-post-content > * + * { margin-top: 1.1rem; }
.wpd-main--page-wide { padding: 0; }
.wpd-main > .wpd-wrap, .wpd-main.wpd-wrap { padding-block: clamp(2rem, 5vw, 4rem); }
.wpd-main--post { padding-bottom: clamp(2rem, 5vw, 4rem); }
.wpd-main--post .wp-block-post-featured-image { margin: clamp(1.5rem, 4vw, 3rem) auto; max-width: calc(var(--maxw) + var(--gut) * 2); padding-inline: var(--gut); box-sizing: border-box; }
.wpd-main--post .wp-block-post-featured-image img { border-radius: var(--r-card); }
.wpd-main--post .wp-block-post-content { padding-inline: var(--gut); box-sizing: border-box; }
.post-type-archive-product .wp-block-query-title, .tax-product_cat main .wp-block-query-title, .tax-product_cat main .wp-block-term-description { display: none; }
.wp-block-post-content h2 { margin-top: 2.2rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.wp-block-post-content ul, .wp-block-post-content ol { padding-left: 1.3rem; }
.wp-block-post-content li + li { margin-top: .4rem; }
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.wp-block-table th, .wp-block-table td, .wpd-doc__body table th, .wpd-doc__body table td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.wp-block-table th, .wpd-doc__body table th { background: var(--panel); }
.wpd-doc__body table { border-collapse: collapse; width: 100%; font-size: .95rem; margin-block: 1.2rem; }

/* ---------- Hero ---------- */
.wpd-hero.wp-block-cover { background: var(--bg); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); min-height: 640px; align-items: center; }
.wpd-hero .wp-block-cover__image-background { object-position: 60% 50%; }
.wpd-hero .wp-block-cover__background, .wpd-band .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(100deg, rgba(5, 5, 6, .95) 0%, rgba(11, 11, 12, .78) 42%, rgba(60, 6, 10, .45) 100%) !important; }
.wpd-hero .wp-block-cover__inner-container, .wpd-band .wp-block-cover__inner-container { width: 100%; max-width: none; color: #fff; padding: 0; }
.wpd-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.wpd-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.035em; font-stretch: 104%; margin: 0 0 1.25rem; color: #fff; }
.wpd-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #E3D3D4; max-width: 34rem; margin: 0 0 1.75rem; }
.wpd-hero__copy .wp-block-buttons { margin-bottom: 2rem; }
.wpd-ticks { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: .55rem; }
.wpd-ticks li { position: relative; padding-left: 1.9rem; font-weight: 500; margin: 0 !important; }
.wpd-ticks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.2rem; height: 1.2rem; border-radius: 4px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.wpd-hero .wpd-ticks li { color: #F6ECEC; }
.wpd-hero .is-style-outline > .wp-block-button__link, .wpd-band .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); box-shadow: 0 4px 0 rgba(255, 255, 255, .22); }
.wpd-hero .is-style-outline > .wp-block-button__link:hover, .wpd-band .is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 2px 0 rgba(255, 255, 255, .22); }
.wpd-hero__art { position: relative; --mx: 0; --my: 0; max-width: 520px; margin-left: auto; width: 100%; }
.wpd-hero__art .wp-block-html, .wpd-hero__art > .wp-block-shortcode { position: relative; }
.wpd-hero__photo { position: relative; margin: 0; }
.wpd-hero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--red); border-radius: var(--r-card); z-index: 0; }
.wpd-hero__photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: min(66vh, 600px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: var(--r-card); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9); transform: translate(calc(var(--mx) * 8px), calc(var(--my) * 6px)); transition: transform .25s var(--ease); }
@media (max-width: 900px) { .wpd-hero.wp-block-cover { min-height: 0; } .wpd-hero__in { grid-template-columns: 1fr; } .wpd-hero__art { margin-inline: auto; order: -1; max-width: 460px; } .wpd-hero__photo::before { inset: 10px -8px -10px 10px; } }

/* ---------- Featured pallet card (real product) ---------- */
.wpd-lottag { position: absolute; left: -14%; bottom: 7%; width: min(16.5rem, 64%); background: var(--panel); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-card); padding: .9rem 1rem 1rem; box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .9); transform: rotate(-2.5deg); font-size: .85rem; z-index: 3; animation: tag-pop .7s var(--ease) .5s backwards; }
.wpd-lottag::before { content: ""; position: absolute; top: -13px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); }
.wpd-lottag p { margin: 0; }
.wpd-lottag__top { display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .75rem; margin-top: .4rem !important; padding-bottom: .5rem; border-bottom: 1.5px dashed var(--line); }
.wpd-lottag__name { font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.15; margin: .6rem 0 .4rem !important; }
.wpd-lottag__name a { color: var(--text); text-decoration: none; }
.wpd-lottag__name a:hover { color: var(--ember); }
.wpd-lottag__row { display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); }
.wpd-lottag__row s { color: var(--muted); }
.wpd-lottag__price { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem !important; padding-top: .6rem; border-top: 1.5px dashed var(--line); }
.wpd-lottag__price strong { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.wpd-lottag__price em { font-style: normal; font-weight: 800; font-size: .8rem; background: var(--red); color: #fff; padding: .25rem .5rem; border-radius: 4px; }
@keyframes tag-pop { from { opacity: 0; transform: translateY(16px) rotate(4deg); } to { opacity: 1; transform: rotate(-2.5deg); } }
@media (max-width: 900px) { .wpd-lottag { left: 2%; } }
@media (max-width: 600px) { .wpd-lottag { width: 12rem; font-size: .75rem; padding: .7rem .8rem; } .wpd-lottag__name { font-size: .9rem; } .wpd-lottag__price strong { font-size: 1.2rem; } }

/* ---------- Marquee ---------- */
.wpd-marquee { background: var(--red); color: #fff; overflow: hidden; padding-block: 1rem; border-block: 1px solid rgba(0, 0, 0, .25); }
.wpd-marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.wpd-marquee:hover .wpd-marquee__track { animation-play-state: paused; }
.wpd-marquee ul { display: flex; list-style: none; margin: 0; padding: 0; flex: none; }
.wpd-marquee li { font-family: var(--display); font-weight: 700; font-stretch: 106%; font-size: 1.05rem; white-space: nowrap; display: flex; align-items: center; margin: 0; }
.wpd-marquee li::after { content: ""; width: 9px; height: 9px; background: #0B0B0C; margin-inline: 2.2rem; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Photo category tiles ---------- */
.wpd-cats--photo { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.wpd-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; background: var(--panel); isolation: isolate; border: 1px solid var(--line); }
.wpd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: -2; }
.wpd-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .9) 100%); z-index: -1; transition: background .4s; }
.wpd-tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.wpd-tile:hover img, .wpd-tile:focus-visible img { transform: scale(1.07); }
.wpd-tile:hover::after, .wpd-tile:focus-visible::after { transform: scaleX(1); }
.wpd-tile:hover { color: #fff; border-color: var(--red); }
.wpd-tile__text { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: grid; gap: .1rem; }
.wpd-tile__text strong { font-family: var(--display); font-weight: 800; font-stretch: 106%; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.wpd-tile__text small { font-size: .85rem; color: #E9D6D7; }
@media (max-width: 1100px) { .wpd-cats--photo { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .wpd-cats--photo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .wpd-cats--photo { grid-template-columns: 1fr; } }

/* ---------- Products (WooCommerce blocks) ---------- */
.wc-block-product { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem 1rem 1.25rem !important; display: flex; flex-direction: column; gap: .35rem; transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.wc-block-product:hover { border-color: var(--red); box-shadow: 0 22px 40px -26px rgba(225, 29, 42, .55); transform: translateY(-3px); }
.wc-block-components-product-image, .wc-block-product .wc-block-components-product-image { background: #EFEDEC; border-radius: 8px; overflow: hidden; margin-bottom: .6rem !important; }
.wc-block-components-product-image img { transition: transform .6s var(--ease); width: 100%; mix-blend-mode: multiply; }
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.06); }
.wc-block-product .wp-block-post-title { font-size: 1.05rem !important; margin: 0; line-height: 1.2; font-stretch: 104%; text-align: left; }
.wc-block-product .wp-block-post-title a { color: var(--text); text-decoration: none; }
.wc-block-product .wp-block-post-title a:hover { color: var(--ember); }
.wc-block-components-product-price, .wp-block-woocommerce-product-price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff; text-align: left; }
.wc-block-components-product-price del { color: var(--muted); font-weight: 500; }
.wc-block-components-product-price ins { text-decoration: none; color: var(--ember); }
.wc-block-components-product-button { margin-top: auto !important; padding-top: .5rem; }
.wc-block-components-product-button .wp-block-button__link, .wc-block-components-product-button__button { width: 100%; text-align: center; font-size: .95rem; padding: .75rem 1rem; }
.wc-block-components-product-sale-badge { background: var(--red) !important; color: #fff !important; border: 0 !important; border-radius: var(--r) !important; font-weight: 700; }
.wpd-products { margin: 0; }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: .9rem; color: var(--muted); }
.woocommerce-breadcrumb a { color: var(--muted); }
.wc-block-components-button:not(.is-link) { border-radius: var(--r) !important; font-family: var(--display); font-weight: 700; }
.wc-block-components-button:not(.is-link):not(.outlined) { background: var(--red); color: #fff; }
.single-product .wp-block-post-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.single-product .wp-block-woocommerce-product-image-gallery img { border-radius: var(--r-card); background: #EFEDEC; }
.single-product .wc-block-components-product-price, .single-product .wp-block-woocommerce-product-price { font-size: 1.6rem; }
.single-product main .wp-block-woocommerce-add-to-cart-form .single_add_to_cart_button { width: auto; }
.single_add_to_cart_button, .wc-block-components-product-button__button { font-family: var(--display); }
.wc-block-components-totals-item__value, .wc-block-components-product-price__value { font-variant-numeric: tabular-nums; }
.woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--panel) !important; border-color: var(--line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--red) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--text) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { border-color: var(--line) !important; box-shadow: none !important; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--line); background: var(--panel); }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--ember); }
.woocommerce-product-details__short-description, .woocommerce div.product .woocommerce-tabs .panel { color: var(--text); }

/* Product meta (SKU, categories, tags) stacks instead of squeezing into one row */
.single-product .wp-block-woocommerce-product-meta { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.single-product .wp-block-woocommerce-product-meta > .wp-block-group { flex-direction: column !important; flex-wrap: wrap !important; align-items: flex-start !important; gap: .5rem !important; }
.single-product .wp-block-woocommerce-product-meta a { color: var(--ember); }
.single-product .wp-block-post-terms.taxonomy-product_tag { line-height: 1.7; }

/* ---------- Classic cart, checkout, account (WooCommerce shortcodes) ---------- */
.woocommerce-cart .wpd-main--page .wp-block-post-content > *, .woocommerce-checkout .wpd-main--page .wp-block-post-content > *, .woocommerce-account .wpd-main--page .wp-block-post-content > * { max-width: var(--maxw); margin-inline: auto; }
.woocommerce table.shop_table, .woocommerce table.shop_table th, .woocommerce table.shop_table td, .woocommerce-cart table.cart td.actions .coupon .input-text { border-color: var(--line) !important; color: var(--text); background: transparent; }
.woocommerce table.shop_table { border-radius: var(--r-card); background: var(--panel); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_table thead th { background: var(--surface); }
.woocommerce a.remove { color: var(--ember) !important; }
.woocommerce a.remove:hover { background: var(--red) !important; color: #fff !important; }
.woocommerce .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout #customer_details { color: var(--text); }
.woocommerce-checkout #payment, .woocommerce-checkout #payment ul.payment_methods, .woocommerce-checkout #payment div.payment_box { background: var(--panel) !important; color: var(--text) !important; border-color: var(--line) !important; border-radius: var(--r-card); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--panel) !important; }
.woocommerce-checkout #payment ul.payment_methods li { border-color: var(--line); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner { background: var(--panel) !important; color: var(--text) !important; border-color: var(--red) !important; border-radius: var(--r); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--ember) !important; }
.woocommerce-error { border-color: #FF6B6B !important; }
.woocommerce form .form-row label, .woocommerce-account .woocommerce-MyAccount-content { color: var(--text); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none; background: var(--panel); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.woocommerce-cart .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-size: 1.5rem; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt { font-family: var(--display); font-weight: 700; background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: var(--r); padding: .8rem 1.4rem; box-shadow: 0 4px 0 var(--blood); transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .2s; }
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 #000; }
.woocommerce nav.woocommerce-pagination ul, .woocommerce nav.woocommerce-pagination ul li { border-color: var(--line); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { color: var(--text); }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--red); color: #fff; }
.select2-container--default .select2-selection--single, .select2-dropdown { background: var(--panel); border-color: var(--line); color: var(--text); }
.select2-container--default .select2-selection--single .select2-selection__rendered, .select2-results__option { color: var(--text); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--red); color: #fff; }

/* ---------- Form fields, everywhere ---------- */
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number], input[type=search], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .quantity .qty,
.wc-block-components-text-input input, .wc-block-components-select .wc-blocks-components-select__select, .wc-block-components-textarea,
.evf-container input:not([type=checkbox]):not([type=radio]):not([type=submit]), .evf-container select, .evf-container textarea {
	font: inherit; background: var(--panel); color: var(--text); border: 1.5px solid #4A4A52; border-radius: var(--r) !important; min-height: 48px; box-sizing: border-box;
}
textarea { min-height: 8rem; }
input::placeholder, textarea::placeholder { color: #8A8587; }
input:focus, select:focus, textarea:focus, .wc-block-components-text-input input:focus { outline: 0; border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(225, 29, 42, .35) !important; }
.quantity .qty { min-height: 48px; }
input[type=range] { accent-color: var(--red); }
input[type=checkbox], input[type=radio] { accent-color: var(--red); }
.wc-block-components-text-input label, .wc-block-components-select label { color: var(--muted) !important; }
.wc-block-components-text-input.is-active input { background: var(--panel); }

/* ---------- Everest Forms (contact form) ---------- */
.evf-container { color: var(--text); }
.evf-container .everest-forms .evf-field-label, .evf-container label { color: var(--text); font-weight: 700; }
.evf-container .evf-submit-container button, .evf-container button[type=submit], .evf-container input[type=submit] { font-family: var(--display); font-weight: 700; background: var(--red) !important; color: #fff !important; border: 2px solid var(--red) !important; border-radius: var(--r) !important; padding: .9rem 1.55rem !important; box-shadow: 0 4px 0 var(--blood); cursor: pointer; }
.evf-container button[type=submit]:hover { background: var(--crimson) !important; }
.evf-container .evf-field-description, .evf-container .everest-forms-field-sublabel { color: var(--muted); }

/* ---------- Layout variants ---------- */
.wpd-cats--four { grid-template-columns: repeat(4, 1fr); }

/* ---------- Profit calculator ---------- */
.wpd-calc { max-width: 1000px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.wpd-calc__inputs { display: grid; gap: 1.1rem; align-content: start; }
.wpd-field--range label { margin-bottom: .1rem; }
.wpd-range { display: flex; align-items: center; gap: .9rem; }
.wpd-range input[type=range] { flex: 1; min-height: 44px; padding: 0; background: transparent; border: 0; }
.wpd-range output { min-width: 3.2rem; text-align: right; font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
.wpd-calc__result { background: var(--crimson) var(--planks); color: #fff; border-radius: var(--r-card); padding: 1.4rem 1.5rem; align-self: start; }
.wpd-calc__result p { margin: 0; }
.wpd-calc__label { color: #FFD9DB; font-size: .9rem; }
.wpd-calc__big { white-space: nowrap; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: .15rem 0 .2rem !important; }
.wpd-calc__big.is-loss { color: #FFD3CE; text-decoration: underline wavy rgba(255, 255, 255, .5); text-underline-offset: .15em; }
.wpd-calc__verdict { color: #FFE9EA; font-size: .95rem; margin-bottom: 1rem !important; }
.wpd-calc__result .wpd-dl > div { border-color: rgba(255, 255, 255, .22); grid-template-columns: 1fr auto; padding: .55rem 0; }
.wpd-calc__result .wpd-dl dt { font-family: var(--body); font-weight: 500; color: #FFD9DB; }
.wpd-calc__result .wpd-dl dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.wpd-calc__result .wpd-help { color: #FFD9DB; margin-top: 1rem; }
@media (max-width: 820px) { .wpd-calc { grid-template-columns: 1fr; } }

/* ---------- Photography ---------- */
.wpd-band.wp-block-cover { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.wpd-band__in { text-align: left; }
.wpd-band h2 { color: #fff; font-size: var(--wp--preset--font-size--x-large, 2.5rem); margin: 0 0 .8rem; max-width: 22ch; }
.wpd-band p { color: #E3D3D4; max-width: 40rem; font-size: 1.125rem; margin: 0 0 1.5rem; }
.wpd-photo { position: relative; margin: 0; }
.wpd-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 3px solid var(--red); border-radius: var(--r-card); z-index: 0; }
.wpd-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .95); }
.wpd-photo--tall img { aspect-ratio: 4 / 5; }
.wpd-split > .wpd-photo { margin-right: 16px; }
.wpd-empty { grid-column: 1 / -1; position: relative; overflow: hidden; border-radius: var(--r-card); padding: clamp(2rem, 6vw, 4rem); color: #fff; background: linear-gradient(100deg, rgba(5, 5, 6, .96) 0%, rgba(60, 6, 10, .8) 60%, rgba(122, 12, 20, .55) 100%), url("../img/photos/racks-lights.jpg") center / cover; }
.wpd-empty h3 { color: #fff; margin: 0 0 .6rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.wpd-empty p { color: #E3D3D4; max-width: 34rem; margin: 0 0 1.4rem; font-size: 1.1rem; }
.wpd-postcard .wp-block-post-featured-image img { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .wpd-photo::before { inset: 10px -8px -10px 10px; } .wpd-split > .wpd-photo { margin-right: 8px; } }

/* ---------- Shop: category sidebar + products ---------- */
.wpd-shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.wpd-shop__main { min-width: 0; }
.wpd-shop__side { position: sticky; top: 7.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.25rem 1.1rem 1.4rem; max-height: calc(100vh - 9rem); overflow: auto; }
.admin-bar .wpd-shop__side { top: 9.5rem; }
.wpd-shop__side h2 { font-size: 1.15rem; margin: 0 0 .8rem .35rem; }
.wpd-catlist, .wpd-catlist ul { list-style: none; margin: 0; padding: 0; }
.wpd-catlist ul { margin: .1rem 0 .3rem .9rem; border-left: 2px solid var(--line); padding-left: .5rem; }
.wpd-catlist li { margin: 0; }
.wpd-catlist a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .7rem; min-height: 44px; box-sizing: border-box; border-radius: var(--r); color: var(--text); text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.wpd-catlist a:hover { background: var(--surface); color: #fff; }
.wpd-catlist a.is-current { background: var(--red); color: #fff; font-weight: 700; }
.wpd-catlist a em { font-style: normal; font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--muted); background: var(--bg); border-radius: 99px; padding: .15rem .55rem; flex: none; }
.wpd-catlist a.is-current em { background: rgba(0, 0, 0, .3); color: #fff; }
.wpd-shop__help { margin-top: 1.1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-card); padding: 1rem; }
.wpd-shop__help h3 { font-size: 1.02rem; margin: 0 0 .35rem; }
.wpd-shop__help p { font-size: .9rem; color: var(--muted); margin: 0 0 .8rem; }
.wpd-shop__help .wpd-btn { padding: .6rem 1rem; font-size: .9rem; box-shadow: 0 3px 0 var(--blood); }
@media (min-width: 901px) { .wpd-shop-banner .wpd-chips { display: none; } }
@media (max-width: 900px) { .wpd-shop { grid-template-columns: 1fr; } .wpd-shop__side { display: none; } }
.wpd-split--faq { align-items: start; }

/* ---------- Facts ---------- */
.wpd-facts { background: var(--surface) var(--planks); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); border-block: 1px solid var(--line); }
.wpd-facts__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.wpd-fact p { margin: 0; }
.wpd-fact__n { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(3.5rem, 9vw, 7rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.wpd-fact__n small { font-size: .38em; color: var(--ember); margin-left: .08em; letter-spacing: 0; }
.wpd-fact p:last-child { color: var(--muted); max-width: 18rem; margin-top: .6rem; border-top: 3px solid var(--red); padding-top: .8rem; }
@media (max-width: 760px) { .wpd-facts__in { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence) ---------- */
.wpd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); counter-reset: step; position: relative; }
.wpd-steps--three { grid-template-columns: repeat(3, 1fr); }
.wpd-steps::before, .wpd-steps::after { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 1.4rem; height: 3px; border-radius: 2px; }
.wpd-steps::before { background: var(--line); }
.wpd-steps::after { background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .15s; }
.wpd-steps.is-in::after { transform: scaleX(1); }
.wpd-step { position: relative; padding-top: 4rem; }
.wpd-step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.wpd-section--surface .wpd-step::before { box-shadow: 0 0 0 6px var(--surface); }
.wpd-step h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
.wpd-step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
	.wpd-steps, .wpd-steps--three { grid-template-columns: 1fr; gap: 1.5rem; }
	.wpd-steps::before, .wpd-steps::after { top: 1.4rem; bottom: 1.4rem; left: 1.4rem; right: auto; width: 3px; height: auto; }
	.wpd-steps::after { transform: scaleY(0); transform-origin: top; }
	.wpd-steps.is-in::after { transform: scaleY(1); }
	.wpd-step { padding: 0 0 0 4rem; min-height: 2.8rem; }
}

/* ---------- Services and grades ---------- */
.wpd-services { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpd-services--three { grid-template-columns: repeat(3, 1fr); }
.wpd-services--four { grid-template-columns: repeat(4, 1fr); }
.wpd-service { background: var(--panel); border-radius: var(--r-card); padding: 1.4rem; border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.wpd-service:hover { border-color: var(--red); }
.wpd-service .wpd-icon { width: 3rem; height: 3rem; padding: .7rem; border-radius: var(--r); background: rgba(225, 29, 42, .14); color: var(--ember); margin-bottom: .9rem; display: block; box-sizing: border-box; transition: background .25s, color .25s, transform .35s var(--ease); }
.wpd-service:hover .wpd-icon { background: var(--red); color: #fff; transform: rotate(-6deg); }
.wpd-service h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.wpd-service p { margin: 0; color: var(--muted); font-size: .98rem; }
a.wpd-service--link { display: block; text-decoration: none; color: inherit; }
a.wpd-service--link:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(225, 29, 42, .6); }
.wpd-more { display: inline-block; margin-top: .9rem; color: var(--ember); font-family: var(--display); font-weight: 700; font-size: .95rem; }
.wpd-more::after { content: " →"; }
.wpd-grade__badge { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: var(--r); background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin-bottom: .9rem; box-shadow: 0 4px 0 var(--blood); }
.wpd-grade:nth-child(2) .wpd-grade__badge { background: var(--crimson); }
.wpd-grade:nth-child(3) .wpd-grade__badge { background: #3A3A40; box-shadow: 0 4px 0 #000; }
@media (max-width: 1000px) { .wpd-services--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .wpd-services--three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wpd-services, .wpd-services--four { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.wpd-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.wpd-review { margin: 0; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-card); padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.wpd-review blockquote { margin: 0; padding: 0; border: 0; color: var(--text); font-size: 1rem; position: relative; }
.wpd-review blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: .6; color: var(--red); margin-bottom: .6rem; }
.wpd-review blockquote p { margin: 0; }
.wpd-review figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-size: .9rem; border-top: 1.5px dashed var(--line); padding-top: .8rem; }
.wpd-review figcaption strong { font-family: var(--display); }
.wpd-review figcaption span { color: var(--muted); }
@media (max-width: 960px) { .wpd-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wpd-reviews { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */
.wpd-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.wpd-postgrid > li { margin: 0; }
.wpd-postcard { padding: 0; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.wpd-postcard::before { content: ""; display: block; height: 14px; background: repeating-linear-gradient(90deg, var(--red) 0 46px, var(--bg) 46px 50px); }
.wpd-postcard:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(225, 29, 42, .55); }
.wpd-postcard .wp-block-post-featured-image { margin: 0; }
.wpd-postcard .wp-block-post-featured-image img { width: 100%; object-fit: cover; }
.wpd-postcard__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.wpd-postcard h3 { font-size: 1.3rem; margin: 0; }
.wpd-postcard h3 a { color: var(--text); text-decoration: none; }
.wpd-postcard h3 a:hover { color: var(--ember); }
.wpd-postcard .wp-block-post-excerpt { margin: 0; color: var(--muted); font-size: .98rem; }
.wpd-postcard .wp-block-post-excerpt__more-link { display: none; }
.wpd-tag { margin: 0; font-size: .85rem; font-weight: 700; }
.wpd-tag a { color: var(--ember); text-decoration: none; }
.wpd-date { margin: 0; font-size: .875rem; color: var(--muted); margin-top: auto; }
.wp-block-query-pagination { gap: 1rem; font-family: var(--display); font-weight: 700; }
.wp-block-query-pagination a { text-decoration: none; }
.wpd-postnav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; }
@media (max-width: 960px) { .wpd-postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wpd-postgrid { grid-template-columns: 1fr; } }

/* ---------- Contact and definition lists ---------- */
.wpd-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.wpd-contact { border-left: 4px solid var(--red); background: var(--panel); padding: 1rem 1.2rem; border-radius: 0 var(--r) var(--r) 0; }
.wpd-contact h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.wpd-contact p { margin: 0; color: var(--text); font-size: 1rem; }
@media (max-width: 520px) { .wpd-contact-cards { grid-template-columns: 1fr; } }
.wpd-dl { margin: 0; }
.wpd-dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding: .85rem 0; }
.wpd-dl dt { font-weight: 700; font-family: var(--display); }
.wpd-dl dd { margin: 0; }
.wpd-dl--compact > div { grid-template-columns: 6rem 1fr; }
@media (max-width: 560px) { .wpd-dl > div { grid-template-columns: 1fr; gap: .15rem; } }
.wpd-map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; min-height: 320px; }
.wpd-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- FAQ ---------- */
.wpd-faq h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 3rem 0 1rem; }
.wpd-faq h2:first-child { margin-top: 0; }
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; margin: 0 !important; }
.wp-block-details summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; min-height: 44px; box-sizing: border-box; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wp-block-details summary:hover { color: var(--ember); }
.wp-block-details[open] > :not(summary) { animation: swap .35s var(--ease); }
.wp-block-details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 62ch; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Custom form helpers ---------- */
.wpd-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.wpd-field label { font-weight: 700; font-size: .95rem; }
.wpd-field input, .wpd-field select, .wpd-field textarea { padding: .75rem .9rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.wpd-help { font-size: .875rem; color: var(--muted); margin: .2rem 0 .8rem; }
.wpd-field .wpd-help { margin: 0; }

/* ---------- Policy and documentation pages ---------- */
.wpd-main--doc { padding-block: clamp(2rem, 5vw, 4rem); }
.wpd-doc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.wpd-doc__body { min-width: 0; max-width: 820px; }
.wpd-doc__body > .wp-block-post-content > * + * { margin-top: 1.1rem; }
.wpd-doc__body h1:first-child, .wpd-doc__body > .wp-block-post-content > h1:first-child { display: none; }
.wpd-doc__body h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.wpd-doc__body h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.wpd-doc__body h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.wpd-doc__body p, .wpd-doc__body li { color: #DAD5D4; }
.wpd-doc__body ul, .wpd-doc__body ol { padding-left: 1.3rem; }
.wpd-doc__body li + li { margin-top: .45rem; }
.wpd-doc__body strong { color: #fff; }
.wpd-doc__body a { color: var(--ember); }
.wpd-docnav { position: sticky; top: 7.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.25rem 1.1rem 1.4rem; }
.admin-bar .wpd-docnav { top: 9.5rem; }
.wpd-docnav h2 { font-size: 1.1rem; margin: 0 0 .8rem .35rem; }
.wpd-docnav ul { list-style: none; margin: 0; padding: 0; }
.wpd-docnav li { margin: 0; }
.wpd-docnav li a { display: block; padding: .6rem .7rem; min-height: 44px; box-sizing: border-box; border-radius: var(--r); color: var(--text); text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.wpd-docnav li a:hover { background: var(--surface); color: #fff; }
.wpd-docnav li a.is-current { background: var(--red); color: #fff; font-weight: 700; }
.wpd-docnav__help { margin-top: 1.1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-card); padding: 1rem; }
.wpd-docnav__help h3 { font-size: 1.02rem; margin: 0 0 .35rem; }
.wpd-docnav__help p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .wpd-doc { grid-template-columns: 1fr; } .wpd-docnav { position: static; order: 2; } }
/* Elementor-built pages keep their own markup; keep them readable on the dark theme. */
.wpd-doc__body .elementor, .wpd-main .elementor { color: var(--text); }
.wpd-doc__body .elementor-widget-container, .wpd-doc__body .elementor-heading-title { color: inherit; }

/* ---------- Footer ---------- */
.wpd-footer { background: #070708; color: #BDB7B6; border-top: 1px solid var(--line); }
.wpd-footer a { color: #EDE7E6; text-decoration: none; }
.wpd-footer a:hover { color: #fff; text-decoration: underline; }
.wpd-footer__cta { background: var(--crimson) var(--planks); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3.25rem) var(--gut); }
.wpd-footer__cta > * { margin: 0; }
.wpd-footer__cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 28rem; flex: 1 1 18rem; }
.wpd-footer__cta p { flex: 1 1 18rem; max-width: 26rem; color: #FFE9EA; font-size: 1.05rem; }
.wpd-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gut); }
.wpd-footer__brand p { margin: 1rem 0 0; max-width: 22rem; }
.wpd-footer__contact { line-height: 1.8; font-style: normal; margin-top: 1rem; }
.wpd-footer h3 { color: #fff; font-size: 1.05rem; margin: 0 0 1rem; letter-spacing: 0; }
.wpd-linklist { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: .55rem; }
.wpd-linklist li { margin: 0 !important; }
.wpd-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding: 1.5rem var(--gut) 2.25rem; display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .875rem; }
.wpd-footer__legal p { margin: 0; }
@media (max-width: 900px) { .wpd-footer__grid { grid-template-columns: 1fr 1fr; } .wpd-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .wpd-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (used sparingly) ---------- */
.wpd-js .wpd-service, .wpd-js .wpd-review, .wpd-js .wpd-contact { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .25s, box-shadow .35s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.wpd-js .wpd-service.is-in, .wpd-js .wpd-review.is-in, .wpd-js .wpd-contact.is-in { opacity: 1; transform: none; }
.wpd-js a.wpd-service--link.is-in:hover { transform: translateY(-3px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.wpd-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.wpd-js .wpd-service, .wpd-js .wpd-review, .wpd-js .wpd-contact { opacity: 1; transform: none; }
	.wpd-steps::after { transform: none; }
}

@media print {
	body { background: #fff; color: #000; }
	.wpd-header, .wpd-footer, .wpd-docnav { display: none; }
	.wpd-doc { display: block; }
	.wpd-doc__body p, .wpd-doc__body li, .wpd-doc__body strong, h1, h2, h3 { color: #000; }
}

/* ---------- Light theme refinements ---------- */
.wpd-map iframe { filter: none; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number], input[type=search], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .quantity .qty,
.wc-block-components-text-input input, .wc-block-components-select .wc-blocks-components-select__select, .wc-block-components-textarea,
.evf-container input:not([type=checkbox]):not([type=radio]):not([type=submit]), .evf-container select, .evf-container textarea { border-color: #C9C2C0; }
input::placeholder, textarea::placeholder { color: #8A8587; }
.wpd-header input, .wpd-header textarea { border-color: #4A4A52; }
.wpd-catlist a em { background: var(--surface); }
.wpd-doc__body p, .wpd-doc__body li { color: #2B2627; }
.wpd-doc__body strong { color: var(--text); }
.wpd-card, .wpd-service, .wpd-review, .wc-block-product, .wpd-calc, .wpd-shop__side, .wpd-docnav, .wpd-contact, .woocommerce table.shop_table { box-shadow: 0 1px 2px rgba(11, 11, 12, .05), 0 14px 30px -22px rgba(11, 11, 12, .3); }
.wpd-tile { box-shadow: 0 14px 30px -22px rgba(11, 11, 12, .45); }
.wc-block-components-product-image, .wc-block-product .wc-block-components-product-image, .single-product .wp-block-woocommerce-product-image-gallery img { background: #F5F3F2; }
.wc-block-product:hover { box-shadow: 0 22px 40px -26px rgba(225, 29, 42, .45); }
.wc-block-components-product-price, .wp-block-woocommerce-product-price { color: var(--text); }
.wc-block-components-product-price ins { color: var(--ember); }
.woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner { background: var(--surface) !important; }
.wpd-calc { box-shadow: 0 30px 60px -40px rgba(11, 11, 12, .45); }
.is-style-outline > .wp-block-button__link { color: var(--text); }
.wpd-hero .is-style-outline > .wp-block-button__link, .wpd-band .is-style-outline > .wp-block-button__link { color: #fff; }
.wpd-doc__body a, .wpd-main--page a:not(.wp-element-button) { color: var(--ember); }
.wpd-tile__text strong { color: #fff; }

/* ---------- Cookie notice ---------- */
.wpd-cookie { position: fixed; left: 1rem; bottom: 1rem; z-index: 90; max-width: 25rem; background: #0B0B0C; color: #F4F1F0; border: 1px solid #2F2F34; border-top: 4px solid var(--red); border-radius: var(--r-card); padding: 1.1rem 1.2rem; box-shadow: 0 26px 60px -20px rgba(0, 0, 0, .6); animation: wpd-up .5s var(--ease); }
.wpd-cookie p { margin: 0 0 .9rem; font-size: .9375rem; }
.wpd-cookie a { color: #FF4450; }
.wpd-cookie .wpd-btn { padding: .6rem 1.1rem; font-size: .9rem; min-height: 44px; box-shadow: 0 3px 0 var(--blood); }
@media (max-width: 520px) { .wpd-cookie { left: .6rem; right: .6rem; max-width: none; } }

/* ---------- Discount pop-up ---------- */
.wpd-promo-open { overflow: hidden; }
.wpd-promo { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; background: rgba(11, 11, 12, .72); backdrop-filter: blur(3px); animation: wpd-fade .35s ease both; }
.wpd-promo__panel { position: relative; width: min(30rem, 100%); background: #fff; color: #0B0B0C; border-radius: 14px; padding: 2.4rem 2rem 1.8rem; text-align: center; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); overflow: hidden; animation: wpd-pop .5s var(--ease) both; }
.wpd-promo__panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; background: repeating-linear-gradient(90deg, var(--red) 0 46px, #fff 46px 50px); }
.wpd-promo__close { position: absolute; top: 1rem; right: .75rem; width: 44px; height: 44px; border: 0; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; color: #0B0B0C; border-radius: 50%; }
.wpd-promo__close:hover { background: #F6F4F3; color: var(--red); }
.wpd-promo__pct { margin: 0 0 .4rem; display: flex; align-items: baseline; justify-content: center; gap: .5rem; font-family: var(--display); font-weight: 800; line-height: 1; }
.wpd-promo__pct strong { font-size: clamp(4rem, 14vw, 5.5rem); color: var(--red); letter-spacing: -.04em; }
.wpd-promo__pct span { font-size: 1.6rem; letter-spacing: .04em; }
.wpd-promo h2 { margin: 0 0 .5rem; font-size: 1.6rem; color: #0B0B0C; }
.wpd-promo__text { margin: 0 0 1.2rem; color: #5E5958; }
.wpd-promo__code { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 2px dashed var(--red); border-radius: var(--r); padding: .6rem .6rem .6rem 1.1rem; margin: 0 0 1.3rem; background: #FFF4F4; }
.wpd-promo__code code { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .12em; color: #0B0B0C; background: none; }
.wpd-promo__copy { font-family: var(--display); font-weight: 700; border: 0; border-radius: var(--r); background: #0B0B0C; color: #fff; padding: .6rem 1rem; min-height: 44px; cursor: pointer; }
.wpd-promo__copy:hover { background: var(--crimson); }
.wpd-promo__terms { margin: 1rem 0 0; font-size: .8125rem; color: #5E5958; }
@keyframes wpd-fade { from { opacity: 0; } to { opacity: 1; } }
@media print { .wpd-cookie, .wpd-promo { display: none; } }

/* ---------- Motion ---------- */
@keyframes wpd-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wpd-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.wpd-hero__copy > * { animation: wpd-up .85s var(--ease) both; }
.wpd-hero__copy > :nth-child(1) { animation-delay: .05s; }
.wpd-hero__copy > :nth-child(2) { animation-delay: .15s; }
.wpd-hero__copy > :nth-child(3) { animation-delay: .27s; }
.wpd-hero__copy > :nth-child(4) { animation-delay: .39s; }
.wpd-hero__copy > :nth-child(5) { animation-delay: .5s; }
.wpd-hero__photo { animation: wpd-pop 1s var(--ease) .2s both; }
.wpd-hero .wp-block-cover__image-background { will-change: transform; }
.wpd-pagehead__in > * { animation: wpd-up .7s var(--ease) both; }
.wpd-pagehead__in > :nth-child(2) { animation-delay: .1s; }
.wpd-pagehead__in > :nth-child(3) { animation-delay: .2s; }
.wpd-logo, .wpd-nav { animation: wpd-up .6s var(--ease) both; }
.wpd-js .wpd-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease), border-color .25s, box-shadow .35s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.wpd-js .wpd-reveal.is-in { opacity: 1; transform: none; }
.wpd-js .wc-block-product.wpd-reveal.is-in:hover, .wpd-js .wpd-postcard.wpd-reveal.is-in:hover, .wpd-js .wpd-tile.wpd-reveal.is-in:hover { transform: translateY(-5px); transition-delay: 0s; transition-duration: .35s; }
.wpd-head h2::after { content: ""; display: block; width: 3.5rem; height: 4px; border-radius: 2px; background: var(--red); margin-top: .9rem; transform-origin: left; transition: transform .9s var(--ease) .25s; }
.wpd-head--row h2::after { margin-top: .6rem; }
.wpd-js .wpd-head:not(.is-in) h2::after { transform: scaleX(0); }
.wpd-tile { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.wpd-tile:hover { box-shadow: 0 28px 46px -24px rgba(225, 29, 42, .55); }
.wp-block-button__link { position: relative; overflow: hidden; }
.wp-block-button__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.wp-block-button__link:hover::after { transform: translateX(120%); }
.wpd-marquee { animation: wpd-up .8s var(--ease) .3s both; }
@media (prefers-reduced-motion: reduce) {
	.wpd-js .wpd-reveal { opacity: 1; transform: none; }
	.wpd-js .wpd-head:not(.is-in) h2::after { transform: none; }
	.wpd-hero .wp-block-cover__image-background { transform: none !important; }
}
