:root {
    --healthcare-blue: #1E88E5;
    --healthcare-blue-dark: #1565C0;
    --trust-navy: #0B3D91;
    --trust-navy-light: #1a4fa8;
    --soft-white: #FAFAFA;
    --warm-gray: #F2F4F7;
    --comfort-green: #4CAF50;
    --care-orange: #FF9800;
    --text: #101828;
    --muted: #667085;
    --border: #EAECF0;
    --card: #ffffff;
    --shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
    --shadow-soft: 0 6px 18px rgba(16, 24, 40, 0.08);
    --radius: 24px;
    --font-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--soft-white);
    font-size: calc(16px * var(--font-scale));
    line-height: 1.7;
}
body.font-large { --font-scale: 1.15; }
body.font-xlarge { --font-scale: 1.3; }
body.dark-mode {
    --soft-white: #101828;
    --warm-gray: #111827;
    --card: #1f2937;
    --text: #f9fafb;
    --muted: #d1d5db;
    --border: #374151;
    background: #101828;
}
body.high-contrast {
    --soft-white: #000;
    --warm-gray: #000;
    --card: #000;
    --text: #fff;
    --muted: #fff;
    --border: #fff;
    background: #000;
    color: #fff;
}
body.high-contrast a { color: #ffff00; }
body.high-contrast .btn, body.high-contrast button { border: 2px solid #fff !important; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -48px; left: 0; z-index: 1000; background: var(--trust-navy); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 3px solid var(--healthcare-blue); outline-offset: 3px; }

.top-bar { background: var(--trust-navy); color: #fff; font-size: 0.9rem; }
.top-bar-inner { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; flex-wrap: wrap; }
.top-bar span { margin-right: 18px; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--card); box-shadow: 0 2px 16px rgba(16,24,40,.08); }
.header-main { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--healthcare-blue); color: #fff; font-weight: 900; font-size: 1.35rem; box-shadow: 0 8px 18px rgba(30,136,229,.25); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 1.35rem; color: var(--trust-navy); display: inline; }
.brand-text strong + strong { color: var(--healthcare-blue); }
.brand-text small { color: var(--muted); font-size: .68rem; margin-top: 3px; }
body.dark-mode .brand-text strong:first-child, body.dark-mode .brand-text small { color: var(--text); }
.header-search { flex: 1; max-width: 620px; display: flex; align-items: center; background: var(--soft-white); border: 2px solid var(--border); border-radius: 999px; padding: 4px; }
.header-search input { flex: 1; border: 0; background: transparent; padding: 12px 16px; color: var(--text); outline: none; min-width: 0; }
.header-search button[type="submit"], .mobile-search-panel button { border: 0; border-radius: 999px; background: var(--healthcare-blue); color: #fff; padding: 10px 18px; font-weight: 800; }
.voice-search { border: 0; background: transparent; border-radius: 999px; width: 42px; height: 42px; }
.voice-search.listening { background: rgba(255,152,0,.18); animation: pulse 1s infinite; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon, .menu-toggle, .mobile-search-toggle { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--soft-white); display: grid; place-items: center; position: relative; color: var(--text); }
.header-icon small { position: absolute; top: -5px; right: -5px; background: var(--care-orange); color: #fff; min-width: 20px; height: 20px; border-radius: 999px; font-size: .72rem; display: grid; place-items: center; font-weight: 800; }
.menu-toggle, .mobile-search-toggle { display: none; }
.main-nav { border-top: 1px solid var(--border); }
.main-nav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.main-nav a { padding: 14px 16px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--healthcare-blue); }
.mobile-search-panel { display: none; padding: 0 16px 16px; }
.mobile-search-panel form { display: flex; gap: 8px; }
.mobile-search-panel input { flex: 1; padding: 13px; border: 2px solid var(--border); border-radius: 999px; background: var(--card); color: var(--text); }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--trust-navy), var(--healthcare-blue)); }
.hero::before { content: "left"; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,61,145,.95), rgba(11,61,145,.72), rgba(30,136,229,.08)), url('../../public/images/hero.jpg') center/cover no-repeat; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--soft-white); clip-path: ellipse(60% 54% at 50% 100%); }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 88px 0 120px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-weight: 700; font-size: .95rem; }
.kicker .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--comfort-green); box-shadow: 0 0 0 6px rgba(76,175,80,.16); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); line-height: 1; letter-spacing: -0.06em; margin: 22px 0; }
.hero h1 span { color: var(--care-orange); }
.hero p { font-size: clamp(1.08rem, 2vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 650px; }
.hero-actions, .button-row, .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 13px 22px; min-height: 48px; border: 0; font-weight: 900; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--healthcare-blue); color: #fff; }
.btn-primary:hover { background: var(--trust-navy); }
.btn-orange { background: var(--care-orange); color: #fff; }
.btn-orange:hover { background: #f57c00; }
.btn-navy { background: var(--trust-navy); color: #fff; }
.btn-white { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(8px); }
.btn-outline { background: transparent; color: var(--healthcare-blue); border: 2px solid rgba(30,136,229,.25); }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; color: rgba(255,255,255,.92); font-weight: 700; }

.section { padding: 88px 0; }
.section.white { background: var(--card); }
.section.gray { background: var(--warm-gray); }
.section-heading { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.eyebrow { color: var(--healthcare-blue); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
h1, h2, h3 { line-height: 1.12; }
h2 { color: var(--trust-navy); font-size: clamp(2rem, 4vw, 3.1rem); margin: 10px 0 14px; letter-spacing: -0.035em; }
body.dark-mode h2, body.dark-mode h3 { color: var(--text); }
.section-heading p, .lead { color: var(--muted); font-size: 1.12rem; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.category-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; min-height: 215px; box-shadow: var(--shadow-soft); transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; align-items: flex-start; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card .icon { font-size: 3rem; margin-bottom: 12px; }
.category-card h3 { margin: 0 0 8px; color: var(--trust-navy); font-size: 1.2rem; }
.category-card p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.category-card span:last-child { color: var(--healthcare-blue); font-weight: 900; margin-top: auto; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-link { display: block; color: inherit; flex: 1; }
.product-image { height: 220px; background: linear-gradient(135deg, #f8fafc, #eef4fb); display: grid; place-items: center; position: relative; overflow: hidden; }
.product-image::after { content: ""; width: 190px; height: 190px; border-radius: 999px; background: rgba(30,136,229,.08); position: absolute; }
.product-emoji { font-size: 4.8rem; position: relative; z-index: 1; }
.badge { position: absolute; top: 14px; left: 14px; border-radius: 999px; padding: 5px 11px; font-weight: 900; font-size: .8rem; z-index: 2; }
.badge.sale { background: var(--care-orange); color: #fff; }
.badge.verified { background: rgba(76,175,80,.12); color: var(--comfort-green); position: static; }
.icon-button { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--card); color: #98a2b3; box-shadow: var(--shadow-soft); }
.icon-button.active { color: #e11d48; }
.product-body { padding: 20px; }
.product-brand { color: var(--healthcare-blue); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 5px; }
.product-body h3 { color: var(--text); font-size: 1.06rem; margin: 0 0 10px; min-height: 46px; }
.product-desc { color: var(--muted); margin: 0 0 12px; font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rating-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.stars { color: #d0d5dd; letter-spacing: .02em; white-space: nowrap; }
.star.filled { color: var(--care-orange); }
.price-row { display: flex; gap: 9px; align-items: baseline; }
.price-row strong { color: var(--trust-navy); font-size: 1.35rem; }
body.dark-mode .price-row strong { color: var(--text); }
.price-row span { color: #98a2b3; text-decoration: line-through; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 0 20px 20px; }
.product-actions .btn { padding: 10px 14px; min-height: 44px; font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
.feature-list span, .check-item { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.feature-list span::before, .check-item::before { content: "✓"; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: rgba(76,175,80,.12); color: var(--comfort-green); font-weight: 900; }
.lifestyle-card { position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #dbeafe; }
.lifestyle-card img { display: block; width: 100%; min-height: 420px; object-fit: cover; }
.stat-badge { position: absolute; left: 24px; bottom: 24px; background: var(--comfort-green); color: #fff; border-radius: 22px; padding: 15px 20px; box-shadow: var(--shadow); }
.stat-badge strong { display: block; font-size: 2.1rem; line-height: 1; }

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.icon-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); text-align: center; }
.icon-card .big-icon { font-size: 2.8rem; margin-bottom: 12px; }
.icon-card h3 { color: var(--trust-navy); margin: 0 0 10px; font-size: 1.3rem; }
.icon-card p { color: var(--muted); margin: 0; }
.brand-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-pill { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 15px 20px; color: var(--trust-navy); font-weight: 900; box-shadow: var(--shadow-soft); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.article-visual { height: 180px; display: grid; place-items: center; font-size: 4.2rem; background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(76,175,80,.10)); }
.article-card .content { padding: 22px; }
.article-card h3 { color: var(--trust-navy); margin: 7px 0 8px; }
.article-card p { color: var(--muted); margin: 0; }

.testimonials { background: linear-gradient(135deg, var(--trust-navy), var(--healthcare-blue)); color: #fff; }
.testimonials h2 { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(8px); }
.testimonial-card p { color: rgba(255,255,255,.88); }
.customer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 50px; height: 50px; border-radius: 999px; background: var(--healthcare-blue); color: #fff; display: grid; place-items: center; font-weight: 900; }
.customer strong, .customer small { display: block; }
.customer small { color: rgba(255,255,255,.72); }

.newsletter-card { background: var(--card); border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow); padding: clamp(30px, 5vw, 58px); text-align: center; max-width: 820px; margin: 0 auto; }
.newsletter-form { display: flex; gap: 12px; margin: 28px auto 0; max-width: 620px; }
.newsletter-form input { flex: 1; border: 2px solid var(--border); border-radius: 999px; padding: 14px 18px; background: var(--card); color: var(--text); }

.page-hero { background: linear-gradient(135deg, var(--trust-navy), var(--healthcare-blue)); color: #fff; padding: 70px 0; text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin: 0 0 12px; letter-spacing: -.04em; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 760px; margin: auto; }
.breadcrumb { background: var(--card); border-bottom: 1px solid var(--border); padding: 14px 0; color: var(--muted); font-size: .95rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--healthcare-blue); }

.shop-layout { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 120px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft); }
.filters h2 { font-size: 1.35rem; margin-top: 0; }
.filter-group { margin-bottom: 20px; }
.filter-group label, .install-form label { display: block; color: var(--text); font-weight: 800; margin-bottom: 8px; }
.filter-group input, .filter-group select, .contact-form input, .contact-form select, .contact-form textarea, .install-form input { width: 100%; border: 2px solid var(--border); border-radius: 14px; padding: 12px 14px; background: var(--card); color: var(--text); }
.filter-group .mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 22px; }
.shop-heading h1 { color: var(--trust-navy); margin: 0; font-size: clamp(2rem, 3.5vw, 3rem); }
body.dark-mode .shop-heading h1 { color: var(--text); }

.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: start; }
.gallery-main { border-radius: 34px; background: linear-gradient(135deg, #f8fafc, #e8f3fd); min-height: 520px; display: grid; place-items: center; position: relative; box-shadow: var(--shadow); border: 1px solid var(--border); }
.gallery-main .product-emoji { font-size: 8rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumbs button { border: 2px solid var(--border); background: var(--card); border-radius: 16px; min-height: 84px; font-size: 2rem; }
.product-info h1 { color: var(--trust-navy); font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 5px 0 16px; letter-spacing: -.045em; }
body.dark-mode .product-info h1 { color: var(--text); }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 16px 0 22px; }
.stock { color: var(--comfort-green); font-weight: 900; }
.product-price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0; }
.product-price strong { font-size: 2.7rem; color: var(--trust-navy); }
body.dark-mode .product-price strong { color: var(--text); }
.product-price span { color: #98a2b3; text-decoration: line-through; font-size: 1.4rem; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--muted); width: 42%; }
.info-box { background: rgba(30,136,229,.08); border: 1px solid rgba(30,136,229,.18); border-radius: var(--radius); padding: 22px; margin-top: 18px; }
.tab-section { margin-top: 70px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }

.contact-layout { display: grid; grid-template-columns: 360px 1fr; gap: 32px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { margin-bottom: 18px; }
.notice { border-radius: 16px; padding: 14px 16px; margin: 14px 0; font-weight: 700; }
.notice.success { background: rgba(76,175,80,.12); color: #1b7c35; }
.notice.error { background: #fee2e2; color: #b91c1c; }
.notice.warning { background: #fff7ed; color: #c2410c; }

.site-footer { background: var(--trust-navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 58px 0; }
.site-footer a, .site-footer p { display: block; color: rgba(255,255,255,.78); margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; margin: 0 0 12px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.7); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-row a { background: rgba(255,255,255,.1); padding: 8px 10px; border-radius: 999px; font-size: .86rem; }
.trust-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 16px; color: rgba(255,255,255,.75); font-size: .9rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); text-align: center; color: rgba(255,255,255,.68); padding: 14px; font-size: .88rem; }

.accessibility-panel { position: fixed; right: 18px; bottom: 18px; z-index: 100; }
.accessibility-trigger { width: 58px; height: 58px; border: 0; border-radius: 999px; color: #fff; background: var(--healthcare-blue); box-shadow: var(--shadow); font-size: 1.45rem; }
.accessibility-menu { position: absolute; right: 0; bottom: 72px; width: 280px; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; display: none; }
.accessibility-menu.open { display: block; }
.accessibility-menu h3 { margin-top: 0; color: var(--trust-navy); }
.accessibility-menu .button-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.accessibility-menu button { border-radius: 12px; border: 1px solid var(--border); background: var(--soft-white); color: var(--text); padding: 10px; font-weight: 900; }
.accessibility-menu .wide { width: 100%; margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(100px); background: var(--trust-navy); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); z-index: 120; opacity: 0; transition: .25s; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.install-page { background: linear-gradient(135deg, #eff8ff, #f9fafb); min-height: 100vh; }
.install-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.install-card { width: min(760px, 100%); background: #fff; border-radius: 30px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--border); }
.install-logo { display: flex; align-items: center; gap: 12px; color: var(--trust-navy); font-size: 1.3rem; }
.install-logo span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--healthcare-blue); color: #fff; font-weight: 900; }
.install-card h1 { color: var(--trust-navy); font-size: 2.5rem; margin-bottom: 4px; }
.muted { color: var(--muted); }
.small-note { color: var(--muted); font-size: .92rem; }
.install-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.install-form button { grid-column: 1 / -1; }
.install-help { margin-top: 28px; background: var(--warm-gray); border-radius: 20px; padding: 18px 22px; }
.install-help h2 { font-size: 1.35rem; margin-top: 0; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

@media (max-width: 1024px) {
    .category-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
    .icon-grid, .article-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .product-detail, .contact-layout { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .header-search { display: none; }
    .menu-toggle, .mobile-search-toggle { display: grid; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav .container { flex-direction: column; align-items: stretch; padding: 8px 0; }
    .main-nav a { padding: 12px 0; }
    .mobile-search-panel.open { display: block; }
    .hero { min-height: 620px; }
    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-list, .form-grid, .review-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
}

@media (max-width: 560px) {
    .hide-mobile { display: none; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 1.1rem; }
    .section { padding: 62px 0; }
    .hero-content { padding-top: 60px; }
    .category-grid, .product-grid, .icon-grid, .article-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .product-actions { grid-template-columns: 1fr; }
    .shop-heading { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .install-form { grid-template-columns: 1fr; }
}
