/*
Theme Name: The Healthy Home Cooking Bundle
Theme URI: https://healthyhomecookingbundle.com
Author: The Healthy Home Cooking Bundle
Description: High-converting, mobile-first landing page WordPress theme for The Healthy Home Cooking Bundle. Includes complete 5-cookbook bundle presentation, responsive layout, Gumroad direct-checkout integration, and mobile CTA bar.
Version: 1.0.1
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: healthy-home-cooking
*/

/* ==========================================================================
   Recipe Hub Bulletproof Grid Layout
   ========================================================================== */
#recipe-hub {
  position: relative;
  width: 100%;
}

#recipe-stage {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  #wp-recipe-selectors {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  #wp-recipe-selectors {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
  
  #recipe-stage {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }
  
  #recipe-stage > .lg\:col-span-8,
  #recipe-stage > div:first-child {
    grid-column: span 8 / span 8 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  
  #recipe-stage > .lg\:col-span-4,
  #recipe-stage > div:last-child {
    grid-column: span 4 / span 4 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

#wp-active-recipe-card {
  width: 100% !important;
  min-width: 0 !important;
}

/* ==========================================================================
   Continuous Infinite Marquee Animation
   ========================================================================== */
@keyframes marquee {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.animate-marquee,
.marquee-track {
  display: inline-flex !important;
  width: max-content !important;
  white-space: nowrap !important;
  animation: marquee 45s linear infinite !important;
  will-change: transform;
}

.animate-marquee:hover,
.marquee-track:hover,
.group:hover .animate-marquee,
.group:hover .marquee-track {
  animation-play-state: paused !important;
}

/* ==========================================================================
   Shimmer Sweep Animation for CTA
   ========================================================================== */
@keyframes shimmer {
  0% {
    transform: translateX(-150%) skewX(-15deg);
  }
  100% {
    transform: translateX(250%) skewX(-15deg);
  }
}

.animate-shimmer {
  animation: shimmer 4s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ==========================================================================
   Pulse Glow for High-Converting CTA Buttons
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 25px -5px rgba(232, 116, 42, 0.35), 0 8px 10px -6px rgba(232, 116, 42, 0.2);
  }
  50% {
    box-shadow: 0 20px 35px -5px rgba(232, 116, 42, 0.55), 0 12px 16px -6px rgba(232, 116, 42, 0.35);
  }
}

.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite !important;
}

/* ==========================================================================
   Subtle Organic Levitation
   ========================================================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite !important;
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .animate-shimmer,
  .pulse-glow,
  .animate-float,
  .animate-marquee,
  .marquee-track {
    animation: none !important;
  }
}

/* ==========================================================================
   Gumroad Checkout Overrides
   ========================================================================== */
a.gumroad-button,
.gumroad-button,
a[data-gumroad-single-product],
a[data-gumroad-overlay-checkout] {
  font-family: inherit !important;
  text-decoration: none !important;
  background-image: linear-gradient(135deg, #F17E30 0%, #E8742A 50%, #D6651E 100%) !important;
  background-color: #E8742A !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.logo-full {
  display: none !important;
}

/* ==========================================================================
   Bulletproof Customer Video Reviews Slider & Cards (Reels 9:16)
   ========================================================================== */
.hero-review-showcase {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.review-video-card {
  position: relative;
  width: 100%;
  max-width: 310px;
  height: 480px;
  max-height: 72vh;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background-color: #000000;
  border: 2px solid rgba(232, 116, 42, 0.5);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55);
  margin: 0 auto;
}

.review-video-element {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  background-color: #000000 !important;
}

.review-sound-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background-color: rgba(15, 61, 46, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFE500;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 229, 0, 0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.review-play-overlay-btn {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.32);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.review-play-overlay-btn:hover {
  background: rgba(0, 0, 0, 0.18);
}

.review-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid #FFE500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease;
}

.review-play-pill:hover {
  transform: scale(1.05);
}

.review-details-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 16px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
  pointer-events: none;
}

/* ==========================================================================
   Bulletproof Countdown Timer Box
   ========================================================================== */
.flash-countdown-container {
  width: 100%;
  max-width: 440px;
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #123d2f 0%, #0c2b21 100%);
  border: 2px solid #E8742A;
  box-shadow: 0 12px 28px -6px rgba(232, 116, 42, 0.3);
  color: #FBF5EA;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.flash-countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown-digits-wrapper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-box-tile {
  background: rgba(0, 0, 0, 0.75) !important;
  border: 1px solid rgba(255, 229, 0, 0.45) !important;
  border-radius: 12px !important;
  padding: 6px 12px !important;
  min-width: 64px !important;
  text-align: center !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6) !important;
}

.countdown-box-tile .countdown-hours,
.countdown-box-tile .countdown-mins,
.countdown-box-tile .countdown-secs {
  display: block !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #FFE500 !important;
  font-variant-numeric: tabular-nums !important;
}

.countdown-box-tile .countdown-label {
  display: block !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(251, 245, 234, 0.8) !important;
  margin-top: 2px !important;
}

.countdown-colon {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #FFE500 !important;
  line-height: 1 !important;
}

