/* AVIEN • focused mobile catalog facelift, no product/order logic changes */
@media(min-width:791px){
 .avien-catalog-menu-button,.avien-catalog-top-cart,.avien-mobile-tabbar,
 .avien-catalog-filter-toggle{display:none!important}
}
@media(max-width:790px){
 html,body{max-width:100%;overflow-x:clip}
 body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px));background:#fffefc}
 header{z-index:200!important;border-bottom:1px solid #e7ede6;box-shadow:0 3px 16px rgba(25,53,35,.045)}
 header .header-inner{
  position:relative!important;display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  grid-template-rows:58px!important;align-items:center!important;
  justify-items:stretch!important;gap:0 8px!important;
  min-height:68px!important;padding:5px 15px!important;max-width:100%!important
 }
 header .brand{
  grid-area:1/2/2/3!important;justify-self:center!important;align-self:center!important;
  display:block!important;font:32px/1 Georgia,serif!important;letter-spacing:4px!important;
  white-space:nowrap!important;text-align:center!important;margin:0!important
 }
 header .avien-catalog-menu-button,header .avien-catalog-top-cart{
  display:flex!important;align-items:center;justify-content:center;
  width:42px;height:42px;padding:8px;border:0;background:transparent;
  border-radius:12px;color:#45604b;box-shadow:none;text-decoration:none
 }
 header .avien-catalog-menu-button{grid-area:1/1/2/2}
 header .avien-catalog-top-cart{grid-area:1/3/2/4}
 header :is(.avien-catalog-menu-button,.avien-catalog-top-cart) svg{
  width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round
 }
 header .header-links{
  display:none!important;position:absolute!important;top:calc(100% + 5px)!important;
  right:12px!important;left:12px!important;width:auto!important;max-width:none!important;
  padding:12px!important;border:1px solid #dce7db;border-radius:18px;
  background:#fffefc;box-shadow:0 14px 38px #293a302b;
  grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;
  font:13px/1.7 Tahoma,Arial,sans-serif!important;text-align:right!important;
  z-index:300;align-items:stretch!important;flex-wrap:unset!important
 }
 header .header-links.avien-catalog-nav-open{display:grid!important}
 header .header-links a{
  display:flex!important;align-items:center;justify-content:center;
  min-height:43px!important;padding:8px 7px!important;white-space:normal!important;
  border-radius:11px;background:#f6f9f4;text-align:center!important
 }
 header .header-links a:focus-visible{outline:2px solid #739b79}
 main,.category-page{min-width:0;max-width:100%;padding-inline:14px!important;margin-top:18px!important;margin-bottom:30px!important}
 .crumb{font-size:11px!important;line-height:1.6!important;overflow-wrap:anywhere}
 main h1,.category-page h1{font-size:clamp(21px,5.4vw,26px)!important;line-height:1.6!important;margin:7px 0 13px!important}
 .catalog-search,.category-page .catalog-search{padding:10px 12px!important;border-radius:15px!important;margin-bottom:16px!important}
 .catalog-search-row input{height:44px!important;min-width:0}
 .catalog-search-row button{min-height:44px;padding-inline:13px!important;font-size:12px!important}
 .layout{display:block!important;min-width:0}
 .sidebar{padding:10px 12px!important;margin-bottom:17px!important;border-radius:17px!important;box-shadow:none!important}
 .sidebar h2{font-size:14px!important;margin:1px 0 8px}
 .avien-catalog-filter-toggle{
  display:flex!important;align-items:center;justify-content:space-between;
  width:100%;min-height:42px;padding:7px 11px;border:1px solid #d2e1cf;
  border-radius:11px;background:#f0f6ed;color:#35533b;font:600 13px Tahoma,Arial,sans-serif
 }
 .avien-catalog-filter-toggle span{font-size:18px}
 .sidebar #categoryList:not(.avien-catalog-filter-open){display:none!important}
 .sidebar #categoryList{padding-top:10px}
 .results-top,.category-page .results-top{align-items:center!important;gap:8px!important;margin-bottom:12px!important}
 .results-top h2{font-size:15px!important;font-weight:600!important;line-height:1.5!important}
 .grid,.category-page .grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;align-items:stretch!important;min-width:0
 }
 .product{
  display:flex!important;flex-direction:column!important;min-width:0!important;height:100%;
  border-radius:18px!important;border:1px solid #e2e9df!important;
  box-shadow:0 3px 15px rgba(38,69,42,.045)!important;background:#fff!important;
  overflow:hidden!important
 }
 .product .photo,.category-page .product .photo{
  position:relative;display:flex!important;align-items:center!important;justify-content:center!important;
  flex:none!important;height:auto!important;aspect-ratio:1/1!important;
  width:100%!important;padding:10px!important;overflow:hidden!important;
  background:#fff!important;border-bottom:1px solid #f1f3ee!important
 }
 .product .photo img{
  display:block!important;max-width:100%!important;max-height:100%!important;
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:center!important
 }
 .product .content{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
  align-items:stretch!important;gap:7px!important;min-width:0!important;
  padding:11px 10px 12px!important;text-align:right!important
 }
 .product .content>a:first-child{display:block!important;min-height:44px!important}
 .product .content h3{
  font:600 12.5px/1.7 Tahoma,Arial,sans-serif!important;color:#25372b!important;
  height:auto!important;max-height:43px!important;min-height:0!important;
  margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden!important;overflow-wrap:anywhere!important
 }
 .product .description{
  min-height:0!important;height:auto!important;max-height:20px!important;
  font:11px/1.65 Tahoma,Arial,sans-serif!important;margin:0!important;
  display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis
 }
 .product .description:empty{display:none!important}
 .product .avien-price-stack{
  margin-top:auto!important;margin-bottom:0!important;min-height:35px!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-end!important;gap:3px!important;min-width:0!important
 }
 .product .avien-sale-price,.product .price{
  font:700 15px/1.5 Tahoma,Arial,sans-serif!important;color:#35563d!important;
  text-align:right!important;white-space:nowrap!important;letter-spacing:0!important
 }
 .product .avien-old-price{font:400 11px/1.5 Tahoma,Arial,sans-serif!important}
 .product .avien-discount{font-size:10px!important;padding:2px 6px!important}
 .product .stock{font:11px/1.55 Tahoma,Arial,sans-serif!important;min-height:18px!important;margin:0!important}
 .product :is(.save-favorite,.add-cart){
  width:100%!important;min-width:0!important;min-height:43px!important;
  margin:0!important;padding:9px 5px!important;border-radius:11px!important;
  font:600 11px/1.5 Tahoma,Arial,sans-serif!important;
  white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important
 }
 .product .save-favorite{background:#f1f6ef!important;border-color:#d5e3d1!important;color:#45604b!important}
 .product .add-cart{background:#45604b!important;color:#fff!important}
 .avien-mobile-tabbar{
  position:fixed;bottom:0;right:0;left:0;z-index:8900;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
  padding:7px 10px calc(7px + env(safe-area-inset-bottom,0px));
  background:rgba(255,254,252,.98);border-top:1px solid #e3eae1;
  box-shadow:0 -5px 24px rgba(39,62,44,.06);backdrop-filter:blur(14px)
 }
 .avien-mobile-tabbar a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;min-height:49px;color:#65776a;font:10px/1.4 Tahoma,Arial,sans-serif;
  text-decoration:none!important;white-space:nowrap
 }
 .avien-mobile-tabbar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .avien-mobile-tabbar a[aria-current="page"]{color:#34583d;font-weight:bold}
 #avien-support-launcher,.avien-support-launcher{
  bottom:calc(80px + env(safe-area-inset-bottom,0px))!important;
  left:11px!important;min-height:45px!important;padding:8px 12px!important;
  font-size:11px!important;box-shadow:0 5px 15px #1b341b28!important
 }
 .avien-support-pane{max-height:calc(100dvh - 125px)!important}
}
@media(max-width:365px){
 .grid,.category-page .grid{gap:9px!important}
 main,.category-page{padding-inline:10px!important}
 .product .content{padding:9px 8px 10px!important}
 .product .content h3{font-size:12px!important}
 .product .avien-sale-price{font-size:13px!important}
}
@media(prefers-reduced-motion:reduce){.avien-mobile-tabbar,.header-links{scroll-behavior:auto}}


/* Mobile product taxonomy in the same site menu; real subcategories stay scrollable. */
@media(min-width:791px){
 header .avien-catalog-categories{display:none!important}
}
@media(max-width:790px){
 header .header-links.avien-catalog-nav-open{
  max-height:min(72dvh,630px)!important;overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;overscroll-behavior:contain;
 }
 header .avien-catalog-categories{
  display:block!important;grid-column:1/-1;min-width:0;
  border-top:1px solid #e1e9de;padding:12px 0 4px;margin-top:3px;
  font:13px/1.7 Tahoma,Arial,sans-serif;
 }
 header .avien-catalog-categories h2{
  margin:0 0 10px;font:700 15px/1.7 Tahoma,Arial,sans-serif;color:#31563a;text-align:right;
 }
 header .avien-catalog-category-tree{display:flex;flex-direction:column;gap:4px;min-width:0}
 header .avien-catalog-category-row{display:flex;align-items:stretch;gap:5px;min-width:0}
 header .avien-catalog-category-row>a{
  flex:1;min-width:0;display:flex!important;align-items:center;justify-content:flex-start!important;
  text-align:right!important;min-height:44px!important;padding:9px 12px!important;
  border-radius:11px;background:#f2f7f0!important;color:#2d4d36!important;
  text-decoration:none;font:600 13px/1.7 Tahoma,Arial,sans-serif;
 }
 header .avien-catalog-category-row>a[aria-current="page"]{
  border:1px solid #8aaf8a;background:#e6f1e4!important
 }
 header .avien-catalog-category-toggle{
  display:grid;place-items:center;flex:0 0 42px;min-width:42px;min-height:44px;
  border:1px solid #d5e4d1;background:#eff5ec;color:#35583d;
  border-radius:11px;font:23px Tahoma,Arial,sans-serif;cursor:pointer;
 }
 header .avien-catalog-category-toggle[aria-expanded="true"]{background:#dcebdd}
 header .avien-catalog-category-children[hidden]{display:none!important}
 header .avien-catalog-category-children{
  display:flex;flex-direction:column;gap:4px;border-right:2px solid #c8dcca;
  padding:4px 10px 5px 0;margin:3px 10px 5px 0;
 }
 header .avien-catalog-category-children .avien-catalog-category-row>a{
  background:#fafcf9!important;font-weight:400
 }
 header .avien-catalog-category-note{margin:8px 0;color:#586b5c}
 header .avien-catalog-categories a:focus-visible,
 header .avien-catalog-category-toggle:focus-visible{outline:2px solid #56865c;outline-offset:2px}
}
