.aps-product-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
width: 100%;
max-width: 500px;
padding: 20px;
border: 1px solid #e2e2e2;
border-radius: 8px;
background: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
text-align: center;
}
.aps-product-card.aps-error {
color: #b00020;
border-color: #f3c6c6;
background: #fff5f5;
}
.aps-product-image {
display: block;
width: 100%;
}
.aps-product-image img {
width: 100%;
max-width: 320px;
height: auto;
border-radius: 4px;
margin: 0 auto;
}
.aps-product-body {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
width: 100%;
}
.aps-product-title {
margin: 0;
font-size: 16px;
line-height: 1.3;
}
.aps-product-title a {
color: #111;
text-decoration: none;
}
.aps-product-title a:hover {
text-decoration: underline;
}
.aps-product-rating {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
font-size: 13px;
color: #555;
}
.aps-stars {
color: #ff9900;
font-size: 15px;
letter-spacing: 1px;
}
.aps-product-price {
font-size: 20px;
font-weight: 700;
color: #B12704;
}
.aps-price-wrap {
display: flex;
align-items: baseline;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
}
.aps-price-original {
font-size: 13px;
color: #767676;
text-decoration: line-through;
}
.aps-price-current {
font-size: 20px;
font-weight: 700;
color: #067D06;
}
.aps-discount-badge {
font-size: 13px;
font-weight: 700;
color: #067D06;
}
.aps-product-availability {
font-size: 13px;
color: #007600;
}
.aps-buy-now-button,
.aps-buy-now-button:link,
.aps-buy-now-button:visited,
.aps-buy-now-button:hover,
.aps-buy-now-button:focus,
.aps-buy-now-button:active {
display: inline-block;
width: 100%;
max-width: 320px;
margin-top: 4px;
padding: 12px 18px;
background: #ff9900;
color: #ffffff !important;
font-weight: 600;
text-align: center;
text-decoration: none !important;
border-radius: 24px;
transition: background 0.15s ease-in-out;
}
.aps-buy-now-button:hover,
.aps-buy-now-button:focus {
background: #e68a00;
} .aps-table-wrap {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.aps-product-table {
width: 100%;
border-collapse: collapse;
background: #fff;
border: 1px solid #e2e2e2;
border-radius: 8px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
}
.aps-product-table th,
.aps-product-table td {
padding: 12px 14px;
border-bottom: 1px solid #eee;
text-align: left;
vertical-align: middle;
}
.aps-product-table thead th {
background: #f7f7f7;
font-weight: 600;
color: #333;
}
.aps-product-table tbody tr:last-child td {
border-bottom: none;
}
.aps-product-table .aps-col-image img {
width: 80px;
max-width: 80px;
height: auto;
border-radius: 4px;
display: block;
}
.aps-product-table .aps-col-name a {
color: #111;
text-decoration: none;
font-weight: 500;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.aps-product-table .aps-col-name a:hover {
text-decoration: underline;
}
.aps-product-table .aps-col-number {
width: 40px;
text-align: center;
}
.aps-row-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 50%;
background: #f0f0f0;
color: #333;
font-weight: 700;
font-size: 13px;
}
.aps-product-table .aps-col-cta {
text-align: center;
}
.aps-cta-price {
display: flex;
align-items: baseline;
justify-content: center;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 8px;
}
.aps-product-table .aps-table-price {
font-size: 16px;
font-weight: 700;
color: #B12704;
white-space: nowrap;
}
.aps-cta-price .aps-price-current {
font-size: 16px;
white-space: nowrap;
}
.aps-cta-price .aps-price-original,
.aps-cta-price .aps-discount-badge {
font-size: 12px;
white-space: nowrap;
}
.aps-product-table .aps-buy-now-button.aps-table-button,
.aps-product-table .aps-buy-now-button.aps-table-button:link,
.aps-product-table .aps-buy-now-button.aps-table-button:visited,
.aps-product-table .aps-buy-now-button.aps-table-button:hover,
.aps-product-table .aps-buy-now-button.aps-table-button:focus,
.aps-product-table .aps-buy-now-button.aps-table-button:active {
width: auto;
max-width: none;
margin-top: 0;
padding: 9px 16px;
font-size: 13px;
white-space: nowrap;
} @media (max-width: 600px) {
.aps-product-table thead {
display: none;
}
.aps-product-table,
.aps-product-table tbody,
.aps-product-table tr,
.aps-product-table td {
display: block;
width: 100%;
}
.aps-product-table tr {
border-bottom: 1px solid #e2e2e2;
padding: 14px 0;
text-align: center;
}
.aps-product-table tr:last-child {
border-bottom: none;
}
.aps-product-table td {
border-bottom: none;
padding: 6px 14px;
}
.aps-product-table .aps-col-image img {
margin: 0 auto;
width: 140px;
max-width: 140px;
}
.aps-product-table .aps-col-name a {
-webkit-line-clamp: 2;
}
.aps-product-table .aps-buy-now-button.aps-table-button {
width: 100%;
max-width: 280px;
}
}