/* The Hemp House — efectos page extras (banner + humo + featured). Split por WAF. */

/* === FEATURED OFFERS — Las 2 ofertas del mes === */
.thh-featured {
  position: relative;
  background: var(--thh-bg-deep);
  border-top: 1px solid var(--thh-border);
  padding: var(--thh-space-24) var(--thh-space-6);
  overflow: hidden;
}

.thh-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(201, 169, 97, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 75% 80%, rgba(122, 171, 133, 0.08), transparent 70%);
}

.thh-featured__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.thh-featured__header {
  text-align: center;
  margin-bottom: var(--thh-space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thh-featured__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--thh-space-8);
}

.thh-featured__card {
  display: flex;
  flex-direction: column;
  background: var(--thh-bg-card);
  border: 1px solid var(--thh-border);
  border-radius: var(--thh-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 320ms var(--thh-ease-out),
    transform 320ms var(--thh-ease-out),
    box-shadow 320ms var(--thh-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .thh-featured__card:hover {
    border-color: var(--thh-gold);
    transform: translateY(-5px);
    box-shadow: var(--thh-shadow-glow-gold);
  }
  .thh-featured__card:hover .thh-featured__media img {
    transform: scale(1.05);
  }
  .thh-featured__card:hover .thh-featured__cta {
    color: var(--thh-gold-bright);
  }
}

.thh-featured__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--thh-bg-forest);
}

.thh-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--thh-ease-out);
}

.thh-featured__discount {
  position: absolute;
  top: var(--thh-space-4);
  right: var(--thh-space-4);
  z-index: 2;
  background: var(--thh-gold);
  color: var(--thh-bg-deep);
  font-family: var(--thh-font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 14px;
  border-radius: var(--thh-radius-sm);
  box-shadow: var(--thh-shadow-md);
}

.thh-featured__tagline {
  position: absolute;
  bottom: var(--thh-space-4);
  left: var(--thh-space-4);
  z-index: 2;
  background: rgba(10, 14, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--thh-gold-bright);
  font-family: var(--thh-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--thh-radius-full);
}

.thh-featured__body {
  padding: var(--thh-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--thh-space-4);
  flex-grow: 1;
}

.thh-featured__title {
  font-family: var(--thh-font-heading);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--thh-text-primary);
  margin: 0;
}

.thh-featured__pitch {
  font-family: var(--thh-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--thh-text-secondary);
  margin: 0;
}

.thh-featured__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thh-featured__specs li {
  font-family: var(--thh-font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--thh-text-primary);
  padding-left: 16px;
  position: relative;
}

.thh-featured__specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--thh-gold);
  border-radius: 50%;
}

.thh-featured__footer {
  margin-top: auto;
  padding-top: var(--thh-space-4);
  border-top: 1px solid var(--thh-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--thh-space-3);
  flex-wrap: wrap;
}

.thh-featured__price,
.thh-featured__price *,
.thh-featured__price bdi,
.thh-featured__price ins,
.thh-featured__price ins * {
  color: var(--thh-gold) !important;
  font-family: var(--thh-font-heading);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  text-decoration: none;
}

.thh-featured__price del,
.thh-featured__price del * {
  color: var(--thh-text-muted) !important;
  font-size: 14px;
  font-weight: 400;
  margin-right: 8px;
}

.thh-featured__cta {
  font-family: var(--thh-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--thh-gold);
  transition: color 250ms var(--thh-ease-out);
}

@media (max-width: 900px) {
  .thh-featured__grid {
    grid-template-columns: 1fr;
    gap: var(--thh-space-6);
  }
  .thh-featured {
    padding: var(--thh-space-16) var(--thh-space-4);
  }
}

/* === ARRIVALS — Recién llegados (hash nueva generación) === */
.thh-arrivals__new {
  position: absolute;
  top: var(--thh-space-4);
  left: var(--thh-space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 14, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--thh-text-primary);
  font-family: var(--thh-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: var(--thh-radius-full);
}

.thh-arrivals__new::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--thh-gold-bright);
  animation: thh-arrival-pulse 2s var(--thh-ease-out) infinite;
}

@keyframes thh-arrival-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.45; }
}

/* Shimmer dorado que barre la imagen al revelarse la card */
.thh-arrivals .thh-featured__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(245, 240, 229, 0.16) 50%, transparent 60%);
  transform: translateX(-130%);
  pointer-events: none;
}

.thh-arrivals .thh-featured__card.is-visible .thh-featured__media::after {
  animation: thh-arrival-shine 1.3s var(--thh-ease-out) 0.5s both;
}

.thh-arrivals .thh-featured__card.is-visible:nth-child(2) .thh-featured__media::after {
  animation-delay: 0.75s;
}

@keyframes thh-arrival-shine {
  to { transform: translateX(130%); }
}

.thh-arrivals__note {
  margin: var(--thh-space-8) auto 0;
  text-align: center;
  font-family: var(--thh-font-body);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--thh-text-muted);
  max-width: 62ch;
}

@media (prefers-reduced-motion: reduce) {
  .thh-arrivals__new::before,
  .thh-arrivals .thh-featured__media::after { animation: none !important; }
}

/* === BANNER CANNABINOIDES (full-bleed CTA con video) === */
.thh-cannabinoids-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--thh-bg-deep);
  border-top: 1px solid var(--thh-border);
}

.thh-cannabinoids-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.thh-cannabinoids-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, transparent 0%, rgba(10,14,10,0.6) 70%),
    linear-gradient(180deg, rgba(10,14,10,0.7) 0%, rgba(10,14,10,0.5) 50%, rgba(10,14,10,0.85) 100%);
  pointer-events: none;
}

.thh-cannabinoids-banner__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--thh-space-16) var(--thh-space-6);
  max-width: 1100px;
}

.thh-cannabinoids-banner__title {
  font-family: var(--thh-font-heading);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--thh-text-primary);
  margin: 0 0 var(--thh-space-6) 0;
}

.thh-cannabinoids-banner__title .italic {
  font-style: italic;
  color: var(--thh-gold-bright);
}

.thh-cannabinoids-banner__subtitle {
  font-family: var(--thh-font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--thh-text-secondary);
  max-width: 60ch;
  margin: 0 auto var(--thh-space-10) auto;
}

.thh-cannabinoids-banner__actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .thh-cannabinoids-banner {
    min-height: 50vh;
  }
  .thh-cannabinoids-banner__inner {
    padding: var(--thh-space-12) var(--thh-space-4);
  }
}

/* === HUMO CINEMATOGRÁFICO (variant: vapeo) === */
.thh-page-hero--smoke {
  isolation: isolate;
}

.thh-page-hero__smoke {
  position: absolute;
  inset: -25%;
  z-index: 2;
  pointer-events: none;
  filter: blur(70px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.thh-page-hero__smoke--a {
  background:
    radial-gradient(circle at 25% 40%, rgba(232, 200, 121, 0.30), transparent 50%),
    radial-gradient(circle at 75% 60%, rgba(122, 171, 133, 0.18), transparent 55%);
  opacity: 0.7;
  animation: thh-smoke-vape-a 28s ease-in-out infinite;
}

.thh-page-hero__smoke--b {
  background:
    radial-gradient(circle at 60% 30%, rgba(245, 240, 229, 0.10), transparent 60%),
    radial-gradient(circle at 35% 75%, rgba(201, 169, 97, 0.18), transparent 55%);
  opacity: 0.55;
  animation: thh-smoke-vape-b 42s ease-in-out infinite reverse;
}

.thh-page-hero__smoke--c {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 255, 255, 0.06), transparent 70%);
  opacity: 0.5;
  animation: thh-smoke-vape-c 60s ease-in-out infinite;
  filter: blur(100px);
}

@keyframes thh-smoke-vape-a {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6%, -3%) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes thh-smoke-vape-b {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-7%, 5%) scale(1.18); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes thh-smoke-vape-c {
  0%   { transform: translate(0, 5%) scale(1); opacity: 0.4; }
  50%  { transform: translate(0, -10%) scale(1.3); opacity: 0.65; }
  100% { transform: translate(0, 5%) scale(1); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .thh-page-hero__smoke { animation: none; }
}

.thh-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.thh-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(10,14,10,0.55) 0%,
    rgba(10,14,10,0.7) 50%,
    rgba(10,14,10,0.92) 100%);
  pointer-events: none;
}

.thh-page-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--thh-space-16) var(--thh-space-6);
  max-width: 1100px;
}

.thh-page-hero__eyebrow {
  font-family: var(--thh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--thh-gold);
  text-transform: uppercase;
  margin: 0 0 var(--thh-space-6) 0;
}

.thh-page-hero__title {
  font-family: var(--thh-font-heading);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--thh-text-primary);
  margin: 0 0 var(--thh-space-6) 0;
}

.thh-page-hero__title .word {
  display: inline-block;
  margin-right: 0.18em;
  will-change: transform, opacity;
}

.thh-page-hero__title .italic {
  font-style: italic;
  color: var(--thh-gold-bright);
}

.thh-page-hero__subtitle {
  font-family: var(--thh-font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--thh-text-secondary);
  max-width: 60ch;
  margin: 0 auto var(--thh-space-12) auto;
}

.thh-page-hero__actions {
  display: flex;
  gap: var(--thh-space-4);
  justify-content: center;
  flex-wrap: wrap;
}
