.packages .section-head {
  margin-bottom: 8px;
}

.pack-group {
  margin-top: clamp(44px, 5vw, 64px);
}

.pack-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--soft);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pack-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pack {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.pack.is-featured {
  border-color: rgba(150, 160, 255, 0.32);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(125, 136, 255, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 70px -56px rgba(125, 136, 255, 0.7);
}

.pack-flag {
  position: absolute;
  top: clamp(20px, 2.2vw, 28px);
  right: clamp(20px, 2.2vw, 28px);
  padding: 5px 11px;
  border: 1px solid rgba(150, 160, 255, 0.35);
  border-radius: 999px;
  color: #c8ceff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-name {
  margin: 0;
  padding-right: 120px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.pack-name a {
  color: inherit;
  text-decoration: none;
}

.pack-name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.pack-price {
  margin: 14px 0 0;
  color: var(--text);
}

.pack-amount,
.product-price .pack-amount {
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.pack-period {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.pack-lead {
  flex: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.pack-time {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.9rem;
}

.pack-cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: 22px;
}

.nav-cart span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--aurora);
  color: #05070d;
  font-size: 0.75rem;
  font-weight: 700;
}

.shop-wrap {
  max-width: var(--wrap);
}

.shop .doc-wrap > h1 {
  max-width: 16ch;
}

.shop-lede {
  max-width: 62ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: var(--fs-lede);
}

.packages-all .pack-group:first-child {
  margin-top: clamp(48px, 6vw, 80px);
}

.shop-quote {
  margin-top: clamp(48px, 6vw, 72px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.product-intro h1 {
  max-width: 14ch;
}

.product-lead {
  max-width: 54ch;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: var(--fs-lede);
}

.product-buy {
  position: sticky;
  top: 110px;
  isolation: isolate;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(150, 160, 255, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(125, 136, 255, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 90px -60px rgba(125, 136, 255, 0.75);
}

.product-price {
  margin: 0;
}

.product-terms {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-time {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
}

.product-time span {
  color: var(--muted);
}

.product-buy form.cart {
  margin: 24px 0 0;
}

.product-buy .quantity {
  display: none;
}

.product-buy .single_add_to_cart_button {
  width: 100%;
}

.product-safe {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 0.92rem;
}

.product-safe li {
  position: relative;
  padding-left: 24px;
}

.product-safe li + li {
  margin-top: 6px;
}

.product-safe li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 1.6px solid var(--ice);
  border-bottom: 1.6px solid var(--ice);
  transform: rotate(-45deg);
}

.product-quote {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-quote a,
.shop-body a:not(.button):not(.btn),
.woocommerce-info a,
.woocommerce-message a:not(.button) {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.product-body {
  max-width: 720px;
  margin-top: clamp(40px, 5vw, 64px);
}

.product-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-body ul li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}

.product-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--aurora);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
#place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f2f5fa;
  color: #05070d;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.4s var(--ease);
}

.woocommerce .button:hover,
.single_add_to_cart_button:hover,
#place_order:hover {
  background: #fff;
  box-shadow: 0 14px 40px -18px rgba(150, 175, 255, 0.8);
}

.woocommerce .button:disabled,
.woocommerce .button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  list-style: none;
}

.woocommerce-error {
  border-color: rgba(255, 120, 120, 0.4);
  background: rgba(255, 80, 80, 0.08);
}

.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  min-height: 40px;
  margin-left: 16px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.shop-body {
  margin-top: clamp(40px, 5vw, 64px);
}

.shop-body table.shop_table {
  width: 100%;
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.shop-body table.shop_table th,
.shop-body table.shop_table td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.shop-body table.shop_table thead th {
  border-top: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-body table.shop_table tfoot th,
.shop-body table.shop_table tfoot td {
  background: rgba(255, 255, 255, 0.02);
}

.shop-body .order-total th,
.shop-body .order-total td {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
}

.shop-body .product-remove a.remove {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
}

.shop-body .product-remove a.remove:hover {
  border-color: rgba(255, 120, 120, 0.5);
  color: #ff9b9b;
}

.shop-body .product-thumbnail {
  display: none;
}

.shop-body .product-name a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.cart-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.shop-body .coupon,
.shop-body button[name="update_cart"],
.shop-body .woocommerce-shipping-totals,
.shop-body .quantity {
  display: none;
}

.shop-body .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}

.shop-body .cart_totals {
  width: min(100%, 440px);
}

.shop-body .cart_totals h2,
.shop-body #order_review_heading,
.shop-body .woocommerce-billing-fields h3,
.shop-body .woocommerce-additional-fields h3,
.shop-body .woocommerce-order-details__title,
.shop-body .woocommerce-column__title {
  margin: 0 0 18px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.shop-body .wc-proceed-to-checkout .button {
  width: 100%;
}

.woocommerce form .form-row {
  margin: 0 0 18px;
  padding: 0;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.woocommerce form .form-row .required {
  color: var(--ice);
  text-decoration: none;
}

.woocommerce form .form-row .optional {
  color: var(--dim);
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s;
}

.woocommerce form textarea {
  min-height: 120px;
  resize: vertical;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  border-color: rgba(125, 136, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.woocommerce form .input-text::placeholder,
.woocommerce form textarea::placeholder {
  color: var(--dim);
}

.select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 4px;
  color: var(--text);
  line-height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 12px;
  right: 10px;
}

.select2-dropdown {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0d1220;
  color: var(--text);
  overflow: hidden;
}

.select2-search--dropdown .select2-search__field {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: rgba(125, 136, 255, 0.35);
  color: #fff;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: auto;
}

form.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  grid-template-rows: min-content 1fr;
  gap: 24px clamp(32px, 5vw, 64px);
  align-items: start;
}

form.woocommerce-checkout > .woocommerce-NoticeGroup,
form.woocommerce-checkout > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

form.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: span 2;
}

form.woocommerce-checkout #order_review_heading,
form.woocommerce-checkout #order_review {
  grid-column: 2;
}

form.woocommerce-checkout #order_review {
  align-self: start;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

#order_review table.shop_table {
  border: 0;
  border-radius: 0;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 12px 0;
}

#order_review table.shop_table thead th {
  background: none;
}

#order_review table.shop_table tfoot th,
#order_review table.shop_table tfoot td {
  background: none;
}

#order_review table.shop_table td:last-child,
#order_review table.shop_table th:last-child {
  text-align: right;
}

.woocommerce-checkout #payment {
  margin-top: 8px;
  border-radius: 16px;
  background: none;
}

.woocommerce-checkout #payment ul.payment_methods {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.woocommerce-checkout #payment div.payment_box {
  margin: 12px 0 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  font-size: 0.92rem;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

.woocommerce-checkout #payment .place-order {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.woocommerce-terms-and-conditions-wrapper a {
  color: var(--text);
}

.woocommerce-form__label-for-checkbox {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
}

.woocommerce-form__input-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--peri);
}

#place_order {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
}

.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.woocommerce-order-overview li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 1rem;
}

.woocommerce-thankyou-order-received {
  margin: 0 0 28px;
  color: var(--text);
  font-size: var(--fs-lede);
}

.woocommerce-customer-details address {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--soft);
  font-style: normal;
}

.wc-empty-cart-message .cart-empty {
  margin-bottom: 24px;
}

.blockUI.blockOverlay {
  background: rgba(4, 6, 11, 0.6) !important;
}

@media (max-width: 1080px) {
  .pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .product-intro {
    display: contents;
  }

  .product-intro > * {
    order: 1;
  }

  .product-hero > .product-buy {
    order: 2;
  }

  .product-intro > .product-body {
    order: 3;
    margin-top: 56px;
  }

  .product-hero,
  form.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-hero {
    gap: 0;
  }

  .product-intro h1 {
    margin-top: 0;
  }

  .product-lead {
    margin-bottom: 32px;
  }

  form.woocommerce-checkout #customer_details,
  form.woocommerce-checkout #order_review_heading,
  form.woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  .product-buy {
    position: relative;
    top: 0;
  }
}

@media (max-width: 720px) {
  .pack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-body table.shop_table_responsive thead {
    display: none;
  }

  .shop-body table.shop_table_responsive tr td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }

  .shop-body table.shop_table_responsive tr td::before {
    content: attr(data-title);
    color: var(--muted);
    font-weight: 600;
  }

  .shop-body table.shop_table_responsive tr td.product-remove::before {
    content: none;
  }

  .woocommerce-message .button,
  .woocommerce-info .button {
    float: none;
    margin: 12px 0 0;
  }
}

#order_review .product-quantity {
  display: none;
}
