/* 
   Invest Wisely - Main Stylesheet
   A premium e-commerce theme for investment education resources
*/

/* =================== Base Styles =================== */
:root {
    --primary-color: #2c6ecb;
    --primary-dark: #1a4fa8;
    --primary-light: #7ba5eb;
    --secondary-color: #11866f;
    --secondary-dark: #0b6551;
    --accent-color: #f7a942;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #222222;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-heading: 'Georgia', serif;
    --font-body: 'Arial', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
}

input, select, textarea, button {
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

/* =================== Utility Classes =================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.btn-primary, 
.btn-secondary, 
.btn-view, 
.btn-add-to-cart, 
.btn-buy-now,
.btn-accept,
.btn-configure,
.btn-decline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

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

.btn-secondary {
    background-color: var(--bg-dark);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-view {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-add-to-cart {
    background-color: var(--secondary-color);
    color: white;
}

.btn-add-to-cart:hover {
    background-color: var(--secondary-dark);
}

.btn-buy-now {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-buy-now:hover {
    background-color: #e59b33;
}

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

.btn-accept:hover {
    background-color: #218838;
}

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

.btn-configure:hover {
    background-color: #138496;
}

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

.btn-decline:hover {
    background-color: #c82333;
}

/* =================== Header =================== */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.25rem;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* =================== Hero Section =================== */
.hero {
    background: linear-gradient(to right, #2c6ecb, #11866f);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* =================== Features Section =================== */
.features {
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44, 110, 203, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* =================== About Products Section =================== */
.about-products {
    background-color: white;
}

.about-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-products p {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}

.about-products h3 {
    text-align: center;
    margin: 3rem 0 1.5rem;
}

.certification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.certification-badge svg {
    margin-right: 1.5rem;
    color: var(--success-color);
}

.certification-badge p {
    margin: 0;
    font-weight: 600;
}

/* =================== Products Section =================== */
.products {
    background-color: var(--bg-light);
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.small-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

/* =================== Editor's Note Section =================== */
.editor-note {
    background-color: white;
    padding: 4rem 0;
}

.editor-note h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.editor-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.editor-content p:last-of-type {
    margin-top: 2rem;
    font-weight: 600;
}

/* =================== Summary Section =================== */
.summary {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.summary h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.summary p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* =================== Footer =================== */
footer {
    background-color: #222;
    color: #eee;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column address {
    font-style: normal;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-column address a {
    color: #ccc;
}

.footer-column address a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #ccc;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888;
}

/* =================== Cookie Banner =================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    z-index: 2000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-policy-link {
    color: white;
    text-decoration: underline;
    margin-left: 1rem;
    align-self: center;
}

/* =================== Page Header =================== */
.page-header {
    background: linear-gradient(to right, #2c6ecb, #11866f);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* =================== Product Detail Page =================== */
.product-detail {
    padding: 4rem 0;
}

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

.product-image-large {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
}

.stars {
    display: flex;
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-short-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.product-highlights {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.product-highlights h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-highlights ul {
    margin-bottom: 0;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-decrease,
.quantity-increase {
    background-color: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.product-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.product-details-tabs {
    margin-bottom: 4rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.guarantee-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #f0f7ff;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}

.guarantee-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.content-section {
    margin-bottom: 2rem;
}

.content-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.content-section ul {
    list-style: disc;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.author, .instructor {
    margin-bottom: 2.5rem;
}

.author h3, .instructor h3 {
    margin-bottom: 0.5rem;
}

.instructor-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.review-summary {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.review-average {
    text-align: center;
}

.large-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stars.large svg {
    width: 28px;
    height: 28px;
}

.reviews-list {
    margin-bottom: 2rem;
}

.review {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.review:last-of-type {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.review-header h4 {
    margin: 0 1rem 0 0;
}

.review-date {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-products {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

/* =================== About Page =================== */
.about-intro {
    padding: 4rem 0;
}

.about-intro h2 {
    margin-bottom: 1.5rem;
}

.about-intro p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-values {
    margin-top: 4rem;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44, 110, 203, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.team {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.team-member p {
    margin: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 0 1.5rem 1.5rem;
}

.testimonials {
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-style: normal;
    color: var(--text-light);
}

/* =================== Contact Page =================== */
.contact-info {
    padding: 4rem 0;
}

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

.contact-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44, 110, 203, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-form p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, 
select, 
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.faq {
    padding: 4rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* =================== Cart Page =================== */
.cart-section {
    padding: 4rem 0;
}

.cart-empty {
    text-align: center;
    padding: 4rem;
}

.cart-empty svg {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cart-empty h2 {
    margin-bottom: 1rem;
}

.cart-empty p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 1.5rem;
}

.cart-product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cart-quantity {
    display: flex;
    align-items: center;
}

.cart-quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.cart-quantity span {
    margin: 0 0.75rem;
    font-weight: 600;
}

.cart-price, .cart-total {
    font-weight: 600;
}

.cart-remove {
    color: var(--danger-color);
    cursor: pointer;
    background: none;
    border: none;
}

.cart-summary {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-left: auto;
    max-width: 400px;
}

.cart-subtotal, .cart-tax, .cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-total {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.upsell-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.upsell-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-guarantee {
    padding: 4rem 0;
}

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

.guarantee-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.guarantee-icon {
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.guarantee-item h3 {
    margin-bottom: 1rem;
}

/* =================== Checkout Page =================== */
.checkout-section {
    padding: 4rem 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.checkout-form-container {
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.checkout-form-container h2 {
    margin-bottom: 2rem;
}

.checkout-form-container h3 {
    margin: 2.5rem 0 1.5rem;
}

.checkout-summary {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    margin-bottom: 2rem;
}

.checkout-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 1.5rem;
}

.checkout-item-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.checkout-item-price {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkout-totals {
    margin-top: 2rem;
}

.checkout-subtotal, .checkout-tax, .checkout-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.checkout-total {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.checkout-guarantee {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f0f7ff;
    border-radius: var(--border-radius);
}

.guarantee-icon {
    margin-right: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.guarantee-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.guarantee-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.secure-icon {
    margin-right: 1rem;
    color: var(--text-light);
}

.secure-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =================== Success Page =================== */
.success-section {
    padding: 6rem 0;
    text-align: center;
}

.success-message {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.success-icon {
    margin: 0 auto 2rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    color: var(--success-color);
}

.success-message h1 {
    margin-bottom: 1.5rem;
}

.success-message p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.success-next-steps, .success-support {
    text-align: left;
    margin-bottom: 2.5rem;
}

.success-next-steps h2, .success-support h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.success-next-steps ol {
    padding-left: 1.5rem;
}

.success-next-steps li {
    margin-bottom: 0.75rem;
}

.success-actions {
    margin-top: 3rem;
}

.recommended-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.recommended-section h2 {
    margin-bottom: 1rem;
}

.recommended-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* =================== Notification =================== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    transform: translateX(200%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification p {
    margin: 0;
}

/* =================== Responsive Styles =================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0.5rem 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-grid, 
    .stats, 
    .footer-content {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cart-header, 
    .cart-item {
        grid-template-columns: 2fr 1fr 1fr 0.5fr;
    }
    
    .cart-price-col, 
    .cart-price {
        display: none;
    }
    
    .cart-summary {
        max-width: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-policy-link {
        margin: 1rem 0 0 0;
    }
}

@media (max-width: 576px) {
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        background-color: var(--bg-light);
        margin-bottom: 1rem;
        border-radius: var(--border-radius);
    }
    
    .cart-product {
        grid-column: 1;
    }
    
    .cart-quantity {
        grid-column: 1;
        justify-content: space-between;
    }
    
    .cart-total {
        grid-column: 1;
    }
    
    .cart-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
