/* v183 — desktop-only hero hotspot and full-catalog refinements. */

@media (min-width: 992px) {
  /* Hero hotspot text is rendered in a viewport-level side panel by v183 JS. */
  #top .wmf-flagship-hotspot .wmf-flagship-tip {
    display: none !important;
  }

  .wmf-v183-hotspot-popover {
    position: fixed;
    z-index: 10020;
    width: min(260px, calc(100vw - 32px));
    padding: 15px 17px;
    border: 1px solid rgba(211, 162, 118, .78);
    border-radius: 15px;
    background: rgba(7, 10, 14, .98);
    color: #fff;
    box-shadow: 0 22px 52px rgba(0, 0, 0, .62);
    pointer-events: none;
  }

  .wmf-v183-hotspot-popover[hidden] {
    display: none !important;
  }

  .wmf-v183-hotspot-popover strong,
  .wmf-v183-hotspot-popover span {
    display: block;
  }

  .wmf-v183-hotspot-popover strong {
    margin-bottom: 7px;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
  }

  .wmf-v183-hotspot-popover span {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.48;
  }

  /* Supplied transparent model images in the catalog's top navigation. */
  #full-catalog .catalog-model-nav a {
    overflow: hidden !important;
  }

  #full-catalog .catalog-model-nav img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    filter: none !important;
  }

  #full-catalog .catalog-model-nav a[data-cat-nav="elevation-10"] img { transform: scale(1.45) !important; }
  #full-catalog .catalog-model-nav a[data-cat-nav="peak-50"] img { transform: scale(1.55) !important; }
  #full-catalog .catalog-model-nav a[data-cat-nav="1300-s"] img { transform: scale(2.55) !important; }
  #full-catalog .catalog-model-nav a[data-cat-nav="1500-s-plus"] img { transform: scale(2.35) !important; }
  #full-catalog .catalog-model-nav a[data-cat-nav="5000-s-plus"] img { transform: scale(2.05) !important; }
  #full-catalog .catalog-model-nav a[data-cat-nav="9000-s-plus"] img { transform: scale(2.25) !important; }
  #full-catalog .catalog-model-nav a[data-cat-nav="espresso-next"] img { transform: scale(1.22) !important; }

  /* Keep only Benefits, Technologies, Specifications and Business format. */
  #full-catalog .cat-tabs [data-cat-tab="3"],
  #full-catalog .cat-tabs [data-cat-tab="4"],
  #full-catalog .cat-tabs [data-cat-tab="6"] {
    display: none !important;
  }

  #full-catalog .cat-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-top: 12px !important;
  }

  /* Remove the compact 'Suitable for business' chip strip. */
  #full-catalog .cat-model-copy h4:has(+ .cat-biz),
  #full-catalog .cat-model-copy .wmf-v183-business-heading,
  #full-catalog .cat-biz {
    display: none !important;
  }

  /* Keep CoffeeConnect references out of desktop catalogue-related content.
     The standalone WMF Digital Solutions section and its navigation stay visible. */
  #faq [data-faq-filter="coffeeconnect"],
  #faq .faq-item[data-category="coffeeconnect"],
  .wmf-v183-coffeeconnect-hidden {
    display: none !important;
  }

  /* Compact model cards, with the available media area given to the photo. */
  #full-catalog .cat-model {
    min-height: 0 !important;
    padding: 18px !important;
    gap: 14px 18px !important;
  }

  #full-catalog .cat-model-media,
  #full-catalog .cat-model-copy,
  #full-catalog .cat-actions {
    min-height: 0 !important;
  }

  #full-catalog .cat-image-stage {
    height: clamp(300px, 48vh, 620px) !important;
    min-height: 0 !important;
    padding: 6px !important;
  }

  #full-catalog .cat-image-stage > img[data-gallery-main] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  #full-catalog .cat-thumbs {
    gap: 6px !important;
    margin-top: 7px !important;
  }

  #full-catalog .cat-thumbs button {
    width: 44px !important;
    height: 44px !important;
  }

  #full-catalog .cat-model-copy h3 {
    margin-bottom: 7px !important;
  }

  #full-catalog .cat-model-copy .cat-load,
  #full-catalog .cat-model-copy .cat-tag,
  #full-catalog .cat-model-copy .cat-desc {
    margin-top: 6px !important;
    margin-bottom: 7px !important;
  }

  #full-catalog .cat-tech {
    gap: 7px !important;
    margin: 6px 0 9px !important;
  }

  #full-catalog .cat-specs {
    gap: 6px !important;
  }

  #full-catalog .cat-specs > div {
    min-height: 0 !important;
    padding: 7px 9px !important;
  }

  /* Coffee-coloured price plaque. */
  #full-catalog .cat-price-v153 {
    border: 1px solid #e2b58c !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #e0aa7a 0%, #c98e60 100%) !important;
    color: #111 !important;
    box-shadow: 0 14px 34px rgba(211, 162, 118, .2) !important;
  }

  #full-catalog .cat-price-v153 span,
  #full-catalog .cat-price-v153 strong,
  #full-catalog .cat-price-v153 small {
    color: #111 !important;
  }

  #full-catalog .cat-actions > a[data-v183-consult] {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    min-height: 58px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }
}
