/* Monte refinements: preserve the palette and compact the desktop composition. */
body:is(.post-type-archive-product,.tax-product_cat) .page-intro { border-bottom:0; padding-bottom:16px; }
body:is(.post-type-archive-product,.tax-product_cat) .catalog-products { padding-top:16px; }
body:is(.post-type-archive-product,.tax-product_cat) .catalog-products ul.products { margin-top:0; }
.monte-about { display:grid; gap:72px; }
.monte-about-row { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; }
.monte-about-copy { max-width:540px; }
.monte-about-copy h2 { font-family:var(--font-serif-home); font-size:clamp(2rem,3vw,2.7rem); font-weight:400; line-height:1.15; margin-bottom:24px; }
.monte-about-copy p { color:var(--text-secondary); line-height:1.85; margin-bottom:20px; }
.monte-about-eyebrow { font-size:.75rem; letter-spacing:.15em; text-transform:uppercase; color:var(--accent-sage-light)!important; }
.monte-about figure { margin:0; }
.monte-about figure img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:6px; }
.monte-about figcaption { color:var(--text-muted); font-size:.8rem; padding-top:12px; line-height:1.5; }
.monte-about-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; padding:40px 0; border-top:1px solid var(--border-color); border-bottom:1px solid var(--border-color); }
.monte-about-values h3 { font-family:var(--font-serif); font-size:1rem; color:var(--accent-sage-light); margin-bottom:16px; }
.monte-about-values p { color:var(--text-secondary); line-height:1.8; }
.page-id-19 .page-content { max-width:850px; padding-top:48px; padding-bottom:88px; }
:is(.page-id-19,.page-home) .wpcf7 { width:100%; }
:is(.page-id-19,.page-home) .wpcf7 form p { margin:0 0 24px; }
:is(.page-id-19,.page-home) .wpcf7 label { display:block; color:var(--text-secondary); font-size:.85rem; letter-spacing:.035em; }
:is(.page-id-19,.page-home) .wpcf7-form-control-wrap { display:block; margin-top:9px; }
:is(.page-id-19,.page-home) .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),
:is(.page-id-19,.page-home) .wpcf7 textarea, :is(.page-id-19,.page-home) .wpcf7 select {
  width:100%; max-width:100%; box-sizing:border-box; background:var(--bg-secondary); color:var(--text-primary);
  border:1px solid var(--border-color); border-radius:3px; padding:14px 16px; font:inherit; font-size:1rem;
}
:is(.page-id-19,.page-home) .wpcf7 textarea { min-height:170px; resize:vertical; }
:is(.page-id-19,.page-home) .wpcf7 input:focus-visible,:is(.page-id-19,.page-home) .wpcf7 textarea:focus-visible { outline:2px solid var(--accent-sage); outline-offset:3px; }
:is(.page-id-19,.page-home) .wpcf7 input[type=submit] { border:1px solid var(--accent-sage); background:var(--accent-sage); color:var(--text-primary); font:inherit; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; padding:15px 32px; border-radius:3px; cursor:pointer; }
:is(.page-id-19,.page-home) .wpcf7 input[type=submit]:hover { background:var(--accent-sage-light); }
:is(.page-id-19,.page-home) .wpcf7 .wpcf7-not-valid-tip { margin-top:8px; font-size:.85rem; color:#e6a698; }
:is(.page-id-19,.page-home) .wpcf7 .wpcf7-response-output { margin:24px 0 0; padding:16px; color:var(--text-primary); line-height:1.6; }
@media(min-width:1024px) {
  .curated-grid,.categories,.catalog-products,.page-intro,.page-content,.product-single { max-width:1260px; padding-left:40px; padding-right:40px; }
  .curated-grid,.categories { padding-top:88px; padding-bottom:88px; }
  .grid-3col,.categories-grid { gap:32px; }
  .woocommerce ul.products { gap:40px!important; }
  .woocommerce ul.products li.product.product-card { padding:20px; }
  .hero-title { font-size:clamp(2.5rem,5vw,4rem); }
  .page-title { font-size:2.35rem; }
  .section-header h2,.philosophy h2 { font-size:2.5rem; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,.product-card .product-title { font-size:1.15rem; }
  .grid-title { font-size:1.25rem; }
  .product-details .product_title { font-size:2.1rem; }
  .product-single .product-single-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; }
  .product-gallery { width:100%; max-width:530px; }
  .page-id-19 .page-content { max-width:850px; }
}
@media(max-width:768px) {
  .product-gallery .product-gallery-thumbs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; width:100%; }
  .product-gallery .product-gallery-thumbs .thumb { width:100%; min-width:0; }
  .product-gallery .product-gallery-thumbs .thumb img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
  .hero-content { gap:12px; }
  .hero-image { margin-top:0; }
  .monte-about { gap:44px; }
  .monte-about-row { grid-template-columns:1fr; gap:28px; }
  .monte-about-row--second .monte-about-copy { order:-1; }
  .monte-about-copy h2 { font-size:2rem; }
  .monte-about-values { grid-template-columns:1fr; gap:28px; padding:28px 0; }
  .monte-about figure img { max-height:480px; }
  .page-id-25 .page-content { padding-top:28px; padding-bottom:56px; }
  .page-id-19 .page-content { padding:28px 24px 56px; }
}

body:is(.post-type-archive-product,.tax-product_cat) .catalog-products .woocommerce-notices-wrapper:empty { display:none; }

/* Product detail rhythm, including legacy nested description wrappers. */
.product-details .monte-product-extended-summary .product-info-title { margin-top:10px; margin-bottom:12px; }
.product-details .product-long-desc .monte-product-extended-summary.product-extended {
  margin:0; padding:0; border:0;
}
.product-details .product-long-desc .specs-list { margin:0; }
.product-details .product-long-desc .specs-list dt { margin:20px 0 4px; }
.product-details .product-long-desc .specs-list dt:first-child { margin-top:0; }
.product-details .product-long-desc .specs-list dd { margin:0; }
.product-details .product-long-desc .specs-list dd:empty { display:none; }
.product-details .monte-manufacturing-block {
  margin-top:var(--space-lg); padding-top:var(--space-lg); border-top:1px solid var(--border-color);
}
