/* WordPress-only additions. The twelve approved Figma layouts retain main.css unchanged. */
.site-nav__list .menu-item a { display: inline-block; }
.language-suggestion { position: fixed; z-index: 150; right: 24px; bottom: 24px; width: min(410px, calc(100vw - 32px)); padding: 20px; color: #fff; background: #181922; box-shadow: 0 15px 45px rgba(0,0,0,.3); opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.language-suggestion.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.language-suggestion p { margin: 0 0 14px; font-size: 16px; line-height: 1.45; }
.language-suggestion > div { display: flex; align-items: center; gap: 15px; }
.language-suggestion button { padding: 8px 0; color: #fff; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; }
.footer-cookie-settings { padding: 0; color: inherit; border: 0; border-bottom: 1px solid currentColor; background: none; font: inherit; text-align: left; cursor: pointer; opacity: .82; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; padding: 0 24px 22px; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-legal a { color: inherit; text-decoration: none; transition: color .25s ease; }
.footer-legal a:hover { color: #ffbd00; }
.cookie-consent { position: fixed; z-index: 155; left: 24px; bottom: 24px; width: min(580px, calc(100vw - 48px)); padding: 22px; color: #fff; background: #181922; box-shadow: 0 15px 45px rgba(0,0,0,.32); }
.cookie-consent[hidden] { display: none; }
.cookie-consent p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.cookie-consent p a { color: #ffbd00; }
.cookie-consent > div { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cookie-consent__reject { min-height: 38px; padding: 8px 15px; color: #fff; border: 1px solid #fff; background: transparent; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.cookie-consent__reject:hover { color: #ffbd00; border-color: #ffbd00; }
.wp-detail-page { padding: 145px 0 95px; min-height: 70vh; }
.wp-detail-page h1 { font-size: clamp(38px, 4vw, 70px); line-height: 1.08; margin: 20px 0 28px; }
.wp-detail-page h2 { font-size: clamp(28px, 2.6vw, 42px); margin: 0 0 20px; }
.wp-detail-page p { max-width: 60ch; font-size: 19px; line-height: 1.55; }
.wp-detail-hero { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 6%; }
.wp-detail-hero > img { width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.wp-detail-hero .button { margin-top: 22px; }
.wp-detail-content { padding-block: 68px 20px; max-width: 1000px; }
.wp-detail-content--specs { border-top: 1px solid #ddd; }
.wp-detail-content img { max-width: 100%; height: auto; }
.wp-project-hero > img { display: block; width: 100%; max-height: 750px; object-fit: cover; margin-top: 36px; }
.wp-project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 35px; }
.wp-project-gallery .gallery-button img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.wp-fabric-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: center; }
.wp-fabric-detail .gallery-button img { display: block; width: 100%; max-height: 660px; object-fit: contain; }
.wp-catalog-extras, .wp-fabric-extras { padding-block: 70px; }
.wp-catalog-extras > h2, .wp-fabric-extras > h2 { font-size: 42px; margin: 0 0 28px; }
.wp-catalog-extras .catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wp-fabric-extras .fabrics-catalog__grid { grid-auto-rows: 150px; }
.wp-fabric-extras .fabrics-swatch img { width: 100%; height: 100%; object-fit: cover; }
.wp-project-extras { padding-block: 65px; }
.wp-project-extras h2 { font-size: 42px; margin: 12px 0 30px; }
.wp-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wp-project-card { display: block; position: relative; color: #fff; overflow: hidden; }
.wp-project-card img { display: block; width: 100%; aspect-ratio: 1.3; object-fit: cover; transition: transform .45s ease; }
.wp-project-card:hover img { transform: scale(1.04); }
.wp-project-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 35px 18px 16px; background: linear-gradient(transparent,rgba(0,0,0,.65)); }
.wp-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.wp-archive-card { color: inherit; text-decoration: none; }
.wp-archive-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.wp-archive-card h2 { font-size: 26px; margin: 16px 0 8px; }
.wp-archive-card p { font-size: 16px; }
@media (max-width: 900px) {
	.wp-detail-page { padding-top: 110px; }
	.wp-detail-hero, .wp-fabric-detail { grid-template-columns: 1fr; }
	.wp-catalog-extras .catalog-grid, .wp-project-grid, .wp-archive-grid { grid-template-columns: repeat(2, 1fr); }
	.wp-project-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.wp-detail-page { padding-top: 95px; padding-bottom: 45px; }
	.language-suggestion { right: 16px; bottom: 16px; }
	.cookie-consent { left: 16px; bottom: 16px; width: calc(100vw - 32px); }
	.wp-catalog-extras .catalog-grid, .wp-project-grid, .wp-project-gallery, .wp-archive-grid { grid-template-columns: 1fr; }
	.wp-catalog-extras, .wp-fabric-extras { padding-block: 42px; }
	.wp-catalog-extras > h2, .wp-fabric-extras > h2 { font-size: 30px; }
}
