/* Griham accessibility refinements */
:focus-visible{outline:3px solid #b87500;outline-offset:4px}
input,textarea{font-size:16px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}section[style*="opacity:0"],section[style*="opacity: 0"]{opacity:1!important;transform:none!important}}

/* Shared thumbnail boundary rules. Hero imagery and logos retain their existing presentation. */
.group.relative.overflow-hidden > img[data-nimg="fill"],
article .relative.overflow-hidden > img[data-nimg="fill"] {
  transform:none!important;scale:1!important;
  max-width:100%;max-height:100%;object-fit:contain!important;
  object-position:center!important;box-sizing:border-box;padding:8px;
}
.group.relative.overflow-hidden:has(>img[data-nimg="fill"]),
article .relative.overflow-hidden:has(>img[data-nimg="fill"]){
  overflow:hidden;isolation:isolate;background-color:#f5f3ef;
}
html[data-griham-section="sofa"] .group.relative.overflow-hidden,
html[data-griham-section="cots"] .group.relative.overflow-hidden,
html[data-griham-section="mattress"] .group.relative.overflow-hidden {
  aspect-ratio:4/3!important;
}
article{min-width:0}
