P0 dark hex to #292a2d/#323335/#f8fafc; .btn opacity hover without pink elevation; post/user/product cards shadow-first without pink borders.
61 lines
1.0 KiB
CSS
61 lines
1.0 KiB
CSS
/* Product Showcase */
|
|
.home-module--product-showcase {
|
|
padding: 32px 0;
|
|
}
|
|
|
|
.home-module__product-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.aksrt-product-card {
|
|
background: var(--surface-1, #fff);
|
|
border-radius: var(--radius, 8px);
|
|
border: none;
|
|
box-shadow: var(--shadow-sm);
|
|
overflow: hidden;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: box-shadow 0.2s ease;
|
|
}
|
|
|
|
.aksrt-product-card:hover {
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.aksrt-product-card__image img {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
border-radius: var(--radius, 8px) var(--radius, 8px) 0 0;
|
|
display: block;
|
|
}
|
|
|
|
.aksrt-product-card__body {
|
|
padding: 15px;
|
|
}
|
|
|
|
.aksrt-product-card__title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin: 0 0 6px;
|
|
}
|
|
|
|
.aksrt-product-card__desc {
|
|
font-size: 13px;
|
|
color: var(--color-ink-3);
|
|
margin: 0 0 8px;
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.aksrt-product-card__price {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-error);
|
|
}
|
|
|