.store-listing-tienda > .store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  text-align: left;
}

.store-listing-tienda > .store-footer .store-footer-logo-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
}

.store-listing-tienda > .store-footer .store-footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 70px;
  height: auto;
}

.store-catalog-page {
  --catalog-max-width: 1420px;
  background: #f5f7f8;
}

.store-catalog-page.store-category-open { overflow: hidden; }

.store-catalog-visual {
  position: relative;
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(4, 7, 9, .82) 0%, rgba(4, 7, 9, .68) 43%, rgba(4, 7, 9, .38) 72%, rgba(4, 7, 9, .48) 100%),
    var(--store-catalog-header-image, url('../../imagenes/tienda/hero-auriculares.webp')) center 47% / cover no-repeat;
}

.store-catalog-header {
  position: relative;
  z-index: 2;
  min-height: var(--store-header-height);
  background: transparent;
}

.store-catalog-page .store-navbar {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.store-catalog-page .store-navbar.is-scrolled,
.store-catalog-page.store-admin-preview .store-navbar {
  background: rgba(7, 9, 11, .88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
}

.store-catalog-main {
  flex: 1 0 auto;
  padding: 0 24px clamp(72px, 8vw, 116px);
  background: #fff;
}

.store-catalog-top {
  padding: clamp(46px, 6vw, 82px) 24px 0;
  background: transparent;
}

.store-catalog-shell {
  width: min(var(--catalog-max-width), 100%);
  margin: 0 auto;
}

.store-catalog-heading {
  margin-bottom: clamp(26px, 3vw, 42px);
}

.store-catalog-heading p {
  margin: 0 0 8px;
  color: #21d9ed;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.store-catalog-heading h1 {
  margin: 0;
  color: #fff;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: -.065em;
  line-height: .95;
}

.store-catalog-tools {
  display: grid;
  grid-template-columns: minmax(190px, .28fr) minmax(280px, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid #e0e5e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
  transform: translateY(50%);
}

.store-catalog-results { margin-top: 43px; }

.store-catalog-category-open,
.store-catalog-search {
  min-height: 58px;
  border-radius: 8px;
}

.store-catalog-category-open {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 24px;
  border: 0;
  color: #071114;
  background: var(--store-accent);
  font: 900 .78rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.store-catalog-category-open:hover { background: #20d7ed; }
.store-catalog-category-open:active { transform: translateY(1px); }

.store-catalog-category-open svg,
.store-catalog-search svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.store-catalog-search {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 19px;
  border: 1px solid #d9e0e5;
  color: #64748b;
  background: #f9fafb;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.store-catalog-search:focus-within {
  border-color: #00abc1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 207, 232, .13);
}

.store-catalog-search input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: #101114;
  background: transparent;
  font: 600 1rem/1.3 Arial, Helvetica, sans-serif;
}

.store-catalog-search input::placeholder { color: #8a96a3; opacity: 1; }

.store-catalog-status {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px 10px;
}

.store-catalog-status-left { display: flex; min-width: 0; align-items: center; gap: 14px; }

.store-catalog-status p {
  margin: 0 4px;
  color: #7a8793;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.store-catalog-order-controls { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.store-catalog-page-size { display: flex; align-items: center; gap: 9px; color: #64748b; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.store-catalog-page-size select { min-width: 82px; min-height: 40px; padding: 0 30px 0 12px; color: #273541; background: #fff; border: 1px solid #cbd5df; border-radius: 9px; font: 800 .78rem/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.store-catalog-page-size select:focus { border-color: #00abc1; outline: 3px solid rgba(0, 207, 232, .13); }

.store-catalog-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px 7px 15px;
  border: 1px solid #b7eaf0;
  border-radius: 999px;
  color: #075f6b;
  background: #effcff;
  font: 700 .82rem/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.store-catalog-chip strong { color: #083c43; }

.store-catalog-chip svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  background: #d4f7fb;
}

.store-catalog-chip[hidden] { display: none; }
.store-catalog-price-sort { padding: 7px 15px 7px 10px; }

.store-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 30px);
}

.store-catalog-item { min-width: 0; }
.store-catalog-item[hidden] { display: none; }
.store-catalog-item .mega-product-card { height: 100%; }

.store-catalog-item .mega-product-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.store-catalog-item .mega-product-card-copy { padding: 18px 18px 22px; }
.store-catalog-item .mega-product-card-copy h3 { font-size: clamp(1.05rem, 1.45vw, 1.42rem); }
.store-catalog-item .mega-product-price strong { font-size: clamp(1.22rem, 1.65vw, 1.55rem); }

.store-catalog-empty {
  padding: 74px 24px;
  border: 1px dashed #cbd5df;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  text-align: center;
}

.store-catalog-empty[hidden] { display: none; }
.store-catalog-empty > span { display: block; color: #aab6c1; font-size: 3rem; line-height: 1; }
.store-catalog-empty h2 { margin: 14px 0 6px; color: #101114; font-size: 1.4rem; }
.store-catalog-empty p { margin: 0 0 20px; }

.store-catalog-empty button {
  appearance: none;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  color: #061216;
  background: var(--store-accent);
  font-weight: 900;
  cursor: pointer;
}

.store-catalog-pagination { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(28px, 4vw, 48px); padding: 14px 18px; background: #fff; border: 1px solid #dce4e8; border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .06); }
.store-catalog-pagination[hidden] { display: none; }
.store-catalog-pagination-summary { color: #52616d; font-size: .74rem; font-weight: 850; }
.store-catalog-pagination-controls { display: flex; align-items: center; gap: 8px; }
.store-catalog-page-button { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; color: #007f94; background: #fff; border: 1px solid #b9e6ec; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 10px rgba(15, 23, 42, .04); transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.store-catalog-page-button svg { width: 17px; height: 17px; }
.store-catalog-page-button:hover:not(:disabled) { color: #061216; background: var(--store-accent); border-color: var(--store-accent); transform: translateY(-1px); }
.store-catalog-page-button.is-forward:not(:disabled) { color: #061216; background: var(--store-accent); border-color: var(--store-accent); box-shadow: 0 7px 16px rgba(0, 198, 221, .2); }
.store-catalog-page-button:disabled { color: #9cabb6; background: #f1f5f7; border-color: #dce4e8; box-shadow: none; cursor: default; }
.store-catalog-pagination-current { min-width: 112px; color: #354550; font-size: .7rem; font-weight: 900; text-align: center; }

.store-category-backdrop {
  position: fixed;
  inset: 0;
  z-index: 129;
  background: rgba(5, 8, 11, .48);
  opacity: 0;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: opacity .28s ease;
}

.store-category-backdrop.is-open { opacity: 1; }

.store-category-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 130;
  width: min(410px, calc(100vw - 28px));
  overflow-y: auto;
  background: #fff;
  box-shadow: 24px 0 70px rgba(0, 0, 0, .2);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), visibility .34s;
}

.store-category-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

.store-category-drawer-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid #e6eaed;
}

.store-category-drawer-header a { display: block; width: 152px; }
.store-category-drawer-header img { display: block; width: 100%; height: auto; transform: scale(var(--store-front-menu-logo-scale, 1)); transform-origin: left center; }

.store-category-drawer-header button {
  appearance: none;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #d8e0e5;
  border-radius: 50%;
  color: #101114;
  background: #fff;
  cursor: pointer;
}

.store-category-drawer-header svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.store-category-drawer-body { padding: 38px 24px 32px; }
.store-category-eyebrow { margin: 0 0 7px; color: #009db4; font-size: .68rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }

.store-category-drawer-body h2 {
  margin: 0 0 28px;
  color: #101114;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  letter-spacing: -.055em;
  line-height: 1;
}

.store-category-drawer nav { display: grid; gap: 8px; }

.store-category-group { display: grid; gap: 6px; }

.store-category-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.store-category-group.has-children .store-category-entry {
  grid-template-columns: minmax(0, 1fr) 52px;
}

.store-category-drawer nav button {
  appearance: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #26313a;
  background: #f6f8f9;
  font: 800 .94rem/1.2 Arial, Helvetica, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.store-category-drawer nav .store-category-option:hover,
.store-category-drawer nav .store-category-option.is-active,
.store-category-drawer nav .store-category-parent-option[aria-expanded="true"] {
  border-color: #abe9f0;
  color: #075f6b;
  background: #edfbfd;
}

.store-category-thumb {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid #d9e4e8;
  border-radius: 11px;
  color: #008da1;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .05);
}

.store-category-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-category-thumb svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-category-option-label {
  min-width: 0;
  flex: 1 1 auto;
}

.store-category-drawer nav .store-category-option strong {
  min-width: 28px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #63717d;
  background: #fff;
  font-size: .72rem;
  text-align: center;
}

.store-category-drawer nav .store-category-toggle {
  justify-content: center;
  gap: 0;
  padding: 0;
  color: #26313a;
  background: #f6f8f9;
  border-color: transparent;
}

.store-category-drawer nav .store-category-toggle:hover,
.store-category-drawer nav .store-category-toggle[aria-expanded="true"] {
  color: #075f6b;
  background: #edfbfd;
  border-color: #abe9f0;
}

.store-category-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.store-category-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.store-subcategory-list {
  position: relative;
  display: grid;
  gap: 6px;
  margin: 1px 0 5px 19px;
  padding-left: 15px;
}

.store-subcategory-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #21cce1, #b8eef4);
  content: "";
}

.store-subcategory-list[hidden] { display: none; }

.store-category-catalogs { margin: 0 0 30px; padding: 0 0 25px; border-bottom: 1px solid #dce4e8; }
.store-category-catalogs > p { margin: 0 0 12px; color: #009db4; font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.store-category-catalogs > div { display: grid; gap: 7px; }
.store-category-catalogs a { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 15px; color: #26313a; background: #f6f8f9; border: 1px solid transparent; border-radius: 8px; font-size: .92rem; font-weight: 800; text-decoration: none; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.store-category-catalogs a:hover { color: #075f6b; background: #edfbfd; border-color: #abe9f0; }
.store-category-catalogs a svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.store-brand-filters,
.store-characteristic-filters { margin-top: 30px; padding-top: 25px; border-top: 1px solid #dce4e8; }
.store-brand-filters[hidden],
.store-characteristic-filters[hidden] { display: none; }
.store-brand-filters > p,
.store-characteristic-filters > p { margin: 0 0 12px; color: #009db4; font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.store-characteristic-filter-list { display: grid; gap: 8px; }
.store-characteristic-filter { overflow: hidden; background: #f6f8f9; border: 1px solid #dfe7eb; border-radius: 9px; }
.store-characteristic-filter[hidden] { display: none; }
.store-characteristic-filter summary { display: grid; min-height: 52px; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 10px; padding: 12px 14px; color: #26313a; font-size: .9rem; font-weight: 850; list-style: none; cursor: pointer; }
.store-characteristic-filter summary::-webkit-details-marker { display: none; }
.store-characteristic-filter summary strong { overflow: hidden; max-width: 112px; color: #70808b; font-size: .68rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.store-characteristic-filter.has-selection summary strong { color: #007f94; }
.store-characteristic-filter summary svg { width: 18px; height: 18px; fill: none; stroke: #70808b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.store-characteristic-filter[open] summary svg { transform: rotate(180deg); }
.store-characteristic-options { display: grid; gap: 3px; padding: 4px 8px 9px; border-top: 1px solid #e3eaed; }
.store-characteristic-option { display: grid; min-height: 42px; grid-template-columns: 18px auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 6px; color: #3a4852; border-radius: 7px; font-size: .82rem; font-weight: 750; cursor: pointer; }
.store-characteristic-option:hover { background: #ebf9fb; }
.store-characteristic-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.store-characteristic-check { display: grid; width: 17px; height: 17px; place-items: center; background: #fff; border: 1.5px solid #aebbc4; border-radius: 5px; }
.store-characteristic-option input:checked + .store-characteristic-check { background: #00c7df; border-color: #00aabd; }
.store-characteristic-option input:checked + .store-characteristic-check::after { width: 8px; height: 4px; border-bottom: 2px solid #062d32; border-left: 2px solid #062d32; content: ''; transform: translateY(-1px) rotate(-45deg); }
.store-characteristic-option input:focus-visible + .store-characteristic-check { outline: 3px solid rgba(0, 199, 223, .2); outline-offset: 2px; }
.store-characteristic-swatch { width: 17px; height: 17px; background: var(--characteristic-color); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #b8c4cb; }
.store-characteristic-option:not(.has-color) { grid-template-columns: 18px minmax(0, 1fr) auto; }
.store-characteristic-option.store-brand-option { min-height: 50px; grid-template-columns: 18px 34px minmax(0, 1fr) auto; column-gap: 8px; }
.store-brand-logo { display: grid; overflow: hidden; width: 34px; height: 34px; place-items: center; color: #007f94; background: #fff; border: 1px solid #d8e2e7; border-radius: 7px; font-size: .78rem; font-weight: 950; line-height: 1; }
.store-brand-logo img { display: block; width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.store-brand-option [data-brand-name] { min-width: 0; justify-self: start; }
.store-brand-option > [data-brand-count],
.store-characteristic-option > [data-characteristic-count] { display: grid; min-width: 28px; height: 28px; place-items: center; justify-self: end; padding: 0 7px; color: #63717d; background: #fff; border-radius: 999px; font-size: .72rem; font-weight: 850; text-align: center; }
.store-characteristic-option > strong { color: #8a98a2; font-size: .7rem; font-weight: 850; }
.store-characteristic-option.is-unavailable { opacity: .42; cursor: not-allowed; }

.store-category-drawer nav .store-subcategory-option {
  min-height: 48px;
  padding-block: 10px;
  background: #fff;
  border-color: #e6edf0;
  font-size: .88rem;
}

.store-category-drawer nav .store-subcategory-option .store-category-thumb {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 10px;
}

.store-catalog-page :is(.store-catalog-category-open, .store-catalog-chip, .store-catalog-empty button, .store-category-drawer button):focus-visible {
  outline: 3px solid rgba(0, 198, 221, .27);
  outline-offset: 3px;
}

@media (min-width: 781px) {
  .store-catalog-results { width: calc(100vw - 48px); max-width: none; margin-left: calc(50% - 50vw + 24px); }
}

@media (max-width: 780px) {
  .store-catalog-visual { background-position: 64% center; }
  .store-catalog-main { padding: 0 16px 76px; }
  .store-catalog-top { padding: 36px 16px 0; }
  .store-catalog-results { margin-top: 70px; }
  .store-catalog-tools { grid-template-columns: 1fr; }
  .store-catalog-category-open { justify-content: flex-start; }
  .store-catalog-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 520px) {
  .store-catalog-heading { margin-bottom: 24px; }
  .store-catalog-tools { padding: 10px; border-radius: 10px; }
  .store-catalog-category-open,
  .store-catalog-search { min-height: 54px; }
  .store-catalog-status { min-height: 62px; align-items: center; gap: 12px; padding-block: 12px; flex-wrap: wrap; }
  .store-catalog-status-left { align-items: flex-start; flex-direction: column; gap: 7px; }
  .store-catalog-status p { margin: 0 2px; }
  .store-catalog-page-size span { display: none; }
  .store-catalog-item .mega-product-card-copy { padding: 17px 17px 21px; }
  .store-catalog-pagination { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px; }
  .store-catalog-pagination-controls { width: 100%; justify-content: space-between; }
  .store-catalog-pagination-current { min-width: 0; }
  .store-category-drawer-header { min-height: 82px; padding: 16px 18px; }
  .store-category-drawer-header a { width: 132px; }
  .store-category-drawer-body { padding: 30px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-category-drawer,
  .store-category-backdrop { transition: none; }
}

@media (max-width: 600px) {
  .store-listing-tienda > .store-footer {
    min-height: 64px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  }

  .store-listing-tienda > .store-footer > p:only-child {
    margin-inline: auto;
    text-align: center;
  }
}

/* Fotos opcionales de categorías, compartidas por el menú y el panel de Tienda. */
.store-category-drawer nav .store-category-thumb {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid #d9e4e8;
  border-radius: 11px;
  color: #008da1;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .05);
}
.store-category-drawer nav .store-category-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-category-drawer nav .store-category-thumb svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.store-category-drawer nav .store-category-option-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
.store-category-drawer nav .store-category-option strong { flex: 0 0 auto; }
.store-category-drawer nav .store-subcategory-option .store-category-thumb {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 10px;
}
