/* This page is white (paper), so the iOS bottom overscroll is white,
   not the dark footer color set on <html> in styles.css. */
html { background-color: var(--paper); }

.pl { container: plpage / inline-size; background: var(--paper); color: var(--graphite); min-height: 100%; }

/* header/footer are shared partials — see .lz-subhead / .lz-subfoot in styles.css */

/* hero */
.pl-hero { text-align: center; padding: 32px 16px 6px; }
.pl-hero .lz-eyebrow { justify-content: center; font-weight: 600; }
.pl-hero h1 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 14px; }
.pl-hero h1 em { font-style: italic; color: var(--sage); }
.pl-hero p { font-size: 12px; color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }

/* main tabs */
/* Tabs strip with the shared scroll affordance (edge fade + progress + arrows).
   The shell carries the sticky positioning + cream backdrop; the <nav> scrolls. */
.pl-tabs-shell {
  position: sticky; top: 62px; z-index: 40;
  margin: 16px auto 0; max-width: 980px;
  background: linear-gradient(var(--paper), var(--paper) 70%, transparent);
}
.pl-tabs {
  display: flex; gap: 7px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
  padding: 16px 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pl-tabs::-webkit-scrollbar { display: none; }
.pl-tabs button {
  flex: none; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--paper);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.pl-tabs button:hover { border-color: var(--sage-soft); color: var(--graphite); }
.pl-tabs button.is-active { background: var(--sage); color: #fbfaf6; border-color: var(--sage); box-shadow: 0 8px 20px rgba(164,141,120,.28); }

/* edge fades */
.pl-tabs-shell::before,
.pl-tabs-shell::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40px; pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity .25s var(--ease);
}
.pl-tabs-shell::before { left: 0;  background: linear-gradient(90deg, var(--cream), transparent); }
.pl-tabs-shell::after  { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }
.pl-tabs-shell.is-scroll-l::before { opacity: 1; }
.pl-tabs-shell.is-scroll-r::after  { opacity: 1; }
/* progress bar */
.pl-tabs-prog { height: 4px; margin: 0 22px 8px; background: var(--cream-2); border-radius: var(--radius-pill); overflow: hidden; opacity: 0; transition: opacity .25s var(--ease); }
.pl-tabs-shell.is-scrollable .pl-tabs-prog { opacity: 1; }
.pl-tabs-prog__bar { display: block; height: 100%; width: 30%; background: var(--sage); border-radius: var(--radius-pill); will-change: margin-left, width; }
/* arrows */
.pl-tabs-arrow {
  /* top = vertical centre of the tab row (nav padding-top 16px + chip half),
     measured from the shell top where the nav starts — independent of the
     progress bar below, so the arrow sits dead-centre on the chips. */
  position: absolute; top: 36px; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; z-index: 4;
  box-shadow: 0 3px 9px rgba(58,51,44,.12);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.pl-tabs-arrow--right { right: 14px; }
.pl-tabs-arrow--left  { left: 14px; }
.pl-tabs-arrow svg { width: 18px; height: 18px; }
.pl-tabs-shell.is-scroll-r .pl-tabs-arrow--right { opacity: 1; pointer-events: auto; }
.pl-tabs-shell.is-scroll-l .pl-tabs-arrow--left  { opacity: 1; pointer-events: auto; }
.pl-tabs-arrow:hover { background: var(--cream); color: var(--sage-deep); border-color: var(--sage-soft); }
.pl-tabs-arrow:active { transform: translateY(-50%) scale(.9); }

/* panels */
.pl-wrap { max-width: 940px; margin: 0 auto; padding: 24px 16px 44px; }
.pl-panel { display: none; }
.pl-panel.is-active { display: block; animation: plFade .35s var(--ease) both; }
@keyframes plFade { from { transform: translateY(8px); } to { transform: none; } }

/* secondary toggle (laser type) */
.pl-sub {
  display: inline-flex; gap: 4px; background: var(--cream); padding: 5px; border-radius: var(--radius-pill);
  margin: 0 auto 32px; border: 1px solid var(--line-soft);
}
.pl-subwrap { display: flex; justify-content: center; }
.pl-sub button {
  position: relative;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 18px; border-radius: var(--radius-pill); transition: background .2s, color .2s, box-shadow .2s;
}
.pl-sub button.is-active { background: var(--paper); color: var(--graphite); box-shadow: var(--shadow-sm); }
/* "only in Varna" badge on the Lumenis tab + the notice in its subpanel */
.pl-sub__badge {
  display: inline-block; margin-left: 7px; font-size: 9.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep);
  background: var(--sage-tint); padding: 2px 7px; border-radius: var(--radius-pill); vertical-align: middle;
}
.pl-citynote {
  display: flex; align-items: center; gap: 11px; justify-content: center; text-align: left;
  max-width: 560px; margin: -6px auto 24px; padding: 12px 16px;
  background: var(--sage-tint); border-radius: 13px;
  font-size: 13px; line-height: 1.5; color: var(--sage-deep);
}
.pl-citynote svg { width: 18px; height: 18px; flex: none; }
.pl-citynote b { font-weight: 700; }
.pl-subpanel { display: none; }
.pl-subpanel.is-active { display: block; }

.pl-note {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 12.5px; color: var(--ink-faint); margin: 0 auto 26px; text-align: center;
}
.pl-note svg { width: 14px; height: 14px; flex: none; }

/* group / sub-category */
.pl-group { margin-bottom: 30px; break-inside: avoid; }
.pl-group__head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.pl-group__ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; }
.pl-group__ic svg { width: 21px; height: 21px; }
.pl-group h3 { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -.01em; margin: 0; line-height: 1.1; }
.pl-group__sub { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }

/* rows with dotted leaders */
.pl-rows { display: flex; flex-direction: column; }
.pl-row {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 11px 4px;
}
.pl-row__name { font-size: 15.5px; font-weight: 500; color: var(--graphite); display: flex; flex-direction: column; }
.pl-row__name small { font-size: 11.5px; font-weight: 400; color: var(--ink-faint); margin-top: 2px; }
.pl-row__dots { flex: 1; border-bottom: 1.5px dotted var(--sage-soft); transform: translateY(-5px); min-width: 18px; }
.pl-row__price { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--sage-deep); white-space: nowrap; text-align: right; }
.pl-row__price s { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-faint); margin-right: 6px; }
/* Secondary BGN price under the € (euro-changeover dual display). */
.pl-row__price small { display: block; font-size: inherit; font-weight: 500; color: inherit; margin-top: 1px; }
/* Promo (laser-epilation) price: new price in brand red, old price struck below. */
.pl-row__price--sale { color: var(--red); }
.pl-row__price--sale s { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--ink-faint); text-decoration: line-through; margin: 1px 0 0; }

.pl-cta {
  text-align: center; margin-top: 40px; padding: 44px 24px 0;
  border-top: 1px solid var(--line-soft);
}
.pl-cta h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.pl-cta h3 em { font-style: italic; color: var(--sage); }
.pl-cta p { font-size: 14px; color: var(--ink-soft); margin: 0 auto 20px; max-width: 46ch; }
.pl-cta .lz-btn { height: 48px; }

@container plpage (min-width: 760px) {
  .pl-hero { padding: 66px 48px 6px; }
  .pl-hero h1 { font-size: 62px; }
  .pl-hero p { font-size: 15px; }
  /* Desktop: tabs wrap and centre — no scrolling, so drop the affordance UI. */
  .pl-tabs-shell { top: 70px; }
  .pl-tabs { justify-content: center; flex-wrap: wrap; overflow: visible; }
  .pl-tabs-arrow, .pl-tabs-prog { display: none; }
  .pl-tabs-shell::before, .pl-tabs-shell::after { display: none; }
  .pl-wrap { padding: 28px 48px 44px; }
  .pl-cols { columns: 2; column-gap: 46px; }
  .pl-cols .pl-group { break-inside: avoid; }
}
