.shk-prices,
.shk-prices * {
  box-sizing: border-box;
}

.shk-prices {
  --shkp-deep: var(--wp--preset--color--deep-forest, #023c31);
  --shkp-forest: var(--wp--preset--color--forest, #0e5142);
  --shkp-mist: var(--wp--preset--color--mist, #eaf0eb);
  --shkp-line: var(--wp--preset--color--line, #dce4de);
  --shkp-muted: var(--wp--preset--color--muted, #64716c);
  --shkp-paper: var(--wp--preset--color--paper, #fffefb);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}

.shk-prices__grid {
  display: grid;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: start;
}

.shk-prices__nav {
  min-width: 0;
  margin: 0;
  padding: 7px 0;
  background: var(--shkp-mist);
}

.shk-prices__tab {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.shk-prices__tab:hover,
.shk-prices__tab:focus-visible {
  background: color-mix(in srgb, var(--shkp-deep) 7%, transparent);
  outline: none;
}

.shk-prices__tab.is-active,
.shk-prices__tab[aria-selected="true"] {
  color: var(--shkp-paper);
  background: var(--shkp-deep);
}

.shk-prices__content,
.shk-prices__panel {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.shk-prices__panel[hidden] {
  display: none !important;
}

.shk-price-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 84px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--shkp-line);
}

.shk-price-item:first-child {
  border-top: 0;
}

.shk-price-item__main {
  min-width: 0;
}

.shk-price-item__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shk-price-item__title {
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
}

.shk-price-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--shkp-mist);
  color: var(--shkp-deep);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.shk-price-item__description {
  margin-top: 6px;
  color: var(--shkp-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.shk-price-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  font-size: 0.94rem;
  line-height: 1.35;
}

.shk-price-item__price {
  font-weight: 700;
}

.shk-price-item__dot,
.shk-price-item__duration {
  color: var(--shkp-muted);
}

.shk-price-item__dot {
  opacity: 0.5;
}

.shk-price-item__action {
  flex: 0 0 auto;
  margin: 0;
}

.shk-price-item__action .wp-block-button__link {
  white-space: nowrap;
  text-decoration: none;
}

.shk-prices--empty {
  color: var(--shkp-muted, #64716c);
}

@media (max-width: 780px) {
  .shk-prices__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .shk-prices__nav {
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 0 0 3px;
    overflow-x: auto;
    background: transparent;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }

  .shk-prices__tab {
    width: auto;
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid var(--shkp-line);
    border-radius: 999px;
    white-space: nowrap;
  }

  .shk-prices__tab.is-active,
  .shk-prices__tab[aria-selected="true"] {
    border-color: var(--shkp-deep);
  }

  .shk-price-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px 0;
  }

  .shk-price-item__action {
    width: max-content;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .shk-price-item__action,
  .shk-price-item__action .wp-block-button__link {
    width: 100%;
  }
}
