/*
Theme Name: CrystalCraft Pro
Theme URI: https://crystalcraftpro.com
Author: CrystalCraft Team
Author URI: https://crystalcraftpro.com
Description: Premium Acrylic Crafts跨境电商WordPress主题，支持WooCommerce，多语言，SEO优化。CrystalCraft Pro is a professional WordPress theme designed for acrylic crafts e-commerce, featuring a modern design, full WooCommerce integration, responsive layout, and SEO optimization. Perfect for trophy shops, home decor stores, and custom gift businesses.
Version: 1.0.0
Tested up to: 6.4
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crystalcraft
Tags: e-commerce, custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ============================================
   CrystalCraft Pro - Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --crystalcraft-primary: #1a1a2e;
    --crystalcraft-secondary: #16213e;
    --crystalcraft-accent: #e94560;
    --crystalcraft-accent-hover: #d63050;
    --crystalcraft-bg-light: #f5f5f5;
    --crystalcraft-white: #ffffff;
    --crystalcraft-text-dark: #1a1a2e;
    --crystalcraft-text-light: #6b7280;
    --crystalcraft-border: #e5e7eb;
    --crystalcraft-success: #28a745;
    --crystalcraft-warning: #f59e0b;
    --crystalcraft-font-heading: 'Playfair Display', Georgia, 'PingFang SC', 'Microsoft YaHei', serif;
    --crystalcraft-font-body: 'Poppins', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --crystalcraft-border-radius: 12px;
    --crystalcraft-border-radius-sm: 8px;
    --crystalcraft-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --crystalcraft-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --crystalcraft-transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--crystalcraft-font-body);
    color: var(--crystalcraft-text-dark);
    background: var(--crystalcraft-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--crystalcraft-transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--crystalcraft-font-body);
}

input,
textarea,
select {
    font-family: var(--crystalcraft-font-body);
    outline: none;
}

/* ---------- Chinese Typography Support ---------- */
html[lang="zh-CN"] body,
html[lang="zh-TW"] body,
html[lang="zh"] body {
    font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] h5,
html[lang="zh-CN"] h6,
html[lang="zh-TW"] h1,
html[lang="zh-TW"] h2,
html[lang="zh-TW"] h3,
html[lang="zh-TW"] h4,
html[lang="zh-TW"] h5,
html[lang="zh-TW"] h6,
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh"] h4,
html[lang="zh"] h5,
html[lang="zh"] h6 {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 600;
    line-height: 1.5;
}

html[lang="zh-CN"] .crystalcraft-hero h1,
html[lang="zh-TW"] .crystalcraft-hero h1,
html[lang="zh"] .crystalcraft-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

html[lang="zh-CN"] .crystalcraft-section-title,
html[lang="zh-TW"] .crystalcraft-section-title,
html[lang="zh"] .crystalcraft-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

/* ---------- Layout Utilities ---------- */
.crystalcraft-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */
.crystalcraft-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--crystalcraft-transition);
}

.crystalcraft-navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.crystalcraft-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.crystalcraft-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--crystalcraft-white);
    font-family: var(--crystalcraft-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.crystalcraft-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--crystalcraft-accent), #ff6b8a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.crystalcraft-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.crystalcraft-nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--crystalcraft-transition);
}

.crystalcraft-nav-menu a:hover,
.crystalcraft-nav-menu a.active {
    color: var(--crystalcraft-white);
    background: rgba(233, 69, 96, 0.15);
}

.crystalcraft-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.crystalcraft-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--crystalcraft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--crystalcraft-transition);
    position: relative;
}

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

.crystalcraft-nav-btn .crystalcraft-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--crystalcraft-accent);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crystalcraft-lang-selector {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: white;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
}

.crystalcraft-mobile-toggle {
    display: none;
    color: white;
    font-size: 1.4rem;
    background: none;
    padding: 8px;
}

/* ---------- Hero Section ---------- */
.crystalcraft-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    margin-top: 72px;
}

.crystalcraft-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.crystalcraft-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.crystalcraft-hero h1 {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--crystalcraft-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.crystalcraft-hero h1 span {
    background: linear-gradient(135deg, var(--crystalcraft-accent), #ff8fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crystalcraft-hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.crystalcraft-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.crystalcraft-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
}

.crystalcraft-hero-stat {
    text-align: center;
}

.crystalcraft-hero-stat .crystalcraft-num {
    font-family: var(--crystalcraft-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--crystalcraft-accent);
}

.crystalcraft-hero-stat .crystalcraft-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ---------- Buttons ---------- */
.crystalcraft-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--crystalcraft-accent), #d63050);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--crystalcraft-transition);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
    border: none;
    cursor: pointer;
}

.crystalcraft-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.5);
    color: white;
}

.crystalcraft-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--crystalcraft-transition);
}

.crystalcraft-btn-outline:hover {
    border-color: white;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* ---------- Trust Banner ---------- */
.crystalcraft-trust-banner {
    background: var(--crystalcraft-white);
    border-bottom: 1px solid var(--crystalcraft-border);
    padding: 20px 0;
}

.crystalcraft-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.crystalcraft-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--crystalcraft-text-light);
    font-weight: 500;
}

.crystalcraft-trust-item i {
    width: 36px;
    height: 36px;
    background: rgba(233, 69, 96, 0.1);
    color: var(--crystalcraft-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.crystalcraft-trust-sep {
    width: 1px;
    height: 30px;
    background: var(--crystalcraft-border);
}

/* ---------- Sections ---------- */
.crystalcraft-section {
    padding: 100px 0;
}

.crystalcraft-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.crystalcraft-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(233, 69, 96, 0.08);
    color: var(--crystalcraft-accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.crystalcraft-section-title {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--crystalcraft-primary);
    margin-bottom: 16px;
}

.crystalcraft-section-subtitle {
    color: var(--crystalcraft-text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Category Grid ---------- */
.crystalcraft-categories {
    background: var(--crystalcraft-bg-light);
}

.crystalcraft-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.crystalcraft-cat-card {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    overflow: hidden;
    box-shadow: var(--crystalcraft-shadow);
    transition: var(--crystalcraft-transition);
    cursor: pointer;
}

.crystalcraft-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--crystalcraft-shadow-lg);
}

.crystalcraft-cat-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.crystalcraft-cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.crystalcraft-cat-card:hover .crystalcraft-cat-card-img img {
    transform: scale(1.08);
}

.crystalcraft-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.5), transparent);
}

.crystalcraft-cat-card-body {
    padding: 20px;
}

.crystalcraft-cat-card-body h3 {
    font-family: var(--crystalcraft-font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--crystalcraft-primary);
}

.crystalcraft-cat-card-body p {
    font-size: 0.8rem;
    color: var(--crystalcraft-text-light);
}

.crystalcraft-cat-card-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--crystalcraft-accent);
    font-weight: 600;
}

/* ---------- Capabilities ---------- */
.crystalcraft-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.crystalcraft-cap-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    box-shadow: var(--crystalcraft-shadow);
    border: 1px solid var(--crystalcraft-border);
    transition: var(--crystalcraft-transition);
}

.crystalcraft-cap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--crystalcraft-shadow-lg);
    border-color: rgba(233, 69, 96, 0.3);
}

.crystalcraft-cap-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(233, 69, 96, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--crystalcraft-accent);
}

.crystalcraft-cap-card h3 {
    font-family: var(--crystalcraft-font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.crystalcraft-cap-card p {
    color: var(--crystalcraft-text-light);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ---------- Product Cards ---------- */
.crystalcraft-products {
    background: var(--crystalcraft-bg-light);
}

.crystalcraft-product-card {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    overflow: hidden;
    box-shadow: var(--crystalcraft-shadow);
    transition: var(--crystalcraft-transition);
    position: relative;
}

.crystalcraft-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--crystalcraft-shadow-lg);
}

.crystalcraft-product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

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

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

.crystalcraft-product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--crystalcraft-accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.crystalcraft-product-tag.new {
    background: #10b981;
}

.crystalcraft-product-tag.sale {
    background: #f59e0b;
}

.crystalcraft-product-body {
    padding: 18px;
}

.crystalcraft-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.crystalcraft-product-rating i {
    color: #f59e0b;
    font-size: 0.7rem;
}

.crystalcraft-product-rating span {
    font-size: 0.7rem;
    color: var(--crystalcraft-text-light);
    margin-left: 2px;
}

.crystalcraft-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--crystalcraft-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.crystalcraft-product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--crystalcraft-accent);
}

.crystalcraft-product-price .crystalcraft-old {
    font-size: 0.75rem;
    color: var(--crystalcraft-text-light);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

/* ---------- Testimonials ---------- */
.crystalcraft-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.crystalcraft-testimonial-card {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    padding: 32px;
    box-shadow: var(--crystalcraft-shadow);
    border: 1px solid var(--crystalcraft-border);
    transition: var(--crystalcraft-transition);
}

.crystalcraft-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--crystalcraft-shadow-lg);
}

.crystalcraft-testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.crystalcraft-testimonial-text {
    font-size: 0.9rem;
    color: var(--crystalcraft-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.crystalcraft-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crystalcraft-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--crystalcraft-accent);
}

.crystalcraft-testimonial-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.crystalcraft-testimonial-country {
    font-size: 0.75rem;
    color: var(--crystalcraft-text-light);
}

/* ---------- FAQ ---------- */
.crystalcraft-faq {
    background: var(--crystalcraft-bg-light);
}

.crystalcraft-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.crystalcraft-faq-item {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid var(--crystalcraft-border);
}

.crystalcraft-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--crystalcraft-primary);
    text-align: left;
    transition: var(--crystalcraft-transition);
    border: none;
    cursor: pointer;
    font-family: var(--crystalcraft-font-body);
}

.crystalcraft-faq-question:hover {
    color: var(--crystalcraft-accent);
}

.crystalcraft-faq-question i {
    color: var(--crystalcraft-accent);
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.crystalcraft-faq-item.active .crystalcraft-faq-question i {
    transform: rotate(180deg);
}

.crystalcraft-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.crystalcraft-faq-item.active .crystalcraft-faq-answer {
    max-height: 300px;
}

.crystalcraft-faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--crystalcraft-text-light);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* ---------- CTA Section ---------- */
.crystalcraft-cta-section {
    background: linear-gradient(135deg, var(--crystalcraft-primary), #16213e);
    position: relative;
    overflow: hidden;
}

.crystalcraft-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.08);
}

.crystalcraft-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.crystalcraft-cta-text h2 {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--crystalcraft-white);
    margin-bottom: 16px;
}

.crystalcraft-cta-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.crystalcraft-cta-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crystalcraft-cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.crystalcraft-cta-feature i {
    color: var(--crystalcraft-accent);
    font-size: 0.75rem;
}

/* ---------- Quote Form ---------- */
.crystalcraft-quote-form {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    padding: 40px;
    box-shadow: var(--crystalcraft-shadow-lg);
}

.crystalcraft-quote-form h3 {
    font-family: var(--crystalcraft-font-heading);
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--crystalcraft-primary);
}

.crystalcraft-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.crystalcraft-form-group {
    margin-bottom: 14px;
}

.crystalcraft-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--crystalcraft-text-dark);
    margin-bottom: 6px;
}

.crystalcraft-form-group input,
.crystalcraft-form-group select,
.crystalcraft-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--crystalcraft-border);
    border-radius: var(--crystalcraft-border-radius-sm);
    font-size: 0.875rem;
    transition: var(--crystalcraft-transition);
    background: var(--crystalcraft-white);
    font-family: var(--crystalcraft-font-body);
}

.crystalcraft-form-group input:focus,
.crystalcraft-form-group select:focus,
.crystalcraft-form-group textarea:focus {
    border-color: var(--crystalcraft-accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.crystalcraft-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.crystalcraft-form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--crystalcraft-accent), #d63050);
    color: white;
    border-radius: var(--crystalcraft-border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--crystalcraft-transition);
    margin-top: 4px;
    border: none;
    cursor: pointer;
    font-family: var(--crystalcraft-font-body);
}

.crystalcraft-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

/* ---------- Footer ---------- */
.crystalcraft-footer {
    background: var(--crystalcraft-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.crystalcraft-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.crystalcraft-footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.crystalcraft-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.crystalcraft-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--crystalcraft-transition);
}

.crystalcraft-footer-social a:hover {
    background: var(--crystalcraft-accent);
    color: white;
}

.crystalcraft-footer h4 {
    color: var(--crystalcraft-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.crystalcraft-footer ul li {
    margin-bottom: 10px;
}

.crystalcraft-footer ul a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--crystalcraft-transition);
}

.crystalcraft-footer ul a:hover {
    color: var(--crystalcraft-accent);
    padding-left: 4px;
}

.crystalcraft-footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.crystalcraft-footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.crystalcraft-payment-icons {
    display: flex;
    gap: 8px;
}

.crystalcraft-payment-icons span {
    width: 40px;
    height: 26px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Back to Top ---------- */
.crystalcraft-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--crystalcraft-accent);
    color: white;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    z-index: 999;
    transition: var(--crystalcraft-transition);
    border: none;
    cursor: pointer;
}

.crystalcraft-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
}

/* ---------- Animations ---------- */
@keyframes crystalcraftFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes crystalcraftFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.crystalcraft-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.crystalcraft-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- WooCommerce Styles ---------- */
.woocommerce-product-gallery {
    margin-bottom: 24px;
}

.woocommerce-product-gallery img {
    border-radius: var(--crystalcraft-border-radius);
}

.woocommerce .product .price {
    color: var(--crystalcraft-accent);
    font-weight: 700;
}

.woocommerce .button {
    background: var(--crystalcraft-accent);
    color: white;
    border-radius: var(--crystalcraft-border-radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    transition: var(--crystalcraft-transition);
}

.woocommerce .button:hover {
    background: var(--crystalcraft-accent-hover);
    color: white;
}

.woocommerce .star-rating {
    color: #f59e0b;
}

/* ---------- Print Styles ---------- */
@media print {
    .crystalcraft-navbar,
    .crystalcraft-back-to-top,
    .crystalcraft-footer {
        display: none;
    }
    body {
        background: white;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .crystalcraft-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .crystalcraft-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .crystalcraft-cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .crystalcraft-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .crystalcraft-cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .crystalcraft-nav-menu,
    .crystalcraft-nav-actions {
        display: none !important;
    }
    .crystalcraft-mobile-toggle {
        display: flex !important;
    }
    .crystalcraft-hero-stats {
        gap: 24px;
    }
    .crystalcraft-hero-stat .crystalcraft-num {
        font-size: 1.8rem;
    }
    .crystalcraft-cat-grid,
    .crystalcraft-cap-grid {
        grid-template-columns: 1fr;
    }
    .crystalcraft-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .crystalcraft-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .crystalcraft-cta-inner {
        gap: 32px;
    }
    .crystalcraft-quote-form {
        padding: 24px;
    }
    .crystalcraft-form-row {
        grid-template-columns: 1fr;
    }
    .crystalcraft-section {
        padding: 60px 0;
    }
    .crystalcraft-trust-inner {
        gap: 20px;
    }
    .crystalcraft-trust-sep {
        display: none;
    }
    .crystalcraft-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .crystalcraft-hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    .crystalcraft-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .crystalcraft-btn-primary,
    .crystalcraft-btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- WooCommerce Responsive ---------- */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
    }
    .woocommerce div.product form.cart {
        flex-direction: column;
    }
    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
    }
}

/* ---------- 404 Page ---------- */
.crystalcraft-404-content {
    text-align: center;
    padding: 120px 24px 80px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.crystalcraft-404-number {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    color: var(--crystalcraft-accent);
    line-height: 1;
    margin-bottom: 24px;
}

.crystalcraft-404-content h1 {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--crystalcraft-primary);
}

.crystalcraft-404-content p {
    color: var(--crystalcraft-text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.crystalcraft-404-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Page / Archive / Search ---------- */
.crystalcraft-page-header {
    background: linear-gradient(135deg, var(--crystalcraft-primary), #16213e);
    padding: 120px 0 60px;
    margin-top: 72px;
    text-align: center;
}

.crystalcraft-page-header h1 {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--crystalcraft-white);
    margin-bottom: 12px;
}

.crystalcraft-page-header .archive-description {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.crystalcraft-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.crystalcraft-blog-post {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    overflow: hidden;
    box-shadow: var(--crystalcraft-shadow);
    transition: var(--crystalcraft-transition);
}

.crystalcraft-blog-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--crystalcraft-shadow-lg);
}

.crystalcraft-blog-post__featured-image {
    overflow: hidden;
    height: 200px;
}

.crystalcraft-blog-post__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.crystalcraft-blog-post:hover .crystalcraft-blog-post__featured-image img {
    transform: scale(1.05);
}

.crystalcraft-blog-post__content {
    padding: 20px;
}

.crystalcraft-blog-post__category {
    display: inline-block;
    background: var(--crystalcraft-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.crystalcraft-blog-post__title {
    font-family: var(--crystalcraft-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--crystalcraft-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.crystalcraft-blog-post__excerpt {
    font-size: 0.85rem;
    color: var(--crystalcraft-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.crystalcraft-blog-post__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--crystalcraft-text-light);
}

.crystalcraft-blog-post__meta i {
    color: var(--crystalcraft-accent);
}

/* ---------- Single Post ---------- */
.crystalcraft-entry-header {
    background: linear-gradient(135deg, var(--crystalcraft-primary), #16213e);
    padding: 120px 0 60px;
    margin-top: 72px;
}

.crystalcraft-entry-header .entry-title {
    font-family: var(--crystalcraft-font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--crystalcraft-white);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.crystalcraft-entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.crystalcraft-entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crystalcraft-entry-meta i {
    color: var(--crystalcraft-accent);
}

.crystalcraft-entry-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 24px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--crystalcraft-text-dark);
}

.crystalcraft-entry-content p {
    margin-bottom: 1.5em;
}

.crystalcraft-entry-content h2,
.crystalcraft-entry-content h3,
.crystalcraft-entry-content h4 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: var(--crystalcraft-primary);
}

.crystalcraft-entry-content img {
    border-radius: var(--crystalcraft-border-radius);
    margin: 2em 0;
}

.crystalcraft-entry-content a {
    color: var(--crystalcraft-accent);
    text-decoration: underline;
}

.crystalcraft-entry-content ul,
.crystalcraft-entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.crystalcraft-entry-content li {
    margin-bottom: 0.5em;
    list-style: disc;
}

.crystalcraft-entry-content blockquote {
    border-left: 4px solid var(--crystalcraft-accent);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: var(--crystalcraft-text-light);
}

/* ---------- Pagination & Navigation ---------- */
.crystalcraft-pagination,
.post-navigation,
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.crystalcraft-pagination a,
.crystalcraft-pagination span,
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--crystalcraft-bg-light);
    color: var(--crystalcraft-primary);
    font-weight: 500;
    transition: var(--crystalcraft-transition);
}

.crystalcraft-pagination a:hover,
.pagination a:hover {
    background: var(--crystalcraft-accent);
    color: white;
}

.crystalcraft-pagination .current,
.pagination .current {
    background: var(--crystalcraft-accent);
    color: white;
}

/* ---------- Sidebar ---------- */
.crystalcraft-sidebar {
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius);
    padding: 24px;
    box-shadow: var(--crystalcraft-shadow);
}

.crystalcraft-sidebar .widget {
    margin-bottom: 32px;
}

.crystalcraft-sidebar .widget:last-child {
    margin-bottom: 0;
}

.crystalcraft-sidebar .widget-title {
    font-family: var(--crystalcraft-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--crystalcraft-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--crystalcraft-accent);
}

/* ---------- Search Form ---------- */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--crystalcraft-border);
    border-radius: var(--crystalcraft-border-radius-sm);
    font-size: 0.875rem;
    transition: var(--crystalcraft-transition);
}

.search-form .search-field:focus {
    border-color: var(--crystalcraft-accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.search-form .search-submit {
    padding: 12px 20px;
    background: var(--crystalcraft-accent);
    color: white;
    border: none;
    border-radius: var(--crystalcraft-border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--crystalcraft-transition);
}

.search-form .search-submit:hover {
    background: var(--crystalcraft-accent-hover);
}

/* ---------- Comments ---------- */
.crystalcraft-comments-area {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 24px;
}

.crystalcraft-comments-area .comments-title {
    font-family: var(--crystalcraft-font-heading);
    font-size: 1.5rem;
    color: var(--crystalcraft-primary);
    margin-bottom: 32px;
}

.crystalcraft-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.crystalcraft-comment {
    background: var(--crystalcraft-bg-light);
    border-radius: var(--crystalcraft-border-radius);
    padding: 20px;
    margin-bottom: 16px;
}

.crystalcraft-comment-author {
    font-weight: 600;
    color: var(--crystalcraft-primary);
    margin-bottom: 4px;
}

.crystalcraft-comment-date {
    font-size: 0.75rem;
    color: var(--crystalcraft-text-light);
    margin-bottom: 10px;
}

.crystalcraft-comment-text {
    font-size: 0.9rem;
    color: var(--crystalcraft-text-dark);
    line-height: 1.7;
}

/* ---------- WooCommerce Custom Styles ---------- */
.crystalcraft-product-meta {
    background: var(--crystalcraft-bg-light);
    border-radius: var(--crystalcraft-border-radius-sm);
    padding: 16px;
    margin: 16px 0;
}

.crystalcraft-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: var(--crystalcraft-text-dark);
}

.crystalcraft-meta-item:last-child {
    margin-bottom: 0;
}

.crystalcraft-meta-item i {
    color: var(--crystalcraft-accent);
    width: 16px;
    text-align: center;
}

.crystalcraft-quote-btn-wrapper {
    margin-top: 16px;
}

.crystalcraft-quote-btn {
    width: 100%;
    justify-content: center;
}

/* ---------- Language Switcher Dropdown ---------- */
.crystalcraft-lang-dropdown {
    position: relative;
}

.crystalcraft-lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--crystalcraft-white);
    border-radius: var(--crystalcraft-border-radius-sm);
    box-shadow: var(--crystalcraft-shadow-lg);
    min-width: 140px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.crystalcraft-lang-dropdown:hover .crystalcraft-lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.crystalcraft-lang-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--crystalcraft-text-dark);
    font-size: 0.85rem;
    transition: var(--crystalcraft-transition);
}

.crystalcraft-lang-dropdown-menu a:hover {
    background: var(--crystalcraft-bg-light);
    color: var(--crystalcraft-accent);
}

.crystalcraft-lang-dropdown-menu a.active {
    color: var(--crystalcraft-accent);
    font-weight: 600;
}

/* ---------- Smooth Image Loading ---------- */
.crystalcraft-lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crystalcraft-lazy.loaded {
    opacity: 1;
}
