/* Base Styles and Typography */
:root {
    --primary-color: #07689f;
    --primary-dark: #04527b;
    --primary-light: #a2d5f2;
    --secondary-color: #e67e22;
    --secondary-dark: #c46c14;
    --accent-color: #fc6b0a;
    --neutral-dark: #2c3e50;
    --neutral-medium: #7f8c8d;
    --neutral-light: #ecf0f1;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-medium: #5d6d7e;
    --text-light: #ecf0f1;
    --background-color: #ffffff;
    --background-alt: #f9f9f9;
    --border-color: #dcdfe6;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* Reset & Normalization */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style-position: inside;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.3;
    color: var(--neutral-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

.view-btn {
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
    font-size: 0.875rem;
}

.view-btn:hover {
    background-color: var(--border-color);
    color: var(--neutral-dark);
}

.add-to-cart-btn, .add-to-cart-btn-detail {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover, .add-to-cart-btn-detail:hover {
    background-color: var(--primary-dark);
    color: white;
}

.buy-now-btn {
    background-color: var(--secondary-color);
    color: white;
}

.buy-now-btn:hover {
    background-color: var(--secondary-dark);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    background-image: linear-gradient(rgba(7, 104, 159, 0.9), rgba(7, 104, 159, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="100%" height="100%" fill="%23054c73"/><path d="M40 40l120 120M90 40l70 70M40 90l70 70" stroke="%23076ca5" stroke-width="2"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Advantages Section */
.advantages {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

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

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

.advantage-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.advantage-card .icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.cta {
    text-align: center;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

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

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Products Section */
.products {
    padding: 4rem 0;
}

.editor-note {
    background-color: var(--neutral-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

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

.editor-content p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

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

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

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.product-card h3 {
    font-size: 1.125rem;
    padding: 1.25rem 1.25rem 0;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    padding: 0 1.25rem;
    margin-bottom: 0.5rem;
}

.product-card .description {
    padding: 0 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-medium);
    font-size: 0.875rem;
}

.product-card .product-actions {
    padding: 0 1.25rem 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

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

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

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial .quote {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

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

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author .name {
    font-weight: bold;
    margin-bottom: 0;
}

.testimonial-author .title {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

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

.breadcrumbs {
    margin-bottom: 2rem;
    color: var(--text-medium);
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--text-medium);
}

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

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

.product-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.product-info h1 {
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.product-code {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin: 0;
}

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

.stars {
    display: flex;
    color: var(--warning-color);
}

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

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

.product-short-description {
    margin-bottom: 1.5rem;
}

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

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

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

#quantity {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

#quantity::-webkit-inner-spin-button, 
#quantity::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

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

.product-features h3 {
    margin-bottom: 1rem;
}

.product-features ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.product-features li {
    margin-bottom: 0.5rem;
}

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

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

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--text-medium);
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary-color);
}

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

.tab-content {
    padding: 1rem 0;
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    margin-bottom: 1.5rem;
}

.tab-pane p, .tab-pane ul {
    margin-bottom: 1.5rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    font-weight: 600;
    width: 30%;
    background-color: var(--neutral-light);
}

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

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

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1.2;
    display: block;
    margin-bottom: 0.5rem;
}

.average-rating .stars {
    justify-content: center;
    margin-bottom: 0.5rem;
}

.rating-bars {
    flex-grow: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-label {
    width: 60px;
    font-size: 0.875rem;
}

.rating-bar {
    flex-grow: 1;
    height: 8px;
    background-color: var(--neutral-light);
    border-radius: 4px;
    margin: 0 1rem;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background-color: var(--warning-color);
    border-radius: 4px;
}

.rating-percent {
    font-size: 0.875rem;
    width: 40px;
    text-align: right;
}

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

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

.reviewer-info {
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    margin-bottom: 0.5rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

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

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

/* About Us Page */
.about-hero {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
}

.about-hero h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.about-intro {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-logo {
    max-width: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    padding: 4rem 0;
    background-color: var(--background-color);
}

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

.mission, .vision, .values {
    padding: 2rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission .icon, .vision .icon, .values .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
}

.values ul {
    list-style-type: none;
    text-align: left;
}

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

.values li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.impact {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
}

.impact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.impact-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.impact-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team {
    padding: 4rem 0;
}

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

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

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

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

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

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin-bottom: 0;
    font-size: 1.25rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.social-links a {
    color: var(--neutral-medium);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.partners {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.partners h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partners > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.partners-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    list-style-type: disc;
    margin-left: 1.5rem;
}

.cta {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--primary-light);
    background-image: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
}

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

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Contact Page */
.contact-hero {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
}

.contact-hero h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

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

.contact-details {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-item .details {
    flex-grow: 1;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p, .info-item address {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-light);
    border-radius: 50%;
    color: var(--neutral-dark);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container h3 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.form-group {
    width: calc(50% - 0.75rem);
}

.form-group.full-width {
    width: 100%;
}

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

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

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 104, 159, 0.2);
}

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

.checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin: 0;
    flex-grow: 1;
    font-weight: normal;
}

.faq {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

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

.faq-item {
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.25rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    font-size: 1.5rem;
    font-weight: normal;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.form-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.success-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-content svg {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.success-content h3 {
    margin-bottom: 1rem;
    color: var(--success-color);
}

.success-content p {
    margin-bottom: 1.5rem;
}

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

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

.cart-empty-icon {
    margin: 0 auto 1.5rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-light);
    border-radius: 50%;
    color: var(--neutral-medium);
}

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

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

.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;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

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

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

.cart-product-title {
    font-weight: 600;
}

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

.cart-quantity input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

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

.cart-remove button:hover {
    color: var(--error-color);
    opacity: 0.8;
}

.cart-summary {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-note {
    color: var(--text-medium);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.recommended-products {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

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

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

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 3px;
    background-color: var(--border-color);
    z-index: -1;
}

.step.active:not(:last-child)::after {
    background-color: var(--primary-color);
}

.step-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-color);
    color: var(--text-medium);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step-name {
    font-weight: 600;
    color: var(--text-medium);
}

.step.active .step-name {
    color: var(--primary-color);
}

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

.checkout-form-container h3, .order-summary h3 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
}

.order-item {
    display: flex;
    margin-bottom: 1.5rem;
}

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

.order-item-details {
    flex-grow: 1;
}

.order-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.order-item-price, .order-item-quantity {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

.order-totals {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.total-line.total {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f0f8ff;
    border-radius: var(--border-radius);
}

.secure-icon {
    color: var(--primary-color);
}

.secure-checkout p {
    margin-bottom: 0;
    font-weight: 600;
}

.satisfaction-guarantee, .customer-support {
    margin-bottom: 1.5rem;
}

.satisfaction-guarantee p {
    padding: 1rem;
    background-color: #f0fff0;
    border-radius: var(--border-radius);
    margin-bottom: 0;
}

.checkout-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.error-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.error-content svg {
    color: var(--error-color);
    margin-bottom: 1.5rem;
}

.error-content h3 {
    margin-bottom: 1rem;
    color: var(--error-color);
}

.error-content p {
    margin-bottom: 1.5rem;
}

/* Success Page */
.success-section {
    padding: 4rem 0;
}

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

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

.success-message h2 {
    margin-bottom: 1.5rem;
    color: var(--success-color);
}

.order-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--neutral-light);
    border-radius: var(--border-radius);
    text-align: left;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
}

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

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.other-resources {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
}

.other-resources h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.other-resources > p {
    text-align: center;
    margin-bottom: 2rem;
}

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

.resource-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.resource-icon {
    margin: 0 auto 1.25rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
}

.resource-card h4 {
    margin-bottom: 1rem;
}

.resource-card p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* Footer */
footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
}

footer address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

footer address p {
    margin-bottom: 0.5rem;
}

footer address a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

footer address a:hover {
    color: white;
}

.footer-nav ul {
    list-style-type: none;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--neutral-dark);
    color: white;
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.cookie-btn.customize {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.cookie-btn.customize:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn.decline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-btn.decline:hover {
    color: white;
}

.cookie-policy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.cookie-policy a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.cookie-policy a:hover {
    color: white;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-1rem);
    transition: all 0.3s ease-out;
    pointer-events: none;
    z-index: 2000;
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-notification p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    header .container {
        padding: 0 var(--spacing-md);
    }
    
    header {
        padding: 0.75rem 0;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--background-color);
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        z-index: 1001;
        padding: 6rem var(--spacing-lg) 2rem;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .products-grid, .advantages-grid, .related-products-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats, .impact-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cart-header, .cart-item {
        grid-template-columns: 2fr 1fr 1fr 0.5fr;
    }
    
    .cart-price {
        display: none;
    }
}

@media (max-width: 576px) {
    .cart-header, .cart-item {
        grid-template-columns: 2fr 1fr 0.5fr;
    }
    
    .cart-quantity input {
        width: 40px;
    }
    
    .cart-total {
        display: none;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
