.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.product-header h1 {
    margin: 0;
    font-size: 2rem;
    color: #333;
}

body.dark-mode .product-header h1 {
    color: #fff;
}

.product-video {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.product-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
    display: inline-block;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.gallery-thumbnail {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnail.video-thumb {
    position: relative;
}

.gallery-thumbnail.video-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

body.dark-mode .product-description {
    color: #ddd;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

body.dark-mode .product-features h3 {
    color: #fff;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

body.dark-mode .features-list li {
    color: #ddd;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* Ek Seçenekler */
.ek-secenekler {
    margin: 20px 0;
    width: 100%;
}

.ek-secenekler h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

.secenek-item {
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.checkbox-label:hover {
    border-color: #629660;
    box-shadow: 0 4px 8px rgba(98, 150, 96, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #629660;
}

.checkbox-text {
    flex: 1;
    font-size: 1rem;
    color: #333;
}

.option-note {
    font-size: 0.85rem;
    font-style: italic;
    color: #888;
}

.option-price {
    font-weight: 600;
    color: #629660;
}

/* Dark mode styles */
body.dark-mode .ek-secenekler h3 {
    color: #fff;
}

body.dark-mode .checkbox-label {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-mode .checkbox-text {
    color: #ddd;
}

body.dark-mode .option-price {
    color: #7ab97a;
}

/* Remove old styles */
.duration-options,
.password-protection {
    display: none;
}

.price-purchase-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.purchase-section {
    margin: 0;
    order: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #629660;
    margin: 0;
    order: 2;
}

.purchase-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #629660;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.purchase-btn:hover {
    background-color: #4a7a48;
}

/* Karanlık tema için fiyat ve satın al butonu stilleri */
body.dark-mode .price-purchase-container {
    background: #2a2a2a;
}

body.dark-mode .product-price {
    color: #8bec86;
}

body.dark-mode .purchase-btn {
    background-color: #629660;
}

body.dark-mode .purchase-btn:hover {
    background-color: #4a7a48;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #629660;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #4a7a48;
}

@media (max-width: 768px) {
    .product-page {
        max-width: 85%;
        margin: 0 auto;
        padding: 1rem;
        border-radius: 8px;
        position: relative;
        left: 0;
        right: 0;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }

    .product-header h1 {
        font-size: 1.5rem;
        margin: 0;
    }

    .product-content {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .product-gallery {
        width: 100%;
        min-width: unset;
    }

    .gallery-main {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        margin-bottom: 0.5rem;
    }

    .gallery-thumbnails {
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.5rem 0;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
    }

    .product-info {
        width: 100%;
        min-width: unset;
    }

    .product-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .product-features h3 {
        font-size: 1.2rem;
    }

    .features-list li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .price-purchase-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem;
        margin-top: 1rem;
        background: #f8f8f8;
        border-radius: 8px;
    }

    .product-price {
        font-size: 1.5rem;
        text-align: left;
        margin: 0;
        flex: 1;
    }

    .purchase-btn {
        width: auto;
        min-width: 120px;
        text-align: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Dark mode adjustments for mobile */
    body.dark-mode .product-page {
        background: #1a1a1a;
    }

    body.dark-mode .product-header {
        border-bottom: 1px solid #333;
    }

    body.dark-mode .gallery-thumbnail {
        border: 1px solid #333;
    }

    body.dark-mode .price-purchase-container {
        background: #2a2a2a;
    }

    .duration-select,
    .password-checkbox {
        padding: 10px;
    }
    
    .duration-select,
    .password-label {
        font-size: 0.9rem;
    }
}

/* Additional optimizations for very small screens */
@media (max-width: 480px) {
    .product-page {
        max-width: 85%;
        margin: 0 auto;
    }

    .product-header h1 {
        font-size: 1.3rem;
    }

    .gallery-thumbnail {
        width: 50px;
        height: 50px;
        flex: 0 0 50px;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-features h3 {
        font-size: 1.1rem;
    }

    .features-list li {
        font-size: 0.85rem;
    }

    .price-purchase-container {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .purchase-btn {
        min-width: 100px;
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .duration-select,
    .password-checkbox {
        padding: 8px;
    }
    
    .duration-select,
    .password-label {
        font-size: 0.85rem;
    }
}

/* Karanlık Tema Stilleri */
body.dark-mode .product-page {
    background: #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-header {
    border-bottom: 1px solid #333;
}

body.dark-mode .product-description p {
    color: #e0e0e0;
}

body.dark-mode .product-features h3 {
    color: #fff;
}

body.dark-mode .features-list li {
    color: #e0e0e0;
}

body.dark-mode .product-price {
    color: #fff;
}

body.dark-mode .purchase-btn {
    background-color: #629660;
    color: white;
}

body.dark-mode .purchase-btn:hover {
    background-color: #4a7a48;
}

body.dark-mode .gallery-thumbnail {
    border: 2px solid #333;
}

body.dark-mode .gallery-thumbnail:hover {
    border-color: #629660;
}

/* Dark mode styles */
body.dark-mode .duration-select {
    background-color: #2a2a2a;
    border-color: #444;
    color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' 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");
}

body.dark-mode .duration-select option {
    background-color: #2a2a2a;
    color: #fff;
}

body.dark-mode .password-checkbox {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-mode .password-label {
    color: #fff;
}

body.dark-mode .password-price {
    color: #8bec86;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 0.9em;
}

.discounted-price {
    color: #629660;
    font-weight: bold;
    font-size: 1.2em;
} 