/* Public Linktree page — logo, slider, actions, contacts (no store menu) */

body.wo-linktree {
  --wo-lt-theme: #166534;
  --wo-lt-ink: #0f172a;
  --wo-lt-muted: #64748b;
  --wo-lt-surface: #ffffff;
  --wo-lt-line: rgba(15, 23, 42, 0.08);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--wo-lt-ink);
  background: #f4f7f5;
  -webkit-font-smoothing: antialiased;
}

body.wo-linktree *,
body.wo-linktree *::before,
body.wo-linktree *::after {
  box-sizing: border-box;
}

.wo-lt-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--wo-lt-theme) 28%, transparent), transparent 70%),
    linear-gradient(180deg, #f8faf9 0%, #eef3f0 45%, #f4f7f5 100%);
}

.wo-lt {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wo-lt-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding-top: 0.35rem;
}

.wo-lt-logo {
  width: 50%;
  max-width: 220px;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--wo-lt-line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  display: block;
  margin: 0 auto 0.35rem;
  line-height: 0;
}

.wo-lt-logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.wo-lt-logo span {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  font-size: 2rem;
  font-weight: 800;
  color: var(--wo-lt-theme);
  line-height: 1;
}

.wo-lt-name {
  margin: 0;
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.wo-lt-type {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wo-lt-muted);
}

/* Slider — full-bleed width, natural image ratio (not stretched) */
.wo-lt-slider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wo-lt-slider__viewport {
  width: 100%;
  overflow: hidden;
}

.wo-lt-slider__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  cursor: grab;
}

.wo-lt-slider__track::-webkit-scrollbar {
  display: none;
}

.wo-lt-slider__track:active {
  cursor: grabbing;
}

.wo-lt-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.wo-lt-slider__hit {
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.wo-lt-slider__hit img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.wo-lt-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.85rem 2.1rem;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  pointer-events: none;
}

.wo-lt-slider__caption strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.wo-lt-slider__caption span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.wo-lt-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  touch-action: manipulation;
}

.wo-lt-slider__nav:hover {
  background: #fff;
}

.wo-lt-slider__nav--prev {
  left: 0.55rem;
}

.wo-lt-slider__nav--next {
  right: 0.55rem;
}

.wo-lt-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
  pointer-events: none;
}

.wo-lt-slider__dot {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.wo-lt-slider__dot.is-active {
  width: 18px;
  background: #fff;
}

.wo-lt-menu-panel {
  width: 100%;
}

.wo-lt-menu-panel > summary {
  list-style: none;
  cursor: pointer;
}

.wo-lt-menu-panel > summary::-webkit-details-marker {
  display: none;
}

.wo-lt-menu-panel[open] > summary {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.wo-lt-about {
  margin-top: 0.55rem;
  background: var(--wo-lt-surface);
  border: 1px solid var(--wo-lt-line);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.wo-lt-about__body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
}

.wo-lt-about__body > *:first-child {
  margin-top: 0;
}

.wo-lt-about__body > *:last-child {
  margin-bottom: 0;
}

.wo-lt-about__body p {
  margin: 0 0 0.7rem;
}

.wo-lt-about__body h2,
.wo-lt-about__body h3,
.wo-lt-about__body h4 {
  margin: 0.85rem 0 0.4rem;
  color: var(--wo-lt-ink);
  line-height: 1.25;
  font-weight: 800;
}

.wo-lt-about__body h2 {
  font-size: 1.05rem;
}

.wo-lt-about__body h3 {
  font-size: 0.95rem;
}

.wo-lt-about__body ul,
.wo-lt-about__body ol {
  margin: 0 0 0.7rem;
  padding-left: 1.2rem;
}

.wo-lt-about__body li {
  margin: 0.2rem 0;
}

.wo-lt-about__body a {
  color: var(--wo-lt-theme);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wo-lt-about__body blockquote {
  margin: 0 0 0.7rem;
  padding: 0.45rem 0 0.45rem 0.75rem;
  border-left: 3px solid color-mix(in srgb, var(--wo-lt-theme) 55%, transparent);
  color: #475569;
}

.wo-lt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wo-lt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--wo-lt-line);
  background: #fff;
  color: var(--wo-lt-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wo-lt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.wo-lt-btn:active {
  transform: translateY(0);
}

.wo-lt-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.wo-lt-btn--primary {
  background: var(--wo-lt-theme);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--wo-lt-theme) 35%, transparent);
}

.wo-lt-btn--whatsapp {
  background: #25d366;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
}

.wo-lt-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.25rem 0;
}

.wo-lt-social {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--wo-lt-ink);
  border: 1px solid var(--wo-lt-line);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wo-lt-social:hover {
  transform: translateY(-2px);
  background: var(--wo-lt-theme);
  color: #fff;
  border-color: transparent;
}

.wo-lt-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--wo-lt-surface);
  border: 1px solid var(--wo-lt-line);
  border-radius: 16px;
  padding: 1rem 1.05rem;
}

.wo-lt-detail__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wo-lt-muted);
  margin-bottom: 0.15rem;
}

.wo-lt-detail p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #334155;
}

.wo-lt-detail a {
  color: var(--wo-lt-theme);
  font-weight: 700;
  text-decoration: none;
}

.wo-lt-detail a:hover {
  text-decoration: underline;
}

.wo-lt-foot {
  text-align: center;
  padding: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wo-lt-foot p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wo-lt-muted);
}

.wo-lt-foot__powered {
  font-weight: 500;
}

.wo-lt-foot__powered a {
  color: var(--wo-lt-ink);
  font-weight: 700;
  text-decoration: none;
}

.wo-lt-foot__powered a:hover {
  text-decoration: underline;
  color: var(--wo-lt-theme);
}

@media (min-width: 721px) {
  .wo-lt {
    width: min(520px, calc(100% - 2rem));
    padding-top: 2rem;
    gap: 1.15rem;
  }

  .wo-lt-logo {
    width: 50%;
    max-width: 260px;
    border-radius: 24px;
  }
}

@media (max-width: 420px) {
  .wo-lt {
    width: calc(100% - 1.1rem);
  }

  .wo-lt-logo {
    width: 50%;
    max-width: 180px;
    border-radius: 16px;
  }

  .wo-lt-btn {
    min-height: 2.9rem;
    font-size: 0.86rem;
  }
}
