﻿header{
    width:100%;
    height:60px;
    background:#000;
}

.header-container{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-left:10px;
    padding-right:10px;
}

.logo img{
    height:120px; /* istediğin boyuta göre değiştir */
    width:auto;
    display:block;
	margin-left:15px;
}
 .product-card {
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            max-width: 800px;
            margin: auto;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            font-size: 22px;
            margin-bottom: 10px;
        }
        .brand {
            color: #555;
            margin-bottom: 15px;
        }
        .info p {
            margin: 5px 0;
        }
        .features {
            margin-top: 15px;
        }
        .features ul {
            padding-left: 20px;
        }
.product-gallery {
    width: 100%;
}

.gallery-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* SOL THUMBNAIL BAR */
.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* THUMBNAIL KUTULAR */
.thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}

.thumbnails img:hover {
    border-color: #f90;
    transform: scale(1.05);
}

/* ANA GÖRSEL */
.main-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.buy {
    margin-top: 20px;
	text-align:center;
}
.buy-btn {
    display: block;
    width: 80%;
    margin: 20px auto 0 auto; /* ortalar */
    font-size:21px!important;
    background: #ff9900;
    color: #111;
    font-weight: bold;
    padding: 14px 0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    text-align: center;

    transition: 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.buy-btn:hover {
    background: #e88a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.buy-btn:active {
    transform: scale(0.98);
}
.stars {
    color: #ff9900;
    font-size: 18px;
}

.rate {
    color: #555;
    font-size: 14px;
    margin-left: 5px;
}
.payment-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.payment-box h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: #ff9900;
    box-shadow: 0 0 5px rgba(255,153,0,0.3);
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #ff9900;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #e88a00;
    transform: translateY(-1px);
}
#cardim img {
    width: 90%;
    height: auto;
    display: block;
    margin: auto;
}

.card-img {
    width: 100%;
    max-width: 90%;
}

/* CARD CONTAINER (ORANLI) */
.card-container {
    width: 90%;
    aspect-ratio: 16 / 10;
    perspective: 100%;
    position: relative;
    margin: auto;
}

/* CARD FRONT/BACK */
.card {
    width: 100%;
    height: 100%;
    position: absolute;

    backface-visibility: hidden;
    border-radius: 4%;
    transition: transform 0.8s ease;
}

/* FRONT */
.front {
    transform: rotateY(0deg);
}

/* BACK */
.back {
    transform: rotateY(180deg);
}

/* FLIP */
.card-container.flipped .front {
    transform: rotateY(180deg);
}

.card-container.flipped .back {
    transform: rotateY(360deg);
}
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-family: Arial, sans-serif;
}
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 
.similar-products{
    margin-top:40px;
    padding:20px;
    background:#fff;
}

.similar-products h2{
    font-size:22px;
    font-weight:700;
    margin-bottom:20px;
}

.slider-container{
    position:relative;
}

.slider-wrapper{
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

.slider-wrapper::-webkit-scrollbar{
    display:none;
}

.products-slider{
    display:flex;
    gap:18px;
    width:max-content;
}

.product-item{
    width:190px;
    min-width:190px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:12px;
    background:#fff;
}

.product-item img{
    width:100%;
    height:150px;
    object-fit:contain;
}

.product-item h3{
    font-size:15px;
    margin-top:10px;
    height:40px;
    overflow:hidden;
}

.mini-stars{
    color:#ffa41c;
    font-size:14px;
}

.mini-stars span{
    color:#007185;
}

.price{
    font-size:20px;
    font-weight:bold;
    color:#b12704;
}

.delivery{
    font-size:13px;
    color:#565959;
}

.small-buy-btn{
    display:block;
    text-align:center;
    background:#ffd814;
    color:#111;
    padding:7px;
    border-radius:20px;
    text-decoration:none;
    font-size:14px;
}
.slider-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:0;
    border:none;
    border-radius:4px;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.25);
    cursor:pointer;

    font-size:24px;
    font-weight:bold;
    line-height:1;

    z-index:20;
    transition:.25s;
}

.slider-arrow:hover{
    background:#f3f3f3;
    transform:translateY(-50%) scale(1.08);
}
.left{
    left:-20px;
}

.right{
    right:-20px;
}
