/* Public site styles (layout + homepage), no external dependencies. */

:root {
    --color-primary: #1a6ac0;
    --color-primary-dark: #10519b;
    --color-navy: #0b2f63;
    --color-navy-deep: #092751;
    --color-text: #333333;
    --color-text-muted: #888888;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-border: #e8e8e8;
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container-max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (mirrors tgindt.com: 100px bar, 18px links, solid block on hover/active) ---------- */
.site-header { background: #ffffff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { display: block; width: auto; height: auto; max-width: 270px; max-height: 44px; }
.brand-logo-text { font-size: 17px; font-weight: 800; color: var(--color-navy); letter-spacing: -0.3px; white-space: nowrap; }
.nav-menu { display: flex; align-items: stretch; list-style: none; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 6px;
    color: var(--color-text); text-decoration: none; font-weight: 400; font-size: 18px;
    padding: 0 35px; height: 100px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-menu > li > a:hover, .nav-menu > li.current > a { background-color: var(--color-primary); color: #fff; }
.nav-menu .has-drop > a::after {
    content: ''; width: 7px; height: 7px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.nav-dropdown {
    display: none; position: absolute; top: 100%; left: 0; min-width: 224px;
    background: #fff; border: none; border-radius: 0;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14); list-style: none; z-index: 60; padding: 0;
}
.nav-menu > li:hover .nav-dropdown, .nav-menu > li:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
    display: block; color: var(--color-text); text-decoration: none;
    font-weight: 400; font-size: 14px; line-height: 34px; padding: 0 10px;
    white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover { color: #fff; background-color: var(--color-primary); }
main.site-content { flex: 1; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section-alt { background-color: var(--color-bg-alt); }
.section-title { font-size: 25px; color: var(--color-primary); margin-bottom: 0; text-align: center; font-weight: 700; }
.section-title::after { content: ''; display: block; width: 46px; height: 3px; background: var(--color-primary); margin: 10px auto 30px; }
.section-title.on-dark { color: #ffffff; }
.section-title.on-dark::after { background: #ffffff; }
.section-sub { text-align: center; color: var(--color-text-muted); margin-bottom: 30px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: 9px 26px; background-color: var(--color-primary); color: #ffffff;
    text-decoration: none; border-radius: 2px; font-weight: 500; border: none; cursor: pointer; font-size: 14px;
}
.btn:hover { background-color: var(--color-primary-dark); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-ghost {
    display: inline-block; padding: 6px 14px; border: 1px solid #d9d9d9; color: #999;
    background: transparent; text-decoration: none; font-size: 12px; border-radius: 2px; white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost.on-dark { border-color: rgba(255, 255, 255, 0.55); color: rgba(255, 255, 255, 0.9); }
.btn-ghost.on-dark:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.12); }
.text-center { text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #dceaf6; overflow: hidden; }
.hero-slide { display: none; position: relative; }
.hero-slide.current { display: block; }
.hero-slide > a { display: block; }
.hero-slide img { width: 100%; height: auto; }
.hero-caption {
    position: absolute; top: 7%; left: 0; right: 0; text-align: center; padding: 0 24px;
    pointer-events: none;
}
.hero-caption h1 { font-size: clamp(26px, 3vw, 42px); color: #10315f; font-weight: 800; letter-spacing: 0.5px; }
.hero-caption p { margin-top: 8px; font-size: clamp(14px, 1.3vw, 18px); color: #2a5386; font-weight: 500; }
.hero-caption a { pointer-events: auto; color: inherit; text-decoration: none; }

.hero-toolbar {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    padding: 13px 16px; background: #ffffff; border-bottom: 1px solid var(--color-border);
}
.hero-dots { display: flex; gap: 9px; align-items: center; flex: none; }
.hero-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: 1px solid #9db8d6;
    background: #ffffff; cursor: pointer; padding: 0;
}
.hero-dots button.current { background: var(--color-primary); border-color: var(--color-primary); }
.hero-search { display: flex; align-items: stretch; }
.hero-search input {
    width: 300px; max-width: 46vw; padding: 8px 14px; font-size: 13px;
    border: 1px solid #d5d5d5; border-right: none; font-family: inherit; outline: none; color: var(--color-text);
}
.hero-search input:focus { border-color: var(--color-primary); }
.hero-search button {
    padding: 8px 30px; background: var(--color-primary); color: #fff; border: none;
    font-size: 13px; cursor: pointer; font-family: inherit;
}
.hero-search button:hover { background: var(--color-primary-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.about-text { color: #666; font-size: 13.5px; line-height: 1.9; }
.about-text p { margin-bottom: 14px; }
.about-text a { color: var(--color-primary); text-decoration: none; }
.about-text a:hover { text-decoration: underline; }
.about-media img { width: 100%; border: 1px solid var(--color-border); }

/* ---------- Featured products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
    background: #fff; border: 1px solid var(--color-border); text-decoration: none; color: inherit;
    display: flex; flex-direction: column; transition: box-shadow 0.2s, border-color 0.2s;
    min-width: 0;
}
.product-card:hover { border-color: #c9dcf0; box-shadow: 0 6px 18px rgba(16, 81, 155, 0.10); }
.product-thumb { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 16px; }
.product-thumb img { max-width: 100%; width: auto; height: 100%; object-fit: contain; }
.product-name {
    font-size: 13px; color: #555; text-align: center; padding: 8px 14px 18px;
    line-height: 1.55; min-height: 58px;
}
.product-card:hover .product-name { color: var(--color-primary); }

/* ---------- News / cases list ---------- */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-row {
    display: flex; gap: 18px; align-items: stretch; background: #f7f7f7;
    border: 1px solid #f0f0f0; padding: 14px; text-decoration: none; color: inherit;
}
.news-row:hover { border-color: #dfe6ee; }
.news-thumb { width: 120px; height: 84px; flex: none; object-fit: cover; background: #e9edf2; }
.news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.news-body h3 {
    font-size: 14px; font-weight: 700; color: #333; margin-bottom: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-row:hover .news-body h3 { color: var(--color-primary); }
.news-body p {
    font-size: 12.5px; color: #999; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-side {
    flex: none; display: flex; flex-direction: column; align-items: flex-end;
    justify-content: space-between; gap: 12px; min-width: 104px;
}
.news-side time { font-size: 12.5px; color: #999; }

/* Cases band */
.cases-section {
    background: linear-gradient(160deg, #1f6cc4 0%, #2a7ad0 45%, #1a5cad 100%);
    position: relative;
}
.cases-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 26px);
    pointer-events: none;
}
.cases-section > .container { position: relative; }
.cases-section .news-row {
    background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.20);
}
.cases-section .news-row:hover { background: rgba(255, 255, 255, 0.16); }
.cases-section .news-body h3 { color: #ffffff; }
.cases-section .news-row:hover .news-body h3 { color: #eaf3ff; }
.cases-section .news-body p { color: rgba(255, 255, 255, 0.78); }
.cases-section .news-side time { color: rgba(255, 255, 255, 0.75); }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--color-navy); color: #b9cee6; padding: 46px 0 0; margin-top: auto; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.35fr 1.15fr auto; gap: 40px; }
.footer-grid h4 { font-size: 15px; color: #ffffff; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.site-footer a { color: #b9cee6; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.footer-products ul { columns: 2; column-gap: 28px; }
.footer-products li { break-inside: avoid; }
.footer-contact p { margin-bottom: 9px; color: #b9cee6; }
.footer-contact strong { color: #ffffff; font-weight: 600; }
.social-icons { display: flex; gap: 9px; margin-top: 14px; }
.social-icons a {
    width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.social-icons a svg { width: 15px; height: 15px; fill: currentColor; }
.social-wa { background: #25d366; }
.social-fb { background: #1877f2; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-yt { background: #ff0000; }
.social-in { background: #0a66c2; }
.inquiry-btn {
    display: inline-block; margin-top: 16px; background: #ffffff; color: var(--color-navy);
    font-weight: 700; padding: 8px 22px; border-radius: 18px; text-decoration: none; font-size: 13px;
}
.inquiry-btn:hover { background: #eaf1fa; color: var(--color-navy); }
.footer-qr { display: flex; gap: 16px; }
.footer-qr figure { text-align: center; }
.footer-qr img { width: 88px; height: 88px; background: #fff; padding: 4px; }
.footer-qr figcaption { margin-top: 7px; font-size: 11.5px; color: #8fb0d4; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 14px 0; margin-top: 36px;
    display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
    color: #8fb0d4; font-size: 12.5px;
}

/* ---------- Floating contact bar ---------- */
.float-bar { position: fixed; right: 0; top: 30%; z-index: 70; display: flex; flex-direction: column; gap: 3px; }
.float-btn {
    width: 42px; height: 46px; background: #1c4f8f; color: #fff; border-radius: 8px 0 0 8px;
    display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.float-btn:hover { background: var(--color-navy-deep); }
.float-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Generic card grid (other public pages) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--color-border); overflow: hidden;
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-bg-alt); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 16px; color: var(--color-primary-dark); }
.card-body p { font-size: 14px; color: var(--color-text-muted); }
.card-meta { font-size: 12px; color: var(--color-text-muted); margin-top: auto; }

/* ---------- Static pages (about / events / certificates) ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.page-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4px; margin-top: 20px; }
.page-strip.single { grid-template-columns: 1fr; }
.page-strip.double { grid-template-columns: 1fr 1fr; }
.page-strip img { width: 100%; height: 260px; object-fit: cover; display: block; background: var(--color-bg-alt); }
.page-pills {
    display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
    padding: 24px 0; border-bottom: 1px solid var(--color-border); margin-bottom: 28px;
}
.page-pills a {
    display: inline-block; padding: 9px 34px; border: 1px solid #d5d5d5; border-radius: 999px;
    background: #fff; color: var(--color-text); text-decoration: none; font-size: 14px;
    transition: border-color 0.2s, color 0.2s;
}
.page-pills a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.page-pills a.current { border-color: var(--color-primary); color: var(--color-primary); font-weight: 600; }
.page-card {
    background: #f5f6f8; border: 1px solid var(--color-border); border-radius: 4px;
    padding: 30px 34px; margin-bottom: 48px;
}
.page-body p { margin-bottom: 16px; }
.page-body p:last-child { margin-bottom: 0; }
.page-body ul, .page-body ol { margin: 0 0 16px 20px; }
.page-body h2, .page-body h3, .page-body h4 { color: var(--color-primary-dark); margin: 26px 0 12px; }
.page-body h2:first-child, .page-body h3:first-child, .page-body h4:first-child { margin-top: 0; }
.page-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.page-gallery img { width: 100%; border: 1px solid var(--color-border); border-radius: 8px; }

/* ---------- Search box (search results page) ---------- */
.search-box { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.search-box input { flex: 1; padding: 11px 14px; font-size: 14px; border: 1px solid #d5d5d5; font-family: inherit; }
.search-box input:focus { outline: none; border-color: var(--color-primary); }

/* ---------- Shared inner-page bits (breadcrumb / pagination / page title) ---------- */
.breadcrumb { font-size: 14px; color: var(--color-text-muted); margin: 24px 0 8px; }
.breadcrumb a { color: var(--color-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-title { font-size: 28px; color: var(--color-primary-dark); margin-bottom: 24px; }
.lede { color: var(--color-text-muted); margin: 0 0 24px; }
.pagination { margin-top: 32px; display: flex; gap: 8px; align-items: center; font-size: 15px; }
.pagination a { padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 4px; text-decoration: none; color: var(--color-text); }
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination strong { padding: 6px 12px; background: var(--color-primary); color: #fff; border-radius: 4px; }

/* ---------- Catalog list (/products, /products/{slug}) ---------- */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; padding-bottom: 56px; }
.catalog-sidebar {
    border: 1px solid var(--color-border); border-radius: 8px; padding: 20px;
    position: sticky; top: 90px;
}
.catalog-sidebar h2 { font-size: 16px; margin-bottom: 12px; color: var(--color-primary-dark); }
.catalog-sidebar ul { list-style: none; }
.catalog-sidebar li { margin-bottom: 6px; }
.catalog-sidebar ul ul { margin: 6px 0 6px 16px; }
.catalog-sidebar a { color: var(--color-text); text-decoration: none; font-size: 14px; }
.catalog-sidebar a::before { content: '\2022\00a0\00a0'; color: var(--color-primary); }
.catalog-sidebar a:hover { color: var(--color-primary); }
.catalog-sidebar a.current { color: var(--color-primary); font-weight: 600; }

/* ---------- Product detail (/product/{slug}) ---------- */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.product-gallery img#main-image { width: 100%; border: 1px solid var(--color-border); border-radius: 8px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs button { border: 1px solid var(--color-border); border-radius: 4px; padding: 0; cursor: pointer; background: #fff; }
.thumbs button:hover { border-color: var(--color-primary); }
.thumbs img { width: 72px; height: 72px; object-fit: cover; display: block; border-radius: 4px; }
.product-summary h1 { font-size: 28px; color: var(--color-primary-dark); margin-bottom: 8px; }
.product-summary .model { color: var(--color-text-muted); margin-bottom: 16px; }
.inquiry-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.tabs { margin-bottom: 40px; }
.tab-buttons { display: flex; gap: 4px; border-bottom: 2px solid var(--color-border); margin-bottom: 24px; }
.tab-buttons button {
    background: none; border: none; padding: 12px 20px; font-size: 15px; font-weight: 600;
    cursor: pointer; color: var(--color-text-muted); font-family: inherit;
}
.tab-buttons button.current { color: var(--color-primary); border-bottom: 2px solid var(--color-primary); margin-bottom: -2px; }
.tab-panel { display: none; }
.tab-panel.current { display: block; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { border: 1px solid var(--color-border); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--color-bg-alt); width: 240px; }

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.lists h2, .related h2 { font-size: 20px; color: var(--color-primary-dark); margin-bottom: 16px; }
.lists ul { margin-left: 20px; }
.related { margin-bottom: 40px; }
.prev-next {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 24px 0 56px; border-top: 1px solid var(--color-border);
}
.prev-next a { color: var(--color-primary); text-decoration: none; }
.prev-next a:hover { text-decoration: underline; }

/* ---------- Articles (news / solutions / cases) ---------- */
/* Full list rows: let long titles wrap instead of truncating to one line. */
.article-list .news-body h3 { white-space: normal; overflow: visible; }
.article-detail { max-width: 800px; margin: 0 auto; padding-bottom: 56px; }
.article-detail h1 { font-size: 30px; color: var(--color-primary-dark); margin-bottom: 8px; }
.article-meta { color: var(--color-text-muted); font-size: 14px; margin-bottom: 24px; }
.article-cover { width: 100%; height: auto; border-radius: 8px; margin-bottom: 24px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body h2, .article-body h3, .article-body h4 { color: var(--color-primary-dark); margin: 24px 0 12px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.article-body th, .article-body td { border: 1px solid var(--color-border); padding: 8px 12px; text-align: left; }
.article-back { margin-top: 32px; }

/* ---------- Videos (/videos) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 56px; }
.video-card video, .video-card iframe {
    display: block; width: 100%; aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border); border-radius: 8px; background: #000;
}
.video-lazy {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0;
    border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer;
    background: var(--color-primary-dark);
}
.video-lazy .video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-lazy .play {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; padding-left: 4px; border-radius: 50%;
    background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 20px; line-height: 1;
    transition: background 0.15s ease;
}
.video-lazy:hover .play, .video-lazy:focus-visible .play { background: var(--color-primary); }
.video-lazy:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.video-title { font-size: 15px; margin: 12px 0 0; color: var(--color-text); }

/* ---------- Downloads (/downloads) ---------- */
.file-list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 56px; }
.file-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border: 1px solid var(--color-border); border-radius: 8px; padding: 16px 20px;
    transition: border-color 0.15s ease;
}
.file-row:hover { border-color: var(--color-primary); }
.file-row strong { display: block; font-size: 16px; }
.file-meta { display: block; font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
    /* Reference hides the dropdown chevron on desktop (nav is self-explanatory). */
    .nav-menu .has-drop > a::after { content: none; }
}
@media (max-width: 1200px) {
    .nav-menu > li > a { padding: 0 22px; font-size: 16px; }
}
@media (max-width: 1024px) {
    .header-inner { gap: 12px; }
    .nav-menu > li > a { padding: 0 14px; font-size: 15px; }
    .brand-logo { max-height: 34px; }
    .product-grid, .card-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid { gap: 32px; }
}
@media (max-width: 768px) {
    .header-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 12px; }
    .nav-menu { width: 100%; justify-content: flex-start; }
    .nav-menu > li > a { height: auto; padding: 10px 12px; font-size: 14px; }
    .nav-dropdown { position: static; box-shadow: none; border: none; min-width: 0; padding: 0 0 4px 12px; }
    .nav-menu > li:hover .nav-dropdown { display: block; }
    .hero-toolbar { flex-wrap: wrap; gap: 12px; }
    .hero-dots:last-of-type { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .product-grid, .card-grid, .video-grid { grid-template-columns: 1fr; }
    .news-row { flex-wrap: wrap; }
    .news-side { flex-direction: row; width: 100%; align-items: center; justify-content: space-between; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-products ul { columns: 2; }
    .float-bar { top: auto; bottom: 16px; }
    .page-strip { grid-template-columns: 1fr; }
    .page-strip img { height: 200px; }
    .page-pills { gap: 10px; }
    .page-pills a { padding: 8px 20px; font-size: 13px; }
    .page-card { padding: 22px 18px; }
    .page-gallery { grid-template-columns: 1fr; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }
    .product-top, .lists { grid-template-columns: 1fr; }
    .tab-buttons { flex-wrap: wrap; }
}
