/* Checkout page specific styles */
.ff-checkout-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.ff-checkout-area {
  padding: 0 0 90px;
}

/*
@media (max-width: 991px) {
  .ff-checkout-area {
    padding-top: 20px;
  }
}
*/

.ff-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 18px;
}

.ff-card h3 {
  margin-bottom: 18px;
}

.ff-label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.ff-input {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: normal;
}

.ff-row-gap {
  row-gap: 14px;
}

.ff-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ff-summary-row.total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
  font-weight: 700;
}

.ff-note {
  font-size: 13px;
  color: #666;
}

.ff-status {
  margin-top: 10px;
  font-size: 14px;
}

.ff-status.error {
  color: #c62828;
}

.ff-status.success {
  color: #2e7d32;
}

.ff-status-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.ff-status-banner.success {
  border-color: #c8e6c9;
  background: #f1fbf1;
  color: #1b5e20;
}

.ff-status-banner.error {
  border-color: #ffcdd2;
  background: #fff5f5;
  color: #b71c1c;
}

.ff-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ff-badge-stack {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ff-coupon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #111111;
  background: linear-gradient(135deg, #111111 0%, #2f2f2f 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ff-coupon-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.14);
}

.ff-coupon-badge:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.ff-coupon-badge.is-copied {
  border-color: #2e7d32;
  background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
  color: #ffffff;
}

.ff-coupon-badge.is-muted {
  border-color: #d8d8d8;
  background: #f3f3f3;
  color: #7a7a7a;
}

.ff-coupon-caption {
  font-size: 13px;
  color: #666;
}

.ff-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ff-summary-head h3 {
  margin-bottom: 0;
}

.ff-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ff-coupon-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
}

.ff-coupon-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.ff-coupon-box.is-disabled {
  opacity: 0.6;
}

.ff-coupon-text {
  font-size: 14px;
  color: #3a3a3a;
}

.ff-btn-alt {
  border: 1px solid #151515;
  background: #ffffff;
  color: #151515;
  border-radius: 8px;
  padding: 10px 16px;
}

.ff-qty-control {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #d9dee8;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.ff-qty-input {
  width: 76px;
  height: 40px !important;
  border: 1px solid #cfd5e0;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
  padding: 0;
}

.ff-qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #1f2937;
  border-radius: 10px;
  background: #1f2937;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.ff-qty-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31, 41, 55, 0.2);
  background: #111827;
  border-color: #111827;
}

.ff-qty-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.ff-qty-btn:disabled {
  cursor: not-allowed;
  background: #9ca3af;
  border-color: #9ca3af;
  color: #f3f4f6;
  box-shadow: none;
}

.ff-qty-btn:focus-visible,
.ff-qty-input:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .ff-qty-input {
    width: 64px;
  }
}

.ff-payment-method-wrap {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 14px;
  background: #fcfcfc;
}

.ff-select2 {
  width: 100%;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  min-height: 46px;
  padding: 8px 12px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #111111;
  line-height: 28px;
  padding-left: 0;
  padding-right: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 8px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #111111;
}

.ff-hidden {
  display: none !important;
}
