
/* =========================================================
   Price List Custom Styles (safe to load after assets/css/*.css)
   Scope: only pricing section/classes from the template
   File: assets/css/price-list.custom.css
   ========================================================= */

:root{
  --pl-card-radius: 1.25rem;
  --pl-card-shadow: 0 10px 25px rgba(16,24,40,.08);
  --pl-border: rgba(0,0,0,.08);
  --pl-border-dark: rgba(255,255,255,.15);
  --pl-head-bg: #ffffff;
  --pl-body-bg: #ffffff;
  --pl-text: #344054;
  --pl-muted: #667085;
  --pl-accent: var(--theme-color, #07a479); /* falls Theme-Var vorhanden */
}

/* Wrapper spacing tweaks (keep template's .space) */
.vs-pricing-wrapper.vs-pricing-layout2 .container{
  position: relative;
}

/* Price box = card */
.vs-price-box{
  border-radius: var(--pl-card-radius);
  background: var(--pl-body-bg);
  box-shadow: var(--pl-card-shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--pl-border);
}
.vs-price-box:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16,24,40,.12);
}

/* Optional overlay from template */
.vs-price-box[data-overlay="theme"]{
  position: relative;
  isolation: isolate;
}
.vs-price-box[data-overlay="theme"]::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(0deg, rgba(0,0,0,.0), rgba(0,0,0,.0));
  z-index: 0;
}
.vs-price-head, .vs-price-body{ position: relative; z-index: 1; }

/* Head */
.vs-price-head{
  padding: 1.25rem 1.25rem;
  background: var(--pl-head-bg);
  border-bottom: 1px solid var(--pl-border);
}
.border-light-theme{ border-color: var(--pl-border) !important; }

.vs-price{
  display: flex; align-items: baseline; gap: .25rem;
  color: var(--pl-accent);
  font-weight: 700;
}
.vs-price sub{
  bottom: 0;
  font-size: .875rem;
  opacity: .85;
}
.vs-price > span{
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1;
}
.vs-price .package-time{
  margin-right: .25rem;
  color: var(--pl-muted);
  font-weight: 600;
  letter-spacing: .02em;
}

/* Package block right */
.vs-price-package{
  color: var(--pl-text);
}
.vs-price-package .package-name{
  font-size: 1.125rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}
.vs-price-package .package-time{
  display: block;
  margin-top: .125rem;
  color: var(--pl-muted);
  font-size: .9rem;
}

/* Body */
.vs-price-body{
  padding: 1rem 1.25rem 1.25rem;
  text-align: left !important;
  background: var(--pl-body-bg);
}

/* Price list */
.vs-price-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.vs-price-list li{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--pl-border);
  color: var(--pl-text);
}
.vs-price-list li:last-child{ border-bottom: 0; }
.vs-price-list li strong{
  font-weight: 700;
  white-space: nowrap;
  color: var(--pl-text);
}

/* Small note/footer inside body */
.vs-price-body .small,
.vs-price-body small{
  color: var(--pl-muted);
}

/* Info/notice card variant (no numeric price on left) */
.vs-price-box .fa-info-circle{
  font-size: 1.5rem;
  color: var(--pl-accent);
}

/* Carousel gutters compatibility (keep original .no-gutters idea) */
.row.no-gutters .col-xl-6 > .vs-price-box{
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 1199.98px){
  .vs-price-package .package-name{ font-size: 1.0625rem; }
}
@media (max-width: 575.98px){
  .vs-price-head{ padding: 1rem; }
  .vs-price-body{ padding: .75rem 1rem 1rem; }
  .vs-price-list li{ padding: .4rem 0; }
}

/* Optional theme-dark support if page uses dark section bg */
.theme-dark .vs-price-box{
  background: #101828;
  border-color: var(--pl-border-dark);
}
.theme-dark .vs-price-head{
  background: #0B1220;
  border-color: var(--pl-border-dark);
}
.theme-dark .vs-price-package .package-name,
.theme-dark .vs-price-list li,
.theme-dark .vs-price-list li strong{
  color: #EAECF0;
}
.theme-dark .vs-price .package-time,
.theme-dark .vs-price-package .package-time,
.theme-dark .vs-price-body .small{ color: #98A2B3; }
.theme-dark .vs-price-list li{ border-bottom-color: rgba(255,255,255,.12); }

/* Utility: align icon & text better in heads */
.vs-price-head .vs-price i{ line-height: 1; }
