/* ======================================= */
/*               GRUNDEINSTELLUNGEN       */
/* ======================================= */
:root {
    --primary-color: #9A3412;
    --text-color: #333;
    --background-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Gemeinsame Container und Grid Styles */
.container, 
.top-shops-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* ======================================= */
/*               KARTEN-BASISSTYLES       */
/* ======================================= */
.shop-card,
.nav-card,
.voucher-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
}

.shop-card:hover,
.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ======================================= */
/*               LOGO STYLES              */
/* ======================================= */
.shop-logo-wrapper,
.shop-logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 0.5rem;
}

/* ======================================= */
/*               BUTTON STYLES            */
/* ======================================= */
.show-code-btn,
.copy-code-btn,
.to-shop-btn,
.scroll-button {
    padding: 0.75rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

/* ======================================= */
/*               MEDIA QUERIES            */
/* ======================================= */
@media (max-width: 768px) {
    .container,
    .top-shops-grid {
        padding: 0.5rem;
    }

    .shop-card,
    .nav-card,
    .voucher-card {
        margin-bottom: 0.75rem;
    }

    .shop-logo-wrapper,
    .shop-logo-container {
        height: 50px;
        width: 80px;
    }

    .show-code-btn,
    .copy-code-btn,
    .to-shop-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ======================================= */
/*               MODAL STYLES             */
/* ======================================= */
.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 500px;
    margin: 15% auto;
}
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
}

/* ======================================= */
/*               HEADER STYLES            */
/* ======================================= */
.main-header {
    background: #1a202c;
    padding: 0.75rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Burger Menu */
.nav-toggle-label {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Logo */
.logo {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Search */
.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 15px;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    min-width: 200px;
}

.search-button {
    background: #ee7f00;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #ff8c00;
}

/* User Menu */
.user-menu-toggle {
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Mobile Styles */
.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .search-wrapper .search-form {
        display: none;
    }
    
    .mobile-search-toggle {
        display: flex !important;
    }
    
    body.has-search-open {
        overflow: hidden;
    }
    
    .search-wrapper.active .search-form {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px;
        background: #fff;
        z-index: 9999;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .search-wrapper.active .search-input {
        flex: 1;
        height: 44px;
        font-size: 16px;
    }
    
    .search-wrapper.active .search-button {
        height: 44px;
    }
}

/* iOS-spezifische Anpassungen */
@supports (-webkit-touch-callout: none) {
    .search-wrapper.active .search-form {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px;
        background: #fff;
        z-index: 9999;
    }
}

/* ======================================= */
/*           CATEGORY NAVIGATION          */
/* ======================================= */
.category-bar {
    background: #2d3748;
    padding: 0.5rem 0;
}
.categories-wrapper {
    position: relative; 
    display: flex;
    align-items: center;
    gap: 1rem;
}
.categories-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.categories-horizontal {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.categories-horizontal li {
    margin: 0;
}
.categories-horizontal a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.2s;
}
.categories-horizontal a:hover {
    color: var(--primary-color);
}

/* ======================================= */
/*               USER MENU                */
/* ======================================= */
.user-menu {
    position: relative;
}
.header-content .user-menu-wrapper {
    position: relative;
}
.header-content .user-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: white;
}
.header-content .user-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    margin-top: 0.5rem;
    z-index: 1000;
}
/* Hover-Effekte mit höherer Spezifität */
.header-content .user-menu-wrapper:hover .user-menu-dropdown,
.header-content .user-menu-dropdown:hover {
    display: block !important;
}
.header-content .user-menu-wrapper::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 100%;
    bottom: -10px;
    left: 0;
}
.header-content .user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}
.header-content .user-menu-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}
.header-content .user-menu-divider {
    height: 1px;
    background-color: #eee;
    margin: 0.5rem 0;
}
.header-content .user-menu-toggle i {
    font-size: 1.5rem;
}
.header-content .user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* ======================================= */
/*           BROWSE CATEGORIES            */
/* ======================================= */
.categories-section {
    margin: 0.5rem 0;
}
.categories-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    padding: 10px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}
.category-card:hover {
    transform: translateY(-3px);
}
.category-card .category-icon {
    font-size: 24px;
    color: #8B4513;
    margin-bottom: 10px;
}
.category-card h3 {
    font-size: 14px;
    text-align: center;
    margin: 0;
}

/* ======================================= */
/*             PRODUCT GRID               */
/* ======================================= */
.latest-products {
    margin: 0.5rem 0;
}
.latest-products h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
}
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    max-width: 100%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image {
    position: relative;
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}
.product-title {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}
.rating-wrap {
    display: flex;
    margin-bottom: 0.75rem;
}
.rating-stars {
    color: #f6ad55;
}
.price-wrap {
    margin-bottom: 0.75rem;
}
.current-price {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}
.old-price {
    color: #a0aec0;
    text-decoration: line-through;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Product Grid Responsiveness */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-image {
        height: 140px;
    }
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-image {
        height: 130px;
    }
}
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    .product-image {
        height: 120px;
    }
    .product-title {
        font-size: 0.85rem;
    }
}

/* ======================================= */
/*        CATEGORY PAGE STYLES            */
/* ======================================= */
.category-header {
    margin: 2rem 0;
    text-align: center;
}
.category-header h1 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}
.category-header p {
    color: #718096;
}

/* ======================================= */
/*             PAGINATION                 */
/* ======================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}
.page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
}
.page-link:hover {
    background: #f7fafc;
}
.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ======================================= */
/*          PRODUCT DETAIL PAGE           */
/* ======================================= */
.product-detail {
    margin: 2rem 0;
    background: #ffffff;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.product-gallery {
    position: sticky;
    top: 2rem;
}
.main-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}
.main-image img {
    width: 100%;
    height: auto;
    display: block;
}
.product-info-detail {
    padding: 1rem;
}
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}
.breadcrumb a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #9A3412;
}
.breadcrumb > span {
    color: #999;
    margin: 0 8px;
}
.product-info-detail h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a202c;
}
.rating-section {
    margin-bottom: 1.5rem;
}
.rating-stars .active {
    color: #f6ad55;
}
.rating-count {
    color: #718096;
    margin-left: 0.5rem;
}
.price-section {
    margin-bottom: 2rem;
}
.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.old-price {
    font-size: 1.25rem;
    color: #a0aec0;
    text-decoration: line-through;
}
.discount-label {
    color: #ff0000;
    font-weight: 500;
}
.price-info {
    color: #718096;
    font-size: 0.875rem;
}
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.btn-amazon {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}
.btn-amazon2 {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FFB200;
    color: #000;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}
.btn-wishlist {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #edf2f7;
    color: #4a5568;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.product-description {
    margin-top: 2rem;
}
.product-description h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a202c;
}
.description-content {
    line-height: 1.6;
    color: #333;
}
.description-content p {
    margin-bottom: 0.8em;
}
.description-content strong {
    color: #000;
    font-weight: 600;
}
.description-content ul {
    margin: 0.1em 0;
    padding-left: 1.2em;
}
.description-content li {
    margin-bottom: 0.3em;
    position: relative;
}
.description-content li:last-child {
    margin-bottom: 0;
}
.description-content h2 {
    margin: 1em 0 0.5em;
    font-size: 1.1em;
}

/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}
.reviews-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1a202c;
}
.review-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
}
.star-rating input {
    display: none;
}
.star-rating label {
    color: #cbd5e0;
    cursor: pointer;
    font-size: 1.5rem;
}
.star-rating input:checked ~ label {
    color: #f6ad55;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}
.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
}
.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.review-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.review-date {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Product Detail Responsiveness */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        position: static;
    }
    .product-actions {
        flex-direction: column;
    }
}

/* ======================================= */
/*      AUTH FORMS (LOGIN/REGISTER)       */
/* ======================================= */
.auth-form {
    max-width: 400px;
    margin: 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.auth-form h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a202c;
}
.auth-form p {
    text-align: center;
    color: #718096;
    margin-bottom: 2rem;
}
.auth-form .form-group {
    margin-bottom: 1.5rem;
}
.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}
.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.auth-form input:focus {
    border-color: #9A3412;
    outline: none;
}
.auth-form button {
    width: 100%;
    padding: 0.75rem;
    background: #9A3412;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}
.auth-form button:hover {
    background: #e65d0e;
}
.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.auth-links a {
    color: #9A3412;
    text-decoration: none;
}
.auth-links a:hover {
    text-decoration: underline;
}

/* ======================================= */
/*    ERROR/SUCCESS MESSAGE STYLES        */
/* ======================================= */
.error-message {
    background: #fff5f5;
    color: #c53030;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #feb2b2;
}
.success-message {
    background: #c6f6d5;
    color: #2f855a;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #9ae6b4;
}

/* ======================================= */
/*           PROFILE PAGE STYLES          */
/* ======================================= */
.profile-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.profile-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}
.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    background: #f0f0f0;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-avatar i {
    font-size: 80px;
    color: #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.avatar-upload-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.avatar-upload-label:hover {
    background: #e65d0e;
}
.profile-name {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}
.profile-email {
    color: #718096;
    font-size: 1.1rem;
}
.profile-sections {
    display: grid;
    gap: 2rem;
}
.profile-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.profile-section h2 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.profile-form .form-group {
    margin-bottom: 1.5rem;
}
.profile-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}
.profile-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.profile-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}
.profile-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}
.profile-form button:hover {
    background: #e65d0e;
}
.danger-zone {
    border: 1px solid #feb2b2;
}
.danger-zone h2 {
    color: #c53030;
}
.warning-text {
    color: #c53030;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.btn-danger {
    background: #c53030;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-danger:hover {
    background: #9b2c2c;
}

/* ======================================= */
/*          SEARCH RESULTS PAGES          */
/* ======================================= */
.search-results {
    margin: 2rem 0;
}
.search-results h1 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}
.results-count {
    color: #718096;
    margin-bottom: 2rem;
}
.no-results {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    color: #718096;
}
.search-form {
    display: flex;
    width: 100%;
}
.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
}
.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Search Layout */
.search-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.search-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: fit-content;
}
.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.filter-section h3 {
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 500;
}
.filter-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.filter-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.price-range,
.rating-range {
    padding: 1rem 0;
}
.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
}
.range-sliders {
    position: relative;
    height: 40px;
}
/* Range */
.price-slider {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 1;
    height: 10px;
    opacity: 0;
}
.price-slider::-webkit-slider-thumb {
    pointer-events: all;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: var(--primary-color);
    cursor: pointer;
    -webkit-appearance: none;
}
.slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 10px;
}
.slider-range {
    position: absolute;
    height: 5px;
    background: var(--primary-color);
    border-radius: 3px;
    margin-top: 10px;
}
/* Rating Stars in Filter */
.rating-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.rating-stars {
    display: flex;
    gap: 0.25rem;
}
.rating-stars .fa-star {
    color: #cbd5e0;
    transition: color 0.2s;
}
.rating-stars .fa-star.active {
    color: #f6ad55;
}
.sort-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    color: #4a5568;
    cursor: pointer;
}
.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}
@media (max-width: 768px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
}

/* Range Slider Styles */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    margin: 1rem 0;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Price Range Styles */
.price-range {
    margin: 1rem 0;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.price-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}
.slider-container {
    position: relative;
    height: 20px;
    margin: 1rem 0;
}
.slider-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
}
.slider-range {
    position: absolute;
    height: 4px;
    background: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
}
.price-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    background: transparent;
    top: 0;
    left: 0;
}
.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    margin-top: -6px;
}
.price-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
}
.price-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: transparent;
}
.price-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: transparent;
}
.rating-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.rating-stars {
    display: flex;
    gap: 0.25rem;
}
.rating-stars .fa-star {
    color: #cbd5e0;
    font-size: 1.25rem;
    cursor: pointer;
}
.rating-stars .fa-star.active {
    color: #f6ad55;
}

/* ======================================= */
/*        CATEGORIES DROPDOWN MENÜ        */
/* ======================================= */
.categories-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.categories-dropdown li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}
.categories-dropdown li a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}
.additional-categories {
    border-top: 1px solid #eee;
    max-height: 300px;
    overflow-y: auto;
}
.categories-dropdown {
    display: none;  
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10000;
    width: 250px;
    border-radius: 4px;
    margin-top: 4px;
}
.categories-dropdown.active {
    display: block !important;  
    /* Debugging-Hilfe: border: 2px solid red; */
}

/* ======================================= */
/*           NAVIGATION STYLES            */
/* ======================================= */
.main-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 1rem;
}
.has-dropdown {
    position: relative;
}
.has-dropdown > .nav-link {
    background: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1000;
    margin-top: 0.5rem;
}
.has-dropdown::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 100%;
    bottom: -10px;
    left: 0;
}
.has-dropdown:hover .dropdown,
.dropdown:hover {
    display: block !important;
}
.dropdown li {
    list-style: none;
}
.dropdown a {
    color: #333;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}
/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .has-dropdown {
        position: static;
    }
    .dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 75vh;
        margin: 0;
        border-radius: 1rem 1rem 0 0;
        padding: 1rem 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 1001;
    }
    .dropdown {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .dropdown::-webkit-scrollbar {
        width: 6px;
    }
    .dropdown::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }
    .dropdown a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    .has-dropdown::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
    }
    .has-dropdown:hover::before {
        opacity: 1;
        visibility: visible;
    }
}
/* Desktop Animation */
@media (min-width: 769px) {
    .dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    }
    .has-dropdown:hover .dropdown,
    .dropdown:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Navigation Basis */
.main-categories {
    gap: 1.5rem;
}
.main-categories .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: color 0.3s;
}
.main-categories .nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Sidebar Menu */
.nav-toggle {
    display: none;
}
.nav-toggle-label {
    cursor: pointer;
    font-size: 24px;
    color: white;
}
/* Overlay */
.nav-toggle-label::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none;
}
.nav-toggle:checked ~ .sidebar-wrapper {
    left: 0;
}
.nav-toggle:checked ~ .nav-toggle-label::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* User Menu Styles */
.user-menu-wrapper {
    position: relative;
}
.user-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hamburger Menu */
.sidebar-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    transition: 0.3s;
    z-index: 1001;
    overflow-y: auto;
    padding-top: 60px;
}
.nav-toggle:checked ~ .sidebar-nav {
    left: 0;
}
.nav-toggle:checked ~ .nav-toggle-label::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.sidebar-content {
    padding: 1rem;
}
.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* ======================================= */
/*         COOKIE CONSENT BANNER          */
/* ======================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 1rem;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    animation: slideUp 0.3s forwards 0.5s;
}
@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}
.cookie-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}
.cookie-text {
    font-size: 0.9rem;
    margin: 0;
}
.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}
.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}
.cookie-accept {
    background: var(--primary-color);
    color: white;
}
.cookie-reject {
    background: #f1f1f1;
    color: #333;
}
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        margin-bottom: 1rem;
    }
}

/* ======================================= */
/*               FOOTER STYLES            */
/* ======================================= */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}
.social-links a {
    color: #cbd5e0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #cbd5e0;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
    .footer-links a:hover {
        transform: none;
    }
}

/* Newsletter Form im Footer (falls benötigt) */
.footer-newsletter {
    margin-top: 1rem;
}
.footer-newsletter input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #2d3748;
    border-radius: 4px;
    background: #2d3748;
    color: white;
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
}
.footer-newsletter button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.footer-newsletter button:hover {
    background: #e65d0e;
}

/* ======================================= */
/*          PAGE CONTENT STYLES           */
/* ======================================= */
.page-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
}
.page-content h1 {
    color: #1a202c;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}
.page-content h2 {
    color: #2d3748;
    margin: 1.5rem 0 1rem 0;
}
.page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* About Page */
.about-section {
    margin-bottom: 2rem;
}
.about-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}
.about-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
}
.about-section ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.contact-method i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* FAQ Page */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Privacy & Imprint Pages */
.privacy-section,
.imprint-section {
    margin-bottom: 2rem;
}

/* Responsive for Contact Grid */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .page-content {
        padding: 1.5rem;
    }
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ======================================= */
/*        CATEGORIES OVERVIEW PAGE        */
/* ======================================= */
.categories-overview {
    padding: 2rem 0;
}
.categories-overview h1 {
    margin-bottom: 2rem;
    text-align: center;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.category-group {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.category-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.category-header h2 {
    margin: 0;
    font-size: 1.3rem;
}
.category-header a {
    color: var(--text-color);
    text-decoration: none;
}
.category-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.subcategories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.subcategories li a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f5f5f5;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}
.subcategories li a:hover {
    background: var(--primary-color);
    color: white;
}
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Reviews - User Avatars */
.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-avatar,
.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}
.user-avatar {
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.user-avatar-placeholder {
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.review-user .username {
    font-weight: 500;
    color: #333;
}

/* Produkt Datum */
.product-date {
    color: #666;
    font-size: 0.9rem;
    margin: -0.5rem 0 1rem 0;
}

/* Intro Card */
.intro-card {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem auto 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}
.intro-card h1 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.intro-card .intro-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 768px) {
    .intro-card {
        margin: 0.75rem 0.5rem 1rem;
        padding: 1rem;
    }
    .intro-card h1 {
        font-size: 1.2rem;
    }
}

/* SEO Content */
.seo-content {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.seo-content h2, .seo-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}
.seo-content ul {
    list-style: none;
    padding-left: 1.5rem;
}
.seo-content ul li:before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 0.5rem;
}
.seo-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Related Products */
.related-products {
    margin: 3rem 0;
}
.related-products h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Mobile */
.related-products-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.related-product-card-mobile {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.related-product-card-mobile:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}
.related-product-card-mobile .product-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    position: relative;
}
.related-product-card-mobile .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.related-product-card-mobile .product-info {
    flex: 1;
    min-width: 0;
}
.related-product-card-mobile h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Desktop */
.related-products-desktop {
    display: none;
    position: relative;
    padding: 0.5rem;
}
.products-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem;
    margin: -0.5rem;
}
.products-scroll-container::-webkit-scrollbar {
    display: none;
}
.related-product-card {
    flex: 0 0 280px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.2s ease;
}
.related-product-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.related-product-card .product-image {
    position: relative;
    padding-top: 100%; 
    background: #f9fafb;
}
.related-product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}
.related-product-card .product-info {
    padding: 1rem;
}
.related-product-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.price-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.current-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}
.old-price {
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: line-through;
}
.discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    .related-products-mobile {
        display: none;
    }
    .related-products-desktop {
        display: block;
    }
}
/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.scroll-btn:hover {
    background: #f9fafb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.related-products-desktop:hover .scroll-btn {
    opacity: 1;
}
.scroll-left {
    left: -20px;
}
.scroll-right {
    right: -20px;
}

/* Breadcrumb Styling */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}
.breadcrumb > span {
    color: #999;
    margin: 0 8px;
}

/* Tag Styling */
.tags-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 16px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.tag:hover {
    background: #e5e5e5;
    color: var(--primary-color);
    transform: translateY(-1px);
}
.tag i {
    margin-right: 6px;
    font-size: 12px;
}

/* Dashboard Navigation */
.dashboard-nav {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}
.scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}
.nav-card {
    flex: 0 0 130px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.nav-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Gradient backgrounds for different cards */
.nav-card.black-friday {
    background: linear-gradient(to right, #1e3a8a, #000000);
}
.nav-card.amex {
    background: linear-gradient(to right, #2563eb, #60a5fa);
}
.nav-card.baby {
    background: linear-gradient(to right, #ec4899, #f9a8d4);
}
.nav-card.shopback {
    background: linear-gradient(to right, #ea580c, #fb923c);
}
.nav-card.gaming {
    background: linear-gradient(to right, #9333ea, #c084fc);
}
.nav-card.weihnachten {
    background: linear-gradient(to right, #ea3333, #fe5900);
}
.nav-card.amazon {
    background: linear-gradient(to right, #ca8a04, #facc15);
}
.nav-card.tech {
    background: linear-gradient(to right, #16a34a, #4ade80);
}
.nav-card.household {
    background: linear-gradient(to right, #dc2626, #f87171);
}
.card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-align: center;
}
.card-title {
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
/* Scroll buttons */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.dashboard-nav:hover .scroll-button {
    opacity: 1;
}
.scroll-button.left {
    left: -20px;
}
.scroll-button.right {
    right: -20px;
}
@media (max-width: 768px) {
    .scroll-button {
        display: none;
    }
    .nav-card {
        flex: 0 0 140px;
        height: 85px;
    }
}

/* Section Title */
.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0.2rem 0;
    padding: 0 0.1rem;
}
.latest-products {
    margin: 1rem 0;
}
.section-title:hover {
    color: #666;
}
section + section {
    margin-top: 0.5rem;
}

/* ======================================= */
/*      AMAZON-SUCHE / AMAZON-PRODUKTE    */
/* ======================================= */
.amazon-search-section {
    margin: 2rem 0;
}
.amazon-search-form {
    max-width: 600px;
    margin: 0 auto 2rem;
}
.amazon-results {
    margin-top: 2rem;
}
.amazon-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}
.amazon-error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #dc2626;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}
.amazon-product-card {
    position: relative;
    transition: transform 0.2s ease-in-out;
}
.amazon-product-card:hover {
    transform: translateY(-5px);
}
.amazon-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}
.amazon-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

/* Produktkarten-Layout */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.product-image {
    position: relative;
    margin-bottom: 1rem;
}
.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-section {
    margin-top: auto;
    margin-bottom: 1rem;
}
.product-actions {
    margin-top: auto;
}
.btn-amazon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}
.btn-amazon:hover {
    background: #7C2D12;
}
.btn-amazon2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FFB200;
    color: #000;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}
.btn-amazon2:hover {
    background: #FFB200;
}

/* Grid-Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
.amazon-search-box {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}
.amazon-search-box a {
    color: #e47911;
    text-decoration: none;
}
.amazon-search-box a:hover {
    text-decoration: underline;
}
.shop-logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px;
}
.shop-logo-placeholder.large {
    width: 150px;
    height: 150px;
    font-size: 2rem;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 8px;
    padding: 2rem;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}
.modal-shop-logo {
    max-width: 120px;
    margin-bottom: 1rem;
}
.code-section {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}
.code-display {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.code-text {
    font-family: monospace;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border-radius: 4px;
    border: 2px dashed var(--primary-color);
}
.copy-code-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.copy-code-btn:hover {
    background: #86301c;
}
.success-message {
    color: #e47911;
    font-weight: bold;
}
.success-message i {
    margin-right: 0.5rem;
}
.shop-action {
    text-align: center;
    margin-bottom: 1.5rem;
}
.to-shop-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    max-width: 200px;
}
.to-shop-btn:hover {
    background: #86301c;
}
.voucher-details {
    font-size: 0.875rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
.hidden {
    display: none;
}

/* ======================================= */
/*      GUTSCHEIN-DETAILS SEITEN          */
/* ======================================= */
.shop-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.shop-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
}
.shop-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}
.shop-info h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.shop-meta {
    color: #666;
    font-size: 0.9rem;
}
/* Gutschein Karten */
.vouchers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.voucher-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
}
.discount-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 120px;
    text-align: center;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}
.discount-box .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.discount-box .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* Spezielle Formatierung je nach Rabatt */
.discount-box[data-type="percentage"] .amount {
    font-size: 2.2rem;
}
.discount-box[data-type="fixed"] .amount {
    font-size: 1.8rem;
}
.voucher-info {
    flex: 1;
}
.voucher-type {
    margin-bottom: 0.5rem;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    background: #f0f0f0;
    color: #666;
}
.badge.exclusive {
    background: var(--primary-color);
    color: white;
}
.voucher-info h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 0.875rem;
}
.show-code-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}
.show-code-btn:hover {
    background: #86301c;
}
/* Voucher Responsiveness */
@media (max-width: 768px) {
    .shop-header {
        flex-direction: column;
        text-align: center;
    }
    .voucher-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .meta {
        justify-content: center;
    }
    .show-code-btn {
        width: 100%;
    }
}
.feedback-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ======================================= */
/*          TOP SHOPS GRID STYLES         */
/* ======================================= */
.top-shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}
.shop-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}
.shop-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.shop-content {
    padding: 0.75rem;
}
.shop-logo-wrapper {
    height: 40px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-logo-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .top-shops-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .top-shops-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .top-shops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .top-shops-grid {
        grid-template-columns: 1fr;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Shop Tags Styling */
.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.shop-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}
.shop-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.shop-tag .voucher-count {
    margin-left: 0.5rem;
    color: #666;
}
.shop-tag:hover .voucher-count {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.9rem;
        margin: 0.5rem 0 1.5rem;
    }
    .shop-tags {
        gap: 0.5rem;
    }
    .shop-tag {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    white-space: normal;
    padding: 1rem;
    background: #fff;
    color: #000;
    z-index: 9999;
    text-decoration: none;
}

/* Gutscheine.php Styles */
.top-shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
.shop-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}
.shop-content {
    padding: 1rem;
}
.shop-logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.shop-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Shop Tags für mobile Ansicht */
.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
}
.shop-tag {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Gutschein-details.php Styles */
.shop-details {
    padding: 1rem;
}
.shop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .shop-header {
        flex-direction: row;
        align-items: flex-start;
    }
}
.vouchers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.voucher-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
@media (max-width: 767px) {
    .voucher-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .discount-box {
        margin: 0 auto;
    }
    .action-box {
        margin-top: 1rem;
    }
}

/* Modal Styles für Mobile */
.modal-content {
    width: 90%;
    max-width: 500px;
    margin: 20% auto;
}
@media (max-width: 767px) {
    .modal-content {
        margin: 30% auto;
        padding: 1rem;
    }
    .code-section {
        flex-direction: column;
        gap: 1rem;
    }
    .code-display {
        width: 100%;
    }
    .copy-code-btn {
        width: 100%;
    }
}

/* Mobile Styles für Gutscheine/Gutschein-Details */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    .top-shops-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.5rem;
    }
    .shop-card {
        margin-bottom: 0.5rem;
    }
    .shop-content {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        align-items: center;
    }
    .shop-logo-wrapper {
        height: 50px;
        width: 80px;
    }
    .voucher-info {
        font-size: 0.9rem;
    }
    .discount-amount {
        font-size: 1.1rem;
        margin: 0.25rem 0;
    }
    .shop-description {
        display: none; 
    }
    .shop-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
    }
    .shop-logo-container {
        width: 120px;
        margin: 0 auto;
    }
    .shop-info h1 {
        font-size: 1.25rem;
        margin: 0.5rem 0;
    }
    .shop-meta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    .voucher-card {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        gap: 0.75rem;
    }
    .discount-box {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #f5f5f5;
        border-radius: 8px;
    }
    .voucher-info {
        text-align: center;
    }
    .voucher-type {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    .action-box {
        width: 100%;
    }
    .show-code-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
    .code-section {
        flex-direction: column;
    }
    .code-display {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .copy-code-btn,
    .to-shop-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Basis Styles Gutscheine/Details */
.top-shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}
.shop-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
}
.shop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.shop-content {
    padding: 1rem;
}
.shop-logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #f8f9fa;
    padding: 0.5rem;
}
.shop-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.voucher-info {
    margin-top: 1rem;
}
.discount-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0.5rem 0;
}

/* Shop Tags */
.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}
.shop-tag {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}
.shop-tag:hover {
    background: #e0e0e0;
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 500px;
    margin: 15% auto;
}
.code-section {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}
.code-display {
    flex: 1;
    padding: 0.75rem;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Shop Details Grid Layout */
.shop-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.shop-info-column {
    margin-top: 2rem;
}

.shop-info-box {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shop-description-short {
    margin-bottom: 2rem;
}

.shop-description-short h2,
.shop-description-long h3 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.shop-description-short p,
.shop-description-long p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .shop-details-grid {
        grid-template-columns: 1fr;
    }

    .shop-info-column {
        margin-top: 1rem;
    }

    .shop-info-box {
        padding: 1rem;
    }
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.shop-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    height: 100%;
}

.shop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.shop-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.shop-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shop-logo-wrapper {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.shop-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.voucher-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.voucher-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.discount-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 0.5rem;
}

.shop-description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.validity {
    font-size: 0.75rem;
    color: #888;
    margin-top: auto;
}

.details-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .voucher-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .voucher-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .voucher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .voucher-grid {
        grid-template-columns: 1fr;
    }
}
.highlight-link {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.highlight-link:hover {
    color: #ee7f00;
    text-decoration: underline;
}

/* Mobile Suche */
.mobile-search-toggle {
    display: none; /* Standard: versteckt */
    background: none;
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .search-wrapper .search-form {
        display: none;
    }
    
    /* Lupe auf Mobile anzeigen */
    .mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    .search-wrapper.active .search-form {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px;
        background: #fff;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        z-index: 9999;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

/* Sidebar Styles */
.sidebar-nav {
    position: fixed;
    top: 80px; /* Anpassen an Ihre Header-Höhe */
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: white;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar-nav.active {
    left: 0;
}

@media (max-width: 768px) {
    .sidebar-nav {
        width: 100%;
        max-width: 280px;
    }
}

/* Amazon Search Page Specific Styles */
.amazon-search-section {
    margin: 2rem 0;
}

.amazon-search-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.amazon-search-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1.1rem;
}

.amazon-search-button {
    background: #ee7f00;
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amazon-search-button:hover {
    background: #ff8c00;
}

.amazon-search-button i {
    font-size: 1.2rem;
}