:root {
  --black: #000;
  --white: #fff;
  --ui: rgba(255,255,255,.9);
  --muted: rgba(255,255,255,.55);

  --font: "Inter", system-ui, sans-serif;
  --menu-size: 12px;
  --menu-weight: 600;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: var(--black);
  font-family: var(--font);
}

/* Pantalla completa */
.screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  overflow: hidden;
}


/* =========================
   NAV RESPONSIVE
   - Mobile: burger + drawer
   - Desktop: top header (SVG)
   ========================= */

/* Header desktop oculto por defecto (mobile first) */
.topnav{
  display: none;
}

/* =========================
   DESKTOP
   ========================= */
@media (min-width: 769px){

  /* Ocultar menú mobile */
  .burger,
  .overlay,
  .drawer,
  #navToggle{
    display: none !important;
  }

  /* Header desktop */
  .topnav{
  display: block;
  position: fixed;
  top: 42px;      /* ⬇ baja/sube aquí */
  left: 36px;     /* 👈 pegado a la izquierda */
  z-index: 80;
  pointer-events: auto;
  }

  .topnav__inner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;        /* separación entre SVG */
  }

  .topnav__link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
  }

  .topnav__link:hover{
    opacity: 1;
    transform: translateY(-1px);
  }

  .topnav__svg{
    height: 10px;     /* tamaño SVG desktop */
    width: auto;
    display: block;
  }

  .dm-mobile{
  display: none !important;
  }
}

/* =========================
   MOBILE (drawer SVG)
   ========================= */
.drawer__link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.drawer__svg{
  height: 14px;       /* tamaño SVG mobile */
  width: auto;
  display: block;
  opacity: .95;
}

/* ===== LOGO EN HEADER DESKTOP ===== */
.topnav__logo{
  display: inline-flex;
  align-items: center;
  margin-right: 10px;   /* separación logo ↔ menú */
  opacity: .95;
  transition: opacity .2s ease;
}

.topnav__logo:hover{
  opacity: 1;
}

.topnav__logo-svg{
  height: 45px;         /* tamaño del logo DM */
  width: auto;
  display: block;
}

/* DM al lado del burger (solo MOBILE) */
.dm-mobile{
  position: fixed;
  top: 24px;        /* alinea con burger */
  left: 74px;       /* al lado del burger */
  z-index: 55;      /* sobre overlay/drawer */
  display: inline-flex;
  align-items: center;
  opacity: .95;
  transition: opacity .2s ease;
  z-index: 70;
}

.dm-mobile:hover{ opacity: 1; }

.dm-mobile__svg{
  height: 36px;     /* tamaño del DM en mobile */
  width: auto;
  display: block;
}



/* ===== Checkbox hack (drawer) ===== */
#navToggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Botón hamburguesa */
.burger {
  position: fixed;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 50;
}

.burger .icon {
  width: 22px;
  height: 16px;
  position: relative;
}

.burger .icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--white);
  border-radius: 10px;
  transition: .2s ease;
}

.burger .icon span:nth-child(1) { top: 0; }
.burger .icon span:nth-child(2) { top: 7px; }
.burger .icon span:nth-child(3) { top: 14px; }

/* Animación X */
#navToggle:checked + .burger .icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
#navToggle:checked + .burger .icon span:nth-child(2) {
  opacity: 0;
}
#navToggle:checked + .burger .icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 30;
}

#navToggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(300px, 80vw);
  background: #0b0b0b;
  transform: translateX(-100%);
  transition: .25s ease;
  z-index: 40;
  padding: 80px 20px;
}

#navToggle:checked ~ .drawer {
  transform: translateX(0);
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer a {
  font-size: var(--menu-size);
  font-weight: var(--menu-weight);
  color: var(--ui);
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ===== Vistas (sin JS) ===== */
.panel{
  position: absolute;
  inset: 0;
  display: none;
}

/* HOME por defecto */
#inicio{
  display: flex;
}

/* Mostrar el panel al que se navega */
.panel:target{
  display: flex;
}

/* Cuando hay un target activo, ocultar HOME */
:target ~ #inicio{
  display: none;
}





/* Mostrar el panel target */
.panel:target {
  display: flex;
}

/* ===== Layout comunes ===== */
.center {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

/* Marca central (DM · 2026) */
.mark {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  color: var(--white);
}

.dm {
  font-weight: 700;
  letter-spacing: .02em;

  /* Placeholder hasta que metas tu logo real:
     ideal: reemplazar por SVG/imagen del “DM” */
  font-size: clamp(44px, 6vw, 84px);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--white);
  transform: translateY(-6px);
}

.year {
  font-weight: 700;
  letter-spacing: .02em;
  font-size: clamp(42px, 6vw, 82px);
}

/* ===== CONTENIDO ===== */
.panel--content {
  align-items: center;
  justify-content: center;
}

.topmark {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.dm-mini {
  color: var(--white);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 22px;
  opacity: .95;
}

.copy {
  width: min(640px, calc(100vw - 96px));
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .02em;
  text-align: left;
}

.copy p { margin: 0 0 14px 0; }
.copy p:last-child { margin-bottom: 0; }

/* ===== CONTACTO ===== */
.panel--contact {
  position: absolute;
  inset: 0;
}

.side {
  position: absolute;
  top: 84px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.side-link,
.side-title,
.side-mail {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.side-link {
  color: var(--muted);
  text-decoration: none;
}

.side-title {
  color: var(--white);
  font-weight: 600;
  margin-top: 10px;
}

.side-mail {
  color: var(--muted);
  text-decoration: none;
}

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.footer-text {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 768px) {
  .copy {
    font-size: 16px;      /* antes 12px */
    line-height: 1.85;    /* un poco más aire */
    width: min(720px, calc(100vw - 160px));
    text-align: justify;
    text-justify: inter-word;
  }
}

/* Mobile: más aire */
@media (max-width: 520px) {
  .copy {
    width: min(520px, calc(100vw - 56px));
  }
  .side {
    top: 74px;
    left: 16px;
  }
}

/* Logo principal */
.dm-logo {
  height: clamp(44px, 6vw, 84px);
  width: auto;
  display: block;
}

/* Logo pequeño (Contenido) */
.dm-mini-logo {
  height: 22px;
  width: auto;
  opacity: .95;
}

.drawer label {
  cursor: pointer;
}
.drawer label a {
  display: block;
  width: 100%;
}

.copy strong {
  color: rgba(255,255,255,.9);
  font-weight: 700;
}


/* =========================
   TIENDA — LOOK EXACTO REFERENCIA
   ========================= */
.panel--store{
  background: #000;       /* no se ve si el bg cubre */
  padding: 0;
}

/* el contenedor ocupa toda la pantalla del panel */
#tienda.panel{
  overflow: hidden;
}

.store{
  position: relative;
  width: 100%;
  height: 100%;
}

/* Fondo full */
.store__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* <-- agrega esto */
}


/* Outfit PNG encima (ajustado a como se ve en la imagen) */
.store__outfit{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-10%);  /* lo corre un poco a la derecha como la foto */
  max-height: 92%;
  width: auto;
  height: auto;
  pointer-events: none;
}

/* =========================
   TIENDA — SWIPER VERTICAL 3D (3 visibles)
   ========================= */

.store__side{
  position: absolute;
  right: 32px;

  /* ⬇️ BAJAMOS un poco el carrusel */
  top: calc(50% + 24px);

  /* ⬆️ ACHICAMOS la ventana visible */
  height: 470px;            /* controla qué tanto se recorta */
  overflow: hidden;         /* CLAVE: esconde lo que sobra */

  transform: translateY(-50%);
  width: 130px;
  z-index: 30; /* antes 5 */

  display: flex;
  align-items: center;
  justify-content: center;

  perspective: 900px;
}


/* =========================
   FIX CRÍTICO SWIPER VERTICAL
   ========================= */

/* contenedor: altura exacta para 3 slides */
.store__thumbs.store__swiper{
  height: 550px;   /* controla cuántos se ven */
  overflow: hidden;
}

/* CADA SLIDE TIENE ALTURA FIJA */
.store__swiper .swiper-slide{
  height: 160px;
  display: grid;
  place-items: center;
}


/* tarjeta */
.store__thumb{
  width: 96px;
  height: 140px;
  border: 0;
  padding: 0;
  border-radius: 20px;
  background: rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.store__thumb img{
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.4));
}

/* “3D” lo hace Swiper con coverflow, pero ajustamos look */
.store__swiper .swiper-slide-shadow-left,
.store__swiper .swiper-slide-shadow-right{
  opacity: .35 !important;
}

/* Mobile */
@media (max-width: 768px){
  .store__side{ right: 18px; width: 110px; }
  .store__thumbs.store__swiper{ height: 396px; width: 110px; }
  .store__thumb{ width: 86px; height: 120px; }
  .store__thumb img{ height: 96px; }
}







/* IMPORTANTE: para posicionar hit-areas/botones dentro */
.store{ position: relative; }

/* Desktop hit areas */
.store__hit{
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 20;              /* ⬅️ arriba de todo */
  pointer-events: auto;     /* ⬅️ asegura interacción */
  cursor: pointer;          /* ⬅️ para probar fácil */
}

.store__hit--left{ left: 0; }
.store__hit--right{ right: 0; }

/* Mobile buttons */
.store__btn{
  position: absolute;
  z-index: 6;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
}
.store__btn--prev{ left: 18px; top: 50%; transform: translateY(-50%); }
.store__btn--next{ right: 18px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (min-width: 769px){ .store__btn{ display:none; } }
@media (max-width: 768px){ .store__hit{ display:none; } }

/* swipe */
.store{ touch-action: pan-y; }

/* Mobile: sin hit-areas invisibles */
@media (max-width: 768px){
  .store__hit{ display: none; }
}

/* Swipe feel: permite swipe horizontal sin bloquear scroll vertical de la página */
.store{
  touch-action: pan-y;
}


/* Hint visual para hit areas (solo cuando se activa por JS) */
.store__hit.is-hint{
  background: linear-gradient(to right, rgba(255,255,255,.10), rgba(255,255,255,0));
}

.store__hit--right.is-hint{
  background: linear-gradient(to left, rgba(255,255,255,.10), rgba(255,255,255,0));
}






/* =========================
   Mobile: reposicionar carrusel abajo centrado
   ========================= */
@media (max-width: 768px){
  .store__side{
    left: 50%;
    right: auto;
    top: auto;
    bottom: 22px;
    transform: translateX(-50%);
    width: 330px;     /* ancho del carrusel abajo */
    height: 160px;    /* alto del área visible del carrusel */
    overflow: visible;/* el recorte lo hace el swiper container */
    z-index: 30;
  }

  .store__thumbs.store__swiper{
    width: 400px;
    height: 160px;
    overflow: hidden;
  }

  .store__swiper .swiper-slide{ 
    height: 160px; 
  }
  
  .store__btn{
    display: none !important;
  }

}




/* =========================
   TIENDA — FIN
   ========================= */
   /* ===== TIENDA: fondo blanco (solo esto) ===== */
#tienda{
  background: #fff;
}
/* ===== TIENDA: header + layout 4/4/2 (mínimo) ===== */
#tienda{
  background: #fff;
  color: #000;
}

/* Header simple */
.shop-head{
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.shop-head__logo img{
  height: 42px;
  width: auto;
  display: block;
}

.shop-head__nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.shop-head__nav img{
  height: 12px;
  width: auto;
  display: block;
  opacity: .95;
}

/* Contenido scrolleable dentro del panel */
.shop-wrap{
  height: calc(100vh - 86px);
  overflow: auto;
  padding: 18px 22px 28px;
}

/* Filas */
.shop-row{
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

/* 4 columnas */
.shop-row--4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* 2 columnas */
.shop-row--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Imágenes */
.shop-row img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1100px){
  .shop-row--4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px){
  .shop-row--4,
  .shop-row--2{ grid-template-columns: 1fr; }

  .shop-head{
    padding: 18px 16px;
  }
  .shop-wrap{
    padding: 16px;
  }
}


/* ===== FIX: en TIENDA el header arriba y el contenido abajo ===== */
#tienda:target{
  display: flex;              /* mantiene tu sistema :target */
  flex-direction: column;     /* header arriba, contenido abajo */
  justify-content: flex-start;
  align-items: stretch;
}

/* que el contenido ocupe el resto y haga scroll */
#tienda .shop-wrap{
  flex: 1;
  height: auto;              /* por si tenías calc(100vh - X) */
  overflow: auto;
}

/* ===== En #tienda, ocultar el header global (desktop) ===== */
#tienda:target ~ .topnav{
  display: none !important;
}

/* ===== En #tienda, ocultar el header mobile global (burger/drawer/dm) ===== */
#tienda:target ~ .burger,
#tienda:target ~ .dm-mobile,
#tienda:target ~ .overlay,
#tienda:target ~ .drawer,
#tienda:target ~ #navToggle{
  display: none !important;
}


/* ===== TIENDA: header alineado a la izquierda ===== */
#tienda .shop-head{
  justify-content: flex-start;
}

/* Espacio entre logo y textos */
#tienda .shop-head__logo{
  margin-right: 36px;
}

/* Los links juntos a la izquierda */
#tienda .shop-head__nav{
  justify-content: flex-start;
}




/* =========================
   TIENDA: HOVER TARJETA + OVERLAY PNG
   ========================= */

#tienda .shop-card{
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  overflow: hidden;
  border-radius: 18px;
}

/* Imagen del producto (ocupa el espacio como antes) */
#tienda .shop-card__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transform: translateZ(0) scale(1);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s cubic-bezier(.2,.8,.2,1);
  will-change: transform, filter;
}

/* Overlay */
#tienda .shop-card__overlay{
  position: absolute;
  inset: 0;

  opacity: 0;
  transform: translateZ(0) translateY(10px);
  transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1);

  will-change: opacity, transform;
  pointer-events: none;
}

#tienda .shop-card__overlay{ position: absolute; inset: 0; }
#tienda .shop-card__cta{ z-index: 2; }
#tienda .shop-card__svg{ z-index: 1; }


/* Tu PNG hover: NO debe heredar width:100% del grid */
#tienda .shop-card__svg{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;      /* rellena toda la tarjeta */
  object-position: center;
}


/* Hover solo en desktop */
@media (hover: hover) and (pointer: fine){
  #tienda .shop-card:hover .shop-card__img{
    transform: scale(1.02);
    filter: saturate(1.05);
  }
  #tienda .shop-card:hover .shop-card__overlay{
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile: abrir overlay con clase */
#tienda .shop-card.is-open .shop-card__overlay{
  opacity: 1;
  transform: translateY(0);
}
#tienda .shop-card.is-open .shop-card__img{
  transform: scale(1.02);
  filter: saturate(1.05);
}

#tienda .shop-card__overlay{
  filter: blur(1px);
}

@media (hover: hover) and (pointer: fine){
  #tienda .shop-card:hover .shop-card__overlay{
    filter: blur(0);
  }
}

#tienda .shop-card.is-open .shop-card__overlay{
  filter: blur(0);
}


/* =========================
   PORTAFOLIO ESTÁTICO (PNG COMPLETO)
   ========================= */

/* mostrar panel cuando se navega a #portafolio */
#portafolio:target{
  display: flex;
}

/* contenedor principal */
#portafolio .pf-static{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* fondo: tu PNG completo */
#portafolio .pf-static__bg{
  position: absolute;
  inset: 0;
  z-index: 1;
}

#portafolio .pf-static__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================
   BOTÓN DESCARGAR — ESTILO MOCKUP
   ========================= */
#portafolio .pf-hit--download{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6%;

  width: 520px;
  height: 58px;
  border-radius: 999px;

  /* ESTILO */
  background: #f4a437;           /* naranja mockup */
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font);      /* Inter */
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;

  z-index: 6;
}

/* MOBILE: usa fondo vertical */
@media (max-width: 768px){

  #portafolio .pf-static__bg{
    background-color: red;
  }

  #portafolio .pf-static__bg img{
    content: url("assets_celu/portafolio/Fondo2.png");
    object-fit: cover;
    object-position: center top;
    transform: scale(0.9);
    transform-origin: center top;

  }
}





@media (max-width: 768px){
  #portafolio .pf-hit--download{
    bottom: 20px;                 /* igual al mockup */
    width: calc(100vw - 48px);    /* margen lateral real */
    max-width: 360px;

    height: 56px;
    font-size: 15px;
    line-height: 1.2;

    padding: 0 20px;
    text-align: center;
  }
}

@media (max-width: 768px){
  #portafolio .pf-hit--download{
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}
/* =========================
   TIENDA: BURGER MENU PROPIO
   ========================= */

/* =========================================================
   TIENDA: BURGER MENU (MOBILE) — estilos completos
   ========================================================= */

/* checkbox oculto */
#shopNavToggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* botón burger */
.shop-burger{
  position: fixed;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 120; /* arriba del header tienda */
}

.shop-burger .icon{
  width: 22px;
  height: 16px;
  position: relative;
}

.shop-burger .icon span{
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;         /* negro porque tienda es blanca */
  border-radius: 10px;
  transition: .2s ease;
}

.shop-burger .icon span:nth-child(1){ top: 0; }
.shop-burger .icon span:nth-child(2){ top: 7px; }
.shop-burger .icon span:nth-child(3){ top: 14px; }

/* animación X */
#shopNavToggle:checked + .shop-burger .icon span:nth-child(1){
  top: 7px;
  transform: rotate(45deg);
}
#shopNavToggle:checked + .shop-burger .icon span:nth-child(2){
  opacity: 0;
}
#shopNavToggle:checked + .shop-burger .icon span:nth-child(3){
  top: 7px;
  transform: rotate(-45deg);
}

/* overlay */
.shop-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 110;
}

#shopNavToggle:checked ~ .shop-overlay{
  opacity: 1;
  pointer-events: auto;
}

/* drawer */
.shop-drawer{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(320px, 82vw);
  background: #fff;
  transform: translateX(-100%);
  transition: .25s ease;
  z-index: 115;
  padding: 90px 18px 18px;
  border-right: 1px solid rgba(0,0,0,.08);
}

#shopNavToggle:checked ~ .shop-drawer{
  transform: translateX(0);
}

.shop-drawer nav{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* links svg */
.shop-drawer__link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.shop-drawer__svg{
  height: 16px;
  width: auto;
  display: block;
  opacity: .95;
}

/* en TIENDA, el header sticky debe quedar abajo del burger */
#tienda .shop-head{
  z-index: 90;
}

/* =========================================================
   FIX: Burger izquierda + DM a la derecha (SOLO MOBILE)
   ========================================================= */
@media (max-width: 768px){

  /* Ocultar nav de iconos en el header tienda (evita duplicación) */
  #tienda .shop-head__nav{
    display: none;
  }

  /* Mover el DM del header tienda a fixed al lado del burger */
  #tienda .shop-head__logo{
    position: fixed;
    top: 18px;
    left: 74px;          /* al lado del burger */
    z-index: 120;
    margin: 0 !important;
  }

  #tienda .shop-head__logo img{
    height: 44px;        /* ajusta si lo quieres más grande/chico */
    width: auto;
    display: block;
  }

  /* Dar espacio arriba al header sticky para que no choque */
  #tienda .shop-head{
    padding-top: 76px;
  }
}

/* Desktop: burger tienda apagado */
@media (min-width: 769px){
  #shopNavToggle,
  .shop-burger,
  .shop-overlay,
  .shop-drawer{
    display: none !important;
  }
}


/* ================= CONTACTO POPUP (RECTANGULAR + MEJOR LAYOUT) ================= */

.contact-modal{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.contact-modal.is-open{
  display: block;
}

.contact-overlay{
  position: absolute;
  inset: 0;

  /* oscurece */
  background: rgba(0,0,0,.35);

  /* BLUR REAL del fondo */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* transición suave */
  transition: backdrop-filter .3s ease, background .3s ease;
}


/* Más rectangular */
.contact-box{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: min(860px, calc(100vw - 80px));
  height: min(440px, calc(100vh - 160px));

  background: #000;
  color: #fff;

  border-radius: 18px;              /* menos “redondito” */
  box-shadow: 0 20px 60px rgba(0,0,0,.55);

  padding: 34px 44px 26px;

  display: grid;                    /* TOP / CENTER / BOTTOM */
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;

  text-align: center;
}

/* Cerrar */
.contact-close{
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* ARRIBA: más arriba y compacto */
.contact-meta{
  display: grid;
  gap: 6px;
  transform: translateY(-6px); /* “sube” un pelín */
}

.contact-title{
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}

.contact-mail{
  color: rgba(255,255,255,.88);
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
}

/* CENTRO: el dm.2026 queda exactamente al medio */
.contact-center{
  display: grid;
  place-items: center;
}

.contact-logo{
  height: 90px;
  width: auto;
  display: block;
  opacity: .95;
}


/* ABAJO: como lo tienes bien */
.contact-footer{
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
  padding-bottom: 2px;
}


/* ================= CONTACTO POPUP — MOBILE FIX (SVG RESPONSIVE) ================= */
@media (max-width: 768px){

  /* overlay más “cinematic” */
  .contact-overlay{
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* caja tipo sheet, bien centrada */
  .contact-box{
    width: min(420px, calc(100vw - 28px));
    height: min(560px, calc(100vh - 140px));

    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px;

    /* layout real top/center/bottom */
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    align-items: center;

    overflow: hidden; /* evita cortes feos */
  }

  /* X fácil de tocar */
  .contact-close{
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: rgba(255,255,255,.06);
  }

  /* meta arriba centrado */
  .contact-meta{
    gap: 6px;
    padding-top: 6px;
    text-align: center;
  }

  .contact-title{
    font-size: 11px;
    letter-spacing: .14em;
  }

  .contact-mail{
    font-size: 13px;
    letter-spacing: .03em;
    opacity: .9;
  }

  /* centro: damos “marco” para que el SVG no explote */
  .contact-center{
    width: 100%;
    display: grid;
    place-items: center;
    padding: 8px 0;
  }

  /* ✅ CLAVE: el SVG se controla por ANCHO, no por alto */
  .contact-logo{
    width: min(340px, 88vw);
    max-width: 100%;
    height: auto;         /* <- importantísimo */
    display: block;
    opacity: .95;
  }

  .contact-footer{
    font-size: 10px;
    letter-spacing: .12em;
    opacity: .6;
    padding-bottom: 6px;
  }
}




/* ================= PORTAFOLIO PDF: DESKTOP vs MOBILE ================= */

/* Por defecto: desktop activo */
.pf-download--mobile{
  display: none;
}

/* DESKTOP */
@media (min-width: 769px){
  .pf-download--desktop{
    display: block;
  }

  .pf-download--mobile{
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px){

  /* ❌ APAGA el hitbox de desktop */
  .pf-download--desktop{
    display: none !important;
    pointer-events: none;
  }

  /* ✅ ACTIVA el botón mobile */
  .pf-download--mobile{
    display: flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(20px + env(safe-area-inset-bottom));

    width: calc(100vw - 48px);
    max-width: 360px;
    height: 56px;

    background: #f4a437;
    color: #fff;

    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;

    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;
  }
}


@media (max-width: 768px){
  #contenido .topmark{
    display: none !important;
  }
}





/* =========================
   CTA "CONSEGUIR" dentro del hover overlay
   ========================= */

/* Mantén el overlay sin capturar clicks... */
#tienda .shop-card__overlay{
  pointer-events: none; /* ya lo tienes, lo repetimos por claridad */
}

/* ...pero el botón sí debe recibir clicks */
#tienda .shop-card__cta{
  pointer-events: auto;

  position: absolute;
  left: 50%;
  bottom: 22%;                 /* ajusta fino: 10%–16% según tu mockup */
  transform: translateX(-50%);

  width: 245px;
  height: 55px;

  border: 0;
  border-radius: 999px;

  background: #2fb34a;         /* verde mockup */
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;

  cursor: pointer;

  z-index: 3;
}

/* Opcional: micro-animación */
@media (hover: hover) and (pointer: fine){
  #tienda .shop-card__cta:hover{
    transform: translateX(-50%) translateY(-1px);
  }
}

/* Mobile: un poco más compacto */
@media (max-width: 620px){
  #tienda .shop-card__cta{
    bottom: 22%;                   /* ⬅️ sube/baja en celu */
    width: min(260px, 78%);        /* ⬅️ NO full width */
    height: 54px;                  /* ⬅️ alto del botón */
    font-size: 30px;               /* ⬅️ tamaño texto */
  }
}

