/* ---------------------------------------------------
   GLOBAL PREMIUM + GLOW DARK MODE
--------------------------------------------------- */

:root {

    --bg: #f4f4f7;
    --bg-card: #ffffff;
    --bg-panel: #f7f7f7;

    --text: #222;
    --text-muted: #555;

    --border: #dcdcdc;

    --glow: rgba(255,200,0,.35);
    --glow-strong: rgba(255,200,0,.55);
}

:root[data-theme="dark"] {

    --bg: #0f0f12;
    --bg-card: #1a1a1f;
    --bg-panel: #1c1c22;

    --text: #e6e6e6;
    --text-muted: #aaa;

    --border: #333;

    --glow: rgba(255,200,0,.25);
    --glow-strong: rgba(255,200,0,.45);
}

/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */

body {

    font-family: "Inter", system-ui, sans-serif;

    background: var(--bg);

    color: var(--text);

    margin: 20px;

    transition:
        background .3s ease,
        color .3s ease;
}

/* ---------------------------------------------------
   LAYOUT
--------------------------------------------------- */

.layout {

    display: grid;

    grid-template-columns:
        280px 1fr;

    gap: 30px;

    align-items: start;
}

/* ---------------------------------------------------
   LEFT PANEL
--------------------------------------------------- */

.left-panel {

    background: var(--bg-panel);

    padding: 20px;

    border-radius: 10px;

    border: 1px solid var(--border);

    transition: .3s ease;
}

/* ---------------------------------------------------
   SEARCH
--------------------------------------------------- */

.search-box input {

    width: 90%;

    padding: 12px;

    font-size: 14px;

    border-radius: 6px;

    border: 1px solid var(--border);

    background: var(--bg-card);

    color: var(--text);
}

/* ---------------------------------------------------
   CATEGORY LIST
--------------------------------------------------- */

.category-list {

    list-style: none;

    padding-left: 0;

    margin-top: 15px;
}

.category-list a {

    display: block;

    padding: 10px 8px;

    border-left: 3px solid transparent;

    text-decoration: none;

    color: var(--text);

    font-size: 15px;

    transition: .25s ease;
}

.category-list a:hover {

    background: rgba(255,255,255,.05);

    border-left-color: #ffd400;

    box-shadow: 0 0 12px var(--glow);
}

/* ---------------------------------------------------
   PRODUCT GRID
--------------------------------------------------- */

.products {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 22px;
}

/* ---------------------------------------------------
   PRODUCT CARD
--------------------------------------------------- */

.product {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 14px;

    display: flex;

    flex-direction: column;

    min-height: 380px;

    transition: .25s ease;

    box-shadow:
        0 2px 6px rgba(0,0,0,.06);
}

.product:hover {

    transform: translateY(-4px);

    box-shadow:
        0 6px 18px var(--glow-strong);
}

/* ---------------------------------------------------
   PRODUCT IMAGE
--------------------------------------------------- */

.product img {

    width: 100%;

    height: 180px;

    object-fit: contain;

    border-radius: 8px;

    border: 1px solid var(--border);

    background: #fafafa;
}

/* ---------------------------------------------------
   PRODUCT TITLE
--------------------------------------------------- */

.product h3 {

    font-size: 15px;

    line-height: 1.35;

    margin: 10px 0 6px 0;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    min-height: 42px;
}

/* ---------------------------------------------------
   PRICE
--------------------------------------------------- */

.product p {

    margin: 2px 0;
}

.product p strong {

    font-size: 18px;

    color: #b30000;

    font-weight: 700;
}

/* ---------------------------------------------------
   PRODUCT BUTTON
--------------------------------------------------- */

.product a {

    margin-top: auto;

    padding: 10px 14px;

    background: #333;

    color: #fff;

    border-radius: 6px;

    text-decoration: none;

    text-align: center;

    font-weight: 600;

    transition: .25s ease;
}

.product a:hover {

    background: #555;

    box-shadow:
        0 0 12px var(--glow);
}

/* ---------------------------------------------------
   OFFER CARD EXTRAS
--------------------------------------------------- */

.discount-badge {

    display: inline-block;

    background: #b30000;

    color: #fff;

    padding: 2px 8px;

    border-radius: 5px;

    font-size: 13px;

    font-weight: 700;

    width: fit-content;

    margin-bottom: 6px;
}

.discount-placeholder {

    min-height: 23px;
}

.price-box {

    margin: 4px 0;

    line-height: 1;
}

.old-price {

    color: #999;

    font-size: 13px;

    text-decoration: line-through;

    opacity: .65;

    margin: 0;
}

.current-price {

    color: #c00;

    font-size: 24px;

    font-weight: 700;

    margin-top: 2px;
}

.market-name {

    color: var(--text-muted);

    font-size: 14px;

    margin-top: auto;

    margin-bottom: 6px;
}
/* ---------------------------------------------------
   PREMIUM DETAILSEITE
--------------------------------------------------- */

.product-detail {

    grid-column: 2;

    justify-self: start;

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 35px;

    box-shadow:
        0 4px 18px rgba(0,0,0,.12);

    transition: .3s ease;
}

/* ---------------------------------------------------
   DETAIL HEADER
--------------------------------------------------- */

.detail-header h1 {

    font-size: 2rem;

    font-weight: 600;

    margin-bottom: 25px;

    color: var(--text);
}

/* ---------------------------------------------------
   DETAIL LAYOUT
--------------------------------------------------- */

.detail-content {

    display: flex;

    gap: 40px;

    flex-wrap: wrap;
}

/* ---------------------------------------------------
   DETAIL IMAGE
--------------------------------------------------- */

.detail-image img {

    width: 420px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: #fafafa;

    box-shadow:
        0 0 12px rgba(0,0,0,.08);

    transition: .3s ease;
}

.detail-image img:hover {

    box-shadow:
        0 0 22px var(--glow-strong);
}

/* ---------------------------------------------------
   DETAIL INFO
--------------------------------------------------- */

.detail-info {

    flex: 1;

    min-width: 280px;

    font-size: 1.1rem;

    line-height: 1.55;

    color: var(--text-muted);
}

.detail-info p {

    margin: 10px 0;
}

/* ---------------------------------------------------
   DETAIL PRICE
--------------------------------------------------- */

.detail-price {

    font-size: 1.6rem;

    font-weight: 700;

    color: #b30000;

    margin: 20px 0;
}

/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */

.back-btn {

    display: inline-block;

    padding: 10px 16px;

    background: var(--bg-panel);

    border: 1px solid var(--border);

    border-radius: 6px;

    text-decoration: none;

    color: var(--text);

    font-weight: 600;

    transition: .25s ease;
}

.back-btn:hover {

    background: var(--bg-card);

    box-shadow:
        0 0 10px var(--glow);
}

.buy-btn {

    display: inline-block;

    padding: 12px 20px;

    background: #333;

    color: #fff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 1.15rem;

    font-weight: 600;

    transition: .25s ease;

    margin-top: 20px;
}

.buy-btn:hover {

    background: #555;

    box-shadow:
        0 0 14px var(--glow-strong);
}

/* ---------------------------------------------------
   HEADER
--------------------------------------------------- */
.header-row {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    margin-bottom: 25px;
}

.header-row h1 {

    margin: 0;
}
.pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin: 0;
}
.page-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 36px;

    height: 36px;

    padding: 0 12px;

    background: #333;

    border: 1px solid #444;

    border-radius: 8px;

    color: #fff;      /* <- Pfeile weiß */

    text-decoration: none;

    font-weight: 700;

    transition: .25s ease;
}

.page-link:hover {

    background: #555;

    color: #fff;

    box-shadow: 0 0 10px var(--glow);
}
.mu-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 20px;

    margin-bottom: 25px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow:
        0 2px 10px rgba(0,0,0,.08);

    transition: .3s ease

}	
.footer-premium {

    margin-top: 40px;

    padding: 20px 0;

    border-top: 1px solid var(--border);

    background: transparent;

    text-align: center;

    color: var(--text-muted);

    font-size: 13px;
}

.footer-inner {

    max-width: 1200px;

    margin: 0 auto;
}
.sponsor-banner {

    max-width: 1200px;

    margin: 25px auto;

    text-align: center;
}

.sponsor-banner img {

    width: 100%;

    max-width: 1000px;

    height: auto;

    border-radius: 12px;

    box-shadow:
        0 0 18px rgba(255,204,102,.25);
}