.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative;
    padding: 22px 22px 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7ded1;
    border-radius: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within,
.woocommerce-page ul.products li.product:focus-within {
    border-color: #e7ded1;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09);
}

.woocommerce ul.products li.product .out-of-stock-badge,
.woocommerce-page ul.products li.product .out-of-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    color: #e67e00;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e8e2d9;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.woocommerce ul.products li.product-category.sparkystay-product-card,
.woocommerce-page ul.products li.product-category.sparkystay-product-card {
    float: none;
    display: flex;
    margin: 0;
    padding: 0;
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
}

.sparkystay-product-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e7ded1;
    border-radius: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sparkystay-product-card__link:hover,
.sparkystay-product-card__link:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: #e7ded1;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09);
}

.sparkystay-product-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    overflow: hidden;
    background: #ffffff;
    padding: 14px;
}

body.woocommerce.archive ul.products li.product-category.sparkystay-product-card .sparkystay-product-card__media,
body.woocommerce-page.archive ul.products li.product-category.sparkystay-product-card .sparkystay-product-card__media {
    height: 240px;
}

.sparkystay-product-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    mix-blend-mode: normal;
}

.sparkystay-product-card__placeholder {
    font-family: Poppins, var(--theme-font-family, sans-serif);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.14);
}

.sparkystay-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 18px 20px;
}

.sparkystay-product-card__title {
    margin: 0;
    color: #2f3033;
    font-family: Poppins, var(--theme-font-family, sans-serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.sparkystay-product-card__summary {
    color: #7c7c7c;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.sparkystay-product-card__count {
    color: #737373;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.sparkystay-product-card__category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
}

.sparkystay-product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: 0;
    padding: 7px 16px;
    color: #337a35;
    background: transparent;
    font-family: Poppins, var(--theme-font-family, sans-serif);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    border: 1.5px solid #337a35;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.sparkystay-product-card__cta:hover {
    color: #ffffff;
    background: #e67e00;
    border-color: #e67e00;
}

@media (max-width: 689.98px) {
    .sparkystay-product-card__media {
        height: 168px;
        padding: 12px;
    }

    .sparkystay-product-card__body {
        padding: 16px;
    }
}
