/* 
    Anleitung zum Hinzufügen der Schriftart 'CS Gordon Sans':
    1. Laden Sie die Schriftart von einer vertrauenswürdigen Quelle herunter (z.B. https://de.fonts2u.com/cs-gordon.schriftart)
    2. Entpacken Sie die Datei, falls nötig. Sie sollten eine .otf oder .ttf Datei erhalten.
    3. Erstellen Sie einen Ordner `assets/fonts` im Hauptverzeichnis Ihres Projekts.
    4. Kopieren Sie die Schriftart-Datei in den Ordner `assets/fonts`.
    5. Passen Sie den Pfad in der @font-face Regel unten an, falls Ihr Dateiname abweicht.
*/

@font-face {
    font-family: 'CS Gordon Sans';
    src: url('assets/fonts/CSGordon-Regular.otf') format('opentype'); /* Passen Sie den Pfad hier an, falls nötig */
    font-weight: normal;
    font-style: normal;
}

/* CSS-Variablen für den Hintergrund */
:root {
    --bg-top: #f0eeec;
    --bg-btm: #e0ddd9;
}

body {
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.6), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4), transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3), transparent 60%),
        radial-gradient(circle at 60% 70%, rgba(255, 200, 100, 0.25), transparent 50%),
        linear-gradient(135deg, #f0eeec 0%, #e0ddd9 30%, #d4d0cb 70%, #c8c2bc 100%);
    background-attachment: fixed;
    color: #173950;
    font-family: 'Maven Pro', sans-serif;
    margin: 0;
    /* Abstand nur für fixierten Header */
    padding-top: 65px;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    color: #597588;
    font-family: 'CS Gordon Sans', sans-serif;
    margin-top: 2em;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.product-description h3,
.product-description h4 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px; /* größer gemacht */
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: fixed; /* fixiert */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    gap: 40px;
}

.logo img {
    height: 55px; /* noch größer gemacht */
}

.hamburger {
    display: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Desktop Kategorie-Navigation entfernt - nur noch im mobilen Menü */

nav li {
    margin-left: 20px;
}

nav ul {
    justify-content: center; /* Hauptmenü zentrieren */
}

nav a {
    text-decoration: none;
    color: #173950;
    font-weight: bold;
    font-size: 1.3em;
}

main {
    flex: 1 0 auto;
    padding: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

/* Kontaktformular-Styling */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Maven Pro', sans-serif;
}

form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #597588;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'CS Gordon Sans', sans-serif;
}

/* ==============
   Startseite
   ============== */

.home-main {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section - Logo und Text nebeneinander */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.hero-logo {
    flex: 0 0 auto;
}

.hero-logo .home-logo {
    max-width: 300px;
    height: auto;
    display: block;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 4em;
    line-height: 1.1;
    font-family: 'Figtree', sans-serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.main-claim {
    font-size: 1.8em;
    font-weight: bold;
    margin: 10px 0;
    color: #597588;
    line-height: 1.2;
}

.hero-text p {
    margin: 8px 0;
    line-height: 1.4;
}

.hero-text .button {
    margin-top: 15px;
    display: inline-block;
    width: auto;
    align-self: flex-start;
}

/* Carousel Styles */
.carousel-container {
    margin: 40px 0;
    overflow: hidden;
}

.carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    color: #597588;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    color: #173950;
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Responsive Design für Hero Section */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5em;
    }
    
    .main-claim {
        font-size: 1.5em;
    }
    
    .carousel-slide {
        width: 240px;
        height: 240px;
    }
    
    .carousel-btn {
        font-size: 18px;
        padding: 8px 12px;
    }
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #597588;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'CS Gordon Sans', sans-serif;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}

.info-image img {
    max-width: 200px;
    display: block;
}

.info-text {
    text-align: left;
}


/* ==============
   Mobile Ansicht
   ============== */

@media (max-width: 768px) {
    body {
        /* Angepasste Abstände für mobile Ansicht */
        padding-top: 80px; /* Nur für fixierten Header */
        padding-bottom: 0; /* Footer ist nicht mehr fixiert */
    }

    header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 10px 15px;
        gap: 15px;
    }

    .logo {
        height: 35px;
        flex-shrink: 0;
    }
    
    .logo img {
        height: 35px;
    }

    .hamburger {
        display: none; /* Hamburger-Button ausblenden */
    }

    nav {
        position: relative;
        order: 2;
    }

    nav ul {
        display: flex; /* Menü immer sichtbar */
        flex-direction: row;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 10px;
    }
    
    /* Desktop Kategorie-Navigation nicht mehr vorhanden */

    nav ul li {
        margin: 0;
    }

    nav a {
        display: block;
        padding: 8px 12px;
        font-size: 0.95em;
        text-decoration: none;
        color: #173950;
        font-weight: bold;
    }

    .cart-icon {
        order: 3;
        flex-shrink: 0;
    }
    

    nav li {
        margin-left: 0;
    }

    main {
        padding: 20px 20px;
    }

    footer p {
        font-size: 0.8rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-text {
        text-align: center;
    }
}

/* ==============
   Shop-Styling
   ============== */

.shop-main {
    padding: 10px 10px 20px 10px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.shop-container {
    display: flex;
    gap: 15px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.category-sidebar {
    display: none; /* Auf Desktop ausgeblendet */
}

/* Toggle-Button für Kategorie-Sidebar - nur auf Mobile */
.category-toggle-btn {
    display: none; /* Auf Desktop versteckt */
}

/* Overlay für Sidebar - nur auf Mobile */
.sidebar-overlay {
    display: none; /* Auf Desktop versteckt */
}

/* Mobile Kategorie-Tabs - nur auf Mobile sichtbar */
.mobile-category-tabs {
    display: none; /* Auf Desktop versteckt */
}

.category-sidebar h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #597588;
    border-bottom: 2px solid #597588;
    padding-bottom: 10px;
}

.category-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-nav li {
    margin-bottom: 5px;
}

.category-link {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #173950;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.category-link:hover {
    background-color: #f8f9fa;
    border-left-color: #597588;
    color: #597588;
}

.category-link.active {
    background-color: #597588;
    color: white;
    border-left-color: #4a6175;
}

.shop-content {
    flex: 1;
    min-width: 0;
    padding: 0; /* Kein zusätzlicher Abstand nach oben */
    margin: 0;
    width: 100%;
    max-width: 100%; /* Volle Breite ohne Sidebar */
}

.category-section {
    display: none;
    margin-bottom: 40px;
    width: 100%;
    padding: 0;
}

.category-section.active {
    display: block;
}

.category-section h2 {
    color: #173950;
    margin-top: 20px !important; /* Ausreichend Abstand nach oben */
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    width: 100%;
    font-size: 2.2em;
}

/* Abstand zwischen Kapitelüberschrift und Untertitel reduzieren */
.category-section > p {
    margin-top: 4px;
}

.products-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 20px;
}

.products-placeholder p {
    margin-top: 20px;
    color: #6c757d;
    font-style: italic;
}

/* Produktkarten */
.products-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    padding: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 450px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 16px;
    box-sizing: border-box;
    min-width: 180px;
    width: 100%;
}

.product-card:nth-child(3n) {
    margin-right: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #597588;
}

.product-image {
    width: 100%;
    height: auto;
    overflow: visible;
    background-color: #f8f9fa;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    box-sizing: border-box;
    min-height: 120px;
}

.product-info .add-to-cart-btn {
    margin-top: auto;
    margin-bottom: 0;
}

.product-name {
    margin: 0 0 10px 0;
    color: #173950;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.3;
    height: auto;
    overflow: visible;
    display: block;
    word-break: break-word;
    hyphens: auto;
}

.product-price {
    margin: 0 0 20px 0;
    color: #597588;
    font-size: 1.5em;
    font-weight: bold;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px 8px;
    background-color: #597588;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    background-color: #4a6175;
}

.select-btn {
    display: inline-block;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.select-btn:hover {
    background-color: #218838;
}

/* Produktkarten-Links */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Benachrichtigungen */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-weight: bold;
}

.notification.show {
    transform: translateX(0);
}

/* Sehr kleine Bildschirme - 2 Produkte pro Zeile */
@media (min-width: 769px) and (max-width: 899px) {
    .product-card {
        width: calc(50% - 10px);
        margin-right: 10px;
        min-width: 160px;
    }
}

/* Mobile Produktkarten-Anpassungen werden durch Grid-System abgedeckt */

/* Mobile Benachrichtigungen */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Warenkorb-Bearbeitung in der Kasse */
.summary-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

/* Nur für Kasse-Seite */
.checkout-summary-card .quantity-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

/* Nur für Kasse-Seite */
.checkout-summary-card .quantity-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #173950;
    transition: all 0.2s ease;
}

.checkout-summary-card .quantity-btn:hover {
    background: #e9ecef;
    border-color: #597588;
}

.checkout-summary-card .quantity-btn:active {
    transform: scale(0.95);
}

.checkout-summary-card .quantity-input {
    width: 40px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #173950;
    background: #fff;
}

.checkout-summary-card .quantity-input:focus {
    outline: none;
    border-color: #597588;
    box-shadow: 0 0 0 2px rgba(89, 117, 136, 0.2);
}

.checkout-summary-card .remove-item-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #dc3545;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #dc3545;
}

.checkout-summary-card .remove-item-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.05);
}

.checkout-summary-card .remove-item-btn:active {
    transform: scale(0.95);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Notizen-Bearbeitung */
.summary-item-note-edit {
    margin: 8px 0;
    width: 100%;
    box-sizing: border-box;
}

.note-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #597588;
    margin-bottom: 4px;
}

.note-input {
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    max-height: 120px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #173950;
    background: #fff;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.note-input:focus {
    outline: none;
    border-color: #597588;
    box-shadow: 0 0 0 2px rgba(89, 117, 136, 0.2);
}

.note-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Mobile Anpassungen für Warenkorb-Bearbeitung */
@media (max-width: 768px) {
    .summary-item-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .remove-item-btn {
        align-self: center;
        width: 100%;
        max-width: 200px;
    }
    
    .note-input {
        min-height: 50px;
        font-size: 13px;
    }
}

/* Große Bildschirme - max. 5 Produkte pro Zeile */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

/* Mittlere Bildschirme - 4 Produkte pro Zeile */
@media (min-width: 900px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Kleinere Bildschirme - 3 Produkte pro Zeile */
@media (min-width: 768px) and (max-width: 899px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Sehr kleine Bildschirme - 3 Produkte pro Zeile */
@media (min-width: 600px) and (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Mobile - 2 Produkte pro Zeile */
@media (min-width: 400px) and (max-width: 599px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Sehr kleine Mobile - 1 Produkt pro Zeile */
@media (max-width: 399px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Kachelbreiten für Kategorien mit wenig Produkten anpassen */
#fabelwesen-products,
#figuren-products,
#deko-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Kachelbreiten für Drachen, Dinosaurier und Tiere (max. 5 pro Reihe) */
#dinosaurier-products,
#drachen-products,
#tiere-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Responsive Anpassungen für diese Kategorien */
@media (min-width: 1200px) {
    #fabelwesen-products,
    #figuren-products,
    #deko-products {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    /* Drachen, Dinosaurier und Tiere: max. 5 pro Reihe */
    #dinosaurier-products,
    #drachen-products,
    #tiere-products {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    #fabelwesen-products,
    #figuren-products,
    #deko-products {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    #dinosaurier-products,
    #drachen-products,
    #tiere-products {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    #fabelwesen-products,
    #figuren-products,
    #deko-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    #dinosaurier-products,
    #drachen-products,
    #tiere-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    #fabelwesen-products,
    #figuren-products,
    #deko-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    #dinosaurier-products,
    #drachen-products,
    #tiere-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (min-width: 400px) and (max-width: 599px) {
    #fabelwesen-products,
    #figuren-products,
    #deko-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    #dinosaurier-products,
    #drachen-products,
    #tiere-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 399px) {
    #fabelwesen-products,
    #figuren-products,
    #deko-products {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #dinosaurier-products,
    #drachen-products,
    #tiere-products {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Mobile Shop-Anpassungen */
@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
        gap: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Sidebar auch auf Mobile ausgeblendet */
    .category-sidebar {
        display: none;
    }
    
    /* Toggle-Button auch auf Mobile versteckt */
    .category-toggle-btn {
        display: none;
    }
    
    /* Overlay auch auf Mobile versteckt */
    .sidebar-overlay {
        display: none;
    }
    
    /* Mobile Kategorie-Tabs anzeigen */
    .mobile-category-tabs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 15px 10px;
        margin: 0 -10px 20px -10px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .mobile-category-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .mobile-tab-link {
        flex-shrink: 0;
        padding: 10px 20px;
        background-color: #f0eeec;
        color: #173950;
        text-decoration: none;
        border-radius: 20px;
        font-weight: bold;
        font-size: 0.95em;
        transition: all 0.3s ease;
        white-space: nowrap;
        border: 2px solid transparent;
    }
    
    .mobile-tab-link.active {
        background-color: #597588;
        color: white;
        box-shadow: 0 4px 8px rgba(89, 117, 136, 0.3);
    }
    
    .mobile-tab-link:active {
        transform: scale(0.95);
    }
    
    /* Shop-Dropdown im Header auf Mobile ausblenden */
    .shop-with-categories .mobile-category-dropdown {
        display: none !important;
    }
    
    /* Shop-Link normal anklickbar machen (ohne Dropdown-Funktion) */
    .shop-with-categories > a {
        pointer-events: auto;
    }
    
    .shop-content {
        order: 2;
        padding-top: 0; /* Überschrift weiter nach oben */
        margin-top: 0; /* Weniger Abstand nach oben */
    }
    
    .category-section {
        padding-top: 5px; /* Noch weniger Abstand zwischen Kategorien */
    }
    
    .category-section h2 {
        margin-top: 10px !important; /* Weniger Abstand zwischen Kategorie-Überschriften */
        margin-bottom: 8px;
        font-size: 1.4em; /* Kleinere Überschrift */
    }
    
    .products-grid {
        gap: 8px; /* Noch weniger Abstand zwischen Produkten */
        padding: 0 3px; /* Weniger seitlicher Abstand */
        margin-top: 0; /* Weniger Abstand nach Überschrift */
    }
    
    .product-card {
        min-height: 360px; /* Noch kompaktere Karten */
        padding: 8px; /* Weniger Innenabstand */
        margin-bottom: 5px;
    }
    
    .product-image {
        height: 160px; /* Kleinere Bilder */
        margin-bottom: 6px;
    }
    
    .product-name {
        min-height: 2.0em; /* Kompaktere Titel */
        margin-bottom: 8px;
    }
    
    .product-name .main-name {
        font-size: 0.95em; /* Kleinere Schrift */
        margin-bottom: 2px;
    }
    
    .product-name .product-type {
        font-size: 0.8em; /* Kleinere Schrift */
    }
    
    .product-price {
        margin-bottom: 8px; /* Weniger Abstand */
    }
    
    .add-to-cart-btn {
        padding: 8px 12px; /* Kompakterer Button */
        font-size: 0.9em;
    }
    
    /* Alte mobile Kategorie-Styles entfernt, da jetzt im Dropdown */
    
    /* Mobile Shop-Kategorien als Untermenü */
    .shop-with-categories {
        position: relative;
    }
    
    .shop-with-categories > a {
        display: block;
        padding: 10px 15px;
        color: #173950;
        text-decoration: none;
        border-bottom: 1px solid #ddd;
    }
    
    .mobile-category-dropdown {
        display: none;
        background: #f8f9fa;
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid #eee;
    }
    
    .mobile-category-dropdown.show {
        display: block;
    }
    
    .mobile-category-dropdown li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-category-dropdown li:last-child {
        border-bottom: none;
    }
    
    .mobile-category-link {
        display: block;
        padding: 8px 30px; /* Eingerückt für Untermenü */
        color: #173950;
        text-decoration: none;
        transition: background-color 0.2s;
        font-size: 0.9em;
    }
    
    .mobile-category-link:hover,
    .mobile-category-link.active {
        background-color: #e9ecef;
        color: #173950;
    }
    
    .mobile-category-link.active {
        font-weight: bold;
    }
    
    .category-link {
        padding: 8px 12px;
        font-size: 0.9em;
        white-space: nowrap;
        text-align: center;
    }
    
    .category-section h2 {
        font-size: 1.8em;
        margin-top: 20px !important;
        margin-bottom: 3px;
    }

    .product-name {
        font-size: 1.1em;
    }

    .product-price {
        font-size: 0.7em !important;
    }

    .add-to-cart-btn {
        font-size: 0.8em;
        padding: 10px;
    }

    .product-price {
        font-size: 0.7em !important;
    }

    .add-to-cart-btn {
        font-size: 0.8em;
        padding: 10px 6px;
        min-height: 40px;
    }
}

/* ==============
   Warenkorb-Styling
   ============== */

.cart-icon {
    margin-left: 20px;
}

.cart-icon a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #173950;
    position: relative;
}

.cart-symbol {
    font-size: 1.5em;
    margin-right: 5px;
}

.cart-count {
    background-color: #597588;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
}

.cart-message {
    text-align: center;
    padding: 40px;
}

.cart-items {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #597588 #f1f1f1;
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #597588;
    border-radius: 4px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #4a6175;
}

.cart-items-header {
    background: linear-gradient(135deg, #597588, #4a6175);
    color: white;
    padding: 12px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.cart-items-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: white;
}

#cart-items-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: #597588 #f1f1f1;
}

#cart-items-list::-webkit-scrollbar {
    width: 8px;
}

#cart-items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#cart-items-list::-webkit-scrollbar-thumb {
    background: #597588;
    border-radius: 4px;
}

#cart-items-list::-webkit-scrollbar-thumb:hover {
    background: #4a6175;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 8px;
    background-color: #fff;
    min-height: 60px;
}

.cart-item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cart-item-details h3 {
    margin: 0;
    color: #597588;
    font-size: 1em;
}

.cart-item-article {
    margin: 0;
    font-size: 0.85em;
}

.cart-item-price {
    font-size: 1.1em;
    margin: 0;
    align-self: flex-end;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.cart-item-quantity button {
    background-color: #597588;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity button:hover {
    background-color: #4a6175;
}

.cart-item-quantity span {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.trash-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.trash-btn:hover {
    background-color: #c82333;
}

/* Produktseite Styles */
.product-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 40px 30px;
    position: relative;
}

/* Zurück-Button */
.back-button {
    position: relative;
    top: 0;
    right: 0;
    background-color: #173950;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    z-index: 10;
    white-space: nowrap;
}

.back-button:hover {
    background-color: #0f2a3a;
    color: white;
    text-decoration: none;
}

.back-button::before {
    content: "←";
    font-size: 16px;
    font-weight: bold;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Responsive Breakpoints für Produktseiten */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 45% 55%;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .product-container {
        grid-template-columns: 40% 60%;
        gap: 25px;
    }
    
    .product-main {
        padding: 15px 15px 40px 15px;
    }
}

@media (max-width: 800px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-main {
        padding: 10px 15px 40px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .product-gallery {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .product-details {
        order: 2;
        padding-top: 0 !important;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    
    .product-title {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .article-number {
        word-wrap: break-word;
    }
}

@media (max-width: 768px) {
    .product-main {
        padding: 10px 15px 40px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .product-gallery {
        max-width: 500px;
    }
    
    .product-details {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .product-title {
        font-size: 1.8em;
    }
    
    .product-price {
        font-size: 1.0em;
    }
}

@media (max-width: 480px) {
    .product-main {
        padding: 10px 10px 40px 10px;
    }
    
    .product-details {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .product-title {
        font-size: 1.6em;
    }
    
    .add-to-cart-btn-large {
        width: 100%;
        box-sizing: border-box;
    }
    
    .back-button {
        position: relative;
        top: 0;
        right: 0;
        padding: 8px 12px;
        font-size: 11px;
        margin-bottom: 15px;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f8f9fa;
    position: relative;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    transform: translateY(-50%);
    pointer-events: none;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(23, 57, 80, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    color: #173950;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

.prev-btn {
    margin-left: 0;
}

.next-btn {
    margin-right: 0;
}

/* Thumbnail Carousel */
.thumbnail-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    max-width: 100%;
}

.thumbnail-container {
    overflow: hidden;
    flex: 1;
    max-width: calc(4 * 80px + 3 * 10px); /* 4 Thumbnails + 3 Gaps */
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: #597588;
}

.thumbnail.active {
    border-color: #173950;
}

.thumbnail-nav-btn {
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #597588;
    transition: all 0.3s ease;
}

.thumbnail-nav-btn:hover {
    background: white;
    border-color: #597588;
    color: #173950;
}

.thumbnail-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-details {
    padding: 0;
    clear: both;
    margin-top: 20px;
}

.product-title {
    font-size: 2.5em;
    color: #173950;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    line-height: 1.2;
    max-width: 80%;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.article-number {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 20px 0;
    font-style: italic;
}

.size-info {
    font-size: 1em;
    color: #597588;
    margin: 10px 0 20px 0;
    font-weight: 500;
}

/* Mini-Produktseiten spezifische Styles */
.product-main .product-container .product-gallery .main-image {
    margin-top: 20px;
}

.product-main .product-container .product-details {
    padding-top: 20px;
}

.product-main .product-container .product-details .product-title {
    margin-top: 0;
    margin-bottom: 5px;
}



.price-from {
    color: #6c757d;
    font-size: 0.8em;
}

.price-amount {
    color: #173950;
    font-weight: bold;
}

.price-note {
    color: #6c757d;
    margin-bottom: 30px;
    text-decoration: underline;
}

.product-options {
    margin-bottom: 30px;
}

.size-selection {
    margin-bottom: 20px;
}

.size-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #173950;
}

.size-selection select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
}

.quantity-selection {
    margin-bottom: 30px;
}

.quantity-selection select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
}

.quantity-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #173950;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
}

.quantity-controls button:hover {
    background-color: #f8f9fa;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    -moz-appearance: textfield; /* Firefox */
}

.quantity-controls input::-webkit-outer-spin-button,
.quantity-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn-large {
    width: 100%;
    padding: 15px 30px;
    background-color: #597588;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
}

.add-to-cart-btn-large:hover {
    background-color: #4a6175;
}

.product-description {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.product-description h3 {
    color: #173950;
    margin-bottom: -2px !important;
    margin-top: 0px !important;
    font-size: 1.3em;
}

.product-description h4 {
    color: #173950;
    margin: -2px 0 -2px 0 !important;
    font-size: 1.1em;
}

.product-description p {
    line-height: 1.6;
    color: #333;
    margin-top: -2px !important;
    margin-bottom: 15px;
}

.product-description ul {
    padding-left: 20px;
}

.product-description li {
    margin-bottom: 8px;
    color: #333;
}

/* Mobile Anpassungen für Produktseite */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.8em;
    }
    
    .product-price {
        font-size: 1.6em;
    }
    
    .thumbnail-carousel {
        gap: 5px;
    }
    
    .thumbnail-container {
        max-width: calc(3 * 80px + 2 * 10px); /* 3 Thumbnails auf Mobile */
    }
    
    .thumbnail-nav-btn {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .product-main {
        padding: 10px 8px 20px 8px;
        margin: 0;
    }
    
    .product-gallery {
        max-width: 500px;
    }
    
    .product-details {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 480px) {
    .product-main {
        padding: 5px 5px 20px 5px;
    }
    
    .product-details {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .product-title {
        font-size: 1.6em;
        margin-bottom: 10px;
    }
    
    .add-to-cart-btn-large {
        margin: 15px 0;
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}

.cart-item-remove {
    margin-left: 20px;
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background-color: #c82333;
}

.cart-summary {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .cart-total h3 {
        text-align: center;
        margin: 0 0 15px 0;
        color: #597588;
        font-size: 1.3em;
        background: linear-gradient(135deg, #597588, #4a6175);
        color: white;
        padding: 10px;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(89, 117, 136, 0.25);
    }

.cart-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button.secondary {
    background-color: #6c757d;
}

.button.secondary:hover {
    background-color: #5a6268;
}

/* Mobile Warenkorb-Anpassungen */
@media (max-width: 768px) {
    .cart-items {
        margin: 20px 0;
        border: 1px solid #ddd;
        border-radius: 10px;
        background-color: #f9f9f9;
        padding: 0;
        scrollbar-width: thin;
        scrollbar-color: #597588 #f1f1f1;
    }
    
    .cart-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        margin-bottom: 8px;
        background-color: #fff;
        min-height: 60px;
    }
    
    .cart-item-image img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 6px;
        flex-shrink: 0;
    }
    
    .cart-item-remove {
        margin-left: 20px;
    }
    
    .cart-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .cart-summary {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .cart-item-note {
        margin-top: 6px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .cart-item-note textarea {
        width: 100%;
        min-height: 50px;
        padding: 8px;
        border: 1px solid #cfd7de;
        border-radius: 6px;
        font-family: 'Maven Pro', sans-serif;
        font-size: 0.9em;
        resize: vertical;
        background-color: #fff;
        color: #173950;
        box-sizing: border-box;
    }
    
    .cart-actions .button {
        padding: 12px 20px;
        font-size: 1em;
        width: 100%;
        max-width: 200px;
    }
}

.cart-item-note {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-note label {
    font-size: 0.9em;
    color: #4a6175;
    text-align: left;
}

.cart-item-note textarea {
    width: 100%;
    min-height: 50px;
    padding: 8px;
    border: 1px solid #cfd7de;
    border-radius: 6px;
    font-family: 'Maven Pro', sans-serif;
    font-size: 0.9em;
    resize: vertical;
    background-color: #fff;
    color: #173950;
    box-sizing: border-box;
}

.cart-item-note textarea:focus {
    outline: none;
    border-color: #597588;
    box-shadow: 0 0 0 2px rgba(89, 117, 136, 0.2);
}

/* ==============
   Checkout Styles
   ============== */

.checkout-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    box-sizing: border-box;
}

.checkout-highlight {
    background: rgba(89, 117, 136, 0.1);
    border: 1px solid rgba(89, 117, 136, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #173950;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.checkout-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(23, 57, 80, 0.12);
    padding: 24px;
    box-sizing: border-box;
}

.checkout-card h1,
.checkout-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #173950;
    text-shadow: none;
}

.checkout-card h2 {
    font-size: 1.4rem;
}

.form-section {
    border: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.form-section legend {
    font-size: 1.2rem;
    color: #597588;
    margin-bottom: 12px;
    padding: 0;
}

.form-section fieldset {
    border: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    color: #173950;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px;
    border: 1px solid #cfd7de;
    border-radius: 10px;
    background-color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #597588;
    box-shadow: 0 0 0 3px rgba(89, 117, 136, 0.15);
}

.form-field--narrow {
    max-width: 180px;
}

.form-field--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-field--checkbox input {
    margin-top: 0;
}

.form-error {
    margin: 0;
    color: #c0392b;
    font-size: 0.85rem;
    min-height: 1em;
}

.form-helper {
    color: #4a6175;
    margin: 4px 0 12px 0;
    font-size: 0.95rem;
}

.form-helper a {
    color: #597588;
    text-decoration: underline;
}

.form-helper a:hover {
    color: #173950;
}

.form-feedback {
    background: rgba(192, 57, 43, 0.12);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #86291f;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    background-color: #597588;
    color: #fff;
    box-shadow: 0 6px 14px rgba(89, 117, 136, 0.25);
}

.primary-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(89, 117, 136, 0.3);
}

.primary-button:disabled {
    background-color: #b2c0ca;
    cursor: not-allowed;
    box-shadow: none;
}

.secondary-button {
    background-color: rgba(89, 117, 136, 0.1);
    color: #173950;
    border: 1px solid rgba(89, 117, 136, 0.3);
}

.secondary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(89, 117, 136, 0.2);
}

.radio-option {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid rgba(89, 117, 136, 0.3);
    border-radius: 12px;
    margin-bottom: 12px;
    background-color: rgba(255, 255, 255, 0.9);
}

/* sorgt dafür, dass Labels neben Radios nicht umbrechen */
.radio-option input[type="radio"] {
    margin-top: 4px;
}

.radio-title {
    display: block;
    color: #173950;
    flex: 1;
}

.radio-subtitle {
    display: block;
    color: #4a6175;
    font-size: 0.9rem;
}

.radio-option label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    cursor: pointer;
}

.summary-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-item {
    display: flex;
    gap: 16px;
    border: 1px solid rgba(89, 117, 136, 0.2);
    border-radius: 12px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.summary-item-image img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.summary-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.summary-item-name {
    margin: 0;
    color: #173950;
    padding-right: 120px;
    line-height: 1.3;
    font-weight: bold;
}

.summary-item-variant,
.summary-item-note,
.summary-item-meta {
    margin: 0;
    font-size: 0.9rem;
    color: #4a6175;
}

.summary-item-price {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    color: #173950;
    font-size: 1rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(89, 117, 136, 0.2);
}

.summary-item-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 8px;
    background-color: rgba(255, 119, 198, 0.15);
    color: #a54281;
    border-radius: 999px;
    font-size: 0.8rem;
}

.summary-personalization {
    border: 1px solid rgba(255, 153, 0, 0.35);
    background: rgba(255, 179, 71, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    color: #8a5010;
    margin-bottom: 20px;
}

.summary-coupon label {
    display: block;
    margin-bottom: 8px;
    color: #173950;
}

.coupon-controls {
    display: flex;
    gap: 8px;
}

.coupon-controls input {
    flex: 1;
    padding: 12px;
    border: 1px solid #cfd7de;
    border-radius: 10px;
}

.summary-totals {
    margin: 20px 0;
    border-top: 1px solid rgba(89, 117, 136, 0.2);
    padding-top: 12px;
}

.summary-row,
.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #173950;
}

.summary-total-row {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(89, 117, 136, 0.2);
}

.summary-note {
    margin: 12px 0 0 0;
    font-size: 0.9rem;
    color: #4a6175;
}


.paypal-container {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paypal-buttons > div {
    max-width: 360px;
}

.paypal-info {
    margin: 0;
    color: #4a6175;
    font-size: 0.95rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 768px) {
    .checkout-wrapper {
        grid-template-columns: 1.2fr 1fr;
    }

    .checkout-card {
        padding: 32px;
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-field--narrow {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .coupon-controls {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .form-field--checkbox {
        flex-direction: row;
        align-items: center;
    }

    .summary-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .summary-item-image img {
        width: 96px;
        height: 96px;
    }

    .summary-item-details {
        align-items: center;
    }
    
    .summary-item-price {
        position: static;
        background: transparent;
        border: none;
        padding: 4px 0;
        margin-top: 8px;
    }
    
    .summary-item-name {
        padding-right: 0;
    }
}

/* Main Content Styles */
main {
    padding: 20px;
}

/* FAQ Page Styles */
.faq-main {
    padding: 40px 30px;
    min-height: calc(100vh - 110px);
}

.faq-main h1 {
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.faq-question {
    background-color: #597588;
    color: white;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    font-size: 18px;
    font-weight: normal;
}

.faq-question:hover {
    background-color: #173950;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
}

.faq-answer p {
    margin: 10px 0;
    line-height: 1.6;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-contact {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-contact h2 {
    color: #597588;
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-button {
    display: inline-block;
    background-color: #597588;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.contact-button:hover {
    background-color: #173950;
}

/* Mobile Responsive für FAQ */
@media (max-width: 768px) {
    .faq-main {
        padding: 20px 20px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .faq-contact {
        padding: 20px;
    }
}

/* Legal Pages Styles (AGB, Impressum, Datenschutz) */
.legal-main {
    padding: 40px 30px;
    min-height: calc(100vh - 110px);
}

.legal-main h1 {
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.legal-date {
    font-size: 16px;
    color: #597588;
    margin-bottom: 30px;
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legal-section h2 {
    color: #597588;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 2px solid #f0eeec;
    padding-bottom: 10px;
}

.legal-section p {
    margin: 10px 0;
    line-height: 1.6;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section li {
    margin: 5px 0;
    line-height: 1.6;
}

.legal-section a {
    color: #597588;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #173950;
}

/* Mobile Responsive für Legal Pages */
@media (max-width: 768px) {
    .legal-main {
        padding: 20px 20px;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 18px;
    }
}

/* UStG-Hinweis für Produktseiten */
.ustg-hinweis {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.ustg-hinweis strong {
    color: #495057;
    font-weight: 600;
}

/* Designer-Sektion */
.designer-section {
    margin: 40px 0 0 0;
    padding: 30px 40px;
    background-color: #f8f9fa;
    border-radius: 15px;
    width: 100%;
    box-sizing: border-box;
}

.designer-section h2 {
    text-align: center;
    color: #173950;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2rem;
}

.designer-section p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.designer-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.designer-placeholder {
    width: calc(25% - 15px);
    max-width: 200px;
    min-width: 150px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.designer-placeholder img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.designer-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #173950;
}

.placeholder-content {
    text-align: center;
    color: #6c757d;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Mobile Responsive für Designer-Sektion */
@media (max-width: 768px) {
    .designer-section {
        padding: 25px 20px;
        margin: 30px 0 0 0;
        width: 100%;
    }
    
    .designer-section h2 {
        font-size: 1.5rem;
    }
    
    .designer-section p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .designer-grid {
        gap: 15px;
        max-width: 100%;
    }
    
    .designer-placeholder {
        width: calc(50% - 7.5px);
        min-width: 120px;
        padding: 12px;
    }
    
    .designer-placeholder img {
        max-height: 70px;
    }
    
    .placeholder-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .designer-grid {
        gap: 10px;
    }
    
    .designer-placeholder {
        width: calc(50% - 5px);
        min-width: 100px;
    }
    
    .designer-placeholder img {
        max-height: 60px;
    }
    
    .designer-section {
        padding: 20px 15px;
    }
}
