/* ==========================================================================
   MwalimuFocus.Co.Ke - Single Product & Enterprise Checkout Modal Stylesheet
   Exact match to user screenshot: Breadcrumb, Summary with Strands, M-Pesa Panel
   ========================================================================== */

/* Main Wrapper */
.mf-product-page-wrapper {
  background: #ffffff;
  padding: 16px 0 60px 0;
  min-height: 80vh;
}

/* Breadcrumb Navigation */
.mf-product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mf-product-breadcrumb a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.mf-product-breadcrumb a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.mf-bc-sep {
  color: #64748b;
  font-size: 12px;
  margin: 0 2px;
}

.mf-bc-current {
  color: #1e293b;
  font-weight: 600;
}

/* Product Headline & Meta */
.mf-product-headline {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.mf-product-headline strong {
  font-weight: 800;
}

.mf-product-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 28px;
}

.mf-metric-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mf-metric-item svg {
  width: 15px;
  height: 15px;
  color: #64748b;
}

.mf-metric-item strong {
  color: #1e293b;
  font-weight: 700;
}

/* Two-Column Grid */
.mf-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .mf-product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   LEFT COLUMN: Summary & Nested Curriculum Breakdown
   -------------------------------------------------------------------------- */
.mf-summary-card {
  margin-bottom: 30px;
}

.mf-summary-title {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.mf-desc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mf-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #22c55e;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}

.mf-check-badge svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.mf-desc-label {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.mf-summary-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 20px;
}

.mf-summary-text p {
  margin: 0 0 14px 0;
}

/* Nested Curriculum Strands */
.mf-strands-container {
  margin-top: 18px;
}

.mf-strand-row {
  margin-bottom: 16px;
}

.mf-strand-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.mf-substrand-row {
  margin-left: 26px;
  margin-bottom: 12px;
}

.mf-substrand-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.mf-substrand-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  color: #22c55e;
  flex-shrink: 0;
}

.mf-substrand-check svg {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}

.mf-topics-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 24px;
}

.mf-topic-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 6px;
}

.mf-topic-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.mf-topic-check svg {
  width: 9px;
  height: 9px;
  stroke-width: 3;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: M-Pesa Instant Checkout & Buttons
   -------------------------------------------------------------------------- */
.mf-checkout-sidebar {
  position: sticky;
  top: 90px;
}

.mf-checkout-headline {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 4px 0;
}

.mf-checkout-headline .mf-price-current {
  color: #0f172a;
}

.mf-checkout-headline .mf-price-old {
  color: #64748b;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 18px;
  margin-left: 6px;
}

.mf-checkout-subtitle {
  font-size: 13.5px;
  color: #475569;
  margin: 0 0 16px 0;
}

/* Pale Mint / Turquoise Card */
.mf-mint-box {
  background: #e6fbf9;
  border: 1.5px solid #99f6e4;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.05);
}

.mf-field-group {
  margin-bottom: 14px;
}

.mf-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.mf-field-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mf-field-input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.mf-input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.mf-input-with-icon input.mf-field-input {
  padding-right: 40px;
}

.mf-trailing-icon {
  position: absolute;
  right: 12px;
  color: #0f766e;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.mf-trailing-icon svg {
  width: 18px;
  height: 18px;
}

.mf-field-note {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 12px 0 16px 0;
}

.mf-btn-proceed-pay {
  width: 100%;
  background: #116535;
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.mf-btn-proceed-pay:hover {
  background: #0d4e28;
}

.mf-btn-proceed-pay:active {
  transform: scale(0.99);
}

.mf-btn-proceed-pay svg {
  width: 16px;
  height: 16px;
}

/* Callout Box below Mint Card */
.mf-cart-callout-banner {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0 16px 0;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mf-cart-callout-banner strong {
  color: #0f172a;
}

/* Actions Row (Add to Cart & Continue Shopping) */
.mf-cart-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mf-btn-outline-cart {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mf-btn-outline-cart:hover {
  background: #0f172a;
  color: #ffffff;
}

.mf-btn-continue-shop {
  background: #116535;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
  margin-left: auto;
}

.mf-btn-continue-shop:hover {
  background: #0d4e28;
}

.mf-btn-continue-shop svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   ENTERPRISE-GRADE MODAL COMPONENT
   -------------------------------------------------------------------------- */
.mf-enterprise-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 36, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mf-enterprise-modal-overlay.is-active {
  display: flex;
  opacity: 1;
}

.mf-enterprise-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-enterprise-modal-overlay.is-active .mf-enterprise-modal-card {
  transform: scale(1);
}

/* Modal Header */
.mf-em-header {
  background: linear-gradient(135deg, #0b343d 0%, #116535 100%);
  padding: 18px 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mf-em-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mf-em-brand-badge {
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.mf-em-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.mf-em-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mf-em-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Modal Body */
.mf-em-body {
  padding: 28px 24px;
  text-align: center;
}

/* Radar Pulse Spinner */
.mf-em-pulse-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
}

.mf-em-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.25);
  animation: mfRadarWave 1.8s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mf-em-pulse-ring:nth-child(2) {
  animation-delay: 0.5s;
}

.mf-em-pulse-center {
  position: absolute;
  inset: 12px;
  background: #116535;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 101, 53, 0.3);
}

@keyframes mfRadarWave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.mf-em-status-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.mf-em-status-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.mf-em-status-desc strong {
  color: #116535;
}

/* Amount & Countdown Pill */
.mf-em-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mf-em-amount-pill {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 15px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
}

.mf-em-timer-pill {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Phone SIM Toolkit Prompt Graphic */
.mf-em-phone-preview {
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 22px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.mf-em-phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.mf-em-phone-message {
  font-size: 13px;
  line-height: 1.5;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.mf-em-phone-pin-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: monospace;
  font-size: 16px;
  letter-spacing: 4px;
  color: #22c55e;
  text-align: center;
}

/* Fallback Claim Accordion */
.mf-em-fallback-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  margin-top: 14px;
}

.mf-em-fallback-toggle {
  background: none;
  border: none;
  color: #116535;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  display: inline-block;
  margin-bottom: 10px;
}

.mf-em-fallback-details {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 12px;
}

.mf-em-claim-input-group {
  display: flex;
  gap: 8px;
}

.mf-em-claim-input {
  flex: 1;
  height: 40px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  outline: none;
}

.mf-em-claim-btn {
  background: #116535;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mf-em-claim-btn:hover {
  background: #0d4e28;
}

/* Success State View */
.mf-em-success-view {
  display: none;
}

.mf-em-success-circle {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border: 2px solid #86efac;
  border-radius: 50%;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.mf-em-success-circle svg {
  width: 32px;
  height: 32px;
  stroke-width: 3;
}

.mf-em-success-btn {
  width: 100%;
  background: #116535;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 14px 0;
  box-shadow: 0 4px 14px rgba(17, 101, 53, 0.25);
}

.mf-em-success-btn:hover {
  background: #0d4e28;
}

/* --------------------------------------------------------------------------
   SET BOOK GUIDES PURCHASE PAGE PARITY (Live /setbook-guides/{id}/{slug}/)
   -------------------------------------------------------------------------- */
.mf-product-layout--setbook {
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.94fr);
  gap: 38px;
}

@media (max-width: 991px) {
  .mf-product-layout--setbook {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Match live mobile order: payment form appears first, full literary summary below */
  .mf-product-layout--setbook .mf-checkout-sidebar {
    order: 1;
    position: static;
  }

  .mf-product-layout--setbook .mf-summary-card {
    order: 2;
  }
}

.mf-summary-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.mf-summary-head-row .mf-summary-title {
  margin: 0;
}

.mf-sb-summary-cover {
  width: 44px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  background: #f1f5f9;
}

.mf-sb-summary-cover img,
.mf-sb-summary-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Flush Summary Metadata Table (Description, File Size, Length, Category, Level, Subject, Posted By) */
.mf-sb-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2e8f0;
}

.mf-sb-summary-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #253545;
}

@media (max-width: 575px) {
  .mf-sb-summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 2px;
  }
}

.mf-sb-summary-key {
  font-weight: 700;
  color: #0f172a;
}

.mf-sb-summary-val {
  color: #334155;
  min-width: 0;
  word-break: break-word;
}

/* Rich Literary Description Formatting with Soft-Green Check Markers (Matching Live Page) */
.mf-sb-rich-desc p {
  margin: 0 0 11px 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: #253545;
}

.mf-sb-rich-desc p:last-child {
  margin-bottom: 0;
}

.mf-sb-rich-desc ol,
.mf-sb-rich-desc ul {
  list-style: none;
  margin: 8px 0 12px 0;
  padding-left: 0;
}

.mf-sb-rich-desc > ol > li,
.mf-sb-rich-desc > ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.mf-sb-rich-desc > ol > li::before,
.mf-sb-rich-desc > ul > li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #dcfce7;
  border: 1.5px solid #22c55e;
  color: #15803d;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mf-sb-rich-desc li > ul,
.mf-sb-rich-desc li > ol {
  margin: 6px 0 8px 0;
  padding-left: 4px;
}

.mf-sb-rich-desc li > ul > li,
.mf-sb-rich-desc li > ol > li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 5px;
  font-size: 14px;
}

.mf-sb-rich-desc li > ul > li::before,
.mf-sb-rich-desc li > ol > li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  color: #16a34a;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Soft Cyan Checkout Card Matching Live #E0FFFF Panel */
.mf-mint-box--cyan {
  background: #e0ffff;
  border: 1.5px solid #a5f3fc;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.07);
}

/* Active VIP Instant Download Box */
.mf-vip-instant-box {
  background: linear-gradient(155deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #6ee7b7;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.mf-vip-instant-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a6e3c;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.mf-vip-instant-title {
  font-size: 17px;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 6px 0;
}

.mf-vip-instant-desc {
  font-size: 13px;
  color: #065f46;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

/* Toggle state for outline Add to Cart button */
.mf-btn-outline-cart.is-in-cart {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

.mf-btn-outline-cart.is-in-cart:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

/* Related Set Book Guides Bottom Section (Matches Live "Access more guides and notes for ...") */
.mf-sb-section-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 38px 0 30px 0;
}

.mf-sb-related-section {
  margin-top: 8px;
}

.mf-sb-related-heading {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px 0;
  letter-spacing: -0.015em;
}

.mf-sb-related-group {
  margin-bottom: 28px;
}

.mf-sb-related-subhead {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.mf-sb-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .mf-sb-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mf-sb-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .mf-sb-related-grid {
    grid-template-columns: 1fr;
  }
}

.mf-sb-rel-card {
  background: #e0ffff;
  border: 1px solid rgba(0, 119, 182, 0.14);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mf-sb-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  border-color: rgba(0, 119, 182, 0.28);
}

.mf-sb-rel-card__body {
  padding: 18px 16px 12px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mf-sb-rel-card__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 10px 0;
}

.mf-sb-rel-card__title a {
  color: #1558b0;
  text-decoration: none;
}

.mf-sb-rel-card__title a:hover {
  color: #0d3d7a;
  text-decoration: underline;
}

.mf-sb-rel-card__price {
  font-size: 14.5px;
  color: #0f172a;
  margin: 0;
}

.mf-sb-rel-card__old {
  text-decoration: line-through;
  color: #64748b;
  font-weight: 500;
  margin-left: 6px;
  font-size: 13.5px;
}

.mf-sb-rel-card__footer {
  border-top: 1px solid rgba(0, 119, 182, 0.10);
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mf-sb-rel-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  background: #1a6e3c;
  color: #ffffff;
  border: 1.5px solid #1a6e3c;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.mf-sb-rel-card__buy:hover {
  background: #145c31;
  border-color: #145c31;
  color: #ffffff;
}

.mf-sb-rel-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  background: transparent;
  color: #1a2a3a;
  border: 1.5px solid #3a4a5c;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mf-sb-rel-card__cart:hover {
  background: #f0f4f8;
  border-color: #1a2a3a;
  color: #0a1a28;
}

.mf-sb-rel-card__cart.is-in-cart {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

.mf-sb-rel-card__cart.is-in-cart:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}
