/* Checkpoint 1: scope all content changes; category and other templates stay baseline. */
.yp-v1-shell .yp-site-header { background: #faf9f5; border-bottom: 1px solid #deded4; box-shadow: none; }
.yp-v1-shell { --yp-container: var(--yp-container-width, 1360px); --yp-gutter: 48px; }
.yp-v1-shell .yp-header__inner { max-width: var(--yp-container); min-height: var(--yp-header-height, 80px); gap: 20px; padding-inline: 0; }
.yp-v1-shell .yp-logo--header { width: 154px; }
.yp-v1-shell .yp-primary-navigation { font-size: 14px; }
.yp-v1-shell .yp-primary-navigation .wp-block-navigation__container { gap: 18px; }
.yp-v1-shell .yp-site-header .yp-button { font-size: 12px; padding: 13px 17px; white-space: nowrap; }
.yp-v1 { background: #faf9f5; --yp-paper: #faf9f5; --yp-forest: #354139; }
.yp-v1 main h1, .yp-v1 main h2, .yp-v1 main h3 { font-weight: 400; letter-spacing: -.035em; }
.yp-v1 main h1 { font-size: clamp(42px, 4.8vw, 70px); line-height: 1.06; }
.yp-v1 main h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.1; }
.yp-v1 main h3 { font-size: 24px; line-height: 1.25; }
.yp-v1 .yp-kicker { font: 500 12px/1.6 var(--yp-font-sans); letter-spacing: .13em; text-transform: uppercase; color: #697168; }
.yp-v1 .yp-button { border-radius: 0; box-shadow: none; padding: 15px 24px; font-size: 13px; }
.yp-v1 .yp-text-link { font-size: 13px; border-bottom: 1px solid #8c9589; padding-block: 8px; text-decoration: none; }
.yp-v1 .yp-v1-home { margin-block-start: 0; }
.yp-v1-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 48px; padding-block: var(--yp-hero-space-top, 64px) var(--yp-hero-space-bottom, 72px); }
.yp-v1-hero__copy { min-width: 0; padding-block: 0; }
.yp-v1-hero__copy > .yp-kicker { margin: 0; }
.yp-v1 .yp-v1-hero h1 { font-size: clamp(52px, 5vw, var(--yp-hero-title-size, 72px)); line-height: 1.02; overflow-wrap: normal; max-width: 680px; margin: 18px 0 24px; }
.yp-v1-lead { max-width: 39ch; font-size: 17px; line-height: 1.75; color: #60685f; }
.yp-v1-hero__media { min-width: 0; background: #efeee8; }
.yp-v1-hero__image { display: block; width: 100%; height: 520px; object-fit: contain; }
.yp-v1-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.yp-v1-capability { border-top: 1px solid #deded4; padding-top: 22px; margin-top: 32px; color: #60685f; font-size: 12px; line-height: 1.8; }
.yp-v1-section { padding-block: var(--yp-section-space, 72px); }
/* Shared boundaries avoid doubling the gap between adjacent plain sections. */
.yp-v1-section.yp-container + .yp-v1-section.yp-container { padding-top: 24px; }
.yp-v1-hero + .yp-v1-section { padding-top: 24px; }
.yp-v1-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.yp-v1-heading h2 { margin: 8px 0 0; }
.yp-v1-collections { display: grid; grid-template-columns: var(--yp-collection-columns, repeat(4, minmax(0, 1fr))); gap: 32px; align-items: stretch; }
.yp-v1-collection { min-width: 0; display: flex; flex-direction: column; gap: 16px; color: inherit; }
.yp-v1-collection a { color: inherit; text-decoration: none; }
.yp-v1-collection__frame { display: block; position: relative; flex-shrink: 0; aspect-ratio: 4 / 5; background: #f0eee7; }
.yp-v1-collection__image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.yp-v1-collection h3 { margin: 0; min-height: 2.5em; }
.yp-v1-collection__cta { margin-top: auto; font-size: 13px; color: #60685f; }
.yp-v1-products { display: grid; grid-template-columns: repeat(var(--yp-product-columns, 3), minmax(0, 1fr)); gap: 32px; }
.yp-v1-card { min-width: 0; }
.yp-v1-card__image { display: block; background: #efeee8; margin-bottom: 22px; }
.yp-v1-card__photo { display: block; width: 100%; height: auto; aspect-ratio: var(--yp-card-ratio, 4 / 5); object-fit: contain; padding: 24px; }
.yp-v1-card h3 { margin: 8px 0 12px; }
.yp-v1-card h3 a { color: inherit; text-decoration: none; }
.yp-v1-card__spec { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #697168; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.yp-v1-card .yp-kicker { margin-bottom: 0; }
.yp-v1-two, .yp-v1-factory { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; }
.yp-v1-retail { background: #eeeee6; }
.yp-v1-retail ul { list-style: none; padding: 0; }
.yp-v1-retail li { padding: 14px 0; border-bottom: 1px solid #d7dbd1; }
.yp-v1-process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; counter-reset: steps; gap: 24px; padding: 0; }
.yp-v1-process li { border-top: 1px solid #b7beb2; padding-top: 18px; font-size: 16px; counter-increment: steps; }
.yp-v1-process li::before { content: counter(steps, decimal-leading-zero); display: block; color: #697168; font-size: 11px; margin-bottom: 25px; }
.yp-v1-factory__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #eeeee6; }
.yp-v1-factory p { color: #60685f; line-height: 1.8; }
.yp-v1-final { padding-block: 88px; background: #ebece3; }
.yp-v1-final h2 { max-width: 18ch; margin: 18px 0; }
.yp-v1-final p { max-width: 48ch; }
.yp-v1 .yp-catalogue-header { padding-block: 32px 48px; background: transparent; }
.yp-v1 .yp-catalogue-header__grid { grid-template-columns: 1.4fr 1fr; gap: 10%; }
.yp-v1 .yp-catalogue-header h1 { max-width: 12ch; }
.yp-v1 .yp-catalogue-header__image { height: 320px; width: 100%; object-fit: contain; background: #efeee8; border-radius: 0; }
.yp-v1 .yp-catalogue-filters { background: transparent; border: 0; border-block: 1px solid #deded4; padding: 24px 0; margin-bottom: 40px; border-radius: 0; }
.yp-v1 .yp-catalogue-filters select { border-radius: 0; background: transparent; }
.yp-v1 .yp-product-grid { grid-template-columns: repeat(var(--yp-product-columns, 3), minmax(0, 1fr)); gap: 56px 32px; }
.yp-v1 .yp-product-detail__hero { grid-template-columns: 1.05fr 1fr; gap: 7%; padding-block: 32px 64px; align-items: start; }
.yp-v1 .yp-product-gallery__main { background: #efeee8; }
.yp-v1 .yp-product-gallery__image { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 0; }
.yp-v1 .yp-product-summary { padding-top: 24px; min-width: 0; }
.yp-v1 .yp-product-summary h1 { font-size: clamp(28px, 2.8vw, 40px); }
.yp-v1 .yp-product-summary .yp-lead { font-size: 15px; line-height: 1.8; }
.yp-v1 .yp-product-summary__cta small { font-size: 12px; line-height: 1.75; max-width: 43ch; }
.yp-v1 .yp-product-gallery__thumb { object-fit: contain; border-radius: 0; background: #efeee8; }
.yp-v1 .yp-key-specs { background: transparent; border-radius: 0; padding-inline: 0; border-block: 1px solid #deded4; }
.yp-v1 .yp-gallery-grid__image { object-fit: contain; background: #efeee8; border-radius: 0; }
.yp-v1 .yp-final-cta { background: #ebece3; }
.yp-v1-footer { background: #f3f2ec; color: #354139; padding-block: 64px 24px; }
.yp-v1-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; margin-bottom: 40px; }
.yp-v1-footer__top p { max-width: 40ch; color: #60685f; font-size: 14px; line-height: 1.8; }
.yp-v1-footer nav ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.yp-v1-footer nav a { font-size: 13px; color: inherit; text-decoration: none; }
.yp-v1-footer .yp-footer__bottom { border-color: #d7dbd1; font-size: 11px; }
@media (max-width: 1150px) {
 .yp-v1-shell { --yp-gutter: 28px; }
 .yp-v1-shell .yp-header__inner { gap: 16px; }
 .yp-v1-shell .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
 .yp-v1-shell .wp-block-navigation__responsive-container-open { display: flex !important; }
 .yp-v1-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: start; gap: 22px; font-size: 18px; }
 .yp-v1-hero { gap: 5%; padding-block: 40px; }
 .yp-v1 .yp-v1-hero h1 { font-size: clamp(40px, 5vw, 52px); }
 .yp-v1-hero__image { height: 440px; }
 .yp-v1-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
 .yp-v1-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .yp-v1 .yp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
 .yp-v1-shell { --yp-gutter: 20px; }
 .yp-v1-shell .yp-header__inner { min-height: 72px; gap: 12px; }
 .yp-v1-shell .yp-logo--header { width: 120px; }
 .yp-v1-shell .yp-site-header .yp-button { font-size: 11px; padding: 10px 12px; }
 .yp-v1-hero, .yp-v1-two, .yp-v1-factory { grid-template-columns: 1fr; gap: 28px; }
 .yp-v1-hero { padding-block: 28px 40px; }
 .yp-v1-hero__copy { padding-block: 0; }
 .yp-v1 .yp-v1-hero h1 { font-size: clamp(36px, 10vw, 43px); margin: 16px 0 20px; max-width: 100%; }
 .yp-v1-lead { font-size: 15px; }
 .yp-v1-hero__image { height: auto; aspect-ratio: 4 / 5; max-height: 440px; }
 .yp-v1-actions { gap: 18px; margin-top: 22px; }
 .yp-v1-section { padding-block: 56px; }
 .yp-v1-section.yp-container + .yp-v1-section.yp-container { padding-top: 16px; }
 .yp-v1-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
 .yp-v1-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
 .yp-v1 .yp-v1-collection h3 { font-size: 22px; }
 .yp-v1-products, .yp-v1 .yp-product-grid { grid-template-columns: 1fr; gap: 36px; }
 .yp-v1-card__photo { max-height: 460px; }
 .yp-v1-process { grid-template-columns: 1fr; gap: 0; }
 .yp-v1-process li { padding: 18px 0; display: flex; gap: 24px; }
 .yp-v1-process li::before { margin: 4px 0 0; }
 .yp-v1-final { padding-block: 48px; }
 .yp-v1 .yp-catalogue-header__grid, .yp-v1 .yp-product-detail__hero { grid-template-columns: 1fr; gap: 28px; }
 .yp-v1 .yp-catalogue-header h1 { font-size: 42px; }
 .yp-v1 .yp-catalogue-header__image { height: 220px; }
 .yp-v1 .yp-catalogue-filters { display: grid; grid-template-columns: 1fr; gap: 14px; }
 .yp-v1 .yp-product-summary { padding-top: 0; }
 .yp-v1 .yp-product-detail__hero { padding-block: 16px 40px; }
 .yp-v1-footer { padding-block: 40px 20px; }
 .yp-v1-footer__top { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .yp-v1 { scroll-behavior: auto; } }
/* Stack product information before tablet columns become cramped. */
@media(max-width:768px){.yp-v1 .yp-product-detail__hero{grid-template-columns:1fr;gap:28px}.yp-v1 .yp-product-summary{padding-top:0}}
