/* KEDAICDID R341 — stable first paint and round tablet cart control. */

/* Initial page load/refresh: render the current viewport in its final position.
   This only disables entrance/reveal motion before the visitor navigates. */
html.kcd-r341-initial-stable [data-kedaicdid-legacy-root] .page-section.active :is(
  .reveal, .data-reveal, [data-reveal],
  .kcd-fast-reveal, .kcd-fast-in, .kcd-fast-from-left,
  .kcd-r154-pop-left, .kcd-r154-pop-in,
  .kcd-r105-pop-item, .kcd-r105-pop-in, .kcd258-review-up
) {
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
  transform:none !important;
  transition:none !important;
  animation:none !important;
  will-change:auto !important;
}

/* Tablet: keep the existing top-right position, but make the floating cart a true circle. */
@media (min-width:701px) and (max-width:1100px),
       (min-width:1101px) and (max-width:1500px) and (hover:none) and (pointer:coarse) {
  #kcd-cart-r293#kcd-cart-r293 #kcd-cart-r293-fab#kcd-cart-r293-fab {
    position:fixed !important;
    top:13px !important;
    right:clamp(14px,2.8vw,30px) !important;
    bottom:auto !important;
    left:auto !important;
    display:grid !important;
    place-items:center !important;
    box-sizing:border-box !important;
    inline-size:36px !important;
    block-size:36px !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    max-width:36px !important;
    max-height:36px !important;
    flex:0 0 36px !important;
    flex-shrink:0 !important;
    aspect-ratio:1 / 1 !important;
    padding:0 !important;
    gap:0 !important;
    border-radius:50% !important;
    overflow:visible !important;
  }
  #kcd-cart-r293#kcd-cart-r293 #kcd-cart-r293-fab#kcd-cart-r293-fab > svg {
    display:block !important;
    flex:none !important;
    width:19px !important;
    height:19px !important;
    max-width:19px !important;
    max-height:19px !important;
  }
  #kcd-cart-r293#kcd-cart-r293 #kcd-cart-r293-fab#kcd-cart-r293-fab #kcd-cart-r293-count {
    position:absolute !important;
    top:-5px !important;
    right:-5px !important;
    flex:none !important;
  }
}
