/* v181 — desktop-only header, hero and trust refinements.
   Every rule is intentionally scoped to the desktop breakpoint. */

@media (min-width: 992px) {
  /* Header */
  .wmf-site-header .wmf-header-offer {
    display: none !important;
  }

  .wmf-site-header [data-wmf-panel-open="models"] > svg {
    display: none !important;
  }

  .wmf-site-header [data-wmf-panel-open="models"]::before {
    content: "";
    display: block;
    width: 31px;
    height: 24px;
    background: url("../images/ui/desktop-header-coffee-cup-v181.jpg") center / cover no-repeat;
    border-radius: 2px;
  }

  /* Hero — left side */
  #top .wmf-hero-eyebrow,
  #top .wmf-hero-line {
    display: none !important;
  }

  #top .wmf-hero-desktop-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    width: min(100%, 640px) !important;
  }

  #top .wmf-hero-desktop-actions > a,
  #top .wmf-hero-desktop-actions > button {
    min-height: 58px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
  }

  #top .wmf-hero-desktop-actions .is-primary {
    grid-column: 1 / -1 !important;
    background: #d3a276 !important;
    border: 1px solid #d3a276 !important;
    color: #111 !important;
  }

  #top .wmf-hero-desktop-actions .is-secondary,
  #top .wmf-hero-desktop-actions .is-accent {
    background: rgba(6, 8, 10, .76) !important;
    border: 1px solid rgba(211, 162, 118, .78) !important;
    color: #fff !important;
    backdrop-filter: blur(12px);
  }

  #top .wmf-hero-desktop-actions > a:hover,
  #top .wmf-hero-desktop-actions > button:hover {
    transform: translateY(-2px) !important;
    border-color: #e2b58c !important;
  }

  #top .wmf-hero-desktop-actions .is-primary:hover {
    background: #e2b58c !important;
  }

  /* Hero — WMF 5000 S+ card */
  #top .wmf-flagship-badge {
    max-width: 230px !important;
    padding: 2px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: right !important;
    backdrop-filter: none !important;
  }

  #top .wmf-flagship-stage {
    overflow: visible !important;
    isolation: isolate;
  }

  #top .wmf-flagship-machine {
    z-index: 1;
    width: min(91%, 470px) !important;
    max-height: 91% !important;
    object-fit: contain !important;
  }

  #top .wmf-flagship-hotspot {
    z-index: 12 !important;
  }

  #top .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-1 .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-2 .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-3 .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-4 .wmf-flagship-tip {
    left: 50% !important;
    right: auto !important;
    width: 248px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 64px) !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(211, 162, 118, .72) !important;
    border-radius: 14px !important;
    background: #090d12 !important;
    color: #fff !important;
    box-shadow: 0 20px 46px rgba(0, 0, 0, .62) !important;
    transform: translate(-50%, 8px) !important;
    z-index: 30 !important;
  }

  #top .wmf-flagship-hotspot.hs-1 .wmf-flagship-tip {
    top: -74px !important;
  }

  #top .wmf-flagship-hotspot.hs-2 .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-3 .wmf-flagship-tip {
    top: 28px !important;
  }

  #top .wmf-flagship-hotspot.hs-4 .wmf-flagship-tip {
    top: auto !important;
    bottom: 28px !important;
  }

  #top .wmf-flagship-hotspot:hover .wmf-flagship-tip,
  #top .wmf-flagship-hotspot:focus-visible .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-3:hover .wmf-flagship-tip,
  #top .wmf-flagship-hotspot.hs-3:focus-visible .wmf-flagship-tip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
  }

  #top .wmf-flagship-tip strong {
    color: #fff !important;
  }

  #top .wmf-flagship-tip > span {
    color: rgba(255, 255, 255, .86) !important;
  }

  #top .wmf-flagship-details-v181 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin-top: 12px;
    padding: 0 18px;
    border: 1px solid rgba(211, 162, 118, .82);
    border-radius: 16px;
    background: rgba(6, 8, 10, .7);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
  }

  #top .wmf-flagship-details-v181:hover {
    transform: translateY(-2px);
    border-color: #e2b58c;
    background: rgba(211, 162, 118, .12);
  }

  /* Clients */
  #clients .wmf-clients-v151__collage img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  #clients .wmf-clients-v146__logo[data-client-id="parallel"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.08);
  }

  #clients .wmf-trust-actions .wmf-trust-why-btn {
    min-height: 56px !important;
    padding: 0 24px !important;
    border: 1px solid #d3a276 !important;
    border-radius: 16px !important;
    background: #d3a276 !important;
    color: #111 !important;
    font: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
  }

  #clients .wmf-trust-actions .wmf-trust-why-btn:hover {
    background: #e2b58c !important;
    border-color: #e2b58c !important;
    transform: translateY(-2px);
  }
}
