:root {
    --primary-color: #5d3fd3;
    --secondary-color: #f7f9fc;
    --text-color: #333;
    --light-text-color: #fff;
    --card-bg: #fff;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background-color: var(--light-text-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .logo {
    height: 40px;
}
.site-header nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.site-header nav a:hover {
    color: var(--primary-color);
}

/* Home Page Sections */
/* Hero Section */
.hero-section {
    position: relative;
    height: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: url('background.jpg') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.hero-content p {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 30px;
}
.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #4b34b1;
}

/* Product Sections */
section {
    padding: 60px 0;
}
h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.product-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    width: 450px; /* Adjusted width */
    padding-bottom: 20px;
}
.product-card img {
    width: 100%;
    height: auto;
    display: block;
}
.product-card h3 {
    margin: 15px 0 5px;
}
.product-card p {
    color: #666;
    padding: 0 15px;
}
.action-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 130px;
    text-align: center;
}
.action-button:hover {
    background-color: #4b34b1;
}
.add-to-cart {
    background-color: var(--primary-color);
}
.learn-more {
    background-color: #333;
}
.learn-more:hover {
    background-color: #555;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f0f4f8;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-style: italic;
    line-height: 1.8;
}
.testimonial-card .author {
    margin-top: 15px;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    color: var(--primary-color);
}

/* Promises Section */
.promises-section {
    text-align: center;
}
.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.promise-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.promise-item h3 {
    font-size: 1.2em;
    margin-top: 15px;
}

/* Product Detail Page Styles */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 50px 0;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.product-image-gallery {
    flex: 1;
    max-width: 500px;
    text-align: center;
}
.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.thumbnail-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.thumbnail-images img {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.thumbnail-images img:hover {
    border-color: var(--primary-color);
}
.product-info-panel {
    flex: 1;
    max-width: 500px;
}
.product-info-panel h1 {
    font-size: 2.5em;
    margin-top: 0;
}
.product-price {
    font-size: 1.8em;
    color: #b12704;
    font-weight: bold;
    margin-bottom: 20px;
}
.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.product-features li {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235d3fd3' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") no-repeat left center;
    background-size: 18px;
    padding-left: 25px;
    margin-bottom: 10px;
}
.product-description-section {
    padding: 50px 0;
    background-color: #f7f9fc;
}

/* Shopping Cart Styles */
.checkout-container {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 50px auto;
    max-width: 800px;
}
.cart-items-list {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #eee;
}
.order-summary {
    text-align: right;
    font-size: 1.2em;
    font-weight: bold;
}
.checkout-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}
.checkout-button:hover {
    background-color: #4b34b1;
}
.checkout-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.clear-cart-btn {
    background-color: #ccc;
    color: var(--text-color);
}
.clear-cart-btn:hover {
    background-color: #bbb;
}

/* Shipping Page Styles */
.shipping-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.order-summary-shipping {
    text-align: right;
    margin-top: 30px;
}
#place-order-button {
    width: auto;
}

/* Payment Page Styles */
.payment-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.order-details-list {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #eee;
}
.payment-methods {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.payment-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f4f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    font-size: 1em;
    color: var(--text-color);
    transition: all 0.3s ease;
}
.payment-method-btn:hover {
    background-color: #e0e4e8;
    border-color: var(--primary-color);
}
.payment-method-btn img {
    height: 40px;
    margin-bottom: 10px;
}
.payment-message {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-style: italic;
}

/* Footer */
.site-footer {
    background-color: var(--text-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 20px 0;
}