*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.3);
}

:root {
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --primary-dark: var(--color-primary-dark);
  --background: #fafafa;
  --foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
  --radius: 0.75rem;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-foreground);
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.text-primary {
  color: var(--primary);
}

.text-success {
  color: #10b981;
}

.text-danger {
  color: #ef4444;
}

.text-muted {
  color: var(--muted-foreground);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(var(--color-primary-rgb), 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.checkout-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.checkout-header {
  text-align: center;
  margin-bottom: 3rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-sidebar {
  position: sticky;
  top: 120px;
}

.card-moderno {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

.card-moderno:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header-moderno {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-header-moderno i {
  font-size: 1.5rem;
}

.card-header-moderno h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-body-moderno {
  padding: 1.5rem;
}

.delivery-buttons,
.payment-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-delivery,
.btn-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: white;
  color: var(--foreground);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  border: none;
}

.btn-delivery:hover,
.btn-payment:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-delivery.active,
.btn-payment.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-delivery i,
.btn-payment i {
  font-size: 1.5rem;
}

.alert-info-moderno,
.alert-warning-moderno {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.alert-info-moderno {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #1e40af;
}

.alert-warning-moderno {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #92400e;
}

.alert-info-moderno i,
.alert-warning-moderno i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.address-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.address-header h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--foreground);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label-moderno {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-control-moderno {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: all var(--transition-base);
  font-size: 1rem;
  font-family: inherit;
}

.form-control-moderno:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.input-with-help {
  display: flex;
  flex-direction: column;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.help-link:hover {
  color: var(--primary-dark);
}

.cupom-input-group {
  display: flex;
  gap: 0.5rem;
}

.cupom-input-group .form-control-moderno {
  flex: 1;
}

.cupom-mensagem {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.sticky-sidebar {
  position: sticky;
  top: 120px;
}

.itens-resumo {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.carrinho-header-actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.btn-limpar-carrinho {
  background: none;
  border: 1px solid #dc3545;
  color: #dc3545;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.btn-limpar-carrinho:hover {
  background: #dc3545;
  color: #fff;
}

.item-carrinho-resumo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.btn-remover-item {
  position: absolute;
  top: 0.5rem;
  right: 0;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.btn-remover-item:hover {
  color: #dc3545;
}

.item-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0;
}

.btn-qty {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-light, #f8f9fa);
  color: #333;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s;
}

.btn-qty:hover:not(:disabled) {
  background: var(--primary, #0d6efd);
  color: #fff;
  border-color: var(--primary, #0d6efd);
}

.btn-qty:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-value {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.item-carrinho-resumo:last-child {
  border-bottom: none;
}

.item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
}

.item-info {
  flex: 1;
}

.item-info h6 {
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.item-pricing {
  text-align: right;
}

.item-pricing span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.item-pricing strong {
  font-size: 1rem;
}

.resumo-totais {
  border-top: 2px solid var(--border);
  padding-top: 1.5rem;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.total-line.total-final {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Ações */
.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.checkout-actions .btn {
  width: 100%;
  justify-content: center;
}

.carrinho-vazio {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
}

.carrinho-vazio i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Floating actions */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.floating-btn-whatsapp {
  background: #25d366;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-btn-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
  animation: pulse-instagram 2.5s ease-in-out infinite;
}

.floating-btn-youtube {
  background: #ff0000;
  animation: pulse-youtube 3s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulse-instagram {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(131, 58, 180, 0.6);
  }
}

@keyframes pulse-youtube {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(253, 29, 29, 0.6);
  }
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
}

.floating-actions.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.form-control-moderno.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

@media (max-width: 1023px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .checkout-sidebar {
    position: static;
  }

  .sticky-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 3rem 1rem;
  }

  .delivery-buttons,
  .payment-buttons {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .card-header-moderno {
    padding: 1rem;
  }

  .card-body-moderno {
    padding: 1rem;
  }

  .checkout-header {
    margin-bottom: 2rem;
  }

  .floating-actions {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 479px) {
  .section {
    padding: 2rem 1rem;
  }

  .item-carrinho-resumo {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .item-pricing {
    text-align: center;
  }

  .cupom-input-group {
    flex-direction: column;
  }
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.d-block {
  display: block;
}

body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

.vw-plugin-top-wrapper {
  z-index: 1060;
}

@media (max-width: 767px) {
  .vw-plugin-top-wrapper {
    bottom: 70px !important;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    left: 0.75rem;
    bottom: 0.75rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   CHECKOUT STEPPER
   ======================================== */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0.5;
}

.step.active,
.step.completed {
  opacity: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.step.active .step-num {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.2);
}

.step.completed .step-num {
  background: #10b981;
  color: white;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.step.active .step-label {
  color: var(--primary);
}

.step.completed .step-label {
  color: #10b981;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 0.75rem;
  min-width: 20px;
  transition: background var(--transition-base);
}

.step-line.completed {
  background: #10b981;
}

/* ========================================
   STEP CONTENT SECTIONS
   ======================================== */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.btn-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-step-back {
  background: var(--muted);
  color: var(--foreground);
}

.btn-step-back:hover {
  background: var(--border);
}

.btn-step-next {
  background: var(--primary);
  color: white;
  margin-left: auto;
}

.btn-step-next:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   REVIEW STEP (Step 4)
   ======================================== */
.review-section {
  margin-bottom: 1.5rem;
}

.review-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.review-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.review-row span:first-child {
  color: var(--muted-foreground);
}

.review-row span:last-child {
  font-weight: 600;
}

.review-edit-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color var(--transition-base);
}

.review-edit-btn:hover {
  color: var(--primary-dark);
}

/* ========================================
   FORM HINT / MICROCOPY
   ======================================== */
.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  font-style: italic;
  line-height: 1.4;
}

/* ========================================
   FEE TAG ON PAYMENT BUTTONS
   ======================================== */
.fee-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 2px;
}

.btn-payment.active .fee-tag {
  opacity: 0.9;
}

/* ========================================
   CUPOM FEEDBACK
   ======================================== */
.cupom-feedback {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  min-height: 1.2em;
}

/* ========================================
   FRETE MESSAGE
   ======================================== */
.frete-msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.frete-msg.warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

.frete-msg i,
.frete-msg svg {
  flex-shrink: 0;
}

/* ========================================
   CEP AUTOFILL
   ======================================== */
.autofilled {
  color: var(--foreground) !important;
}

.autofill-hint {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.35rem;
}

/* ========================================
   PIX RESULT MODAL
   ======================================== */
.pix-result {
  text-align: center;
  padding: 1.5rem;
}

.pix-qr {
  margin: 1rem auto;
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
}

.pix-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pix-code {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin: 1rem 0;
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
  position: relative;
}

.btn-copy-pix {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 0.5rem;
}

.btn-copy-pix:hover {
  background: var(--primary-dark);
}

.btn-copy-pix.copied {
  background: #10b981;
}

.pix-timer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.pix-timer strong {
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

/* ========================================
   MOBILE STICKY BAR
   ======================================== */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0;
  }

  .sticky-bar-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .sticky-total {
    font-size: 0.95rem;
    color: var(--foreground);
  }

  .sticky-total strong {
    font-size: 1.1rem;
    color: var(--primary);
  }

  .btn-sticky-continue {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-base);
  }

  .btn-sticky-continue:hover {
    background: var(--primary-dark);
  }

  .sticky-bar-breakdown {
    border-top: 1px solid var(--border);
    padding: 0.75rem 1rem;
    background: var(--muted);
  }

  .breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: var(--muted-foreground);
  }

  .breakdown-row.total {
    font-weight: 700;
    color: var(--foreground);
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
  }

  body {
    padding-bottom: 80px;
  }

  .checkout-stepper {
    padding: 1rem 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
  }

  .step-label {
    display: none;
  }

  .step-line {
    min-width: 12px;
    margin: 0 0.4rem;
  }
}

/* ========================================
   SMART FINALIZAR BUTTON
   ======================================== */
.missing-count {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

#finalizar-compra:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

#finalizar-compra:disabled:hover {
  box-shadow: var(--shadow-md);
}

.field-highlight {
  animation: highlightPulse 1s ease;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(var(--color-primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0);
  }
}

/* ========================================
   PAYMENT BUTTONS GRID ENHANCEMENT
   ======================================== */
.payment-buttons {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
  .payment-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   COOKIE CONSENT BAR
   ======================================== */
.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1001;
}

.cookie-icon {
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5a4a3a;
  margin: 0;
  flex: 1;
}

.cookie-accept-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-accept-btn:hover {
  background: var(--primary-dark);
}
