:root {
  --bg: #f5f6fb;
  --card: #fff;
  --text: #111827;
  --muted: #667085;
  --line: #e6e8f0;
  --brand: #ff5b2e;
  --brand2: #7c3aed;
  --hot: #ff3b1f;
  --cold: #3b82f6;
  --ok: #16a34a;
  --warn: #f59e0b;
  --shadow: 0 18px 50px rgba(17, 24, 39, .08);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffaf7 0, #f5f6fb 310px);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 74px
}

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

img {
  max-width: 100%;
  display: block
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 232, 240, .9);
  box-shadow: 0 12px 35px rgba(17, 24, 39, .04)
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  position: relative
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 91, 46, .24)
}

.brand strong {
  display: block;
  font-size: 21px;
  letter-spacing: -.04em
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: -3px
}

.search {
  flex: 1 1 310px;
  max-width: 390px;
  display: flex;
  align-items: center;
  background: #f4f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7)
}

.search:focus-within {
  background: #fff;
  border-color: #ffd0c0;
  box-shadow: 0 0 0 4px rgba(255, 91, 46, .08)
}

.search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 12px 14px;
  font: inherit;
  min-width: 90px
}

.search button,
.btn,
.btn-mini,
button.primary {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ff8a2f);
  color: #fff;
  font-weight: 800;
  padding: 11px 18px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 91, 46, .2)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.btn.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none
}

.btn.danger {
  background: #ef4444
}

.btn.block {
  width: 100%
}

.btn-mini {
  padding: 9px 13px;
  font-size: 13px
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #303545;
  font-weight: 750;
  font-size: 14px;
  white-space: nowrap
}

.nav a:hover,
.nav a.active {
  background: #f2f3f8
}

.nav .publish-link {
  background: #151827;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .18)
}

.user-menu {
  position: relative
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 9px 5px 5px;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
  max-width: 190px
}

.user-menu-trigger:hover,
.user-menu.open .user-menu-trigger {
  border-color: #ffd0c0;
  background: #fff8f4
}

.user-avatar-mini {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
  line-height: 1
}

.user-menu-label {
  display: grid;
  text-align: left;
  line-height: 1.05;
  min-width: 0
}

.user-menu-label strong {
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px
}

.user-menu-label small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px
}

.user-menu-caret {
  color: #8a90a0;
  font-weight: 900;
  transition: transform .18s ease
}

.user-menu.open .user-menu-caret {
  transform: rotate(180deg)
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .16);
  z-index: 60
}

.user-menu.open .user-dropdown {
  display: grid;
  gap: 2px
}

.user-dropdown:before {
  content: "";
  position: absolute;
  right: 22px;
  top: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg)
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 13px;
  padding: 10px 11px;
  font-size: 14px;
  color: #303545
}

.user-dropdown a:hover {
  background: #f6f7fb
}

.user-dropdown span {
  width: 22px;
  text-align: center
}

.user-dropdown .dropdown-logout {
  color: #b42318;
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin-top: 4px;
  padding-top: 12px
}

.menu-toggle {
  display: none;
  border: 0;
  background: #f2f3f8;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 22px
}

.cat-strip {
  display: flex;
  gap: 9px;
  overflow: auto;
  padding: 0 0 12px;
  scrollbar-width: none
}

.cat-strip::-webkit-scrollbar {
  display: none
}

.cat-strip a {
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 999px;
  color: #4b5565;
  font-weight: 750;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, .04)
}

.cat-strip a:hover {
  border-color: #ffd0c0;
  background: #fff8f4;
  color: #263042
}

.main {
  padding: 28px 0 36px
}

.alert {
  padding: 13px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: #fff
}

.alert.success {
  border-color: #bbf7d0;
  background: #f0fdf4
}

.alert.error {
  border-color: #fecaca;
  background: #fff1f2
}

.alert.warning {
  border-color: #fde68a;
  background: #fffbeb
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  margin-bottom: 22px
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 38px;
  background: linear-gradient(135deg, #111827 0%, #243b6b 45%, #f25535 100%);
  color: #fff;
  box-shadow: var(--shadow)
}

.hero-card h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -.07em
}

.hero-card p {
  max-width: 650px;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  margin: 0 0 22px
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.hero-actions .btn.secondary {
  background: rgba(255, 255, 255, .13);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px)
}

.stats-card {
  display: grid;
  gap: 12px
}

.stat {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow)
}

.stat strong {
  font-size: 30px;
  display: block;
  letter-spacing: -.04em
}

.stat span {
  color: var(--muted);
  font-weight: 750
}

.layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 22px
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.toolbar h2 {
  font-size: 24px;
  letter-spacing: -.04em;
  margin: 0
}

.sorts {
  display: flex;
  gap: 8px;
  overflow: auto
}

.sorts a {
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4b5565;
  font-weight: 800;
  font-size: 13px
}

.sorts a.active {
  background: #151827;
  color: #fff;
  border-color: #151827
}

.feed {
  display: grid;
  gap: 14px
}

.offer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(17, 24, 39, .05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 0;
  transition: .18s ease
}

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

.offer-img {
  height: 100%;
  min-height: 154px;
  background: #f1f2f7
}

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

.offer-body {
  padding: 17px
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #f4f5fa;
  color: #596174;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800
}

.chip.green {
  background: #ecfdf5;
  color: #047857
}

.chip.orange {
  background: #fff1eb;
  color: var(--brand)
}

.offer-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  margin: 0 0 8px
}

.offer-title a:hover {
  color: var(--brand)
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap
}

.price {
  font-size: 26px;
  font-weight: 950;
  color: #119155;
  letter-spacing: -.05em
}

.old-price {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 700
}

.desc {
  color: var(--muted);
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.offer-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px
}

.temp-box {
  padding: 14px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  background: linear-gradient(180deg, #fff, #fff8f6)
}

.temp-score {
  font-size: 26px;
  font-weight: 950;
  color: var(--hot);
  letter-spacing: -.05em
}

.temp-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase
}

.vote-row {
  display: flex;
  gap: 7px
}

.vote-btn {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  cursor: pointer
}

.vote-btn.hot:hover,
.vote-btn.active.hot {
  background: #fff1eb;
  border-color: #fed7c7
}

.vote-btn.cold:hover,
.vote-btn.active.cold {
  background: #eff6ff;
  border-color: #bfdbfe
}

.sidebar {
  display: grid;
  gap: 14px;
  align-content: start
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px;
  box-shadow: 0 10px 34px rgba(17, 24, 39, .05)
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: -.03em
}

.mini-list {
  display: grid;
  gap: 10px
}

.mini-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center
}

.mini-item img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 13px;
  background: #f2f3f8
}

.mini-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.25
}

.mini-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700
}

.form-card,
.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 24px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.field {
  display: grid;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-weight: 900;
  color: #303545
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfbfd;
  border-radius: 15px;
  padding: 13px 14px;
  font: inherit;
  outline: 0
}

.field textarea {
  min-height: 120px;
  resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #ffad91;
  box-shadow: 0 0 0 4px rgba(255, 91, 46, .1)
}

.auth-wrap {
  min-height: calc(100vh - 260px);
  display: grid;
  place-items: center
}

.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px
}

.auth-card h1,
.form-card h1,
.content-card h1 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -.05em
}

.muted {
  color: var(--muted)
}

.offer-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px
}

.detail-image {
  border-radius: 24px;
  overflow: hidden;
  background: #f2f3f8;
  border: 1px solid var(--line)
}

.detail-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover
}

.detail-title {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -.07em;
  margin: 16px 0
}

.coupon {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  background: #151827;
  color: #fff;
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 900;
  margin: 14px 0
}

.coupon code {
  font-size: 18px
}

.comments {
  display: grid;
  gap: 12px;
  margin-top: 18px
}

.comment {
  background: #f8f8fb;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 18px
}

.comment header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #596174;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 7px
}

.empty {
  border: 2px dashed var(--line);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: #fff
}

.admin-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px
}

.admin-menu {
  background: #151827;
  color: #fff;
  border-radius: 24px;
  padding: 14px;
  height: max-content;
  position: sticky;
  top: 100px
}

.admin-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800
}

.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px
}

.table th,
.table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle
}

.table th {
  font-size: 12px;
  text-transform: uppercase;
  color: #687083;
  background: #fbfbfd
}

.table tr:last-child td {
  border-bottom: 0
}

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900
}

.status.published,
.status.active {
  background: #dcfce7;
  color: #166534
}

.status.pending {
  background: #fef3c7;
  color: #92400e
}

.status.expired,
.status.blocked {
  background: #fee2e2;
  color: #991b1b
}

.status.rejected {
  background: #f3f4f6;
  color: #374151
}

.actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.small-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 7px 9px;
  font-weight: 800;
  cursor: pointer
}

.small-btn.green {
  background: #ecfdf5;
  color: #047857
}

.small-btn.red {
  background: #fef2f2;
  color: #b91c1c
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px
}

.pagination a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 9px 12px;
  font-weight: 900
}

.pagination a.active {
  background: #151827;
  color: #fff
}

.footer {
  background: #111522;
  color: #fff;
  margin-top: 40px;
  padding: 30px 0 12px
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center
}

.footer p {
  color: rgba(255, 255, 255, .65);
  margin: 4px 0 0
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.footer-links a {
  color: rgba(255, 255, 255, .75);
  font-weight: 800
}

.copy {
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  margin-top: 22px
}

.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  z-index: 40;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr)
}

.mobile-tabbar a {
  text-align: center;
  font-size: 19px;
  color: #303545;
  font-weight: 900
}

.mobile-tabbar span {
  display: block;
  font-size: 11px;
  margin-top: 2px
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 18px
}

.avatar {
  width: 82px;
  height: 82px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 32px;
  font-weight: 950
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.banner {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 16px
}

.banner img {
  width: 100%;
  max-height: 180px;
  object-fit: cover
}

@media(max-width:960px) {
  .nav-wrap {
    min-height: 68px
  }

  .search {
    order: 3;
    flex-basis: 100%
  }

  .nav-wrap {
    flex-wrap: wrap
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow)
  }

  .nav.open {
    display: flex
  }

  .nav a {
    text-align: center
  }

  .hero,
  .layout,
  .offer-detail,
  .admin-layout {
    grid-template-columns: 1fr
  }

  .sidebar {
    order: 2
  }

  .admin-menu {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr)
  }

  .stats-card {
    grid-template-columns: repeat(3, 1fr)
  }

  .hero-card {
    padding: 26px
  }

  .offer-card {
    grid-template-columns: 116px 1fr
  }

  .temp-box {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 11px 14px
  }

  .form-grid,
  .grid-3 {
    grid-template-columns: 1fr
  }

  .mobile-tabbar {
    display: grid
  }

  .footer {
    padding-bottom: 86px
  }

  .footer-grid {
    display: grid;
    text-align: center
  }

  .footer-links {
    justify-content: center
  }
}

@media(max-width:560px) {
  body {
    font-size: 14px
  }

  .container {
    width: min(100% - 20px, 1180px)
  }

  .brand small {
    display: none
  }

  .brand strong {
    font-size: 18px
  }

  .brand-mark {
    width: 40px;
    height: 40px
  }

  .search button {
    padding-inline: 12px
  }

  .cat-strip {
    padding-bottom: 10px
  }

  .main {
    padding-top: 18px
  }

  .hero-card {
    border-radius: 24px;
    padding: 22px
  }

  .hero-actions .btn {
    width: 100%
  }

  .stats-card {
    grid-template-columns: 1fr
  }

  .toolbar {
    align-items: flex-start;
    flex-direction: column
  }

  .offer-card {
    grid-template-columns: 96px 1fr;
    border-radius: 18px
  }

  .offer-img {
    min-height: 132px
  }

  .offer-body {
    padding: 13px
  }

  .offer-title {
    font-size: 16px
  }

  .price {
    font-size: 22px
  }

  .offer-footer {
    font-size: 12px;
    gap: 8px
  }

  .temp-score {
    font-size: 22px
  }

  .form-card,
  .content-card,
  .auth-card {
    padding: 18px;
    border-radius: 22px
  }

  .detail-title {
    font-size: 30px
  }

  .profile-head {
    align-items: flex-start
  }

  .admin-menu {
    grid-template-columns: 1fr
  }

  .table th,
  .table td {
    padding: 10px
  }

  .footer {
    margin-top: 20px
  }
}

@media(max-width:1120px) {
  .search {
    max-width: 320px
  }

  .nav a {
    padding-inline: 10px
  }

  .user-menu-label small {
    display: none
  }

  .user-menu-trigger {
    max-width: 152px
  }
}

@media(max-width:960px) {
  .search {
    max-width: none;
    margin-bottom: 10px
  }

  .menu-toggle[aria-expanded=true] {
    background: #151827;
    color: #fff
  }

  .nav {
    margin-left: 0;
    top: calc(100% + 10px);
    z-index: 80
  }

  .nav a {
    display: block;
    border-radius: 14px
  }

  .user-menu {
    width: 100%
  }

  .user-menu-trigger {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 8px
  }

  .user-menu-label {
    flex: 1
  }

  .user-menu-label strong {
    max-width: none
  }

  .user-menu-label small {
    display: block
  }

  .user-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    background: #f8f9fc
  }

  .user-dropdown:before {
    display: none
  }

  .user-dropdown a {
    text-align: left
  }

  .user-dropdown .dropdown-logout {
    border-radius: 0 0 12px 12px
  }
}

@media(max-width:420px) {
  .search {
    padding: 4px
  }

  .search input {
    padding-inline: 10px
  }

  .search button {
    font-size: 13px
  }

  .cat-strip a {
    font-size: 12px;
    padding: 8px 11px
  }

  .user-dropdown a {
    font-size: 13px
  }
}

/* Visual mais compacto: menos cantos arredondados e menos espaco vazio. */
:root {
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 28px rgba(17, 24, 39, .07);
}

body {
  background: linear-gradient(180deg, #fff 0, #f5f6fb 240px);
}

.container {
  width: min(1560px, calc(100% - 48px));
}

.topbar {
  background: rgba(255, 255, 255, .94);
}

.nav-wrap {
  min-height: 64px;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand strong {
  font-size: 19px;
}

.search {
  max-width: 430px;
  border-radius: 12px;
  padding: 4px;
}

.search button,
.btn,
.btn-mini,
button.primary {
  border-radius: 10px;
  padding: 10px 16px;
}

.nav a,
.nav .publish-link {
  border-radius: 10px;
}

.user-menu-trigger {
  border-radius: 12px;
  padding: 4px 9px 4px 4px;
}

.user-avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.user-dropdown {
  border-radius: 12px;
}

.user-dropdown a {
  border-radius: 8px;
}

.cat-strip {
  padding-bottom: 10px;
}

.cat-strip a {
  border-radius: 10px;
  padding: 8px 12px;
}

.main {
  padding: 22px 0 30px;
}

.hero {
  grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr);
  gap: 16px;
  margin-bottom: 20px;
  align-items: start;
}

.hero-card {
  border-radius: 16px;
  padding: 34px 42px;
}

.hero-card h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-bottom: 10px;
}

.hero-card p {
  margin-bottom: 20px;
}

.stats-card {
  gap: 14px;
  align-content: start;
}

.stat {
  border-radius: 14px;
  padding: 22px 24px;
}

.layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
}

.toolbar {
  margin-bottom: 12px;
}

.sorts a {
  border-radius: 10px;
  padding: 8px 13px;
}

.offer-card,
.side-card,
.form-card,
.content-card,
.auth-card,
.table-wrap,
.banner,
.empty {
  border-radius: 12px;
}

.offer-card {
  grid-template-columns: 160px minmax(0, 1fr) 118px;
}

.offer-body {
  padding: 18px 20px;
}

.offer-img {
  min-height: 146px;
}

.chip {
  border-radius: 8px;
}

.temp-box {
  min-width: 118px;
  padding: 12px;
}

.vote-btn,
.small-btn,
.pagination a {
  border-radius: 8px;
}

.side-card {
  padding: 18px;
}

.mini-item img {
  border-radius: 8px;
}

.admin-menu {
  border-radius: 12px;
}

.admin-menu a {
  border-radius: 8px;
}

.avatar {
  border-radius: 12px;
}

@media(max-width:960px) {
  .container {
    width: min(100% - 28px, 1480px);
  }

  .nav {
    border-radius: 14px;
    top: calc(100% + 8px);
  }

  .hero,
  .layout {
    gap: 16px;
  }

  .hero-card {
    padding: 28px;
  }

  .stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat {
    padding: 16px;
  }
}

@media(max-width:560px) {
  .container {
    width: min(100% - 20px, 1480px);
  }

  .nav-wrap {
    gap: 10px;
  }

  .hero-card {
    border-radius: 12px;
    padding: 22px;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }

  .offer-card {
    grid-template-columns: 96px 1fr;
  }

  .offer-body {
    padding: 12px;
  }
}

/* Ajustes inspirados no Pelando: largura contida, cards leves e menos volume visual. */
:root {
  --bg: #f7f6f3;
  --card: #fff;
  --text: #202431;
  --muted: #788193;
  --line: #e3e5eb;
  --shadow: 0 2px 10px rgba(17, 24, 39, .04);
  --radius: 10px;
  --radius-sm: 8px;
}

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

.container {
  width: min(1392px, calc(100% - 72px));
}

.topbar {
  box-shadow: none;
}

.nav-wrap {
  min-height: 58px;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.search {
  max-width: 620px;
  background: #fff;
}

.nav .publish-link {
  background: #151827;
}

.cat-strip {
  padding-top: 2px;
}

.main {
  padding-top: 18px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.hero-card {
  min-height: 170px;
  padding: 28px 34px;
  border-radius: 10px;
  background: #e7e9ef;
  color: var(--text);
  box-shadow: none;
}

.hero-card h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.6vw, 48px);
}

.hero-card p {
  color: #596174;
}

.hero-actions .btn.secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.stats-card {
  gap: 12px;
}

.stat {
  min-height: 0;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: none;
}

.layout {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
}

.offer-card {
  grid-template-columns: 150px minmax(0, 1fr) 112px;
  border-radius: 10px;
  box-shadow: none;
}

.offer-card:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.offer-img {
  min-height: 148px;
}

.offer-title {
  font-size: 17px;
}

.price {
  color: #ff5b00;
}

.side-card {
  box-shadow: none;
}

.form-card,
.content-card,
.auth-card {
  box-shadow: none;
}

.input-action {
  display: flex;
  gap: 8px;
}

.input-action input {
  flex: 1;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
}

.field-hint[data-state="success"] {
  color: #047857;
}

.field-hint[data-state="error"] {
  color: #b42318;
}

.preview-box {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fbfbfd;
  border-radius: 10px;
  padding: 10px;
}

.preview-box[hidden] {
  display: none;
}

.preview-box img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef0f5;
}

.preview-box strong,
.preview-box span {
  display: block;
}

.preview-box span {
  color: var(--muted);
  font-size: 13px;
}

.deal-page {
  display: grid;
  gap: 24px;
}

.deal-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 40px;
}

.deal-detail-title {
  margin: 0 0 24px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.deal-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr);
  gap: 32px;
  align-items: start;
}

.deal-product-pane,
.deal-comments-pane {
  min-width: 0;
}

.deal-image-frame {
  display: grid;
  place-items: center;
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.deal-image-frame img {
  width: 100%;
  max-height: 285px;
  object-fit: contain;
}

.deal-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 14px;
}

.deal-temp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
}

.deal-temp-pill strong {
  color: #ff5b00;
  font-size: 15px;
}

.deal-temp-pill .vote-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: #fff;
}

.deal-store-btn {
  min-width: 158px;
  border-radius: 999px;
}

.deal-store-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.deal-store-line strong {
  color: var(--text);
}

.deal-price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 14px;
}

.deal-price-line strong {
  color: #ff5b00;
  font-size: 40px;
  line-height: 1;
}

.deal-price-line span {
  color: #9aa1ad;
  text-decoration: line-through;
  font-weight: 800;
}

.deal-meta-row,
.deal-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.deal-description {
  color: #3f4655;
  margin: 14px 0;
}

.compact-coupon {
  border-radius: 10px;
  margin: 14px 0 0;
}

.deal-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.deal-comments-head h2 {
  margin: 0;
  font-size: 18px;
}

.deal-comments-head span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.deal-op-comment,
.deal-comments-list .comment {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.deal-op-comment header,
.deal-comments-list .comment header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.deal-op-comment p {
  margin: 0;
}

.deal-comments-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
  margin-top: 12px;
}

.deal-comments-list .comment {
  background: #f5f5f6;
}

.compact-empty {
  padding: 18px;
}

.comment-compose {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  background: #f7f4f1;
  border-radius: 12px;
  padding: 12px;
}

.comment-compose input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  outline: 0;
}

.comment-compose button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ff6a00;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.comment-login {
  display: block;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 900;
}

.deal-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 24px;
  align-items: start;
}

.deal-whatsapp-card,
.deal-report-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.deal-whatsapp-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffd8b0;
}

.deal-whatsapp-card strong,
.deal-whatsapp-card span {
  display: block;
}

.deal-whatsapp-card .btn {
  margin-left: auto;
  border-radius: 999px;
}

.deal-report-card h3 {
  margin: 0 0 10px;
}

.deal-report-card textarea {
  min-height: 80px;
}

.deal-bottom-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.deal-related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
}

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

.deal-related-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.04em;
}

.deal-related-head a {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

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

.related-offer-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: .18s ease;
}

.related-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, .08);
}

.related-offer-img {
  display: grid;
  place-items: center;
  height: 140px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.related-offer-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.related-offer-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-width: 0;
  flex: 1;
}

.related-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #fff2ea;
  color: #ff5b2e;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-store img {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  flex: 0 0 auto;
}

.related-offer-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.03em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-price {
  margin-top: auto;
  color: #ff5b00;
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.05em;
}

.related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

@media(max-width:1180px) {
  .container {
    width: min(100% - 32px, 1392px);
  }

  .hero,
  .layout,
  .deal-bottom-grid {
    grid-template-columns: 1fr;
  }

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

@media(max-width:720px) {
  .container {
    width: min(100% - 20px, 1392px);
  }

  .deal-detail-card {
    padding: 18px;
  }

  .deal-buy-row,
  .deal-store-line,
  .deal-whatsapp-card {
    align-items: stretch;
    flex-direction: column;
  }

  .deal-store-btn,
  .deal-whatsapp-card .btn {
    width: 100%;
  }

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

  .input-action {
    flex-direction: column;
  }
}

/* Ajustes 26/06: hero sem estatísticas, sidebar maior e card mobile estilo oferta compacta. */
.hero.hero-simple {
  display: block;
  margin-bottom: 24px;
}

.hero.hero-simple .hero-card {
  width: 100%;
  min-height: 185px;
}

.layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
}

.sidebar {
  gap: 16px;
}

.side-card {
  padding: 20px;
}

.mini-list {
  gap: 12px;
}

.mini-item {
  grid-template-columns: 58px 1fr;
  gap: 12px;
}

.mini-item img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.mini-item strong {
  font-size: 14px;
}

.offer-mobile-head,
.mobile-comment-pill,
.mobile-more-btn {
  display: none;
}

.temp-info {
  display: grid;
  justify-items: center;
}

@media(max-width:1180px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

@media(max-width:720px) {
  .main {
    padding-top: 14px;
  }

  .hero.hero-simple {
    margin-bottom: 18px;
  }

  .hero.hero-simple .hero-card {
    min-height: 0;
    padding: 22px;
  }

  .hero-card h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .toolbar {
    gap: 10px;
  }

  .sorts {
    width: 100%;
    padding-bottom: 2px;
  }

  .feed {
    gap: 16px;
  }

  .offer-card {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
  }

  .offer-card:hover {
    transform: none;
  }

  .offer-mobile-head {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .offer-mobile-user {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }

  .offer-mobile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    font-size: 16px;
    flex: 0 0 auto;
  }

  .offer-mobile-user strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
  }

  .offer-mobile-time {
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
  }

  .offer-img {
    grid-column: 1;
    align-self: center;
    justify-self: center;
    width: 118px;
    height: 118px;
    min-height: 0;
    margin: 14px 0 14px 14px;
    border-radius: 16px;
    background: #fff;
  }

  .offer-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
  }

  .offer-body {
    grid-column: 2;
    padding: 14px 14px 12px 10px;
  }

  .offer-meta {
    gap: 6px;
    margin-bottom: 7px;
  }

  .chip {
    border-radius: 999px;
    font-size: 11px;
    padding: 4px 8px;
  }

  .chip-category {
    display: none;
  }

  .offer-title {
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .price-line {
    gap: 6px;
  }

  .price {
    font-size: 29px;
    line-height: 1.05;
  }

  .old-price {
    display: none;
  }

  .desc,
  .offer-footer {
    display: none;
  }

  .temp-box {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: auto auto auto minmax(92px, auto);
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 16px;
    border-left: 0;
    border-top: 1px solid var(--line);
    background: #fff;
    min-width: 0;
  }

  .temp-info {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
  }

  .temp-info:before {
    content: '❄️';
    font-size: 17px;
  }

  .temp-info:after {
    content: '🔥';
    font-size: 17px;
  }

  .temp-score {
    font-size: 19px;
    line-height: 1;
  }

  .temp-label {
    display: none;
  }

  .vote-row {
    gap: 6px;
  }

  .vote-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 16px;
  }

  .mobile-comment-pill,
  .mobile-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900;
    color: var(--text);
  }

  .mobile-more-btn {
    gap: 7px;
    font-size: 15px;
  }

  .mobile-more-btn span {
    color: var(--brand);
    font-size: 24px;
    line-height: 0;
    margin-top: -1px;
  }

  .side-card {
    border-radius: 18px;
  }
}

@media(max-width:460px) {
  .offer-card {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .offer-mobile-head {
    padding-inline: 14px;
  }

  .offer-img {
    width: 106px;
    height: 106px;
    margin-left: 12px;
  }

  .offer-body {
    padding-right: 12px;
  }

  .chip {
    font-size: 10px;
    padding: 4px 7px;
  }

  .chip-coupon {
    display: none;
  }

  .offer-title {
    font-size: 18px;
    -webkit-line-clamp: 3;
  }

  .price {
    font-size: 26px;
  }

  .temp-box {
    grid-template-columns: auto auto auto;
    row-gap: 10px;
  }

  .mobile-more-btn {
    grid-column: 1/-1;
    width: 100%;
  }
}

/* Ajustes 26/06: logos/imagens das lojas. */
.chip-store {
  align-items: center;
}

.chip-logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, .08);
  flex: 0 0 auto;
}

.mini-item .store-logo {
  object-fit: contain;
  background: #fff;
  padding: 7px;
}

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

.store-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 34px rgba(17, 24, 39, .05);
  transition: .18s ease;
}

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

.store-card-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #f7f8fb;
  border: 1px solid var(--line);
  overflow: hidden;
}

.store-card-logo-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.store-card-info {
  min-width: 0;
}

.store-card-info strong,
.store-card-info small {
  display: block;
}

.store-card-info strong {
  font-size: 17px;
  letter-spacing: -.03em;
}

.store-card-info small {
  color: var(--muted);
  font-weight: 800;
  margin-top: 3px;
}

.store-card-arrow {
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.store-admin-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px;
}

.store-admin-table input,
.store-admin-table select {
  width: 100%;
  min-width: 140px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  font: inherit;
}

.store-admin-table small {
  display: block;
  margin-top: 4px;
}

.store-logo-input {
  min-width: 170px;
  margin-bottom: 7px;
  background: #fbfbfd;
}

.deal-store-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.deal-store-brand img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}

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

@media(max-width:560px) {
  .stores-grid {
    grid-template-columns: 1fr;
  }

  .store-card {
    border-radius: 18px;
    padding: 14px;
    grid-template-columns: 52px 1fr auto;
  }

  .store-card-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .store-card-logo-wrap img {
    width: 38px;
    height: 38px;
  }

  .chip-logo {
    width: 16px;
    height: 16px;
    border-radius: 5px;
  }
}

/* Ajustes 26/06: responsividade do filtro, card mobile menor e aviso de duplicidade. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.toolbar,
.sorts,
.feed,
.offer-card,
.offer-body {
  min-width: 0;
}

.field-hint[data-state="warning"] {
  color: #b45309;
}

@media(max-width:720px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .toolbar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .sorts {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 7px;
    padding: 3px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sorts::-webkit-scrollbar {
    display: none;
  }

  .sorts a {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 8px 11px;
  }

  .offer-card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .offer-mobile-head {
    padding: 10px 13px;
  }

  .offer-mobile-user strong {
    font-size: 15px;
  }

  .offer-mobile-time {
    font-size: 13px;
  }

  .offer-img {
    width: 104px;
    height: 104px;
    margin: 12px 0 12px 12px;
  }

  .offer-body {
    padding: 12px 12px 10px 8px;
  }

  .offer-title {
    font-size: 17px;
    line-height: 1.22;
    -webkit-line-clamp: 3;
  }

  .price {
    font-size: 25px;
  }

  .temp-box {
    padding: 10px 12px 13px;
  }
}

@media(max-width:430px) {
  .container {
    width: min(100% - 14px, 1180px);
  }

  .sorts a {
    font-size: 11px;
    padding: 7px 10px;
  }

  .offer-card {
    grid-template-columns: 112px minmax(0, 1fr);
    border-radius: 18px;
  }

  .offer-img {
    width: 92px;
    height: 92px;
    margin: 10px 0 10px 10px;
    border-radius: 14px;
  }

  .offer-body {
    padding: 10px 10px 8px 7px;
  }

  .chip {
    max-width: 100%;
    font-size: 10px;
    padding: 3px 7px;
  }

  .chip-store {
    max-width: 100%;
  }

  .chip-store .chip-logo {
    flex: 0 0 auto;
  }

  .offer-title {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 7px;
    -webkit-line-clamp: 3;
  }

  .price {
    font-size: 23px;
  }

  .temp-info {
    padding: 6px 10px;
  }

  .temp-score {
    font-size: 17px;
  }

  .vote-btn {
    width: 32px;
    height: 32px;
  }

  .mobile-comment-pill,
  .mobile-more-btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* Ajuste final 26/06: classificação responsiva sem vazamento no mobile. */
@media(max-width:720px) {
  .toolbar {
    overflow: visible;
  }

  .sorts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    overflow: visible;
    gap: 8px;
    padding: 0;
  }

  .sorts a {
    width: 100%;
    min-width: 0;
    flex: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
    min-height: 46px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .offer-mobile-head,
  .offer-body,
  .temp-box {
    min-width: 0;
  }

  .offer-mobile-user {
    min-width: 0;
    overflow: hidden;
  }

  .offer-mobile-time {
    max-width: 44%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

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

  .sorts a {
    min-height: 42px;
  }
}


/* Ajustes 26/06: produtos relacionados na página da oferta e CTA do WhatsApp. */
@media(max-width:960px) {
  .deal-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:720px) {
  .deal-related-card {
    padding: 16px;
    border-radius: 18px;
  }

  .deal-related-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .deal-related-head h2 {
    font-size: 20px;
  }

  .related-offer-img {
    height: 118px;
  }

  .deal-whatsapp-card {
    gap: 10px;
  }

  .deal-whatsapp-card .btn {
    margin-left: 0;
    text-align: center;
  }
}

@media(max-width:430px) {
  .deal-related-grid {
    grid-template-columns: 1fr;
  }

  .related-offer-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    border-radius: 16px;
  }

  .related-offer-img {
    height: 100%;
    min-height: 128px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .related-offer-img img {
    padding: 9px;
  }

  .related-offer-body h3 {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .related-price {
    font-size: 21px;
  }
}


/* Ajustes 26/06: botão de compartilhamento da oferta. */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.share-btn.is-copied {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #047857;
}

.share-feedback {
  min-height: 18px;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
}

@media(max-width:520px) {
  .deal-actions-row .small-btn {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .deal-actions-row .muted,
  .share-feedback {
    flex: 1 1 100%;
  }
}

/* Ajustes 26/06 v1.0.6: logo novo, comparação de preços, textos mais legíveis e comentário inline no desktop. */
.brand-logo {
  min-width: 0;
}

.brand-logo img {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(330px, 38vw);
}

.deal-engagement-row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(260px, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.deal-actions-row {
  min-width: 0;
}

.comment-compose-inline,
.comment-login-inline {
  margin-top: 0;
}

.comment-login-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  background: #fff;
}

.comments-inline-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.related-offer-card {
  border-radius: 14px;
}

.related-offer-img {
  height: 154px;
}

.related-offer-img img {
  width: auto;
  height: auto;
  max-width: calc(100% - 18px);
  max-height: calc(100% - 18px);
  object-fit: contain;
  padding: 0;
  image-rendering: auto;
}

.related-offer-body h3,
.related-price,
.offer-title,
.price,
.deal-detail-title,
.deal-price-line strong {
  text-shadow: 0 1px 2px rgba(17, 24, 39, .10);
}

.deal-compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.deal-compare-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compare-best-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 8px 12px;
  font-weight: 900;
  white-space: nowrap;
}

.compare-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
}

.compare-table th {
  background: #fbfbfd;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tr.is-current {
  background: #fff8f2;
}

.compare-table tr.is-best {
  box-shadow: inset 4px 0 0 #16a34a;
}

.compare-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.compare-store-link {
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}

.compare-store-link:hover,
.compare-store-link:focus-visible {
  color: #ff5b00;
  background: #fff4ed;
  outline: 0;
}

.compare-store img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.compare-title-line {
  font-weight: 800;
  line-height: 1.35;
}

.compare-tag {
  display: inline-flex;
  margin-top: 6px;
  border-radius: 999px;
  background: #f4f5fa;
  color: #596174;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
}

.compare-table td strong {
  color: #ff5b00;
  font-size: 18px;
  letter-spacing: -.02em;
}

@media(max-width:960px) {
  .brand-logo img {
    height: 46px;
    max-width: min(280px, 58vw);
  }

  .deal-engagement-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width:720px) {
  .brand-logo img {
    height: 40px;
    max-width: 56vw;
  }

  .deal-compare-card,
  .deal-related-card {
    padding: 16px;
  }

  .compare-best-badge {
    white-space: normal;
  }
}

@media(max-width:560px) {
  .brand-logo img {
    height: 34px;
    max-width: 48vw;
  }

  .compare-table {
    min-width: 560px;
  }
}

/* Ajustes 26/06 v1.0.7: comentário na coluna direita, comparador por modelo, botões e temperaturas. */
.deal-detail-grid {
  align-items: stretch;
}

.deal-comments-pane {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.deal-comments-pane .comment-compose {
  margin-top: 16px;
}

.deal-actions-row {
  margin-top: 16px;
}

.deal-engagement-row {
  display: block;
}

.comment-compose-inline,
.comment-login-inline,
.comments-inline-hint {
  display: none !important;
}

.deal-temp-pill {
  min-width: 122px;
  justify-content: center;
  align-items: center;
}

.deal-temp-pill strong {
  min-width: 32px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.temp-box,
.temp-info,
.temp-score,
.temp-label {
  text-align: center;
}

.temp-score {
  line-height: 1.05;
}

.compare-model-chip {
  background: #eef6ff;
  color: #1d4ed8;
}

.compare-table td:last-child {
  width: 116px;
  text-align: center;
}

.compare-table .small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  white-space: nowrap;
  line-height: 1.1;
}

.deal-report-card form .small-btn {
  width: 100%;
  margin-top: 10px;
  min-height: 40px;
}

.deal-report-card textarea {
  margin-top: 8px;
}

@media(max-width:1180px) {
  .deal-comments-pane {
    min-height: 0;
  }
}

@media(max-width:560px) {
  .deal-temp-pill {
    min-width: 112px;
  }

  .deal-actions-row {
    align-items: stretch;
  }
}

/* Ajustes 26/06 v1.0.8: relacionados separados da imagem e comparação em uma linha. */
.related-offer-card {
  overflow: hidden;
}

.related-offer-img {
  position: relative;
  z-index: 1;
  height: 132px;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.related-offer-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px 14px;
}

.related-offer-body {
  position: relative;
  z-index: 2;
  background: #fff;
  border-top: 0;
}

.compare-table {
  table-layout: fixed;
  min-width: 820px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 150px;
}

.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
  width: 150px;
}

.compare-table th:last-child,
.compare-table td:last-child {
  width: 130px;
}

.compare-title-line {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-table td strong {
  display: inline-block;
  white-space: nowrap;
}

.compare-table .small-btn {
  width: 100%;
  min-width: 0;
}

@media(max-width:720px) {
  .related-offer-img {
    height: 118px;
  }

  .compare-table {
    min-width: 720px;
  }
}

@media(max-width:430px) {
  .related-offer-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .related-offer-img {
    height: auto;
    min-height: 132px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .related-offer-img img {
    padding: 8px;
  }
}

/* Ajustes 26/06 v1.0.10: index agrupado por modelo, mostrando menor preço e faixa de comparação. */
.compare-range-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 2px 0px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.compare-range-line strong {
  color: #ff5b00;
  white-space: nowrap;
}

.compare-range-line span {
  margin-left: 4px;
  border-radius: 999px;
  background: #fff1eb;
  color: #ff5b2e;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

@media(max-width:560px) {
  .compare-range-line {
    font-size: 12px;
    line-height: 1.35;
  }
}

/* Ajustes 26/06 v1.0.11: link curto/afiliado Shopee no preview e mais espaço entre loja e descrição no comparador. */
.compare-table th:first-child,
.compare-table td:first-child {
  width: 185px;
  padding-right: 30px;
}

.compare-store {
  max-width: 155px;
  padding-right: 8px;
}

.compare-title-line {
  padding-left: 4px;
}

@media(max-width:720px) {
  .compare-table {
    min-width: 780px;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    width: 176px;
  }
}


/* Ajuste 26/06 v1.0.12: relacionados agrupados por modelo, igual ao index. */
.related-compare-range {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.25;
}

.related-compare-range span {
  padding: 2px 7px;
  font-size: 11px;
}

/* Ajuste v1.0.13: altura fixa dos cards no desktop para imagens não esticarem o feed. */
@media (min-width:721px) {
  .feed>.offer-card {
    height: 184px;
    min-height: 184px;
    max-height: 184px;
    grid-template-columns: 164px minmax(0, 1fr) 112px;
    align-items: stretch;
  }

  .feed>.offer-card .offer-img {
    width: 164px;
    height: 184px;
    min-height: 184px;
    max-height: 184px;
    overflow: hidden;
    background: #f6f7fb;
  }

  .feed>.offer-card .offer-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1px;
    background: #fff;
  }

  .feed>.offer-card .offer-body {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .feed>.offer-card .offer-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
  }

  .feed>.offer-card .desc {
    -webkit-line-clamp: 1;
    margin-bottom: 8px;
  }

  .feed>.offer-card .temp-box {
    min-height: 184px;
    height: 184px;
  }
}

/* Ajuste v1.0.14: mantém o título visível nos cards do feed com altura fixa. */
@media (min-width:721px) {
  .feed>.offer-card {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
    grid-template-columns: 168px minmax(0, 1fr) 112px;
  }

  .feed>.offer-card .offer-img {
    width: 168px;
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .feed>.offer-card .offer-body {
    padding: 14px 18px;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
  }

  .feed>.offer-card .offer-meta {
    margin-bottom: 2px;
    flex: 0 0 auto;
  }

  .feed>.offer-card .offer-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.22;
    min-height: 44px;
    margin: 0 0 3px;
    flex: 0 0 auto;
  }

  .feed>.offer-card .price-line,
  .feed>.offer-card .compare-range-line,
  .feed>.offer-card .offer-footer {
    flex: 0 0 auto;
  }

  .feed>.offer-card .desc {
    margin: 2px 0 4px;
    -webkit-line-clamp: 1;
    flex: 0 1 auto;
  }

  .feed>.offer-card .temp-box {
    height: 210px;
    min-height: 210px;
  }
}

/* Ajuste v1.0.15: reduz espaços internos do card fixo sem esconder o título. */
@media (min-width:721px) {
  .feed>.offer-card {
    height: 192px;
    min-height: 192px;
    max-height: 192px;
    grid-template-columns: 168px minmax(0, 1fr) 112px;
  }

  .feed>.offer-card .offer-img {
    width: 168px;
    height: 192px;
    min-height: 192px;
    max-height: 192px;
  }

  .feed>.offer-card .offer-body {
    padding: 12px 18px;
    justify-content: center;
    gap: 3px;
    overflow: hidden;
  }

  .feed>.offer-card .offer-meta {
    margin: 0 0 4px;
    gap: 7px;
  }

  .feed>.offer-card .chip {
    padding: 4px 9px;
    line-height: 1.15;
  }

  .feed>.offer-card .offer-title {
    min-height: 0;
    margin: 0 0 2px;
    line-height: 1.2;
    font-size: 18px;
  }

  .feed>.offer-card .price-line {
    margin: 0;
    line-height: 1.05;
    gap: 8px;
  }

  .feed>.offer-card .price {
    font-size: 25px;
    line-height: 1.05;
  }

  .feed>.offer-card .compare-range-line {
    margin: 0 0 2px;
    line-height: 1.15;
    gap: 4px;
  }

  .feed>.offer-card .compare-range-line span {
    padding: 2px 7px;
  }

  .feed>.offer-card .desc {
    margin: 0 0 3px;
    line-height: 1.25;
    -webkit-line-clamp: 1;
  }

  .feed>.offer-card .offer-footer {
    margin: 0;
    line-height: 1.15;
    gap: 10px;
  }

  .feed>.offer-card .temp-box {
    height: 192px;
    min-height: 192px;
  }
}

/* Ajuste v1.0.16: refinamentos mobile/sidebar/comparação. */
.sort-select {
  display: none;
}

.side-banner {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(17, 24, 39, .05);
}

.side-banner img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

.side-card .mini-list {
  gap: 0;
}

.side-card .mini-item {
  padding: 9px 0;
  border-bottom: 1px solid #eef0f6;
}

.side-card .mini-item:first-child {
  padding-top: 0;
}

.side-card .mini-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-card .mini-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.22;
}

.footer,
.footer-grid,
.footer .copy {
  text-align: center;
}

.footer-grid {
  justify-content: center;
  justify-items: center;
  flex-direction: column;
}

.footer-links {
  justify-content: center;
}

@media(max-width:960px) {
  .topbar {
    padding-top: calc(8px + env(safe-area-inset-top));
  }

  .nav-wrap {
    min-height: 72px;
    row-gap: 10px;
  }

  .brand-logo img {
    max-width: min(270px, 60vw);
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
  }

  .nav.open {
    display: flex;
    position: fixed;
    left: 18px;
    right: 18px;
    top: calc(78px + env(safe-area-inset-top));
    margin: 0;
    z-index: 200;
    padding: 16px;
    border: 1px solid #dfe3ee;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
    box-shadow: 0 28px 80px rgba(17, 24, 39, .28);
  }

  .nav.open a {
    background: #fff;
    border: 1px solid #eef0f6;
    color: #303545;
  }

  .nav.open a.active,
  .nav.open .publish-link {
    background: #151827;
    border-color: #151827;
    color: #fff;
  }

  .nav.open .user-menu-trigger {
    background: #fff;
  }

  .sorts {
    display: none;
  }

  .sort-select {
    width: 100%;
    display: grid;
    gap: 7px;
  }

  .sort-select label {
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .sort-select select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 0 14px;
    color: #303545;
    font: inherit;
    font-weight: 900;
    outline: 0;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .04);
  }

  .compare-table {
    min-width: 0 !important;
    width: 100%;
    table-layout: fixed;
  }

  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2),
  .compare-table th:last-child,
  .compare-table td:last-child {
    display: none;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    width: 62% !important;
    padding: 13px 10px 13px 14px;
  }

  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3) {
    width: 38% !important;
    padding: 13px 14px 13px 8px;
    text-align: right;
  }

  .compare-store {
    max-width: 100%;
    min-height: 36px;
    padding: 4px 6px 4px 0;
  }

  .compare-store strong {
    font-size: 15px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .compare-table td strong {
    font-size: 16px;
    white-space: nowrap;
  }
}

@media(max-width:560px) {
  .topbar {
    padding-top: calc(10px + env(safe-area-inset-top));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand-logo img {
    height: 42px;
    max-width: 65vw;
  }

  .search {
    margin-bottom: 6px;
  }

  .nav.open {
    left: 12px;
    right: 12px;
    top: calc(74px + env(safe-area-inset-top));
  }

  .side-card .mini-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}


/* Ajuste v1.0.17: topo com respiro, menu mobile mais próximo, hover do publicar, banners laterais e Amazon short links. */
@media (min-width:961px) {
  .topbar .nav-wrap {
    min-height: 82px;
    padding: 10px 0 8px;
  }

  .cat-strip {
    padding-top: 2px;
    padding-bottom: 14px;
  }
}

.nav .publish-link:hover,
.nav .publish-link:focus {
  background: #202437 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .24);
}

.deal-side-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.deal-side-banner img {
  max-height: 280px;
  object-fit: cover;
}

@media(max-width:960px) {
  .nav.open {
    top: calc(64px + env(safe-area-inset-top));
    background: #fff;
    border-color: #d9deea;
    box-shadow: 0 22px 70px rgba(17, 24, 39, .30);
  }

  .topbar .nav-wrap {
    padding-bottom: 6px;
  }
}

@media(max-width:560px) {
  .nav.open {
    top: calc(60px + env(safe-area-inset-top));
  }
}


/* Ajuste v1.0.18: relacionados em 1 linha e banners no feed/sidebar. */
.related-offer-body h3,
.related-offer-body h3 a {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-inline-banner {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .06);
}

.feed-inline-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: cover;
}

.sidebar>.side-banner:first-child {
  margin-bottom: 0;
}

.side-banner+.side-card,
.side-card+.side-banner {
  margin-top: 0;
}

@media(max-width:720px) {
  .feed-inline-banner {
    border-radius: 18px;
  }

  .feed-inline-banner img {
    max-height: 140px;
  }
}

/* Ajuste v1.0.19: no mobile, destaque único de temperatura e apenas botão Curtir. */
@media(max-width:720px) {
  .temp-box {
    grid-template-columns: minmax(112px, auto) auto auto minmax(92px, auto);
    gap: 10px;
  }

  .temp-info {
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #fed7c7;
    background: linear-gradient(135deg, #eef7ff 0%, #fff7ed 58%, #fff1eb 100%);
    box-shadow: 0 8px 18px rgba(255, 91, 46, .10);
    font-weight: 950;
  }

  .temp-info:before,
  .temp-info:after {
    filter: drop-shadow(0 2px 4px rgba(17, 24, 39, .12));
  }

  .temp-score {
    color: var(--hot);
    font-size: 21px;
  }

  .vote-row {
    justify-content: flex-end;
  }

  .vote-row .vote-btn.cold {
    display: none;
  }

  .vote-row .vote-btn.hot {
    width: auto;
    min-width: 78px;
    padding: 0 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5b2e, #ff8a2f);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 18px rgba(255, 91, 46, .22);
    font-size: 0;
    font-weight: 950;
  }

  .vote-row .vote-btn.hot::before {
    content: '❤';
    font-size: 15px;
    margin-right: 6px;
  }

  .vote-row .vote-btn.hot::after {
    content: 'Curtir';
    font-size: 13px;
  }

  .vote-row .vote-btn.hot:hover,
  .vote-row .vote-btn.hot.active {
    background: linear-gradient(135deg, #f04438, #ff6f2c);
    border-color: transparent;
  }
}

@media(max-width:430px) {
  .temp-box {
    grid-template-columns: minmax(104px, auto) auto auto minmax(80px, auto);
    gap: 7px;
    padding-inline: 10px;
  }

  .temp-info {
    padding: 7px 10px;
  }

  .temp-score {
    font-size: 18px;
  }

  .vote-row .vote-btn.hot {
    min-width: 70px;
    padding: 0 10px;
  }

  .vote-row .vote-btn.hot::after {
    font-size: 12px;
  }
}

/* Ajuste v1.0.20: mobile com 50% temperatura, 25% comentários e 25% compartilhar. */
.mobile-temp-vote,
.mobile-share-pill {
  display: none;
}

@media(max-width:720px) {
  .temp-box {
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 10px !important;
    align-items: center;
  }

  .temp-info.mobile-temp-actions {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    display: grid;
    grid-template-columns: auto minmax(34px, auto) auto;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
    padding: 7px 10px;
    border: 1px solid #fed7c7;
    background: linear-gradient(135deg, #eef7ff 0%, #fff7ed 58%, #fff1eb 100%);
    box-shadow: 0 8px 18px rgba(255, 91, 46, .10);
    border-radius: 999px;
  }

  .temp-info.mobile-temp-actions::before,
  .temp-info.mobile-temp-actions::after {
    content: none !important;
    display: none !important;
  }

  .mobile-temp-vote {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 2px 8px rgba(17, 24, 39, .08);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
  }

  .mobile-temp-vote.hot:hover,
  .mobile-temp-vote.hot.active {
    background: #fff1eb;
    box-shadow: 0 0 0 2px rgba(255, 91, 46, .16);
  }

  .mobile-temp-vote.cold:hover,
  .mobile-temp-vote.cold.active {
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .14);
  }

  .temp-info.mobile-temp-actions .temp-score {
    color: var(--hot);
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .temp-info.mobile-temp-actions .temp-label {
    display: none;
  }

  .mobile-comment-pill,
  .mobile-share-pill {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    padding: 7px 8px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .04);
  }

  .mobile-share-pill {
    border-color: #ffd0c0;
    background: linear-gradient(135deg, #ff5b2e, #ff8a2f);
    color: #fff;
    box-shadow: 0 10px 18px rgba(255, 91, 46, .20);
    cursor: pointer;
  }

  .mobile-share-pill.is-copied {
    font-size: 11px;
    padding-inline: 6px;
  }

  .vote-row {
    display: none !important;
  }

  .mobile-more-btn {
    grid-column: 1/-1;
    width: 100%;
  }
}

@media(max-width:430px) {
  .temp-box {
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 7px !important;
  }

  .temp-info.mobile-temp-actions {
    min-height: 42px;
    column-gap: 5px;
    padding-inline: 7px;
  }

  .mobile-temp-vote {
    width: 27px;
    height: 27px;
    font-size: 15px;
  }

  .temp-info.mobile-temp-actions .temp-score {
    font-size: 18px;
  }

  .mobile-comment-pill,
  .mobile-share-pill {
    min-height: 42px;
    font-size: 13px;
    padding-inline: 6px;
  }

  .mobile-share-pill span {
    display: none;
  }
}

/* Ajuste v1.0.21: relacionados da oferta com altura fixa no mobile, igual ao feed. */
@media(max-width:430px) {
  .deal-related-grid {
    gap: 14px;
  }

  .deal-related-grid .related-offer-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    height: 186px;
    min-height: 186px;
    max-height: 186px;
    border-radius: 16px;
  }

  .deal-related-grid .related-offer-img {
    width: 108px;
    height: 186px;
    min-height: 186px;
    max-height: 186px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .deal-related-grid .related-offer-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
  }

  .deal-related-grid .related-offer-body {
    min-height: 0;
    padding: 12px 12px 10px;
    gap: 6px;
    overflow: hidden;
  }

  .deal-related-grid .related-store {
    max-width: 100%;
    min-height: 30px;
    flex: 0 0 auto;
  }

  .deal-related-grid .related-offer-body h3,
  .deal-related-grid .related-offer-body h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.2;
    min-height: 36px;
  }

  .deal-related-grid .related-price {
    margin-top: 0;
    font-size: 21px;
    line-height: 1.05;
    flex: 0 0 auto;
  }

  .deal-related-grid .related-compare-range {
    margin: 0;
    max-height: 36px;
    overflow: hidden;
  }

  .deal-related-grid .related-meta {
    margin-top: auto;
    flex: 0 0 auto;
  }
}

@media(max-width:380px) {
  .deal-related-grid .related-offer-card {
    grid-template-columns: 98px minmax(0, 1fr);
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }

  .deal-related-grid .related-offer-img {
    width: 98px;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }

  .deal-related-grid .related-offer-body {
    padding: 10px 10px 9px;
  }

  .deal-related-grid .related-price {
    font-size: 20px;
  }
}

/* Ajuste v1.0.22: temperatura quente/frio mais compacta no mobile. */
@media(max-width:720px) {
  .deal-buy-row .deal-temp-pill {
    width: auto;
    min-width: 0;
    align-self: center;
    gap: 4px;
    padding: 3px 6px;
  }

  .deal-buy-row .deal-temp-pill .vote-btn {
    width: 26px;
    height: 26px;
  }

  .deal-buy-row .deal-temp-pill strong {
    min-width: 28px;
    height: 26px;
    font-size: 14px;
  }

  .temp-info.mobile-temp-actions {
    width: auto;
    min-width: 112px;
    justify-self: center;
    grid-template-columns: 24px minmax(28px, auto) 24px;
    column-gap: 4px;
    padding-inline: 6px;
  }

  .mobile-temp-vote {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}

@media(max-width:430px) {
  .temp-info.mobile-temp-actions {
    min-width: 104px;
    column-gap: 3px;
    padding-inline: 5px;
  }
}