.pricing__grid__wrapper {
  padding-top: 3rem;
  color: #ffffff;
}

.pricing__grid {
  display: grid;
  align-items: start;
  gap: 1.8rem;
}

.item__content {
  order: 1;
}

.item__content .banner__img {
  display: none;
}

.item__content .content__body__title {
  color: #ced4da;
  font-size: 18px;
  font-weight: 400;

  margin-top: 1.5rem;
}

.item__content .content__body__wrapper {
  color: #ffffff !important;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  gap: 5px;

  margin-top: 0.25rem;
}

.item__content .content__body__wrapper p,
.item__content .content__body__wrapper p span,
.item__content .content__body__wrapper p div,
.item__content .content__body__wrapper p ul,
.item__content .content__body__wrapper p li {
  color: #ffffff !important;
}

.item_details__column .banner__img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 1rem;

  margin-bottom: 2rem;
}

.item_details__container {
  order: 0;
  background-color: var(--clr-dark-bg-green);
  border: 1px solid var(--clr-border-green);
  border-radius: 1rem;

  padding: 2.25rem 2rem;
}

.item_details__container .title {
  color: #ced4da;
  font-size: 24px;
  font-weight: 400;
}

.item_details__container .prices__wrapper {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.prices__wrapper .price__row {
  display: flex;
  justify-content: start;
  align-items: end;
  gap: 1rem;
}

.prices__wrapper .label__wrapper {
  width: 180px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.prices__wrapper .label__wrapper .time__period {
  color: #ced4da;
  font-size: var(--size-lg);
  font-weight: 400;
}

.prices__wrapper .value {
  color: var(--clr-white);
  font-size: 24px;
  font-weight: 500;
}

.item_details__container .indicator__buy__btn {
  font-size: var(--size-base);
  font-weight: 600;

  padding: 0.75rem;
  margin-top: 1.5rem;
}

.item_details__container .short__description {
  color: #a3a3a3;
  font-size: 15px;
  font-weight: 400;

  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* xxxs */
/* @media (min-width: 320px) {} */

/* xxs */
/* @media (min-width: 380px) {} */

/* xs */
/* @media (min-width: 475px) {} */

/* sm */
/* @media (min-width: 640px) {} */

/* md */
@media (min-width: 768px) {
  .pricing__grid__wrapper {
    padding-top: 3rem;
  }
}

/* lg */
@media (min-width: 1024px) {
  .pricing__grid__wrapper {
    padding-top: 7rem;
  }

  .pricing__grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
    gap: 1.8rem;
  }

  .item__content {
    order: 0;
  }

  .item_details__container {
    order: 1;
  }

  .item_details__column .banner__img {
    display: none;
  }

  .item__content .banner__img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 1rem;
  }
}

/* xl */
/* @media (min-width: 1280px) {} */

/* 2xl */
/* @media (min-width: 1536px) {} */

/* ============================================================
   CHECKOUT MODAL — checkout-modal.css
   ============================================================
   Namespace prefix: co- (checkout)
   All selectors are scoped to avoid conflicts with your
   existing stylesheet.
   ============================================================ */

/* ── Backdrop ──────────────────────────────────────────────── */

.co-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 10, 9, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Hidden state */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.co-backdrop[hidden] {
  /* Override browser [hidden] so our CSS transition can still play */
  display: flex !important;
}

.co-backdrop.co-is-open {
  opacity: 1;
  pointer-events: all;
}

/* ── Modal ──────────────────────────────────────────────────── */

.co-modal {
  position: relative;
  width: 100%;
  max-width: 468px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;

  background: #041e1d;
  background: var(--clr-dark-bg-green);
  border: 1px solid #0d3b38;
  border-radius: 18px;
  padding: 1.75rem 1.875rem;

  /* Hidden state */
  opacity: 0;
  transform: scale(0.96) translateY(-14px);
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
}

.co-backdrop.co-is-open .co-modal {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Custom scrollbar inside modal */
.co-modal::-webkit-scrollbar {
  width: 4px;
}
.co-modal::-webkit-scrollbar-track {
  background: transparent;
}
.co-modal::-webkit-scrollbar-thumb {
  background: #1a4a47;
  border-radius: 4px;
}

/* ── Header ─────────────────────────────────────────────────── */

.co-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.co-header-text {
  min-width: 0;
}

.co-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4d9e99;
  color: #adb5bd;
  margin-bottom: 0.3rem;
}

.co-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f0fafa;
  margin: 0;
  line-height: 1.3;
  /* Prevent very long indicator names from breaking layout */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #073533;
  background: #073533;
  border: 1px solid #0d3b38;
  border-radius: 9px;
  color: #5da8a3;
  color: #adb5bd;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.co-close:hover {
  background: #0d4a46;
  border-color: #1a6b66;
  color: #e8f8f7;
}

.co-close:focus-visible {
  outline: 2px solid #1a8a84;
  outline-offset: 2px;
}

/* ── Divider ─────────────────────────────────────────────────── */

.co-divider {
  height: 1px;
  background: #0d3b38;
  margin-bottom: 1.375rem;
}

/* ── Duration Toggle ─────────────────────────────────────────── */

.co-section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d9e99;
  color: #adb5bd;
  margin-bottom: 0.5rem;
}

.co-toggle {
  position: relative;
  display: flex;
  background: #052b29;
  border: 1px solid #0d3b38;
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 1.25rem;
}

/* Sliding pill — driven by data-active attribute */
.co-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: #0d5450;
  border-radius: 8px;
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-toggle[data-active="yearly"]::before {
  transform: translateX(100%);
}

.co-toggle-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4d9e99;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  z-index: 1; /* sit above the ::before pill */
  transition: color 0.2s ease;
  line-height: 1;
}

.co-toggle-btn.co-active {
  color: #e8f8f7;
}

.co-toggle-btn:focus-visible {
  outline: 2px solid #1a8a84;
  outline-offset: -2px;
}

/* ── Price Section ───────────────────────────────────────────── */

.co-price-section {
  background: #052b29;
  border: 1px solid #0d3b38;
  border-radius: 13px;
  padding: 1rem 1.25rem 0.875rem;
  margin-bottom: 1.5rem;
}

.co-price-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d9e99;
  color: #adb5bd;
  margin-bottom: 0.35rem;
}

.co-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.co-price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #f0fafa;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  /* Price change animation */
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.co-price-amount.co-price-animating {
  opacity: 0;
  transform: translateY(-7px);
}

.co-price-currency {
  font-size: 1rem;
  font-weight: 600;
  color: #4db8b2;
  letter-spacing: 0.02em;
}

/* "Save X%" badge — shown only for yearly */
.co-price-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #052b29;
  background: #4db8b2;
  border-radius: 5px;
  padding: 0.2rem 0.45rem;
  margin-left: 0.25rem;
  align-self: center;
}

.co-price-note {
  display: block;
  font-size: 0.75rem;
  color: #3a7a76;
  color: #adb5bd;
  /* color: #6c757d; */
  margin-top: 0.375rem;
  transition: opacity 0.18s ease;
}

.co-price-note.co-price-animating {
  opacity: 0;
}

/* ── Form Fields ─────────────────────────────────────────────── */

.co-field-group {
  margin-bottom: 1rem;
}

.co-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ecfcc;
  color: #dee2e6;
  margin-bottom: 0.375rem;
}

.co-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #052b29;
  border: 1px solid #0d3b38;
  border-radius: 9px;
  font-size: 0.9375rem;
  color: #f0fafa;
  outline: none;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  /* Remove browser autofill yellow background */
  -webkit-text-fill-color: #f0fafa;
}

.co-input::placeholder {
  color: #2a6461;
  -webkit-text-fill-color: #2a6461;
}

/* Override autofill styles */
.co-input:-webkit-autofill,
.co-input:-webkit-autofill:hover,
.co-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #052b29 inset;
  -webkit-text-fill-color: #f0fafa;
  border-color: #0d3b38;
}

.co-input:focus {
  border-color: #1a8a84;
  box-shadow: 0 0 0 3px rgba(26, 138, 132, 0.18);
}

.co-input.co-input-error {
  border-color: #9b2c2c;
  box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.15);
}

.co-input.co-input-error:focus {
  border-color: #c53030;
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.18);
}

.co-field-error {
  display: block;
  font-size: 0.75rem;
  color: #fc8181;
  margin-top: 0.3rem;
  min-height: 1.1rem; /* prevent layout jump when error appears */
}

.co-field-hint {
  display: block;
  font-size: 0.75rem;
  color: #3a7a76;
  color: #adb5bd;
  color: #6c757d;
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ── Error Banner ────────────────────────────────────────────── */

.co-error-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(155, 44, 44, 0.12);
  border: 1px solid rgba(197, 48, 48, 0.25);
  border-radius: 9px;
  padding: 0.75rem 0.875rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #fc8181;
  line-height: 1.4;
}

.co-error-banner[hidden] {
  display: none;
}

.co-error-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: #fc8181;
}

/* ── Submit Button ───────────────────────────────────────────── */

.co-submit {
  width: 100%;
  padding: 0.8125rem 1.5rem;
  background: #0d6b64;
  background-color: var(--clr-white);
  border: none;
  border-radius: 11px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f0fafa;
  color: var(--clr-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition:
    background 0.2s ease,
    transform 0.12s ease,
    box-shadow 0.2s ease;
  margin-top: 0.375rem;
  letter-spacing: 0.01em;
}

/* .co-submit {
  background-color: var(--clr-btn-green);
  background-color: var(--clr-white);
  color: var(--clr-black);
  border: 1px solid var(--clr-btn-green);
  border: 1px solid var(--clr-white);
} */
/* 
.co-submit:hover {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-white);
} */

.co-submit:hover:not(:disabled) {
  /* background: #0f7d75; */
  opacity: 0.85;
  box-shadow: 0 4px 20px rgba(13, 107, 100, 0.35);
  /* background-color: var(--clr-white);
  border: 1px solid var(--clr-white);

  /* background-color: var(--clr-btn-green);
  border: 1px solid var(--clr-btn-green); */
}

.co-submit:active:not(:disabled) {
  transform: scale(0.985);
}

.co-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.co-submit:focus-visible {
  outline: 2px solid #4db8b2;
  outline-offset: 2px;
}

/* ── Spinner ─────────────────────────────────────────────────── */

.co-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(240, 250, 250, 0.25);
  border-top-color: #f0fafa;
  border-top-color: var(--clr-black);
  border-radius: 50%;
  animation: co-spin 0.65s linear infinite;
  flex-shrink: 0;
}

.co-spinner[hidden] {
  display: none;
}

@keyframes co-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Mobile — Bottom Sheet ───────────────────────────────────── */

@media (max-width: 520px) {
  .co-backdrop {
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
  }

  .co-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 1.5rem 1.25rem 2rem;
    /* On mobile: slide up from bottom */
    transform: translateY(30px);
    opacity: 0;
  }

  .co-backdrop.co-is-open .co-modal {
    transform: translateY(0);
    opacity: 1;
  }

  /* Pull handle visual hint */
  .co-modal::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    background: #1a4a47;
    border-radius: 2px;
    margin: 0 auto 1.25rem;
  }

  .co-price-amount {
    font-size: 1.75rem;
  }

  .co-title {
    font-size: 1rem;
  }
}

/* ── Reduced Motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .co-backdrop,
  .co-modal,
  .co-toggle::before,
  .co-toggle-btn,
  .co-price-amount,
  .co-price-note,
  .co-input,
  .co-submit,
  .co-close {
    transition: none !important;
  }

  .co-spinner {
    animation: none;
    border-top-color: #f0fafa;
    border-top-color: var(--clr-black);
    opacity: 0.8;
  }
}
