/*
Theme Name: Fulfilled Coffee Lab
Theme URI: https://fulfilledcoffeelab.com
Author: Fulfilled Coffee Lab
Author URI: https://fulfilledcoffeelab.com
Description: A premium specialty coffee roaster theme with clean, modern aesthetics. Features a full-width hero video, product showcase, brand story section, and newsletter signup.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fulfilled-coffee
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, full-width-template, e-commerce
*/

/* ========================================
   CSS Custom Properties (Variables)
======================================== */
:root {
  /* Light Mode Colors */
  --background: #fdfcfc;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --primary: #1a1a1a;
  --primary-foreground: #fdfcfc;
  --secondary: #f5f3f0;
  --secondary-foreground: #1a1a1a;
  --muted: #f0eeeb;
  --muted-foreground: #6b6b6b;
  --accent: #8b6914;
  --accent-foreground: #fdfcfc;
  --border: #e8e6e3;
  --input: #e8e6e3;
  --ring: #8b6914;
  --radius: 0.25rem;

  /* Fonts */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Dark Mode */
.dark {
  --background: #1a1a1a;
  --foreground: #fafafa;
  --card: #262626;
  --card-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #1a1a1a;
  --secondary: #333333;
  --secondary-foreground: #fafafa;
  --muted: #333333;
  --muted-foreground: #a3a3a3;
  --border: #333333;
  --input: #333333;
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ========================================
   Typography
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}
.text-7xl {
  font-size: 4.5rem;
}
.text-8xl {
  font-size: 6rem;
}

@media (max-width: 768px) {
  .text-5xl {
    font-size: 2.25rem;
  }
  .text-7xl {
    font-size: 3rem;
  }
  .text-8xl {
    font-size: 4rem;
  }
}

.uppercase {
  text-transform: uppercase;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}

/* ========================================
   Layout & Container
======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 1.5rem;
}

.bg-secondary {
  background-color: var(--secondary);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-background {
  background-color: var(--background);
}

/* ========================================
   Header / Navigation
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.5s ease;
}

.site-header.scrolled {
  background-color: rgba(253, 252, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--primary-foreground);
  transition: color 0.3s ease;
}

.site-header.scrolled .site-logo .logo-text {
  color: var(--foreground);
}

.site-logo .logo-tagline {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 252, 252, 0.7);
  transition: color 0.3s ease;
}

.site-header.scrolled .site-logo .logo-tagline {
  color: var(--muted-foreground);
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-nav a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-foreground);
  transition: color 0.3s ease;
  position: relative;
}

.site-header.scrolled .main-nav a {
  color: var(--foreground);
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  color: var(--primary-foreground);
  transition: color 0.3s ease;
}

.site-header.scrolled .cart-icon {
  color: var(--foreground);
}

.cart-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.cart-icon:hover svg {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  color: var(--primary-foreground);
  padding: 0.5rem;
}

.site-header.scrolled .mobile-menu-toggle {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Navigation */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
}

.mobile-nav.open {
  max-height: 16rem;
  opacity: 1;
  margin-top: 1rem;
}

.mobile-nav-inner {
  padding: 1.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-header.scrolled .mobile-nav-inner {
  border-color: var(--border);
}

.mobile-nav a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-foreground);
  transition: all 0.3s ease;
}

.site-header.scrolled .mobile-nav a {
  color: var(--foreground);
}

.mobile-nav a:hover {
  color: var(--accent);
  transform: translateX(0.5rem);
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-inner {
  max-width: 48rem;
}

.hero-subtitle {
  color: rgba(253, 252, 252, 0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(1rem);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(1rem);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.4s;
}

.hero-line {
  width: 0;
  height: 1px;
  background: rgba(253, 252, 252, 0.5);
  margin: 0 auto 1.5rem;
  animation: expandLine 1s ease forwards;
  animation-delay: 0.8s;
}

.hero-description {
  color: rgba(253, 252, 252, 0.9);
  font-size: 1.125rem;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(1rem);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.6s;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Video Controls */
.video-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
}

.video-control-btn {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: 50%;
  color: var(--foreground);
  transition: transform 0.3s ease;
}

.video-control-btn:hover {
  transform: scale(1.1);
}

.video-control-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 1.2s;
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(253, 252, 252, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.5rem;
  background: rgba(253, 252, 252, 0.5);
  border-radius: 9999px;
  animation: bounce 1.5s infinite;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-foreground);
  color: var(--foreground);
}

.btn-primary:hover {
  background: rgba(253, 252, 252, 0.9);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid var(--primary-foreground);
}

.btn-outline:hover {
  background: rgba(253, 252, 252, 0.1);
  transform: scale(1.05);
}

.btn-dark {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-dark:hover {
  background: var(--accent);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(0.25rem);
}

/* ========================================
   Section Headers
======================================== */
.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.with-link {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-header.with-link {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3rem);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  position: relative;
}

.section-link:hover {
  color: var(--accent);
}

.section-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.section-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.section-link:hover svg {
  transform: translateX(0.25rem);
}

/* ========================================
   Products Grid
======================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-0.5rem);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--secondary);
  margin-bottom: 1rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-origin {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.product-card:hover .product-origin {
  color: var(--accent);
}

.product-name {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: var(--accent);
}

.product-price {
  color: var(--muted-foreground);
}

/* ========================================
   Brand Story Section
======================================== */
.brand-story {
  overflow: hidden;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .brand-story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.brand-story-content {
  order: 2;
}

@media (min-width: 1024px) {
  .brand-story-content {
    order: 1;
  }
}

.brand-story-text {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.brand-story-images {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .brand-story-images {
    order: 2;
  }
}

.brand-story-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.brand-story-image:nth-child(2) {
  margin-top: 2rem;
}

.brand-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.brand-story-image:hover img {
  transform: scale(1.05);
}

/* ========================================
   Origins Section
======================================== */
.origins-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .origins-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.origin-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}

.origin-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.origin-card:hover img {
  transform: scale(1.1);
}

.origin-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
  transition: background 0.5s ease;
}

.origin-card:hover .origin-overlay {
  background: rgba(26, 26, 26, 0.5);
}

.origin-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.origin-region {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(253, 252, 252, 0.7);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.origin-card:hover .origin-region {
  color: var(--primary-foreground);
}

.origin-country {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-foreground);
  position: relative;
  display: inline-block;
}

.origin-country::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-foreground);
  transition: width 0.5s ease;
}

.origin-card:hover .origin-country::after {
  width: 100%;
}

/* ========================================
   Learn/Guides Section
======================================== */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .guides-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.guide-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.guide-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 1rem;
}

.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.guide-card:hover .guide-image img {
  transform: scale(1.1);
}

.guide-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.2);
  transition: background 0.5s ease;
}

.guide-card:hover .guide-image-overlay {
  background: rgba(26, 26, 26, 0.4);
}

.play-button {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(253, 252, 252, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.guide-card:hover .play-button {
  transform: scale(1.1);
}

.play-button svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--foreground);
  margin-left: 0.25rem;
}

.guide-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.guide-card:hover .guide-title {
  color: var(--accent);
}

.guide-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Newsletter Section
======================================== */
.newsletter {
  overflow: hidden;
}

.newsletter-content {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-text {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
  background: var(--background);
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

.newsletter-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(139, 105, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-tagline {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 252, 252, 0.7);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(253, 252, 252, 0.7);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a,
.footer-column span {
  font-size: 0.875rem;
  color: rgba(253, 252, 252, 0.7);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-foreground);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: rgba(253, 252, 252, 0.7);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-foreground);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(253, 252, 252, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(253, 252, 252, 0.5);
}

/* ========================================
   WooCommerce Compatibility
======================================== */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.woocommerce ul.products li.product {
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product a img {
  margin-bottom: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
}

.woocommerce ul.products li.product .price {
  color: var(--muted-foreground);
}

.woocommerce .button,
.woocommerce a.button {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.3s ease;
}

.woocommerce .button:hover,
.woocommerce a.button:hover {
  background: var(--accent);
}

/* ========================================
   Animations
======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 6rem;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(2rem);
  transition: all calc(0.8s * var(--fc-anim-mult, 1)) cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.scale {
  transform: scale(0.95);
}

.animate-on-scroll.scale.is-visible {
  transform: scale(1);
}

/* Stagger delays */
.delay-1 {
  transition-delay: calc(100ms * var(--fc-anim-mult, 1));
}
.delay-2 {
  transition-delay: calc(200ms * var(--fc-anim-mult, 1));
}
.delay-3 {
  transition-delay: calc(300ms * var(--fc-anim-mult, 1));
}
.delay-4 {
  transition-delay: calc(400ms * var(--fc-anim-mult, 1));
}
.delay-5 {
  transition-delay: calc(500ms * var(--fc-anim-mult, 1));
}
.delay-6 {
  transition-delay: calc(600ms * var(--fc-anim-mult, 1));
}

/* If animations are disabled, ensure content isn't hidden */
body.fc-animations-off .animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}

body.fc-animations-off .delay-1,
body.fc-animations-off .delay-2,
body.fc-animations-off .delay-3,
body.fc-animations-off .delay-4,
body.fc-animations-off .delay-5,
body.fc-animations-off .delay-6 {
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
  .delay-1,
  .delay-2,
  .delay-3,
  .delay-4,
  .delay-5,
  .delay-6 {
    transition-delay: 0ms !important;
  }
}

/* ========================================
   WordPress Specific
======================================== */
.wp-caption {
  max-width: 100%;
}

.wp-caption img {
  display: block;
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin: 0 auto 1.5rem;
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--background);
  clip: auto !important;
  clip-path: none;
  color: var(--foreground);
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* WordPress Block Editor */
.wp-block-button .wp-block-button__link {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
}

.entry-content > *:not(:last-child) {
  margin-bottom: 1.5rem;
}
