﻿/*
Theme Name: Bingsen Gear
Theme URI: https://www.bingsengear.com
Author: Bingsen Gear
Author URI: https://www.bingsengear.com
Description: Custom theme for Bingsen Gear - Outdoor & Camping Equipment Manufacturer. B2B focused with product showcase, inquiry form, and company information.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bingsengear
Tags: one-column, custom-logo, translation-ready
*/
/* =============================================
   BINGSEN GEAR 鈥?Global Styles & Variables
   ============================================= */

:root {
    /* Colors */
    --color-primary: #1a3a2a;
    --color-primary-light: #2a5a42;
    --color-primary-dark: #0f2518;
    --color-accent: #c8a96e;
    --color-accent-light: #d4bc8a;
    --color-accent-dark: #a88a4e;
    
    --color-bg: #ffffff;
    --color-bg-warm: #f8f5f0;
    --color-bg-cream: #f2ede6;
    --color-bg-dark: #1a1a1a;
    --color-bg-darker: #111111;
    
    --color-text: #2a2a2a;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-text-inverse: #ffffff;
    
    --color-border: #e5e0d8;
    --color-border-light: #f0ece6;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', -apple-system, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    --container-padding: 24px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.6s;
    --duration-fast: 0.3s;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* =============================================
   Reset & Base
   ============================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

::selection {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

/* =============================================
   Container
   ============================================= */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-smooth);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

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

.btn svg {
    transition: transform var(--duration-fast) var(--ease-smooth);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* =============================================
   Navigation
   ============================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-inverse);
    transition: color var(--duration-fast);
    z-index: 1001;
}

.nav.scrolled .nav-logo {
    color: var(--color-primary);
}

.logo-icon {
    display: flex;
    color: var(--color-accent);
}

.logo-accent {
    color: var(--color-accent);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color var(--duration-fast);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav.scrolled .nav-links a {
    color: var(--color-text-light);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.nav .btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}


/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 8px;
}
.lang-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}
.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}
.lang-switcher a img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-inverse);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.nav.scrolled .nav-toggle span {
    background: var(--color-primary);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-primary-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(200,169,110,0.15), transparent),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(42,90,66,0.3), transparent),
        linear-gradient(160deg, #0f2518 0%, #1a3a2a 40%, #0f2518 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    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='1'%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");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-inverse);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.text-accent {
    color: var(--color-accent);
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-actions .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.hero-actions .btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.hero-actions .btn-outline {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.3);
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* =============================================
   Section Common
   ============================================= */

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-dark);
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 1px;
    background: var(--color-accent-dark);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* =============================================
   Products Section
   ============================================= */

.products {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.product-card {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--duration) var(--ease-out);
}

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

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

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

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

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-primary);
    opacity: 0.6;
    transition: opacity var(--duration-fast);
}

.product-card:hover .product-placeholder {
    opacity: 0.8;
}

.product-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.product-badge {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-specs li {
    font-size: 0.8rem;
    color: var(--color-text-lighter);
    padding-left: 16px;
    position: relative;
}

.product-specs li::before {
    content: '鉁?;
    position: absolute;
    left: 0;
    color: var(--color-accent-dark);
    font-weight: 700;
}

.product-cta {
    text-align: center;
    padding: 40px;
    background: var(--color-bg-warm);
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
}

.product-cta p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* =============================================
   About Section
   ============================================= */

.about {
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-block {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.4);
}

.about-placeholder span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-bg);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.badge-big {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.about-badge-float span:last-child {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-content .section-title {
    text-align: left;
    margin-top: 8px;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.85rem;
    color: var(--color-text-lighter);
}

/* =============================================
   Why Us Section
   ============================================= */

.why-us {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 40px 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration) var(--ease-out);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-bg-cream);
    line-height: 1;
    margin-bottom: 20px;
    transition: color var(--duration) var(--ease-out);
}

.why-card:hover .why-number {
    color: var(--color-border-light);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

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

/* =============================================
   Process Section
   ============================================= */

.process {
    padding: var(--section-padding) 0;
    background: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,169,110,0.08), transparent 60%);
}

.process .section-tag {
    color: var(--color-accent);
}

.process .section-tag::before {
    background: var(--color-accent);
}

.process .section-title {
    color: var(--color-text-inverse);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.step-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: var(--color-primary-dark);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-inverse);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* =============================================
   Contact Section
   ============================================= */

.contact {
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-top: 8px;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.contact-item span {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,58,42,0.1);
    background: var(--color-bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-lighter);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-lighter);
    text-align: center;
    margin-top: 16px;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    background: var(--color-bg-dark);
    padding: 80px 0 0;
}

.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);
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.35);
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

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

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

/* =============================================
   Animations
   ============================================= */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 0;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .contact-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--duration) var(--ease-out);
    }
    
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.9);
    }
    
    
/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 8px;
}
.lang-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}
.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}
.lang-switcher a img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}
.nav-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero-content {
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .hero-stat {
        min-width: 100px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 48px;
        position: relative;
    }

    .process-step {
        text-align: left;
        padding: 20px 0;
        position: relative;
    }

    .step-dot {
        position: absolute;
        left: -40px;
        top: 20px;
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .step-num {
        font-size: 0.9rem;
    }

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

    .process-step + .process-step {
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .about-badge-float {
        bottom: -12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number, .stat-suffix {
        font-size: 1.6rem;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
}
/* =============================================
   Products Page Styles
   ============================================= */

.page-header {
    padding: 140px 0 48px;
    background: var(--color-primary-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,169,110,0.1), transparent 60%);
}

.page-header .section-tag {
    color: var(--color-accent);
    position: relative;
}

.page-header .section-tag::before {
    background: var(--color-accent);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-inverse);
    margin-bottom: 12px;
    position: relative;
}

.page-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    position: relative;
}

/* Filter Bar */
.filter-bar {
    padding: 24px 0;
    background: var(--color-bg-warm);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 56px;
    z-index: 90;
}

.filter-wrap {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-wrap::-webkit-scrollbar { display: none; }

.filter-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

/* Products Grid */
.products-page {
    padding: 48px 0;
}

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

/* Product Card (enhanced for dynamic content) */
.product-card-dynamic {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all 0.6s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.product-card-dynamic .card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-card-dynamic .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.product-card-dynamic .card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-primary);
    opacity: 0.4;
}

.product-card-dynamic .card-img-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-card-dynamic .card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(26,58,42,0.85);
    backdrop-filter: blur(8px);
    color: var(--color-text-inverse);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-dynamic .card-video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(200,169,110,0.9);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-dynamic .card-video-badge svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.product-card-dynamic .card-body {
    padding: 20px 24px 24px;
}

.product-card-dynamic .card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.product-card-dynamic .card-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-dynamic .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card-dynamic .card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.product-card-dynamic .card-action {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.product-card-dynamic:hover .card-action {
    gap: 8px;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--color-text-light);
}

.loading-state .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--color-text-light);
}

.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.1rem; color: var(--color-text); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; margin-bottom: 24px; }

/* CTA Section */
.products-cta-section {
    padding: 0 0 80px;
}

/* Fade-in animation for cards */
.product-card-dynamic {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

.product-card-dynamic:nth-child(1) { animation-delay: 0s; }
.product-card-dynamic:nth-child(2) { animation-delay: 0.05s; }
.product-card-dynamic:nth-child(3) { animation-delay: 0.1s; }
.product-card-dynamic:nth-child(4) { animation-delay: 0.15s; }
.product-card-dynamic:nth-child(5) { animation-delay: 0.2s; }
.product-card-dynamic:nth-child(6) { animation-delay: 0.25s; }
.product-card-dynamic:nth-child(7) { animation-delay: 0.3s; }
.product-card-dynamic:nth-child(8) { animation-delay: 0.35s; }
.product-card-dynamic:nth-child(9) { animation-delay: 0.4s; }

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

/* 鈹€鈹€鈹€ Responsive 鈹€鈹€鈹€ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 36px;
    }

    .filter-bar {
        top: 48px;
    }

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

    .products-page {
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
/* =============================================
   Product Detail Page Styles
   ============================================= */

.detail-page {
    padding: 100px 0 80px;
    min-height: 60vh;
}

/* Breadcrumb */
.detail-breadcrumb {
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--color-text-lighter);
}

.detail-breadcrumb a {
    color: var(--color-text-light);
    transition: color 0.2s;
}

.detail-breadcrumb a:hover {
    color: var(--color-primary);
}

.detail-breadcrumb .sep {
    margin: 0 8px;
    color: var(--color-border);
}

.detail-breadcrumb .current {
    color: var(--color-text);
    font-weight: 500;
}

/* Detail Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Gallery */
.detail-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-cream);
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.gallery-main-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-primary);
    opacity: 0.3;
}

.gallery-main-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--color-bg-cream);
}

.gallery-thumb:hover {
    border-color: var(--color-border);
}

.gallery-thumb.active {
    border-color: var(--color-primary);
}

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

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.2s;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Detail Info */
.detail-info {
    padding-top: 8px;
}

.detail-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-dark);
    margin-bottom: 12px;
}

.detail-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.detail-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 32px;
    white-space: pre-line;
}

/* Video */
.detail-video {
    margin-bottom: 32px;
}

.detail-video h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.detail-video video {
    width: 100%;
    border-radius: 12px;
    background: #000;
    box-shadow: var(--shadow-md);
}

/* CTA */
.detail-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Error */
.detail-error {
    text-align: center;
    padding: 80px 0;
}

.detail-error .icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.detail-error h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.detail-error p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 鈹€鈹€鈹€ Responsive 鈹€鈹€鈹€ */
@media (max-width: 1024px) {
    .detail-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .detail-page {
        padding: 80px 0 48px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-gallery {
        position: static;
    }

    .gallery-main {
        aspect-ratio: 3/2;
    }

    .gallery-thumb {
        width: 64px;
        height: 64px;
    }

    .detail-cta {
        flex-direction: column;
    }

    .detail-cta .btn {
        justify-content: center;
    }
}

/* =============================================
   WPForms Theme Overrides
   ============================================= */
.wpforms-container .wpforms-form .wpforms-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 28px;
}

.wpforms-container .wpforms-form .wpforms-field-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.wpforms-container .wpforms-form input[type=text],
.wpforms-container .wpforms-form input[type=email],
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--color-text) !important;
    background: var(--color-bg-warm) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.wpforms-container .wpforms-form input[type=text]:focus,
.wpforms-container .wpforms-form input[type=email]:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(26,58,42,0.1) !important;
    background: var(--color-bg) !important;
}

.wpforms-container .wpforms-form .wpforms-submit {
    background: var(--color-primary) !important;
    color: var(--color-text-inverse) !important;
    border-color: var(--color-primary) !important;
    border-radius: 6px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 16px 40px !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-smooth);
    width: 100%;
}

.wpforms-container .wpforms-form .wpforms-submit:hover {
    background: var(--color-primary-light) !important;
    border-color: var(--color-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

@media (max-width: 768px) {
    .wpforms-container .wpforms-form .wpforms-field-row {
        grid-template-columns: 1fr;
    }
}