/* October 7: scoped public presentation; no media or record changes. */
body.home #page .home-hero[data-compact-hero] { --home-opening-height:clamp(440px,calc(100svh - 235px),1050px); }
body #page .home-hero .hero-copy h2 { font-family:'ivymode',sans-serif; font-weight:300; font-style:normal; text-shadow:0 2px 5px #0009; }
body #page .home-hero .hero-copy p { text-shadow:0 1px 3px #000b; }
body #page .home-hero .hero-copy h2.alex-heading { display:flex; align-items:center; justify-content:center; gap:20px; }
body #page .home-hero .alex-wordmark { width:115px; height:auto; flex:0 0 115px; filter:drop-shadow(0 2px 3px #0007); }
body.home #page #home-access-the-incredible .access-arrow { color:#858078; }
body.home #page #home-gallery-grid .home-product-link h3 { font-size:min(calc((var(--compact-column-width) - 36px) / 10.281 * 1.29),calc((var(--compact-panel-height) - 8px) / 2.4)); }
body #page section:is(#home-quote,#story-quote) .column-content .quote + p,
body #page section:is(#home-quote,#story-quote) .column-content .quote + p :is(em,i,span) { font-style:italic !important; }
body.home #page #home-material-slideshow { padding-bottom:var(--october7-home-gap,20px); background:var(--cactus-content-background,#302e2b); }
body.home #page #home-material-slideshow .home-slide-control,
body #page .story-slideshow .story-slide-control { width:60px; height:220px; padding:10px; }
body.home #page #home-material-slideshow .home-arrow,
body #page .story-slideshow .story-arrow { width:31.5px; height:60px; }
body #page .compact-catalog .choices__inner { padding-inline:10px 22px; }
body #page .compact-catalog .choices__list--single { padding:3px 0; }
body #page .compact-catalog .choices[data-type*=select-one]::after { right:8px; }
body #page .compact-catalog .catalog-material { color:#d2c8ae; font-style:normal; }
body #page .compact-catalog .products-filter .grid-item h4 { min-height:2.6em; line-height:1.3; }
/* Product details share one measured width. Tile/accessory rows use the approved proportions. */
body.single-product #page main#primary.single-product-wrapper section.product-details .details-wrapper { width:96%; max-width:1200px; padding-inline:0; margin-inline:auto; }
body.single-product #page main#primary.single-product-wrapper[data-product-family] section.product-details .details-table.october7-details { display:grid; grid-template-columns:var(--detail-tracks); width:100%; max-width:none; margin:0; }
body.single-product #page main#primary.single-product-wrapper[data-product-family="slabs"] section.product-details .details-wrapper { max-width:1100px; }
body.single-product #page main#primary.single-product-wrapper section.product-details .details-table .details-column { max-width:none; padding:8px 16px 12px; }
body.single-product #page main#primary.single-product-wrapper .details-label { text-transform:none; text-align:left; }
body.single-product #page main#primary.single-product-wrapper[data-product-family] section.product-details .details-value { text-align:center; overflow-wrap:anywhere; }
body.single-product #page main#primary.single-product-wrapper[data-product-family] section.product-details [data-value-kind="long"] .details-value { text-align:left; }
/* Tile and accessory rows grow only when their own content needs more space. */
body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details { align-items:stretch; }
body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details.second-row,
body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details.second-row .details-column { border-bottom:0; }
body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details .details-column { min-width:0; padding:8px 16px 16px; border-left:1px solid #575552; }
body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details .details-column:first-child { border-left:0; }
body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details:not(.second-row) .details-column { padding-bottom:12px; }
@media(max-width:599px) {
 body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details:not(.second-row) { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; }
 body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details:not(.second-row) .details-column:nth-child(odd) { border-left:0; }
 body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details.second-row { grid-template-columns:minmax(0,1fr); }
 body.single-product #page main#primary.single-product-wrapper:is([data-product-family="tile"],[data-product-family="accessories"]) section.product-details .details-table.october7-details.second-row .details-column { border-left:0; }
}
body #page .testimonials-page #testimonials-title { margin-bottom:var(--october7-testimonial-gap,12px); }
body #page .story-refined #cactus-classic-one .container .glightbox-video .content h2 { font-size:38px; margin:0 0 12px; }
body #page .story-refined #cactus-classic-one .container .glightbox-video .content h2 > span { color:#d2c8ae; font-size:17px; font-weight:600; margin-bottom:12px; }
body #page .story-refined #cactus-classic-one .container .glightbox-video .content .cst-video-play > span:last-child { font-size:18px; }
body #page .visit-information .contact-details p { position:relative; }
body #page .visit-information .contact-info-icon { position:absolute; width:28px; height:28px; top:50%; transform:translateY(-50%); color:#d2c8ae; pointer-events:none; }
/* Catalog-sized search cards, including one- and two-match searches. */
body.search #page main#primary { width:96%; max-width:1600px; padding-top:0; }
body.search #page .search-heading-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px 0.5em; margin:0 0 20px; font-size:32px; }
body.search #page .search-heading { font:300 32px/1.3 'ivymode',sans-serif; text-transform:none; letter-spacing:0; margin:0; }
body.search #page .search-heading-row .search-form { display:flex; flex:1 1 340px; gap:10px; margin:0; }
body.search #page .search-heading-row input[type=search] { width:100%; height:48px; padding:8px 34px 8px 12px; font:400 18px/1.4 'Instrument Sans',sans-serif; background:#fff; color:#302e2b; }
body.search #page .results-wrapper.search-catalog { display:block; padding:0 0 24px; }
body.search #page .search-family { margin:0 0 24px; padding:0; }
body.search #page .search-family > h2 { font:300 28px/1.3 'ivymode',sans-serif; text-transform:none; letter-spacing:0; margin:0 0 12px; }
body.search #page .search-family .products-filter { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:18px clamp(10px,1.1vw,18px); padding:0; margin:0; }
body.search #page .search-family .grid-item { min-width:0; list-style:none; }
body.search #page .search-family .product-thumbnail { display:block; width:100%; aspect-ratio:1; }
body.search #page .search-family .product-thumbnail img { width:100%; height:100%; object-fit:cover; display:block; }
body.search #page .search-family .grid-item h4 { font-family:Inter,sans-serif; font-weight:600; text-align:left; }
body.search #page .search-empty { margin:0 0 24px; }
@media(max-width:1399px) {
 body.search #page .search-family .products-filter { grid-template-columns:repeat(6,minmax(0,1fr)); }
 body.home #page #home-material-slideshow .home-slide-control,body #page .story-slideshow .story-slide-control { width:48px; }
}
@media(max-width:1100px) {
 body.single-product #page main#primary.single-product-wrapper[data-product-family="slabs"] section.product-details .details-table.october7-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.single-product #page main#primary.single-product-wrapper[data-product-family="slabs"] section.product-details [data-value-kind="long"] { grid-column:1 / -1; }
}
@media(max-width:900px) {
 body.search #page .search-family .products-filter { grid-template-columns:repeat(4,minmax(0,1fr)); }
 body #page .story-refined #cactus-classic-one .container .glightbox-video .content h2 { font-size:28px; }
 body #page .story-refined #cactus-classic-one .container .glightbox-video .content h2 > span { font-size:15px; }
}
@media(max-width:599px) {
 body.home #page .home-hero[data-compact-hero] { --home-opening-height:560px; }
 body #page .home-hero .hero-copy h2.alex-heading { gap:12px; }
 body #page .home-hero .alex-wordmark { width:72px; flex-basis:72px; }
 body.search #page .search-family .products-filter { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:10px; }
 body.search #page .search-heading { font-size:27px; }
 body.search #page .search-heading-row .search-form { flex-basis:100%; }
 body.home #page #home-material-slideshow .home-slide-control,body #page .story-slideshow .story-slide-control { width:48px; height:150px; }
 body.home #page #home-material-slideshow .home-arrow,body #page .story-slideshow .story-arrow { width:27px; height:51.4px; }
}
body #page .compact-catalog .shortcode-products-filter .choices__list--single .choices__item--selectable { padding-right:0 !important; }
body.search #page .search-family .grid-item h4 { text-align:left; font-weight:600; }
/* The older video photographs contain baked-in dimming; normalize that only,
   then apply the same 35% darkening layer to every panel. */
body #page .story-refined #cactus-classic-one .container .glightbox-video > img { filter:brightness(2.3); }
body #page .story-refined #cactus-classic-one .container .glightbox-video > img.october-video-poster { filter:none; }
body #page .story-refined #cactus-classic-one .container .glightbox-video::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,.35); pointer-events:none; z-index:1; }
body #page .story-refined #cactus-classic-one .container .glightbox-video .content { z-index:2; }
@media(min-width:1200px) and (max-width:1399px) { body.search #page .search-family[data-search-family="accessories"] .products-filter { grid-template-columns:repeat(8,minmax(0,1fr)); } }
