.mk-tienda main.store-page {
  background: #f6f7f9;
}

.mk-tienda .store-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.1rem 1rem 2rem;
}

.mk-tienda .store-hero {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: end;
}

.mk-tienda .store-hero__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  color: #6b7280;
  font-weight: 700;
}

.mk-tienda .store-hero__title {
  margin: .35rem 0 0;
  font-size: clamp(2.1rem, 5.1vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.05em;
  color: #111;
  font-weight: 760;
}

.mk-tienda .store-hero__sub {
  margin: .55rem 0 0;
  color: #6b7280;
  max-width: 56ch;
}

.mk-tienda .store-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  align-items: center;
}

.mk-tienda .store-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111;
  padding: .44rem .7rem;
  font-size: .78rem;
}

.mk-tienda .store-cart-link {
  position: relative;
}

.mk-tienda .store-header-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: .62rem;
  line-height: 17px;
  text-align: center;
  padding: 0 4px;
  font-weight: 700;
}

.mk-tienda .store-toolbar {
  margin-top: .85rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  padding: .82rem;
}

.mk-tienda .store-toolbar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: .65rem;
}

.mk-tienda .store-toolbar--ghost {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.mk-tienda .store-toolbar--ghost .store-toolbar__head {
  justify-content: flex-end;
  margin-bottom: .5rem;
}

.mk-tienda .store-toolbar__nav {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.mk-tienda .store-cat-nav {
  width: 34px;
  height: 34px;
  border: 1px solid #d7dce3;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .16s ease, background-color .16s ease, opacity .16s ease;
}

.mk-tienda .store-cat-nav:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #f8fafc;
}

.mk-tienda .store-cat-nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.mk-tienda .store-cat-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.mk-tienda .store-toolbar__head h2 {
  margin: 0;
  font-size: clamp(1.08rem, 1.9vw, 1.4rem);
  letter-spacing: -.02em;
  color: #111;
}

.mk-tienda .store-toolbar__head small {
  color: #6b7280;
  font-size: .8rem;
}

.mk-tienda .store-search,
.mk-tienda .store-select {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  min-height: 46px;
}

.mk-tienda .store-search--hero {
  max-width: 220px;
  min-width: 190px;
  min-height: 34px;
  height: 34px;
  border-radius: 999px;
  border-color: #d8dee7;
  background: #fff;
  font-size: .78rem;
  padding: .2rem .75rem;
}

.mk-tienda .store-search:focus,
.mk-tienda .store-select:focus {
  border-color: rgba(17, 24, 39, .34);
  box-shadow: 0 0 0 .22rem rgba(17, 24, 39, .09);
}

.mk-tienda .store-select {
  min-width: 190px;
}

.mk-tienda .store-clear {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  min-height: 46px;
  background: #fff;
  color: #111;
  padding: 0 .95rem;
  font-weight: 620;
}

.mk-tienda .store-categories {
  margin-top: .85rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  padding: .9rem;
}

.mk-tienda .store-categories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.mk-tienda .store-categories__head h2 {
  margin: 0;
  font-size: clamp(1.08rem, 1.9vw, 1.4rem);
  letter-spacing: -.02em;
  color: #111;
}

.mk-tienda .store-categories__head small {
  color: #6b7280;
}

.mk-tienda .store-categories__row {
  margin-top: .75rem;
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scroll-snap-type: x proximity;
}

.mk-tienda .store-categories__row::-webkit-scrollbar {
  height: 6px;
}

.mk-tienda .store-categories__row::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.mk-tienda .store-pill {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  font-size: .84rem;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .16s ease, background-color .16s ease;
}

.mk-tienda .store-pill img {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: cover;
}

.mk-tienda .store-pill.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.mk-tienda .store-categories__row--cards {
  margin-top: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: .55rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .08rem .08rem .35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.mk-tienda .store-categories__row--cards .store-pill {
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: #111;
  min-height: 118px;
  width: 96px;
  min-width: 96px;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding: 0;
  white-space: normal;
  position: relative;
  font-weight: 620;
  letter-spacing: -.01em;
  box-shadow: none;
  scroll-snap-align: start;
  overflow: visible;
}

.mk-tienda .store-categories__row--cards .store-pill__media {
  width: 100%;
  height: 92px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.mk-tienda .store-categories__row--cards .store-pill__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: none;
}

.mk-tienda .store-categories__row--cards .store-pill__meta {
  position: static;
  width: 100%;
  margin-top: .32rem;
  text-align: center;
}

.mk-tienda .store-categories__row--cards .store-pill strong {
  display: block;
  font-size: .68rem;
  line-height: .68rem;
  color: #111827;
  letter-spacing: -.01em;
}

.mk-tienda .store-categories__row--cards .store-pill.is-active {
  background: transparent;
  color: #0f172a;
  box-shadow: none;
}

.mk-tienda .store-categories__row--cards .store-pill.is-active .store-pill__media {
  border-color: #0f172a;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .16);
  transform: translateY(-1px);
}

.mk-tienda .store-products {
  margin-top: .85rem;
}

.mk-tienda .store-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: .75rem;
  color: #475569;
  font-size: .88rem;
}

.mk-tienda .store-products__head .store-select {
  max-width: 220px;
  min-height: 40px;
}

.mk-tienda .store-products__head .store-clear {
  min-height: 40px;
}

.mk-tienda #storeGrid {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

.mk-tienda .store-card {
  border: 1px solid #dbe2ec;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
  height: 100%;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.mk-tienda .store-card:hover {
  transform: translateY(-2px);
  border-color: #c5d0de;
  box-shadow: 0 20px 36px rgba(15, 23, 42, .12);
}

.mk-tienda .store-card__img,
.mk-tienda .store-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: radial-gradient(circle at 50% 5%, #ffffff 0%, #edf3f9 100%);
  padding: .9rem;
}

.mk-tienda .store-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #9ca3af;
  gap: .25rem;
  font-size: .84rem;
}

.mk-tienda .store-card__body {
  padding: .95rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  gap: .55rem;
}

.mk-tienda .store-card__top {
  min-height: 4.2em;
  display: grid;
  gap: .18rem;
}

.mk-tienda .store-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .4rem;
}

.mk-tienda .store-card__price-wrap {
  min-width: 0;
  display: grid;
  gap: .2rem;
}

.mk-tienda .store-name {
  margin: 0;
  color: #0f172a;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.14;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.55em;
  font-size: 1rem;
}

.mk-tienda .store-price {
  margin-top: 0;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #0f172a;
}

.mk-tienda .store-sku {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
  color: #64748b;
  line-height: 1;
}

.mk-tienda .store-stock {
  margin-top: 0;
  align-self: flex-start;
  border-radius: 999px;
  padding: .22rem .5rem;
  font-size: .65rem;
  font-weight: 680;
  border: 1px solid transparent;
  white-space: nowrap;
}

.mk-tienda .store-stock.is-ok {
  background: #ecfdf3;
  border-color: #a7f3d0;
  color: #065f46;
}

.mk-tienda .store-stock.is-low {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.mk-tienda .store-stock.is-out {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.mk-tienda .store-btn {
  margin-top: 0;
  border: 1px solid #d2dbe7;
  border-radius: 11px;
  min-height: 38px;
  background: #fff;
  color: #0f172a;
  font-weight: 560;
  font-size: .82rem;
  width: 100%;
  min-width: 0;
  padding: 0 .85rem;
  letter-spacing: .01em;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
}

.mk-tienda .store-card .form-select,
.mk-tienda .store-card .form-control,
.mk-tienda .store-card .small {
  font-size: .84rem;
}

.mk-tienda .store-btn:hover:not(:disabled) {
  background: #f8fafd;
  border-color: #bfcddd;
}

.mk-tienda .store-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.mk-tienda .store-btn:disabled {
  opacity: .5;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.mk-tienda .store-empty {
  margin-top: .9rem;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 1.3rem;
  text-align: center;
  color: #6b7280;
  background: #fff;
}

.mk-tienda .store-pagination {
  margin-top: .72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.mk-tienda .store-pagination__info {
  color: #64748b;
  font-size: .72rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.mk-tienda .store-pagination__group {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.mk-tienda .store-page-btn {
  min-width: 30px;
  height: 30px;
  border: 1px solid #d3dce8;
  background: #fff;
  color: #0f172a;
  border-radius: 9px;
  font-size: .76rem;
  font-weight: 640;
}

.mk-tienda .store-page-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.mk-tienda .store-page-btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.mk-tienda .store-links {
  margin-top: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.mk-tienda .store-link-pill {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  padding: .44rem .74rem;
  font-size: .83rem;
}

.mk-tienda .store-link-pill:hover {
  color: #111;
  border-color: #9ca3af;
}

@media (max-width: 991.98px) {
  .mk-tienda .store-hero {
    grid-template-columns: 1fr;
  }
  .mk-tienda .store-hero__chips {
    justify-content: flex-start;
  }
  .mk-tienda .store-search--hero {
    max-width: 100%;
  }
  .mk-tienda .store-toolbar {
    grid-template-columns: 1fr;
  }
  .mk-tienda .store-toolbar__head {
    align-items: center;
  }
  .mk-tienda .store-toolbar__head small {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .mk-tienda .store-wrap {
    padding: .75rem .75rem 1.2rem;
  }
  .mk-tienda #storeGrid {
    --bs-gutter-x: .85rem;
    --bs-gutter-y: .95rem;
  }
  .mk-tienda .store-card {
    border-radius: 16px;
  }
  .mk-tienda .store-card__img,
  .mk-tienda .store-placeholder {
    aspect-ratio: 1 / 1.08;
    padding: .7rem;
  }
  .mk-tienda .store-card__body {
    padding: .8rem .82rem .88rem;
    min-height: 210px;
    gap: .45rem;
  }
  .mk-tienda .store-card__top {
    min-height: 4.6em;
  }
  .mk-tienda .store-name {
    min-height: 4.1em;
    font-size: .92rem;
  }
  .mk-tienda .store-price {
    font-size: 1.06rem;
  }
  .mk-tienda .store-sku {
    font-size: .68rem;
  }
  .mk-tienda .store-stock {
    font-size: .61rem;
    padding: .2rem .42rem;
  }
  .mk-tienda .store-btn {
    min-height: 36px;
    font-size: .78rem;
    padding: 0 .7rem;
  }
  .mk-tienda .store-card .form-select,
  .mk-tienda .store-card .form-control,
  .mk-tienda .store-card .small {
    font-size: .78rem;
  }
  .mk-tienda .store-search--hero { min-width: 0; width: 100%; }
  .mk-tienda .store-categories__row--cards .store-pill {
    width: 86px;
    min-width: 86px;
    min-height: 108px;
  }
  .mk-tienda .store-categories__row--cards .store-pill__media {
    height: 80px;
    padding-top: 0;
  }
  .mk-tienda .store-categories__row--cards .store-pill strong {
    font-size: .62rem;
    line-height: .62rem;
  }
  .mk-tienda .store-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}
