/* ==========================================================================
   TRENDY SHOP COLOMBIA - 1:1 OFFICIAL VTEX SMARTCHECKOUT STYLES
   Colors: Magenta #E24585 / #D62976, Background #FFF8FB / #F9F9FB
   Inputs: 20px radius, 42px height, Montserrat typography
   ========================================================================== */

:root {
  --vtex-magenta: #e24585;
  --vtex-magenta-dark: #ba0046;
  --vtex-magenta-light: #fff0f6;
  --vtex-magenta-border: #f8c0d8;
  --vtex-text-main: #222222;
  --vtex-text-muted: #6b7280;
  --vtex-border-color: #d1d5db;
  --vtex-border-light: #e5e7eb;
  --vtex-bg-page: #fff8fb;
  --vtex-bg-card: #ffffff;
  --vtex-green: #108a00;
  --vtex-error: #ef4444;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--vtex-text-main);
  background-color: var(--vtex-bg-page);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   VTEX MAIN HEADER
   ========================================================================== */
.vtex-header {
  background-color: var(--vtex-magenta);
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(226, 69, 133, 0.2);
}

.vtex-header-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vtex-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.vtex-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.vtex-pago-seguro {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vtex-secure-icon {
  height: 20px;
  width: auto;
}

.vtex-secure-text {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   SUB BAR / VOLVER AL CARRITO
   ========================================================================== */
.vtex-sub-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--vtex-border-light);
  padding: 12px 0;
}

.vtex-sub-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.vtex-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vtex-text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

.vtex-back-link:hover {
  color: var(--vtex-magenta);
}

/* ==========================================================================
   MAIN CHECKOUT LAYOUT
   ========================================================================== */
.vtex-checkout-layout {
  padding: 24px 0 60px;
  min-height: calc(100vh - 200px);
}

.vtex-checkout-container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN - VTEX ACCORDION STEPS
   ========================================================================== */
.vtex-steps-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vtex-step-card {
  background: var(--vtex-bg-card);
  border-radius: 12px;
  border: 1px solid var(--vtex-border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.vtex-step-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Step Header */
.vtex-step-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.vtex-step-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.vtex-step-number {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.vtex-step-number-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid #111827;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.vtex-step-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vtex-step-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vtex-step-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--vtex-text-muted);
}

.vtex-step-edit-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--vtex-magenta);
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

.vtex-step-edit-btn:hover {
  color: var(--vtex-magenta-dark);
}

/* Step Summary (Collapsed State) */
.vtex-step-summary {
  padding: 0 24px 18px 58px;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
  border-bottom: 1px solid var(--vtex-border-light);
}

.vtex-step-summary strong {
  color: #111827;
}

/* Step Body */
.vtex-step-body {
  padding: 6px 24px 24px;
  border-top: 1px solid #f9fafb;
}

/* Form Groups & Inputs */
.vtex-form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.vtex-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.vtex-input-wrapper {
  position: relative;
  width: 100%;
}

.vtex-input {
  width: 100%;
  height: 42px;
  border-radius: 20px;
  border: 1px solid var(--vtex-border-color);
  padding: 0 18px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--vtex-text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vtex-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.vtex-input:focus {
  border-color: var(--vtex-magenta);
  box-shadow: 0 0 0 3px rgba(226, 69, 133, 0.15);
}

.vtex-input.is-invalid {
  border-color: var(--vtex-error) !important;
  background-color: #fffbfa;
}

.vtex-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
  padding-right: 36px;
}

.vtex-valid-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.vtex-error-msg {
  font-size: 11.5px;
  color: var(--vtex-error);
  margin-top: 4px;
  padding-left: 14px;
  display: none;
  font-weight: 500;
}

.vtex-error-msg.visible {
  display: block;
}

.vtex-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vtex-phone-help {
  margin-top: 6px;
  padding-left: 14px;
}

.vtex-pink-link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--vtex-magenta);
  text-decoration: none;
}

.vtex-pink-link:hover {
  text-decoration: underline;
}

/* Centered Continue Button */
.vtex-step-action-center {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.btn-vtex-pill {
  min-width: 220px;
  height: 42px;
  border-radius: 24px;
  border: 1.5px solid var(--vtex-magenta);
  background: #ffffff;
  color: var(--vtex-magenta);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-vtex-pill:hover {
  background: var(--vtex-magenta);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(226, 69, 133, 0.25);
}

/* Shipping SLA Card */
.vtex-shipping-card {
  border: 1.5px solid var(--vtex-magenta);
  background-color: #fff9fc;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 16px;
}

.vtex-shipping-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vtex-radio-custom {
  position: relative;
  width: 18px;
  height: 18px;
}

.vtex-radio-custom input {
  accent-color: var(--vtex-magenta);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.vtex-sla-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.vtex-sla-desc {
  font-size: 12px;
  color: var(--vtex-text-muted);
  margin-top: 2px;
}

.vtex-badge-free {
  font-size: 13px;
  font-weight: 800;
  color: var(--vtex-green);
  background: #eaf8eb;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.vtex-badge-paid {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* Step 3: Facturación Tabs */
.vtex-billing-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.vtex-billing-tab {
  flex: 1;
  height: 42px;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f3f4f6;
  color: #4b5563;
}

.vtex-billing-tab.active {
  background-color: var(--vtex-magenta);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(226, 69, 133, 0.25);
}

.vtex-billing-note {
  font-size: 12.5px;
  color: var(--vtex-text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ==========================================================================
   STEP 4: PAYMENT (BOLD BRE-B DYNAMIC QR INTEGRATION)
   ========================================================================== */
.vtex-qr-locked {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fafafa;
  border-top: 1px solid var(--vtex-border-light);
}

.vtex-locked-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vtex-locked-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
}

.vtex-locked-content p {
  font-size: 12.5px;
  color: var(--vtex-text-muted);
  line-height: 1.4;
}

/* Payment Methods Header */
.vtex-payment-methods-header {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.vtex-pay-tab {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--vtex-border-light);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.vtex-pay-tab.active {
  border-color: var(--vtex-magenta);
  background: #fffbfe;
  box-shadow: 0 2px 10px rgba(226, 69, 133, 0.1);
}

.vtex-pay-tab.disabled {
  background: #f9fafb;
  opacity: 0.6;
  cursor: not-allowed;
}

.vtex-pay-tab-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--vtex-magenta);
  background: #ffe4ef;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.vtex-pay-tab-badge.disabled {
  color: #6b7280;
  background: #e5e7eb;
}

.vtex-pay-tab-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.vtex-pay-tab-logos {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Payment Box Details */
.vtex-payment-box {
  background: #fafafa;
  border: 1px solid var(--vtex-border-light);
  border-radius: 12px;
  padding: 20px;
}

.vtex-amount-bar {
  background: #ffffff;
  border: 1px solid var(--vtex-border-light);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.vtex-amount-lbl {
  font-size: 13px;
  color: var(--vtex-text-muted);
  margin-right: 8px;
}

.vtex-amount-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--vtex-magenta);
}

.btn-copy-amount {
  background: #f3f4f6;
  border: 1px solid var(--vtex-border-color);
  border-radius: 16px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-amount:hover {
  background: #e5e7eb;
  color: #111827;
}

/* QR Center */
.vtex-qr-center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 16px;
}

.vtex-qr-box {
  background: #ffffff;
  border: 2px dashed var(--vtex-magenta-border);
  border-radius: 14px;
  padding: 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.vtex-qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vtex-qr-ph-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fdf2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vtex-qr-ph-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.vtex-qr-ph-desc {
  font-size: 12px;
  color: var(--vtex-text-muted);
  max-width: 240px;
  line-height: 1.35;
}

.vtex-qr-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--vtex-text-muted);
  padding: 20px;
}

.vtex-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--vtex-magenta);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.vtex-dynamic-qr-render {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vtex-dynamic-qr-render canvas,
.vtex-dynamic-qr-render img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vtex-qr-scan-hint {
  margin-top: 12px;
  max-width: 320px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.vtex-qr-scan-hint svg {
  color: var(--vtex-magenta);
  flex-shrink: 0;
}

/* Actions Row */
.vtex-qr-actions-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.btn-nequi-action {
  background: #200028;
  color: #ffffff;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(32, 0, 40, 0.25);
  transition: all 0.2s ease;
  max-width: 340px;
  width: 100%;
}

.btn-nequi-action:hover {
  background: #390047;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(32, 0, 40, 0.35);
}

.vtex-mobile-pay-hint {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  margin-top: 4px;
}

/* Live Polling Status */
.vtex-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eefbf0;
  border: 1px solid #bbf0c5;
  border-radius: 16px;
  padding: 6px 14px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #108a00;
}

.vtex-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #108a00;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Instructions */
.vtex-instructions-wrap {
  margin-top: 18px;
  border-top: 1px solid var(--vtex-border-light);
  padding-top: 16px;
}

.vtex-inst-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.vtex-inst-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vtex-inst-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.inst-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--vtex-magenta);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.inst-text {
  font-size: 12.5px;
  color: #374151;
  line-height: 1.4;
}

.vtex-step-action-submit {
  margin-top: 20px;
}

.btn-vtex-submit {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  border: none;
  background: var(--vtex-magenta);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(226, 69, 133, 0.35);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-vtex-submit:hover {
  background-color: var(--vtex-magenta-dark);
}

.btn-vtex-submit:active {
  transform: scale(0.99);
}

/* ==========================================================================
   RIGHT COLUMN - RESUMEN DE LA COMPRA (1:1 VTEX SIDEBAR)
   ========================================================================== */
.vtex-summary-column {
  position: sticky;
  top: 20px;
}

.vtex-summary-card {
  background: var(--vtex-bg-card);
  border-radius: 12px;
  border: 1px solid var(--vtex-border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 24px;
}

.vtex-summary-heading {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
}

/* Products in Cart */
.vtex-summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  max-height: 380px;
  overflow-y: auto;
}

.vtex-item-row {
  border: 1px solid var(--vtex-border-light);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background: #ffffff;
}

.vtex-item-img-box {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.vtex-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vtex-item-details {
  flex: 1;
  padding-right: 20px;
}

.vtex-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vtex-item-qty {
  font-size: 11.5px;
  color: var(--vtex-text-muted);
  margin-top: 2px;
}

.vtex-item-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--vtex-magenta);
  margin-top: 3px;
}

.vtex-item-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.vtex-item-remove-btn:hover {
  color: var(--vtex-error);
}

/* Coupon Box */
.vtex-coupon-section {
  margin-bottom: 18px;
}

.vtex-coupon-input-wrap {
  display: flex;
  border: 1px solid var(--vtex-border-color);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}

.vtex-coupon-input-wrap input {
  flex: 1;
  height: 38px;
  border: none;
  padding: 0 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  text-transform: uppercase;
}

.vtex-coupon-input-wrap button {
  background: #ffffff;
  border: none;
  border-left: 1px solid var(--vtex-border-light);
  padding: 0 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--vtex-magenta);
  cursor: pointer;
  transition: background 0.15s ease;
}

.vtex-coupon-input-wrap button:hover {
  background: #fdf2f7;
}

/* Shipping Incentive Banner (Trendy by Camila Orrego) */
.checkout-shipping-incentive {
  background: #FFF5F8;
  border: 1px solid #F8C0D8;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.checkout-shipping-incentive .shipping-incentive-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.checkout-shipping-incentive .shipping-incentive-header strong {
  color: var(--vtex-magenta);
}

.checkout-shipping-incentive .shipping-progress-track {
  width: 100%;
  height: 6px;
  background: #F3E2EB;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.checkout-shipping-incentive .shipping-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #E6007E 0%, #FF4081 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-shipping-incentive.reached {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.checkout-shipping-incentive.reached .shipping-incentive-header {
  color: #166534;
}

.checkout-shipping-incentive.reached .shipping-incentive-header strong {
  color: #108A00;
}

/* Totals */
.vtex-totals-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vtex-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #4b5563;
}

.vtex-tot-value {
  font-weight: 600;
  color: #111827;
}

.text-free {
  color: var(--vtex-green) !important;
  font-weight: 800 !important;
}

.text-green {
  color: var(--vtex-green) !important;
}

.vtex-tot-divider {
  border: none;
  border-top: 1px solid var(--vtex-border-light);
  margin: 6px 0;
}

.vtex-total-main {
  padding-top: 4px;
}

.vtex-tot-label-bold {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.vtex-tot-value-bold {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

/* Keep Shopping Link */
.vtex-keep-shopping-wrap {
  text-align: center;
  margin-top: 18px;
}

.vtex-keep-shopping-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--vtex-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.vtex-keep-shopping-link:hover {
  color: var(--vtex-magenta);
}

/* ==========================================================================
   FOOTER (1:1 VTEX BADGES & COPYRIGHT)
   ========================================================================== */
.vtex-footer {
  width: 100%;
}

.vtex-footer-badges-bar {
  background: #ffffff;
  border-top: 1px solid var(--vtex-border-light);
  padding: 16px 24px;
}

.vtex-footer-badges-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.vtex-footer-badges-title {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.vtex-footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badge-img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.vtex-footer-copyright-bar {
  background: #000000;
  padding: 14px 24px;
  text-align: center;
}

.vtex-copyright-text {
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.vtex-copyright-text strong {
  font-weight: 700;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (TRANSPARENT FINE LINE - NO WHITE DISC)
   ========================================================================== */
.vtex-floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: transparent !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.18));
  transition: transform 0.2s ease;
  text-decoration: none;
}

.vtex-floating-whatsapp:hover {
  transform: scale(1.08);
}

.vtex-floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   TRENDY PAYMENT LOADER OVERLAY
   ========================================================================== */
.trendy-payment-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.trendy-payment-loader.active {
  display: flex;
}

.trendy-loader-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(8px);
}

.trendy-loader-modal {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 440px;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.trendy-brand-logo img {
  height: 38px;
  width: auto;
  filter: invert(1);
  margin-bottom: 20px;
}

.trendy-spinner-container {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.trendy-ring-spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fce7f1;
  border-top-color: var(--vtex-magenta);
  animation: spin 0.9s linear infinite;
}

.trendy-pulse-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heartPulse 1.2s infinite ease-in-out;
}

@keyframes heartPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

.trendy-loader-title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.trendy-loader-subtitle {
  font-size: 13px;
  color: var(--vtex-text-muted);
  line-height: 1.4;
  margin-bottom: 20px;
}

.trendy-progress-container {
  width: 100%;
  height: 6px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.trendy-progress-bar {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--vtex-magenta), #ba0046);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.trendy-steps-flow {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.trendy-step-pill {
  flex: 1;
  background: #f9fafb;
  border: 1px solid var(--vtex-border-light);
  border-radius: 12px;
  padding: 8px 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.trendy-step-pill .step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
}

.trendy-step-pill.active {
  background: #fff5f9;
  border-color: var(--vtex-magenta-border);
  color: var(--vtex-magenta);
}

.trendy-step-pill.active .step-dot {
  background: var(--vtex-magenta);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .vtex-checkout-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vtex-summary-column {
    order: -1; /* Resumen de compra on top on mobile, just like modern checkouts */
    position: static;
  }

  .vtex-header-inner {
    padding: 0 16px;
  }

  .vtex-logo-img {
    height: 34px;
  }

  .vtex-secure-text {
    font-size: 13.5px;
  }

  .vtex-form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn-vtex-pill {
    width: 100%;
  }

  .vtex-step-header {
    padding: 16px;
  }

  .vtex-step-body {
    padding: 6px 16px 20px;
  }

  .vtex-summary-card {
    padding: 18px 16px;
  }
}
