/* -------------------------------- 

File#: _2_pricing-table-v2
Title: Pricing Table v2
Descr: A table used to compare prices and features of different products
Usage: codyhouse.co/license

-------------------------------- */

/* variables */
:root {
  /* colors */
  --pr4-color-primary-hsl: 250, 84%, 54%;
  --pr4-color-bg-hsl: 0, 0%, 100%;
  --pr4-color-contrast-high-hsl: 230, 7%, 23%;
  --pr4-color-contrast-higher-hsl: 230, 13%, 9%;
  --pr4-color-success-hsl: 170, 78%, 36%;
  --pr4-color-contrast-medium-hsl: 225, 4%, 47%;
  --pr4-color-bg-dark-hsl: 240, 4%, 95%;
  --pr4-color-white-hsl: 0, 0%, 100%;
  --pr4-color-primary-darker-hsl: 250, 84%, 38%;
  --pr4-color-primary-light-hsl: 250, 84%, 60%;
  --pr4-color-bg-lighter-hsl: 0, 0%, 100%;
  --pr4-color-black-hsl: 230, 13%, 9%;
  --pr4-color-bg-light-hsl: 0, 0%, 100%;

  /* spacing */
  --pr4-space-2xs: 0.375rem;
  --pr4-space-sm: 0.75rem;
  --pr4-space-md: 1.25rem;
  --pr4-space-2xl: 5.25rem;

  /* typography */
  --pr4-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --pr4-space-2xs: 0.5625rem;
    --pr4-space-sm: 1.125rem;
    --pr4-space-md: 2rem;
    --pr4-space-2xl: 8.25rem;

    /* typography */
    --pr4-text-sm: 1rem;
  }
}

/* buttons */
.pr4-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  white-space: nowrap;
  text-decoration: none;
  background: hsl(var(--pr4-color-bg-dark-hsl));
  color: hsl(var(--pr4-color-contrast-higher-hsl));
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.2s ease;
  will-change: transform;
  padding: var(--pr4-space-2xs) var(--pr4-space-sm);
  border-radius: 0.25em;
}

.pr4-btn:focus-visible {
  box-shadow: 0px 0px 0px 2px hsl(var(--pr4-color-bg-hsl)), 0px 0px 0px 4px hsla(var(--pr4-color-contrast-higher-hsl), 0.15);
  outline: none;
}

.pr4-btn:active {
  transform: translateY(2px);
}

.pr4-btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-dark);
  box-shadow: inset 0px 1px 0px hsla(var(--pr4-color-white-hsl), 0.15), 0px 1px 3px hsl(0deg 0% 40.88% / 25%), 0px 2px 6px hsl(0deg 0% 59.51% / 10%), 0px 6px 10px -2px hsl(0deg 0% 36.62% / 25%);
}

.pr4-btn--primary:hover {
  box-shadow: inset 0px 1px 0px hsla(var(--pr4-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--pr4-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--pr4-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--pr4-color-primary-darker-hsl), 0.25);
}

.pr4-btn--primary:focus {
  box-shadow: inset 0px 1px 0px hsla(var(--pr4-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--pr4-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--pr4-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--pr4-color-primary-darker-hsl), 0.25), 0px 0px 0px 2px hsl(var(--pr4-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--pr4-color-primary-hsl));
}

.pr4-btn--subtle {
  background: hsl(var(--pr4-color-bg-lighter-hsl));
  color: hsl(var(--pr4-color-contrast-higher-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--pr4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--pr4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--pr4-color-black-hsl), 0.2), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.pr4-btn--subtle:hover {
  background: hsl(var(--pr4-color-bg-light-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--pr4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--pr4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--pr4-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
}

.pr4-btn--subtle:focus {
  box-shadow: inset 0px 1px 0px hsla(var(--pr4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--pr4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--pr4-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12), 0px 0px 0px 2px hsl(var(--pr4-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--pr4-color-contrast-high-hsl));
}

/* icons */
.pr4-icon {
  height: var(--pr4-size, 1em);
  width: var(--pr4-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

/* component */
.p-table-v2 *[data-plan=month] {
  display: none;
}

.p-table-v2--monthly-plan *[data-plan=year] {
  display: none;
}
.p-table-v2--monthly-plan *[data-plan=month] {
  display: inline;
}

/* utility classes */
.pr4-margin-top-2xs {
  margin-top: var(--pr4-space-2xs);
}

.pr4-text-center {
  text-align: center;
}

.pr4-color-contrast-medium {
  --pr4-color-o: 1;
  color: hsla(var(--pr4-color-contrast-medium-hsl), var(--pr4-color-o, 1));
}

.pr4-text-sm {
  font-size: var(--pr4-text-sm);
}

.pr4-width-100\% {
  width: 100%;
}

.pr4-margin-bottom-2xs {
  margin-bottom: var(--pr4-space-2xs);
}

.pr4-sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.pr4-margin-top-auto {
  margin-top: auto;
}

.pr4-color-success {
  --pr4-color-o: 1;
  color: hsla(var(--pr4-color-success-hsl), var(--pr4-color-o, 1));
}

.pr4-items-start {
  align-items: flex-start;
}

.pr4-flex {
  display: flex;
  font-size: .85em;
}

.pr4-margin-bottom-md {
  margin-bottom: var(--pr4-space-md);
}

.pr4-shadow-sm {
  box-shadow:0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.pr4-radius-md {
  border-radius: 0.25em;
}

.pr4-padding-md {
  padding: var(--pr4-space-md);
}

.pr4-bg {
  --pr4-bg-o: 1;
  background-color: hsla(var(--pr4-color-bg-hsl), var(--pr4-bg-o, 1));
}

.pr4-flex-column {
  flex-direction: column;
}

.pr4-gap-md {
  gap: var(--pr4-space-md);
}

.pr4-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.pr4-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

.pr4-justify-center {
  justify-content: center;
}

.pr4-flex-wrap {
  flex-wrap: wrap;
}

.pr4-max-width-adaptive-lg {
  max-width: 32rem;
}

@media(min-width: 48rem) {
  .pr4-max-width-adaptive-lg {
    max-width: 48rem;
  }
}

@media(min-width: 64rem) {
  .pr4-max-width-adaptive-lg {
    max-width: 64rem;
  }
}

@media(min-width: 80rem) {
  .pr4-max-width-adaptive-lg {
    max-width: 80rem;
  }
}

.pr4-container {
  width: calc(100% - 2*var(--pr4-space-md));
  margin-left: auto;
  margin-right: auto;
}

.pr4-padding-2xl {
  padding: 40px 20px 0px;
}

.pr4-z-index-1 {
  z-index: 1;
}

.pr4-position-relative {
  position: relative;
}

.pr4-bg-dark {
  --pr4-bg-o: 1;
  background-color: var(--color-accent);
}

@media(min-width: 64rem){
  .pr4-gap-sm\@md {
    gap: var(--pr4-space-sm);
  }

  .pr4-col-4\@md {
    grid-column-end: span 4;
  }
}