/* Archivo: shared.css
   Version v1.2 - 2026-04-08
   Estilos compartidos: fuentes, variables, reset, scrollbar, corners, utilidades móvil */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;1,400&family=Inter:wght@100..900&family=Roboto+Mono:wght@300;400;500&family=Roboto:wght@100;300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --color-bg:   #f8f8f7;
  --color-text: #111;
  --color-blue: #0000ff;
}

/* ── Base Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.4); }

/* ── Corner Navigation ── */
.col-btn-corner {
  position: fixed;
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem !important;
  font-weight: 400;
  font-variant-caps: all-small-caps;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-height: 24px;
  display: flex;
  align-items: center;
  z-index: 1200;
  text-decoration: none;
  transition: opacity 0.2s;
  pointer-events: auto;
}
.col-btn-corner,
.col-btn-corner * {
  color: #111 !important;
  font-variant-caps: all-small-caps !important;
  text-decoration: none !important;
  letter-spacing: .05em !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  font-family: 'Roboto', sans-serif !important;
}
.col-btn-corner:hover {
  text-decoration: none !important;
}
.col-btn-corner:hover:is(a, button),
.col-btn-corner a:hover,
.col-btn-corner button:hover {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/* Corner positions — desktop */
.tl { top: 28px; left: 60px; }
.tr { top: 28px; right: calc(60px - (100vw - 100%)); }
.bl { bottom: 30px; left: 60px; }
.br { bottom: 30px; right: calc(60px - (100vw - 100%)); }

/* Barbar reversed-r */
.tl .rev {
  display: inline-block;
  transform: scaleX(-1);
  margin-left: -0.05em;
}
.logo-arrow {
  display: inline-block;
  margin-left: 0.2em;
  transition: opacity 0.5s ease;
}

/* TL corner específico: peso 500 y sin subrayado */
.col-btn-corner.tl,
.col-btn-corner.tl * {
  font-weight: 500 !important;
  text-decoration: none !important;
}

/* ── Visibility Utilities ── */
.desktop-only { display: inline-block; }
.mobile-only  { display: none; }

/* ── Mobile Logo ── */
.logo2-wrap img {
  height: 24px;
  width: auto;
  display: block;
}
.logo2-wrap .logo2-inv { display: none; }
body.invert-ui .logo2-wrap .logo2-std { display: none; }
body.invert-ui .logo2-wrap .logo2-inv { display: block; }


/* ── Mobile ── */
@media (max-width: 800px) {
  .desktop-only { display: none; }
  .mobile-only  { display: block; }

  .colecciones { display: none; }

  /* Corner positions — mobile */
  .tl, .bl { left: 25px; }
  .tr, .br  { right: calc(25px - (100vw - 100%)); }

  .bl, .br {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    bottom: 30px;
    top: auto;
  }
  .br { align-items: flex-end; }

  /* Mobile footer link stack */
  .footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .footer-links-vertical a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem !important;
    font-weight: 400;
    letter-spacing: .05em;
    font-variant-caps: all-small-caps;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #111;
    text-decoration: none;
    text-align: right;
  }
  .footer-links-vertical a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
}

