/* Ürün Sayfasına Özel Stiller */
.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    /* Okan'ım, navigasyon ile aradaki boşluğu azaltmak için margin-top'ı -20px yaptım */
    margin: -45px auto 30px; 
    justify-content: space-between;
    max-width: 1200px;
    padding: 0 20px;
}

/* Sayfadaki H1 başlığının boşluğunu da biraz daraltalım ki tam otursun */
h1 {
    margin-bottom: 10px !important;
}

.product-images {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.product-images .zoom-container {
    width: 100%;
}

.product-images .zoom-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.product-info {
    flex: 1 1 400px;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

.product-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00b0ff;
}

.product-info p,
.product-info p strong,
.product-info ul li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #EEEEEE;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.product-info ul.static-features-list li strong,
#cbn_yuksekligi_gosterge strong,
#elmas_yuksekligi_gosterge strong {
    color: #00b0ff;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #EEEEEE;
    margin-bottom: 20px;
}

.price span {
    color: #00b0ff;
}

.stock-info {
    font-size: 1.1em;
    color: #00b0ff;
    margin-bottom: 20px;
}

.options {
    margin-bottom: 20px;
}

.options label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #00b0ff;
}

.options select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    font-size: 1.1em;
    background-color: #333;
    color: #fff;
    appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2C197.4L159.9%2C69.8c-2.9-2.9-7.7-2.9-10.6%2C0L5.4%2C197.4c-2.9%2C2.9-2.9%2C7.7%2C0%2C10.6l10.6%2C10.6c2.9%2C2.9%2C7.7%2C2.9%2C10.6%2C0l117-117l117%2C117c2.9%2C2.9%2C7.7%2C2.9%2C10.6%2C0l10.6-10.6C289.9%2C205.1%2C289.9%2C200.3%2C287%2C197.4z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}

.options select:focus {
    outline: none;
    border-color: #00b0ff;
    box-shadow: 0 0 5px rgba(0, 176, 255, 0.3);
}

.order-note {
    margin-top: 20px;
}

.order-note label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #00b0ff;
}

.order-note textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    font-size: 1.1em;
    resize: vertical;
}

/* BUTONLAR - 2 YAN YANA + 1 ALTA */
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
    align-items: center;
}

.button-container .add-to-cart,
.button-container .whatsapp-button {
    flex: 1 1 48%;
    min-width: 150px;
    max-width: 220px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.button-container .view-cart-button {
    flex: 1 1 100%;
    min-width: 300px;
    max-width: 460px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.add-to-cart {
    background-color: #2ecc71;
    color: white;
}

.add-to-cart:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.whatsapp-button {
    background-color: #3498db;
    color: white;
}

.whatsapp-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.view-cart-button {
    background-color: #FFA000;
    color: white;
}

.view-cart-button:hover {
    background-color: #cc8000;
    transform: translateY(-2px);
}

.view-cart-button img {
    width: 24px;
    height: 24px;
}

.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.zoom-lens {
    position: absolute;
    border: 2px solid #00b0ff;
    border-radius: 50%;
    cursor: zoom-in;
    display: none;
    width: 50px;
    height: 50px;
    pointer-events: none;
}

.static-features-list + #cbn_yuksekligi_gosterge {
    margin-top: 0;
}

#cargo-info.cargo-info-left {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 176, 255, 0.2);
    margin-top: 0;
    max-width: 1200px;
    margin-left: 0;
    margin-right: auto;
    color: #EEEEEE;
}

#cargo-info h3 {
    color: #00b0ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#cargo-info p,
#cargo-info ul li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

#cargo-info ul {
    list-style: none;
    padding-left: 0;
}

#cargo-info ul li {
    position: relative;
    padding-left: 20px;
}

#cargo-info ul li:before {
    content: "✔";
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

#cargo-info strong {
    color: #00b0ff;
    font-weight: bold;
}

/* Pop-up Stilleri */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a, #333);
    padding: 12px;
    border: 2px solid #00FFFF;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 255, 255, 0.3);
    z-index: 1000;
    max-width: 360px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    color: #fff;
    text-align: left;
    animation: fadeIn 0.3s ease-in-out;
}

.popup h2.popup-title {
    margin: 0 0 6px;
    font-size: 1.1em;
    color: #00FFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.popup p.model-no,
.popup p.product-name,
.popup p.order-note,
.popup p.option-item {
    font-size: 0.85em;
    color: #ccc;
    margin: 2px 0;
    line-height: 1.2;
}

.popup p strong {
    color: #00FFFF;
}

.popup .options-list {
    margin: 6px 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.popup .button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 8px;
    gap: 6px;
}

.popup .close-button,
.popup #view-cart-button {
    flex: 1;
    padding: 6px;
    margin: 0;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.8em;
    transition: transform 0.2s ease, background-color 0.3s ease;
    text-align: center;
}

.popup .close-button {
    background-color: #4CAF50;
    color: #fff;
}

.popup .close-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.popup #view-cart-button {
    background-color: #00b0ff;
    color: #fff;
}

.popup #view-cart-button:hover {
    background-color: #0099e6;
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Düzenlemeler */
@media (max-width: 1024px) {
    .product-details {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-details {
        flex-direction: column;
        gap: 15px;
        margin-top: -10px; /* Mobilde boşluk ayarı */
    }

    .product-images,
    .product-info {
        min-width: 100%;
        flex: 1 1 auto;
    }

    .product-info p,
    .product-info ul li,
    .price,
    .stock-info,
    .order-note {
        text-align: center;
    }

    .button-container {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 20px;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
    }

    .button-container .add-to-cart,
    .button-container .whatsapp-button {
        flex: 1 1 48%;
        min-width: 140px;
        max-width: 48%;
        padding: 12px 16px;
        font-size: 0.95em;
        font-weight: bold;
    }

    .button-container .view-cart-button {
        flex: 1 1 100%;
        min-width: 280px;
        max-width: 100%;
        padding: 14px 18px;
        font-size: 1em;
        font-weight: bold;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .button-container .add-to-cart,
    .button-container .whatsapp-button {
        flex: 1 1 100%;
        max-width: 100%;
        font-size: 0.9em;
        padding: 11px 14px;
    }

    .button-container .view-cart-button {
        font-size: 0.95em;
        padding: 12px 16px;
    }

    .product-info h2 {
        font-size: 1.6rem;
    }

    .price {
        font-size: 1.6rem;
    }
}