.repas-wc-section {
width: 100%;
margin: 30px 0;
font-family: inherit;
}
.repas-wc-header {
align-items: center;
margin-bottom: 18px;
}
.repas-wc-heading {
color: var(--theme-palette-color-4);
letter-spacing: -0.5px;
margin: 0;
text-transform: uppercase;
} .repas-wc-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 12px;
align-items: stretch;
width: 100%;
}
.repas-wc-card {
background: #ffffff;
border: 1px solid #38383840;
border-radius: 5px;
padding: 10px 10px 14px;
display: flex;
flex-direction: column;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
overflow: hidden;
}
.repas-wc-card:hover {
border-color: var(--theme-palette-color-1);
box-shadow: 0 6px 12px -2px rgba(0,0,0,0.06);
}
.repas-wc-card-link {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
} .repas-wc-thumb {
width: 100%;
height: 170px;
overflow: hidden;
border-radius: 4px;
margin-bottom: 12px;
background: #f8fafc;
}
.repas-wc-thumb img {
width: 100%;
height: 100%;
object-fit: cover; object-position: center;
display: block;
transition: transform 0.3s ease;
}
.repas-wc-card:hover .repas-wc-thumb img {
transform: scale(1.0);
}
.repas-wc-title {
font-size: 14px;
font-weight: 700;
line-height: 1.35;
color: #1f2937;
margin: 0 0 10px;
min-height: 38px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.repas-wc-meta {
margin-top: auto;
margin-bottom: 10px;
} .repas-wc-stock {
display: flex;
align-items: center;
gap: 5px;
font-size: 13px;
font-weight: 600;
margin-bottom: 4px;
}
.repas-wc-stock.in-stock {
color: #55a822;
}
.repas-wc-stock .stock-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background-color: currentColor;
display: inline-block;
} .repas-wc-price {
font-size: 18px;
font-weight: 900;
color: var(--theme-palette-color-5, #e50914);
letter-spacing: -0.3px;
} .repas-wc-cart-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
background: var(--theme-palette-color-1);
border: 1px solid rgba(0,0,0,0.06);
color: var(--theme-palette-color-3) !important;
padding: 8px 10px;
border-radius: 5px;
font-weight: 700;
font-size: 15px;
text-decoration: none;
transition: filter 0.2s ease;
box-sizing: border-box;
}
.repas-wc-cart-btn:hover {
filter: brightness(0.94);
background: var(--theme-palette-color-3);
color: var(--theme-palette-color-8)!important;
}
.repas-wc-cart-btn.loading {
opacity: 0.6;
} @media (max-width: 1150px) {
.repas-wc-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 600px) {
.repas-wc-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.repas-wc-heading {
text-align: center;
font-size: 26px;
}
.repas-wc-thumb {
height: 130px;
}
.repas-wc-price {
font-size: 15px;
}
.repas-wc-cart-btn {
font-size: 12px;
padding: 7px 5px;
}
}.repas-home-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 15px;
width: 100%;
box-sizing: border-box;
margin: 20px 0;
}
.repas-home-card {
background: #ffffff;
border: 1px solid #e5e9f0;
border-radius: 6px;
padding: 15px 10px 18px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
text-decoration: none;
color: inherit;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.repas-home-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
border-color: #cbd5e1;
}
.repas-home-thumb {
width: 100%;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12px;
}
.repas-home-thumb img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
display: block;
}
.repas-home-title {
font-size: 15px;
line-height: 1.35;
font-weight: 600;
color: #1a202c;
margin: 0 0 10px 0;
min-height: 36px;
display: flex;
align-items: center;
justify-content: center;
}
.repas-home-price {
font-size: 16px;
font-weight: 800;
color: #e50914; letter-spacing: -0.2px;
margin-top: auto;
} @media (max-width: 1100px) {
.repas-home-grid {
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
}
@media (max-width: 600px) {
.repas-home-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.repas-home-thumb {
height: 100px;
}
.repas-home-title {
font-size: 12.5px;
}
.repas-home-price {
font-size: 14.5px;
}
}