html {
    min-height: 100%;
}

body {
    min-height: 100dvh;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

.catalog-footer {
    --footer-base: var(--primary-surface, var(--main-color));
    --footer-ink-strong: var(--on-main-footer-color, var(--on-primary-strong, var(--on-main-color)));
    --footer-ink: var(--on-main-footer-color, var(--on-primary-body, var(--on-main-color)));
    --footer-ink-soft: color-mix(in srgb, var(--footer-ink) 84%, var(--footer-base) 16%);
    --footer-accent: color-mix(in srgb, var(--secondary-accent, var(--secondary-color)) 58%, var(--footer-ink) 42%);
    --footer-divider: color-mix(in srgb, var(--footer-ink) 20%, var(--footer-base) 80%);
    --footer-hover-bg: color-mix(in srgb, var(--footer-ink) 10%, var(--footer-base) 90%);
    --footer-focus-ring: color-mix(in srgb, var(--secondary-accent, var(--secondary-color)) 35%, transparent);
    margin-top: auto;
    border-top: 0;
    background: var(--footer-base);
    flex-shrink: 0;
}

.catalog-footer-container {
    padding-left: clamp(1rem, 3.8vw, 2.8rem);
    padding-right: clamp(1rem, 3.8vw, 2.8rem);
    padding-top: 0;
    padding-bottom: 0;
}

.catalog-footer-social-top {
    padding: 22px 0 18px;
    border-bottom: 1px solid var(--footer-divider);
}

.catalog-footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.catalog-footer-social-label {
    font-weight: 800;
    color: var(--footer-ink-strong);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .38px;
}

.catalog-footer-social-nav {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.catalog-footer-social-link {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: var(--footer-ink-soft);
    background-color: transparent;
    border: 1px solid transparent;
    opacity: .92;
    transition: all .2s ease;
}

.catalog-footer-social-link:hover,
.catalog-footer-social-link:focus {
    background-color: var(--footer-hover-bg);
    color: var(--footer-ink-strong);
    border-color: transparent;
    transform: translateY(-1px);
    opacity: 1;
}

.catalog-footer-social-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--footer-focus-ring);
}

.catalog-footer-social-link i {
    font-size: 18px;
    line-height: 1;
}

.catalog-social-x {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.catalog-footer-top {
    padding: 36px 0 34px;
}

.catalog-footer-content {
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(360px, 1.08fr);
    gap: 54px;
    align-items: start;
}

.catalog-footer-info-col {
    display: grid;
    gap: 26px;
}

.catalog-footer-info-col:first-child {
    padding-right: 34px;
    border-right: 1px solid var(--footer-divider);
}

.catalog-footer-info-main {
    padding-left: 2px;
}

.catalog-footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.catalog-footer-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    flex-shrink: 0;
    overflow: visible;
    color: var(--footer-ink-strong);
}

.catalog-footer-info-icon i {
    font-size: 15px;
    line-height: 1;
    transform: translateY(.5px);
}

.catalog-footer-info-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.catalog-footer-info-label {
    font-weight: 700;
    color: var(--footer-ink-strong);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.catalog-footer-info-value {
    color: var(--footer-ink-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
    transition: color .2s ease;
    word-break: break-word;
    max-width: 64ch;
}

.catalog-footer-info-main .catalog-footer-info-value {
    max-width: 58ch;
}

.catalog-footer-info-value:hover,
.catalog-footer-info-value:focus {
    color: var(--footer-ink);
}

.catalog-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--footer-divider);
}

.catalog-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    transition: color .2s ease;
}

.catalog-footer .a-tyrbook {
    color: var(--footer-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: color .2s ease;
    letter-spacing: .2px;
}

.catalog-footer .a-tyrbook:hover,
.catalog-footer .a-tyrbook:focus {
    color: var(--footer-accent);
}

.catalog-footer-copy {
    color: var(--footer-ink-soft);
    font-size: 12px;
    font-weight: 500;
    transition: color .2s ease;
}

.catalog-footer-brand:hover .a-tyrbook,
.catalog-footer-brand:focus-within .a-tyrbook {
    color: var(--footer-accent);
}

.catalog-footer-brand:hover .catalog-footer-copy,
.catalog-footer-brand:focus-within .catalog-footer-copy {
    color: var(--footer-ink);
}

.catalog-footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 24px;
    background-color: transparent;
    border: 1px solid var(--footer-divider);
    transition: all .2s ease;
}

.catalog-footer-whatsapp:hover,
.catalog-footer-whatsapp:focus {
    background-color: var(--footer-hover-bg);
    border-color: var(--footer-accent);
    color: var(--footer-accent);
    transform: translateY(-1px);
}

.catalog-footer-whatsapp:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--footer-focus-ring);
}

.catalog-footer-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: currentColor;
}

.catalog-footer-whatsapp-icon i {
    font-size: 18px;
    line-height: 1;
}

.catalog-footer-help {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: font-weight .18s ease;
}

.catalog-footer-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: var(--footer-ink-strong);
    background-color: transparent;
    border: 0;
    transition: filter .18s ease;
}

.catalog-footer-help-icon i {
    font-size: 16px;
    line-height: 1;
    transform: translateY(-.5px);
}

.catalog-footer-help:hover .catalog-footer-help-text,
.catalog-footer-help:focus-within .catalog-footer-help-text {
    font-weight: 700;
    color: var(--footer-ink);
}

.catalog-footer-help:hover .catalog-footer-help-icon,
.catalog-footer-help:focus-within .catalog-footer-help-icon {
    filter: saturate(1.12) brightness(1.08);
}

@media (max-width: 900px) {
    .catalog-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .catalog-footer-info-col:first-child {
        padding-right: 0;
        border-right: 0;
    }

    .catalog-footer-info-main {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .catalog-footer-social-top {
        padding: 16px 0 14px;
    }

    .catalog-footer-social-link {
        width: 34px;
        height: 34px;
    }

    .catalog-footer-social-link i {
        font-size: 15px;
    }

    .catalog-social-x {
        width: 14px;
        height: 14px;
    }

    .catalog-footer-top {
        padding: 24px 0 22px;
    }

    .catalog-footer-info-col {
        gap: 18px;
    }

    .catalog-footer-info-label {
        font-size: 12px;
        letter-spacing: .5px;
    }

    .catalog-footer-info-value {
        font-size: 13px;
        line-height: 1.5;
        max-width: none;
    }

    .catalog-footer-bottom {
        padding: 16px 0 calc(18px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .catalog-footer-whatsapp {
        align-self: stretch;
        justify-content: center;
        gap: 10px;
        font-size: 12px;
        padding: 10px 14px;
    }

    .catalog-footer-whatsapp-icon i {
        font-size: 16px;
    }

    .catalog-footer-help {
        align-self: flex-end;
        gap: 8px;
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 999px;
        background-color: color-mix(in srgb, var(--footer-base) 10%, transparent);
    }

    .catalog-footer-help-icon i {
        font-size: 14px;
        transform: translateY(-.25px);
    }
}
