:root {
  --gold: #f3b21a;
  --gold-light: #ffd76a;
}

/* =========================================
   HERO
========================================= */

.ppf-hero-clean {

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      to right,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,.72) 35%,
      rgba(0,0,0,.20) 70%,
      rgba(0,0,0,.05) 100%
    ),
    url('ppf-rs6.webp');

  background-size: cover;

  background-position: 78% center;

  background-repeat: no-repeat;

  min-height: 520px;

  display: flex;

  align-items: center;

  padding: 45px 0 20px;

  text-align: left;
}

.ppf-hero-clean .container {

  position: relative;

  z-index: 2;
}

.ppf-hero-clean h1 {

  font-size: clamp(38px, 5vw, 72px);

  font-weight: 900;

  line-height: .95;

  max-width: 700px;

  color: #fff;
}

.ppf-hero-clean h1 span {

  color: var(--gold);
}

.ppf-hero-clean p {

  color: #b0b0b0;

  margin-top: 18px;

  font-size: 17px;

  line-height: 1.8;

  max-width: 520px;
}

/* MOBILE */

@media(max-width:768px){

  .ppf-hero-clean {

      min-height: 420px;

      background-position: center;

      text-align: center;
  }

  .ppf-hero-clean h1 {

      font-size: 42px;

      max-width: 100%;
  }

  .ppf-hero-clean p {

      max-width: 100%;
  }

}

/* =========================================
   STEP PROGRESS
========================================= */

.step-progress {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;

  opacity: .42;

  transition:
    opacity .35s ease,
    transform .35s ease;
}

.step.active {
  opacity: 1;

  transform:
    translateY(-2px);
}

.step span,
.step-number {
  display: inline-flex;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  align-items: center;
  justify-content: center;

  border:
    2px solid rgba(255,255,255,.15);

  font-weight: 700;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.step.active span,
.step-number {
  background:
    linear-gradient(
      180deg,
      var(--gold-light),
      var(--gold)
    );

  color: #000;
}

.step.active span {
  transform:
    scale(1.08);

  box-shadow:
    0 0 20px rgba(243,178,26,.18);
}

.step strong {
  display: block;

  margin-top: 10px;

  color: #8d8d8d;

  font-size: 12px;

  transition: .35s;
}

.step.active strong {
  color: #fff;
}

/* =========================================
   MAIN LAYOUT
========================================= */

.page-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 2.8fr)
    380px;

  gap: 26px;

  padding-bottom: 90px;
}

/* =========================================
   CONFIG SECTIONS
========================================= */

.config-section {
  display: grid;

  grid-template-columns:
    180px
    1fr
    220px;

  gap: 22px;

  margin-bottom: 24px;

  padding: 26px;

  border-radius: 30px;

  background:
    linear-gradient(
      180deg,
      #111114,
      #060608
    );

  border:
    1px solid rgba(243,178,26,.10);

  box-shadow:
    0 20px 60px rgba(0,0,0,.35);
}

/* =========================================
   SIDE INFO
========================================= */

.section-info h2,
.summary h2 {
  font-size: 24px;

  color: #fff;

  margin-bottom: 12px;
}

.section-info p,
.section-sidebar,
.summary,
.row span {
  color: #9c9c9c;
}

.sidebar-highlight {
  color: var(--gold);

  font-size: 18px;

  font-weight: 800;

  margin-top: 10px;
}

/* =========================================
   PREMIUM CARDS
========================================= */

.grid {
  display: flex;

  gap: 14px;

  align-items: stretch;

  flex-wrap: nowrap;
}

.grid.three {
  display: flex;
}

.card {
  position: relative;

  flex: 1;

  max-width: 230px;

  min-height: 190px;

  background:
    linear-gradient(
      180deg,
      #141414,
      #090909
    );

  border:
    1px solid rgba(255,255,255,.06);

  border-radius: 24px;

  padding: 14px;
  padding-top: 10px;

  overflow: hidden;

  cursor: pointer;

  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;

  display: flex;
  flex-direction: column;

  justify-content: space-between;
}

.card::before {
  display: none;
}

.card:hover {
  transform:
    translateY(-4px)
    scale(1.01);

  border-color:
    rgba(243,178,26,.45);

  box-shadow:
    0 16px 40px rgba(0,0,0,.42);
}

.card.selected {
  transform:
    translateY(-3px);

  border-color: var(--gold);

  background:
    linear-gradient(
      180deg,
      #181818,
      #0a0a0a
    );

  box-shadow:
    0 0 0 1px rgba(243,178,26,.25),
    0 10px 30px rgba(243,178,26,.12),
    0 0 18px rgba(243,178,26,.08);
}

.card.selected::after {
  content: '';

  position: absolute;

  top: 0;
  left: 20px;
  right: 20px;

  height: 3px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

/* =========================================
   IMAGES
========================================= */

.card-image {
  width: 100%;

  height: 105px;

  object-fit: contain;

  margin-bottom: 10px;

  display: block;

  transition:
    transform .35s ease;
}

.card:hover .card-image {
  transform:
    scale(1.04);
}

.card.selected .card-image {
  transform:
    scale(1.06);
}

/* =========================================
   CARD CONTENT
========================================= */

.card-bottom {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.card h3 {
  color: #fff;

  font-size: 18px;

  font-weight: 700;

  margin: 0;
}

.card p {
  color: #8f8f8f;

  font-size: 13px;

  margin-top: 6px;
}

.card span {
  color: var(--gold);

  font-size: 20px;

  font-weight: 800;
}

/* =========================================
   PARTS GRID
========================================= */

.parts-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}

.part-item {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 15px 16px;

  border-radius: 16px;

  background: #0d0d0d;

  border:
    1px solid rgba(243,178,26,.08);

  transition: .25s;
}

.part-item:hover {
  border-color:
    rgba(243,178,26,.35);

  background:
    rgba(243,178,26,.03);
}

.part-name {
  flex: 1;

  color: #fff;

  font-size: 14px;
}

.part-price {
  color: var(--gold);

  font-weight: 700;
}

input[type='checkbox'] {
  accent-color: var(--gold);
}

/* =========================================
   PREMIUM SUMMARY
========================================= */

.summary {
  position: sticky;

  top: 20px;

  height: fit-content;

  padding: 30px;

  border-radius: 30px;

  background:
    linear-gradient(
      180deg,
      #111114,
      #050505
    );

  border:
    1px solid rgba(243,178,26,.12);

  box-shadow:
    0 25px 70px rgba(0,0,0,.42);
}

.summary h2 {
  margin-bottom: 24px;
}

.row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 15px 0;

  border-bottom:
    1px solid rgba(255,255,255,.05);
}

.row strong {
  color: #fff;

  font-size: 15px;
}

.divider {
  height: 1px;

  background:
    rgba(255,255,255,.06);

  margin: 26px 0;
}

.total-label {
  color: #8f8f8f;

  font-size: 12px;

  letter-spacing: 1px;
}

.total-price {
  color: var(--gold);

  font-size: 74px;

  font-weight: 900;

  line-height: .95;

  margin:
    16px 0 26px;
}

/* =========================================
   BUTTONS
========================================= */

.btn-gold {
  display: block;

  width: 100%;

  text-align: center;

  padding: 17px;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      var(--gold-light),
      var(--gold)
    );

  color: #000;

  font-weight: 800;

  text-decoration: none;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.btn-gold:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 10px 25px rgba(243,178,26,.18);
}

.btn-outline {
  display: block;

  width: 100%;

  text-align: center;

  padding: 17px;

  border-radius: 16px;

  border:
    1px solid rgba(243,178,26,.25);

  color: var(--gold);

  text-decoration: none;

  font-weight: 700;

  margin-top: 12px;

  transition:
    background .25s ease,
    border-color .25s ease;
}

.btn-outline:hover {
  background:
    rgba(243,178,26,.04);

  border-color:
    rgba(243,178,26,.40);
}

.full {
  width: 100%;
}

/* =========================================
   MOBILE REFINEMENT
========================================= */

@media (max-width: 1200px) {

  .page-layout {
    grid-template-columns: 1fr;
  }

  .config-section {
    grid-template-columns: 1fr;

    padding: 22px;
  }

  .summary {
    position: static;

    margin-top: 10px;
  }

  .grid,
  .grid.three {
    overflow-x: auto;

    padding-bottom: 6px;

    scrollbar-width: none;
  }

  .grid::-webkit-scrollbar {
    display: none;
  }

  .card {
    min-width: 220px;
  }

  .parts-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 700px) {

  .ppf-hero-clean h1 {
    font-size: 34px;
  }

  .step-progress {
    overflow-x: auto;

    padding-bottom: 10px;
  }

  .step {
    min-width: 90px;
  }

  .summary {
    padding: 24px;
  }

  .total-price {
    font-size: 58px;
  }

}
/* =========================================
   PREMIUM FILM CARDS
========================================= */

.film-card {
  min-height: 320px;

  justify-content: flex-start;

  overflow: hidden;
}

.film-top h3 {
  font-size: 20px;

  line-height: 1.2;

  margin-bottom: 18px;
}

.film-features {
  list-style: none;

  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;

  gap: 14px;
}

.film-features li {
  position: relative;

  padding-left: 24px;

  color: #d5d5d5;

  font-size: 14px;

  line-height: 1.4;
}

.film-features li::before {
  content: '✓';

  position: absolute;

  left: 0;
  top: 0;

  font-weight: 800;
}

.film-wave {
  margin-top: auto;

  height: 90px;

  border-radius: 18px;

  opacity: .9;

  filter: blur(.2px);
}

.film-card span {
  margin-top: 14px;

  font-size: 34px;

  font-weight: 900;
}

/* =========================================
   ESSENTIAL
========================================= */

.film-card.essential {
  border-color:
    rgba(120,255,120,.18);
}

.film-card.essential h3,
.film-card.essential span,
.film-card.essential li::before {
  color: #7dff74;
}

.film-card.essential .film-wave {
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(125,255,116,.55),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(125,255,116,.28),
      transparent 55%
    );
}

/* =========================================
   PRO SHIELD
========================================= */

.film-card.pro {
  border-color:
    rgba(243,178,26,.22);
}

.film-card.pro h3,
.film-card.pro span,
.film-card.pro li::before {
  color: var(--gold);
}

.film-card.pro .film-wave {
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(243,178,26,.65),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(243,178,26,.25),
      transparent 55%
    );
}

/* =========================================
   ELITE
========================================= */

.film-card.elite {
  border-color:
    rgba(255,60,60,.20);
}

.film-card.elite h3,
.film-card.elite span,
.film-card.elite li::before {
  color: #ff4747;
}

.film-card.elite .film-wave {
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(255,70,70,.65),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(255,70,70,.25),
      transparent 55%
    );
}
.film-wave-img {
  width: calc(100% + 28px);

  height: 120px;

  object-fit: cover;

  margin-left: -14px;

  margin-right: -14px;

  margin-top: auto;

  margin-bottom: -14px;

  opacity: .95;

  pointer-events: none;

  user-select: none;
}
/* =========================================
   PREMIUM PAKKET CARDS
========================================= */

.pakket-card {
  min-height: 420px;

  justify-content: flex-start;

  overflow: hidden;

  padding: 22px 18px 0;
}

/* =========================================
   HEADER
========================================= */

.pakket-header {
  text-align: center;

  margin-bottom: 16px;

  z-index: 2;
}

.pakket-header h3 {
  font-size: 20px;

  font-weight: 800;

  margin-bottom: 4px;

  letter-spacing: .5px;
}

.pakket-header small {
  color: #d0d0d0;

  font-size: 12px;

  letter-spacing: 1px;
}

/* =========================================
   CAR IMAGE
========================================= */

.pakket-car {
  width: 100%;

  height: 145px;

  object-fit: contain;

  margin-bottom: 16px;

  z-index: 2;

  transition:
    transform .35s ease;
}

.pakket-card:hover .pakket-car {
  transform:
    scale(1.04)
    translateY(-2px);
}

/* =========================================
   DESCRIPTION
========================================= */

.pakket-desc {
  text-align: center;

  color: #d6d6d6;

  font-size: 14px;

  line-height: 1.4;

  margin-bottom: 20px;

  z-index: 2;
}

/* =========================================
   PRICE
========================================= */

.pakket-price {
  text-align: center;

  color: #cfcfcf;

  font-size: 14px;

  margin-bottom: 14px;

  z-index: 2;
}

.pakket-price span {
  font-size: 42px;

  font-weight: 900;
}

/* =========================================
   COLORS
========================================= */

.pakket-card.hoof {
  border-color:
    rgba(120,255,120,.18);
}

.pakket-card.hoof h3,
.pakket-card.hoof .pakket-price span {
  color: #7dff74;
}

.pakket-card.saddle {
  border-color:
    rgba(243,178,26,.22);
}

.pakket-card.saddle h3,
.pakket-card.saddle .pakket-price span {
  color: var(--gold);
}

.pakket-card.stallion {
  border-color:
    rgba(255,60,60,.22);
}

.pakket-card.stallion h3,
.pakket-card.stallion .pakket-price span {
  color: #ff4747;
}

/* =========================================
   GLOW
========================================= */

.pakket-card::before {
  content: '';

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at top,
      rgba(255,255,255,.04),
      transparent 60%
    );

  pointer-events: none;
}

.pakket-card.selected {
  transform:
    translateY(-4px);

  box-shadow:
    0 12px 30px rgba(0,0,0,.45);
}
/* =========================================
   TABLET FIX
========================================= */

@media (max-width: 1100px) {

  .page-layout {

    grid-template-columns: 1fr;
  }

  .summary {

    position: relative;

    top: auto;

    margin-top: 20px;
  }

}

/* =========================================
   MOBILE FIX
========================================= */

@media (max-width: 768px) {

  /* SECTION */

  .config-section {

    display: flex;

    flex-direction: column;

    padding: 20px;
  }

  .section-info {

    width: 100%;
  }

  /* GRID */

  .grid,
  .grid.three {

    flex-wrap: wrap;

    overflow: visible;

    gap: 14px;
  }

  /* NORMAL CARDS */

  .card {

    min-width: calc(50% - 7px);

    max-width: calc(50% - 7px);

    flex: unset;
  }

  /* FILM CARDS */

  .film-card {

    min-width: 100%;

    max-width: 100%;
  }

  /* PACKAGE IMAGES */

  .pakket-car {

    max-width: 180px;

    margin: 10px auto;
  }

  /* VEHICLE IMAGES */

  .card-image {

    height: 90px;
  }

  /* PARTS */

  .parts-grid {

    grid-template-columns: 1fr;
  }

  /* SUMMARY */

  .summary {

    padding: 24px;
  }

  .total-price {

    font-size: 56px;
  }

  /* STEP BAR */

  .step-progress {

    overflow-x: auto;

    padding-bottom: 10px;
  }

  .step {

    min-width: 95px;
  }

}

/* =========================================
   SMALL PHONE
========================================= */

@media (max-width: 560px) {

  .card {

    min-width: 100%;

    max-width: 100%;
  }

  .ppf-hero-clean h1 {

    font-size: 34px;
  }

  .total-price {

    font-size: 48px;
  }

}
/* =========================================
   SUPERCAR CARD
========================================= */

.supercar-card {

  cursor: default;

  justify-content: center;

  align-items: center;

  text-align: center;

  border:
    1px dashed rgba(243,178,26,.35);

  background:
    linear-gradient(
      180deg,
      rgba(243,178,26,.06),
      rgba(0,0,0,.85)
    );

  min-height: 190px;
}

.supercar-card:hover {

  transform: none;

  border-color:
    rgba(243,178,26,.45);

  box-shadow:
    0 0 30px rgba(243,178,26,.08);
}

.supercar-icon {

  font-size: 34px;

  color: var(--gold);

  margin-bottom: 12px;
}

.supercar-card h3 {

  font-size: 17px;

  line-height: 1.2;

  margin-bottom: 10px;
}

.supercar-card p {

  font-size: 13px;

  color: #a8a8a8;

  line-height: 1.5;

  margin-bottom: 18px;
}

.supercar-contact {

  color: var(--gold);

  font-weight: 800;

  font-size: 13px;

  letter-spacing: 1px;
}
