/* =============================================
   ENVIOS GOYO — Design System
   ============================================= */

:root {
  /* Colores */
  --goyo-primary:       #1a56db;
  --goyo-primary-dark:  #0e3a9e;
  --goyo-primary-light: #bfdbfe;
  --goyo-primary-bg:    #eff6ff;
  --goyo-accent:        #f59e0b;
  --goyo-offer:         #ef4444;
  --goyo-stock:         #059669;
  --goyo-text:          #1e293b;
  --goyo-muted:         #64748b;
  --goyo-border:        #dbeafe;
  --goyo-surface:       #f8faff;

  /* Featured card gradients */
  --goyo-feat-blue:    #1e40af;
  --goyo-feat-cyan:    #0891b2;
  --goyo-feat-cyan-dk: #0369a1;
  --goyo-feat-purple:  #7c3aed;
  --goyo-feat-purp-dk: #5b21b6;

  /* Radios */
  --goyo-radius-sm: 8px;
  --goyo-radius-md: 12px;
  --goyo-radius-lg: 20px;

  /* Sombras */
  --goyo-shadow: 0 2px 12px rgba(26, 86, 219, 0.08);

  /* Sidebar */
  --goyo-sidebar-width: 220px;

  /* Extra category gradients */
  --goyo-feat-green:    #059669;
  --goyo-feat-green-dk: #047857;
  --goyo-feat-amber:    #d97706;
  --goyo-feat-amber-dk: #b45309;
}

/* Reset mínimo para WooCommerce */
.goyo-btn,
.goyo-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.goyo-btn:hover { opacity: 0.88; }

/* Botón primario */
.goyo-btn-primary {
  background: var(--goyo-primary);
  color: #fff;
  border-radius: var(--goyo-radius-sm);
  padding: 9px 16px;
  font-size: 12px;
}

/* Botón secundario */
.goyo-btn-secondary {
  background: var(--goyo-primary-bg);
  color: var(--goyo-primary);
  border: 1.5px solid var(--goyo-primary-light);
  border-radius: var(--goyo-radius-sm);
  padding: 8px 14px;
  font-size: 12px;
}

/* Badges */
.goyo-badge {
  display: inline-block;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.goyo-badge-offer  { background: var(--goyo-offer);  color: #fff; }
.goyo-badge-new    { background: var(--goyo-stock);   color: #fff; }
.goyo-badge-stock  { background: var(--goyo-primary); color: #fff; }

/* Stepper */
.goyo-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.goyo-stepper__btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--goyo-radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity 0.15s;
}
.goyo-stepper__btn--minus {
  background: var(--goyo-primary-bg);
  color: var(--goyo-primary);
}
.goyo-stepper__btn--plus {
  background: var(--goyo-primary);
  color: #fff;
}
.goyo-stepper__btn:hover { opacity: 0.8; }
.goyo-stepper__qty {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--goyo-text);
}

/* Layout: sidebar + main content wrapper */
.goyo-layout { display: block; }
.goyo-layout__main { flex: 1; min-width: 0; }

@media (min-width: 1024px) {
  .goyo-layout {
    display: flex;
    align-items: flex-start;
  }
}
