/* Algis Crafts shop listing (shop, category, search). Tokens, header, footer and .ach-card come from home.css.
   Every selector starts with body.ach-page: the Elementor kit styles h1-h6, a, button and input site-wide. */

/* Interactive elements take their colours from three variables in every state, so the kit's a/button :hover and :focus never show through. */
body.ach-page .ach-ui,body.ach-page .ach-ui:hover,body.ach-page .ach-ui:focus{color:var(--c,inherit);background-color:var(--b,transparent);border-color:var(--bd,transparent)}
body.ach-page .ach-ui{font-family:var(--ach-sans);text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .25s var(--ach-ease),color .25s var(--ach-ease),border-color .25s var(--ach-ease)}
body.ach-page .ach-ico{flex:0 0 auto;display:block}
body.ach-page{--ach-stick:0px}
@media (min-width:768px){
  /* compact header: top 10px + 58px high, then a 6px gap */
  body.ach-page{--ach-stick:74px}
  body.ach-page.admin-bar{--ach-stick:106px}
}
html.ach-lock{overflow:hidden}

/* ============ page frame ============ */
body.ach-page .ach-shop{background:var(--ach-linen);padding-bottom:clamp(48px,6vw,96px);min-height:60vh}
body.ach-page .ach-shop__top{padding:clamp(16px,1.8vw,26px) var(--ach-pad) 0}
body.ach-page .ach-crumbs ol{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0;list-style:none;font-size:14.5px;line-height:1.4;color:var(--ach-ink-2)}
body.ach-page .ach-crumbs li+li::before{content:"/";margin-right:8px;color:var(--ach-grey)}
body.ach-page .ach-crumbs a{--c:var(--ach-ink-2);text-decoration:underline transparent 1px;text-underline-offset:4px}
body.ach-page .ach-crumbs a:hover,body.ach-page .ach-crumbs a:focus-visible{--c:var(--ach-ink);text-decoration-color:currentColor}
body.ach-page .ach-crumbs [aria-current]{color:var(--ach-ink)}
body.ach-page .ach-shop__head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:16px 24px;margin-top:clamp(10px,1.2vw,18px);padding-bottom:clamp(18px,2vw,28px)}
body.ach-page .ach-shop__heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;min-width:0}
body.ach-page .ach-shop__title{font-family:var(--ach-serif);font-weight:600;font-size:clamp(34px,3.6vw,56px);line-height:1.04;letter-spacing:-.015em;text-wrap:balance}
body.ach-page .ach-shop__count{font-size:16px;color:var(--ach-ink-2);white-space:nowrap}
body.ach-page .ach-shop__tools{display:flex;align-items:center;gap:8px}

/* sort select: a pill like the buttons */
body.ach-page .ach-sort{display:block;flex:0 0 auto;margin:0}
body.ach-page .ach-sort__select{-webkit-appearance:none!important;appearance:none!important;display:block;width:auto;max-width:100%;height:48px;margin:0;padding:0 46px 0 20px!important;border:1.5px solid var(--ach-ink)!important;border-radius:999px!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center/18px!important;color:var(--ach-ink)!important;font:500 15.5px/1.2 var(--ach-sans)!important;box-shadow:none!important;cursor:pointer;transition:background-color .25s var(--ach-ease)}
body.ach-page .ach-sort__select:hover,body.ach-page .ach-sort__select:focus{background-color:#fff!important;color:var(--ach-ink)!important}

/* open filter button */
body.ach-page .ach-shop__open{--c:var(--ach-ink);--b:transparent;--bd:var(--ach-ink);display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 20px;border:1.5px solid var(--bd);border-radius:999px;font:600 15.5px/1 var(--ach-sans);white-space:nowrap}
body.ach-page .ach-shop__open:hover,body.ach-page .ach-shop__open:focus-visible{--c:#fff;--b:var(--ach-ink)}
body.ach-page .ach-shop__badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ach-ink);color:#fff;font-size:12.5px;font-weight:600;line-height:1;transition:background-color .25s var(--ach-ease),color .25s var(--ach-ease)}
body.ach-page .ach-shop__open:hover .ach-shop__badge,body.ach-page .ach-shop__open:focus-visible .ach-shop__badge{background:#fff;color:var(--ach-ink)}
body.ach-page .ach-shop__badge[hidden]{display:none}

/* active filters */
body.ach-page .ach-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:16px}
body.ach-page .ach-chips[hidden]{display:none}
body.ach-page .ach-chip{--c:var(--ach-ink);--b:#fff;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 10px 6px 14px;border-radius:6px;font-size:14.5px;font-weight:500;line-height:1.2}
body.ach-page .ach-chip .ach-ico{width:14px;height:14px}
body.ach-page .ach-chip:hover,body.ach-page .ach-chip:focus-visible{--c:#fff;--b:var(--ach-ink)}
body.ach-page .ach-chips__clear{--c:var(--ach-ink);margin-left:6px;font-size:14.5px;font-weight:500;text-decoration:underline;text-underline-offset:4px}
body.ach-page .ach-chips__clear:hover,body.ach-page .ach-chips__clear:focus-visible{--c:var(--ach-moss)}

/* results */
body.ach-page .ach-shop__results{transition:opacity .2s}
body.ach-page .ach-shop__results[aria-busy="true"]{opacity:.55}
body.ach-page .ach-shop .ach-card__img--alt{pointer-events:none}
body.ach-page .ach-shop .ach-card__img--alt:not([src]){visibility:hidden}
body.ach-page .ach-card__sizes{margin-top:3px;font-size:14px;line-height:1.35;color:var(--ach-ink-2)}
body.ach-page .ach-shop__empty{max-width:520px;margin:0 auto;padding:clamp(40px,6vw,88px) var(--ach-pad);text-align:center}
body.ach-page .ach-shop__empty[hidden]{display:none}
body.ach-page .ach-shop__empty-t{font-family:var(--ach-serif);font-weight:600;font-size:clamp(26px,2.4vw,36px);line-height:1.1;letter-spacing:-.01em}
body.ach-page .ach-shop__empty p{margin-top:10px;font-size:17px;color:var(--ach-ink-2)}
body.ach-page .ach-shop__clearbtn{--c:#fff;--b:var(--ach-green);display:inline-flex;align-items:center;justify-content:center;margin-top:22px;height:52px;padding:0 30px;border-radius:999px;font-size:16px;font-weight:600;line-height:1}
body.ach-page .ach-shop__clearbtn:hover,body.ach-page .ach-shop__clearbtn:focus-visible{--b:var(--ach-moss)}
body.ach-page .ach-shop__more{display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(28px,3.4vw,48px) var(--ach-pad) 0}
body.ach-page .ach-shop__more[hidden]{display:none}
body.ach-page .ach-shop__shown{font-size:15px;color:var(--ach-ink-2)}
body.ach-page .ach-shop__morebtn{--c:var(--ach-ink);--b:transparent;--bd:var(--ach-ink);display:inline-flex;align-items:center;justify-content:center;height:54px;min-width:220px;padding:0 34px;border:1.5px solid var(--bd);border-radius:999px;font-size:16px;font-weight:600;line-height:1}
body.ach-page .ach-shop__morebtn:hover,body.ach-page .ach-shop__morebtn:focus-visible{--c:#fff;--b:var(--ach-ink)}
body.ach-page .ach-shop__morebtn[hidden]{display:none}

/* ============ filter panel: shared parts ============ */
body.ach-page .ach-fp__title{font-family:var(--ach-serif);font-weight:600;font-size:26px;line-height:1.1}
body.ach-page .ach-fp__close{--c:var(--ach-ink);--b:#fff;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%}
body.ach-page .ach-fp__close:hover,body.ach-page .ach-fp__close:focus-visible{--c:#fff;--b:var(--ach-ink)}
body.ach-page .ach-fp__form{margin:0}
body.ach-page .ach-fg__head{--c:var(--ach-ink);--b:transparent;display:flex;align-items:center;gap:10px;width:100%;padding:13px 0;border:0;border-radius:0;font:600 16px/1.25 var(--ach-sans);text-align:left}
body.ach-page .ach-fg__head:hover,body.ach-page .ach-fg__head:focus-visible{--c:var(--ach-moss)}
body.ach-page .ach-fg__label{flex:0 1 auto}
body.ach-page .ach-fg__n{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--ach-ink);color:#fff;font-size:12px;font-weight:600;line-height:1}
body.ach-page .ach-fg__n[hidden]{display:none}
body.ach-page .ach-fg__head .ach-ico{margin-left:auto;transition:transform .3s var(--ach-ease)}
body.ach-page .ach-fg.is-open>.ach-fg__head .ach-ico{transform:rotate(180deg)}
body.ach-page .ach-fg__body{display:none;padding-bottom:12px}
body.ach-page .ach-fg.is-open>.ach-fg__body{display:block}
body.ach-page .ach-fg__list{display:block;margin:0;padding:0;list-style:none}
body.ach-page .ach-fg__list li[hidden]{display:none}
body.ach-page .ach-opt{display:flex;align-items:center;gap:11px;min-height:38px;margin:0;padding:5px 0;font-size:15.5px;font-weight:400;line-height:1.3;color:var(--ach-ink);cursor:pointer}
body.ach-page .ach-opt input{-webkit-appearance:none!important;appearance:none!important;flex:0 0 20px;width:20px!important;height:20px!important;margin:0!important;padding:0!important;border:1.5px solid var(--ach-ink)!important;border-radius:5px!important;background:#fff center/14px no-repeat!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s,border-color .2s}
body.ach-page .ach-opt input[type="radio"]{border-radius:50%!important}
body.ach-page .ach-opt input:checked{border-color:var(--ach-moss)!important;background-color:var(--ach-moss)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")!important}
body.ach-page .ach-opt input[type="radio"]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6' fill='%23fff'/%3E%3C/svg%3E")!important}
body.ach-page .ach-opt:hover .ach-opt__name{color:var(--ach-moss)}
body.ach-page .ach-opt__n{margin-left:auto;padding-left:10px;font-size:14px;color:var(--ach-grey);font-variant-numeric:tabular-nums}
body.ach-page .ach-opt.is-off{cursor:default}
body.ach-page .ach-opt.is-off>*{opacity:.4}
body.ach-page .ach-opt.is-off:hover .ach-opt__name{color:inherit}
body.ach-page .ach-opt.is-off input{cursor:default}
body.ach-page .ach-fp__clear{--c:var(--ach-ink);display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-size:15.5px;font-weight:500;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
body.ach-page .ach-fp__clear:hover,body.ach-page .ach-fp__clear:focus-visible{--c:var(--ach-moss)}
body.ach-page .ach-fp__apply{--c:#fff;--b:var(--ach-green);flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 26px;border:0;border-radius:999px;font:600 16px/1 var(--ach-sans)}
body.ach-page .ach-fp__apply:hover,body.ach-page .ach-fp__apply:focus-visible{--b:var(--ach-moss)}

/* ============ panel as a bottom sheet (variants 1 and 2 below 1024 px; the drawer of variant 3 starts from it) ============ */
body.ach-page .ach-fp{position:fixed;left:0;right:0;bottom:0;z-index:120;display:flex;flex-direction:column;max-height:88dvh;background:var(--ach-linen);color:var(--ach-ink);border-radius:20px 20px 0 0;transform:translateY(102%);visibility:hidden;transition:transform .45s var(--ach-ease),visibility 0s .45s}
body.ach-page .ach-fp.is-open{transform:none;visibility:visible;transition:transform .45s var(--ach-ease),visibility 0s}
body.ach-page .ach-fp__top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 16px 6px 22px}
body.ach-page .ach-fp__form{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
body.ach-page .ach-fp__groups{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 22px 12px}
body.ach-page .ach-fp__foot{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));background:var(--ach-linen);border-top:1px solid var(--ach-line)}
body.ach-page .ach-fp__backdrop{position:fixed;inset:0;z-index:110;background:rgba(34,34,34,.48)}
body.ach-page .ach-fp__backdrop[hidden]{display:none}
body.ach-page .ach-fp .ach-opt{min-height:44px}

/* ============ variant 3: right drawer at every width ============ */
body.ach-page.ach-shop-v3 .ach-fp{left:auto;top:0;width:min(440px,100vw);max-height:none;border-radius:0;transform:translateX(102%)}
body.ach-page.ach-shop-v3 .ach-fp.is-open{transform:none}
body.ach-page.ach-shop-v3.admin-bar .ach-fp{top:32px}
body.ach-page.ach-shop-v3 .ach-fp__top{padding:22px 20px 10px 28px}
body.ach-page.ach-shop-v3 .ach-fp__groups{padding:4px 28px 16px}
body.ach-page.ach-shop-v3 .ach-fp__foot{padding:14px 20px calc(16px + env(safe-area-inset-bottom)) 22px}
body.ach-page.ach-shop-v2 .ach-fg--type,body.ach-page.ach-shop-v3 .ach-fg--type{display:none}

/* ============ variant 1: sidebar ============ */
body.ach-page .ach-shop--v1 .ach-shop__body{padding:0 var(--ach-pad)}
body.ach-page .ach-shop--v1 .ach-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ach-page .ach-shop--v1 .ach-shop__tools{flex:1 1 100%}
body.ach-page .ach-shop--v1 .ach-shop__tools>*{flex:1 1 0;min-width:0}
body.ach-page .ach-shop--v1 .ach-sort__select{width:100%}
@media (min-width:768px){
  body.ach-page .ach-shop--v1 .ach-shop__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ach-page .ach-shop--v1 .ach-shop__tools{flex:0 0 auto}
  body.ach-page .ach-shop--v1 .ach-shop__tools>*{flex:0 0 auto}
  body.ach-page .ach-shop--v1 .ach-sort__select{width:auto}
}
@media (min-width:1024px){
  body.ach-page .ach-shop--v1 .ach-shop__body{display:grid;grid-template-columns:264px minmax(0,1fr);gap:clamp(28px,3vw,52px);align-items:start}
  body.ach-page .ach-shop--v1 .ach-shop__side{position:sticky;top:calc(var(--ach-stick) + 12px);max-height:calc(100vh - var(--ach-stick) - 28px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:10px}
  body.ach-page .ach-shop--v1 .ach-shop__open{display:none}
  body.ach-page.ach-shop-v1 .ach-fp{position:static;display:block;max-height:none;background:none;border-radius:0;transform:none;visibility:visible;transition:none;z-index:auto}
  body.ach-page.ach-shop-v1 .ach-fp__top,html.ach-shopjs body.ach-page.ach-shop-v1 .ach-fp__foot{display:none}
  body.ach-page.ach-shop-v1 .ach-fp__form{display:block}
  body.ach-page.ach-shop-v1 .ach-fp__groups{overflow:visible;padding:0}
  body.ach-page.ach-shop-v1 .ach-fg:first-child .ach-fg__head{padding-top:0}
  body.ach-page.ach-shop-v1 .ach-fp .ach-opt{min-height:36px;padding:4px 0}
  body.ach-page.ach-shop-v1 .ach-fp__backdrop{display:none}
}
@media (min-width:1600px){
  body.ach-page .ach-shop--v1 .ach-shop__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ============ variant 2 (the product): type pills with a photo, filter bar in the look of the compact header ============ */
body.ach-page .ach-types{margin:0 calc(var(--ach-pad) * -1);padding-bottom:clamp(14px,1.6vw,22px)}
body.ach-page .ach-types ul{display:flex;gap:8px;margin:0;padding:2px var(--ach-pad);list-style:none;overflow-x:auto;scrollbar-width:none}
body.ach-page .ach-types ul::-webkit-scrollbar{display:none}
body.ach-page .ach-types li{flex:0 0 auto}
body.ach-page .ach-type{--c:var(--ach-ink);--b:#fff;--n:var(--ach-grey);display:inline-flex;align-items:center;gap:8px;height:52px;padding:4px 15px 4px 4px;border-radius:6px;font-size:15px;font-weight:500;line-height:1;white-space:nowrap}
body.ach-page .ach-type--all{padding:0 22px}
body.ach-page .ach-type__img{width:44px!important;height:44px!important;border-radius:4px;object-fit:cover;background:var(--ach-sand)}
body.ach-page .ach-type__n{display:none;font-size:13.5px;font-weight:400;color:var(--n);font-variant-numeric:tabular-nums;transition:color .25s var(--ach-ease)}
@media (min-width:1440px){
  body.ach-page .ach-type__n{display:inline}
}
body.ach-page .ach-type:hover,body.ach-page .ach-type:focus-visible{--b:var(--ach-sand);--n:var(--ach-ink-2)}
body.ach-page .ach-type.is-active,body.ach-page .ach-type.is-active:hover,body.ach-page .ach-type.is-active:focus{--c:#fff;--b:var(--ach-ink);--n:#D8D8D8}
body.ach-page .ach-type.is-off{opacity:.45;cursor:default}
body.ach-page .ach-type.is-off:hover{--b:#fff;--n:var(--ach-grey)}
/* Phones: a strip in the page colour that sticks to the top, the buttons scroll sideways. */
body.ach-page .ach-shop__filterbar{position:sticky;top:var(--ach-stick);z-index:50;display:flex;align-items:center;gap:8px;padding:10px var(--ach-pad);background:var(--ach-linen);overflow-x:auto;scrollbar-width:none}
body.ach-page .ach-shop__filterbar::-webkit-scrollbar{display:none}
/* the sheet lives inside the sticky bar: lift the bar above the header while the sheet is open */
html.ach-lock body.ach-page .ach-shop__filterbar{z-index:130}
/* Past the last product the bar would slide up under the header with the end of its container: shop.js fades it out before that (.is-away). */
body.ach-page .ach-shop__filterbar{transition:opacity .2s ease,visibility 0s}
body.ach-page .ach-shop__filterbar.is-away{opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s .2s}
body.ach-page .ach-shop__barin,body.ach-page .ach-shop__quick{display:contents}
body.ach-page .ach-shop--v2 .ach-shop__open{flex:0 0 auto;height:44px;padding:0 18px;font-weight:500;order:2}
body.ach-page .ach-shop--v2 .ach-shop__open[data-shop-open=""]{order:0;font-weight:600}
body.ach-page .ach-shop--v2 .ach-sort{order:1}
body.ach-page .ach-shop--v2 .ach-sort__select{height:44px}
body.ach-page .ach-shop--v2 .ach-shop__main{padding-top:6px}
body.ach-page .ach-shop--v2 .ach-chips{padding:4px var(--ach-pad) 14px}
body.ach-page .ach-shop--v2 .ach-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* From 768 px: one green bar with white text, in the box of the compact header (same height, radius and paddings; text buttons
   like its nav links) so the two line up but do not look the same. White on #558028 is 4.66:1; hover and open use #4A6D23.
   The sticky wrapper is transparent and keeps its box, so nothing jumps: in flow the bar lines up with the page content,
   stuck (.is-stuck from shop.js) it moves out to the header's edges and photos scroll past around both. */
@media (min-width:768px){
  body.ach-page .ach-shop--v2 .ach-shop__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ach-page .ach-shop__filterbar{display:block;padding:0;margin-bottom:12px;background:none;overflow:visible;pointer-events:none}
  body.ach-page .ach-shop__barin{pointer-events:auto;display:flex;align-items:center;gap:2px;min-height:48px;margin:0 var(--ach-pad);padding:5px 6px 5px 8px;background:var(--ach-green);color:#fff;border:1px solid transparent;border-radius:6px;overflow-x:auto;scrollbar-width:none;transition:margin .45s var(--ach-ease),transform .2s ease}
  body.ach-page .ach-shop__filterbar.is-away .ach-shop__barin{transform:translateY(-8px);pointer-events:none}
  body.ach-page .ach-shop__barin::-webkit-scrollbar{display:none}
  body.ach-page .ach-shop__filterbar.is-stuck .ach-shop__barin{margin:0 clamp(12px,1.35vw,24px)}
  body.ach-page .ach-shop--v2 .ach-shop__open{--c:#fff;--b:transparent;--bd:transparent;height:auto;min-height:34px;padding:6px 10px;border:0;border-radius:5px;font:500 14px/1.3 var(--ach-sans);gap:7px}
  body.ach-page .ach-shop--v2 .ach-shop__open:hover,body.ach-page .ach-shop--v2 .ach-shop__open:focus-visible{--c:#fff;--b:var(--ach-moss)}
  body.ach-page .ach-shop--v2 .ach-shop__open .ach-ico{width:16px;height:16px}
  body.ach-page .ach-shop--v2 .ach-shop__badge,body.ach-page .ach-shop--v2 .ach-shop__open:hover .ach-shop__badge,body.ach-page .ach-shop--v2 .ach-shop__open:focus-visible .ach-shop__badge{min-width:18px;height:18px;padding:0 5px;background:#fff;color:var(--ach-moss);font-size:11px}
  body.ach-page .ach-shop--v2 .ach-sort__select,body.ach-page .ach-shop--v2 .ach-sort__select:hover,body.ach-page .ach-shop--v2 .ach-sort__select:focus{height:34px;padding:0 30px 0 10px!important;border:0!important;border-radius:5px!important;font:500 14px/1.2 var(--ach-sans)!important;color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-position:right 9px center!important;background-size:14px!important}
  body.ach-page .ach-shop--v2 .ach-sort__select:hover,body.ach-page .ach-shop--v2 .ach-sort__select:focus{background-color:var(--ach-moss)!important}
  body.ach-page .ach-shop--v2 .ach-sort__select option{color:var(--ach-ink);background:#fff}
}
@media (min-width:1024px){
  body.ach-page .ach-shop__barin{overflow:visible}
  body.ach-page .ach-shop--v2 .ach-shop__quick{display:none}
  body.ach-page .ach-shop--v2 .ach-sort{order:0;margin-left:auto}
  body.ach-page .ach-shop--v2 .ach-shop__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.ach-page.ach-shop-v2 .ach-fp{position:static;flex:1 1 auto;display:block;max-height:none;background:none;border-radius:0;transform:none;visibility:visible;transition:none;z-index:auto}
  body.ach-page.ach-shop-v2 .ach-fp__top,html.ach-shopjs body.ach-page.ach-shop-v2 .ach-fp__foot{display:none}
  body.ach-page.ach-shop-v2 .ach-fp__form{display:block}
  body.ach-page.ach-shop-v2 .ach-fp__groups{display:flex;gap:2px;overflow:visible;padding:0}
  body.ach-page.ach-shop-v2 .ach-fp__backdrop{display:none}
  body.ach-page.ach-shop-v2 .ach-fg{position:relative}
  body.ach-page.ach-shop-v2 .ach-fg__head{--c:#fff;width:auto;min-height:34px;padding:6px 10px;border:0;border-radius:5px;font:500 14px/1.3 var(--ach-sans);gap:6px;white-space:nowrap}
  body.ach-page.ach-shop-v2 .ach-fg__head .ach-ico{width:14px;height:14px;margin-left:0}
  body.ach-page.ach-shop-v2 .ach-fg__head:hover,body.ach-page.ach-shop-v2 .ach-fg__head:focus-visible,body.ach-page.ach-shop-v2 .ach-fg.is-open>.ach-fg__head,body.ach-page.ach-shop-v2 .ach-fg.is-open>.ach-fg__head:focus{--c:#fff;--b:var(--ach-moss)}
  body.ach-page.ach-shop-v2 .ach-fg__n{min-width:18px;height:18px;padding:0 5px;background:#fff;color:var(--ach-moss);font-size:11px}
  body.ach-page.ach-shop-v2 .ach-fg__body{position:absolute;left:0;top:calc(100% + 12px);z-index:5;min-width:270px;max-height:min(70vh,520px);overflow-y:auto;overscroll-behavior:contain;padding:8px 16px;background:#fff;color:var(--ach-ink);border:1px solid rgba(34,34,34,.07);border-radius:6px}
  body.ach-page.ach-shop-v2 .ach-fg--holiday .ach-fg__body,body.ach-page.ach-shop-v2 .ach-fg--occasion .ach-fg__body{min-width:450px}
  body.ach-page.ach-shop-v2 .ach-fg--holiday .ach-fg__list,body.ach-page.ach-shop-v2 .ach-fg--occasion .ach-fg__list{columns:2;column-gap:28px}
  body.ach-page.ach-shop-v2 .ach-fg__list li{break-inside:avoid}
  body.ach-page.ach-shop-v2 .ach-fp .ach-opt{min-height:36px;font-size:15px}
}
@media (min-width:1600px){
  body.ach-page .ach-shop--v2 .ach-shop__grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* category text under the grid, and the link back on paged URLs */
body.ach-page .ach-shop__about{padding:clamp(40px,5vw,72px) var(--ach-pad) 0}
body.ach-page .ach-shop__about-in{max-width:68ch;font-size:16.5px;line-height:1.6;color:var(--ach-ink-2)}
body.ach-page .ach-shop__about-in p+p{margin-top:12px}
body.ach-page .ach-shop__about-in :is(h2,h3,h4){margin:20px 0 6px;font:600 18px/1.3 var(--ach-sans);color:var(--ach-ink)}
body.ach-page .ach-shop__about-in a,body.ach-page .ach-shop__about-in a:focus{color:var(--ach-ink);text-decoration:underline;text-underline-offset:3px}
body.ach-page .ach-shop__about-in a:hover,body.ach-page .ach-shop__about-in a:focus-visible{color:var(--ach-moss)}
body.ach-page .ach-shop__prev{padding:2px var(--ach-pad) 18px;text-align:center}
body.ach-page .ach-shop__prev[hidden]{display:none}
body.ach-page .ach-shop__prevlink{--c:var(--ach-ink);--b:transparent;--bd:var(--ach-ink);display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 26px;border:1.5px solid var(--bd);border-radius:999px;font-size:15px;font-weight:600;line-height:1}
body.ach-page .ach-shop__prevlink:hover,body.ach-page .ach-shop__prevlink:focus-visible{--c:#fff;--b:var(--ach-ink)}

/* ============ variant 3: tabs, theme photos, one filter button, two grid sizes ============ */
body.ach-page .ach-shop--v3 .ach-shop__title{font-size:clamp(38px,4.6vw,72px)}
body.ach-page .ach-shop--v3 .ach-shop__head{padding-bottom:clamp(10px,1.2vw,18px)}
body.ach-page .ach-tabs,body.ach-page .ach-themes{margin:0 calc(var(--ach-pad) * -1)}
body.ach-page .ach-tabs ul,body.ach-page .ach-themes ul{display:flex;margin:0;padding:4px var(--ach-pad);list-style:none;overflow-x:auto;scrollbar-width:none}
body.ach-page .ach-tabs ul::-webkit-scrollbar,body.ach-page .ach-themes ul::-webkit-scrollbar{display:none}
body.ach-page .ach-tabs li,body.ach-page .ach-themes li{flex:0 0 auto}
body.ach-page .ach-tabs ul{gap:clamp(20px,2.4vw,38px)}
body.ach-page .ach-tab{--c:var(--ach-ink-2);display:block;padding:10px 0;font-size:17px;font-weight:500;line-height:1.2;white-space:nowrap;text-decoration:underline transparent 2px;text-underline-offset:9px;transition:color .25s var(--ach-ease),text-decoration-color .25s var(--ach-ease)}
body.ach-page .ach-tab:hover,body.ach-page .ach-tab:focus-visible{--c:var(--ach-ink);text-decoration-color:currentColor}
body.ach-page .ach-tab.is-active,body.ach-page .ach-tab.is-active:hover,body.ach-page .ach-tab.is-active:focus{--c:var(--ach-ink);text-decoration-color:currentColor}
body.ach-page .ach-tab.is-off{opacity:.45;cursor:default}
body.ach-page .ach-themes{padding:clamp(14px,1.6vw,24px) 0 clamp(10px,1.2vw,18px)}
body.ach-page .ach-themes ul{gap:clamp(14px,2vw,30px);padding-top:8px;padding-bottom:8px}
body.ach-page .ach-theme{--c:var(--ach-ink);display:flex;flex-direction:column;align-items:center;gap:10px;font-size:15px;font-weight:500;line-height:1.2;text-align:center}
body.ach-page .ach-theme__ph{display:block;width:clamp(84px,8.4vw,124px);aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:var(--ach-sand);outline:2px solid transparent;outline-offset:4px;transition:outline-color .25s var(--ach-ease)}
body.ach-page .ach-theme__ph img{display:block;width:100%!important;height:100%!important;object-fit:cover}
body.ach-page .ach-theme:hover .ach-theme__ph,body.ach-page .ach-theme:focus-visible .ach-theme__ph{outline-color:var(--ach-ink)}
body.ach-page .ach-theme.is-active .ach-theme__ph{outline-color:var(--ach-moss)}
body.ach-page .ach-theme.is-active,body.ach-page .ach-theme.is-active:hover,body.ach-page .ach-theme.is-active:focus{--c:var(--ach-moss)}
body.ach-page .ach-theme.is-off{opacity:.4;cursor:default}
body.ach-page .ach-theme.is-off:hover .ach-theme__ph{outline-color:transparent}
body.ach-page .ach-theme:focus-visible{outline:0}
body.ach-page .ach-shop__toolbar{position:sticky;top:var(--ach-stick);z-index:50;display:flex;align-items:center;gap:10px 14px;padding:10px var(--ach-pad);background:var(--ach-linen)}
body.ach-page .ach-shop--v3 .ach-shop__open{flex:0 0 auto}
body.ach-page .ach-shop--v3 .ach-chips{flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:0}
body.ach-page .ach-shop--v3 .ach-chips::-webkit-scrollbar{display:none}
body.ach-page .ach-shop--v3 .ach-chips>*{flex:0 0 auto}
body.ach-page .ach-view{display:none;flex:0 0 auto;margin-left:auto;gap:4px}
body.ach-page .ach-view__b{--c:var(--ach-ink);--b:transparent;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%}
body.ach-page .ach-view__b:hover,body.ach-page .ach-view__b:focus-visible{--b:#fff}
body.ach-page .ach-view__b.is-active,body.ach-page .ach-view__b.is-active:hover,body.ach-page .ach-view__b.is-active:focus{--c:#fff;--b:var(--ach-ink)}
body.ach-page .ach-view__b .ach-ico{width:20px;height:20px}
body.ach-page .ach-shop--v3 .ach-shop__main{padding-top:6px}
body.ach-page .ach-shop--v3 .ach-shop__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:768px){
  body.ach-page .ach-view{display:flex}
  body.ach-page .ach-shop--v3 .ach-shop__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ach-page .ach-shop--v3.is-compact .ach-shop__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.ach-page .ach-shop--v3:not(.is-compact) .ach-card__info{padding:18px 20px 38px}
  body.ach-page .ach-shop--v3:not(.is-compact) .ach-card__title{font-size:17px}
  body.ach-page .ach-shop--v3:not(.is-compact) .ach-card__price ins{font-size:18px}
}
@media (min-width:1800px){
  body.ach-page .ach-shop--v3 .ach-shop__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.ach-page .ach-shop--v3.is-compact .ach-shop__grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* ============ preview switcher: not part of the shop design ============ */
body.ach-page .ach-pv{position:fixed;left:10px;bottom:10px;z-index:80;display:flex;align-items:center;flex-wrap:wrap;gap:2px;max-width:calc(100vw - 20px);padding:4px 5px 4px 10px;background:#161616;color:#fff;border-radius:6px;font:500 12px/1 var(--ach-sans)}
body.ach-page .ach-pv__t{margin-right:4px;color:#D8D8D8}
body.ach-page .ach-pv__a{--c:#fff;--b:transparent;padding:7px 8px;border-radius:4px;font-size:12px;line-height:1}
body.ach-page .ach-pv__a:hover,body.ach-page .ach-pv__a:focus-visible{--b:#444}
body.ach-page .ach-pv__a.is-on,body.ach-page .ach-pv__a.is-on:hover,body.ach-page .ach-pv__a.is-on:focus{--c:#161616;--b:#fff}
body.ach-page .ach-pv__sep{width:1px;height:14px;margin:0 5px;background:#555}

/* ============ phone ============ */
@media (max-width:767px){
  body.ach-page .ach-shop__head{gap:14px}
  body.ach-page .ach-shop__heading{flex-direction:column;align-items:flex-start;gap:6px}
  body.ach-page .ach-shop--v1 .ach-shop__body{padding:0}
  body.ach-page .ach-shop--v1 .ach-chips{padding-inline:var(--ach-pad)}
  body.ach-page .ach-shop--v3 .ach-themes{padding-top:10px}
  body.ach-page .ach-tab{font-size:16px}
  body.ach-page .ach-shop__open{height:46px}
  body.ach-page .ach-sort__select{height:46px}
  body.ach-page .ach-shop__morebtn{width:calc(100% - var(--ach-pad) * 2)}
  body.ach-page .ach-shop__more{padding-inline:0}
  body.ach-page .ach-pv{left:6px;bottom:6px;padding:3px 4px 3px 8px;font-size:11px}
  body.ach-page .ach-pv__a{padding:6px 5px;font-size:11px}
  body.ach-page .ach-pv__sep{margin:0 2px}
}
@media (min-width:768px) and (max-width:1023px){
  body.ach-page .ach-fp{left:50%;right:auto;width:min(560px,100vw);margin-left:calc(min(560px,100vw) / -2)}
  body.ach-page.ach-shop-v3 .ach-fp{left:auto;right:0;margin-left:0;width:min(440px,100vw)}
}

/* ============ without JavaScript: the panel is a plain form under the heading ============ */
html:not(.ach-shopjs) body.ach-page .ach-fp{position:static;display:block;max-height:none;transform:none;visibility:visible;background:none;border-radius:0}
html:not(.ach-shopjs) body.ach-page .ach-fp__top,html:not(.ach-shopjs) body.ach-page .ach-shop__open,html:not(.ach-shopjs) body.ach-page .ach-view{display:none}
html:not(.ach-shopjs) body.ach-page .ach-fg__body{display:block;position:static;box-shadow:none;border:0;background:none;padding:0 0 12px}
html:not(.ach-shopjs) body.ach-page .ach-fp__groups{display:block;overflow:visible}
html:not(.ach-shopjs) body.ach-page .ach-fp__foot{display:flex;border:0;background:none}

@media (prefers-reduced-motion:reduce){
  body.ach-page .ach-fp,body.ach-page .ach-fp.is-open,body.ach-page .ach-shop__barin,body.ach-page .ach-shop__filterbar,body.ach-page .ach-shop__filterbar.is-away,body.ach-page .ach-ui,body.ach-page .ach-shop__results,body.ach-page .ach-fg__head .ach-ico,body.ach-page .ach-shop .ach-card__img{transition:none!important}
  body.ach-page .ach-shop .ach-card:hover .ach-card__img{transform:none}
}
