/* Product Detail Page */
.product-detail {
    background-color: white;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-nav {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #2d5a2d;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1a3d1a;
}

.back-arrow {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.product-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding: 1rem 0;
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 600;
    color: #2d5a2d;
    margin-bottom: 2rem;
}

.product-detail-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: fit-content;
}

.quantity-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    color: #2d5a2d;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #f7fafc;
}

.quantity-input {
    border: none;
    padding: 0.75rem;
    text-align: center;
    font-size: 1rem;
    width: 80px;
    outline: none;
}

.cta-button {
    background-color: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.cta-button:hover {
    background-color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-title {
        font-size: 2.2rem;
    }
    
    .product-detail-price {
        font-size: 1.8rem;
    }
    
    .product-detail-description {
        font-size: 1rem;
    }
    
    .product-detail-image {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 1.5rem 0;
    }
    
    .product-detail-container {
        padding: 0 1.5rem;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-title {
        font-size: 2rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .product-detail-description {
        font-size: 0.95rem;
    }
    
    .product-detail-image {
        height: 350px;
    }
    
    .product-detail-info {
        padding: 0.5rem 0;
    }
    
    .quantity-controls {
        width: 100%;
        max-width: 200px;
    }
    
    .cta-button {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 1rem 0;
    }
    
    .product-detail-container {
        padding: 0 1rem;
    }
    
    .back-nav {
        margin-bottom: 1.5rem;
    }
    
    .back-link {
        font-size: 0.9rem;
    }
    
    .back-arrow {
        font-size: 1rem;
    }
    
    .product-detail-content {
        gap: 1.5rem;
    }
    
    .product-detail-title {
        font-size: 1.75rem;
    }
    
    .product-detail-price {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .product-detail-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .product-detail-image {
        height: 280px;
    }
    
    .quantity-selector {
        margin-bottom: 1.5rem;
    }
    
    .quantity-label {
        font-size: 0.9rem;
    }
    
    .quantity-btn {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }
    
    .quantity-input {
        padding: 0.5rem;
        font-size: 0.9rem;
        width: 60px;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
} 