/* NØSEN Campaign 1.0.8 – Arial on badges only; approved gallery and category positioning unchanged. */
.ncp-badge {
  --ncp-fill:#33485a; --ncp-accent:#a4d6e4; --ncp-tint:#edf2f6; --ncp-ink:#29435b;
  box-sizing:border-box;display:inline-flex;align-items:center;gap:0;
  max-width:calc(100% - 16px);width:max-content;min-width:0;overflow:hidden;
  white-space:nowrap;text-overflow:ellipsis;vertical-align:middle;pointer-events:none;
  font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:600;line-height:1.3;
  letter-spacing:.15px;text-transform:uppercase;border:0;border-radius:3px;
  padding:0;box-shadow:none;background:transparent;color:var(--ncp-ink);
}
.ncp-badge--black_friday {--ncp-fill:#202225;--ncp-accent:#e32d31;--ncp-tint:#f7eeee;--ncp-ink:#202225}
.ncp-badge--gift {--ncp-fill:#226d48;--ncp-accent:#dbbd6e;--ncp-tint:#e9f4ed;--ncp-ink:#176342}
.ncp-badge--new {--ncp-fill:#245f9e;--ncp-accent:#79b7ea;--ncp-tint:#eaf3fc;--ncp-ink:#255b91}
.ncp-badge--weekly {--ncp-fill:#af5f16;--ncp-accent:#f9d295;--ncp-tint:#fff1df;--ncp-ink:#99500d}
.ncp-badge--seasonal {--ncp-fill:#6c4b8c;--ncp-accent:#d4b5e8;--ncp-tint:#f2eafa;--ncp-ink:#633e83}
.ncp-badge--recommend {--ncp-fill:#177b78;--ncp-accent:#9bdbce;--ncp-tint:#e7f6f3;--ncp-ink:#136f6b}
.ncp-badge--custom {--ncp-fill:#425769;--ncp-accent:#a9c7d5;--ncp-tint:#ecf2f6;--ncp-ink:#354c61}
/* A: restrained, saturated mini-brand badge – primary proposal */
.ncp-badge--layout-impact {background:var(--ncp-fill);color:#fff;border-left:3px solid var(--ncp-accent);padding:6px 9px;
  box-shadow:0 2px 6px rgba(0,0,0,.10);font-size:12px;letter-spacing:.15px;border-radius:3px}
/* B: tinted label, more visible than the former nearly-invisible white chip */
.ncp-badge--layout-corner {background:var(--ncp-tint);color:var(--ncp-ink);border:1px solid var(--ncp-accent);
  padding:6px 9px;font-size:12px;box-shadow:0 1px 4px rgba(0,0,0,.055)}
/* C: neutral white sticker with a bold colored left edge */
.ncp-badge--layout-accent {background:#fff;color:var(--ncp-ink);border:1px solid #dee5e3;
  border-left:4px solid var(--ncp-fill);padding:6px 10px;font-size:12px;box-shadow:0 2px 6px rgba(0,0,0,.075)}
/* D: readable text mark on the line above the product name */
.ncp-badge--layout-below {position:static;display:inline-flex;color:var(--ncp-ink);font-size:12px;font-weight:600;
  padding:0 0 4px;border-bottom:2px solid var(--ncp-accent);margin:0 0 5px;letter-spacing:.15px}
.ncp-has-image-mark {position:relative}
.vvts-product-card__image>.ncp-badge:not(.ncp-badge--layout-below),
.noesen-product-card__image>.ncp-badge:not(.ncp-badge--layout-below),
.ncp-preview-image>.ncp-badge:not(.ncp-badge--layout-below) {position:absolute;top:12px;left:12px;z-index:3}
.woocommerce ul.products li.product:has(.ncp-badge--layout-impact),
.woocommerce ul.products li.product:has(.ncp-badge--layout-corner),
.woocommerce ul.products li.product:has(.ncp-badge--layout-accent) {position:relative}
.woocommerce ul.products li.product .ncp-badge--layout-impact,
.woocommerce ul.products li.product .ncp-badge--layout-corner,
.woocommerce ul.products li.product .ncp-badge--layout-accent {position:absolute;top:10px;left:10px;z-index:2}
.woocommerce ul.products li.product .ncp-badge--layout-below {display:flex;width:max-content;margin:7px 0 6px}
/* Single product: fixed-position overlay anchored to the actual photo. */
.single-product .ncp-single-badge {display:none;line-height:1;margin:0;pointer-events:none}
.single-product .ncp-single-badge--gallery {display:flex;position:fixed;z-index:7;top:0;left:0;
  width:max-content;max-width:calc(100vw - 28px);align-items:center;justify-content:flex-start}
.single-product .ncp-single-badge--gallery .ncp-badge {position:static;max-width:100%}
/* No inline fallback: a label without a confirmed image anchor must be hidden. */
.single-product .ncp-single-badge--inline,
.single-product .ncp-single-badge--pending {display:none!important}

/* Standalone shortcode preview: never style unprefixed theme, category, price, or Woo elements. */
.ncp-preview {width:100%;max-width:1310px;margin:18px auto 34px;padding:0 16px;color:#26342d;font-family:inherit;line-height:1.45}
.ncp-preview,.ncp-preview *,.ncp-preview *::before,.ncp-preview *::after {box-sizing:border-box}
.ncp-preview .ncp-preview-header {padding:18px 20px 16px;margin-bottom:12px;border:1px solid #e3e9e5;border-radius:7px;background:#f9fbf9}
.ncp-preview .ncp-preview-eyebrow {font-size:12px;font-weight:600;letter-spacing:.45px;color:#4d8960}
.ncp-preview .ncp-preview-header h2 {color:#24342a;font-size:clamp(19px,2.4vw,25px);font-weight:600;line-height:1.2;margin:6px 0 7px;padding:0}
.ncp-preview .ncp-preview-header p {font-size:14px;line-height:1.5;margin:0;color:#56675c}
.ncp-preview .ncp-preview-controls {display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;border:1px solid #e1e7e3;background:#fff;border-radius:7px;padding:13px;margin:0 0 12px}
.ncp-preview .ncp-preview-controls label {display:flex;flex:1 1 180px;flex-direction:column;gap:5px;min-width:0;color:#3e5044;font-size:12px;font-weight:600;line-height:1.3;margin:0}
.ncp-preview .ncp-preview-controls select {appearance:auto;min-height:39px;max-width:100%;width:100%;padding:8px 10px;border:1px solid #ccd8ce;border-radius:5px;background:#fff;box-shadow:none;color:#27372b;font:inherit;font-size:13px}
.ncp-preview .ncp-preview-controls button {cursor:pointer;min-height:39px;border:0;border-radius:5px;background:#358d4b;color:#fff;padding:9px 15px;font:inherit;font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap}
.ncp-preview .ncp-preview-controls button:hover {background:#27743b}
.ncp-preview .ncp-preview-palette {display:flex;align-items:center;gap:15px;flex-wrap:wrap;border:1px solid #e7ece8;background:#fcfdfc;border-radius:7px;padding:13px 15px;margin:0 0 13px}
.ncp-preview .ncp-preview-palette-label {display:flex;flex-direction:column;gap:2px;min-width:150px}
.ncp-preview .ncp-preview-palette-label strong {font-size:13px;color:#2d4032}
.ncp-preview .ncp-preview-palette-label span {font-size:12px;color:#596c60}
.ncp-preview .ncp-preview-palette-items {display:flex;gap:8px 10px;flex-wrap:wrap;align-items:center}
.ncp-preview .ncp-preview-palette-items .ncp-badge {position:static;margin:0;max-width:100%}
.ncp-preview .ncp-preview-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.ncp-preview .ncp-preview-card {display:flex;flex-direction:column;min-width:0;margin:0;border:1px solid #e3e7e5;background:#fff;border-radius:5px;overflow:hidden;box-shadow:none;transition:none}
.ncp-preview .ncp-preview-image {display:flex;position:relative;align-items:center;justify-content:center;flex:0 0 auto;aspect-ratio:1/1;padding:12px;background:#fff;overflow:hidden;border:0;text-decoration:none}
.ncp-preview .ncp-preview-image img {width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block;margin:0;border:0;box-shadow:none}
.ncp-preview .ncp-preview-card-body {display:flex;flex-direction:column;gap:8px;padding:12px 14px 15px;min-width:0;flex:1}
.ncp-preview .ncp-preview-card-title {font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;color:#242c26;min-height:2.8em;margin:0;padding:0;text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
.ncp-preview .ncp-preview-card-title a {font:inherit;color:inherit;text-decoration:none;border:0;box-shadow:none}
.ncp-preview .ncp-preview-card-title a:hover {color:#378044;text-decoration:none}
.ncp-preview .ncp-preview-card-body>.ncp-badge--layout-below {margin:0 0 0;line-height:1.3}
.ncp-preview .ncp-preview-price {font-size:17px;line-height:1.35;font-weight:700;color:#1e2722;margin:auto 0 0}
.ncp-preview .ncp-preview-price del {font-size:12px;font-weight:500;color:#829087;opacity:1}
.ncp-preview .ncp-preview-price ins {text-decoration:none;color:#348844}
.ncp-preview .ncp-preview-stock {font-size:12px;line-height:1.4;font-weight:600;color:#448a51}
.ncp-preview .ncp-preview-stock::before {content:"";display:inline-block;width:6px;height:6px;margin-right:6px;vertical-align:2px;border-radius:50%;background:currentColor}
.ncp-preview .ncp-preview-stock.is-out-of-stock {color:#b64940}
.ncp-preview .ncp-preview-match {font-size:12px;color:#647468;margin-top:3px}
.ncp-preview .ncp-preview-match.is-match {color:#448a51}
.ncp-preview .ncp-preview-rule,.ncp-preview .ncp-preview-note,.ncp-preview .ncp-preview-bottom {padding:11px 13px;border:1px solid #e7ece7;border-radius:6px;margin:0 0 14px;font-size:13px;line-height:1.55;color:#52665a;background:#fafcfa}
.ncp-preview .ncp-preview-bottom {margin:17px 0 0}
.ncp-preview .ncp-preview-note--attention {border-color:#f0dbb8;background:#fff9ef;color:#775b37;margin-top:12px}
.ncp-preview-private {padding:12px 14px;border:1px solid #e1e7e2;border-radius:5px}
@media(max-width:1050px){.ncp-preview .ncp-preview-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:790px){.ncp-preview .ncp-preview-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ncp-preview .ncp-preview-palette-label {min-width:100%}}
@media(max-width:490px){.ncp-preview {padding:0 9px}.ncp-preview .ncp-preview-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ncp-preview .ncp-preview-image {padding:7px}.ncp-preview .ncp-preview-card-body {padding:10px;gap:6px}.ncp-preview .ncp-preview-card-title {font-size:13px}.ncp-preview .ncp-preview-price {font-size:14px}.ncp-preview .ncp-preview-stock {font-size:11px}.ncp-preview .ncp-preview-controls label {flex-basis:100%}.ncp-preview .ncp-preview-controls button {width:100%}.ncp-preview .ncp-badge {font-size:11px;padding:5px 7px}.ncp-preview .ncp-preview-palette {padding:10px}}

/* Real product-card adapters: positioning without modifying provider CSS or source files. */
.vvts-product-card__image.ncp-has-image-mark,
.noesen-product-card__image.ncp-has-image-mark {position:relative}
.vvts-product-card__image > .ncp-badge,
.noesen-product-card__image > .ncp-badge {font-family:Arial,Helvetica,sans-serif;font-weight:600;letter-spacing:.15px}
