/*
Theme Name: Parc Fermé Studio
Description: Boutique de vêtements officiels de sport automobile, avec WooCommerce.
Version: 0.1.0
Requires at least: 6.9
Requires PHP: 8.3
Text Domain: parc-ferme-studio
*/
:root {
	--ink: #171714;
	--paper: #f5f1e9;
	--white: #fffdfa;
	--line: #d7d1c5;
	--mute: #56544e;
	--red: #b94130;
	--body: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #e2684f; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.037em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.screen-reader-text:focus { z-index: 20; width: auto; height: auto; padding: 1em; background: var(--white); clip-path: none; }
.pf-wrap { width: min(94%, 1440px); margin-inline: auto; }
.pf-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.pf-bar { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 66px; align-items: center; gap: 1rem; }
.pf-wordmark { display: inline-flex; flex-direction: column; justify-self: start; font-size: 1.35rem; font-weight: 850; letter-spacing: .085em; line-height: 1.1; text-transform: uppercase; text-decoration: none; }
.pf-wordmark small { margin-top: .2rem; font-size: .64rem; letter-spacing: .28em; }
.custom-logo { display: block; width: auto; max-width: 185px; max-height: 58px; }
.pf-main-nav, .pf-tools { display: flex; align-items: center; gap: clamp(.6rem, 2.4vw, 2rem); }
.pf-main-nav a, .pf-tools a, .pf-tools summary { color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.pf-main-nav a:hover, .pf-tools a:hover { text-decoration: underline; }
.pf-tools { justify-self: end; gap: 1rem; }
.pf-search { position: relative; }
.pf-search summary { cursor: pointer; list-style: none; }
.pf-search summary::-webkit-details-marker { display: none; }
.pf-search form { position: absolute; z-index: 3; top: 100%; right: 0; width: min(82vw, 21rem); display: flex; gap: .4rem; margin-top: .8rem; padding: .8rem; border: 1px solid var(--line); background: var(--white); box-shadow: 0 6px 16px #2c211727; }
.pf-search input { width: 100%; min-width: 0; }
.pf-search label { flex: 1; min-width: 0; }
.pf-hero { position: relative; display: grid; align-items: center; min-height: 390px; overflow: hidden; background: #161814; color: var(--white); }
.pf-hero-photo { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: center; }
.pf-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #161814 23%, #161814ef 36%, #16181424 68%, transparent 78%); }
.pf-hero-copy { position: relative; z-index: 1; padding-block: 3.5rem; }
.pf-hero h1 { max-width: 13ch; margin: 0; font-size: clamp(2.9rem, 5.35vw, 5.55rem); line-height: .96; letter-spacing: -.059em; }
.pf-hero p { margin: 1rem 0 1.45rem; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 40ch; }
.pf-button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wc-block-components-button:not(.is-link) { border-radius: 0; background: var(--red); color: white; }
.pf-button { display: inline-block; padding: .75rem 1.1rem; font-weight: 700; text-decoration: none; }
.pf-button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { color: white; background: #9c3224; }
.pf-disciplines { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding-block: 1.35rem; }
.pf-disciplines a { position: relative; overflow: hidden; min-height: 115px; aspect-ratio: 2.07; background: #282724; color: white; text-decoration: none; }
.pf-disciplines img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pf-disciplines a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 46%, #14130fda); }
.pf-disciplines span { position: absolute; z-index: 1; bottom: .7rem; left: .85rem; font-size: clamp(.88rem, 1.8vw, 1.65rem); line-height: 1.2; font-weight: 750; }
.pf-disciplines a:hover img { transform: scale(1.035); }
.pf-selection { padding-bottom: 2.3rem; }
.pf-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: .25rem 0 1rem; }
.pf-section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.pf-section-heading a { font-size: .9rem; font-weight: 650; }
.pf-page { padding-block: 2rem 3.25rem; min-height: 54vh; }
.pf-page article { margin-bottom: 2rem; }
.pf-content h1, .woocommerce-products-header__title { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 0 1rem; }
.pf-catalogue-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pf-catalogue-nav a { padding: .4rem .65rem; border: 1px solid var(--line); text-decoration: none; font-size: .87rem; }
.pf-catalogue-nav a[aria-current="page"], .pf-catalogue-nav a:hover { background: var(--ink); color: white; border-color: var(--ink); }
.woocommerce ul.products li.product a img { margin-bottom: .6rem; aspect-ratio: 1.24; object-fit: cover; background: #ece5dc; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; padding: .2rem 0 .4rem; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); }
.woocommerce ul.products li.product .button { margin-top: .35rem; }
.woocommerce ul.products li.product .button, .woocommerce .button, .woocommerce button.button { border-radius: 0; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { vertical-align: middle; }
.woocommerce div.product .stock { color: #355b42; }
.woocommerce div.product .stock.out-of-stock { color: #923125; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--red); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--red); }
:where(.pf-search, .woocommerce form) :is(input:not([type=checkbox],[type=radio]),textarea,select) { padding: .45rem .55rem; border: 1px solid var(--line); }
.pf-footer { background: #242320; color: var(--paper); padding-block: 2.15rem; }
.pf-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.3rem; }
.pf-footer h2 { margin: 0 0 .45rem; font-size: 1rem; letter-spacing: 0; }
.pf-footer p { margin-block: .65rem 0; }
.pf-footer ul { list-style: none; margin: 0; padding: 0; }
.pf-footer li { margin-bottom: .25rem; }
@media (max-width: 680px) {
	.pf-bar { grid-template-columns: 1fr auto; padding: .65rem 0; gap: .5rem; }
	.pf-wordmark { font-size: 1rem; }
	.pf-main-nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
	.pf-tools { grid-column: 2; grid-row: 1; }
	.pf-hero { min-height: 385px; align-items: end; }
	.pf-hero-photo { width: 100%; height: 72%; object-position: 55% center; }
	.pf-hero::after { background: linear-gradient(0deg,#161814 8%,#161814df 34%,#16181419 78%); }
	.pf-hero-copy { padding-block: 8.4rem 1.8rem; }
	.pf-hero h1 { font-size: clamp(2.35rem, 9.5vw, 3.6rem); }
	.pf-disciplines { gap: .4rem; padding-block: .7rem 1.2rem; }
	.pf-disciplines span { bottom: .45rem; left: .4rem; }
	.pf-foot-grid { grid-template-columns: 1fr 1fr; }
	.pf-foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .pf-disciplines img { transition: none; } }
.pf-demo-status { text-align: center; padding: .35rem .7rem; font-size: .83rem; background: #26241f; color: white; }
