.produkt-feed-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
padding: 20px;
}
.produkt-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
position: relative;
overflow: visible; }
.produkt-card:hover {
transform: scale(1.05);
box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}
.produkt-image-container {
width: 100%; height: 250px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: #ffffff;
border-bottom: 1px solid #ddd;
}
.produkt-billede {
max-width: 95%;
height: auto;
}
.produkt-info {
padding: 15px;
text-align: center;
}
.produkt-navn { font-size: 16px;
font-weight: 400;
margin-bottom: 8px;
color: #333 !important;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
min-height: 2.8em;
line-height: 1.4em;
} .produkt-fragtomk {
font-size: 12px;
color: #333;
margin-bottom: 8px;
}
.produkt-glpris {
font-size: 14px;
color: #333;
margin-bottom: 8px;
min-height: 1.5em;
border-top: 1px solid #ddd;
}
.produkt-nypris { font-size: 18px;
color: #0073aa;
font-weight: bold;
margin-bottom: 8px;
}
.produkt-knap {
display: flex;
align-items: center; justify-content: center; width: 100%;
min-height: 3.6em; padding: 0.6em 10px;
background-color: #0073aa;
color: #fff !important;
text-decoration: none !important;
border-radius: 4px;
font-weight: bold;
text-align: center;
box-sizing: border-box;
line-height: 1.3;
text-wrap: normal; white-space: normal; word-break: break-word;
}
.produkt-knap:hover {
background: #005f87;
}
.produkt-filter-sortering {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: 15px;
background: #f8f8f8;
border: 1px solid #ddd;
border-radius: 8px;
margin-bottom: 20px;
}
.produkt-filter-sortering div {
width: 48%;
display: flex;
flex-direction: column;
}
.produkt-filter-sortering label {
font-size: 14px;
font-weight: bold;
color: #333;
margin-bottom: 5px;
}
.produkt-filter-sortering select {
width: 100%;
padding: 8px 12px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 5px;
background: white;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
.produkt-filter-sortering select:hover {
border-color: #0073aa;
}
.produkt-filter-sortering select:focus {
outline: none;
border-color: #005f87;
box-shadow: 0px 0px 5px rgba(0, 115, 170, 0.5);
}
.produkt-badge {
position: absolute;
top: 10px;
left: 10px;
background-color: #DB1D1D;
color: white;
font-size: 0,75em; padding: 4px 8px;
border-radius: 4px;
z-index: 10; line-height: 1;
white-space: nowrap;
}
@media (max-width: 600px) {
.produkt-badge {
font-size: 0.9em;
top: 10px;
left: 10px;
padding: 3px 6px;
}
}
@media (max-width: 768px) {
.produkt-filter-sortering {
flex-direction: column;
}
.produkt-filter-sortering div {
width: 100%;
margin-bottom: 10px;
}
} .kombineret-feed-wrapper.no-filter-center .produkt-feed-grid {
display: flex;
flex-direction: column;
gap: 30px;
} .kombineret-feed-wrapper.no-filter-center .produkt-card {
display: flex;
flex-direction: row;
gap: 30px;
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
background: #fff;
align-items: center;
flex-wrap: wrap;
} .kombineret-feed-wrapper.no-filter-center .produkt-image-container {
flex: 1 1 45%;
max-width: 45%;
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
}
.kombineret-feed-wrapper.no-filter-center .produkt-billede {
max-width: 100%;
height: auto;
} .kombineret-feed-wrapper.no-filter-center .produkt-info {
flex: 1 1 50%;
max-width: 55%;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.kombineret-feed-wrapper.no-filter-center .produkt-navn {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: #111;
}
.kombineret-feed-wrapper.no-filter-center .produkt-nypris {
font-size: 22px;
font-weight: bold;
color: #0073aa;
margin-bottom: 5px;
}
.kombineret-feed-wrapper.no-filter-center .produkt-glpris {
display: none;
}
.kombineret-feed-wrapper.no-filter-center .produkt-fragtomk {
font-size: 14px;
color: #333;
margin-bottom: 15px;
} .kombineret-feed-wrapper.no-filter-center .produkt-knap {
background: #0073aa;
color: #fff !important;
padding: 0.8em 1.6em;
border-radius: 4px;
font-weight: bold;
text-decoration: none !important;
display: inline-flex;
justify-content: center;
align-items: center;
text-align: center;
height: 48px; line-height: 1; min-width: 200px;
box-sizing: border-box;
margin-top: 10px;
}
.kombineret-feed-wrapper.no-filter-center .produkt-knap:hover {
background: #005f87;
} @media (max-width: 768px) {
.kombineret-feed-wrapper.no-filter-center .produkt-card {
flex-direction: column;
align-items: center;
text-align: center;
}
.kombineret-feed-wrapper.no-filter-center .produkt-image-container,
.kombineret-feed-wrapper.no-filter-center .produkt-info {
max-width: 100%;
flex: 1 1 100%;
}
} .kombineret-feed-wrapper.no-filter-center .produkt-filter-sortering,
.kombineret-feed-wrapper.no-filter-center select#sortering,
.kombineret-feed-wrapper.no-filter-center label[for="sortering"],
.kombineret-feed-wrapper.no-filter-center label[for="brand-filter"],
.kombineret-feed-wrapper.no-filter-center select#brand-filter {
display: none !important;
visibility: hidden !important;
height: 0 !important;
overflow: hidden !important;
}