/* ============================================================
   Cobitel - estilos agregados (sello "Nueva tienda" + página Tienda)
   Archivo aparte para no tocar style.min.css
   ============================================================ */

/* ---------- Sello tipo estrella "Ya abrimos nueva tienda" ---------- */
.sello-tienda {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1030;              /* debajo del menú fijo, encima del contenido */
  width: 148px;
  height: 148px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
  animation: sello-flota 3.2s ease-in-out infinite;
}
.sello-tienda__link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none !important;
  -webkit-clip-path: polygon(50.00% 0.00%, 57.12% 9.62%, 67.10% 3.02%, 70.50% 14.49%, 82.14% 11.70%, 81.41% 23.65%, 93.30% 25.00%, 88.53% 35.98%, 99.24% 41.32%, 91.00% 50.00%, 99.24% 58.68%, 88.53% 64.02%, 93.30% 75.00%, 81.41% 76.35%, 82.14% 88.30%, 70.50% 85.51%, 67.10% 96.98%, 57.12% 90.38%, 50.00% 100.00%, 42.88% 90.38%, 32.90% 96.98%, 29.50% 85.51%, 17.86% 88.30%, 18.59% 76.35%, 6.70% 75.00%, 11.47% 64.02%, 0.76% 58.68%, 9.00% 50.00%, 0.76% 41.32%, 11.47% 35.98%, 6.70% 25.00%, 18.59% 23.65%, 17.86% 11.70%, 29.50% 14.49%, 32.90% 3.02%, 42.88% 9.62%);
          clip-path: polygon(50.00% 0.00%, 57.12% 9.62%, 67.10% 3.02%, 70.50% 14.49%, 82.14% 11.70%, 81.41% 23.65%, 93.30% 25.00%, 88.53% 35.98%, 99.24% 41.32%, 91.00% 50.00%, 99.24% 58.68%, 88.53% 64.02%, 93.30% 75.00%, 81.41% 76.35%, 82.14% 88.30%, 70.50% 85.51%, 67.10% 96.98%, 57.12% 90.38%, 50.00% 100.00%, 42.88% 90.38%, 32.90% 96.98%, 29.50% 85.51%, 17.86% 88.30%, 18.59% 76.35%, 6.70% 75.00%, 11.47% 64.02%, 0.76% 58.68%, 9.00% 50.00%, 0.76% 41.32%, 11.47% 35.98%, 6.70% 25.00%, 18.59% 23.65%, 17.86% 11.70%, 29.50% 14.49%, 32.90% 3.02%, 42.88% 9.62%);
  background: #004c97;        /* borde azul de la estrella */
  transition: transform .2s ease;
}
.sello-tienda__link:hover,
.sello-tienda__link:focus-visible { transform: scale(1.08) rotate(-4deg); }
.sello-tienda__link::before {
  content: "";
  position: absolute;
  inset: 5px;                 /* grosor del borde */
  background: #ffc400;        /* amarillo de la fachada */
  -webkit-clip-path: polygon(50.00% 0.00%, 57.12% 9.62%, 67.10% 3.02%, 70.50% 14.49%, 82.14% 11.70%, 81.41% 23.65%, 93.30% 25.00%, 88.53% 35.98%, 99.24% 41.32%, 91.00% 50.00%, 99.24% 58.68%, 88.53% 64.02%, 93.30% 75.00%, 81.41% 76.35%, 82.14% 88.30%, 70.50% 85.51%, 67.10% 96.98%, 57.12% 90.38%, 50.00% 100.00%, 42.88% 90.38%, 32.90% 96.98%, 29.50% 85.51%, 17.86% 88.30%, 18.59% 76.35%, 6.70% 75.00%, 11.47% 64.02%, 0.76% 58.68%, 9.00% 50.00%, 0.76% 41.32%, 11.47% 35.98%, 6.70% 25.00%, 18.59% 23.65%, 17.86% 11.70%, 29.50% 14.49%, 32.90% 3.02%, 42.88% 9.62%);
          clip-path: polygon(50.00% 0.00%, 57.12% 9.62%, 67.10% 3.02%, 70.50% 14.49%, 82.14% 11.70%, 81.41% 23.65%, 93.30% 25.00%, 88.53% 35.98%, 99.24% 41.32%, 91.00% 50.00%, 99.24% 58.68%, 88.53% 64.02%, 93.30% 75.00%, 81.41% 76.35%, 82.14% 88.30%, 70.50% 85.51%, 67.10% 96.98%, 57.12% 90.38%, 50.00% 100.00%, 42.88% 90.38%, 32.90% 96.98%, 29.50% 85.51%, 17.86% 88.30%, 18.59% 76.35%, 6.70% 75.00%, 11.47% 64.02%, 0.76% 58.68%, 9.00% 50.00%, 0.76% 41.32%, 11.47% 35.98%, 6.70% 25.00%, 18.59% 23.65%, 17.86% 11.70%, 29.50% 14.49%, 32.90% 3.02%, 42.88% 9.62%);
}
.sello-tienda__texto {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.05;
  color: #004c97;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0 22px;
}
.sello-tienda__texto small { font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.sello-tienda__texto strong { font-size: 21px; font-weight: 900; margin: 2px 0; }
.sello-tienda__cerrar {
  position: absolute;
  top: 2px;
  left: 8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #004c97;
  color: #fff;
  font-size: 15px;
  line-height: 24px;
  cursor: pointer;
  opacity: .9;
}
.sello-tienda__cerrar:hover { opacity: 1; }
.sello-tienda.is-hidden { display: none; }

@keyframes sello-flota {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(4deg)  translateY(-6px); }
}
@media (max-width: 575px) {
  .sello-tienda { width: 112px; height: 112px; right: 10px; bottom: 14px; }
  .sello-tienda__texto { padding: 0 16px; }
  .sello-tienda__texto small  { font-size: 10px; }
  .sello-tienda__texto strong { font-size: 16px; }
  .sello-tienda__cerrar { width: 22px; height: 22px; line-height: 22px; font-size: 13px; left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .sello-tienda { animation: none; }
  .sello-tienda__link { transition: none; }
}

/* ---------- Página Tienda ---------- */
.tienda-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(0, 38, 80, .68), rgba(0, 38, 80, .78)),
    url('../img/fachada01.jpg') center / cover no-repeat;
}
.tienda-hero__inner { padding: 56px 16px; max-width: 760px; }
.tienda-hero__tag {
  display: inline-block;
  background: #ffc400;
  color: #004c97;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.tienda-hero h1 { font-weight: 900; font-size: 2.6rem; margin-bottom: 14px; }
.tienda-hero p { font-size: 1.15rem; margin: 0; }

.tienda-direccion {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.tienda-direccion__card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
  padding: 30px 28px;
  border-top: 5px solid #ffc400;
}
.tienda-direccion__card h2 { font-size: 1.35rem; font-weight: 900; color: #004c97; margin-bottom: 14px; }
.tienda-direccion__card address { font-size: 1.1rem; line-height: 1.55; margin-bottom: 18px; color: #2f2f2f; }
.tienda-dato { margin: 0 0 8px; color: #2f2f2f; }
.tienda-dato i { color: #004c97; width: 24px; }
.tienda-dato a { color: #004c97; }
.btn-tienda {
  display: inline-block;
  background: #004c97;
  color: #fff !important;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background .2s ease;
}
.btn-tienda:hover { background: #00397a; }
.tienda-nota { font-size: .92rem; color: #6c757d; margin-top: 14px; margin-bottom: 0; }

.tienda-productos h2 { font-weight: 900; color: #004c97; }
.tienda-productos .lead { color: #4a4a4a; }
.tienda-prod {
  height: 100%;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}
.tienda-prod__foto {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #eef4fb;
}
.tienda-prod h3 { font-size: 1.05rem; font-weight: 700; color: #2f2f2f; margin: 0; padding: 14px 10px 16px; }

/* Botón grande del catálogo */
.tienda-cta {
  height: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 28px 24px;
  background: #004c97;
  color: #fff !important;
  border-radius: 6px;
  border-bottom: 5px solid #ffc400;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 76, 151, .25);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.tienda-cta:hover, .tienda-cta:focus-visible { background: #00397a; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 76, 151, .35); }
.tienda-cta__icono {
  width: 62px; height: 62px; border-radius: 50%;
  background: #ffc400; color: #004c97;
  font-size: 26px; line-height: 62px;
}
.tienda-cta__texto { font-size: 1.4rem; font-weight: 900; line-height: 1.2; }
.tienda-cta__flecha { font-weight: 700; color: #ffc400; letter-spacing: .3px; }

@media (max-width: 575px) {
  .tienda-hero h1 { font-size: 2rem; }
  .tienda-hero { min-height: 320px; }
}
