199 lines
3.3 KiB
CSS
199 lines
3.3 KiB
CSS
/* Gesamter Bereich */
|
|
.product-wrapper {
|
|
max-width: 1200px;
|
|
margin: 60px auto;
|
|
padding: 0 20px;
|
|
|
|
display: flex;
|
|
gap: 60px;
|
|
}
|
|
|
|
/* LINKER BEREICH */
|
|
.product-left {
|
|
flex: 1;
|
|
}
|
|
|
|
.product-image-box {
|
|
background: #ffffff;
|
|
padding: 40px;
|
|
border-radius: 14px;
|
|
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
|
|
text-align: center;
|
|
}
|
|
|
|
.product-image-box img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* RECHTER BEREICH */
|
|
.product-right {
|
|
flex: 1.2;
|
|
}
|
|
|
|
|
|
/* Produkttitel */
|
|
.product-title {
|
|
font-size: 32px;
|
|
color: white;
|
|
font-weight: 600;
|
|
margin-bottom: 30px;
|
|
border-bottom: 2px solid #eaeaea;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
/* Beschreibung */
|
|
.product-desc {
|
|
font-size: 23px;
|
|
line-height: 1.7;
|
|
color: #ffffff;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Spezifikationen */
|
|
.product-specs {
|
|
display: flex;
|
|
color: #ffffff;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
S
|
|
/* Einzelne Zeile */
|
|
.spec-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
background: #f9f9f9;
|
|
border-radius: 8px;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.spec-row:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* Name links */
|
|
.spec-name {
|
|
font-weight: 500;
|
|
color: #444;
|
|
}
|
|
|
|
/* Wert rechts */
|
|
.spec-value {
|
|
font-weight: 600;
|
|
color: #111;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 900px) {
|
|
.product-wrapper {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
|
|
/********* SHOP OFFERS *************/
|
|
|
|
.shop-offers {
|
|
margin: 50px 0 80px 0; /* unten mehr Abstand */
|
|
display: flex;
|
|
color: white;
|
|
flex-direction: column;
|
|
gap: 14px; /* etwas enger */
|
|
}
|
|
|
|
.shop-line {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
background: #1f2a3a;
|
|
border: 1px solid #2f3c52;
|
|
border-radius: 12px;
|
|
|
|
padding: 12px 20px; /* vorher 20px 28px → jetzt kompakter */
|
|
min-height: 70px; /* feste, schlanke Höhe */
|
|
}
|
|
|
|
.shop-line:hover {
|
|
background: #243248;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
|
|
}
|
|
|
|
.shop-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 28px; /* vorher ~18px */
|
|
}
|
|
.shop-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 40px; /* feste Höhe */
|
|
}
|
|
|
|
.shop-logo img {
|
|
max-height: 40px; /* Logo passt sich an */
|
|
max-width: 100px; /* verhindert Überstehen */
|
|
object-fit: contain;
|
|
}
|
|
|
|
.shop-name {
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.shop-name:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.shop-middle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 55px; /* vorher ~35px → jetzt deutlich mehr Abstand */
|
|
font-size: 14px;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.shop-shipping {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.shop-stock {
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Grün */
|
|
.shop-stock.in-stock::before {
|
|
content: "✔";
|
|
color: #22c55e;
|
|
}
|
|
|
|
/* Rot */
|
|
.shop-stock.out-stock::before {
|
|
content: "✖";
|
|
color: #ef4444;
|
|
}
|
|
|
|
.shop-price {
|
|
margin-left: auto;
|
|
font-size: 18px; /* kleiner als vorher */
|
|
font-weight: 700;
|
|
color: #4ade80;
|
|
}
|
|
|
|
.no-shop {
|
|
background: #1f2a3a;
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
color: #cbd5e1;
|
|
text-align: center;
|
|
} |