.yks-product-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #d9dee5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 26, 35, 0.08);
}

.yks-product-card__media {
    min-width: 0;
}

.yks-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 8px;
    border: 1px solid #edf0f4;
    border-radius: 6px;
    background: #fafbfc;
}

.yks-product-card__image img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.yks-product-card__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.yks-product-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 4px;
    border: 1px solid #d9dee5;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.yks-product-card__thumb.is-active {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.yks-product-card__thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.yks-product-card__body {
    min-width: 0;
}

.yks-product-card__title {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.yks-product-card__description,
.yks-product-card__price {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}

.yks-product-card__price {
    color: #6b7280;
    font-size: 13px;
}

.yks-product-card__buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.yks-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.yks-product-card__button:hover,
.yks-product-card__button:focus {
    color: #fff;
    opacity: 0.88;
    text-decoration: none;
}

.yks-product-card__button--amazon {
    background: #e59b25;
}

.yks-product-card__button--rakuten {
    background: #bf1d1d;
}

.yks-product-card__button--yahoo {
    background: #e63136;
}

.yks-product-card__button--free {
    background: #2563eb;
}

@media (max-width: 640px) {
    .yks-product-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .yks-product-card__buttons {
        grid-template-columns: 1fr;
    }
}
