@charset "utf-8";
/* CSS Document */
/* Header */
header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

header .logo img {
    max-width: 150px;
}

header .main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

header .main-nav ul li {
    margin-right: 20px;
}

header .main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

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

header .search-form {
    position: relative;
    margin-right: 20px;
}

header .search-form input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
}

header .search-form button {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
}

header .user-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #007bff;
}

header .user-links a:hover {
    color: #0056b3;
}
/*   /    Header */
/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 30px 20px;
}

footer .footer-container {
    display: flex;
    justify-content: space-between;
}

footer .footer-column {
    width: 23%;
}

footer .footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
}

footer .footer-column ul li {
    margin-bottom: 8px;
}

footer .footer-column ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

footer .footer-column ul li a:hover {
    color: #007bff;
}

footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

footer .footer-bottom a {
    text-decoration: none;
    color: #007bff;
}
/*   /   Footer */
/* Instagram Hikaye Başlıklarına Benzeyen Kaydırılabilir Alan */
.story-slider {
    margin: 20px 0;
    overflow-x: scroll;
    display: flex;
    gap: 20px;
}

.story-slider-container {
    display: flex; /* Bu, öğelerin yatayda sıralanmasını sağlar */
    gap: 10px;     /* Aralarındaki boşluğu ayarlar */
}

.story-slide {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-slide p {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}
/*   /   Instagram Hikaye Başlıklarına Benzeyen Kaydırılabilir Alan */
/* Büyük Slayt Alanı */
.slider {
    margin: 20px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container {
    display: flex;
    transition: all 0.5s ease;
}

.slide {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}
/*    /   Büyük Slayt Alanı */
/* Kategoriler Alanı */
.category-section {
    margin: 40px 0;
    padding: 20px;
    text-align: center;
}

.category-container {
    display: flex;
    justify-content: center; /* Öğeleri ortalar */
    gap: 20px; /* Aralarındaki boşluk */
}

.category-item {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item p {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}
/*    /     Kategoriler Alanı */

.product-listing {
    padding: 20px;
}

.product-listing h2 {
    text-align: center;
    margin-bottom: 20px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-card {
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    background-color: #fff;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}
/*urun_detay sayfası*/
.container {
    width: 80%;
    margin: auto;
    padding: 20px;
}
.urun-detay {
    display: flex;
    gap: 20px;
}
.urun-resim img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.urun-bilgi {
    flex: 1;
}
.urun-bilgi h1 {
    font-size: 24px;
}
.urun-fiyat {
    color: red;
    font-size: 20px;
    font-weight: bold;
}
.sepete-ekle {
    display: inline-block;
    background: green;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
.sepete-ekle:hover {
    background: darkgreen;
}


/* checkout */

.cart-thumb{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:6px;
    margin-right:10px;
}

.cart-product{
    display:flex;
    align-items:center;
    gap:10px;
}

.cart-table{
    width:100%;
}

.cart-header,
.cart-row{
    display:grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr .5fr;
    align-items:center;
    gap:10px;
    padding:10px 0;
}

.cart-header{
    font-weight:600;
    border-bottom:1px solid #eee;
}

.cart-row{
    border-bottom:1px solid #f1f1f1;
}

.qty-input{
    width:60px;
}

.btn-update{
    margin-left:6px;
}

.cart-summary{
    max-width:320px;
    margin-left:auto;
    margin-top:20px;
}

.cart-summary div{
    display:flex;
    justify-content:space-between;
    margin-bottom:6px;
}

.cart-summary .total{
    font-weight:700;
    border-top:1px solid #ddd;
    padding-top:6px;
}

.btn-next{
    margin-top:20px;
    background:#198754;
    color:#fff;
    padding:12px 18px;
    border:none;
    border-radius:6px;
}







/*   /   sepet_detay.php*/


/*   /   urun_detay sayfası*/
/*sepet_detay.php*/
/*.container { 
    width: 80%; 
    margin: auto;
    padding: 20px;
}
.section { 
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ccc; 
    border-radius: 5px; 
}
.address-section, .cargo-section, .whatsapp-section, .order-summary { 
    margin-bottom: 20px; 
}
.address-form { 
    display: none; 
    margin-top: 10px; 
}
.order-summary table { 
    width: 100%; 
    border-collapse: collapse; 
}
.order-summary th, .order-summary td 
{ 
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: center; 
}
.order-summary th { 
    background-color: #f2f2f2; 
}
.button { 
    display: inline-block; 
    padding: 10px 20px; 
    background: green; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 5px; 
}*/
/*   /   sepet_detay.php*/


.auth-container {
    max-width: 420px;
    margin: 60px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

.auth-form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
}

.auth-form input:focus {
    border-color: #2563eb;
    outline: none;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.auth-form button:hover {
    background: #1e40af;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

.auth-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}
