:root {
  --surface-bg: #fff6ef;
  --surface-card: #ffffff;
  --surface-soft: #eef2ff;
  --border-weak: rgba(23, 37, 84, 0.08);
  --border-strong: rgba(23, 37, 84, 0.12);
  --shadow-soft: 0 22px 48px -32px rgba(15, 23, 42, 0.35);
  --shadow-hover: 0 34px 66px -36px rgba(15, 23, 42, 0.38);
  --text-primary: #1f2937;
  --text-muted: #6b7280;
  --accent-main: #ff9f1a;
  --accent-strong: #f08200;
  --accent-soft: #fff4df;
  --accent-soft-strong: #ffe3b3;
  --success: #22c55e;
  --danger: #ef4444;
  --radius-card: 20px;
  --radius-pill: 999px;
  --font-base: 'Inter', 'Segoe UI', sans-serif;
}

.home-section--reco {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-weak);
  box-shadow: var(--shadow-soft);
}

.home-section--reco .home-section__title,
.home-section--reco .home-section__subtitle {
  color: var(--text-primary);
}

.reco-stack {
  display: grid;
  gap: 16px;
}

.reco-rail {
  border: 1px solid var(--border-weak);
  border-radius: 16px;
  padding: 16px;
  background: #fbfdff;
}

.reco-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.reco-rail__copy h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 19px;
  line-height: 1.25;
}

.reco-rail__copy p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.reco-rail__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.reco-rail__more {
  text-decoration: none;
  color: #233956;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid #d8e4f3;
  background: #f3f7fc;
  padding: 8px 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.reco-rail__more:hover,
.reco-rail__more:focus {
  border-color: #c2d4ea;
  background: #eaf1fa;
}

.reco-rail__slider {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
}

.reco-rail__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d2deed;
  background: #ffffff;
  color: #3f5979;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(37, 68, 102, 0.08);
}

.reco-rail__nav:hover,
.reco-rail__nav:focus {
  background: #f2f7fd;
}

.reco-rail__nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.reco-rail__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reco-rail__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.reco-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 252px);
  gap: 12px;
  padding-bottom: 4px;
}

.home-section--reco .reco-card {
  border: 1px solid #d8e4f2;
  background: #ffffff;
  min-height: 100%;
}

.home-section--reco .reco-card .product-card__figure {
  height: 172px;
}

.home-section--reco .reco-card .product-card__image-link {
  min-height: 172px;
}

.home-section--reco .reco-card .product-card__price {
  font-size: 20px;
  color: #1c3b62;
}

.home-section--reco .reco-card .product-card__title {
  font-size: 16px;
}

.home-section--reco .reco-card__meta {
  margin-top: 6px;
  color: #667f9e;
  font-size: 12px;
}

.home-section--reco .reco-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 1024px) {
  .reco-rail__copy h3 {
    font-size: 17px;
  }

  .reco-rail__copy p {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .reco-rail {
    padding: 12px;
  }

  .reco-rail__header {
    flex-wrap: wrap;
  }

  .reco-rail__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .reco-rail__slider {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .reco-rail__nav {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .reco-rail__track {
    grid-auto-columns: minmax(214px, 230px);
  }
}

body {
  background: var(--surface-bg);
  color: var(--text-primary);
  font-family: var(--font-base);
}

.home-section {
  position: relative;
  margin: 0 auto 36px;
  padding: 28px 28px 32px;
  max-width: 1240px;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-weak);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.home-section + .home-section {
  margin-top: 40px;
}

.home-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.home-section__title-group {
  max-width: 640px;
}

.home-section__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
}

.home-section__subtitle {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.home-section__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.home-section__actions--filters {
  gap: 8px;
}

.home-section__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-strong);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  text-decoration: none;
}

.home-filter:hover,
.home-filter:focus {
  background: var(--accent-main);
  color: #1f1f1f;
}

.home-filter--active {
  background: var(--accent-main);
  color: #1f1f1f;
}

.home-filter--link {
  border: 1px solid transparent;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  color: var(--accent-strong);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.product-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-grid--search {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.product-grid--related {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface-card) 0%, #f7f9ff 100%);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-weak);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-card__figure {
  position: relative;
  border-bottom: 1px solid var(--border-weak);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-card__image-link img,
.product-card__placeholder {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image-link img {
  transform: scale(1.05);
}

.product-card__ribbon {
  position: absolute;
  top: 18px;
  right: -52px;
  left: auto;
  display: inline-block;
  padding: 8px 28px 10px 68px;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1f2937;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(45deg);
  transform-origin: 100% 0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
  pointer-events: none;
  z-index: 2;
}

.product-card__ribbon::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  right: auto;
  border-top: 12px solid #b45309;
  border-right: 12px solid transparent;
}

.product-card__stock-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__stock {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
}

.product-card__tag i {
  font-size: 0.75rem;
}

.product-card__tag--sale {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
}

.product-card__tag--trend {
  background: rgba(59, 130, 246, 0.16);
  color: #2563eb;
}

.product-card__tag--shipping {
  background: rgba(14, 165, 233, 0.16);
  color: #0284c7;
}

.product-card__tag--new {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.product-card__tag--top {
  background: rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

.product-card__tag--recommend {
  background: rgba(250, 204, 21, 0.25);
  color: #92400e;
}

.product-card__favorite {
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: none;
}

.product-card__favorite:hover {
  background: rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

.product-card__favorite[aria-pressed="true"],
.product-card__favorite.is-active {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  box-shadow: 0 12px 24px -16px rgba(185, 28, 28, 0.85);
}

.product-card__favorite[aria-pressed="true"] i,
.product-card__favorite.is-active i {
  color: #b91c1c;
}

.product-card__favorite i {
  font-size: 1rem;
}

.product-card__footer-actions {
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.product-card__footer-actions > * {
  flex-shrink: 0;
}

.product-card__footer-actions .product-card__cta {
  flex: 1 1 140px;
  min-width: 140px;
  justify-content: center;
  order: 2;
}

.product-card__footer-actions .product-card__favorite {
  order: 3;
}

.product-card__body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.product-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.product-card__category {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.15);
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--accent-strong);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.product-card__meta-item i {
  margin-right: 6px;
  color: rgba(30, 64, 175, 0.8);
}

.product-card__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__summary-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-card__summary-item i {
  color: #2563eb;
}

.product-card__summary--trend .product-card__summary-item:first-child i {
  color: #f97316;
}

.product-card__excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px 24px;
  margin-top: auto;
}

.product-card__footer--split {
  gap: 12px;
}

.product-card__stats {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.product-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card__stat i {
  color: var(--accent-strong);
}

.product-card__cta,
.product-card__cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--accent-main);
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-card__cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.product-card__secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-weak);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease;
}

.product-card__secondary:hover {
  border-color: var(--accent-main);
  color: var(--accent-strong);
}

.product-card__follow {
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 0.82rem;
  order: 1;
}

.product-card__follow.is-active {
  border-color: var(--accent-main);
  background: rgba(250, 204, 21, 0.18);
  color: var(--accent-strong);
}

.product-card__follow.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.product-grid__empty,
.home-section__empty {
  grid-column: 1 / -1;
  padding: 40px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed var(--border-weak);
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
}

.search-results {
  max-width: 1240px;
  margin: 32px auto 48px;
  padding: 0 28px;
}

.search-results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.search-results__title {
  margin: 0 0 6px;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.search-results__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.filter__container-buscador {
  position: relative;
}

.filter-container {
  position: relative;
}

.filter-container > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-weak);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-container > button:hover {
  border-color: var(--accent-main);
  box-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.35);
}

.filter-options {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  padding: 18px 20px;
  background: var(--surface-card);
  border-radius: 16px;
  border: 1px solid var(--border-weak);
  box-shadow: var(--shadow-soft);
  z-index: 30;
}

.filter-options.active {
  display: block;
}

.filter-options label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.filter-options input,
.filter-options select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-weak);
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(249, 250, 255, 0.95);
}

.filter-options input:focus,
.filter-options select:focus {
  border-color: var(--accent-main);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 64, 0.2);
}

.filter_aplicar {
  display: flex;
  justify-content: flex-end;
}

.filter_aplicar button {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  background: var(--accent-main);
  color: #1f1f1f;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter_aplicar button:hover {
  background: var(--accent-strong);
}

.related-products {
  max-width: 1140px;
  margin: 48px auto 32px;
  padding: 0 28px;
}

.related-products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.related-products__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.related-products__subtitle {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.related-products__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-weak);
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.related-products__link:hover {
  border-color: var(--accent-main);
  background: var(--accent-soft);
}

.compare-drawer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: min(540px, 92vw);
  background: #1f2937;
  border-radius: 18px;
  padding: 18px 22px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #f8fafc;
  box-shadow: 0 28px 64px -32px rgba(15, 23, 42, 0.55);
  z-index: 90;
}

.compare-drawer.is-visible {
  display: flex;
}

.compare-drawer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compare-drawer__item {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 600;
}

.compare-drawer__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-drawer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--accent-main);
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
}

.compare-drawer__close {
  background: transparent;
  border: none;
  color: rgba(248, 250, 252, 0.7);
  font-size: 1.3rem;
  cursor: pointer;
}

.ui-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent-main);
  color: #1f1f1f;
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: 0 20px 40px -26px rgba(15, 23, 42, 0.45);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 95;
}

.ui-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.local-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface-card) 0%, #f7f9ff 100%);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-weak);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.local-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.local-card__media {
  position: relative;
  border-bottom: 1px solid var(--border-weak);
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.local-card__media img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.local-card__distance {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  gap: 6px;
}

.local-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
}

.local-card__body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.local-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.local-card__title a {
  color: inherit;
  text-decoration: none;
}

.local-card__title a:hover {
  color: var(--accent-strong);
}

.local-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.local-card__price {
  font-weight: 800;
  color: var(--text-primary);
}

.local-card__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.local-card__location i {
  color: rgba(34, 197, 94, 0.85);
}

.local-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.local-card__meta i {
  margin-right: 4px;
  color: #64748b;
}

.local-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.local-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-weak);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.local-card__icon:hover {
  border-color: var(--accent-main);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.local-card__icon[aria-pressed="true"],
.local-card__icon.is-active {
  border-color: rgba(220, 38, 38, 0.5);
  color: #b91c1c;
  background: #fee2e2;
  box-shadow: 0 10px 20px -14px rgba(185, 28, 28, 0.85);
}

.local-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-main);
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.local-card__btn:hover {
  background: var(--accent-strong);
}

.fab-top {
  position: fixed;
  right: 18px;
  bottom: 30px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.fab-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notifications-trigger {
  position: relative;
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  margin-left: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notifications-trigger:focus-visible {
  outline: 2px solid var(--accent-main);
  outline-offset: 4px;
}

.notifications-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notifications-badge.is-visible {
  display: inline-flex;
}

.notifications-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.notifications-modal.is-visible {
  display: flex;
}

.notifications-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.notifications-modal__card {
  position: relative;
  width: min(420px, 92vw);
  max-height: min(540px, 88vh);
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-weak);
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  z-index: 1;
}

.notifications-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-weak);
}

.notifications-modal__header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.notifications-modal__close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.notifications-modal__close:hover {
  color: var(--accent-strong);
}

.notifications-modal__content {
  padding: 0;
  overflow-y: auto;
  background: var(--surface-soft);
}

.notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notifications-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-weak);
  background: transparent;
}

.notifications-item:last-child {
  border-bottom: none;
}

.notifications-item.is-unread {
  background: rgba(255, 184, 28, 0.1);
}

.notifications-item__avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.notifications-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notifications-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.notifications-item__body a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.notifications-item__body a:hover {
  color: var(--accent-strong);
}

.notifications-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.notifications-empty {
  padding: 32px 24px;
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .home-section {
    padding: 24px 22px 28px;
  }

  .product-grid,
  .product-grid--compact,
  .product-grid--search,
  .product-grid--related,
  .local-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .search-results {
    padding: 0 22px;
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 22px 18px 26px;
  }

  .home-section__header,
  .search-results__head,
  .related-products__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid,
  .product-grid--compact,
  .product-grid--search,
  .product-grid--related,
  .local-grid {
    grid-template-columns: 1fr;
  }

  .product-card__figure {
    min-height: 200px;
  }

  .product-card__body {
    padding: 20px 18px 18px;
  }

  .product-card__footer {
    padding: 0 18px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .product-card__stats {
    justify-content: space-between;
    width: 100%;
  }

  .product-card__cta,
  .product-card__secondary {
    width: 100%;
    justify-content: center;
  }

  .filter-options {
    right: auto;
    left: 0;
    width: min(320px, 90vw);
  }

  .compare-drawer {
    width: min(94vw, 420px);
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Home product cards: clean-v3 */
:root {
  --market-bg: #fff6ef;
  --market-bg-warm:
    radial-gradient(1200px 280px at 12% -8%, rgba(251, 191, 36, 0.2), transparent 62%),
    radial-gradient(1200px 340px at 88% -12%, rgba(251, 146, 60, 0.17), transparent 58%),
    #fff6ef;
  --market-card: #ffffff;
  --market-border: #e3e6ea;
  --market-border-strong: #d4dae1;
  --market-text: #333333;
  --market-muted: #666666;
  --market-link: #3483fa;
  --market-link-hover: #1259c3;
  --market-accent: #f97316;
  --market-chip: #fff6d9;
  --market-chip-text: #7b6205;
  --market-success: #00a650;
  --market-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  --market-shadow-hover: 0 12px 24px -18px rgba(0, 0, 0, 0.28);
}

body {
  background: var(--market-bg-warm);
}

:is(.home-section--deals, .home-section--featured, .home-section--trending) {
  max-width: 1240px;
  margin: 0 auto 24px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

:is(.home-section--featured, .home-section--trending) {
  padding: 18px 20px 22px;
  background: var(--market-card);
  border: 1px solid var(--market-border);
  border-radius: 14px;
  box-shadow: var(--market-shadow);
}

:is(.home-section--deals, .home-section--featured, .home-section--trending) .home-section__header {
  margin-bottom: 12px;
  padding: 0 4px;
}

:is(.home-section--featured, .home-section--trending) .home-section__header {
  margin-bottom: 18px;
  padding: 0;
}

:is(.home-section--deals, .home-section--featured, .home-section--trending) .home-section__title {
  margin: 0;
  font-size: 1.46rem;
  font-weight: 700;
  color: var(--market-text);
}

:is(.home-section--deals, .home-section--featured, .home-section--trending) .home-section__subtitle {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: var(--market-muted);
  line-height: 1.42;
}

:is(.home-section--deals, .home-section--featured, .home-section--trending) .home-filter--link {
  color: var(--market-link);
  text-decoration: none;
  font-weight: 700;
  background: transparent;
  border: 0;
  padding: 0;
}

:is(.home-section--deals, .home-section--featured, .home-section--trending) .home-filter--link:hover {
  color: var(--market-link-hover);
  text-decoration: underline;
}

.home-section--deals .product-grid {
  margin-top: 0;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
}

.home-section--deals .product-card {
  display: flex;
  flex-direction: column;
  background: var(--market-card);
  border: 1px solid var(--market-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-section--deals .product-card:hover {
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.14);
  transform: translateY(-2px);
}

.home-section--deals .product-card__figure {
  position: relative;
  min-height: 196px;
  border-bottom: 1px solid #edf0f4;
  background: #ffffff;
}

.home-section--deals .product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 196px;
  padding: 14px;
}

.home-section--deals .product-card__image-link img,
.home-section--deals .product-card__placeholder {
  width: 100%;
  max-height: 168px;
  object-fit: contain;
}

.home-section--deals .product-card:hover .product-card__image-link img {
  transform: none;
}

.product-card__chip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--market-chip);
  color: var(--market-chip-text);
  border: 1px solid #f1e0a6;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-card__chip--sale {
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
  border-color: #fb7185;
  color: #9f1239;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.14);
}

.product-card__chip--trend {
  background: #e6faf7;
  color: #0b5f58;
}

.product-card__chip--sponsored {
  background: #fff4ce;
  color: #7a5b00;
  border: 1px solid #f0d27a;
}

.product-card__chip--service,
.product-card__chip--service-home,
.product-card__chip--service-urgency,
.product-card__chip--service-ia,
.product-card__chip--service-launchpad {
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 10px 20px -16px rgba(15, 23, 42, 0.45);
}

.product-card__chip--service-home {
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  border-color: #a5b4fc;
  color: #3730a3;
}

.product-card__chip--service-urgency {
  background: linear-gradient(135deg, #fff1f2, #fecdd3);
  border-color: #fb7185;
  color: #9f1239;
}

.product-card__chip--service-ia {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border-color: #22d3ee;
  color: #155e75;
}

.product-card__chip--service-launchpad {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-color: #4ade80;
  color: #166534;
}

.product-card__favorite--floating {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #6b7280;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.14);
}

.product-card__favorite--floating:hover {
  border-color: #d4dae3;
  background: #ffffff;
  transform: none;
}

.product-card__favorite--floating.is-active,
.product-card__favorite--floating[aria-pressed="true"] {
  background: #ffe7ec;
  border-color: #ffd2db;
  color: #c63653;
  box-shadow: none;
}

.home-section--deals .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

.home-section--deals .product-card__price {
  font-size: 1.56rem;
  font-weight: 400;
  color: var(--market-text);
}

.home-section--deals .product-card__title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: 2.5em;
}

.home-section--deals .product-card__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-section--deals .product-card__title a:hover {
  color: var(--market-link-hover);
}

.product-card__shipping {
  margin: 0;
  font-size: 0.81rem;
  color: var(--market-success);
  font-weight: 600;
}

.product-card__social-proof {
  margin: 0;
  font-size: 0.78rem;
  color: #6f7782;
}

.product-card__social-separator {
  margin: 0 6px;
  color: #d1d5db;
}

.product-card__view-link,
.product-card__view-link:visited {
  position: relative;
  z-index: 6;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--market-link);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.product-card__view-link::after {
  content: ">";
  font-size: 0.9rem;
  line-height: 1;
}

.product-card__view-link:hover {
  color: var(--market-link-hover);
  text-decoration: underline;
}

.product-card__view-link--hero {
  font-size: 0.95rem;
}

.product-card__footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
}

.product-card__seller {
  font-size: 0.76rem;
  color: #7f8b97;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__follow-link {
  border: 0;
  background: transparent;
  color: var(--market-link);
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.product-card__follow-link:hover {
  color: var(--market-link-hover);
  text-decoration: underline;
}

.product-card__follow-link.is-active {
  color: #0b5f58;
}

.product-card__follow-link.is-disabled {
  color: #9ca3af;
  pointer-events: none;
}

.featured-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.featured-hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  background: var(--market-card);
  border: 1px solid var(--market-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--market-shadow);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.featured-hero:hover {
  border-color: var(--market-border-strong);
  box-shadow: var(--market-shadow-hover);
  transform: translateY(-1px);
}

.featured-hero__media {
  position: relative;
  min-height: 270px;
  border-right: 1px solid #edf0f4;
  background: var(--market-card);
}

.featured-hero__media a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.featured-hero__media img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.featured-hero__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
}

.featured-hero__price {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--market-text);
}

.featured-hero__title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.34;
}

.featured-hero__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-hero__title a:hover {
  color: var(--market-link-hover);
}

.featured-hero__proof {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #66758a;
}

.featured-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.featured-hero__actions .product-card__view-link,
.featured-inline__actions .product-card__view-link,
.trend-item__actions .trend-item__view-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 120px;
  padding: 8px 15px;
  border-radius: 7px;
  border: 1px solid var(--market-link);
  background: var(--market-link);
  color: #ffffff;
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.featured-hero__actions .product-card__view-link::after,
.featured-inline__actions .product-card__view-link::after,
.trend-item__actions .trend-item__view-link::after {
  content: none;
}

.featured-hero__actions .product-card__view-link:hover,
.featured-inline__actions .product-card__view-link:hover,
.trend-item__actions .trend-item__view-link:hover {
  background: var(--market-link-hover);
  border-color: var(--market-link-hover);
  color: #ffffff;
  text-decoration: none;
}

.featured-hero__actions .product-card__follow-link,
.featured-inline__actions .product-card__follow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 120px;
  padding: 8px 15px;
  border: 1px solid #ccd8f7;
  border-radius: 7px;
  background: #f7faff;
  color: var(--market-link);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.featured-hero__actions .product-card__follow-link:hover,
.featured-inline__actions .product-card__follow-link:hover {
  border-color: #bcd0ff;
  background: #edf4ff;
  color: var(--market-link-hover);
  text-decoration: none;
}

.featured-hero__actions .product-card__follow-link.is-active,
.featured-inline__actions .product-card__follow-link.is-active {
  background: #e8f7ef;
  border-color: #b8e6cd;
  color: #0a7a53;
}

.featured-hero__shipping,
.featured-mini__shipping,
.featured-inline__shipping {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #bfe8cc;
  background: #e9f7ee;
  color: var(--market-success);
  font-size: 0.72rem;
  font-weight: 700;
}

.featured-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.featured-mini {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--market-border);
  border-radius: 12px;
  box-shadow: var(--market-shadow);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.featured-mini:hover {
  border-color: var(--market-border-strong);
  box-shadow: var(--market-shadow-hover);
  transform: translateY(-1px);
}

.featured-mini__media {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eceff2;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.featured-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-mini__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-mini__title {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.3;
}

.featured-mini__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-mini__title a:hover {
  color: var(--market-link-hover);
}

.featured-mini__price {
  font-size: 1.16rem;
  font-weight: 400;
  color: var(--market-text);
}

.featured-mini__proof {
  margin: 0;
  font-size: 0.78rem;
  color: #6f7782;
}

.featured-mini__view-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  min-width: 98px;
  padding: 7px 12px;
  gap: 0;
  border: 1px solid #ccd8f7;
  border-radius: 7px;
  background: #f7faff;
  color: var(--market-link);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.77rem;
  white-space: nowrap;
}

.featured-mini__view-link::after {
  content: none;
}

.featured-mini__view-link:hover {
  color: var(--market-link-hover);
  border-color: #bcd0ff;
  background: #edf4ff;
  text-decoration: none;
}

.trend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  margin: 0;
}

.trend-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 88px minmax(0, 1fr) auto;
  grid-template-areas: "rank thumb content actions";
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--market-card);
  border: 1px solid var(--market-border);
  border-radius: 12px;
  box-shadow: var(--market-shadow);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.trend-item:hover {
  border-color: var(--market-border-strong);
  box-shadow: var(--market-shadow-hover);
  transform: translateY(-1px);
}

.trend-item__rank {
  grid-area: rank;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f3f9ff;
  color: var(--market-link);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.84rem;
  border: 1px solid #d5e7ff;
}

.trend-item:nth-child(1) .trend-item__rank {
  background: #fff6d8;
  border-color: #ffe49a;
  color: #8f6100;
}

.trend-item:nth-child(2) .trend-item__rank {
  background: #eef3fd;
  border-color: #dae4f7;
  color: #385a92;
}

.trend-item:nth-child(3) .trend-item__rank {
  background: #fbefe3;
  border-color: #f0d4bb;
  color: #945113;
}

.trend-item__thumb {
  grid-area: thumb;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eceff2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.trend-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trend-item__content {
  grid-area: content;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trend-item__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5f8fc;
  border: 1px solid #e1e7ef;
  color: #5d6b7c;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trend-item__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.32;
}

.trend-item__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-item__title a:hover {
  color: var(--market-link-hover);
}

.trend-item__proof {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.78rem;
  color: #6a7787;
}

.trend-item__bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.trend-item__price {
  font-size: 1.48rem;
  font-weight: 400;
  color: var(--market-text);
  letter-spacing: -0.02em;
}

.trend-item__shipping {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.73rem;
  color: var(--market-success);
  background: #e9f7ee;
  border: 1px solid #bfe8cc;
  font-weight: 700;
}

.trend-item__actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
}

.trend-item__actions .product-card__favorite {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  background: #ffffff;
  border: 1px solid #d0d7e2;
  color: #6b7280;
  box-shadow: none;
}

.trend-item__actions .product-card__favorite:hover {
  background: #f8fafc;
  transform: none;
}

.trend-item__actions .product-card__favorite.is-active,
.trend-item__actions .product-card__favorite[aria-pressed="true"] {
  background: #ffe7ec;
  border-color: #ffd2db;
  color: #c63653;
}

.trend-item__actions .trend-item__view-link {
  width: 100%;
  max-width: 122px;
}

.listing-results {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.listing-results .product-grid__loading,
.listing-results .product-grid__empty {
  grid-column: 1 / -1;
}

.listing-results--default,
.listing-results--ofertas,
.listing-results--tienda {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.listing-results .listing-card {
  display: flex;
  flex-direction: column;
  background: var(--market-card);
  border: 1px solid var(--market-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}

.listing-results .listing-card--sponsored {
  border-color: #f0d27a;
  box-shadow: 0 0 0 1px rgba(240, 210, 122, 0.45), 0 1px 3px rgba(16, 24, 40, 0.1);
}

.listing-results .listing-card--sponsored .product-card__figure {
  background: linear-gradient(180deg, #fffdf3 0%, #ffffff 36%);
}

.listing-results .listing-card .product-card__figure {
  position: relative;
  min-height: 196px;
  border-bottom: 1px solid #edf0f4;
  background: #ffffff;
}

.listing-results .listing-card .product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 196px;
  padding: 14px;
}

.listing-results .listing-card .product-card__image-link img,
.listing-results .listing-card .product-card__placeholder {
  width: 100%;
  max-height: 168px;
  object-fit: contain;
}

.listing-results .listing-card .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

.listing-results .listing-card .product-card__price {
  font-size: 1.56rem;
  font-weight: 400;
  color: var(--market-text);
}

.listing-results .listing-card .product-card__title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: 2.5em;
}

.listing-results .listing-card .product-card__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-results .listing-card .product-card__title a:hover {
  color: var(--market-link-hover);
}

.listing-results--destacados,
.listing-results--tendencias {
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin: 0 auto;
  gap: 12px;
}

.featured-inline {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--market-card);
  border: 1px solid var(--market-border);
  border-radius: 12px;
  box-shadow: var(--market-shadow);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.featured-inline:hover {
  border-color: var(--market-border-strong);
  box-shadow: var(--market-shadow-hover);
  transform: translateY(-1px);
}

.featured-inline__media {
  width: 132px;
  height: 132px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eceff2;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.featured-inline__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-inline__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.featured-inline__body .product-card__chip {
  position: static;
  width: fit-content;
}

.featured-inline__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.32;
}

.featured-inline__title a {
  color: var(--market-text);
  text-decoration: none;
}

.featured-inline__title a:hover {
  color: var(--market-link-hover);
}

.featured-inline__price {
  font-size: 1.52rem;
  font-weight: 400;
  color: var(--market-text);
  letter-spacing: -0.02em;
}

.featured-inline__proof {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.79rem;
  color: #6f7782;
}

.featured-inline__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-width: 126px;
}

.featured-inline__actions .product-card__favorite {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  background: #ffffff;
  border: 1px solid #d0d7e2;
  color: #6b7280;
  box-shadow: none;
}

.featured-inline__actions .product-card__favorite:hover {
  background: #f8fafc;
  transform: none;
}

.featured-inline__actions .product-card__favorite.is-active,
.featured-inline__actions .product-card__favorite[aria-pressed="true"] {
  background: #ffe7ec;
  border-color: #ffd2db;
  color: #c63653;
}

.featured-inline__actions .product-card__view-link {
  order: 1;
}

.featured-inline__actions .product-card__follow-link {
  order: 2;
}

.featured-inline__actions .product-card__favorite {
  order: 3;
}

/* Product presentation v4 */
.pp-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pp-chip--featured {
  background: linear-gradient(135deg, #fff2bf, #ffd54a);
  border: 1px solid #f3b300;
  color: #6b4200;
  box-shadow: 0 0 0 1px rgba(243, 179, 0, 0.18), 0 8px 18px -14px rgba(146, 64, 14, 0.45);
}

.pp-chip--trend {
  background: linear-gradient(135deg, #e4f4ff, #bae6fd);
  border: 1px solid #38bdf8;
  color: #0c4a6e;
}

.pp-chip--sale {
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
  border: 1px solid #fb7185;
  color: #9f1239;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.16), 0 8px 18px -14px rgba(190, 24, 93, 0.5);
}

.pp-chip--flash {
  background: linear-gradient(135deg, #fff7cc, #ff8a00);
  border: 1px solid #f97316;
  color: #7c2d12;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.28), 0 10px 22px -14px rgba(194, 65, 12, 0.58);
  animation: mbxFlashPulse 1.25s ease-in-out infinite;
}

.pp-chip--service,
.pp-chip--service-home,
.pp-chip--service-urgency,
.pp-chip--service-ia,
.pp-chip--service-launchpad {
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1), 0 10px 20px -16px rgba(15, 23, 42, 0.45);
}

.pp-chip--service-home {
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  border-color: #a5b4fc;
  color: #3730a3;
}

.pp-chip--service-urgency {
  background: linear-gradient(135deg, #fff1f2, #fecdd3);
  border-color: #fb7185;
  color: #9f1239;
}

.pp-chip--service-ia {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border-color: #22d3ee;
  color: #155e75;
}

.pp-chip--service-launchpad {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-color: #4ade80;
  color: #166534;
}

.pp-price-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-featured-main__price--discount,
.pp-featured-tile__price--discount,
.pp-trend-card__price--discount,
.local-tile__price--discount {
  color: #b42318;
  font-weight: 800;
}

.pp-chip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 108px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pp-btn--primary,
.pp-btn--primary:visited {
  background: var(--market-link);
  border-color: var(--market-link);
  color: #ffffff;
}

.pp-btn--primary:hover {
  background: var(--market-link-hover);
  border-color: var(--market-link-hover);
  color: #ffffff;
  text-decoration: none;
}

.pp-btn--ghost,
.pp-btn--ghost:visited {
  background: #f6f9ff;
  border-color: #cedcf8;
  color: var(--market-link);
}

.pp-btn--ghost:hover {
  background: #edf3ff;
  border-color: #bdd0f7;
  color: var(--market-link-hover);
  text-decoration: none;
}

.pp-btn.product-card__follow-link {
  border: 1px solid #cedcf8;
  background: #f6f9ff;
  color: var(--market-link);
}

.pp-btn.product-card__follow-link.is-active {
  border-color: #b8e6cd;
  background: #e8f7ef;
  color: #0a7a53;
}

.pp-icon-btn.product-card__favorite {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  border: 1px solid #d1d9e6;
  background: #ffffff;
  color: #5f6b7a;
  padding: 0;
  box-shadow: none;
}

.pp-icon-btn.product-card__favorite:hover {
  border-color: #bfcddd;
  background: #f8fbff;
  transform: none;
}

.pp-icon-btn.product-card__favorite.is-active,
.pp-icon-btn.product-card__favorite[aria-pressed="true"] {
  background: #ffe8ed;
  border-color: #ffd2db;
  color: #c63653;
}

.pp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-section--featured .pp-featured-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-section--featured .pp-featured-main {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--market-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--market-shadow);
  overflow: hidden;
}

.home-section--featured .pp-featured-main__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  border-right: 1px solid #ebeff4;
  background: #ffffff;
  padding: 18px;
}

.home-section--featured .pp-featured-main__media img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.home-section--featured .pp-featured-main__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
}

.home-section--featured .pp-featured-main__title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.34;
}

.home-section--featured .pp-featured-main__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-section--featured .pp-featured-main__title a:hover {
  color: var(--market-link-hover);
}

.home-section--featured .pp-featured-main__price {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--market-text);
}

.home-section--featured .pp-featured-main__meta {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #66758a;
  font-size: 0.8rem;
}

.home-section--featured .pp-featured-main__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.home-section--featured .pp-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.home-section--featured .pp-featured-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--market-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--market-shadow);
  min-height: 308px;
}

.home-section--featured .pp-featured-tile__media {
  width: 100%;
  height: 156px;
  border: 1px solid #eceff2;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.home-section--featured .pp-featured-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-section--featured .pp-featured-tile__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-section--featured .pp-featured-tile__title {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.32;
  min-height: 2.35em;
}

.home-section--featured .pp-featured-tile__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-section--featured .pp-featured-tile__title a:hover {
  color: var(--market-link-hover);
}

.home-section--featured .pp-featured-tile__price {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 400;
  color: var(--market-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-section--featured .pp-featured-tile__meta {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.34;
  color: #6f7782;
  min-height: 2.1em;
}

.home-section--featured .pp-featured-tile__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.home-section--featured .pp-featured-tile__actions .pp-btn {
  min-width: 98px;
  min-height: 34px;
  padding: 7px 12px;
}

.home-section--trending .pp-trend-grid,
.listing-results--tendencias {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pp-trend-card {
  display: grid;
  grid-template-columns: 46px 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--market-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--market-shadow);
}

.pp-trend-card__rank {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f3f9ff;
  border: 1px solid #d5e7ff;
  color: var(--market-link);
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pp-trend-card:nth-child(1) .pp-trend-card__rank {
  background: #fff6d8;
  border-color: #ffe49a;
  color: #8f6100;
}

.pp-trend-card:nth-child(2) .pp-trend-card__rank {
  background: #eef3fd;
  border-color: #dae4f7;
  color: #385a92;
}

.pp-trend-card:nth-child(3) .pp-trend-card__rank {
  background: #fbefe3;
  border-color: #f0d4bb;
  color: #945113;
}

.pp-trend-card__media {
  width: 88px;
  height: 88px;
  border: 1px solid #eceff2;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.pp-trend-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-trend-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-trend-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.32;
}

.pp-trend-card__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-trend-card__title a:hover {
  color: var(--market-link-hover);
}

.pp-trend-card__price {
  margin: 0;
  font-size: 1.48rem;
  font-weight: 400;
  color: var(--market-text);
  letter-spacing: -0.02em;
}

.pp-trend-card__meta {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.78rem;
  color: #6a7787;
}

.pp-trend-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
}

.pp-trend-card__actions .pp-btn {
  width: 100%;
  max-width: 122px;
}

.listing-results--destacados {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pp-featured-list-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--market-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--market-shadow);
}

.pp-featured-list-card__media {
  width: 148px;
  height: 148px;
  border: 1px solid #eceff2;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.pp-featured-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-featured-list-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pp-featured-list-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.32;
}

.pp-featured-list-card__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-featured-list-card__title a:hover {
  color: var(--market-link-hover);
}

.pp-featured-list-card__price {
  margin: 0;
  font-size: 1.56rem;
  font-weight: 400;
  color: var(--market-text);
}

.pp-featured-list-card__meta {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.79rem;
  color: #6f7782;
}

.pp-featured-list-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.home-section--local .local-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.local-tile {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--market-border);
  border-radius: 10px;
  overflow: hidden;
}

.local-tile__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-bottom: 1px solid #edf0f4;
  padding: 12px;
}

.local-tile__media img,
.local-tile__placeholder {
  width: 100%;
  max-height: 156px;
  object-fit: contain;
}

.local-tile__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.local-tile__body .product-card__chip {
  position: static;
  width: fit-content;
}

.local-tile__price {
  font-size: 1.45rem;
  color: var(--market-text);
}

.local-tile__title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: 2.5em;
}

.local-tile__title a {
  color: var(--market-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.local-tile__title a:hover {
  color: var(--market-link-hover);
}

.local-tile__proof {
  margin: 0;
  font-size: 0.78rem;
  color: #6f7782;
}

.local-tile__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.local-tile__actions .product-card__favorite {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #6b7280;
  box-shadow: none;
}

.local-tile__actions .product-card__favorite:hover {
  background: #f8fafc;
  transform: none;
}

.local-tile__actions .product-card__favorite.is-active,
.local-tile__actions .product-card__favorite[aria-pressed="true"] {
  background: #ffe7ec;
  border-color: #ffd2db;
  color: #c63653;
}

.home-section__empty {
  border-radius: 10px;
  border: 1px dashed #d4d7dc;
  background: #f7f8fa;
  padding: 24px 18px;
  color: #6b7280;
}

@media (max-width: 1024px) {
  .home-section--deals .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  }

  .listing-results--default,
  .listing-results--ofertas,
  .listing-results--tienda {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  }

  .featured-showcase {
    gap: 12px;
  }

  .featured-hero {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  }

  .featured-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-inline {
    grid-template-columns: 116px 1fr auto;
  }

  .featured-inline__media {
    width: 116px;
    height: 116px;
  }

  .home-section--featured .pp-featured-main {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  }

  .home-section--featured .pp-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section--featured .pp-featured-tile {
    min-height: 292px;
  }

  .home-section--featured .pp-featured-tile__media {
    height: 140px;
  }

  .pp-featured-list-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .pp-featured-list-card__media {
    width: 116px;
    height: 116px;
  }
}

@media (max-width: 768px) {
  .home-section--deals {
    padding: 0 10px;
  }

  :is(.home-section--featured, .home-section--trending) {
    padding: 14px 12px 16px;
    border-radius: 10px;
  }

  :is(.home-section--deals, .home-section--featured, .home-section--trending) .home-section__title {
    font-size: 1.32rem;
  }

  .home-section--deals .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .listing-results--default,
  .listing-results--ofertas,
  .listing-results--tienda {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-hero {
    grid-template-columns: 1fr;
  }

  .featured-hero__media {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .featured-hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .featured-hero__actions .product-card__view-link,
  .featured-hero__actions .product-card__follow-link {
    flex: 1 1 calc(50% - 4px);
  }

  .featured-mini {
    grid-template-columns: 72px 1fr auto;
  }

  .featured-stack {
    grid-template-columns: 1fr;
  }

  .featured-mini__media {
    width: 72px;
    height: 72px;
  }

  .trend-item {
    grid-template-columns: 34px 70px minmax(0, 1fr);
    grid-template-areas:
      "rank thumb content"
      "rank actions actions";
    align-items: start;
    padding: 10px;
    gap: 10px;
  }

  .trend-item__rank {
    grid-area: rank;
  }

  .trend-item__thumb {
    grid-area: thumb;
    width: 70px;
    height: 70px;
  }

  .trend-item__content {
    grid-area: content;
  }

  .trend-item__actions {
    grid-area: actions;
    margin-left: 0;
    padding-left: 2px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  .trend-item__actions .trend-item__view-link {
    flex: 1 1 auto;
    max-width: none;
  }

  .featured-inline {
    grid-template-columns: 86px 1fr;
    grid-template-areas:
      "media body"
      "actions actions";
    align-items: start;
  }

  .featured-inline__media {
    grid-area: media;
    width: 86px;
    height: 86px;
  }

  .featured-inline__body {
    grid-area: body;
  }

  .featured-inline__actions {
    grid-area: actions;
    margin-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  .featured-inline__actions .product-card__view-link,
  .featured-inline__actions .product-card__follow-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  .home-section--featured .pp-featured-main {
    grid-template-columns: 1fr;
  }

  .home-section--featured .pp-featured-main__media {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .home-section--featured .pp-featured-main__actions .pp-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .home-section--featured .pp-featured-grid {
    grid-template-columns: 1fr;
  }

  .home-section--featured .pp-featured-tile {
    min-height: auto;
  }

  .home-section--featured .pp-featured-tile__media {
    width: 100%;
    height: 130px;
  }

  .home-section--featured .pp-featured-tile__body {
    min-height: 0;
  }

  .home-section--featured .pp-featured-tile__actions {
    justify-content: space-between;
  }

  .pp-trend-card {
    grid-template-columns: 34px 70px minmax(0, 1fr);
    grid-template-areas:
      "rank media content"
      "rank actions actions";
    align-items: start;
    padding: 10px;
    gap: 10px;
  }

  .pp-trend-card__rank {
    grid-area: rank;
  }

  .pp-trend-card__media {
    grid-area: media;
    width: 70px;
    height: 70px;
  }

  .pp-trend-card__content {
    grid-area: content;
  }

  .pp-trend-card__actions {
    grid-area: actions;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  .pp-trend-card__actions .pp-btn {
    flex: 1 1 auto;
    max-width: none;
  }

  .pp-featured-list-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .pp-featured-list-card__media {
    width: 86px;
    height: 86px;
  }

  .pp-featured-list-card__actions .pp-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .home-section--local .local-rail {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== Ofertas Flash + Cards Premium ===== */
.listing-results .listing-card,
.product-grid--related .listing-card {
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.listing-results .listing-card:hover,
.product-grid--related .listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -24px rgba(15, 23, 42, 0.5);
  border-color: rgba(15, 23, 42, 0.16);
}

.listing-results .listing-card--discounted,
.product-grid--related .listing-card--discounted {
  border-color: #f4c995;
  box-shadow: 0 0 0 1px rgba(244, 201, 149, 0.45), 0 10px 22px -20px rgba(180, 83, 9, 0.45);
}

.listing-results .listing-card--flash,
.product-grid--related .listing-card--flash {
  border-color: #fdba74;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.35), 0 14px 30px -22px rgba(194, 65, 12, 0.45);
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 46%);
}

.listing-results .listing-card--flash .product-card__figure,
.product-grid--related .listing-card--flash .product-card__figure {
  background: radial-gradient(circle at top right, rgba(253, 230, 138, 0.32), #ffffff 58%);
}

.product-card__chips {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 52px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__chips .product-card__chip {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
}

.product-card__chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.product-card__chip--flash {
  background: linear-gradient(135deg, #fff7cc, #ff8a00);
  border-color: #f97316;
  color: #7c2d12;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.28), 0 10px 22px -14px rgba(194, 65, 12, 0.58);
  animation: mbxFlashPulse 1.25s ease-in-out infinite;
}

@keyframes mbxFlashPulse {
  0%,
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-1px);
    filter: saturate(1.15);
  }
}

.product-card__chip--sale-soft {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: #0c4a6e;
  border: 1px solid #38bdf8;
}

.product-card__chip--featured {
  background: linear-gradient(135deg, #fff2bf, #ffd54a);
  color: #6b4200;
  border: 1px solid #f3b300;
}

.product-card__price-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.product-card__old-price {
  font-size: 0.8rem;
  color: #8b98a6;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.product-card__price--discount {
  color: #b42318;
  font-weight: 800;
}

.product-card__discount-note {
  margin: 0;
  font-size: 0.78rem;
  color: #b45309;
  font-weight: 700;
}

.product-card__countdown {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.product-card__countdown[data-offer-state="expired"] {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #d1d5db;
}

@media (max-width: 768px) {
  .product-card__chips {
    right: 44px;
    gap: 5px;
  }

  .product-card__chip {
    padding: 4px 9px;
    font-size: 0.61rem;
  }
}
