/* ------------------- Genel Ayarlar ------------------- */
body {
    font-family: Arial, sans-serif;
    background-color: #fff8e1;
    margin: 0;
    padding: 0;
}

/* ------------------- Header ------------------- */
header {
    background-color: #ae8d46;
    padding: 10px;
    text-align: center;
}

/* ------------------- Sepet İkonu ------------------- */
#cart-icon {
    position: fixed;
    top: 30px;
    right: 10px;
    font-size: 32px;
    cursor: pointer;
    z-index: 1001;
}

/* ------------------- Kayar Menü ------------------- */
#top-bar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff8e1;
}

#menu-toggle {
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 15px;
}

#side-menu {
    position: fixed;
    top: 90px;
    left: -220px;
    width: 190px;
    background-color: #fff8e1;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease-in-out;
    z-index: 2000;
}

#side-menu a {
    padding: 15px 25px;
    text-decoration: none;
    color: #ae8d46;
    font-weight: bold;
}

#side-menu a:hover {
    background-color: #fff8e1;
}

#side-menu hr {
    margin: 0;
    border: none;
    border-top: 1px solid #ae8d46;
}

#close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ae8d46;
}

/* ------------------- Logo ------------------- */
#site-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 40px;
}

#site-logo {
    height: 90px;
    object-fit: contain;
}

/* ------------------- Slider ------------------- */
#slider-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

#slider-container img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    opacity: 0.75;
    transition: opacity 0.5s ease-in-out;
}

#slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #faf8f3;
    font-family: 'Pacifico', cursive;
    font-size: 28px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
}


#intro-text {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
    font-size: 18px;
    color: #5c4b2c;
    font-family: Georgia, serif;
    line-height: 1.6;
}

#products-title {
    text-align: center;
    color: #81662c;
    font-size: 26px;
    margin-top: 80px;
    font-family: Georgia, serif;
}


/* ------------------- Sepet Paneli ------------------- */
#cart-popup {
    position: fixed;
    top: 80px;
    right: -500px;
    width: 320px;
    max-height: 80vh;
    background: #faf8f3;
    border: 1px solid #e0d6c7;
    border-radius: 10px 0 0 10px;
    padding: 20px;
    box-shadow: -4px 4px 14px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;}

#cart-items {
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    color: #5f4b1b;
    font-family: Arial, sans-serif;}

#cart-items::-webkit-scrollbar {
    width: 6px;
}
#cart-items::-webkit-scrollbar-thumb {
    background-color: #d6c2a4;
    border-radius: 3px;
}

#cart-total {
    font-weight: bold;
    margin-top: 16px;
    font-size: 16px;
    color: #5f4b1b;
    font-family: Arial, sans-serif;
}

/* -------- Sepet Butonları -------- */
#clear-cart,
#checkout {
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #fff8e1;
    border: 1px solid #5f4b1b;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
    color: #4d3b00;
}

#clear-cart:hover,
#checkout:hover {
    background-color: #fff2c0;
}

/* -------- Ürün Kartı -------- */
.cart-item-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.cart-item-top img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-item-top strong {
    font-size: 15px;
    color: #5f4b1b;
}

.qty-btn {
    padding: 4px 8px;
    font-size: 14px;
    background-color: #fdf5e6;
    border: 1px solid #cbb484;
    border-radius: 4px;
    cursor: pointer;
    color: #5f4b1b;
}

.remove-btn {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #cbb484;
    background-color: #fdf5e6;
    border-radius: 4px;
    cursor: pointer;
    color: #5f4b1b;
}

.item-total {
    margin: 6px 0;
    color: #5f4b1b;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.cart-divider {
    border: none;
    border-top: 1px solid #d6c2a4;
    margin: 10px 0;
}

/* Eski fiyat çizgili, yeni fiyat kırmızı */
.original-price {
    text-decoration: line-through;
    color: inherit;
    margin-right: 6px;
}
.discounted-price {
    color: red;
    font-weight: bold;
}

