
.ksrfs-summary-actions {
  display: block;
  margin: 18px 0 16px;
}

.ksrfs-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  min-height: 60px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--ksrfs-primary), var(--ksrfs-secondary));
  color: #fff !important;
  border: 1px solid rgba(13, 45, 98, 0.08);
  box-shadow: 0 18px 38px rgba(13, 45, 98, 0.24);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ksrfs-download-btn:hover,
.ksrfs-download-btn:focus,
.ksrfs-download-btn:visited {
  color: #fff !important;
  opacity: .99;
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(13, 45, 98, 0.28);
}

.ksrfs-download-btn.is-hero {
  padding: 18px 30px;
  font-size: 17px;
}

.ksrfs-download-btn .ksrfs-btn-label,
.ksrfs-download-btn .ksrfs-download-icon {
  color: #fff !important;
}

.ksrfs-download-icon {
  font-size: 18px;
  line-height: 1;
}

.ksrfs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ksrfs-purchase-note {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  background: rgba(244, 197, 66, 0.14);
  border: 1px solid rgba(244, 197, 66, 0.65);
  color: var(--ksrfs-text);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  line-height: 1.25;
  box-sizing: border-box;
}

.ksrfs-cart-action-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(84px, 96px) minmax(180px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.ksrfs-cart-action-row .quantity {
  width: 100%;
  margin: 0 !important;
  float: none !important;
}

.ksrfs-cart-action-row .qty,
.ksrfs-cart-action-row input.qty {
  width: 100% !important;
  min-width: 0;
  min-height: 58px;
  height: 58px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
}

.ksrfs-cart-action-row .single_add_to_cart_button,
.ksrfs-cart-action-row button.single_add_to_cart_button {
  width: 100%;
  min-height: 58px;
  height: 58px;
  margin: 0 !important;
}

.ksrfs-after-cart-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
}

.ksrfs-wa-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  background: var(--ksrfs-wa-bg);
  color: #fff !important;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-sizing: border-box;
}

.ksrfs-wa-btn:hover,
.ksrfs-wa-btn:focus,
.ksrfs-wa-btn:visited {
  color: #fff !important;
  opacity: .97;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.ksrfs-wa-btn .ksrfs-btn-label,
.ksrfs-wa-btn svg {
  color: #fff !important;
  fill: currentColor !important;
}

.ksrfs-wa-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.single-product form.cart .ksrfs-after-cart-stack,
.woocommerce div.product form.cart .ksrfs-after-cart-stack {
  clear: both;
}

.ksrfs-sheet-wrap {
  color: var(--ksrfs-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 30px 0 0;
  box-shadow: none;
}

.ksrfs-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.ksrfs-hero-main,
.ksrfs-card {
  background: #fff;
  border: 1px solid rgba(13, 45, 98, 0.08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(13, 45, 98, 0.06);
}

.ksrfs-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--ksrfs-primary);
  margin-bottom: 14px;
}

.ksrfs-sheet-wrap h2,
.ksrfs-sheet-wrap h3 {
  color: var(--ksrfs-primary);
}

.ksrfs-sheet-wrap h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.ksrfs-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.ksrfs-intro p,
.ksrfs-cta-text p {
  margin: 0 0 12px;
}

.ksrfs-logo-box {
  background: linear-gradient(135deg, rgba(13, 45, 98, 0.05), rgba(23, 61, 122, 0.10));
  border-radius: 20px;
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.ksrfs-hero-logo {
  max-width: 100%;
  max-height: 118px;
  width: auto;
  height: auto;
}

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

.ksrfs-card.is-soft {
  background: linear-gradient(180deg, #fff 0%, var(--ksrfs-soft) 100%);
}

.ksrfs-card.is-accent-panel,
.ksrfs-card-cta {
  background: linear-gradient(180deg, rgba(244, 197, 66, 0.12) 0%, #fff 100%);
}

.ksrfs-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
}

.ksrfs-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(13, 45, 98, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 38px;
}

.ksrfs-card ul,
.ksrfs-card ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.ksrfs-card li {
  line-height: 1.55;
}

.ksrfs-card-cta {
  margin-top: 18px;
}

.ksrfs-cta-highlight {
  margin-top: 10px;
  font-weight: 800;
  color: var(--ksrfs-primary);
}

@media (max-width: 900px) {
  .ksrfs-hero,
  .ksrfs-grid {
    grid-template-columns: 1fr;
  }

  .ksrfs-hero-main,
  .ksrfs-hero-side,
  .ksrfs-card {
    padding: 20px;
    border-radius: 20px;
  }

  .ksrfs-download-btn,
  .ksrfs-download-btn.is-hero,
  .ksrfs-wa-btn {
    width: 100%;
  }
}


.ksrfs-hero-side,
.ksrfs-logo-box {
  display: none !important;
}

@media (max-width: 767px) {
  .ksrfs-cart-action-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .ksrfs-download-btn.is-hero {
    width: 100%;
  }
}


form.cart.ksrfs-cart-layout,
.single-product form.cart.ksrfs-cart-layout,
.woocommerce div.product form.cart.ksrfs-cart-layout {
  display: block !important;
}

form.cart.ksrfs-cart-layout .ksrfs-cart-action-row,
.single-product form.cart.ksrfs-cart-layout .ksrfs-cart-action-row,
.woocommerce div.product form.cart.ksrfs-cart-layout .ksrfs-cart-action-row {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(84px, 96px) minmax(180px, 1fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

form.cart.ksrfs-cart-layout .ksrfs-after-cart-stack,
.single-product form.cart.ksrfs-cart-layout .ksrfs-after-cart-stack,
.woocommerce div.product form.cart.ksrfs-cart-layout .ksrfs-after-cart-stack {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  flex: 0 0 100% !important;
  margin-top: 16px !important;
}

form.cart.ksrfs-cart-layout .ksrfs-wa-btn,
.single-product form.cart.ksrfs-cart-layout .ksrfs-wa-btn,
.woocommerce div.product form.cart.ksrfs-cart-layout .ksrfs-wa-btn {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
}

form.cart.ksrfs-cart-layout .single_add_to_cart_button,
.single-product form.cart.ksrfs-cart-layout .single_add_to_cart_button,
.woocommerce div.product form.cart.ksrfs-cart-layout .single_add_to_cart_button {
  width: 100% !important;
}

@media (max-width: 767px) {
  form.cart.ksrfs-cart-layout .ksrfs-cart-action-row,
  .single-product form.cart.ksrfs-cart-layout .ksrfs-cart-action-row,
  .woocommerce div.product form.cart.ksrfs-cart-layout .ksrfs-cart-action-row {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }
}


.single-product form.cart + .ksrfs-after-cart-stack,
.woocommerce div.product form.cart + .ksrfs-after-cart-stack {
  display: block !important;
  width: 100% !important;
  margin-top: 16px !important;
  clear: both !important;
}

.single-product form.cart + .ksrfs-after-cart-stack .ksrfs-wa-btn,
.woocommerce div.product form.cart + .ksrfs-after-cart-stack .ksrfs-wa-btn {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
}
