﻿/*
    Thaty Handarbeit - Online Shop Styles
    Author: [Dein Name]
    Description: Modern, exclusive and responsive design for Thaty Handarbeit.
*/

/* --- CSS-Variablen für ein konsistentes Design --- */
:root {
    --primary-color: #A0522D; /* Edles Terrakotta (Dein Braunrot) */
    --primary-color-dark: #8B4513; /* Dunklerer Braunrot für Hover-Effekte */
    --text-dark: #2A2A2A;
    --text-light: #6c7a89;
    --bg-light: #F4F3F1;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    --transition-speed: 0.5s;
    --header-height: 80px;
}

/* --- Globales Reset und Basiseinstellungen --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    font-weight: 300;
    background-color: var(--bg-light);
    color: var(--text-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height); /* Platz für die fixe Navigationsleiste */
    overflow-x: hidden; /* Verhindert horizontales Scrollen bei Animationen */
}

/* GLOBALE LINK-REGEL: KEINE Unterstreichung standardmäßig, setzt Grundfarbe */
a {
    text-decoration: none; /* Wichtig: Keine Standard-Unterstreichung für alle Links */
    color: var(--text-dark); /* Standard-Linkfarbe, die dann spezifisch überschrieben wird */
}

a:hover {
    /* Keine globale Hover-Farbe hier, da sie spezifisch über :after / color gesetzt wird */
}


/* --- Haupt-Container --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Fixe Navigationsleiste --- */
.navigation-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95); /* Leicht transparent für moderne Optik */
    backdrop-filter: blur(5px); /* Weicher Blur-Effekt */
    z-index: 1000;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-logo img {
    max-height: 50px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-dark); /* Farbe der Navi-Texte */
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color); /* Farbe der Linie angepasst auf Braunrot */
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: -5px;
}

.nav-links a:hover {
    color: var(--primary-color); /* Textfarbe der Navi beim Hover angepasst auf Braunrot */
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon img {
    height: 28px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7em;
    font-weight: 700;
    line-height: 1; /* Stellt sicher, dass die Zahl zentriert ist */
    min-width: 18px; /* Mindestbreite für einzelne Ziffern */
    text-align: center;
    z-index: 1002; /* Noch höher als das Icon */
}

/* Hamburger-Menü (nur für Mobile) */
.hamburger {
    display: none; /* Standardmäßig ausgeblendet auf Desktops */
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
    width: 30px;
    z-index: 1001;
    padding: 0;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}

.hamburger.open .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }


/* --- Hero-Bereich: Hintergrundbild entfernt --- */
.hero-section {
    height: 80vh;
    /* Hintergrundbild entfernt, nur das Gradient-Overlay bleibt für einen dunkleren Look */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.hero-line {
    display: block;
    color: var(--bg-white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    opacity: 0;
}

/* Spezifische Styling und Animationen für jede Zeile */
.hero-line-1 {
    font-family: var(--font-main);
    font-size: 2em;
    font-weight: 500;
    transform: translateX(-100%);
    animation: slideInLeft 1.5s ease-out forwards 0.5s;
}

.hero-line-2 {
    font-family: var(--font-heading);
    font-size: 3.8em;
    font-weight: 300;
    line-height: 1.1;
    transform: translateX(100%);
    animation: slideInRight 1.5s ease-out forwards 1s;
}

.hero-line-3 {
    font-family: var(--font-main);
    font-size: 1.3em;
    font-weight: 300;
    transform: translateX(-100%);
    animation: slideInLeft 1.5s ease-out forwards 1.5s;
}

/* --- Animations-Keyframes --- */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Kategorie-Buttons --- */
.category-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-button {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1em;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 30px;
    border: 1px solid var(--text-dark);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-button:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Produkt-Galerie --- */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    padding-bottom: 60px;
    justify-content: center; /* Zentriert die Grid-Elemente im Container */
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-card-img-container {
    height: auto;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-white);
    padding: 20px 25px 0 25px;
    flex-shrink: 0;
}

.product-card-img-container a {
    display: block;
    line-height: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
}

.product-card:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}


/* --- START: Angepasster Produkt-Info-Block für alle Geräte --- */
.product-info {
    padding: 10px 25px 0 25px;
    margin-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; /* Alle Elemente im Produkt-Info-Block zentrieren */
}

.product-info h3 {
    /* Produktnamen auf index.php */
    font-family: var(--font-heading); /* Cormorant Garamond */
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    line-height: 1.2;
    text-align: center;
}

.product-info p.product-price {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-align: center;
}

.product-meta-line {
    text-align: center;
    font-size: 0.9em;
    color: var(--text-light);
    margin: 0 0 20px 0;
    line-height: 1.2;
    min-height: 20px;
    display: block;
}

/* --- Zusätzliches Styling für die Buttons in der Produktkarte --- */
.product-card .button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    padding-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.product-card .button-link.buy-button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 30px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    transition: background-color 0.3s ease;
    height: auto;
    flex-grow: 0;
    flex-shrink: 0;
    min-width: 150px;
}

.product-card .button-link.buy-button:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--bg-white);
}

/* Entferne den Pfeil für den Kauf-Button, da er unnötig ist */
.product-card .button-link.buy-button:after {
    content: none;
}
/* --- ENDE: Angepasster Produkt-Info-Block für alle Geräte --- */


/* --- Allgemeine Button-Links (für "Jetzt entdecken") --- */
.button-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9em;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.button-link:hover {
    color: var(--primary-color);
}

.button-link:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: 0;
}

.button-link:hover:after {
    width: 100%;
}

.button-group .disabled-button {
    pointer-events: none;
    opacity: 0.5;
}

/* --- Cart Page Specific Styles --- */
.cart-page-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.cart-items-list {
    flex: 2;
    min-width: 300px;
}

.cart-summary-wrapper {
    flex: 1;
    min-width: 280px;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.cart-summary-wrapper h2 {
    font-family: var(--font-main); /* Poppins, sans-serif */
    font-size: 1.6em; /* Etwas kleiner, aber immer noch eine Überschrift */
    font-weight: 600; /* Etwas Fettdruck für die Überschrift */
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.cart-summary-details {
    margin-bottom: 20px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Icons vertikal zentrieren */
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--text-light);
}

.cart-summary-line .sum-label {
    font-weight: 500;
    display: flex; /* Für Icon und Text */
    align-items: center;
    gap: 8px; /* Abstand zwischen Icon und Text */
}

.cart-summary-line .sum-label i {
    color: var(--primary-color); /* Farbe der Icons */
    font-size: 1.1em;
}

/* Neue Zeile für Lieferzeit */
.cart-summary-line.delivery-time-info {
    font-weight: 500;
    color: var(--text-dark);
}
.cart-summary-line.delivery-time-info .price-display {
    color: var(--text-dark); /* Auch Lieferzeit selbst dunkler */
}


.cart-total-line {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    color: var(--primary-color);
    font-family: var(--font-main);
}
.cart-total-line .price-display {
    font-family: var(--font-main);
    font-weight: 700;
}


.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.checkout-button,
.continue-shopping-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.checkout-button {
    background-color: var(--primary-color);
    color: white;
}

.checkout-button:hover {
    background-color: var(--primary-color-dark);
}

.continue-shopping-button {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.continue-shopping-button:hover {
    background-color: var(--border-color);
    color: var(--text-dark);
}


/* Styling für einzelne Warenkorb-Artikel */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cart-item-image-link {
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    width: 100px;
    height: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease-in-out;
}
.cart-item-image:hover {
    transform: scale(1.08);
}


.cart-item-details {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 5px 15px;
    width: calc(100% - 120px);
}

.cart-item-info {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cart-item-info h3 {
    font-family: var(--font-heading); /* Cormorant Garamond */
    font-weight: 600;
    font-size: 1.8em; /* Gleiche Größe wie Produktnamen auf Indexseite */
    margin: 0;
    line-height: 1.2;
}
.cart-item-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
}
.cart-item-info h3 a:hover {
    color: var(--primary-color);
}

.cart-item-info p {
    font-size: 0.85em;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.cart-item-quantity {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}
.cart-item-quantity span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9em;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    height: 32px;
}

.quantity-button {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: none;
    padding: 0 10px;
    cursor: pointer;
    font-size: 1.1em;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.quantity-button:hover {
    background-color: var(--border-color);
}

.quantity-input {
    width: 40px;
    height: 100%;
    text-align: center;
    border: none;
    -moz-appearance: textfield;
    pointer-events: none;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.cart-item-price {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2em;
    font-family: var(--font-main);
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 10px;
}

.cart-item-actions {
    grid-column: 1 / span 2;
    text-align: right;
    margin-top: 10px;
}

.remove-item-button {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.85em;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.remove-item-button:hover {
    color: #a72733;
}

/* Neue Stile für Lieferzeit-Hinweise */
.stock-exceed-notice {
    font-size: 0.85em;
    color: #dc3545;
    font-weight: 500;
    margin-top: 5px;
    line-height: 1.3;
}

.cart-summary-line.global-delivery-warning {
    margin-top: 15px;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
}

.cart-summary-line.global-delivery-warning .sum-label {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-summary-line.global-delivery-warning .delivery-text {
    color: var(--text-dark);
    font-size: 0.95em;
    flex-basis: 70%;
    text-align: right;
}

.delivery-time-info.long-delivery-item {
    color: #dc3545;
    font-weight: 600;
}

/* Fly-to-Cart Animation CSS */
.flying-product-image {
    position: fixed;
    z-index: 9999;
    opacity: 1;
    /* transition wird dynamisch in JS gesetzt */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 80px;
    height: 80px;
    object-fit: cover;
    pointer-events: none;
    background-color: var(--bg-white);
}

/* Optional: Pop-Animation für den Warenkorb-Zähler */
.cart-count.animate-pop {
    animation: pop-animation 0.3s forwards;
}

@keyframes pop-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Footer Styles */
.footer-section {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-info, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-info h3, .footer-links h4, .footer-social h4 {
    color: var(--bg-white);
    margin-bottom: 15px;
    font-family: var(--font-main);
    font-weight: 600;
}

.footer-info p {
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--text-light);
}

.footer-links ul, .footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-social li {
    margin-bottom: 8px;
}

.footer-links a, .footer-social a {
    color: var(--bg-light);
    text-decoration: none;
    font-size: 0.9em;
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--primary-color);
}


/* --- Responsiveness (anpassbare Ansicht für alle Geräte) --- */
@media (max-width: 1024px) {
    :root { --header-height: 60px; }
    body { padding-top: var(--header-height); }
    .navigation-bar { padding: 10px 20px; }
    .nav-logo img { max-height: 40px; }
    .nav-links { gap: 15px; }
    .hero-section { height: 60vh; margin-bottom: 40px; }
    .hero-line-1 { font-size: 1.5em; }
    .hero-line-2 { font-size: 3em; }
    .hero-line-3 { font-size: 1em; }
    .category-buttons { gap: 10px; margin-top: -20px; margin-bottom: 40px;}
    .container { padding: 0 20px; }
    .product-gallery { gap: 40px; }
    .product-card-img-container {
        height: auto;
        max-height: 500px;
        padding: 25px 20px 0 20px;
    }
    .product-info {
        padding: 10px 20px 0 20px;
        margin-top: 15px;
    }
    .product-info h3 { font-size: 1.6em; }

    .product-card .button-group {
        justify-content: center;
        padding-bottom: 25px;
    }

    .cart-summary-wrapper {
        top: calc(var(--header-height) + 10px);
    }

    .cart-summary-wrapper h2 {
        font-size: 1.4em; /* Anpassung für Responsiveness */
    }
    .cart-item-info h3 {
        font-size: 1.6em; /* Anpassung für Responsiveness */
    }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }
    body { padding-top: var(--header-height); }
    .navigation-bar {
        position: fixed;
        flex-wrap: wrap;
        padding: 10px 20px;
    }
    .nav-links-container {
        display: none;
        width: 100%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: absolute;
        top: var(--header-height);
        left: 0;
        z-index: 999;
        transition: transform 0.3s ease-in-out;
        transform: translateY(-100%);
        padding: 20px 0;
    }
    .nav-links-container.open {
        display: block;
        transform: translateY(0);
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
    }
    .hamburger { display: flex; }
    .cart-icon { margin-right: 0; }

    .hero-section { height: 50vh; margin-bottom: 30px; }
    .hero-text { gap: 10px; }
    .hero-line {
        transform: none !important;
        animation: fadeIn 1.5s ease-out forwards;
    }
    .hero-line-1 {
        font-size: 1.2em;
        animation-delay: 0.5s;
    }
    .hero-line-2 {
        font-size: 2.5em;
        animation-delay: 1s;
    }
    .hero-line-3 {
        font-size: 0.8em;
        animation-delay: 1.5s;
    }
    .category-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: -20px;
        margin-bottom: 30px;
    }
    .category-button {
        width: 80%;
        max-width: 300px;
    }
    .product-gallery { grid-template-columns: 1fr; gap: 30px; }
    .product-card {
        max-width: 100%;
        margin: 0;
    }
    .product-card-img-container {
        height: auto;
        max-height: 400px;
        padding: 15px 15px 0 15px;
    }
    .product-info {
        padding: 10px 15px 0 15px;
        margin-top: 15px;
    }
    .product-card .button-group {
        justify-content: center;
        padding-bottom: 20px;
    }

    /* Warenkorb-Seite auf kleineren Bildschirmen */
    .cart-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .cart-items-list,
    .cart-summary-wrapper {
        flex: auto;
        width: 100%;
        position: static;
        top: auto;
    }
    .cart-item {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .cart-item-image-link {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
        align-self: center;
    }
    .cart-item-details {
        grid-template-columns: 1fr auto;
        width: 100%;
        gap: 5px 10px;
    }
    .cart-item-info {
        align-items: flex-start;
    }
    .cart-item-info h3 {
        font-size: 1.5em; /* Anpassung für Responsiveness */
    }
    .cart-item-quantity {
        justify-content: flex-start;
        margin-top: 5px;
    }
    .cart-item-price {
        grid-column: 2 / 3;
        grid-row: 1 / span 2;
        text-align: right;
        justify-content: flex-end;
        padding-left: 0;
        align-self: center;
    }
    .cart-item-actions {
        grid-column: 1 / span 2;
        text-align: right;
        margin-top: 10px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-info, .footer-links, .footer-social {
        min-width: auto;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-links ul, .footer-social ul {
        padding-left: 0;
    }

    .cart-summary-wrapper h2 {
        font-size: 1.3em; /* Anpassung für Responsiveness */
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Für visuelle Trennung der Meta-Informationen (Produktdetail-Seite) */
.meta-separator {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Anpassung für kleinere Bildschirme, falls der Separator zu dominant ist */
@media (max-width: 768px) {
    .meta-separator {
        width: 100%;
        margin: 6px 0;
    }
}