/* Avrupa Misting — shared layout and interaction contract, 2026-11-08.
   Loaded last; scoped overrides resolve legacy owner/media specificity. */
:root { --avm-ui-ink:#102d42; --avm-ui-muted:#486577; --avm-ui-accent:#087c98; --avm-ui-line:#d6e6ed; }
html body[class*="avm-owner-"] {
  --avm-p-container:1320px; --avm-wide-container:1320px;
  --avm-p-gutter:clamp(18px,4vw,56px);
  background:#fff; color:var(--avm-ui-ink);
}
html body[class*="avm-owner-"] :is(.container,.avm-home-wide-container,.avm-home-final-fan-cta__container,.avm-home-cta-v2__container,.avm-megamist-prefooter__container) {
  width:min(calc(100% - 2 * var(--avm-p-gutter)),var(--avm-p-container))!important;
  max-width:var(--avm-p-container)!important; margin-inline:auto;
}
html body[class*="avm-owner-"] :is(.container,.hero__in,.grid,.card,.card__body,.avm-panel,.section-head)>* { min-width:0; }
html body[class*="avm-owner-"] :is(h1,h2,h3,h4) { overflow-wrap:break-word; word-break:normal; hyphens:none; text-wrap:balance; }
html body[class*="avm-owner-"] .page-hero h1 {
  max-width:22ch!important; font-size:clamp(2rem,3.6vw,3.75rem)!important;
  line-height:1.12!important; letter-spacing:-.035em!important;
}
html body[class*="avm-owner-"] .page-hero p { max-width:62ch; line-height:1.75; }
html body[class*="avm-owner-"] .page-hero .hero__in {
  gap:clamp(24px,4vw,64px)!important; padding-block:clamp(32px,4.5vw,64px)!important;
}
html body[class*="avm-owner-"] :is(.eyebrow,.breadcrumb) { max-width:100%; white-space:normal; overflow-wrap:break-word; }
html body[class*="avm-owner-"] .breadcrumb { line-height:1.65; font-size:.8125rem; }
html body[class*="avm-owner-"] :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #138cb2!important; outline-offset:4px!important;
}
html body[class*="avm-owner-"] .btn {
  min-height:48px!important; height:auto; max-width:100%; padding:12px 20px!important;
  font-size:.875rem!important; font-weight:750!important; line-height:1.4!important;
  letter-spacing:.01em!important; text-transform:none!important; white-space:normal!important;
  text-align:center; overflow-wrap:break-word; border-radius:12px!important;
}
html body[class*="avm-owner-"] :is(.hero__actions,.avm-action-row,.avm-home-final-actions) { gap:12px; flex-wrap:wrap; }
html body[class*="avm-owner-"] :is(.hero__actions,.avm-action-row,.avm-home-final-actions)>.btn { flex-shrink:1; }
html body[class*="avm-owner-"] :is(.avm-accordion__item summary,summary) { cursor:pointer; min-height:48px; }
html body[class*="avm-owner-"] :is(h1,h2,h3,[id]) { scroll-margin-top:110px; }
html body[class*="avm-owner-"] :is(.article-body,.avm-corp-content) > :is(p,ul,ol) { max-width:80ch; line-height:1.8; }
/* Home: an even two-column opening, full source image, comfortable margins. */
html body.avm-owner-home .avm-home-final-hero { padding-block:clamp(36px,5vw,72px)!important; }
html body.avm-owner-home .avm-home-final-hero__inner { grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)!important; gap:clamp(28px,4vw,64px)!important; }
html body.avm-owner-home .avm-home-final-hero h1 { font-size:clamp(2.15rem,4.2vw,4.15rem)!important; line-height:1.09!important; letter-spacing:-.04em!important; max-width:17ch!important; margin:20px 0!important; }
html body.avm-owner-home .avm-home-final-hero p { font-size:clamp(1rem,1.25vw,1.125rem)!important; line-height:1.8!important; max-width:53ch; }
html body.avm-owner-home .avm-home-final-hero__visual { margin:0!important; min-height:0!important; height:auto!important; aspect-ratio:auto!important; border-radius:24px!important; overflow:hidden; background:#e6f1f5; box-shadow:0 18px 48px #103d511f; }
html body.avm-owner-home .avm-home-final-hero__visual img { display:block; width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:16/9; object-fit:contain!important; transform:none!important; }
html body.avm-owner-home .avm-home-final-hero__visual figcaption { position:static!important; inset:auto!important; margin:0!important; border:0!important; border-radius:0!important; padding:12px 16px!important; background:#12384b!important; color:#e6f4fa!important; font-size:.8125rem!important; line-height:1.5!important; }
html body.avm-owner-home .avm-home-final-fan-cta__content li { padding-left:26px; list-style:none; }
html body.avm-owner-home .avm-home-final-fan-cta__content li::marker { content:""; }
html body.avm-owner-home .avm-home-final-fan-cta__content li::after { content:none!important; }
html body.avm-owner-home .avm-home-final-solution-card img { aspect-ratio:16/10!important; object-fit:cover!important; }
html body.avm-owner-home .avm-home-final-fan-cta img { height:auto!important; max-height:none!important; }
/* Absolute image boxes must not derive their width from a fixed height/aspect ratio. */
html body.avm-service-catalog .avm-service-listing .card--showcase .card__img { width:100%!important; min-width:0!important; max-width:100%!important; aspect-ratio:auto!important; }
html body.avm-service-catalog .avm-service-listing .card--showcase { min-height:390px; }
html body.avm-service-catalog .avm-service-listing .card--showcase .card__body { position:relative!important; inset:auto!important; min-height:390px!important; height:auto!important; justify-content:flex-end; }
html body.avm-service-catalog .avm-service-listing .card--showcase .card__body p { display:block!important; -webkit-line-clamp:unset!important; overflow:visible!important; }
html body.avm-service-catalog .avm-service-listing .card--showcase .card__img img { transform:none; }
html body.avm-product-catalog .card__img { aspect-ratio:4/3!important; }
html body.avm-product-catalog .card__img img { height:100%!important; object-fit:contain!important; }
html body.avm-owner-corporate .page-hero .hero-card { min-height:0!important; height:auto!important; aspect-ratio:auto!important; }
html body.avm-owner-corporate .page-hero .hero-card img { width:100%!important; height:auto!important; max-height:460px; object-fit:contain!important; background:#ecf6f9; }
html body.avm-owner-corporate .avm-corp-v5 { padding-inline:var(--avm-p-gutter)!important; }
/* Header/nav use one breakpoint, one state controller, and a stable hover bridge. */
html body[class*="avm-owner-"] .site-header { overflow:visible!important; }
html body[class*="avm-owner-"] .site-header .header__in { position:relative; min-height:82px; gap:24px!important; }
html body[class*="avm-owner-"] .site-header .brand { flex:0 0 auto!important; min-width:0!important; max-width:none!important; gap:10px!important; }
html body[class*="avm-owner-"] .site-header .brand img { width:64px!important; max-width:none!important; height:auto!important; max-height:56px; object-fit:contain; }
html body[class*="avm-owner-"] .site-header .brand>span { font-size:19px!important; line-height:1.15!important; }
html body[class*="avm-owner-"] .site-header .brand small { font-size:8px!important; letter-spacing:.08em!important; }
html body[class*="avm-owner-"] .site-header .nav { max-width:none!important; }
html body[class*="avm-owner-"] .site-header .nav>.nav__item>a,
html body[class*="avm-owner-"] .site-header .nav>.nav__item>button { min-height:44px; font-size:.78rem!important; font-weight:750!important; letter-spacing:0!important; padding:12px 9px!important; }
html body[class*="avm-owner-"] .site-header .nav#primary-navigation .dropdown a { min-height:44px; font-size:.875rem!important; line-height:1.5!important; font-weight:650; }
@media (min-width:1181px) {
  html body[class*="avm-owner-"] .site-header .nav { gap:2px!important; }
  html body[class*="avm-owner-"] .site-header .menu-toggle { display:none!important; }
  html body[class*="avm-owner-"] .nav .nav__item { position:relative; }
  html body[class*="avm-owner-"] .nav .nav__item--mega { position:static!important; }
  html body[class*="avm-owner-"] .nav .nav__item>.dropdown { top:100%!important; margin-top:0!important; opacity:0!important; visibility:hidden!important; pointer-events:none!important; transform:none!important; max-height:min(660px,calc(100dvh - 130px))!important; transition:opacity .15s ease,visibility .15s ease!important; border-radius:16px!important; }
  html body[class*="avm-owner-"] .nav .nav__item.is-expanded>.dropdown { opacity:1!important; visibility:visible!important; pointer-events:auto!important; }
  html body[class*="avm-owner-"] .nav .nav__item--corporate>.dropdown { left:0!important; right:auto!important; width:350px!important; }
  html body[class*="avm-owner-"] .nav .nav__item--mega>.dropdown { left:0!important; right:0!important; width:100%!important; max-width:100%!important; }
  html body[class*="avm-owner-"] .nav .nav__item--products>.dropdown { right:0!important; left:auto!important; width:580px!important; }
  html body[class*="avm-owner-"] .nav .avm-mega-group-toggle { display:none!important; }
}
@media (max-width:1180px) {
  html body[class*="avm-owner-"] .site-header .header__in { min-height:72px!important; }
  html body[class*="avm-owner-"] .site-header .menu-toggle { display:inline-flex!important; min-height:44px; position:relative!important; inset:auto!important; z-index:100010!important; margin-left:auto; }
  html body.avm-mobile-nav-open .site-header { backdrop-filter:none!important; -webkit-backdrop-filter:none!important; transform:none!important; }
  html body.avm-mobile-nav-open { overflow:hidden!important; touch-action:auto!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation { position:fixed!important; left:auto!important; right:0!important; top:0!important; bottom:0!important; width:min(440px,100%)!important; height:100dvh!important; max-height:100dvh!important; margin:0!important; padding:88px 18px max(24px,env(safe-area-inset-bottom))!important; transform:none!important; overflow-x:hidden!important; overflow-y:auto!important; border-radius:0!important; opacity:0!important; visibility:hidden!important; pointer-events:none!important; display:block!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation.is-open { opacity:1!important; visibility:visible!important; pointer-events:auto!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation:before { font-size:20px!important; padding-bottom:16px!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation>.nav__item>a,
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation>.nav__item>button { min-height:48px!important; padding:12px 40px 12px 14px!important; font-size:.875rem!important; white-space:normal!important; border-radius:12px!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation .dropdown { max-height:none!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation .dropdown a { font-size:.875rem!important; min-height:44px!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation .avm-mega-group-toggle { font-size:.8125rem!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation .avm-mega-group-panel { grid-template-columns:1fr!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation .dropdown--products { grid-template-columns:1fr!important; }
  html body[class*="avm-owner-"] .site-header .nav#primary-navigation .avm-header-search input { font-size:16px!important; }
}
@media (max-width:900px) {
  html body.avm-owner-home .avm-home-final-hero__inner { grid-template-columns:1fr!important; }
  html body.avm-owner-home .avm-home-final-hero h1 { max-width:22ch!important; }
  html body.avm-owner-home .avm-home-final-hero__visual { width:100%!important; }
}
/* Footer: readable small print, complete store names and accessible privacy access. */
html body[class*="avm-owner-"] .avm-footer-v9__main { width:min(calc(100% - 2 * var(--avm-p-gutter)),1320px)!important; }
html body[class*="avm-owner-"] .avm-footer-v9__grid { grid-template-columns:minmax(240px,1.35fr) repeat(4,minmax(0,1fr)) minmax(210px,1.1fr); gap:24px; }
html body[class*="avm-owner-"] .avm-footer-v9__col a { font-size:.875rem; line-height:1.6; padding-block:7px; }
html body[class*="avm-owner-"] .avm-footer-v9__col>strong { font-size:.8125rem; }
html body[class*="avm-owner-"] .avm-footer-v9__stores>div { grid-template-columns:1fr; }
html body[class*="avm-owner-"] .avm-footer-v9__stores a { min-height:48px; }
html body[class*="avm-owner-"] .avm-footer-v9__stores span { font-size:.8125rem; white-space:normal; }
html body[class*="avm-owner-"] .avm-footer-v9__stores small { font-size:.6875rem; color:#b1ccd8; }
html body[class*="avm-owner-"] .avm-footer-v9__bottom { display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:space-between; font-size:.75rem; color:#b0c7d1; }
html body[class*="avm-owner-"] .avm-privacy-manage { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:12px; padding:8px 12px; color:#d7edf6; border:1px solid #4c6c7c; background:#ffffff08; border-radius:10px; font-size:.75rem; cursor:pointer; }
html body[class*="avm-owner-"] .avm-privacy-manage:hover { background:#ffffff15; border-color:#77c7db; }
html body[class*="avm-owner-"] .avm-footer-v9__ecosystem-grid strong { font-size:.8125rem; }
html body[class*="avm-owner-"] .avm-footer-v9__ecosystem-grid small { font-size:.6875rem; color:#b1ccd8; }
html body[class*="avm-owner-"] .avm-megamist-prefooter__title { font-size:clamp(1.4rem,2.5vw,2rem)!important; line-height:1.25!important; }
.avm-consent-panel { max-height:calc(100dvh - 24px); overflow:auto; }
.avm-consent-panel__inner { width:min(480px,100%)!important; margin-left:0!important; padding:20px!important; grid-template-columns:1fr!important; gap:16px!important; border-radius:18px!important; }
.avm-consent-panel__copy strong { font-size:1.0625rem!important; }
.avm-consent-panel__copy p { font-size:.8125rem!important; line-height:1.65!important; }
.avm-consent-panel__actions { display:grid!important; grid-template-columns:1fr 1fr!important; }
.avm-consent-btn { min-height:44px; padding:10px!important; white-space:normal; font-size:.8125rem!important; }
@media (max-width:1320px) {
  html body[class*="avm-owner-"] .avm-footer-v9__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  html body[class*="avm-owner-"] .avm-footer-v9__brand { grid-row:span 2; }
  html body[class*="avm-owner-"] .avm-footer-v9__contact { grid-column:auto; }
}
@media (max-width:760px) {
  html body[class*="avm-owner-"] .page-hero h1 { font-size:clamp(1.85rem,6.5vw,2.75rem)!important; max-width:100%!important; }
  html body[class*="avm-owner-"] .page-hero .hero__in { grid-template-columns:1fr!important; }
  html body[class*="avm-owner-"] .site-header .brand img { width:50px!important; }
  html body[class*="avm-owner-"] .site-header .brand>span { font-size:16px!important; }
  html body[class*="avm-owner-"] .site-header .brand small { display:none!important; }
  html body[class*="avm-owner-"] .avm-footer-v9__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html body[class*="avm-owner-"] .avm-footer-v9__brand,html body[class*="avm-owner-"] .avm-footer-v9__contact { grid-column:1/-1; grid-row:auto; }
  html body[class*="avm-owner-"] .avm-footer-v9__col a { min-height:44px; }
  html body[class*="avm-owner-"] .avm-footer-v9__stores>div { grid-template-columns:repeat(3,minmax(0,1fr)); }
  html body[class*="avm-owner-"] .avm-footer-v9__stores a { padding:10px; }
  html body[class*="avm-owner-"] .avm-footer-v9__stores b { display:none; }
  html body[class*="avm-owner-"] .avm-footer-v9__bottom { flex-direction:column; align-items:flex-start; }
  html body[class*="avm-owner-"] .as-signature { justify-content:flex-start; }
}
@media (max-width:430px) {
  html body.avm-owner-home .avm-home-final-hero h1 { font-size:clamp(2rem,8.3vw,2.3rem)!important; }
  html body[class*="avm-owner-"] .site-header .header__in { gap:8px!important; }
  html body[class*="avm-owner-"] .site-header .brand { gap:7px!important; }
  html body[class*="avm-owner-"] .site-header .brand>span { font-size:13px!important; }
  html body[class*="avm-owner-"] .site-header .brand img { width:44px!important; }
  html body[class*="avm-owner-"] .site-header .menu-toggle { padding:10px!important; font-size:12px!important; }
  html body[class*="avm-owner-"] :is(.hero__actions,.avm-home-final-actions) { display:grid!important; grid-template-columns:minmax(0,1fr)!important; }
  html body[class*="avm-owner-"] :is(.hero__actions,.avm-home-final-actions)>.btn { width:100%; }
  html body[class*="avm-owner-"] .avm-footer-v9__stores>div { grid-template-columns:1fr; }
  html body[class*="avm-owner-"] .avm-footer-v9__grid { gap:24px 18px; }
  .avm-consent-panel__inner { padding:16px!important; }
}
@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; }
}
.avm-nav-backdrop[hidden] { display:none!important; }
.avm-nav-backdrop { position:fixed; inset:0; width:100%; height:100dvh; border:0; margin:0; padding:0; background:#09273866; z-index:9990; cursor:pointer; }
html body.avm-owner-home .avm-home-final-hero__visual::before,
html body.avm-owner-home .avm-home-final-hero__visual::after { content:none!important; display:none!important; }
@media (min-width:1321px) {
  html body[class*="avm-owner-"] .avm-footer-v9__grid { grid-template-columns:minmax(290px,1.35fr) repeat(4,minmax(0,1fr)) minmax(210px,1.1fr); }
}
html body[class*="avm-owner-"] .avm-footer-v9__brandmark { width:100%; }
html body[class*="avm-owner-"] .avm-footer-v9__brandmark>span { min-width:0; font-size:1.125rem; }
html body[class*="avm-owner-"] .avm-footer-v9__brandmark img { flex-shrink:0; }
/* Stable header: no placeholder insertion or fixed/static scroll switching. */
html { scrollbar-gutter:stable; overflow-x:clip; }
html body[class*="avm-owner-"] { overflow-x:clip; }
html body[class*="avm-owner-"] .site-header {
  position:sticky!important; top:0!important; inset-inline:0!important;
  width:100%!important; margin:0!important; transform:none!important; z-index:5000!important;
}
html body[class*="avm-owner-"] :is(h1,h2,h3,[id]) { scroll-margin-top:calc(var(--avm-sticky-header-h,90px) + 20px); }
html body[class*="avm-owner-"] .site-header .brand img { object-fit:contain!important; }
/* Native modal isolates focus and background interaction. */
html body .avm-gallery-dialog {
  box-sizing:border-box; width:min(1180px,calc(100% - 32px)); max-width:none;
  height:min(880px,calc(100vh - 32px)); height:min(880px,calc(100dvh - 32px));
  max-height:none; padding:0; margin:auto; overflow:hidden;
  border:1px solid #d4e5ed; border-radius:22px; background:#f4f8fb;
  color:#173548; box-shadow:0 32px 110px #00192766;
}
.avm-gallery-dialog:not([open]) { display:none!important; }
.avm-gallery-dialog::backdrop { background:rgb(3 20 33 / .85); }
.avm-gallery-shell { display:grid; grid-template-rows:auto minmax(0,1fr) auto; height:100%; min-height:0; }
.avm-gallery-top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 20px; background:#fff; border-bottom:1px solid #dbe6ed; }
.avm-gallery-top>div { min-width:0; }
html body .avm-gallery-top h2 { margin:0; font-size:clamp(1rem,2vw,1.375rem); line-height:1.35; text-wrap:wrap; overflow-wrap:anywhere; max-height:3.9em; overflow:auto; }
.avm-gallery-count { margin:4px 0 0; font-size:.8125rem; color:#4b6475; }
html body .avm-gallery-dialog button { cursor:pointer; border:1px solid #b9cedb; border-radius:12px; background:#fff; color:#12384d; min-width:44px; min-height:44px; display:grid; place-items:center; padding:0; flex-shrink:0; box-sizing:border-box; }
html body .avm-gallery-dialog button:hover { background:#e4f3f8; border-color:#117b97; }
html body .avm-gallery-dialog :is(.avm-gallery-close,.avm-gallery-prev,.avm-gallery-next) { width:44px; height:44px; font:32px/1 system-ui; }
.avm-gallery-stage { display:grid; place-items:center; position:relative; min-width:0; min-height:0; padding:12px 64px; background:#e8eff3; overflow:hidden; }
html body .avm-gallery-stage>img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
html body .avm-gallery-stage>img[hidden] { display:none; }
.avm-gallery-prev,.avm-gallery-next { position:absolute; top:50%; transform:translateY(-50%); box-shadow:0 4px 15px #1434481a; }
.avm-gallery-prev { left:10px; } .avm-gallery-next { right:10px; }
html body .avm-gallery-dialog button[hidden],.avm-gallery-thumbs[hidden] { display:none!important; }
.avm-gallery-status { position:absolute; inset:45% 64px auto; text-align:center; padding:10px; background:#ffffffed; border-radius:10px; font-size:.875rem; }
.avm-gallery-bottom { padding:12px 20px 16px; background:#fff; min-width:0; }
html body #avm-gallery-caption { font-size:.875rem; line-height:1.5; margin:0 0 10px; max-height:4.5em; overflow:auto; color:#405b6b; }
.avm-gallery-thumbs { display:flex; gap:8px; overflow:auto; overscroll-behavior-x:contain; padding:4px; scrollbar-width:thin; position:relative; }
html body .avm-gallery-thumbs button { width:68px; height:58px; padding:3px; border:2px solid transparent; background:#edf3f7; }
html body .avm-gallery-thumbs button[aria-pressed=true] { border-color:#007e9b; background:#d9f1f7; }
.avm-gallery-thumbs img { width:100%; height:100%; object-fit:contain; border-radius:6px; }
html body .avm-photo-count { color:#486577; margin:12px 0 20px; font-size:.875rem; }
html body :is(.photo-gallery-filters,.photo-filters,.video-filters) { max-width:100%; }
html body :is(.photo-filter,[data-video-filter]) { min-height:44px; white-space:normal; line-height:1.4; }
html body .gallery-pro-item[hidden] { display:none!important; }
html body .media-gallery-item img { transition:transform .2s ease; }
html body .gallery-pro-item:focus-visible { outline-offset:4px!important; }
html body .gallery-pro-item:focus-visible .media-gallery-item__overlay { opacity:1!important; transform:none!important; }
@media(max-width:600px) {
  html body .avm-gallery-dialog { width:calc(100% - 12px); height:calc(100vh - 12px); height:calc(100dvh - 12px); border-radius:16px; }
  .avm-gallery-top { padding:10px 12px; gap:10px; }
  .avm-gallery-stage { padding:8px 6px 58px; }
  .avm-gallery-prev,.avm-gallery-next { top:auto; bottom:7px; transform:none; }
  .avm-gallery-prev { left:calc(50% - 52px); } .avm-gallery-next { right:calc(50% - 52px); }
  .avm-gallery-bottom { padding:8px 10px max(10px,env(safe-area-inset-bottom)); }
  html body .avm-gallery-thumbs button { width:58px; height:48px; }
  html body #avm-gallery-caption { font-size:.8125rem; max-height:3em; margin-bottom:6px; }
}
@media(max-height:500px) and (min-width:601px) {
  .avm-gallery-top { padding:6px 12px; }
  .avm-gallery-bottom { padding:4px 12px; }
  html body #avm-gallery-caption { max-height:1.5em; margin:0 0 3px; }
  html body .avm-gallery-thumbs button { height:44px; width:54px; }
}
/* Filters keep complete words and usable touch targets at every width. */
html body[class*="avm-owner-"] :is(.photo-filter-row,.video-filter-row) { display:flex!important; flex-wrap:wrap!important; gap:8px!important; width:100%!important; overflow:visible!important; }
html body[class*="avm-owner-"] :is(.photo-filter-row,.video-filter-row)>button { flex:0 1 auto!important; width:auto!important; min-width:0!important; max-width:100%!important; padding:10px 14px!important; white-space:normal!important; word-break:normal!important; overflow-wrap:normal!important; writing-mode:horizontal-tb!important; height:auto!important; line-height:1.45!important; font-size:.8125rem!important; display:inline-flex!important; gap:6px!important; align-items:center!important; justify-content:center!important; }
html body[class*="avm-owner-"] :is(.photo-filter-row,.video-filter-row)>button span { flex-shrink:0; white-space:nowrap; }
.avm-gallery-thumbs { overflow-y:hidden; }
html body .avm-gallery-thumbs button { overflow:hidden; }
html body[class*="avm-owner-"] .video-player-panel.is-cinema { position:fixed!important; inset:0!important; z-index:200000!important; width:100%!important; height:100vh!important; height:100dvh!important; max-width:none!important; border:0!important; border-radius:0!important; background:#071722!important; padding:68px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important; box-sizing:border-box!important; aspect-ratio:auto!important; display:flex!important; align-items:center!important; justify-content:center!important; }
html body[class*="avm-owner-"] .video-player-panel.is-cinema iframe { position:static!important; width:100%!important; height:100%!important; max-width:1600px!important; max-height:100%!important; border:0!important; aspect-ratio:16/9!important; }
html body[class*="avm-owner-"] .avm-cinema-close { position:absolute; top:max(12px,env(safe-area-inset-top)); right:max(16px,env(safe-area-inset-right)); width:44px; height:44px; border:1px solid #9cb2c0; border-radius:12px; color:#173548; background:#fff; font:32px/1 system-ui; cursor:pointer; }
html body[class*="avm-owner-"] .avm-video-hub .card__img { width:100%!important; min-width:0!important; max-width:100%!important; aspect-ratio:auto!important; }
html body[class*="avm-owner-"] .avm-video-hub .card__img img { width:100%!important; transform:none!important; }
html body[class*="avm-owner-"] .avm-vanti-gallery-grid { min-width:0; }
html body[class*="avm-owner-"] .avm-vanti-gallery-grid .media-gallery-item { width:100%!important; max-width:100%!important; min-width:0!important; min-height:0!important; aspect-ratio:4/3!important; }
html body[class*="avm-owner-"] .avm-vanti-gallery-grid .media-gallery-item img { width:100%!important; height:100%!important; min-height:0!important; object-fit:contain!important; }
html body[class*="avm-owner-"] main.content-card .avm-vanti-gallery-wrap>.container { width:100%!important; }
html body[class*="avm-owner-"] .avm-watch-card__media { width:100%!important; min-width:0!important; max-width:100%!important; min-height:0!important; aspect-ratio:16/9!important; }
html body[class*="avm-owner-"] .avm-watch-card__media img { width:100%!important; height:100%!important; transform:none!important; }
html body[class*="avm-owner-"].avm-mobile-nav-open .site-header { z-index:100000!important; }
