/* ==========================================================================
   Premium Arabic/English theme for YouCan — section styles
   Depends on the tokens declared in px-theme.css. 1rem = 10px.
   ========================================================================== */

/* ------------------------------------------------------------ Section head */
.px-head {
  display: grid;
  gap: 10px;
  margin-block-end: clamp(24px, 3.5vw, 44px);
  max-width: 68ch;
}
.px-head[data-align='center'] {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.px-eyebrow {
  font-size: 1.25rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--px-accent);
}
html[lang='ar'] .px-eyebrow { letter-spacing: 0; font-size: 1.45rem !important; }
html[data-palette='blue'] .px-section:not([data-scheme='primary']) .px-eyebrow { color: var(--px-primary); }
html[data-palette='black'] .px-section:not([data-scheme='primary']) .px-eyebrow { color: var(--px-muted); }
html[data-palette='navy_gold'] .px-section:not([data-scheme='primary']) .px-eyebrow,
html[data-palette='emerald'] .px-section:not([data-scheme='primary']) .px-eyebrow,
html[data-palette='charcoal'] .px-section:not([data-scheme='primary']) .px-eyebrow { color: color-mix(in srgb, var(--px-accent) 62%, var(--px-text)); }
.px-section[data-scheme='primary'] .px-eyebrow { color: var(--px-s-muted); }
.px-head__title {
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  color: var(--px-s-fg);
}
.px-head__title::after {
  content: '';
  display: var(--px-title-rule, none);
  width: 56px;
  height: 2px;
  margin-block-start: 14px;
  background: var(--px-accent);
}
.px-head[data-align='center'] .px-head__title::after { margin-inline: auto; }
.px-head__text {
  font-size: 1.65rem !important;
  line-height: 1.7;
  color: var(--px-s-muted);
  text-wrap: pretty;
}
.px-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-block-end: clamp(20px, 3vw, 36px);
}
.px-head-row .px-head { margin-block-end: 0; }
.px-head-row[data-align='center'] { flex-direction: column; align-items: center; }
.px-head-row .px-link { font-size: 1.45rem; }
.px-more { margin-block-start: 28px; text-align: center; }
.px-more .px-link { font-size: 1.5rem; }

/* ------------------------------------------------------------------- Grid */
.px-grid {
  display: grid;
  grid-template-columns: repeat(var(--px-cols, 4), minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.px-grid > li { min-width: 0; }
@media (max-width: 1024px) {
  .px-grid { grid-template-columns: repeat(min(var(--px-cols, 4), 3), minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-grid[data-mobile='scroll'] {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--px-gutter) * -1);
    padding-inline: var(--px-gutter);
    scroll-padding-inline: var(--px-gutter);
    scrollbar-width: none;
  }
  .px-grid[data-mobile='scroll']::-webkit-scrollbar { display: none; }
  .px-grid[data-mobile='scroll'] > li {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
}

/* ------------------------------------------------------------------- Hero */
.px-hero {
  position: relative;
  background: var(--px-surface);
  color: var(--px-text);
  overflow: hidden;
  --px-hero-min: 520px;
}
.px-hero[data-height='small'] { --px-hero-min: 400px; }
.px-hero[data-height='large'] { --px-hero-min: 660px; }
.px-hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.px-hero__track::-webkit-scrollbar { display: none; }
.px-hero__slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  min-height: var(--px-hero-min);
}
.px-hero__media, .px-hero__content { grid-area: 1 / 1; }
.px-hero__media img, .px-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.px-hero__content {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px);
}
.px-hero__text {
  display: grid;
  gap: 18px;
  max-width: 56rem;
  justify-items: start;
}
.px-hero__title {
  font-size: clamp(3.2rem, 5.4vw, 6.4rem);
  line-height: 1.08;
}
html[lang='ar'] .px-hero__title { line-height: 1.3; }
.px-hero__lead {
  font-size: clamp(1.6rem, 1.4vw, 1.9rem);
  line-height: 1.7;
  max-width: 46ch;
  color: var(--px-muted);
}
.px-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.px-hero__cod {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--px-muted);
}
.px-hero .px-eyebrow { color: var(--px-primary); }
html[data-palette='navy_gold'] .px-hero .px-eyebrow,
html[data-palette='emerald'] .px-hero .px-eyebrow,
html[data-palette='charcoal'] .px-hero .px-eyebrow { color: color-mix(in srgb, var(--px-accent) 62%, var(--px-text)); }
html[data-palette='black'] .px-hero .px-eyebrow { color: var(--px-muted); }

/* split layout: text beside image */
.px-hero[data-layout='split'] .px-hero__slide { grid-template-columns: 1fr 1fr; }
.px-hero[data-layout='split'] .px-hero__media { grid-area: 1 / 2; position: relative; overflow: hidden; }
.px-hero[data-layout='split'] .px-hero__media img { position: absolute; inset: 0; }
.px-hero[data-layout='split'] .px-hero__content {
  grid-area: 1 / 1;
  max-width: none;
  padding-inline-start: max(var(--px-gutter), calc((100vw - var(--px-max)) / 2));
  padding-inline-end: clamp(24px, 4vw, 64px);
}
/* overlay layout: text over image */
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) { color: #fff; }
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) .px-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--px-hero-overlay, 0.4));
}
.px-hero[data-layout='overlay'] .px-hero__media { position: relative; }
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) .px-hero__lead,
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) .px-hero__cod,
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) .px-eyebrow { color: rgba(255, 255, 255, 0.88); }
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) .px-btn--primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.px-hero[data-layout='overlay'] .px-hero__slide:not(.px-hero__slide--art) .px-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.px-hero[data-layout='overlay'] .px-hero__slide--art .px-hero__art { opacity: 0.55; }

/* decorative panel drawn with the palette (used until an image is added) */
.px-hero__art, .px-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(var(--px-accent-rgb), 0.38), transparent 60%),
    linear-gradient(140deg, var(--px-accent-soft), var(--px-surface));
}
.px-hero__art i, .px-art i {
  position: absolute;
  display: block;
  border-radius: var(--px-radius-card);
}
.px-hero__art i:nth-child(1), .px-art i:nth-child(1) {
  inset-inline-end: 12%;
  inset-block-start: 14%;
  width: 46%;
  aspect-ratio: 3 / 4;
  background: var(--px-primary);
  box-shadow: var(--px-shadow-pop);
}
.px-hero__art i:nth-child(2), .px-art i:nth-child(2) {
  inset-inline-end: 46%;
  inset-block-end: 12%;
  width: 30%;
  aspect-ratio: 1;
  background: var(--px-card);
  border: var(--px-card-border);
  box-shadow: var(--px-shadow-card);
}
.px-hero__art i:nth-child(3), .px-art i:nth-child(3) {
  inset-inline-end: 6%;
  inset-block-end: 8%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--px-accent);
}
html[data-palette='black'] .px-hero__art, html[data-palette='black'] .px-art {
  background: linear-gradient(140deg, #ececee, #f8f8f9);
}
html[data-palette='black'] .px-hero__art i:nth-child(3), html[data-palette='black'] .px-art i:nth-child(3) { border-radius: 0; }
.px-art { border-radius: var(--px-radius-card); aspect-ratio: 4 / 3; height: auto; }

.px-hero__nav {
  position: absolute;
  inset-block-end: 18px;
  inset-inline: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.px-hero__nav > * { pointer-events: auto; }
.px-hero__dots { display: flex; gap: 8px; }
.px-body .px-hero__dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border-radius: 2px;
  background: color-mix(in srgb, currentColor 28%, transparent);
}
.px-body .px-hero__dots button[aria-current='true'] { background: currentColor; }

@media (max-width: 860px) {
  .px-hero { --px-hero-min: 0; }
  .px-hero[data-layout='split'] .px-hero__slide { grid-template-columns: 1fr; }
  .px-hero[data-layout='split'] .px-hero__media { grid-area: 1 / 1; aspect-ratio: 4 / 3; }
  .px-hero[data-layout='split'] .px-hero__content { grid-area: 2 / 1; padding-inline: var(--px-gutter); padding-block: 28px 56px; }
  .px-hero[data-layout='overlay'] .px-hero__slide { min-height: 78vw; }
  .px-hero__cta .px-btn { flex: 1 1 auto; }
}

/* -------------------------------------------------------------- Categories */
.px-cats {
  display: grid;
  grid-template-columns: repeat(var(--px-cols, 4), minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.px-cat { display: grid; gap: 12px; text-align: center; }
.px-cat__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--px-radius-card);
  background: var(--px-s-card);
  border: var(--px-card-border);
}
.px-section[data-scheme='background'] .px-cat__media { background: var(--px-surface); }
.px-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--px-ease);
}
.px-cat:hover .px-cat__media img { transform: scale(1.05); }
.px-cat__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--px-s-muted);
  background:
    radial-gradient(90% 70% at 80% 15%, rgba(var(--px-accent-rgb), 0.28), transparent 60%),
    var(--px-accent-soft);
}
.px-cat__name { font-size: 1.6rem; font-weight: 600; color: var(--px-s-fg); }
.px-cats[data-style='circle'] .px-cat__media { aspect-ratio: 1; border-radius: 50%; }
.px-cats[data-style='circle'] { grid-template-columns: repeat(var(--px-cols, 4), minmax(0, 1fr)); }
@media (max-width: 860px) {
  .px-cats {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--px-gutter) * -1);
    padding-inline: var(--px-gutter);
    scroll-padding-inline: var(--px-gutter);
    scrollbar-width: none;
  }
  .px-cats::-webkit-scrollbar { display: none; }
  .px-cats > li { flex: 0 0 42%; scroll-snap-align: start; }
  .px-cats[data-style='circle'] > li { flex-basis: 26%; }
  .px-cats[data-style='circle'] .px-cat__name { font-size: 1.3rem; }
}

/* ----------------------------------------------------------------- Banners */
.px-banners { display: grid; gap: clamp(12px, 2vw, 24px); }
.px-banners[data-count='2'] { grid-template-columns: 1fr 1fr; }
.px-banners[data-count='3'] { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.px-banners[data-count='3'] .px-banner:first-child { grid-row: 1 / 3; }
.px-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 26vw, 340px);
  overflow: hidden;
  border-radius: var(--px-radius-card);
  background: var(--px-primary);
  color: var(--px-on-primary);
  isolation: isolate;
}
.px-banner::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset-inline-end: -8%;
  inset-block-start: -30%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(var(--px-accent-rgb), 0.35);
}
html[data-palette='black'] .px-banner::before { border-radius: 0; rotate: 18deg; background: rgba(255, 255, 255, 0.07); }
.px-banner[data-tone='accent'] { background: var(--px-accent-soft); color: var(--px-text); }
.px-banner[data-tone='surface'] { background: var(--px-surface); color: var(--px-text); border: var(--px-card-border); }
.px-section[data-scheme='surface'] .px-banner[data-tone='surface'] { background: var(--px-card); }
.px-banner__img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.px-banner.has-image { color: #fff; }
.px-banner.has-image::before {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  rotate: none;
  z-index: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 70%);
}
.px-banner__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: clamp(20px, 3vw, 40px);
  max-width: 52ch;
}
.px-banner .px-eyebrow { color: inherit !important; opacity: 0.8; }
.px-banner__title { font-size: clamp(2.2rem, 2.8vw, 3.4rem); color: inherit; }
.px-banner__text { color: inherit; opacity: 0.85; }
.px-banner .px-link { margin-block-start: 6px; font-size: 1.5rem; }
@media (max-width: 760px) {
  .px-banners[data-count='2'], .px-banners[data-count='3'] { grid-template-columns: 1fr; grid-template-rows: none; }
  .px-banners[data-count='3'] .px-banner:first-child { grid-row: auto; }
}

/* --------------------------------------------------- Featured collection */
.px-spot {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: stretch;
}
.px-spot[data-side='end'] .px-spot__panel { order: 2; }
.px-spot__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--px-radius-card);
  background: var(--px-primary);
  color: var(--px-on-primary);
  isolation: isolate;
}
.px-spot__panel::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset-inline-start: -20%;
  inset-block-start: -12%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(var(--px-on-primary-rgb), 0.25);
  box-shadow: 0 0 0 44px rgba(var(--px-on-primary-rgb), 0.05), 0 0 0 96px rgba(var(--px-on-primary-rgb), 0.04);
}
.px-spot__panel img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-spot__panel.has-image { color: #fff; }
.px-spot__panel.has-image::before {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05) 70%);
}
.px-spot__body { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 3vw, 44px); }
.px-spot__body .px-eyebrow { color: inherit !important; opacity: 0.8; }
.px-spot__title { font-size: clamp(2.6rem, 3.2vw, 4rem); color: inherit; }
.px-spot__body p { color: inherit; opacity: 0.88; }
.px-spot__panel .px-btn--primary { background: var(--px-on-primary); color: var(--px-primary); border-color: var(--px-on-primary); }
.px-spot__panel.has-image .px-btn--primary { background: #fff; color: #111; border-color: #fff; }
.px-spot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 860px) {
  .px-spot { grid-template-columns: 1fr; }
  .px-spot[data-side='end'] .px-spot__panel { order: 0; }
  .px-spot__panel { min-height: 300px; }
}

/* ---------------------------------------------------------------- Features */
.px-features {
  display: grid;
  grid-template-columns: repeat(var(--px-cols, 4), minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.px-feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--px-radius-btn);
  background: var(--px-accent-soft);
  color: var(--px-primary);
}
.px-section[data-scheme='accent'] .px-feature__icon { background: var(--px-card); }
.px-section[data-scheme='primary'] .px-feature__icon { background: var(--px-s-card); color: var(--px-on-primary); }
html[data-palette='navy_gold'] .px-section:not([data-scheme='primary']) .px-feature__icon { color: color-mix(in srgb, var(--px-accent) 75%, var(--px-text)); }
.px-feature__title { font-size: 1.75rem; font-weight: 600; letter-spacing: 0; color: var(--px-s-fg); }
.px-feature__text { margin-block-start: 6px; font-size: 1.5rem !important; line-height: 1.7; color: var(--px-s-muted); }
.px-features[data-style='cards'] .px-feature {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-section[data-scheme='background'] .px-features[data-style='cards'] .px-feature { background: var(--px-surface); border-color: transparent; }
.px-features[data-style='strip'] .px-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.px-features[data-style='strip'] .px-feature__icon { width: 44px; height: 44px; }
.px-features[data-style='strip'] .px-feature__title { font-size: 1.5rem; }
.px-features[data-style='strip'] .px-feature__text { margin-block-start: 2px; font-size: 1.35rem !important; }
.px-features[data-style='plain'] .px-feature {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.px-features[data-style='plain'] .px-feature__icon { width: 64px; height: 64px; border-radius: 50%; }
@media (max-width: 960px) {
  .px-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .px-features[data-style='cards'], .px-features[data-style='plain'] { grid-template-columns: 1fr; }
  .px-features[data-style='strip'] { gap: 16px 12px; }
  .px-features[data-style='strip'] .px-feature { flex-direction: column; align-items: flex-start; gap: 8px; }
  .px-features[data-style='plain'] .px-feature { grid-template-columns: auto 1fr; justify-items: start; text-align: start; align-items: center; }
}

/* ------------------------------------------------------------ Testimonials */
.px-quotes {
  display: grid;
  grid-template-columns: repeat(var(--px-cols, 3), minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.px-quote {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-stars { display: flex; gap: 2px; color: var(--px-s-border); }
.px-stars .is-on { color: var(--px-accent); }
html[data-palette='black'] .px-stars .is-on { color: var(--px-text); }
.px-stars .is-on svg { fill: currentColor; }
.px-quote blockquote { font-size: 1.65rem; line-height: 1.8; color: var(--px-s-fg); }
.px-quote footer { display: flex; align-items: center; gap: 12px; }
.px-quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.px-quote cite { display: block; font-style: normal; font-weight: 600; font-size: 1.5rem; }
.px-quote footer span { font-size: 1.35rem; color: var(--px-s-muted); }
@media (max-width: 860px) {
  .px-quotes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--px-gutter) * -1);
    padding-inline: var(--px-gutter);
    scroll-padding-inline: var(--px-gutter);
    scrollbar-width: none;
  }
  .px-quotes::-webkit-scrollbar { display: none; }
  .px-quotes > li { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------ Social proof */
.px-stats-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px 24px;
  text-align: center;
}
.px-stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.px-stat dd {
  font-size: clamp(3.4rem, 4.6vw, 5.6rem);
  font-weight: var(--px-heading-weight);
  letter-spacing: var(--px-heading-tracking);
  line-height: 1.1;
  color: var(--px-s-fg);
}
.px-stat dt { font-size: 1.5rem; color: var(--px-s-muted); }

/* -------------------------------------------------------------- Comparison */
.px-compare {
  position: relative;
  overflow-x: auto;
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-compare table { width: 100%; min-width: 480px; border-collapse: collapse; }
.px-compare th, .px-compare td {
  padding: 16px 18px;
  font-size: 1.5rem;
  text-align: center;
  border-block-end: 1px solid var(--px-s-border);
}
.px-compare tbody tr:last-child th, .px-compare tbody tr:last-child td { border-block-end: 0; }
.px-compare th[scope='row'], .px-compare thead th:first-child { text-align: start; font-weight: 500; }
.px-compare thead th { font-size: 1.35rem; font-weight: 600; color: var(--px-s-muted); }
.px-compare .is-ours { background: var(--px-accent-soft); color: var(--px-text); font-weight: 600; }
.px-compare thead .is-ours { background: var(--px-primary); color: var(--px-on-primary); }
.px-compare td > span { display: inline-grid; }
.px-compare__yes { color: var(--color-success-500); }
.px-compare .is-ours .px-compare__yes { color: var(--px-primary); }
.px-compare__no { color: var(--px-s-muted); }

/* --------------------------------------------------------------------- FAQ */
.px-faq__wrap { max-width: calc(860px + 2 * var(--px-gutter)); }
.px-faq-list { display: grid; gap: 10px; }
.px-faq-item {
  border: var(--px-card-border);
  border-color: var(--px-s-border);
  border-radius: var(--px-radius-input);
  background: var(--px-s-card);
}
.px-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1.65rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.px-faq-item summary::-webkit-details-marker { display: none; }
.px-faq-item summary .px-icon { transition: transform 0.25s var(--px-ease); color: var(--px-s-muted); }
.px-faq-item[open] summary .px-icon { transform: rotate(45deg); }
.px-faq-item__body { padding: 0 20px 20px; font-size: 1.55rem; line-height: 1.8; color: var(--px-s-muted); }
.px-faq-item.is-draft { opacity: 0.55; border-style: dashed; }

/* -------------------------------------------------------------- Newsletter */
.px-newsletter__box {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 24px 48px;
  align-items: center;
}
.px-newsletter__text { display: grid; gap: 10px; }
.px-newsletter__row { display: flex; gap: 8px; }
.px-body .px-newsletter__row input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding-inline: 16px;
  font-size: 1.6rem;
  background: var(--px-card);
  color: var(--px-text);
  border: 1px solid var(--px-border);
  border-radius: var(--px-radius-input);
}
.px-form-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 10px;
  font-size: 1.45rem !important;
  font-weight: 500;
}
.px-form-msg.is-success { color: var(--color-success-500); }
.px-form-msg.is-error { color: var(--color-error-500); }
@media (max-width: 760px) {
  .px-newsletter__box { grid-template-columns: 1fr; }
  .px-newsletter__row { flex-direction: column; }
}

/* ------------------------------------------------------------------ Social */
.px-social-box { text-align: center; }
.px-social-box .px-head { margin-block-end: 22px; }
.px-social--lg { justify-content: center; gap: 12px; margin-block-start: 0; }
.px-social--lg a {
  display: inline-flex;
  width: auto;
  height: auto;
  gap: 10px;
  padding: 12px 20px;
  font-size: 1.45rem !important;
  font-weight: 500;
  border-color: var(--px-s-border);
  background: var(--px-s-card);
}
.px-social--lg a:hover { background: var(--px-primary); color: var(--px-on-primary) !important; border-color: var(--px-primary); }

/* ------------------------------------------------------ Text / image + text */
.px-rich { max-width: calc(820px + 2 * var(--px-gutter)); }
.px-rich[data-align='center'] { text-align: center; }
.px-rich .px-head { margin-block-end: 18px; }
.px-rich__text { font-size: 1.7rem; line-height: 1.9; color: var(--px-s-muted); }
.px-rich p:last-child { margin-block-start: 24px; }
.px-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.px-split[data-side='end'] .px-split__media { order: 2; }
.px-split__media img { width: 100%; height: auto; border-radius: var(--px-radius-card); display: block; }
.px-split__body { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 860px) {
  .px-split { grid-template-columns: 1fr; }
  .px-split[data-side='end'] .px-split__media { order: 0; }
}

/* ------------------------------------------------------- COD: how it works */
.px-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  counter-reset: px-step;
}
.px-steps li {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
  counter-increment: px-step;
}
.px-section[data-scheme='background'] .px-steps li { background: var(--px-surface); border-color: transparent; }
.px-steps li::after {
  content: counter(px-step);
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 20px;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--px-s-fg) 10%, transparent);
}
.px-steps__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--px-primary);
  color: var(--px-on-primary);
}
.px-steps h3 { font-size: 1.8rem; font-weight: 600; }
.px-steps p { font-size: 1.5rem !important; line-height: 1.7; color: var(--px-s-muted); }
@media (max-width: 760px) {
  .px-steps { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- Problem / solution */
.px-story {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
}
.px-story__card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-story__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.px-story__card > div { display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 30px); }
.px-story__card h3 { font-size: 2.1rem; }
.px-story__card p { line-height: 1.8; color: var(--px-s-muted); }
.px-story__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--px-s-muted) !important;
}
.px-story__card.is-solution { border-color: var(--px-primary); box-shadow: var(--px-shadow-card); }
.px-story__card.is-solution .px-story__tag { color: var(--px-primary) !important; }
.px-story__arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--px-primary);
  color: var(--px-on-primary);
}
@media (max-width: 760px) {
  .px-story { grid-template-columns: 1fr; }
  .px-story__arrow { justify-self: center; rotate: 90deg; }
}

/* -------------------------------------------------------------------- Demo */
.px-video {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--px-radius-card);
  background: var(--px-surface);
  box-shadow: var(--px-shadow-card);
}
.px-video img, .px-video iframe, .px-video .px-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.px-body .px-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 50%;
  background: var(--px-primary);
  color: var(--px-on-primary);
  box-shadow: 0 0 0 10px rgba(var(--px-primary-rgb), 0.18);
  transition: transform 0.25s var(--px-ease);
}
.px-body .px-video__play:hover { transform: scale(1.06); }
.px-video__play .px-icon { fill: currentColor; margin-inline-start: 4px; }

/* ------------------------------------------------------------------- Specs */
.px-specs__wrap { max-width: calc(860px + 2 * var(--px-gutter)); }
.px-specs {
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  border-color: var(--px-s-border);
  background: var(--px-s-card);
  overflow: hidden;
}
.px-specs > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 1.2fr;
  gap: 16px;
  padding: 14px 20px;
  font-size: 1.55rem;
}
.px-specs > div:nth-child(odd) { background: color-mix(in srgb, var(--px-s-fg) 3.5%, transparent); }
.px-specs dt { color: var(--px-s-muted); }
.px-specs dd { font-weight: 500; }

/* ------------------------------------------------------------ Before/after */
.px-ba {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--px-radius-card);
  box-shadow: var(--px-shadow-card);
  user-select: none;
}
.px-ba img { display: block; width: 100%; height: auto; }
.px-ba__before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--px-ba)) 0 0);
}
.px-ba__before img { height: 100%; object-fit: cover; }
.px-ba__handle {
  position: absolute;
  inset-block: 0;
  left: var(--px-ba);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.px-ba__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.px-ba__tag {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: var(--px-radius-badge);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}
.px-ba__tag.is-before { left: 14px; }
.px-ba__tag.is-after { right: 14px; }
.px-body .px-ba input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* -------------------------------------------------------------- Info cards */
.px-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.px-info-cards article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-info-cards h3 { font-size: 1.8rem; font-weight: 600; }
.px-info-cards p { font-size: 1.5rem !important; line-height: 1.8; color: var(--px-s-muted); }

/* ------------------------------------------------- Contact / order tracking */
.px-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
.px-contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-contact__label { font-size: 1.3rem !important; color: var(--px-s-muted); }
.px-contact a, .px-contact li > div > span { font-size: 1.6rem; font-weight: 600; }
.px-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.px-track__card {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--px-radius-card);
  border: var(--px-card-border);
  background: var(--px-s-card);
}
.px-track__card h3 { font-size: 1.9rem; font-weight: 600; }
.px-track__card p { font-size: 1.5rem !important; line-height: 1.7; color: var(--px-s-muted); }
.px-track__form { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.px-body .px-track__form input {
  flex: 1 1 160px;
  min-width: 0;
  height: 48px;
  padding-inline: 14px;
  font-size: 1.6rem;
}
.px-track__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Mykhalij fix: overlay hero image fills the slide instead of setting its height */
.px-hero[data-layout='overlay'] .px-hero__media { overflow: hidden; }
.px-hero[data-layout='overlay'] .px-hero__media picture,
.px-hero[data-layout='overlay'] .px-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-hero[data-layout='overlay'] .px-hero__slide { min-height: min(86vh, 760px); }
@media (max-width: 768px) {
  .px-hero[data-layout='overlay'] .px-hero__slide { min-height: 78vh; }
}

/* Mykhalij v4 */
.px-hero__media .px-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.px-hero[data-layout='overlay'] .px-hero__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.px-hero[data-layout='overlay'] .px-hero__lead { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); max-width: 36rem; line-height: 1.8; }
.px-hero__text { max-width: 40rem; }
.px-video--inline { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b1f3a; }
.px-video--inline video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-icon__tone { fill: var(--px-primary, currentColor); opacity: .22; }
.px-banner__title, .px-section-head h2 { text-wrap: balance; }
@media (max-width: 768px) {
  .px-hero[data-layout='overlay'] .px-hero__slide { min-height: 82vh; }
  .px-hero[data-layout='overlay'] .px-hero__content { align-items: flex-end; padding-block-end: 72px; }
  .px-hero__cta .px-btn { min-height: 48px; }
  .px-video--inline { aspect-ratio: 4 / 5; }
}
