/* EDP catalogue system. Based on the owner's design.md; scoped away from checkout/cart. */
:root { --edp-c-primary:#205375; --edp-c-secondary:#5f7d94; --edp-c-soft:#eaf4fb; --edp-c-text:#1d2a35; --edp-c-muted:#556575; --edp-c-border:#dde0e3; }
.edp-dp-product,.edp-dp-catalogue { color:var(--edp-c-text); font-family:Poppins,sans-serif; font-size:14px; line-height:1.6; font-weight:500; }
.edp-dp-product h1,.edp-dp-product h2,.edp-dp-product h3,.edp-dp-catalogue h1,.edp-dp-catalogue h2 { font-family:inherit; letter-spacing:0; }
.edp-dp-product { max-width:1280px; margin:0 auto!important; padding:24px 16px 60px; }
.edp-dp-product .edp-dp-breadcrumb .woocommerce-breadcrumb { font-family:inherit; color:var(--edp-c-muted); font-size:12px; margin:0 0 24px; line-height:1.7; }
.edp-dp-product .edp-dp-product__grid { display:flex; flex-direction:column; gap:24px; }
.edp-product-reference { display:contents; }
.edp-dp-product .edp-dp-gallery { order:1; width:100%; }
.edp-dp-product .edp-dp-purchase-column { order:2; width:100%; min-width:0; }
.edp-dp-product .edp-dp-about { order:3; display:block; margin-top:24px; padding:24px 0 0; border-top:1px solid var(--edp-c-border); }
.edp-dp-product .edp-dp-gallery .woocommerce-product-gallery { position:relative; top:auto; margin:0; padding:20px; border:1px solid var(--edp-c-border); border-radius:8px; background:#fff; box-shadow:none; }
.edp-dp-product .edp-dp-gallery .woocommerce-product-gallery__image img:not(.zoomImg) { max-height:260px!important; object-fit:contain; }
.edp-dp-product .edp-dp-gallery .flex-control-thumbs { margin-top:14px; gap:8px; }
.edp-dp-product .edp-dp-gallery .flex-control-thumbs li { border-color:var(--edp-c-border); border-radius:4px; }
.edp-options-heading { margin-bottom:24px; }
.edp-options-brand { color:var(--edp-c-primary); font-size:14px; font-weight:600; margin-bottom:10px; }
.edp-options-brand a { color:inherit; text-decoration:none; }
.edp-options-heading-row { display:flex; align-items:baseline; justify-content:space-between; gap:14px; }
.edp-options-heading h2 { font-size:20px; font-weight:700; line-height:24px; margin:0; color:var(--edp-c-text); }
.edp-options-heading-row>span { color:var(--edp-c-muted); font-size:12px; white-space:nowrap; }
.edp-options-heading>p { font-size:12px; color:var(--edp-c-muted); margin:8px 0 0; }
.edp-dp-product .edp-purchase-options { gap:14px; }
.edp-dp-product .edp-option-card { border:1px solid var(--edp-c-border); border-radius:8px; background:#fff; padding:20px 16px; box-shadow:none; transition:border-color .18s; }
.edp-dp-product .edp-option-card:focus-within { border-color:var(--edp-c-primary); }
.single-product .edp-dp-product .edp-option-card__title { color:var(--edp-c-text); font-size:18px; font-weight:600; line-height:1.4; letter-spacing:0; }
.edp-dp-product .edp-option-card__description { font-size:12px; line-height:18px; color:var(--edp-c-muted); margin-top:8px; }
.edp-pack-contents summary { display:flex; align-items:center; gap:6px; cursor:pointer; list-style:none; color:var(--edp-c-primary); font-weight:600; }
.edp-pack-contents summary::-webkit-details-marker { display:none; }
.edp-pack-contents .edp-icon { width:14px; height:14px; }
.edp-pack-contents[open] summary .edp-icon { transform:rotate(180deg); }
.edp-pack-contents>div { padding-top:10px; max-width:100%; }
.edp-dp-product .edp-option-card__price { gap:5px 8px; margin-top:16px; }
.edp-dp-product .edp-option-card__current { font-size:18px; font-weight:700; color:var(--edp-c-text); }
.edp-dp-product .edp-option-card__tax,.edp-dp-product .edp-option-card__price del,.edp-dp-product .edp-option-card__discount { font-size:12px; }
.edp-dp-product .edp-option-card__tax { color:var(--edp-c-muted); }
.edp-dp-product .edp-option-card__bottom { margin-top:16px; }
.single-product .edp-dp-product form.cart.edp-option-form { width:100%; justify-content:space-between; gap:14px; }
.single-product .edp-dp-product .edp-option-quantity { height:52px; border-radius:14px; border-color:var(--edp-c-border); }
.single-product .edp-dp-product .edp-option-form .quantity input.qty { height:50px; font:600 14px Poppins,sans-serif; }
.single-product .edp-dp-product .edp-option-form .edp-quantity-minus,.single-product .edp-dp-product .edp-option-form .edp-quantity-plus { width:38px; height:50px; min-height:50px; color:var(--edp-c-primary); }
.single-product .edp-dp-product .edp-option-form .edp-option-add { flex:1; min-width:90px; height:52px; border-radius:14px; border-color:var(--edp-c-primary); background:var(--edp-c-primary); color:#fff; font:600 14px Poppins,sans-serif; padding:14px 16px; }
.single-product .edp-dp-product .edp-option-form .edp-option-add:hover { background:#173e58; border-color:#173e58; color:#fff; }
.single-product .edp-dp-product .edp-option-form .edp-option-add:disabled { background:#e5e7eb; border-color:#e5e7eb; color:var(--edp-c-muted); }
.edp-dp-product .edp-option-card__status { font-size:12px; }
.edp-product-service { display:flex; flex-wrap:wrap; gap:14px 24px; padding:18px 0; color:var(--edp-c-muted); font-size:12px; border-bottom:1px solid var(--edp-c-border); }
.edp-product-service>span { display:flex; align-items:center; gap:7px; }
.edp-product-service .edp-icon { width:18px; height:18px; color:var(--edp-c-primary); }
@media (max-width:767px) {
    .edp-product-service { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px; padding:16px 0; font-size:12px; line-height:18px; }
    .edp-product-service>span { align-items:flex-start; min-width:0; }
    .edp-product-service .edp-icon { flex:0 0 18px; }
}
.edp-product-support { padding:24px 0; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.edp-product-support strong { font-size:14px; font-weight:600; }
.edp-product-support p { color:var(--edp-c-muted); font-size:12px; margin:6px 0 0; }
.edp-product-support a { display:flex; align-items:center; gap:8px; min-height:44px; color:var(--edp-c-primary); font-size:12px; font-weight:600; text-decoration:none; }
.edp-product-support a .edp-icon { width:16px; height:16px; transform:rotate(180deg); }
.edp-dp-product .edp-dp-about>h2 { color:var(--edp-c-text); font-size:19px; font-weight:700; line-height:23px; margin-bottom:16px; }
.edp-dp-product .edp-dp-about__copy { font-size:14px; color:var(--edp-c-muted); line-height:1.75; overflow-wrap:anywhere; }
.edp-dp-product .edp-dp-about__copy img,.edp-dp-product .edp-dp-about__copy table { max-width:100%; }
.edp-product-reference-code { font-size:12px; color:var(--edp-c-muted); margin:16px 0; }
.edp-dp-product .edp-dp-category { font-size:12px; border:0; margin:14px 0 0; padding:0; }
.edp-dp-product .edp-dp-category a { color:var(--edp-c-primary); }
.edp-dp-product .edp-related-products { margin-top:40px; padding-top:32px; border-color:var(--edp-c-border); }
.edp-dp-product .related>h2 { font-size:20px; font-weight:700; }
/* Catalogue: contextual navigation and integrated, consistently aligned tiles. */
.edp-dp-catalogue { padding:24px 0 60px; }
.edp-dp-catalogue .edp-shell { max-width:1280px; }
.edp-dp-catalogue .edp-dp-catalogue__header { padding:24px; background:var(--edp-c-soft); border:0; border-radius:8px; margin-bottom:24px; }
.edp-dp-catalogue .edp-dp-catalogue__header h1 { color:var(--edp-c-text); font-size:28px; font-weight:700; line-height:1.15; letter-spacing:0; }
.edp-dp-catalogue .edp-dp-catalogue__header>div { color:var(--edp-c-muted); font-size:14px; max-width:760px; }
.edp-catalogue-workspace,.edp-catalogue-results { min-width:0; }
.edp-category-directory { margin-bottom:24px; }
.edp-category-directory h2 { font-size:14px; font-weight:600; margin:0 0 14px; }
.edp-dp-catalogue .edp-dp-subcategories { display:flex; gap:6px; padding:0 0 6px; overflow-x:auto; scrollbar-width:none; }
.edp-dp-catalogue .edp-dp-subcategories::-webkit-scrollbar { display:none; }
.edp-dp-catalogue .edp-dp-subcategories a { display:flex; align-items:center; gap:14px; border:1px solid var(--edp-c-border); background:#fff; border-radius:8px; padding:12px 14px; min-height:48px; color:var(--edp-c-text); font-size:12px; }
.edp-dp-subcategories .edp-icon { width:14px; height:14px; transform:rotate(180deg); }
.edp-all-products { display:inline-block; color:var(--edp-c-primary); font-size:12px; padding-top:8px; text-underline-offset:4px; }
.edp-dp-catalogue .edp-dp-toolbar { padding:0 0 20px; min-height:52px; gap:14px; flex-wrap:wrap; }
.edp-dp-catalogue .edp-dp-toolbar .woocommerce-notices-wrapper:empty { display:none; }
.edp-dp-catalogue .edp-dp-toolbar .woocommerce-notices-wrapper:not(:empty) { flex-basis:100%; }
.edp-dp-catalogue .edp-dp-toolbar .woocommerce-result-count { color:var(--edp-c-muted); font-size:12px; float:none; margin:0; }
.edp-dp-catalogue .edp-dp-toolbar select { font:500 12px Poppins,sans-serif; color:var(--edp-c-text); border:1px solid var(--edp-c-border); border-radius:14px; min-height:52px; }
.woocommerce .edp-dp-catalogue ul.products,.woocommerce .edp-dp-product .related ul.products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:0; padding:0; }
.woocommerce .edp-dp-catalogue ul.products li.product.edp-product-card-v2,.woocommerce .edp-dp-product .related ul.products li.product.edp-product-card-v2 { float:none; width:100%; margin:0; border:1px solid var(--edp-c-border); border-radius:8px; padding:0; overflow:hidden; background:#fff; display:flex; flex-direction:column; box-shadow:none; }
.edp-dp-catalogue .edp-product-card__media,.edp-dp-product .related .edp-product-card__media { border:0; border-bottom:1px solid #edf0f2; border-radius:0; height:auto; min-height:0; aspect-ratio:1; background:#fff; }
.edp-dp-catalogue .edp-product-card__image,.edp-dp-product .related .edp-product-card__image { height:100%; min-height:0; width:100%; padding:16px; aspect-ratio:auto; }
.edp-dp-catalogue .edp-product-card__content,.edp-dp-product .related .edp-product-card__content { padding:16px 12px; display:flex; flex-direction:column; flex:1; }
.edp-dp-catalogue .edp-product-card__brand,.edp-dp-product .related .edp-product-card__brand { color:var(--edp-c-secondary); font:600 12px/18px Poppins,sans-serif; text-transform:none; }
.edp-dp-catalogue .woocommerce-loop-product__title,.edp-dp-product .related .woocommerce-loop-product__title { font:600 14px/22px Poppins,sans-serif; color:var(--edp-c-text); margin:6px 0 14px; min-height:44px; }
.edp-dp-catalogue .woocommerce-loop-product__title a,.edp-dp-product .related .woocommerce-loop-product__title a { color:inherit; }
.edp-dp-catalogue .edp-product-card__excerpt,.edp-dp-product .related .edp-product-card__excerpt { display:none; }
.edp-dp-catalogue .edp-product-card__price-row,.edp-dp-product .related .edp-product-card__price-row { display:flex; flex-wrap:wrap; gap:4px 6px; align-items:baseline; border:0; padding:0; margin:auto 0 14px; }
.edp-dp-catalogue .price,.edp-dp-product .related .price { color:var(--edp-c-text)!important; font:600 14px/22px Poppins,sans-serif!important; margin:0!important; }
.edp-product-card__tax { color:var(--edp-c-muted); font:500 10px/14px Poppins,sans-serif; display:block; width:100%; }
.edp-dp-catalogue .edp-product-card__saving,.edp-dp-product .related .edp-product-card__saving { display:none; }
.edp-dp-catalogue .edp-product-card__action,.edp-dp-product .related .edp-product-card__action { margin:0; }
.edp-dp-catalogue .edp-product-card__action .button,.edp-dp-product .related .edp-product-card__action .button { display:flex; align-items:center; justify-content:space-between; gap:6px; width:100%; min-height:52px; padding:14px 12px!important; border:1px solid var(--edp-c-border)!important; border-radius:14px!important; color:var(--edp-c-primary)!important; background:#fff!important; font:600 12px/20px Poppins,sans-serif!important; }
.edp-product-card__action .edp-icon { width:16px; height:16px; transform:rotate(180deg); }
.edp-dp-catalogue .edp-product-card__action .button:hover,.edp-dp-product .related .edp-product-card__action .button:hover { background:var(--edp-c-soft)!important; border-color:var(--edp-c-primary)!important; }
@media(min-width:900px) {
 .edp-dp-product { padding-inline:24px; }
 .edp-dp-product .edp-dp-product__grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:40px; }
 .edp-product-reference { display:block; min-width:0; }
 .edp-dp-product .edp-dp-gallery .woocommerce-product-gallery__image img:not(.zoomImg) { max-height:440px!important; }
 .edp-dp-product .edp-dp-about { margin-top:32px; }
 .edp-catalogue-workspace.has-categories { display:grid; grid-template-columns:190px minmax(0,1fr); gap:24px; }
 .edp-category-directory { padding:18px 18px 18px 0; margin:0; border-right:1px solid var(--edp-c-border); align-self:start; position:sticky; top:24px; }
 .edp-dp-catalogue .edp-dp-subcategories { display:flex; flex-direction:column; gap:6px; overflow:visible; }
 .edp-dp-catalogue .edp-dp-subcategories a { justify-content:space-between; font-size:12px; border:0; border-radius:4px; padding:10px; }
 .edp-dp-catalogue .edp-dp-subcategories a:hover { background:var(--edp-c-soft); }
 .woocommerce .edp-dp-catalogue ul.products,.woocommerce .edp-dp-product .related ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
 .edp-dp-catalogue .edp-product-card__content,.edp-dp-product .related .edp-product-card__content { padding:16px; }
}
@media(min-width:1200px) {
 .edp-dp-product .edp-option-card { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:0 24px; padding:24px; }
 .edp-dp-product .edp-option-card__title { grid-column:1; grid-row:1; }
 .edp-dp-product .edp-option-card__description { grid-column:1; grid-row:2 / 4; }
 .edp-dp-product .edp-option-card__price { grid-column:2; grid-row:1; margin:0; justify-content:flex-end; }
 .edp-dp-product .edp-option-card__bottom { grid-column:2; grid-row:2; }
 .edp-dp-product .edp-option-card__status { grid-column:1 / -1; }
 .woocommerce .edp-dp-catalogue ul.products,.woocommerce .edp-dp-product .related ul.products { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:380px) {
 .edp-dp-catalogue .edp-product-card__content { padding:14px 10px; }
 .edp-dp-catalogue .edp-product-card__action .button { padding:12px 8px!important; font-size:11px!important; }
}
@media(prefers-reduced-motion:reduce) { .edp-dp-product .edp-option-card { transition:none; } }
/* Five compact cards across wide category/brand archives; two remain on phones. */
@media(min-width:1200px){.woocommerce .edp-dp-catalogue ul.products{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}}
@media(max-width:699px){.woocommerce .edp-dp-catalogue ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
/* Quiet product identifiers, original locally hosted brand marks. */
.edp-dp-product .edp-options-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.edp-dp-product .edp-options-brand { margin:0; }
.edp-options-meta { display:flex; flex-direction:column; gap:4px; margin-left:auto; text-align:right; color:var(--edp-c-muted); font:400 12px/18px Poppins,sans-serif; }
.edp-brand-logo-link { display:inline-flex; align-items:center; justify-content:center; overflow:hidden; width:120px; height:44px; vertical-align:middle; }
.edp-brand-logo-link img { width:120px!important; height:auto!important; max-height:none!important; max-width:none!important; margin:0!important; }
.edp-brand-logo-link--heine { width:72px; }
.edp-brand-logo-link--heine img { width:72px!important; }
.edp-product-card__brand .edp-brand-logo-link { width:96px; height:32px; }
.edp-product-card__brand .edp-brand-logo-link img { width:96px!important; }
.edp-product-card__brand .edp-brand-logo-link--heine { width:52px; }
.edp-product-card__brand .edp-brand-logo-link--heine img { width:52px!important; }
.edp-dp-product .edp-dp-about__copy { font-weight:400; }
.edp-dp-product .edp-dp-about__copy :is(p,li,span,strong,b) { font-weight:400!important; }
@media(min-width:900px) {
 .edp-dp-product .edp-product-reference { align-self:stretch; }
 .edp-dp-product .edp-option-card__unavailable { margin-left:auto; text-align:right; }
 .edp-dp-product .edp-dp-gallery { display:flow-root; position:sticky; top:24px; }
 body.admin-bar .edp-dp-product .edp-dp-gallery { top:56px; }
 .edp-dp-product .edp-dp-gallery .woocommerce-product-gallery__image img:not(.zoomImg) { max-height:min(440px,calc(100dvh - 220px))!important; }
}
