/*
   Yender Fonseca · Apple Editorial
   Light-first · SF Pro · SVG icons only · Shopify-ready
*/

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text: #1d1d1f;
  --secondary: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --link: #0066cc;
  --accent: #1d1d1f;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.58;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.06);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.page { max-width: 980px; margin: 0 auto; padding: 0 24px 80px; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.wordmark {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.site-nav-minimal { border-bottom: none; margin-bottom: 0; }

/* Nav Utilities (Search, Bookmarks, Cart) */
.nav-utils {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--secondary);
  text-decoration: none;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-icon:hover {
  background: var(--bg-soft);
  color: var(--text);
}
.nav-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.nav-cart {
  position: relative;
}
.nav-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.nav-badge:not(:empty):not([data-cart-count="0"]) {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-soft);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .site-nav { position: relative; flex-wrap: wrap; }
}

/* Hero */
.hero {
  text-align: center;
  padding: 48px 0 40px;
}
.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
}
.avatar-sm { width: 96px; height: 96px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 14px;
  text-wrap: balance;
}
.hero-dek {
  font-size: 1.15rem;
  color: var(--secondary);
  max-width: 520px;
  margin: 0 auto 24px;
  font-weight: 400;
}
.hero-meta { font-size: 14px; color: var(--secondary); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 10px 16px;
  background: var(--bg-soft);
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}
.pill:hover { background: #ebebed; transform: translateY(-1px); }
.pill svg { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }

/* Featured CTA */
.featured {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0 48px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.featured:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.12);
}
.featured {
  border: 1px solid transparent;
}
.featured-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}
.featured strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.featured span { font-size: 0.92rem; color: var(--secondary); }
.featured-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--link);
}

/* Sections */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head p { font-size: 0.92rem; color: var(--secondary); max-width: 420px; }
.section-more {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
}
.section-more:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .card-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  min-height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
}
.card,
.product-tile,
.collection-card,
.video-card,
.link-card,
.resource-card {
  border: 1px solid transparent;
}
.card-static { cursor: default; }
.card-static:hover { transform: none; border-color: transparent; }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; color: var(--text); }
.card-emoji { font-size: 1.5rem; line-height: 1; margin-bottom: 12px; }
.card-tag {
  /* Era inline por defecto, asi que ni text-wrap: balance ni el
     margin-bottom de abajo tenian efecto. */
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.card p { font-size: 0.88rem; color: var(--secondary); line-height: 1.45; flex: 1; }
.card-arrow {
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--link);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0 0;
}
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 12px; color: var(--secondary); line-height: 1.35; }

/* Social */
.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.social-btn:hover { background: #ebebed; transform: scale(1.05); }
.social-btn svg { width: 20px; height: 20px; }

.site-foot {
  text-align: center;
  padding: 48px 0 56px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--secondary);
}
.foot-meta { margin: 14px 0 4px; }
.foot-copy { margin: 0; opacity: 0.75; }
.site-foot a { color: var(--link); text-decoration: none; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 12px;
}
.foot-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
}
.foot-links a:hover { color: var(--text); }

/* Bio page */
.bio-wrap { max-width: 440px; }
/* El header y el footer son del sitio, no de la columna estrecha de /bio.
   Sin esto el wordmark parte en dos lineas y el menu se va a dos filas. */
.bio-wrap > .site-nav,
.bio-wrap > .site-foot {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc(50vw - 466px));
  padding-right: max(24px, calc(50vw - 466px));
}
.bio-hero { text-align: center; padding: 24px 0 8px; }
.bio-hero h1 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.bio-tagline { font-size: 0.92rem; color: var(--secondary); margin-top: 10px; }

/* Link stack (bio page) */
.link-stack { display: flex; flex-direction: column; gap: 10px; }
.link-card {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.1);
}
.link-card .lc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-card .lc-icon svg { width: 20px; height: 20px; }
.link-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.link-card em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--secondary);
  margin-top: 3px;
}
.link-card .lc-arrow svg { width: 18px; height: 18px; color: var(--secondary); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fade-up 0.65s ease both; }
.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none !important; } }

/* Page headers */
.page-header { padding: 32px 0 8px; }
.page-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; text-wrap: balance; }
.page-lead { color: var(--secondary); max-width: 620px; line-height: 1.5; text-wrap: pretty; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--secondary);
  padding: 8px 0 20px;
}
.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--secondary); opacity: 0.45; user-select: none; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* Hero actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary:hover { background: #ebebed; }
@media (hover: none) {
  .card:hover, .product-tile:hover, .collection-card:hover, .video-card:hover,
  .link-card:hover, .resource-card:hover, .featured:hover { transform: none; }
}

/* Section icons */
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
}
.section-icon svg { width: 20px; height: 20px; }
.section-head h2 { display: flex; align-items: center; }

/* Badges */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-soon { background: #ebebed; color: var(--secondary); }
.badge-free { background: #e8f4ea; color: #1d7a32; }
.badge-default { background: var(--bg-soft); color: var(--secondary); }

/* Resource filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 20px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--secondary);
  background: var(--bg-soft);
  border: 1px solid transparent;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active {
  background: var(--text);
  color: var(--bg);
}
.filter-icon svg { width: 14px; height: 14px; }

/* Resource list */
.resource-list { display: flex; flex-direction: column; gap: 10px; }
.resource-list.compact { margin-top: 0; }
.resource-card {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.resource-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.1);
}
.resource-card.hidden { display: none; }
.resource-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.resource-meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.resource-meta > span:last-child {
  display: block;
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.4;
}
.card-chevron svg { width: 18px; height: 18px; color: var(--secondary); }

/* Blog */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 36px;
}
@media (max-width: 640px) { .channel-grid { grid-template-columns: 1fr; } }
.channel-pill {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.channel-pill:hover { transform: translateY(-1px); border-color: rgba(0, 0, 0, 0.1); }
.channel-pill { border: 1px solid transparent; }
.channel-pill.is-active { border-color: var(--text); background: var(--bg); }
.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-pill strong { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.channel-pill em { font-style: normal; font-size: 0.8rem; color: var(--secondary); line-height: 1.4; }

.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-list.compact .blog-row { padding: 16px 0; }
.blog-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.blog-row:hover { opacity: 0.72; }
.blog-row.hidden { display: none; }
.blog-channel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
}
.blog-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.blog-excerpt {
  grid-column: 2;
  font-size: 0.82rem;
  color: var(--secondary);
  margin-top: -8px;
}
.blog-date { font-size: 12px; color: var(--secondary); white-space: nowrap; }
@media (max-width: 768px) {
  .blog-row { grid-template-columns: 1fr; gap: 4px; }
  .blog-excerpt { grid-column: 1; margin-top: 0; }
  .blog-date { grid-row: 1; }
}

/* Instagram grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.ig-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.ig-thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.ig-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.ig-card:hover .ig-thumb-link img { transform: scale(1.04); }
.ig-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.ig-play svg { width: 44px; height: 44px; color: #fff; }
.ig-card:hover .ig-play { opacity: 1; }
.ig-stats {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 4px 8px;
  border-radius: 6px;
}
.ig-caption { padding: 14px 16px 16px; }
.ig-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ig-caption p {
  font-size: 0.88rem;
  font-weight: 500;
  margin: 6px 0 10px;
  line-height: 1.35;
}
.ig-caption a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

/* Collections */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .collection-grid { grid-template-columns: 1fr; } }
.collection-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.collection-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
}
.collection-cover { aspect-ratio: 4/5; overflow: hidden; background: #e8e8ed; }
.collection-cover img { width: 100%; height: 100%; object-fit: cover; }
.collection-body { padding: 18px 20px 20px; }
.collection-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.collection-body p { font-size: 0.85rem; color: var(--secondary); margin-bottom: 12px; }
.collection-body .card-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--link);
}

.collection-hero { padding: 8px 0 32px; }
.collection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.collection-note {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.collection-note p { font-size: 0.92rem; color: var(--secondary); margin-bottom: 10px; }
.collection-note p:last-child { margin-bottom: 0; }
.collection-note a { color: var(--link); }
.info-panel {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.info-panel p { font-size: 0.92rem; color: var(--secondary); margin-bottom: 10px; }
.info-panel p:last-child { margin-bottom: 0; }
.info-panel a { color: var(--link); }
.shopify-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.shopify-notice strong { display: block; margin-bottom: 4px; }
.shopify-notice p { font-size: 0.88rem; color: var(--secondary); }
.shopify-notice code { font-size: 0.8rem; background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; }

/* Bio Full Editorial & Experience */
.bio-full {
  text-align: center;
  padding: 24px 0 36px;
}
.bio-full h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.bio-full .avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}
.bio-prose {
  max-width: 740px;
  margin: 0 auto 48px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
}
.bio-prose p {
  margin-bottom: 20px;
}
.bio-quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
  padding: 22px 26px;
  margin: 32px 0;
  background: var(--bg-soft);
  border-left: 3px solid var(--text);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.bio-facets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0 48px;
}
@media (max-width: 680px) {
  .bio-facets { grid-template-columns: 1fr; }
}
.bio-facet-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bio-facet-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bio-facet-card p {
  font-size: 0.92rem;
  color: var(--secondary);
  line-height: 1.6;
}
.bio-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 48px;
}
.bio-timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) {
  .bio-timeline-item { grid-template-columns: 1fr; gap: 6px; }
}
.bio-timeline-year {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bio-timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.bio-timeline-content p {
  font-size: 0.92rem;
  color: var(--secondary);
  line-height: 1.55;
}

/* Commerce · DTC conversion floor */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 20px 0 8px;
  padding: 0;
}
.trust-row span {
  font-size: 0.82rem;
  color: var(--secondary);
  position: relative;
  padding-left: 14px;
}
.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.35;
}
.funnel-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 48px 0 24px;
}
@media (max-width: 640px) { .funnel-band { grid-template-columns: 1fr; } }
.funnel-cell {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.funnel-cell strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 6px 0 8px;
}
.funnel-cell p { font-size: 0.88rem; color: var(--secondary); margin-bottom: 12px; }
/* Photographer Statement / Pat Kay style */
.artist-statement {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  margin: 48px 0;
}
@media (max-width: 680px) {
  .artist-statement {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
    text-align: center;
  }
  .artist-statement .avatar {
    margin: 0 auto;
  }
}
.artist-statement-body h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.artist-statement-body p {
  font-size: 0.96rem;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.artist-statement-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* Portfolio Showcase Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
.photo-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.photo-card:hover {
  transform: translateY(-3px);
}
.photo-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #e8e8ed;
}
.photo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.photo-card:hover .photo-card-img img {
  transform: scale(1.03);
}
.photo-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.photo-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.photo-card-meta {
  font-size: 0.82rem;
  color: var(--secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }
.product-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
}
.product-tile-img { aspect-ratio: 4/5; overflow: hidden; background: #e8e8ed; }
.product-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.product-tile-body { padding: 16px 18px 18px; }
.product-tile-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 8px;
  line-height: 1.35;
}
.product-tile .price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.tabular-nums { font-variant-numeric: tabular-nums; }
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 24px 0 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
}
.pdp-main {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.pdp-main img { width: 100%; height: auto; display: block; }
.pdp-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.pdp-price {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.pdp-desc {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}
.size-row { margin-bottom: 24px; }
.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-pills label {
  font-size: 0.82rem;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 980px;
  color: var(--secondary);
}
.size-pill {
  font: inherit;
  font-size: 0.82rem;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 980px;
  color: var(--secondary);
  background: var(--bg);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.size-pill.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.pdp-cta { width: 100%; text-align: center; margin-bottom: 24px; }
.spec-box {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.spec-box ul { list-style: none; margin: 0; padding: 0; }
.spec-box li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.spec-box li:last-child { border-bottom: none; }
.spec-box li span:first-child { color: var(--secondary); }
.fulfillment-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--secondary);
  margin: 32px 0 8px;
}
.review-note {
  font-size: 0.88rem;
  color: var(--secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

/* Related + sticky CTA */
.related-section { padding-top: 16px; border-top: 1px solid var(--border); }
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}
.sticky-title {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-price { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.sticky-cta .btn-primary { padding: 10px 18px; white-space: nowrap; }
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 88px; }
  .sticky-cta-inner { grid-template-columns: 1fr auto; }
  .sticky-price { display: none; }
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover { transform: translateY(-2px); border-color: rgba(0, 0, 0, 0.1); }
.video-thumb {
  aspect-ratio: 16/9;
  background: #e8e8ed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb svg { width: 48px; height: 48px; color: var(--secondary); opacity: 0.55; }
.video-body { padding: 20px 22px; }
.video-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.video-body p { font-size: 0.88rem; color: var(--secondary); }
.video-card-featured { border-color: rgba(0, 0, 0, 0.12); background: var(--bg); }
.series-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-top: 8px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.series-hero:hover { transform: translateY(-2px); border-color: rgba(0, 0, 0, 0.14); }
.series-hero h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
  text-wrap: balance;
}
.series-meta {
  font-size: 0.82rem;
  color: var(--secondary);
  margin: 12px 0 16px;
}
.series-hero-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.series-hero-thumb svg { width: 32px; height: 32px; color: var(--text); }
@media (max-width: 640px) {
  .series-hero { grid-template-columns: 1fr; }
  .series-hero-thumb { display: none; }
}

/* Article stub */
.article { max-width: 680px; margin: 0 auto; padding: 24px 0 48px; }
.article h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.article-lead { font-size: 1.1rem; color: var(--secondary); margin-bottom: 32px; }
.article h2 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.article p { margin-bottom: 16px; color: var(--text); }
.article ul { margin: 0 0 16px 20px; color: var(--secondary); }
.article li { margin-bottom: 8px; }

/* Cart nav link */
.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 18px;
}

/* Cart */
.hidden { display: none !important; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 24px 0 40px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 20px; }
.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cart-item-body strong { font-size: 0.95rem; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.cart-item-qty button {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 1rem;
  cursor: pointer;
}
.cart-item-remove {
  align-self: flex-start;
  font-size: 0.78rem;
  color: var(--secondary);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.cart-item-price { font-weight: 600; white-space: nowrap; }
.cart-summary {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.cart-summary h2 { font-size: 1rem; margin-bottom: 16px; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 20px; }
.form-note { font-size: 0.78rem; color: var(--secondary); margin-top: 12px; }
.empty-state, .order-success {
  text-align: center;
  padding: 60px 20px;
}
.empty-state p, .order-success p { color: var(--secondary); margin-bottom: 20px; }
.order-success h2 { margin-bottom: 12px; }
@media (max-width: 720px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* Toast Notification */
.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: rgba(29, 29, 31, 0.96);
  backdrop-filter: blur(20px);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
  pointer-events: none;
}
.cart-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cart-toast span {
  font-size: 0.9rem;
  font-weight: 500;
}
.cart-toast .btn-primary {
  background: #ffffff;
  color: #1d1d1f;
  white-space: nowrap;
}
.cart-toast .btn-primary:hover {
  background: #f0f0f2;
}
@media (max-width: 600px) {
  .cart-toast {
    left: 16px;
    right: 16px;
    bottom: 80px;
    justify-content: space-between;
  }
}

/* ============================================================
   Header y footer unificados
   El carrito antes vivia en un .nav-utils aparte en algunas paginas,
   por eso cambiaba de sitio al navegar. Ahora es un enlace mas del nav,
   siempre el ultimo, en todas las paginas.
   ============================================================ */

.nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.nav-cart-badge[hidden] { display: none; }

/* La entrada activa se distingue sin gritar. */
.site-nav .nav-links a.active { color: var(--text); font-weight: 600; }

/* ---------- Movil ---------- */
@media (max-width: 760px) {
  .site-nav {
    flex-wrap: wrap;
    padding: 14px 0;
    gap: 12px;
  }
  .nav-toggle { display: inline-flex; }

  .site-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 2px;
    padding-top: 8px;
  }
  .site-nav .nav-links.open { display: flex; }

  /* Area tactil comoda: 44px es el minimo recomendado. */
  .site-nav .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 4px 0;
  }

  .site-foot { padding: 36px 0 44px; margin-top: 48px; }
  .foot-links { gap: 4px 16px; }
  .foot-links a { min-height: 40px; display: inline-flex; align-items: center; }
}

/* ---------- Pagina de fotos gratis ---------- */
.pexels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 8px 0 28px;
}
.pexels-grid .card ul { margin: 10px 0 0; padding-left: 18px; }
.pexels-grid .card li { margin-bottom: 8px; line-height: 1.5; }
.pexels-note {
  color: var(--secondary);
  max-width: 62ch;
  margin: 0 0 32px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .pexels-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  /* Las tarjetas apiladas necesitan aire propio, no apoyarse en la vecina. */
  .card-grid { gap: 24px; }
  .pexels-note { margin-bottom: 28px; }
  /* El CTA principal necesita aire para leerse como accion deliberada. */
  .pexels-grid + .pexels-note + .hero-actions { padding-top: 4px; }
}


/* Sin palabras huerfanas: equilibra las lineas de titulares y bloques cortos. */
h1, h2, h3, .card-tag, .hero-dek, .article-lead, .page-lead {
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
