/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary: #1a5c5c;
    --primary-light: #238080;
    --primary-dark: #134444;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 64px; width: auto; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-sub { font-size: 0.75rem; color: var(--text-light); font-weight: 400; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; color: var(--text); transition: all 0.2s; }
.main-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.cart-link { position: relative; color: var(--text); display: flex; align-items: center; }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 600; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* Shipping banner */
.shipping-banner { background: var(--primary); color: #fff; text-align: center; padding: 8px 0; font-size: 0.8125rem; letter-spacing: 0.3px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 1.125rem; opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.9375rem; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f0f0; color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }

/* Categories Grid */
.section { padding: 60px 0; }
.section-title { font-size: 1.75rem; font-weight: 700; text-align: center; margin-bottom: 40px; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: flex; align-items: flex-end; text-decoration: none; transition: transform 0.2s; }
.category-card:hover { transform: translateY(-4px); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
.category-card .cat-name { position: relative; z-index: 1; padding: 16px; color: #fff; font-weight: 600; font-size: 1rem; }

/* Product Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; background: #fff; }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card a { text-decoration: none; color: inherit; }
.product-card .product-image { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-card .product-info { padding: 16px; }
.product-card .product-name { font-weight: 600; font-size: 0.9375rem; margin-bottom: 4px; color: var(--text); }
.product-card .product-ref { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 8px; }
.product-card .product-price { font-weight: 700; color: var(--primary); font-size: 1rem; }
.product-card .product-price small { font-weight: 400; font-size: 0.8125rem; color: var(--text-light); }

/* Filters */
.filters-section { margin-bottom: 32px; padding: 24px; background: var(--bg-alt); border-radius: 12px; }
.filter-group { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-size: 0.8125rem; font-weight: 600; color: var(--text); white-space: nowrap; min-width: 65px; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 0.8125rem; color: var(--text); background: #fff; cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,92,92,0.04); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip.active:hover { background: var(--primary-light); }
.chip-sm { padding: 4px 10px; font-size: 0.75rem; }
.chip-reset { border-color: #dc2626; color: #dc2626; font-size: 0.8125rem; }
.chip-reset:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.filter-row-bottom { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.results-count { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.sort-chips { display: flex; align-items: center; gap: 6px; margin-left: auto; }
/* Legacy */
.filters-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.filters-bar select, .filters-bar input { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; font-family: inherit; background: #fff; }
.page-header { padding: 40px 0 20px; }
.page-header h1 { font-size: 2rem; font-weight: 700; }
.page-header p { color: var(--text-light); margin-top: 8px; }
.breadcrumb { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
.product-gallery { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-meta { padding: 20px 0; }
.product-meta h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.product-meta .ref { color: var(--text-light); font-size: 0.875rem; margin-bottom: 16px; }
.product-meta .category-tag { display: inline-block; background: var(--bg-alt); padding: 4px 12px; border-radius: 20px; font-size: 0.8125rem; color: var(--primary); font-weight: 500; margin-bottom: 16px; }
.product-meta .specs { margin: 24px 0; }
.product-meta .specs dt { font-weight: 600; font-size: 0.875rem; color: var(--text-light); }
.product-meta .specs dd { margin-bottom: 12px; font-size: 0.9375rem; }
/* Product intro */
.product-intro { font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; margin: 0 0 20px; padding: 12px 16px; background: var(--bg-alt); border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; }

/* Product description */
.product-description p { font-size: 0.9375rem; line-height: 1.8; color: var(--text); margin-bottom: 16px; }
.product-description strong { color: var(--primary-dark); }

/* Buy section */
.buy-section { margin: 20px 0; padding: 24px; background: var(--bg-alt); border-radius: 12px; }
.buy-price-main { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.buy-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.buy-unit { font-size: 0.9375rem; color: var(--text-light); font-weight: 500; }
.buy-dimensions { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 20px; }
.buy-form { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.buy-quantity label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.qty-btn { width: 40px; height: 42px; border: none; background: none; font-size: 1.25rem; cursor: pointer; color: var(--text); transition: background 0.2s; }
.qty-btn:hover { background: var(--bg-alt); }
.qty-control .qty-input { width: 50px; height: 42px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 1rem; font-weight: 600; font-family: inherit; -moz-appearance: textfield; }
.qty-control .qty-input::-webkit-outer-spin-button,
.qty-control .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-btn { flex: 1; min-width: 200px; padding: 14px 28px; font-size: 1rem; }
.buy-roll { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.buy-roll-form { display: flex; align-items: center; justify-content: space-between; }
.buy-roll-info { display: flex; align-items: baseline; gap: 12px; }
.buy-roll-label { font-size: 0.875rem; color: var(--text-light); }
.buy-roll-price { font-size: 1.125rem; font-weight: 700; color: var(--text); }

/* Legacy price-options (keep for compat) */
.price-options { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.price-option { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.price-option .price-label { font-weight: 500; }
.price-option .price-value { font-weight: 700; font-size: 1.25rem; color: var(--primary); }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px; border-bottom: 2px solid var(--border); font-size: 0.8125rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table .cart-product { display: flex; align-items: center; gap: 12px; }
.cart-table .cart-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.cart-total-section { max-width: 400px; margin-left: auto; margin-top: 24px; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cart-total-row.total { font-weight: 700; font-size: 1.25rem; padding-top: 12px; border-top: 2px solid var(--border); }
.quantity-input { width: 60px; padding: 6px; border: 1px solid var(--border); border-radius: 4px; text-align: center; font-family: inherit; }
.cart-qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cart-qty-btn { width: 36px; height: 36px; border: none; background: none; font-size: 1.125rem; cursor: pointer; color: var(--text); transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.cart-qty-btn:hover { background: var(--bg-alt); }
.cart-qty-value { width: 40px; text-align: center; font-weight: 600; font-size: 0.9375rem; border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 36px; }
.cart-qty-input { width: 48px; text-align: center; font-weight: 600; font-size: 0.9375rem; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 36px; font-family: inherit; -moz-appearance: textfield; }
.cart-qty-input::-webkit-outer-spin-button, .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-qty-input:focus { outline: none; background: #f0fafa; }
.cart-update-bar { position: sticky; bottom: 20px; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: var(--radius); justify-content: space-between; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.15); z-index: 50; margin-top: 16px; }
.cart-update-bar span { font-size: 0.9375rem; font-weight: 500; }
.cart-update-bar .btn { background: #fff; color: var(--primary); border: none; }
.cart-update-bar .btn:hover { background: #f0f0f0; }
.remove-btn { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 1.125rem; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.remove-btn:hover { background: #fee2e2; }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty p { font-size: 1.125rem; color: var(--text-light); margin-bottom: 24px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 500; font-size: 0.875rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.9375rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,92,92,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.payment-method { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s; }
.payment-method:has(input:checked) { border-color: var(--primary); background: rgba(26,92,92,0.03); }
.payment-method input[type="radio"] { accent-color: var(--primary); }

/* Checkout sections */
.checkout-section { margin-bottom: 32px; }
.checkout-section-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }

/* Checkout layout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0; }
.order-summary { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); position: sticky; top: 90px; }
.order-summary h3 { font-size: 1.125rem; margin-bottom: 16px; }
.summary-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.875rem; border-bottom: 1px solid var(--border); }

/* Confirmation */
.confirmation { text-align: center; padding: 60px 0; }
.confirmation .check-icon { width: 80px; height: 80px; background: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirmation .check-icon svg { width: 40px; height: 40px; color: #fff; }
.confirmation h1 { font-size: 2rem; margin-bottom: 12px; }
.virement-info { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); text-align: left; max-width: 500px; margin: 24px auto; }
.virement-info h3 { margin-bottom: 12px; }
.virement-info p { margin-bottom: 8px; font-size: 0.9375rem; }

/* Trust badges */
.trust-badges { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 40px 0; }
.trust-badge { text-align: center; max-width: 200px; }
.trust-badge .icon { font-size: 2rem; margin-bottom: 12px; color: var(--primary); }
.trust-badge h4 { font-size: 0.9375rem; margin-bottom: 4px; }
.trust-badge p { font-size: 0.8125rem; color: var(--text-light); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--primary-dark); color: #fff; padding: 24px 0; }
.admin-sidebar h2 { padding: 0 20px; font-size: 1.125rem; margin-bottom: 24px; }
.admin-sidebar nav a { display: block; padding: 10px 20px; color: rgba(255,255,255,0.8); font-size: 0.875rem; transition: 0.2s; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.admin-content { padding: 32px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-card .stat-label { font-size: 0.875rem; color: var(--text-light); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.admin-table th { background: var(--bg-alt); padding: 12px 16px; text-align: left; font-size: 0.8125rem; color: var(--text-light); text-transform: uppercase; }
.admin-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 0.875rem; }
.admin-table tr:hover { background: var(--bg-alt); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-new { background: #dbeafe; color: #1e40af; }
.badge-processing { background: #fef3c7; color: #92400e; }
.badge-shipped { background: #d1fae5; color: #065f46; }
.badge-delivered { background: #10b981; color: #fff; }
.badge-cancelled { background: #fee2e2; color: #dc2626; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-paid { background: #d1fae5; color: #065f46; }

/* Footer */
.site-footer { background: var(--text); color: #fff; padding: 60px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
.footer-col p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* Gallery */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: auto; object-fit: contain; max-height: 500px; margin: 0 auto; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.gallery-thumb { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: border-color 0.2s; }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb:hover { border-color: var(--primary-light); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Availability */
.availability { font-size: 0.875rem; font-weight: 500; margin: 8px 0 16px; }
.availability.available { color: #16a34a; }
.availability.on-order { color: #d97706; }
.availability.unavailable { color: #dc2626; }

/* Subcategory tag */
.subcategory-tag { display: inline-block; background: var(--bg-alt); color: var(--text-light); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; margin-left: 8px; }

/* Quantity input */
.quantity-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.quantity-row label { font-size: 0.875rem; color: var(--text-light); }
.qty-input { width: 70px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; font-size: 0.9375rem; }

/* Downloads */
.product-downloads { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; }
.download-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-alt); border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; color: var(--text); border: 1px solid var(--border); transition: all 0.2s; }
.download-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.download-link:hover svg { stroke: #fff; }

/* Specs */
.product-specs { padding: 0; }
.product-specs h2, .product-description h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text); }
.specs-subtitle { font-size: 0.9375rem; color: var(--text-light); margin-bottom: 24px; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec-group { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); border: 1px solid var(--border); transition: box-shadow 0.2s; align-self: start; }
.spec-group:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
@media (max-width: 768px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-group-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.spec-group-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.spec-group-icon.general { background: #dbeafe; color: #2563eb; }
.spec-group-icon.install { background: #fef3c7; color: #d97706; }
.spec-group-icon.certif { background: #d1fae5; color: #059669; }
.spec-group-icon.perf { background: #ede9fe; color: #7c3aed; }
.spec-group h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin: 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid #f3f4f6; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:hover { background: #fafbfc; }
.spec-table td { padding: 10px 0; font-size: 0.8125rem; }
.spec-label { color: var(--text-light); width: 50%; padding-right: 12px; }
.spec-value { color: var(--text); font-weight: 600; }

/* Login */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg-alt); }
.login-box { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; }
.login-box h1 { text-align: center; margin-bottom: 24px; color: var(--primary); }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.875rem; }
.alert-error { background: #fee2e2; color: #dc2626; }
.alert-success { background: #d1fae5; color: #065f46; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px; box-shadow: var(--shadow-lg); }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 12px 16px; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 1.75rem; }
    .product-detail { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .cart-table { font-size: 0.8125rem; }
    .cart-table .hide-mobile { display: none; }
}

.content-seo { max-width: 900px; margin: 0 auto; }
.content-seo h2 { font-size: 1.5rem; margin-bottom: 16px; color: var(--text); }
.content-seo h3 { font-size: 1.1875rem; margin: 28px 0 12px; color: var(--text); }
.content-seo p { font-size: 0.9375rem; line-height: 1.75; color: var(--text-light); margin-bottom: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 10px; color: var(--primary); }
.feature-card p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-light); margin: 0; }
.feature-card p strong { color: var(--text); }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1rem; max-width: 700px; margin: -8px auto 32px; line-height: 1.6; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.showcase-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.showcase-large { grid-row: span 2; aspect-ratio: auto; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.showcase-item:hover img { transform: scale(1.05); }
.showcase-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; }
.showcase-tag { display: inline-block; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.showcase-overlay h3 { font-size: 1.125rem; margin: 0 0 4px; font-weight: 600; }
.showcase-overlay p { font-size: 0.8125rem; margin: 0; opacity: 0.85; }
@media (max-width: 640px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-large { grid-row: auto; aspect-ratio: 16/10; }
}
