/* ============================================================
   ALMA STUDIO · ESTILOS PRINCIPALES
   ============================================================ */
* { box-sizing: border-box; }
body { margin: 0; background: #faf8f6; font-family: 'Montserrat', sans-serif; color: #1d1d1d; }

/* ============================================================
   HEADER (estructura en 4 filas limpias)
   ============================================================ */
.alma-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* --- Franja superior --- */
.alma-topbar {
  background: #faf8f6;
  border-bottom: 1px solid #f0ece7;
}
.alma-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.alma-message {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: #555;
  line-height: 1.3;
  flex-wrap: wrap;
}
.alma-message strong {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #1d1d1d;
}
.alma-message .script-small {
  font-family: 'Allura', cursive;
  font-size: 20px;
  color: #b8956e;
  line-height: 1;
  margin-left: 4px;
}
.alma-message em { font-style: normal; }

.alma-lang { display: flex; align-items: center; gap: 8px; }
.alma-lang a { line-height: 0; border-radius: 4px; transition: opacity .2s; }
.alma-lang a:hover { opacity: .7; }
.alma-lang img {
  width: 26px; height: 19px;
  border: 1px solid #ddd;
  border-radius: 3px;
  display: block;
}

/* --- Marca centrada --- */
.alma-brand-wrap {
  text-align: center;
  padding: 22px 20px 12px;
}
.alma-brand { text-decoration: none; color: #151515; display: inline-block; }
.alma-brand-name {
  font-family: 'Allura', cursive;
  font-size: clamp(52px, 5vw, 76px);
  line-height: .9;
  letter-spacing: -2px;
  font-weight: 400;
}
.alma-brand-name .amp {
  font-family: Georgia, serif;
  font-size: .5em;
  vertical-align: 22px;
  margin-left: 3px;
}
.alma-brand-subtitle {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #666;
}

/* --- Categorías horizontales --- */
.alma-categories-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #f2efec;
}
.alma-categories-bar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  color: #1d1d1d;
  text-decoration: none;
  background: #faf8f6;
  border: 1px solid #f0ece7;
  transition: all .2s ease;
  white-space: nowrap;
}
.alma-categories-bar a:hover {
  background: #1d1d1d;
  color: #fff;
  border-color: #1d1d1d;
  transform: translateY(-1px);
}
.alma-categories-bar a span {
  font-size: 15px;
  filter: grayscale(1);
}
.alma-categories-bar a:hover span { filter: none; }

/* --- Tagline --- */
.alma-tagline-wrap {
  padding: 18px 20px 24px;
  display: flex;
  justify-content: center;
}
.alma-tagline {
  max-width: 750px;
  padding: 11px 34px;
  border-radius: 40px;
  background: #202020;
  color: #fff;
  text-align: center;
  font-family: 'Allura', cursive;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: .3px;
}
.alma-tagline .heart {
  font-family: Georgia, serif;
  font-size: 14px;
  margin-left: 6px;
}

@media (max-width: 900px) {
  .alma-topbar-inner { justify-content: center; text-align: center; }
  .alma-message { justify-content: center; }
  .alma-brand-wrap { padding: 16px 16px 8px; }
  .alma-categories-bar { padding: 8px 12px 14px; gap: 6px; }
  .alma-categories-bar a { padding: 7px 12px; font-size: 11px; }
  .alma-tagline { font-size: 18px; padding: 9px 22px; }
}
@media (max-width: 600px) {
  .alma-brand-name { font-size: 46px; }
  .alma-brand-subtitle { font-size: 8px; letter-spacing: 3px; }
  .alma-message { font-size: 11px; }
  .alma-message .script-small { font-size: 17px; }
  .alma-categories-bar a span { display: none; }
}

/* ============================================================
   CATÁLOGO DE TAZAS
   ============================================================ */
.catalogo-alma { padding: 40px 20px 60px; max-width: 1400px; margin: 0 auto; }
.catalogo-header { text-align: center; margin-bottom: 48px; }
.catalogo-header h2 { font-family: 'Allura', cursive; font-size: 52px; font-weight: 400; color: #1d1d1d; margin: 0 0 6px; letter-spacing: 1px; }
.catalogo-header p { font-size: 13px; color: #888; letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.catalogo-header .separador { width: 60px; height: 2px; background: #d4a373; margin: 14px auto 0; }

.tazas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px 20px; }
.taza-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.taza-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.taza-card .taza-imagen { position: relative; overflow: hidden; background: #f5f2ee; padding: 12px 12px 0 12px; aspect-ratio: 1 / 1.05; display: flex; align-items: center; justify-content: center; }
.taza-card .taza-imagen img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; padding: 4px; }
.taza-card:hover .taza-imagen img { transform: scale(1.03); }

.taza-card .taza-etiquetas { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.taza-card .taza-etiquetas span { display: inline-block; padding: 2px 12px; font-size: 8px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; border-radius: 20px; background: #1d1d1d; color: #fff; line-height: 1.7; }
.taza-card .taza-etiquetas span.nuevo { background: #6c8c7a; }
.taza-card .taza-etiquetas span.oferta { background: #d4a373; }
.taza-card .taza-etiquetas span.hot { background: #c47a5a; }

.taza-card .btn-ver { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(12px); background: rgba(29,29,29,0.92); border: none; color: #fff; font-size: 9px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; padding: 7px 20px; border-radius: 30px; opacity: 0; transition: all 0.3s ease; z-index: 3; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.12); backdrop-filter: blur(4px); }
.taza-card:hover .btn-ver { opacity: 1; transform: translateX(-50%) translateY(0); }
.taza-card .btn-ver:hover { background: #3d3d3d; }

.taza-card .acciones { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 5px; opacity: 0; transition: opacity 0.3s ease; }
.taza-card:hover .acciones { opacity: 1; }
.taza-card .acciones a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,255,255,0.92); border-radius: 50%; color: #222; font-size: 13px; transition: all 0.2s; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.taza-card .acciones a:hover { background: #1d1d1d; color: #fff; transform: scale(1.05); }

.taza-info { padding: 16px 16px 18px; text-align: center; }
.taza-info .taza-numero { font-size: 10px; font-weight: 600; color: #b8956e; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px; }
.taza-info .taza-nombre { font-family: 'Georgia', serif; font-size: 18px; font-weight: 400; color: #1d1d1d; margin: 2px 0 3px; line-height: 1.2; }
.taza-info .taza-desc { font-size: 11px; color: #888; line-height: 1.4; margin: 4px 0 8px; font-weight: 300; }

@media (max-width: 768px) {
  .catalogo-alma { padding: 24px 12px 40px; }
  .catalogo-header h2 { font-size: 38px; }
  .tazas-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px 14px; }
  .taza-info .taza-nombre { font-size: 15px; }
  .taza-info .taza-desc { font-size: 10px; }
}

/* ============================================================
   SECCIÓN CENTRALIZADA DE PRECIOS / MUESTRA DE TAZAS
   ============================================================ */
.seccion-precios {
  width: 100%;
  background: linear-gradient(135deg, #faf8f6 0%, #f0ebe3 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.seccion-precios::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,163,115,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.seccion-precios .contenedor {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.columna-imagenes {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 10px;
}
.columna-imagenes img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border: 5px solid #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.columna-imagenes img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.columna-info { flex: 1; padding-left: 20px; }
.columna-info .etiqueta {
  display: inline-block;
  background: #d4a373;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}
.columna-info h2 {
  font-family: 'Allura', cursive;
  font-size: 55px;
  font-weight: 400;
  color: #1d1d1d;
  line-height: 1;
  margin: 0 0 15px;
}
.columna-info p.descripcion {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
  border-left: 3px solid #d4a373;
  padding-left: 15px;
}

.lista-precios { display: flex; flex-direction: column; gap: 12px; }
.item-precio {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f0ece7;
}
.item-precio:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border-color: #d4a373;
}
.item-precio .icono {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf3eb;
  border-radius: 12px;
  font-size: 24px;
  color: #b8956e;
  flex-shrink: 0;
}
.item-precio .texto { flex: 1; }
.item-precio .texto strong {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 4px;
}
.item-precio .texto p { margin: 0; font-size: 13px; color: #777; line-height: 1.4; }
.item-precio .texto em { font-style: normal; font-weight: 600; color: #d4a373; }

.btn-whatsapp-precios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  letter-spacing: 0.5px;
}
.btn-whatsapp-precios:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

@media (max-width: 1000px) {
  .seccion-precios .contenedor { flex-direction: column; gap: 40px; text-align: center; }
  .columna-info { padding-left: 0; }
  .columna-info p.descripcion { border-left: none; padding-left: 0; }
  .item-precio { flex-direction: column; align-items: center; text-align: center; }
  .item-precio:hover { transform: translateY(-3px); }
  .columna-imagenes img { height: 180px; }
  .columna-info h2 { font-size: 42px; }
}

/* ============================================================
   MODAL / POPUP INTERACTIVO CON GALERÍA
   ============================================================ */
#almaModal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10,10,10,0.65); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s ease, visibility 0.35s ease; }
#almaModal.open { opacity: 1; visibility: visible; pointer-events: auto; }
#almaModal .modal-box { position: relative; width: min(940px, 100%); max-height: 92vh; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.3); transform: translateY(30px) scale(0.96); transition: transform 0.4s cubic-bezier(0.2,0.9,0.3,1); display: grid; grid-template-columns: 1fr 1fr; }
#almaModal.open .modal-box { transform: translateY(0) scale(1); }
#almaModal .modal-close { position: absolute; right: 14px; top: 14px; z-index: 10; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.95); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.1); transition: transform 0.2s; }
#almaModal .modal-close:hover { transform: rotate(90deg); }

#almaModal .modal-gallery { background: #f7f5f2; padding: 20px; display: flex; flex-direction: column; }
#almaModal .modal-main-img { position: relative; flex: 1; min-height: 280px; background: #eee; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#almaModal .modal-main-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; padding: 8px; cursor: zoom-in; }
#almaModal .modal-main-img .nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.9); cursor: pointer; font-size: 18px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); z-index: 2; transition: background 0.2s; }
#almaModal .modal-main-img .nav-arrow:hover { background: #fff; }
#almaModal .modal-main-img .nav-arrow.prev { left: 10px; }
#almaModal .modal-main-img .nav-arrow.next { right: 10px; }

#almaModal .modal-thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
#almaModal .modal-thumbs button { flex: 0 0 60px; width: 60px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #ddd; cursor: pointer; transition: border-color 0.2s; }
#almaModal .modal-thumbs button.active { border-color: #1d1d1d; }
#almaModal .modal-thumbs button img { width: 100%; height: 100%; object-fit: cover; }

#almaModal .modal-info { padding: 32px 34px 30px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
#almaModal .modal-info .badge { display: inline-block; font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #b8956e; margin-bottom: 4px; }
#almaModal .modal-info h2 { font-family: 'Georgia', serif; font-size: 30px; font-weight: 400; margin: 0 0 4px; color: #1d1d1d; }
#almaModal .modal-info .sub { font-size: 13px; color: #888; margin: 0 0 14px; font-weight: 300; }
#almaModal .modal-info .desc { font-size: 13px; line-height: 1.7; color: #555; margin: 0 0 18px; }
#almaModal .modal-info .btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; border: none; padding: 12px 28px; border-radius: 40px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s, transform 0.2s; text-decoration: none; width: fit-content; margin-top: 10px; }
#almaModal .modal-info .btn-whatsapp:hover { background: #128C7E; transform: scale(1.02); }
#almaModal .modal-info .detalles { border-top: 1px solid #eee; margin-top: 18px; padding-top: 16px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 11px; color: #777; }
#almaModal .modal-info .detalles span strong { color: #1d1d1d; font-weight: 600; }

@media (max-width: 800px) {
  #almaModal { padding: 10px; align-items: flex-end; }
  #almaModal .modal-box { grid-template-columns: 1fr; max-height: 96vh; border-radius: 18px 18px 0 0; transform: translateY(40px) scale(0.96); }
  #almaModal.open .modal-box { transform: translateY(0) scale(1); }
  #almaModal .modal-gallery { padding: 14px 14px 0; }
  #almaModal .modal-main-img { min-height: 220px; }
  #almaModal .modal-info { padding: 22px 20px 24px; }
  #almaModal .modal-info h2 { font-size: 24px; }
  #almaModal .modal-thumbs button { flex: 0 0 48px; width: 48px; height: 56px; }
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #25D366; color: #fff; border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.3s ease; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.alma-footer {
  background: #1d1d1d;
  color: #ccc;
  padding: 32px 24px;
  margin-top: 0;
  /* Aísla el contexto de fusión para que mix-blend-mode funcione bien */
  isolation: isolate;
}
.alma-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.alma-footer-credit {
  margin: 0;
  font-size: 14px;
  letter-spacing: .3px;
  color: #bbb;
}
.alma-footer-credit strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: .5px;
}

/* ✅ FIX PARA PNG CON FONDO BLANCO */
.alma-footer-logo {
  height: 70px;
  width: auto;
  max-width: 260px;
  display: block;
  filter: invert(1);          /* convierte negro → blanco */
  mix-blend-mode: screen;     /* elimina el fondo blanco del PNG */
  opacity: 1;
  transition: opacity .2s;
}
.alma-footer-logo:hover { opacity: .85; }

@media (max-width: 600px) {
  .alma-footer { padding: 24px 16px; }
  .alma-footer-inner { flex-direction: column; gap: 16px; }
  .alma-footer-logo { height: 55px; max-width: 200px; }
}