/* Uwish – productpagina */
.uwp, .uwp-hl, .uwp-drawer, .uwp-specs { --p-blue: #0c67cc; --p-soft: #e8f1fc; --p-ink: #14213d; --p-muted: #5b6577; --p-line: #dbe4f0; --p-ok: #12805c; --p-cta: #f5b83d; }

/* A. highlights naast de foto */
.uwp-hl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.uwp-hl-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--p-line); border-radius: 14px; min-width: 0; }
.uwp-hl-item i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--p-soft); display: grid; place-items: center; }
.uwp-hl-item svg, .uwp-wl svg { width: 22px; height: 22px; fill: none; stroke: var(--p-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.uwp-hl-item span { display: flex; flex-direction: column; min-width: 0; }
.uwp-hl-item small { font-size: 12px; color: var(--p-muted); line-height: 1.2; }
.uwp-hl-item strong { font-size: 15px; color: var(--p-ink); line-height: 1.3; overflow-wrap: anywhere; }
.uwp-allspecs { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 0; border: 0; background: none; color: var(--p-blue, #0c67cc); font-weight: 700; font-size: 15px; cursor: pointer; }
.uwp-allspecs:hover { text-decoration: underline; }
.uwp-allspecs--big { padding: 13px 22px; border: 1px solid var(--p-line); border-radius: 999px; background: #fff; }
.uwp-allspecs--big:hover { border-color: var(--p-blue); text-decoration: none; }

/* Overzicht */
.uwp { display: grid; gap: 14px; }
.uwp-sec { background: #fff; border: 1px solid var(--p-line); border-radius: 18px; padding: 22px 24px; }
.uwp-sec h3 { margin: 0 0 14px !important; font-size: 20px !important; color: var(--p-ink); }

/* D. uitleg */
.uwp-ex { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.uwp-ex div { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: #f5f8fc; }
.uwp-ex div::before { content: ""; position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--p-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.uwp-ex strong { display: block; color: var(--p-ink); font-size: 15px; margin-bottom: 2px; }
.uwp-ex p { margin: 0; color: var(--p-muted); font-size: 14px; line-height: 1.5; }

/* B. geschikt voor */
.uwp-sc { display: grid; gap: 12px; }
.uwp-sc-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; align-items: center; gap: 14px; font-weight: 600; color: var(--p-ink); font-size: 15px; }
.uwp-bar { position: relative; height: 10px; border-radius: 999px; background: #e9eef5; overflow: hidden; }
.uwp-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--n) * 20%); border-radius: 999px; background: linear-gradient(90deg, #0c67cc, #2b8cf0); }
.uwp-sc-row em { font-style: normal; font-size: 13px; font-weight: 700; text-align: right; }
.uwp-l5, .uwp-l4 { color: var(--p-ok); }
.uwp-l3 { color: var(--p-blue); }
.uwp-l2, .uwp-l1 { color: var(--p-muted); }
.uwp-note { margin: 12px 0 0; font-size: 13px; color: var(--p-muted); }

/* C. aansluitingen */
.uwp-ports { display: flex; flex-wrap: wrap; gap: 10px; }
.uwp-port { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 10px 12px; border: 1px solid var(--p-line); border-radius: 12px; background: #fff; font-size: 14px; color: var(--p-ink); }
.uwp-port::before { content: ""; width: 26px; height: 16px; border-radius: 4px; border: 2px solid var(--p-ink); flex: none; box-sizing: border-box; }
.uwp-port--usb-c::before { width: 22px; height: 10px; border-radius: 6px; }
.uwp-port--thunderbolt::before { width: 22px; height: 10px; border-radius: 6px; border-color: var(--p-blue); }
.uwp-port--usb-a::before { width: 22px; height: 10px; border-radius: 2px; }
.uwp-port--hdmi::before { width: 26px; height: 11px; border-radius: 2px 2px 6px 6px; }
.uwp-port--displayport::before { width: 24px; height: 12px; border-radius: 2px 6px 2px 2px; }
.uwp-port--vga::before { width: 26px; height: 13px; border-radius: 3px 3px 8px 8px; }
.uwp-port--netwerk-rj45::before { width: 18px; height: 16px; border-radius: 2px; }
.uwp-port--koptelefoon::before, .uwp-port--kaartlezer::before { width: 14px; height: 14px; border-radius: 50%; }
.uwp-port b { font-weight: 700; }
.uwp-port em { font-style: normal; font-weight: 800; color: var(--p-blue); }
.uwp-wl { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--p-ink); font-weight: 600; font-size: 15px; }
.uwp-intro { margin: 0; color: #3b4658; font-size: 16px; line-height: 1.7; }

/* specificaties (tab en paneel) */
.uwp-specs-find { width: 100%; max-width: 420px; padding: 11px 14px; border: 1px solid var(--p-line); border-radius: 12px; font-size: 15px; margin: 0 0 14px; }
.uwp-specs-groups { columns: 2 340px; column-gap: 16px; }
.uwp-sg { break-inside: avoid; border: 1px solid var(--p-line); border-radius: 14px; background: #fff; margin: 0 0 12px; }
.uwp-sg summary { list-style: none; cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--p-ink); display: flex; align-items: center; gap: 8px; }
.uwp-sg summary::-webkit-details-marker { display: none; }
.uwp-sg summary span { color: var(--p-muted); font-weight: 500; font-size: 13px; }
.uwp-sg summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 auto; border-right: 2px solid var(--p-muted); border-bottom: 2px solid var(--p-muted); transform: rotate(45deg); }
.uwp-sg[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.uwp-sg dl { margin: 0; padding: 0 16px 8px; }
.uwp-sg dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--p-line); font-size: 14px; }
.uwp-sg dt { color: var(--p-muted); margin: 0; }
.uwp-sg dd { margin: 0; color: var(--p-ink); font-weight: 600; overflow-wrap: anywhere; }
.uwp-yes { color: var(--p-ok); font-weight: 800; }
.uwp-no { color: var(--p-muted); }

/* uitschuifpaneel */
.uwp-drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; }
.uwp-drawer.is-open { visibility: visible; }
.uwp-drawer-bg { position: absolute; inset: 0; background: rgba(20, 33, 61, .45); opacity: 0; transition: opacity .25s; }
.uwp-drawer.is-open .uwp-drawer-bg { opacity: 1; }
.uwp-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 94vw); background: #f5f8fc; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 50px rgba(0, 0, 0, .2); }
.uwp-drawer.is-open .uwp-drawer-panel { transform: none; }
.uwp-drawer-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--p-line); }
.uwp-drawer-panel header small { display: block; color: var(--p-blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.uwp-drawer-panel header strong { color: var(--p-ink); font-size: 17px; }
.uwp-drawer-panel header button { border: 0; background: #f1f5f9; width: 40px; height: 40px; border-radius: 12px; font-size: 26px; line-height: 1; cursor: pointer; color: var(--p-ink); }
.uwp-drawer-body { overflow-y: auto; padding: 18px 22px 30px; }
.uwp-drawer-body .uwp-specs-groups { columns: 1; }

@media (max-width: 700px) {
	.uwp-hl { grid-template-columns: 1fr 1fr; }
	.uwp-hl-item { padding: 10px; gap: 8px; }
	.uwp-hl-item i { width: 34px; height: 34px; }
	.uwp-sec { padding: 18px 16px; }
	.uwp-sc-row { grid-template-columns: 110px minmax(0, 1fr) 72px; gap: 10px; font-size: 14px; }
	.uwp-specs-groups { columns: 1; }
}
.woocommerce-Tabs-panel--description > h2:first-child, .woocommerce-Tabs-panel--additional_information > h2:first-child { display: none; }
.uwp-hl { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.uwp-hl-item strong { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.bde-tabs__panel-content > h2:first-child { display: none; }

/* galerij: zolang de slider nog niet gestart is (Woo zet opacity 0), de eindhoogte al vastleggen: geen verspringen */
.woocommerce-product-gallery[style*="opacity: 0"] { aspect-ratio: 4 / 5; overflow: hidden; }
.woocommerce-product-gallery[style*="opacity: 0"]:not(:has(.woocommerce-product-gallery__image:nth-child(2))) { aspect-ratio: 1 / 1; }
.woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: contain; }
