/*
Theme Name: LaserMachineParts
Theme URI: https://lasermachineparts.com
Author: LaserMachineParts Team
Author URI: https://lasermachineparts.com
Description: Professional WordPress theme for laser marking machine equipment and spare parts B2B website. Fully responsive, SEO optimized, with custom post types for equipment and parts, contact form, and product inquiry functionality.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lasermachineparts
Tags: laser, marking-machine, industrial, b2b, equipment, spare-parts, responsive, e-commerce, business
*/

/* =====================================================
   CSS Variables & Reset
   ===================================================== */

:root {
    --primary: #1a56db;
    --primary-dark: #1e429f;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #e2e8f0;
    --gray-dark: #94a3b8;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container: 1280px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

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

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

a:hover {
    color: var(--primary-dark);
}

/* =====================================================
   Container & Layout
   ===================================================== */

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

.section-padding {
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(26, 86, 219, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-tag-light {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title-light {
    color: #fff;
}

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

/* =====================================================
   Top Bar
   ===================================================== */

.top-bar {
    background: var(--dark);
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    color: #fff;
}

.whatsapp-link {
    color: #25d366 !important;
    font-weight: 600;
}

.whatsapp-link:hover {
    color: #128c7e !important;
}

/* =====================================================
   Header & Navigation
   ===================================================== */

.site-header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}

.site-logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-search {
    flex: 1;
    max-width: 500px;
}

.header-search form {
    display: flex;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.header-search .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
}

.header-cta {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* =====================================================
   Language Switcher
   ===================================================== */

.language-switcher {
    flex-shrink: 0;
}

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

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.lang-dropdown-toggle:hover {
    border-color: var(--primary);
    background: var(--light);
}

.lang-dropdown-toggle img {
    border-radius: 2px;
    width: 20px;
    height: 14px;
    object-fit: cover;
}

.lang-dropdown-toggle svg {
    color: var(--text-light);
    transition: var(--transition);
}

.lang-dropdown.open .lang-dropdown-toggle svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
    display: none;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
    border: none;
    opacity: 1;
    width: auto;
    height: auto;
    border-radius: 0;
}

.lang-dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
    transform: none;
}

.lang-dropdown-menu li.active a {
    background: var(--light);
    color: var(--primary);
    font-weight: 600;
}

.lang-dropdown-menu li img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-dropdown-menu li span {
    white-space: nowrap;
}

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

.main-nav {
    border-top: 1px solid var(--border);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 8px 0;
    z-index: 100;
}

.nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
}

.sub-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* =====================================================
   Hero Section (V2)
   ===================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 50%, var(--primary-dark) 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 0 32px;
}

.hero-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* =====================================================
   Product Categories Section (V2)
   ===================================================== */

.product-categories-section {
    padding: 100px 0;
    background: #fff;
}

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

/* Product Carousel */
.product-carousel-wrap {
    margin-bottom: 48px;
}

.carousel-row-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-left: 4px;
}

.product-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-track {
    flex: 1;
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 4px 0;
}

.carousel-card {
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    transition: var(--transition);
    min-height: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.carousel-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.carousel-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

.carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.08);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* =====================================================
   Why Choose Us Section (V2)
   ===================================================== */

.why-choose-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2744 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 30px 30px;
}

.why-choose-section .container {
    position: relative;
    z-index: 1;
}

.advantages-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-card-v2 {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.advantage-card-v2:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.advantage-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.advantage-card-v2 h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.advantage-card-v2 p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* =====================================================
   Trust Section
   ===================================================== */

.trust-section {
    background: var(--light);
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.trust-text span {
    font-size: 13px;
    color: var(--text-light);
}

/* =====================================================
   Latest Products Section (V2)
   ===================================================== */

.latest-products-section {
    padding: 100px 0;
    background: #fff;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--border);
    color: var(--text);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-body {
    padding: 24px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--primary);
}

.product-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price .currency {
    font-size: 14px;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.no-products svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

/* =====================================================
   CTA Section
   ===================================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f4f8 100%);
}

.cta-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* =====================================================
   Page Header
   ===================================================== */

.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-desc {
    font-size: 1.125rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    opacity: 0.5;
}

/* =====================================================
   Content Layout
   ===================================================== */

.content-area {
    padding: 60px 0;
}

.content-area .container {
    max-width: 900px;
}

.content-area h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--dark);
}

.content-area h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--dark);
}

.content-area p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-area ul,
.content-area ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-area li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* =====================================================
   Filter Bar
   ===================================================== */

.filter-bar {
    background: var(--light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.filter-bar .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.filter-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
}

.filter-links a {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
}

.filter-links a:hover,
.filter-links .current a {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* =====================================================
   Product Detail
   ===================================================== */

.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.product-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.product-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.product-specs {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.product-specs h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 12px 0;
    font-size: 14px;
}

.specs-table td:first-child {
    color: var(--text-light);
    width: 40%;
}

.specs-table td:last-child {
    font-weight: 600;
    color: var(--dark);
}

.inquiry-btn {
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    font-size: 1.125rem;
}

/* =====================================================
   Contact Page
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-details {
    list-style: none;
    margin-bottom: 32px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-details .icon {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-details p {
    font-weight: 600;
    color: var(--dark);
}

.contact-form-wrap {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form-wrap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    width: 100%;
}

.form-message {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* =====================================================
   FAQ Accordion
   ===================================================== */

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =====================================================
   Pagination
   ===================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

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

.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 12px;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    line-height: 1.8;
    max-width: 300px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

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

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: #94a3b8;
}

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

.footer-hours {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #334155;
}

.footer-hours strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-hours p {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #94a3b8;
}

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

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

@media (max-width: 1024px) {
    .categories-grid,
    .advantages-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-content p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .categories-grid,
    .advantages-grid-v2,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .header-search {
        display: none;
    }

    .header-cta {
        display: none;
    }

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

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        padding: 20px;
    }

    .nav-menu > li > a {
        border-bottom: none;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .contact-form-wrap {
        padding: 20px;
    }

    .cta-box {
        padding: 32px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .products-tabs {
        flex-wrap: wrap;
    }

    .carousel-card {
        flex: 0 0 calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
        padding: 20px 12px;
        min-height: 140px;
    }

    .carousel-card-title {
        font-size: 0.85rem;
    }

    .carousel-row-title {
        font-size: 1.15rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        flex: 0 0 calc(100% - 8px);
        max-width: calc(100% - 8px);
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .site-header,
    .main-nav,
    .whatsapp-float,
    .hero-section,
    .cta-section,
    .contact-form-wrap,
    .filter-bar,
    .pagination,
    .products-tabs {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-padding {
        padding: 20px 0;
    }
}

/* =====================================================
   WhatsApp QR Modal
   ===================================================== */

.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qr-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.qr-modal.active .qr-modal-content {
    transform: scale(1);
}

.qr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qr-modal-close:hover {
    background: var(--border);
    color: var(--dark);
}

.qr-modal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.qr-modal-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.qr-image-wrap {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.qr-image-wrap img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.qr-modal-content .btn {
    width: 100%;
}