/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.package-contents-layout {
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.package-contents-layout ul.package-contents {
  display: block;
  column-gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.package-contents-layout .package-contents > li {
  position: relative;
  margin: 0 0 10px;
  break-inside: avoid;
  padding: 0 0 0 26px;
  overflow-wrap: anywhere;
}

.package-contents-layout .package-contents > li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  background: url("assets/icons/check.svg") center / contain no-repeat;
}

.package-contents-layout .package-contents--2 {
  column-count: 2;
}

.package-contents--2 > .package-contents-column-start {
  break-before: column;
}

.package-contents-layout .package-contents > li:last-child {
  margin-bottom: 0;
}

@container (max-width: 279px) {
  .package-contents-layout .package-contents--2 {
    column-count: 1;
  }

  .package-contents--2 > .package-contents-column-start {
    break-before: auto;
  }
}

/* Package card price — Figma 348:182. Inherits the site's font. */
.package-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 0;
  font-family: inherit;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #000;
  text-align: right;
}

.package-price-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.package-price .package-price-amount {
  font-size: 25.33px;
  font-weight: 700;
  white-space: nowrap;
}

.package-price .package-price-amount .amount {
  font: inherit;
  color: inherit;
}

.package-price-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
  white-space: nowrap;
}

.package-price-currency { font-weight: 600; }
.package-price-label { font-weight: 400; color: rgb(0 0 0 / 60%); }

.package-price :is(.package-price-comparison, .package-price-note) {
  font-size: 12px;
  font-weight: 400;
  color: rgb(0 0 0 / 60%);
}

.package-price-comparison .amount {
  font: inherit;
  color: inherit;
  white-space: nowrap;
}
