:root {
  --ink: #172028;
  --muted: #64717b;
  --line: #dde5e8;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --blue: #064d6b;
  --deep: #092f3b;
  --teal: #0a9c91;
  --gold: #b88932;
  --coral: #d9503f;
  --shadow: 0 22px 70px rgba(16, 36, 48, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  padding-bottom: 24px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(221, 229, 232, 0.82);
  background: rgba(255, 255, 253, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 40px rgba(16, 36, 48, 0.04);
}

body.is-presentation-mode {
  background: #05090d;
}

body.is-presentation-mode .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 10, 0.94);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
}

body.is-presentation-mode .brand strong {
  color: #fff;
}

body.is-presentation-mode .brand small {
  color: rgba(255, 255, 255, 0.62);
}

body.is-presentation-mode .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #05090d;
  box-shadow: 0 0 0 3px rgba(88, 228, 219, 0.08), 0 12px 34px rgba(0, 0, 0, 0.34);
}

body.is-presentation-mode .view-switch {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.is-presentation-mode .view-switch button {
  color: rgba(255, 255, 255, 0.72);
}

body.is-presentation-mode .view-switch button.is-active {
  background: #071a21;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(88, 228, 219, 0.38), 0 10px 28px rgba(88, 228, 219, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--deep), var(--blue));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(6, 77, 107, 0.16);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.view-switch {
  display: flex;
  padding: 4px;
  border: 1px solid rgba(9, 47, 59, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.view-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 9px 16px;
  font-weight: 700;
}

.view-switch button.is-active {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 8px 18px rgba(9, 47, 59, 0.18);
}

main {
  padding-bottom: 56px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) clamp(16px, 4vw, 48px) 34px;
}

.hero::before {
  position: absolute;
  inset: 24px clamp(16px, 4vw, 48px) auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 137, 50, 0.42), transparent);
  pointer-events: none;
}

.eyebrow {
  color: #008b80;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 72px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: #40515a;
  font-size: 18px;
  line-height: 1.65;
}

.consultant-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 460px);
  max-width: 100%;
  margin-top: 24px;
  border: 1px solid rgba(221, 229, 232, 0.92);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf6 100%);
  padding: 15px 16px;
  box-shadow: 0 18px 45px rgba(16, 36, 48, 0.09);
}

.consultant-photo {
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--deep), var(--blue));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 0 0 4px #fff, 0 10px 26px rgba(9, 47, 59, 0.16);
}

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

.consultant-card small,
.consultant-card strong,
.consultant-note {
  display: block;
}

.consultant-card small {
  width: max-content;
  max-width: 100%;
  margin-top: 5px;
  border: 1px solid rgba(10, 156, 145, 0.18);
  border-radius: 999px;
  background: rgba(10, 156, 145, 0.08);
  color: #08786f;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
}

.consultant-card strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.1;
}

.consultant-note {
  max-width: 320px;
  margin-top: 7px;
  color: #5c6971;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(16, 36, 48, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #3b4b52;
  font-size: 12px;
  font-weight: 650;
  padding: 0 12px;
}

.trust-strip span::before {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: #a77b2b;
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.trust-official::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3l7 4v5c0 5-3.5 8-7 9-3.5-1-7-4-7-9V7l7-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3l7 4v5c0 5-3.5 8-7 9-3.5-1-7-4-7-9V7l7-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.trust-price::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M12 3v13'/%3E%3Cpath d='M8 7l4-4 4 4'/%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M12 3v13'/%3E%3Cpath d='M8 7l4-4 4 4'/%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
}

.trust-chat::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 4 11.5 8.5 8.5 0 1 1 21 11.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 4 11.5 8.5 8.5 0 1 1 21 11.5z'/%3E%3C/svg%3E");
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid rgba(9, 47, 59, 0.22);
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-action {
  background: var(--ink);
  color: #fff;
}

.whatsapp-action {
  border-color: #22c55e !important;
  background: #22c55e !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.24);
}

.whatsapp-action::before,
.floating-whatsapp::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3C8.8 3 3 8.7 3 15.7c0 2.5.8 4.9 2.1 6.9L3.7 29l6.6-1.7c1.8 1 3.8 1.5 5.9 1.5 7.2 0 13-5.7 13-12.8S23.2 3 16 3Zm0 23.5c-1.9 0-3.7-.5-5.3-1.5l-.4-.2-3.9 1 1-3.8-.3-.4c-1.2-1.7-1.8-3.7-1.8-5.8 0-5.7 4.8-10.4 10.7-10.4 5.9 0 10.7 4.7 10.7 10.4S21.9 26.5 16 26.5Zm5.9-7.8c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2s-.8 1-.9 1.2c-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.5-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.6c.2-.2.2-.3.3-.5.1-.2.1-.4 0-.6-.1-.2-.7-1.7-1-2.4-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.3 1.4 3.5c.2.2 2.4 3.7 5.9 5.1.8.4 1.5.6 2 .7.8.3 1.6.2 2.2.1.7-.1 1.9-.8 2.2-1.5.3-.8.3-1.4.2-1.5-.1-.2-.3-.3-.6-.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3C8.8 3 3 8.7 3 15.7c0 2.5.8 4.9 2.1 6.9L3.7 29l6.6-1.7c1.8 1 3.8 1.5 5.9 1.5 7.2 0 13-5.7 13-12.8S23.2 3 16 3Zm0 23.5c-1.9 0-3.7-.5-5.3-1.5l-.4-.2-3.9 1 1-3.8-.3-.4c-1.2-1.7-1.8-3.7-1.8-5.8 0-5.7 4.8-10.4 10.7-10.4 5.9 0 10.7 4.7 10.7 10.4S21.9 26.5 16 26.5Zm5.9-7.8c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2s-.8 1-.9 1.2c-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.5-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.6c.2-.2.2-.3.3-.5.1-.2.1-.4 0-.6-.1-.2-.7-1.7-1-2.4-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.3 1.4 3.5c.2.2 2.4 3.7 5.9 5.1.8.4 1.5.6 2 .7.8.3 1.6.2 2.2.1.7-.1 1.9-.8 2.2-1.5.3-.8.3-1.4.2-1.5-.1-.2-.3-.3-.6-.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-action {
  gap: 8px;
}

.primary-action:hover,
.floating-whatsapp:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.78);
  color: var(--deep);
}

.secondary-action:hover {
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 36, 48, 0.09);
  transform: translateY(-1px);
}

.signup-link {
  min-height: 40px;
  border-color: rgba(184, 137, 50, 0.42);
  background: rgba(255, 255, 255, 0.74);
  color: #59421f;
  font-size: 13px;
  padding-inline: 16px;
}

.signup-link:hover {
  background: #fffaf0;
  box-shadow: 0 10px 24px rgba(184, 137, 50, 0.12);
}

.hero-media {
  position: relative;
  justify-self: center;
  padding: 12px;
  border: 1px solid rgba(184, 137, 50, 0.22);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(246, 240, 226, 0.65));
  box-shadow: 0 24px 70px rgba(16, 36, 48, 0.1);
}

.hero-media img {
  display: block;
  width: min(100%, 380px);
  aspect-ratio: 1240 / 1734;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 36, 48, 0.18);
}

.hero-badge {
  position: absolute;
  right: -10px;
  bottom: 34px;
  max-width: min(240px, 72vw);
  border: 1px solid rgba(221, 229, 232, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(16, 36, 48, 0.16);
  padding: 13px 15px;
}

.hero-badge span,
.hero-badge strong {
  display: block;
}

.hero-badge span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-badge strong {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.25;
}

.toolbar,
.showcase-view,
.reader-view {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 360px);
  gap: 14px;
  align-items: end;
  margin-top: 8px;
  border: 1px solid rgba(221, 229, 232, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 45px rgba(16, 36, 48, 0.06);
  padding-block: 16px;
}

.search-box {
  display: grid;
  gap: 8px;
  max-width: none;
}

.search-box span,
.filter-select span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
  outline-color: var(--teal);
}

.filter-select {
  display: grid;
  gap: 8px;
  max-width: none;
}

.filter-select select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 42px 0 14px;
  outline-color: var(--teal);
  font-weight: 800;
}

.category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.category-strip button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #36454f;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
}

.category-strip button.is-active {
  border-color: var(--teal);
  background: #dff5f2;
  color: #086b64;
}

.subcategory-strip {
  min-height: 34px;
}

.subcategory-strip:empty {
  display: none;
}

.subcategory-strip button {
  min-height: 32px;
  background: #f6faf9;
  font-size: 12px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 36px 0 18px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
}

#resultCount {
  color: var(--muted);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(16, 36, 48, 0.06);
  display: grid;
  grid-template-rows: 180px 1fr;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(16, 36, 48, 0.11);
}

.product-card > button {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

.product-card.is-perfume > button {
  min-height: 148px;
}

.product-card.is-perfume {
  grid-template-rows: 148px 1fr;
}

.product-card.is-perfume img {
  height: 148px;
  padding: 0;
  object-fit: contain;
}

.view-product-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(9, 47, 59, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  font-size: 11px;
  font-weight: 750;
  padding: 0 10px;
  box-shadow: 0 10px 24px rgba(16, 36, 48, 0.11);
  opacity: 0.9;
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.view-product-label::before {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product-card > button:hover .view-product-label,
.product-card > button:focus-visible .view-product-label {
  background: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.card-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pill {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #eef5f3;
  color: #0b6f68;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.presentation-pill {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(189, 139, 48, 0.28);
  border-radius: 999px;
  background: #fff8ea;
  color: #8b641f;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.card-copy strong {
  font-size: 18px;
  line-height: 1.25;
}

.card-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  min-height: 58px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.price-row {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.price-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #f7fbfa;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(108px, 1fr) minmax(112px, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.card-actions button {
  width: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  padding: 0 10px;
  white-space: nowrap;
}

.card-consult {
  min-width: 0;
}

.card-share {
  min-width: 0;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  padding: 0 10px !important;
}

.card-actions .whatsapp-action::before {
  width: 15px;
  height: 15px;
  margin-right: 1px;
}

.price-box small,
.modal-price small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-box strong,
.modal-price strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
}

.reader-shell {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.reader-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.reader-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

#pageLabel {
  min-width: 160px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.reader-stage {
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.reader-stage img {
  max-width: min(100%, 760px);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

#pageRange {
  width: min(100%, 760px);
  justify-self: center;
}

.presentation-view {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px);
  background: #061116;
  color: #fff;
}

.presentation-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.presentation-gallery,
.presentation-player {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.presentation-heading {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.presentation-heading .eyebrow {
  color: #58e4db;
}

.presentation-heading h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
}

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

.presentation-card {
  display: grid;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 17, 22, 0.72);
  color: #fff;
  padding: 0;
  text-align: left;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  animation: presentationCardIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

.presentation-view:not(.has-visible-cards) .presentation-card {
  animation: none;
  opacity: 0;
  transform: translateY(34px) scale(0.96);
}

.presentation-card:hover,
.presentation-card:focus-visible {
  border-color: rgba(88, 228, 219, 0.85);
  transform: translateY(-4px);
}

.presentation-card-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(88, 228, 219, 0.2), rgba(255, 255, 255, 0.04)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%);
  background-size: auto, 28px 28px;
}

.presentation-card-media::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.presentation-card-media::after {
  position: absolute;
  inset: auto 24px 24px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84), transparent);
}

.presentation-card-media.has-cover::before,
.presentation-card-media.has-cover::after {
  display: none;
}

.presentation-card-media span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 58px;
  font-weight: 800;
}

.presentation-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presentation-card.is-gold .presentation-card-media span {
  color: #ffd27c;
}

.presentation-card.is-rose .presentation-card-media span {
  color: #ff9a8c;
}

.presentation-card.is-green .presentation-card-media span {
  color: #7ef0a5;
}

.presentation-card.is-violet .presentation-card-media span {
  color: #c5a8ff;
}

.presentation-player {
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 160px);
}

.presentation-player:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  background: #061116;
  padding: 18px;
}

.presentation-player-top,
.presentation-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.presentation-icon-button,
.presentation-controls button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.presentation-icon-button {
  min-width: 48px;
  padding: 0 14px;
  font-size: 18px;
}

.presentation-controls button {
  padding: 0 22px;
}

#presentationStatus,
#slideStatus {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.presentation-stage {
  display: grid;
  min-height: 62vh;
  place-items: center;
}

.presentation-slide {
  display: grid;
  align-content: center;
  width: min(100%, 980px);
  min-height: min(62vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 17, 22, 0.88), rgba(9, 47, 59, 0.74)),
    radial-gradient(circle at 20% 20%, rgba(88, 228, 219, 0.24), transparent 34%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  padding: clamp(28px, 6vw, 72px);
  animation: presentationSlideIn 420ms ease;
}

.presentation-slide span {
  color: #58e4db;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.presentation-slide h3 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

.presentation-slide p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.42;
}

.presentation-slide-image {
  display: block;
  width: min(100%, 1120px);
  max-height: 68vh;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  object-fit: contain;
  animation: presentationSlideIn 420ms ease;
}

.presentation-slide.is-gold span {
  color: #ffd27c;
}

.presentation-slide.is-rose span {
  color: #ff9a8c;
}

.presentation-slide.is-green span {
  color: #7ef0a5;
}

.presentation-slide.is-violet span {
  color: #c5a8ff;
}

@keyframes presentationCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes presentationSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-modal {
  width: min(980px, calc(100vw - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: var(--shadow);
}

.product-modal::backdrop {
  background: rgba(12, 20, 26, 0.58);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 25px;
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 28px;
  padding: clamp(20px, 4vw, 38px);
}

.modal-image {
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbfa);
  border: 1px solid var(--line);
}

.modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  background: #fff;
}

.modal-copy {
  display: grid;
  gap: 14px;
  align-self: center;
}

.modal-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
}

.modal-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.info-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: #42515b;
  font-size: 13px;
  font-weight: 800;
}

.modal-prices {
  display: grid;
  gap: 10px;
  margin: 4px 0;
}

.modal-price {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9ed;
  padding: 16px;
}

.modal-price strong {
  color: var(--gold);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 3vw, 24px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 12;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 14px 38px rgba(34, 197, 94, 0.34);
  text-decoration: none;
}

.floating-whatsapp::before {
  width: 30px;
  height: 30px;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.is-hidden {
  display: none;
}

@media (max-width: 780px) {
  body {
    padding-bottom: 22px;
  }

  .brand {
    min-width: 0;
  }

  .brand > div {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 64px;
    padding: 10px 12px;
  }

  .topbar-actions {
    flex: 1 0 100%;
  }

  .view-switch {
    width: 100%;
  }

  .view-switch button {
    flex: 1;
    padding: 8px 8px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .hero::before {
    display: none;
  }

  .hero-media {
    order: -1;
    width: min(100%, 360px);
    padding: 8px;
  }

  .hero-badge {
    right: 10px;
    bottom: 16px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.55;
  }

  .consultant-card {
    width: 100%;
    padding: 11px 12px;
  }

  .consultant-photo {
    width: 54px;
    height: 54px;
  }

  .trust-strip {
    gap: 6px;
    margin-top: 14px;
  }

  .trust-strip span {
    min-height: 30px;
    font-size: 11px;
    padding: 0 10px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .toolbar,
  .showcase-view,
  .reader-view {
    padding-inline: 12px;
  }

  .presentation-view {
    min-height: calc(100vh - 112px);
    padding: 22px 12px;
  }

  .presentation-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }

  .presentation-heading {
    margin-bottom: 14px;
  }

  .presentation-heading h2 {
    font-size: 28px;
  }

  .presentation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .presentation-card {
    aspect-ratio: 16 / 9;
  }

  .presentation-card-media span {
    font-size: 42px;
  }

  .presentation-player {
    min-height: calc(100vh - 136px);
  }

  .presentation-stage {
    min-height: 56vh;
  }

  .presentation-slide {
    min-height: 54vh;
    padding: 24px;
  }

  .presentation-slide h3 {
    font-size: 40px;
  }

  .presentation-slide p {
    font-size: 17px;
  }

  .toolbar {
    grid-template-columns: 1fr;
    border-radius: 10px;
    padding-block: 12px;
  }

  .search-box,
  .filter-select {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    min-height: 0;
    grid-template-rows: 132px 1fr;
  }

  .product-card > button {
    min-height: 132px;
  }

  .product-card img {
    height: 132px;
    padding: 8px;
  }

  .view-product-label {
    right: 8px;
    bottom: 8px;
    min-height: 28px;
    font-size: 10px;
    padding: 0 8px;
  }

  .view-product-label::before {
    width: 12px;
    height: 12px;
    margin-right: 5px;
  }

  .product-card.is-perfume > button {
    min-height: 112px;
  }

  .product-card.is-perfume {
    grid-template-rows: 112px 1fr;
  }

  .product-card.is-perfume img {
    height: 112px;
  }

  .card-copy {
    gap: 8px;
    padding: 12px;
  }

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

  .card-copy strong {
    font-size: 15px;
  }

  .card-copy p {
    min-height: 52px;
    font-size: 12px;
    line-height: 1.45;
  }

  .price-box {
    padding: 8px;
  }

  .price-box strong {
    font-size: 13px;
  }

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

  .card-actions button {
    min-height: 36px;
    width: 100%;
    padding: 0 10px;
    font-size: 12px;
  }

  .card-consult {
    min-width: 0;
  }

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

  .modal-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .modal-image img {
    max-height: 34vh;
    min-height: 190px;
  }

  .modal-copy {
    gap: 10px;
  }

  .modal-copy h2 {
    font-size: 30px;
  }

  .modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

  .primary-action,
  .secondary-action {
    width: auto;
    min-height: 42px;
    padding: 0 16px;
  }

  .signup-link {
    min-height: 38px;
    padding-inline: 14px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    left: auto;
    width: 54px;
    height: 54px;
  }

  .text-action {
    justify-self: center;
    min-height: 38px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
  }

  .hero-media {
    width: min(100%, 300px);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    flex: 1 1 auto;
  }

  .hero-actions .signup-link {
    flex-basis: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
    grid-template-rows: 170px 1fr;
  }

  .product-card > button,
  .product-card.is-perfume > button {
    min-height: 170px;
  }

  .product-card.is-perfume {
    grid-template-rows: 170px 1fr;
  }

  .product-card img,
  .product-card.is-perfume img {
    height: 170px;
  }
}
