/* Shop catalog presentation. Homepage cards stay on the theme defaults. */
.elly-shop{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"bar" "filters" "results";
  gap:0 22px;
  min-width:0;
}
.elly-shop-bar{grid-area:bar}
.elly-filters{grid-area:filters}
.elly-results{grid-area:results;min-width:0}
.elly-shop-bar{
  position:sticky;
  top:var(--elly-stick,0px);
  z-index:36;
  margin:0 0 14px;
  padding:6px 0 8px;
  background:#faf7f4;
  border-bottom:1px solid #eadfd6;
}
.elly-bar-top{display:flex;align-items:center;justify-content:space-between;gap:12px 18px}
.elly-shop-bar h1{margin:0;font-size:clamp(20px,2vw,28px);line-height:1.15;color:#340714}
.elly-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0}
.elly-filter-toggle{
  display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;
  border:1px solid #d5ad78;border-radius:999px;background:transparent;color:#620d2e;
  font:600 13px/1 var(--font);cursor:pointer;white-space:nowrap
}
.elly-filter-toggle:hover,.elly-filter-toggle:focus-visible{border-color:#620d2e;background:#f4ebe4}
.elly-filter-toggle:focus-visible{outline:2px solid #620d2e;outline-offset:2px}
.elly-depts{
  display:flex;gap:4px;margin:8px 0 0;padding:0 0 2px;overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:none
}
.elly-depts::-webkit-scrollbar{display:none}
.elly-dept{
  flex:0 0 auto;min-height:32px;padding:4px 12px;border:0;border-radius:999px;background:transparent;
  color:#211519;font:600 13px/1.2 var(--font);cursor:pointer;white-space:nowrap
}
.elly-dept:hover{color:#620d2e}
.elly-dept.is-active{background:#620d2e;color:#fff7ef}
.elly-dept:focus-visible{outline:2px solid #d5ad78;outline-offset:2px}
.elly-shop-bar .elly-chips{margin:8px 0 0}
.elly-shop .elly-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}
.elly-shop .elly-card{
  background:transparent;border:0;border-radius:0;box-shadow:none;padding:0
}
.elly-shop .elly-card-media{border-radius:0;background:#f3eee9}
.elly-shop .elly-card-title,
.elly-shop h2.elly-card-title{margin:10px 0 0;min-height:2.7em}
.elly-shop .elly-card-price,
.elly-shop .elly-card .elly-card-price,
.elly-shop .elly-card-price .price,
.elly-shop .elly-card .elly-card-price .price{
  margin:4px 0 0;overflow:visible;text-overflow:clip;white-space:normal
}
.elly-shop .elly-card>.elly-card-action{width:auto;margin:8px 0 0;justify-content:flex-start}
.woocommerce .elly-shop .elly-card a.button,
.woocommerce .elly-shop .elly-card button.button,
.woocommerce .elly-shop .elly-card>.elly-card-action.button{
  display:inline-flex;align-items:center;justify-content:flex-start;
  width:auto;min-height:28px;height:auto;max-height:none;margin:8px 0 0;padding:0 0 1px;
  border:0;border-bottom:1px solid currentColor;border-radius:0;
  background:transparent;background-color:transparent;box-shadow:none;
  color:#620d2e;font:600 12px/1.3 var(--font);letter-spacing:.08em;text-transform:uppercase;
  white-space:nowrap
}
.woocommerce .elly-shop .elly-card>.elly-card-action .button{width:auto;margin:0}
.woocommerce .elly-shop .elly-card a.button:hover,
.woocommerce .elly-shop .elly-card a.button:focus-visible,
.woocommerce .elly-shop .elly-card button.button:hover,
.woocommerce .elly-shop .elly-card button.button:focus-visible{
  background:transparent;background-color:transparent;color:#340714
}
.elly-shop .elly-skel{border-radius:0}
@media (min-width:900px){
  .elly-shop{
    grid-template-columns:248px minmax(0,1fr);
    grid-template-areas:"bar bar" "filters results";
  }
  .elly-shop.is-filters-collapsed{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"bar" "results";
  }
  .elly-shop.is-filters-collapsed .elly-filters{display:none}
  #elly-filters.elly-filters{
    top:calc(var(--elly-stick,0px) + var(--elly-bar,88px) + 8px);
    max-height:calc(100dvh - var(--elly-stick,0px) - var(--elly-bar,88px) - 16px);
    background:#f6f1ec;border:0;border-radius:12px;box-shadow:none
  }
  .elly-shop .elly-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .elly-shop.is-filters-collapsed .elly-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:1280px){
  .elly-shop .elly-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 16px}
  .elly-shop.is-filters-collapsed .elly-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
.elly-filters .elly-check{align-items:center;min-height:34px;margin:1px 0;padding:2px 8px;border-radius:8px}
.elly-filters .elly-check:hover{background:#fffdf8}
.elly-filters .elly-check:has(input:checked){background:#f4ebe4}
.elly-filters .elly-check input{
  appearance:none;width:15px;height:15px;margin:0;flex:0 0 15px;
  border:1.5px solid #d5ad78;border-radius:50%;background:transparent
}
.elly-filters .elly-check input:checked{border-color:#620d2e;background:radial-gradient(circle,#620d2e 0 4px,#fffdfa 5px)}
.elly-filters .elly-check input:focus-visible{outline:2px solid #620d2e;outline-offset:2px}
.elly-filter-actions{background:#f6f1ec}
@media (max-width:899px){
  .elly-bar-top{flex-wrap:wrap}
  .elly-toolbar{width:100%;justify-content:space-between}
  .elly-shop .elly-grid{gap:16px 8px}
  .elly-filter-toggle{min-height:40px}
}
@media (max-width:767px){
  .woocommerce .elly-shop .elly-card a.button,
  .woocommerce .elly-shop .elly-card button.button{min-height:32px;font-size:11px;letter-spacing:.04em}
}
html.elly-app .elly-shop .elly-card-title,
html.elly-app .elly-shop h2.elly-card-title{margin:8px 0 0}
html.elly-app .elly-shop .elly-card-price{margin:2px 0 0}
