/* APSAIDAL Product — compact editorial / commercial single template */
:root{
  --aps-product-heading:'Brandon Grotesque','Avenir Next',Arial,sans-serif;
  --aps-product-body:'Source Sans Pro',Arial,sans-serif;
  --aps-product-accent:#A92332;
  --aps-product-text:#242628;
  --aps-product-muted:#6e7073;
  --aps-product-line:#dedbd7;
  --aps-product-soft:#f5f3f0;
}

.aps-product-eyebrow{margin-bottom:14px;font:600 10px/1.2 var(--aps-product-body);letter-spacing:.1em;text-transform:uppercase;color:#47494b}
.aps-product-identity{padding:24px 34px 26px 0}.aps-product-identity h1{margin:0;font:300 clamp(34px,3.3vw,48px)/1.04 var(--aps-product-body);letter-spacing:-.015em;color:#141617;text-wrap:balance}.aps-product-subtitle{margin:13px 0 0;font:300 17px/1.32 var(--aps-product-heading);color:#2c2e30}.aps-product-classification{margin:13px 0 0;font:400 12.5px/1.4 var(--aps-product-body);color:#575a5d}.aps-product-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:30px}.aps-product-action{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:0;color:#292b2d;font:400 12px/1 var(--aps-product-body);cursor:pointer}.aps-product-action:hover,.aps-product-action.is-saved{color:var(--aps-product-accent)}.aps-product-action span:first-child{font-size:15px}.aps-product-manufacturer-link{margin-left:2px;padding-left:14px;border-left:1px solid var(--aps-product-line);color:var(--aps-product-accent);text-decoration:none;font:500 12px/1 var(--aps-product-body)}.aps-product-manufacturer-link:hover{text-decoration:underline;text-underline-offset:4px}

.aps-product-top__hero{background:var(--aps-product-soft)}.aps-product-hero{position:relative;min-height:300px;background:var(--aps-product-soft);overflow:hidden}.aps-product-hero .apsaidal-media-slider{height:100%;margin:0}.aps-product-hero .apsaidal-media-slider__viewport,.aps-product-hero .apsaidal-media-slider__track,.aps-product-hero .apsaidal-media-slider__slide{height:100%}.aps-product-hero .apsaidal-media__item{height:100%;margin:0}.aps-product-hero .apsaidal-media__lightbox-trigger{display:flex;height:100%;align-items:center;justify-content:center}.aps-product-hero .apsaidal-media__item img,.aps-product-hero--featured img{display:block;width:100%;height:300px;object-fit:contain;object-position:center;background:var(--aps-product-soft)}.aps-product-hero figcaption{position:absolute;right:14px;bottom:10px;z-index:2;margin:0;color:#555;font:300 10px/1.2 var(--aps-product-body);background:rgba(245,243,240,.84);padding:3px 5px}.aps-product-hero .apsaidal-media-slider__nav{width:34px;height:46px;border:0;background:transparent;color:#2e3032;font-size:34px;line-height:1}.aps-product-hero__counter{position:absolute;right:14px;bottom:34px;z-index:3;font:500 10px/1 var(--aps-product-body);color:#4d4f51;letter-spacing:.05em}.aps-product-hero--featured{margin:0}.aps-product-hero--featured img{height:300px}

.aps-product-thumbnails{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;padding:0 0 8px}.aps-product-thumbnail{position:relative;border:0;border-bottom:2px solid transparent;background:#f3f1ee;padding:0;height:70px;overflow:hidden;cursor:pointer}.aps-product-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.aps-product-thumbnail:hover,.aps-product-thumbnail.is-active{border-bottom-color:var(--aps-product-accent)}

.aps-product-tabs{display:flex;align-items:center;justify-content:space-around;gap:22px;overflow-x:auto;border-bottom:1px solid var(--aps-product-line);scrollbar-width:none}.aps-product-tabs::-webkit-scrollbar{display:none}.aps-product-tabs a{position:relative;display:block;white-space:nowrap;padding:16px 12px 13px;color:#55585b;text-decoration:none;font:500 10.5px/1 var(--aps-product-body);letter-spacing:.04em;text-transform:uppercase}.aps-product-tabs a:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:transparent}.aps-product-tabs a:hover,.aps-product-tabs a.is-active{color:var(--aps-product-accent)}.aps-product-tabs a.is-active:after{background:var(--aps-product-accent)}

.aps-product-summary-row,.aps-product-relations-row,.aps-product-assets-row{border-bottom:1px solid var(--aps-product-line)}.aps-product-summary-col,.aps-product-rel-col,.aps-product-asset-col{padding:18px 22px 20px}.aps-product-summary-col+.aps-product-summary-col,.aps-product-rel-col+.aps-product-rel-col,.aps-product-asset-col+.aps-product-asset-col{border-left:1px solid var(--aps-product-line)}.aps-product-panel h2,.aps-product-relation-block h2,.aps-product-asset-block h2,.aps-product-explore h2{margin:0 0 12px;font:400 22px/1.05 var(--aps-product-heading);color:#232527}.aps-product-copy{font:300 14.5px/1.55 var(--aps-product-body);color:#343638}.aps-product-copy p{margin:0 0 1em}.aps-product-copy p:last-child{margin-bottom:0}

.aps-product-data dl{margin:0}.aps-product-data dl>div{display:grid;grid-template-columns:34% minmax(0,1fr);gap:12px;padding:3px 0;border-bottom:1px solid #e5e2de}.aps-product-data dt,.aps-product-data dd{font:400 11.5px/1.28 var(--aps-product-body);color:#4e5154}.aps-product-data dt{color:#66696c}.aps-product-data dd{margin:0;color:#303235}
.aps-product-spec-list{margin:0}.aps-product-spec-list>div{margin:0 0 11px}.aps-product-spec-list dt{font:600 11.5px/1.28 var(--aps-product-body);color:#2f3133}.aps-product-spec-list dd{margin:2px 0 0;font:300 11.8px/1.35 var(--aps-product-body);color:#505356}

.aps-product-relation-block{min-height:170px}.aps-product-block-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}.aps-product-block-heading h2{margin:0}.aps-product-block-heading>a{color:var(--aps-product-accent);font:500 10px/1 var(--aps-product-body);text-decoration:none;white-space:nowrap}.aps-product-manufacturer__body{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px}.aps-product-manufacturer__logo{width:64px;height:64px;object-fit:contain;background:#111}.aps-product-manufacturer__content h3{margin:0;font:500 17px/1.15 var(--aps-product-heading);color:#242628}.aps-product-manufacturer__geo{margin:3px 0 7px!important;color:#777!important;font-size:10.5px!important}.aps-product-manufacturer__content p{margin:0 0 11px;font:300 10.5px/1.4 var(--aps-product-body);color:#55585b}.aps-product-manufacturer__links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.aps-product-outline-link{display:inline-block;border:1px solid #a9a5a0;padding:7px 13px;color:#292b2d;text-decoration:none;font:400 10px/1 var(--aps-product-body)}.aps-product-text-link{color:var(--aps-product-accent);text-decoration:none;font:500 10px/1 var(--aps-product-body)}

.aps-product-card-grid{display:grid;gap:10px}.aps-product-card-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.aps-product-card-grid--mini{grid-template-columns:repeat(4,minmax(0,1fr))}.aps-product-card a{display:block;color:#2b2d2f;text-decoration:none}.aps-product-card img{display:block;width:100%;aspect-ratio:1.35/1;object-fit:cover;background:var(--aps-product-soft)}.aps-product-card span{display:block;margin-top:5px;font:500 10px/1.25 var(--aps-product-heading)}.aps-product-card--mini span{font-size:9px}.aps-product-card a:hover span{color:var(--aps-product-accent)}

.aps-product-asset-block{min-height:210px}.aps-product-media .apsaidal-media-slider{margin:0}.aps-product-media .apsaidal-media__item{margin:0}.aps-product-media .apsaidal-media__item img{display:block;width:100%;height:160px;object-fit:cover}.aps-product-media figcaption{font:300 9px/1.3 var(--aps-product-body);color:#6c6e71}.aps-product-media .apsaidal-media-slider__nav{width:28px;height:40px;background:rgba(255,255,255,.72);color:#333;border:0;font-size:26px}.aps-product-resource-list{list-style:none;margin:0;padding:0}.aps-product-resource-list li{display:grid;grid-template-columns:20px minmax(0,1fr) auto 20px;align-items:center;gap:6px;padding:6px 0;border-bottom:1px solid #e4e1dd}.aps-product-resource-icon{font-size:12px;color:#555}.aps-product-resource-title a,.aps-product-resource-title{font:400 10.5px/1.25 var(--aps-product-body);color:#343638;text-decoration:none}.aps-product-resource-list small{font:600 8.5px/1 var(--aps-product-body);color:var(--aps-product-accent);text-transform:uppercase}.aps-product-resource-download{color:var(--aps-product-accent);text-decoration:none;font-size:15px;text-align:center}.aps-product-video__frame{position:relative;aspect-ratio:16/9;background:#171717;overflow:hidden}.aps-product-video__frame iframe,.aps-product-video__frame video{display:block;width:100%;height:100%;object-fit:cover}.aps-product-video__frame .wp-video{width:100%!important;height:100%}

.aps-product-explore h2{font-size:18px;margin-bottom:9px}.aps-product-explore__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.aps-product-explore-card{display:grid;grid-template-columns:42% 58%;min-height:72px;background:#f3f1ee;color:#2c2e30;text-decoration:none;overflow:hidden}.aps-product-explore-card__image{display:block;background-position:center;background-size:cover}.aps-product-explore-card__content{display:flex;flex-direction:column;justify-content:center;padding:10px 12px}.aps-product-explore-card__content strong{font:400 11px/1.25 var(--aps-product-heading)}.aps-product-explore-card__content small{margin-top:4px;color:var(--aps-product-accent);font:500 9px/1.15 var(--aps-product-body)}.aps-product-explore-card:hover strong{color:var(--aps-product-accent)}

.aps-product-breadcrumbs{display:flex;gap:7px;flex-wrap:wrap;font:400 10px/1.35 var(--aps-product-body);color:#777}.aps-product-breadcrumbs a{color:inherit;text-decoration:none}.aps-product-geography{font-family:var(--aps-product-body)}

@media(max-width:1024px){
  .aps-product-identity{padding:26px 0 30px}.aps-product-hero,.aps-product-hero .apsaidal-media__item img,.aps-product-hero--featured img{min-height:340px;height:340px}.aps-product-thumbnails{grid-template-columns:repeat(6,minmax(110px,1fr));overflow-x:auto}.aps-product-summary-col+.aps-product-summary-col,.aps-product-rel-col+.aps-product-rel-col,.aps-product-asset-col+.aps-product-asset-col{border-left:0;border-top:1px solid var(--aps-product-line)}.aps-product-card-grid--mini{grid-template-columns:repeat(4,minmax(0,1fr))}.aps-product-explore__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:767px){
  .aps-product-identity h1{font-size:36px}.aps-product-subtitle{font-size:16px}.aps-product-actions{gap:12px;margin-top:22px}.aps-product-manufacturer-link{width:100%;margin-left:0;padding-left:0;padding-top:10px;border-left:0;border-top:1px solid var(--aps-product-line)}.aps-product-hero,.aps-product-hero .apsaidal-media__item img,.aps-product-hero--featured img{min-height:250px;height:250px}.aps-product-thumbnails{grid-template-columns:repeat(6,90px);gap:6px}.aps-product-thumbnail{height:58px}.aps-product-tabs{justify-content:flex-start;gap:14px}.aps-product-tabs a{padding-left:5px;padding-right:5px}.aps-product-summary-col,.aps-product-rel-col,.aps-product-asset-col{padding:16px 0 18px}.aps-product-panel h2,.aps-product-relation-block h2,.aps-product-asset-block h2{font-size:20px}.aps-product-card-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.aps-product-card-grid--mini{grid-template-columns:repeat(4,minmax(0,1fr))}.aps-product-explore__grid{grid-template-columns:1fr}.aps-product-explore-card{min-height:82px}
}


/* Product v3: data and hero above full-width, exclusive tab panels. */
.aps-product-shell--breadcrumbs {display:block!important}
.aps-product-top__identity {width:44%;padding-right:32px;justify-content:flex-start!important;min-width:0}
.aps-product-top__hero {width:56%;min-width:0}
.aps-product-eyebrow {color:#822e46!important}
.aps-product-title-row {display:flex;align-items:flex-start;gap:16px;justify-content:space-between}
.aps-product-title-row h1 {min-width:0;flex:1}
.aps-product-title-row .aps-product-actions {position:static;flex-wrap:wrap}
.aps-product-top__identity .aps-product-data {margin-top:24px;padding:24px;background:#f5f5f4;border:1px solid #ddd}
.aps-product-tab-panel {width:100%!important;max-width:none;min-width:0}
.aps-product-tab-panel[hidden] {display:none!important}
.aps-product-tab-panel>.e-con-inner {width:100%;flex-direction:column!important}
.aps-product-tab-panel .aps-product-copy {max-width:none}
.aps-product-tabs {justify-content:flex-start;gap:28px;overflow:auto}
.aps-product-tabs [role=tab][aria-selected=true] {color:#822e46;border-bottom:2px solid #822e46}
@media(max-width:1024px){.aps-product-top__identity,.aps-product-top__hero {width:100%;padding-right:0}.aps-product-top__identity .aps-product-data {margin-bottom:24px}}
@media(max-width:767px){.aps-product-title-row {flex-wrap:wrap}.aps-product-title-row h1 {flex-basis:100%}.aps-product-tabs {gap:20px}.aps-product-top__identity .aps-product-data {padding:18px}}

.aps-product-tab-panel .aps-product-media .apsaidal-media__item img{height:auto;max-height:660px;object-fit:contain}
.aps-product-title-row .aps-product-actions{margin-top:4px}


/* Elementor 4 can omit custom container classes; product panel IDs are canonical. */
#product-overview,#product-specifications,#product-manufacturer,#product-images,#product-video{width:100%!important;max-width:none;min-width:0}
#product-overview[hidden],#product-specifications[hidden],#product-manufacturer[hidden],#product-images[hidden],#product-video[hidden]{display:none!important}
#product-overview>.e-con-inner,#product-specifications>.e-con-inner,#product-manufacturer>.e-con-inner,#product-images>.e-con-inner,#product-video>.e-con-inner{width:100%;flex-direction:column!important}
#product-overview .aps-product-copy,#product-specifications .aps-product-copy,#product-manufacturer .aps-product-copy,#product-images .aps-product-copy,#product-video .aps-product-copy{max-width:none}


/* Scoped closeout: shared navigation, responsive section accordion and 16:9 hero. */
.aps-product-identity{padding-right:0}
.aps-product-eyebrow{color:#822e46!important}
.aps-product-title-row .aps-product-actions{margin-left:auto;justify-content:flex-end}
.aps-product-hero{aspect-ratio:16/9;min-height:0;height:auto}
.aps-product-hero .apsaidal-media-slider,.aps-product-hero .apsaidal-media-slider__viewport,.aps-product-hero .apsaidal-media-slider__track,.aps-product-hero .apsaidal-media-slider__slide,.aps-product-hero .apsaidal-media__item,.aps-product-hero .apsaidal-media__lightbox-trigger{height:100%;min-height:0}
.aps-product-hero .apsaidal-media__item img,.aps-product-hero--featured img{height:100%;min-height:0;aspect-ratio:16/9;object-fit:contain}
.aps-product-hero--single .apsaidal-media-slider__nav,.aps-product-hero--single .apsaidal-media-slider__dots{display:none!important}
.aps-product-data dd a{color:#822e46;text-decoration:none}
.aps-product-data dd a:hover{text-decoration:underline}
.aps-product-tabs{justify-content:flex-start;gap:20px}
.aps-product-tabs a{color:#55585b}
.aps-product-tabs a:hover,.aps-product-tabs a.is-active{color:#822e46}
.aps-product-tabs a.is-active:after{background:#822e46}
.aps-section-navigation{display:contents}
.aps-section-navigation>summary{display:none}
#product-downloads{width:100%!important;max-width:none}
#product-downloads[hidden]{display:none!important}
.aps-product-explore-card__content strong,.aps-product-explore-card:hover strong{color:#000;font-size:16px}
.aps-product-explore-card__content small{color:#822e46;font-size:11px}
@media(max-width:1024px){
.aps-section-navigation{display:block;width:100%;border-bottom:1px solid var(--aps-product-line)}
.aps-section-navigation>summary{display:flex;justify-content:space-between;align-items:center;padding:16px 12px;color:#822e46;font:500 12px/1.2 var(--aps-product-body);text-transform:uppercase;cursor:pointer;list-style:none}
.aps-section-navigation>summary:after{content:'+'}
.aps-section-navigation[open]>summary:after{content:'−'}
.aps-section-navigation>summary::-webkit-details-marker{display:none}
.aps-section-navigation .aps-product-tabs{display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:visible}
.aps-section-navigation .aps-product-tabs a{padding:16px 12px}
.aps-product-hero{min-height:0;height:auto}
}

/* Compact, text-sized desktop tabs; existing responsive accordion is unchanged. */
@media(min-width:1025px){.aps-product-tabs a{flex:0 0 auto;width:auto;min-width:0;max-width:none;margin-left:0;margin-right:0;padding-left:0;padding-right:0}}


/* Products / Projects media interaction parity.
   Keep the Project hero inside the editorial Product column, never full-bleed. */
.aps-product-hero.aps-project-hero{
  position:relative;width:100%;max-width:100%;margin:0;
  aspect-ratio:16/9;min-height:0;height:auto;overflow:hidden;
  background:var(--aps-product-soft);
}
.aps-product-hero.aps-project-hero .aps-project-hero__viewport,
.aps-product-hero.aps-project-hero .aps-project-hero__track,
.aps-product-hero.aps-project-hero .aps-project-hero__slide{
  width:100%;max-width:none;height:100%;min-height:0;
}
.aps-product-hero.aps-project-hero .aps-project-hero__slide img{
  display:block;width:100%;height:100%;min-height:0;max-height:none;
  object-fit:contain;object-position:center;background:var(--aps-product-soft);
}
.aps-product-hero.aps-project-hero .aps-project-hero__controls{
  width:100%;height:100%;max-width:none;margin:0;
}
.aps-product-gallery-source[hidden]{display:none!important}
.aps-product-gallery-detail{margin:0;text-align:center}
.aps-product-gallery-detail img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;margin:0 auto;object-fit:contain}
.aps-product-gallery-detail figcaption{margin:10px auto 0;max-width:70ch;color:#555;font-size:12px;line-height:1.45}
@media (prefers-reduced-motion: reduce){
  .aps-product-hero .aps-project-hero__track{transition:none}
}
