[v-cloak] > * {
  display: none;
}

[v-cloak]::before {
  content: "loading…";
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.product-section-top {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1.product-header {
  text-transform: uppercase;
  color: var(--secondary-accent);
}

.product-section {
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

p.product-subheader {
  margin-top: 15px;
  font-size: 30px;
  font-weight: bold;
}

p.product-description {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-color-50);
  max-width: min(600px, 100%);
  line-height: 1.4;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  border-radius: 5px;
  background-color: var(--secondary-accent);
  color: var(--text-on-secondary-accent);
  padding: 5px;
  display: flex;
  margin-right: 15px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-content dd,
.feature-content dd a {
  line-height: 1.5;
  color: var(--text-color-50);
}

.feature-content dt {
  font-size: 18px;
}

.checkout-container {
  margin-top: 40px;
}

.checkout-cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.checkout-cta-text {
  font-size: 18px;
  color: var(--text-color-50);
  line-height: 1.4;
}

.checkout-error {
  color: #e02323;
  font-size: 14px;
  padding: 8px;
  background: rgba(224, 35, 35, 0.1);
  border-radius: 4px;
}

.success-message {
  border-left-color: #10c948;
}

.cancelled-message {
  border-left-color: #f0ad4e;
}

button.main-button {
  cursor: pointer;
}

button.main-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.button.primary {
  cursor: pointer;
  border: none;
  font-size: 14px;
}

button.button.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.feature-showcase {
  display: flex;
}

.feature-showcase img {
  width: 500px;
  border-radius: 12px;
  border: 2px solid var(--bg-color-hover);
  /* padding: 10px; */
  /* box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); */
  /* transition: box-shadow 100ms ease-in-out; */
}

/* .feature-showcase img:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
} */

h3.feature-showcase-title {
  font-weight: bold;
  font-size: 30px;
}

h3.feature-showcase-title span {
  border-bottom: 4px solid var(--secondary-accent);
}

.feature-showcase-content {
  margin-left: 40px;
}

.feature-showcase.right .feature-showcase-content {
  margin-left: 0;
}

p.feature-showcase-description {
  margin-top: 20px;
  line-height: 1.3;
  font-size: 20px;
}

.feature-showcase.right img {
  order: 1;
  margin-left: 40px;
}

p.info {
  font-size: 19px;
  display: flex;
  align-items: center;
  border-left: 10px solid rgb(0, 158, 61);
  padding: 20px;
  background: var(--bg-color-faint);
}

p.error {
  font-size: 19px;
  display: flex;
  align-items: center;
  border-left: 10px solid rgb(190, 24, 24);
  padding: 20px;
  background: var(--bg-color-faint);
}

p.info svg {
  width: 32px;
  height: 32px;
}

p.info span {
  margin-left: 5px;
}

p a {
  text-decoration: none;
  border-bottom: 2px solid var(--secondary-accent);
  /* transition: border-color 100ms ease-in-out; */
}

p a:hover {
  border-color: var(--text-color-100);
}

.kit-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  align-items: flex-start;
}

.kit_preview_image_container {
  position: relative;
}

img.kit_preview_image {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.kit_preview.pattern img.kit_preview_image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.kit_preview.pattern .kit_preview_image_container {
  padding-top: 100%;
}

.kit_preview_name {
  margin-top: 10px;
  color: var(--secondary-accent);
  font-size: 18px;
  display: flex;
  align-items: center;
}

.kit_preview_name svg {
  width: 16px;
  height: 16px;
  color: var(--text-color-100);
  margin-right: 5px;
}

.kit_preview_description {
  margin-top: 10px;
  font-weight: bold;
  color: var(--text-color-50);
  font-size: 14px;
}

.kit_preview_teaser {
  font-size: 22px;
  padding-top: 100%;
  position: relative;
}

.kit_preview_teaser div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 0;
  position: absolute;
  height: 100%;
}

.kit_preview_teaser span {
  /* border-bottom: 4px solid var(--primary-accent); */
  padding: 20px;
  background-color: var(--bg-color-faint);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.plus-tier-indicators {
  display: flex;
  gap: 4px;
}

.plus-tier-indicator {
  background-color: #e02323;
  color: #ffffff;
  padding: 6px 8px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.plus-tier-indicator svg {
  width: 24px;
  height: 24px;
}

.plus-tier-indicator.active {
  background-color: #10c948;
}

.plus-tier-indicator:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.plus-tier-indicator:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

table {
  /* border: 1px solid red; */
  border-collapse: collapse;
  /* margin: 40px 0; */
}

tr th {
  text-align: left;
}

thead tr th {
  text-align: center;
}

td,
th {
  border: 1px solid var(--bg-color-hover);
  padding: 8px;
  text-align: center;
}

td:nth-child(n + 2) {
  width: 140px;
}

tr:nth-child(-n + 2) {
  font-weight: bold;
}

th > span,
td > span {
  vertical-align: middle;
}

span.tier-badge {
  font-size: 12px;
  margin-left: 4px;
  font-weight: normal;
  background-color: var(--secondary-accent);
  color: var(--text-on-secondary-accent);
  padding: 2px 4px;
  border-radius: 4px;
}

.main-button {
  border: none;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  background-color: var(--secondary-accent);
  color: var(--text-on-secondary-accent);
  padding: 8px;
  border-radius: 4px;
}

.main-button:hover {
  opacity: 0.7;
}

td .button-container {
  margin: 4px;
}

.buy-button-container {
  justify-content: center;
}

.tier-price {
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.tier-price__billing-mode {
  font-size: 12px;
  font-weight: normal;
  margin-top: 13px;
  color: var(--text-color-70);
  cursor: pointer;
}

.tier-price__per-month {
  font-size: 13px;
  font-weight: normal;
  margin-top: 5px;
}

label.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

label.toggle-label[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-label:focus-visible {
  outline: none;
}

.toggle-label:not([disabled]):focus-visible .toggle-thumb {
  /* box-shadow: 0 0 2px 1px var(--secondary-accent); */
  box-shadow: 0 0 0 2px var(--secondary-accent);
}

.toggle {
  width: 36px;
  flex-shrink: 0;
  display: flex;
  border-radius: 10px;
  height: 16px;
  background: var(--bg-input);
  position: relative;
}

.toggle-thumb {
  position: absolute;
  left: 0;
  transition:
    left 150ms ease-in-out,
    background-color 150ms ease-in-out,
    box-shadow 150ms ease-in-out;
  background-color: var(--thumb-color);
  width: 16px;
  height: 16px;
  border-radius: 100%;
}

.toggle-thumb.active {
  left: 20px;
  background-color: var(--secondary-accent);
}

button.toggle-basic {
  border: none;
  color: var(--text-color-100);
  padding: 0;
  background-color: var(--bg-input);
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* transition: background-color 150ms ease-in-out, box-shadow 100ms ease-in-out; */
}

button.toggle-basic[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
}

.toggle-basic:focus-visible {
  outline: none;
  box-shadow: 0 0 1px 2px var(--secondary-accent);
}

.toggle-basic > svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  /* color: var(--text-on-primary-accent); */
  /* transition: opacity 100ms ease-in-out; */
}

.active.toggle-basic > svg {
  opacity: 1;
}

.login-button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.login-button {
  display: inline-flex;
  background-color: var(--secondary-accent);
  color: var(--text-on-secondary-accent);
  padding: 16px 24px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.login-button:hover {
  opacity: 0.7;
}

@media (max-width: 1023px) {
  .feature-showcase img {
    width: 350px;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .feature-showcase {
    flex-direction: column;
  }

  .feature-showcase-content {
    margin: 40px 0 0;
  }

  .feature-showcase.right img {
    margin: 0;
    order: initial;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .kit-container {
    grid-template-columns: 1fr 1fr;
  }

  .product-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
