/* ========================================================================== 
   Tez footer products v4
   Replaces the old hospital-module grid with a compact Our Products column.
   This file is intentionally loaded after the main Vite and CMS styles.
   ========================================================================== */

.tez-site-footer-v4 .tez-site-footer-v3__main {
    grid-template-columns:
        minmax(270px, 1.28fr)
        minmax(230px, 0.95fr)
        minmax(145px, 0.58fr)
        minmax(245px, 0.95fr);
    gap: clamp(30px, 4vw, 58px);
    align-items: start;
}

.tez-site-footer-v4__products {
    min-width: 0;
}

.tez-site-footer-v4__product-links {
    display: grid;
    gap: 8px;
}

.tez-site-footer-v4__product-links a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    padding: 5px 9px 5px 5px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.60);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.tez-site-footer-v4__product-mark {
    display: inline-flex;
    width: 38px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 113, 135, 0.17);
    border-radius: 10px;
    color: #ff9aaa;
    background:
        linear-gradient(145deg, rgba(203, 32, 58, 0.15), rgba(255, 255, 255, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1;
}

.tez-site-footer-v4__product-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* .tez-site-footer-v4__product-links svg {
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, 0.28);
    transition: color 180ms ease, transform 180ms ease;
} */

.tez-site-footer-v4__product-links a:hover {
    color: #fff;
    border-color: rgba(255, 113, 135, 0.18);
    background: rgba(255, 255, 255, 0.055);
    transform: translateX(2px);
}

.tez-site-footer-v4__product-links a:hover .tez-site-footer-v4__product-mark {
    color: #fff;
    border-color: rgba(255, 113, 135, 0.34);
    background: linear-gradient(145deg, rgba(203, 32, 58, 0.26), rgba(255, 255, 255, 0.07));
}

.tez-site-footer-v4__product-links a:hover svg {
    color: #fff;
    transform: translateX(2px);
}

.tez-site-footer-v4__product-links a:focus-visible {
    outline: 2px solid #ff7187;
    outline-offset: 2px;
}

@media (max-width: 1120px) {
    .tez-site-footer-v4 .tez-site-footer-v3__main {
        grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.65fr) minmax(235px, 0.95fr);
    }

    .tez-site-footer-v4 .tez-site-footer-v3__brand {
        grid-column: 1 / -1;
        max-width: none;
    }

    .tez-site-footer-v4 .tez-site-footer-v3__brand > p {
        max-width: 760px;
    }
}

@media (max-width: 820px) {
    .tez-site-footer-v4 .tez-site-footer-v3__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }

    .tez-site-footer-v4 .tez-site-footer-v3__brand {
        grid-column: 1 / -1;
    }

    .tez-site-footer-v4__products {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .tez-site-footer-v4 .tez-site-footer-v3__main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tez-site-footer-v4 .tez-site-footer-v3__brand,
    .tez-site-footer-v4__products {
        grid-column: auto;
    }

    .tez-site-footer-v4__product-links {
        grid-template-columns: 1fr;
    }

    .tez-site-footer-v4__product-links a {
        min-height: 43px;
    }
}

/* @media (prefers-reduced-motion: reduce) {
    .tez-site-footer-v4__product-links a,
    .tez-site-footer-v4__product-links svg {
        transition: none !important;
    }
} */
