/* Holz Adrian 2027 – Artikelseite (wie artikel.css im Entwurf): dunkel oben mit Galerie und Kaufbox als Papierkarte,
   hell darunter mit Beschreibung, Produktinformationen, Dokumenten und Ansprechpartner, dunkel zum Schluss mit Zubehör.
   Alles unter .ha27-pdp (die Seite trägt zusätzlich .ha27-kat, damit Brotkrumen, Karten und Zollstock aus kategorie.css gelten).
   In .pdp__kasse stehen Preis, Menge und Warenkorb aus den Vorlagen des Eltern-Themes; hier werden nur ihre Abstände, Breiten und Farben angepasst. */

.ha27-pdp { padding-bottom: 0; }
.ha27-pdp h1, .ha27-pdp h2 { margin: 0; }

/* ---------- Oben: Galerie + Kaufbox ---------- */
.ha27-pdp .pdp-oben { padding-block: 1.2rem clamp(2.5rem, 5vw, 4.5rem); }
.ha27-pdp .pdp__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2.6vw, 2.5rem); align-items: start; }
.ha27-pdp .pdp__media { position: sticky; top: calc(var(--ha27-ab) + var(--ha27-stick) + 16px); }
.ha27-pdp .pdp__stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--sawdust); box-shadow: 0 24px 40px -28px rgba(0,0,0,.7); }
/* Der Link zum Vergrößern füllt die Bühne fest aus: als Gitter-Element mit height: 100% wuchs er mit dem Bild mit
   (Höhe zirkulär), das Foto wurde auf volle Breite gezogen und oben angeschnitten (0.23.4) */
.ha27-pdp .pdp__zoom { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.ha27-pdp .pdp__stage img { display: block; width: 100%; height: 100%; max-width: none; padding: 3%; object-fit: contain; }
.ha27-pdp .pdp__stage.is-empty { background-color: var(--sawdust-2); background-image: repeating-radial-gradient(circle at 72% 40%, transparent 0 15px, rgba(122, 84, 50, .1) 15px 17px); }
.ha27-pdp .pdp__zoom[hidden] { display: none; }
/* Großansicht (assets/js/artikel.js grossansicht()) – liegt direkt im body, deshalb ohne .ha27-pdp */
.pdp-lupe { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(6, 22, 15, .92); cursor: zoom-out; }
.pdp-lupe img { max-width: 100%; max-height: 92vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #f1ebdf; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.pdp-lupe__zu { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #f1ebdf; color: #0a2319; font: 700 20px/1 sans-serif; cursor: pointer; }
.pdp-lupe__zu:focus-visible { outline: 3px solid #49ae53; outline-offset: 2px; }
html.pdp-lupe-offen { overflow: hidden; }
.ha27-pdp .pdp__note { position: absolute; z-index: 2; left: 1rem; bottom: .8rem; margin: 0; font: 13px var(--mono); color: rgba(10,35,25,.62); }
.ha27-pdp .pdp__note:empty { display: none; }
.ha27-pdp .pdp__stage.is-empty .pdp__note { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%) rotate(-6deg); padding: .35em .7em; border: 2px solid rgba(74, 52, 35, .75); border-radius: 3px; background: rgba(241, 235, 223, .6); color: rgba(74, 52, 35, .85); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
/* Maßzeichnung (Ansicht „Maße“): Zeichenbrett mit Raster wie im Entwurf */
.ha27-pdp .pdp__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ha27-pdp .pdp__svg[hidden] { display: none; }
.ha27-pdp .pdp__stage.is-drawing { background-color: var(--forest); background-image: linear-gradient(rgba(241,235,223,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(241,235,223,.055) 1px, transparent 1px); background-size: 24px 24px; box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -28px rgba(0,0,0,.7); }
.ha27-pdp .pdp__stage.is-drawing .pdp__stamp { background: transparent; color: var(--pine); }
.ha27-pdp .pdp__stage.is-drawing .pdp__note { color: rgba(241,235,223,.7); }
.ha27-pdp .pdp__thumbs .pdp__thumb-m { display: grid; place-content: center; justify-items: center; gap: .2rem; background: var(--forest-2); color: var(--rule); font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ha27-pdp .pdp__thumb-m svg { width: 24px; height: 24px; }
/* Bausteine der Werkstattzeichnung (zeichnung.js), wie zuschnitt.css im Entwurf */
.ha27-pdp .zd-shadow { fill: rgba(0,0,0,.55); }
.ha27-pdp .zd-fibre { fill: none; stroke: rgba(110,70,35,.35); stroke-width: .8; }
.ha27-pdp .zd-ring { fill: none; stroke: rgba(110,70,35,.55); stroke-width: .9; }
.ha27-pdp .zd-glue { fill: none; stroke: rgba(74,52,35,.7); stroke-width: 1.2; }
.ha27-pdp .zd-outline { fill: none; stroke: rgba(10,35,25,.55); stroke-width: 1.2; stroke-linejoin: round; }
.ha27-pdp .zd-dim path { fill: none; stroke: var(--rule); stroke-width: 1.4; }
.ha27-pdp .zd-dim text { fill: var(--rule); font: 700 14px var(--mono); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--forest); stroke-width: 9px; stroke-linejoin: round; }
.ha27-pdp .zd-tick { fill: none; stroke: var(--rule); stroke-width: 1.2; opacity: .75; }
.ha27-pdp .zd-note { fill: rgba(241,235,223,.72); font: 13px var(--mono); }
.ha27-pdp .zd-arrow { fill: none; stroke: rgba(241,235,223,.72); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ha27-pdp .zd-tex { fill: none; stroke: rgba(80,50,20,.28); stroke-width: .9; }
.ha27-pdp .zd-groove { fill: none; stroke: rgba(10,35,25,.42); stroke-width: 2.4; stroke-linecap: round; }
.ha27-pdp .zd-groove-hi { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.2; stroke-linecap: round; }
.ha27-pdp .zd-strip { fill: rgba(90,55,25,.13); }
.ha27-pdp .zd-strand { fill: rgba(120,80,35,.5); }
.ha27-pdp .zd-layer { fill: none; stroke: rgba(74,52,35,.55); stroke-width: .9; }
.ha27-pdp .zd-plateline { fill: none; stroke: rgba(0,0,0,.25); stroke-width: 1; }
.ha27-pdp .zd-e, .ha27-pdp .zd-hit { pointer-events: none; }
.ha27-pdp .zd-edge, .ha27-pdp .zd-hit { fill: none; stroke: transparent; }
.ha27-pdp .zd-elabel { display: none; }
.ha27-pdp .pdp__stamp { position: absolute; z-index: 2; left: 1rem; top: 1rem; --rot: -3deg; padding: .3em .6em; background: rgba(241,235,223,.92); color: var(--forest); font-size: 13px; }
.ha27-pdp .pdp__stamp--sale { color: var(--spray-dark); }
.ha27-pdp .pdp__thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.ha27-pdp .pdp__thumbs button { position: relative; width: 92px; height: 68px; padding: 0; overflow: hidden; border: 2px solid var(--line); border-radius: 6px; background: var(--sawdust); cursor: pointer; transition: border-color .2s; }
.ha27-pdp .pdp__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.ha27-pdp .pdp__thumbs button:hover { border-color: var(--sawdust); }
.ha27-pdp .pdp__thumbs button[aria-pressed="true"] { border-color: var(--spray); }

.ha27-pdp .pdp__buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: clamp(1.25rem, 2.4vw, 2rem); border-radius: 8px; background: var(--card); color: var(--ink); box-shadow: 0 24px 40px -24px rgba(0,0,0,.6); }
.ha27-pdp .pdp__artline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; font-size: 13px; }
.ha27-pdp .pdp__artline .mono { opacity: .7; overflow-wrap: anywhere; }
.ha27-pdp .pdp__chip { padding: .3em .7em; border: 1.5px solid var(--line-d); border-radius: 999px; font: 700 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ha27-pdp .pdp__title { font-weight: 900; font-stretch: 80%; font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.1rem); line-height: 1.08; overflow-wrap: anywhere; hyphens: auto; }
.ha27-pdp .pdp__title--long { font-size: clamp(1.15rem, .95rem + .8vw, 1.5rem); line-height: 1.22; }
/* Merk-Herz in der Artikelzeile, Hersteller und Zertifizierung, „Fläche je Platte“ */
.ha27-pdp .pdp__wish { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px -6px auto; border-radius: 50%; border: 1.5px solid var(--line-d); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.ha27-pdp .pdp__wish svg { width: 18px; height: 18px; fill: none; }
.ha27-pdp .pdp__wish:hover { border-color: var(--ink); transform: scale(1.08); }
.ha27-pdp .pdp__wish.is-an, .ha27-pdp .pdp__wish[aria-pressed="true"] { background: var(--spray); border-color: var(--spray); color: var(--forest); }
.ha27-pdp .pdp__wish.is-an svg, .ha27-pdp .pdp__wish[aria-pressed="true"] svg { fill: currentColor; }
.ha27-pdp .pdp__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: -.3rem; }
.ha27-pdp .pdp__chip--cert { border-color: var(--green); background: rgba(0, 96, 70, .08); color: var(--green); }
.ha27-pdp .pdp__area { margin: -.4rem 0 0; font: 13px var(--mono); }
.ha27-pdp .pdp__area b { font-weight: 800; white-space: nowrap; }
/* Ausführungen gleichen Namens (Stärke, Format) */
.ha27-pdp .zs-label { display: block; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .66; }
.ha27-pdp .zs-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.ha27-pdp .pdp__sizes { display: grid; gap: .45rem; }
.ha27-pdp .pdp__sizes--2 .zs-chips + .zs-label { margin-top: .45rem; }
.ha27-pdp .pdp__size { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .75rem; border: 1.5px solid var(--line-d); border-radius: 4px; color: var(--ink); font: 13px var(--mono); text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.ha27-pdp .pdp__size:hover { border-color: var(--ink); }
.ha27-pdp .pdp__size[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--sawdust); }
.ha27-pdp .pdp__more summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; padding: .6rem .8rem; border: 1.5px solid var(--line-d); border-radius: 4px; font: 13px var(--mono); list-style: none; cursor: pointer; transition: border-color .2s; }
.ha27-pdp .pdp__more summary::-webkit-details-marker { display: none; }
.ha27-pdp .pdp__more summary:hover { border-color: var(--ink); }
.ha27-pdp .pdp__more summary b { text-decoration: underline; text-underline-offset: 3px; }
.ha27-pdp .pdp__more .on-open, .ha27-pdp .pdp__more[open] .on-closed { display: none; }
.ha27-pdp .pdp__more[open] .on-open { display: inline; }
.ha27-pdp .pdp__more[open] summary { margin-bottom: .6rem; }
.ha27-pdp .pdp__more .zs-chips { max-height: 15rem; overflow-y: auto; padding: 2px; overscroll-behavior: contain; }
/* „Auf Maß zuschneiden“, „Zubehör ansehen“ */
.ha27-pdp .pdp__cta { display: flex; flex-wrap: wrap; gap: .6rem .8rem; }
.ha27-pdp .pdp__cta .btn { max-width: 100%; height: auto; min-height: 52px; padding-block: .5rem; white-space: normal; line-height: 1.2; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-d); background: transparent; }
.ha27-pdp .pdp__cta .btn:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.ha27-pdp .linkbtn { justify-self: start; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; font: 700 13px var(--mono); text-decoration: underline; text-underline-offset: 4px; }
.ha27-pdp .linkbtn:hover { color: var(--spray-dark); }

.ha27-pdp .pdp__lock { display: grid; gap: .6rem; padding: 1rem 1.1rem; border: 2px dashed var(--line-d); border-radius: 6px; }
.ha27-pdp .pdp__lock-t { font: 700 15px var(--mono); color: var(--spray-dark); }
.ha27-pdp .pdp__lock-s { font-size: 15px; line-height: 1.45; }
.ha27-pdp .pdp__lock-k { display: flex; flex-wrap: wrap; gap: .6rem .8rem; }
.ha27-pdp .pdp__lock-k .btn { height: 52px; font-size: 15px; }
.ha27-pdp .pdp__lock-k .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-d); }
.ha27-pdp .pdp__lock-k .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.ha27-pdp .pdp__lock-a { font-size: 15px; line-height: 1.45; padding-top: .6rem; border-top: 1px solid var(--line-d); }
.ha27-pdp .pdp__lock-a a { color: var(--spray-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ha27-pdp .pdp__service { display: grid; gap: .3rem; margin: 0; padding: .9rem 0 0; border-top: 2px dashed var(--line-d); list-style: none; font: 13px/1.55 var(--mono); }
.ha27-pdp .pdp__service li::before { content: "✶  "; color: var(--spray-dark); white-space: pre; }
.ha27-pdp .pdp__service a { text-decoration: underline; text-underline-offset: 3px; }
.ha27-pdp .pdp__buy :focus-visible { outline-color: var(--spray-dark); }

/* ---------- Kaufbox: Preis, Menge, Warenkorb aus dem Eltern-Theme ---------- */
.ha27-pdp .pdp__kasse { display: flex; flex-direction: column; gap: .75rem; min-width: 0; font-size: 15px; }
.ha27-pdp .pdp__kasse:empty { display: none; }
.ha27-pdp .pdp__kasse .c-stock-box,
.ha27-pdp .pdp__kasse .c-price-box-wrapper,
.ha27-pdp .pdp__kasse .variations_form > div,
.ha27-pdp .pdp__kasse .single_variation_wrap { width: 100% !important; max-width: 100%; padding: 0 !important; order: 0 !important; }
.ha27-pdp .pdp__kasse .c-simple_attribute_line,
.ha27-pdp .pdp__kasse .c-stock-box > div:first-child > div:first-child { display: none; }   /* Maße stehen schon auf dem Zollstock */
.ha27-pdp .pdp__kasse .c-stock-box > div:first-child { padding: 0; }
.ha27-pdp .pdp__kasse .stock:empty { display: none; }
.ha27-pdp .pdp__kasse .stock { margin: 0; font: 13px var(--mono); }
.ha27-pdp .pdp__kasse .b2b-bulk-discount:empty { display: none; }
.ha27-pdp .pdp__kasse .c-price-box-wrapper, .ha27-pdp .pdp__kasse .single_variation_wrap { background: transparent; border-radius: 0; }
.ha27-pdp .pdp__kasse .c-price_table_price_info > div:first-child p { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ha27-pdp .pdp__kasse .c-price_table_price_info p.pt-5 { font-size: 13.5px; line-height: 1.45; }
.ha27-pdp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ha27-pdp .pdp__kasse #mainPrice { font-weight: 900; font-stretch: 85%; font-size: 28px; }
.ha27-pdp .pdp__kasse #mainPrice del { opacity: .5; font-size: .7em; margin-right: .3rem; }
.ha27-pdp .pdp__kasse #mainPrice .amount, .ha27-pdp .pdp__kasse #mainPrice bdi { color: inherit !important; }   /* Eltern-CSS färbt Preise variabler Artikel oliv */
.ha27-pdp .pdp__kasse .priceSeparator, .ha27-pdp .pdp__kasse .priceUnit { font: 400 13px var(--mono); opacity: .75; }
.ha27-pdp .pdp__kasse .legal-price-info, .ha27-pdp .pdp__kasse .wc-gzd-additional-info { font: 13px/1.5 var(--mono); opacity: .72; margin: 0; }
.ha27-pdp .pdp__kasse .legal-price-info a { text-decoration: underline; }
.ha27-pdp .pdp__kasse form.cart { padding-top: .25rem !important; }
.ha27-pdp .pdp__kasse .quantity { display: inline-flex; align-items: stretch; border: 2px solid var(--line-d); background: #fff; }
.ha27-pdp .pdp__kasse .quantity .c-quantity-button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font: 700 20px var(--mono); cursor: pointer; transition: background .2s; }
.ha27-pdp .pdp__kasse .quantity .c-quantity-button:hover { background: var(--sawdust); }
.ha27-pdp .pdp__kasse .quantity input { width: 72px; height: 44px; margin: 0; border: 0; border-inline: 2px solid var(--line-d); border-radius: 0; background: #fff; color: var(--ink); text-align: center; font: 700 15px var(--mono); -moz-appearance: textfield; }
.ha27-pdp .pdp__kasse .quantity input::-webkit-outer-spin-button, .ha27-pdp .pdp__kasse .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ha27-pdp .pdp__kasse .quantity input:focus { outline: none; background: var(--sawdust); }
/* Preiszeile und Menge wie im Entwurf: kein Hilfesatz, Menge und Gesamtmenge in einer Zeile („1 Stk = 5,796 m²“), Gesamtpreis als Zeile */
.ha27-pdp .pdp__kasse .c-price_table_price_info p.pt-5 { display: none; }
.ha27-pdp .pdp__kasse div:has(> .c-quontity_plus_minus) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem 1.6rem; padding-bottom: .4rem !important; }
.ha27-pdp .pdp__kasse .c-quontity_plus_minus { width: auto !important; }   /* Eltern-CSS gibt beiden volle Breite */
.ha27-pdp .pdp__kasse .c-verpackungsmenge_plus_minus { position: relative; width: auto !important; padding-top: 0 !important; }
.ha27-pdp .pdp__kasse .c-verpackungsmenge_plus_minus::before { content: "="; position: absolute; left: -1.15rem; bottom: 11px; font: 700 15px var(--mono); opacity: .6; }
.ha27-pdp .pdp__kasse .c-quontity_plus_minus > div[style], .ha27-pdp .pdp__kasse .c-verpackungsmenge_plus_minus > div[style] { color: inherit !important; font: 11px var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; opacity: .66; }
.ha27-pdp .pdp__kasse .w-full:has(+ .w-full > #gesamtpreis) { padding-top: .6rem; border-top: 1px solid var(--line-d); }
.ha27-pdp .pdp__kasse .w-full:has(+ .w-full > #gesamtpreis) p { font: 11px var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; opacity: .66; }
.ha27-pdp .pdp__kasse #gesamtpreis { font-weight: 900; font-stretch: 85%; font-size: 26px; color: var(--ink) !important; }
.ha27-pdp .pdp__kasse .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; margin-top: .5rem; padding: .5rem 2.2rem .5rem 1.6rem; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; background: var(--spray) !important; color: var(--forest) !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); transition: background .25s; }
/* !important, weil das Eltern-CSS den Knopf mit !important grün färbt */
.ha27-pdp .pdp__kasse .single_add_to_cart_button:hover { background: var(--spray-2) !important; }
.ha27-pdp .pdp__kasse .single_add_to_cart_button.disabled, .ha27-pdp .pdp__kasse .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }
.ha27-pdp .pdp__kasse .c-variation_dropdowns { padding-top: 0 !important; display: grid; gap: .6rem; }
.ha27-pdp .pdp__kasse .c-variation_dropdowns > p { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ha27-pdp .pdp__kasse .c-single-variation_dropdown_label { font: 13px var(--mono); opacity: .75; }
.ha27-pdp .pdp__kasse .custom-variation-buttons { display: flex; flex-wrap: wrap; gap: .35rem; }
.ha27-pdp .pdp__kasse .custom-variation-buttons button { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .75rem; border: 1.5px solid var(--line-d); border-radius: 4px; background: transparent; color: var(--ink); font: 13px var(--mono); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ha27-pdp .pdp__kasse .custom-variation-buttons button:hover { border-color: var(--ink); }
.ha27-pdp .pdp__kasse .custom-variation-buttons button.active { border-color: var(--ink); background: var(--ink); color: var(--sawdust); }
.ha27-pdp .pdp__kasse .no-options .custom-variation-buttons button { cursor: default; }
.ha27-pdp .pdp__kasse .reset_variations { font: 13px var(--mono); text-decoration: underline; }
.ha27-pdp .pdp__kasse .woocommerce-product-details__short-description { font-size: 15px; line-height: 1.5; }
.ha27-pdp .pdp__kasse .product_meta:empty { display: none; }

/* ---------- Hell: Beschreibung, Produktinformationen, Dokumente, Ansprechpartner ---------- */
.ha27-pdp .pdp-info { background: var(--sawdust); color: var(--ink); padding-block: clamp(2.5rem, 6vw, 5rem); }
.ha27-pdp .pdp__infogrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ha27-pdp .pdp__h { margin-bottom: 1.25rem; font-weight: 900; font-stretch: 75%; font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.ha27-pdp .pdp__h--folge { margin-top: 2.75rem; }
.ha27-pdp .pdp__h--klein { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); }
.ha27-pdp .pdp__desc { overflow-wrap: anywhere; font-size: 16px; }
.ha27-pdp .pdp__desc p { max-width: 42rem; line-height: 1.6; }
.ha27-pdp .pdp__desc p + p { margin-top: .6rem; }
.ha27-pdp .pdp__desc ul { list-style: disc; padding-left: 1.2rem; margin: .6rem 0; }
.ha27-pdp .pdp__desc strong, .ha27-pdp .pdp__desc b { font-weight: 800; }
.ha27-pdp .pdp__spec { overflow-wrap: anywhere; }
.ha27-pdp .pdp__spec table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ha27-pdp .pdp__spec th, .ha27-pdp .pdp__spec td { padding: .6rem .5rem; border-bottom: 1px solid var(--line-d); text-align: left; vertical-align: top; }
.ha27-pdp .pdp__spec th { width: 40%; font: 400 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.ha27-pdp .pdp__spec td { font-weight: 700; }
.ha27-pdp .pdp__spec tr:first-child th, .ha27-pdp .pdp__spec tr:first-child td { border-top: 2px solid var(--ink); }
.ha27-pdp .pdp__seite { display: grid; gap: 2.5rem; }
.ha27-pdp .pdp__dls ul { display: grid; gap: .5rem; }
.ha27-pdp .pdp__dls a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .75rem .9rem; border: 1.5px solid var(--line-d); border-radius: 6px; background: var(--card); transition: border-color .2s, transform .3s var(--ease); }
.ha27-pdp .pdp__dls a:hover { border-color: var(--ink); transform: translateX(4px); }
.ha27-pdp .pdp__dl-ico { display: grid; place-items: center; width: 40px; height: 48px; border-radius: 3px; background: var(--ink); color: var(--sawdust); font: 700 13px var(--mono); letter-spacing: .06em; clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }
.ha27-pdp .pdp__dl-t { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ha27-pdp .pdp__dl-t small { display: block; margin-bottom: .15rem; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .66; }
.ha27-pdp .pdp__dl-m { font: 16px var(--mono); opacity: .7; }
.ha27-pdp .pdp__person-k { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1.5px solid var(--line-d); border-radius: 6px; background: var(--card); }
.ha27-pdp .pdp__person-k img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.ha27-pdp .pdp__person-k > div { display: grid; gap: .15rem; min-width: 0; }
.ha27-pdp .pdp__person-n { font-weight: 800; font-size: 17px; }
.ha27-pdp .pdp__person-p { font-size: 14px; opacity: .75; }
.ha27-pdp .pdp__person-k a { display: inline-flex; align-items: center; min-height: 32px; font: 13px var(--mono); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Dunkel: Zubehör ---------- */
.ha27-pdp .pdp-zub { padding-block: clamp(2.5rem, 6vw, 5rem); }
.ha27-pdp .pdp-nach:empty, .ha27-pdp .pdp-nach:not(:has(*)) { display: none; }
.ha27-pdp .woocommerce-notices-wrapper:empty { display: none; }
/* Abstand als Innenabstand: ein oberer Außenabstand fiele durch <main> hindurch, darüber blitzte der weiße Seitengrund */
.ha27-pdp .woocommerce-notices-wrapper { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gutter) 0; }
.ha27-pdp .woocommerce-message a.button, .ha27-pdp .woocommerce-message .wc-forward { margin-left: .6rem; color: var(--spray); text-decoration: underline; background: none; border: 0; padding: 0; }

/* ---------- Klein ---------- */
@media (max-width: 980px) {
  .ha27-pdp .pdp__top, .ha27-pdp .pdp__infogrid { grid-template-columns: minmax(0, 1fr); }
  .ha27-pdp .pdp__media { position: static; }
}
@media (max-width: 640px) {
  .ha27-pdp .pdp__thumbs button { width: 72px; height: 54px; }
  .ha27-pdp .pdp__spec th { width: 42%; }
  .ha27-pdp .pdp__lock-k .btn { flex: 1 1 100%; justify-content: center; }
}

/* Handy/Touch: Tippziele mindestens 44 px (Durchsicht 24.10.2026) */
@media (max-width: 860px), (pointer: coarse) {
  .ha27-pdp .pdp__service a, .ha27-pdp .pdp__person a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* „Merken“ in der Kaufbox (Merkliste, inc/schnell.php) */
.pdp__merk { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .8rem; padding: .2rem 1rem .2rem .8rem; border: 2px solid var(--line-d); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  font: 700 13px var(--mono); transition: border-color .2s, color .2s; }
.pdp__merk svg { width: 18px; height: 18px; fill: none; }
.pdp__merk:hover { border-color: var(--ink); }
.pdp__merk.is-an { color: var(--spray-dark); border-color: var(--spray-dark); }
.pdp__merk.is-an svg { fill: currentColor; }

/* ---------- Wie im Entwurf: Richtungsgebunden, Gewicht, Kenndaten (artikel.css des Entwurfs) ---------- */
.ha27-pdp .stamp--spray { color: var(--spray-dark); }
.ha27-pdp .pdp__rich { font-size: 13px; padding: .35em .6em; border-width: 2px; }
.ha27-pdp .pdp__sep { opacity: .5; }
.ha27-pdp .pdp__facts { display: grid; margin: 0; border-top: 1px solid var(--line-d); }
.ha27-pdp .pdp__facts div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.ha27-pdp .pdp__facts dt { padding-top: .15rem; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .66; overflow-wrap: anywhere; }
.ha27-pdp .pdp__facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.ha27-pdp .pdp__kd { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.ha27-pdp .pdp__kd summary { display: flex; align-items: center; gap: .6rem; min-height: 44px; list-style: none; cursor: pointer; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ha27-pdp .pdp__kd summary::-webkit-details-marker { display: none; }
.ha27-pdp .pdp__kd summary em { font-style: normal; opacity: .6; }
.ha27-pdp .pdp__kd summary::after { content: "+"; margin-left: auto; font: 700 16px var(--mono); opacity: .6; }
.ha27-pdp .pdp__kd[open] summary::after { content: "–"; }
.ha27-pdp .pdp__kd .pdp__facts { border-top: 0; margin-bottom: .35rem; }
@media (max-width: 640px) { .ha27-pdp .pdp__facts div { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr); } }

/* ---------- Staffelpreis „Ab 1 Palette: nochmal 5 % Rabatt“ ---------- */
/* Farbbehandlung einer Tischplatte: Kacheln mit Ölmuster, Aufpreis darunter (ha27_tisch_oel_box) */
.ha27-pdp .pdp__oel { display: grid; gap: .55rem; margin: .2rem 0 .9rem; }
.ha27-pdp .pdp__oel--im-form { flex: 0 0 100%; width: 100%; max-width: 100%; margin: .9rem 0; }
.ha27-pdp .pdp__oel-gesamt { display: block; margin-top: .15rem; font: 400 13px var(--mono); color: inherit; opacity: .8; }
.ha27-pdp .pdp__oel-h { margin: 0; font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ha27-pdp .pdp__oel-h small { display: block; margin-top: .15rem; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .75; }
.ha27-pdp .pdp__oel-wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .4rem; }
.ha27-pdp .pdp__oel-k { display: grid; gap: .25rem; padding: .3rem; min-height: 44px; border: 1.5px solid var(--line-d); border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; text-align: left; font: 700 13px/1.2 var(--mono); }
.ha27-pdp .pdp__oel-k:hover { border-color: var(--ink); }
.ha27-pdp .pdp__oel-k[aria-checked="true"] { border-color: var(--spray-dark); box-shadow: inset 0 0 0 2px var(--spray-dark); }
.ha27-pdp .pdp__oel-k img, .ha27-pdp .pdp__oel-roh { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 3px; }
.ha27-pdp .pdp__oel-roh { background: linear-gradient(135deg, #e3cfa9, #d2b88e); }
.ha27-pdp .pdp__oel-preis { margin: 0; min-height: 1.4em; font-size: 14px; }
.ha27-pdp .pdp__oel-preis b { color: var(--spray-dark); }
.ha27-pdp .pdp__oel-preis small { opacity: .7; }
.ha27-pdp .pdp__oel-hint { margin: 0; font-size: 13px; line-height: 1.45; opacity: .7; }
/* Bearbeitung von Handläufen und Krümmlingen (ha27_bearbeitung_box, inc/bearbeitung.php) */
.ha27-pdp .pdp__hl { flex: 0 0 100%; width: 100%; max-width: 100%; display: grid; gap: .55rem; margin: .9rem 0; padding: .85rem 1rem .95rem; border: 1.5px solid var(--line-d); border-radius: 6px; }
.ha27-pdp .pdp__hl-h { margin: 0; font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ha27-pdp .pdp__hl-h small { display: block; margin-top: .15rem; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .75; }
.ha27-pdp .pdp__hl-modus { display: grid; gap: .35rem; }
.ha27-pdp .pdp__hl-modus label, .ha27-pdp .pdp__hl-zeile label { display: flex; align-items: flex-start; gap: .5rem; min-height: 44px; padding: .35rem 0; cursor: pointer; font-size: 14px; line-height: 1.35; }
.ha27-pdp .pdp__hl-modus small { display: block; font-size: 13px; opacity: .72; }
.ha27-pdp .pdp__hl input[type="radio"], .ha27-pdp .pdp__hl input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--spray-dark); }
.ha27-pdp .pdp__hl-fix { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0; font-size: 14px; }
.ha27-pdp .pdp__hl-fix[hidden] { display: none; }
.ha27-pdp .pdp__hl-fix label { font-weight: 700; }
.ha27-pdp .pdp__hl-fix small { flex: 1 0 100%; font-size: 13px; opacity: .72; }
.ha27-pdp .pdp__hl input[type="text"], .ha27-pdp .pdp__hl input[type="number"] { width: 5.5rem; min-height: 44px; padding: .3rem .5rem; border: 1.5px solid var(--line-d); border-radius: 4px; background: #fff; color: var(--ink); font: 16px var(--mono); }
.ha27-pdp .pdp__hl-liste { display: grid; gap: .1rem; border-top: 1px solid var(--line-d); padding-top: .35rem; }
.ha27-pdp .pdp__hl-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; margin: 0; font-size: 14px; }
.ha27-pdp .pdp__hl-zeile > label:first-child:not(:has(input)) { min-height: 0; flex: 1 1 11rem; font-weight: 700; }
.ha27-pdp .pdp__hl-zeile > label:has(input) { flex: 1 1 11rem; }
.ha27-pdp .pdp__hl-zeile small { font: 13px var(--mono); opacity: .75; }
.ha27-pdp .pdp__hl-notiz { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin: 0 0 .3rem; font-size: 14px; }
.ha27-pdp .pdp__hl-notiz[hidden] { display: none; }
.ha27-pdp .pdp__hl-notiz label { font-weight: 700; flex: 1 0 100%; }
.ha27-pdp .pdp__hl .pdp__hl-notiz input[type="text"] { width: 100%; max-width: 26rem; font-family: inherit; }
.ha27-pdp .pdp__hl-preis { margin: 0; font-size: 13px; color: var(--warn); }
.ha27-pdp .pdp__hl-preis:empty { display: none; }
.ha27-pdp .pdp__hl-hint { margin: 0; font-size: 13px; line-height: 1.45; opacity: .75; }
.ha27-pdp .pdp__hl-hint a { color: var(--spray-dark); }
.ha27-pdp .pdp__staffel { display: grid; gap: .55rem; padding: .9rem 1rem 1rem; margin: .1rem 0 .2rem; background: var(--sawdust); border-left: 4px solid var(--spray); border-radius: 0 6px 6px 0; }
.ha27-pdp .pdp__staffel[hidden] { display: none; }   /* Artikel mit Auswahl: erst bei gewählter Ausführung */
.ha27-pdp .pdp__staffel-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .8rem; }
.ha27-pdp .pdp__staffel-kopf b { font-weight: 800; font-stretch: 88%; font-size: 1.05rem; line-height: 1.2; }
.ha27-pdp .pdp__staffel .stamp { font-size: 13px; padding: .3em .55em; border-width: 2px; color: var(--spray-dark); --rot: -2deg; }
.ha27-pdp .pdp__staffel-text { margin: 0; font-size: 14px; line-height: 1.45; }
.ha27-pdp .pdp__staffel-text small { display: block; font-family: var(--mono); font-size: 13px; line-height: 1.4; opacity: .66; margin-top: .2rem; }
.ha27-pdp .pdp__pal { height: 8px; border-radius: 4px; background: var(--line-d); overflow: hidden; }
.ha27-pdp .pdp__pal i { display: block; height: 100%; width: 0; background: var(--spray); transition: width .35s var(--ease); }
.ha27-pdp .pdp__staffel.is-aktiv .pdp__pal i { background: var(--green); }
.ha27-pdp .pdp__pal-txt { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.45; min-height: 1.4em; }
.ha27-pdp .pdp__pal-txt:empty { display: none; }
.ha27-pdp .pdp__staffel.is-aktiv .pdp__pal-txt { color: var(--green); font-weight: 700; }
.ha27-pdp .pdp__staffel-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.ha27-pdp .pdp__staffel-row .pdp__staffel-text { flex: 1 1 12rem; }

/* ---------- Im Dekorverbund / Passendes Zubehör: volle Breite unter Foto und Kaufbox (dunkler Grund) ---------- */
.ha27-pdp .pdp__top--zub { padding-bottom: clamp(1rem, 2.6vw, 2.5rem); }
.ha27-pdp .zubmini { padding: .9rem 1rem 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: rgba(241,235,223,.04); color: var(--sawdust); scroll-margin-top: calc(var(--ha27-ab) + var(--ha27-stick) + 16px); }
.ha27-pdp .zubmini__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .7rem; }
.ha27-pdp .zubmini__h { margin: 0; font: inherit; }
.ha27-pdp .zubmini__kopf b { font-weight: 800; font-stretch: 88%; text-transform: uppercase; letter-spacing: .02em; }
.ha27-pdp .zubmini__kopf b span { font-weight: 400; opacity: .7; }
.ha27-pdp .zubmini__kopf small { flex-basis: 100%; font: 13px var(--mono); opacity: .65; }
.ha27-pdp .zubmini__gruppe + .zubmini__gruppe { margin-top: 1rem; }
.ha27-pdp .zubmini__gruppe h3 { margin: 0 0 .5rem; font: 700 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pine); }
.ha27-pdp .zubmini__gruppe h3 span { opacity: .7; font-weight: 400; }
.ha27-pdp .zubmini__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .5rem; }
.ha27-pdp .zubmini__k { display: grid; gap: .35rem; align-content: start; padding: .4rem; border-radius: 6px; background: rgba(241,235,223,.06); color: inherit; font: 13px/1.3 var(--mono); text-decoration: none; transition: background .2s; }
.ha27-pdp .zubmini__k:hover { background: rgba(241,235,223,.14); }
.ha27-pdp .zubmini__k img, .ha27-pdp .zubmini__ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: #efe7d8; }
.ha27-pdp .zubmini__k span:last-child { overflow-wrap: anywhere; }
.ha27-pdp .zubmini__k small { display: block; margin-top: .2rem; opacity: .7; font-size: 13px; }
@media (max-width: 560px) { .ha27-pdp .zubmini__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Fach „Dazu passt“ (dazu.css des Entwurfs) ---------- */
.ha27-pdp .dz-k { --dz-rand: rgba(10, 35, 25, .55); display: flex; flex-direction: column; min-width: 0; background: var(--card); color: var(--ink); border: 1.5px solid var(--line-d); border-radius: 6px; overflow: hidden; transition: border-color .2s; }
.ha27-pdp .dz-k.is-drin { border-color: var(--green); }
.ha27-pdp .dz-k__bild { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sawdust-2); }
.ha27-pdp .dz-k__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ha27-pdp .dz-k__bild--leer { display: grid; place-items: center; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(74, 52, 35, .8); text-align: center; }
.ha27-pdp .dz-k__body { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 0; padding: .6rem .65rem .7rem; }
.ha27-pdp .dz-k__tag { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--walnut); overflow-wrap: anywhere; }
.ha27-pdp .dz-k__name { margin: 0; font-weight: 800; font-stretch: 90%; font-size: 14px; line-height: 1.22; overflow-wrap: anywhere; }
.ha27-pdp .dz-k__name a { display: block; padding-block: 14px; margin-block: -14px; text-decoration: none; color: inherit; }
.ha27-pdp .dz-k__name a:hover { color: var(--spray-dark); text-decoration: underline; text-underline-offset: 3px; }
.ha27-pdp .dz-k__meta { margin: 0; font: 13px/1.35 var(--mono); }
.ha27-pdp .dz-k__art { margin: 0; font: 13px/1.3 var(--mono); opacity: .68; overflow-wrap: anywhere; }
.ha27-pdp .dz-k__buy { display: flex; align-items: center; gap: .4rem .6rem; margin-top: auto; padding-top: .3rem; flex-wrap: wrap; }
.ha27-pdp .dz-k__step { display: inline-flex; border: 2px solid var(--dz-rand); background: #fff; }
.ha27-pdp .dz-k__step button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font: 700 18px var(--mono); cursor: pointer; transition: background .2s; }
.ha27-pdp .dz-k__step button:hover { background: var(--sawdust); }
.ha27-pdp .dz-k__step input { width: 56px; height: 44px; margin: 0; padding: 0; border: 0; border-inline: 2px solid var(--dz-rand); border-radius: 0; background: #fff; color: var(--ink); text-align: center; font: 700 16px var(--mono); }
.ha27-pdp .dz-k__step input:focus { outline: none; background: var(--sawdust); }
.ha27-pdp .dz-k__step input:focus-visible { outline: 2px solid var(--spray-dark); outline-offset: -2px; }
.ha27-pdp .dz-k__step input[aria-invalid="true"] { border-inline-color: #a3321f; background: #fdf1ee; }
.ha27-pdp .dz-k__unit { font: 13px var(--mono); opacity: .72; }
.ha27-pdp .dz-k__add { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 44px; padding: 0 .8rem; border: 2px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink);
  font: 800 14px var(--display); font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.ha27-pdp .dz-k__add::before { content: "+"; font: 700 17px var(--mono); line-height: 1; }
.ha27-pdp .dz-k__add--wahl::before { content: none; }
.ha27-pdp .dz-k__add:hover { background: var(--ink); color: var(--sawdust); }
.ha27-pdp .dz-k__add:disabled { opacity: .5; cursor: wait; }
.ha27-pdp .dz-k__add[hidden], .ha27-pdp .dz-k__drin[hidden], .ha27-pdp .dz-k__fehler[hidden] { display: none; }
.ha27-pdp .dz-k__drin { display: flex; align-items: center; justify-content: space-between; gap: .4rem .8rem; flex-wrap: wrap; min-height: 44px; }
.ha27-pdp .dz-k__ok { font: 700 13px var(--mono); letter-spacing: .04em; color: var(--green); }
.ha27-pdp .dz-k__fehler { margin: 0; font: 700 13px/1.4 var(--mono); color: #a3321f; }
.ha27-pdp .dz-k__weg { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .3rem; font: 13px var(--mono); text-decoration: underline; text-underline-offset: 3px; color: inherit; opacity: .8; }
.ha27-pdp .dz-k__weg:hover { opacity: 1; color: var(--warn); }
.ha27-pdp .dz-k :focus-visible, .ha27-pdp .dz-fach :focus-visible { outline-color: var(--spray-dark); }
.ha27-pdp .dz-fach { display: grid; gap: .75rem; padding: .95rem 1rem 1rem; background: var(--sawdust); border: 1.5px solid var(--line-d); border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; scroll-margin-top: calc(var(--ha27-ab) + var(--ha27-stick) + 12px); }
.ha27-pdp .dz-fach__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ha27-pdp .dz-fach__h { margin: 0; font-weight: 800; font-stretch: 88%; font-size: 1.15rem; line-height: 1.25; overflow-wrap: anywhere; }
.ha27-pdp .dz-fach__h:focus { outline: none; }
.ha27-pdp .dz-fach__h:focus-visible { outline: 2px solid var(--spray-dark); outline-offset: 4px; }
.ha27-pdp .dz-fach__haken { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: .2rem; border-radius: 50%; background: var(--green); color: var(--card); font: 700 13px var(--mono); vertical-align: .05em; }
.ha27-pdp .dz-fach__zu { flex: none; width: 44px; height: 44px; margin: -.5rem -.5rem 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 700 17px var(--mono); cursor: pointer; transition: background .2s; }
.ha27-pdp .dz-fach__zu:hover { background: var(--sawdust-2); }
.ha27-pdp .dz-fach__wege { display: flex; flex-wrap: wrap; gap: .5rem .7rem; }
.ha27-pdp .dz-fach__wege .btn { display: inline-flex; align-items: center; gap: .5rem; height: auto; min-height: 52px; max-width: 100%; padding: .45rem 1.7rem .45rem 1.05rem; white-space: normal; line-height: 1.15; font-size: 15px; }
.ha27-pdp .dz-fach__wege .btn svg { width: 16px; height: 16px; }
.ha27-pdp .dz-fach__wege .btn--ghost { padding-right: 1.05rem; background: transparent; box-shadow: inset 0 0 0 2px var(--line-d); color: var(--ink); }
.ha27-pdp .dz-fach__wege .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.ha27-pdp .dz-fach__vor { display: grid; gap: .65rem; padding-top: .8rem; border-top: 2px dashed var(--line-d); }
.ha27-pdp .dz-fach__h3 { margin: 0; font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--walnut); }
.ha27-pdp .dz-fach__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.ha27-pdp .dz-fach__note { margin: 0; font: 13px/1.45 var(--mono); opacity: .68; }
@media (max-width: 560px) {
  .ha27-pdp .dz-fach__liste { grid-template-columns: minmax(0, 1fr); }
  .ha27-pdp .dz-fach .dz-k { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
  .ha27-pdp .dz-fach .dz-k__bild { aspect-ratio: auto; height: 100%; min-height: 92px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ha27-pdp .dz-fach { animation: ha27-dz-ein .35s var(--ease) both; }
  @keyframes ha27-dz-ein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

/* Türset (inc/tuerset.php, 28.10.2026): Türblatt + Zarge + Drücker in einem Kasten der Kaufbox, 3 % Set-Rabatt */
.ha27-pdp .pdp__set-statt { display: block; font: 400 13px var(--mono); opacity: .75; }
.ha27-pdp .pdp__set { display: grid; gap: .7rem; margin: .4rem 0 1rem; padding: .9rem 1rem 1rem; border: 1.5px solid var(--spray-dark); border-radius: 8px; background: rgba(0, 96, 70, .05); }
.ha27-pdp .pdp__set-h { margin: 0; font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--spray-dark); }
.ha27-pdp .pdp__set-h small { display: block; margin-top: .15rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); opacity: .75; }
.ha27-pdp .pdp__set-zeile { display: grid; gap: .3rem; }
.ha27-pdp .pdp__set-k { font: 700 11.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.ha27-pdp .pdp__set-wahl { display: flex; flex-wrap: wrap; gap: .3rem; }
.ha27-pdp .pdp__set-c { min-height: 36px; padding: .3rem .6rem; border: 1.5px solid var(--line-d); border-radius: 4px; background: #fff; color: var(--ink); font: 700 13px var(--mono); cursor: pointer; }
.ha27-pdp .pdp__set-c:hover { border-color: var(--ink); }
.ha27-pdp .pdp__set-c[aria-checked="true"] { border-color: var(--spray-dark); background: var(--spray-dark); color: #fff; }
.ha27-pdp .pdp__set-liste { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: 13.5px; }
.ha27-pdp .pdp__set-liste li { display: flex; justify-content: space-between; gap: .8rem; padding-bottom: .35rem; border-bottom: 1px dashed var(--line-d); }
.ha27-pdp .pdp__set-liste small { display: block; font: 400 13px var(--mono); opacity: .65; }
.ha27-pdp .pdp__set-liste b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ha27-pdp .pdp__set-summe { margin: 0; font-size: 15px; }
.ha27-pdp .pdp__set-summe b { font-size: 18px; }
.ha27-pdp .pdp__set-summe small { display: block; font: 400 13px var(--mono); opacity: .65; }
.ha27-pdp .pdp__set-kauf { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.ha27-pdp .pdp__set-menge { display: inline-flex; align-items: center; gap: .4rem; font: 700 13px var(--mono); }
.ha27-pdp .pdp__set-menge input { width: 4.2rem; min-height: 44px; padding: 0 .5rem; border: 1.5px solid var(--line-d); border-radius: 4px; font: 16px var(--mono); }
.ha27-pdp .pdp__set-meld { margin: 0; font-size: 14px; }
.ha27-pdp .pdp__set-meld a { color: var(--spray-dark); font-weight: 700; text-decoration: underline; }
.ha27-pdp .pdp__set-hinweis { margin: 0; font-size: 13px; opacity: .75; }
.ha27-pdp .pdp__rabatt { margin: 0 0 .5rem; font-size: 14px; }
.ha27-pdp .pdp__rabatt del { opacity: .6; }
.ha27-pdp .pdp__rabatt small { margin-left: .25rem; font-size: 13px; opacity: .7; }
/* Rabatt unter dem Titel (ha27_rabatt_kopf_html, 28.10.2026) */
.ha27-pdp .pdp__rabattkopf { display: flex; align-items: center; gap: .75rem; margin: .6rem 0 .2rem; padding: .55rem .8rem; border: 1px solid var(--spray-dark, #006046); border-radius: 6px; background: rgba(73, 174, 83, .1); }
.ha27-pdp .pdp__rabattkopf .ha27-rabatt--gross { margin: 0; padding: .3rem .6rem; font-size: 20px; line-height: 1.1; }
.ha27-pdp .pdp__rabattkopf-t { display: flex; flex-direction: column; gap: .1rem; font-size: 14px; line-height: 1.3; }
.ha27-pdp .pdp__rabattkopf-t small { font-size: 13px; opacity: .85; }
.ha27-pdp .pdp__rabattkopf-t del { opacity: .65; }
@media (max-width: 640px) { .ha27-pdp .pdp__set-c { min-height: 44px; } }
/* Türset: Rabatt hervorheben, Beschläge mit Bild (28.10.2026, Dominik: „Kann man den Rabatt etwas hervorheben? Die Beschläge vielleicht mit kleinem Bild?“) */
.ha27-pdp .pdp__set-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.ha27-pdp .pdp__set-badge { flex: none; display: grid; place-items: center; min-width: 4.6rem; padding: .35rem .55rem .4rem; border-radius: 6px; background: var(--spray-dark); color: #fff; font: 700 11px/1.1 var(--mono); letter-spacing: .04em; text-transform: uppercase; text-align: center; transform: rotate(-3deg); box-shadow: 0 6px 14px -8px rgba(0, 60, 40, .6); }
.ha27-pdp .pdp__set-badge b { display: block; font: 900 22px/1 var(--display, inherit); font-stretch: 75%; letter-spacing: 0; }
.ha27-pdp .pdp__set-c--bild { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .6rem .25rem .25rem; }
.ha27-pdp .pdp__set-c--bild img, .ha27-pdp .pdp__set-ohne { flex: none; width: 44px; height: 44px; border-radius: 3px; object-fit: contain; background: #fff; }
.ha27-pdp .pdp__set-ohne { border: 1.5px dashed var(--line-d); }
.ha27-pdp .pdp__set-c--bild[aria-checked="true"] img { box-shadow: 0 0 0 2px #fff; }
.ha27-pdp .pdp__set-statt s { text-decoration-thickness: 1.5px; }
.ha27-pdp .pdp__set-spar { display: inline-block; margin: .15rem 0 .35rem; padding: .25rem .6rem; border-radius: 4px; background: var(--spray); color: var(--forest); font: 700 13px var(--mono); }
.ha27-pdp .pdp__set-summe b { color: var(--spray-dark); font-size: 22px; }

/* Optinet-Lagerbestand in der Kaufbox (inc/bestand.php, 28.10.2026) */
.ha27-pdp .ha27-lager span { color: var(--warn, #a3321f); }
.ha27-pdp .ha27-lager.is-da span { color: var(--spray-dark, #006046); }
.ha27-pdp .ha27-lager.is-werk span { color: var(--spray-dark, #006046); }   /* ab Werk lieferbar (Meister) – grün wie Lagerware (Dominik 29.10.2026) */
.ha27-pdp .ha27-lager__stand { display: block; margin-top: .35rem; font-weight: 400; font-size: 13px; opacity: .6; }

/* Lade-Spinner des Eltern-Themes ist unsichtbar (opacity 0), fing aber Klicks ab und lag bei Leisten über dem Knopf „roh“ (29.10.2026) */
.ha27-pdp .c-price-box-wrapper > .spinner { pointer-events: none; }

/* „ab“ vor „Ihr Preis“ bei Artikeln mit Auswahl, bis eine Ausführung gewählt ist (29.10.2026) */
.ha27-pdp .pdp__ab { font-weight: 400; font-size: .8em; }
.ha27-pdp .pdp__ab[hidden] { display: none; }

/* Hinweis auf den Bodenaufbau-Finder (inc/bodenaufbau.php) bei Böden: Kaufbox und Warenkorb */
.ha27 .ha27-ba-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: .8rem 0 0; padding: .7rem .85rem; border-radius: 6px; background: #eef6ec; border-left: 4px solid var(--spray); color: var(--ink); font-size: 14px; line-height: 1.45; }
.ha27 .ha27-ba-hinweis svg { flex: none; color: var(--spray-dark); }
.ha27 .ha27-ba-hinweis span { flex: 1 1 14rem; }
.ha27 .ha27-ba-hinweis a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--spray-dark); text-decoration: underline; text-underline-offset: 3px; }
.ha27 .ha27-ba-hinweis--korb { margin: 1rem 0 0; }
/* Terrassen-Set (inc/terrassenset.php): Fläche, Mengen je Zeile, Hinweis „nur online“ (gilt für alle Sets) */
.ha27-pdp .pdp__set-flaeche { display: inline-flex; align-items: center; gap: .4rem; font: 700 13px var(--mono); }
.ha27-pdp .pdp__set-hinweis--warn { padding: .5rem .7rem; border-left: 3px solid var(--warn); background: rgba(163, 50, 31, .06); opacity: 1; }
.ha27-pdp .pdp__set-flaeche { flex-wrap: wrap; max-width: 100%; }
.ha27-pdp .pdp__set-flaeche input { width: 10rem; max-width: 100%; min-height: 44px; padding: 0 .5rem; border: 1.5px solid var(--line-d); border-radius: 4px; font: 16px var(--mono); }
.ha27-pdp .pdp__set-flaeche input[aria-invalid="true"] { border-color: var(--warn); }
.ha27-pdp .pdp__set-liste--mengen li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .3rem .7rem; }
.ha27-pdp .pdp__set-zahl { display: inline-flex; align-items: center; gap: .3rem; font: 400 13px var(--mono); white-space: nowrap; }
.ha27-pdp .pdp__set-zahl input { width: 4.6rem; min-height: 40px; padding: 0 .4rem; border: 1.5px solid var(--line-d); border-radius: 4px; font: 15px var(--mono); }
.ha27-pdp .pdp__set-online { margin: 0; font: 700 13px var(--mono); letter-spacing: .03em; color: var(--spray-dark); }
@media (max-width: 480px) { .ha27-pdp .pdp__set-liste--mengen li { grid-template-columns: minmax(0, 1fr) auto; } .ha27-pdp .pdp__set-liste--mengen li > b { grid-column: 2; } }
/* Alternativen zum Zubehör (Meta ha_zub_alternativen, gelb markiert in den Listen der Gartenabteilung) */
.ha27-pdp .zubmini__hinweis { margin: -.3rem 0 .5rem; font-size: 13px; opacity: .75; }
.ha27-pdp .zubmini__gruppe--alt { padding-top: .8rem; border-top: 1px dashed currentColor; border-top-color: rgba(127, 127, 127, .35); }
/* Bestand an Auswahlknöpfen (Längen der Kaufbox, Terrassen-Set; 30.10.2026) */
.ha27-pdp .ha27-btn-bestand { display: block; margin-top: .1rem; font: 400 13px/1.2 var(--mono); letter-spacing: 0; text-transform: none; opacity: .85; }
.ha27-pdp .ha27-btn-bestand::before { content: "● "; font-size: 13px; }
.ha27-pdp .ha27-btn-bestand--da::before { color: #2f8f3a; }
.ha27-pdp .ha27-btn-bestand--zulauf::before { color: #b8862b; }
.ha27-pdp .ha27-btn-bestand--aus::before { color: var(--warn); }
.ha27-pdp .custom-variation-buttons button { line-height: 1.15; }
.ha27-pdp .pdp__set-c[aria-checked="true"] .ha27-btn-bestand::before { color: #fff; }
.ha27-pdp .pdp__kasse .custom-variation-buttons button:has(.ha27-btn-bestand) { flex-direction: column; align-items: flex-start; justify-content: center; }
.ha27-pdp .pdp__set-c .ha27-btn-bestand { text-align: left; }

/* Nur volle VE (inc/ve.php) */
.ha27-pdp .pdp__ve { flex-basis: 100%; margin: .5rem 0 0; font-size: .82rem; color: var(--spray-dark, #006046); font-weight: 600; }
.ha27-pdp .pdp__zuschlag { margin: .4rem 0 0; font: 13px/1.45 var(--mono); color: var(--warn, #a3321f); }   /* Seefracht-Zuschlag (inc/zuschlag.php) */

/* Sonderabverkauf AR-Türen (31.10.2026, inc/abverkauf.php): Hinweis über dem Türelement, Stempel im Element-Kopf */
.ha27-pdp .pdp__abv { position: relative; margin: 1rem 0 .4rem; padding: 1.1rem 1rem .85rem; border: 2px dashed var(--warn); border-radius: 8px; background: #fff7f3; color: var(--ink); }
.ha27-pdp .pdp__abv-stempel { position: absolute; top: -.8rem; left: .8rem; padding: .25rem .6rem .3rem; background: var(--warn); color: #fff; border-radius: 3px;
  font: 900 15px/1 var(--display, inherit); font-stretch: 70%; letter-spacing: .03em; text-transform: uppercase; transform: rotate(-2deg); }
.ha27-pdp .pdp__abv ul { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: .25rem; font-size: 14px; line-height: 1.45; }
.ha27-pdp .pdp__set-badge--abv { background: var(--warn); box-shadow: 0 6px 14px -8px rgba(120, 30, 15, .6); }
.ha27-pdp .pdp__set-badge--abv b { font-size: 17px; }

/* „Kunden kaufen dazu“ (inc/dazu-kauf.php): wie das Zubehör, mit grüner Kante */
.ha27-pdp .zubmini--dazukauf { border-color: rgba(73,174,83,.55); }
.ha27-pdp .pdp__zubwrap + .pdp__zubwrap { margin-top: 1rem; }

/* Fassaden-Set (inc/fassadenset.php): Eingabefelder für die Wandmaße */
.ha27-pdp .pdp__set-felder { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: .6rem .8rem; margin: .4rem 0 .2rem; }
.ha27-pdp .pdp__set-feld { display: grid; gap: .2rem; align-content: start; font-size: 13px; font-weight: 700; }
.ha27-pdp .pdp__set-feld > span:nth-child(2) { display: flex; align-items: center; gap: .35rem; font-weight: 400; }
.ha27-pdp .pdp__set-feld input { width: 6rem; min-height: 40px; font: inherit; font-size: 16px; padding: .35rem .5rem; border: 1px solid var(--line-d); border-radius: 5px; text-align: right; background: #fff; color: var(--ink); }
.ha27-pdp .pdp__set-feld input[aria-invalid="true"] { border-color: var(--warn); }
.ha27-pdp .pdp__set-feld small { font-weight: 400; font-size: 13px; opacity: .7; }

/* Kostenloses Muster (inc/muster.php) */
.ha27-pdp .pdp__muster { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin: .8rem 0 0; }
.ha27-pdp .pdp__muster small { font-size: 13px; opacity: .75; }
.ha27-pdp .pdp__muster-meld { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--spray-dark); }
/* Arbeitsplatten: Zuschnitt auf Anfrage (01.11.2026) */
.ha27-pdp .pdp__zs-hinweis { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: 10px; display: grid; gap: 10px; }
.ha27-pdp .pdp__zs-hinweis p { margin: 0; font-size: 14px; line-height: 1.45; }
.ha27-pdp .pdp__zs-hinweis .btn { justify-self: start; }
.ha27-pdp .pdp__zs-zettel { font-size: 13px; color: var(--spray-dark, #006046); }
a.pdp__chip { color: inherit; text-decoration: none; }
.ha27-pdp a.pdp__chip:hover, .ha27-pdp a.pdp__chip:focus-visible { border-color: var(--spray-dark); color: var(--spray-dark); }
/* Palettenpreis erreicht (03.11.2026, Marketing: „der Nicht-Palettenpreis bleibt groß stehen“): Staffelpreis groß vorn,
   der normale Preis klein und durchgestrichen dahinter (Klasse c-price-bulked setzt das Skript der Preisvorlage) */
.ha27-pdp .pdp__kasse .c-price_table_price_info span.font-extrabold { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .35rem; }
.ha27-pdp .pdp__kasse .bm-bulk-price-info { order: 1; font-weight: 900; font-stretch: 85%; font-size: 28px; color: var(--spray-dark); }
.ha27-pdp .pdp__kasse .priceSeparator, .ha27-pdp .pdp__kasse .priceUnit { order: 1; }
.ha27-pdp .pdp__kasse #mainPrice.c-price-bulked { order: 2; font-size: 17px; font-weight: 600; text-decoration: line-through; opacity: .55; }

/* Türanschlag links als Aufpreis (inc/aufpreis-links.php, 04.11.2026) */
.ha27-pdp .pdp__links { margin: .6rem 0 .2rem; }
.ha27-pdp .pdp__links label { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; padding: .55rem .7rem; border: 1px solid var(--rand, #d9d2c4); border-radius: 6px; background: var(--papier, #fbf8f2); }
.ha27-pdp .pdp__links input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--spray-dark, #006046); }
.ha27-pdp .pdp__links small { display: block; opacity: .75; font-size: 13px; }

/* Kunstrasen nach Maß (inc/kunstrasen.php, 04.11.2026): eigene Kaufbox statt Formular */
body.ha27-rasen .ha27-pdp .pdp__kasse form.cart, body.ha27-rasen .ha27-pdp .pdp__kasse .variations_form { display: none !important; }
.ha27-pdp .pdp__rasen-l { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.ha27-pdp .pdp__rasen-l input { width: 8rem; font-size: 16px; padding: .45rem .6rem; }
.ha27-pdp .pdp__rasen-charge { font-size: 13px; margin: .6rem 0; padding: .5rem .7rem; border-left: 3px solid var(--warn, #a3321f); background: rgba(163, 50, 31, .06); }
.ha27-pdp .pdp__rasen-tipp { border-left: 3px solid var(--spray-dark, #006046); background: rgba(73, 174, 83, .1); padding: .5rem .7rem; }
.ha27-pdp .pdp__rasen-tipp .linkbtn { font-weight: 700; }
.ha27-pdp .pdp__nsi { font-size: 14px; line-height: 1.45; gap: 4px; }

/* Aktion in der Kaufbox (07.11.2026) */
.ha27-pdp .pdp__aktion { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff4e5; border: 1px solid #f0c27a; display: grid; gap: 6px; }
.ha27-pdp .pdp__aktion-stempel { justify-self: start; padding: .2rem .55rem; border-radius: 4px; background: var(--spray-dark); color: #fff; font: 700 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ha27-pdp .pdp__aktion p { margin: 0; font-size: 14px; line-height: 1.45; }
