/* PrisTek V589R — narrow presentation corrections over the complete V588 content. */
/* Prevent the superseded badge from flashing before the sourced badge mounts. */
body.pt589r-storefront .product-gallery :is(.corner-award-v159,.product-corner-award-v159,.gallery-review-badge-v347,.pt555-tek),
body.pt589r-storefront .pt546-preserved-badges,
body.pt589r-storefront .pt583-card-evidence .pt555-tek { display:none!important; }

/* Feature label and source score are separate flex items, including narrow cards. */
body.pt589r-storefront .pt570-card-body > .pt570-test-row {
 display:flex!important; flex-wrap:wrap!important; align-items:baseline!important;
 gap:4px 12px!important; min-width:0!important; min-height:23px!important;
}
body.pt589r-storefront .pt570-test-row > * { flex:0 1 auto; margin:0!important; max-width:100%; }
body.pt589r-storefront .pt570-test-row .pt570-neutral { color:#69716d!important; }

/* Small accessory cards have a real badge row, not a badge floating over the product. */
body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt583-image-evidence {
 position:static!important; grid-column:1/-1!important; grid-row:1!important;
 align-self:flex-start!important; justify-self:start!important; max-width:100%!important;
 margin:0 0 6px!important;
}
body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt541-accessory-media { padding-top:0!important; }
@media(max-width:600px) {
 body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt541-accessory-media { grid-column:1!important; grid-row:2/span 2!important; }
 body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt541-accessory-title { grid-column:2!important; grid-row:2!important; }
 body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt541-accessory-price { grid-column:2!important; grid-row:3!important; }
 body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt541-accessory-add { grid-column:1/-1!important; grid-row:4!important; }
}
body.pt589r-storefront .pt546-review.pt583-review-host > .pt583-review-evidence { margin:0 0 15px!important; }
body.pt589r-storefront .pt546-review.pt583-review-host .pt546-review-head { margin-top:0!important; }
/* One clickable source badge: the original graphic is part of it, never a second overlay. */
body.pt589r-storefront :is(.pt583-image-evidence,.pt583-review-evidence) > img.pt589r-publisher-mark {
 display:block!important; position:static!important; flex:0 0 auto!important;
 width:34px!important; height:34px!important; min-width:0!important; max-width:68px!important; max-height:34px!important;
 object-fit:contain!important; margin:0!important; padding:0!important; inset:auto!important; transform:none!important;
 border:0!important; border-radius:0!important; box-shadow:none!important; background:none!important;
}
body.pt589r-storefront :is(.pt583-image-evidence,.pt583-review-evidence) > img.pt589r-publisher-mark-wide { width:68px!important; }
body.pt589r-storefront .pt583-image-evidence.pt589r-evidence-with-mark { padding-block:6px!important; gap:7px!important; }
/* Airstrait uses a separate gallery template; reserve the same clear badge row. */
body.pt589r-storefront.pt581-airstrait #mainContent .as-stage.pt583-product-evidence img[data-as-main-image] {
 padding-top:54px!important; box-sizing:border-box!important;
}

/* Published reviews stay; email requests and repeated retailer ratings do not occupy the hero. */
body.pt589r-storefront :is(.pt575-review-invite,.pt575-product-evidence-invite,.pt575-external-rating),
body.pt589r-storefront .pt543-review-controls a[href^="mailto:"][href*="subject=Kundeanmeldelse"] { display:none!important; }
body.pt589r-storefront #mainContent [data-pt543-reviews][hidden],
body.pt589r-storefront #mainContent [data-pt543-review-summary][hidden] { display:none!important; }
body.pt589r-storefront .pt575-product-evidence { margin-top:22px!important; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
body.pt589r-storefront .pt575-evidence-details { border:0!important; border-top:1px solid #dfe4df!important; border-radius:0!important; background:none!important; }
body.pt589r-storefront .pt575-evidence-details > summary { padding:17px 32px 17px 0!important; font-size:14px!important; font-weight:550!important; }
body.pt589r-storefront .pt575-evidence-details:not([open]) > :not(summary) { display:none!important; }
body.pt589r-storefront .pt575-evidence-content { padding:0 0 20px!important; }

/* Full imagery and a useful reason to explore another product. Existing AirPods cards remain. */
body.pt589r-storefront #mainContent .pt589r-related {
 width:100%; min-width:0; box-sizing:border-box; margin:38px 0 0; padding:30px 0 0;
 border:0; border-top:1px solid #dfe4df; background:none; box-shadow:none;
}
body.pt589r-storefront .pt589r-related > h2 { margin:0 0 24px!important; color:#202823!important; font-size:clamp(22px,2.5vw,28px)!important; font-weight:550!important; letter-spacing:-.03em; }
body.pt589r-storefront .pt589r-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
body.pt589r-storefront .pt589r-related-card { display:grid; grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr); align-items:center; gap:20px; min-width:0; padding:0; border:0; background:none; }
body.pt589r-storefront .pt589r-related-card > div { min-width:0; }
body.pt589r-storefront .pt589r-related-image { display:flex; align-items:center; justify-content:center; width:100%; aspect-ratio:1; min-width:0; background:#f3f4f1; border-radius:4px; }
body.pt589r-storefront .pt589r-related-image img { display:block; position:static; width:100%; height:100%; min-width:0; max-width:100%; max-height:100%; margin:0; padding:12px; box-sizing:border-box; object-fit:contain; }
body.pt589r-storefront .pt589r-related-card h3 { margin:0 0 7px!important; font-size:17px!important; font-weight:550!important; line-height:1.35!important; color:#202823!important; }
body.pt589r-storefront .pt589r-related-card h3 a { color:inherit; text-decoration:none; }
body.pt589r-storefront .pt589r-related-card .pt589r-related-reason { margin:0 0 12px!important; font-size:13px!important; line-height:1.55!important; color:#616b64!important; }
body.pt589r-storefront .pt589r-related-card .pt589r-related-price { margin:0 0 12px!important; font-size:19px!important; line-height:1.3!important; color:#202823!important; font-weight:600!important; }
body.pt589r-storefront .pt589r-related-link { display:inline-flex; align-items:center; min-height:38px; color:#3d6048; font-size:13px; text-underline-offset:4px; }
body.pt589r-storefront .pt589r-related a:focus-visible { outline:2px solid #55775e; outline-offset:4px; }
@media(max-width:800px) {
 body.pt589r-storefront .pt589r-related-grid { gap:22px; }
 body.pt589r-storefront .pt589r-related-card { grid-template-columns:minmax(0,1fr); align-items:start; gap:14px; }
 body.pt589r-storefront .pt589r-related-image { aspect-ratio:1.15; max-height:230px; }
 body.pt589r-storefront .pt589r-related-card h3 { font-size:16px!important; }
}
@media(max-width:380px) {
 body.pt589r-storefront .pt589r-related-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
 body.pt589r-storefront .pt589r-related-card { grid-template-columns:108px minmax(0,1fr); align-items:center; gap:15px; }
 body.pt589r-storefront .pt589r-related-image { aspect-ratio:1; }
}


/* PrisTek V590 — small premium polish only; commerce logic untouched. */
/* Compact sourced badges: keep every label inside the frame and away from the product. */
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) > .pt583-image-evidence,
body.pt589r-storefront .pt570-card-media > .pt583-image-evidence {
 max-width:calc(100% - 18px)!important; padding:5px 7px!important; gap:5px!important;
 border-radius:4px!important; overflow:hidden!important; box-sizing:border-box!important;
}
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) .pt583-image-evidence > img.pt589r-publisher-mark,
body.pt589r-storefront .pt570-card-media .pt583-image-evidence > img.pt589r-publisher-mark {
 width:27px!important; height:27px!important; max-width:27px!important; max-height:27px!important;
}
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) .pt583-image-evidence > img.pt589r-publisher-mark-wide,
body.pt589r-storefront .pt570-card-media .pt583-image-evidence > img.pt589r-publisher-mark-wide {
 width:48px!important; max-width:48px!important;
}
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) .pt583-image-evidence > strong,
body.pt589r-storefront .pt570-card-media .pt583-image-evidence > strong {
 font-size:10px!important; padding-right:5px!important; line-height:1.05!important;
}
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) .pt583-image-evidence .pt583-source-credit,
body.pt589r-storefront .pt570-card-media .pt583-image-evidence .pt583-source-credit {
 min-width:0!important; max-width:82px!important; overflow:hidden!important;
}
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) .pt583-image-evidence .pt583-publisher,
body.pt589r-storefront .pt570-card-media .pt583-image-evidence .pt583-publisher {
 display:block!important; max-width:100%!important; font-size:8.7px!important; line-height:1.05!important;
 white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
}
body.pt589r-storefront :is(.pt570-card,.pt575-accessory-card,.pt541-accessory) .pt583-image-evidence .pt583-source-credit > small,
body.pt589r-storefront .pt570-card-media .pt583-image-evidence .pt583-source-credit > small {
 display:block!important; max-width:100%!important; font-size:6.8px!important; line-height:1.05!important;
 white-space:normal!important; overflow-wrap:anywhere!important;
}
body.pt589r-storefront .pt570-card-media { padding-top:62px!important; }
body.pt589r-storefront .pt541-accessory.pt583-card-evidence > .pt583-image-evidence { margin-bottom:9px!important; }

/* Product-page badge can remain a touch larger but never overflow. */
body.pt589r-storefront.product-page-detail .pt583-product-evidence > .pt583-image-evidence {
 max-width:min(300px,calc(100% - 24px))!important; overflow:hidden!important; padding:6px 8px!important;
}
body.pt589r-storefront.product-page-detail .pt583-image-evidence .pt583-source-credit { min-width:0!important; }
body.pt589r-storefront.product-page-detail .pt583-image-evidence .pt583-source-credit > small { white-space:normal!important; overflow-wrap:anywhere!important; }

/* Accessory landing navigation: slim text rail instead of large pills. */
body.pt589r-storefront .pt575-accessory-hero nav {
 display:flex!important; flex-wrap:nowrap!important; gap:18px!important; overflow-x:auto!important;
 margin-top:24px!important; padding:8px 0 9px!important; border-top:1px solid #dfe4df!important;
 border-bottom:1px solid #dfe4df!important; scrollbar-width:none;
}
body.pt589r-storefront .pt575-accessory-hero nav::-webkit-scrollbar { display:none; }
body.pt589r-storefront .pt575-accessory-hero nav a {
 flex:0 0 auto!important; margin:0!important; padding:4px 0!important; border:0!important; border-radius:0!important;
 background:none!important; box-shadow:none!important; color:#486353!important; font-size:13px!important;
 line-height:1.3!important; text-decoration:none!important; white-space:nowrap!important;
}
body.pt589r-storefront .pt575-accessory-hero nav a:hover,
body.pt589r-storefront .pt575-accessory-hero nav a:focus-visible { color:#183a29!important; text-decoration:underline!important; text-underline-offset:5px!important; }

/* Accessory cards align even when one title wraps to two lines. */
body.pt589r-storefront .pt575-accessory-card > div { display:flex!important; flex-direction:column!important; min-width:0!important; height:100%!important; }
body.pt589r-storefront .pt575-accessory-card h3 { min-height:2.75em!important; margin-bottom:8px!important; }
body.pt589r-storefront .pt575-accessory-card > div > p { min-height:2.9em!important; margin-bottom:7px!important; }
body.pt589r-storefront .pt575-accessory-card .pt590-card-compare { display:block; min-height:2.4em; margin:0 0 5px; font-size:11px; line-height:1.25; color:#737c76; }
body.pt589r-storefront .pt575-accessory-card .pt590-card-compare a { color:inherit; text-decoration:none; }
body.pt589r-storefront .pt575-accessory-card .pt590-card-compare a:hover { text-decoration:underline; text-underline-offset:3px; }
body.pt589r-storefront .pt575-accessory-card > div > strong { margin-top:auto!important; }
body.pt589r-storefront .pt575-accessory-card .pt575-card-link { margin-top:18px!important; }

/* Market reference is supporting information, not another sales block. */
body.pt589r-storefront .pt590-market-ref { margin:8px 0 14px!important; font-size:12px!important; line-height:1.45!important; color:#747c77!important; }
body.pt589r-storefront .pt590-market-ref a { color:inherit!important; text-decoration:underline!important; text-decoration-color:#b7c0b9!important; text-underline-offset:3px!important; }

/* Cushion selectors stay inside the viewport; one pair is already explained in copy. */
body.pt589r-storefront .pt566-cushion-detail-main [data-pt566-cushion-detail],
body.pt589r-storefront .pt566-cushion-detail-main :is(select,button,input),
body.pt589r-storefront .pt568-cushion-detail :is(select,button,input) {
 max-width:100%!important; min-width:0!important; box-sizing:border-box!important;
}
body.pt589r-storefront .pt566-cushion-detail-main :is(.pt568-cushion-detail,.pt566-cushion-detail,.pt568-colour-picker) { max-width:100%!important; overflow:hidden!important; }
body.pt589r-storefront .pt566-cushion-detail-main .pt552-payment-row { margin-top:10px!important; }

/* Closed compatibility panel should not create a blank grey block. */
body.pt589r-storefront .pt575-product-help { margin:10px 0 0!important; padding-bottom:0!important; }
body.pt589r-storefront .pt575-product-help:not([open]) { margin-bottom:0!important; }
body.pt589r-storefront .pt575-product-help:not([open]) > summary { padding:15px 0!important; }
body.pt589r-storefront .pt575-product-help:not([open]) + * { margin-top:22px!important; }

/* Let white-background packaging sit naturally on the page without a visible white rectangle. */
body.pt589r-storefront img[src*="dyson-supersonic"][src*="box"],
body.pt589r-storefront img[src*="wf1000xm6"][src*="box"],
body.pt589r-storefront img[src*="sony-wh1000xm6"][src*="box"] { mix-blend-mode:multiply; background:transparent!important; }

@media(max-width:600px){
 body.pt589r-storefront .pt575-accessory-hero nav { gap:15px!important; margin-top:20px!important; }
 body.pt589r-storefront .pt575-accessory-hero nav a { font-size:12px!important; }
 body.pt589r-storefront .pt570-card-media { padding-top:58px!important; }
 body.pt589r-storefront .pt575-accessory-card h3 { min-height:3.05em!important; }
 body.pt589r-storefront .pt575-accessory-card > div > p { min-height:3.25em!important; }
}
