.fk-checkout,
.fk-checkout * {
  box-sizing: border-box;
}

.fk-checkout {
  margin: 0;
  min-width: 320px;
  background: var(--fk-cream);
  color: var(--fk-text);
  font-family: var(--fk-font);
  -webkit-font-smoothing: antialiased;
}

.fk-checkout ::selection {
  background: rgba(36, 123, 53, 0.18);
}

.fk-co {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.fk-co-header {
  border-bottom: 1px solid rgba(22, 39, 68, 0.08);
}

.admin-bar .fk-co-header {
  margin-top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .fk-co-header {
    margin-top: 46px;
  }
}

.fk-co-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1152px, calc(100% - 32px));
  min-height: 76px;
  margin-inline: auto;
}

.fk-co-header__logo img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.fk-co-header__secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fk-muted);
  font-size: 14px;
  font-weight: 500;
}

.fk-co-header__secure svg {
  width: 16px;
  height: 16px;
}

.fk-co-main {
  flex: 1;
  width: min(1152px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.fk-co-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.fk-co-pill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(22, 39, 68, 0.12);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--fk-muted);
  font-size: 13px;
  font-weight: 700;
}

.fk-co-intro h1 {
  margin: 0 0 16px;
  color: var(--fk-navy);
  font-family: var(--fk-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.1;
}

.fk-co-intro p {
  margin: 0;
  color: rgba(22, 39, 68, 0.8);
  font-size: 18px;
  line-height: 1.7;
}

.fk-co-intro strong {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}

.fk-co-login {
  margin-top: 16px !important;
  font-size: 14px !important;
}

.fk-co-login a {
  color: var(--fk-green);
  font-weight: 600;
  text-decoration: none;
}

.fk-co-login a:hover {
  text-decoration: underline;
}

.fk-co-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.fk-co-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fk-co-summary {
  overflow: hidden;
  border: 1px solid rgba(22, 39, 68, 0.08);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 8px 24px rgba(22, 39, 68, 0.05);
}

.fk-co-summary__hero {
  height: 80px;
  background: linear-gradient(135deg, rgba(36, 123, 53, 0.12), rgba(36, 123, 53, 0.03));
}

.fk-co-summary__body {
  padding: 24px;
}

.fk-co-summary__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.fk-ils {
  font-family: var(--fk-font);
  font-weight: 700;
  font-style: normal;
}

.fk-co-amount {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.08em;
  direction: ltr;
  unicode-bidi: isolate;
}

.fk-co-summary__top h2,
.fk-co-summary__price .fk-co-amount__n {
  margin: 0;
  color: var(--fk-navy);
  font-family: var(--fk-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.fk-co-summary__price .fk-ils {
  font-size: 32px;
  line-height: 1;
}

.fk-co-summary__lead {
  margin: 0 0 4px;
  color: rgba(22, 39, 68, 0.7);
  font-size: 18px;
  font-weight: 500;
}

.fk-co-summary__meta {
  margin: 0 0 24px;
  color: var(--fk-muted);
  font-size: 14px;
}

.fk-co-plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.fk-co-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid rgba(22, 39, 68, 0.12);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.fk-co-pick.is-on {
  border-color: var(--fk-green);
  background: rgba(36, 123, 53, 0.04);
}

.fk-co-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fk-co-pick__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(22, 39, 68, 0.2);
  border-radius: 6px;
  background: #fff;
  color: transparent;
  flex-shrink: 0;
}

.fk-co-pick.is-on .fk-co-pick__check {
  border-color: var(--fk-green);
  background: var(--fk-green);
  color: #fff;
}

.fk-co-pick__check svg {
  width: 12px;
  height: 12px;
}

.fk-co-pick__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fk-co-pick__copy strong {
  font-weight: 700;
}

.fk-co-pick__copy small {
  color: var(--fk-muted);
  font-size: 12px;
  font-weight: 500;
}

.fk-co-pick__amount {
  font-weight: 700;
}

.fk-co-upsell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1.5px solid rgba(22, 39, 68, 0.12);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.fk-co-upsell.is-on {
  border-color: var(--fk-green);
  background: rgba(36, 123, 53, 0.04);
}

.fk-co-upsell input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--fk-green);
  flex-shrink: 0;
}

.fk-co-upsell__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fk-co-upsell__copy strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.fk-co-upsell__copy svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--fk-green);
}

.fk-co-upsell__copy span {
  color: rgba(22, 39, 68, 0.7);
  font-size: 14px;
}

.fk-co-upsell__copy small {
  color: var(--fk-muted);
  font-size: 12px;
}

.fk-co-upsell__error {
  margin: -8px 0 16px;
  color: #b42318;
  font-size: 13px;
}

.fk-co-total__line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--fk-muted);
  font-size: 14px;
  font-weight: 500;
}

.fk-co-total__line[hidden],
.fk-co-total p[hidden],
.fk-co-plan [hidden],
.fk-co-summary__meta [hidden] {
  display: none !important;
}

.fk-co-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(36, 123, 53, 0.12);
  border-radius: 12px;
  background: rgba(36, 123, 53, 0.05);
  color: var(--fk-green);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.fk-co-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.fk-co-summary.is-open .fk-co-toggle svg {
  transform: rotate(180deg);
}

.fk-co-details {
  display: none;
}

.fk-co-summary.is-open .fk-co-details {
  display: block;
}

.fk-co-includes {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.fk-co-includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(22, 39, 68, 0.8);
  font-weight: 500;
}

.fk-co-includes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(36, 123, 53, 0.1);
  color: var(--fk-green);
}

.fk-co-includes svg {
  width: 12px;
  height: 12px;
}

.fk-co-total {
  padding-top: 20px;
  border-top: 1px solid rgba(22, 39, 68, 0.08);
}

.fk-co-total__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fk-navy);
  font-size: 20px;
  font-weight: 700;
}

.fk-co-total p {
  margin: 6px 0 0;
  color: var(--fk-muted);
  font-size: 14px;
}

.fk-co-steps h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.fk-co-steps ol {
  margin: 0;
  padding: 0 8px 0 0;
  list-style: none;
}

.fk-co-steps li {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 24px;
}

.fk-co-steps li:last-child {
  padding-bottom: 0;
}

.fk-co-steps li > span {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--fk-sand);
  box-shadow: 0 0 0 6px var(--fk-cream);
}

.fk-co-steps li.is-now > span {
  background: var(--fk-green);
}

.fk-co-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 6px;
  width: 1px;
  bottom: 0;
  background: rgba(22, 39, 68, 0.12);
}

.fk-co-steps strong {
  display: block;
  margin-bottom: 4px;
}

.fk-co-steps p {
  margin: 0;
  color: var(--fk-muted);
  font-size: 14px;
}

.fk-co-section {
  margin-bottom: 48px;
}

.fk-co-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--fk-navy);
  font-family: var(--fk-display);
  font-size: 22px;
  font-weight: 400;
}

.fk-co-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(36, 123, 53, 0.1);
  color: var(--fk-green);
  font-family: var(--fk-font);
  font-size: 13px;
  font-weight: 700;
}

.fk-checkout .form-row {
  margin: 0 0 16px;
  padding: 0;
}

.fk-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.fk-checkout .form-row label .optional,
.fk-checkout .form-row label .required {
  color: var(--fk-green);
}

.fk-checkout .form-row input.input-text,
.fk-checkout .form-row input[type="email"],
.fk-checkout .form-row input[type="tel"],
.fk-checkout .form-row input[type="text"],
.fk-checkout .form-row select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(22, 39, 68, 0.16);
  border-radius: 12px;
  background: #fffaf0;
  color: var(--fk-navy);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fk-checkout #billing_email,
.fk-checkout #billing_phone,
.fk-checkout #fk_invoice_email {
  direction: ltr;
  text-align: right;
}

.fk-checkout .form-row input:hover,
.fk-checkout .form-row select:hover {
  border-color: rgba(22, 39, 68, 0.3);
}

.fk-checkout .form-row input:focus,
.fk-checkout .form-row select:focus {
  border-color: var(--fk-green);
  box-shadow: 0 0 0 3px rgba(36, 123, 53, 0.12);
}

.fk-checkout .form-row .woocommerce-input-wrapper {
  display: block;
}

.fk-checkout .woocommerce-invalid input {
  border-color: #c0392b;
}

.fk-co-paybox {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(22, 39, 68, 0.08);
  border-radius: 20px;
  background: #fff;
}

.fk-co-paybox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(36, 123, 53, 0.1);
  color: var(--fk-green);
}

.fk-co-paybox__icon svg {
  width: 20px;
  height: 20px;
}

.fk-co-paybox strong {
  display: block;
  margin-bottom: 4px;
}

.fk-co-paybox p {
  margin: 0;
  color: var(--fk-muted);
  font-size: 14px;
  line-height: 1.6;
}

.fk-co-plan {
  margin: 0 0 16px;
  color: var(--fk-body);
  font-size: 14px;
  font-weight: 600;
}

.fk-checkout .wc_payment_methods {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.fk-checkout .wc_payment_methods > li > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.fk-checkout .payment_box {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(22, 39, 68, 0.08);
  border-radius: 16px;
  background: #fff;
}

.fk-checkout .payment_box p:first-child {
  margin-top: 0;
}

.fk-checkout .payment_box p:last-child {
  margin-bottom: 0;
}

.fk-checkout .payment_box input,
.fk-checkout .payment_box select {
  max-width: 100%;
}

.fk-co-submit,
.fk-checkout #place_order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--fk-green);
  color: #fffaf0;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(36, 123, 53, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.fk-co-submit:hover,
.fk-checkout #place_order:hover {
  background: var(--fk-green-dark);
  transform: translateY(-2px);
}

.fk-co-submit:disabled,
.fk-checkout #place_order:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.fk-co-submit__arrow {
  font-size: 20px;
}

.fk-checkout .woocommerce-terms-and-conditions-wrapper,
.fk-checkout .woocommerce-privacy-policy-text {
  display: none;
}

.fk-checkout .woocommerce-error,
.fk-checkout .woocommerce-message,
.fk-checkout .woocommerce-info,
.fk-checkout .woocommerce-NoticeGroup {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  list-style: none;
}

.fk-checkout .woocommerce-error {
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #8a241c;
}

.fk-checkout .blockUI.blockOverlay {
  background: rgba(245, 240, 229, 0.7) !important;
}

.fk-co-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(22, 39, 68, 0.08);
}

.fk-co-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border: 1px solid rgba(22, 39, 68, 0.08);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--fk-green);
}

.fk-co-trust svg {
  width: 20px;
  height: 20px;
}

.fk-co-trust h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.fk-co-trust p {
  margin: 0;
  color: var(--fk-muted);
  font-size: 13px;
  line-height: 1.6;
}

.fk-co-ron {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid rgba(22, 39, 68, 0.08);
  border-radius: 24px;
  background: #fffaf0;
}

.fk-co-ron__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #e5dfd1;
  color: #7a7363;
  font-family: var(--fk-display);
  font-size: 28px;
}

.fk-co-ron h3 {
  margin: 0 0 4px;
  font-family: var(--fk-display);
  font-size: 22px;
  font-weight: 400;
}

.fk-co-ron__role {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  font-weight: 500;
}

.fk-co-ron p {
  margin: 0;
  color: var(--fk-muted);
  font-size: 13px;
  line-height: 1.7;
}

.fk-co-footer {
  padding: 32px 16px;
  border-top: 1px solid rgba(22, 39, 68, 0.08);
  color: var(--fk-muted);
  font-size: 14px;
  text-align: center;
}

.fk-checkout .site-header,
.fk-checkout .site-footer,
.fk-checkout header.site-header,
.fk-checkout footer.site-footer {
  display: none !important;
}

@media (min-width: 768px) {
  .fk-co-ron {
    flex-direction: row;
    align-items: center;
  }

  .fk-co-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .fk-co-header__bar,
  .fk-co-main {
    width: min(1152px, calc(100% - 64px));
  }

  .fk-co-main {
    padding-top: 48px;
  }

  .fk-co-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
  }

  .fk-co-side {
    position: sticky;
    top: 32px;
  }

  .fk-co-toggle {
    display: none;
  }

  .fk-co-details,
  .fk-co-summary.is-open .fk-co-details {
    display: block;
  }

  .fk-co-summary__body {
    padding: 32px;
  }
}
