:root {
    --primary: #1a8ee1;
    --primary-dark: #0f6fb5;
    --primary-soft: #e8f4fd;
    --navy: #0b2a4a;
    --ink: #1c2733;
    --muted: #5f6f80;
    --line: #e3eaf1;
    --bg-soft: #f4f8fc;
    --accent: #ff7a1a;
    --danger: #e0393e;
    --success: #1f9d55;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 42, 74, .08);
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
    color: var(--primary); text-transform: uppercase; margin-bottom: 8px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--navy); }
.section-title span { color: var(--primary); }
.section-sub { color: var(--muted); }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 14px; letter-spacing: .03em; cursor: pointer;
    transition: all .2s ease; text-transform: uppercase; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.94); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--danger); cursor: pointer; padding: 0; font-size: 13px; }

/* Topbar & header */
.topbar { background: var(--navy); color: #cfe3f5; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: .02em; }
.logo-mark { height: 60px; width: auto; border-radius: 8px; flex: none; }
.logo small { display: block; font-size: 10px; font-weight: 600; color: var(--primary); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > li { position: relative; list-style: none; }
.nav { padding: 0; margin-top: 0; margin-bottom: 0; }
.nav a { display: block; padding: 10px 14px; font-weight: 600; font-size: 15px; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: 12px;
    box-shadow: var(--shadow); padding: 8px; display: none; border: 1px solid var(--line);
}
.nav li:hover > .dropdown { display: block; }
.nav .dropdown a { font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: var(--primary-soft); color: var(--primary); border: 0; cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.badge {
    position: absolute; top: -4px; right: -4px; background: var(--accent); color: #fff; font-size: 11px;
    font-weight: 700; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center;
}
.menu-toggle { display: none; }
.search-panel { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; padding: 14px 16px; }

/* Forms */
.input, select.input, textarea.input {
    width: 100%; padding: 12px 14px; border: 1px solid #cfdbe7; border-radius: 10px; background: #fff;
    outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,142,225,.15); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #e7f7ee; color: #12693a; border: 1px solid #bfe8cf; }
.alert-error { background: #fdeced; color: #a5242a; border: 1px solid #f6c5c7; }
.flash { position: fixed; right: 16px; bottom: 16px; z-index: 100; max-width: 380px; box-shadow: var(--shadow); animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 500px at 85% 10%, #d8ecfb 0%, transparent 60%), linear-gradient(180deg, #f5faff 0%, #fff 100%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 300; letter-spacing: .04em; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; }
.hero h1 b { font-weight: 800; color: var(--primary); }
.hero .tagline { font-size: clamp(20px, 2.4vw, 28px); color: var(--primary); font-weight: 500; margin-bottom: 20px; }
.hero p { color: var(--muted); max-width: 520px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(11,42,74,.18)); }
.hero-points { position: absolute; inset: 0; pointer-events: none; }
.hero-point {
    position: absolute; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; color: var(--navy); white-space: nowrap;
}
.hero-point i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 28px; color: var(--navy); font-weight: 800; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-figure { position: relative; border-radius: 24px; overflow: hidden; }
.about-figure .exp {
    position: absolute; left: 20px; bottom: 20px; background: var(--primary); color: #fff; border-radius: 16px; padding: 16px 20px;
}
.about-figure .exp strong { font-size: 36px; display: block; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a8ee1' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 18px; text-transform: uppercase; color: var(--navy); }
.cat-card p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.cat-card .more { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .05em; }
.cat-card .count { font-size: 12px; color: var(--muted); }

/* Media placeholder */
.media { position: relative; overflow: hidden; background: var(--bg-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-ph { width: 100%; height: 100%; display: grid; place-items: center; }
.media-ph svg { width: 70%; height: 70%; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .media { aspect-ratio: 4 / 3; }
.product-card .tag {
    position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
    padding: 3px 10px; border-radius: 999px; z-index: 1;
}
.product-card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-card h3 { font-size: 16px; margin: 6px 0 8px; color: var(--navy); }
.product-card h3 a:hover { color: var(--primary); }
.product-card .desc { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 12px; }
.price { font-weight: 800; color: var(--danger); font-size: 17px; }
.price small { font-weight: 500; color: var(--muted); font-size: 12px; }
.price-old { text-decoration: line-through; color: #98a6b5; font-size: 13px; font-weight: 400; }
.price-contact { color: var(--primary); font-weight: 700; }

/* Services */
.services { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.services .section-title { color: #fff; }
.services .section-sub { color: #a9c6e2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    border-radius: 18px; padding: 32px 28px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.12); transition: background .25s;
}
.service-card:hover { background: linear-gradient(160deg, rgba(26,142,225,.4), rgba(26,142,225,.1)); }
.service-card .num { font-size: 44px; font-weight: 800; color: rgba(255,255,255,.18); line-height: 1; }
.service-card h3 { font-size: 20px; text-transform: uppercase; margin: 16px 0 10px; }
.service-card p { color: #c2d6ea; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.step { text-align: center; }
.step b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 10px; background: var(--primary); }
.step span { font-size: 14px; color: #cfe0f1; }

/* Factory stats */
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.stat strong { font-size: 34px; color: var(--primary); font-weight: 800; display: block; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s; }
.project-card:hover { box-shadow: var(--shadow); }
.project-card .media { aspect-ratio: 16 / 10; }
.project-card .body { padding: 20px; }
.project-card h3 { font-size: 18px; color: var(--navy); }
.project-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.project-meta dt { color: var(--muted); }
.project-meta dd { margin: 0; font-weight: 600; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); position: relative; }
.testi::before { content: '“'; position: absolute; right: 24px; top: 4px; font-size: 80px; color: var(--primary-soft); font-family: Georgia, serif; line-height: 1; }
.testi p { color: #3d4b59; font-style: italic; }
.testi .who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testi .who strong { display: block; }
.testi .who span { font-size: 13px; color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card .media { aspect-ratio: 16 / 9; }
.post-card .body { padding: 18px; }
.post-card h3 { font-size: 17px; color: var(--navy); }
.post-card h3 a:hover { color: var(--primary); }
.post-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 10px; }
.post-card .meta .topic { color: var(--primary); font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; background: #fff; }
.chip.active, .chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--primary) 0%, #0b5fa5 100%); color: #fff; border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(22px, 3vw, 32px); }
.cta p { color: #d9ecfb; margin: 0; max-width: 640px; }

/* Page header */
.page-head { background: linear-gradient(180deg, #eef6fd 0%, #fff 100%); padding: 40px 0 32px; text-align: center; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); color: var(--primary); font-weight: 800; }
.page-head p { color: var(--muted); margin: 0; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 14px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span::before { content: '›'; margin-right: 8px; }

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sidebar h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 20px; }
.sidebar li a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; font-weight: 500; }
.sidebar li a:hover, .sidebar li a.active { background: var(--primary-soft); color: var(--primary); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar select { width: auto; padding: 8px 12px; }
.shop-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }

/* Featured horizontal */
.featured-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.featured-item { display: grid; grid-template-columns: 200px 1fr; gap: 20px; background: var(--bg-soft); border-radius: 18px; padding: 16px; align-items: center; }
.featured-item .media { aspect-ratio: 1; border-radius: 12px; }
.featured-item h3 { font-size: 18px; color: var(--navy); }
.featured-item p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery .media { aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--line); }
.pd h1 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.pd .sku { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.pd .price-box { background: var(--bg-soft); border-radius: 14px; padding: 16px 20px; margin: 16px 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd .price-box .price { font-size: 28px; }
.pd .save { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.specs { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.specs th { width: 40%; color: var(--muted); font-weight: 500; background: #fafcfe; }
.qty { display: inline-flex; border: 1px solid #cfdbe7; border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; border: 0; background: #fff; cursor: pointer; font-size: 18px; color: var(--navy); }
.qty input { width: 64px; border: 0; text-align: center; outline: none; padding: 10px 0; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; font-size: 14px; }
.perks div { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.perks svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; color: var(--navy); margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.tabs-head { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
.tabs-head a { padding: 12px 20px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tabs-head a.active { color: var(--primary); border-color: var(--primary); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table th { text-align: left; font-size: 13px; text-transform: uppercase; color: var(--muted); padding: 12px; border-bottom: 2px solid var(--line); }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-prod { display: flex; gap: 14px; align-items: center; }
.cart-prod .media { width: 72px; height: 72px; border-radius: 10px; flex: none; }
.cart-prod a { font-weight: 600; color: var(--navy); }
.cart-prod > div:last-child { min-width: 160px; }
.summary { background: var(--bg-soft); border-radius: 18px; padding: 24px; position: sticky; top: 96px; }
.summary h3 { font-size: 18px; color: var(--navy); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-row.total { border-top: 1px solid #d5e2ee; margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; }
.summary-row.total span:last-child { color: var(--danger); }
.summary .hint { font-size: 13px; color: var(--muted); }
.mini-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #dde7f0; font-size: 14px; }
.mini-item .media { width: 54px; height: 54px; border-radius: 8px; flex: none; }
.mini-item .name { flex: 1; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #cfdbe7; border-radius: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--primary-soft); color: var(--primary); }
.status-pending { background: #fff4e5; color: #b26200; }
.status-confirmed { background: var(--primary-soft); color: var(--primary-dark); }
.status-shipping { background: #efe9ff; color: #5b3cc4; }
.status-completed { background: #e7f7ee; color: #12693a; }
.status-cancelled { background: #fdeced; color: #a5242a; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact-info .ic svg { width: 20px; height: 20px; }

/* Footer */
.footer { background: var(--navy); color: #b9cde1; padding: 64px 0 0; margin-top: 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-addr strong { color: #fff; display: block; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.socials a:hover { background: var(--primary); }

/* Floating contact */
.float-contact { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-contact a {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.2); font-weight: 800; font-size: 12px;
}
.float-contact .call { background: var(--danger); animation: pulse 2s infinite; }
.float-contact .zalo { background: #0068ff; }
.float-contact svg { width: 22px; height: 22px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,57,62,.5); } 70% { box-shadow: 0 0 0 16px rgba(224,57,62,0); } 100% { box-shadow: 0 0 0 0 rgba(224,57,62,0); } }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; }
.pagination .active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled span { color: #b6c2ce; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
    .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-layout .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .cart-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
}
@media (max-width: 900px) {
    .menu-toggle { display: grid; }
    .nav {
        position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; padding: 12px 16px 20px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 76px); overflow: auto;
    }
    .nav.open { display: flex; }
    .nav .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
    .header-actions { margin-left: auto; }
    .hero .container, .about-grid, .factory-grid, .pd, .cart-layout, .contact-grid, .shop-layout { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; margin: 0 auto; }
    .project-grid, .post-grid, .testi-grid, .service-grid { grid-template-columns: 1fr 1fr; }
    .featured-row { grid-template-columns: 1fr; }
    .sidebar, .summary { position: static; }
    .topbar-right { display: none; }
    .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 600px) {
    .section { padding: 48px 0; }
    .cat-grid, .product-grid, .shop-layout .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .project-grid, .post-grid, .testi-grid, .service-grid, .footer-grid, .form-row, .stat-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .product-card .body { padding: 12px; }
    .product-card h3 { font-size: 14px; }
    .product-card .foot { flex-direction: column; align-items: stretch; }
    .featured-item { grid-template-columns: 110px 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .logo small { display: none; }
    .logo { font-size: 17px; white-space: nowrap; }
    .header .container { gap: 12px; }
    .sidebar ul { display: flex; flex-wrap: wrap; gap: 6px; }
    .sidebar li a { border: 1px solid var(--line); padding: 6px 12px; font-size: 14px; }
    .topbar { display: none; }
    .hero-point { display: none; }
    .cart-table thead { display: none; }
    .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .cart-table td { border: 0; padding: 4px 0; }
    .cart-table td:first-child { grid-column: 1 / -1; }
    .perks { grid-template-columns: 1fr; }
}
