:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --panel: #ffffff;
  --soft: #fbf8f1;
  --text: #17130c;
  --muted: #766f64;
  --line: #e8dfcf;
  --gold: #c5973f;
  --black: #100d08;
  --green: #127c6c;
  --shadow: 0 18px 44px rgba(40, 30, 15, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 244, 239, 0.98) 24rem),
    var(--bg);
  color: var(--text);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] { display: none !important; }

button,
input {
  font: inherit;
}

button,
.primary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 0.78rem 1rem;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

button:hover,
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(40, 30, 15, 0.1);
}

.primary {
  background: var(--black);
  border-color: var(--gold);
  color: #fff8e9;
  font-weight: 800;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(40, 30, 15, 0.06);
}

.store-mode {
  --bg: #f4f1eb;
  --panel: #ffffff;
  --soft: #fbf8f1;
  --text: #17130c;
  --muted: #766f64;
  --line: #e8dfcf;
  --gold: #c5973f;
  background: var(--bg);
  color: var(--text);
}

.store-mode .shop-header {
  min-height: 118px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e5e8ec;
  padding-inline: max(1rem, calc((100vw - 1540px) / 2));
}

.store-mode .brand {
  color: #272727;
}

.store-mode .brand img {
  width: 118px;
  height: 52px;
}

.store-mode .brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.store-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.store-nav a,
.store-nav button {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.store-nav [data-store-home] {
  margin-right: clamp(1rem, 12vw, 24rem);
}

.store-nav [data-open-cart] {
  font-size: 0;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
}

.store-nav [data-open-cart]::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 22px;
  height: 17px;
  border: 2px solid currentColor;
  border-top: 0;
  transform: skewX(-12deg);
}

.store-nav [data-open-cart]::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 6px;
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background:
    radial-gradient(circle at 2px 2px, currentColor 0 2px, transparent 2.5px),
    radial-gradient(circle at 20px 2px, currentColor 0 2px, transparent 2.5px);
}

.store-nav [data-cart-count] {
  display: none;
}

.store-nav .signup {
  border-radius: 8px;
  background: var(--black);
  color: #fff8e9;
  padding: 0.9rem 1.2rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

main {
  padding: 0 clamp(1rem, 4vw, 3rem) 3rem;
}

.store-mode main {
  padding: 0;
}

.store-home {
  display: block;
}

.store-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #111;
}

.hero-mosaic {
  position: absolute;
  inset: -4rem -3rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 180px;
  gap: 0.8rem;
  transform: rotate(-8deg) scale(1.08);
}

.hero-mosaic::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.64)),
    rgba(0, 0, 0, 0.32);
}

.mosaic-tile,
.mosaic-fallback {
  display: block;
  overflow: hidden;
  background: #30343a;
}

.mosaic-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-0,
.tile-3 { grid-row: span 2; }
.tile-1,
.tile-4 { grid-column: span 2; }
.tile-2,
.tile-5 { grid-row: span 2; grid-column: span 2; }

.mosaic-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  text-align: center;
}

.hero-copy h1 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.08;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.store-search {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(640px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.store-search input {
  border: 0;
  background: transparent;
  color: #252525;
  font-size: 1.05rem;
  padding: 1.15rem 1.35rem;
}

.store-search button {
  border: 0;
  background: transparent;
  color: #7c8289;
  font-size: 1.8rem;
  padding-inline: 1.3rem;
}

.recent-events {
  width: min(1540px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.4rem 0 6rem;
}

.recent-events h2 {
  color: #282828;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.recent-events p {
  color: #3f454d;
  font-size: 1.08rem;
  margin-bottom: 2.2rem;
}

.store-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.store-event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #252525;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.store-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(40, 30, 15, 0.12);
}

.store-event-card img,
.store-cover-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11.5;
}

.store-event-card img {
  object-fit: cover;
  transition: transform 0.28s ease;
}

.store-event-card:hover img {
  transform: scale(1.035);
}

.store-cover-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #272727, #7a7f86);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.store-event-card div {
  display: grid;
  gap: 0.8rem;
  min-height: 150px;
  padding: 1.15rem 1.25rem 1.45rem;
}

.store-event-card strong {
  font-size: 1.05rem;
  line-height: 1.28;
  text-transform: uppercase;
}

.store-event-card span {
  color: #686f77;
  line-height: 1.45;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  color: #666;
  padding: 0.8rem 1rem;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.08);
}

.cookie-bar p {
  margin: 0;
}

.cookie-bar button {
  background: var(--black);
  color: #fff8e9;
  min-width: 170px;
}

.event-hero {
  min-height: 34vh;
  display: flex;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 1.5rem;
}

.event-hero span,
.result-head span,
.face-card p,
.manual-card p,
.cart-drawer p {
  color: var(--muted);
}

h1,
h2,
p { margin-top: 0; }

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.8fr);
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 1rem auto 2rem;
}

.password-gate {
  display: grid;
  min-height: 54vh;
  place-items: center;
  padding: 3rem 0;
}

.password-gate form {
  display: grid;
  width: min(520px, 100%);
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(197, 151, 63, 0.12), rgba(255, 255, 255, 0)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.password-gate span {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.password-gate h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
}

.password-gate p,
.password-gate small {
  color: var(--muted);
  line-height: 1.45;
}

.discount-offer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 0.12rem;
  align-items: stretch;
  width: min(980px, calc(100vw - 2rem));
  margin: 0 auto 2.4rem;
  color: var(--black);
}

.delivery-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(980px, calc(100vw - 2rem));
  margin: -1.4rem auto 2.4rem;
  border: 1px solid rgba(213, 179, 106, 0.4);
  border-radius: 8px;
  background: rgba(213, 179, 106, 0.12);
  color: var(--text);
  padding: 0.85rem 1rem;
  text-align: center;
}

.delivery-note strong {
  color: var(--gold);
  text-transform: uppercase;
}

.delivery-note span {
  color: var(--muted);
}

.discount-offer-main,
.discount-tiers article {
  background: #fff8e9;
  border: 1px solid rgba(197, 151, 63, 0.28);
}

.discount-offer-main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border-radius: 8px 0 0 8px;
  padding: 1.15rem 1.5rem;
}

.discount-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--black);
  color: #f3d99f;
  font-size: 1.6rem;
  font-weight: 900;
  transform: rotate(-8deg);
}

.discount-offer strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.discount-offer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.discount-tiers {
  display: grid;
  grid-auto-flow: column;
  gap: 0.12rem;
}

.discount-tiers article {
  display: grid;
  place-items: center;
  min-width: 132px;
  padding: 1rem 0.8rem;
  text-align: center;
}

.discount-tiers article:last-child {
  border-radius: 0 8px 8px 0;
}

.discount-tiers strong {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
}

.discount-tiers span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.face-card,
.manual-card,
.cart-drawer,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.face-card {
  display: grid;
  gap: 0.85rem;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.quick-filters button {
  border-color: rgba(197, 151, 63, 0.38);
  border-radius: 999px;
  background: rgba(197, 151, 63, 0.12);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.44rem 0.68rem;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0.8rem;
}

input:focus {
  border-color: rgba(197, 151, 63, 0.75);
  outline: 3px solid rgba(197, 151, 63, 0.14);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.consent input {
  width: auto;
  margin-top: 0.15rem;
}

.result-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  width: min(1180px, 100%);
  margin-inline: auto;
  margin-bottom: 1rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.protected-photo {
  position: relative;
  overflow: hidden;
  background: #0d0d0c;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.protected-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  pointer-events: none;
  filter: saturate(0.92) contrast(0.96) brightness(0.9);
}

.protected-photo img.blurred-preview {
  filter: blur(14px) saturate(0.75) contrast(0.86) brightness(0.78);
  transform: scale(1.08);
}

.protected-photo::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.68;
  background-image:
    repeating-linear-gradient(
      -24deg,
      rgba(255, 255, 255, 0) 0 38px,
      rgba(255, 255, 255, 0.34) 39px 40px,
      rgba(213, 179, 106, 0.42) 41px 42px,
      rgba(255, 255, 255, 0) 43px 78px
    );
}

.protected-photo::after {
  content: "FACE  PREVIA";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 160%;
  transform: translate(-50%, -50%) rotate(-18deg);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.15rem, 4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.74);
  pointer-events: none;
}

.watermark-center,
.watermark-caption {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.78);
}

.watermark-center {
  right: 0.65rem;
  bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.watermark-caption {
  left: 0.65rem;
  top: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.24rem 0.48rem;
  font-size: 0.62rem;
  font-weight: 800;
}

.photo-card > div:not(.protected-photo) {
  padding: 0.75rem;
}

.photo-card strong {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 0.5rem;
}

.photo-card button {
  width: 100%;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: min(460px, 100vw);
  height: 100vh;
  overflow: auto;
  border-radius: 0;
  box-shadow: -20px 0 60px rgba(40, 30, 15, 0.18);
}

.cart-drawer[hidden],
.download-panel[hidden] { display: none; }

.cart-drawer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}

.cart-drawer form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.cart-drawer label {
  display: grid;
  gap: 0.35rem;
}

.cart-drawer label span,
.cart-drawer h3 {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.cart-drawer h3 {
  margin: 0.35rem 0 0;
}

.coupon-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0.45rem 0 0;
  padding: 0.85rem;
}

.payment-methods legend {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 0.35rem;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(197, 151, 63, 0.28);
  border-radius: 8px;
  background: rgba(197, 151, 63, 0.08);
  padding: 0.72rem;
}

.payment-methods input {
  width: auto;
  accent-color: var(--gold);
}

.cart-summary {
  display: grid;
  gap: 0.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  margin-top: 0.8rem;
  padding: 0.85rem 0;
}

.cart-summary span,
.cart-summary strong,
.cart-total-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-summary em,
.cart-summary b {
  font-style: normal;
}

.cart-summary b {
  color: var(--text);
}

.cart-summary strong {
  color: var(--gold);
}

.cart-summary strong b {
  color: var(--gold);
}

.cart-total-line {
  align-items: center;
  color: var(--text);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.cart-total-line strong {
  color: var(--gold);
  font-size: 1.45rem;
}

.download-panel {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 30;
  width: min(720px, calc(100vw - 2rem));
  transform: translateX(-50%);
}

.protection-notice {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 80;
  max-width: min(92vw, 520px);
  transform: translate(-50%, 16px);
  border: 1px solid rgba(197, 151, 63, 0.55);
  border-radius: 8px;
  background: rgba(13, 13, 12, 0.94);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  padding: 0.82rem 1rem;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.protection-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.download-panel a {
  display: block;
  color: var(--gold);
  margin-top: 0.5rem;
}

@media (max-width: 760px) {
  .shop-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.8rem 1rem;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: -webkit-box;
    max-width: 9.5rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.92rem;
    line-height: 1.05;
  }

  .store-mode .shop-header {
    min-height: 84px;
  }

  .store-nav {
    gap: 0.4rem;
    min-width: 0;
    overflow-x: auto;
  }

  .store-nav [data-store-home] {
    margin-right: 0;
  }

  .store-nav [data-store-home],
  .store-nav [data-open-downloads],
  .store-nav a:not(.signup) {
    display: none;
  }

  .store-nav a,
  .store-nav button {
    white-space: nowrap;
  }

  .store-hero {
    min-height: 470px;
  }

  .hero-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
  }

  .store-event-grid {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .search-band,
  .result-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .discount-offer,
  .discount-tiers {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .discount-offer-main,
  .discount-tiers article,
  .discount-tiers article:last-child {
    border-radius: 8px;
  }

  .event-hero {
    min-height: 34vh;
  }
}

@media print {
  body::before {
    content: "VICTTO FACE - previa protegida. Originais disponiveis somente apos a compra.";
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: #0d0d0c;
    color: #f5efe4;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
  }

  .store-home,
  .event-hero,
  .search-band,
  .result-head,
  .photo-grid,
  .cart-drawer,
  .download-panel {
    display: none !important;
  }
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  margin-bottom: 1.35rem;
}

h1 {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
}

.recent-events h2,
.result-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
}

.recent-events p,
.event-hero p,
.face-card p,
.manual-card p,
.cart-drawer p,
.delivery-note,
.discount-offer p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.store-hero {
  min-height: 460px;
}

.event-hero {
  min-height: 28vh;
  padding-top: 3rem;
}

/* Cliente final: pagina de evento inspirada no fluxo Fotto, com visual limpo. */
.event-mode {
  --event-bg: #eef3f8;
  --event-text: #303236;
  --event-muted: #6d737b;
  --event-red: #e51d38;
  --event-line: #dfe5ec;
  background: var(--event-bg);
  color: var(--event-text);
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 1.3rem;
  min-height: 34px;
  padding: 0.55rem max(1rem, calc((100vw - 1540px) / 2));
  background: #e9eef4;
  color: #555d66;
  font-size: 0.82rem;
}

.utility-bar a {
  color: inherit;
  text-decoration: none;
}

.event-mode .shop-header {
  position: relative;
  min-height: 98px;
  box-shadow: none;
  border-bottom: 1px solid #e3e8ee;
  background: #fff;
  padding-inline: max(1rem, calc((100vw - 1540px) / 2));
}

.event-mode .brand {
  min-width: 210px;
}

.event-mode .brand img {
  width: 52px;
  height: 52px;
}

.event-mode .brand span {
  color: #2f3032;
  font-size: 1rem;
}

.event-mode .store-nav {
  gap: 1.35rem;
}

.event-mode .store-nav [data-store-home] {
  margin-right: 0;
}

.event-mode .store-nav a,
.event-mode .store-nav button {
  color: #303236;
  font-weight: 700;
}

.event-mode .store-nav .signup {
  background: var(--event-red);
  color: #fff;
}

.event-mode .store-nav [data-open-cart] {
  color: var(--event-red);
}

.event-mode main {
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.event-mode .event-hero {
  display: grid;
  place-items: center;
  width: min(1120px, 100%);
  min-height: 0;
  border: 0;
  padding: 3.2rem 0 1.6rem;
  text-align: center;
}

.event-mode .event-hero > div > span {
  display: none;
}

.event-mode .event-hero h1 {
  margin: 0 0 1.3rem;
  color: #2e3135;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-mode .event-hero p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem 1.8rem;
  margin: 0;
  color: var(--event-muted);
  font-size: 0.98rem;
}

.event-mode .event-hero p span,
.event-mode .event-hero p strong {
  color: inherit;
  font-weight: 700;
}

.event-mode .search-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(760px, 100%);
  margin: 1rem auto 2.1rem;
}

.event-mode .face-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 31, 42, 0.08);
  padding: 1.45rem 1.55rem;
}

.face-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px dashed var(--event-red);
  border-radius: 18px;
  color: var(--event-red);
  font-size: 1.8rem;
  line-height: 1;
}

.event-mode .face-card h2 {
  margin: 0 0 0.35rem;
  color: #2d3035;
  font-size: 1.02rem;
}

.event-mode .face-card p {
  margin: 0;
  color: #6a7077;
  font-size: 0.92rem;
}

.link-button {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #666;
  padding: 0.75rem 0 0;
  text-decoration: underline;
}

.link-button:hover {
  box-shadow: none;
  transform: none;
}

.event-mode .face-card .primary {
  min-width: 136px;
  border: 0;
  background: var(--event-red);
  color: #fff;
}

.event-mode [data-face-status] {
  position: absolute;
  left: 1.55rem;
  bottom: -1.35rem;
  color: var(--event-muted);
  font-size: 0.82rem;
}

.event-mode .manual-card {
  width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.75rem 0 0;
  text-align: center;
}

.event-mode .manual-card h2,
.event-mode .manual-card p {
  display: none;
}

.event-mode .manual-card input {
  max-width: 420px;
  margin: 0 auto;
  border-color: transparent;
  background: #fff;
}

.event-mode .manual-card button {
  margin-top: 0.75rem;
  color: #555;
}

.face-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(31, 36, 43, 0.58);
}

.face-modal-panel {
  position: relative;
  display: grid;
  gap: 0.9rem;
  width: min(540px, 100%);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  padding: 1.45rem;
}

.face-modal-panel > span {
  color: var(--event-red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.face-modal-panel h2 {
  margin: 0;
  font-size: 1.6rem;
}

.face-modal-panel p {
  margin: 0;
  color: var(--event-muted);
  font-size: 0.92rem;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #69707a;
  font-size: 1.7rem;
  line-height: 1;
  padding: 0;
}

.camera-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px dashed #c9d2dc;
  border-radius: 10px;
  background: #f3f6f9;
}

.camera-stage video,
.camera-stage img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.camera-placeholder {
  display: grid;
  gap: 0.35rem;
  color: #3a3f46;
  text-align: center;
}

.camera-placeholder small,
.face-modal-panel small {
  color: var(--event-muted);
}

.face-modal input[data-selfie],
.face-modal input[data-camera-file] {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #3a3f46;
  font-size: 0.9rem;
}

.consent input {
  width: auto;
  margin-top: 0.25rem;
}

.face-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.face-actions .primary {
  background: var(--event-red);
  border-color: var(--event-red);
  color: #fff;
}

.event-mode .discount-offer {
  width: min(1160px, 100%);
  color: #6f2bd8;
}

.event-mode .discount-offer-main,
.event-mode .discount-tiers article {
  background: #ece3fb;
  border-color: #e3d6f8;
}

.event-mode .discount-icon {
  background: #fff;
  color: #6f2bd8;
}

.event-mode .discount-offer p,
.event-mode .discount-tiers span {
  color: #6f2bd8;
}

.event-mode .result-head {
  width: min(1320px, 100%);
  margin-top: 0;
}

.event-mode .photo-grid {
  width: min(1320px, 100%);
  gap: 0.7rem;
}

.event-mode .photo-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.event-mode .protected-photo {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  background: #d9dde3;
}

.event-mode .protected-photo img {
  filter: blur(18px) saturate(0.82);
  transform: scale(1.06);
}

.photo-caption {
  display: none;
}

.photo-card .add-photo-button {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--event-red);
  font-size: 1.3rem;
  font-weight: 900;
  padding: 0;
}

.event-mode .watermark-center {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  opacity: 0.62;
}

.event-mode .watermark-caption {
  opacity: 0.78;
}

.event-mode .cookie-bar {
  background: rgba(255, 255, 255, 0.97);
}

.cookie-bar a {
  color: inherit;
}

.event-mode .cookie-bar button {
  background: var(--event-red);
  color: #fff;
}

.protection-notice {
  color: #fff8e9;
}

@media (max-width: 760px) {
  .utility-bar {
    display: none;
  }

  .event-mode .shop-header {
    min-height: 76px;
  }

  .event-mode .brand {
    min-width: 0;
  }

  .event-mode .store-nav {
    gap: 0.45rem;
  }

  .event-mode .store-nav [data-store-home],
  .event-mode .store-nav a[href="/fotografo/"],
  .event-mode .store-nav [data-open-downloads],
  .event-mode .store-nav a:not(.signup) {
    display: none;
  }

  .event-mode .event-hero {
    padding-top: 2.2rem;
  }

  .event-mode .face-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .event-mode .face-card .primary {
    width: 100%;
  }

  .face-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .face-actions button {
    width: 100%;
  }

  .camera-stage {
    min-height: 250px;
  }
}
