.mslb-box {
display: flex;
gap: 16px;
align-items: flex-start;
margin: 1.5em 0;
padding: 16px;
border: 1px solid #e3e3e3;
border-radius: 8px;
background: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
line-height: 1.5;
}
.mslb-image {
flex: 0 0 var(--mslb-img, 180px);
text-align: center;
}
.mslb-image img {
width: var(--mslb-img, 180px);
height: var(--mslb-img, 180px);
max-width: 100%;
object-fit: contain;
margin: 0;
}
.mslb-body {
flex: 1;
min-width: 0;
}
.mslb-box p {
margin: 0 0 4px;
}
.mslb-title {
font-weight: 700;
font-size: 15px;
color: #333;
}
.mslb-shop {
font-size: 12px;
color: #888;
}
.mslb-price {
font-size: 15px;
font-weight: 700;
color: #c0392b;
}
.mslb-price-date {
font-size: 11px;
font-weight: 400;
color: #999;
margin-left: 2px;
}
.mslb-note {
font-size: 13px;
color: #555;
}
.mslb-buttons {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}
.mslb-btn-wrap {
flex: 1 1 calc(50% - 8px);
min-width: 120px;
display: flex;
flex-direction: column;
justify-content: flex-end;
position: relative;
}
.mslb-badges {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 4px;
margin-bottom: 4px;
}
.mslb-sale--point {
background: #fff0f0 !important;
border-color: #bf0000 !important;
color: #bf0000 !important;
}
.mslb-sale--point::before {
content: "P " !important;
font-weight: 900;
}
.mslb-sale {
align-self: center;
padding: 2px 10px;
border-radius: 999px;
background: #fff4e5;
border: 1px solid #f5a623;
color: #d4380d;
font-size: 11px;
font-weight: 700;
line-height: 1.5;
white-space: nowrap;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
animation: mslb-pulse 1.6s ease-in-out infinite;
}
.mslb-sale::before {
content: "\1F525 ";
}
@keyframes mslb-pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
.mslb-sale { animation: none; }
}
.mslb-btn-wrap.is-sale .mslb-btn {
box-shadow: 0 0 0 2px #f5a623, 0 2px 0 rgba(0, 0, 0, .15);
}
.mslb-btn {
--mslb-btn: #666;
display: block;
padding: 9px 10px;
border-radius: 6px;
background: var(--mslb-btn);
color: #fff !important;
font-size: 13px;
font-weight: 700;
text-align: center;
text-decoration: none !important;
box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
transition: opacity .15s, transform .15s;
}
.mslb-btn:hover {
opacity: .85;
transform: translateY(1px);
box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.mslb-btn--rakuten { --mslb-btn: #bf0000; }
.mslb-btn--amazon  { --mslb-btn: #f79901; }
.mslb-btn--yahoo   { --mslb-btn: #2f7fd1; }
.mslb-btn--qoo10   { --mslb-btn: #e5577c; }
.mslb-btn--custom  { --mslb-btn: #2eaa5c; }
.mslb-pixel {
position: absolute !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
opacity: 0;
pointer-events: none;
}
@media (max-width: 600px) {
.mslb-box {
flex-direction: column;
align-items: center;
}
.mslb-image {
flex-basis: auto;
}
.mslb-image img {
width: min(240px, 70vw);
height: min(240px, 70vw);
}
.mslb-body {
width: 100%;
}
.mslb-title {
text-align: center;
}
.mslb-shop,
.mslb-price,
.mslb-note {
text-align: center;
}
.mslb-btn-wrap {
flex-basis: 100%;
}
} .mslb-sale--item {
background: #e60033 !important;
border-color: #e60033 !important;
color: #fff !important;
}
.mslb-sale--item::before {
content: "" !important;
}