@charset "utf-8";
/* Shared PRODUCT / FOOD filters, badges and store labels. */
.product-badge { display: flex; justify-content: center; align-items: center; padding: 0 calc(1 * var(--store-unit)); height: calc(2.8 * var(--store-unit)); border-radius: calc(9 * var(--store-unit)); background: #e61011; color: #fff; font-size: calc(1.6 * var(--store-unit)); font-weight: 700; line-height: 1; letter-spacing: calc(-.024 * var(--store-unit)); white-space: nowrap; }
.product-filter { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: calc(1 * var(--store-unit)); width: calc(63 * var(--store-unit)); max-width: 100%; margin-left: auto; }
.product-filter summary, .product-filter .product-filter__category { display: flex; justify-content: center; align-items: center; gap: calc(.8 * var(--store-unit)); width: 100%; min-height: calc(3.6 * var(--store-unit)); padding: .25em .35em; font-size: calc(1.6 * var(--store-unit)); font-weight: 700; line-height: 1.35; letter-spacing: calc(-.024 * var(--store-unit)); background: #d9d9d9; text-align: center; overflow-wrap: anywhere; }
.product-filter summary { list-style: none; background: var(--store-orange); cursor: pointer; transition: opacity .25s ease; }
.product-filter summary > span { min-width: 0; }
.product-filter__stores--plain summary { background: #d9d9d9; }
.product-filter summary::-webkit-details-marker { display: none; }
.product-filter summary:hover { opacity: .75; }
.product-filter summary:focus-visible { outline: calc(.3 * var(--store-unit)) solid #0075c1; outline-offset: calc(.3 * var(--store-unit)); }
.product-filter summary img { flex: none; width: calc(.6 * var(--store-unit)); height: calc(1.04 * var(--store-unit)); transform: rotate(90deg); transition: transform .25s ease; }
.product-filter details[open] summary img { transform: rotate(-90deg); }
.product-filter__options { position: absolute; top: calc(100% + 1.6 * var(--store-unit)); left: 0; width: calc(28.6 * var(--store-unit)); padding: calc(2.1 * var(--store-unit)) calc(1.3 * var(--store-unit)); display: grid; gap: calc(1.6 * var(--store-unit)); border: calc(.1 * var(--store-unit)) solid var(--store-ink); background: #fff; box-shadow: 0 calc(.5 * var(--store-unit)) calc(.5 * var(--store-unit)) rgb(0 0 0 / .2); }
.product-filter__options a {
  display: flex;
  align-items: center;
  gap: calc(1 * var(--store-unit));
  padding: calc(.4 * var(--store-unit)) calc(.7 * var(--store-unit));
  font-size: calc(1.8 * var(--store-unit));
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}
.product-filter__options a[aria-current="true"] { background: var(--store-orange); }
.product-filter__options img { flex: none; width: calc(.7 * var(--store-unit)); height: calc(1.2 * var(--store-unit)); transform: rotate(90deg); }
.product-filter__options a[aria-current="true"] img { display: none; }
.product-filter .product-filter__category[aria-current="true"] { column-gap: .3em; }
.product-filter__stores:not(.product-filter__stores--plain) > summary::before,
:is(.product-filter__category, .product-filter__options a)[aria-current="true"]::before {
  content: '';
  flex: none;
  box-sizing: border-box;
  width: .45em;
  height: .7em;
  border: solid currentColor;
  border-width: 0 .14em .14em 0;
  transform: translateY(-.05em) rotate(45deg);
}
.product-badges { display: flex; align-items: flex-start; flex-wrap: wrap; gap: calc(.8 * var(--store-unit)); }
.product-badge--limited { background: #bf5600; }
.product-badge--goods { background: #007f38; }
.product-stores { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: calc(.5 * var(--store-unit)); }
.product-stores li { display: flex; align-items: center; justify-content: center; min-height: calc(2.5 * var(--store-unit)); padding-inline: calc(.2 * var(--store-unit)); background: #fff; border: calc(.1 * var(--store-unit)) solid var(--store-ink); font-size: calc(1.5 * var(--store-unit)); font-weight: 500; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.product-stores--detail { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 767px) {
  .product-stores--detail { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .product-filter { display: flex; flex-wrap: wrap; width: 100%; }
  .product-filter > .product-filter__stores { flex: 2 0 max-content; max-width: 100%; }
  .product-filter .product-filter__category { flex: 1 0 max-content; width: auto; max-width: 100%; }
  .product-filter summary, .product-filter .product-filter__category {
    min-height: max(var(--store-mobile-target), calc(7 * var(--store-unit)));
    height: auto;
    padding: .3em .35em;
    font-size: max(var(--store-mobile-small-font), calc(2.4 * var(--store-unit)));
    line-height: 1.35;
    text-align: center;
  }
  .product-filter > .product-filter__stores > summary { height: 100%; }
  .product-filter__options { top: calc(100% + 1.6 * var(--store-unit)); width: min(100%, calc(55 * var(--store-unit))); gap: calc(2 * var(--store-unit)); }
  .product-filter__options a { min-height: var(--store-mobile-target); font-size: max(var(--store-mobile-small-font), calc(2.8 * var(--store-unit))); line-height: 1.45; }
  .product-filter summary img, .product-filter__options img { flex: none; width: calc(1 * var(--store-unit)); height: calc(1.7 * var(--store-unit)); }
  .product-stores { grid-template-columns: 1fr; gap: calc(.8 * var(--store-unit)); }
  .product-stores li { height: auto; min-height: calc(4.4 * var(--store-unit)); font-size: max(var(--store-mobile-small-font), calc(2.4 * var(--store-unit))); line-height: 1.45; padding: calc(.5 * var(--store-unit)) calc(.8 * var(--store-unit)); white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .product-stores--detail { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .product-badge { font-size: max(var(--store-mobile-small-font), calc(2.2 * var(--store-unit))); height: auto; min-height: calc(3.6 * var(--store-unit)); line-height: 1.4; padding-block: calc(.3 * var(--store-unit)); }
  /* Keep card labels tied to the browser text size as the viewport narrows. */
  :is(.food-card, .product-card) :is(.product-badges, .product-stores) { font-size: medium; }
  :is(.food-card, .product-card) .product-badge {
    max-width: 100%;
    min-height: 0;
    padding: .2em .28em;
    font-size: max(.85em, calc(2.3 * var(--store-unit)));
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .product-card .product-badges { margin-inline: -.5rem; column-gap: .3rem; }
  :is(.food-card, .product-card) .product-stores li {
    font-size: max(.85em, calc(2.5 * var(--store-unit)));
  }
  .food-card .product-stores li, .food-dialog__stores li { font-size: .8125em; }
}
@media (prefers-reduced-motion: reduce) {
  .product-filter summary, .product-filter summary img { transition: none; }
}

:is(.food-catalog, .product-catalog) :is([data-catalog-keys], [data-catalog-key])[hidden],
.product-filter__options li[hidden] { display: none; }
