/* Product Card Shortcode Styles */

.merchandise-product-card-shortcode {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: var(--wp--preset--color--neutral-100);
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.merchandise-product-card-shortcode__image-link {
    display: block;
    width: 100%;
    flex: 0 0 66.666%; /* 2/3 of height */
    min-height: 0;
    overflow: hidden;
    text-decoration: none;
}

.merchandise-product-card-shortcode__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--neutral-100);
}

.merchandise-product-card-shortcode__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.merchandise-product-card-shortcode__image-link:hover .merchandise-product-card-shortcode__image img {
    transform: scale(1.05);
}

.merchandise-product-card-shortcode__content {
    flex: 1 1 auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.merchandise-product-card-shortcode__title {
    margin: 0;
    font-family: var(--wp--preset--font-family--sen);
    font-size: clamp(14px, calc((16 / 1440) * 100vw), 16px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--wp--preset--color--dark-900, #1a1a1a);
}

.merchandise-product-card-shortcode__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.merchandise-product-card-shortcode__title a:hover {
    color: var(--wp--preset--color--primary-500, #0073aa);
}

.merchandise-product-card-shortcode__price {
    font-family: var(--wp--preset--font-family--sen);
    font-size: clamp(14px, calc((16 / 1440) * 100vw), 16px);
    font-weight: 500;
    color: var(--wp--preset--color--dark-900, #1a1a1a);
}

.merchandise-product-card-shortcode__actions {
    margin-top: auto;
    padding-top: 8px;
}

.merchandise-product-card-shortcode__button {
    width: 100%;
    padding: 12px 20px;
    font-family: var(--wp--preset--font-family--sen);
    font-size: clamp(12px, calc((14 / 1440) * 100vw), 14px);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--wp--preset--color--dark-900, #1a1a1a);
    background-color: var(--wp--preset--color--neutral-000, #ffffff);
    border: 1px solid var(--wp--preset--color--dark-900, #1a1a1a);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
}

.merchandise-product-card-shortcode__button:hover {
    background-color: var(--wp--preset--color--dark-900, #1a1a1a);
    color: var(--wp--preset--color--neutral-000, #ffffff);
}

.merchandise-product-card-shortcode__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.merchandise-product-card-shortcode__button:disabled:hover {
    background-color: var(--wp--preset--color--neutral-000, #ffffff);
    color: var(--wp--preset--color--dark-900, #1a1a1a);
}

