/* Globale Resets & Manufaktur-Dunkel-Vibe */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #121212; /* Hintergrundfarbe Ihrer Hauptseite */
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

/* 🏛️ Styling für deine Nav-Bar-Integration */
.shop-navbar {
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1100px;
    width: 100%;
}

.logo-box h2 {
   
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.gold-text {
    color: #d4af37; /* Echtes Manufaktur-Gold */
}

/* Haupt-Layout-Container */
.product-container {   
    border-radius: 12px;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    margin: 40px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #262626;
}

/* Linke Spalte: Galerie */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-wrapper {
    background-color: #262626;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    background-color: #262626;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb:hover, .thumb.active {
    border-color: #d4af37; /* Goldener Rahmen bei Aktivierung */
    opacity: 0.9;
}

.back-to-shop {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-to-shop:hover {
    color: #d4af37;
}

/* Rechte Spalte: Details */
.product-details {
    display: flex;
    flex-direction: column;
}

.brand-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000
    font-weight: bold;
    margin-bottom: 8px;
}

h1 {
    font-size: 2.2rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 600;
}

.price-tag {
    font-size: 2.4rem;
    font-weight: bold;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.tax-info {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: normal;
    margin-top: 4px;
}

.stock-status {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.stock-in { color: #2ecc71; font-weight: bold; }
.stock-out { color: #d4af37; font-weight: bold; }
.stock-count { color: #64748b;margin-left: 4px; }

.divider {
    border: 0;
    height: 1px;
    background: #2d2d2d;
    margin: 20px 0;
}

/* Textabschnitte */
.product-description-text h3 {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 18px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Buttons & Mengenregler */
.purchase-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.quantity-wrapper {
    display: flex;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    overflow: hidden;
    background-color: #262626;
}

.quantity-wrapper button {
    background: none;
    border: none;
    color: #fff;
    width: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-wrapper button:hover {
    background-color: #333;
}

.quantity-wrapper input {
    width: 50px;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    outline: none;
}

.quantity-wrapper input::-webkit-outer-spin-button,
.quantity-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Haupt-Bestell-Button in deinen Premium-Farben */
.btn-primary {
    flex-grow: 1;
    background-color: #0f3f6c; /* Dein tiefes Manufaktur-Blau */
    color: #ffffff;
    border: 1px solid rgba(212,175,55,0.4);
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background-color: #144f85;
    border-color: #d4af37;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Mobil-Optimierung (Responsive) */
@media (max-width: 768px) {
    .shop-navbar { padding: 15px 20px; }
    .product-container {
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 20px 10px;
    }
}
