.product-editorial, .product-masthead {
    --olive: #39491e;
    --olive-light: #556632;
    --stone: #f4f0e9;
    --line: #dcd5c8;
    background: #fcfaf8;
    color: #191913;
}
.product-editorial .shell, .product-masthead .shell { width: min(1440px, 92%); }
.product-masthead { border-bottom: 1px solid #d8d2c8; }
.product-masthead-inner { min-height: 88px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); position: relative; }
.product-wordmark { color: var(--olive); display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.product-wordmark img { width: 40px; height: 49px; object-fit: contain; }
.product-wordmark strong { display: block; font: 700 clamp(23px, 3vw, 42px)/1 Georgia, serif; letter-spacing: -.045em; }
.product-wordmark small { display: block; margin-top: 4px; color: #24221c; font-size: clamp(8px, .96vw, 12px); text-transform: uppercase; }
.product-masthead .nav-list { gap: clamp(16px, 2.35vw, 31px); }
.product-masthead .nav-list a { text-transform: none; font: 500 16px/1.4 Arial,sans-serif; color: #1c1d18; letter-spacing: 0; }
.product-masthead .nav-list .menu-item-has-children>a::after { width: 7px; height: 7px; border-radius: 0; margin-left: 7px; background: none; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-3px) rotate(45deg); }
.product-masthead .product-search { border: 0; background: none; color: var(--olive); padding: 10px; cursor: pointer; }
.product-search span { position: relative; display: block; width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 50%; }
.product-search span::after { content: ''; position: absolute; width: 8px; height: 2px; background: currentColor; bottom: -3px; right: -5px; transform: rotate(45deg); }
.product-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 60px; padding-block: 12px; color: #514f47; font-size: 15px; }
.product-trail strong { color: var(--olive); }
.product-trail .dashicons { color: #77796b; margin-right: 5px; }

.product-hero {
    background: linear-gradient(90deg, transparent 12%, #fcfaf9f7 35%, #fcfaf9fa 68%, transparent 88%), url('../images/product-plaster.webp') center / cover no-repeat;
}
.product-hero-inner { min-height: clamp(360px, 34vw, 475px); display: grid; grid-template-columns: minmax(0, 33%) minmax(0, 1fr); gap: 18px; align-items: center; padding: 26px 0; }
.product-hero-photo { min-width: 0; text-align: center; }
.product-hero-photo:has(>img) { align-self: end; }
.product-hero-photo > img { display: block; height: clamp(245px, 29vw, 400px); width: 100%; object-fit: contain; margin: 0 auto; }
.product-hero-photo > img[src*="bianco-calce-bio" i] { width: auto; max-width: 100%; height: auto; max-height: clamp(245px, 29vw, 400px); clip-path: polygon(12% 18%,14% 17%,14% 13%,15% 9%,18% 7%,24% 5%,32% 4%,44% 3%,58% 3%,71% 4%,79% 6%,82% 8%,84% 13%,84% 18%,86% 18%,85% 27%,81% 32%,77% 88%,76% 91%,72% 93%,64% 94%,51% 95%,36% 95%,26% 93%,22% 91%,20% 88%,17% 34%,14% 29%,12% 25%,11% 18%); }
.product-hero-photo .catalog-thumbs { justify-content: center; margin-top: 10px; }
.product-hero-photo .catalog-thumb { width: 47px; }
.product-hero-copy { max-width: 650px; padding-right: clamp(24px, 9vw, 130px); }
.product-hero-copy h1 { margin: 0 0 8px; color: var(--olive); font: 700 clamp(34px, 4.1vw, 62px)/1.06 Georgia,serif; letter-spacing: -.035em; }
.product-hero-subtitle { margin: 0; color: #514f47; font: italic clamp(19px, 2.1vw, 29px)/1.23 Georgia,serif; }
.product-hero-intro { margin: 23px 0 0; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.45; }
.product-hero-intro::before { content: ''; display: block; width: 70px; height: 3px; margin-bottom: 20px; background: var(--olive-light); }
.product-highlights { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 0; margin: 24px 0 0; color: var(--olive); }
.product-highlights li { flex: 1; text-align: center; font-size: clamp(13px, 1.4vw, 18px); line-height: 1.2; font-weight: 700; }
.product-highlights .dashicons { display: block; font-size: 38px; width: 42px; height: 42px; margin: 0 auto 9px; }

.product-quick-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 210px),1fr)); gap: 18px; margin: 18px 0 30px; }
.product-quick-facts > div { min-height: 82px; display: flex; align-items: center; gap: clamp(12px, 2vw, 23px); padding: 14px clamp(14px, 2vw, 25px); background: var(--stone); border-radius: 12px; }
.product-quick-facts .dashicons { color: var(--olive); flex: 0 0 38px; width: 38px; height: 38px; font-size: 38px; }
.product-quick-facts dt, .product-specs dt { font-weight: 700; }
.product-quick-facts dd, .product-specs dd { margin: 2px 0 0; line-height: 1.35; }
.product-editorial .product-tab-set { margin-top: 26px; }
.product-tab-set .catalog-tab-buttons { display: flex; background: transparent; border-bottom: 1px solid #bbb9ac; flex-wrap: wrap; }
.product-tab-set .catalog-tab-button { flex: 0 1 auto; min-height: 53px; padding: 12px clamp(12px, 2.8vw, 35px); font: 400 clamp(15px, 1.5vw, 20px)/1.2 Georgia,serif; text-transform: none; color: #272922; background: none; border: 0; border-radius: 0 7px 0 0; letter-spacing: 0; }
.product-tab-set .catalog-tab-button.active { background: var(--olive-light); color: #fff; font-weight: 700; }
.product-tab-set .catalog-tab-button .dashicons { margin-right: 5px; vertical-align: middle; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); align-items: start; gap: clamp(22px, 3.3vw, 48px); margin: 26px 0 0; }
.product-detail-layout:not(:has(.product-data-card)) { grid-template-columns: minmax(0,1fr); }
.product-detail-content { min-width: 0; }
.product-tab-set .catalog-tab-panel { padding: 24px 0 0; background: transparent; overflow-wrap: anywhere; }
.product-tab-set .catalog-tab-panel[hidden] { display: none; }
.product-tab-set .catalog-tab-panel h2, .product-data-card h2 { color: var(--olive); font: 700 clamp(25px, 2.7vw, 37px)/1.15 Georgia,serif; letter-spacing: -.025em; margin: 0 0 15px; }
.product-tab-set .catalog-full-description { max-width: none; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; }
.product-tab-set .catalog-full-description p[align="justify"] { text-align: start; }
.product-plaster-detail { min-height: 178px; aspect-ratio: 2.55; margin-top: 26px; background: #e8decd url('../images/product-plaster.webp') left 22% / 245% auto no-repeat; border-radius: 12px; }
.product-bullet-group { margin: 24px 0; }
.product-bullet-group h3 { margin-bottom: 8px; color: var(--olive); }
.product-data-card { min-width: 0; border-radius: 14px; background: var(--stone); padding: clamp(18px, 2.6vw, 32px); }
.product-data-card h2 { display: flex; align-items: center; gap: 16px; font-size: clamp(24px, 2.45vw, 34px); }
.product-data-card h2 .dashicons { width: 32px; height: 32px; font-size: 32px; }
.product-data-card dl, .product-data-card dd { margin: 0; }
.product-data-row { display: grid; grid-template-columns: minmax(102px,.78fr) minmax(0,1.68fr); align-items: start; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.product-data-row dt { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.product-data-row dt .dashicons { flex-shrink: 0; color: var(--olive); }
.product-data-row dd { display: flex; flex-wrap: wrap; gap: 6px; }
.product-data-row dd span { border-radius: 8px; padding: 4px 10px; font-size: 13px; line-height: 1.35; background: #ebe3d4; overflow-wrap: anywhere; }
.product-editorial .product-data-pdf { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 25px; padding: 12px; border-radius: 8px; color: #fff; background: var(--olive); font-weight: 700; text-transform: uppercase; text-align: center; }
.product-editorial .product-data-pdf:hover, .product-editorial .product-data-pdf:focus-visible { background: var(--olive-light); color: #fff; }
.product-specs { margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fit,minmax(128px,1fr)); gap: 8px; }
.product-specs > div { background: var(--stone); padding: 12px; border-radius: 8px; }

@media (min-width: 951px) {
    .product-masthead .menu-toggle { display: none; }
    .product-masthead .main-nav { display: block; position: static; padding: 0; background: none; box-shadow: none; overflow: visible; max-height: none; }
    .product-masthead .nav-list { display: flex; }
    .product-masthead .nav-list > li { border: 0; padding: 0; }
    .product-masthead .nav-list .sub-menu { display: none; position: absolute; background: #fcfaf8; box-shadow: 0 8px 20px #24211d22; }
    .product-masthead .nav-list li:hover > .sub-menu, .product-masthead .nav-list li:focus-within > .sub-menu { display: block; }
}
@media (max-width: 950px) {
    .product-masthead-inner { position: static; min-height: 72px; }
    .product-hero-copy { padding-right: 0; }
    .product-quick-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .product-hero { background-image: linear-gradient(180deg, transparent 5%, #fcfaf9 70%), url('../images/product-plaster.webp'); }
    .product-hero-inner, .product-detail-layout { grid-template-columns: minmax(0,1fr); }
    .product-hero-inner { gap: 16px; }
    .product-hero-photo > img { height: 225px; }
    .product-hero-photo > img[src*="bianco-calce-bio" i] { max-height: 225px; }
    .product-quick-facts { gap: 9px; }
    .product-quick-facts > div { padding: 10px; gap: 9px; font-size: 13px; }
    .product-quick-facts .dashicons { width: 25px; height: 25px; font-size: 25px; flex-basis: 25px; }
    .product-plaster-detail { background-size: cover; }
}
.product-quick-facts > div { display: block; position: relative; padding-left: clamp(54px, 7vw, 88px); }
.product-quick-facts .dashicons { position: absolute; top: 50%; left: clamp(12px, 2.4vw, 30px); transform: translateY(-50%); }
.product-tab-set .catalog-tab-panel h2 { text-transform: none; }
.product-data-contact { display: block; margin-top: 14px; color: var(--olive); text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.product-hero-photo:empty { display: none; }
.product-hero-inner:not(:has(.product-hero-photo img)) { grid-template-columns: minmax(0,1fr); }
@media (max-width: 700px) { .product-quick-facts > div { padding-left: 43px; } }
