.custom-cart-form {
  margin: 0;
}
.woocommerce-cart div#main {
    background: #f7f7f7;
}
.custom-cart-wrapper {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  background: #f7f7f7;
  color: #0b4f6c;
  font-size: 15px;
}

.custom-cart-wrapper *,
.custom-cart-wrapper *::before,
.custom-cart-wrapper *::after {
  box-sizing: border-box;
  font-family: inherit;
  line-height: normal;
}

.custom-cart-wrapper a {
  color: #0b4f6c !important;
}

.custom-cart-wrapper .custom-cart-notices {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

.custom-cart-wrapper .custom-cart-notices .woocommerce-error,
.custom-cart-wrapper .custom-cart-notices .woocommerce-info,
.custom-cart-wrapper .custom-cart-notices .woocommerce-message {
  margin: 0 0 16px;
  border-radius: 12px;
}

.custom-cart-wrapper .custom-cart-coupon-notices {
  margin-top: 12px;
}

.custom-cart-wrapper .custom-cart-coupon-notices .woocommerce-error,
.custom-cart-wrapper .custom-cart-coupon-notices .woocommerce-info,
.custom-cart-wrapper .custom-cart-coupon-notices .woocommerce-message {
  margin: 0 0 12px;
  border-radius: 12px;
}

.custom-cart-wrapper .custom-cart-coupon-notices .woocommerce-error:last-child,
.custom-cart-wrapper .custom-cart-coupon-notices .woocommerce-info:last-child,
.custom-cart-wrapper .custom-cart-coupon-notices .woocommerce-message:last-child {
  margin-bottom: 0;
}

.custom-cart-wrapper .page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 0px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.custom-cart-wrapper .page-headline {
  grid-column: 1 / -1;
  /* margin-bottom: 4px; */
}

.custom-cart-wrapper .page-headline h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0b4f6c;
  margin: 0px;
  line-height: normal;
}

.custom-cart-wrapper .main-col,
.custom-cart-wrapper .sidebar {
  min-width: 0;
}

.custom-cart-wrapper .card,
.custom-cart-wrapper .cart-summary {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 24px 24px 0px 24px;
  margin-bottom: 20px;
}

.custom-cart-wrapper .your-order-label {
  font-size: 17px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 16px;
  line-height: normal;
}

.custom-cart-wrapper .cart-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 18px;
}

.custom-cart-wrapper .cart-item:last-of-type {
  margin-bottom: 18px;
}

.custom-cart-wrapper .cart-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #eef0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

.custom-cart-wrapper .cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-cart-wrapper .cart-item-info {
  flex: 1;
}

.custom-cart-wrapper .cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: #0b4f6c;
  margin-bottom: 3px;
}

.custom-cart-wrapper .cart-item-name a {
  color: inherit;
  text-decoration: none;
}

.custom-cart-wrapper .cart-item-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.custom-cart-wrapper .qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  overflow: hidden;
}

.custom-cart-wrapper .qty-control.is-updating {
  opacity: 0.75;
}

.custom-cart-wrapper .qty-btn {
  width: 30px;
  height: 30px;
  background: #f7f7f7;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #0b4f6c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.custom-cart-wrapper .qty-btn:hover {
  background: #dff5fb;
}

.custom-cart-wrapper .qty-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.custom-cart-wrapper .qty-val {
  width: 36px !important;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border: none !important;
  outline: none !important;
  background: #fff;
  color: #0b4f6c;
  padding: 0;
}

.custom-cart-wrapper .qty-display[readonly] {
  cursor: default;
}

.custom-cart-wrapper .remove-link {
  font-size: 13px;
  color: #969692;
  text-decoration: none;
  border-bottom: 1px dashed #d6d6d6;
}

.custom-cart-wrapper .remove-link:hover {
  color: #ee6c4d;
  border-color: #ee6c4d;
}

.custom-cart-wrapper .cart-item-price {
  font-size: 18px;
  font-weight: 700;
  color: #0b4f6c;
  white-space: nowrap;
  padding-top: 2px;
}

.custom-cart-wrapper .what-you-get {
  background: #f0eff8;
  border: 1px solid #6b5cb6;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.custom-cart-wrapper .what-you-get-title {
  font-size: 16px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 14px;
}

.custom-cart-wrapper .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.custom-cart-wrapper .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #0b4f6c;
  line-height: 1.4;
}

.custom-cart-wrapper .check {
  color: #6b5cb6;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.custom-cart-wrapper .woocommerce.sfn-cart-addons {
  margin-top: 24px;
}

.custom-cart-wrapper .woocommerce.sfn-cart-addons h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0b4f6c;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
ul.products.sfn-cart-addons li.product {
    width: 202px !important;
    margin-right: 0px !important;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product {
  margin: 0;
  width: auto;
  float: none;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-card:hover {
  box-shadow: 0 4px 16px rgba(11, 79, 108, 0.1);
  border-color: #01baef;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f7;
  overflow: hidden;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-thumb a {
  display: block;
  text-decoration: none;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-top-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .product-loop-title {
  text-decoration: none;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-name {
  font-size: 13px;
  font-weight: 600;
  color: #0b4f6c;
  line-height: 1.35;
  margin: 0 0 2px;
  padding: 0;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-price {
  font-size: 14px;
  font-weight: 700;
  color: #0b4f6c;
  margin: 0;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 0;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-desc {
  font-size: 12px;
  color: #525252;
  line-height: 1.45;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .button.add_to_cart_button,
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .button.product_type_simple,
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid #519d5b;
  color: #519d5b;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1.2;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .button.add_to_cart_button:hover,
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .button.product_type_simple:hover,
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .added_to_cart:hover {
  background: #519d5b;
  color: #fff;
}

.custom-cart-wrapper .cart-summary {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 0px !important; 
}

.custom-cart-wrapper .summary-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0b4f6c;
}

.custom-cart-wrapper .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
  color: #0b4f6c;
}

.custom-cart-wrapper .summary-row.discount {
  color: #519d5b;
}

.custom-cart-wrapper .summary-row.total {
  font-size: 17px;
  font-weight: 700;
  color: #0b4f6c;
  border-top: 2px solid #0b4f6c;
  margin-top: 8px;
  padding-top: 14px;
}

.custom-cart-wrapper .tax-note {
  font-size: 12px;
  color: #969692;
}

.custom-cart-wrapper .coupon-remove {
  background: none;
  border: none;
  color: #969692;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 6px;
}

.custom-cart-wrapper .coupon-remove:hover {
  color: #ee6c4d;
}

/* Sticky mobile checkout bar - shown only inside the mobile media query below. */
.custom-cart-wrapper .mobile-checkout-bar {
  display: none;
}

.custom-cart-wrapper .btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  background: #519d5b;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  text-decoration: none;
}

.custom-cart-wrapper .btn-checkout:hover {
  background: #3d7a45;
}

.custom-cart-wrapper .btn-checkout-arrow {
  font-size: 20px;
  line-height: 1;
}

.custom-cart-wrapper .secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 12.5px;
  color: #525252;
}

.custom-cart-wrapper .payment-label {
  font-size: 12px;
  color: #969692;
  margin: 12px 0 8px;
  text-align: center;
}

.custom-cart-wrapper .payment-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.custom-cart-wrapper .divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 16px 0;
}

.custom-cart-wrapper .sidebar-trust-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-cart-wrapper .sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 400;
  color: #0b4f6c;
  line-height: 1.3;
}

.custom-cart-wrapper .sidebar-trust-item strong {
  font-weight: 600;
}

.custom-cart-wrapper .sidebar-trust-item a {
  color: #0b4f6c;
  text-decoration: underline;
  font-weight: 400;
}

.custom-cart-wrapper .sidebar-trust-item a:hover {
  color: #01baef;
}

.custom-cart-wrapper .promo-sidebar {
  margin-top: 16px;
  font-size: 16px;
  text-align: center;
  color: #0b4f6c;
}

.custom-cart-wrapper .promo-sidebar a {
  color: #0b4f6c;
  text-decoration: underline;
  font-weight: 400;
}

.custom-cart-wrapper .promo-sidebar a:hover {
  color: #01baef;
}

.custom-cart-wrapper .sidebar-promo-row {
  display: none;
  margin-top: 10px;
  gap: 8px;
}

.custom-cart-wrapper .sidebar-promo-row.visible {
  display: flex;
}

.custom-cart-wrapper .promo-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 50px;
  font-size: 13px;
  color: #0b4f6c;
}

.custom-cart-wrapper .promo-input:focus {
  outline: none;
  border-color: #01baef;
}

.custom-cart-wrapper .promo-input.valid {
  border-color: #519d5b;
}

.custom-cart-wrapper .promo-input.invalid {
  border-color: #e53e3e;
}

.custom-cart-wrapper .btn-apply {
  padding: 8px 14px;
  background: #0b4f6c;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.custom-cart-wrapper .btn-apply:hover {
  background: #01baef;
}

.custom-cart-wrapper .coupon-success,
.custom-cart-wrapper .coupon-error {
  display: none;
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
}

.custom-cart-wrapper .coupon-success {
  color: #519d5b;
}

.custom-cart-wrapper .coupon-error {
  color: #e53e3e;
}

.custom-cart-wrapper .empty-cart {
  font-size: 14px;
  color: #969692;
}

.custom-cart-wrapper.is-empty-cart .custom-cart-notices {
  max-width: 580px;
}

.custom-cart-wrapper.is-empty-cart .page-body {
  max-width: 580px;
  margin: 0 auto;
  padding: 48px 24px 60px;
  display: block;
}

.custom-cart-wrapper.is-empty-cart .empty-state {
  text-align: center;
  margin-bottom: 40px;
}

.custom-cart-wrapper.is-empty-cart .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.custom-cart-wrapper.is-empty-cart .empty-state h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 8px;
}

.custom-cart-wrapper.is-empty-cart .empty-state p {
  font-size: 15px;
  color: #969692;
  margin-bottom: 24px;
}

.custom-cart-wrapper.is-empty-cart .btn-browse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #519d5b;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.custom-cart-wrapper.is-empty-cart .btn-browse:hover {
  background: #3d7a45;
  color: #fff;
}

.custom-cart-wrapper.is-empty-cart .section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 28px;
}

.custom-cart-wrapper.is-empty-cart .section-divider span {
  font-size: 13px;
  color: #969692;
  white-space: nowrap;
}

.custom-cart-wrapper.is-empty-cart .section-divider::before,
.custom-cart-wrapper.is-empty-cart .section-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #d6d6d6;
}

.custom-cart-wrapper.is-empty-cart .featured-card {
  background: #fff;
  border: 1.5px solid #6b5cb6;
  border-radius: 12px;
  padding: 20px;
  padding-top: 36px;
  position: relative;
}

.custom-cart-wrapper.is-empty-cart .featured-label {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #6b5cb6;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.custom-cart-wrapper.is-empty-cart .featured-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.custom-cart-wrapper.is-empty-cart .featured-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #eef0f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
}

.custom-cart-wrapper.is-empty-cart .featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.custom-cart-wrapper.is-empty-cart .featured-thumb .p-icon {
  font-size: 26px;
}

.custom-cart-wrapper.is-empty-cart .featured-thumb .p-label {
  font-size: 8px;
  font-weight: 600;
  color: #0b4f6c;
  text-align: center;
  line-height: 1.2;
}

.custom-cart-wrapper.is-empty-cart .featured-info {
  flex: 1;
}

.custom-cart-wrapper.is-empty-cart .featured-name {
  font-size: 18px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 6px;
}

.custom-cart-wrapper.is-empty-cart .featured-tagline {
  font-size: 16px;
  color: #0b4f6c;
  line-height: 1.4;
}

.custom-cart-wrapper.is-empty-cart .featured-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 16px 0;
}

.custom-cart-wrapper.is-empty-cart .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}

.custom-cart-wrapper.is-empty-cart .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #0b4f6c;
  line-height: 1.4;
}

.custom-cart-wrapper.is-empty-cart .check {
  color: #6b5cb6;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.custom-cart-wrapper.is-empty-cart .featured-price {
  font-size: 18px;
  font-weight: 700;
  color: #0b4f6c;
  text-align: center;
  margin-bottom: 12px;
}

.custom-cart-wrapper.is-empty-cart .btn-add {
  display: block;
  width: 100%;
  padding: 13px;
  background: #6b5cb6;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  text-decoration: none;
}

.custom-cart-wrapper.is-empty-cart .btn-add:hover {
  background: #5a4d9e;
}

.custom-cart-wrapper.is-empty-cart .license-line {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0b4f6c;
}

.custom-cart-wrapper.is-empty-cart .license-line a {
  color: #0b4f6c;
  cursor: pointer;
  font-style: italic;
}

.custom-cart-wrapper.is-empty-cart .license-line a:hover {
  text-decoration: underline;
}

.custom-cart-wrapper.is-empty-cart .modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.custom-cart-wrapper.is-empty-cart .modal-overlay.open {
  display: flex;
}

.custom-cart-wrapper.is-empty-cart .modal {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  max-width: 540px;
  width: 90%;
  position: relative;
}

.custom-cart-wrapper.is-empty-cart .modal h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 16px;
}

.custom-cart-wrapper.is-empty-cart .modal ul {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #0b4f6c;
  line-height: 1.5;
}

.custom-cart-wrapper.is-empty-cart .modal ul a {
  color: #0b4f6c !important;
}

.custom-cart-wrapper.is-empty-cart .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #01baef;
  cursor: pointer;
  font-weight: 700;
}

div.sfn-cart-addons {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0px 24px 60px;
}
div.sfn-cart-addons h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0B4F6C;
    line-height: normal;
}
/* ADD-ONS */
  .addons-section { margin-top: 24px; }
  .addons-section h2 { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: #0B4F6C; }
  .addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .addon-card { background: #fff; border: 1px solid #D6D6D6; border-radius: 10px; overflow: hidden; transition: box-shadow 0.15s, border-color 0.15s; padding: 14px; display: flex; flex-direction: column; gap: 10px;  justify-content: space-between; height: 100%; }
  .addon-card:hover { box-shadow: 0 4px 16px rgba(11,79,108,0.1); border-color: #01BAEF; }
  .addon-card-top { display: flex; align-items: center; gap: 10px; }
  .addon-thumb { width: 56px; height: 56px; min-width: 56px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden;}
  .thumb-tutoring { background: #DFF5FB; }
  .thumb-ai { background: #0B4F6C; }
  .thumb-course { background: #B9DBBD; }
  .addon-top-text { display: flex; flex-direction: column; gap: 2px; }
  .addon-name { font-size: 13px; font-weight: 600; color: #0B4F6C; line-height: 1.35; }
  .addon-price { font-size: 14px; font-weight: 700; color: #0B4F6C; }
  .addon-divider { border: none; border-top: 1px solid #F0F0F0; margin: 0px; }
  .addon-bottom { 
    display: flex; flex-direction: column; gap: 10px; 
    border-top: 1px solid #ebebeb;
    padding-top: 20px;
  }
  .addon-desc { font-size: 12px; color: #525252; line-height: 1.45; }
  .addon-bottom a {
    width: 100%;
    padding: 8px 14px !important;
    background: #fff !important;
    border: 1.5px solid #519D5B !important;
    color: #519D5B !important;
    border-radius: 50px;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
  }
  .addon-bottom a:hover { background: #519D5B !important; color: #fff !important; }
  .woocommerce-js ul.products li.product a img, .woocommerce-page ul.products li.product a img {
      margin: 0px !important;
  }
  ul.products .woocommerce-loop-product__title {
    white-space: normal !important;
  }
  ul.products .add-links .button {
      overflow: hidden;
      width: 100%;
      padding: 8px 14px;
      background: #fff;
      border: 1.5px solid #519D5B;
      color: #519D5B;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
      line-height: normal !important;
      cursor: pointer;
  }
  ul.products .add-links .button:hover{
      background: #519D5B !important;
      color: #fff !important;
  }
  ul.products .add-links {
    display: block !important;
    position: relative;
    margin: 0 !important;
}
.product-type-simple .add-links .add_to_cart_button:before{
    content: "+" !important;
    line-height: normal !important;
    float: unset;
    font-size: 12px !important;
    top:-1px;
}
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: 0px !important;
    padding: 0;
    font-size: 13px !important;
    line-height: normal;
}
.sfn-cart-addons ul{
  display: flex;
  gap: 14px;
}
@media (max-width: 1024px) {
  .custom-cart-wrapper .page-body {
    grid-template-columns: 1fr;
  }

  .custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-cart-wrapper .custom-cart-notices,
  .custom-cart-wrapper .page-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .custom-cart-wrapper .page-body {
    gap: 24px;
  }

  .custom-cart-wrapper .cart-item {
    flex-direction: column;
  }

  .custom-cart-wrapper .cart-item-price {
    padding-top: 0;
  }

  .custom-cart-wrapper .cart-item-actions {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons {
    grid-template-columns: 1fr;
  }

  .custom-cart-wrapper .sidebar-promo-row.visible {
    flex-direction: column;
  }

  .custom-cart-wrapper.is-empty-cart .page-body {
    padding: 48px 24px 60px;
  }

  /* --- Mobile refinements --- */

  /* Centre the cart content. The grid is already single-column here, so cap the
     column width and centre it rather than letting it run edge to edge. */
  .custom-cart-wrapper .page-body {
    justify-items: center;
  }

  .custom-cart-wrapper .page-headline,
  .custom-cart-wrapper .main-col,
  .custom-cart-wrapper .sidebar {
    width: 100%;
    max-width: 480px;
  }

  .custom-cart-wrapper .page-headline h1 {
    text-align: center;
  }

  /* "What you get" is a long feature list per product and is the main cause of
     excessive scrolling on a phone. Hidden here only - still shown on desktop. */
  .custom-cart-wrapper .what-you-get {
    display: none;
  }

  /* Divider between products. The last item's rule is cleared so the list does not
     end on a stray line above the summary. */
  .custom-cart-wrapper .custom-cart-items .cart-item {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 18px;
    margin-bottom: 18px;
    align-items: center;
  }

  .custom-cart-wrapper .custom-cart-items .cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* Sticky "Continue to Checkout" pinned to the bottom of the viewport.
     The in-flow button is hidden so the same action is not shown twice, and the
     page gets bottom padding so the sticky bar never covers the last content. */
  .custom-cart-wrapper .sidebar .btn-checkout {
    display: none;
  }

  .custom-cart-wrapper .mobile-checkout-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #d6d6d6;
    box-shadow: 0 -2px 12px rgba(11, 79, 108, 0.08);
  }

  .custom-cart-wrapper .mobile-checkout-bar .btn-checkout {
    display: flex;
    margin-top: 0;
  }

  body.woocommerce-cart {
    padding-bottom: 96px;
  }

  /* Breathing room between the cart summary and the add-ons heading. */
  .custom-cart-wrapper .woocommerce.sfn-cart-addons,
  div.sfn-cart-addons {
    margin-top: 32px;
  }

  div.sfn-cart-addons {
    padding-top: 12px;
  }

  /* Add-on cards matched to the cart summary width. The theme pins each card to a
     fixed 202px, which is what makes them look narrow next to the summary. */
  ul.products.sfn-cart-addons li.product {
    width: 100% !important;
  }

  .custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons,
  div.sfn-cart-addons > .woocommerce,
  div.sfn-cart-addons ul.products.sfn-cart-addons {
    max-width: 480px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  div.sfn-cart-addons h2 {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Safety net for the Porto/Bootstrap tooltip on add-on "Add to cart" buttons.
   The JS in cart.js disposes the tooltip instance; this hides any that is shown
   before that runs, so the dark bubble never flashes over the add-on cards. */
body.woocommerce-cart > .tooltip {
  display: none !important;
}

/* ------------------------------------------------------------------
   Sale pricing: regular price struck through before the sale price.
   Used on the cart line items and the add-on cards.
   ------------------------------------------------------------------ */
.cwc-sale-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.cwc-sale-price del,
.cwc-sale-price del .amount,
.cwc-sale-price del bdi {
  color: #6b7280 !important;
  font-weight: 400 !important;
  text-decoration: line-through;
  opacity: 1;
}

.cwc-sale-price del {
  font-size: 0.88em;
}

.cwc-sale-price ins,
.cwc-sale-price ins .amount,
.cwc-sale-price ins bdi {
  color: #0b4f6c !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: none;
}

/* ------------------------------------------------------------------
   Add-on cards: fixed-height header so images, titles and dividers
   line up whether or not a card has a countdown pill.
   ------------------------------------------------------------------ */
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-card-top,
ul.products.sfn-cart-addons li.product .addon-card .addon-card-top {
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  column-gap: 12px;
  row-gap: 10px;
  min-height: 100px;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-top-text,
ul.products.sfn-cart-addons li.product .addon-card .addon-top-text {
  flex: 1 1 0;
  min-width: 0;
}

/* Keep both prices on one line, e.g. "$1,100 $990". */
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-price .cwc-sale-price,
ul.products.sfn-cart-addons li.product .addon-card .addon-price .cwc-sale-price {
  justify-content: flex-start;
  gap: 6px;
}

/* Divider sits straight under the header; description grows so the button stays at the bottom. */
.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-bottom,
ul.products.sfn-cart-addons li.product .addon-card .addon-bottom {
  flex: 1 1 auto;
  margin-top: 0;
  border-top: 1px solid #ebebeb;
  padding-top: 14px;
}

.custom-cart-wrapper .woocommerce ul.products.sfn-cart-addons li.product-col.product .addon-desc,
ul.products.sfn-cart-addons li.product .addon-card .addon-desc {
  flex-grow: 1;
}

/* Countdown pill: own line under the image and title, above the divider. */
.addon-sale-countdown {
  flex-basis: 100%;
  display: flex;
}

.cwc-countdown-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ede9fb;
  color: #4a31a6;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.cwc-countdown-pill svg {
  flex-shrink: 0;
}

.cwc-countdown-pill[hidden] {
  display: none;
}
