@import "https://fonts.googleapis.com/css2?family=IM+Fell+English:ital,wght@0,400;0,800;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&family=Creepster&display=swap";

/*!
Theme Name: Devil's Dreamworld
Theme URI: https://devilsdreamworld.com/
Description: Devil's Dreamworld WordPress theme - Dark Horror Version (CONSOLIDATED)
Version: 2.2
Author: Daniel Harrold
*/

/* ========================================
   RESET & BASIC STYLING  
======================================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, sans-serif;
}

html {
  overflow-y: auto;
  height: auto;
  min-height: 100%;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  background: #000 !important;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  height: auto;
  min-height: 100vh;
}

body.admin-bar {
  padding-top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   TYPOGRAPHY - CONSOLIDATED
======================================== */
/* Unified heading styles */
h1, h2, h3, h4, h5, h6,
.hero-title-dark, .section-title, .page-title, .product-title, 
.blog-title, .result-title, .woocommerce-loop-product__title,
.section-title-dark, .contact-form-title, .contact-info-title,
.page-hero-title, .welcome-title, .newsletter-title {
  font-family: "IM Fell English", serif !important;
  font-weight: 400 !important;
  color: #fff;
  text-align: center !important;
}

/* Heading sizes */
h1, .page-title, .hero-title-dark, .page-hero-title {
  font-size: 48px;
}

h2, .section-title, .section-title-dark {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

/* Hero title specific styling */
.hero-title-dark {
  font-size: clamp(48px, 8vw, 90px) !important;
  font-weight: 800 !important;
  line-height: 0.9;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.page-hero-title {
  font-size: clamp(36px, 6vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Welcome text styling */
.hero-welcome {
  font-family: "IM Fell English", serif !important;
  font-size: 16px !important;
  color: #fff !important;
  margin-bottom: 10px;
  letter-spacing: 3px;
  font-weight: 400 !important;
  text-align: center !important;
}

/* Subtitle styling - CONSOLIDATED */
.section-subtitle, .page-subtitle, .hero-subtitle-dark, 
.page-hero-subtitle, .contact-form-subtitle, .contact-info-subtitle {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 50px;
  color: #ccc;
  text-align: center;
}

.hero-subtitle-dark {
  font-size: 18px;
  color: #fff;
  margin-bottom: 40px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Paragraph and link styles */
p {
  margin-bottom: 16px;
  color: #ccc;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #ccc;
}

/* Logo styling */
.logo-link, .header-logo a {
  font-family: "Creepster", cursive !important;
}

/* Force IM Fell English on buttons and legacy elements */
button, input[type="button"], input[type="submit"], .button, 
[class*="button"], .horror-button, .product-view-btn,
.carnival-glow, .hero-title, [class*="butcherman"], 
[style*="butcherman"], [style*="Butcherman"] {
      font-family: "IM Fell English", serif !important;
    gap: 20px;
    display: flex;
    justify-content: center;
align-items: center;
}

/* ========================================
   UNIFIED BUTTON SYSTEM - CONSOLIDATED
======================================== */
/* Primary button class - combines horror-button, product-view-btn, etc */
.btn-primary,
.horror-button,
.product-view-btn,
.contact-submit-btn,
.view-order-btn,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .woocommerce-loop-add-to-cart-link,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce-MyAccount-content .button,
.woocommerce-form .button,
button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid #8b5cf6;
  background: transparent;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 140px;
  text-align: center;
  cursor: pointer;
  border-radius: 0;
  font-family: "IM Fell English", serif !important;
}

.btn-primary:hover,
.horror-button:hover,
.product-view-btn:hover,
.contact-submit-btn:hover,
.view-order-btn:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .woocommerce-loop-add-to-cart-link:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce-MyAccount-content .button:hover,
.woocommerce-form .button:hover,
button:hover {
  background: #8b5cf6;
  color: #fff !important;
}

/* Primary variant */
.btn-primary.primary,
.horror-button.primary {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

.btn-primary.primary:hover,
.horror-button.primary:hover {
  background: #7c3aed;
  border-color: #7c3aed;
}

/* Small button variant */
.btn-small,
.product-view-btn {
  padding: 8px 20px;
  font-size: 12px !important;
  min-width: 120px;
}

/* Large button variant */
.btn-large,
.contact-submit-btn,
.place-order-btn {
  padding: 15px 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.place-order-btn {
  width: 100%;
  padding: 18px 30px !important;
  font-size: 18px !important;
}

/* ========================================
   HEADER SYSTEM - CONSOLIDATED
======================================== */
.main-header {
  background: #000 !important;
  padding: 15px 0;
  position: relative;
  border-bottom: 1px solid #333;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.header-logo .logo-link {
  font-size: 24px;
  color: #f44 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-logo .logo-link:hover {
  color: #f66 !important;
}

/* Navigation styling */
.header-nav .header-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header-nav .header-menu li a {
  color: #fff !important;
  font-weight: 400;
  padding: 8px 15px;
  transition: all 0.3s ease;
  font-size: 15px;
  text-decoration: none;
  font-family: "Open Sans", Arial, sans-serif;
  position: relative;
  display: block;
  border-radius: 4px;
}

.header-nav .header-menu li a:hover {
  color: #f44 !important;
  background: rgba(255, 255, 255, 0.05);
}

/* Current page indicator */
.header-nav .header-menu li.current-menu-item > a,
.header-nav .header-menu li.current_page_item > a,
.header-nav .header-menu li.current-page-ancestor > a,
.header-nav .header-menu li.current-menu-ancestor > a {
  color: #f44 !important;
}

.header-nav .header-menu li.current-menu-item > a::after,
.header-nav .header-menu li.current_page_item > a::after,
.header-nav .header-menu li.current-page-ancestor > a::after,
.header-nav .header-menu li.current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  height: 2px;
  background-color: #8b5cf6;
  border-radius: 2px;
}

/* Header actions and cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  z-index: 1001;
}

.header-cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.header-cart-link:hover {
  color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.1);
}

.cart-count {
  background: #8b5cf6;
  color: #fff !important;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  top: -2px;
  right: -2px;
  animation: cartPulse 0.3s ease;
}

@keyframes cartPulse {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Header top bar */
.header-top-bar {
  background: #fff;
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.top-bar-items {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.top-bar-item {
  color: #000;
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px !important;
}

/* Top bar icons */
.top-bar-item:nth-child(1)::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b5cf6' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h2.5c1.38 0 2.5 1.12 2.5 2.5V15c0 .55-.45 1-1 1h-1c0 1.66-1.34 3-3 3s-3-1.34-3-3H9c0 1.66-1.34 3-3 3s-3-1.34-3-3H2c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h15c.55 0 1 .45 1 1v2zM6 18.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm12 0c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.top-bar-item:nth-child(2)::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b5cf6' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.top-bar-item:nth-child(3)::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b5cf6' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ========================================
   UNIFIED HERO SECTIONS - CONSOLIDATED
======================================== */
/* Main hero wrapper for homepage */
.hero-section-dark {
  position: relative;
  width: 100vw;
  height: 70vh;
  min-height: 600px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Enhanced page hero for other pages */
.page-hero-enhanced {
  position: relative;
  width: 100vw;
  height: 50vh;
  min-height: 400px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Simple page hero for basic pages */
.page-hero {
  padding: 40px 0;
  background: #000;
  text-align: center;
}

/* CONSOLIDATED hero background and overlay system */
.hero-background,
.page-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image,
.page-hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg-image {
  filter: brightness(0.9) contrast(1.2);
}


.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 100%;
  padding: 0;
}


/* CONSOLIDATED hero content */
.hero-content-dark,
.page-hero-content,
.page-hero-content-enhanced {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  position: relative;
  z-index: 3;
}

.page-hero-content-enhanced {
  max-width: 800px;
}

/* Hero buttons */
.hero-buttons-dark {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Breadcrumb styling */
.page-hero-breadcrumb {
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 20px;
  margin-bottom: 30px;
  display: inline-block;
  font-size: 14px;
  color: #ccc;
}

.page-hero-breadcrumb a {
  color: #8b5cf6;
  text-decoration: none;
}

.page-hero-breadcrumb a:hover {
  color: #fff;
}

/* Trustpilot section */
.trustpilot-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 80px;
  margin-top:30px;
}

.trustmark-image {
  max-width: 330px;
  height: auto;
  filter: brightness(1);
}

/* ========================================
   UNIFIED STATS SYSTEM - CONSOLIDATED
======================================== */
/* Homepage hero stats */
.hero-stats-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 30px 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  width: 100%;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Page hero stats */
.page-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 20px 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  width: 100%;
}

.page-hero-stats-content {
  display: flex;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* CONSOLIDATED stat item styling */
.stat-item,
.page-stat-item {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
  padding: 15px;
}

.page-stat-item {
  gap: 10px;
  padding: 0;
}

/* CONSOLIDATED stat icon styling */
.stat-icon,
.page-stat-icon {
  width: 32px !important;
  height: 32px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  flex-shrink: 0;
  font-size: 0 !important;
}

.page-stat-icon {
  width: 24px !important;
  height: 24px !important;
}

/* Hero stat icons */
.hero-stats .stat-item:nth-child(1) .stat-icon {
  background-image: url(https://devilsdreamworld.com/wp-content/uploads/2025/08/tools-icon.svg) !important;
}

.hero-stats .stat-item:nth-child(2) .stat-icon {
  background-image: url(https://devilsdreamworld.com/wp-content/uploads/2025/08/thumbs-up-icon.svg) !important;
}

.hero-stats .stat-item:nth-child(3) .stat-icon {
  background-image: url(https://devilsdreamworld.com/wp-content/uploads/2025/08/mask-icon.svg) !important;
}

/* CONSOLIDATED stat text styling */
.stat-text,
.page-stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.stat-number,
.page-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  display: block;
  line-height: 1.2;
  font-family: "Open Sans", Arial, sans-serif !important;
}

.page-stat-number {
  font-size: 20px;
}

.stat-label,
.page-stat-label {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  display: block;
  line-height: 1;
  font-family: "Open Sans", Arial, sans-serif !important;
}

.page-stat-label {
  font-size: 12px;
  color: #ccc;
}

/* ========================================
   UNIFIED GRID SYSTEM - CONSOLIDATED
======================================== */
/* Base grid class for all product displays */
.grid-base,
.products-grid,
.products-grid-dark,
.woocommerce ul.products,
.woocommerce .products,
.custom-related-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px !important;
  margin: 20px auto !important;
  list-style: none !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Specific styling for featured products section */
.featured-products-section-dark .grid-base,
.featured-products-section .grid-base {
  margin-bottom: 50px;
  margin: 0 auto;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.author-info {
  margin-bottom:16px;
  font-size: 14px;
}

/* Search results grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

/* Utility grids */
.helpful-grid,
.help-grid,
.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.help-grid {
  gap: 30px;
}

.recent-posts-grid {
  gap: 25px;
}

/* Two-column grids */
.grid-2col,
.craftsmanship-grid,
.reasons-grid,
.benefits-grid,
.contact-grid,
.custom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 40px 0;
}

.contact-grid {
  align-items: start;
}

.custom-content {
  align-items: center;
  margin: 0 auto;
}

/* Feature grids */
.shop-features-grid,
.product-features-grid,
.services-grid-dark,
.trust-badges,
.trust-indicators,
.trust-indicators-dark,
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

  .trust-item-dark{
    display: flex;
    justify-content: center;
  }

.services-grid-dark {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.values-grid {
  gap: 40px;
  margin-top: 60px;
}

/* ========================================
   UNIFIED CARD SYSTEM - CONSOLIDATED
======================================== */
/* Base card styling for all cards */
.card-base,
.product-card,
.product-card-dark,
.blog-card,
.result-card,
.gallery-item,
.feature-item,
.help-item,
.craft-item,
.reason-item,
.benefit-item,
.service-card-dark,
.value-card {
  background: transparent;
  text-align: center;
  transition: transform 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

/* Card hover effects */
.card-base:hover,
.product-card:hover,
.product-card-dark:hover,
.blog-card:hover,
.gallery-item:hover,
.feature-item:hover,
.service-card-dark:hover {
  transform: translateY(-8px);
}

.result-card:hover {
  transform: translateY(-3px);
}

.blog-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: #8b5cf6;
}

/* Enhanced cards with backgrounds */
.card-enhanced,
.blog-card,
.result-card,
.help-item,
.craft-item,
.reason-item,
.benefit-item,
.feature-item,
.service-card-dark,
.value-card {
  background: #111;
  padding: 25px;
  border: 1px solid #333;
}

.gallery-item,
.recent-post-card {
  background: #111;
  padding: 20px;
  border-radius: 8px;
}

/* Product card specific styling */
.product-card,
.product-card-dark {
  background: transparent;
}

/* ========================================
   UNIFIED IMAGE SYSTEM - CONSOLIDATED
======================================== */
/* Base image styling for all product/content images */
.image-base,
.product-image,
.product-image-dark,
.blog-image,
.result-image,
.gallery-link img,
.custom-image,
.about-story-image,
.process-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #111;
  margin-bottom: 15px;
  transition: filter 0.3s ease;
}

img.attachment-medium_large.size-medium_large.wp-post-image{
  width:100%;
  height:auto;
  margin-bottom:16px;
}

.product a {
  display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-image {
  margin-bottom: 0;
  border-radius: 0;
}

.result-image {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
}

.custom-image {
  height: 350px;
  margin-bottom: 0;
}

.about-story-image,
.process-image {
  height: 500px;
  margin-bottom: 0;
  border-radius: 12px;
}

/* Image hover effects */
.product-image,
.product-image-dark {
  filter: grayscale(1);
}

.product-card:hover .product-image,
.product-card-dark:hover .product-image,
.product-card:hover .product-image-dark,
.product-card-dark:hover .product-image-dark {
  filter: none;
}

/* Image elements inside containers */
.product-image img,
.product-image-dark img,
.blog-image img,
.result-image img,
.gallery-link img,
.custom-img,
.about-image,
.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-image img {
  transition: transform 0.3s ease;
}

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

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

.about-story-image:hover .about-image,
.process-image:hover .process-img {
  transform: scale(1.05);
}

/* Placeholder styling */
.placeholder-base,
.placeholder-image,
.placeholder-image-dark,
.blog-placeholder,
.custom-placeholder,
.about-image-placeholder,
.process-image-placeholder {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 48px;
  height: 100%;
}

.blog-placeholder {
  background: linear-gradient(135deg, #222 0%, #333 100%);
  position: relative;
  overflow: hidden;
}

.blog-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(139, 92, 246, 0.1) 10px,
    rgba(139, 92, 246, 0.1) 20px
  );
}

.custom-placeholder::before {
  content: '';
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b5cf6' viewBox='0 0 24 24'%3E%3Cpath d='M9 11H7v3h2v-3zm4 0h-2v3h2v-3zm4 0h-2v3h2v-3zm2.5-7H18V2h-2v2H8V2H6v2H4.5C3.11 4 2 5.11 2 6.5v11C2 18.89 3.11 20 4.5 20h15c1.39 0 2.5-1.11 2.5-2.5v-11C22 5.11 20.89 4 19.5 4zm.5 13.5c0 .28-.22.5-.5.5h-15c-.28 0-.5-.22-.5-.5v-8h16v8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}

/* ========================================
   UNIFIED CONTENT INFO SYSTEM - CONSOLIDATED
======================================== */
/* Base info styling for product/blog/content info */
.info-base,
.product-info,
.product-info-dark,
.blog-content,
.result-content,
.gallery-item-info {
  padding: 15px 0;
  text-align: center;
}

.blog-content {
  text-align: left;
}

.result-content {
  padding: 20px;
  flex: 1;
  text-align: left;
}

/* Title styling */
.title-base,
.product-title,
.product-title-dark,
.blog-title,
.result-title,
.gallery-item-title {
  font-size: 24px;
  margin-bottom: 8px;
  text-align: center !important;
}

.woocommerce-Price-amount.amount {
    font-weight: bold;
    color: #8b5cf6;
    font-size: 25px;
    display: block;
    line-height: 24px;;
}

p.price{
    margin-bottom: 0;
}

.blog-title,
.result-title,
.gallery-item-title {
  text-align: left !important;
  margin-bottom: 15px;
}

.blog-title {
  line-height: 1.3;
}

.result-title {
  margin-bottom: 10px;
  font-size: 20px;
}

/* Title links */
.blog-title a,
.result-title a,
.gallery-item-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover,
.result-title a:hover,
.gallery-item-title a:hover {
  color: #8b5cf6;
}

/* Price styling */
.price-base,
.product-price,
.product-price-dark,
.gallery-price {
  font-size: 16px;
  font-weight: 400;
  color: #8b5cf6;
}

section.section-base .price {
    margin-bottom:12px;
}

.gallery-price {
  font-weight: 600;
  margin: 8px 0;
}

/* Meta information */
.meta-base,
.blog-meta,
.result-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #8b5cf6;
  flex-wrap: wrap;
}

.blog-meta {
  gap: 20px;
  font-size: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.result-meta {
  margin-bottom: 10px;
}

/* Excerpt/description styling */
.excerpt-base,
.blog-excerpt,
.result-excerpt {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 14px;
}

.blog-excerpt {
  margin-bottom: 20px;
}

.result-excerpt {
  margin-bottom: 15px;
}

.result-excerpt mark {
  background: #8b5cf6;
  color: #fff;
  padding: 2px 4px;
}

/* ========================================
   CONTENT SECTIONS - CONSOLIDATED
======================================== */
.section-base,
.content-section,
.blog-posts-section,
.gallery-content-section,
.account-content-section,
.contact-content-section,
.helpful-section,
.recent-posts-section,
.featured-products-section,
.mission-section,
.craftsmanship-section,
.artist-section,
.custom-orders-section,
.why-choose-section,
.cta-section,
.homepage-dark,
.featured-products-section-dark,
.handcrafted-section,
.custom-mask-section,
.shop-intro-section,
.shop-products-section,
.shop-features-section,
.shop-cta-section {
  padding: 40px 0;
  background: #000;
}

.featured-products-section-dark,
.handcrafted-section,
.custom-mask-section {
  background: #000 !important;
}

.handcrafted-section,
.custom-mask-section {
  text-align: center;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  text-align: left !important;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-content p,
.post-content p {
  margin-bottom: 20px;
}

/* ========================================
   WOOCOMMERCE OVERRIDES - CONSOLIDATED
======================================== */
/* Force all WooCommerce products to use our grid system */
.woocommerce ul.products,
.woocommerce .products,
.woocommerce-page ul.products,
.woocommerce-page .products,
.page-template ul.products,
.shop-page ul.products,
ul.products {
  display: grid !important;
 grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  grid-gap: 25px !important;
  gap: 25px !important;
}

.columns-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Force product items to behave properly */
.woocommerce ul.products li.product,
.woocommerce .products li.product,
ul.products li.product {
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  float: none !important;
  clear: none !important;
  overflow: visible !important;
  display: block !important;
  flex: none !important;
}



/* Product images */
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}

.woocommerce ul.products li.product:hover img {
  filter: none !important;
}

/* Product titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: "IM Fell English", serif !important;
  font-size: 24px !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* Product prices */
.woocommerce ul.products li.product .price {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #8b5cf6 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  text-align: center !important;
  display: block !important;
}

.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price .woocommerce-Price-amount {
  color: #8b5cf6 !important;
  font-size: 25px !important;
}

/* Remove clearing issues */
.woocommerce ul.products li.product:nth-child(1n),
.woocommerce ul.products li.product:nth-child(2n),
.woocommerce ul.products li.product:nth-child(3n),
.woocommerce ul.products li.product:nth-child(4n) {
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
}

/* Remove pseudo-elements */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
  content: none !important;
  display: none !important;
}

/* ========================================
   NEW CART PRODUCT STYLING - ADDED
======================================== */
/* Cart Item Container */
.cart-item {
  background: #2a2a2e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #3a3a3e;
  transition: all 0.3s ease;
  position: relative;
}

.cart-item:hover {
  background: #323238;
  border-color: #8b5cf6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

/* Product Thumbnail */
.cart-item-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1d;
}

.cart-item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Product Details Section */
.cart-item-details-center {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cart-item-details-content {
  flex: 1;
  min-width: 0; /* Allows text to truncate */
}

.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.cart-item-name a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-item-name a:hover {
  color: #8b5cf6;
}

/* Quantity Section */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
    margin-right: 0;
    align-self: flex-start;
}


.cart-item-quantity label {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}

.cart-item-quantity input[type="number"] {
  width: 60px;
  padding: 8px 12px;
  background: #1a1a1d;
  border: 1px solid #3a3a3e;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  -moz-appearance: textfield;
}

.cart-item-quantity input[type="number"]::-webkit-outer-spin-button,
.cart-item-quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-quantity input[type="number"]:focus {
  outline: none;
  border-color: #8b5cf6;
  background: #232327;
}

/* Price Information */
.cart-item-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 120px;
}

.cart-item-price,
.cart-item-subtotal {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
}

.cart-item-price {
  color: #8b5cf6;
  font-size: 14px;
}

.cart-item-subtotal {
  font-size: 18px;
  font-weight: 700;
}

.cart-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  margin-right: 4px;
}

/* Remove Button */
.cart-item-remove-center {
  margin-left: 12px;
}

.remove-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #dc2626;
  border-radius: 6px;
  color: #dc2626;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.remove-item:hover {
  background: #dc2626;
  color: #ffffff;
  transform: scale(1.1);
}

.remove-item svg {
  width: 16px;
  height: 16px;
}

/* Close button for modal/overlay styling */
.cart-item .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cart-item .close-btn:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.cart-item .close-btn svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   FORM SYSTEM - CONSOLIDATED
======================================== */
/* Base form styling */
.form-base,
fieldset,
.woocommerce-form .form-row {
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: #111;
}

.woocommerce-form .form-row {
  border: none;
  padding: 0;
  margin-bottom: 25px;
  background: transparent;
}

/* Label styling */
fieldset label,
.form-label,
.woocommerce-form .form-row label {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
}

/* Input styling - CONSOLIDATED */
fieldset input,
fieldset textarea,
fieldset select,
.form-input,
.form-select,
.form-textarea,
.devils-form-input,
.devils-form-select,
.devils-form-textarea,
.woocommerce-form .form-row input.input-text,
.woocommerce-form .form-row textarea,
.woocommerce-form .form-row select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  background: #222;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-family: "Open Sans", Arial, sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin: 0;
}

/* Focus states */
fieldset input:focus,
fieldset textarea:focus,
fieldset select:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.woocommerce-form .form-row input:focus,
.woocommerce-form .form-row textarea:focus,
.woocommerce-form .form-row select:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  background: #2a2a2a;
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
  color: #666;
  opacity: 1;
}

/* Select styling */
select,
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px;
}

/* Required field styling */
.required {
  color: #f44;
  font-weight: 700;
}

/* Textarea specific */
.form-textarea,
textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Checkbox styling */
.form-checkbox,
input[type="checkbox"] {
  width: 18px !important;
  height: 18px;
  accent-color: #8b5cf6;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-row-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.checkbox-label {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 0 !important;
}

/* ========================================
   PAGINATION SYSTEM - CONSOLIDATED
======================================== */
.pagination-section {
  padding: 40px 0;
  text-align: center;
  background: #111;
  border-radius: 12px;
  border: 1px solid #333;
}

.pagination-info {
  margin-bottom: 25px;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
}

.page-numbers,
.pagination-nav {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.page-numbers a,
.page-numbers span,
.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 44px;
  justify-content: center;
}

.page-numbers a:hover,
.page-numbers .current,
.pagination-nav a:hover,
.pagination-nav .current {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #fff;
  transform: translateY(-2px);
}

.page-numbers .dots,
.pagination-nav .dots {
  background: transparent;
  border: none;
  color: #666;
  cursor: default;
  transform: none;
}

/* ========================================
   MOBILE MENU SYSTEM - CONSOLIDATED
======================================== */
.mobile-menu-checkbox {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1002;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation */
.mobile-menu-checkbox:checked ~ header .mobile-menu-toggle .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-checkbox:checked ~ header .mobile-menu-toggle .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-checkbox:checked ~ header .mobile-menu-toggle .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1003;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-overlay {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.mobile-menu-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background: #111;
  border-left: 1px solid #333;
  padding: 0;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-overlay .mobile-menu-wrapper {
  transform: translateX(0);
}

/* Mobile menu header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #333;
  background: #000;
}

.mobile-logo .logo-link {
  font-family: "Creepster", cursive !important;
  font-size: 18px;
  color: #f44 !important;
  text-decoration: none;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #8b5cf6;
}

/* Mobile navigation */
.mobile-navigation {
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: min-content;
}

.mobile-menu-list li {
  border-bottom: 1px solid #333;
}

.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-menu-list li a {
  display: block;
  padding: 18px 25px;
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-family: "Open Sans", Arial, sans-serif;
  border-bottom: 1px solid #333;
}

.mobile-menu-list li:last-child a {
  border-bottom: none;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li.current-menu-item a,
.mobile-menu-list li.current_page_item a {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6 !important;
  padding-left: 35px;
}

.mobile-menu-list li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #8b5cf6;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-menu-list li a:hover::before,
.mobile-menu-list li.current-menu-item a::before,
.mobile-menu-list li.current_page_item a::before {
  transform: scaleY(1);
}

/* Mobile cart section */
.mobile-cart-section {
  padding: 25px;
  border-top: 1px solid #333;
  background: rgba(139, 92, 246, 0.05);
}

.mobile-cart-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: #8b5cf6;
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  justify-content: center;
}

.mobile-cart-link:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  color: #fff !important;
}

.mobile-cart-link .cart-icon {
  display: flex;
  align-items: center;
}

/* Mobile contact info */
.mobile-contact-info {
  padding: 25px;
  border-top: 1px solid #333;
  margin-top: auto;
  flex-shrink: 0;
  background: #0a0a0a;
}

.mobile-contact-info .contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.mobile-contact-info .contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 12px;
  color: #8b5cf6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-contact-info a {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.mobile-contact-info a:hover {
  color: #8b5cf6 !important;
}

/* ========================================
   HOMEPAGE SPECIFIC SECTIONS
======================================== */
.handcraft-icon {
  width: 50px;
  height: 50px;
  background-image: url(https://devilsdreamworld.com/wp-content/uploads/2025/08/flame-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto 25px;
  opacity: 0.9;
  font-size: 0 !important;
}

.handcraft-description,
.custom-description {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 16px;
  color: #fff;
  margin-bottom: 35px;
  line-height: 1.6;

}

.handcraft-description{
  display: flex;
  justify-content: center;
  text-align: center;
}

.custom-text {
  text-align: center;
  color: #ccc;
}


.text-left{
text-align: left !important;
}

.custom-image {
  position: relative;
  height: 350px;
  background: #111;
}

.custom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0 !important;
}

.custom-placeholder::before {
  content: '';
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b5cf6' viewBox='0 0 24 24'%3E%3Cpath d='M9 11H7v3h2v-3zm4 0h-2v3h2v-3zm4 0h-2v3h2v-3zm2.5-7H18V2h-2v2H8V2H6v2H4.5C3.11 4 2 5.11 2 6.5v11C2 18.89 3.11 20 4.5 20h15c1.39 0 2.5-1.11 2.5-2.5v-11C22 5.11 20.89 4 19.5 4zm.5 13.5c0 .28-.22.5-.5.5h-15c-.28 0-.5-.22-.5-.5v-8h16v8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}

.custom-cta {
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Enhanced about/contact hero backgrounds */
.about-hero,
.contact-hero,
.blog-hero,
.account-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.about-hero .page-hero-title,
.contact-hero .page-hero-title,
.blog-hero .page-hero-title,
.account-hero .page-hero-title {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.about-hero .page-hero-subtitle,
.contact-hero .page-hero-subtitle,
.blog-hero .page-hero-subtitle,
.account-hero .page-hero-subtitle {
  max-width: 600px;
  margin: 0 auto 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-hero .page-hero-cta,
.contact-hero .page-hero-cta,
.blog-hero .page-hero-cta,
.account-hero .page-hero-cta,
.page-hero-cta
{
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top:30px;
}

/* Legacy compatibility for existing sections */
.featured-products-section-dark,
.handcrafted-section,
.custom-mask-section {
  padding: 40px 0;
  background: #000 !important;
}

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom:16px;
}

.handcrafted-section,
.custom-mask-section {
  text-align: center;
}

/* Contact form specific styles that may be missing */
.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-wrapper-dark {
  background: #111;
  padding: 50px;
  border-radius: 12px;
  border: 1px solid #333;
}

.contact-info-wrapper-dark {
  padding: 20px 0;
}

.contact-details-dark {
  margin-bottom: 50px;
}

.contact-item-dark {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #8b5cf6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon {
  width: 24px !important;
  height: 24px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* Contact icons */
.email-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") !important;
}

.phone-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") !important;
}

.location-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") !important;
}

.hours-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm3.5 6L12 10.5 8.5 8 12 5.5 15.5 8zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E") !important;
}

.contact-text h3 {
  font-family: "IM Fell English", serif !important;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  text-align: left !important;
  font-weight: 400;
}

.contact-text p {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
  line-height: 1.4;
}

.contact-link {
  color: #8b5cf6 !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #fff !important;
}

.hours-list {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   MY ACCOUNT PAGE STYLING
======================================== */
/* Mobile account menu system */
.mobile-account-menu-checkbox {
  display: none;
}

.mobile-account-menu-toggle {
  display: none;
  background: #8b5cf6 !important;
  color: #fff !important;
  border: none !important;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  margin-bottom: 20px !important;
  cursor: pointer !important;
  font-family: "IM Fell English", serif !important;
  font-size: 16px !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
}

.mobile-account-menu-toggle:hover {
  background: #7c3aed !important;
  transform: translateY(-2px) !important;
}

.hamburger-text {
  font-weight: 500;
}

/* Account navigation header (mobile) */
.account-nav-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #333;
  background: #000;
}

.account-nav-header h3 {
  font-family: "IM Fell English", serif !important;
  color: #fff;
  margin: 0;
  font-size: 20px;
  text-align: left !important;
}

.close-account-menu {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 24px !important;
  cursor: pointer !important;
  padding: 5px !important;
  line-height: 1 !important;
  transition: color 0.3s ease !important;
}

.close-account-menu:hover {
  color: #8b5cf6 !important;
}

/* Account dashboard layout */
.account-dashboard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}

/* Account navigation wrapper */
.account-navigation-wrapper {
  background: #111;
  border-radius: 12px;
  border: 1px solid #333;
  padding: 0;
  height: fit-content;
  position: sticky;
  top: 100px;
}

/* WooCommerce account navigation styling */
.woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #333;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 25px;
  color: #ccc !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-family: "Open Sans", Arial, sans-serif;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6 !important;
  padding-left: 35px;
}

.woocommerce-MyAccount-navigation ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #8b5cf6;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover::before,
.woocommerce-MyAccount-navigation ul li.is-active a::before {
  transform: scaleY(1);
}

/* Account content wrapper */
.account-content-wrapper {
  background: #111;
  border-radius: 12px;
  border: 1px solid #333;
  padding: 40px;
  min-height: 500px;
}

.woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
}

/* Dashboard welcome section */
.account-dashboard-welcome {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

.account-welcome {
  text-align: center;
}

.welcome-title {
  font-family: "IM Fell English", serif !important;
  font-size: 36px !important;
  color: #fff !important;
  margin-bottom: 15px !important;
  text-align: center !important;
  font-weight: 400 !important;
}

.welcome-subtitle {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 16px;
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

/* Login-only page styling */
.login-only-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.login-form-wrapper {
  background: #111;
  padding: 40px;
  border-radius: 8px;
}

.login-form-wrapper h2 {
  font-family: "IM Fell English", serif !important;
  font-size: 32px !important;
  color: #fff !important;
  margin-bottom: 15px !important;
  text-align: center !important;
  font-weight: 400 !important;
}

.login-form-wrapper p {
  text-align: center;
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Form actions layout */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.forgot-password-link {
  color: #8b5cf6;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgot-password-link:hover {
  color: #fff;
}

/* Account restriction message */
.account-restriction-message {
  background: #111;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #333;
  text-align: center;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.account-restriction-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #7c3aed, #8b5cf6);
}

.restriction-content {
  position: relative;
  z-index: 2;
}

.restriction-title {
  color: #fff;
  margin-bottom: 15px;
  font-family: "IM Fell English", serif !important;
  font-size: 22px;
  font-weight: 400;
  text-align: center !important;
}

.restriction-text {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Account benefits section */
.account-benefits {
  margin-top: 60px;
}

.account-benefits h3 {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
  font-family: "IM Fell English", serif !important;
  font-size: 28px;
  font-weight: 400;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-item {
  background: #111;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 15px;
  display: block;
}

.benefit-item h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center !important;
}

.benefit-item p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 0;
}

/* WooCommerce message styling for account page */
.my-account-page .woocommerce-error,
.my-account-page .woocommerce-message,
.my-account-page .woocommerce-info {
  background: #111 !important;
  border: 1px solid #f44 !important;
  color: #fff !important;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  margin-bottom: 25px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.my-account-page .woocommerce-message {
  border-color: #8b5cf6 !important;
}

.my-account-page .woocommerce-info {
  border-color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.1) !important;
}

/* Responsive account page styling */
@media (min-width: 769px) {
  /* Desktop: Hide mobile menu elements */
  .mobile-account-menu-toggle,
  .mobile-account-menu-checkbox,
  .account-nav-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  

  /* Desktop grid layout */
  .account-dashboard {
    display: grid !important;
    grid-template-columns: 300px 1fr !important;
    gap: 50px !important;
    margin-top: 40px !important;
  }
}

@media (max-width: 1024px) {
  .account-dashboard {
    grid-template-columns: 280px 1fr;
    gap: 30px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-account-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .top-bar-items {
        gap: 4px;
        flex-direction: column;
        align-items: center;
}

  /* Show navigation header on mobile */
  .account-nav-header {
    display: flex !important;
    visibility: visible !important;
  }

  /* Transform navigation to mobile overlay */
  .account-dashboard {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin-top: 20px !important;
  }

  .account-navigation-wrapper {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 350px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: #111 !important;
    border-left: 1px solid #333 !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }

  /* Show mobile navigation when toggled (controlled by JavaScript) */
  .account-navigation-wrapper.mobile-open {
    right: 0 !important;
  }

  .account-navigation-wrapper.mobile-closed {
    right: -100% !important;
  }

  .account-content-wrapper {
    padding: 30px 20px;
  }

  .welcome-title {
    font-size: 28px !important;
  }

  .login-form-wrapper {
    padding: 30px 20px;
  }

  .login-form-wrapper h2 {
    font-size: 28px !important;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .account-restriction-message {
    padding: 25px 20px;
  }

  .restriction-title {
    font-size: 20px;
  }

  .account-benefits {
    margin-top: 50px;
  }

  .account-benefits h3 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .login-form-wrapper {
    padding: 25px 15px;
  }

  .login-form-wrapper h2 {
    font-size: 24px !important;
  }

  .account-restriction-message {
    padding: 20px 15px;
  }

  .restriction-title {
    font-size: 18px;
  }

  .restriction-text {
    font-size: 14px;
  }

  .account-benefits h3 {
    font-size: 22px;
  }

  .account-content-wrapper {
    padding: 20px 15px;
  }

  .welcome-title {
    font-size: 24px !important;
  }

  /* Mobile cart responsive styles */
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .cart-item-details-center {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }


  .cart-item-meta-right {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .cart-item-thumbnail {
    align-self: center;
  }

  .cart-item-remove-center {
    margin-left: 0;
    align-self: flex-end;
    position: absolute;
    top: 12px;
    right: 12px;
  }
}

/* --- Hide Default WooCommerce Single Product Output & Force Custom Styles --- */
.single-product .woocommerce,
.single-product .woocommerce-notices-wrapper,
.single-product .product {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}
.single-product .product {
  display: none !important;
}
.single-product-page .product-hero.enhanced,
.single-product-page .product-hero-flex,
.single-product-page .product-main-details,
.single-product-page .product-images-wrapper {
  display: flex !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-top:30px;
}
/* --- End Emergency Fix --- */

/* ========================================
   FOOTER SYSTEM
======================================== */
.site-footer {
  background: #000 !important;
  color: #ccc;
  padding: 60px 0 20px;
  position: relative;
  clear: both;
  border-top: 1px solid #333;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  text-align: left !important;
}

.footer-menu {
  list-style: none;
}

.footer-menu a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #666;
}

.form-row {
  margin-bottom:8px;
}

/* ========================================
   TWO-COLUMN CART LAYOUT - PRESERVED
======================================== */
/* Two-column cart layout */
.two-column {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.left-column {
  flex: 2;
  min-width: 0;
}
.right-column {
  flex: 1;
  min-width: 320px;
}
.cart-actions {
  margin-bottom: 30px;
}
.coupon-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.coupon-row input.form-input {
  flex: 1;
  min-width: 0;
}
.coupon-row button {
  white-space: nowrap;
}

/* Ensure cart quantity input is always visible and enabled */
.cart-item-quantity input[type="number"] {
  display: inline-block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: #222;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  width: 60px;
  min-width: 40px;
  font-size: 16px;
  text-align: center;
}
.woocommerce-cart-form button[name="update_cart"] {
  display: inline-block;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar .cart_totals {
  margin-top: 0;
  background: #18181b;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  padding: 28px 24px;
  border: 1px solid #23232a;
}
.cart-sidebar .shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.cart-sidebar .shop_table th,
.cart-sidebar .shop_table td {
  font-size: 16px;
  color: #fff;
  padding: 10px 8px;
  background: none;
  border: none;
}
.cart-sidebar .shop_table th {
  text-align: left;
  color: #bbb;
  font-weight: 500;
}
.cart-sidebar .shop_table .order-total th,
.cart-sidebar .shop_table .order-total td {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  border-top: 1px solid #333;
  padding-top: 16px;
}
.cart-sidebar .shop_table .cart-subtotal th,
.cart-sidebar .shop_table .cart-subtotal td {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
}
.cart-sidebar .shop_table .cart-discount th,
.cart-sidebar .shop_table .cart-discount td {
  color: #8b5cf6;
}
.cart-sidebar .shop_table .shipping th,
.cart-sidebar .shop_table .shipping td {
  color: #fff;
}

@media (max-width: 900px) {
  .two-column {
    flex-direction: column;
    gap: 0;
  }
  .right-column {
    margin-top: 30px;
    min-width: 0;
  }
}

/* ========================================
   RESPONSIVE DESIGN - CONSOLIDATED
======================================== */
@media (max-width: 768px) {

.services-grid-dark{
  display:flex !important;
  flex-direction:column;
}

  /* Typography adjustments */
  .hero-title-dark {
    font-size: clamp(36px, 10vw, 60px);
  }

  .page-hero-title {
    font-size: clamp(28px, 8vw, 48px) !important;
    margin-bottom: 15px !important;
  }

  .hero-title-dark{
    font-size: 40px !important;
  }

  .section-title,
  .page-title {
    font-size: 28px;
  }

  /* Container adjustments */
  .container {
    padding: 0 15px;
  }

  /* Grid adjustments */
  .products-grid,
  .products-grid-dark,
  .woocommerce ul.products,
  .custom-related-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .blog-grid,
  .results-grid,
  .helpful-grid,
  .help-grid,
  .recent-posts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .grid-2col,
  .craftsmanship-grid,
  .reasons-grid,
  .benefits-grid,
  .contact-grid,
  .custom-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shop-features-grid,
  .product-features-grid,
  .trust-badges,
  .trust-indicators {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }


  /* Show mobile menu */
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

 
  .hero-stats {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    padding:0;
  }

  .stat-number{
    font-size: 16px;
  }

  .stat-icon, .page-stat-icon{
        width: 16px !important;
    height: 16px !important;
  }

  .stat-label, .page-stat-label{
    font-size: 14px;
  }

.stat-item {
    color: #fff;
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    padding: 15px;
    flex-direction: column;
}

  .hero-stats-container {
    padding: 30px 16px;
}

  /* Button adjustments */
  .hero-buttons-dark {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Footer adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Form adjustments */
  .form-row-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-wrapper-dark{
    padding:16px;
  }
}

@media (max-width: 480px) {
  /* Further mobile adjustments */
  .products-grid,
  .products-grid-dark,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shop-features-grid,
  .product-features-grid,
  .trust-badges,
  .trust-indicators {
    grid-template-columns: 1fr;
    gap: 20px;
  }



  .page-hero-title {
    font-size: clamp(24px, 8vw, 36px) !important;
  }

  .section-title,
  .page-title {
    font-size: 24px;
  }

  .hero-content-dark {
    padding: 15px;
  }

  .horror-button {
    padding: 10px 20px;
    font-size: 12px;
    min-width: 120px;
  }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center {
  text-align: center;
}

.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 !important;
  width: 1px;
  word-wrap: normal !important;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Single Product Page Emergency Styles (force override) --- */
.single-product-page .product-hero.enhanced {
  display: flex !important;
  flex-direction: column !important;
  background: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
.product-hero-flex {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 48px !important;
  align-items: flex-start !important;
}
.product-images-wrapper {
  flex: 0 0 520px !important;
  min-width: 400px !important;
  max-width: 520px !important;
  background: #18181b !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12) !important;
  padding: 32px 24px 18px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
.main-product-image {
  width: 100% !important;
  max-width: 480px !important;
  max-height: 600px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10) !important;
  background: #232336 !important;
  margin-bottom: 18px !important;
}
.product-thumbnails {
  display: flex !important;
  gap: 12px !important;
  margin-top: 0 !important;
  justify-content: center !important;
}
.product-thumbnails img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  background: #232336 !important;
  cursor: pointer !important;
  border: 2px solid transparent !important;
  transition: border 0.2s !important;
}
.product-thumbnails img.active,
.product-thumbnails img:hover {
  border: 2px solid #8b5cf6 !important;
}
.product-main-details {
  flex: 1 1 0 !important;
  min-width: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
.product-title-main {
  font-size: 2.4rem !important;
  font-family: "IM Fell English", serif !important;
  color: #fff !important;
  margin-bottom: 12px !important;
}
.product-short-desc {
  color: #e5e5e5 !important;
  font-size: 1.15rem !important;
  margin-bottom: 18px !important;
  line-height: 1.6 !important;
}
.product-meta {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  font-size: 1.5rem !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
}
.product-price {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #8b5cf6 !important;
  margin-right: 10px !important;
}
.product-stock.in-stock,
.product-stock.out-of-stock {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  margin-left: 0 !important;
}
.product-cta-area.product-cta-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 18px !important;
  max-width:410px;
}
.product-cta-area.product-cta-row form.cart {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

.ppc-button-wrapper {
    width: 100% !important;
    display: block;
    margin-top: 18px;
}