/* === NORDIC LIFT & MATERIAL – Frontend Styles === */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/inter-var.woff2') format('woff2');
}

:root {
    --red: #B91C1C;
    --red-dark: #991B1B;
    --red-light: #DC2626;
    --dark: #1A1A1A;
    --gray-900: #222;
    --gray-700: #555;
    --gray-500: #888;
    --gray-300: #CCC;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
    --max-width: 1200px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.content-narrow { max-width: 800px; }
.center-text { text-align: center; }
.hidden { display: none !important; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.5rem; border-radius: var(--radius);
    font-size: 0.95rem; font-weight: 600; border: 2px solid transparent;
    cursor: pointer; transition: all var(--transition); text-decoration: none;
    line-height: 1.4;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }

/* Light variant for use on dark backgrounds */
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

/* --- Header --- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.4rem; font-weight: 800; color: var(--dark); text-decoration: none;
}
.logo:hover { color: var(--dark); }
.logo-img { height: 60px; width: auto; object-fit: contain; }
.logo-icon { color: var(--red); font-size: 1.6rem; }

.main-nav ul {
    display: flex; list-style: none; gap: 0.3rem; align-items: center;
}
.main-nav a {
    padding: 0.5rem 1rem; color: var(--gray-700); font-weight: 500;
    border-radius: var(--radius); transition: all var(--transition);
}
.main-nav a:hover { color: var(--red); background: var(--gray-100); }
.main-nav a.btn-primary { color: var(--white); }
.main-nav a.btn-primary:hover { color: var(--white); background: var(--red-dark); }

/* --- Mega Menu --- */
.has-mega { position: static; }
.has-mega > a::after {
    content: ''; position: absolute; bottom: -20px; left: 0;
    width: 100%; height: 20px;
}
.has-mega > a { position: relative; }
.mega-menu {
    display: none; position: absolute; top: 69px; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg); z-index: 50;
    padding: 1.5rem 0;
}
.mega-menu::before {
    content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px;
}
.has-mega:hover > .mega-menu { display: block; }
.mega-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.mega-card {
    position: relative; display: block; height: 160px;
    border-radius: var(--radius-lg); overflow: hidden;
    background-color: var(--dark); background-size: cover !important; background-position: center !important;
    text-decoration: none !important; color: var(--white) !important;
    transform: none !important;
}
.mega-card:hover { color: var(--white) !important; transform: none !important; }
.mega-card-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.2rem;
}
.mega-card:hover .mega-card-overlay { background: rgba(0,0,0,0.75); }
.mega-card-title {
    display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.3;
    color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.mega-card-overlay span { font-size: 0.8rem; margin-top: 0.2rem; color: rgba(255,255,255,0.9); }
.mega-card-all { background: var(--red) !important; }
.mega-card-all .mega-card-overlay {
    background: none !important; align-items: center; justify-content: center; text-align: center;
}
.mega-card-all:hover { background: var(--red-dark) !important; }
.mega-card-all .mega-card-title { text-shadow: none; }
.mega-card-all .mega-card-overlay span { font-size: 1.5rem; opacity: 1; }

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 0.5rem; flex-direction: column; gap: 5px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px; background: var(--dark);
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2D0000 100%);
    color: var(--white); padding: 5rem 0; text-align: center;
}
.hero-with-image {
    background-size: cover !important; background-position: center !important; background-repeat: no-repeat;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Sections --- */
.section { padding: 4rem 0; }
.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 2rem; text-align: center; }
.section-cta { text-align: center; margin-top: 2.5rem; }

.page-header { background: var(--gray-100); padding: 2.5rem 0; }
.page-header h1 { font-size: 2rem; font-weight: 700; }
.page-description { color: var(--gray-700); font-size: 1.1rem; margin-top: 0.5rem; max-width: 700px; }

/* --- Breadcrumbs --- */
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol { display: flex; gap: 0.5rem; list-style: none; font-size: 0.9rem; }
.breadcrumbs li::after { content: '/'; margin-left: 0.5rem; color: var(--gray-500); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--gray-700); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs li[aria-current] { color: var(--gray-500); }

/* --- Category Grid --- */
.category-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.category-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2rem 1.5rem; background: var(--gray-100);
    border-radius: var(--radius-lg); text-align: center;
    transition: all var(--transition); border: 2px solid transparent; color: var(--dark);
}
.category-card:hover { border-color: var(--red); color: var(--dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.category-icon { height: 60px; width: auto; margin-bottom: 0.75rem; object-fit: contain; transition: all var(--transition); opacity: 0.8; }
.category-card:hover .category-icon { opacity: 1; transform: scale(1.05); }
.category-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.3rem; }
.category-count { font-size: 0.85rem; color: var(--gray-500); }

/* --- Product Grid --- */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition); color: var(--dark); text-decoration: none;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--dark); }
.product-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.02); }
.product-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; background: var(--gray-100);
    color: var(--gray-300); font-size: 3rem;
}
.product-placeholder-lg { aspect-ratio: 4/3; font-size: 5rem; border-radius: var(--radius); }
.product-info { padding: 1.2rem; }
.product-category { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.product-info h3 { font-size: 1.1rem; font-weight: 600; margin: 0.3rem 0 0.5rem; }
.product-info p { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 0.5rem; }
.product-price { margin-top: 0.5rem; }
.price { font-size: 1.2rem; font-weight: 700; color: var(--red); }
.price-contact { font-size: 0.95rem; font-weight: 500; color: var(--gray-700); }
.price-vat { font-size: 0.8rem; color: var(--gray-500); margin-left: 0.3rem; }

.badge { display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 600; border-radius: 999px; }
.badge-featured { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--red); color: var(--white); }

.product-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.tag {
    display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.75rem;
    background: var(--gray-100); color: var(--gray-700); border-radius: 999px;
}
a.tag:hover { background: var(--red); color: var(--white); }

/* --- Products Page Layout --- */
.products-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; }
.products-sidebar {}
.products-count { margin-bottom: 1rem; color: var(--gray-500); font-size: 0.9rem; }

.search-form {
    display: flex; margin-bottom: 1.5rem;
}
.search-form input {
    flex: 1; padding: 0.6rem 0.8rem; border: 1px solid var(--gray-300);
    border-radius: var(--radius) 0 0 var(--radius); font-size: 0.9rem;
}
.search-form button {
    padding: 0.6rem 0.8rem; background: var(--red); color: var(--white);
    border: none; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer;
}

.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 0.3rem; }
.sidebar-list a {
    display: flex; justify-content: space-between; padding: 0.4rem 0.6rem;
    color: var(--gray-700); border-radius: var(--radius); font-size: 0.9rem;
}
.sidebar-list a:hover, .sidebar-list a.active { background: var(--gray-100); color: var(--red); }

/* --- Product Detail --- */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); position: relative; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.gallery-zoom-hint {
    position: absolute; bottom: 0.75rem; right: 0.75rem;
    background: rgba(0,0,0,0.5); color: var(--white); width: 36px; height: 36px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; pointer-events: none; opacity: 0.7; transition: opacity var(--transition);
}
.gallery-main:hover .gallery-zoom-hint { opacity: 1; }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.gallery-thumb {
    flex-shrink: 0; width: 70px; height: 52px; border-radius: var(--radius);
    overflow: hidden; border: 2px solid transparent; cursor: pointer;
    padding: 0; background: none;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info {}
.product-category-link { font-size: 0.85rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.product-category-link:hover { color: var(--red); }
.product-detail-info h1 { font-size: 2rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.product-price-lg { margin-bottom: 1.5rem; }
.product-price-lg .price { font-size: 1.8rem; }
.product-short-desc { margin-bottom: 1.5rem; color: var(--gray-700); line-height: 1.7; }

.product-specs { margin: 1.5rem 0; }
.product-specs h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.product-specs table { width: 100%; border-collapse: collapse; }
.product-specs th, .product-specs td {
    padding: 0.6rem 0; border-bottom: 1px solid var(--gray-200);
    text-align: left; font-size: 0.9rem;
}
.product-specs th { color: var(--gray-500); font-weight: 500; width: 40%; }
.spec-check { color: #059669; font-weight: 700; }

.product-tags-detail { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.product-description { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.product-description h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.content-body { line-height: 1.8; color: var(--gray-700); }
.content-body h2, .content-body h3 { color: var(--dark); margin: 1.5rem 0 0.75rem; }
.content-body p { margin-bottom: 1rem; }
.content-body ul, .content-body ol { margin: 1rem 0; padding-left: 1.5rem; }

/* --- Calculator Section --- */
.calculator-section { background: var(--gray-100); }
.calculator-subtitle { text-align: center; color: var(--gray-700); margin-top: -1rem; margin-bottom: 2rem; font-size: 1.05rem; }
.calculator-box {
    max-width: 800px; margin: 0 auto;
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem; box-shadow: var(--shadow-md);
}
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.calc-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--gray-900); }
.calc-field small { display: block; margin-top: 0.25rem; font-size: 0.78rem; color: var(--gray-500); }
.calc-input-wrap {
    display: flex; align-items: center;
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    overflow: hidden; transition: border-color var(--transition);
}
.calc-input-wrap:focus-within { border-color: var(--red); }
.calc-input-wrap input {
    flex: 1; border: none; padding: 0.7rem 0.9rem;
    font-size: 1rem; font-family: inherit; outline: none;
    -moz-appearance: textfield;
}
.calc-input-wrap input::-webkit-outer-spin-button,
.calc-input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-unit {
    padding: 0.7rem 0.9rem; background: var(--gray-100);
    color: var(--gray-500); font-size: 0.85rem; font-weight: 500;
    border-left: 1px solid var(--gray-300); white-space: nowrap;
}
.calc-checkbox-row { margin-top: 1.25rem; }
.calc-checkbox {
    display: inline-flex; align-items: center; gap: 0.6rem;
    cursor: pointer; font-size: 0.95rem; font-weight: 500; color: var(--gray-900);
    padding: 0.6rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius);
    transition: all var(--transition); user-select: none;
}
.calc-checkbox:hover { border-color: var(--red); }
.calc-checkbox:has(input:checked) { border-color: var(--red); background: #FEF2F2; }
.calc-checkbox input { display: none; }
.calc-checkmark {
    width: 20px; height: 20px; border: 2px solid var(--gray-300); border-radius: 4px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all var(--transition);
}
.calc-checkbox input:checked ~ .calc-checkmark {
    background: var(--red); border-color: var(--red);
}
.calc-checkbox input:checked ~ .calc-checkmark::after {
    content: ''; display: block; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -2px;
}
.calc-submit { width: 100%; margin-top: 1.5rem; justify-content: center; font-size: 1.05rem; }

.calc-results { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }
.calc-results-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }

.calc-results-list { display: flex; flex-direction: column; gap: 0.75rem; }

.calc-result-card {
    display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem;
    align-items: center; padding: 1rem; border: 1px solid var(--gray-200);
    border-radius: var(--radius); transition: all var(--transition);
    text-decoration: none; color: var(--dark);
}
.calc-result-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--dark); }
.calc-result-img {
    width: 80px; height: 60px; border-radius: 6px; overflow: hidden;
    background: var(--gray-100); flex-shrink: 0;
}
.calc-result-img img { width: 100%; height: 100%; object-fit: cover; }
.calc-result-img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; color: var(--gray-300); font-size: 1.5rem;
}
.calc-result-info { min-width: 0; }
.calc-result-name { font-weight: 600; font-size: 1rem; margin-bottom: 0.2rem; }
.calc-result-meta { font-size: 0.8rem; color: var(--gray-500); display: flex; gap: 1rem; flex-wrap: wrap; }
.calc-result-match { text-align: right; flex-shrink: 0; }
.calc-match-pct { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.calc-match-pct.match-high { color: #059669; }
.calc-match-pct.match-mid { color: #D97706; }
.calc-match-pct.match-low { color: var(--red); }
.calc-match-label { font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.calc-no-results { text-align: center; padding: 1.5rem; color: var(--gray-700); }

.calc-loading { text-align: center; padding: 2rem; }
.calc-spinner {
    width: 32px; height: 32px; border: 3px solid var(--gray-200);
    border-top-color: var(--red); border-radius: 50%;
    animation: calcSpin 0.7s linear infinite; margin: 0 auto 0.75rem;
}
@keyframes calcSpin { to { transform: rotate(360deg); } }
.calc-loading p { color: var(--gray-500); font-size: 0.9rem; }

@media (max-width: 600px) {
    .calc-fields { grid-template-columns: 1fr; }
    .calc-result-card { grid-template-columns: 60px 1fr auto; gap: 0.75rem; padding: 0.75rem; }
    .calc-result-img { width: 60px; height: 45px; }
    .calc-match-pct { font-size: 1.1rem; }
}

/* --- Rental Section --- */
.rental-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.rental-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition); color: var(--dark); text-decoration: none;
}
.rental-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--dark); }
.badge-rental { position: absolute; top: 0.75rem; left: 0.75rem; background: #059669; color: var(--white); display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 600; border-radius: 999px; }
.rental-badge-lg { display: inline-block; padding: 0.3rem 0.9rem; background: #059669; color: var(--white); font-size: 0.8rem; font-weight: 600; border-radius: 999px; margin-bottom: 0.5rem; }
.rental-spec-highlight { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.rental-prices { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.rental-price-item { display: flex; align-items: baseline; gap: 0.2rem; }
.rental-price-amount { font-size: 1.1rem; font-weight: 700; color: var(--red); }
.rental-price-period { font-size: 0.8rem; color: var(--gray-500); }

.rental-pricing-detail { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.rental-price-block { text-align: center; padding: 0.75rem 1.25rem; background: var(--gray-100); border-radius: var(--radius); }
.rental-price-big { display: block; font-size: 1.5rem; font-weight: 800; color: var(--red); }
.rental-price-label { font-size: 0.8rem; color: var(--gray-500); }

.delivery-inline { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; background: #ECFDF5; color: #065F46; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; margin: 1.5rem 0; }
.delivery-inline-icon { font-size: 1.3rem; }

/* --- Delivery Banner --- */
.delivery-banner-section { padding: 2rem 0; }
.delivery-banner {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 2rem 2.5rem; background: linear-gradient(135deg, #065F46, #059669);
    border-radius: var(--radius-lg); color: var(--white);
}
.delivery-banner-icon { font-size: 3rem; flex-shrink: 0; }
.delivery-banner-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.delivery-banner-text p { font-size: 0.95rem; opacity: 0.9; margin: 0; }

/* --- Delivery Box (rental page) --- */
.delivery-section { background: var(--gray-100); }
.delivery-box {
    text-align: center; max-width: 600px; margin: 0 auto;
    padding: 2.5rem; background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.delivery-icon { font-size: 3rem; margin-bottom: 1rem; }
.delivery-box h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.delivery-box p { color: var(--gray-700); margin-bottom: 1.5rem; }

@media (max-width: 600px) {
    .delivery-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
    .rental-pricing-detail { justify-content: center; }
}

/* --- CTA Section --- */
.cta-section { background: var(--gray-100); }
.cta-box {
    text-align: center; padding: 3rem; background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    max-width: 700px; margin: 0 auto;
}
.cta-box h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.cta-box p { color: var(--gray-700); margin-bottom: 1.5rem; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--gray-300);
    border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--red);
}
.checkbox-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; line-height: 1.4; }
.checkbox-label input[type="checkbox"] { margin: 0; flex-shrink: 0; width: 16px; height: 16px; }
.trade-section { margin-bottom: 0.5rem; }

.contact-info-side {}
.contact-info-card {
    background: var(--gray-100); padding: 1.5rem; border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}
.contact-info-card h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.contact-info-card p { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 1rem; }
.contact-info-card .btn { margin-top: 0; }
.contact-item { margin-bottom: 0.75rem; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.2rem; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert ul { padding-left: 1.2rem; }

.success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 80px; height: 80px; border-radius: 50%;
    background: #D1FAE5; color: #065F46; font-size: 2rem;
    margin-bottom: 1.5rem;
}

.empty-state { text-align: center; padding: 3rem; color: var(--gray-500); }
.empty-state .btn { margin-top: 1rem; }

/* --- Footer --- */
.site-footer {
    background: var(--dark); color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.75rem; }
.footer-col p { font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem; text-align: center; font-size: 0.85rem;
}
.footer-credit { margin-top: 0.5rem; font-size: 0.75rem; opacity: 0.4; letter-spacing: 0.03em; }
.footer-credit a { color: rgba(255,255,255,0.7) !important; text-decoration: none; }
.footer-credit a:hover { color: rgba(255,255,255,0.7) !important; }

/* --- Related --- */
.related-section { background: var(--gray-100); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 2rem; }
    .hero { padding: 3rem 0; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { order: 1; }
    .products-main { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .main-nav {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md); z-index: 99;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; padding: 1rem; gap: 0; }
    .main-nav a { display: block; padding: 0.75rem 1rem; }

    .mega-menu { display: none !important; }
    .has-mega:hover > .mega-menu { display: none !important; }

    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; justify-content: center; }
}

/* --- Lightbox --- */
.lightbox {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
    background: rgba(0,0,0,0.92);
}
.lightbox.active { display: flex; align-items: center; justify-content: center; }
.lightbox-inner { text-align: center; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
    position: fixed; top: 1rem; right: 1.5rem; z-index: 10;
    background: none; border: none; color: var(--white); font-size: 2rem;
    cursor: pointer; opacity: 0.7; transition: opacity 0.2s;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.15); border: none; color: var(--white);
    font-size: 1.5rem; width: 48px; height: 48px; border-radius: 50%;
    cursor: pointer; opacity: 0.7; transition: opacity 0.2s, background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.25); }
.lightbox-counter {
    color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 0.75rem;
}
