/* =========================================================
hzmk — Catalog categories only
Scoped under .hzmk-page / .hzmk-cats
Accent: #9D0034
========================================================= */

.hzmk-page,
.hzmk-page *,
.hzmk-page *::before,
.hzmk-page *::after {
    box-sizing: border-box;
}

.hzmk-page {
    --hzmk-red: #9d0034;
    --hzmk-red-deep: #7a0028;
    --hzmk-red-hot: #c40042;
    --hzmk-red-soft: rgba(157, 0, 52, 0.07);
    --hzmk-red-glow: rgba(157, 0, 52, 0.22);
    --hzmk-ink: #121214;
    --hzmk-ink-soft: #2e2e33;
    --hzmk-muted: #6b707a;
    --hzmk-line: #e2e4e9;
    --hzmk-bg: #f2f3f5;
    --hzmk-white: #ffffff;
    --hzmk-radius: 14px;
    --hzmk-radius-sm: 10px;
    --hzmk-shadow:
            0 1px 0 rgba(255, 255, 255, 0.7) inset,
            0 10px 32px rgba(18, 18, 20, 0.07),
            0 2px 8px rgba(18, 18, 20, 0.04);
    --hzmk-shadow-hover:
            0 1px 0 rgba(255, 255, 255, 0.85) inset,
            0 18px 44px rgba(18, 18, 20, 0.12),
            0 6px 16px rgba(157, 0, 52, 0.08);
    --hzmk-font: "Qanelas", "Segoe UI", sans-serif;
    --hzmk-display: "Qanelas", "Segoe UI", sans-serif;
    --hzmk-mono: "IBM Plex Mono", "Consolas", monospace;
    --hzmk-ease: cubic-bezier(0.22, 1, 0.36, 1);

    margin: 0;
    padding: 0;
    background: transparent;
    font-family: var(--hzmk-font);
    color: var(--hzmk-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hzmk-page a {
    color: inherit;
    text-decoration: none;
}

.hzmk-page img {
    display: block;
    max-width: 100%;
}

.hzmk-cats-root {
    width: min(1240px, calc(100% - 0px));
    margin: 0 auto;
    padding: 24px 0 10px;
}

/* ---------- Categories ---------- */
.hzmk-cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.hzmk-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 230px;
    padding: 18px 14px 22px;
    background:
            linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--hzmk-radius);
    border: 1px solid rgba(18, 18, 20, 0.05);
    box-shadow: var(--hzmk-shadow);
    transition:
            transform 0.45s var(--hzmk-ease),
            box-shadow 0.45s var(--hzmk-ease),
            border-color 0.35s ease;
    overflow: hidden;
    will-change: transform;
}

.hzmk-cat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hzmk-red), transparent);
    opacity: 0;
    transition: opacity 0.35s ease, left 0.4s var(--hzmk-ease), right 0.4s var(--hzmk-ease);
}

.hzmk-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 0 transparent;
    transition: box-shadow 0.35s ease;
}

.hzmk-cat:hover {
    transform: translateY(-6px);
    box-shadow: var(--hzmk-shadow-hover);
    border-color: rgba(157, 0, 52, 0.18);
}

.hzmk-cat:hover::before {
    opacity: 1;
    left: 8%;
    right: 8%;
}

.hzmk-cat:hover::after {
    box-shadow: inset 0 0 0 1.5px rgba(157, 0, 52, 0.2);
}

.hzmk-cat:focus-visible {
    outline: 2px solid var(--hzmk-red);
    outline-offset: 3px;
}

.hzmk-cat__media {
    width: 100%;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 6px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hzmk-white);
}

.hzmk-cat__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.55s var(--hzmk-ease);
}

.hzmk-cat:hover .hzmk-cat__media img {
    transform: scale(1.06) translateY(-2px);
}

.hzmk-cat__label {
    display: block;
    text-align: center;
    font-family: var(--hzmk-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--hzmk-ink);
    padding: 0 2px;
}

/* Action card — circular picker */
.hzmk-cat--action {
    justify-content: center;
    padding: 20px;
}

.hzmk-cat--action::before {
    display: none;
}

.hzmk-cat__ring {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 2px solid var(--hzmk-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: radial-gradient(circle at 50% 40%, rgba(157, 0, 52, 0.04), transparent 65%);
    box-shadow: 0 0 0 0 transparent;
    transition:
            background 0.35s ease,
            transform 0.45s var(--hzmk-ease),
            box-shadow 0.45s ease,
            border-color 0.35s ease;
}

.hzmk-cat--action:hover .hzmk-cat__ring {
    background: radial-gradient(circle at 50% 40%, rgba(157, 0, 52, 0.12), rgba(157, 0, 52, 0.03) 65%);
    transform: scale(1.05);
    border-color: var(--hzmk-red-hot);
    box-shadow:
            0 0 0 8px rgba(157, 0, 52, 0.06),
            0 0 28px rgba(157, 0, 52, 0.18);
}

.hzmk-cat__ring-text {
    text-align: center;
    font-family: var(--hzmk-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--hzmk-red);
}

.hzmk-cat__search {
    width: 26px;
    height: 26px;
    color: var(--hzmk-red);
    transition: transform 0.35s var(--hzmk-ease), color 0.3s ease;
}

.hzmk-cat--action:hover .hzmk-cat__search {
    transform: scale(1.12) rotate(-8deg);
    color: var(--hzmk-red-hot);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hzmk-cats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .hzmk-cats-root {
        width: min(100% - 28px, 1240px);
        padding: 20px 0 36px;
    }
}

@media (max-width: 640px) {
    .hzmk-cats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hzmk-cat {
        min-height: 210px;
    }

    .hzmk-cat__ring {
        width: 124px;
        height: 124px;
    }

    .hzmk-cat__ring-text {
        font-size: 10px;
    }

    .hzmk-cat__label {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hzmk-page *,
    .hzmk-page *::before,
    .hzmk-page *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}
@media screen and (min-width: 320px) and (max-width: 568px) {
    #lastNews{
        padding: 0px !important;
    }
}