/* HayOrder v1.1.70 – Bestellkarten schmaler + dezentes Warnsignal bei Annahme erforderlich */

/* Desktop/Laptop: Karten etwas schmaler, ohne die 3er-Reihe zu verlieren. */
body #orders-ajax-root.ho-orders-168 .ho122-order-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:min(100%,1184px)!important;
  max-width:1184px!important;
  gap:14px!important;
  justify-content:start!important;
}

/* Kopfbereich minimal kompakter, Inhalte bleiben stabil. */
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-order-link{
  grid-template-columns:minmax(0,1fr) 108px!important;
  gap:0 11px!important;
  padding:16px 14px 0 16px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-order-ref{
  font-size:15.6px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-customer{
  font-size:13.7px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-card-identity>small{
  font-size:10.4px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-card-amount{
  width:108px!important;
  min-width:108px!important;
  min-height:60px!important;
  padding:8px 9px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-card-amount>small{
  font-size:8.2px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-card-amount>strong{
  margin-top:6px!important;
  font-size:20.3px!important;
}

/* Informationsbereich leicht kompakter. */
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-card-facts{
  margin:14px -14px 0 -16px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-status-row,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-status-column,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho155-product-column,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-received,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown{
  min-height:80px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-status-column,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho155-product-column,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-received,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown{
  padding:13px 14px!important;
  gap:8px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-status-column>small,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho155-product-column>small,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-received>small,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown>small{
  font-size:10.55px!important;
  letter-spacing:.074em!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-received>small .icon,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown>small .icon{
  width:12px!important;
  height:12px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-status,
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-product-count{
  min-height:36px!important;
  height:36px!important;
  min-width:99px!important;
  padding:7px 12px!important;
  font-size:11.9px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho161-received-line>strong{
  font-size:17px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho161-received-line>time{
  font-size:10.45px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown .ho122-status-elapsed{
  margin-top:7px!important;
  font-size:18.2px!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown .ho132-new-waiting{
  margin-top:7px!important;
  font-size:12.6px!important;
}

/* Dezentes Alarmsignal für neue Bestellungen / Annahme erforderlich. */
body #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown{
  position:relative!important;
  background:linear-gradient(135deg,rgba(96,53,45,.34),rgba(77,49,41,.28) 56%,rgba(58,42,36,.34))!important;
  box-shadow:inset 0 0 0 1px rgba(239,154,117,.16)!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:0!important;
  height:2px!important;
  background:linear-gradient(90deg,rgba(244,162,112,.44),rgba(244,162,112,.10))!important;
  pointer-events:none!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown>small{
  color:#f1c6b1!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown>small .icon{
  color:#f1aa81!important;
}
body #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown .ho132-new-waiting{
  color:#ffbaa0!important;
  text-shadow:0 0 18px rgba(243,150,105,.08)!important;
}

/* Ab mittleren Breiten volle Flexibilität behalten. */
@media(max-width:1320px){
  body #orders-ajax-root.ho-orders-168 .ho122-order-grid{
    width:100%!important;
    max-width:none!important;
  }
}

/* Tablet: zwei Karten, Inhalte bleiben erhalten. */
@media(max-width:1180px){
  body #orders-ajax-root.ho-orders-168 .ho122-order-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:none!important;
  }
}

/* Smartphone: eine Karte, Lesbarkeit hat Priorität. */
@media(max-width:759px){
  body #orders-ajax-root.ho-orders-168 .ho122-order-grid{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
  }
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-order-link{
    grid-template-columns:minmax(0,1fr) 102px!important;
    padding:15px 13px 0 15px!important;
  }
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-order-ref{font-size:16.4px!important}
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-customer{font-size:14.4px!important}
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-card-amount{
    width:102px!important;
    min-width:102px!important;
  }
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho122-card-amount>strong{font-size:20px!important}
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-card-facts{margin:14px -13px 0 -15px!important}
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-status-column,
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho155-product-column,
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-received,
  body #orders-ajax-root.ho-orders-168 .ho122-order-card .ho154-countdown{padding:13px 14px!important}
}

/* Light Mode: gleiche Kompaktheit, Alarmfeld nur warm angedeutet. */
body.theme-light #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown{
  background:linear-gradient(135deg,rgba(255,241,235,.96),rgba(255,248,244,.985))!important;
  box-shadow:inset 0 0 0 1px rgba(224,145,112,.23)!important;
}
body.theme-light #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown::before{
  background:linear-gradient(90deg,rgba(224,145,112,.55),rgba(224,145,112,.12))!important;
}
body.theme-light #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown>small{
  color:#a36a4f!important;
}
body.theme-light #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown>small .icon{
  color:#c17b57!important;
}
body.theme-light #orders-ajax-root.ho-orders-168 .ho122-order-card.is-new .ho154-countdown .ho132-new-waiting{
  color:#bf6b49!important;
  text-shadow:none!important;
}
