/* Basket quantity icons: clear native offsets and duplicate minus stroke. */
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-minus,
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-plus {
 inset:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-minus::before,
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-plus::before,
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-plus::after {
 content:''!important;display:block!important;position:absolute!important;
 left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 transform:translate(-50%,-50%)!important;box-shadow:none!important;
 background:var(--av-ink)!important;opacity:1!important;transition:none!important;pointer-events:none!important;
}
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-minus::before,
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-plus::before {width:12px!important;height:2px!important}
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-plus::after {width:2px!important;height:12px!important}
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-minus::after {content:none!important;display:none!important}
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-minus:focus-visible,
html.av-page body#main #content .av-cart-main .basket-item-amount-btn-plus:focus-visible {outline:2px solid var(--av-green)!important;outline-offset:-3px!important}

/* AYAMI catalog gallery layout fix v1 */
html.av-page body#main #content .catalog_block.grid-list .image_wrapper_block a.thumb {
 position:relative!important;overflow:hidden!important;
}
html.av-page body#main #content .catalog_block.grid-list .image_wrapper_block a.thumb .section-gallery-wrapper {
 display:flex!important;flex-direction:row!important;position:absolute!important;
 inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;
}
html.av-page body#main #content .catalog_block.grid-list .image_wrapper_block a.thumb .section-gallery-wrapper > .section-gallery-wrapper__item {
 position:static!important;flex:1 1 0!important;min-width:0!important;height:100%!important;
 margin:0!important;padding:0!important;background:transparent!important;
}
html.av-page body#main #content .catalog_block.grid-list .image_wrapper_block a.thumb .section-gallery-wrapper > .section-gallery-wrapper__item > img {
 display:block!important;position:absolute!important;left:0!important;right:0!important;top:0!important;bottom:8px!important;
 width:100%!important;height:calc(100% - 8px)!important;max-width:100%!important;max-height:calc(100% - 8px)!important;
 margin:0!important;padding:0!important;transform:none!important;object-fit:contain!important;object-position:center!important;
 pointer-events:none!important;opacity:0!important;
}
html.av-page body#main #content .catalog_block.grid-list .image_wrapper_block a.thumb .section-gallery-wrapper > .section-gallery-wrapper__item._active > img {
 opacity:1!important;
}
html.av-page body#main #content .catalog_block.grid-list .image_wrapper_block a.thumb .section-gallery-wrapper > .section-gallery-wrapper__item > .section-gallery-wrapper__item-nav {
 position:relative!important;height:100%!important;z-index:3!important;
}

/* AYAMI wide layout v1 */
/* Only desktop widths. Preserve the existing phone and tablet layout. */
@media (min-width:1200px) {
 html.av-page body#main .av-header,
 html.av-page body#main .av-main,
 html.av-page body#main .av-footer {
  width:calc(100% - 2 * var(--av-gutter))!important;
  max-width:2200px!important;
  margin-left:auto!important;margin-right:auto!important;
 }
 html.av-page body#main .av-header-top .av-search {max-width:1000px;margin-right:auto;}
 html.av-page body#main .av-nav .av-nav-links {justify-content:flex-start;gap:clamp(16px,1.5vw,32px);}
 /* Keep a bounded track even when a row contains only a few cards. */
 html.av-page body#main #content .catalog_block.grid-list {
  grid-template-columns:repeat(auto-fill,minmax(225px,1fr))!important;
  justify-content:start!important;
 }
 html.av-page body#main #content .catalog_block.grid-list > .grid-list__item {max-width:290px!important;width:100%!important;}
 html.av-page body#main .av-category-grid {
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;
  justify-content:start;
 }
 html.av-page body#main .av-category-grid > .av-category-card {max-width:340px;width:100%;}
 html.av-page body#main .av-hero-copy {min-width:0;}
 html.av-page body#main .av-hero-copy>p:not(.av-eyebrow) {max-width:65ch;}
 html.av-page body#main .av-production>div:first-child {max-width:75ch;}
 /* The company page has three real category cards, not a product feed. */
 html.av-page body#main #content .av-company-hero,
 html.av-page body#main #content .av-company-range,
 html.av-page body#main #content .av-company-receiving,
 html.av-page body#main #content .av-company-contact {
  max-width:1440px;margin-left:auto!important;margin-right:auto!important;
 }
 html.av-page body#main #content .av-company-copy {max-width:75ch;}
 html.av-page body#main #content .av-company-hero {
  grid-template-columns:minmax(0,1fr) minmax(240px,380px);justify-content:space-between;
 }
 html.av-page body#main #content .av-company-categories {
  grid-template-columns:repeat(3,minmax(0,440px));justify-content:start;
 }
 html.av-page body#main #content .av-section-shortcuts {grid-auto-columns:240px;}
}

/* AYAMI company square grid v1 */
@media (min-width:1200px) {
 html.av-page body#main .av-header,
 html.av-page body#main .av-main,
 html.av-page body#main .av-footer {
  width:calc(100% - 2 * var(--av-gutter))!important;
  max-width:2200px!important;margin-left:auto!important;margin-right:auto!important;
 }
 html.av-page body#main #content .av-company-range {
  max-width:none!important;width:100%!important;
 }
 html.av-page body#main #content .av-company-range .av-company-categories {
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(360px,1fr))!important;
  gap:20px!important;align-items:start!important;justify-content:start!important;
 }
 html.av-page body#main #content .av-company-range .av-company-categories>a {
  display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;
  aspect-ratio:1 / 1!important;width:100%!important;max-width:440px!important;
  min-width:0!important;min-height:0!important;height:auto!important;
  padding:18px!important;gap:12px!important;box-sizing:border-box!important;
 }
 html.av-page body#main #content .av-company-range .av-company-categories>a>.av-company-category-art {
  display:block!important;align-self:center!important;justify-self:center!important;
  width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  min-width:0!important;min-height:0!important;aspect-ratio:1 / 1!important;
 }
 html.av-page body#main #content .av-company-range .av-company-categories>a>strong {
  font-size:17px!important;line-height:24px!important;overflow-wrap:anywhere!important;
 }
 html.av-page body#main #content .av-company-range .av-company-categories>a>span:last-child {
  font-size:13px!important;line-height:20px!important;
 }
}

/* AYAMI company carousel v1 */
html.av-page body#main #content .av-company-hero,
html.av-page body#main #content .av-company-range,
html.av-page body#main #content .av-company-receiving,
html.av-page body#main #content .av-company-contact {
 width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
}
html.av-page body#main #content .av-company-range .av-company-categories {
 --av-carousel-cols:1;display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;
 grid-auto-columns:calc((100% - (var(--av-carousel-cols) - 1) * 20px) / var(--av-carousel-cols))!important;
 gap:20px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;
 overscroll-behavior-x:contain;scrollbar-width:thin;align-items:start!important;padding-bottom:12px;
}
html.av-page body#main #content .av-company-range .av-company-categories>a {
 display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;
 aspect-ratio:1!important;width:100%!important;max-width:none!important;height:auto!important;min-width:0!important;min-height:0!important;
 padding:18px!important;gap:12px!important;box-sizing:border-box!important;scroll-snap-align:start;
}
html.av-page body#main #content .av-company-range .av-company-categories>a>.av-company-category-art {
 display:block!important;align-self:center!important;justify-self:center!important;width:auto!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;aspect-ratio:1!important;
}
html.av-page body#main #content .av-company-carousel-controls {display:flex;justify-content:flex-end;gap:8px;margin:-6px 0 12px;}
html.av-page body#main #content .av-company-carousel-controls button {width:42px;height:42px;border:1px solid var(--av-line);border-radius:9px;background:white;color:var(--av-green);font-size:24px;cursor:pointer;}
html.av-page body#main #content .av-company-carousel-controls button:disabled {opacity:.35;cursor:default;}
@media(min-width:600px){html.av-page body#main #content .av-company-range .av-company-categories {--av-carousel-cols:2;}}
@media(min-width:1200px){html.av-page body#main #content .av-company-range .av-company-categories {--av-carousel-cols:3;}}
@media(min-width:1600px){html.av-page body#main #content .av-company-range .av-company-categories {--av-carousel-cols:4;}}
@media(min-width:2400px){html.av-page body#main #content .av-company-range .av-company-categories {--av-carousel-cols:5;}}

/* AYAMI carousel controls v1 */
html.av-page body#main #content .av-company-range .av-company-categories {
 scrollbar-width:none!important;-ms-overflow-style:none!important;padding-bottom:0!important;
}
html.av-page body#main #content .av-company-range .av-company-categories::-webkit-scrollbar {
 display:none!important;width:0!important;height:0!important;
}
html.av-page body#main #content .av-company-range .av-company-carousel-controls {gap:12px!important;margin:0 0 16px!important;}
html.av-page body#main #content .av-company-range .av-company-carousel-controls button {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:56px!important;height:56px!important;min-width:56px!important;padding:0!important;
 border:2px solid #078526!important;border-radius:12px!important;background:#078526!important;color:#fff!important;
 font-family:Arial,Helvetica,sans-serif!important;font-size:36px!important;line-height:1!important;font-weight:700!important;
 box-shadow:0 3px 9px #07852630!important;opacity:1!important;
}
html.av-page body#main #content .av-company-range .av-company-carousel-controls button:not(:disabled):hover {background:#066b1f!important;border-color:#066b1f!important;}
html.av-page body#main #content .av-company-range .av-company-carousel-controls button:focus-visible {outline:3px solid #152039!important;outline-offset:3px!important;}
html.av-page body#main #content .av-company-range .av-company-carousel-controls button:disabled {
 background:#e8edf2!important;border-color:#d4dce5!important;color:#8d9aac!important;box-shadow:none!important;opacity:1!important;
}

/* AYAMI header menu width v1 */
@media(min-width:1200px) {
 html.av-page body#main .av-header .av-nav .av-nav-links {
  display:flex!important;flex:1 1 0!important;min-width:0!important;max-width:none!important;
  justify-content:space-between!important;align-items:center!important;gap:16px!important;
 }
}
