*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #6c5ce7;
  --primary-rgb: 108, 92, 231;
  --primary-hover: #5a4bd1;
  --primary-light: rgba(108, 92, 231, 0.08);
  --primary-new: linear-gradient(to top, #22a86f, #9ddf56);
  --premium-gradient: linear-gradient(to top, #ff6271, #fba885);
  --box-shadow-new: 0px 10px 25px 0px rgba(0, 0, 0, 0.2);
  --text-shadow-new: 0px -1px #66b457;
  --danger: #e0564a;
  --success: #49b455;
  --warning: #f0a43a;
  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface2: #f7f8fa;
  --border: rgba(0, 0, 0, 0.08);
  --border2: rgba(0, 0, 0, 0.13);
  --text: #0d0d0d;
  --text2: #5a5a72;
  --text3: #a0a0b8;
  --input-bg: #f4f5f8;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --font: -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "Fira Code", monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.25s var(--ease);
  --nav-h: 90px;
  --nav-bg: transparent;
  --nav-blur-bg: rgba(255, 255, 255, 0.72);
  --nav-blur-border: rgba(0, 0, 0, 0.07);
  --nav-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --bg: #0d0d14;
  --surface: #16161f;
  --surface2: #1e1e2a;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --text: #f0f0f5;
  --text2: #8888a0;
  --text3: #44445a;
  --input-bg: rgba(255, 255, 255, 0.05);
  --primary-light: rgba(108, 92, 231, 0.14);
  --nav-blur-bg: rgba(13, 13, 20, 0.78);
  --nav-blur-border: rgba(255, 255, 255, 0.06);
  --nav-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
}

html,
body {
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ══════════════════════════
         NAV
      ══════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.nav.scrolled {
  background: var(--nav-blur-bg);
  border-color: var(--nav-blur-border);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 10px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.nav__logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav__brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}

.nav__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: visible;
  padding-left: 80px;
}

.nav__link {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition:
    color var(--t),
    background var(--t);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}
.nav__link.dropdown-open {
  color: var(--primary);
}
.nav__link:hover {
  color: var(--primary);
}
.nav__link .tpsd.arrow-down-s-line {
  transition: transform 0.22s var(--ease);
}
.nav__link.dropdown-open .tpsd.arrow-down-s-line {
  transform: rotate(180deg);
}


/* Search */
.nav__search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text2);
  transition:
    color var(--t),
    background var(--t);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.nav__search-btn:hover {
  color: var(--text);
  background: var(--primary-light);
}
.nav__search-btn i {
  font-size: 19px;
}
.nav__search.open .nav__search-btn {
  color: var(--primary);
}

.nav__search-input {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
  height: 34px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 30px;
  padding: 0 40px 0 14px;
  font-size: 13.5px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition:
    width 0.38s var(--ease),
    opacity 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}
.nav__search-input::placeholder {
  color: var(--text3);
  font-weight: 400;
}
.nav__search.open .nav__search-input {
  width: 190px;
  opacity: 1;
  pointer-events: all;
  border-color: var(--border2);
  background: var(--input-bg);
}

/* Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text2);
  background: transparent;
  transition:
    color var(--t),
    background var(--t);
  position: relative;
}
.nav__icon-btn:hover {
  color: var(--text);
  background: var(--primary-light);
}
.nav__icon-btn i {
  font-size: 19px;
}

/* Hamburger (mobile menu toggle) */
.nav__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  gap: 5px;
  background: transparent;
  transition: background var(--t);
}
.nav__menu-toggle:hover {
  background: var(--primary-light);
}
.nav__menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease),
    width 0.3s var(--ease);
}
.nav__menu-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__menu-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 12px 20px 20px;
  z-index: 850;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}
.nav__drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav__drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t);
}
.nav__drawer-link:hover {
  background: var(--primary-light);
  color: var(--text);
}
.nav__drawer-link i {
  font-size: 17px;
  color: var(--text3);
}
.nav__drawer-link:hover i {
  color: var(--primary);
}

.nav__drawer-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.nav__drawer-sublabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 8px 12px 4px;
}

.nav__drawer-sub {
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ══════════════════════════
         MODAL GENÉRICO
      ══════════════════════════ */
.tpsd-modal {
  position: absolute;
  top: calc(100% + 10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
  z-index: 1000;
}
.tpsd-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.tpsd-modal::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
  border-radius: 2px;
}
.tpsd-modal--right {
  right: 0;
  left: auto;
}
.tpsd-modal--right::before {
  left: auto;
  right: 18px;
}

.tpsd-modal__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text2);
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t);
  white-space: nowrap;
}
.tpsd-modal__item:hover {
  background: var(--primary-light);
  color: var(--text);
}
.tpsd-modal__item i {
  font-size: 16px;
  color: var(--text3);
}
.tpsd-modal__item:hover i {
  color: var(--primary);
}
.tpsd-modal__item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 400;
}
.tpsd-modal__item.active i {
  color: var(--primary);
}

.tpsd-modal__sep {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

.tpsd-modal__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 6px 12px 2px;
}

.tpsd-modal__check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}
.tpsd-modal__check i {
  font-size: 10px;
  color: #fff;
}
.tpsd-modal__item.active .tpsd-modal__check {
  opacity: 1;
  background: transparent;
}
.tpsd-modal--theme {
  min-width: 160px;
}

.tpsd-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: none;
  pointer-events: none;
}
.tpsd-overlay.active {
  display: block;
}
.tpsd-modal__count {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    background: var(--bg3);
    border-radius: 20px;
    padding: 1px 6px;
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* ══════════════════════════
         HERO
      ══════════════════════════ */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  max-width: 720px;
}

.hero__subtitle {
  margin-top: 16px;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text2);
  max-width: 560px;
  line-height: 1.6;
}

/* Stats row */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
}

.hero__stat i {
  font-size: 16px;
  color: var(--primary);
}

.hero__stat--thunder i {
  color: #f0a43a;
}
.hero__stat--crown i {
  color: #e8b94a;
}
.hero__stat--views i { color: var(--primary); }
/* Hero search */
.hero__search-wrap {
  margin-top: 32px;
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero__search {
  width: 100%;
  height: 48px;
  border-radius: 30px;
  border: 1.5px solid var(--border2);
  background: var(--surface);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
  cursor: text;
}

.hero__search:focus-within {
  border-color: var(--primary);
  box-shadow:
    0 0 0 3px rgba(var(--primary-rgb), 0.12),
    0 2px 16px rgba(0, 0, 0, 0.06);
}

.hero__search i.search-icon {
  font-size: 18px;
  color: var(--text3);
  flex-shrink: 0;
}

.hero__search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  min-width: 0;
}

.hero__search input::placeholder {
  color: var(--text3);
}

.hero__search-divider {
  width: 1px;
  height: 20px;
  background: var(--border2);
  flex-shrink: 0;
}

.hero__search-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition:
    background var(--t),
    color var(--t);
  flex-shrink: 0;
  white-space: nowrap;
  user-select: none;
}
.hero__search-dropdown:hover {
  background: var(--primary-light);
  color: var(--text2);
}
.hero__search-dropdown i {
    transition: transform 0.22s var(--ease);
  font-size: 14px;
}
.hero__search-dropdown.open i {
    transform: rotate(180deg);
}
/* Search suggestions dropdown */
.hero__search-modal {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
  z-index: 500;
}
.hero__search-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ══════════════════════════
         LATEST RELEASES
      ══════════════════════════ */
.hero__latest {
  margin-top: 56px;
  width: 100%;
  max-width: 860px;
}

.hero__latest-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text3);
  margin-bottom: 20px;
  text-align: center;
}

.hero__product {
  position: relative;
  display: flex;
  align-items: stretch;
  background: transparent; /* tira o bg do container pai */
  border: none;
  box-shadow: none;
  overflow: visible;
  gap: 0;
}

.hero__product-preview {
  width: 411px;
  height: 424px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__product-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

/* placeholder when no image */
.hero__product-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.hero__product-preview-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__product-preview-placeholder i {
  font-size: 48px;
  color: rgba(108, 92, 231, 0.4);
}
.hero__product-preview-placeholder span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__product-info {
  position: relative; /* ou absolute se quiser sobreposição total */
  margin-left: -60px; /* puxa sobre a imagem */
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 10px 10px 25px;
  z-index: 2;
  max-width: 280px;
}

.hero__product-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.hero__product-badge-icon,
.acq-prog-badge-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  width: 18px;
  height: auto;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.hero__product-badge-icon img,
.acq-prog-badge-icon img {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 6px 14px rgba(2, 55, 97, 0.55);
}

.hero__product-badge-icon img,
.acq-prog-badge-icon img {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.hero__product-badge-text {
  font-size: 11.5px;
  color: var(--text3);
  font-weight: 500;
}

.hero__product-name {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
  text-align: left;
  margin-left: 9px;
}

.hero__product-desc {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  margin-left: 6px;
  width: 87%;
  text-align: left;
}

.hero__product-price-from {
  font-size: 11.5px;
  color: var(--text3);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.hero__product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 14px;
  justify-content: center;
}

.hero__product-price-currency {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transform: translateY(-13px);
}

.hero__product-price-value {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
}

.hero__product-price-cents {
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  align-self: flex-start;
  position: relative;
  transform: translateY(14px);
}

/* Primary new button */
.btn-primary-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 50px;
  background: var(--primary-new);
  box-shadow: var(--box-shadow-new);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-shadow: var(--text-shadow-new);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition:
    background 0.3s var(--ease),
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
  width: fit-content;
}
.btn-primary-new:hover {
  background: linear-gradient(to top, #07b469, #a3fa4a);
}
.btn-primary-new:active {
  transform: translateY(0);
  opacity: 1;
}

.btn-primary-new__icon {
  width: 28px;
  height: 28px;
  border-radius: 50px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: -13px;
}
.btn-primary-new__icon i {
  font-size: 16px;
  color: var(--success);
  font-weight: 300;
  text-shadow: none;
}

.hero__product-free-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text3);
  justify-content: center;
}
.hero__product-free-note i {
  font-size: 14px;
  color: var(--success);
}
.hero__product-free-note span {
  font-size: 10px;
}
/* Checks aside */
.hero__product-checks {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: start;
  padding-top: 36px;
  left: 10px;
  position: relative;
}

.hero__check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text2);
  white-space: nowrap;
}

.hero__check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(73, 180, 85, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__check-icon i {
  font-size: 12px;
  color: var(--success);
}

/* ══════════════════════════
         RESPONSIVE – MOBILE
      ══════════════════════════ */
@media (max-width: 768px) {
  .hero__product {
    flex-direction: column;
  }
  .hero__product-preview {
    width: 100%;
    height: 220px;
  }
  .hero__product-info {
    margin-left: 0;
    max-width: 100%;
  }
  .hero__product-checks {
    padding: 16px 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav__brand {
    display: none;
  }
  /* Nav: hide center links, show toggle */
  .nav__center {
    display: none;
  }
  .nav__menu-toggle {
    display: flex;
  }

  /* Keep only search + templates visible outside drawer */
  .nav__mobile-visible {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
  }

  /* Show drawer */
  .nav__drawer {
    display: flex;
  }

  .nav__inner {
    padding: 0 16px 10px;
    gap: 4px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-h) + 100px);
    padding-bottom: 48px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero__title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .hero__subtitle {
    font-size: 14px;
  }
  .hero__stats {
    gap: 16px;
  }
  .hero__stat {
    font-size: 12px;
  }

  .hero__search-wrap {
    max-width: 100%;
  }

  .hero__product {
    flex-direction: column;
    gap: 0;
  }

  .hero__product-preview {
    width: 100%;
    height: 200px;
  }

  .hero__product-info {
    padding: 20px;
  }

  .hero__product-checks {
    padding: 0 20px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .hero__latest {
    max-width: 100%;
    padding: 0 20px;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    gap: 12px;
  }
  .hero__stat span {
    font-size: 11.5px;
  }
  .hero__search {
    height: 44px;
  }
}

/* Nav mobile templates dropdown */
.nav__mobile-templates {
  position: relative;
  display: none;
}
@media (max-width: 768px) {
  .nav__mobile-templates {
    display: flex;
    align-items: center;
  }
}

.nav__mobile-templates-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition:
    color var(--t),
    background var(--t);
  white-space: nowrap;
}
.nav__mobile-templates-btn:hover {
  color: var(--primary);
}
.nav__mobile-templates-btn.dropdown-open {
  color: var(--primary);
}
.nav__mobile-templates-btn .tpsd.arrow-down-s-line {
  transition: transform 0.22s var(--ease);
}
.nav__mobile-templates-btn.dropdown-open .tpsd.arrow-down-s-line {
  transform: rotate(180deg);
}
.hero__search-dropdown.open .icon.arrow-down {
  transform: rotate(180deg);
}
/* ══ PRODUCT REVEAL ══ */
@keyframes pr-none {
}

.pr-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px;
}
.pr-wrap {
  flex-direction: column;
  align-items: center;
}
.pr-dots {
  margin-top: 16px;
}
.pr-product {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 800px;
  width: 100%;
}

/* Imagem */
.pr-img-wrap {
  position: relative;
  width: 411px;
  height: 424px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pr-img-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grid de fragmentos sobre a imagem */
.pr-frag-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
  z-index: 2;
}
/* Grid de fragmentos do card info */
.pr-info-frag-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
  z-index: 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pr-info-frag-cell {
  will-change: transform, opacity;
  background: var(--surface);
  opacity: 0;
}
.pr-frag-cell {
  will-change: transform, opacity;
  background: var(--surface2);
  opacity: 0;
}

.pr-img-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Info */
/* para: */
.pr-info {
  position: relative;
  top: -20px;
  left: -30px;
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 10px 10px 25px;
  z-index: 2;
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Cada bloco é um fragmento independente */
.pr-frag {
  will-change: transform, opacity, filter;
}

/* Dots */
.pr-dots {
  display: flex;
  gap: 7px;
  margin-top: 28px;
}

.pr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border2);
  cursor: pointer;
  transition:
    width 0.3s var(--ease),
    background 0.3s var(--ease),
    border-radius 0.3s var(--ease);
}

.pr-dot.on {
  width: 20px;
  border-radius: 3px;
  background: var(--primary);
}

@media (max-width: 800px) {
  .pr-product {
    flex-direction: column;
    gap: 24px;
  }
  .pr-img-wrap {
    width: 100%;
    height: 260px;
  }
  .pr-info {
    padding: 0;
  }
}
/* ══════════════════════════
         BANNER SLIDER
      ══════════════════════════ */
.banner-section {
  width: 100%;
  padding: 0 0 60px;
}

.banner-outer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-wrap {
  position: relative;
  overflow: hidden;
  height: 160px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.banner-slide {
  min-width: 100%;
  height: 160px;
  position: relative;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bolinhas DENTRO da imagem */
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(180, 180, 200, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.3s var(--ease),
    background 0.3s var(--ease),
    border-radius 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.banner-dot.on {
  width: 22px;
  border-radius: 4px;
  background: var(--primary);
  box-shadow: 0 0 8px 2px rgba(var(--primary-rgb), 0.7);
}

/* Texto + botão ABAIXO da imagem */
.banner-caption {
  padding: 14px 4px 0;
  display: none; /* só o slide ativo aparece */
  flex-direction: column;
  gap: 5px;
}

.banner-caption.visible {
  display: flex;
}

.banner-caption__tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
}

.banner-caption__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.banner-caption__desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
}

.banner-caption__btn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 18px;
  border-radius: 50px;
  background: var(--primary);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition:
    background 0.22s var(--ease),
    opacity 0.2s var(--ease);
  width: fit-content;
}

.banner-caption__btn:hover {
  background: var(--primary-hover);
}

@media (max-width: 768px) {
  .banner-section {
    padding: 0 0 40px;
  }
  .banner-outer {
    padding: 0 16px;
  }
  .banner-wrap {
    height: 130px;
  }
  .banner-slide {
    height: 130px;
  }
  
  .banner-caption__desc {
    display: none;
  }
}
/* ══════════════════════════
         PRODUCT CARDS
      ══════════════════════════ */
.cards-section {
  width: 100%;
  padding: 0 0 60px;
}

.cards-outer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cards-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text3);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 230px);
  gap: 14px;
  justify-content: start;
}

/* ── Card ── */
.pcard {
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.pcard__img-wrap {
  position: relative;
  width: 230px;
  height: 310px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.pcard__img-wrap img.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.pcard:hover .pcard__img {
  transform: scale(1.06);
}

/* overlay no hover para o nome aparecer */
.pcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 2;
}

.pcard:hover .pcard__overlay {
  opacity: 1;
}

/* Nome do produto (dentro do card, baixo, no hover) */
.pcard__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 10px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  z-index: 3;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
  pointer-events: none;
}

.pcard:hover .pcard__name {
  opacity: 1;
  transform: translateY(0);
}

/* Topo do card: selo + (avatar+like no hover) */
.pcard__top {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

/* Selo assinante */
.pcard__crown {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcard__crown i {
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Se não tem coroa, ocupa espaço transparente */
.pcard__crown--empty {
  background: transparent;
  border-color: transparent;
}

/* Avatar + curtida (aparecem no hover) */
.pcard__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 13, 20, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 3px 8px 3px 4px;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.pcard:hover .pcard__meta {
  opacity: 1;
  transform: translateX(0);
}

.pcard__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.pcard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__like {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px 3px 5px;
  font-size: 10.5px;
  color: #fff;
  font-weight: 500;
}

.pcard__like i {
  font-size: 12px;
  color: #e0564a;
}

/* ── Rodapé do card (fora da imagem) ── */
.pcard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.pcard__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.pcard__price--free {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

.pcard__programs {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pcard__programs img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
  border-radius: 4px;
}

.pcard:hover .pcard__programs img {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1140px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fill, 150px);
  }
}

@media (max-width: 768px) {
  .cards-section {
    padding: 0 0 40px;
  }
  .cards-outer {
    padding: 0 16px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pcard {
    width: 100%;
  }
  .pcard__img-wrap {
    width: 100%;
    height: 180px;
  }
}
/* ══════════════════════════
         FOOTER
      ══════════════════════════ */
.footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer__outer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__top {
  display: grid;
  grid-template-columns: 150px 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

/* Coluna da marca */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer__logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer__logo-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}

.footer__desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

.footer__brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition:
    background var(--t),
    border-color var(--t);
  width: fit-content;
}

.footer__brand-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Colunas de links */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.footer__col-link {
  font-size: 13px;
  color: var(--text2);
  cursor: pointer;
  transition: color var(--t);
  width: fit-content;
  display: flex;
  gap: 5px;
  align-items: center;
}

.footer__col-link i {
  color: var(--success);
  font-size: 16px;
  transition: color var(--t);
}

.footer__col-link:hover {
  color: var(--primary);
}

.footer__col-link:hover i {
  color: var(--primary);
}
/* Divisor */
.footer__sep {
  height: 1px;
  background: var(--border);
  margin: 0 20px;
}

/* Bottom: redes sociais + copyright */
.footer__bottom {
  padding: 28px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__social-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: transparent;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t);
}

.footer__social-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer__copy {
  font-size: 12px;
  color: var(--text3);
  text-align: center;
  line-height: 1.7;
}


@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
  }
  .footer__outer {
    padding: 0 16px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__sep {
    margin: 0 16px;
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}
/* ── Nav user button ── */
.nav__user {
  position: relative;
}
.nav__user-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 10px 0 4px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font);
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  transition:
    background var(--t),
    border-color var(--t),
    color var(--t);
}

.nav__user-btn:hover,
.nav__user-btn.dropdown-open {
  color: var(--primary);
}

.nav__user-btn:hover i,
.nav__user-btn.dropdown-open i {
  color: var(--primary);
}

.nav__user-btn .tpsd.arrow-down-s-line {
  transition: transform 0.22s var(--ease);
  color: var(--text3);
}

.nav__user-btn.dropdown-open .tpsd.arrow-down-s-line {
  transform: rotate(180deg);
  color: var(--primary);
}

.nav__user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--border2);
  background: var(--surface);
}
.nav__user-avatar img,
.nav__user-avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav__user-chevron {
  font-size: 18px;
  margin-left: -4px;
  color: var(--text3);
}
.nav__user-name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .nav__user-name {
    display: none;
  }
}

/* ── Cabeçalho do dropdown ── */
.nav__user-modal {
  min-width: 220px;
  padding-top: 4px;
}
.nav__user-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}
.nav__user-modal-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border2);
}
.nav__user-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav__user-modal-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.nav__user-modal-info strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav__user-modal-info span {
  font-size: 11px;
  color: var(--text3);
}

/* Item de perigo (logout) */
.tpsd-modal__item--danger {
  color: var(--danger, #e0564a) !important;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
}
.tpsd-modal__item--danger:hover {
  background: rgba(224, 86, 74, 0.07) !important;
  color: var(--danger, #e0564a) !important;
}
.nav__lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 0 10px; width: auto;
  border-radius: var(--radius-sm);
}
.nav__lang-flag {
  width: 13px; height: 13px;
  object-fit: cover; border-radius: 2px; flex-shrink: 0;
}
.nav__lang-code {
  font-size: 11px; font-weight: 700;
  letter-spacing: .04em; color: var(--text2);
}
.nav__lang-btn:hover .nav__lang-code { color: var(--primary); }
.tpsd-modal--lang { min-width: 200px; }
.nav__drawer-link--active {
  color: var(--primary) !important;
  background: var(--primary-light);
}
.pcard__avatar-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.pcard__avatar-stack > * {
  margin-left: -8px;
  flex-shrink: 0;
  border: 2px solid rgba(13, 13, 20, 0.55);
}

.pcard__avatar-stack > *:first-child {
  margin-left: 0;
}
.nav__currency-btn {
  display: flex;
  align-items: center;
  padding: 0 10px;
  width: auto;
  border-radius: var(--radius-sm);
  gap: 4px;
}

.nav__currency-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text2);
}

.nav__currency-btn:hover .nav__currency-code {
  color: var(--primary);
}
.footer__cat-icon, .art-cat-icon {
    width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

}
/* ══════════════════════════════════════════
   CATEGORY ICONS — imagem da categoria
══════════════════════════════════════════ */

/* Nav drawer */
.nav__cat-icon {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Footer */
.footer__col-link--cat {
  display: flex;
  align-items: center;
  gap: 3px;
}

.footer__cat-icon {
  width: 15px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.75;
  flex-shrink: 0;
}

.footer__col-link--cat:hover .footer__cat-icon {
  opacity: 1;
}

/* Artist page — tags com ícone */
.art-cat-tag--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.art-cat-icon {
  width: 14px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.8;
  flex-shrink: 0;
}

.art-cat-tag--with-icon:hover .art-cat-icon {
  opacity: 1;
}

/* Search sidebar — filter-opt já tem .filter-opt__icon com img */
.filter-opt__icon img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.8;
}

.filter-opt:hover .filter-opt__icon img,
.filter-opt.active .filter-opt__icon img {
  opacity: 1;
}
/* No final do themepsd2026.css */

[data-theme="dark"] .nav__cat-icon,
[data-theme="dark"] .footer__cat-icon,
[data-theme="dark"] .art-cat-icon,
[data-theme="dark"] .filter-opt__icon img {
  filter: brightness(1.15) contrast(0.95);
  opacity: 0.9;
}
/* ══════════════════════════════════════════
   MODAL SEARCH GRID — duas colunas
══════════════════════════════════════════ */

.tpsd-modal--search-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  min-width: 500px;
  max-width: 620px;
  padding: 8px 4px;
}

/* Cada coluna */
.tpsd-modal__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 4px;
  /* Scrollbar fina e discreta */
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

.tpsd-modal__col::-webkit-scrollbar {
  width: 4px;
}

.tpsd-modal__col::-webkit-scrollbar-track {
  background: transparent;
}

.tpsd-modal__col::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 4px;
}

.tpsd-modal__col::-webkit-scrollbar-thumb:hover {
  background: var(--text3);
}

/* Divisor vertical entre colunas */
.tpsd-modal__col-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 8px 4px;
  flex-shrink: 0;
}

/* Ícone de categoria no modal */
.tpsd-modal__cat-icon {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Dark mode */
[data-theme="dark"] .tpsd-modal__cat-icon {
  filter: brightness(1.15) contrast(0.95);
  opacity: 0.9;
}

/* Mobile: empilha as colunas */
@media (max-width: 480px) {
  .tpsd-modal--search-grid {
    flex-direction: column;
    min-width: 240px;
    max-width: 300px;
  }

  .tpsd-modal__col-sep {
    width: auto;
    height: 1px;
    margin: 4px 8px;
    align-self: auto;
  }

  .tpsd-modal__col {
    max-height: 180px;
  }
}
.acq-adicionais-wrap {
  margin-top: 16px;
  margin-bottom: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.acq-adicionais-wrap-base {
    display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px dashed var(--border2);
}
.acq-adicionais-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 10px;
}

.acq-adicional-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  cursor: pointer;
  margin: 0 -6px;
  border: 1px dashed var(--border2);
  transition: background var(--t);
}

.acq-adicional-item:last-of-type {
  border-bottom: none;
}

.acq-adicional-item:not(.acq-adicional-item--obrig):hover {
  background: var(--primary-light);
}

.acq-adicional-item.selected {
  background: var(--primary-light);
}

.acq-adicional-item--obrig {
  cursor: not-allowed;
  background: rgba(73, 180, 85, .06) !important;
}

.acq-adicional-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.acq-adicional-check-box {
  width: 18px;
  height: 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border2);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color var(--t), background var(--t);
  overflow: hidden;
}

.acq-adicional-check-box i {
    color:var(--success);
  opacity: 0;
  transition: opacity var(--t);
}

.acq-adicional-item--obrig .acq-adicional-check-box,
.acq-adicional-item input:disabled ~ .acq-adicional-check-box {
  background: transparent !important;
  border: none !important;
}

.acq-adicional-item--obrig .acq-adicional-check-box i {
  opacity: 1;
}

.acq-adicional-item.selected .acq-adicional-check-box {
  background: transparent !important;
  border: none !important;
}

.acq-adicional-item.selected .acq-adicional-check-box i {
  opacity: 1;
}

.acq-adicional-img {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.acq-adicional-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acq-adicional-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.acq-adicional-nome {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}

.acq-adicional-desc {
  font-size: 11.5px;
  color: var(--text3);
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}

.acq-adicional-preco {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 1px;
}

.acq-adicional-preco--gratis {
  color: var(--success);
  font-size: 12px;
  font-weight: 500;
}

.acq-adicionais-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 0;
  margin-top: 8px;
  border-top: 1px dashed var(--border2);
  font-size: 13px;
}

.acq-adicionais-total span:first-child {
  color: var(--text3);
  font-weight: 500;
}

.acq-adicionais-total span:last-child {
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 480px) {
  .acq-adicional-item { gap: 8px; }
  .acq-adicional-nome { font-size: 12.5px; }
  .acq-adicional-preco { font-size: 12px; }
}

[data-skeleton] {
  position: relative;
  overflow: hidden;
}

/* O elemento skeleton gerado via JS */
.tpsd-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--surface2) 25%,
    var(--border)   50%,
    var(--surface2) 75%
  );
  background-size: 200% 100%;
  animation: tpsdSkeletonShimmer 1.4s infinite;
  z-index: 2;
  border-radius: inherit;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tpsd-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes tpsdSkeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ══════════════════════════════════════════
   CARD IMAGES — placeholder + broken fix
══════════════════════════════════════════ */

/* Esconde broken icon e alt em TODAS as imagens de card */
.pcard__img-wrap img,
.scard__img-wrap img,
.cr-card__gallery-item img,
.acq-img-scroll img,
.acq-thumb img,
.pr-img-inner img {
    color: transparent;
    font-size: 0;
}

/* Quando a imagem carrega, ela cobre o placeholder */
.pcard__img-wrap img,
.scard__img-wrap img,
.cr-card__gallery-item img {
    position: relative;
    z-index: 1;
}
/* ══════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════ */
.tpsd-announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950; /* acima do nav (900) */
  height: var(--announce-h, 44px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 44px 0 16px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  overflow: hidden;
}

.tpsd-announce.show {
  transform: translateY(0);
}

.tpsd-announce__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.tpsd-announce__text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.4;
}

.tpsd-announce__text i {
  font-size: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.tpsd-announce__text strong {
  color: var(--text);
  font-weight: 600;
}

.tpsd-announce__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  padding: 4px 2px;
  transition: color var(--t);
}
.tpsd-announce__btn:hover {
  color: var(--primary-hover);
}
.tpsd-announce__btn i {
  font-size: 13px;
  transition: transform var(--t);
}
.tpsd-announce__btn:hover i {
  transform: translateX(2px);
}

.tpsd-announce__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
}
.tpsd-announce__close:hover {
  background: var(--primary-light);
  color: var(--text);
}
.tpsd-announce__close i {
  font-size: 15px;
}

/* Nav e body seguem o deslocamento via JS (--announce-offset) */
.nav {
  top: var(--announce-offset, 0px);
}

@media (max-width: 640px) {
  .tpsd-announce {
    padding: 0 40px 0 12px;
    height: var(--announce-h-mobile, 90px);
  }
  .tpsd-announce__inner {
    justify-content: flex-start;
    text-align: left;
  }
  .tpsd-announce__text span br {
    display: none;
  }.footer__col-link
}
