/*
 * Lugli — personalizzazioni grafiche del child di Warehouse.
 * Colori come custom properties: oro del logo e dei pulsanti, nero dell'header.
 */
:root {
  --lugli-gold: #cfaa00;
  --lugli-gold-dark: #8a7100;
  --lugli-black: #171718;
  --lugli-badge-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

/* ---- Badge "Nuovo": nastro nero con testo oro (contrasto 8:1) ------------------------ */
html .product-flags .product-flag.new {
  position: relative;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--lugli-black);
  color: var(--lugli-gold);
  padding: .5rem .85rem .5rem .7rem;
  border-left: 4px solid var(--lugli-gold);
  border-radius: 0 3px 3px 0;
  box-shadow: var(--lugli-badge-shadow);
  margin-left: -6px;            /* sporge dal bordo come un nastro */
}
html .product-flags .product-flag.new::after {
  content: "";                  /* piega del nastro sotto la sporgenza */
  position: absolute;
  left: -4px;
  bottom: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid var(--lugli-gold-dark);
  border-left: 6px solid transparent;
}
html .product-miniature .product-flags {
  top: .75rem;
  left: 0;
}

/* ---- Pulsanti oro: testo nero (bianco su oro aveva contrasto ~2:1, nero ~8:1) ---------- */
html .btn-primary,
html .btn-primary:hover,
html .btn-primary:focus,
html .btn-primary:active,
html .btn-primary.disabled,
html .btn-primary:disabled,
html .btn-primary .fa,
html .add-to-cart,
html .add-to-cart .fa,
html #iqitcookielaw .btn-primary {
  color: var(--lugli-black);
}

/* ---- Prezzo su richiesta (prodotti a prezzo 0) ----------------------------------------- */
html .lugli-su-richiesta {
  color: var(--lugli-black);
  font-weight: 700;
  white-space: nowrap;
}
html .product-miniature .lugli-su-richiesta {
  font-size: .95rem;
}
html .product-prices .lugli-su-richiesta {
  display: block;
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
