/* Product Page Styles */
.product-page {
    background: white;
    min-height: 100vh;
    padding: 20px 0;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* Product Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.product-title h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.product-subtitle {
    color: #666;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.best-price {
    background: linear-gradient(135deg, #f3e8ff 0%, #e879f9 100%);
    color: #a21caf;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-price {
    text-align: right;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #1e40af;
}

/* Product Content Layout */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Product Images */
.product-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image-container {
    width: 100%;
    max-width: 500px;
}

.yellow-background {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.product-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image {
    width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.guarantee-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e879f9 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #a21caf;
    text-align: center;
}

.shield-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.image-nav {
    position: absolute;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.image-nav:hover {
    background: #f3f4f6;
    color: #333;
}

.image-nav.prev {
    left: -60px;
}

.image-nav.next {
    right: -60px;
}

.image-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #1e40af;
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.option-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.learn-more {
    color: #1e40af;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
}

/* Phone Options */
.phone-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.phone-option.active {
    border-color: #1e40af;
    background: #f0f9ff;
}

.phone-option.premium {
    border-color: #7c3aed;
}

.phone-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.premium-badge {
    background: #7c3aed;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.phone-details {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 5px;
}

.phone-subtitle {
    color: #666;
    font-size: 14px;
}

/* Storage, Condition, Battery Options */
.storage-options, .condition-options, .battery-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.storage-option, .condition-option, .battery-option {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.storage-option.active, .condition-option.active, .battery-option.active {
    background: #1e40af;
    border-color: #1e40af;
    color: white;
}

.storage-option:hover, .condition-option:hover, .battery-option:hover {
    border-color: #1e40af;
    transform: scale(1.02);
}

.condition-description, .battery-description {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Product Summary */
.product-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #333;
    font-weight: 500;
}

.summary-price {
    font-size: 24px;
    font-weight: 700;
    color: #1e40af;
}

.summary-subtitle {
    color: #666;
    font-size: 12px;
}

.shipping-info {
    align-items: flex-start;
    gap: 10px;
}

.shipping-icon {
    font-size: 20px;
}

.shipping-text {
    color: #666;
    font-size: 14px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: #1e40af;
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
}

.btn-secondary {
    background: #0ea5e9;
    color: white;
}

.btn-secondary:hover {
    background: #0284c7;
}

/* Payment Info */
.payment-info {
    margin-top: 20px;
    padding: 15px;
    background: #fef7f7;
    border-radius: 8px;
}

.klarna-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.learn-more-link {
    color: #1e40af;
    text-decoration: underline;
}

/* What's Included */
.whats-included {
    margin-top: 20px;
    padding: 15px;
    background: #f0f9ff;
    border-radius: 8px;
}

.whats-included h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.included-icon {
    font-size: 16px;
}

/* Additional Info */
.additional-info {
    margin-top: 60px;
    text-align: center;
}

.additional-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .image-nav {
        display: none;
    }

    .storage-options, .condition-options, .battery-options {
        flex-direction: column;
    }

    .storage-option, .condition-option, .battery-option {
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 30px;
    }

    /* Enhanced Mobile Optimizations */
    .product-page {
        padding: 15px 0;
    }

    .product-title h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .product-subtitle {
        font-size: 14px;
    }

    .price-amount {
        font-size: 28px;
    }

    .yellow-background {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 350px;
    }

    .main-image {
        width: 250px;
        height: 320px;
    }

    .guarantee-badge {
        width: 70px;
        height: 70px;
        font-size: 11px;
        bottom: -15px;
        left: -15px;
    }

    .option-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .phone-option {
        padding: 12px;
    }

    .product-summary {
        padding: 15px;
        margin-top: 15px;
    }

    .summary-item {
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .summary-price {
        font-size: 22px;
    }

    .btn {
        padding: 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    .klarna-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        font-size: 13px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .product-title h1 {
        font-size: 24px;
    }

    .price-amount {
        font-size: 24px;
    }

    .yellow-background {
        padding: 20px 15px;
        max-width: 300px;
    }

    .main-image {
        width: 200px;
        height: 260px;
    }

    .guarantee-badge {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }

    .storage-option, .condition-option, .battery-option {
        padding: 10px 16px;
        font-size: 13px;
    }

    .summary-price {
        font-size: 20px;
    }
}
