﻿/* FARMACIA T.G.: guia visual â€” carvÃ£o + ouro vivo + branco */

:root {
  --brand-blue: #FDB813;
  --brand-blue-dark: #D4960A;
  --brand-blue-glow: #FFD14A;
  --brand-gold: #FDB813;
  --brand-gold-dark: #D4960A;
  --brand-gold-light: #FFD14A;
  --brand-brown: #6B3E26;
  --brand-navy: #141414;
  --brand-chrome: #E6E8EC;
  --brand-chrome-bright: #F7F7F8;
  --brand-ink: #141414;
  --brand-dark: #141414;
  --brand-dark-panel: #0E0E0E;
  --brand-orange: #FDB813;
  --brand-red: #C0392B;
  --brand-green: #1F7A4D;
  --brand-yellow: #FFD14A;
  --hex: rgba(253, 184, 19, 0.12);
  --hex-dark: rgba(255, 209, 74, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f7f7f8;
  background-image:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(253, 184, 19, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 35% at -5% 40%, rgba(20, 20, 20, 0.04), transparent 50%),
    radial-gradient(ellipse 55% 40% at 50% 110%, rgba(253, 184, 19, 0.07), transparent 55%);
  overflow-x: hidden;
}

/* Faixas da placa */
.flag-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    #141414 0%,
    #D4960A 16%,
    #FDB813 40%,
    #FFD14A 50%,
    #FDB813 60%,
    #D4960A 84%,
    #141414 100%
  );
}

.logo-mark {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 0.85rem;
  box-shadow:
    0 0 0 1px rgba(253, 184, 19, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.logo-mark--square {
  border-radius: 0.85rem;
}

.logo-mark--header {
  height: 2.75rem;
  width: 2.75rem;
  max-height: 2.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

@media (min-width: 768px) {
  .logo-mark--header {
    height: 3.15rem;
    width: 3.15rem;
    max-height: 3.15rem;
  }
}

.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.18rem;
  line-height: 1;
  color: #fff;
  min-width: 0;
}

.logo-wordmark__line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo-wordmark__name,
.logo-wordmark__tg {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.logo-wordmark__name {
  font-size: 1.05rem;
  color: #fff;
}

.logo-wordmark__tg {
  font-size: 1.05rem;
  color: #fff;
}

.logo-wordmark__slogan {
  font-family: "Archivo", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
  white-space: nowrap;
}

.logo-mark--login {
  width: 11rem;
  height: auto;
  max-width: 70vw;
  margin-left: auto;
  margin-right: auto;
}

.logo-mark--admin {
  width: 9.5rem;
  height: auto;
  max-width: 100%;
}

.logo-mark--footer {
  width: min(18rem, 100%);
  height: auto;
  border-radius: 0.75rem;
}

a:hover .logo-mark--header {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(253, 184, 19, 0.65),
    0 0 0 2px rgba(255, 209, 74, 0.35),
    0 0 22px rgba(253, 184, 19, 0.32),
    0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Header sticky: placa da farmÃ¡cia */
.site-header {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(14, 14, 14, 0.96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(253, 184, 19, 0.32);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #F7F7F8;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(197, 205, 216, 0.85);
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

/* Seletor de idioma (bandeiras BR / PY) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 197, 71, 0.28);
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.45rem;
  border-radius: 9999px;
  color: rgba(197, 205, 216, 0.85);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.lang-switch__btn:hover {
  color: #fff;
  background: rgba(232, 197, 71, 0.14);
}

.lang-switch__btn.is-active {
  color: #fff;
  background: rgba(232, 197, 71, 0.22);
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.45);
}

.lang-switch__code {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lang-flag {
  display: inline-flex;
  width: 1.75rem;
  height: 1.25rem;
  border-radius: 0.2rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-switch--mobile {
  width: 100%;
  border-radius: 0.85rem;
  padding: 0.35rem;
  gap: 0.35rem;
}

.lang-switch--mobile .lang-switch__btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
}

@media (max-width: 420px) {
  .lang-switch:not(.lang-switch--mobile) .lang-switch__code {
    display: none;
  }

  .lang-switch:not(.lang-switch--mobile) .lang-switch__btn {
    padding: 0.28rem;
  }
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(232, 197, 71, 0.18);
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.35);
}

.nav-dropdown {
  background: #0B0D14;
  border: 1px solid rgba(232, 197, 71, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nav-dropdown__item {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: rgba(197, 205, 216, 0.9);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown__item:hover {
  background: rgba(232, 197, 71, 0.12);
  color: #fff;
}

.header-search {
  width: 11rem;
  border-radius: 9999px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, width 0.25s;
}

@media (min-width: 1024px) {
  .header-search {
    width: 14rem;
  }
}

.search-box:focus-within .header-search,
.header-search:focus {
  width: 16rem;
}

@media (min-width: 1024px) {
  .search-box:focus-within .header-search,
  .header-search:focus {
    width: 18rem;
  }
}

.search-box .header-search.w-full,
.search-box:focus-within .header-search.w-full,
.header-search.w-full:focus {
  width: 100%;
}

.header-search::placeholder {
  color: rgba(197, 205, 216, 0.55);
}

.header-search:focus {
  outline: none;
  border-color: rgba(232, 197, 71, 0.65);
  background: rgba(232, 197, 71, 0.1);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.2);
}

.search-box {
  position: relative;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  min-width: 18rem;
  max-height: 22rem;
  overflow-y: auto;
  z-index: 70;
  background: #0B0D14;
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 0.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(201, 162, 39, 0.15);
}

.search-suggest--mobile {
  min-width: 0;
  width: 100%;
}

.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  color: #E8EEF6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
}

.search-suggest__item:last-child {
  border-bottom: none;
}

.search-suggest__item:hover,
.search-suggest__item.is-active {
  background: rgba(232, 197, 71, 0.14);
}

.search-suggest__img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #122044;
  flex-shrink: 0;
}

.search-suggest__meta {
  min-width: 0;
  flex: 1;
}

.search-suggest__nome {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest__cat {
  font-size: 0.68rem;
  color: rgba(197, 205, 216, 0.55);
  margin-top: 0.1rem;
}

.search-suggest__preco {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7EB6FF;
  white-space: nowrap;
}

.search-suggest__empty,
.search-suggest__loading {
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(197, 205, 216, 0.65);
}

.search-suggest__footer {
  display: block;
  padding: 0.75rem 0.85rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #7EB6FF;
  border-top: 1px solid rgba(232, 197, 71, 0.2);
}

.search-suggest__footer:hover {
  background: rgba(232, 197, 71, 0.1);
  color: #fff;
}

.search-suggest--light {
  position: relative;
  top: 0.4rem;
  left: 0;
  right: 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.search-suggest--light .search-suggest__item {
  color: #0f172a;
  border-bottom-color: #f1f5f9;
}

.search-suggest--light .search-suggest__item:hover,
.search-suggest--light .search-suggest__item.is-active {
  background: #eff6ff;
}

.search-suggest--light .search-suggest__cat {
  color: #94a3b8;
}

.search-suggest--light .search-suggest__footer {
  color: #C9A227;
  border-top-color: #e2e8f0;
}

.search-suggest--light .search-suggest__empty,
.search-suggest--light .search-suggest__loading {
  color: #64748b;
}

/* Busca em tempo real do catalogo */
.catalog-search__field {
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-search__icon {
  position: absolute;
  left: 1rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #94a3b8;
  pointer-events: none;
}

.catalog-search__input {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.85rem 2.75rem 0.85rem 2.75rem;
  font-size: 0.95rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-search__input:focus {
  outline: none;
  border-color: #C9A227;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}

.catalog-search__input::placeholder {
  color: #94a3b8;
}

.catalog-search__clear {
  position: absolute;
  right: 0.85rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: #64748b;
  background: #f1f5f9;
  transition: background 0.15s, color 0.15s;
}

.catalog-search__clear:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-product-card][hidden] {
  display: none !important;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 9999px;
  color: #E8EEF6;
  border: 1px solid rgba(197, 205, 216, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.header-icon-btn:hover {
  color: #fff;
  border-color: rgba(232, 197, 71, 0.55);
  background: rgba(232, 197, 71, 0.15);
  box-shadow: 0 0 16px rgba(232, 197, 71, 0.25);
}

.mobile-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  color: #E8EEF6;
  border-radius: 0.5rem;
}

.mobile-link:hover {
  background: rgba(232, 197, 71, 0.12);
  color: #fff;
}

.footer-link {
  color: rgba(197, 205, 216, 0.75);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0A0A0A;
  background: linear-gradient(135deg, var(--brand-blue-glow), var(--brand-blue), var(--brand-blue-dark));
  border-radius: 9999px;
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.35),
    0 10px 30px -8px rgba(201, 162, 39, 0.65),
    0 0 24px rgba(232, 197, 71, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.5),
    0 14px 36px -8px rgba(201, 162, 39, 0.75),
    0 0 32px rgba(232, 197, 71, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brand-blue);
  background: #fff;
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  border-radius: 9999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.06);
  border-color: var(--brand-blue);
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.15);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(197, 205, 216, 0.45);
  border-radius: 9999px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-chrome);
  box-shadow: 0 0 20px rgba(232, 197, 71, 0.25);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(135deg, #2FE574, #25D366, #1EBE57);
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
  transition: filter 0.2s, transform 0.2s;
}

.btn-whatsapp:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.fab-whatsapp-wrap {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.fab-whatsapp-wrap.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.fab-whatsapp {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  background: linear-gradient(145deg, #2FE574, #1EBE57);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
  animation: fab-pulse 2.8s ease-in-out infinite;
}

.fab-whatsapp-menu {
  width: min(18rem, calc(100vw - 2.5rem));
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transform-origin: bottom right;
  animation: pedido-modal-in 0.18s ease-out;
}

.fab-whatsapp-menu[hidden] {
  display: none !important;
}

.fab-whatsapp-menu__title {
  margin: 0;
  padding: 0.75rem 1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.fab-whatsapp-menu__list {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem 0.5rem;
  gap: 0.35rem;
  max-height: 50vh;
  overflow-y: auto;
}

.fab-whatsapp-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.75rem;
  border: none;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.fab-whatsapp-menu__item:hover,
.fab-whatsapp-menu__item:focus-visible {
  background: #ecfdf5;
  outline: none;
}

.fab-whatsapp-menu__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #25D366;
  flex-shrink: 0;
}

/* Carrinho de compras + frete (mobile/desktop) */
.cart-drawer {
  -webkit-tap-highlight-color: transparent;
}

.cart-drawer__panel {
  max-height: 100%;
  max-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.cart-drawer__scroll {
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__actions {
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.frete-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.frete-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.frete-option:hover,
.frete-option:focus-visible {
  border-color: #C9A227;
  outline: none;
}

.frete-option.is-selected {
  border-color: #C9A227;
  background: #f0f6ff;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.frete-option__radio {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 2px solid #94a3b8;
  border-radius: 9999px;
  position: relative;
}

.frete-option.is-selected .frete-option__radio {
  border-color: #C9A227;
}

.frete-option.is-selected .frete-option__radio::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 9999px;
  background: #C9A227;
}

.frete-option__meta {
  flex: 1;
  min-width: 0;
}

.frete-option__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.frete-option__prazo {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #64748b;
}

.frete-option__valor {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #C9A227;
}

@media (max-width: 639px) {
  .cart-drawer__panel {
    max-width: 100%;
  }

  .frete-option {
    padding: 0.85rem 0.9rem;
    min-height: 3.25rem;
  }
}

.fab-whatsapp:hover {
  transform: scale(1.06);
}

.wa-chooser {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .wa-chooser {
    align-items: center;
    padding: 1rem;
  }
}

.wa-chooser.hidden {
  display: none;
}

.wa-chooser__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.wa-chooser__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24rem;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  animation: pedido-modal-in 0.22s ease-out;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 640px) {
  .wa-chooser__dialog {
    border-radius: 1rem;
  }
}

.wa-chooser__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.wa-chooser__body {
  padding: 1.25rem;
}

/* Modal pedido direto + frete */
.pedido-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .pedido-modal {
    align-items: center;
    padding: 1rem;
  }
}

.pedido-modal.hidden {
  display: none;
}

.pedido-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.pedido-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: min(92vh, 92dvh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  animation: pedido-modal-in 0.22s ease-out;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 640px) {
  .pedido-modal__dialog {
    border-radius: 1rem;
  }
}

@keyframes pedido-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pedido-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.pedido-modal__body {
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}

.pedido-modal__foot {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 36px rgba(37, 211, 102, 0.65); }
}

/* Paineis escuros no estilo da logo */
.panel-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 50% at 85% 15%, rgba(255, 106, 26, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 55% at 10% 80%, rgba(201, 162, 39, 0.45), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(232, 197, 71, 0.12), transparent 70%),
    linear-gradient(160deg, #0B0D14 0%, #07080C 45%, #0A1228 100%);
}

.panel-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%231E7BFF' stroke-opacity='0.18' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 15%, transparent 75%);
}

.panel-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(197, 205, 216, 0.06), transparent),
    radial-gradient(circle at 70% 20%, rgba(255, 106, 26, 0.15), transparent 35%);
}

.panel-dark .section-kicker {
  color: var(--brand-blue-glow);
  text-shadow: 0 0 18px rgba(232, 197, 71, 0.55);
}

.panel-dark .text-muted-light {
  color: rgba(197, 205, 216, 0.8);
}

.chrome-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0D78C 35%, #C9A227 65%, #E8C547 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(201, 162, 39, 0.4));
}

.glow-blue {
  text-shadow: 0 0 24px rgba(232, 197, 71, 0.55);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero.panel-dark {
  border-bottom: 1px solid rgba(232, 197, 71, 0.2);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%23C9A227' stroke-opacity='0.22' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-title {
  font-family: Cinzel, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.hero-title .accent-a {
  position: relative;
}

.hero-title .accent-a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.08em;
  width: 0.55em;
  height: 0.12em;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--brand-blue-glow), transparent);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(232, 197, 71, 0.8));
}

.hero-logo-frame {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--brand-dark);
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.35),
    0 0 40px rgba(201, 162, 39, 0.35),
    0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-logo-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 215, 140, 0.85), rgba(201, 162, 39, 0.35), rgba(139, 105, 20, 0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Faixa de benefÃ­cios colorida */
.benefits-strip {
  background: linear-gradient(90deg, #0B0D14 0%, #0F1A35 50%, #0B0D14 100%);
  border-block: 1px solid rgba(232, 197, 71, 0.25);
  color: #fff;
}

.benefit-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(232, 197, 71, 0.25);
}

.benefit-icon--blue {
  background: linear-gradient(145deg, rgba(232, 197, 71, 0.35), rgba(201, 162, 39, 0.15));
  color: #7EB6FF;
  border: 1px solid rgba(232, 197, 71, 0.4);
}

.benefit-icon--green {
  background: linear-gradient(145deg, rgba(0, 151, 57, 0.35), rgba(0, 151, 57, 0.1));
  color: #4ADE80;
  border: 1px solid rgba(0, 151, 57, 0.4);
}

.benefit-icon--orange {
  background: linear-gradient(145deg, rgba(255, 106, 26, 0.35), rgba(255, 106, 26, 0.1));
  color: #FFB088;
  border: 1px solid rgba(255, 106, 26, 0.4);
}

/* Ãcones de benefÃ­cio premium */
.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  min-width: 0;
}

.benefit-item__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-item__text p:first-child {
  font-size: 0.7rem;
  line-height: 1.25;
}

.benefit-item__text p:last-child {
  font-size: 0.6rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .benefit-item {
    gap: 0.75rem;
  }

  .benefit-item__text p:first-child {
    font-size: 0.875rem;
  }

  .benefit-item__text p:last-child {
    font-size: 0.75rem;
  }
}

.benefit-flags {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-shrink: 0;
  max-width: 100%;
}

@media (max-width: 639px) {
  .flag-badge {
    width: 1.85rem;
    height: 1.25rem;
  }

  .flag-badge--pedido,
  .flag-badge--envio {
    width: 2.15rem;
  }

  .flag-link {
    width: 0.85rem;
  }

  .flag-link svg {
    width: 0.7rem;
    height: 0.55rem;
  }
}

.flag-badge {
  display: block;
  width: 2.55rem;
  height: 1.7rem;
  border-radius: 0.35rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.flag-badge--py {
  box-shadow:
    0 0 0 1.5px rgba(213, 43, 30, 0.45),
    0 0 14px rgba(213, 43, 30, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

.flag-badge--br {
  box-shadow:
    0 0 0 1.5px rgba(0, 151, 57, 0.5),
    0 0 14px rgba(0, 151, 57, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

.flag-badge--pedido {
  width: 3.1rem;
  box-shadow:
    0 0 0 1.5px rgba(255, 106, 26, 0.5),
    0 0 14px rgba(255, 106, 26, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

.flag-badge--envio {
  width: 3.1rem;
  box-shadow:
    0 0 0 1.5px rgba(0, 151, 57, 0.5),
    0 0 14px rgba(0, 151, 57, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

.benefit-flags:hover .flag-badge {
  transform: translateY(-2px);
}

.flag-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  filter: drop-shadow(0 0 6px rgba(232, 197, 71, 0.7));
  animation: flag-pulse 2.2s ease-in-out infinite;
}

@keyframes flag-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}

.color-chips {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.color-chips span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 0 8px currentColor;
}

.benefit-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, rgba(232, 197, 71, 0.35), rgba(139, 105, 20, 0.15));
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: #F0D78C;
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.25);
}

.benefit-icon-badge svg {
  width: 1.35rem;
  height: 1.35rem;
}

.logo-mark--hero {
  width: min(100%, 28rem);
  margin: 0 auto;
  border-radius: 50%;
}

/* Cards de produto */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(201, 162, 39, 0.12),
    0 0 28px rgba(201, 162, 39, 0.1);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #f3f1ec, #ebe6dc);
  overflow: hidden;
}

.product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 8, 12, 0.15));
  pointer-events: none;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.badge-promo {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.25rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), #E8450A);
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(255, 106, 26, 0.45);
}

.badge-estoque {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.badge-estoque::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.badge-estoque.is-low::before {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.badge-estoque.is-out::before {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

.price-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.85rem;
}

.price-now {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1.125rem;
}

.section-kicker {
  font-family: Cinzel, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.category-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  background: var(--brand-dark);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}

.category-tile:hover {
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.5),
    0 12px 32px rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s, opacity 0.3s;
}

.category-tile:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.category-tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(7, 8, 12, 0.92));
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(232, 197, 71, 0.4);
}

/* Slider de categorias */
.cat-slider {
  position: relative;
}

.cat-slider__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.cat-slider__track::-webkit-scrollbar {
  display: none;
}

.cat-slider__slide {
  flex: 0 0 calc((100% - 0.85rem) / 2);
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 640px) {
  .cat-slider__track {
    gap: 1rem;
  }

  .cat-slider__slide {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}

@media (min-width: 1024px) {
  .cat-slider__slide {
    flex: 0 0 calc((100% - 4rem) / 5);
  }
}

.cat-slider__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  color: #fff;
  background: #0B0D14;
  border: 1px solid rgba(232, 197, 71, 0.35);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.2);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.2s;
}

.cat-slider__btn:hover {
  background: #C9A227;
  border-color: #E8C547;
  transform: translateY(-1px);
}

.cat-slider__btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.cat-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.cat-slider__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.cat-slider__dot.is-active {
  background: #C9A227;
  transform: scale(1.25);
}

/* Page banner escuro */
.page-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(255, 106, 26, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 80% at 5% 50%, rgba(201, 162, 39, 0.4), transparent 55%),
    linear-gradient(120deg, #07080C, #0F1A35 60%, #0B0D14);
  border-bottom: 1px solid rgba(232, 197, 71, 0.25);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%231E7BFF' stroke-opacity='0.2' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

.page-banner .section-kicker {
  color: #7EB6FF;
}

.page-banner p {
  color: rgba(197, 205, 216, 0.85);
}

/* CTA escuro */
.cta-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(255, 106, 26, 0.25), transparent 50%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(201, 162, 39, 0.4), transparent 50%),
    #07080C;
  color: #fff;
  border-block: 1px solid rgba(232, 197, 71, 0.3);
}

.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%231E7BFF' stroke-opacity='0.18' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

/* Footer escuro */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 80% 0%, rgba(201, 162, 39, 0.3), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(255, 106, 26, 0.12), transparent 50%),
    #07080C;
  color: rgba(232, 238, 246, 0.9);
  border-top: 1px solid rgba(232, 197, 71, 0.25);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%231E7BFF' stroke-opacity='0.15' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

.site-footer .font-display {
  color: #7EB6FF;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(212, 196, 168, 0.75);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.footer-dev:hover {
  color: #fdb813;
}

.footer-dev img {
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
}

/* Reveal: so esconde se o JS de animacao estiver ativo */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.flash {
  padding: 0.85rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.flash-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  position: relative;
}

.admin-backdrop {
  display: none;
}

.admin-sidebar__head {
  display: block;
  margin-bottom: 0;
}

.admin-sidebar__close {
  display: none;
}

.admin-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: #E8EEF6;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.admin-topbar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.admin-topbar__user-meta {
  min-width: 0;
}

.admin-env-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.admin-env-badge--local {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.admin-env-badge--prod {
  background: rgba(201, 162, 39, 0.18);
  color: #F0D78C;
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.admin-body {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 162, 39, 0.06), transparent 55%),
    #f1f5f9;
  color: #0f172a;
  min-height: 100vh;
}

.admin-sidebar {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  color: #E8EEF6;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 20% 0%, rgba(232, 197, 71, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(255, 106, 26, 0.12), transparent 50%),
    linear-gradient(180deg, #0B0D14 0%, #07080C 100%);
  border-right: 1px solid rgba(232, 197, 71, 0.2);
}

.admin-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%231E7BFF' stroke-opacity='0.16' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

/* Mobile overrides MUST come after .admin-sidebar base so position:fixed wins.
   Previously position:relative overrode fixed and the off-canvas transform still
   applied, leaving a full-height empty gap above the topbar. */
@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav-toggle {
    display: inline-flex;
  }

  .admin-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(7, 8, 12, 0.55);
    backdrop-filter: blur(3px);
  }

  .admin-backdrop[hidden] {
    display: none !important;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(18rem, 88vw);
    z-index: 60;
    min-height: 100vh;
    min-height: 100dvh;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-shell.is-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .admin-sidebar__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    color: #E8EEF6;
    border: 1px solid rgba(232, 197, 71, 0.3);
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
  }

  .admin-topbar__user-meta {
    display: none;
  }

  body.admin-nav-locked {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .admin-topbar {
    padding: 0.85rem 1rem;
  }

  .admin-topbar__title {
    font-size: 1rem;
  }

  .admin-content {
    padding: 1rem;
  }

  .admin-stat__value {
    font-size: 1.4rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }
}

.admin-brand {
  display: block;
  margin-bottom: 1.75rem;
}

.admin-brand__label {
  margin-top: 0.75rem;
  font-family: Cinzel, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F0D78C;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.admin-nav__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(197, 205, 216, 0.85);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.admin-nav__link:hover {
  background: rgba(232, 197, 71, 0.12);
  color: #fff;
}

.admin-nav__link.is-active {
  background: rgba(232, 197, 71, 0.2);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.35);
}

.admin-nav__link--danger {
  color: #fca5a5;
}

.admin-nav__link--danger:hover {
  background: rgba(213, 43, 30, 0.15);
  color: #fecaca;
}

.admin-nav__icon {
  width: 1.1rem;
  text-align: center;
  opacity: 0.7;
  font-size: 0.8rem;
}

.admin-nav__divider {
  height: 1px;
  margin: 0.75rem 0;
  background: rgba(232, 197, 71, 0.2);
}

.admin-sidebar__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 197, 71, 0.15);
}

.admin-sidebar__tagline {
  margin-top: 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(197, 205, 216, 0.45);
}

.admin-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(11, 13, 20, 0.97), rgba(7, 8, 12, 0.94));
  color: #E8EEF6;
  border-bottom: 1px solid rgba(232, 197, 71, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .admin-topbar {
    padding: 1.1rem 2rem;
  }
}

.admin-topbar .section-kicker {
  color: #F0D78C;
}

.admin-topbar__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.admin-topbar__user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-topbar__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #E8C547, #8B6914);
  box-shadow: 0 0 14px rgba(232, 197, 71, 0.35);
}

.admin-topbar__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.admin-topbar__role {
  font-size: 0.7rem;
  color: rgba(197, 205, 216, 0.6);
}

.admin-content {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .admin-content {
    padding: 2rem;
  }
}

.admin-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  border-top: 3px solid #C9A227;
}

.admin-stat__label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
  font-family: Cinzel, sans-serif;
}

.admin-stat__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
}

.admin-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.admin-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.admin-panel__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

.admin-table th {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  font-family: Cinzel, sans-serif;
}

.admin-table tbody tr:hover {
  background: rgba(201, 162, 39, 0.03);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
}

.admin-badge--ok {
  background: #ecfdf5;
  color: #047857;
}

.admin-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #334155;
}

.form-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-input--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 197, 71, 0.3);
  color: #fff;
}

.form-input--dark::placeholder {
  color: rgba(197, 205, 216, 0.45);
}

.form-input--dark:focus {
  background: rgba(232, 197, 71, 0.1);
  border-color: rgba(232, 197, 71, 0.65);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.2);
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 85% 15%, rgba(255, 106, 26, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 55% at 10% 80%, rgba(201, 162, 39, 0.4), transparent 55%),
    linear-gradient(160deg, #0B0D14 0%, #07080C 45%, #0A1228 100%);
}

.admin-login__glow {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%231E7BFF' stroke-opacity='0.18' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

.admin-login__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(11, 13, 20, 0.88);
  border: 1px solid rgba(232, 197, 71, 0.3);
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(201, 162, 39, 0.15);
  backdrop-filter: blur(12px);
}

.admin-login .admin-label {
  color: rgba(197, 205, 216, 0.9);
}

@media (min-width: 640px) {
  .admin-login__card {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js-anim .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Home v2 â€” Loja de importados (layout editorial moderno)
   ========================================================================== */

.imp-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.imp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050505;
}

.imp-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 30% center;
  transform: scale(1.04);
  animation: imp-kenburns 22s ease-out forwards;
  filter: saturate(1.08) contrast(1.06) brightness(1.02);
}

@keyframes imp-kenburns {
  from { transform: scale(1.1); }
  to { transform: scale(1.02); }
}

.imp-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.5) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 48%),
    radial-gradient(ellipse 45% 55% at 82% 42%, rgba(201, 162, 39, 0.12), transparent 60%);
  pointer-events: none;
}

.imp-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%23C9A227' stroke-opacity='0.35' stroke-width='1' d='M28 0l28 16v16L28 48 0 32V16z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  mask-image: radial-gradient(ellipse 65% 60% at 70% 40%, #000 10%, transparent 72%);
}

.imp-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.imp-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .imp-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.imp-hero__copy {
  max-width: 36rem;
}

.imp-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  padding-bottom: 0.35rem;
}

.imp-hero__brand {
  margin: 0 0 1.25rem;
  line-height: 0.92;
}

.imp-hero__brand-name {
  display: block;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff 0%, #F0D78C 45%, #C9A227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(201, 162, 39, 0.35));
}

.imp-hero__store {
  display: block;
  margin-top: 0.35rem;
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  letter-spacing: 0.42em;
  color: #C9A227;
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.5);
}

.imp-hero__lead {
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(245, 239, 227, 0.88);
  margin-bottom: 2rem;
}

.imp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Logo enquadrada (selo circular) */
.imp-hero__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.imp-hero__logo-frame {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 0.45rem;
  background:
    linear-gradient(145deg, #F0D78C 0%, #C9A227 35%, #8B6914 70%, #E8C547 100%);
  box-shadow:
    0 0 0 1px rgba(240, 215, 140, 0.35),
    0 0 50px rgba(201, 162, 39, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.55);
  animation: imp-seal-glow 4.5s ease-in-out infinite;
}

.imp-hero__logo-frame::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 50%;
  border: 1px solid rgba(240, 215, 140, 0.35);
  pointer-events: none;
  z-index: 2;
}

.imp-hero__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #000;
}

@media (max-width: 959px) {
  .imp-hero {
    min-height: calc(100vh - 4.25rem);
    min-height: calc(100svh - 4.25rem);
    align-items: center;
  }

  .imp-hero__bg-img {
    /* Ã‚ncora no canto esquerdo/superior: PY (extrema esq.) + BR ao lado */
    object-position: left 18%;
    transform: none;
    animation: none;
    filter: saturate(1.05) contrast(1.04) brightness(0.92);
  }

  .imp-hero__veil {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.42) 38%, rgba(0,0,0,0.72) 100%),
      radial-gradient(ellipse 90% 55% at 50% 18%, rgba(201, 162, 39, 0.14), transparent 65%);
  }

  .imp-hero__bg::before {
    opacity: 0.16;
    mask-image: radial-gradient(ellipse 80% 55% at 50% 35%, #000 8%, transparent 70%);
  }

  .imp-hero__content {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .imp-hero__grid {
    gap: 1.35rem;
    text-align: center;
    justify-items: center;
  }

  .imp-hero__copy {
    max-width: 22rem;
    width: 100%;
  }

  .imp-hero__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
    max-width: 100%;
  }

  .imp-hero__brand {
    margin-bottom: 0.85rem;
  }

  .imp-hero__brand-name {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
    letter-spacing: 0.04em;
    filter: drop-shadow(0 0 18px rgba(201, 162, 39, 0.3));
  }

  .imp-hero__store {
    margin-top: 0.2rem;
    font-size: clamp(0.85rem, 3.6vw, 1.05rem);
    letter-spacing: 0.28em;
    padding-left: 0.28em; /* equilibra o tracking visual */
  }

  .imp-hero__lead {
    max-width: 19rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .imp-hero__actions {
    justify-content: center;
    gap: 0.6rem;
  }

  .imp-hero__logo-wrap {
    order: -1;
    margin-bottom: 0.15rem;
  }

  .imp-hero__logo-frame {
    width: min(38vw, 9.5rem);
    padding: 0.28rem;
    box-shadow:
      0 0 0 1px rgba(240, 215, 140, 0.3),
      0 0 28px rgba(201, 162, 39, 0.28),
      0 12px 32px rgba(0, 0, 0, 0.45);
  }

  .imp-hero__logo-frame::before {
    inset: 0.4rem;
  }
}

/* Landscape / telas baixas: evita hero â€œesticadoâ€ demais */
@media (max-width: 959px) and (max-height: 560px) {
  .imp-hero {
    min-height: auto;
  }

  .imp-hero__content {
    padding-top: 1.1rem;
    padding-bottom: 1.25rem;
  }

  .imp-hero__grid {
    gap: 0.85rem;
  }

  .imp-hero__logo-frame {
    width: min(22vw, 5.75rem);
  }

  .imp-hero__lead {
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
  }

  .imp-hero__brand-name {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .imp-hero {
    min-height: calc(100vh - 4rem);
    min-height: calc(100svh - 4rem);
  }

  .imp-hero__content {
    padding-top: 1.35rem;
    padding-bottom: 1.5rem;
  }

  .imp-hero__grid {
    gap: 1.1rem;
  }

  .imp-hero__logo-frame {
    width: min(34vw, 8.25rem);
  }

  .imp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 17.5rem;
    margin-inline: auto;
  }

  .imp-hero__actions .btn-primary,
  .imp-hero__actions .btn-outline-light {
    width: 100%;
  }

  .imp-ticker {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .imp-ticker__track {
    gap: 0.9rem;
    padding: 0.7rem 0;
  }
}

@media (min-width: 960px) {
  .imp-hero__logo-wrap {
    justify-content: flex-end;
  }
}

/* Ticker */
.imp-ticker {
  overflow: hidden;
  background: #0A0A0A;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  color: rgba(240, 215, 140, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.imp-ticker__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: imp-ticker 32s linear infinite;
  white-space: nowrap;
}

.imp-ticker__dot {
  color: var(--brand-gold);
  opacity: 0.7;
}

@keyframes imp-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.imp-section {
  padding: 4.5rem 0;
}

.imp-section--runway {
  background: linear-gradient(180deg, #f7f3ea 0%, #faf9f7 40%, #fff 100%);
  border-block: 1px solid rgba(201, 162, 39, 0.12);
  padding-bottom: 4rem;
}

.imp-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 639px) {
  .imp-section,
  .imp-flow,
  .imp-brand,
  .imp-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .imp-section__head {
    align-items: flex-start;
    margin-bottom: 1.35rem;
  }

  .imp-section__sub {
    font-size: 0.875rem;
  }

  .imp-cat {
    min-height: 8.25rem;
    border-radius: 0.85rem;
  }

  .imp-cat__meta {
    padding: 0.75rem 0.85rem;
  }

  .imp-cat__name {
    font-size: 0.92rem;
  }

  .imp-brand__logo {
    width: min(70vw, 16rem);
  }

  .imp-brand__text {
    font-size: 0.95rem;
    margin-bottom: 1.35rem;
  }

  .page-banner .max-w-7xl {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .product-card {
    border-radius: 0.85rem;
  }

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

  .fab-whatsapp-wrap {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .fab-whatsapp {
    width: 3.15rem;
    height: 3.15rem;
  }
}

.imp-section__head--center {
  justify-content: center;
  text-align: center;
  margin-bottom: 2.75rem;
}

.imp-section__title {
  font-family: Cinzel, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-ink);
  margin: 0;
}

.imp-section__title--light {
  color: #F5EFE3;
}

.imp-section__sub {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--brand-muted, #6B7280);
  max-width: 28rem;
}

.imp-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.imp-link:hover {
  color: var(--brand-gold);
}

/* Category mosaic */
.imp-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .imp-cats {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 11rem;
    gap: 1rem;
  }

  .imp-cat--featured {
    grid-column: span 3;
    grid-row: span 2;
  }

  .imp-cat:not(.imp-cat--featured) {
    grid-column: span 3;
  }

  .imp-cats .imp-cat:nth-child(n+4) {
    grid-column: span 2;
  }
}

.imp-cat {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 9.5rem;
  background: #111;
  isolation: isolate;
}

.imp-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.imp-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 55%);
  z-index: 1;
}

.imp-cat:hover img {
  transform: scale(1.07);
}

.imp-cat__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  color: #fff;
}

.imp-cat__name {
  display: block;
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.imp-cat__desc {
  display: none;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(245, 239, 227, 0.75);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .imp-cat--featured .imp-cat__desc {
    display: block;
  }
}

/* Runway / destaques â€” mobile grid + desktop carousel */
.imp-featured__head {
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.imp-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.imp-featured__count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8B6914;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 9999px;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}

.imp-featured__nav {
  display: none;
  gap: 0.4rem;
}

.imp-featured__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: #fff;
  color: #8B6914;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.imp-featured__btn:hover {
  background: #C9A227;
  color: #0A0A0A;
  transform: translateY(-1px);
}

.imp-featured__btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Container Ãºnico: grade no mobile */
.imp-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .imp-featured {
    gap: 0.85rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .imp-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .imp-featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.imp-featured__item {
  min-width: 0;
  height: 100%;
}

.imp-featured__item .product-card {
  height: 100%;
  border-radius: 0.85rem;
}

.imp-featured .product-card .price-now {
  font-size: 0.95rem !important;
  line-height: 1.2;
}

.imp-featured .product-card .btn-outline {
  min-height: 2.15rem;
  touch-action: manipulation;
}

@media (max-width: 639px) {
  .imp-section--runway {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .imp-featured__head {
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .imp-featured__head .imp-section__sub {
    font-size: 0.85rem;
  }

  .imp-featured .product-card > div {
    padding: 0.55rem 0.6rem 0.7rem !important;
    gap: 0.35rem !important;
  }

  .imp-featured .product-card h3 {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    min-height: 1.9em;
  }

  .imp-featured .product-card .badge-estoque {
    font-size: 0.58rem !important;
  }

  .imp-featured .product-card .mt-auto {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.45rem !important;
  }

  .imp-featured .product-card .btn-outline {
    width: 100% !important;
    justify-content: center;
    font-size: 0.7rem !important;
    padding: 0.45rem 0.5rem !important;
  }
}

.imp-featured__dots {
  display: none;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.imp-featured__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: rgba(201, 162, 39, 0.3);
  border: 0;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.imp-featured__dot.is-active {
  width: 1.15rem;
  background: #C9A227;
}

/* Desktop largo: carrossel horizontal opcional com setas */
@media (min-width: 1280px) {
  .imp-featured {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    gap: 1rem;
    max-width: none;
    padding: 0.25rem max(1rem, calc((100vw - 80rem) / 2 + 1rem)) 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,162,39,0.45) transparent;
  }

  .imp-featured:focus-visible {
    outline: 2px solid rgba(201, 162, 39, 0.55);
    outline-offset: 2px;
  }

  .imp-featured__item {
    width: 16rem;
    flex: 0 0 16rem;
    scroll-snap-align: start;
  }

  .imp-featured__nav,
  .imp-featured__dots {
    display: flex;
  }

  .imp-featured__count {
    display: none;
  }
}

@media (max-width: 1279px) {
  .imp-section--runway .imp-featured__nav {
    display: none !important;
  }
}

/* Flow steps */
.imp-flow {
  padding: 4.5rem 0;
  background: #000;
  color: #F5EFE3;
}

.imp-flow .section-kicker {
  color: var(--brand-gold-light);
}

.imp-flow .imp-section__title {
  color: #F5EFE3;
}

.imp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .imp-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.imp-step {
  position: relative;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}

.imp-step__num {
  display: block;
  font-family: Cinzel, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.65);
  margin-bottom: 1rem;
}

.imp-step__title {
  font-family: Cinzel, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #fff;
}

.imp-step__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(212, 196, 168, 0.8);
}

/* Brand band */
.imp-brand {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(201, 162, 39, 0.18), transparent 60%),
    #0A0A0A;
  color: #F5EFE3;
  border-block: 1px solid rgba(201, 162, 39, 0.2);
}

.imp-brand__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .imp-brand__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.imp-brand__text {
  margin: 1rem 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(212, 196, 168, 0.85);
}

.imp-brand__seal {
  display: flex;
  justify-content: center;
}

.imp-brand__logo {
  width: min(100%, 22rem);
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.4),
    0 0 60px rgba(201, 162, 39, 0.25);
  animation: imp-seal-glow 4s ease-in-out infinite;
}

@keyframes imp-seal-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), 0 0 40px rgba(201, 162, 39, 0.2); }
  50% { box-shadow: 0 0 0 1px rgba(240, 215, 140, 0.55), 0 0 70px rgba(201, 162, 39, 0.4); }
}

/* Final CTA */
.imp-cta {
  padding: 4.5rem 0;
  background:
    linear-gradient(180deg, #111 0%, #000 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.imp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 162, 39, 0.2), transparent 70%);
  pointer-events: none;
}

.imp-cta > * {
  position: relative;
  z-index: 1;
}

.imp-cta__title {
  font-family: Cinzel, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #fff;
}

.imp-cta__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(212, 196, 168, 0.75);
}

/* Abaixo da dobra: reduz custo de render atÃ© entrar na viewport */
.imp-section,
.imp-brand,
.imp-cta,
.featured-runway,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.product-card__media img,
.imp-cat img {
  background: #f1f5f9;
}

@media (prefers-reduced-motion: reduce) {
  .imp-hero__bg-img,
  .imp-ticker__track,
  .imp-brand__logo {
    animation: none !important;
  }
}

/* Filtros do catÃ¡logo */
.catalog-filter {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.catalog-filter:hover {
  color: #8B6914;
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.35);
}

.catalog-filter.is-active {
  color: #fff;
  background: #0B0D14;
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.25);
}

/* FormulÃ¡rio admin produto â€” mobile */
.admin-product-preview {
  max-width: 100%;
  height: auto;
  max-height: 10rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

@media (max-width: 639px) {
  .catalog-filter {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .product-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-detail-actions .btn-primary,
  .product-detail-actions .btn-outline,
  .product-detail-actions .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .admin-panel.p-5 {
    padding: 1rem !important;
  }

  #checkout-form .admin-panel {
    padding: 1rem;
  }
}

/* Safe area + tap targets */
@media (max-width: 767px) {
  .site-header .max-w-7xl {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .header-icon-btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .fab-whatsapp-wrap {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}


/* ==========================================================================
   FARMACIA T.G. â€” home 2026
   ========================================================================== */

.font-display {
  font-family: "Archivo Black", "Archivo", sans-serif;
}

.tg-home {
  --tg-ink: #141414;
  --tg-gold: #FDB813;
  --tg-gold-soft: #FFD14A;
  --tg-brown: #6B3E26;
  --tg-navy: #141414;
  --tg-mist: #F7F7F8;
}

.tg-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--tg-ink);
  color: #fff;
}

.tg-hero__media,
.tg-hero__shade {
  position: absolute;
  inset: 0;
}

/* Duas camadas com máscara em degradê (sem traço duro) */
.tg-hero__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Esquerda: microcentro / bandeiras / ponte */
.tg-hero__layer--city {
  object-position: 100% 45%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.65) 52%, rgba(0,0,0,0.2) 64%, transparent 78%);
  mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.65) 52%, rgba(0,0,0,0.2) 64%, transparent 78%);
}

/* Direita: fachada + placa */
.tg-hero__layer--pharma {
  object-position: center 6%;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0.75) 50%, #000 62%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 22%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0.75) 50%, #000 62%, #000 100%);
}

.tg-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  animation: none;
}

.tg-hero__shade {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.08) 0%, rgba(20, 20, 20, 0.28) 52%, rgba(20, 20, 20, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 20, 20, 0.45) 0%, rgba(20, 20, 20, 0.18) 36%, rgba(20, 20, 20, 0.02) 58%, rgba(20, 20, 20, 0.06) 100%);
  pointer-events: none;
}

.tg-hero__content {
  position: relative;
  z-index: 2;
  width: min(36rem, 100%);
  max-width: 44%;
  margin: 0;
  padding: 5.5rem 1.25rem 3.25rem;
  text-align: left;
}

@media (min-width: 640px) {
  .tg-hero__media,
  .tg-hero__shade {
    top: 0;
  }

  .tg-hero__layer--city {
    object-position: 82% 38%;
  }

  .tg-hero__layer--pharma {
    object-position: center 4%;
  }

  .tg-hero__content {
    padding: 6.75rem 1.5rem 3.5rem;
    margin-left: max(1rem, calc((100% - 80rem) / 2));
    margin-right: auto;
    max-width: min(34rem, 42%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .tg-hero__lead {
    margin-left: 0;
    margin-right: auto;
  }

  .tg-hero__actions {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .tg-hero__layer--city {
    object-position: 85% 35%;
  }

  .tg-hero__layer--pharma {
    object-position: center 2%;
  }

  .tg-hero__content {
    padding-top: 7rem;
    max-width: min(36rem, 40%);
  }
}

.tg-hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-bottom: 1.1rem;
}

.tg-hero__eyebrow {
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tg-gold-soft);
  margin-bottom: 0.75rem;
}

.tg-hero__word,
.tg-hero__tg {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.tg-hero__word {
  font-size: clamp(2.6rem, 8.5vw, 5.2rem);
  color: #fff;
}

.tg-hero__tg {
  font-size: clamp(2.6rem, 8.5vw, 5.2rem);
  color: #fff;
}

.tg-hero__cross {
  display: inline-flex;
  color: #fff;
  opacity: 0.95;
  animation: tg-pulse-soft 3.2s ease-in-out infinite;
}

.tg-hero__headline {
  max-width: 16ch;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 0.85rem;
  color: #fff;
  text-transform: uppercase;
}

.tg-hero__lead {
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: rgba(244, 246, 249, 0.86);
  margin-bottom: 1.6rem;
}

.tg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tg-rail {
  overflow: hidden;
  background: var(--tg-ink);
  border-top: 3px solid var(--tg-gold);
  border-bottom: 3px solid var(--tg-gold);
  color: var(--tg-gold);
}

.tg-rail__track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  padding: 0.85rem 0;
  font-family: "Archivo", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: tg-marquee 28s linear infinite;
}

.tg-rail__sep {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--tg-gold);
  opacity: 0.75;
  flex: 0 0 auto;
}

.tg-section {
  padding: 4.5rem 0;
}

.tg-section--soft {
  background:
    linear-gradient(180deg, #fff 0%, #f3f6fa 100%);
}

.tg-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.tg-section__head--center {
  justify-content: center;
  text-align: center;
}

.tg-kicker {
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
  margin-bottom: 0.45rem;
}

.tg-kicker--light {
  color: var(--tg-gold-soft);
}

.tg-section__title {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--tg-ink);
  line-height: 1.08;
}

.tg-section__sub {
  margin-top: 0.45rem;
  max-width: 34rem;
  color: #64748b;
  font-size: 0.95rem;
}

.tg-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tg-navy);
  border-bottom: 1px solid rgba(11, 37, 69, 0.25);
  transition: color 0.2s, border-color 0.2s;
}

.tg-link:hover {
  color: var(--brand-gold-dark);
  border-color: var(--brand-gold);
}

.tg-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .tg-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tg-cats {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tg-cat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 8.5rem;
  padding: 1.15rem 1.1rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(26, 26, 27, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation-delay: var(--delay, 0ms);
}

.tg-cat:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 182, 58, 0.55);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.tg-cat__index {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tg-gold);
}

.tg-cat__name {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tg-ink);
  line-height: 1.1;
}

.tg-cat__desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

.tg-space {
  position: relative;
  width: 100%;
  /* Arte 1536×1024 (3:2): mesma proporção = zero crop */
  aspect-ratio: 3 / 2;
  min-height: 280px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0e0e0e;
}

.tg-space__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tg-space__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  display: block;
}

@media (max-width: 639px) {
  /* Mobile: foto inteira em cima + card embaixo (sem cobrir bandeiras/pessoas) */
  .tg-space {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    background: #0e0e0e;
  }

  .tg-space__media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    flex-shrink: 0;
  }

  .tg-space__img {
    object-fit: cover;
    object-position: center center;
  }

  .tg-space__panel {
    position: relative;
    z-index: 2;
    width: calc(100% - 1.5rem);
    max-width: none;
    margin: -2.25rem auto 1.35rem;
    padding: 1.1rem 1rem 1.2rem;
    background: rgba(20, 20, 20, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .tg-space__title {
    font-size: clamp(1.35rem, 6.2vw, 1.65rem);
    margin-bottom: 0.55rem;
  }

  .tg-space__text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .tg-space__panel .btn-outline-light {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.tg-space__panel {
  position: relative;
  z-index: 1;
  width: min(34rem, calc(100% - 2rem));
  margin: 3rem 1rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.35rem;
  background: rgba(26, 26, 27, 0.72);
  border: 1px solid rgba(228, 182, 58, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

@media (min-width: 768px) {
  .tg-space__panel {
    margin-left: max(2rem, calc((100% - 80rem) / 2 + 1.5rem));
    padding: 2.25rem;
  }
}

.tg-space__title {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 750;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.tg-space__text {
  color: rgba(244, 246, 249, 0.86);
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.tg-steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .tg-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.tg-step {
  padding: 1.35rem 1.2rem;
  border-top: 3px solid var(--tg-gold);
  background: #fff;
}

.tg-step__num {
  display: inline-block;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--tg-gold);
  margin-bottom: 0.55rem;
}

.tg-step__title {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--tg-ink);
  margin-bottom: 0.4rem;
}

.tg-step__text {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tg-cta {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(228, 182, 58, 0.14), transparent 60%),
    #fff;
}

.tg-cta__title {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 750;
  color: var(--tg-ink);
  line-height: 1.05;
  margin: 0.4rem 0 0.75rem;
}

.tg-cta__text {
  color: #64748b;
  max-width: 34rem;
  margin: 0 auto;
}

@keyframes tg-kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

@keyframes tg-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes tg-pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .tg-hero__img,
  .tg-rail__track,
  .tg-hero__cross {
    animation: none !important;
  }
}

@media (max-width: 639px) {
  .tg-hero {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    align-items: end;
  }

  .tg-hero__media,
  .tg-hero__shade {
    top: 0;
  }

  .tg-hero__layer--city {
    object-position: 88% center;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.4) 55%, transparent 75%);
    mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.4) 55%, transparent 75%);
  }

  .tg-hero__layer--pharma {
    object-position: center 10%;
    -webkit-mask-image: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.4) 45%, #000 60%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.4) 45%, #000 60%, #000 100%);
  }

  .tg-hero__shade {
    background:
      linear-gradient(180deg, rgba(20, 20, 20, 0.08) 0%, rgba(20, 20, 20, 0.22) 40%, rgba(20, 20, 20, 0.78) 78%, rgba(20, 20, 20, 0.92) 100%),
      linear-gradient(90deg, rgba(20, 20, 20, 0.4) 0%, rgba(20, 20, 20, 0.12) 42%, rgba(20, 20, 20, 0.04) 100%);
  }

  .tg-hero__content {
    max-width: 58%;
    padding: 4.5rem 1rem 1.5rem;
    text-align: left;
    align-items: flex-start;
  }

  .tg-hero__headline {
    font-size: 1.15rem;
    max-width: 18ch;
  }

  .tg-hero__lead {
    font-size: 0.82rem;
    margin-bottom: 1rem;
    margin-left: 0;
  }

  .tg-hero__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .tg-section {
    padding: 3.25rem 0;
  }
}


.tg-seal {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(20, 20, 20, 0.18));
}

.tg-cta__title {
  font-family: "Archivo Black", "Archivo", sans-serif;
  text-transform: uppercase;
}


.tg-border {
  padding: 4rem 0 3.5rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.tg-border__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tg-border__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.tg-border__item {
  padding: 1.35rem 1.2rem;
  border-top: 3px solid var(--tg-gold, #FDB813);
  background: #fff;
  animation-delay: var(--delay, 0ms);
}

.tg-border__flag,
.tg-border__pin {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--tg-gold, #FDB813);
  font-size: 1rem;
}

.tg-border__title {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--tg-ink, #141414);
  margin-bottom: 0.45rem;
}

.tg-border__text {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}
