/* catalogo.css — Catálogo de la portada, tarjetas de prenda y vista rápida. */
/* Por orden de cascada: compite con otra regla de este archivo (origen: main.css). */
.oracle input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
}
/* Por orden de cascada: compite con otra regla de este archivo (origen: main.css). */
.oracle-result h3 {
  font: 400 clamp(2.8rem, 6vw, 5rem) var(--serif);
  margin: 0.3rem;
}
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--muted);
}
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.woocommerce ul.products:before,
.woocommerce ul.products:after {
  display: none;
}
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #171919;
  transition:
    filter 0.4s,
    transform 0.4s;
}
.woocommerce ul.products li.product:hover img {
  filter: brightness(1.08);
  transform: scale(0.99);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font: 400 1.45rem var(--serif);
  color: var(--ivory);
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  color: var(--gold);
}
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 7rem);
}
.woocommerce div.product .product_title {
  font: 400 clamp(2.5rem, 5vw, 5rem) var(--serif);
}
@media (max-width: 850px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}
.literal-catalog {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 22px;
  border: 1px solid rgba(166, 146, 125, 0.2);
}
.mode-switch,
.category-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mode-btn,
.filter-btn {
  border: 1px solid rgba(166, 146, 125, 0.26);
  border-radius: 2px;
  color: rgba(216, 201, 183, 0.78);
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}
.mode-btn:hover,
.mode-btn.active,
.filter-btn:hover,
.filter-btn.active {
  transform: translateY(-2px);
  color: var(--ivory);
  border-color: var(--gold);
  background: linear-gradient(
    135deg,
    rgba(166, 146, 125, 0.18),
    rgba(90, 23, 36, 0.18)
  );
}
.mode-summary {
  max-width: 420px;
  margin: 0;
  color: rgba(216, 201, 183, 0.66);
  font-size: 0.9rem;
  text-align: right;
}
.category-menu {
  gap: 10px;
  margin-bottom: 34px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    filter 260ms ease;
}
.catalog-grid.is-switching {
  opacity: 0.08;
  transform: translateY(14px) scale(0.992);
  filter: blur(3px);
  pointer-events: none;
}
.literal-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(166, 146, 125, 0.38);
  border-radius: 3px;
  background:
    radial-gradient(
      circle at 82% 6%,
      rgba(166, 146, 125, 0.13),
      transparent 11rem
    ),
    linear-gradient(145deg, rgba(216, 201, 183, 0.055), rgba(11, 48, 46, 0.12)),
    rgba(12, 14, 14, 0.86);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  animation: catalogCardIn 520ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
  animation-delay: var(--stagger);
}
.literal-product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(166, 146, 125, 0.86);
  background:
    radial-gradient(
      circle at 52% 18%,
      rgba(166, 146, 125, 0.2),
      transparent 14rem
    ),
    linear-gradient(145deg, rgba(216, 201, 183, 0.075), rgba(11, 48, 46, 0.16)),
    rgba(12, 14, 14, 0.9);
  box-shadow:
    0 36px 92px rgba(0, 0, 0, 0.68),
    0 0 34px rgba(166, 146, 125, 0.18);
}
.literal-product-card[hidden] {
  display: none;
}
.piece-number {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(8, 9, 9, 0.78);
  font-size: 0.9rem;
  z-index: 4;
}
.product-visual {
  position: relative;
  display: block;
  margin: -22px -22px 18px;
  overflow: hidden;
  background: rgba(8, 9, 9, 0.48);
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04) brightness(0.88);
  transform: scale(1.01);
  transition:
    transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1),
    filter 450ms ease;
}
.literal-product-card:hover .product-visual img {
  transform: scale(1.055);
  filter: saturate(0.95) contrast(1.06) brightness(1);
}
.card-category {
  margin: 0;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.card-content h3 {
  margin: 0.45rem 0 0.65rem;
  font: 400 1.7rem/1.05 var(--serif);
}
.card-description,
.card-symbolism {
  margin: 0.4rem 0;
  color: rgba(216, 201, 183, 0.72);
  font-size: 0.92rem;
}
.card-symbolism {
  display: none;
  color: var(--gold);
}

.card-price {
  margin-top: 0.75rem;
  color: var(--gold);
}
.card-actions {
  padding-top: 18px;
}
.card-actions .button {
  text-align: center;
}
.card-actions .button-ghost {
  background: transparent !important;
  color: var(--ivory) !important;
}
@keyframes catalogCardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 940px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .mode-summary {
    text-align: left;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .literal-product-card {
    min-height: 540px;
  }
  .product-visual {
    height: 340px;
  }
  .card-actions {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .literal-product-card,
  .product-visual img,
  .catalog-grid {
    animation: none !important;
    transition: none !important;
  }
}
.literal-product-card {
  min-height: 520px;
}
.product-visual {
  height: 250px;
}
.catalog-mode-lookbook .catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.catalog-mode-lookbook .literal-product-card {
  min-height: 680px;
}
.catalog-mode-lookbook .product-visual {
  height: 440px;
}
.catalog-mode-lookbook .card-description {
  max-width: 34rem;
}
.catalog-mode-lookbook .category-menu {
  opacity: 0.55;
}
@media (max-width: 680px) {
  .catalog-mode-lookbook .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-mode-lookbook .product-visual {
    height: 340px;
  }
}

.museum-index {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.card-symbolism h4 {
  max-width: 30rem;
  margin: 0 0 1.1rem;
  color: var(--ivory);
  font: 400 clamp(1.35rem, 2.7vw, 2rem)/1.12 var(--serif);
}
.museum-story {
  margin: 0;
  color: rgba(216, 201, 183, 0.77);
  font-size: 0.98rem;
  line-height: 1.65;
}
.museum-reading {
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(166, 146, 125, 0.3);
  color: var(--gold);
  font-size: 0.93rem;
  line-height: 1.6;
}
.museum-reading span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(216, 201, 183, 0.56);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quick-shop-panel {
  scrollbar-color: rgba(166, 146, 125, 0.72) #09100f;
  scrollbar-width: thin;
}
@media (max-width: 760px) {
  .quick-shop-media,
  .quick-shop-media img {
    min-height: 28dvh !important;
  }
  .quick-shop-media img {
    max-height: 32dvh !important;
  }
  .quick-shop-summary {
    padding: 16px 20px 22px !important;
  }
  .quick-shop-summary h3 {
    margin: 0.2rem 0 0.45rem !important;
    font-size: clamp(2.35rem, 13vw, 3.6rem) !important;
  }
  .quick-price {
    margin: 0.35rem 0 !important;
  }
  .quick-description {
    margin: 0.7rem 0 1rem !important;
  }
  .quick-stock {
    margin: 0.5rem 0 !important;
  }
  .quick-buy-row {
    margin-top: 0.6rem !important;
  }
  .quick-status {
    margin-top: 0.6rem !important;
  }
}
.product-open {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}
.quick-shop[hidden] {
  display: none;
}
.quick-shop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 42px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.quick-shop-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 5, 5, 0.82);
  backdrop-filter: blur(13px);
  cursor: zoom-out;
}
.quick-shop-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(820px, calc(100dvh - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: auto;
  border: 1px solid rgba(166, 146, 125, 0.62);
  background:
    radial-gradient(
      circle at 80% 8%,
      rgba(166, 146, 125, 0.13),
      transparent 20rem
    ),
    #09100f;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.8);
  transform: translateY(24px) scale(0.985);
  transition: transform 0.34s cubic-bezier(0.2, 0.75, 0.2, 1);
  outline: 0;
}
.quick-shop.is-open .quick-shop-panel {
  transform: none;
}
.quick-shop-close {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 0;
  color: var(--gold);
  background: rgba(9, 16, 15, 0.82);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.quick-shop-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #060908;
}
.quick-shop-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 68%, rgba(9, 16, 15, 0.48));
}
.quick-shop-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  animation: quickImageIn 0.55s ease both;
}
.quick-piece {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(8, 9, 9, 0.75);
}
.quick-shop-summary {
  align-self: center;
  padding: clamp(32px, 5vw, 72px);
}
.quick-shop-summary h3 {
  margin: 0.4rem 0 0.8rem;
  font: 400 clamp(2.9rem, 6vw, 5.8rem)/0.9 var(--serif);
}
.quick-price {
  color: var(--gold);
  font-size: 1.2rem;
}
.quick-description {
  max-width: 34rem;
  margin: 1.4rem 0 2rem;
  color: var(--muted);
}
.quick-shop-summary label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.quick-shop-summary select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 201, 183, 0.65);
  color: var(--ivory);
  background: #0d1111;
}
.quick-stock {
  min-height: 24px;
  margin: 0.75rem 0;
  color: var(--gold);
  font-size: 0.82rem;
}
.quick-buy-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 10px;
  align-items: end;
  margin-top: 1rem;
}
.quick-quantity input {
  width: 100%;
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--line);
  color: var(--ivory);
  background: #0d1111;
  text-align: center;
}
.quick-add {
  min-height: 48px;
}
.quick-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.quick-add.is-loading {
  animation: quickPulse 0.9s ease infinite;
}
.quick-status {
  min-height: 28px;
  margin: 1rem 0 0;
  color: var(--gold);
}
.quick-status button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: none;
  cursor: pointer;
}
.quick-shop-active {
  overflow: hidden;
}
@keyframes quickImageIn {
  from {
    opacity: 0.35;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes quickPulse {
  50% {
    opacity: 0.55;
  }
}
@media (max-width: 760px) {
  .quick-shop {
    padding: 0;
    place-items: end center;
  }
  .quick-shop-panel {
    width: 100%;
    max-height: 94dvh;
    grid-template-columns: 1fr;
    border-width: 1px 0 0;
  }
  .quick-shop-media {
    min-height: 36dvh;
  }
  .quick-shop-media img {
    min-height: 36dvh;
    max-height: 42dvh;
  }
  .quick-shop-media:after {
    background: linear-gradient(0deg, #09100f 0, transparent 32%);
  }
  .quick-shop-summary {
    padding: 24px 20px 30px;
  }
  .quick-shop-summary h3 {
    font-size: clamp(2.5rem, 15vw, 4.5rem);
  }
  .quick-shop-close {
    position: fixed;
  }
  .quick-buy-row {
    grid-template-columns: 78px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quick-shop,
  .quick-shop-panel,
  .quick-shop-media img,
  .quick-add {
    animation: none !important;
    transition: none !important;
  }
}
.catalog-grid,
.publication-art {
  transition:
    opacity 0.22s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}
.catalog-grid.is-switching,
.publication-art.is-switching {
  opacity: 0.08;
  transform: translateY(12px);
  filter: blur(2px);
  pointer-events: none;
}
.literal-product-card {
  transition:
    box-shadow 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.literal-product-card:hover,
.literal-product-card:focus-within {
  border-color: #a6927d;
  box-shadow:
    0 0 28px #a6927d26,
    0 20px 45px #0009;
  transform: translateY(-3px);
}
.publication-art {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.publication-art button {
  padding: 0;
  border: 1px solid #a6927d55;
  background: #080909;
  cursor: zoom-in;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.publication-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s;
}
.publication-art button:hover img {
  filter: brightness(1.12);
}

@media (max-width: 700px) {
  /* Por orden de cascada: compite con otra regla de este archivo (origen: publication.css). */
  .publication-art,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-grid,
  .publication-art,
  .literal-product-card {
    transition: none;
  }
}
/* Por orden de cascada: compite con otra regla de este archivo (origen: publication.css). */
.publication-reading section {
  border-top: 1px solid #baa18440;
  padding: 18px 0;
  text-align: left;
}
.quick-symbolism-toggle {
  margin: 0 0 24px;
  align-self: flex-start;
}
.quick-symbolism {
  margin: 0 0 28px;
  text-align: left;
  border-block: 1px solid #baa18440;
}
.quick-symbolism[hidden] {
  display: none;
}
.quick-symbolism section {
  padding: 14px 0;
}
.quick-symbolism h4 {
  font-size: 13px;
  color: #baa184;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.catalog-tools {
  align-items: center;
  border-color: var(--line);
  background: rgba(8, 13, 12, 0.48);
  backdrop-filter: blur(10px);
  padding: 16px;
}
.mode-summary:empty {
  display: none;
}
.mode-btn,
.filter-btn {
  min-height: 44px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  background: rgba(8, 14, 13, 0.5);
  border-color: var(--line);
  padding: 10px 16px;
}
.mode-btn.active,
.filter-btn.active {
  background: rgba(186, 161, 132, 0.16);
  border-color: #bba184;
  color: var(--ivory);
  box-shadow: 0 0 18px #bba07515;
  transform: none;
}
.literal-product-card {
  background: rgba(9, 17, 15, 0.62);
  backdrop-filter: blur(10px);
  border-color: var(--line);
  padding: 22px;
  min-width: 0;
}
.literal-product-card .card-content {
  min-width: 0;
  flex: 1;
}
.literal-product-card .card-content h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 18px 0 14px;
}
.literal-product-card :is(.card-description, .museum-story, .museum-reading) {
  font-size: 16px;
  line-height: 1.75;
}

.literal-product-card .card-category {
  font-size: 12px;
  color: var(--gold);
}
.card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 24px;
}
.card-actions .button {
  min-width: 0;
  width: 100%;
  padding: 12px 10px !important;
}

.quick-shop-summary {
  min-width: 0;
}
.quick-shop-summary h3 {
  overflow-wrap: anywhere;
}
.quick-shop-summary :is(select, input) {
  color: var(--ivory);
  background: rgba(8, 14, 13, 0.8);
  border-color: var(--line);
}
@media (max-width: 850px) {
  .catalog-tools {
    padding: 12px;
  }
  .catalog-tools .mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .mode-btn {
    padding: 10px 5px;
    font-size: 13px;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .literal-catalog {
    padding-top: 48px;
  }
  .category-menu {
    gap: 8px;
  }
  .filter-btn {
    font-size: 13px;
    padding: 9px 12px;
  }
  .literal-product-card .card-content h3 {
    font-size: 26px;
  }
  .card-actions .button {
    font-size: 13px !important;
  }
}
.literal-catalog .literal-product-card .product-visual {
  display: block;
  flex: 0 0 auto;
  align-self: flex-start;
  width: calc(100% + var(--photo-inset) + var(--photo-inset));
  max-width: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: calc(-1 * var(--photo-inset)) calc(-1 * var(--photo-inset)) 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  line-height: 0;
  background: #0b0e0d;
}
.literal-catalog .product-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.literal-catalog .literal-product-card:hover .product-visual img {
  transform: scale(1.025);
}
.quick-shop [data-shop-title] {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.02;
}
/* --- Modo «Historias» (template-parts/catalog.php, inc/historias.php) --- */
.mt-stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  transition: opacity 0.18s ease;
}
.mt-stories.is-switching {
  opacity: 0;
}
.mt-story-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(166, 146, 125, 0.58);
  border-radius: 3px;
  background: rgba(8, 13, 12, 0.94);
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease;
}
.mt-story-card:hover {
  transform: translateY(-4px);
  background: rgba(9, 15, 14, 0.98);
}
.mt-story-visual {
  display: block;
  width: 100%;
  height: 340px;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid rgba(166, 146, 125, 0.44);
  background: radial-gradient(ellipse at 50% 45%, rgba(166, 146, 125, 0.14), rgba(0, 0, 0, 0) 70%);
  cursor: pointer;
}
.mt-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(0.2) brightness(0.92);
  transition: filter 0.25s ease;
}
.mt-story-card:hover .mt-story-visual img {
  filter: sepia(0.1) brightness(1.05);
}
.mt-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}
.mt-story-body h3 {
  margin: 0 0 0.9rem;
  color: var(--ivory);
  font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.08 var(--serif);
}
.mt-story-excerpt {
  flex: 1;
  margin: 0 0 1.4rem;
  color: rgba(216, 201, 183, 0.8);
  line-height: 1.65;
}
.mt-story-body .button {
  align-self: flex-start;
}
.mt-story-reading .mt-story-text p {
  margin: 0 0 1rem;
  color: rgba(216, 201, 183, 0.88);
  line-height: 1.75;
}
.mt-story-reading .publication-piece-image {
  object-fit: contain;
}
@media (max-width: 760px) {
  .mt-story-visual {
    height: 280px;
  }
  .mt-story-body {
    padding: 20px;
  }
}

/* Móvil: los filtros van en una sola fila que se desliza, para que las prendas no bajen tres filas (2026-11-11). */
@media (max-width: 600px) {
  .category-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: -16px;
    padding: 4px 16px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
  }
  .category-menu::-webkit-scrollbar {
    display: none;
  }
  .category-menu .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}
