/* Genel container */
.sepetim-container {
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.sepetim-row {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

/* Sol alan: müşteri bilgileri */
.sepetim-left {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.807);
}

.sepetim-title {
    font-size: 29px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Form yapısı */
.sepetim-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sepetim-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sepetim-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.sepetim-form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

.sepetim-form-group input,
.sepetim-form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.162);
    transition: box-shadow 0.3s ease;
}

.sepetim-form-group input:focus,
.sepetim-form-group textarea:focus {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.389);
    outline: none;
    border-color: #007b5e;
}

/* Sağ alan: sipariş özeti */
.sepetim-right {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.687);
}

/* Sipariş özeti başlığı */
.sepetim-summary-title {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Sipariş özeti kart listesi */
.sepetim-summary-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Her ürün için kart görünümü */
.sepetim-summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 3px 13px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Ürün bilgileri (sol) */
.sepetim-summary-info {
    display: flex;
    flex-direction: column;
    color: #444;
}

.sepetim-summary-info span:first-child {
    font-weight: bold;
    font-size: 16px;
}

.sepetim-summary-info span:last-child {
    font-size: 14px;
    color: #777;
    display: inline;
}

/* Fiyat bilgisi (sağ) */
.sepetim-summary-price {
    font-size: 16px;
    font-weight: bold;
    color: #007b5e;
    text-align: right;
    min-width: 80px;
}

/* Toplamlar */
.sepetim-summary-total {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 15px;
    color: #222;
    justify-content: space-between;

}

.sepetim-total {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.sepetim-total-gtoplam {
    font-size: 14px !important;
    font-weight: lighter;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: 400 !important;

}

/* Buton grubu */
.sepetim-button-group {
    display: inline-flex;
    gap: 5px;
    justify-content: space-between;
    margin-top: 30px;
}

/* Buton stili */
.sepetim-button-outline {
    display: inline-block;
    padding: 12px 20px;
    background-color: transparent;
    color: #007b5e;
    border: 2px solid #007b5e;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
    vertical-align: middle;
    height: 49px;
    text-align: center;
    margin-top: 21px;
}

.sepetim-button-outline:hover {
    background-color: #007b5e;
    color: white;
}

.sepetim-button {
    padding: 12px 20px;
    background-color: #007b5e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    height: 49px;
    transition: background-color 0.3s ease;
}

.sepetim-button:hover {
    background-color: #005f47;
}

/* ✅ Responsive ayarlar */
@media (max-width: 1080px) {
    .sepetim-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .sepetim-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .sepetim-button-outline,
    .sepetim-button {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .sepetim-container {
        margin-top: 90px;
    }

    .sepetim-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .sepetim-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .sepetim-button-outline,
    .sepetim-button {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 490px) {
    .sepetim-container {
        margin-top: 120px;
    }

    .sepetim-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .sepetim-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .sepetim-button-outline,
    .sepetim-button {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 293px) {
    .sepetim-container {
        margin-top: 260px;
    }

    .sepetim-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .sepetim-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .sepetim-button-outline,
    .sepetim-button {
        width: 100%;
        margin-top: 10px;
    }
}


/* Her ürün için kart görünümü (güncellenmiş) */
.sepetim-summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 3px 13px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.268);
    position: relative;
}

/* Alt şerit (ayırıcı çizgi) */
.sepetim-summary-card::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 10px;
    height: 1px;
    background-color: #fff;
    opacity: 0.6;
}

/* Fiyat bilgisi (sağ) - daha net hizalama */
.sepetim-summary-price {
    font-size: 16px;
    font-weight: bold;
    color: #007b5e;
    text-align: right;
    min-width: 80px;
    margin-left: auto;
}