* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b19cd9;
    --secondary-color: #d8bfd8;
    --accent-color: #e6e6fa;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --section-bg: #f8f9fa;
    --hero-gradient: linear-gradient(135deg, #e6e6fa 0%, #d8bfd8 50%, #b19cd9 100%);
    --button-gradient: linear-gradient(135deg, #b19cd9, #d8bfd8);
    --shadow-color: rgba(177, 156, 217, 0.3);
}

[data-theme="dark"] {
    --primary-color: #9d7ce8;
    --secondary-color: #7c3aed;
    --accent-color: #4c1d95;
    --text-color: #e5e7eb;
    --bg-color: #1f2937;
    --card-bg: #2d3748;
    --section-bg: #111827;
    --hero-gradient: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4c1d95 100%);
    --button-gradient: linear-gradient(135deg, #7c3aed, #9d7ce8);
    --shadow-color: rgba(124, 58, 237, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--button-gradient);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.back-button {
    background: var(--button-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

.product-hero {
    background: var(--hero-gradient);
    padding: 5rem 0;
    text-align: center;
    color: var(--text-color);
}

.product-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-details {
    padding: 5rem 0;
    background: var(--section-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-image {
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--button-gradient);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    position: relative;
}

.product-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.product-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.product-info p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    margin: 2rem 0;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.price-section {
    text-align: center;
    margin: 2rem 0;
}

.order-button {
    background: var(--button-gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .product-info h2 {
        font-size: 2rem;
    }
}

