
.checkout .btn-primary {
  background: #000 !important;
  font-weight: bold;
}

.checkout .btn-primary:hover,
.checkout .btn-primary:focus {
  color: #fc0 !important;
}


#module-thecheckout-order .tc-coupon-impact .discount {
  background: #f5d019;
  color: #111;
  padding: 0 6px;
  display: inline-block;
}

#module-thecheckout-order .tc-coupon-impact .regular-price {
  text-decoration: line-through;
}

#module-thecheckout-order .tc-coupon-impact-note {
  margin-top: 4px;
  color: #b21f3b;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

#cart .coupon-impact-row {
  padding: 12px 62px 20px 92px;
  border-bottom: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#cart .coupon-impact-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

#cart .coupon-impact-icon {
  font-size: 44px;
  line-height: 1;
  color: #d8dbe2;
  font-weight: 700;
  flex: 0 0 44px;
  text-align: center;
}

#cart .coupon-impact-title {
  color: #2b3140;
  font-size: 1.2rem;
  font-weight: 700;
}

#cart .coupon-impact-product {
  color: #617187;
  font-size: 1rem;
}

#cart .coupon-impact-row-right {
  color: #2b3140;
  font-size: 1rem;
  font-weight: 700;
  min-width: 165px;
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

#cart .product-line-grid .unit-price .product-discount-amount {
  color: #617187;
  font-size: 0.92rem;
  line-height: 1.2;
  margin-top: 2px;
}

#cart .product-line-grid .price .product-line-discount-amount {
  color: #111;
  font-size: 1rem;
  font-weight: 700;
}

/* Coupon UI refresh in cart summary */
#cart .cart-voucher .voucher-ui {
  padding: 14px 0 10px;
}

#cart .cart-voucher .voucher-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2b3140;
  margin-bottom: 10px;
}

#cart .cart-voucher .voucher-form-modern {
  display: block;
}

#cart .cart-voucher .voucher-form-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

#cart .cart-voucher .voucher-input-wrap {
  margin-bottom: 0;
  flex: 1 1 auto;
}

#cart .cart-voucher .voucher-input {
  height: 44px;
  border: 1px solid #cfd5df;
  border-radius: 0;
  font-size: 0.98rem;
}

#cart .cart-voucher .voucher-input:focus {
  border-color: #2b3140;
  box-shadow: none;
}

#cart .cart-voucher .voucher-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  min-width: 110px;
  height: 44px;
  border: 1px solid #2b3140;
  background: #fff;
  color: #2b3140;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

#cart .cart-voucher .voucher-submit-btn:hover,
#cart .cart-voucher .voucher-submit-btn:focus {
  background: #2b3140;
  color: #fff;
}

#cart .cart-voucher .voucher-error {
  margin-bottom: 10px;
}

#cart .cart-voucher .voucher-applied-list {
  margin: 0;
  padding: 8px 0 6px;
}

#cart .cart-voucher .voucher-applied-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #f2d978;
  background: #fff9df;
  border-radius: 6px;
  padding: 9px 12px;
  margin: 0 8px 8px;
  box-shadow: 0 2px 8px rgba(15, 30, 20, 0.08);
}

#cart .cart-voucher .voucher-applied-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#cart .cart-voucher .voucher-applied-check {
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
}

#cart .cart-voucher .voucher-applied-label {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.1;
}

#cart .cart-voucher .voucher-applied-text {
  display: flex;
  flex-direction: column;
}

#cart .cart-voucher .voucher-applied-code {
  color: #263341;
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 800;
}

#cart .cart-voucher .voucher-applied-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  margin-left: auto;
  justify-content: flex-end;
}

#cart .cart-voucher .voucher-applied-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffcc00;
  color: #111;
  border-radius: 999px;
  min-width: 62px;
  height: 28px;
  padding: 0 10px;
  font-size: 0.84rem;
  font-weight: 700;
}

#cart .cart-voucher .voucher-remove-link {
  color: #596572;
  font-weight: 600;
  font-size: 0.95rem !important;
}

#cart .cart-voucher .voucher-remove-link:hover {
  color: #2b3140;
  text-decoration: none;
}

#cart .cart-voucher .cart-voucher-ptitle {
  margin: 14px 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2b3140;
}

#cart .cart-voucher .promo-discounts-modern {
  margin: 0;
  padding: 0;
}

#cart .cart-voucher .promo-discount-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e3e6ec;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 8px;
}

#cart .cart-voucher .promo-discount-main {
  min-width: 0;
}

#cart .cart-voucher .promo-discount-main .label {
  margin: 0;
  color: #4a5568;
}

#cart .cart-voucher .promo-discount-main .code {
  font-weight: 700;
  color: #2b3140;
}

#cart .cart-voucher .promo-discount-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

#cart .cart-voucher .promo-discount-apply-form {
  margin: 0;
}

#cart .cart-voucher .promo-discount-apply-btn {
  width: 110px;
  min-width: 110px;
  height: 44px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 12px;
}

#cart .cart-voucher .promo-discount-apply-btn:hover,
#cart .cart-voucher .promo-discount-apply-btn:focus {
  background: #111;
  color: #fff;
}

#cart .cart-voucher .offer-codes-wrap {
  margin-top: 12px;
  border: 1px solid #e2e5ea;
  background: #f9fafb;
  border-radius: 4px;
  padding: 10px;
}

#cart .cart-voucher .offer-codes-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #2b3140;
}

#cart .cart-voucher .offer-codes-list {
  margin: 0;
  padding: 0;
}

#cart .cart-voucher .offer-code-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

#cart .cart-voucher .offer-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #6f7277;
  border-radius: 4px;
  padding: 8px 10px;
  min-height: 40px;
  background: #fff;
}

#cart .cart-voucher .offer-code-pill .fa {
  color: #ffcc00;
  font-size:1.5rem;
}

#cart .cart-voucher .offer-code-pill .code {
  color: #4a5568;
  font-weight: 700;
}

#cart .cart-voucher .offer-apply-btn {
  width: auto;
  min-width: 94px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: #ffcc00;
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 2px;
}

#cart .cart-voucher .offer-apply-btn:hover,
#cart .cart-voucher .offer-apply-btn:focus {
  background: #111;
  color: #fff;
}

/* Subtle success highlight for discount summary rows */
#cart .cart-summary-line#cart-subtotal-discount-products,
#cart .cart-summary-line#cart-subtotal-discount-coupon {
  background: #fff9df;
  border: 1px solid #f2d978;
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 6px;
}

#cart .cart-summary-line#cart-subtotal-discount-products .label,
#cart .cart-summary-line#cart-subtotal-discount-coupon .label {
  color: #2b3140;
  font-weight: 700;
}

#cart .cart-summary-line#cart-subtotal-discount-products .value,
#cart .cart-summary-line#cart-subtotal-discount-coupon .value {
  color: #111;
  font-weight: 700;
}

#cart .cart-summary-line#cart-subtotal-shipping
{
  margin-top: 10px;
}

@media (max-width: 991px) {
  #cart .cart-voucher .voucher-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  #cart .cart-voucher .voucher-submit-btn {
    width: 100%;
    min-width: 0;
  }

  #cart .cart-voucher .promo-discount-item {
    align-items: flex-start;
    flex-direction: column;
  }

  #cart .cart-voucher .promo-discount-actions {
    width: 100%;
  }

  #cart .cart-voucher .promo-discount-apply-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 991px) {
  #cart .coupon-impact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-left: 0;
    padding-right: 0;
  }

  #cart .coupon-impact-row-right {
    min-width: 100%;
    padding-right: 0;
    text-align: right;
  }
}
    
