:root{--dg-motion-fast:160ms;--dg-motion-normal:220ms;--dg-ease:cubic-bezier(.2,.8,.2,1);--dg-focus-color:rgba(16,145,132,.78);--dg-focus-shadow:0 0 0 3px rgba(16,145,132,.18)}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
::selection{background:rgba(16,145,132,.16)}
:where(a,button,input,select,textarea,[role="button"],[tabindex]):focus{outline:none}
:where(a,button,input,select,textarea,[role="button"],[tabindex]):focus-visible{outline:2px solid var(--dg-focus-color);outline-offset:2px;box-shadow:var(--dg-focus-shadow)}
@media (hover:hover){}
:where(button,.btn,.button,[role="button"]):disabled,:where(button,.btn,.button,[role="button"])[aria-disabled="true"]{cursor:not-allowed;opacity:.62}
:where(button,input,select,textarea){font:inherit}
:where(input,select,textarea)::placeholder{opacity:.72}
:where(img,video,canvas,iframe){max-width:100%}
:where(.product-card,.category-product.real-product-card) img{max-width:100%}
:where(.product-card,.category-product.real-product-card) :where(.product-title,.title,h3){overflow-wrap:break-word}
:where(dialog,[role="dialog"]){max-width:min(94vw,720px);overscroll-behavior:contain}
@media (max-width:768px){:where(input,select,textarea,button){max-width:100%}}
@media (max-width:430px){:where(.product-card,.category-product,.real-product-card,.otc-card,.wishlist-card){min-width:0;max-width:100%}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* DaruGet V163 — final mobile device-matrix guards (320–768px) */
@media (max-width:768px){
  html,body{max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
  :where(img,svg,video,canvas){max-width:100%;height:auto}
  :where(.drawer,.mobile-drawer,.dd-mobile-menu){max-height:100dvh}
}
@media (max-width:600px){
  :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea){font-size:16px!important}
}
@media (max-height:500px) and (orientation:landscape) and (max-width:900px){
  :where(.drawer,.mobile-drawer,.dd-mobile-menu){height:100dvh;max-height:100dvh}
}

/* DaruGet V165 — visual consistency guards; intentionally non-layout */
:where([hidden]){display:none!important}
:where([aria-disabled="true"]){cursor:not-allowed}
:where(a[aria-disabled="true"],button[aria-disabled="true"]){pointer-events:none}

/* DaruGet V167 — header precision: mobile menu control never appears on desktop */
@media (min-width:901px){.mobile-menu-toggle{display:none!important}}

/* V185 Product shell fix: product spacing belongs to <main>, never to <body>. */
body.product-page{
  padding-top:0!important;
}
@media (min-width:901px){
  body.product-page{
    padding-bottom:0!important;
  }
}
