.tpe-card {
display: grid;
grid-template-columns: 132px 1fr 240px;
gap: 24px;
align-items: stretch;
width: 100%;
box-sizing: border-box;
margin: 1.6em 0;
padding: 20px;
border: 1px solid #e4e4e4;
border-radius: 12px;
background: #fff;
box-shadow: 0 2px 6px rgba(0,0,0,.05);
} .tpe-card__img {
width: 132px;
height: 132px;
border-radius: 8px;
overflow: hidden;
background: #f6f6f6;
display: flex;
align-items: center;
justify-content: center;
}
.tpe-card__img img {
width: 100%;
height: 100%;
object-fit: contain;
} .tpe-card__body {
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.tpe-card__mfr {
display: inline-block;
align-self: flex-start;
font-size: 11px;
font-weight: 700;
color: #999;
letter-spacing: .06em;
text-transform: uppercase;
margin-bottom: 6px;
}
.tpe-card__name {
font-size: 17px;
font-weight: 700;
line-height: 1.45;
color: #1a1a1a;
margin-bottom: 6px;
}
.tpe-card__store {
font-size: 12.5px;
color: #999;
margin-bottom: 14px;
}
.tpe-card__price {
display: flex;
align-items: baseline;
gap: 10px;
margin-bottom: 14px;
}
.tpe-card__price-eff {
font-size: 28px;
font-weight: 800;
color: #e0392c;
letter-spacing: -.01em;
}
.tpe-card__price-orig {
font-size: 14px;
color: #aaa;
text-decoration: line-through;
}
.tpe-card__breakdown {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 10px;
}
.tpe-pt-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 8px;
border-radius: 5px;
background: #f4f4f4;
font-size: 11px;
line-height: 1.6;
color: #555;
white-space: nowrap;
}
.tpe-pt-badge .tpe-pt-lbl { color: #777; }
.tpe-pt-badge .tpe-pt-val { font-weight: 700; color: #333; }
.tpe-pt-total {
background: #fff1ee;
border: 1px solid #f3c8bd;
}
.tpe-pt-total .tpe-pt-lbl,
.tpe-pt-total .tpe-pt-val { color: #e0392c; }
.tpe-card__notes {
margin-top: 2px;
}
.tpe-yahoo-note,
.tpe-disclaimer {
font-size: 10.5px;
line-height: 1.6;
color: #bbb;
}
.tpe-disclaimer { color: #d3a3a3; } .tpe-card__actions {
display: flex;
flex-direction: column;
gap: 10px;
}
.tpe-card__badge {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
background: linear-gradient(135deg, #fff5f2, #ffe9e3);
border: 1px solid #f6c9bc;
text-decoration: none !important;
transition: filter .15s ease;
}
.tpe-card__badge:hover { filter: brightness(.97); }
.tpe-card__badge img {
width: 40px;
height: 40px;
object-fit: contain;
flex: 0 0 auto;
display: block;
}
.tpe-card__badge span {
font-size: 12.5px;
font-weight: 700;
color: #c8492f;
line-height: 1.35;
}
.tpe-card__btns {
display: flex;
flex-direction: column;
gap: 8px;
}
.tpe-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
box-sizing: border-box;
padding: 11px 14px;
border-radius: 7px;
font-size: 13.5px;
font-weight: 700;
text-decoration: none !important;
color: #fff !important;
line-height: 1.2;
transition: opacity .15s ease;
}
.tpe-btn:hover { opacity: .86; }
.tpe-btn--amazon  { background: #ee9a3c; }
.tpe-btn--rakuten { background: #d3392c; }
.tpe-btn--yahoo   { background: #2f8fdb; } .tpe-not-found {
padding: 12px 16px;
background: #f8f8f8;
border: 1px dashed #ccc;
border-radius: 8px;
color: #999;
font-size: 13px;
} @media (max-width: 720px) {
.tpe-card {
grid-template-columns: 96px 1fr;
grid-template-areas:
"img body"
"actions actions";
row-gap: 16px;
}
.tpe-card__img    { grid-area: img; width: 96px; height: 96px; }
.tpe-card__body   { grid-area: body; }
.tpe-card__actions{ grid-area: actions; }
.tpe-card__btns   { flex-direction: row; flex-wrap: wrap; }
.tpe-btn          { width: auto; flex: 1 1 auto; }
.tpe-card__badge  { width: 100%; }
}
@media (max-width: 420px) {
.tpe-card { grid-template-columns: 1fr; grid-template-areas: "img" "body" "actions"; }
.tpe-card__img { width: 100%; height: 160px; }
}