.wp-block-tws-product-card {
    margin: 28px 0;
}

.tws-product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8f7 100%);
    border: 1px solid rgba(18, 42, 39, 0.08);
    box-shadow: 0 10px 30px rgba(17, 62, 58, 0.06);
}

.tws-product-card__media {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 42, 39, 0.07);
}

.tws-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tws-product-card__content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.tws-product-card__title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111111;
}

.tws-product-card__actions {
    flex: 0 0 auto;
}

.tws-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #49b4ab 0%, #16877e 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    box-shadow: 0 8px 20px rgba(22, 135, 126, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    white-space: nowrap;
}

.tws-product-card__button:hover,
.tws-product-card__button:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(22, 135, 126, 0.24);
    opacity: 0.96;
}

.tws-product-card__button--disabled {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 860px) {
    .tws-product-card {
        align-items: flex-start;
    }

    .tws-product-card__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .tws-product-card__button {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .tws-product-card {
        gap: 16px;
        padding: 16px;
        border-radius: 22px;
    }

    .tws-product-card__media {
        flex-basis: 88px;
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }

    .tws-product-card__title {
        font-size: 22px;
    }

    .tws-product-card__button {
        min-height: 48px;
        width: 100%;
    }
}
