/*!/wp-content/themes/woodmart-child/style.css*//*
Theme Name: Woodmart Child Theme
Description: Woodmart Child Theme
Author: XTemos
Author URI: http://xtemos.com
Template: woodmart
Version: 1.0.0
Text Domain: woodmart
*/
/* Lato – fuentes en el TEMA PADRE (/wp-content/themes/woodmart/fonts/) */
@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Thin.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Thin.woff') format('woff');font-weight:100;font-style:normal;font-display:swap;}
@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-ThinItalic.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-ThinItalic.woff') format('woff');font-weight:100;font-style:italic;font-display:swap;}

@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Light.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Light.woff') format('woff');font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-LightItalic.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-LightItalic.woff') format('woff');font-weight:300;font-style:italic;font-display:swap;}

@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Regular.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Italic.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Italic.woff') format('woff');font-weight:400;font-style:italic;font-display:swap;}

@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Bold.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-BoldItalic.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-BoldItalic.woff') format('woff');font-weight:700;font-style:italic;font-display:swap;}

@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Black.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-Black.woff') format('woff');font-weight:900;font-style:normal;font-display:swap;}
@font-face{font-family:'Lato';src:url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-BlackItalic.woff2') format('woff2'), url('/wp-content/themes/woodmart-child/../woodmart/fonts/Lato-BlackItalic.woff') format('woff');font-weight:900;font-style:italic;font-display:swap;}

/* Forzar Lato como tipografía global */
body{ font-family:'Lato', sans-serif !important; }
/* ===== Toast éxito "producto agregado" ===== */
:root{
  --toast-bg:#1e1e1e;         /* fondo */
  --toast-text:#ffffff;        /* texto */
  --toast-accent:#2ecc71;      /* verde del puntito */
  --toast-shadow:0 10px 24px rgba(0,0,0,.25);
  --toast-radius:10px;
}

/* contenedor */
.wc-toast{
  position: fixed;
  right: 16px;
  top: 140px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1e1e1e;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease;
  /* 🆕 Para que sea siempre una sola línea */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-toast.on{
  opacity: 1;
  transform: translateY(0);
}
.wc-toast.fade-out{
  opacity: 0;
  transform: translateY(-10px);
}

/* puntito */
.wc-toast .wc-dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: #2ecc71;
  flex: 0 0 10px;
}

/* cerrar */
.wc-toast .wc-close{
  margin-left: 8px;
  background: transparent;
  border: 0;
  color: #bfbfbf;
  font-size: 14px; /* más pequeña */
  line-height: 1;
  cursor: pointer;
}
.wc-toast .wc-close:hover{ color:#fff; }

/* ===== Responsive: en móvil ===== */
@media (max-width: 576px) {
  .wc-toast {
    top: var(--toast-top, 80px);
    bottom: auto;
    right: 16px;         /* pegado a la derecha */
    left: auto;          /* quitamos el centrado */
    transform: none;     /* sin desplazamiento */
    max-width: 85%;      /* para que no ocupe toda la pantalla */
    text-align: left;    /* texto alineado a la izquierda */
    justify-content: flex-start;
  }
  .wc-toast.on {
    transform: none;
  }
  .wc-toast.fade-out {
    transform: none;
  }
}



/* transición un poco más suave */
.wc-toast{
  transition: opacity .3s ease, transform .3s ease;
}

/* estado de salida */
.wc-toast.fade-out{
  opacity: 0;
  transform: translateY(-10px);
}