/**
 * AZADIGI Cart & Checkout Styles
 * Fully responsive, accessible, mobile-first design system for digital product purchases.
 *
 * @package AZADIGI_Core
 */

/* ==========================================================================
   1. Shared Cart & Checkout Base
   ========================================================================== */
.az-cart-app,
.az-checkout-app {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 16px;
  font-family: var(--az-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--az-navy, #0c1527);
  box-sizing: border-box;
}

.az-cart-app *,
.az-checkout-app * {
  box-sizing: border-box;
}

/* Loading & Empty States */
.az-cart-loading,
.az-cart-empty {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  margin: 24px 0;
}

.az-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  color: #94a3b8;
}

.az-empty-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--az-navy, #0c1527);
  margin: 0 0 10px 0;
}

.az-empty-desc {
  font-size: 1rem;
  color: var(--az-text-muted, #64748b);
  max-width: 500px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

/* ==========================================================================
   2. Cart Grid & Table Styles
   ========================================================================== */
.az-cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 991px) {
  .az-cart-grid {
    grid-template-columns: 1fr;
  }
}

.az-cart-table-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(12, 21, 39, 0.04);
}

.az-cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.az-cart-table th {
  background: #f8fafc;
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--az-text-muted, #64748b);
  border-bottom: 1px solid #e2e8f0;
}

.az-cart-table td {
  padding: 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.az-cart-row:last-child td {
  border-bottom: none;
}

/* Product Info Cell */
.az-cart-product-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.az-cart-img-link {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.az-cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.az-cart-item-img-placeholder {
  font-size: 1.5rem;
  color: #94a3b8;
}

.az-cart-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.az-cart-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--az-navy, #0c1527);
  text-decoration: none;
  line-height: 1.35;
}

.az-cart-item-title:hover {
  color: var(--az-green, #00b865);
}

.az-cart-item-cat {
  font-size: 0.75rem;
  color: var(--az-text-muted, #64748b);
}

.az-cart-item-guarantee {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}

.az-cart-price-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
}

.az-cart-subtotal-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--az-navy, #0c1527);
}

/* Quantity Control */
.az-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  height: 40px;
}

.az-qty-btn {
  width: 36px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  min-height: 40px;
}

.az-qty-btn:hover {
  background: #f1f5f9;
}

.az-qty-input {
  width: 44px;
  height: 100%;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
  -moz-appearance: textfield;
}

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

/* Remove Button */
.az-cart-remove-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.az-cart-remove-btn:hover {
  color: #ef4444;
  background: #fef2f2;
}

.az-cart-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Cart Table to Cards on Mobile */
@media (max-width: 640px) {
  .az-cart-table thead {
    display: none;
  }

  .az-cart-table,
  .az-cart-table tbody,
  .az-cart-table tr,
  .az-cart-table td {
    display: block;
    width: 100%;
  }

  .az-cart-row {
    position: relative;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
  }

  .az-cart-table td {
    padding: 6px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .az-cart-table td::before {
    content: attr(data-label);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--az-text-muted, #64748b);
  }

  .az-cart-table td.az-cart-col-product {
    display: block;
    margin-bottom: 8px;
  }

  .az-cart-table td.az-cart-col-product::before {
    display: none;
  }

  .az-cart-table td.az-cart-col-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    padding: 0;
  }

  .az-cart-table td.az-cart-col-remove::before {
    display: none;
  }
}

/* ==========================================================================
   3. Order Summary Card (Cart & Checkout Sidebar)
   ========================================================================== */
.az-cart-summary-card,
.az-checkout-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(12, 21, 39, 0.05);
}

.az-summary-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--az-navy, #0c1527);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.az-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: #475569;
}

.az-badge-free {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.az-summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 12px 0;
}

.az-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0 16px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--az-navy, #0c1527);
}

.az-summary-total {
  font-size: 1.5rem;
  color: var(--az-green, #00b865);
}

.az-summary-delivery-note {
  font-size: 0.8125rem;
  color: var(--az-text-muted, #64748b);
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--az-green, #00b865);
}

.az-summary-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #475569;
}

.az-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.az-trust-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   4. Checkout Form & Grid
   ========================================================================== */
.az-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 991px) {
  .az-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.az-checkout-grid > * {
  min-width: 0;
  max-width: 100%;
}

.az-checkout-main,
.az-checkout-sidebar,
.az-checkout-section,
.az-checkout-summary-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.az-checkout-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(12, 21, 39, 0.04);
}

.az-checkout-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--az-navy, #0c1527);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.az-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--az-navy, #0c1527);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Form Controls */
.az-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.az-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.az-form-group:last-child {
  margin-bottom: 0;
}

.az-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
}

.az-required {
  color: #ef4444;
}

.az-optional {
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--az-text-muted, #64748b);
}

.az-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  color: var(--az-navy, #0c1527);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.az-input:focus {
  outline: none;
  border-color: var(--az-green, #00b865);
  box-shadow: 0 0 0 3px rgba(0, 184, 101, 0.15);
}

.az-field-hint {
  font-size: 0.75rem;
  color: var(--az-text-muted, #64748b);
  line-height: 1.4;
}

/* ==========================================================================
   5. Payment Family Radio Cards
   ========================================================================== */
.az-payment-families {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.az-family-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 60px;
}

.az-family-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.az-family-card.is-selected {
  border-color: var(--az-green, #00b865);
  background: rgba(0, 184, 101, 0.03);
}

.az-family-radio {
  margin-top: 3px;
  accent-color: var(--az-green, #00b865);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.az-family-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.az-family-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.az-family-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--az-navy, #0c1527);
}

.az-family-desc {
  font-size: 0.8125rem;
  color: var(--az-text-muted, #64748b);
}

.az-pill-recommended {
  background: var(--az-green, #00b865);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ==========================================================================
   6. Dynamic Payment Method Instructions & Copy Box
   ========================================================================== */
.az-method-details-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}

.az-crypto-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.az-crypto-tab {
  padding: 10px 18px;
  min-height: 44px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
  cursor: pointer;
  transition: all 0.15s ease;
}

.az-crypto-tab:hover {
  border-color: var(--az-navy, #0c1527);
}

.az-crypto-tab.is-active {
  background: var(--az-navy, #0c1527);
  color: #ffffff;
  border-color: var(--az-navy, #0c1527);
}

.az-wallet-instruction-card,
.az-instruction-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.az-instruction-header {
  font-size: 0.9375rem;
  color: var(--az-navy, #0c1527);
}

.az-highlight {
  color: var(--az-green, #00b865);
  font-weight: 700;
}

.az-warning-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #92400e;
}

.az-callout-icon {
  font-size: 1.125rem;
}

/* Wallet Box with Long-address Mobile Handling */
.az-wallet-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.az-wallet-address {
  font-family: var(--az-font-mono, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace);
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  color: var(--az-navy, #0c1527);
  font-weight: 600;
  word-break: break-all;
  overflow-wrap: anywhere;
  flex: 1 1 200px;
}

.az-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 44px;
  background: var(--az-navy, #0c1527);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.az-btn-copy:hover {
  background: #1e293b;
}

.az-btn-copy.is-copied {
  background: var(--az-green, #00b865);
}

.az-copy-feedback {
  font-size: 0.8125rem;
  font-weight: 600;
}

.az-copy-success {
  color: var(--az-green, #00b865);
}

.az-copy-error {
  color: #ef4444;
}

.az-instruction-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.az-support-hint {
  font-size: 0.8125rem;
  color: var(--az-text-muted, #64748b);
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px dashed #cbd5e1;
}

/* ==========================================================================
   7. Payment Proof File Dropzone
   ========================================================================== */
.az-file-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.az-file-dropzone:hover {
  border-color: var(--az-green, #00b865);
  background: #f8fafc;
}

.az-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.az-dropzone-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #94a3b8;
}

.az-dropzone-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
  margin-bottom: 4px;
}

.az-dropzone-hint {
  font-size: 0.75rem;
  color: var(--az-text-muted, #64748b);
}

.az-dropzone-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px 14px;
  gap: 10px;
}

.az-selected-file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #047857;
  word-break: break-all;
}

.az-btn-remove-file {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #ef4444;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   8. Checkout Sidebar Items List
   ========================================================================== */
.az-chk-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.az-chk-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.az-chk-item-row:last-child {
  border-bottom: none;
}

.az-chk-item-media {
  flex-shrink: 0;
  width: 48px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.az-chk-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.az-chk-item-placeholder {
  font-size: 1.25rem;
  color: #94a3b8;
}

.az-chk-item-details {
  flex: 1;
  min-width: 0;
}

.az-chk-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.az-chk-item-meta {
  font-size: 0.75rem;
  color: var(--az-text-muted, #64748b);
}

.az-chk-item-guarantee {
  font-size: 0.6875rem;
  color: #047857;
}

.az-chk-item-subtotal {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--az-navy, #0c1527);
  flex-shrink: 0;
}

/* ==========================================================================
   9. Buttons, Alerts & Confirmation
   ========================================================================== */
.az-btn-block {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}

.az-checkout-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.az-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.az-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.az-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* Confirmation Receipt */
.az-confirmation-card {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 8px 30px rgba(12, 21, 39, 0.06);
}

.az-conf-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--az-green, #00b865);
  font-size: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.az-conf-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--az-navy, #0c1527);
  margin: 0 0 12px 0;
}

.az-conf-ref-badge {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1.0625rem;
  color: var(--az-navy, #0c1527);
  margin-bottom: 16px;
}

.az-conf-ref-badge strong {
  color: var(--az-green, #00b865);
  font-family: var(--az-font-mono, monospace);
  font-size: 1.125rem;
}

.az-conf-lead {
  font-size: 1rem;
  color: var(--az-text-muted, #64748b);
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.az-conf-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

@media (max-width: 480px) {
  .az-conf-summary-grid {
    grid-template-columns: 1fr;
  }
}

.az-conf-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.az-conf-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--az-text-muted, #64748b);
  text-transform: uppercase;
}

.az-conf-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--az-navy, #0c1527);
  word-break: break-all;
}

.az-conf-price {
  font-size: 1.25rem;
  color: var(--az-green, #00b865);
  font-weight: 700;
}

.az-conf-instructions {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.az-conf-instructions h3 {
  font-size: 1rem;
  margin: 0 0 10px 0;
  color: var(--az-navy, #0c1527);
}

.az-conf-instructions p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.az-conf-instructions p:last-child {
  margin-bottom: 0;
}

.az-conf-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* WhatsApp Order Acceleration Box */
.az-conf-whatsapp-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.az-conf-wa-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.az-conf-wa-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #14532d;
  margin: 0 0 6px 0;
}

.az-conf-wa-desc {
  font-size: 0.875rem;
  color: #166534;
  line-height: 1.5;
  margin: 0;
}

.az-conf-wa-btn {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  border: 1px solid #20ba59;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
  transition: all 0.2s ease;
  width: 100%;
}

.az-conf-wa-btn:hover {
  background: #20ba59;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   Mobile Responsive Refinements (Task 1 Checkout Optimization)
   ========================================================================== */
@media (max-width: 768px) {
  .az-container .az-checkout-app,
  .az-container .az-cart-app {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .az-checkout-section,
  .az-checkout-summary-card {
    padding: 18px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
  }
  
  .az-method-details-box {
    padding: 14px 12px;
  }
  
  .az-crypto-tabs {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  
  .az-crypto-tab {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 10px 8px;
    font-size: 0.8125rem;
  }
  
  .az-wallet-box {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }
  
  .az-wallet-address {
    flex: none;
    width: 100%;
    text-align: center;
    font-size: 0.8125rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  
  .az-btn-copy {
    width: 100%;
    justify-content: center;
  }
  
  .az-file-dropzone {
    padding: 20px 12px;
  }
  
  .az-dropzone-text {
    font-size: 0.875rem;
    word-break: break-word;
  }
  
  .az-chk-item-title {
    white-space: normal;
    word-break: break-word;
  }
}
