body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #fafafa;
    color: #333;
    -webkit-font-smoothing: antialiased;
}


img {
    max-width: 100%;
    height: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
    cursor: pointer;
    text-decoration: none;
    margin: 0;
}

.logo span {
    color: #f27a1a;
}

.arama-cubugu {
    width: 600px;
    height: 44px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.arama-cubugu:focus {
    background-color: white;
    border-color: #f27a1a;
    box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.1);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.auth,
.sepet {
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.auth:hover,
.sepet:hover {
    color: #f27a1a;
    background-color: rgba(242, 122, 26, 0.05);
}

.auth a,
.sepet a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kategori-navbar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 14px 0;
    background-color: white;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.kategori-navbar a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s;
}

.kategori-navbar a:hover {
    color: #f27a1a;
}

.kategori-navbar a.active {
    background-color: #f27a1a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(242, 122, 26, 0.3);
}

.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 0;
}

.container-urunler {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
}

.container-urunler::-webkit-scrollbar {
    display: none;
}

.urun-card {
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.urun-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.urun-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid #f9f9f9;
    padding: 0;
    transition: transform 0.5s ease;
}

.urun-card:hover img {
    transform: scale(1.08);
}

.urun-bilgi {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.urun-bilgi h2 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.kart-fiyat {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 700;
    color: #f27a1a;
    display: flex;
    gap: 10px;
    align-items: center;
}

.kart-fiyat .eski {
    font-size: 13px;
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

.urun-card button,
.urun-ekle-btn {
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid #f27a1a;
    color: #f27a1a;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.urun-card button:hover {
    background-color: #f27a1a;
    color: white;
    box-shadow: 0 4px 10px rgba(242, 122, 26, 0.2);
}

.kaydir-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0.9;
}

.kaydir-btn:hover {
    background-color: #f27a1a;
    color: white;
    border-color: #f27a1a;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.kaydir-btn.sol {
    left: -25px;
}

.kaydir-btn.sag {
    right: -25px;
}

.toolbar {
    max-width: 1200px;
    margin: 30px auto 10px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.toolbar h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 10px 40px 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.custom-select:hover {
    border-color: #f27a1a;
    color: #f27a1a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f27a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    box-shadow: 0 4px 10px rgba(242, 122, 26, 0.1);
}

.custom-select:focus {
    border-color: #f27a1a;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.1);
}

.slider-baslik {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.kampanya-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px 60px;
    flex-wrap: wrap;
}

.kampanya-karti {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.kampanya-karti:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.kampanya-renk {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.urun-sayfasi {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.urun-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.ana-resim {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .ana-resim {
        height: 350px;
    }
}

.urun-baslik-kutu h1 {
    font-size: 28px;
    line-height: 1.3;
    color: #222;
}

.guncel-fiyat {
    font-size: 36px;
    color: #f27a1a;
    letter-spacing: -1px;
}

.urun-ekle-btn {
    height: 60px;
    font-size: 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f27a1a 0%, #e66a0a 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(242, 122, 26, 0.25);
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.urun-ekle-btn:hover {
    background: linear-gradient(135deg, #d86912 0%, #c45a08 100%);
    transform: translateY(-2px);
}

.sepet-sayfasi {
    padding: 40px 20px;
    background-color: #fafafa;
    min-height: 80vh;
}

.sepet-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.sepet-urunler h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.sepet-kart {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.sepet-kart:hover {
    border-color: #f27a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sepet-kart img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.sepet-detay {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sepet-fiyat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 100px;
}

.sepet-ozet {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 110px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.ozet-satir {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.ozet-satir.toplam {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 20px;
    color: #f27a1a;
}

.adet-kontrol {
    display: flex;
    align-items: center;
    gap: 5px;
}

.adet-kontrol button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adet-kontrol button:hover {
    border-color: #f27a1a;
    color: #f27a1a;
}

.sil-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sil-btn:hover {
    color: #e63946;
    text-decoration: underline;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-message {
    background-color: white;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid #f27a1a;
    animation: slideIn 0.3s ease-out forwards;
    opacity: 0;
    transform: translateX(100%);
}

.toast-message.hide {
    animation: slideOut 0.3s ease-in forwards;
}

.toast-icon {
    background-color: #f27a1a;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.site-footer {
    background-color: #333;
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-icerik {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-kolon {
    min-width: 200px;
}

.footer-kolon h4 {
    color: #f27a1a;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
}

.footer-kolon a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-kolon a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #777;
}

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    background-color: #f3f3f3;
    padding: 20px;
}

.auth-card {
    background-color: white;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 1px solid #eee;
}

.auth-card h2 {
    margin-top: 0;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fafafa;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #f27a1a;
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.1);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #f27a1a 0%, #e66a0a 100%);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.auth-links {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-links a {
    color: #f27a1a;
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border-left: 4px solid #c62828;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease-in-out;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 10px 15px;
    }

    .arama-cubugu {
        grid-column: 1 / 3;
        width: 100%;
        order: 2;
    }

    .kategori-navbar {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 15px;
        gap: 10px;
        scrollbar-width: none;
    }

    .kategori-navbar a {
        background-color: #f8f8f8;
        padding: 8px 16px;
        border-radius: 20px;
        border: 1px solid #eee;
        white-space: nowrap;
    }

    .kaydir-btn {
        display: none;
    }

    .slider-wrapper {
        margin: 0;
        padding: 0 15px;
    }

    .container-urunler {
        padding-left: 0;
        padding-right: 0;
    }

    .urun-container,
    .sepet-container,
    .iletisim-container,
    .profil-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .sepet-ozet {
        position: static;
    }
}

.iletisim-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.profil-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

@media (max-width: 768px) {

    .iletisim-container,
    .profil-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}