/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #1A2029;
    background-color: #FFFFFF;
}

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

/* Header */
.header {
    background: #1A2029;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF7028;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: #FF7028;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF7028 0%, #FF8A50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #1A2029;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: white;
    color: #1A2029;
    border-color: #1A2029;
    transform: translateY(-2px);
}

/* Product Section */
.product-section {
    padding: 4rem 0;
    background: #F8F9FA;
}

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

.product-image {
    text-align: center;
}

.main-product-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

.image-thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border: 2px solid #FF7028;
}

/* Product Details */
.product-details h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1A2029;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #FF7028;
    margin-bottom: 2rem;
}

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

.product-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1A2029;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    color: #FF7028;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1A2029;
}

.quantity-selector select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.quantity-selector select:focus {
    outline: none;
    border-color: #FF7028;
}

/* Purchase Section */
.purchase-section {
    margin-bottom: 2rem;
}

.add-to-cart-btn,
.payment-button {
    width: 100%;
    background: #FF7028;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 1rem;
}

.add-to-cart-btn:hover,
.payment-button:hover {
    background: #E55A1F;
}

.payment-form {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    background: white;
    margin-top: 1rem;
}

#card-container {
    margin-bottom: 1rem;
}

/* Shipping Info */
.shipping-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.shipping-info p {
    margin-bottom: 0.5rem;
}

.shipping-info p:last-child {
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: white;
}

.about-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1A2029;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-item {
    text-align: center;
    padding: 2rem;
}

.about-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FF7028;
}

.about-item p {
    color: #6B7280;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1A2029;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FF7028;
}

.footer-section p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
}

.message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}