.microshop-product-card {
    background: transparent;
    border: 0;
    border-radius: var(--microshop-card-radius, 10px);
    cursor: default;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .microshop-product-card:hover,
    .microshop-product-card:focus-within {
        box-shadow: var(--microshop-shadow-hover, 0 10px 30px rgba(24, 35, 48, .14));
        transform: translateY(-3px);
    }

    .microshop-product-card:hover .microshop-product-card__media img,
    .microshop-product-card:focus-within .microshop-product-card__media img {
        transform: scale(1.025);
    }
}

.microshop-product-card:hover::after {
    content: none;
}

.microshop-product-card > .item_inner,
.microshop-product-card__inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.microshop-product-card__media {
    align-items: center;
    background: var(--microshop-product-media-background, var(--microshop-surface, transparent));
    box-sizing: border-box;
    display: flex;
    aspect-ratio: 16 / 10;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.microshop-product-card__media .item_img {
    align-items: center;
    background: var(--microshop-product-media-background, var(--microshop-surface, transparent));
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 0;
    width: 100%;
}

.microshop-product-card__media img {
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 220ms ease;
    width: 100%;
}

.microshop-product-card__image-placeholder {
    background: var(--microshop-product-media-background, var(--microshop-surface, #f3f3f3));
    border: 1px solid var(--microshop-border, #dedede);
    border-radius: var(--microshop-card-radius, 10px);
    display: block;
    height: 160px;
    max-width: 160px;
    width: 100%;
}

.microshop-product-card > .item_inner > .microshop-product-card__body {
    align-items: stretch !important;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    min-width: 0;
}

.microshop-product-card__heading {
    font: inherit;
    margin: 0;
    width: 100%;
}

.microshop-product-card__title {
    background: none;
    color: var(--microshop-text, #494949);
    display: -webkit-box;
    line-height: 1.3;
    max-height: 2.6em;
    min-height: 2.6em;
    overflow: hidden;
    overflow-wrap: anywhere;
    filter: none;
    opacity: 1;
    text-shadow: none;
    transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.microshop-product-card__action {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 6px;
    height: auto;
    justify-content: flex-end;
    margin-top: auto;
    min-height: 64px;
    padding: 0;
    position: static;
    text-align: center;
    width: 100%;
    filter: none;
    opacity: 1;
    text-shadow: none;
    transform: none;
}

.microshop-product-card__button,
.microshop-product-card__details {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    min-height: 40px;
    min-width: 160px;
    padding: 9px 14px;
}

.microshop-product-card__button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.microshop-product-card__action .microshop-product-card__button {
    bottom: auto;
    flex: 0 0 40px;
    height: 40px;
    left: auto;
    margin: 0;
    position: static;
    right: auto;
}

.microshop-product-card__details {
    border: 1px solid var(--microshop-border, #dedede);
    border-radius: var(--microshop-button-radius, 10px);
    color: var(--microshop-text, #494949);
    text-decoration: none;
}

.microshop-product-card__details:hover {
    border-color: var(--microshop-primary, #008eaa);
    color: var(--microshop-primary-hover, #006f86);
}

.microshop-product-card__button:focus-visible,
.microshop-product-card__details:focus-visible,
.microshop-product-card a:focus-visible {
    outline: 3px solid var(--microshop-focus, #006f86);
    outline-offset: 2px;
}

.microshop-product-card__site-price {
    color: var(--microshop-text, #494949);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.microshop-product-card__catalog-price {
    color: var(--microshop-text, #494949);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.microshop-product-card__status {
    background: none;
    color: var(--microshop-muted, #6d6d6d);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    filter: none;
    opacity: 1;
    text-shadow: none;
    transform: none;
}

.microshop-product-card__marketplaces {
    background: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    justify-content: center;
    margin: 0;
    filter: none;
    opacity: 1;
    text-shadow: none;
    transform: none;
}

.microshop-product-card__marketplace {
    color: var(--microshop-text, #494949);
    font-size: 12px;
    line-height: 1.3;
}

.microshop-product-card__marketplace + .microshop-product-card__marketplace::before {
    color: var(--microshop-muted, #6d6d6d);
    content: "·";
    margin-right: 8px;
}

.microshop-product-card__action.is-unavailable .microshop-product-card__status {
    color: var(--microshop-muted, #6d6d6d);
}

@media (min-width: 768px) {
    .microshop-product-card > .item_inner > .microshop-product-card__body {
        padding: 6px 14px 8px !important;
    }
}

@media (max-width: 767px) {
    .microshop-product-card__action {
        min-height: 76px;
    }

    .microshop-product-card__button,
    .microshop-product-card__details {
        min-width: min(160px, 100%);
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .microshop-product-card,
    .microshop-product-card__media img {
        transition: none;
    }
}
.microshop-cart-add-form {
	margin: 0;
}
