:root {
    --blue: #284294;
    --blue-dark: #1e3270;
    --yellow: #ffc107;
    --red: #ed174a;
    --text: #202435;
    --muted: #71778e;
    --border: #e5e7eb;
    --bg: #f7f8fc;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 8px 24px rgba(32, 36, 53, 0.08);
    --font: "DM Sans", system-ui, sans-serif;
    --display: "Outfit", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.container { width: min(1240px, calc(100% - 2rem)); margin-inline: auto; }

.topbar {
    background: var(--blue);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
}

.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
}
.header-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    z-index: 45;
}
.logo { display: inline-flex; align-items: center; }
.logo-img {
    width: auto;
    height: 48px;
    max-width: min(220px, 52vw);
    object-fit: contain;
}
.logo-img-footer {
    height: 56px;
    max-width: 240px;
}

.search-form {
    display: flex; width: 100%;
    border: 2px solid var(--blue); border-radius: 999px; overflow: hidden; background: #fff;
}
.search-form input {
    flex: 1; border: 0; outline: 0; padding: 0.75rem 1rem; background: transparent;
}
.search-form button {
    border: 0; background: var(--blue); color: #fff; padding: 0 1.25rem;
    font-weight: 600; cursor: pointer;
}
.search-form button:hover { background: var(--yellow); color: var(--text); }
.search-form-page { max-width: 720px; margin: 1rem 0 0; }

.search-suggest-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(40,66,148,.14);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(24,36,78,.14);
    overflow: hidden;
    max-height: min(420px, 70vh);
    overflow-y: auto;
}
.search-suggest-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #eef1f7;
}
.search-suggest-item:hover { background: #f7f9ff; }
.search-suggest-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #f3f5fb;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.search-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}
.search-suggest-meta strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}
.search-suggest-meta small { color: var(--muted); font-size: 0.8rem; }
.search-suggest-all,
.search-suggest-empty {
    display: block;
    padding: 0.85rem 1rem;
    font-weight: 700;
    color: var(--blue);
    background: #f7f9ff;
}
.search-suggest-empty { color: var(--muted); font-weight: 600; }

.compare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    background: #eef1fa;
    color: var(--blue);
    border: 1px solid rgba(40,66,148,.16);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.compare-btn:hover,
.compare-btn.is-active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.compare-badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.3rem;
    height: 1.3rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--text);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 800;
}

.header-actions { display: flex; gap: 0.75rem; align-items: center; }
.header-link { font-weight: 600; color: var(--blue); }

.category-bar { border-top: 1px solid var(--border); background: #fff; }
.category-bar-inner { display: flex; align-items: stretch; gap: 1rem; min-height: 48px; }
.all-cats { position: relative; flex-shrink: 0; }
.all-cats-label {
    display: inline-flex; align-items: center; height: 100%;
    background: var(--blue); color: #fff; padding: 0 1.1rem; font-weight: 700; font-size: 0.9rem;
}
.all-cats-label:hover { background: var(--blue-dark); color: #fff; }
.all-cats:hover .all-cats-dropdown { display: grid; }
.all-cats-dropdown {
    display: none; position: absolute; top: 100%; left: 0; min-width: 280px;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); z-index: 50;
}
.all-cats-dropdown a {
    display: flex; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border);
}
.all-cats-dropdown a:hover { background: #f3f5fb; color: var(--blue); }
.cat-links { display: flex; gap: 1.1rem; align-items: center; overflow-x: auto; }
.main-menu-links {
    flex: 1;
    gap: 0.35rem 1.35rem;
    padding: 0.15rem 0;
}
.cat-links a { white-space: nowrap; font-weight: 600; font-size: 0.92rem; color: var(--text); padding: 0.55rem 0.2rem; border-bottom: 2px solid transparent; }
.cat-links a:hover,
.cat-links a.is-active { color: var(--blue); border-bottom-color: var(--yellow); }
.drawer-nav a.is-active { color: var(--blue); }
.drawer-all-cats { margin-top: 0.75rem; font-weight: 800; color: var(--blue) !important; }
.drawer-sub { font-size: 0.92rem; color: var(--muted) !important; padding-left: 0.75rem !important; }

.icon-btn {
    display: none; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column;
    justify-content: center; gap: 5px; cursor: pointer;
}
.icon-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-drawer {
    position: fixed; inset: 0 auto 0 0; width: min(320px, 88vw); background: #fff; z-index: 60;
    transform: translateX(-105%); transition: transform .25s ease; padding: 1rem; overflow: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; opacity: 0; pointer-events: none; transition: .2s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer-head button { border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; }
.drawer-search input { width: 100%; padding: 0.7rem; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 1rem; }
.drawer-nav { display: grid; gap: 0.35rem; }
.drawer-nav a { padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--border); font-weight: 600; }

.main { min-height: 60vh; }

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: clamp(420px, 62vh, 640px);
    display: flex;
    align-items: center;
    padding: 2.75rem 0 2.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: #0b1224;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
}
.hero-video.is-active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,12,28,.82) 0%, rgba(8,12,28,.58) 48%, rgba(8,12,28,.35) 100%),
        linear-gradient(180deg, rgba(8,12,28,.25) 0%, rgba(8,12,28,.55) 100%);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
    align-items: center;
    width: min(1240px, calc(100% - 2rem));
}
.hero-logo {
    height: 64px;
    width: auto;
    max-width: min(280px, 80vw);
    margin: 0 0 1rem;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.hero h1 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.8rem;
    max-width: 16ch;
    color: #fff;
    text-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.hero-lead {
    color: rgba(255,255,255,.78);
    max-width: 42ch;
    margin: 0 0 1.4rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-cta .btn-outline {
    border-color: rgba(255,255,255,.7);
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
}
.hero-cta .btn-outline:hover {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}
.hero-dots {
    display: flex;
    gap: 0.45rem;
    margin-top: 1.25rem;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255,255,255,.35);
    transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active {
    width: 28px;
    background: var(--yellow);
}
.hero-panel {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: center; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.5rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-stats span { color: rgba(255,255,255,.82); font-size: 0.85rem; }

.section { padding: 2.25rem 0; }
.section-alt { background: #fff; border-block: 1px solid var(--border); }
.section-head {
    display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem;
}
.section-head h2 {
    font-family: var(--display); margin: 0; font-size: 1.45rem; letter-spacing: -0.02em; text-transform: uppercase;
}
.section-head p { margin: 0.25rem 0 0; color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
    border-radius: 8px; padding: 0.65rem 1rem; font-weight: 700; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--yellow); color: var(--text); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: #eef1fa; color: var(--blue); }
.btn-lg { padding: 0.85rem 1.35rem; font-size: 1rem; }
.btn-pill { border-radius: 999px; border: 1px solid var(--border); background: #fff; padding: 0.45rem 0.9rem; font-weight: 600; }

.category-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
}
.category-tile {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem;
    transition: border-color .15s, transform .15s;
}
.category-tile:hover { border-color: var(--blue); transform: translateY(-2px); }
.category-tile strong { display: block; margin-bottom: 0.25rem; }
.category-tile span { color: var(--muted); font-size: 0.9rem; }

.categories-premium {
    position: relative;
    background:
        radial-gradient(circle at 8% 20%, rgba(40,66,148,.08), transparent 42%),
        radial-gradient(circle at 92% 80%, rgba(255,193,7,.10), transparent 38%),
        linear-gradient(180deg, #f4f6fb 0%, #eef1f8 100%);
    border-block: 1px solid #e3e7f2;
    overflow: hidden;
}
.section-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
}
.categories-premium-head { margin-bottom: 1.5rem; }
.category-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.category-premium-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(40,66,148,.10);
    border-radius: 18px;
    padding: 0.85rem 1rem 0.85rem 0.85rem;
    box-shadow: 0 10px 28px rgba(24, 36, 78, 0.06);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-premium-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue), var(--yellow));
    opacity: 0;
    transition: opacity .22s ease;
}
.category-premium-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40,66,148,.28);
    box-shadow: 0 18px 40px rgba(24, 36, 78, 0.12);
}
.category-premium-card:hover::before { opacity: 1; }
.category-premium-index {
    position: absolute;
    top: 0.55rem;
    right: 0.75rem;
    font-family: var(--display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(40,66,148,.35);
}
.category-premium-media {
    width: 112px;
    height: 88px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f2f5fc, #e7ecf8);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.category-premium-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.45rem;
    transition: transform .28s ease;
}
.category-premium-card:hover .category-premium-media img { transform: scale(1.06); }
.category-premium-fallback {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue);
}
.category-premium-body strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    color: var(--text);
}
.category-premium-body span {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eef1fa;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
}
.category-premium-cta {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--blue);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity .2s ease, transform .2s ease;
}
.category-premium-card:hover .category-premium-cta {
    opacity: 1;
    transform: translateX(3px);
    color: var(--blue-dark);
}
.category-premium-cta::after { content: " →"; }

.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.product-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s;
}
.product-card:hover { box-shadow: var(--shadow); border-color: #cfd6ef; }
.product-card-media { position: relative; aspect-ratio: 1; background: #fafbff; display: grid; place-items: center; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 0.75rem; }
.badge-discount {
    position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff;
    font-size: 0.75rem; font-weight: 800; padding: 0.25rem 0.45rem; border-radius: 6px; z-index: 1;
}
.no-image { color: var(--muted); font-size: 0.9rem; }
.no-image.large { min-height: 320px; display: grid; place-items: center; background: #f4f6fb; border-radius: var(--radius); }
.product-card-body { padding: 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-brand { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.product-card-body h3 { margin: 0; font-size: 0.95rem; line-height: 1.35; font-weight: 600; min-height: 2.7em; }
.product-card-body h3 a:hover { color: var(--blue); }
.product-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.45rem; margin-top: auto; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 0.88rem; }
.price-current { color: var(--red); font-weight: 800; font-size: 1.1rem; }
.product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.5rem; }
.product-card-actions .btn { width: 100%; font-size: 0.85rem; padding: 0.55rem 0.4rem; }
.compare-add-form { margin-top: 0.45rem; }
.btn-compare-add {
    width: 100%;
    border: 1px dashed rgba(40,66,148,.35);
    background: #f7f9ff;
    color: var(--blue);
    border-radius: 8px;
    padding: 0.45rem 0.5rem;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
}
.btn-compare-add:hover,
.btn-compare-add.is-active {
    border-style: solid;
    background: var(--blue);
    color: #fff;
}

.compare-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(40,66,148,.08), transparent 34%),
        #f5f7fc;
}
.compare-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.compare-hero h1 {
    font-family: var(--display);
    margin: 0.2rem 0 0.4rem;
    letter-spacing: -0.02em;
}
.compare-hero p { margin: 0; color: var(--muted); }
.compare-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid rgba(40,66,148,.10);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(24,36,78,.06);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.compare-table th,
.compare-table td {
    border-bottom: 1px solid #eef1f7;
    padding: 0.9rem 1rem;
    vertical-align: top;
    text-align: left;
}
.compare-table thead th {
    background: #f7f9ff;
    min-width: 180px;
}
.compare-table tbody th {
    width: 140px;
    color: var(--muted);
    font-weight: 700;
    background: #fcfdff;
}
.compare-product { display: grid; gap: 0.45rem; }
.compare-thumb {
    width: 100%;
    aspect-ratio: 1.2;
    background: #f4f6fb;
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.compare-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.compare-name { font-weight: 700; font-size: 0.92rem; line-height: 1.35; }
.compare-name:hover { color: var(--blue); }
.compare-remove {
    border: 0;
    background: transparent;
    color: var(--red);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    text-align: left;
}
.compare-price { color: var(--red); font-weight: 800; }
.compare-actions { display: grid; gap: 0.4rem; }
.compare-actions form { margin: 0; }
.btn-compare-remove {
    width: 100%;
    background: #fff5f5;
    color: var(--red);
    border-color: rgba(220, 38, 38, 0.25);
}
.btn-compare-remove:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.flash-ok, .flash-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}
.flash-ok { background: #e8f8ef; color: #0f8a4b; }
.flash-error { background: #fdecef; color: var(--red); }

.page { padding: 1.5rem 0 2.5rem; }
.page-head h1 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
.page-head p { color: var(--muted); margin: 0.35rem 0 0; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--blue); }
.sort-form { display: flex; align-items: center; gap: 0.5rem; }
.sort-form select { border: 1px solid var(--border); border-radius: 8px; padding: 0.45rem 0.7rem; background: #fff; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.subcat-chips a {
    background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.88rem; font-weight: 600;
}
.subcat-chips a:hover { border-color: var(--blue); color: var(--blue); }

.category-list { display: grid; gap: 1rem; }
.category-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.category-block-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.category-block-title span { color: var(--muted); }
.category-children { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.category-children a {
    background: #f3f5fb; border-radius: 8px; padding: 0.4rem 0.7rem; font-size: 0.88rem;
}
.category-children a small { color: var(--muted); margin-left: 0.25rem; }

.categories-index-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(40,66,148,.10), transparent 36%),
        radial-gradient(circle at 88% 8%, rgba(255,193,7,.12), transparent 30%),
        #f5f7fc;
}
.categories-index-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.75rem;
}
.categories-index-hero h1 {
    font-family: var(--display);
    margin: 0.2rem 0 0.55rem;
    letter-spacing: -0.02em;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.categories-index-hero > div > p {
    margin: 0;
    color: var(--muted);
    max-width: 48ch;
    line-height: 1.6;
}
.categories-index-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.categories-index-stats div {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(40,66,148,.12);
    border-radius: 14px;
    padding: 0.9rem 0.75rem;
    text-align: center;
    box-shadow: 0 8px 22px rgba(24,36,78,.05);
}
.categories-index-stats strong {
    display: block;
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--blue);
}
.categories-index-stats span {
    color: var(--muted);
    font-size: 0.82rem;
}
.categories-index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}
.categories-index-card {
    background: #fff;
    border: 1px solid rgba(40,66,148,.10);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(24,36,78,.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.categories-index-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40,66,148,.28);
    box-shadow: 0 20px 44px rgba(24,36,78,.12);
}
.categories-index-main {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
}
.categories-index-media {
    position: relative;
    height: 120px;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef2fb, #e4eaf7);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.categories-index-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.55rem;
    transition: transform .28s ease;
}
.categories-index-card:hover .categories-index-media img { transform: scale(1.06); }
.categories-index-fallback {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
}
.categories-index-no {
    position: absolute;
    top: 0.45rem;
    left: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(40,66,148,.45);
    background: rgba(255,255,255,.8);
    border-radius: 999px;
    padding: 0.15rem 0.4rem;
}
.categories-index-copy h2 {
    margin: 0 0 0.35rem;
    font-family: var(--display);
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}
.categories-index-copy p {
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-size: 0.9rem;
}
.categories-index-link {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--blue);
}
.categories-index-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0 1rem 1rem;
    border-top: 1px solid #eef1f7;
    padding-top: 0.85rem;
    margin-top: -0.15rem;
}
.categories-index-subs a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f3f5fb;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.categories-index-subs a:hover {
    background: #e8edfa;
    border-color: rgba(40,66,148,.2);
    color: var(--blue);
}
.categories-index-subs small {
    color: var(--muted);
    font-weight: 700;
}
.categories-index-more {
    background: var(--blue) !important;
    color: #fff !important;
}
.categories-index-more:hover {
    background: var(--blue-dark) !important;
    color: #fff !important;
}

.product-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: #fff;
    border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem;
}
.product-gallery-main { position: relative; background: #fafbff; border-radius: 12px; min-height: 360px; display: grid; place-items: center; }
.product-gallery-main img { max-height: 420px; object-fit: contain; padding: 1rem; }
.product-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; }
.thumb { border: 1px solid var(--border); border-radius: 8px; padding: 0.25rem; background: #fff; cursor: pointer; width: 72px; height: 72px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0.35rem 0 0.75rem; line-height: 1.25; }
.product-meta { display: flex; gap: 0.85rem; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.in-stock { color: #0f8a4b; font-weight: 700; }
.out-stock { color: var(--red); font-weight: 700; }
.detail-prices .price-current { font-size: 1.75rem; }
.product-summary {
    margin: 1rem 0; padding: 1rem; background: #f7f8fc; border-radius: 10px; color: #3a4055; white-space: pre-line;
}
.product-buy-row { margin-top: 1.25rem; }
.product-buy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.product-buy-actions form { margin: 0; }
.buy-note { color: var(--muted); font-size: 0.88rem; margin: 0.6rem 0 0; }
.product-description {
    margin-top: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.4rem;
}
.product-description h2 { font-family: var(--display); margin-top: 0; }
.rich-content { color: #333; overflow-wrap: anywhere; }
.rich-content img { height: auto; margin: 0.75rem 0; }
.related-section { padding-top: 2rem; }

.search-page {
    background:
        radial-gradient(circle at 10% 0%, rgba(40,66,148,.10), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(255,193,7,.12), transparent 28%),
        #f5f7fc;
}
.search-hero {
    max-width: 820px;
    margin: 0 auto 1.75rem;
    text-align: center;
}
.search-hero-compact { max-width: 640px; }
.search-hero h1 {
    font-family: var(--display);
    margin: 0.25rem 0 0.55rem;
    letter-spacing: -0.02em;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}
.search-hero-lead {
    margin: 0 auto 1.25rem;
    color: var(--muted);
    max-width: 46ch;
    line-height: 1.6;
}
.search-hero-lead strong { color: var(--text); }
.search-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(40,66,148,.14);
    border-radius: 18px;
    padding: 0.55rem;
    box-shadow: 0 16px 40px rgba(24,36,78,.08);
}
.search-panel-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.55rem;
    min-width: 0;
}
.search-panel-icon { color: var(--blue); flex-shrink: 0; display: grid; place-items: center; }
.search-panel-field input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    min-width: 0;
    padding: 0.7rem 0;
    font-size: 1rem;
}
.search-panel-clear {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}
.search-panel-clear:hover { color: var(--blue); }
.search-panel-btn {
    border-radius: 12px;
    padding: 0 1.35rem;
    min-height: 48px;
}
.search-suggest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.search-suggest-block {
    background: #fff;
    border: 1px solid rgba(40,66,148,.10);
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 10px 28px rgba(24,36,78,.05);
}
.search-suggest-block h2 {
    margin: 0 0 0.85rem;
    font-family: var(--display);
    font-size: 1.05rem;
    color: var(--blue);
}
.search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.search-chips a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f3f5fb;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 650;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.search-chips a:hover {
    background: #e8edfa;
    border-color: rgba(40,66,148,.22);
    color: var(--blue);
}
.search-chips small {
    color: var(--muted);
    font-weight: 700;
}
.search-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid rgba(40,66,148,.10);
    border-radius: 14px;
}
.search-toolbar p { margin: 0; color: var(--muted); }
.search-toolbar strong { color: var(--text); }
.search-empty {
    background: #fff;
    border: 1px dashed rgba(40,66,148,.25);
    border-radius: 18px;
    padding: 2rem 1.25rem;
    text-align: center;
}
.search-empty strong {
    display: block;
    font-family: var(--display);
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}
.search-empty p {
    margin: 0 auto 1rem;
    color: var(--muted);
    max-width: 42ch;
}
.search-empty .search-chips { justify-content: center; }

.empty-state, .muted { color: var(--muted); }
.pagination-wrap { margin-top: 1.5rem; }
.pagination-wrap nav, .pager {
    display: flex; justify-content: center; align-items: center; gap: 1rem;
}
.pager a {
    background: var(--blue); color: #fff; padding: 0.5rem 0.9rem; border-radius: 8px; font-weight: 700;
}
.pager-disabled { color: var(--muted); }
.pager-status { font-weight: 600; color: var(--muted); }

.site-footer { background: var(--blue); color: rgba(255,255,255,.82); margin-top: 2rem; padding: 2.5rem 0 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text span { color: #9fb0ff; }
.site-footer h4 { color: #fff; margin: 0 0 0.75rem; }
.site-footer a { display: block; margin: 0.35rem 0; color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-brand-note {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,.88);
}
.footer-brand-note a { display: inline; color: var(--yellow); font-weight: 700; }
.footer-address { margin: 0.5rem 0 0; color: rgba(255,255,255,.72); font-size: 0.9rem; line-height: 1.45; }

.contact-intro .eyebrow {
    color: var(--blue);
    margin-bottom: 0.4rem;
}
.brand-badge {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.55rem 0.85rem;
    background: #eef1fa;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.92rem;
}
.brand-badge a { color: var(--blue); font-weight: 700; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem 1.1rem;
    text-align: center;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.contact-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.contact-card h2 {
    margin: 0.75rem 0 0.35rem;
    font-size: 1.05rem;
    font-family: var(--display);
}
.contact-card p {
    margin: 0 0 0.65rem;
    color: var(--muted);
    font-size: 0.9rem;
}
.contact-card strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--text);
    word-break: break-word;
}
.contact-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 999px;
    display: grid;
    place-items: center;
}
.contact-icon-phone { background: #e8eefc; color: var(--blue); }
.contact-icon-wa { background: #e7f8ee; color: #1fa855; }
.contact-icon-mail { background: #e9f8f1; color: #1a9f6a; }
.contact-icon-pin { background: #eef0f4; color: #6b7280; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.about-page { max-width: 920px; }
.about-hero { margin-bottom: 1.75rem; }
.about-hero h1 {
    font-family: var(--display);
    letter-spacing: -0.02em;
    margin: 0.35rem 0 0.85rem;
    line-height: 1.2;
}
.about-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3a4158;
    margin: 0 0 1rem;
}
.about-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1rem;
}
.about-section h2 {
    font-family: var(--display);
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--blue);
}
.about-section p {
    margin: 0 0 0.85rem;
    line-height: 1.7;
    color: #333a4d;
}
.about-section p:last-child { margin-bottom: 0; }
.about-highlight {
    border-color: #c9d4f3;
    background: linear-gradient(180deg, #f7f9ff 0%, #fff 70%);
}
.about-list, .about-steps {
    margin: 0.35rem 0 0.85rem;
    padding-left: 1.2rem;
    color: #333a4d;
    line-height: 1.7;
}
.about-list li, .about-steps li { margin: 0.35rem 0; }
.about-cta .btn-outline {
    border-color: var(--blue);
    color: var(--blue);
}
.about-cta .hero-cta { margin-top: 0.85rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.18);
    margin-top: 1.75rem;
    padding-top: 1rem;
    font-size: 0.88rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,.75);
}
.footer-credit a {
    display: inline;
    color: var(--yellow);
    font-weight: 700;
}
.footer-credit a:hover { color: #fff; }

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}
.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.45);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .product-grid, .category-grid { grid-template-columns: repeat(3, 1fr); }
    .category-premium-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-index-hero { grid-template-columns: 1fr; }
    .categories-index-grid { grid-template-columns: 1fr; }
    .search-suggest { grid-template-columns: 1fr; }
    .hero-grid, .product-detail, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .mobile-only, .icon-btn { display: inline-flex; }
    .search-form, .header-actions, .category-bar { display: none; }
    .header-search-wrap { display: none; }
    .compare-btn span { display: none; }
    .compare-btn { padding: 0.55rem 0.7rem; }
    .header-row { grid-template-columns: auto 1fr auto; }
    .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .category-premium-grid { grid-template-columns: 1fr; }
    .category-premium-card { grid-template-columns: 96px 1fr; }
    .category-premium-cta { display: none; }
    .categories-index-main { grid-template-columns: 110px 1fr; }
    .categories-index-media { height: 96px; }
    .categories-index-stats { grid-template-columns: repeat(3, 1fr); }
    .search-panel { grid-template-columns: 1fr; }
    .search-panel-btn { width: 100%; }
    .product-card-actions { grid-template-columns: 1fr; }
    .hero { padding: 1.5rem 0; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}
