.hm-product-detail { max-width: 1240px; margin: 30px auto 65px; color: #333; }
.hm-product-detail__breadcrumb { margin-bottom: 28px; font-size: 13px; line-height: 1.6; color: #666; }
.hm-product-detail__breadcrumb a { color: #008741; }
.hm-product-detail__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: start; }
.hm-product-detail__image { border: 1px solid #e5e5e5; padding: 28px; background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.hm-product-detail__image img { width: 100%; height: 100%; object-fit: contain; max-height: 530px; }
.hm-product-detail__brand { color: #008741; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin: 0 0 12px; }
.hm-product-detail .hm-product-detail__info h1 { font-size: 30px; line-height: 1.3; font-weight: 400; margin: 0 0 14px; color: #333; overflow-wrap: anywhere; }
.hm-product-detail__sku { font-size: 13px; color: #666; margin-bottom: 24px; }
.hm-product-detail__price { font-size: 30px; line-height: 1.3; color: #008741; margin: 0 0 6px; font-weight: 700; }
.hm-product-detail__price small { font-size: 13px; color: #666; font-weight: 400; white-space: nowrap; }
.hm-product-detail__unit { font-size: 13px; color: #666; margin: 0 0 18px; }
.hm-product-detail__stock { color: #008741; font-size: 14px; font-weight: 700; margin: 18px 0; }
.hm-product-detail__description { font-size: 16px; line-height: 1.65; margin: 20px 0 26px; }
.hm-product-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hm-product-detail .hm-product-detail__button { display: inline-flex; justify-content: center; align-items: center; padding: 13px 20px; min-height: 45px; border: 1px solid #008741; border-radius: 0; color: #008741; background: #fff; font-size: 14px; line-height: 17px; font-weight: 400; text-align: center; text-transform: uppercase; text-decoration: none; transition: color .18s,background-color .18s; }
.hm-product-detail .hm-product-detail__button:not(.hm-product-detail__button--order) { color: #fff; background: #008741; }
.hm-product-detail .hm-product-detail__button--order { color: #008741; background: #fff; }
.hm-product-detail .hm-product-detail__button:is(:hover,:focus-visible,:active) { color: #fff; background: #006d35; border-color: #006d35; font-size: 14px; line-height: 17px; }
.hm-product-detail .hm-product-detail__button:focus-visible { outline: 2px solid #fbbd1a; outline-offset: 3px; }
.hm-product-detail__help { color: #666; font-size: 13px; line-height: 1.65; margin: 12px 0; }
.hm-product-detail__facts { margin: 44px 0 30px; border-top: 1px solid #ddd; padding-top: 25px; }
.hm-product-detail .hm-product-detail__facts h2 { color: #008741; font-size: 24px; font-weight: 400; margin: 0 0 20px; }
.hm-product-detail__facts dl { margin: 0; }
.hm-product-detail__facts dl > div { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 20px; border-bottom: 1px solid #eee; padding: 12px 0; }
.hm-product-detail__facts dt { font-weight: 700; }.hm-product-detail__facts dd { margin: 0; overflow-wrap: anywhere; }
.hm-product-detail__back { color: #008741; text-decoration: underline; }
.hm-product-offer .makeanoffer-product-name-text { color: #008741; font-size: 20px; line-height: 1.4; margin: 15px 0 8px; }
@media(max-width: 767px) {
 .hm-product-detail { margin-top: 20px; }
 .hm-product-detail__grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .hm-product-detail__image { padding: 18px; aspect-ratio: 4/3; }
 .hm-product-detail .hm-product-detail__info h1 { font-size: 24px; }
 .hm-product-detail__actions { flex-direction: column; }
 .hm-product-detail__facts dl > div { grid-template-columns: minmax(0,1fr); gap: 5px; }
}
/* Expanded product details; catalogue design stays unchanged. */
.hm-product-detail { margin-top: 12px; }
.hm-product-detail__grid { gap: 50px; }
.hm-product-gallery { min-width: 0; }
.hm-product-detail .hm-product-detail__image { position: relative; aspect-ratio: 1 / 1; padding: 26px; text-decoration: none; }
.hm-product-gallery__zoom { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; background: #fff; border: 1px solid #ddd; color: #008741; display: grid; place-items: center; font-size: 22px; line-height: 1; }
.hm-product-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hm-product-detail .hm-product-gallery__thumb { width: 76px; height: 76px; border: 1px solid #ddd; border-radius: 0; padding: 5px; background: #fff; cursor: pointer; }
.hm-product-detail .hm-product-gallery__thumb[aria-pressed="true"] { border: 2px solid #008741; padding: 4px; }
.hm-product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.hm-product-detail .hm-product-gallery__thumb:is(:hover,:focus-visible) { border-color: #008741; }
.hm-product-gallery__caption { font-size: 12px; line-height: 1.6; color: #777; margin: 12px 0; }
.hm-product-detail .hm-product-detail__info h1 { font-size: 28px !important; line-height: 1.35 !important; margin-top: 0; }
.hm-product-detail__sku { margin-bottom: 20px; }
.hm-product-detail__pricing { border-top: 1px solid #e5e5e5; padding-top: 20px; }
.hm-product-detail__price { font-size: 32px; letter-spacing: -.02em; margin-bottom: 2px; }
.hm-product-detail__tax { margin: 0 0 14px; font-size: 12px; color: #777; }
.hm-product-detail__pack { padding: 12px 14px; background: #f5f6f5; border-left: 3px solid #fbbd1a; font-size: 14px; line-height: 1.6; }
.hm-product-detail__pack strong { color: #333; }
.hm-product-detail__pack span { color: #777; white-space: nowrap; font-size: 12px; }
.hm-product-detail__stock { margin: 18px 0; }
.hm-product-detail__stock span { font-size: 10px; margin-right: 5px; }
.hm-product-detail__actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.hm-product-detail .hm-product-detail__button { padding: 13px 12px; }
.hm-product-detail__highlights { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e5e5e5; }
.hm-product-detail .hm-product-detail__highlights h2 { color: #333; font-size: 17px; line-height: 1.4; margin: 0 0 12px; font-weight: 700; }
.hm-product-detail__highlights ul, .hm-product-detail__features { padding-left: 19px; margin: 0 0 14px; line-height: 1.75; }
.hm-product-detail__highlights li::marker, .hm-product-detail__features li::marker { color: #008741; }
.hm-product-detail__highlights a { color: #008741; font-size: 13px; text-decoration: underline; }
.hm-product-detail__sections { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 50px; margin: 45px 0 30px; border-top: 1px solid #ddd; padding-top: 30px; scroll-margin-top: 110px; }
.hm-product-detail__sections .hm-product-detail__facts { border: 0; padding: 0; margin: 0; min-width: 0; }
.hm-product-detail__section-label { text-transform: uppercase; font-size: 11px; line-height: 1.5; letter-spacing: .08em; color: #777; margin: 0 0 8px; }
.hm-product-detail .hm-product-detail__sections h2 { font-size: 24px; line-height: 1.3; font-weight: 400; color: #008741; margin: 0 0 20px; }
.hm-product-detail__facts dl > div { grid-template-columns: minmax(140px,.85fr) minmax(0,1.15fr); gap: 20px; padding: 12px 0; font-size: 14px; line-height: 1.55; }
.hm-product-gallery__dialog { border: 0; padding: 45px 20px 20px; max-width: min(1000px,94vw); max-height: 90vh; background: #fff; }
.hm-product-gallery__dialog::backdrop { background: rgba(0,0,0,.75); }
.hm-product-gallery__dialog img { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; margin: auto; }
.hm-product-detail .hm-product-gallery__dialog button { position: absolute; top: 5px; right: 8px; border: 0; border-radius: 0; background: #fff; color: #333; width: 36px; height: 36px; font-size: 28px; line-height: 30px; cursor: pointer; }
@media(max-width: 767px) {
 .hm-product-detail { margin-top: 0; }
 .hm-product-detail__grid, .hm-product-detail__sections { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .hm-product-detail .hm-product-detail__image { aspect-ratio: 4 / 3; padding: 18px; }
 .hm-product-detail .hm-product-detail__info h1 { font-size: 23px !important; line-height: 1.35 !important; }
 .hm-product-detail__actions { grid-template-columns: minmax(0,1fr); }
 .hm-product-detail__facts dl > div { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; font-size: 13px; }
 .hm-product-detail__sections { margin-top: 32px; }
 .hm-product-detail .hm-product-detail__sections h2 { font-size: 22px; }
}

/* Compact spacing below the site header on product detail pages. */
body.hm-product-detail-page #main { padding-top: 28px !important; }
body.hm-product-detail-page .hm-product-detail { margin-top: 0; }
@media(max-width:767px) { body.hm-product-detail-page #main { padding-top: 22px !important; } }

.hm-product-detail .hm-product-detail__whatsapp { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin: 0 0 18px; padding: 13px 20px; border: 1px solid #008741; border-radius: 0; background: #fff; color: #008741; font-size: 14px; line-height: 17px; font-weight: 400; text-transform: uppercase; cursor: pointer; transition: background-color .18s, color .18s; }
.hm-product-detail .hm-product-detail__whatsapp:is(:hover,:focus-visible,:active) { background: #008741; color: #fff; font-size: 14px; line-height: 17px; }
.hm-product-detail .hm-product-detail__whatsapp:focus-visible { outline: 2px solid #fbbd1a; outline-offset: 3px; }

/* Related stock products, ranked within the exact product category. */
.hm-related-products { margin: 42px 0 32px; padding-top: 30px; border-top: 1px solid #ddd; }
.hm-product-detail .hm-related-products h2 { color: #008741; font-size: 24px; line-height: 1.35; font-weight: 400; margin: 0 0 24px; }
.hm-related-products__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.hm-product-detail .hm-related-products__card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e1e5e1; background: #fff; color: #333; text-decoration: none; transition: border-color .18s; }
.hm-related-products__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 18px; border-bottom: 1px solid #eee; }
.hm-related-products__image img { width: 100%; height: 100%; object-fit: contain; }
.hm-related-products__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.hm-related-products__brand { font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .05em; color: #777; margin-bottom: 7px; }
.hm-related-products__name { font-size: 15px; line-height: 1.5; font-weight: 500; color: #333; margin-bottom: 14px; overflow-wrap: anywhere; }
.hm-related-products__stock { margin-top: auto; font-size: 12px; line-height: 1.5; color: #008741; margin-bottom: 10px; }
.hm-related-products__price { font-size: 20px; line-height: 1.4; color: #008741; font-weight: 700; }
.hm-related-products__tax { font-size: 11px; line-height: 1.5; color: #777; margin: 2px 0 15px; }
.hm-related-products__button { display: block; border: 1px solid #008741; border-radius: 0; background: #fff; color: #008741; padding: 12px 14px; text-align: center; text-transform: uppercase; font-size: 14px; line-height: 17px; transition: background-color .18s,color .18s; }
.hm-product-detail .hm-related-products__card:is(:hover,:focus-visible,:active) { border-color: #008741; color: #333; }
.hm-related-products__card:is(:hover,:focus-visible,:active) .hm-related-products__button { background: #008741; color: #fff; font-size: 14px; line-height: 17px; }
.hm-related-products__card:focus-visible { outline: 2px solid #fbbd1a; outline-offset: 3px; }
@media(max-width:1024px) { .hm-related-products__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:580px) { .hm-related-products__grid { grid-template-columns: minmax(0,1fr); gap: 16px; } .hm-related-products__image { aspect-ratio: 3 / 2; } }

.hm-related-products__image { position: relative; display: block; flex: 0 0 auto; width: 100%; padding: 0; overflow: hidden; }
.hm-related-products__image img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }

/* Variant selection uses the exact shared HolzLand product identifier. */
.hm-product-variants { margin: 0 0 24px; padding: 18px 0; border-top: 1px solid #e5e5e5; }
.hm-product-variants label { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 0 10px; color: #333; font-size: 15px; font-weight: 700; }
.hm-product-variants label span { font-size: 12px; color: #777; font-weight: 400; }
.hm-product-variants__controls { display: flex; flex-direction: column; gap: 10px; }
.hm-product-detail .hm-product-variants select { width: 100%; max-width: 100%; height: auto; min-height: 48px; border: 1px solid #008741; border-radius: 0; background-color: #fff; color: #333; font-size: 16px; line-height: 1.5; padding: 12px 32px 12px 12px; text-overflow: ellipsis; }
.hm-product-detail .hm-product-variants button { align-self: flex-start; padding: 10px 14px; border: 1px solid #008741; border-radius: 0; background: #fff; color: #008741; text-transform: uppercase; font-size: 12px; line-height: 17px; cursor: pointer; }
.hm-product-detail .hm-product-variants button:is(:hover,:focus-visible,:active) { background: #008741; color: #fff; font-size: 12px; line-height: 17px; }
.hm-product-variants p { font-size: 12px; line-height: 1.6; color: #777; margin: 10px 0 0; }
.hm-product-variants select:focus-visible { outline: 2px solid #fbbd1a; outline-offset: 2px; }

/* Refined native variant selector; keeps keyboard and mobile picker support. */
.hm-product-variants { padding: 20px 0; margin-bottom: 8px; }
.hm-product-variants label { margin-bottom: 10px; font-size: 14px; line-height: 20px; font-weight: 600; }
.hm-product-variants label span { color: #777; font-size: 12px; line-height: 20px; }
.hm-product-variants__controls { position: relative; }
.hm-product-detail .hm-product-variants select {
    appearance: none; -webkit-appearance: none;
    display: block; width: 100%; min-height: 54px; padding: 15px 48px 15px 16px;
    border: 1px solid #d4dcd6; border-radius: 0; box-shadow: none;
    background-color: #fff; color: #333; font-family: inherit; font-size: 15px; line-height: 22px; font-weight: 400;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23008741' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 17px center; background-size: 16px;
    cursor: pointer; transition: border-color .18s, background-color .18s;
}
.hm-product-detail .hm-product-variants select:is(:hover,:focus,:active) { border-color: #008741; font-size: 15px; line-height: 22px; }
.hm-product-detail .hm-product-variants select:focus-visible { outline: 2px solid #fbbd1a; outline-offset: 3px; }
.hm-product-variants.is-enhanced button[type="submit"] { display: none; }
.hm-product-variants p { margin: 9px 0 0; font-size: 12px; line-height: 1.6; color: #777; }
@media(max-width:767px) {
    .hm-product-detail .hm-product-variants select,
    .hm-product-detail .hm-product-variants select:is(:hover,:focus,:active) { font-size: 16px; line-height: 22px; padding-left: 13px; }
}

.hm-product-variants__links { margin-top: 10px; font-size: 13px; line-height: 1.6; }
.hm-product-variants__links summary { color: #008741; cursor: pointer; text-decoration: underline; }
.hm-product-variants__links ul { margin: 12px 0 0; padding: 0 0 0 18px; }
.hm-product-variants__links li { margin: 6px 0; }
.hm-product-variants__links a { color: #008741; text-decoration: underline; }
.hm-product-variants__links a[aria-current="page"] { color: #333; font-weight: 700; text-decoration: none; }

.hm-product-detail .hm-product-detail__stock { margin-bottom: 8px; }
.hm-product-detail__pickup { margin: 0 0 22px; padding-left: 15px; font-size: 13px; line-height: 1.65; color: #666; }
.hm-product-detail__pickup-label { display: block; font-weight: 600; color: #333; }
.hm-product-detail__pickup address { margin: 2px 0 4px; font-style: normal; font-size: 13px; line-height: 1.65; }
.hm-product-detail__pickup a { color: #008741; text-decoration: underline; font-size: 13px; line-height: 1.65; }
.hm-product-detail__pickup a:is(:hover,:focus,:active) { color: #006d35; font-size: 13px; line-height: 1.65; }
