@import url("./css/offer/02-public-header.css?v=20260601-shared-public-header");

:root {
  --blue: #0b63e5;
  --blue-dark: #004fc4;
  --blue-soft: #e9f2ff;
  --green: #1fa345;
  --green-soft: #e9f8ee;
  --red: #df3b2f;
  --red-soft: #fff0ee;
  --orange: #f59e0b;
  --orange-soft: #fff4df;
  --cyan: #0891b2;
  --cyan-soft: #e8f9fd;
  --text: #111827;
  --muted: #667085;
  --line: #e2e8f0;
  --line-strong: #d3d9e3;
  --surface: #ffffff;
  --soft: #f8fafc;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --card-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
  --radius: 10px;
  --font: "Overpass", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --market-font: var(--font);
  --ui-radius-panel: 15px;
  --ui-radius-control: 12px;
  --ui-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.05);
  --ui-shadow-action: 0 8px 18px rgba(7, 94, 208, 0.14);
  --photo-veg: url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1300&q=85");
  --photo-meat: url("https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?auto=format&fit=crop&w=900&q=85");
  --photo-empanadas: url("https://images.unsplash.com/photo-1601050690597-df0568f70950?auto=format&fit=crop&w=900&q=85");
  --photo-dairy: url("https://images.unsplash.com/photo-1550583724-b2692b85b150?auto=format&fit=crop&w=900&q=85");
}

@media (max-width: 760px) {
  .offers-app-page .app-header.all-header .app-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 96px 38px !important;
    gap: 8px !important;
  }

  .offers-app-page .logo-link {
    min-width: 0;
    width: auto !important;
  }

  .offers-app-page .brand-logo-image {
    width: min(100%, 172px) !important;
    max-height: 28px !important;
  }

  .offers-app-page .app-zone-control {
    display: block !important;
    position: relative !important;
    top: auto;
    right: auto;
    width: 100% !important;
    min-width: 0;
    justify-self: stretch !important;
    z-index: 2;
  }

  .offers-app-page .app-zone-chip {
    width: 100% !important;
    max-width: none !important;
    height: 38px !important;
    justify-content: center !important;
    padding: 0 8px !important;
    gap: 6px !important;
  }

  .offers-app-page .app-zone-chip .zone-name {
    max-width: 42px !important;
  }

  .offers-app-page .app-header-menu {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    display: block !important;
    position: relative !important;
    top: auto;
    right: auto;
    justify-self: end !important;
    z-index: 4;
  }

  .offers-app-page .app-menu-toggle {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    position: relative !important;
    top: auto;
    right: auto;
    z-index: 5;
  }
}

@media (max-width: 390px) {
  .offers-app-page .app-header.all-header .app-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 88px 38px !important;
    gap: 7px !important;
  }

  .offers-app-page .brand-logo-image {
    width: min(100%, 166px) !important;
    max-height: 26px !important;
  }

  .offers-app-page .app-zone-chip {
    padding: 0 7px !important;
  }

  .offers-app-page .app-zone-chip .zone-name {
    max-width: 36px !important;
  }
}

@media (max-width: 520px) {
  .offers-app-page .app-header.all-header .app-topbar {
    width: min(100%, 382px) !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  width: 100%;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(11, 99, 229, 0.045), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(31, 163, 69, 0.035), transparent 34%),
    #fff;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.app-shell,
.detail-shell {
  width: min(1046px, calc(100% - 28px));
  margin: 14px auto 32px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.desktop-header {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #fff;
}

.brand-mark svg {
  width: 35px;
  height: 35px;
}

.brand-mark path:first-child {
  fill: var(--blue);
}

.brand-mark circle {
  fill: #fff;
}

.brand-mark path:last-child {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 2.3;
}

.brand strong,
.mobile-brand {
  color: #161b22;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand strong span,
.mobile-brand span {
  color: var(--blue);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: #667085;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search-field input::placeholder {
  color: #6b7280;
}

.location-select,
.icon-button,
.share-button,
.mobile-sort {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.location-select {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #18202c;
  font-size: 14px;
  font-weight: 700;
}

.location-select .is-filled,
.location-select > .material-symbols-rounded:first-child {
  color: var(--blue);
}

.location-select.is-wide {
  width: 100%;
  justify-content: space-between;
  border-radius: 9px;
}

.location-picker {
  position: absolute;
  z-index: 80;
  display: grid;
  gap: 10px;
  max-height: min(520px, calc(100vh - 24px));
  padding: 12px;
  overflow: auto;
  border: 1px solid #d7e2f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
}

.location-picker[hidden] {
  display: none;
}

.location-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.location-picker-head strong {
  color: #101828;
  font-size: 15px;
}

.detect-location {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #9fc7ff;
  border-radius: 9px;
  background: #f7fbff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.detect-location:disabled {
  cursor: wait;
  opacity: .68;
}

.location-status {
  min-height: 16px;
  margin: -2px 2px 0;
  color: #667085;
  font-size: 12px;
}

.location-options {
  display: grid;
  gap: 6px;
}

.location-option {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  color: #18202c;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.location-option em {
  color: #667085;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.location-option.is-active {
  border-color: #b8d6ff;
  background: #eef6ff;
  color: var(--blue);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
}

.icon-button:hover {
  background: var(--soft);
}

.icon-button.is-plain {
  border-radius: 8px;
}

.login-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-header,
.mobile-controls {
  display: none;
}

.home-content {
  padding: 18px;
}

.hero-card {
  position: relative;
}

.hero-photo {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #233117;
  cursor: pointer;
}

.photo-veg,
.photo-meat,
.photo-empanadas,
.photo-dairy {
  background-color: #e9edf2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.photo-veg {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.46) 32%, rgba(0, 0, 0, 0.05) 70%),
    var(--photo-veg),
    radial-gradient(circle at 58% 45%, #f97316 0 6%, transparent 7%),
    radial-gradient(circle at 45% 44%, #45a449 0 12%, transparent 13%),
    linear-gradient(135deg, #243817, #8bbd50);
}

.offer-image.photo-veg,
.detail-media.photo-veg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.05)),
    var(--photo-veg),
    radial-gradient(circle at 58% 45%, #f97316 0 6%, transparent 7%),
    radial-gradient(circle at 45% 44%, #45a449 0 12%, transparent 13%),
    linear-gradient(135deg, #243817, #8bbd50);
}

.photo-meat {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06)),
    var(--photo-meat),
    linear-gradient(135deg, #e77c7a, #bc403b);
}

.photo-empanadas {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05)),
    var(--photo-empanadas),
    linear-gradient(135deg, #d09143, #8a4b18);
}

.photo-dairy {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06)),
    var(--photo-dairy),
    linear-gradient(135deg, #e9edf6, #b7c8dc);
}

.hero-copy {
  position: absolute;
  left: 72px;
  top: 50%;
  width: min(430px, 54%);
  transform: translateY(-50%);
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.hero-copy h1 {
  margin: 20px 0 13px;
  font-size: 43px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.42;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: inline-flex;
  gap: 6px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-dots .is-active {
  background: #fff;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
  transform: translateY(-50%);
}

.carousel-button.is-left {
  left: 12px;
}

.carousel-button.is-right {
  right: 12px;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 11px;
  margin-top: 24px;
}

.category-chip {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #475467;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.category-chip .material-symbols-rounded {
  font-size: 25px;
}

.category-chip.is-green {
  border-color: #89d690;
  background: #f4fff6;
  color: #147a2f;
}

.category-chip.is-red {
  border-color: #f3a29c;
  background: #fff7f6;
  color: #cf2c22;
}

.category-chip.is-orange,
.category-chip.is-amber {
  border-color: #f3bd77;
  background: #fffaf1;
  color: #e97706;
}

.category-chip.is-blue {
  border-color: #97c2f9;
  background: #f5faff;
  color: #1b5dcc;
}

.category-chip.is-cyan {
  border-color: #7ccbe1;
  background: #f2fcff;
  color: #08819f;
}

.category-chip.is-purple {
  border-color: #c4b5fd;
  background: #faf5ff;
  color: #7c3aed;
}

.category-chip.is-gray {
  border-color: #d0d5dd;
  background: #f9fafb;
  color: #475467;
}

.category-chip.is-more {
  background: #fff;
  color: #606b7a;
}

.filters-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.filters-title {
  color: #151b26;
  font-size: 16px;
  font-weight: 750;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

.filter-pill > .material-symbols-rounded {
  color: var(--blue);
  font-size: 20px;
}

.filter-pill button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  line-height: 1;
  cursor: pointer;
}

.filter-pill.is-open > span:first-child {
  width: 12px;
  height: 12px;
  border: 3px solid #54b948;
  border-radius: 999px;
}

.filter-pill.is-green > .material-symbols-rounded {
  color: var(--green);
}

.filter-pill.is-blue {
  color: var(--blue);
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.clear-filters .material-symbols-rounded {
  font-size: 18px;
}

.offers-section {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  color: #131923;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.mobile-count,
.mobile-sort {
  display: none;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

a.filter-pill {
  color: inherit;
  text-decoration: none;
}

.sort-control select {
  height: 40px;
  min-width: 106px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 0 12px;
  font-size: 13px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.offer-image {
  position: relative;
  height: 214px;
  display: block;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #e9edf2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 1;
  min-width: 52px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(11, 99, 229, 0.2);
}

.heart-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  cursor: pointer;
}

.heart-button .material-symbols-rounded {
  font-size: 24px;
  font-variation-settings: "FILL" 0, "GRAD" 0, "opsz" 24, "wght" 600;
}

.heart-mobile {
  display: none;
}

.offer-body {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 10px 12px 13px;
}

.tag {
  width: fit-content;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.tag.is-green {
  background: var(--green-soft);
  color: #117a31;
}

.tag.is-red {
  background: var(--red-soft);
  color: #cf2c22;
}

.tag.is-amber {
  background: var(--orange-soft);
  color: #d66a00;
}

.tag.is-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.offer-card h3 {
  margin: 3px 0 0;
  color: #101828;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.seller {
  margin: 0;
  color: #5f6b7a;
  font-size: 14px;
  font-weight: 600;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #526071;
  font-size: 13px;
  font-weight: 600;
}

.rating span,
.merchant-head p span {
  color: var(--orange);
}

.rating i,
.secure-note i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #98a2b3;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 2px 0 0;
}

.price-line strong {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.price-line del {
  color: #8b95a5;
  font-size: 13px;
  font-weight: 700;
}

.mini-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-tags span,
.detail-tags span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.mini-tags span:first-child,
.detail-tags span:first-child {
  background: var(--green-soft);
  color: #147a2f;
}

.primary-button {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(11, 99, 229, 0.18);
}

.primary-button .material-symbols-rounded {
  margin-left: auto;
  padding-right: 6px;
}

.more-button {
  width: 230px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 22px;
  border: 1px solid #9fc7ff;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}

.more-button[hidden] {
  display: none;
}

.more-button:disabled {
  cursor: wait;
  opacity: .7;
}

.detail-shell {
  width: min(492px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
}

.detail-header {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.back-link .material-symbols-rounded {
  color: #475467;
  font-size: 18px;
}

.detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.share-button {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.detail-media {
  position: relative;
  height: 340px;
  margin: 14px 14px 0;
  overflow: hidden;
  border-radius: 8px;
  background-image: var(--photo-veg);
  background-position: center;
  background-size: cover;
}

.detail-media.tone-green {
  background: linear-gradient(135deg, #e9f8ee, #ffffff);
}

.detail-media.tone-red {
  background: linear-gradient(135deg, #fff0ee, #ffffff);
}

.detail-media.tone-orange,
.detail-media.tone-amber {
  background: linear-gradient(135deg, #fff4df, #ffffff);
}

.detail-media.tone-blue,
.detail-media.tone-purple {
  background: linear-gradient(135deg, #e9f2ff, #ffffff);
}

.detail-media.tone-cyan {
  background: linear-gradient(135deg, #e8f9fd, #ffffff);
}

.discount-badge.is-large {
  top: 15px;
  left: 14px;
  height: 40px;
  min-width: 67px;
  border-radius: 7px;
  font-size: 23px;
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.detail-content {
  display: grid;
  gap: 9px;
  padding: 13px 14px 20px;
}

.detail-content h1 {
  margin: 0;
  color: #101828;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.detail-category-tag {
  width: fit-content;
  gap: 5px;
}

.detail-category-tag .material-symbols-rounded {
  font-size: 16px;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-meta-row span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 7px;
  background: #f5f8ff;
  color: #41536d;
  font-size: 12px;
  font-weight: 750;
}

.detail-seller {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  font-weight: 650;
}

.verified {
  color: var(--blue);
  font-size: 13px;
  vertical-align: 0.08em;
}

.detail-rating {
  font-size: 14px;
}

.detail-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.detail-price-row strong {
  color: var(--blue);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.detail-price-row del {
  color: #7f8794;
  font-size: 16px;
  font-weight: 700;
}

.detail-price-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--green-soft);
  color: #14843a;
  font-size: 13px;
  font-weight: 800;
}

.detail-price-row span.is-neutral {
  background: var(--blue-soft);
  color: var(--blue);
}

.detail-copy {
  margin: 7px 0 10px;
  color: #586475;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.48;
}

.whatsapp-button {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  background: #03a63c;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 10px 18px rgba(3, 166, 60, 0.18);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}

.secure-note .material-symbols-rounded {
  font-size: 18px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: 16px 14px 20px;
}

.info-card {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.info-card h2 {
  margin: 0 0 15px;
  color: #1f2937;
  font-size: 16px;
  font-weight: 850;
}

.merchant-head {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 15px;
}

.avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #3f4652;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.merchant-avatar.has-logo {
  overflow: hidden;
  background: #f8fafc;
}

.merchant-avatar.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-head strong {
  display: block;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.merchant-head p {
  margin: 4px 0 0;
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 650;
}

.info-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 15px;
  color: #111827;
}

.info-row > .material-symbols-rounded {
  color: #475467;
  font-size: 23px;
}

.info-row strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 850;
}

.info-row p {
  margin: 0 0 7px;
  color: #566174;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.info-row em {
  padding-left: 56px;
  font-style: normal;
}

.info-row a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.open-chip {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--green-soft);
  color: #167b35;
  font-size: 12px;
  font-weight: 800;
}

.open-chip.is-muted {
  background: #f1f5f9;
  color: #64748b;
}

.payment-card ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #667085;
  font-size: 14px;
  font-weight: 650;
}

.payment-card li.is-muted {
  color: #7f8794;
}

.pay-icon {
  width: 27px;
  height: 18px;
  display: inline-block;
  border-radius: 3px;
  border: 2px solid #1f4e9d;
  position: relative;
}

.pay-icon.is-cash {
  border-color: #1da65a;
}

.pay-icon.is-cash::after {
  content: "";
  position: absolute;
  inset: 4px 8px;
  border: 2px solid #1da65a;
  border-radius: 999px;
}

.pay-icon.is-card::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  height: 2px;
  background: #1f4e9d;
}

.pay-icon.is-mp {
  border-radius: 999px;
  border-color: #0b63e5;
}

.pay-icon.is-muted {
  border-color: #98a2b3;
}

.payment-card > p {
  margin: 24px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.commercial-card {
  grid-column: 1 / -1;
}

.campaign-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.campaign-pill .material-symbols-rounded {
  font-size: 19px;
}

.commercial-list {
  margin-top: 15px;
}

.commercial-list > strong {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.commercial-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commercial-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #566174;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.commercial-list .material-symbols-rounded {
  color: var(--blue);
  font-size: 18px;
}

@media (max-width: 900px) {
  .desktop-header {
    grid-template-columns: auto minmax(180px, 1fr) auto;
  }

  .desktop-header .location-select,
  .desktop-header .icon-button,
  .login-link {
    display: none;
  }

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

  .category-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    background: #fff;
    overflow-x: hidden;
  }

  .app-shell,
  .detail-shell {
    width: min(100%, 430px);
    max-width: 100vw;
    margin: 0 auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .desktop-header,
  .hero-card {
    display: none;
  }

  .mobile-header {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .mobile-brand {
    color: var(--blue);
    font-size: 16px;
    font-weight: 900;
  }

  .mobile-brand span {
    color: var(--blue);
  }

  .home-content {
    max-width: 100vw;
    overflow: hidden;
    padding: 10px 12px 18px;
  }

  .mobile-controls {
    display: grid;
    gap: 8px;
  }

  .search-field.is-wide {
    width: 100%;
    height: 41px;
    border-radius: 9px;
  }

  .search-field input {
    font-size: 12px;
  }

  .category-row {
    display: flex;
    gap: 8px;
    margin: 12px -12px 0;
    padding: 0 12px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-row::-webkit-scrollbar {
    display: none;
  }

  .category-chip {
    width: 75px;
    height: 64px;
    flex: 0 0 75px;
    flex-direction: column;
    gap: 3px;
    padding: 6px 5px;
    font-size: 11px;
  }

  .category-chip .material-symbols-rounded {
    font-size: 27px;
  }

  .filters-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    min-height: 0;
    margin-top: 10px;
    padding: 12px 0 11px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .filters-title {
    grid-column: 1;
    grid-row: 1;
    font-size: 13px;
  }

  .clear-filters {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    justify-self: end;
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 32px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .clear-filters::after {
    content: "";
    font-size: 0;
  }

  .filter-pills {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    gap: 6px;
  }

  .filter-pill {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
    border-radius: 8px;
  }

  .section-head {
    width: 100%;
    margin-top: 13px;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .section-head > div {
    min-width: 0;
  }

  .section-head h2,
  .sort-control {
    display: none;
  }

  .mobile-count {
    display: block;
    margin: 0;
    color: #3c4656;
    font-size: 12px;
    font-weight: 650;
  }

  .mobile-sort {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    color: #111827;
    font-size: 0;
    font-weight: 800;
  }

  .mobile-sort .material-symbols-rounded {
    font-size: 19px;
  }

  .offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .offer-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    width: 100%;
    max-width: calc(100vw - 24px);
    min-height: 158px;
    border-radius: 9px;
  }

  .offer-image {
    height: 100%;
    min-height: 158px;
    border-radius: 8px 0 0 8px;
  }

  .discount-badge {
    top: 8px;
    left: 7px;
    min-width: 40px;
    height: 28px;
    font-size: 14px;
    border-radius: 5px;
  }

  .heart-button {
    display: none;
  }

  .offer-body {
    position: relative;
    gap: 5px;
    width: min(230px, calc(100vw - 154px));
    min-width: 0;
    overflow: hidden;
    padding: 8px 8px 8px 10px;
  }

  .heart-mobile {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667085;
  }

  .heart-mobile .material-symbols-rounded {
    font-size: 22px;
  }

  .offer-body .tag {
    display: none;
  }

  .offer-card h3 {
    width: calc(100% - 30px);
    max-width: 200px;
    display: block;
    font-size: 14px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .seller {
    font-size: 12px;
  }

  .rating {
    font-size: 11px;
    gap: 4px;
  }

  .price-line strong {
    font-size: 18px;
  }

  .price-line del {
    font-size: 10px;
  }

  .mini-tags {
    gap: 4px;
  }

  .mini-tags span {
    min-height: 21px;
    padding: 0 6px;
    font-size: 10px;
    border-radius: 6px;
  }

  .primary-button {
    width: min(220px, calc(100vw - 170px));
    height: 37px;
    margin-top: 2px;
    font-size: 12px;
    border-radius: 6px;
  }

  .primary-button .material-symbols-rounded {
    display: none;
  }

  .more-button {
    display: none;
  }

  .detail-shell {
    width: min(100%, 430px);
  }

  .detail-media {
    height: 272px;
  }

  .detail-content h1 {
    font-size: 23px;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .detail-price-row strong {
    font-size: 27px;
  }

  .detail-price-row span {
    font-size: 12px;
  }

  .info-card {
    padding: 16px 12px;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .app-shell,
  .detail-shell {
    width: 100vw;
    max-width: 100vw;
  }

  .home-content,
  .mobile-header {
    width: 100vw;
    max-width: 100vw;
  }
}

.page-list .hero-card {
  display: none;
}

.page-list .more-button {
  display: flex;
}

.page-list .more-button[hidden] {
  display: none;
}

.list-notice {
  min-height: 18px;
  margin: 2px 0 12px;
  color: #667085;
  font-size: 13px;
}

.list-content,
.commerce-content {
  padding-bottom: 34px;
}

.advanced-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.field-card,
.field-rail,
.field-toggle {
  min-width: 0;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
}

.field-card {
  display: grid;
  gap: 5px;
  padding: 9px 11px 8px;
}

.field-card span,
.field-rail > span {
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.field-rail {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  padding: 9px 11px 10px;
}

.field-rail .category-row {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.field-rail .category-chip {
  flex: 0 0 auto;
  min-width: 116px;
  height: 42px;
  padding: 0 12px;
}

.field-rail .category-chip em {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.field-rail .category-chip.is-active {
  border-width: 2px;
  box-shadow: 0 6px 16px rgba(0, 85, 214, .12);
}

.field-card input,
.field-card select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101828;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.field-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: #344054;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.field-toggle[aria-pressed="true"] {
  border-color: #9bd995;
  background: #eefbea;
  color: #16821f;
}

.is-desktop-only {
  display: inline-flex;
}

.empty-state,
.detail-loading {
  display: grid;
  grid-column: 1 / -1;
  min-height: 210px;
  place-items: center;
  gap: 7px;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fbfdff;
  color: #475467;
  text-align: center;
}

.empty-state strong,
.detail-loading strong {
  color: #101828;
  font-size: 18px;
}

.empty-state span {
  font-size: 13px;
}

.seller-hero {
  display: grid;
  min-height: 254px;
  align-items: end;
  padding: 32px;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.seller-hero > div {
  width: min(520px, 100%);
}

.seller-hero h1 {
  margin: 12px 0 7px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.seller-hero p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 700;
}

.seller-hero .whatsapp-button {
  width: fit-content;
  min-width: 210px;
}

.offer-image.tone-green {
  background: linear-gradient(135deg, #dbf7d0, #f7fff2);
}

.offer-image.tone-red {
  background: linear-gradient(135deg, #ffe2de, #fff7f5);
}

.offer-image.tone-orange {
  background: linear-gradient(135deg, #ffe7c7, #fff7eb);
}

.offer-image.tone-blue {
  background: linear-gradient(135deg, #d8ebff, #f4f9ff);
}

.offer-image.tone-cyan {
  background: linear-gradient(135deg, #d8f7ff, #f0fdff);
}

.offer-image.tone-neutral {
  background: linear-gradient(135deg, #eceff3, #fff);
}

.heart-button.is-active,
.heart-mobile.is-active,
.detail-actions .icon-button.is-active {
  color: #ef4444;
}

.heart-button.is-active .material-symbols-rounded,
.heart-mobile.is-active .material-symbols-rounded,
.detail-actions .icon-button.is-active .material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.whatsapp-button.is-disabled {
  background: #d0d5dd;
  color: #475467;
  pointer-events: none;
}

.public-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .advanced-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .list-content,
  .commerce-content {
    padding-bottom: 82px;
  }

  .advanced-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 11px;
  }

  .field-card,
  .field-rail,
  .field-toggle {
    min-height: 52px;
    border-radius: 8px;
    box-shadow: none;
  }

  .field-card,
  .field-rail {
    padding: 8px 9px 7px;
  }

  .field-card span,
  .field-rail > span {
    font-size: 10px;
  }

  .field-card input,
  .field-card select,
  .field-toggle {
    font-size: 12px;
  }

  .field-toggle .material-symbols-rounded {
    font-size: 18px;
  }

  .is-desktop-only {
    display: none;
  }

  .seller-hero {
    min-height: 220px;
    margin: 8px 0 4px;
    padding: 24px 18px;
    border-radius: 0;
  }

  .seller-hero h1 {
    font-size: 31px;
  }

  .seller-hero p {
    font-size: 13px;
  }

  .public-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 62px;
    padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px);
  }

  .public-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 1px;
    min-width: 0;
    color: #667085;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
  }

  .public-bottom-nav .material-symbols-rounded {
    font-size: 22px;
  }

  .public-bottom-nav a.is-active {
    color: var(--blue);
  }
}

@media (max-width: 380px) {
  .advanced-filter-grid {
    grid-template-columns: 1fr;
  }
}
