/* ============================================================
   DITRON CHECKOUT — Main Stylesheet
   All colours/fonts/radii come from CSS custom properties
   injected by PHP (ditron_generate_css_vars).
   ============================================================ */

/* ── Reset & Base ── */
.ditron-app *,
.ditron-app *::before,
.ditron-app *::after { box-sizing: border-box; margin: 0; padding: 0; }

.ditron-app {
  font-family: var(--font-b);
  color: var(--text-primary);
  background: var(--bg-secondary);
  min-height: 60vh;
  padding-bottom: 60px;
}

/* ── Utility ── */
.dc-hidden { display: none !important; }
.dc-success { color: var(--success); font-weight: 600; }
.dc-sale    { color: var(--sale); font-weight: 600; }
.dc-req     { color: var(--sale); }

/* ── Announcement Bar ── */
.dc-announcement {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 10px 40px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
.dc-ann-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 20px;
  cursor: pointer; line-height: 1; opacity: .7;
}
.dc-ann-close:hover { opacity: 1; }

/* ── Toast ── */
.dc-toast {
  position: fixed; top: 20px; right: 20px; z-index: 99999;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  max-width: 380px; width: calc(100vw - 40px);
  animation: dc-slide-in .3s ease;
}
.dc-toast-inner {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
}
.dc-toast-icon { font-size: 24px; flex-shrink: 0; }
.dc-toast-body { flex: 1; }
.dc-toast-body strong { display: block; font-size: 15px; margin-bottom: 2px; }
.dc-toast-body span   { font-size: 13px; color: var(--text-secondary); }
.dc-toast-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

@keyframes dc-slide-in {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Overlay ── */
.dc-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,.55); display: flex;
  align-items: center; justify-content: center;
}
.dc-overlay-card {
  background: #fff; border-radius: var(--r-xl);
  padding: 48px 40px; text-align: center;
  max-width: 360px; width: 90%;
}
.dc-overlay-card h3 { font-family: var(--font-d); font-size: 20px; margin: 16px 0 8px; }
.dc-overlay-card p  { color: var(--text-secondary); font-size: 14px; }

/* ── Spinner ── */
.dc-spinner {
  width: 40px; height: 40px; margin: 0 auto;
  border: 3px solid var(--bg-tertiary);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: dc-spin .7s linear infinite;
}
@keyframes dc-spin { to { transform: rotate(360deg); } }

/* ── Stepper ── */
.dc-stepper-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.dc-stepper {
  display: flex; align-items: center; justify-content: center;
  max-width: 600px; margin: 0 auto; padding: 20px 0;
  gap: 0;
}
.dc-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; flex: 0 0 auto; cursor: default;
}
.dc-step span { font-size: 12px; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.dc-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: var(--bg-tertiary); color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all .3s;
}
.dc-step--active .dc-step-num {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.dc-step--active span { color: var(--primary); font-weight: 700; }
.dc-step--done .dc-step-num {
  background: var(--success); color: #fff; border-color: var(--success);
}
.dc-step--done span { color: var(--success); }
.dc-step-line {
  flex: 1; height: 2px; background: var(--border);
  margin: 0 8px; margin-bottom: 22px;
  transition: background .3s;
}
.dc-step-line--done { background: var(--success); }

/* ── Layout ── */
.dc-main { max-width: 1100px; margin: 0 auto; padding: 32px 20px 0; }

.dc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.dc-layout--confirmed { grid-template-columns: 1fr; }

.dc-col-main { display: flex; flex-direction: column; gap: 20px; }
.dc-col-side  { position: sticky; top: 20px; }

/* ── Step Panels ── */
.dc-step-panel { display: none; }
.dc-step-panel--active { display: block; }

/* ── Cards ── */
.dc-card {
  background: var(--bg-primary);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: 24px;
}
.dc-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; gap: 12px;
}
.dc-card-header h2,
.dc-card-header h3 {
  font-family: var(--font-d);
  font-size: 18px; font-weight: 700;
  color: var(--text-primary);
}
.dc-section-icon { font-size: 20px; }
.dc-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ── Buttons ── */
.dc-btn-primary {
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--r-md);
  padding: 13px 24px; font-size: 15px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .1s;
  font-family: var(--font-b);
  text-decoration: none;
}
.dc-btn-primary:hover { background: var(--primary-dark); }
.dc-btn-primary:active { transform: scale(.98); }

.dc-btn-place { padding: 15px 28px; font-size: 16px; }

.dc-btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-md); border-radius: var(--r-md);
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: var(--font-b);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .2s, background .2s;
}
.dc-btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-muted); }

.dc-btn-secondary {
  background: var(--bg-tertiary); color: var(--text-primary);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: var(--font-b);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.dc-btn-secondary:hover { background: var(--border); }

.dc-btn-primary-sm {
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--r-md);
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font-b);
  white-space: nowrap;
}
.dc-btn-outline-sm {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: var(--r-md);
  padding: 7px 14px; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: var(--font-b);
}
.dc-btn-ghost-sm {
  background: none; border: none; color: var(--text-secondary);
  font-size: 12px; cursor: pointer; font-family: var(--font-b);
  padding: 7px 10px;
}
.dc-link-primary { background: none; border: none; color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; }
.dc-link-danger  { background: none; border: none; color: var(--sale); font-size: 13px; font-weight: 500; cursor: pointer; }
.dc-arrow { font-size: 16px; }

/* ── Cart Items ── */
.dc-cart-items { display: flex; flex-direction: column; gap: 0; }

.dc-cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.dc-cart-item:last-child { border-bottom: none; }

.dc-item-thumb {
  width: 90px; height: 90px; border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-secondary);
  position: relative; flex-shrink: 0;
}
.dc-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-item-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--primary); color: #fff;
  font-size: 9px; font-weight: 700; padding: 2px 6px;
  border-radius: var(--r-sm); text-transform: uppercase; letter-spacing: .5px;
}

.dc-item-info { flex: 1; min-width: 0; }
.dc-item-brand { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.dc-item-name  { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; line-height: 1.3; }
.dc-item-attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dc-item-attr  {
  font-size: 11px; color: var(--text-secondary);
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 2px 8px;
}
.dc-item-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.dc-qty-control {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border-md); border-radius: var(--r-md);
  overflow: hidden;
}
.dc-qty-btn {
  width: 34px; height: 34px; background: var(--bg-secondary);
  border: none; font-size: 18px; cursor: pointer; color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.dc-qty-btn:hover { background: var(--bg-tertiary); }
.dc-qty-val {
  width: 40px; text-align: center; font-size: 14px; font-weight: 600;
  border: none; background: #fff; color: var(--text-primary);
  pointer-events: none;
}
.dc-item-remove, .dc-item-wishlist {
  background: none; border: none; font-size: 12px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
  padding: 4px 0;
}
.dc-item-remove  { color: var(--sale); }
.dc-item-wishlist{ color: var(--text-secondary); }

.dc-item-price { text-align: right; flex-shrink: 0; }
.dc-item-price-current { font-size: 17px; font-weight: 700; color: var(--text-primary); display: block; }
.dc-item-price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; display: block; margin-top: 2px; }
.dc-item-price-save { font-size: 12px; color: var(--sale); font-weight: 600; display: block; margin-top: 2px; }

/* ── Free Delivery Bar ── */
.dc-free-delivery {
  background: var(--success-bg); border: 1px solid var(--success-border);
  border-radius: var(--r-md); padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500; color: var(--success);
  margin-top: 16px; gap: 8px; flex-wrap: wrap;
}

/* ── Loading State ── */
.dc-loading-state {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 40px 0; color: var(--text-muted);
}

/* ── Empty Cart ── */
.dc-empty-cart {
  text-align: center; padding: 48px 20px;
  color: var(--text-secondary);
}
.dc-empty-cart .dc-empty-icon { font-size: 48px; margin-bottom: 12px; }
.dc-empty-cart h3 { font-size: 18px; margin-bottom: 8px; }

/* ── Order Summary Sidebar ── */
.dc-summary-card h3 {
  font-family: var(--font-d); font-size: 16px; font-weight: 700;
  margin-bottom: 16px;
}
.dc-summary-rows { display: flex; flex-direction: column; gap: 10px; }
.dc-summary-row  { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.dc-summary-row span:first-child { color: var(--text-secondary); }
.dc-summary-row span:last-child  { font-weight: 500; }
.dc-sale-row span:last-child { color: var(--sale); }
.dc-summary-divider { height: 1px; background: var(--border); margin: 4px 0; }
.dc-summary-total { font-size: 16px !important; font-weight: 700 !important; padding-top: 4px; }
.dc-summary-total span { font-weight: 700 !important; color: var(--text-primary) !important; }

/* ── Coupon ── */
.dc-coupon-wrap { margin-top: 16px; }
.dc-coupon-toggle {
  background: none; border: none; color: var(--primary);
  font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 0; font-family: var(--font-b);
}
.dc-coupon-box { margin-top: 10px; }
.dc-coupon-row { display: flex; gap: 8px; }
.dc-coupon-msg { font-size: 12px; margin-top: 6px; padding: 6px 10px; border-radius: var(--r-sm); }
.dc-coupon-msg--success { background: var(--success-bg); color: var(--success); }
.dc-coupon-msg--error   { background: #fff0f0; color: var(--sale); }

/* ── Payment Badge ── */
.dc-payment-badge {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-secondary); border-radius: var(--r-lg);
  padding: 14px 16px; margin-top: 16px;
}
.dc-cod-icon { font-size: 24px; flex-shrink: 0; }
.dc-payment-badge strong { font-size: 14px; display: block; margin-bottom: 2px; }
.dc-payment-badge p { font-size: 12px; color: var(--text-secondary); }

/* ── Trust Badges ── */
.dc-trust-badges {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px;
}
.dc-trust-badges span {
  font-size: 11px; font-weight: 600; color: var(--text-secondary);
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 4px 10px;
}

/* ── Mini Items (sidebar step 2) ── */
.dc-mini-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dc-mini-item  { display: flex; align-items: center; gap: 10px; }
.dc-mini-thumb {
  width: 44px; height: 44px; border-radius: var(--r-md);
  overflow: hidden; background: var(--bg-secondary); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--primary);
}
.dc-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-mini-info { flex: 1; min-width: 0; }
.dc-mini-name  { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-mini-price { font-size: 12px; color: var(--text-secondary); }
.dc-mini-item-price { font-size: 13px; font-weight: 700; flex-shrink: 0; }

/* ── Forms ── */
.dc-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.dc-field { display: flex; flex-direction: column; gap: 5px; }
.dc-field--full { grid-column: 1 / -1; }
.dc-field label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.dc-input,
.dc-field input[type="text"],
.dc-field input[type="tel"],
.dc-field input[type="email"],
.dc-field select,
.dc-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-md); border-radius: var(--r-md);
  font-size: 14px; font-family: var(--font-b); color: var(--text-primary);
  background: var(--bg-primary); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.dc-field input:focus,
.dc-field select:focus,
.dc-field textarea:focus,
.dc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-muted);
}
.dc-field input.dc-invalid,
.dc-field select.dc-invalid { border-color: var(--sale); }
.dc-field-hint  { font-size: 11px; color: var(--text-muted); }
.dc-field-error { font-size: 11px; color: var(--sale); display: none; }
.dc-field.dc-has-error .dc-field-error { display: block; }
.dc-field.dc-has-error input,
.dc-field.dc-has-error select { border-color: var(--sale); }

/* ── COD Option ── */
.dc-cod-option {
  display: flex; align-items: flex-start; gap: 14px;
  border: 2px solid var(--border); border-radius: var(--r-lg);
  padding: 16px; margin-top: 12px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dc-cod-option--selected {
  border-color: var(--primary); background: var(--primary-muted);
}
.dc-cod-option--mini { padding: 12px; margin-top: 12px; }
.dc-cod-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--primary); flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.dc-radio-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
}
.dc-cod-body { flex: 1; }
.dc-cod-body strong { font-size: 14px; display: block; margin-bottom: 3px; }
.dc-cod-body p { font-size: 12px; color: var(--text-secondary); }
.dc-badge-free {
  background: var(--success-bg); color: var(--success);
  border: 1px solid var(--success-border);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: var(--r-sm); flex-shrink: 0;
}

/* ── COD Steps ── */
.dc-cod-steps {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 16px; padding: 16px;
  background: var(--bg-secondary); border-radius: var(--r-lg);
}
.dc-cod-step { display: flex; align-items: flex-start; gap: 12px; }
.dc-cod-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dc-cod-step p { font-size: 13px; color: var(--text-secondary); padding-top: 4px; }
.dc-cod-step--warn .dc-cod-step-num { background: #f59e0b; }
.dc-cod-step--total .dc-cod-step-num { background: var(--success); }

/* ── Review Step ── */
.dc-review-address { display: flex; flex-direction: column; gap: 14px; }
.dc-review-row { display: flex; gap: 16px; }
.dc-review-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; min-width: 70px; padding-top: 2px; }
.dc-review-row div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.dc-review-row strong { font-weight: 600; }
.dc-review-row span  { color: var(--text-secondary); font-size: 13px; }

.dc-delivery-eta-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--success-bg); border: 1px solid var(--success-border);
  border-radius: var(--r-md); padding: 10px 14px;
  font-size: 13px; color: var(--success); font-weight: 500;
  margin-top: 16px;
}

.dc-review-items { display: flex; flex-direction: column; gap: 14px; }
.dc-review-item  { display: flex; align-items: center; gap: 14px; }
.dc-review-thumb {
  width: 56px; height: 56px; border-radius: var(--r-md);
  overflow: hidden; background: var(--bg-secondary); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--primary);
}
.dc-review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-review-item-info { flex: 1; min-width: 0; }
.dc-review-item-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.dc-review-item-attrs{ font-size: 12px; color: var(--text-secondary); }
.dc-review-item-price { text-align: right; flex-shrink: 0; }
.dc-review-item-price strong { font-size: 15px; font-weight: 700; display: block; }
.dc-review-item-price span   { font-size: 12px; color: var(--text-muted); }

/* ── Alert ── */
.dc-alert {
  display: flex; gap: 10px; align-items: flex-start;
  border-radius: var(--r-md); padding: 12px 14px; margin-top: 12px;
  font-size: 13px;
}
.dc-alert--warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.dc-alert p { line-height: 1.5; }

/* ── Terms ── */
.dc-terms-row { padding: 16px 0; }
.dc-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.dc-checkbox-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.dc-checkbox-label a { color: var(--primary); }

/* ── Savings Msg ── */
.dc-savings-msg {
  background: var(--success-bg); border: 1px solid var(--success-border);
  border-radius: var(--r-md); padding: 10px 14px;
  font-size: 13px; color: var(--success); font-weight: 600;
  margin-top: 12px; text-align: center;
}

/* ── Confirmed Step ── */
.dc-confirmed-hero {
  text-align: center; padding: 48px 20px 32px;
  max-width: 600px; margin: 0 auto;
}
.dc-confirmed-icon { font-size: 56px; margin-bottom: 16px; }
.dc-confirmed-hero h2 {
  font-family: var(--font-d); font-size: 28px; font-weight: 800;
  color: var(--text-primary); margin-bottom: 10px;
}
.dc-confirmed-hero p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.dc-order-meta { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

.dc-conf-address { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
.dc-conf-address strong { color: var(--text-primary); font-weight: 600; }
.dc-conf-eta {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-secondary);
}
.dc-conf-eta strong { font-size: 14px; color: var(--text-primary); font-weight: 700; }

/* ── Timeline ── */
.dc-timeline { display: flex; flex-direction: column; gap: 0; }
.dc-tl-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.dc-tl-item:last-child { border-bottom: none; }
.dc-tl-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-tertiary); color: var(--text-muted);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 2px solid var(--border);
}
.dc-tl-done .dc-tl-dot { background: var(--success); color: #fff; border-color: var(--success); }
.dc-tl-cash .dc-tl-dot { background: var(--primary); color: #fff; border-color: var(--primary); font-size: 16px; }
.dc-tl-item div strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.dc-tl-item div p { font-size: 12px; color: var(--text-secondary); }

/* ── Confirmed Actions ── */
.dc-confirmed-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; padding: 32px 20px 0;
  max-width: 1100px; margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .dc-layout { grid-template-columns: 1fr; }
  .dc-col-side { position: static; }
  .dc-cart-item { grid-template-columns: 72px 1fr; }
  .dc-item-price { grid-column: 2; }
  .dc-form-grid { grid-template-columns: 1fr; }
  .dc-field--full { grid-column: 1; }
  .dc-stepper { gap: 0; }
  .dc-step span { display: none; }
  .dc-step-num { width: 30px; height: 30px; font-size: 12px; }
  .dc-step-line { margin: 0 4px; margin-bottom: 16px; }
  .dc-card { padding: 16px; }
  .dc-confirmed-hero h2 { font-size: 22px; }
  .dc-card-footer { flex-direction: column; }
  .dc-card-footer .dc-btn-primary,
  .dc-card-footer .dc-btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .dc-toast { top: 10px; right: 10px; left: 10px; max-width: none; }
  .dc-toast-inner { flex-wrap: wrap; }
  .dc-toast-actions { flex-direction: row; }
  .dc-confirmed-actions { flex-direction: column; }
  .dc-confirmed-actions a,
  .dc-confirmed-actions button { width: 100%; justify-content: center; }
}
