﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿/* Landing */

.deal-card,
.mini-deal-card,
.landing-offer-card {
  border-color: #e5edf6;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, border-color 150ms ease-out;
}

.deal-card:hover,
.mini-deal-card:hover,
.landing-offer-card:hover {
  border-color: #cfe0f6;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

.deal-card .deal-media {
    justify-self: center;
    width: 146px;
    height: 147px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: var(--tone-soft, #eaf3ff);
    color: var(--tone-color, #075ed0);
    background-position: center;
    background-size: cover;
    margin-top: -19px;
}

.deal-card .deal-media.deal-icon {
  width: 72px;
  height: 72px;
  align-self: center;
  border-radius: 50%;
  font-size: 2rem;
}

.deal-card h3 {
  min-height: 42px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.deal-card p,
.deal-card small,
.deal-card .offer-activity {
  justify-self: center;
}

.deal-card .deal-saving {
    align-self: end;
    min-height: 62px;
    margin-top: 0;
}

.deal-card .deal-whatsapp-link {
    align-self: end;
    padding-top: 7px;
    font-family: 'Open Sans';
    font-weight: 500;
    font-size: 13px;
    background: radial-gradient(#0754c5, #0659cc);
    color: #fff;
}

.landing-inline-icon,
.landing-bottom-icon,
.deal-svg-icon,
.interest-icon {
  width: 1.18em;
  min-width: 1.18em;
  height: 1.18em;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.landing-inline-icon,
.landing-bottom-icon,
.deal-svg-icon {
  fill: none;
  stroke: currentColor;
}

.hero-offers-link .landing-inline-icon:first-child {
  width: 24px;
  height: 24px;
}

.hero-offers-link .landing-inline-icon-action {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  color: #075ed0;
}

.fresh-offers-banner > .landing-inline-icon-badge {
  width: 44px;
  height: 36px;
  padding: 7px;
  border: 2px solid #10833d;
  border-radius: 14px;
  color: #10833d;
  background: #e8f7ee;
}

.landing-bottom-icon {
  width: 24px;
  min-width: 24px;
  height: 24px;
}

.offer-interest-button .interest-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.offer-interest-button .interest-icon.is-filled {
  fill: currentColor;
}

.mini-deal-card .deal-media {
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: var(--tone-soft, #eaf3ff);
  color: var(--tone-color, #075ed0);
  background-position: center;
  background-size: cover;
}

.mini-deal-card .deal-media.deal-icon {
  width: 80px;
  height: 80px;
  min-height: 80px;
  border-radius: 50%;
  font-size: 1.95rem;
}

.landing-page .landing-offer-card .offer-body {
  padding: 12px;
}

.landing-page .landing-offer-card .offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.landing-page .landing-offer-card .offer-category {
  color: #52617b;
}

.landing-page .landing-offer-card .offer-days {
  color: #c2410c;
}

@media (max-width: 760px) {
  .deal-card {
    min-height: 224px;
  }

  .deal-card .deal-media {
    width: 139px;
    height: 138px;
    border-radius: 16px;
    margin-top: -13px;
}

  .deal-card .offer-activity {
    font-size: 0.64rem;
  }

  .landing-bottom-link {
    min-height: 42px;
    border-radius: 999px;
  }
}

/* UX review application pass: tighter home scan and quieter bottom nav. */
.deal-card .deal-media,
.mini-deal-card .deal-media,
.landing-page .landing-offer-card .card-image {
  background-size: contain;
  background-repeat: no-repeat;
}

.deal-saving {
  background: linear-gradient(180deg, #f1fff6, #ecfbf1);
  border-color: #c9efd6;
}

.app-bottom-nav em {
  min-width: 18px;
  height: 18px;
  font-size: 0.66rem;
  box-shadow: none;
}

@media (max-width: 760px) {
  .offers-app-page .app-home {
    padding-top: 14px;
    gap: 16px;
  }

  .offers-app-page .app-offer-hero {
    min-height: 166px;
    grid-template-columns: minmax(0, 1fr) 112px;
    padding: 18px 15px;
  }

  .offers-app-page .app-offer-hero h1 {
    font-size: 1.54rem;
  }

  .featured-offers-strip,
  .hot-offers-strip {
    scroll-padding-inline: 12px;
  }

  .deal-card {
    width: clamp(160px, calc(50vw - 18px), 176px);
    min-width: clamp(160px, calc(50vw - 18px), 176px);
    min-height: 326px;
    grid-template-rows: 82px minmax(38px, auto) 16px minmax(52px, auto) 34px;
  }

  .deal-media {
    width: 78px;
    height: 78px;
  }

  .deal-card h3 {
    font-size: 0.84rem;
    line-height: 1.14;
  }

  .deal-card p,
  .deal-card small {
    font-size: 0.68rem;
    font-weight: 600;
  }

  .deal-saving {
    min-height: 52px;
    padding: 6px 8px;
  }

  .deal-saving strong {
    font-size: 1.18rem;
  }

  .offer-interest-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .app-bottom-nav {
    padding: 5px 7px;
  }

  .landing-bottom-link {
    min-height: 40px;
  }
}

body.landing-page {
  min-height: 100vh;
  background: #f3f7fb;
}

.landing-content {
  max-width: var(--ui-page-width);
  margin: 0 auto;
  padding: 14px var(--ui-space-page-x) 42px;
  display: grid;
  gap: var(--ui-section-gap);
}

.landing-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 370px);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(7, 94, 208, 0.14);
  border-radius: var(--ui-radius-panel);
  color: #082341;
  background: #fff;
}

.landing-hero::after {
  content: none;
  display: none;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(7, 94, 208, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #075ed0;
  font-size: 0.76rem;
  font-weight: 900;
}

.landing-hero-copy h1,
.landing-hero-copy h2 {
  max-width: 15ch;
  margin: 10px 0 0;
  color: #0b203a;
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  line-height: 1.04;
  font-weight: 900;
}

.landing-hero-copy p {
  max-width: 48ch;
  margin: 10px 0 0;
  color: #415973;
  font-size: clamp(0.94rem, 1.4vw, 1.02rem);
}

.landing-hero-headlines {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(7, 94, 208, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #17324a;
  font-size: 0.8rem;
  font-weight: 900;
  position: relative;
  z-index: 3;
}

.landing-hero-headlines span {
  color: #64748b;
}

.landing-page .promo-ofertas-types {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
}

.landing-page .promo-ofertas-type-btn {
  height: 38px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-inline: 14px;
  border-color: #d8e4f0;
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}

.landing-page .offers-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.landing-page .landing-offer-card {
  width: 218px;
  min-width: 218px;
  border: 1px solid #e3ebf4;
  border-color: #dde7f1;
  border-radius: var(--ui-radius-card);
  background: #fff;
  box-shadow: var(--ui-shadow-card);
}

.landing-page .landing-offer-card .card-image {
  height: 128px;
  aspect-ratio: auto;
  border-bottom: 1px solid #edf2f7;
  background: #eef6ff;
}

.landing-page .landing-offer-card .offer-title-display {
  min-height: 42px;
  margin: 5px 0 0;
  color: #142033;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.22;
  text-align: left;
}

.landing-page .landing-offer-card .offer-brand-display {
  display: block;
  color: #075ed0;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: left;
}

.landing-page .landing-offer-card .offer-description {
  min-height: 32px;
  margin: 5px 0 10px;
  color: #64748b;
  font-size: 0.76rem;
}

.landing-page .landing-offer-card .current-price {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: #ffe01b;
  color: #252323;
  font-family: var(--market-font);
  font-size: 0.94rem;
  font-weight: 900;
}

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

@media (max-width: 760px) {
  body.landing-page {
    padding-bottom: 78px;
  }

  .landing-content {
    padding: 12px 10px 22px;
    gap: 18px;
  }

  .landing-hero {
    min-height: 318px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding: 20px;
    border-radius: 18px;
  }

  .landing-hero-copy h1,
  .landing-hero-copy h2 {
    max-width: 12ch;
    font-size: 1.75rem;
  }

  .landing-hero-copy p {
    max-width: 30ch;
    font-size: 0.92rem;
  }

  .landing-page .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .landing-page .landing-offer-card {
    width: 188px;
    min-width: 188px;
  }

  .landing-page .landing-offer-card .card-image {
    height: 120px;
  }

  .landing-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 130;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 7px;
    border: 1px solid #dce6f1;
    border-radius: var(--ui-radius-panel);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--ui-shadow-card);
  }

  .landing-bottom-link {
    display: grid;
    place-items: center;
    gap: 2px;
    min-height: 46px;
    border-radius: 13px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .landing-bottom-link .emoji-icon,
  .landing-bottom-link .material-symbols-rounded {
    font-size: 1rem;
  }

  .landing-bottom-link-active {
    background: #eaf3ff;
    color: #075ed0;
  }
}

.landing-hero {
  min-height: clamp(330px, 48vw, 430px);
  grid-template-columns: minmax(0, 680px);
  align-items: end;
  border: 0;
  border-radius: 0;
  margin-inline: calc(50% - 50vw);
  padding: clamp(34px, 6vw, 70px) max(18px, calc((100vw - 1120px) / 2 + 18px));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 18, 35, 0.86) 0%, rgba(5, 18, 35, 0.62) 48%, rgba(5, 18, 35, 0.18) 100%),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.landing-hero-copy h1,
.landing-hero-copy h2 {
  max-width: 13ch;
  color: #fff;
  text-wrap: balance;
}

.landing-hero-copy p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
}

.landing-kicker,
.landing-hero-headlines {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.landing-hero-headlines span {
  color: rgba(255, 255, 255, 0.74);
}

.landing-content {
  padding-top: 0;
}

.landing-page .landing-offer-card .card-image {
  height: 154px;
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffe01b;
  color: #242424;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.discount-badge[hidden] {
  display: none;
}

.landing-page .landing-offer-card .offer-days {
  max-width: 92px;
  overflow: hidden;
  color: #7a8798;
  font-size: 0.68rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.landing-page .landing-offer-card .current-price {
  background: #e8f7ed;
  color: #0c6f32;
  font-family: var(--market-font);
}

.whatsapp-link {
  min-width: 104px;
  gap: 7px;
  padding-inline: 12px;
  border: 1px solid rgba(16, 131, 61, 0.16);
  background: #10833d;
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 131, 61, 0.16);
}

.empty-state {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px dashed #c9d6e5;
  border-radius: 16px;
  background: #fff;
  color: #64748b;
}

.empty-state strong {
  color: #172033;
  font-size: 1rem;
}

.offer-skeleton {
  pointer-events: none;
}

.offer-skeleton .offer-image,
.offer-skeleton span,
.offer-skeleton strong,
.offer-skeleton p,
.offer-skeleton em {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef3f8 0%, #f8fafc 48%, #eef3f8 100%);
  background-size: 220% 100%;
  animation: offerSkeleton 1.2s ease-in-out infinite;
}

.offer-skeleton span {
  width: 42%;
  height: 12px;
}

.offer-skeleton strong {
  width: 86%;
  height: 34px;
  margin-top: 10px;
}

.offer-skeleton p {
  width: 100%;
  height: 28px;
  margin: 10px 0;
}

.offer-skeleton em {
  width: 56%;
  height: 30px;
}

@keyframes offerSkeleton {
  0% { background-position: 0 0; }
  100% { background-position: -220% 0; }
}

.panel-heading {
  border-radius: 14px;
  box-shadow: var(--market-shadow);
}

.panel-card {
  border-radius: 14px;
}

.panel-form-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.panel-form-title h2 {
  margin-bottom: 0;
}

.form-pill,
.seller-offer-state {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: #e8f7ed;
  color: #0c6f32;
  font-size: 0.72rem;
  font-weight: 900;
}

.seller-offer {
  align-items: stretch;
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05);
}

.seller-offer-copy {
  min-width: 0;
}

.seller-offer-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.seller-offer-title-row h3 {
  margin-bottom: 6px;
}

.seller-offer-state.is-paused {
  background: #fff4e6;
  color: #9a4b00;
}

.seller-offer small {
  color: #718096;
  font-size: 0.78rem;
  font-weight: 700;
}

.seller-actions button,
.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.panel-empty {
  border-style: solid;
  box-shadow: none;
}

.offer-sort-tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid #dce6f1;
  border-radius: 15px;
  background: #eef3f8;
  overflow-x: auto;
}

.offer-sort-tab {
  min-height: 38px;
  flex: 1 0 auto;
  padding: 0 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #53657a;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.offer-sort-tab.active {
  background: #fff;
  color: #0a5bc2;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.landing-page .promo-ofertas-type-btn::before {
  content: "🏷️";
  color: #8aa0b8;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--market-font);
  font-size: 0.78rem;
}

.landing-page .promo-ofertas-type-btn.active::before,
.landing-page .promo-ofertas-type-btn:hover::before {
  color: #fff;
}

.landing-page .landing-offer-card .offer-days {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #53657a;
  font-size: 0.66rem;
  font-weight: 900;
}

.whatsapp-link .emoji-icon {
  font-size: 1rem;
}

@media (max-width: 760px) {
  .landing-hero {
    min-height: 390px;
    margin-inline: -10px;
    padding: 32px 20px;
    background:
      linear-gradient(180deg, rgba(5, 18, 35, 0.82) 0%, rgba(5, 18, 35, 0.58) 54%, rgba(5, 18, 35, 0.3) 100%),
      url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=900&q=80") center / cover;
  }

  .landing-hero-copy h1,
  .landing-hero-copy h2 {
    max-width: 11ch;
    font-size: 1.75rem;
  }

  .landing-page .landing-offer-card .card-image {
    height: 128px;
  }

  .price-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .seller-offer-title-row {
    align-items: flex-start;
  }

  .offer-sort-tabs {
    gap: 4px;
    margin-inline: -2px;
    padding: 4px;
    border-radius: 12px;
  }

  .offer-sort-tab {
    flex-basis: auto;
    font-size: 0.78rem;
  }

  .whatsapp-link {
    width: 100%;
  }
}

.landing-content {
  gap: 14px;
}

.landing-hero {
  min-height: clamp(210px, 30vw, 300px);
}

.landing-hero-copy h1,
.landing-hero-copy h2 {
  max-width: 12ch;
}

@media (max-width: 760px) {
  .landing-content {
    padding-top: 0;
    gap: 8px;
  }

  .landing-hero {
    min-height: 132px;
    align-items: center;
    margin-inline: -10px;
    padding: 16px 20px;
    background:
      linear-gradient(90deg, rgba(5, 18, 35, 0.82) 0%, rgba(5, 18, 35, 0.44) 100%),
      url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=900&q=80") center / cover;
  }

  .landing-kicker {
    min-height: 24px;
    padding-inline: 9px;
    font-size: 0.66rem;
  }

  .landing-hero-copy h1,
  .landing-hero-copy h2 {
    max-width: none;
    margin-top: 8px;
    font-size: 1.55rem;
    line-height: 1.02;
  }

  .landing-hero-copy p {
    max-width: 28ch;
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .offer-sort-tab {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .landing-page .promo-ofertas-types {
    padding-bottom: 4px;
  }

  .landing-page .promo-ofertas-type-btn {
    min-height: 34px;
    height: 34px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }
}

body.offers-app-page {
  background-image: repeating-linear-gradient(135deg, rgba(189,189,189,0.1) 0px, rgba(189,189,189,0.1) 2px,transparent 2px, transparent 4px),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
  color: #172033;
}

.app-bottom-nav em {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff6a13;
  color: #fff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.offers-app-page .app-home {
    max-width: 1200px;
    padding: 9px 18px 110px;
    gap: 26px;
}

.offers-app-page .app-offer-hero {
  position: relative;
  min-height: 310px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 410px);
  align-items: center;
  gap: 20px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 50%, rgba(61, 134, 255, 0.65), transparent 28%),
    linear-gradient(135deg, #083996 0%, #075ed0 52%, #0643a7 100%);
  box-shadow: 0 16px 40px rgba(7, 94, 208, 0.2);
}

.offers-app-page .app-offer-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.05;
  font-weight: 900;
}

.offers-app-page .app-offer-hero p {
  max-width: 34ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.hero-offers-link {
  width: min(100%, 560px);
  min-height: 64px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 12px 0 20px;
  border-radius: 18px;
  background: #fff;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(4, 29, 73, 0.18);
}

.hero-offers-link i:last-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #075ed0;
  color: #fff;
}

.hero-discount-art {
  position: relative;
  min-height: 230px;
}

.discount-shape {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 28px rgba(1, 18, 48, 0.22);
}

.discount-shape-main {
  right: 135px;
  top: 55px;
  width: 118px;
  height: 118px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff386d, #ff5b78);
  transform: rotate(-12deg);
}

.discount-shape-second {
  right: 42px;
  top: 18px;
  width: 126px;
  height: 126px;
  border-radius: 36px;
  background: linear-gradient(135deg, #ff7a00, #ff9c1b);
  transform: rotate(11deg);
}

.discount-shape-third {
  right: 10px;
  bottom: 22px;
  width: 98px;
  height: 98px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffd21a, #ffb300);
  transform: rotate(-14deg);
}

.discount-shape-third::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 28px;
  bottom: -38px;
  width: 90px;
  height: 92px;
  border-radius: 0 0 80px 80px;
  background: #ffd21a;
  transform: rotate(28deg);
}

.app-section {
  display: grid;
  gap: 16px;
}

.app-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-section-row h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 900;
    font-family: 'Open Sans';
    padding-left: 6px;
}

.app-section-row a, .app-section-row button {
    border: 0;
    background: transparent;
    color: #075ed0;
    font-size: 0.96rem;
    font-weight: 550;
    white-space: nowrap;
    font-family: 'Inter';
}

.featured-offers-strip,
.hot-offers-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.hot-offers-strip {
  gap: 12px;
}

.featured-offers-strip::-webkit-scrollbar,
.hot-offers-strip::-webkit-scrollbar {
  display: none;
}

.landing-desktop-rail-arrow {
  display: none;
}

@media (min-width: 901px) {
  .landing-rail-section,
  .landing-departments-inner {
    position: relative;
  }

  .landing-desktop-rail-arrow:not([hidden]) {
    width: 42px;
    height: 42px;
    position: absolute;
    top: calc(50% + 18px);
    z-index: 4;
    display: grid;
    place-items: center;
    border: 1px solid #d7e4f3;
    border-radius: 12px;
    background: #fff;
    color: #075ed0;
    box-shadow: var(--ui-shadow-soft);
    transform: translateY(-50%);
    transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out, opacity 150ms ease-out, transform 150ms ease-out;
  }

  .landing-desktop-rail-arrow[data-landing-scroll-dir="-1"] {
    left: -18px;
  }

  .landing-desktop-rail-arrow[data-landing-scroll-dir="1"] {
    right: -18px;
  }

  .landing-departments-inner .landing-desktop-rail-arrow:not([hidden]) {
    width: 36px;
    height: 36px;
    top: 50%;
    border-radius: 10px;
  }

  .landing-departments-inner .landing-desktop-rail-arrow[data-landing-scroll-dir="-1"] {
    left: 0;
  }

  .landing-departments-inner .landing-desktop-rail-arrow[data-landing-scroll-dir="1"] {
    right: 0;
  }

  .landing-departments-inner .landing-desktop-rail-arrow[data-landing-scroll-target="landingDepartmentRail"]:not([hidden]) {
    top: 40px;
  }

  .landing-departments-inner .landing-desktop-rail-arrow[data-landing-scroll-target="landingDepartmentCategoryRail"]:not([hidden]) {
    top: 101px;
    z-index: 100;
}

  .landing-desktop-rail-arrow svg {
    width: 20px;
    height: 20px;
    color: #ff6a13;
}

  .landing-desktop-rail-arrow:hover:not(:disabled),
  .landing-desktop-rail-arrow:focus-visible:not(:disabled) {
    border-color: #075ed0;
    background: #eef6ff;
    color: #064fb4;
    outline: 0;
    transform: translateY(calc(-50% - 1px));
  }

  .landing-desktop-rail-arrow:disabled {
    cursor: default;
    opacity: 0.36;
    box-shadow: none;
  }
}

.deal-card,
.mini-deal-card,
.category-card {
  border: 1px solid #e2e8f2;
  border-radius: var(--ui-radius-card);
  background: #fff;
  box-shadow: 0 7px 22px rgba(15, 23, 42, 0.07);
  scroll-snap-align: start;
}

.deal-card {
  position: relative;
  width: 236px;
  min-width: 236px;
  min-height: 376px;
  display: grid;
  grid-template-rows: 104px minmax(42px, auto) 18px minmax(66px, auto) 38px;
  justify-items: stretch;
  align-content: start;
  gap: 8px;
  padding: 42px 14px 12px;
  border-radius: 15px;
  text-align: center;
}

.landing-page .featured-offers-strip .deal-card-clean {
    min-height: 0;
    grid-template-rows: auto auto 18px auto auto;
    align-content: start;
    gap: 2px;
    padding-bottom: 12px;
}

.deal-badge {
  position: absolute;
  left: 12px;
  top: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--tone-color, #075ed0);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.deal-media-link {
  align-self: center;
  justify-self: center;
  display: grid;
  color: inherit;
}

.deal-media {
  justify-self: center;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: var(--tone-soft, #eaf3ff);
  color: var(--tone-color, #075ed0);
  background-position: center;
  background-size: cover;
  font-size: 2rem;
}

.deal-media.deal-icon,
.deal-icon {
  width: 70px;
  height: 70px;
  align-self: center;
  border-radius: 50%;
}

.deal-card h3,
.mini-deal-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 6px 0 0;
  color: #172033;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.deal-card h3 {
  min-height: 33px;
  margin: 0;
  align-self: start;
}

.deal-card p,
.mini-deal-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  color: #57667d;
  font-size: 0.84rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.deal-card small,
.mini-deal-card small {
  color: #68778e;
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.deal-card small {
    align-self: start;
    justify-self: left;
    min-height: 18px;
    display: inline-flex;
    gap: 4px;
    margin: 0;
    color: #0757c9;
    font-size: 0.72rem;
    font-weight: 800;
}

.deal-saving {
    width: 100%;
    display: flex;
    align-content: center;
    gap: 1px;
    margin-top: auto;
    min-height: 62px;
    padding: 8px 10px;
    border: 1px solid #f9f9f9;
    border-radius: 12px;
    background: #fbfbfb;
    color: #10833d;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.deal-saving span {
  color: #16803b;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.05;
}

.deal-saving strong {
    color: #10833d;
    font-size: 1.42rem;
    font-weight: 950;
    line-height: 1.05;
}

.deal-saving em,
.offer-price-note {
  color: #102d83;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
}

.deal-whatsapp-link,
.whatsapp-link,
.fresh-offers-banner a {
  justify-content: center;
  text-align: center;
}

.landing-page .featured-offers-strip .deal-card .deal-whatsapp-link,
.landing-page .hot-offers-strip .mini-deal-card .deal-whatsapp-link {
  width: 100%;
}

.landing-page .featured-offers-strip .deal-card-clean .deal-action-row {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.landing-page .featured-offers-strip .deal-card-clean .deal-action-row.has-single-action {
  grid-template-columns: 1fr;
}

.landing-page .featured-offers-strip .deal-card-clean .deal-interest-button {
  justify-self: start;
  align-self: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
}

.price-section .offer-price-note {
  display: block;
  width: 100%;
  margin-top: 2px;
}

.fresh-offers-banner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid #cfe8d4;
  border-radius: 15px;
  background: linear-gradient(90deg, #f5fff5, #ffffff);
}

.fresh-offers-banner > .emoji-icon,
.fresh-offers-banner > .material-symbols-rounded {
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid #10833d;
  border-radius: 10px;
  color: #10833d;
  font-size: 1.25rem;
}

.fresh-offers-banner strong,
.fresh-offers-banner span {
  display: block;
}

.fresh-offers-banner strong {
  color: #10833d;
  font-size: 1.1rem;
}

.fresh-offers-banner span {
  color: #64748b;
  font-size: 0.9rem;
}

.fresh-offers-banner a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  border-radius: 10px;
  background: #10833d;
  color: #fff;
  font-weight: 900;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "icon" "title";
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 20px 14px;
  border-radius: 14px;
  color: #172033;
  text-align: center;
}

.category-card span {
  grid-area: icon;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tone-soft, #eaf3ff);
  color: var(--tone-color, #075ed0);
  font-size: 1.85rem;
}

.category-card strong {
  grid-area: title;
  max-width: 100%;
  overflow: hidden;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}

.category-card small {
  grid-area: count;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 800;
}

.compact-category-pills {
  display: none;
}

.hot-offers-section {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eef6ff, #ffffff);
}

.mini-deal-card {
  position: relative;
  width: 272px;
  min-width: 272px;
  min-height: 188px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  align-items: start;
  gap: 6px 14px;
  padding: 34px 14px 12px;
  border-radius: 14px;
}

.mini-deal-card .deal-badge {
  min-height: 24px;
  font-size: 0.76rem;
}

.mini-deal-card .deal-media {
  grid-column: 1;
  grid-row: 1 / span 3;
  justify-self: start;
  align-self: start;
  width: 88px;
  height: 88px;
  min-height: 88px;
  border-radius: 18px;
}

.mini-deal-card h3,
.mini-deal-card p,
.mini-deal-card small {
  grid-column: 2;
  text-align: left;
}

.mini-deal-card h3 {
  margin-top: 2px;
  font-size: 1.04rem;
  line-height: 1.08;
  min-height: 0;
  -webkit-line-clamp: 3;
}

.mini-deal-card p {
  margin-top: 2px;
  color: #4f5f79;
  font-size: 0.9rem;
  line-height: 1.15;
}

.mini-deal-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  color: #6a7b93;
  font-size: 0.8rem;
  line-height: 1.1;
}

.mini-deal-card .offer-activity {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.mini-deal-card .deal-saving {
  display: none;
}

.mini-deal-card .deal-whatsapp-link {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 8px;
}

.tone-red { --tone-color: #f04438; --tone-soft: #ffe8e5; }
.tone-green { --tone-color: #2faa38; --tone-soft: #ddf4d8; }
.tone-orange { --tone-color: #ff6a13; --tone-soft: #ffe5d4; }
.tone-blue { --tone-color: #075ed0; --tone-soft: #e6f0ff; }
.tone-purple { --tone-color: #8f33d8; --tone-soft: #f0dcff; }
.tone-amber { --tone-color: #c77900; --tone-soft: #fff0c4; }
.tone-cyan { --tone-color: #0e9f9a; --tone-soft: #d8f7f5; }
.tone-gray { --tone-color: #64748b; --tone-soft: #eef2f7; }

.offers-app-page .offers-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.offers-app-page .landing-offer-card {
  width: auto;
  min-width: 0;
}

.offer-icon-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--tone-color, #075ed0);
  font-size: 3rem;
}

.offers-app-page .offer-image {
  background: var(--tone-soft, #eaf3ff);
}

.offers-app-page .offer-image.has-image .offer-icon-fallback,
.offers-app-page .offer-image.has-image::after {
  display: none;
}

.offers-app-page .offer-image::after {
  display: none;
}

.app-bottom-nav em {
  top: 5px;
  right: 26%;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-card span,
.skeleton-card strong,
.skeleton-card p,
.skeleton-card em {
  display: block;
  width: 100%;
  height: 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef3f8 0%, #f8fafc 48%, #eef3f8 100%);
  background-size: 220% 100%;
  animation: offerSkeleton 1.2s ease-in-out infinite;
}

.skeleton-card strong { height: 38px; }
.skeleton-card p { height: 28px; }
.skeleton-card em { height: 42px; margin-top: auto; }

@media (max-width: 760px) {
  body.offers-app-page {
    padding-bottom: 86px;
  }

  .offers-app-page .app-home {
    padding: 18px 12px 96px;
    gap: 20px;
  }

  .offers-app-page .app-offer-hero {
    min-height: 190px;
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 8px;
    padding: 22px 16px;
    border-radius: 17px;
  }

  .offers-app-page .app-offer-hero h1 {
    max-width: 11ch;
    font-size: 1.72rem;
  }

  .offers-app-page .app-offer-hero p {
    max-width: 20ch;
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .hero-offers-link {
    min-height: 44px;
    grid-template-columns: 24px minmax(0, 1fr) 32px;
    margin-top: 14px;
    padding: 0 7px 0 12px;
    border-radius: 13px;
    font-size: 0.82rem;
  }

  .hero-offers-link i:last-child {
    width: 32px;
    height: 32px;
  }

  .hero-discount-art {
    min-height: 136px;
  }

  .discount-shape {
    font-size: 2.1rem;
  }

  .discount-shape-main {
    right: 56px;
    top: 45px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .discount-shape-second {
    right: 12px;
    top: 20px;
    width: 70px;
    height: 70px;
    border-radius: var(--ui-radius-panel);
  }

  .discount-shape-third {
    right: 0;
    bottom: 10px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .discount-shape-third::before {
    width: 48px;
    height: 48px;
    right: 18px;
    bottom: -20px;
  }

  .app-section {
    gap: 5px;
  }

  .app-section-row h2 {
    font-size: 1.4rem;
}

  .app-section-row a, .app-section-row button {
    font-size: 1rem;
    padding-top: 3px;
}

  .featured-offers-strip,
  .hot-offers-strip {
    gap: 12px;
    padding-bottom: 8px;
  }

  .deal-card {
    width: clamp(176px, 46vw, 190px);
    min-width: clamp(176px, 46vw, 190px);
    min-height: 362px;
    grid-template-rows: 92px minmax(40px, auto) 18px minmax(62px, auto) 36px;
    padding: 34px 12px 10px;
    border-radius: 13px;
  }

  .deal-badge {
    left: 9px;
    top: 8px;
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .deal-media {
    width: 88px;
    height: 88px;
    border-radius: 16px;
  }

  .deal-media.deal-icon,
  .deal-icon {
    width: 64px;
    height: 64px;
    font-size: 1.7rem;
  }

  .deal-card h3 {
    font-size: 0.88rem;
  }

  .deal-card p,
  .deal-card small {
    font-size: 0.72rem;
  }

  .deal-saving {
    min-height: 58px;
    padding: 7px 9px;
  }

  .deal-saving span {
    font-size: 0.68rem;
    color: #696969;
  }

  .deal-saving strong {
    font-size: 1.36rem;
  }

  .fresh-offers-banner {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 64px;
    padding: 12px;
  }

  .fresh-offers-banner > .emoji-icon,
  .fresh-offers-banner > .material-symbols-rounded {
    width: 36px;
    height: 32px;
    font-size: 1rem;
  }

  .fresh-offers-banner strong {
    font-size: 0.92rem;
  }

  .fresh-offers-banner span {
    font-size: 0.76rem;
  }

  .fresh-offers-banner a {
    grid-column: 1 / -1;
    min-height: 40px;
    justify-content: center;
  }

  .category-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .category-card {
    min-height: 88px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 5px;
    border-radius: 12px;
  }

  .category-card span {
    width: 41px;
    height: 41px;
    font-size: 1.08rem;
  }

  .category-card strong {
    font-size: 0.76rem;
    line-height: 1.08;
  }

  .category-card small {
    display: none;
  }

  .hot-offers-section {
    padding: 14px 10px;
  }

  .mini-deal-card {
    width: clamp(236px, 64vw, 252px);
    min-width: clamp(236px, 64vw, 252px);
    min-height: 176px;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 32px 12px 10px;
  }

  .mini-deal-card .deal-media {
    width: 80px;
    height: 80px;
    min-height: 80px;
    border-radius: 16px;
  }

  .mini-deal-card .deal-media.deal-icon {
    width: 72px;
    height: 72px;
    min-height: 72px;
    font-size: 1.8rem;
  }

  .mini-deal-card h3 {
    font-size: 0.98rem;
  }

  .mini-deal-card p {
    font-size: 0.86rem;
  }

  .mini-deal-card small {
    font-size: 0.76rem;
  }

  .offers-app-page .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .offers-app-page .landing-offer-card .card-image {
    height: 112px;
  }

  .app-bottom-nav {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .app-bottom-nav em {
    right: 24%;
  }
}

@media (max-width: 430px) {
  .landing-hero {
    min-height: 150px;
  }

  .landing-hero-copy h1,
  .landing-hero-copy h2 {
    font-size: 1.45rem;
  }

  .landing-page .featured-offers-strip .deal-card {
    width: clamp(160px, calc(50vw - 22px), 178px);
    min-width: clamp(222px, calc(50vw - 22px), 178px);
}

  .landing-page .hot-offers-strip .mini-deal-card {
    width: min(252px, calc(100vw - 36px));
    min-width: min(252px, calc(100vw - 36px));
    min-height: 226px;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 6px 10px;
  }

  .landing-page .category-card {
    min-height: 124px;
  }

  .landing-page .category-card strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
}

/* UX/UI refinement pass: home density, card hierarchy and bottom nav. */
.offers-app-page .app-home {
  gap: 24px;
}

.offers-app-page .app-offer-hero {
  border-radius: var(--ui-radius-panel);
  box-shadow: 0 12px 30px rgba(7, 94, 208, 0.16);
}

.hero-live-pill {
  font-size: 0.76rem;
  font-weight: 800;
}

.offers-app-page .app-offer-hero h1 {
  font-weight: 800;
  letter-spacing: 0;
}

.hero-offers-link {
  min-height: 58px;
  border-radius: var(--ui-radius-panel);
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(4, 29, 73, 0.16);
}

.featured-offers-strip,
.hot-offers-strip {
  gap: 14px;
}

.deal-card {
    width: 212px;
    min-width: 220px;
    min-height: 354px;
    grid-template-rows: 96px minmax(38px, auto) 17px minmax(58px, auto) 36px;
    gap: 7px;
    padding: 38px 12px 10px;
}

.deal-badge,
.discount-badge,
.seller-landing-offer-badge {
  min-height: 26px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.deal-media {
  width: 92px;
  height: 92px;
  border-radius: var(--ui-radius-card);
}

.deal-media.deal-icon,
.deal-icon {
  width: 66px;
  height: 66px;
}

.deal-card h3,
.mini-deal-card h3 {
  color: #111a35;
  font-weight: 800;
}

.deal-card h3 {
    font-size: 1.05rem;
    line-height: 1.19;
    padding: 10px 12px 2px 12px;
    font-weight: 500;
}

.deal-card p,
.deal-card small,
.mini-deal-card p,
.mini-deal-card small {
  font-weight: 700;
}

.deal-saving {
  min-height: 58px;
  padding: 5px 2px;
  border-radius: var(--ui-radius-control);
}

.deal-saving span, .deal-saving em, .offer-price-note {
    font-size: 0.73rem;
    padding: 5px;
    font-weight: 550;
}

.deal-saving strong {
    font-size: 1.34rem;
    font-weight: 550;
    font-family: "Overpass", sans-serif;
}

.deal-saving .deal-saving-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  white-space: nowrap;
}

.deal-saving .deal-saving-kind {
    background: rgb(255 255 255 / 10%);
    color: #24013b;
}

.offer-price-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.offer-note-kind,
.offer-note-amount {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.offer-note-kind {
  background: rgba(16, 131, 61, 0.10);
  color: #16803b;
}

.offer-note-amount {
  background: rgba(16, 45, 131, 0.08);
  color: #102d83;
}

.deal-whatsapp-link,
.whatsapp-link {
  min-height: 36px;
  border-radius: 10px;
  font-weight: 800;
}

.offer-interest-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  box-shadow: var(--ui-shadow-soft);
}

.category-card {
  min-height: 136px;
  padding: 18px 12px;
}

.category-card span {
  width: 60px;
  height: 60px;
  font-size: 1.55rem;
}

.category-card strong {
    font-size: 0.96rem;
    font-weight: 500;
}

.category-card small {
  font-size: 0.78rem;
  font-weight: 700;
}

.fresh-offers-banner {
  border-radius: var(--ui-radius-card);
  box-shadow: none;
}

.fresh-offers-banner strong {
  font-size: 1rem;
  font-weight: 800;
}

.fresh-offers-banner span {
  font-size: 0.84rem;
  font-weight: 500;
}

.hot-offers-section {
  border-radius: var(--ui-radius-panel);
}

.app-bottom-nav {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.landing-bottom-link {
  font-weight: 700;
}

/* Hot offers card normalization: keep all cards in the rail on the same rhythm and hierarchy. */
.landing-page .hot-offers-strip .mini-deal-card {
  width: 272px;
  min-width: 272px;
  min-height: 244px;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: 48px 34px 20px 26px 40px;
  grid-template-areas:
    "media title"
    "media seller"
    "media meta"
    "activity activity"
    "actions actions";
  gap: 8px 12px;
  padding: 36px 12px 12px;
  border-radius: 16px;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-media-link {
  grid-area: media;
  align-self: start;
  justify-self: start;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-media {
  width: 88px;
  height: 88px;
  min-height: 88px;
  border-radius: 18px;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-media.deal-icon {
  width: 72px;
  height: 72px;
  min-height: 72px;
  margin-top: 8px;
}

.landing-page .hot-offers-strip .mini-deal-card h3 {
  grid-area: title;
  min-height: 48px;
  max-height: 48px;
  margin: 0;
  color: #0f1d39;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 800;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page .hot-offers-strip .mini-deal-card h3 a {
  color: inherit;
  text-decoration: none;
}

.landing-page .hot-offers-strip .mini-deal-card p {
  grid-area: seller;
  min-height: 34px;
  max-height: 34px;
  margin: 0;
  color: #0b5ecf;
  font-family: "Overpass", sans-serif;
  font-size: 0.78rem;
  line-height: 1.12;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.landing-page .hot-offers-strip .mini-deal-card small {
  grid-area: meta;
  min-width: 0;
  min-height: 20px;
  max-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #66758c;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page .hot-offers-strip .mini-deal-card .offer-activity {
  grid-area: activity;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0 9px;
  margin: 0;
  border-radius: 9px;
  background: #eef8ea;
  color: #5f7f34;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-action-row {
  grid-area: actions;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-action-row.has-single-action {
  grid-template-columns: 1fr;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-interest-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  align-self: stretch;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-whatsapp-link {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 12px;
  border-radius: 11px;
  background: #eff6ff;
  color: #173b84;
  font-family: "Overpass", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 430px) {
  .landing-page .hot-offers-strip .mini-deal-card {
    width: min(258px, calc(100vw - 34px));
    min-width: min(258px, calc(100vw - 34px));
    min-height: 244px;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: 48px 34px 20px 26px 40px;
    gap: 8px 10px;
  }

  .landing-page .hot-offers-strip .mini-deal-card h3 {
    font-size: 0.95rem;
  }

  .landing-page .hot-offers-strip .mini-deal-card p {
    font-size: 0.76rem;
  }

  .landing-page .hot-offers-strip .mini-deal-card small {
    font-size: 0.7rem;
  }
}

@media (max-width: 760px) {
  .offers-app-page .app-home {
    padding: 10px 12px 92px;
    gap: 18px;
  }

  .landing-department-chip.is-priority {
    z-index: 0 !important;
  }

  .offers-app-page .app-offer-hero {
    min-height: 178px;
    grid-template-columns: minmax(0, 1fr) 128px;
    padding: 20px 16px;
  }

  .hero-live-pill {
    font-size: 0.7rem;
  }

  .offers-app-page .app-offer-hero h1 {
    font-size: 1.62rem;
    line-height: 1.05;
  }

  .offers-app-page .app-offer-hero p {
    font-size: 0.84rem;
  }

  .hero-offers-link {
    min-height: 42px;
    margin-top: 12px;
    font-size: 0.8rem;
  }

  .featured-offers-strip,
  .hot-offers-strip {
    gap: 10px;
    padding-bottom: 6px;
  }

  .deal-card {
    width: clamp(166px, calc(50vw - 18px), 180px);
    min-width: clamp(166px, calc(50vw - 18px), 180px);
    min-height: 342px;
    grid-template-rows: 86px minmax(38px, auto) 17px minmax(56px, auto) 34px;
    padding: 32px 10px 9px;
  }

  .deal-badge {
    min-height: 23px;
    font-size: 0.7rem;
  }

  .deal-media {
    width: 82px;
    height: 82px;
  }

.deal-card h3 {
    font-size: 17px;
}

  .deal-card p, .deal-card small {
    font-size: 0.7rem;
    text-transform: capitalize;
  }

  .deal-saving strong {
    font-size: 1.24rem;
  }

  .deal-whatsapp-link, .whatsapp-link {
    min-height: 32px;
}

  .fresh-offers-banner strong {
    font-size: 0.88rem;
  }

  .fresh-offers-banner span {
    font-size: 0.74rem;
  }

  .category-card {
    min-height: 122px;
    padding: 12px 10px;
}

  .category-card span {
    width: 55px;
    height: 55px;
    font-size: 2.1rem;
}

  .category-card strong {
    font-size: 0.81rem;
}

  .app-bottom-nav {
    padding: 6px 7px;
  }

  .landing-bottom-link {
    min-height: 42px;
    font-size: 0.66rem;
  }
}

/* Hot offers carousel: lock compact card layout so buttons and text do not auto-flow into narrow columns. */
.landing-page .hot-offers-strip {
  align-items: stretch;
}

.landing-page .hot-offers-strip .mini-deal-card {
    width: 276px;
    min-width: 269px;
    min-height: 236px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-rows: auto auto auto 32px 38px;
    grid-template-areas: "media title"
    "media seller"
    "media meta"
    "activity activity"
    "actions actions";
    align-content: start;
    align-items: start;
    gap: 7px 12px;
    padding: 34px 12px 11px;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-media-link {
  grid-area: media;
  align-self: start;
  justify-self: start;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-media {
  width: 84px;
  height: 84px;
  min-height: 84px;
  border-radius: 16px;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-media.deal-icon {
    width: 72px;
    height: 72px;
    min-height: 72px;
    margin-top: 15px;
}

.landing-page .hot-offers-strip .mini-deal-card h3 {
    grid-area: title;
    margin: 0;
    min-height: 0;
    color: #061638;
    font-size: 0.98rem;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-page .hot-offers-strip .mini-deal-card p {
  grid-area: seller;
  margin: 1px 0 0;
  font-size: 0.82rem;
  line-height: 1.16;
  -webkit-line-clamp: 2;
  color: #075ed0;
    font-weight: 900;
    font-family: "Kalam"
}

.landing-page .hot-offers-strip .mini-deal-card small {
  grid-area: meta;
  min-width: 0;
  margin: 0;
  color: #68778e;
  font-size: 0.74rem;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}

.landing-page .hot-offers-strip .mini-deal-card .offer-activity {
  grid-area: activity;
  align-self: center;
  justify-self: start;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-interest-button {
  grid-area: auto;
  align-self: stretch;
  justify-self: start;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  line-height: 1;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-interest-button b {
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  font-size: 0.68rem;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-saving {
  display: none;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-action-row {
  grid-area: actions;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-action-row.has-single-action {
  grid-template-columns: 1fr;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-whatsapp-link {
    grid-area: auto;
    width: 100%;
    min-height: 36px;
    margin: 0;
    align-self: end;
    padding-top: 5px;
    font-family: 'Open Sans';
    font-weight: 350;
    font-size: 16px;
    background: #eff6ff;
}

@media (max-width: 430px) {
  .landing-page .hot-offers-strip .mini-deal-card .deal-media {
    width: 80px;
    height: 80px;
    min-height: 80px;
  }

  .landing-page .hot-offers-strip .mini-deal-card h3 {
    font-size: 1.1rem;
}

  .landing-page .hot-offers-strip .mini-deal-card p {
    font-size: 0.70rem;
    min-height: 0px;
  }
}

/* Mobile clarity pass: remove the repeated promo banner from the home scroll. */
@media (max-width: 760px) {
  .landing-page .fresh-offers-banner {
    display: none;
  }

  .landing-page .featured-offers-strip .deal-card,
  .landing-page .hot-offers-strip .mini-deal-card,
  .landing-page .category-card {
    box-shadow: var(--ui-shadow-soft);
  }

  .landing-page .category-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .landing-page .category-card {
    min-height: 88px;
    gap: 6px;
    padding: 10px 5px;
    border-radius: 12px;
  }

  .landing-page .category-card span {
    width: 41px;
    height: 41px;
    font-size: 1.08rem;
  }

  .landing-page .category-card strong {
    font-size: 0.76rem;
    line-height: 1.08;
  }

  .landing-page .category-card small {
    display: none;
  }
}

/* Home department rail */
.landing-departments-bar[hidden] {
  display: none;
}

.landing-departments-bar {
    border-bottom: 1px solid #e4ebf5;
    background: radial-gradient(#f5f5f5, #efefef29);
}

.landing-departments-inner {
    width: min(100%, 1181px);
    margin: 0 auto;
    padding: 10px 14px 11px;
    display: grid;
    gap: 8px;
}

.landing-departments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #52627a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-department-rail {
  display: flex;
  gap: 9px;
  max-width: 100%;
  padding: 2px 0 3px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.landing-department-rail::-webkit-scrollbar {
  display: none;
}

.landing-department-category-rail[hidden] {
  display: none;
}

.landing-department-category-rail {
  padding-top: 0;
}

.landing-department-chip,
.landing-category-chip,
.landing-category-all-chip {
    flex: 0 0 auto;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid #c8dcf6;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 550;
    line-height: 1;
    scroll-snap-align: start;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
    border-color: #f1f1f1;
    background: radial-gradient(#e9e9e9, transparent);
    color: #18002f;
    outline: 0;
    transform: translateY(-1px);
    font-family: "Overpass", sans-serif;
    cursor: pointer;
    text-decoration: none;
}

.landing-category-chip, .landing-category-all-chip {
    min-height: 35px !important;
    background: #ffffff;
    margin-top: 3px;
    border: solid 1px #fff;
    font-size: 14px;
    font-weight: 550;
    font-family: "Noto Sans Symbols 2", sans-serif;
}

.landing-department-chip.is-active {
    background: #0250eb;
    color: #ffffff;
    font-size: 15px;
    z-index: 100;
}

.landing-department-chip.is-active em {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.landing-category-all-chip {
    background: #00ff3914;
    color: #000000;
}

.landing-department-chip:hover,
.landing-department-chip:focus-visible {
    border-color: #075ed0;
        background: radial-gradient(#075ed0, #004bf5);
    color: #ffffff;
    outline: 0;
    transform: translateY(-1px);
}

.landing-category-chip:hover, .landing-category-chip:focus-visible, .landing-category-all-chip:hover, .landing-category-all-chip:focus-visible {
    background: #d8f5a2;
    color: #000000;
    outline: 0;
    transform: translateY(-1px);
    border: none;
}

.landing-department-chip.is-priority {
    border-color: #dddddd;
    background: radial-gradient(#075ed0, #004bf5);
    color: #fff;
    z-index: 1000;
    width: 161px;
    font-size: 16px;
    display: flex;
    flex-direction: row;
}

.landing-department-chip em,
.landing-category-chip em,
.landing-category-all-chip em {
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: radial-gradient(#ffffff, #ffffff);
    color: #1c1c1c;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    white-space: nowrap;
}

.landing-department-chip.is-priority em {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.landing-info-section {
  border: 1px solid #dfe7f2;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.landing-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-info-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5edf6;
  border-radius: 12px;
  background: #f8fbff;
}

.landing-info-grid strong,
.landing-contact-section p {
  color: #172033;
}

.landing-info-grid span,
.landing-contact-section p {
  margin: 0;
  color: #64748b;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .landing-departments-inner {
    padding: 6px 6px 4px 6px;
    gap: 0px;
    background: linear-gradient(360deg, #fbfbfb, transparent);
}
  .landing-departments-head {
    font-size: 0.68rem;
  }

  .landing-department-chip,
  .landing-category-chip,
  .landing-category-all-chip {
    min-height: 50px;
    gap: 5px;
    padding-inline: 9px;
    font-size: 0.82rem;
  }

  .landing-department-chip em,
  .landing-category-chip em,
  .landing-category-all-chip em {
    min-height: 18px;
    padding-inline: 5px;
    font-size: 0.80rem;
    padding: 6px 8px;
    border-radius: 7px;
    font-weight: 600;
}

  .landing-info-section {
    padding: 12px;
    border-radius: 14px;
  }

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

@media (max-width: 760px) {
  body.landing-page,
  body.all-offers-page,
  body.offer-detail-page,
  body.seller-landing-page {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .offers-app-page .app-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    min-height: 49px;
    display: flex;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 -10px 24px rgba(5, 40, 110, 0.2);
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}
  .offers-app-page .landing-bottom-link {
    position: relative;
    min-width: 0;
    min-height: 50px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    padding: 5px 4px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: rgb(0 0 0 / 86%);
    font-size: 0.67rem;
    font-weight: 500;
    line-height: 1.05;
    text-decoration: none;
}

  .offers-app-page .landing-bottom-link > span:not(.emoji-icon):not(.material-symbols-rounded) {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .offers-app-page .landing-bottom-link .emoji-icon,
  .offers-app-page .landing-bottom-link .material-symbols-rounded {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 33, 92, 0.18));
  }

  .offers-app-page .landing-bottom-link-top .emoji-icon,
  .offers-app-page .landing-bottom-link-top .material-symbols-rounded {
    font-size: 0;
  }

  .offers-app-page .landing-bottom-link-top .emoji-icon::before,
  .offers-app-page .landing-bottom-link-top .material-symbols-rounded::before {
    content: "\1F3C6";
    font-size: 1.02rem;
  }

  .offers-app-page .landing-bottom-link:hover,
  .offers-app-page .landing-bottom-link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    outline: 0;
  }

  .offers-app-page .landing-bottom-link-active,
  .offers-app-page .landing-bottom-link[aria-current="page"] {
    border-color: rgba(255, 255, 255, 0.68);
    background: #fff;
    color: #075ed0;
    box-shadow: 0 10px 22px rgba(2, 23, 68, 0.2);
  }

  .offers-app-page .landing-bottom-link-active:hover,
  .offers-app-page .landing-bottom-link[aria-current="page"]:hover,
  .offers-app-page .landing-bottom-link-active:focus-visible,
  .offers-app-page .landing-bottom-link[aria-current="page"]:focus-visible {
    background: #fff;
    color: #075ed0;
  }

  .offers-app-page .app-bottom-nav em {
    top: 5px;
    right: calc(50% - 27px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #075ed0;
    background: #ff6a13;
    color: #fff;
    font-size: 0.64rem;
  }
}

@media (max-width: 380px) {
  .offers-app-page .app-bottom-nav {
    gap: 4px;
    padding-inline: 6px;
  }

  .offers-app-page .landing-bottom-link {
    min-height: 48px;
    font-size: 0.63rem;
  }
}

/* Promos destacadas: compact card without activity badge, with price visible. */
.landing-page .hot-offers-strip .mini-deal-card {
  min-height: 214px;
  grid-template-rows: auto auto auto auto 36px;
  grid-template-areas:
    "media title"
    "media seller"
    "media meta"
    "media price"
    "actions actions";
  gap: 5px 12px;
}

.landing-page .hot-offers-strip .mini-deal-card .offer-activity {
  display: none;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-saving {
  grid-area: price;
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 3px 7px;
  align-items: center;
  margin: 0;
  padding: 5px 7px;
  border: 1px solid #c8f3d7;
  border-radius: 11px;
  background: #f1fff6;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-saving span {
  color: #0c7d38;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-saving strong {
  color: #07833c;
  font-family: var(--market-font, "Overpass", sans-serif);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-saving .deal-saving-kind {
  min-width: 0;
  min-height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page .hot-offers-strip .mini-deal-card .deal-saving .deal-saving-kind {
  display: none;
}
