/* General body style */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #9b8d52, #2e3c55);
    color: #e0d9ae;
    margin: 0;
    padding: 0;
}



/* Header */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #2e3c55;
    color: #e0d9ae;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 100px;
    padding-bottom: 20px;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.header-right-symbol {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 20px;
}

.header-right-symbol li {
    list-style: none;
    display: inline-block;
}

.header-right-symbol li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: #e0d9ae;
    padding: 10px;
}

.header-right-symbol li a:hover {
    color: #9b8d52;
}

/* search */

.search-btn {
    background-color: transparent; /* Transparenter Hintergrund */
    color: #e0d9ae; /* Textfarbe weiß */
    border: none; /* Kein Rahmen */
    font-size: 20px; /* Schriftgröße */
    margin-left: 20px; /* Abstand nach links */
    cursor: pointer; /* Zeigt den Cursor als Pointer an */
}

.search-btn:hover {
    color: #9b8d52; /* Textfarbe hellgrün beim Hover */
}

/* search input */
.search-input {
    display: none; /* Versteckt das Eingabefeld initial */
    margin-left: 10px;
}

#search-field {
    font-size: 16px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #e0d9ae;
    background-color: transparent;
    color: #e0d9ae;
}

#search-field::placeholder {
    color: #e0d9ae;
}

#search-field:focus {
    outline: none;
    border-color: #9b8d52;
}


/* Main container */
#cart-container {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 250px;
    padding-bottom: 100px;
    gap: 30px;
}

/* Cart items section */
.cart-items-section {
    width: 80%;
    background-color: #f3f4f6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #2e3c55;
}

.item-title-container {
    text-align: center;
    margin-bottom: 10px;
}

.cart-item-title {
    font-size: 1.5rem;
    color: #2e3c55;
    font-weight: bold;
}

.cart-items-section h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #2e3c55;
}

.item-count {
    font-size: 1.1rem;
    color: #9b8d52;
    margin-bottom: 20px;
}

/* Cart item layout */
.cart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #9b8d52;
}

.item-title-container {
    text-align: center;
}

.cart-item-title {
    font-size: 1.5rem;
    color: #2e3c55;
    font-weight: bold;
    margin-bottom: 10px;
}

.item-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%; /* Ensures items stretch across the row */
}

.cart-item-image {
    width: 150px; /* Größeres Bild */
    height: auto;
    border-radius: 8px;
}

.item-options {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #b89b61;
    background-color: transparent;
    border-radius: 4px;
}

.quantity {
    display: inline-block;
    width: 30px;
    text-align: center;
    font-weight: bold;
}

.item-price {
    font-weight: bold;
    margin-left: auto;
}

.remove-item {
    background-color: #b89b61; /* Goldene Farbe passend zum Design */
    color: #fff; /* Weißer Text für guten Kontrast */
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

.remove-item:hover {
    background-color: #9b8d52; /* Etwas dunklerer Goldton beim Hover */
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
}

.remove-item:active {
    background-color: #826a45; /* Noch dunkler beim Klick */
    transform: scale(0.95); /* Leichte Verkleinerung beim Klick */
}



/* Summary Section */
.summary-section {
    width: 30%;
    background-color: #f3f4f6;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #2e3c55;
}

.summary-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.summary-detail p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.total-price {
    font-weight: bold;
    font-size: 1.3rem;
    color: #9b8d52;
    margin-top: 20px;
}

.checkout-btn,
.guest-checkout-btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background-color: #9b8d52;
    color: #2e3c55;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.checkout-btn:hover,
.guest-checkout-btn:hover {
    background-color: #b89b61;
}

/* Tooltip container */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-top: 10px;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tooltip arrow */
.tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Show the tooltip on hover */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Back link */
.back-link {
    display: inline-block;
    color: #9b8d52;
    font-size: 1rem;
    margin-top: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: #b89b61;
}






/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align */
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0d9ae; /* Optional separator */
    padding-left: 50px;
}

.language-selector .headline {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e0d9ae; /* Matching the text color */
    text-align: left;
    width: 100%; /* Takes full width */
}

.language-selector img.flag {
    width: 36px;
    height: 24px;
    margin-right: 12px; /* Space between flag and text */
}

.language-selector p, .language-selector a {
    font-size: 18px;
    color: #e0d9ae;
    margin: 0; /* Remove bottom margin */
}

.language-selector p {
    margin-right: 10px; /* Small space between elements */
}

.language-selector a {
    color: #e0d9ae;
    text-decoration: none;
    padding-left: 10px; /* Add space to the left of the link */
}

.language-selector a:hover {
    text-decoration: underline;
    color: #9b8d52;
}

.footer-headline {
    font-size: 30px;
    color: #e0d9ae;
    margin-bottom: 20px;
    padding-left: 50px;
}

/* Footer General Layout */
footer {
    background-color: #2e3c55;
    padding: 40px 0;
    color: #e0d9ae;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Schattierung für mehr Tiefe */
    flex-wrap: wrap;
}

.footer-top {
    border-bottom: 1px solid #e0d9ae;
    margin-bottom: 20px;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

footer .col {
    padding: 0 20px;
    flex-direction: column; /* Elemente untereinander anordnen */
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .logo {
    margin-bottom: 20px;
    max-width: 200px;
}

footer h4 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p, footer a {
    font-size: 18px;
    margin-bottom: 10px;
    color: #e0d9ae;
    text-decoration: none;
    transition: color 0.3s ease;
    flex-direction: column; /* Elemente untereinander anordnen */
}

footer a:hover {
    color: #9b8d52;
}

.footer-container .icons i {
    font-size: 20px;
    margin-right: 10px;
    transition: color 0.3s ease;
    cursor: pointer;
    flex-direction: column; /* Elemente untereinander anordnen */
}

.footer-container .icons i:hover {
    color: #9b8d52;
}

footer .icons {
    display: flex;
    margin-top: 10px;
}

footer .copyright {
    text-align: center;
    font-size: 14px;
    color: #e0d9ae;
    border-top: 1px solid #e0d9ae;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-logo {
    text-align: center; /* Zentriert das Bild horizontal */
}

.footer-logo img {
    display: inline-block;
    max-width: 30%; /* Verkleinert das Logo auf 50% seiner Originalgröße */
    height: auto;
}
