/* DermaPlus layer on top of Bella: brand type, colours and the dp-* sections */
:root {
  --dp-navy: #071f48;
  --dp-navy-2: #173a73;
  --dp-blue: #2c5aa0;
  --dp-peri: #9ab9eb;
  --dp-soft: #d2e4f5;
  --dp-tint: #e3eefb;
  --dp-text: #30476a;
  --dp-wa: #1a7f45;
  --dp-head: 'Rubik', sans-serif;
}

h1, h2, h3, .heading, [ui-slot="head"] .heading { font-family: var(--dp-head); font-weight: 900; }
[ui-slot="button"] { font-weight: 800; }

.dp-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 16px; }
.dp-section { padding-block: 48px; }
.dp-title { font-family: var(--dp-head); font-weight: 900; color: var(--dp-navy); font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 20px; }
.dp-eyebrow { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--dp-navy); background: #fff; padding: 6px 14px; border-radius: 999px; }
.dp-price { font-family: var(--dp-head); font-weight: 900; color: var(--dp-navy); }

/* Hero */
.dp-hero { background: var(--dp-soft); }
.dp-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-block: 44px; }
.dp-hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dp-hero__text h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.08; margin: 0; color: var(--dp-navy); }
.dp-hero__text p { font-size: 18px; line-height: 1.7; margin: 0; max-width: 540px; color: var(--dp-text); }
.dp-hero__media { flex: 1 1 380px; min-width: 0; }
.dp-hero__media img { width: 100%; height: clamp(280px, 40vw, 460px); object-fit: cover; border-radius: 24px; display: block; }
.dp-hero__offer { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 18px; max-width: 520px; }
.dp-hero__offer b { color: var(--dp-navy); display: block; }
.dp-hero__offer small { color: var(--dp-text); font-size: 13px; }
.dp-hero__offer .dp-price { font-size: 26px; white-space: nowrap; }
.dp-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Problems */
.dp-problems__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.dp-problems__item { display: flex; gap: 14px; align-items: center; border: 1px solid var(--dp-soft); border-radius: 18px; padding: 16px; font-size: 16px; line-height: 1.5; color: var(--dp-text); }
.dp-problems__num { flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--dp-soft); color: var(--dp-navy); display: flex; align-items: center; justify-content: center; font-family: var(--dp-head); font-weight: 900; }
.dp-problems__foot { margin: 18px 0 0; font-weight: 700; color: var(--dp-navy); font-size: 17px; }

/* Routine */
.dp-routine { background: var(--dp-navy); }
.dp-routine .dp-title { color: #fff; }
.dp-routine__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dp-routine__step { display: flex; gap: 16px; align-items: center; background: var(--dp-navy-2); border-radius: 20px; padding: 14px; }
.dp-routine__step img { flex: 0 0 96px; width: 96px; height: 96px; object-fit: cover; border-radius: 14px; background: #fff; }
.dp-routine__step b { display: block; font-size: 17px; margin-bottom: 4px; color: #fff; }
.dp-routine__step span { color: var(--dp-soft); font-size: 15px; line-height: 1.6; }
.dp-routine__note { margin: 16px 0 0; color: var(--dp-soft); font-size: 15px; }

/* WhatsApp float + product sticky bar */
.dp-wa-float { position: fixed; inset-inline-end: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--dp-wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(7, 31, 72, .28); }
.dp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 59; background: #fff; border-top: 1px solid var(--dp-soft); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); display: none; gap: 12px; align-items: center; }
.dp-sticky .dp-price { font-size: 20px; white-space: nowrap; }
.dp-sticky [ui-slot="button"] { flex: 1; }
@media (max-width: 768px) {
  .dp-sticky { display: flex; }
  body:has(.dp-sticky) .dp-wa-float { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  body:has(.dp-sticky) footer, body:has(.dp-sticky) #main { padding-bottom: 76px; }
  .dp-section { padding-block: 36px; }
}

/* ===== v2 (Nov 2026): Bricolage headings, Bella-style section heads, new dp-* sections ===== */
:root { --dp-head: 'Bricolage Grotesque', 'Rubik', sans-serif; --dp-gold: #e0a526; --dp-red: #c0583f; }
h1, h2, .dp-h2, .dp-price, .dp-feat__title { letter-spacing: -0.02em; }
.dp-ic { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.dp-head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-bottom: 24px; }
.dp-head--start { align-items: flex-start; text-align: start; margin-bottom: 4px; }
.dp-sub { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dp-blue); }
.dp-h2 { margin: 0; font-family: var(--dp-head); font-weight: 800; color: var(--dp-navy); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; }
.dp-head--light .dp-sub { color: var(--dp-peri); } .dp-head--light .dp-h2 { color: #fff; }
.dp-lead { text-align: center; margin: -12px auto 22px; max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--dp-text); }
.dp-lead--light { color: var(--dp-soft); }
.dp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: var(--dp-navy); background: #fff; padding: 6px 11px; border-radius: 999px; }
.dp-chip--tint { background: var(--dp-tint); }
.dp-price { font-family: var(--dp-head); font-weight: 800; color: var(--dp-navy); }
.dp-ship { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #1a7f45; background: #e3f4ea; padding: 5px 10px; border-radius: 999px; }
.dp-icchip { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--dp-navy); display: inline-flex; align-items: center; justify-content: center; }
.dp-icchip--bad { background: #fbe9e4; color: var(--dp-red); } .dp-icchip--peri { background: var(--dp-peri); } .dp-icchip--dark { background: var(--dp-navy-2); color: #fff; width: 56px; height: 56px; flex-basis: 56px; }
.dp-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.dp-scroll > * { scroll-snap-align: start; }

/* Hero v2 */
.dp-hero2 { background: var(--dp-soft); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 560px; }
.dp-hero2__text { order: 1; padding: 56px 40px 56px max(16px, calc((100vw - 1160px) / 2 + 16px)); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.dp-hero2__text h1 { margin: 0; font-family: var(--dp-head); font-weight: 800; color: var(--dp-navy); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; }
.dp-hero2__text p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--dp-text); }
.dp-hero2__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.dp-hero2__media { order: 2; position: relative; overflow: hidden; min-height: 300px; }
.dp-hero2__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.dp-quote { position: absolute; left: 24px; bottom: 28px; width: min(300px, calc(100% - 48px)); background: #fff; border-radius: 16px 16px 16px 4px; padding: 12px 14px; box-shadow: 0 10px 24px rgba(7,31,72,.18); display: flex; flex-direction: column; gap: 6px; }
.dp-quote__stars { color: var(--dp-gold); letter-spacing: 2px; font-size: 13px; }
.dp-quote__text { font-size: 13px; line-height: 1.45; font-weight: 700; color: var(--dp-navy); }
.dp-quote__who { font-size: 11px; font-weight: 700; color: var(--dp-blue); }
.dp-proofline { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--dp-navy); }
.dp-avatars { display: flex; } .dp-avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-inline-start: -10px; } .dp-avatars img:first-child { margin-inline-start: 0; }
.dp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 14px; border-top: 1px solid #b9d2ee; }
.dp-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--dp-navy); }
@media (max-width: 860px) {
  .dp-hero2 { grid-template-columns: 1fr; min-height: 0; }
  .dp-hero2__media { order: 0; height: 300px; overflow: visible; }
  .dp-hero2__img { object-position: 80% 50%; }
  .dp-quote { left: 12px; bottom: -28px; width: 240px; }
  .dp-hero2__text { padding: 44px 16px 22px; gap: 12px; }
  .dp-hero2__ctas [ui-slot="button"] { flex: 1 1 100%; box-sizing: border-box; max-width: 100%; }
  .dp-trust { gap: 8px 14px; } .dp-trust span { font-size: 12px; }
}

/* Routines */
.dp-routines { background: var(--dp-navy); }
.dp-feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: #fff; border-radius: 16px; padding: 20px; text-decoration: none; color: var(--dp-text); }
.dp-feat__media { position: relative; } .dp-feat__media img { width: 100%; height: 340px; object-fit: cover; object-position: 75% 50%; border-radius: 12px; display: block; }
.dp-badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--dp-navy); color: #fff; }
.dp-badge--gold { background: var(--dp-gold); color: var(--dp-navy); }
.dp-feat__body { display: flex; flex-direction: column; gap: 10px; }
.dp-feat__title { font-family: var(--dp-head); font-weight: 800; font-size: clamp(24px, 3vw, 34px); color: var(--dp-navy); }
.dp-pricerow { display: flex; align-items: center; gap: 10px; } .dp-pricerow .dp-price { font-size: clamp(26px, 3vw, 34px); }
.dp-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.dp-rcard { display: flex; flex-direction: column; gap: 10px; background: var(--dp-navy-2); border-radius: 14px; padding: 10px; color: #fff; text-decoration: none; }
.dp-rcard img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; display: block; }
.dp-rcard__body { display: flex; flex-direction: column; gap: 3px; } .dp-rcard__body span { font-size: 13px; color: var(--dp-soft); }
.dp-rcard__body small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--dp-peri); }
.dp-rcard .dp-price { color: #fff; font-size: 20px; }
@media (max-width: 768px) {
  .dp-feat { grid-template-columns: 1fr; gap: 12px; padding: 12px; } .dp-feat__media img { height: 200px; }
  .dp-rgrid { grid-template-columns: 1fr; } .dp-rcard { flex-direction: row; align-items: center; }
  .dp-rcard img { width: 84px; height: 84px; flex: 0 0 84px; } .dp-rcard__body { flex: 1; }
}

/* Why */
.dp-why { background: var(--dp-tint); }
.dp-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dp-why__card { background: #fff; border-radius: 16px; padding: 10px 10px 16px; display: flex; flex-direction: column; gap: 10px; }
.dp-why__media { height: 190px; border-radius: 12px; overflow: hidden; } .dp-why__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-why__txt { display: flex; gap: 10px; align-items: flex-start; padding: 0 4px; }
.dp-why__num { font-family: var(--dp-head); font-weight: 800; font-size: 30px; line-height: 1; color: var(--dp-peri); }
.dp-why__txt div { display: flex; flex-direction: column; gap: 4px; } .dp-why__txt div b { color: var(--dp-navy); font-size: 16px; line-height: 1.25; } .dp-why__txt div span { font-size: 13px; line-height: 1.5; }
.dp-vsmini { display: grid; grid-template-columns: 1fr 1fr; }
.dp-vsmini > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 8px; font-size: 12px; }
.dp-vsmini__bad { background: #fbe9e4; color: var(--dp-red); } .dp-vsmini__good { background: var(--dp-navy); color: #fff; } .dp-vsmini__good span { color: var(--dp-soft); }
.dp-chat { background: #e7ddd3; padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.dp-chat span { max-width: 85%; padding: 8px 10px; font-size: 12px; color: #1f2d3d; border-radius: 12px; }
.dp-chat__in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; } .dp-chat__out { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; }
@media (max-width: 960px) { .dp-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dp-why__grid { grid-template-columns: 1fr; } }

/* Proof */
.dp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.dp-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--dp-tint); border-radius: 14px; padding: 16px 6px; }
.dp-stat b { font-family: var(--dp-head); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; color: var(--dp-navy); }
.dp-stat span { font-size: 13px; font-weight: 700; }
.dp-vid { flex: 0 0 200px; height: 340px; border-radius: 14px; position: relative; overflow: hidden; background: var(--dp-navy); display: block; }
.dp-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dp-vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,31,72,0) 50%, rgba(7,31,72,.85)); }
.dp-vid__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--dp-navy); display: flex; align-items: center; justify-content: center; }
.dp-vid b { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; font-size: 13px; }
.dp-shot { flex: 0 0 190px; height: 340px; border-radius: 18px; border: 5px solid var(--dp-navy); overflow: hidden; background: #fff; box-sizing: border-box; }
.dp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (max-width: 768px) { .dp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dp-vid, .dp-shot { flex-basis: 160px; height: 270px; } }

/* Before / after */
.dp-ba { background: var(--dp-tint); }
.dp-ba__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.dp-ba__slider { position: relative; height: 560px; border-radius: 16px; overflow: hidden; background: var(--dp-soft); touch-action: pan-y; }
.dp-ba__slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dp-ba__before { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.dp-ba__line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.dp-ba__knob { position: absolute; top: 50%; left: var(--cut); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--dp-navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(7,31,72,.25); pointer-events: none; }
.dp-ba__tag { position: absolute; top: 12px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--dp-navy); color: #fff; }
.dp-ba__tag--l { left: 12px; } .dp-ba__tag--r { right: 12px; background: #fff; color: var(--dp-navy); } .dp-ba__tag--w { background: #fff; color: var(--dp-navy); }
.dp-ba__ill, .dp-ill { position: absolute; bottom: 10px; left: 10px; background: rgba(255,255,255,.85); color: var(--dp-navy); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.dp-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.dp-ba__side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.dp-tl { display: flex; flex-direction: column; gap: 12px; }
.dp-tl__row { display: flex; gap: 12px; align-items: center; } .dp-tl__row b { display: block; color: var(--dp-navy); } .dp-tl__row span { font-size: 14px; }
.dp-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; } .dp-ba__pair > div { position: relative; } .dp-ba__pair img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; display: block; }
.dp-note { font-size: 12px; color: var(--dp-text); }
@media (max-width: 860px) { .dp-ba__grid { grid-template-columns: 1fr; gap: 20px; } .dp-ba__slider { height: 420px; } .dp-ba__side [ui-slot="button"] { width: 100%; box-sizing: border-box; } }

/* Exfoliant */
.dp-exf { background: var(--dp-tint); }
.dp-exf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.dp-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dp-vs > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border-radius: 14px; padding: 18px 10px; font-size: 14px; }
.dp-vs__bad { background: #fff; border: 1px solid #f0c9bf; } .dp-vs__bad b { color: var(--dp-red); }
.dp-vs__good { background: var(--dp-navy); color: #fff; } .dp-vs__good span:last-child { color: var(--dp-soft); }
.dp-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dp-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dp-step__media { position: relative; width: 100%; } .dp-step__media img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; display: block; }
.dp-step__n { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--dp-navy); color: #fff; font-family: var(--dp-head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dp-ill { left: auto; right: 6px; bottom: 6px; font-size: 10px; }
.dp-step b { display: inline-flex; align-items: center; gap: 6px; color: var(--dp-navy); }
@media (max-width: 768px) { .dp-exf__grid { grid-template-columns: 1fr; } .dp-step__media img { height: 120px; } }

/* How to */
.dp-how { background: var(--dp-navy); }
.dp-how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.dp-how__item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #fff; font-weight: 700; font-size: 14px; }

/* Compare */
.dp-cmp__table { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); max-width: 760px; margin: 0 auto; border: 1px solid var(--dp-soft); border-radius: 12px; overflow: hidden; font-size: 15px; }
.dp-cmp__table > * { padding: 14px 10px; border-top: 1px solid var(--dp-soft); display: flex; align-items: center; justify-content: center; text-align: center; }
.dp-cmp__table > *:nth-child(-n+3) { border-top: 0; }
.dp-cmp__label { justify-content: flex-start; text-align: start; gap: 8px; font-weight: 700; color: var(--dp-navy); }
.dp-cmp__label .dp-ic { color: var(--dp-blue); }
.dp-cmp__us { background: var(--dp-navy); color: #fff; border-top-color: var(--dp-navy-2); }
.dp-cmp__no { color: var(--dp-red); }
@media (max-width: 560px) { .dp-cmp__table { font-size: 13px; } .dp-cmp__table > * { padding: 12px 6px; } }

/* v3: problem tiles */
.dp-pb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.dp-pb__tile { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.dp-pb__tile b { color: var(--dp-navy); font-size: 15px; }
.dp-pb__media { position: relative; height: 260px; border-radius: 14px; overflow: hidden; background: var(--dp-tint); }
.dp-pb__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-pb__media--icon { display: flex; align-items: center; justify-content: center; color: var(--dp-navy); }
.dp-pb__foot { text-align: center; margin: 18px 0 0; font-weight: 800; color: var(--dp-navy); }
@media (max-width: 768px) { .dp-pb__grid { gap: 8px; } .dp-pb__media { height: 140px; } .dp-pb__tile b { font-size: 13px; } .dp-pb__media .dp-ill { font-size: 9px; padding: 2px 6px; } }
