/*
 * Grocery offers: the bazaar's offer board. The head is a hand-painted shop sign in rickshaw-art
 * colours (sun yellow, a red and green painted border, a ribbon); each automatic offer is a shelf
 * talker hung on the shelf edge with a tangerine starburst; each flash sale runs under a weighing
 * scale's green LCD clock. Nothing on offer: a sign turned over, "back soon".
 */
/* ── The painted sign ── */
.offers-head.go-sign {
  position: relative;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(1.4rem, 4vw, 2.2rem) clamp(1.2rem, 4vw, 2.4rem) clamp(1.3rem, 4vw, 2rem);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0.9rem 0.9rem, #c0392b 0 0.32rem, #0000 0.36rem),
    radial-gradient(circle at calc(100% - 0.9rem) 0.9rem, #c0392b 0 0.32rem, #0000 0.36rem),
    radial-gradient(circle at 0.9rem calc(100% - 0.9rem), #c0392b 0 0.32rem, #0000 0.36rem),
    radial-gradient(
      circle at calc(100% - 0.9rem) calc(100% - 0.9rem),
      #c0392b 0 0.32rem,
      #0000 0.36rem
    ),
    radial-gradient(120% 120% at 10% 0%, #fff6c9, var(--sun) 55%, #fbd35c);
  box-shadow:
    inset 0 0 0 0.45rem #fde68a,
    inset 0 0 0 0.75rem var(--accent),
    inset 0 0 0 0.95rem #fde68a,
    inset 0 0 0 1.12rem #c0392b,
    0 20px 34px -24px rgb(90 50 0 / 0.6);
  text-align: center;
}
.go-sign .go-ribbon {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 1.4rem 0.35rem;
  background: #c0392b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.7rem) 50%, 100% 100%, 0 100%, 0.7rem 50%);
}
.go-title.gp-title {
  color: #14532d;
  font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
  text-shadow: 0.05em 0.05em 0 #fff8;
}
.go-sign .lead {
  max-width: 36rem;
  margin: 0.6rem auto 0;
  color: #4a3410;
  font-weight: 600;
}

/* ── Offers: shelf talkers ── */
.offer-list {
  gap: 1.75rem 1.25rem;
  margin-bottom: 3rem;
}
.offer-card {
  position: relative;
  gap: 1.1rem;
  margin-top: 0.6rem;
  padding: 1.4rem 1.3rem 1.3rem;
  border: 0;
  border-radius: 4px 4px 14px 14px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    0 14px 24px -20px rgb(20 33 24 / 0.5);
}
/* The clip that holds it on the shelf edge. */
.offer-card::before {
  content: '';
  position: absolute;
  top: -0.6rem;
  left: 50%;
  width: 3.2rem;
  height: 0.9rem;
  translate: -50% 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #e6ece7, #b9c4bc);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
}
.offer-card:hover {
  transform: translateY(-3px);
}
/* The starburst. */
.offer-icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0;
  background: var(--tangerine);
  color: #fff;
  clip-path: polygon(
    50% 0,
    61% 12%,
    75% 6%,
    78% 21%,
    94% 25%,
    88% 39%,
    100% 50%,
    88% 61%,
    94% 75%,
    78% 79%,
    75% 94%,
    61% 88%,
    50% 100%,
    39% 88%,
    25% 94%,
    22% 79%,
    6% 75%,
    12% 61%,
    0 50%,
    12% 39%,
    6% 25%,
    22% 21%,
    25% 6%,
    39% 12%
  );
}
.offer-icon .icon {
  width: 1.45rem;
  height: 1.45rem;
  stroke-width: 2;
}
.offer-text h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
}
.offer-text .offer-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.1rem 0.55rem;
  border-radius: 4px;
  background: var(--sun);
  color: var(--memo-ink);
  font-size: 0.8125rem;
}
:lang(bn) .offer-text .offer-badge {
  letter-spacing: 0;
  text-transform: none;
}
.offer-text .offer-ends {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--chalk);
  color: rgb(244 241 228 / 0.8);
}
.offer-text .offer-ends time {
  color: #b6f5a8;
  font-family: var(--font-head);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Flash sales: under a scale's LCD clock ── */
.flash-block {
  margin-bottom: 3.5rem;
}
.flash-head {
  align-items: center;
  margin-bottom: 1.4rem;
  padding: 0.9rem 0.9rem 0.9rem 1.2rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f5f6f2, #dfe5df);
  box-shadow:
    inset 0 -4px 0 #c8d1c9,
    0 10px 20px -16px rgb(20 33 24 / 0.5);
}
.flash-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  font-weight: 800;
}
.flash-head .icon {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--tangerine);
}
.flash-clock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
  padding: 0.45rem 0.85rem;
  border: 3px solid #3d4540;
  border-radius: 8px;
  background: linear-gradient(180deg, #b8d8a0, #9cc483);
  color: #23401a;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.25);
}
.flash-clock time {
  color: #102a0b;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.flash-clock.is-soon {
  background: linear-gradient(180deg, #fde68a, #f8cf55);
  color: #5a3d00;
}
.flash-clock.is-soon time {
  color: #3d2a00;
}

/* ── Nothing on offer: the sign turned over ── */
.empty-state.go-empty {
  max-width: 34rem;
  margin: 0 auto 3rem;
  padding: clamp(1.75rem, 5vw, 2.5rem) 1.5rem;
  border: 2px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
}
.go-empty > .icon {
  width: 3rem;
  height: 3rem;
  color: var(--tangerine);
}
.go-empty .empty {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}
