/* FAZER — retoque final aprobado: categorías editoriales + WhatsApp de marca */
.category-card {
  min-height: 255px;
  border-radius: 18px;
  border: 1px solid rgba(202, 160, 94, .55);
  box-shadow: 0 13px 30px rgba(25, 17, 8, .12);
  isolation: isolate;
  background-color: #090807;
}
.category-card .category-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.category-card::before {
  background: linear-gradient(90deg,
    rgba(5, 6, 8, .99) 0%,
    rgba(5, 6, 8, .95) 27%,
    rgba(5, 6, 8, .78) 47%,
    rgba(5, 6, 8, .34) 68%,
    rgba(5, 6, 8, .04) 100%) !important;
}
.category-card > div:first-child { max-width: 56%; }
.cat-sealed { background: #07111d; }
.cat-sealed .category-photo { background-image: url('assets/category-sealed-editorial.webp'); }
.cat-decants { background: #100a06; }
.cat-decants .category-photo { background-image: url('assets/category-decants-editorial.webp'); }
.cat-arabian { background: #130a05; }
.cat-arabian .category-photo { background-image: url('assets/category-arabian-editorial.webp'); }
.category-card h3 { text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.category-card p { text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.category-card .category-arrow {
  width: 38px; height: 38px;
  border-color: rgba(231, 190, 112, .95);
  color: #f2d18c;
  background: rgba(8, 7, 6, .22);
}
.category-card:hover .category-arrow { background: #e3b65f; color: #0c0906; }

/* Botón WhatsApp: símbolo reconocible, contorno limpio y sombra discreta. */
.floating-wa {
  width: 62px;
  height: 62px;
  right: 22px;
  bottom: 22px;
  border: 3px solid rgba(255,255,255,.98);
  border-radius: 50%;
  background: linear-gradient(145deg, #2fe477 0%, #18c765 48%, #0ca653 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 5px rgba(37,211,102,.11), 0 12px 28px rgba(13,20,14,.24), inset 0 1px 1px rgba(255,255,255,.34);
  z-index: 90;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.floating-wa .wa-brand {
  display: block;
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-wa .wa-outline { fill: none; stroke: #fff; stroke-width: 1.75; }
.floating-wa .wa-handset { fill: #fff; stroke: none; }
.floating-wa:hover {
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 0 0 6px rgba(37,211,102,.14), 0 16px 32px rgba(13,20,14,.28), inset 0 1px 1px rgba(255,255,255,.38);
  filter: saturate(1.05);
}
.floating-wa:focus-visible { outline: 3px solid #d5b06e; outline-offset: 5px; }

/* El aviso de maqueta se retiró; la fotografía queda limpia. */
.decants-image-new figcaption { display: none !important; }

@media (max-width: 1100px) and (min-width: 671px) {
  .category-card { min-height: 235px; }
  .category-card > div:first-child { max-width: 58%; }
}
@media (max-width: 670px) {
  .category-card { min-height: 218px; border-radius: 16px; }
  .category-card > div:first-child { max-width: 57%; }
  .category-card .category-photo { background-position: center center; }
  .floating-wa { width: 57px; height: 57px; right: 15px; bottom: 17px; }
  .floating-wa .wa-brand { width: 30px; height: 30px; }
}
@media (max-width: 390px) {
  .category-card { min-height: 208px; padding: 20px 19px; }
  .category-card h3 { font-size: 25px; }
  .category-card p { max-width: 145px; }
  .floating-wa { width: 55px; height: 55px; right: 13px; bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .category-card, .category-card .category-photo, .floating-wa { transition: none !important; }
}
