/* ArterShop v5 — unified glass opacity + larger rounded new-arrival photos */
@media (min-width: 980px) {
  :root { --as-d5-glass-alpha: .78 !important; }

  #as-d5-header,
  .as-d5-header {
    background: rgba(226, 239, 230, .78) !important;
    background-color: rgba(226, 239, 230, .78) !important;
    backdrop-filter: blur(28px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.3) !important;
    isolation: isolate;
  }

  .shop-basket > .cart-dropdown {
    background: rgba(246, 250, 247, .78) !important;
    background-color: rgba(246, 250, 247, .78) !important;
    backdrop-filter: blur(28px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.3) !important;
  }

  .as-d5-home-new-arrivals .as-d5-home-new-image-frame {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 250px !important;
    height: 250px !important;
    max-height: 250px !important;
    box-sizing: border-box !important;
    padding: 8px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.56) !important;
  }

  .as-d5-home-new-arrivals .as-d5-home-new-image-frame img,
  .as-d5-home-new-arrivals img.as-d5-home-new-image {
    display: block !important;
    width: 100% !important;
    max-width: 246px !important;
    min-width: 0 !important;
    height: 234px !important;
    max-height: 234px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  .as-d5-home-new-arrivals a.as-d5-home-new-image-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 250px !important;
    height: 250px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }
}

html[data-as-d5-theme="dark"] #as-d5-header,
html[data-as-d5-theme="dark"] .as-d5-header {
  background: rgba(20, 35, 28, .78) !important;
  background-color: rgba(20, 35, 28, .78) !important;
}

html[data-as-d5-theme="dark"] .shop-basket > .cart-dropdown {
  background: rgba(20, 35, 28, .78) !important;
  background-color: rgba(20, 35, 28, .78) !important;
}

html[data-as-d5-theme="pink"] #as-d5-header,
html[data-as-d5-theme="pink"] .as-d5-header {
  background: rgba(255, 235, 244, .78) !important;
  background-color: rgba(255, 235, 244, .78) !important;
}

html[data-as-d5-theme="pink"] .shop-basket > .cart-dropdown {
  background: rgba(255, 235, 244, .78) !important;
  background-color: rgba(255, 235, 244, .78) !important;
}

html[data-as-d5-theme="dark"] .as-d5-home-new-arrivals .as-d5-home-new-image-frame {
  background: rgba(255,255,255,.07) !important;
}

html[data-as-d5-theme="pink"] .as-d5-home-new-arrivals .as-d5-home-new-image-frame {
  background: rgba(255,255,255,.58) !important;
}

@media (max-width: 979px) {
  .as-d5-home-new-image-frame,
  .as-d5-home-new-image-link {
    min-height: 0 !important;
    height: auto !important;
  }
}