/*
Theme Name:   Blocksy Child
Theme URI:    https://creativethemes.com/blocksy/
Description:  Child theme for Blocksy with Minifig Customizer integration
Author:       Ignas
Author URI:   https://wagency.lt
Template:     blocksy
Version:      3.8.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  blocksy-child
*/

/* Your custom styles will go here */


/* ===== HERO SECTION ===== */
.hero-section-home {
  max-width: 1600px;
  min-height: 700px;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 40px;
  background-image: url('/wp-content/uploads/2026/01/star-wars-lego-figureles-scaled.webp');
  background-size: cover;
  background-position: center center !important;
  background-repeat: no-repeat;
  position: relative;
  border: 2px solid var(--theme-palette-color-4);
  border-radius: 30px;
}

/* Fallback for browsers without WebP support */
.no-webp .hero-section-home {
  background-image: url('/wp-content/uploads/2026/01/star-wars-lego-figureles-scaled.jpg');
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px; 
  text-align: left; 
} 


/* Custom Hero H1 */
.hero-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.07em !important;
  text-transform: uppercase;
  color: #FFFFFF !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Slightly stronger for contrast */

  /* Frosted glass effect */
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px); /* Safari support */
  
  padding: 40px 48px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for depth */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Depth shadow */
}

/* Hero Tagline */
.hero-tagline {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(1rem, 2vw, 1.125rem) !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  line-height: 1.5 !important; /* Better readability */
  margin-bottom: 32px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  /* Frosted glass effect */
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px); /* Safari support */
  
  padding: 40px 48px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for depth */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Depth shadow */
}

.hero-cta {
  margin-top: 30px;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {
  .hero-section-home {
    min-height: 650px; /* Slightly reduced */
    max-height: none;
    background-position: center bottom; /* Adjusted - shows more of bottom */
    padding: 24px 16px; /* Reduced top/bottom padding */
    align-items: stretch;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  /* Hero Title - Very compact */
  .hero-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem) !important; /* Even smaller */
    letter-spacing: -0.02em !important;
    padding: 16px 14px !important; /* Minimal padding */
    margin-bottom: 10px !important;
    line-height: 1.05 !important; /* Tighter line height */
  }
  
  /* Hero Tagline - Very compact */
  .hero-tagline {
    font-size: clamp(0.8rem, 3.2vw, 0.95rem) !important; /* Even smaller */
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
    padding: 14px 14px !important; /* Minimal padding */
  }
  
  .hero-cta {
    margin-top: 14px;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section-home {
    min-height: 800px;
    padding: 60px 40px; /* Adjusted for tablet */
  }
  
  .hero-content {
    max-width: 550px;
  }
}


/* ===== PRODUCT PAGE HERO ===== */
.minifig-product-hero {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  margin: clamp(2.5rem, 3vw, 3rem) auto; /* auto centers it */
  max-width: 1600px; /* constrains width */
}

.minifig-product-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Left Column - Text Content */
.minifig-product-hero__content {
  text-align: left;
}

.minifig-product-hero__headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--theme-palette-color-3);
  margin: 0 0 1rem;
  line-height: 1;
}

.minifig-product-hero__subheadline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--theme-palette-color-3);
  margin: 0 0 2rem;
  line-height: 1.6;
  opacity: 0.85;
}

.minifig-product-hero__trust-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.minifig-product-hero .trust-badge {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
  gap:0.25rem;
  background: var(--theme-palette-color-8);
  border-radius: 8px;
  transition: all 0.2s ease;
  width: fit-content;
}

.minifig-product-hero .trust-badge:hover {
  transform: translateX(8px);
}

.minifig-product-hero .trust-badge__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--theme-palette-color-4);
}

.minifig-product-hero .trust-badge__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-palette-color-3);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right Column - Image */
.minifig-product-hero__image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.minifig-product-hero__image:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(174, 217, 224, 0.4);
}

.minifig-product-hero__image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .minifig-product-hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .minifig-product-hero__content {
    text-align: center;
  }
  
  .minifig-product-hero__trust-badges {
    align-items: center;
  }
  
  .minifig-product-hero .trust-badge {
    width: 100%;
    max-width: 320px;
  }
  
  .minifig-product-hero .trust-badge:hover {
    transform: translateY(-4px);
  }
  
  .minifig-product-hero__image {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .minifig-product-hero {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .minifig-product-hero__image {
    max-width: 320px;
  }
}






/* Trust Section */
.trust-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
  text-align: center;
}

.trust-section .wp-block-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.3s ease;
}

.trust-section .wp-block-column:hover {
  transform: translateY(-4px);
}

.trust-section img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.trust-section .wp-block-column:hover img {
  transform: scale(1.1);
}

.trust-section p {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--theme-palette-color-3);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.trust-section .wp-block-column:hover p {
  color: var(--theme-palette-color-1);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .trust-section {
    padding: 28px 16px;
  }
  
  .trust-section img {
    width: 40px;
    height: 40px;
  }
  
  .trust-section p {
    font-size: 10px !important; /* Much smaller for mobile */
    font-weight: 500; /* Slightly lighter weight */
    letter-spacing: 0.02em;
    line-height: 1.3;
  }
  
  /* Add breathing room between columns */
  .trust-section .wp-block-column {
    gap: 2px;
  }
}

/* Extra small phones (if needed) */
@media (max-width: 400px) {
  .trust-section p {
    font-size: 10px !important;
  }
  
  .trust-section img {
    width: 36px;
    height: 36px;
  }
}

/* Kas Tai Section */
.kas-tai-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
}

/* Kas Tai Heading */
.kas-tai-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin-bottom: 24px;
}

/* Intro Text */
.kas-tai-intro {
  max-width: 600px;
  margin: 0 auto 48px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: var(--theme-palette-color-3);
}

/* Cards Container */
.kas-tai-cards {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  justify-content: center;
}

/* Product Cards */
.product-card {
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-5);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
  flex: 0 0 auto; /* Prevent flex-grow - keep natural width */
}

/* Override Gutenberg column flex when it has product-card class */
.wp-block-column.product-card {
  flex: 0 0 auto !important;
  max-width: fit-content;
}

/* Card floating animation - alternate timing for each card */
.kas-tai-cards .product-card:first-child {
  animation-delay: 0s;
}

.kas-tai-cards .product-card:last-child {
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Card hover effects */
.product-card:hover {
  transform: scale(1.03) translateY(-5px);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 12px 24px rgba(174, 217, 224, 0.3);
  animation-play-state: paused;
}

/* Card images */
.product-card .wp-block-image {
  margin-bottom: 16px;
}

.product-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

/* Card text */
.product-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin: 0;
}

/* ARBA Text */
.arba-text {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arba-text p {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  transform: rotate(-7deg);
  color: var(--theme-palette-color-4);
  text-shadow: 
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    4px 4px 8px rgba(0, 0, 0, 0.3);
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}

/* CTA Button */
.kas-tai-cta .wp-block-button__link {
  background: var(--theme-palette-color-1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.kas-tai-cta .wp-block-button__link:hover {
  background: var(--theme-palette-color-2);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .kas-tai-section {
    padding: 48px 24px;
  }

  .kas-tai-cards {
    flex-direction: column;
    gap: 24px;
  }

  .arba-text p {
    font-size: 48px;
    transform: rotate(-5deg);
  }

  .product-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .kas-tai-intro {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .arba-text p {
    font-size: 40px;
  }

  .kas-tai-cta .wp-block-button__link {
    font-size: 16px;
    padding: 14px 32px;
  }
}

/* Kaip Tai Veikia Section */
.kaip-tai-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
}

/* Heading */
.kaip-tai-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin-bottom: 48px;
}

/* GIF Container */
.kaip-tai-gif {
  margin: 0 auto 40px;
  max-width: 900px;
}

.kaip-tai-gif img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid var(--theme-palette-color-5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kaip-tai-gif img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(174, 217, 224, 0.3);
}

/* Tagline Steps - with fun animations */
.kaip-tai-steps {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin: 0 auto 48px;
  letter-spacing: 0.05em;
}

.kaip-tai-steps .step-word,
.kaip-tai-steps .step-arrow {
  display: inline-block;
  margin: 0 8px;
  transition: all 0.3s ease;
}

/* Word rotations */
.kaip-tai-steps .word-1 {
  transform: rotate(-3deg);
}

.kaip-tai-steps .word-2 {
  transform: rotate(0deg);
}

.kaip-tai-steps .word-3 {
  transform: rotate(3deg);
}

/* Hover lift effect on words */
.kaip-tai-steps .step-word:hover {
  transform: translateY(-5px) scale(1.05) rotate(0deg);
  color: var(--theme-palette-color-1);
  cursor: default;
}

/* Arrows - BIG and BOLD like ARBA! */
.kaip-tai-steps .step-arrow {
  display: inline-block;
  font-size: 48px;
  font-weight: 800;
  margin: 0 16px;
  color: var(--theme-palette-color-4);
  animation: arrowPulse 2s ease-in-out infinite;
  text-shadow: 
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    3px 3px 6px rgba(0, 0, 0, 0.3);
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}

@keyframes arrowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* CTA Button */
.kaip-tai-cta .wp-block-button__link {
  background: var(--theme-palette-color-1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.kaip-tai-cta .wp-block-button__link:hover {
  background: var(--theme-palette-color-2);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .kaip-tai-section {
    padding: 48px 24px;
  }

  .kaip-tai-heading {
    margin-bottom: 32px;
  }

  .kaip-tai-gif {
    max-width: 100%;
  }

  .kaip-tai-steps {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .kaip-tai-steps .step-arrow {
    font-size: 36px;
    margin: 0 12px;
  }

  .kaip-tai-cta .wp-block-button__link {
    font-size: 16px;
    padding: 14px 32px;
  }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
}

/* Gallery Heading */
.gallery-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin-bottom: 48px;
}

/* Desktop Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 0;
}

/* Gallery Items */
.gallery-item {
  border-radius: 12px;
  border: 2px solid var(--theme-palette-color-5);
  padding: 12px; /* Padding on container, not image */
  background: var(--theme-palette-color-8); /* White background shows padding */
  overflow: visible; /* Allow inner radius to show */
  transition: all 0.3s ease;
  
  /* Entrance animation - fade in from bottom */
  opacity: 0;
  transform: translateY(20px);
  animation: galleryFadeIn 0.5s ease-out forwards;
}

/* Staggered entrance delays */
.gallery-grid .wp-block-column:nth-child(1) .gallery-item {
  animation-delay: 0.1s;
}

.gallery-grid .wp-block-column:nth-child(2) .gallery-item {
  animation-delay: 0.2s;
}

.gallery-grid .wp-block-column:nth-child(3) .gallery-item {
  animation-delay: 0.3s;
}

@keyframes galleryFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery Item Images */
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px; /* Slightly smaller radius than container */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Hover Effects - Alternating tilts */
.gallery-grid .wp-block-column:nth-child(1) .gallery-item:hover {
  transform: scale(1.05) rotate(-2deg);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 12px 24px rgba(174, 217, 224, 0.3);
}

.gallery-grid .wp-block-column:nth-child(2) .gallery-item:hover {
  transform: scale(1.05) rotate(0deg);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 12px 24px rgba(174, 217, 224, 0.3);
}

.gallery-grid .wp-block-column:nth-child(3) .gallery-item:hover {
  transform: scale(1.05) rotate(2deg);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 12px 24px rgba(174, 217, 224, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== MOBILE CAROUSEL ===== */
@media (max-width: 1023px) {
  .gallery-section {
    padding: 48px 0 48px 24px;
  }

  .gallery-heading {
    padding: 0 24px;
    margin-bottom: 32px;
  }

  /* Target ONLY columns inside gallery-grid */
  .gallery-section .gallery-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin-bottom: 0;
  }

  .gallery-section .gallery-grid::-webkit-scrollbar {
    display: none;
  }
  
  .gallery-section .gallery-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* More specific selector - only gallery columns */
  .gallery-section .gallery-grid > .wp-block-column {
    flex: 0 0 calc(100% - 80px) !important;
    max-width: calc(100% - 80px) !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gallery-section .gallery-grid .gallery-item {
    transform: scale(0.98);
    transition: transform 0.3s ease;
  }

  .gallery-section .gallery-grid > .wp-block-column:first-child .gallery-item {
    transform: scale(1.02);
  }

  /* Remove desktop hover effects on mobile */
  .gallery-section .gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--theme-palette-color-5);
    box-shadow: none;
  }

  .gallery-section .gallery-item:hover img {
    transform: scale(1);
  }
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
  text-align: center;
}

.pricing-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  padding-bottom: 48px;
}

.pricing-section > .wp-block-columns {
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-section .wp-block-column:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pricing-section .wp-block-column:last-child img {
  max-width: 340px; 
  width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.15));
}

.pricing-price {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  transform: rotate(-7deg);
  color: var(--theme-palette-color-4);
  text-shadow: 
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    4px 4px 8px rgba(0,0,0,0.3);
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  display: inline-block;
}

.pricing-benefit {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--theme-palette-color-3);
  margin: 8px 0;
}

.courier-logos {
  margin: 16px 0 24px 0;
  width: auto;
}

.courier-logo img {
  max-height:120px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .pricing-section {
    padding: 48px 24px;
  }
  .pricing-section .wp-block-column:first-child {
    text-align: center;
  }
  .pricing-section .wp-block-columns {
    flex-direction: column-reverse;
  }
  .pricing-section .wp-block-column:last-child img {
    max-width: 200px;
  }
  .pricing-price {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 24px;
  }
  .courier-logo img {
  max-height:80px;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
}

/* FAQ Heading */
.faq-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin-bottom: 48px;
}

/* FAQ Card Container */
.faq-card {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-5);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 12px 24px rgba(174, 217, 224, 0.3);
}

/* Individual FAQ Items */
.faq-item {
  border-bottom: 1px solid var(--theme-palette-color-5);
  padding: 16px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--theme-palette-color-3);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--theme-palette-color-1);
}

/* Arrow Icon */
.faq-arrow {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-palette-color-4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(90deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--theme-palette-color-3);
  margin: 16px 0 0 0;
  padding-right: 48px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 8px;
}

.faq-answer li {
  margin: 8px 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .faq-section {
    padding: 48px 24px;
  }

  .faq-card {
    padding: 24px 20px;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-arrow {
    font-size: 1.5rem;
    margin-left: 12px;
  }

  .faq-answer p,
  .faq-answer ul {
    font-size: 0.9rem;
    padding-right: 0;
  }
}


/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 32px;
  overflow: visible;
}

/* Testimonials Heading */
.testimonials-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin-bottom: 48px;
}

/* Carousel Wrapper with Arrows */
.testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Carousel Container */
.testimonials-carousel {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  padding: 12px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

/* Testimonial Cards */
.testimonial-card {
  flex: 0 0 calc((100% - 64px) / 3);
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-5);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 16px 32px rgba(174, 217, 224, 0.3);
}

/* Big Opening Quote Mark */
.testimonial-quote-mark {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--theme-palette-color-4);
  line-height: 1;
  margin-bottom: 8px;
}

/* Star Rating */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars .star {
  font-size: 1.25rem;
  color: var(--theme-palette-color-4);
}

/* Testimonial Text */
.testimonial-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--theme-palette-color-3);
  margin: 0 0 16px 0;
}

/* Author Name */
.testimonial-author {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--theme-palette-color-1);
  margin: 0;
}

/* Navigation Arrows */
.testimonial-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-5);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-palette-color-3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-arrow:hover {
  background: var(--theme-palette-color-4);
  border-color: var(--theme-palette-color-4);
  color: #000;
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .testimonials-section {
    padding: 48px 24px;
  }

  .testimonials-wrapper {
    gap: 16px;
  }

  .testimonials-track {
    gap: 16px;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - 16px);
    padding: 28px 24px;
  }

  .testimonial-quote-mark {
    font-size: 3rem;
  }

  .testimonial-stars .star {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
  }
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
  background: var(--theme-palette-color-4);
  max-width: 1600px;
  border-radius:30px;
  padding: 32px 32px;
  margin: 0;
  text-align: center;
}

.final-cta-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* 3-Step Process - BIG & BOLD */
.final-cta-steps {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  color: #000;
  margin: 0 auto 48px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta-step-word,
.cta-step-arrow {
  display: inline-block;
  margin: 0 16px;
  transition: all 0.3s ease;
}

/* Word rotations and floating */
.cta-step-word {
  animation: ctaFloat 3s ease-in-out infinite;
}

.cta-step-word.word-1 {
  transform: rotate(-3deg);
  animation-delay: 0s;
}

.cta-step-word.word-2 {
  transform: rotate(0deg);
  animation-delay: 1s;
}

.cta-step-word.word-3 {
  transform: rotate(3deg);
  animation-delay: 2s;
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rotation, 0deg)); }
}

.cta-step-word.word-1 { --rotation: -3deg; }
.cta-step-word.word-2 { --rotation: 0deg; }
.cta-step-word.word-3 { --rotation: 3deg; }

/* Hover lift effect on words */
.cta-step-word:hover {
  transform: translateY(-8px) scale(1.05) rotate(0deg) !important;
  cursor: default;
}

/* Arrows - BIG and BOLD with stroke */
.cta-step-arrow {
  display: inline-block;
  width: clamp(2rem, 4vw, 3.5rem);
  height: clamp(2rem, 4vw, 3.5rem);
  margin: 0 24px;
  vertical-align: middle;
  animation: ctaArrowPulse 2s ease-in-out infinite;
}

@keyframes ctaArrowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* CTA Button */
.final-cta-button-wrapper {
  margin-bottom: 40px;
}

.final-cta-button {
  display: inline-block;
  background: var(--theme-palette-color-1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 48px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
  
  /* Continuous pulse animation */
  animation: ctaButtonPulse 2s ease-in-out infinite;
}

@keyframes ctaButtonPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(33, 150, 243, 0.5);
  }
}

.final-cta-button:hover {
  background: var(--theme-palette-color-2);
  color: var(--theme-palette-color-8);
  transform: scale(1.1) !important;
  box-shadow: 0 16px 32px rgba(33, 150, 243, 0.6) !important;
  animation-play-state: paused;
}

/* Trust Badges */
.final-cta-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.final-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.trust-check {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .final-cta-section {
    padding: 48px 24px;
  }

  .final-cta-steps {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 32px;
  }

  .cta-step-word,
  .cta-step-arrow {
    margin: 0 8px;
  }

  .cta-step-arrow {
    font-size: clamp(2rem, 8vw, 3rem);
    margin: 0 12px;
  }

  .final-cta-button {
    font-size: 1rem;
    padding: 16px 32px;
  }

  .final-cta-trust {
    flex-direction: column;
    gap: 16px;
  }

  .final-trust-item {
    font-size: 0.9rem;
  }

  .trust-check {
    font-size: 1.25rem;
  }
}

/* Legal Pages Styling */
.legal-page .entry-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #1b1512;
}

/* Main page title */
.legal-page .entry-header .entry-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1b1512;
  text-align: center;
  margin-bottom: 40px;
}

/* Section headings (H2, H3) */
.legal-page .entry-content h2,
.legal-page .entry-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #AED9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-page .entry-content h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #AED9E0;
  padding-bottom: 10px;
}

.legal-page .entry-content h3 {
  font-size: 1.25rem;
}

/* Paragraphs */
.legal-page .entry-content p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* Lists */
.legal-page .entry-content ul,
.legal-page .entry-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.legal-page .entry-content li {
  margin-bottom: 8px;
}

/* Links */
.legal-page .entry-content a {
  color: #AED9E0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-page .entry-content a:hover {
  color: #2196F3;
}

/* Red bold placeholders */
.legal-page .entry-content strong {
  color: #ff0000;
  font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .legal-page .entry-content {
    margin: 30px auto;
    padding: 0 16px;
  }
  
  .legal-page .entry-header .entry-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }
}

/* ===== HOW IT WORKS SECTION ===== */
.minifig-how-it-works {
  background: var(--theme-palette-color-8);
  padding: clamp(2rem, 3vw, 3rem) clamp(1rem, 2vw, 1.5rem);
  margin: 0 0 clamp(2rem, 3vw, 3rem) 0;
}

.minifig-how-it-works__container {
  max-width: 1400px;
  margin: 0 auto;
}

.minifig-how-it-works__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.minifig-how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.how-it-works-step {
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-4);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.how-it-works-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(174, 217, 224, 0.3);
  border-color: var(--theme-palette-color-1);
}

.how-it-works-step__icon {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.how-it-works-step__number {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--theme-palette-color-4);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.how-it-works-step__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 700;
  color: var(--theme-palette-color-3);
  margin: 0 0 0.75rem;
}

.how-it-works-step__description {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.875rem, 1vw, 1rem);
  color: var(--theme-palette-color-3);
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .minifig-how-it-works {
    padding-left: 0;
    padding-right: 0;
  }

  .minifig-how-it-works__title {
    padding: 0 1.5rem;
  }

  .minifig-how-it-works__steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 1.5rem 1rem;
    scrollbar-width: none;
  }

  .minifig-how-it-works__steps::-webkit-scrollbar {
    display: none;
  }

  .how-it-works-step {
    flex: 0 0 75vw;
    max-width: 300px;
    scroll-snap-align: start;
    margin: 0;
  }
}

/* ===== GLOBAL SECTION SPACING ADJUSTMENT ===== */
.minifig-product-hero {
  margin-bottom: clamp(2.5rem, 3vw, 3rem);
}

.minifig-how-it-works {
  margin: clamp(2.5rem, 3vw, 3rem) 0;
}

/* ===== PRODUCT SHOWCASE ===== */
.minifig-showcase {
  background: var(--theme-palette-color-8);
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  margin: clamp(2.5rem, 3vw, 3rem) 0;
}

.minifig-showcase__container {
  max-width: 1400px;
  margin: 0 auto;
}

.minifig-showcase__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin: 0 0 clamp(2rem, 3vw, 2.5rem);
}

.minifig-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 2vw, 2rem);
}

.showcase-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-4);
}

.showcase-item:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(174, 217, 224, 0.4);
}

.showcase-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .minifig-showcase {
    padding-left: 0;
    padding-right: 0;
  }

  .minifig-showcase__title {
    padding: 0 1.5rem;
  }

  .minifig-showcase__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 1.5rem 1rem;
    scrollbar-width: none;
  }

  .minifig-showcase__grid::-webkit-scrollbar {
    display: none;
  }

  .showcase-item {
    flex: 0 0 75vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

/* ===== PRODUCT PAGE FAQ SECTION ===== */
.minifig-faq {
  max-width: 1400px;
  margin: clamp(2.5rem, 3vw, 3rem) auto;
  padding: 32px 32px;
  width: 100%
}

.minifig-faq__container {
  max-width: 1400px;
  margin: 0 auto;
}

.minifig-faq__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--theme-palette-color-3);
  margin-bottom: 48px;
}

.minifig-faq__items {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--theme-palette-color-8);
  border: 2px solid var(--theme-palette-color-5);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.minifig-faq__items:hover {
  transform: translateY(-4px);
  border-color: var(--theme-palette-color-4);
  box-shadow: 0 12px 24px rgba(174, 217, 224, 0.3);
}

.minifig-faq .faq-item {
  width: 100%;
  border-bottom: 1px solid var(--theme-palette-color-5);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 16px 0;
  background: none;
}

.minifig-faq .faq-item:last-child {
  border-bottom: none;
}

.minifig-faq .faq-item:hover {
  transform: none;
  box-shadow: none;
}

.minifig-faq .faq-item__question {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--theme-palette-color-3);
  padding: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.3s ease;
  background: none;
  width: 100%;
}

.minifig-faq .faq-item__question:hover {
  color: var(--theme-palette-color-1);
  background: none;
}

.minifig-faq .faq-item__question::-webkit-details-marker {
  display: none;
}

.minifig-faq .faq-item__icon {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-palette-color-4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.minifig-faq .faq-item[open] .faq-item__icon {
  transform: rotate(90deg);
}

.minifig-faq .faq-item[open] {
  width: 100%;
}

.minifig-faq .faq-item__answer {
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--theme-palette-color-3);
  line-height: 1.6;
  width: 100%;
  box-sizing: border-box;
}

.minifig-faq .faq-item__answer p {
  margin: 16px 0 0 0;
  padding-right: 48px;
}

@media (max-width: 767px) {
  .minifig-faq {
    padding: 48px 24px;
  }

  .minifig-faq__items {
    padding: 24px 20px;
  }

  .minifig-faq .faq-item__question {
    font-size: 1rem;
  }

  .minifig-faq .faq-item__icon {
    font-size: 1.5rem;
    margin-left: 12px;
  }

  .minifig-faq .faq-item__answer p {
    font-size: 0.9rem;
    padding-right: 0;
  }
}

