@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

#a21-shop,
#a21-cat,
.a21-product-category-auto-main {
    --a21-primary: #2FBCDF;
    --a21-dark: #042C5C;
    --a21-text: #444444;
    --a21-muted: #777777;
    --a21-card-radius: 6px;
    --a21-button-radius: 5px;
    --a21-grid-min: 220px;
    --a21-grid-gap: 22px;
    font-family: 'Lato', Arial, sans-serif;
}

#a21-shop .a21-prod-grid,
#a21-cat .a21-prod-grid,
.a21-product-category-auto-main .a21-prod-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(var(--a21-grid-min), 1fr)) !important;
    gap: var(--a21-grid-gap) !important;
    align-items: stretch !important;
}

#a21-shop .a21-card,
#a21-cat .a21-card,
.a21-product-category-auto-main .a21-card {
    background: #fff !important;
    border-radius: var(--a21-card-radius) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid transparent !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

#a21-shop .a21-card:hover,
#a21-cat .a21-card:hover,
.a21-product-category-auto-main .a21-card:hover {
    border-color: var(--a21-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

#a21-shop .a21-img,
#a21-cat .a21-img,
.a21-product-category-auto-main .a21-img {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;
    background: #fff !important;
    border-bottom: 1px solid #f5f5f5 !important;
    overflow: hidden !important;
}

#a21-shop .a21-img a,
#a21-cat .a21-img a,
.a21-product-category-auto-main .a21-img a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
}

#a21-shop .a21-img img,
#a21-cat .a21-img img,
.a21-product-category-auto-main .a21-img img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 20px !important;
    margin: 0 !important;
    display: block !important;
    transition: transform .35s ease !important;
}

#a21-shop .a21-card:hover .a21-img img,
#a21-cat .a21-card:hover .a21-img img,
.a21-product-category-auto-main .a21-card:hover .a21-img img {
    transform: scale(1.04) !important;
}

#a21-shop .a21-badge,
#a21-cat .a21-badge,
.a21-product-category-auto-main .a21-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 2 !important;
    padding: 3px 7px !important;
    border-radius: 3px !important;
    background: var(--a21-dark) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
}

#a21-shop .a21-badge-stock,
#a21-cat .a21-badge-stock,
.a21-product-category-auto-main .a21-badge-stock {
    background: #fff6f6 !important;
    color: #b00000 !important;
    border: 1px solid #f1c7c7 !important;
}

#a21-shop .a21-info,
#a21-cat .a21-info,
.a21-product-category-auto-main .a21-info {
    padding: 16px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

#a21-shop .a21-cat,
#a21-cat .a21-card .a21-cat,
.a21-product-category-auto-main .a21-card .a21-cat {
    display: block !important;
    margin: 0 0 7px !important;
    color: rgba(4, 44, 92, .42) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: .85px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#a21-shop .a21-title,
#a21-cat .a21-title,
.a21-product-category-auto-main .a21-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--a21-text) !important;
}

#a21-shop .a21-title a,
#a21-cat .a21-title a,
.a21-product-category-auto-main .a21-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: var(--a21-text) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

#a21-shop .a21-title a:hover,
#a21-cat .a21-title a:hover,
.a21-product-category-auto-main .a21-title a:hover {
    color: var(--a21-primary) !important;
}

#a21-shop .a21-price,
#a21-cat .a21-price,
.a21-product-category-auto-main .a21-price {
    margin-top: auto !important;
    color: var(--a21-dark) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

#a21-shop .a21-price del,
#a21-cat .a21-price del,
.a21-product-category-auto-main .a21-price del {
    color: #c0392b !important;
    opacity: 1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

#a21-shop .a21-price ins,
#a21-cat .a21-price ins,
.a21-product-category-auto-main .a21-price ins {
    color: var(--a21-dark) !important;
    text-decoration: none !important;
    font-weight: 900 !important;
}

#a21-shop .a21-actions,
#a21-cat .a21-actions,
.a21-product-category-auto-main .a21-actions {
    margin-top: 14px !important;
    width: 100% !important;
}

#a21-shop .a21-actions .add_to_cart_inline,
#a21-cat .a21-actions .add_to_cart_inline,
.a21-product-category-auto-main .a21-actions .add_to_cart_inline {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
}

#a21-shop .a21-actions a.button,
#a21-shop .a21-actions .button,
#a21-cat .a21-actions a.button,
#a21-cat .a21-actions .button,
.a21-product-category-auto-main .a21-actions a.button,
.a21-product-category-auto-main .a21-actions .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 11px 12px !important;
    margin: 0 !important;
    background: var(--a21-primary) !important;
    color: #fff !important;
    border-radius: var(--a21-button-radius) !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
    letter-spacing: .4px !important;
}

#a21-shop .a21-actions a.button:hover,
#a21-shop .a21-actions .button:hover,
#a21-cat .a21-actions a.button:hover,
#a21-cat .a21-actions .button:hover,
.a21-product-category-auto-main .a21-actions a.button:hover,
.a21-product-category-auto-main .a21-actions .button:hover {
    background: var(--a21-dark) !important;
    color: #fff !important;
}

#a21-shop .a21-actions a.a21-card-stock-alert,
#a21-cat .a21-actions a.a21-card-stock-alert,
.a21-product-category-auto-main .a21-actions a.a21-card-stock-alert {
    background: var(--a21-dark) !important;
}

#a21-shop .a21-actions a.a21-card-stock-alert:hover,
#a21-cat .a21-actions a.a21-card-stock-alert:hover,
.a21-product-category-auto-main .a21-actions a.a21-card-stock-alert:hover {
    background: var(--a21-primary) !important;
}

@media (max-width: 768px) {
    #a21-shop .a21-prod-grid,
    #a21-cat .a21-prod-grid,
    .a21-product-category-auto-main .a21-prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    #a21-shop .a21-img img,
    #a21-cat .a21-img img,
    .a21-product-category-auto-main .a21-img img {
        padding: 10px !important;
    }

    #a21-shop .a21-info,
    #a21-cat .a21-info,
    .a21-product-category-auto-main .a21-info {
        padding: 12px !important;
    }
}

