body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 370px; /* etwas mehr Platz */
    box-sizing: border-box;
}

.product h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 10px 0 6px 0;
    height: auto;
    overflow: visible;
    white-space: normal;
}

.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}


.pagination a {
    margin: 5px;
    padding: 5px 10px;
    background: #eee;
    text-decoration: none;
    border-radius: 4px;
}
.pagination {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination {
    margin: 0px auto;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* statt center */
    gap: 8px;
}

.page-link {
    display: inline-block;
    width: 40px;               /* feste Breite */
    height: 40px;              /* feste Höhe */
    line-height: 40px;         /* Text vertikal zentriert */
    text-align: center;
    background: #e5e5e5;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.page-link:hover {
    background: #d5d5d5;
}

.page-link.active {
    background: #333;
    color: #fff;
}


.page-link {
    padding: 8px 14px;
    background: #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.page-link:hover {
    background: #ddd;
}

.page-link.active {
    background: #333;
    color: #fff;
}
.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 380px; /* feste Zeilenhöhe */
    gap: 20px;
}


.product {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 360px;
}


.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}


.product h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 10px 0 6px 0;
    height: auto;
    overflow: visible;
    white-space: normal;
	    display: -webkit-box;
    -webkit-line-clamp: 2; /* max. 2 Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product p strong {
    font-size: 17px;
    color: #d40000;
}
.product p:last-of-type {
    color: #555;
    font-size: 14px;
}


.product p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.4;
}


.product a {
    margin-top: auto;
    display: inline-block;
    padding: 8px 12px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
}

.product a:hover {
    background: #555;
}
/* DETAILSEITE WRAPPER */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 25px 35px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* HEADER */
.detail-header h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

/* CONTENT LAYOUT */
.detail-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* IMAGE */
.detail-image img {
    max-width: 500px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* INFO */
.detail-info {
    flex: 1;
    min-width: 280px;
    font-size: 1.1rem;
    line-height: 1.5;
}
.product-detail {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	float:left;
	max-width:1090pt;
}

.detail-content {
    display: flex;
    gap: 25px;
}

.detail-image img {
    width: 320px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.detail-info p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.4;
}

/* BUTTONS */
.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 14px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.buy-btn {
    display: inline-block;
    padding: 12px 18px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
}

/* PRODUCT LIST IMAGES */
.products .product img {
    width: 100%;
    max-width: 240px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
/* Hauptlayout: Links Suche+Kategorien, rechts Produkte */
/* Hauptlayout: Links Suche+Kategorien, rechts Produkte */
.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}


/* Linker Block */
.left-panel {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    align-self: start;
    margin-top: 0;
}


/* Suche */
.search-box input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid #ccc;
}



.search-box button {
    width: 100%;
    padding: 8px;
}

/* Kategorien */
.category-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 8px 6px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

.category-list a:hover {
    background: #e0e0e0;
}


/* Rechter Block */
.right-panel {
    padding: 10px;
}
.right-panel {
    width: 100%;
	
}
.top-pagination {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.top-pagination a {
    padding: 6px 12px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
.footer-link {
        color: #ffcc66;
        text-decoration: none;
        transition: 0.3s ease;
    }

    .footer-link:hover {
        color: #ffffff;
        text-shadow: 0 0 8px #ff9900;
    }

    .affiliate-hinweis {
        font-size: 0.8rem;
        opacity: 0.7;
        margin-top: 10px;
    }
.footer-premium {
    margin-top: 40px;
    padding: 25px 20px;
    background: #f7f7f7;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-weight: 600;
    font-size: 15px;
}

.footer-brand .subline {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

.footer-line {
    width: 60px;
    height: 2px;
    background: #d4d4d4;
    margin: 15px auto;
    border-radius: 2px;
}

.footer-info {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
/* Allgemein kompakter */


/* Level 2 enger */
.subcategory-list li {
    margin: 1px 0;
    padding-left: 10px;
}

/* Level 3 UL wirklich eng */
.subsubcategory-list {
    margin: 0;
    padding-left: 16px;
}

/* Level 3 LI extrem kompakt */
.subsubcategory-list li {
    margin: 0;
    padding: 0;
    line-height: 1.0;
}

/* Optional: Bullet entfernen für noch kompakter */
.subcategory-list,
.subsubcategory-list {
    list-style: none;
}

.page-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    padding: 6px 10px;
}
.page-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;              /* Abstand zwischen Pfeil und Text */
    padding: 0 3 10px;       /* horizontales Padding */
    height: 18px;          /* EXAKTE Buttonhöhe */
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 12px;     /* Text vertikal zentriert */
    transition: 0.25s ease;
}

.page-link:hover {
    background: #ffffff;
    border-color: #aaa;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.header-row {
    display: flex;
    justify-content: space-between; /* Links + Rechts */
    align-items: center;             /* Vertikal zentriert */
    max-width: 1600px;
    margin: 20px auto;
    padding: 0 10px;
}
.header-row {
    display: flex;
    justify-content: flex-start; /* alles links */
    align-items: center;
    gap: 40px; /* Abstand zwischen H1 und Pagination */
}