/* ===== SHOP STYLING ===== */

/* Shop Global Text Override - Force Black Text */
.shop-shortcode, 
.shop-shortcode *,
.shop-grid,
.shop-grid *,
.shop-item,
.shop-item *,
.shop-item-title,
.shop-item-title *,
.shop-item-content,
.shop-item-content *,
.shop-item-meta,
.shop-item-meta *,
.shop-item-sku,
.shop-item-categories,
.shop-item-categories *,
.shop-single,
.shop-single *,
.shop-single-container,
.shop-single-container *,
.shop-single-info,
.shop-single-info *,
.shop-single-header,
.shop-single-header *,
.shop-single-meta,
.shop-single-meta *,
.shop-single-description,
.shop-single-description *,
.shop-single-variants,
.shop-single-variants *,
.shop-single-actions,
.shop-single-actions * {
    color: #000000 !important;
}

/* Contact Form 7 Formulare im Shop */
.shop-modal .wpcf7,
.shop-modal .wpcf7 *,
.shop-modal .wpcf7-form,
.shop-modal .wpcf7-form *,
.shop-modal .wpcf7-form label,
.shop-modal .wpcf7-form input,
.shop-modal .wpcf7-form textarea,
.shop-modal .wpcf7-form select,
.shop-modal .wpcf7-form p,
.shop-modal .wpcf7-form span {
    color: #000000 !important;
}

/* Verstecke schreibgeschützte Felder für Artikel-Daten */
.shop-modal .wpcf7-form input[readonly],
.shop-modal .wpcf7-form input[name*="artikel-titel"],
.shop-modal .wpcf7-form input[name*="artikel-nummer"], 
.shop-modal .wpcf7-form input[name*="variante"],
.shop-modal .wpcf7-form input[name*="menge"],
.shop-modal .wpcf7-form input[name*="gesamtpreis"] {
    display: none !important;
}

/* Verstecke auch die Labels/Wrapper für diese Felder */
.shop-modal .wpcf7-form .wpcf7-form-control-wrap[data-name*="artikel-titel"],
.shop-modal .wpcf7-form .wpcf7-form-control-wrap[data-name*="artikel-nummer"],
.shop-modal .wpcf7-form .wpcf7-form-control-wrap[data-name*="variante"],
.shop-modal .wpcf7-form .wpcf7-form-control-wrap[data-name*="menge"],
.shop-modal .wpcf7-form .wpcf7-form-control-wrap[data-name*="gesamtpreis"] {
    display: none !important;
}

/* Verstecke komplette Absätze die nur diese Felder enthalten */
.shop-modal .wpcf7-form p:has(.wpcf7-form-control-wrap[data-name*="artikel-titel"]),
.shop-modal .wpcf7-form p:has(.wpcf7-form-control-wrap[data-name*="artikel-nummer"]),
.shop-modal .wpcf7-form p:has(.wpcf7-form-control-wrap[data-name*="variante"]),
.shop-modal .wpcf7-form p:has(.wpcf7-form-control-wrap[data-name*="menge"]),
.shop-modal .wpcf7-form p:has(.wpcf7-form-control-wrap[data-name*="gesamtpreis"]) {
    display: none !important;
}

.shop-modal .wpcf7-form input,
.shop-modal .wpcf7-form textarea,
.shop-modal .wpcf7-form select {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    color: #000000 !important;
}

.shop-modal .wpcf7-form input:focus,
.shop-modal .wpcf7-form textarea:focus,
.shop-modal .wpcf7-form select:focus {
    border-color: var(--primary-gold) !important;
    outline: none !important;
}

/* Bestellung und Benachrichtigung Übersichten */
.bestellung-uebersicht,
.benachrichtigung-uebersicht {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-gold);
    position: static !important; /* Stelle sicher dass es nicht fixiert ist */
}

.bestellung-uebersicht h4,
.benachrichtigung-uebersicht h4 {
    margin: 0 0 1rem 0;
    color: #000000 !important;
    font-size: 1.1rem;
}

.bestellung-details,
.artikel-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.bestellung-details td,
.artikel-details td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #000000 !important;
}

.bestellung-details td:first-child,
.artikel-details td:first-child {
    width: 35%;
    vertical-align: top;
}

.benachrichtigung-uebersicht p {
    margin: 0;
    color: #000000 !important;
    font-style: italic;
}

.bestellung-details tr:last-child td,
.artikel-details tr:last-child td {
    border-bottom: none;
    font-weight: bold;
}

/* Success Message für Formulare */
.success-message {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724 !important;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message h4 {
    color: #155724 !important;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.success-message p {
    color: #155724 !important;
    margin-bottom: 1.5rem;
}

.modal-close-success {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-close-success:hover {
    background: #218838 !important;
    border-color: #218838 !important;
}

.shop-shortcode .price,
.shop-grid .price,
.shop-single .price {
    color: var(--primary-red) !important;
}

.shop-shortcode .category-tag,
.shop-grid .category-tag,
.shop-single .category-tag {
    background: var(--primary-gold) !important;
    color: #000000 !important;
}

/* Produktname explizit schwarz halten */
.shop-shortcode .shop-item-title,
.shop-shortcode .shop-item-title *,
.shop-grid .shop-item-title,
.shop-grid .shop-item-title *,
.shop-single h1,
.shop-single .shop-single-header h1 {
    color: #000000 !important;
}

/* Shop Container */
.shop-container {
    max-width: 92%;
    margin: 0 auto;
    padding: 2rem 0;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h1 {
    color: var(--primary-black);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.shop-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Shop Filter */
.shop-filter {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.shop-filter *,
.shop-filter a,
.shop-filter a:link,
.shop-filter a:visited {
    color: #000000 !important;
}

.category-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-filter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-toggle {
    display: none; /* Standardmäßig versteckt */
    background: transparent !important;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #000000;
    padding: 0.25rem;
    transition: transform 0.2s ease;
    outline: none;
}

.category-filter-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-filter span {
    font-weight: 600;
    color: #000000 !important;
}

.filter-link {
    padding: 0.5rem 1rem;
    background: white;
    color: #000000 !important;
    text-decoration: none;
    border-radius: 20px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-link:hover,
.filter-link.active {
    background: var(--primary-red) !important;
    color: white !important;
    border-color: var(--primary-red);
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.shop-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.shop-item-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.shop-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-item:hover .shop-item-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-image span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.placeholder-image.large {
    aspect-ratio: 1;
    min-height: 400px;
}

.nicht-verfuegbar-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(220, 53, 69, 0.9);
    color: white !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.shop-item-content {
    padding: 1.5rem;
}

.shop-item-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    color: var(--primary-black) !important;
}

.shop-item-title a {
    color: var(--primary-black) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-item-title a:hover {
    color: var(--primary-red) !important;
}

.shop-item-excerpt {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.shop-item-meta {
    margin-bottom: 1.5rem;
}

.shop-item-price {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.shop-item-sku {
    font-size: 0.9rem;
    color: var(--primary-black) !important;
    margin-bottom: 0.5rem;
}

.shop-item-availability {
    margin-bottom: 0.5rem;
}

.availability-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.availability-badge.available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.availability-badge.unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.shop-item-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.category-tag:hover {
    background: #d4af37;
}

.shop-item-actions .btn {
    width: 100%;
    text-align: center;
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: var(--text-gray);
}

/* Single Shop Item */
.shop-single {
    max-width: 92%;
    margin: 0 auto;
    padding: 2rem 0;
}

.shop-single-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.shop-single-images {
    position: sticky;
    top: 2rem;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-red);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-single-info {
    padding-left: 1rem;
}

.shop-single-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
}

.shop-single-header h1 {
    color: var(--primary-black);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.artikel-nummer {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.artikel-kategorien {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shop-single-content {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.technische-details {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.technische-details h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.details-content {
    color: var(--text-gray);
    line-height: 1.5;
}

.shop-single-purchase {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.preis-info {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.hauptpreis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.preis-label {
    font-weight: 600;
    color: var(--primary-black);
}

.preis-wert {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.lieferzeit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.lieferzeit-label {
    color: var(--text-gray);
}

.lieferzeit-wert {
    color: var(--primary-black);
    font-weight: 600;
}

.bestellung-form {
    margin-bottom: 1.5rem;
}

.varianten-auswahl,
.menge-auswahl {
    margin-bottom: 1.5rem;
}

.varianten-auswahl label,
.menge-auswahl label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

.varianten-auswahl select,
.menge-auswahl input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.varianten-auswahl select:focus,
.menge-auswahl input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.gesamtpreis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 1.1rem;
}

.gesamtpreis-label {
    font-weight: 600;
    color: var(--primary-black);
}

.gesamtpreis-wert {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.nicht-verfuegbar {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.verfuegbarkeit-status {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.zurueck-link {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shop-single-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .shop-single-images {
        position: static;
    }
    
    .shop-single-info {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .shop-container,
    .shop-single {
        max-width: 95%;
    }
    
    .shop-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* Entferne doppelte Box-Erscheinung in mobiler Ansicht */
    .shop-filter {
        background: transparent;
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .category-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .category-filter-header {
        justify-content: space-between;
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid #ddd;
        cursor: pointer;
        user-select: none;
        transition: background 0.2s ease;
        position: relative;
    }
    
    .category-filter-header span,
    .category-filter-header button,
    .category-filter-header .toggle-icon {
        pointer-events: none; /* Alle Kind-Elemente sollen Klicks zum Header durchlassen */
    }
    
    .category-filter-header:hover {
        background: #e9ecef;
    }
    
    .category-filter-header:active {
        background: #dee2e6;
    }
    
    .category-toggle {
        display: block !important; /* Zeige Toggle-Button auf mobilen Geräten */
    }
    
    .category-filter-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: flex;
        flex-direction: column; /* Standardmäßig vertikal */
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .category-filter-content.expanded {
        max-height: 500px; /* Genug Platz für alle Kategorien */
        flex-direction: row; /* Nur wenn ausgeklappt: horizontal mit Umbruch */
        flex-wrap: wrap; /* Erlaubt nebeneinander stehen wenn Platz da ist */
    }
    
    .category-filter-content .filter-link {
        flex: 0 0 auto; /* Automatische Breite basierend auf Inhalt */
        min-width: fit-content; /* Mindestbreite für Inhalt */
        text-align: center;
    }
    
    .filter-link {
        text-align: center;
    }
    
    .shop-single-header h1 {
        font-size: 2rem;
    }
    
    .shop-single-purchase {
        padding: 1.5rem;
    }
    
    .preis-wert {
        font-size: 1.5rem;
    }
    
    .gesamtpreis-wert {
        font-size: 1.25rem;
    }
}

/* Shop Modal */
.shop-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.shop-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content {
    padding: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #eee;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    position: static; /* Stelle sicher dass der Header nicht fixiert ist */
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-black);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-red);
    color: white;
}

.modal-body {
    padding: 2rem;
}

.modal-body .loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

.modal-body .error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

/* Contact Form 7 Modal Styling */
.shop-modal .wpcf7-form {
    margin: 0;
}

.shop-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shop-modal .wpcf7-form-control-wrap {
    display: block;
}

.shop-modal input[type="text"],
.shop-modal input[type="email"],
.shop-modal input[type="tel"],
.shop-modal input[type="number"],
.shop-modal select,
.shop-modal textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.shop-modal input[type="text"]:focus,
.shop-modal input[type="email"]:focus,
.shop-modal input[type="tel"]:focus,
.shop-modal input[type="number"]:focus,
.shop-modal select:focus,
.shop-modal textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.shop-modal input[readonly] {
    background: #f8f9fa;
    color: var(--text-gray);
}

.shop-modal .wpcf7-submit {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.shop-modal .wpcf7-submit:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.shop-modal .wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: 1rem;
    border-radius: 8px;
}

.shop-modal .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.shop-modal .wpcf7-mail-sent-ng,
.shop-modal .wpcf7-aborted {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.shop-modal .wpcf7-validation-errors {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.shop-modal h3 {
    color: var(--primary-black);
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
}

.shop-modal .dsgvo-checkbox {
    display: block;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.shop-modal .dsgvo-checkbox input[type="checkbox"] {
    float: left;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: auto;
}

.shop-modal .dsgvo-checkbox label {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .shop-modal {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .shop-modal .form-row {
        grid-template-columns: 1fr;
    }
}

/* Shortcode Spezifische Styles */
.shop-shortcode {
    margin: 2rem 0;
}

.shop-shortcode.shop-grid {
    display: grid;
    gap: 2rem;
}

.shop-shortcode.shop-grid.spalten-1 {
    grid-template-columns: 1fr;
}

.shop-shortcode.shop-grid.spalten-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 700px;
}

.shop-shortcode.shop-grid.spalten-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.shop-shortcode.shop-grid.spalten-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.shop-shortcode.shop-liste .shop-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.shop-shortcode.shop-liste .shop-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-shortcode.shop-liste .shop-item-image {
    flex: 0 0 200px;
    height: 150px;
}

.shop-shortcode.shop-liste .shop-item-content {
    flex: 1;
    padding: 0;
}

/* Artikel Shortcode */
.shop-artikel-shortcode .shop-item {
    max-width: 400px;
    margin: 0 auto;
}

.shop-artikel-shortcode.stil-minimal .shop-item {
    box-shadow: none;
    border: 1px solid #eee;
}

.shop-artikel-shortcode.stil-minimal .shop-item-image {
    aspect-ratio: 3/2;
}

/* Kategorien Shortcode */
.shop-kategorien-shortcode {
    margin: 1.5rem 0;
}

.shop-kategorien-shortcode.stil-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-kategorien-shortcode.stil-liste {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kategorie-link {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.kategorie-link:hover,
.kategorie-link.alle {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.kategorie-link .anzahl {
    font-size: 0.85em;
    opacity: 0.8;
}

.shop-kategorien-shortcode.stil-liste .kategorie-link {
    border-radius: 8px;
    justify-content: space-between;
}

/* Featured Shortcode */
.shop-featured-shortcode {
    margin: 2rem 0;
}

.featured-titel {
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
}

.featured-titel::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin: 1rem auto 0;
}

.shop-featured-shortcode .shop-item-title {
    font-size: 1.1rem;
}

.shop-featured-shortcode .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Responsive Shortcodes */
@media (max-width: 768px) {
    .shop-shortcode.shop-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .shop-shortcode.shop-liste .shop-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .shop-shortcode.shop-liste .shop-item-image {
        flex: none;
        height: 200px;
    }
    
    .shop-kategorien-shortcode.stil-buttons {
        justify-content: center;
    }
    
    .kategorie-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .shop-shortcode.shop-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-kategorien-shortcode.stil-buttons {
        flex-direction: column;
    }
    
    .kategorie-link {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hauptpreis,
    .lieferzeit,
    .gesamtpreis {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===== LIEFEROPTIONEN STYLING ===== */
.lieferoptionen {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.lieferoptionen h4 {
    margin: 0 0 1rem 0;
    color: #000000 !important;
    font-size: 1.2rem;
    font-weight: 600;
}

.lieferoptionen-liste {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lieferoption {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.lieferoption-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.lieferoption-info {
    flex: 1;
}

.lieferoption-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #000000 !important;
}

.versandkosten {
    display: block;
    font-weight: 600;
    color: var(--primary-red) !important;
    margin-bottom: 0.5rem;
}

.lieferoption-info small {
    display: block;
    color: #666666 !important;
    line-height: 1.4;
}

/* Responsive Lieferoptionen */
@media (max-width: 768px) {
    .lieferoptionen {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .lieferoption {
        padding: 0.75rem;
    }
    
    .lieferoption-icon {
        font-size: 1.25rem;
    }
}
