/* =============================================================
   Care Skills LMS — Cart Page Styles
   Matches Figma: node 16259:7541
   ============================================================= */

/* ---- Layout ------------------------------------------------- */
.cs-cart-page-wrapper {
  padding: 0;
}

.cs-cart-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cart-main-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 1216px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.left-cart-items {
  flex: 1;
  min-width: 0;
  position: relative;
}

.right-cart-amout {
  width: 384px;
  flex-shrink: 0;
}

/* ---- Top bar ------------------------------------------------ */
.items-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eaecee;
  margin-bottom: 16px;
}

.cs-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #2e4450;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.cart-top-text-label {
  font-size: 22px;
  font-weight: 700;
  color: #2e4450;
}

#total-count-course {
  font-size: 22px;
  font-weight: 700;
  color: #2e4450;
}

#dynamic-label-cart-top {
  display: inline-block;
  background: #00c407;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  vertical-align: middle;
}

#bulk-discout-applied {
  font-size: 15px;
  font-weight: 600;
  color: #3f4d97;
}

.cs-select-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #0f217d;
  border: 1.5px solid #3f4d97;
  border-radius: 100px;
  padding: 10px 20px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.cs-select-more-btn:hover {
  background: #3f4d97;
  color: #fff;
}

.cs-select-more-btn svg {
  flex-shrink: 0;
}

/* ---- Column headers ---------------------------------------- */
.cart-item-labels {
  display: grid;
  grid-template-columns: 83px 1fr 160px 110px 32px;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eaecee;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #2e4450;
}

.cart-item-labels .product-label {
  grid-column: 1 / span 2;
  margin: 0;
}

.cart-item-labels .quantity-label {
  text-align: center;
  margin: 0;
}

.cart-item-labels .price-label {
  margin: 0;
  text-align: left;
}

.cart-item-labels .action-label {
  margin: 0;
}

/* ---- Cart item row ----------------------------------------- */
.cart-item-row {
  display: grid;
  grid-template-columns: 83px 1fr 160px 110px 32px;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eaecee;
  transition: opacity 0.2s;
}

.cart-items .cart-item-row:last-child {
  border-bottom: none;
}

/* Thumbnail */
.cs-item-thumb {
  flex-shrink: 0;
  width: 83px;
}

.cs-item-thumb img {
  width: 83px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Product details (name + hidden JS price) */
.cs-item-details {
  flex: 1;
  min-width: 0;
}

.product-heading {
  font-size: 16px;
  font-weight: 500;
  color: #2e4450;
  line-height: 1.3;
  margin: 0 0 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Original (struck-through) price below product name */
.cs-item-details .cs-orig-price,
.cs-item-details .cs-orig-price .woocommerce-Price-amount,
.cs-item-details .cs-orig-price bdi {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #000 !important;
  white-space: nowrap;
  margin: 0;
  text-decoration: line-through !important;
  text-decoration-color: #000 !important;
  text-decoration-thickness: 1.5px;
}

/* Qty controls */
.cs-item-qty-form {
  margin: 0;
}

.quantity-area.cs-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  justify-content: center;
}

.qty-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #2e4450 !important;
  cursor: pointer;
  padding: 0 !important;
  flex-shrink: 0;
  transition: color 0.2s;
  border-radius: 0 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  font-size: inherit !important;
}

.qty-btn:hover {
  color: #3f4d97;
}

.qty-btn svg {
  display: block;
}

.qty-input {
  width: 48px;
  height: 32px;
  border: 1.5px solid #eaecee;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #2e4450;
  padding: 0;
  -moz-appearance: textfield;
  outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  border-color: #3f4d97;
}

/* Line total */
.item-price {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.item-price .price,
.item-price .price .woocommerce-Price-amount,
.item-price .price bdi {
  font-size: 18px !important;
  font-weight: 700;
  color: #000 !important;
  margin: 0 !important;
  line-height: 1.2;
}

/* Discount badge */
.cs-discount-badge {
  display: inline-flex;
  align-items: center;
  background: #4fb5c8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* Remove button */
.remove-cart-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-cart-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d6dadf;
  color: #73828a;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.remove-cart-item a:hover {
  color: #ef4444;
  border-color: #ef4444;
}

.remove-cart-item svg {
  width: 12px;
  height: 12px;
}

/* Disabled state during AJAX (pointer block only, no visual dimming) */
.cart-main-content.cart-disabled {
  pointer-events: none;
}

/* Hidden update-all (kept for JS compat) */
.cart-update-all-wrap {
  display: none !important;
}

/* ---- Right column card ------------------------------------- */
.right-cart-row {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.right-cart-row-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  background: transparent;
  z-index: 10;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  pointer-events: none;
}

.cart-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #3f4d97 50%, transparent);
  animation: cs-cart-progress 1.1s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes cs-cart-progress {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* Legacy spinner kept for any reuse, but not rendered for the cart loader anymore */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #eaecee;
  border-top-color: #3f4d97;
  border-radius: 50%;
  animation: cs-spin 0.7s linear infinite;
}

@keyframes cs-spin {
  to { transform: rotate(360deg); }
}

/* Subtotal row */
.subtotal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eaecee;
}

.subtotal-item .subtotal {
  font-size: 16px;
  font-weight: 600;
  color: #4b5563;
}

.subtotal-item .amount {
  font-size: 18px;
  font-weight: 700;
  color: #2e4450;
}

/* Coupon section */
.coupon-form-wrapper {
  margin-bottom: 16px;
}

.coupon-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coupon-code-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 16px;
  color: #2e4450;
  border: 1.5px solid #eaecee;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.coupon-code-input::placeholder {
  color: #9ca3af;
}

.coupon-code-input:focus {
  border-color: #3f4d97;
}

button.apply-coupon {
  width: 100%;
  height: 48px;
  background: #e7e9f2;
  color: #3f4d97;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

button.apply-coupon:hover {
  background: #3f4d97;
  color: #fff;
}

button.apply-coupon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.coupon-message {
  font-size: 14px;
  text-align: center;
  padding: 4px 0;
}

.coupon-message.coupon-error {
  color: #ef4444;
}

.coupon-message.coupon-success {
  color: #0f217d;
}

/* Applied coupon + discount rows */
.coupon-lines {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #2e4450;
  font-weight: 500;
  padding: 10px 0;
  gap: 8px;
}

.discount-row .discount-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #22c55e;
  flex-shrink: 0;
}

.discount-row .discount-amount bdi,
.discount-row .discount-amount .amount {
  color: #22c55e !important;
}

.remove-coupon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.remove-coupon svg {
  display: block;
}

/* Divider */
.right-cart-row hr {
  border: none;
  border-top: 1.5px solid #eaecee;
  margin: 4px 0 16px;
}

/* Total row */
.total-pay-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 4px;
}

.total-pay-item .total-payment {
  font-size: 18px;
  font-weight: 700;
  color: #2e4450;
}

.total-pay-item .amount {
  font-size: 22px;
  font-weight: 700;
  color: #2e4450;
}

/* Checkout */
.cs-checkout-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 16px;
}

button.checkout {
  width: 100%;
  height: 56px;
  background: #2d3a8c;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

button.checkout:hover {
  background: #1e2866;
}

button.checkout:active {
  transform: scale(0.99);
}

.cs-checkout-note {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* ---- Pay with confidence (legacy, hidden in current design) - */
.cs-payment-confidence,
.cs-trust-badges {
  display: none !important;
}

/* Express checkout (Apple Pay / Google Pay / Stripe Link) container */
.cs-express-checkout {
  margin-top: 8px;
}

.cs-express-checkout:empty {
  display: none;
}

.cs-express-checkout .wc-proceed-to-checkout {
  padding: 0;
  margin: 0;
}

/* Hide the WC default checkout button if a plugin still renders it */
.cs-express-checkout .wc-proceed-to-checkout > .checkout-button,
.cs-express-checkout .wc-proceed-to-checkout > a.checkout-button {
  display: none !important;
}

.cs-express-checkout .wc-proceed-to-checkout > * {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* ---- Pay with confidence ----------------------------------- */
.cs-payment-confidence {
  margin-top: 8px;
}

.cs-confidence-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cs-confidence-header::before,
.cs-confidence-header::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: #eaecee;
}

.cs-confidence-header span {
  font-size: 14px;
  font-weight: 600;
  color: #2e4450;
  white-space: nowrap;
}

.cs-payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-payment-logos svg {
  display: block;
  height: 36px;
  width: auto;
}

/* ---- Trust badges ------------------------------------------ */
.cs-trust-badges {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1.5px solid #eaecee;
}

.cs-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.cs-badge svg {
  display: block;
  width: 72px;
  height: 72px;
}

.cs-badge span {
  font-size: 12px;
  font-weight: 600;
  color: #2e4450;
  line-height: 1.3;
}

/* ---- Frequently Bought Together ---------------------------- */
.cs-fbt-section {
  margin-top: 40px;
}

.cs-fbt-header {
  margin-bottom: 16px;
}

.cs-fbt-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2e4450;
  margin: 0 0 14px;
}

.cs-fbt-header hr {
  border: none;
  border-top: 1.5px solid #eaecee;
  margin: 0;
}

.cs-fbt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cs-fbt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eaecee;
}

.cs-fbt-item:last-child {
  border-bottom: none;
}

.cs-fbt-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.cs-fbt-thumb {
  width: 117px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.cs-fbt-info {
  flex: 1;
  min-width: 0;
}

.cs-fbt-title {
  font-size: 16px;
  font-weight: 700;
  color: #2e4450;
  line-height: 1.3;
  margin: 0 0 8px;
}

.cs-fbt-note {
  font-size: 13px;
  color: #73828a;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.cs-fbt-action {
  flex-shrink: 0;
}

.cs-fbt-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #0f217d;
  border: 1.5px solid #0f217d;
  border-radius: 8px;
  padding: 10px 20px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  height: 48px;
}

.cs-fbt-add-btn:hover {
  background: #0f217d;
  color: #fff;
}

.cs-fbt-add-btn svg {
  flex-shrink: 0;
}

.cs-fbt-add-btn.cs-fbt-adding {
  opacity: 0.6;
  pointer-events: none;
}

/* ---- Empty cart -------------------------------------------- */
.empty-cart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  gap: 16px;
  padding: 60px 24px;
}

.empty-cart-wrap svg {
  width: 80px;
  height: 80px;
}

.empty-cart-wrap p {
  font-size: 18px;
  font-weight: 500;
  color: #73828a;
  margin: 0;
  text-align: center;
}

.empty-cart-wrap a {
  display: inline-block;
  background: #3f4d97;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 100px;
  transition: background 0.2s;
  text-decoration: none;
}

.empty-cart-wrap a:hover {
  background: #0f217d;
}

/* ---- Toast notifications ----------------------------------- */
.wc-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.wc-toast {
  min-width: 210px;
  max-width: 330px;
  pointer-events: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  background: #fff;
  color: #0a0a0a;
  animation: wcIn 0.2s ease-out both;
  font: 14px/1.35 system-ui, -apple-system, sans-serif;
}

.toast-icon-div {
  font-size: 14px;
  background: #94e3ec;
  height: 50px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 10px 0 0 10px;
}

.wc-toast p {
  margin: 0;
  color: #2e4450;
  padding: 10px;
}

.wc-toast--out {
  animation: wcOut 0.2s ease-in forwards;
}

@keyframes wcIn {
  from { transform: translateY(6px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

@keyframes wcOut {
  to { transform: translateY(6px); opacity: 0; }
}

.undo-link {
  color: #3f4d97 !important;
  text-decoration: underline !important;
}

/* ---- WC notices ------------------------------------------- */
.right-cart-amout .woocommerce-message {
  display: none !important;
}

/* ---- Woo styles that may bleed in -------------------------- */
.woocommerce-cart .cart-collaterals .cart_totals table th {
  width: 50% !important;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .right-cart-amout {
    width: 320px;
  }
}

@media (max-width: 991px) {
  .cs-cart-container {
    padding: 0 20px;
  }

  .cart-main-content {
    flex-direction: column;
    padding: 24px 0 40px;
  }

  .left-cart-items,
  .right-cart-amout {
    width: 100%;
  }

  .item-price {
    min-width: 90px;
  }

  .right-cart-row {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .cart-item-labels {
    display: none;
  }

  .cart-item-row {
    grid-template-columns: 70px 1fr auto;
    grid-template-areas:
      'thumb details remove'
      'thumb qty    price';
    row-gap: 8px;
    column-gap: 12px;
  }

  .cs-item-thumb {
    grid-area: thumb;
    width: 70px;
  }

  .cs-item-thumb img {
    width: 70px;
    height: 52px;
  }

  .cs-item-details {
    grid-area: details;
    min-width: 0;
  }

  .cs-item-qty-form {
    grid-area: qty;
  }

  .item-price {
    grid-area: price;
    text-align: right;
    align-items: flex-end;
  }

  .remove-cart-item {
    grid-area: remove;
    margin-left: auto;
  }

  .cs-fbt-thumb {
    width: 80px;
    height: 60px;
  }

  .cs-fbt-add-btn {
    font-size: 14px;
    padding: 8px 14px;
    height: 40px;
  }

  .label-heading {
    font-size: 18px;
  }

  #total-count-course,
  .cart-top-text-label {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .cs-cart-container {
    padding: 0 16px;
  }

  .cart-main-content {
    padding: 16px 0 40px;
  }

  .items-top-bar {
    flex-wrap: wrap;
  }

  .cs-select-more-btn {
    font-size: 14px;
    padding: 8px 14px;
  }

  .cs-item-thumb img {
    width: 56px;
    height: 42px;
  }

  .cs-fbt-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-fbt-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-fbt-action {
    width: 100%;
  }

  .cs-fbt-add-btn {
    width: 100%;
    justify-content: center;
  }

  .cs-trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .cs-badge {
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }

  .cs-badge svg {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
}

/* ---- Standalone cart page (no header/footer) --------------- */
body.cs-cart-standalone {
  background: #fff;
  margin: 0;
  padding: 0;
}

/* ---- Cart minimal header (logo only) ---------------------- */
.cs-cart-header {
  background: #fff;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.cs-cart-header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cs-cart-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 767px) {
  .cs-cart-header {
    padding: 16px 20px;
  }

  .cs-cart-logo-img {
    height: 44px;
  }
}

/* ---- Cart title banner ------------------------------------- */
.cs-cart-title-banner {
  background: linear-gradient(135deg, #5b9bd5 0%, #4a5bb5 50%, #3f4d97 100%);
  padding: 40px 24px;
  text-align: center;
}

.cs-cart-title {
  color: #fff !important;
  font-size: 36px !important ;
  font-weight: 700 !important;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .cs-cart-title-banner {
    padding: 28px 16px;
  }

  .cs-cart-title {
    font-size: 28px;
  }
}

/* ---- Cross-sell section ------------------------------------ */
.cs-cross-sell-wrapper {
  margin-top: 32px;
}

.cs-cross-sell-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-cross-sell-item {
  width: 100%;
}

.cs-cross-sell-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s;
}

.cs-cross-sell-link:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.cs-cross-sell-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ---- Sale Banner (Cross-Sell Prime Upgrade) ------------------ */
.sale-banner {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  /* background-image is set inline from cs_media_url() in templates/cross-sell-products.php */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.sale-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  flex-grow: 1;
}

.sale-banner__title {
  color: #2E4450;
  font-size: 3rem;
  font-weight: 800;
  font-family: Lato, sans-serif;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.sale-banner__title-accent {
  color: #DC2F03;
}

.sale-banner__badge {
  display: flex;
  justify-content: center;
  gap:6px;
  align-items: center;
  width: fit-content;
  background: #FCD87B;
  border: 1px solid #FCD87B;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #2E4450;
  font-size: 1.25rem;
  text-align: center;
}

.sale-banner__badge-accent {
  color: #AF222B;
}

.sale-banner__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sale-banner__feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sale-banner__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #2E4450;
}

.sale-banner__feature-text {
  color: #2E4450;
  font-size: 0.875rem;
  line-height: 1.3;
}

.sale-banner__cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  width: 240px;
  border-left: 1px solid #D77278;
}

.sale-banner__image {
  margin-bottom: 0.75rem;
}

.sale-banner-gradient-btn {
  border-radius: 5.065px;
  background: #ED4500;
  background: linear-gradient(180deg, rgba(237, 69, 0, 1) 0%, rgba(191, 9, 10, 1) 100%);
  transition: background-position 0.4s ease, filter 0.3s ease, transform 0.3s ease;
}

.sale-banner-gradient-btn:hover {
  background: #ED4500;
  background: linear-gradient(180deg, rgba(191, 9, 10, 1) 0%, rgba(237, 69, 0, 1) 100%);
  transform: scale(1.01);
  color: white;
}

.sale-banner__cta-btn {
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.sale-banner__guarantee {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sale-banner__guarantee-text {
  font-size: 0.75rem;
  color: #2E4450;
}


/* ---- Sale Banner Responsive --------------------------------- */
@media (min-width: 1024px) {
  .sale-banner {
    flex-direction: row;
  }

  .sale-banner__cta-panel {
    border-left: 1px solid #D77278;
  }
}
