/* =========================
   GLOBAL
========================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #1e2732;
    color: #fff;
}

/* =========================
   HEADER (HENDRIX)
========================= */
.hero-header {
    position: relative;
    height: 80px;

    background: url('/assets/images/jimiHendrix.jpg') no-repeat right center;
    background-size:auto;
    background-color: #000;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom: 1px solid #3d5e9e;
    padding: 20px;
}

/* Overlay für Lesbarkeit */
.hero-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    z-index: 1;
}

/* NAVIGATION */
.nav {
    position: relative;
    z-index: 2;

    display: flex;
    gap: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav a:hover {
    color: #1db954;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    position: relative;
    height: 40vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    background: radial-gradient(circle at center, #222 0%, #000 80%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), #000);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.hero-logo {
    width: 180px;
    margin-bottom: 20px;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #1db954;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #17a44a;
}

/* =========================
   LP SLIDER
========================= */
.lp-slider {
    padding: 50px 20px;
    background: #1c1f2f;
    text-align: center;
}

.lp-slider h2 {
    margin-bottom: 30px;
}

/* CONTAINER */
.lp-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 260px;
    margin: auto;
}

/* ITEMS */
.lp-item {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    opacity: 0;

    z-index: 1;

    pointer-events: none;

    transition: opacity 1s ease;

    visibility: hidden;
}

.lp-item.active {
    opacity: 1;

    z-index: 2;

    pointer-events: auto;

    visibility: visible;
}

/* COVER */
.lp-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.lp-cover {
    cursor: pointer;
}
/* INFO */
.lp-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #8aa2d8;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    /* NAV */
    .nav {
        display: none;
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 10px;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* HEADER */
    .hero-header {
        height: 160px;
        background-position: center;
    }

    /* HERO */
    .hero {
        height: auto;
        padding: 80px 20px;
    }

    .hero-logo {
        width: 130px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* SLIDER */
    .lp-item {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-container {
        height: auto;
    }

}
/* =========================
   LP POPUP
    ========================= */

#lpPopup {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.85);

    display: none; /* WICHTIG */

    align-items: center;
    justify-content: center;

    z-index: 9999;
}

/* AKTIV */
#lpPopup.active {
    display: flex;
}

/* CONTENT */
#lpPopupContent {
    background: #111;
    color: #7da5d6;

    width: 900px;
    max-width: 95%;

    border-radius: 10px;

    display: flex;
    gap: 20px;

    padding: 20px;

    position: relative;
}

/* CLOSE */
#popupClose {
    position: absolute;
    top: 10px;
    right: 15px;

    font-size: 28px;
    cursor: pointer;
}

/* LEFT */
.popup-left {
    width: 320px;
}

.popup-left img {
    width: 100%;
    border-radius: 5px;
}

/* RIGHT */
.popup-right {
    flex: 1;
}

/* MOBILE */
@media (max-width: 768px) {

    #lpPopupContent {
        flex-direction: column;
    }

    .popup-left {
        width: 100%;
    }
}
.footer {
        text-align: center;
        padding: 20px;
        color: #064a49;
        background: #000;
        border-top: 1px solid #3d5e9e;
    }
    /* =========================
    POPUP CART BUTTON
    ========================= */

    .popup-cart {
    display: flex;
    justify-content: flex-end;

    margin-top: 15px;
    margin-bottom: 15px;
    }

    #popupAddCartBtn {
    background: #1db954;
    color: #000;

    border: none;
    border-radius: 5px;

    padding: 10px 18px;

    font-weight: bold;
    cursor: pointer;

    transition: 0.3s ease;
    }

    #popupAddCartBtn:hover {
    background: #17a44a;
    transform: scale(1.05);
    }

    /* =========================
    CONTACT PAGE
    ========================= */

    .contact-page {
    min-height: 80vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 20px;

    background: #111;
    }

    .contact-box {
    width: 100%;
    max-width: 700px;

    background: #181818;

    padding: 40px;

    border-radius: 10px;

    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    }

    .contact-box h1 {
    margin-top: 0;
    text-align: center;
    }

    .contact-intro {
    text-align: center;
    color: #aaa;

    margin-bottom: 30px;
    }

    /* FORM */
    .contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    }

    .contact-form input,
    .contact-form textarea {

    width: 100%;

    padding: 14px;

    border: 1px solid #333;
    border-radius: 5px;

    background: #0f0f0f;
    color: #fff;

    font-size: 15px;

    box-sizing: border-box;
    }

    .contact-form textarea {
    resize: vertical;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {

    outline: none;
    border-color: #1db954;
    }

    /* BUTTON */
    .contact-form button {

    background: #1db954;
    color: #000;

    border: none;
    border-radius: 5px;

    padding: 14px;

    font-weight: bold;
    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
    }

    .contact-form button:hover {
    background: #17a44a;
    }

    /* SUCCESS */
    .contact-success {

    background: #123d23;
    color: #7dff9f;

    padding: 15px;

    border-radius: 5px;

    margin-bottom: 20px;
    }

    /* ERROR */
    .contact-error {

    background: #4a1414;
    color: #ff8d8d;

    padding: 15px;

    border-radius: 5px;

    margin-bottom: 20px;
    }
    .honeypot {
    display: none;
    }
    
    .cartIcon { 
    cursor:pointer; 
    margin-top: 5px;
    text-align:center;
    }
    /* CART */
    .cartPanel {
    position:fixed;
    top:0;
    right:-420px;
    width:400px;
    height:100%;
    background:#222;
    color:#fff;
    padding:10px;
    transition:right .3s;
    overflow:auto;
    }
    .cartPanel.open { right:0; }
    /* ===== POPUP OVERLAY ===== */
    #itemPopup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    /* Animation / Steuerung */
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    }
    /* Sichtbar */
    #itemPopup.open {
    opacity: 1;
    pointer-events: auto;
    }
    #itemPopup.open #popupContent {
    transform: scale(1);
    }
    #popupContent {
    transform: scale(0.95);
    transition: transform .25s ease;
    background:#fff;
    color:#000;
    width:900px;
    max-width:95%;
    max-height:90vh;
    margin:5vh auto;
    padding:20px;
    display:flex;
    gap:20px;
    position:relative;
    overflow:hidden;
    }
    #popupLeft { width:320px; flex-shrink:0; }
    #popupRight { flex:1; overflow:auto; }
    #p_cover {
    width:100%;
    max-height:360px;
    object-fit:contain;
    display:block;
    border:1px solid #ccc;
    }
    #thumbContainer {
    display:flex;
    gap:8px;
    margin-top:10px;
    flex-wrap:wrap;
    }
    #thumbContainer img {
    width:60px;
    height:60px;
    object-fit:cover;
    border:1px solid #aaa;
    cursor:pointer;
    }
    #thumbContainer img:hover { border-color:#000; }
    #popupClose {
    position:absolute;
    top:10px;
    right:10px;
    cursor:pointer;
    font-size:18px;
    }
    .coverImg { cursor:pointer; }

    /* =========================
   SHOP PAGE
========================= */

.shop-page {
    padding: 20px;
}

/* =========================
   SHOP TABLE
========================= */

.shop-table {

    width: 100%;

    border-collapse: collapse;

    background: #181818;

    color: #fff;
}

/* HEAD */
.shop-table th {

    background: #0f0f0f;

    color: #1db954;

    padding: 12px;

    text-align: left;

    border-bottom: 1px solid #333;
}

/* CELLS */
.shop-table td {

    padding: 12px;

    border-bottom: 1px solid #2a2a2a;

    vertical-align: middle;
}

/* HOVER */
.shop-table tr:hover {
    background: #202020;
}

/* COVER */
.shop-table img {

    width: 70px;

    border-radius: 4px;

    transition: 0.3s ease;
}

.shop-table img:hover {

    transform: scale(1.05);
}

/* BUTTONS */
/* =========================
   CART BUTTONS
========================= */

.shop-table .cartBtn {

    border: none;

    padding: 8px 12px;

    border-radius: 4px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s ease;

    color: #fff;
}

/* ADD = BLAU */
.shop-table .cartBtn[data-state="out"] {

    background: #4da6ff;
}

/* HOVER */
.shop-table .cartBtn[data-state="out"]:hover {

    background: #3399ff;
}

/* IN CART = GRÜN */
.shop-table .cartBtn[data-state="in"] {

    background: #1db954;

    color: #000;
}

/* HOVER */
.shop-table .cartBtn[data-state="in"]:hover {

    background: #17a44a;
}

.shop-table button:hover {
    background: #17a44a;
}

/* =========================
   PAGINATION
========================= */

.pagination {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

/* LINKS */
.pagination a {

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 30px;
    height: 30px;

    padding: 0 12px;

    background: #181818;

    color: #fff;

    text-decoration: none;

    border-radius: 6px;

    border: 1px solid #2d2d2d;

    transition: 0.3s ease;
}

/* HOVER */
.pagination a:hover {

    background: #4da6ff;

    border-color: #4da6ff;

    transform: translateY(-2px);
}

/* AKTIVE SEITE */
.pagination a.active {

    background: #1db954;

    color: #000;

    border-color: #1db954;

    font-weight: bold;
    }

    /* =========================
    CHECKOUT
    ========================= */

    .checkout-page {

    padding: 40px 20px;

    display: flex;

    justify-content: center;
    }

    .checkout-box {

    width: 100%;

    max-width: 900px;

    background: #181818;

    padding: 30px;

    border-radius: 10px;

    box-sizing: border-box;
    }

    .checkout-box h1 {

    margin-top: 0;

    margin-bottom: 30px;
    }

    /* FORM */
    .checkout-form label {

    display: block;

    margin-bottom: 8px;

    margin-top: 18px;
    }

    .checkout-form input {

    width: 100%;

    padding: 12px;

    background: #111;

    border: 1px solid #333;

    color: #fff;

    border-radius: 6px;

    box-sizing: border-box;
    }

    /* GRID */
    .checkout-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
    }

    /* ACTIONS */
    .checkout-actions {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 30px;
    }

    /* BACK BUTTON */
    .checkout-back {

    color: #ccc;

    text-decoration: none;
    }

    /* BUTTON */
    .checkout-actions button {

    background: #1db954;

    color: #000;

    border: none;

    padding: 12px 18px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: bold;
    }

    /* ERROR */
    .checkout-error {

    background: #661111;

    color: #fff;

    padding: 12px;

    border-radius: 6px;

    margin-bottom: 20px;
    }

    /* MOBILE */
    @media (max-width: 768px) {

    .checkout-grid {

        grid-template-columns: 1fr;
    }
    }

    /* =========================
    PAYMENT
    ========================= */

    .payment-options {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 20px;
    }

    .payment-option {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #111;

    padding: 15px;

    border-radius: 6px;

    cursor: pointer;

    border: 1px solid #333;
    }

    .payment-option input {

    width: auto;
    }

    .checkout-summary {

    background: #111;

    padding: 20px;

    border-radius: 6px;

    margin-bottom: 30px;
    }

    .checkout-totals {

    margin-top: 25px;

    text-align: right;
    }

    .checkout-grandtotal {

    font-size: 1.3rem;
}