/* ---------------------------------------------------
   SilentNoise Modern Shop Design – ULTRA COMPACT
   --------------------------------------------------- */

body {
    background: #0b0b0b;
    color: #e5e5e5;
    font-family: 'Inter', sans-serif;
}

/* HEADER */
.sn-header {
    background: #0d0d0d;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.sn-header-right a {
    margin-left: 12px;
}

.sn-btn-header {
    padding: 6px 14px;
    border-radius: 6px;
    background: #1a1a1a;
    color: #ddd;
    text-decoration: none;
    transition: 0.2s;
}

.sn-btn-header:hover {
    background: #333;
    color: #fff;
}

.sn-btn-header.primary { background: #005eff; }
.sn-btn-header.primary:hover { background: #1a6eff; }
.sn-btn-header.danger { background: #8b0000; }

.sn-header-divider {
    height: 3px;
    background: linear-gradient(90deg, #005eff, #8b00ff);
    margin-bottom: 20px;
}

/* LAYOUT */
.sn-layout {
    display: flex;
    gap: 20px;
}

/* SIDEBAR */
.sn-sidebar {
    width: 240px;
    background: #111;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #222;
}

.sn-cat-tree a {
    display: block;
    padding: 5px 4px;
    border-radius: 4px;
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.sn-cat-tree a:hover {
    background: #222;
    color: #fff;
}

/* FILTER BOX */
.sn-filter-box {
    background: #111;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #222;
}

/* NO PRODUCTS */
.sn-no-products {
    opacity: 0.7;
    font-style: italic;
}

/* LOGO */
.sn-logo-wrapper {
    text-align: center;
    padding: 25px 0 10px 0;
}

.sn-logo-big {
    max-width: 260px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.15));
    transition: 0.3s ease;
}

.sn-logo-big:hover {
    transform: scale(1.03);
}

/* ---------------------------------------------------
   PRODUKTSEITE
   --------------------------------------------------- */

.sn-product-wrapper {
    display: flex;
    gap: 30px;
    background: #111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
}

.sn-product-img {
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.sn-product-title {
    font-size: 1.7rem;
    font-weight: 600;
}

.sn-product-price {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Verfügbarkeit */
.badge-stock-ok {
    background: #1e7e34;
    padding: 5px 8px;
    border-radius: 6px;
    color: #fff;
}

.badge-stock-out {
    background: #dc3545;
    padding: 5px 8px;
    border-radius: 6px;
    color: #fff;
}

/* Buttons */
.sn-btn-buy,
.sn-btn-preorder,
.sn-btn-notify {
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.sn-btn-buy { background: #005eff; color: #fff; }
.sn-btn-preorder { background: #ff9800; color: #000; }
.sn-btn-notify { background: #666; color: #fff; }

.sn-btn-buy:hover,
.sn-btn-preorder:hover,
.sn-btn-notify:hover {
    opacity: 0.85;
}

/* ---------------------------------------------------
   PRODUKT-GALERIE
   --------------------------------------------------- */

.sn-gallery-main-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #333;
}

.sn-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.sn-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.2s;
}

.sn-thumb:hover {
    transform: scale(1.05);
    border-color: #666;
}

.sn-thumb.active-thumb {
    border: 2px solid #0d6efd;
}

/* ---------------------------------------------------
   ULTRA‑COMPACT PRODUKTKARTEN
   --------------------------------------------------- */

.sn-equal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #141414;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 8px;
    transition: 0.2s ease;
}

.sn-equal-card:hover {
    transform: translateY(-2px);
    border-color: #444;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* Bildbereich ULTRA COMPACT */
.sn-card-image-wrapper {
    width: 100%;
    height: 110px; /* ULTRA COMPACT */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}

.sn-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Textbereich */
.sn-card-body {
    flex-grow: 1;
    margin-top: 8px;
}

.sn-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    min-height: 26px; /* ULTRA COMPACT */
    display: flex;
    align-items: center;
}

.sn-card-price {
    color: #e91e63;
    font-size: 0.95rem;
    margin-top: 3px;
}

/* Footer / Button */
.sn-card-footer {
    margin-top: 10px;
}

.sn-btn-card {
    display: block;
    width: 100%;
    text-align: center;
    background: #005eff;
    color: #fff;
    padding: 7px 0; /* ULTRA COMPACT */
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s ease;
}

.sn-btn-card:hover {
    background: #1a6eff;
}

/* ============================================
   PROFILE PAGE – MODERN SN‑MUSIC STYLE
   ============================================ */

.sn-profile-wrapper {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    max-width: 700px;
    margin: 0 auto;
}

.sn-profile-wrapper h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

.sn-profile-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

.sn-profile-section:last-child {
    border-bottom: none;
}

.sn-profile-section h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

/* INPUTS */
.sn-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 9px 10px;
    border-radius: 6px;
    color: #eee;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.sn-input::placeholder {
    color: #666;
}

.sn-input:focus {
    border-color: #005eff;
    outline: none;
    background: #1f1f1f;
}

.sn-input::placeholder {
    color: #777;
}

/* CHECKBOX */
.sn-checkbox {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SAVE BUTTON */
.sn-btn-save {
    background: #005eff;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    border: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.sn-btn-save:hover {
    background: #1a6eff;
}

/* BACK LINK */
.sn-back-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 14px;
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.sn-back-link:hover {
    background: #333;
    color: #fff;
}
/* PROFILE LABELS */
.sn-label {
    display: block;
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 4px;
    font-weight: 500;
}
/* SHOP CTA BLOCK */
.shop-cta {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.shop-cta-btn {
    display: block;
    width: 100%;
    border-radius: 10px;
    font-size: 1.05rem;
    padding: 12px 0;
}

/* Primary CTA */
.shop-cta .sn-btn-primary {
    background: linear-gradient(90deg, #005eff, #8b00ff);
    border: none;
}
.shop-cta .sn-btn-primary:hover {
    opacity: 0.9;
}

/* Outline CTA */
.shop-cta .sn-btn-outline {
    border: 1px solid #555;
    color: #ddd;
}
.shop-cta .sn-btn-outline:hover {
    background: #222;
    color: #fff;
}
/* ============================================
   SILENTNOISE ADMIN BUTTON STYLE (GLOBAL)
   ============================================ */

.snm-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #eee;
}

.snm-btn:hover {
    background: #2a2a2a;
    border-color: #555;
    color: #fff;
}

/* Varianten */
.snm-btn-primary {
    background: #005eff;
    border-color: #005eff;
    color: #fff;
}
.snm-btn-primary:hover {
    background: #1a6eff;
    border-color: #1a6eff;
}

.snm-btn-danger {
    background: #8b0000;
    border-color: #8b0000;
    color: #fff;
}
.snm-btn-danger:hover {
    background: #a30000;
    border-color: #a30000;
}
/* FINAL FIX: Bootstrap blaue Links überschreiben */
a,
a:link,
a:visited {
    color: #ddd !important;
    text-decoration: none !important;
}

a:hover {
    color: #fff !important;
}

/* Speziell für Bootstrap list-group */
.list-group-item,
.list-group-item-action {
    color: #ddd !important;
}

.list-group-item:hover,
.list-group-item-action:hover {
    color: #fff !important;
    background-color: #2a2a2a !important;
}
