:root {
    --primary-color: #4a90e2;
    --text-color: #333;
    --background-color: #fff;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.header {
    padding: 1rem 0;
    margin-bottom: 0.25rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.header-logo {
    width: 150px;
    height: auto;
}

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

.hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
    background-color: #f8f9fa;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 0.8;
}

.product-info {
    padding-top: 0;
}

.product-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 500;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background-color: #2da660;
    border-radius: 50%;
    display: inline-block;
}

.buy-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.buy-button:hover {
    background-color: #357abd;
}

.section-title {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: var(--text-color);
    font-weight: 600;
}

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

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

.features-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.shipping-info {
    margin-top: 2rem;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin: 0.5rem 0;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.heart {
    color: #ff0000;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #999;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
}

/* Product Page Specific Styles */
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    pointer-events: none;
}

.video-player {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.video-player.active {
    display: block;
}

.main-image.hidden {
    display: none;
}

/* Confirmation Page Styles */
.confirmation-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.confirmation-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.confirmation-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirmation-details {
    text-align: left;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.confirmation-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.confirmation-details ul {
    list-style: none;
    padding: 0;
}

.confirmation-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.confirmation-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2da660;
    font-weight: bold;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #357abd;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-info {
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .confirmation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .confirmation-content {
        padding: 1rem 0;
    }
    
    .confirmation-icon {
        font-size: 3rem;
    }
    
    .confirmation-content h2 {
        font-size: 1.5rem;
    }
} 