.herrera-storefront .herrera-category-module {
    padding: 36px 0;
}

.herrera-storefront .herrera-category-module-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.herrera-storefront .herrera-category-module-heading h2 {
    margin: 0;
    color: #283236;
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.herrera-storefront .herrera-category-module-heading p {
    margin: 8px 0 0;
    color: #687579;
    font-size: 14px;
    line-height: 1.5;
}

.herrera-storefront .herrera-category-module-heading > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #007c8d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.herrera-storefront .herrera-category-module-heading > a svg {
    width: 12px;
    height: 12px;
}

.herrera-storefront .herrera-category-module-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    border: 0;
}

.herrera-storefront .herrera-category-tile {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e9e9;
    border-radius: 12px;
    background: #fff;
    color: #283236;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.herrera-storefront .herrera-category-tile:hover {
    border-color: #a5d4da;
    background: #fcfefe;
    box-shadow: 0 3px 12px #163c4408;
}

.herrera-storefront .herrera-category-tile:focus-visible,
.herrera-storefront .herrera-category-module-heading > a:focus-visible {
    outline: 2px solid #008da0;
    outline-offset: 3px;
}

.herrera-storefront .herrera-category-tile-media {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0;
}

.herrera-storefront .herrera-category-tile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.herrera-storefront .herrera-category-tile-icon {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce9eb;
    border-radius: 50%;
    background: #fff;
    color: #31717b;
    box-shadow: 0 2px 8px #163c440d;
}

.herrera-storefront .herrera-category-tile-icon svg {
    width: 22px;
    height: 22px;
}

.herrera-storefront .herrera-category-tile-fallback {
    width: 36px;
    height: 36px;
    color: #4b737a;
}

.herrera-storefront .herrera-category-tile-caption {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
}

.herrera-storefront .herrera-category-tile-name {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 1px 0 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.herrera-storefront .herrera-category-tile-arrow {
    position: static;
    flex: 0 0 12px;
    margin-top: 6px;
    width: 12px;
    height: 12px;
    color: #6e959c;
}

.herrera-storefront .herrera-category-support {
    isolation: isolate;
    justify-content: center;
    gap: 20px;
    padding: clamp(18px, 1.6vw, 28px);
    border-color: #d4e9ec;
    background-color: #edf7f9;
    background-image: var(--herrera-surface-pattern);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100vw max(900px, 100vh);
}

.herrera-storefront .herrera-category-support:hover {
    background-color: #edf7f9;
}

.herrera-storefront .herrera-category-support-copy,
.herrera-storefront .herrera-category-support-actions {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.herrera-storefront .herrera-category-support-eyebrow {
    margin: 0 0 12px;
    color: #087b8b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.herrera-storefront .herrera-category-support h3 {
    margin: 0;
    color: #283236;
    font-size: clamp(18px, 1.65vw, 25px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.herrera-storefront .herrera-category-support-description {
    margin: 12px 0 0;
    color: #607479;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.herrera-storefront .herrera-category-support-actions {
    display: grid;
    gap: 9px;
    margin-top: 0;
}

.herrera-storefront .herrera-category-support-actions a {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
    border: 1px solid #087b8b;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.herrera-storefront .herrera-category-support-contact {
    background: #087b8b;
    color: #fff;
}

.herrera-storefront .herrera-category-support-contact:hover {
    border-color: #006473;
    background: #006473;
}

.herrera-storefront .herrera-category-support-register {
    background: #ffffff9c;
    color: #087b8b;
}

.herrera-storefront .herrera-category-support-register:hover {
    background: #fff;
}

.herrera-storefront .herrera-category-support-actions a:focus-visible {
    outline: 2px solid #008da0;
    outline-offset: 3px;
}

@media (max-width: 1199px) {
    .herrera-storefront .herrera-category-module-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .herrera-storefront .herrera-category-support {
        background-attachment: fixed;
    }
}

@media (max-width: 1023px) {
    .herrera-storefront .herrera-category-support {
        background-size: 100vw max(600px, 100vh);
    }

    .herrera-storefront .herrera-category-module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .herrera-storefront .herrera-category-tile-media {
        width: 100%;
        height: auto;
        flex-basis: auto;
    }
}

@media (max-width: 639px) {
    .herrera-storefront .herrera-category-module {
        padding: 28px 0;
    }

    .herrera-storefront .herrera-category-module-heading {
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .herrera-storefront .herrera-category-module-heading > a {
        max-width: 95px;
        font-size: 11px;
    }

    .herrera-storefront .herrera-category-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .herrera-storefront .herrera-category-tile {
        min-height: 0;
        align-items: start;
        flex-direction: column;
    }

    .herrera-storefront .herrera-category-tile-caption {
        gap: 8px;
        padding: 10px;
    }

    .herrera-storefront .herrera-category-tile-arrow {
        margin-top: 5px;
    }

    .herrera-storefront .herrera-category-tile-name {
        min-height: 0;
        font-size: 14px;
    }

    .herrera-storefront .herrera-category-tile-icon {
        right: 6px;
        bottom: 6px;
        width: 36px;
        height: 36px;
    }

    .herrera-storefront .herrera-category-tile-icon svg {
        width: 20px;
        height: 20px;
    }

    .herrera-storefront .herrera-category-support {
        gap: 16px;
        padding: 14px 10px;
    }

    .herrera-storefront .herrera-category-support-eyebrow {
        margin-bottom: 8px;
        font-size: 9px;
        letter-spacing: .06em;
    }

    .herrera-storefront .herrera-category-support h3 {
        font-size: 18px;
    }

    .herrera-storefront .herrera-category-support-description {
        margin-top: 9px;
        font-size: 12px;
        line-height: 1.45;
    }

    .herrera-storefront .herrera-category-support-actions {
        gap: 7px;
    }
}

@media (max-width: 359px) {
    .herrera-storefront .herrera-category-support h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .herrera-storefront .herrera-category-tile {
        transition: none;
    }
}
