:root {
    --primary-color: #0e6b50;
    --primary-light: #1e8a6e;
    --primary-dark: #074c38;
    --secondary-color: #f0c053;
    --accent-color: #d16b38;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --background-color: #ffffff;
    --background-light: #f7f7f7;
    --background-dark: #e9e9e9;
    --border-color: #e0e0e0;
    --error-color: #d9534f;
    --success-color: #5cb85c;
    --warning-color: #f0ad4e;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --container-width: 1200px;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

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

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

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

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

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

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

button {
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.75rem auto 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    line-height: 1.4;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

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

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

.btn-secondary:hover {
    background-color: #e6b448;
    color: var(--text-dark);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-tertiary:hover {
    background-color: rgba(14, 107, 80, 0.1);
}

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

.btn-white:hover {
    background-color: #f5f5f5;
}

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

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

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

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 107, 80, 0.7);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

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

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(14, 107, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.benefit-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

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

.stat-item p {
    font-weight: 500;
    margin-bottom: 0;
}

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

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

.about-content h3 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.certification-info {
    background-color: rgba(14, 107, 80, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.certification-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.spell-check-btn {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.spell-check-btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

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

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    z-index: 1;
}

.product-content {
    padding: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stars {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

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

.product-description {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 0.75rem;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

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

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

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.1;
    color: var(--primary-color);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

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

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.feedback-button {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #f1f1f1;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

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

.footer-about {
    max-width: 300px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    color: #bbb;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color var(--transition-fast);
}

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

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

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

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

.footer-links ul li a {
    color: #bbb;
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: #bbb;
    margin-bottom: 1rem;
}

.footer-contact svg {
    margin-right: 0.75rem;
}

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.uk-address {
    color: #999;
    font-size: 0.85rem;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 1.5rem;
    display: none;
}

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

.cookie-content h4 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
}

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

.cookie-policy-link {
    font-size: 0.9rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    z-index: 1000;
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content svg {
    color: var(--success-color);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal h3 {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    width: 30px;
    font-size: 30px;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: var(--secondary-color);
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-banner h1 {
    color: white;
    margin-bottom: 0.75rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: white;
}

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

/* About Page Styles */
.about-intro {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.about-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.why-choose {
    padding: 5rem 0;
    background-color: white;
}

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

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
}

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

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

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.our-story {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.our-story h2 {
    color: white;
    margin-bottom: 2rem;
}

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

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

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-bottom: 0.5rem;
}

.team-position {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

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

.team-social a {
    color: var(--text-color);
}

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

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    height: fit-content;
}

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

.contact-info p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.info-content h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    margin-bottom: 0;
}

.uk-office {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.uk-office h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.uk-office p {
    margin-bottom: 0;
}

.contact-form-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    margin-bottom: 0.5rem;
}

.contact-form-container p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
}

.map-section {
    padding: 5rem 0;
    background-color: white;
}

.map-container {
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    height: 100%;
    background-color: #e9e9e9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
}

.map-overlay p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.map-overlay span {
    color: var(--text-light);
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn-feedback {
    background-color: var(--accent-color);
    color: white;
    margin-top: 1rem;
}

.btn-feedback:hover {
    background-color: #bf603a;
}

/* Product Detail Page */
.product-detail {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

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

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

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.bestseller-tag {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.popular-tag {
    background-color: var(--accent-color);
    color: white;
}

.new-tag {
    background-color: var(--success-color);
    color: white;
}

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

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

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

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 1rem;
}

.discount-tag {
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    margin-left: 1rem;
}

.product-short-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    margin-right: 1rem;
    font-weight: 500;
}

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

.quantity-controls button {
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-buttons .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
}

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

.product-features {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

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

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

.tab-panel {
    display: none;
}

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

.tab-panel h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.curriculum-container {
    display: grid;
    gap: 1.5rem;
}

.module {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.module-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-header h3 {
    margin-bottom: 0;
    color: white;
    font-size: 1.1rem;
}

.module-duration {
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.module-lessons {
    padding: 1.5rem;
    margin-bottom: 0;
}

.module-lessons li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.module-lessons li:last-child {
    margin-bottom: 0;
}

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

.instructor-card {
    display: flex;
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.instructor-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.instructor-info {
    padding: 1.25rem;
    flex: 1;
}

.instructor-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

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

.instructor-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.average-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.review-average .stars {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    display: block;
}

.total-reviews {
    color: var(--text-light);
}

.review-breakdown {
    display: grid;
    gap: 0.5rem;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-level {
    width: 60px;
    font-size: 0.9rem;
}

.progress-bar {
    height: 8px;
    background-color: var(--background-dark);
    border-radius: 4px;
    flex: 1;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--secondary-color);
}

.percentage {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
}

.reviewer-initial {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.reviewer-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

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

.review-rating {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.review-content p {
    margin-bottom: 0;
    line-height: 1.5;
}

.faq-container {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1;
}

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

.faq-answer p {
    margin-bottom: 0;
}

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

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

.course-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.highlight {
    text-align: center;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(14, 107, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.highlight h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.related-products {
    margin-top: 3rem;
}

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

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

.related-product-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.related-product-card:hover {
    transform: translateY(-10px);
}

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

.related-product-card h3 {
    padding: 0 1rem;
    margin: 1.25rem 0 0.5rem;
    font-size: 1.1rem;
}

.related-product-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.related-product-card .btn {
    margin: 0 1rem 1.25rem;
}

/* Cart Page Styles */
.cart-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.empty-cart {
    text-align: center;
    padding: 4rem;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

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

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

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

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

#cart-items {
    margin: 2rem 0;
}

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

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

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

.cart-item-details h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

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

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

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

.cart-quantity-controls button {
    width: 30px;
    height: 30px;
    background-color: var(--background-light);
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity-controls input {
    width: 40px;
    height: 30px;
    border: none;
    text-align: center;
    font-weight: 500;
}

.cart-item-action button {
    background-color: transparent;
    border: none;
    color: var(--error-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-action button:hover {
    color: #c04641;
}

.cart-summary {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cart-totals {
    justify-self: end;
    min-width: 250px;
}

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

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

.cart-actions {
    display: flex;
    gap: 1rem;
}

.cart-note {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-note p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.recommended-products {
    padding: 5rem 0;
    background-color: white;
}

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

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

/* Checkout Page Styles */
.checkout-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

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

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

.checkout-form-container p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.checkout-utility {
    margin-bottom: 1.5rem;
}

#checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group.required label::after {
    content: '*';
    color: var(--error-color);
    margin-left: 0.25rem;
}

.checkout-button-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}

.checkout-summary {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

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

.checkout-items {
    margin-bottom: 2rem;
}

.checkout-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item:last-child {
    border-bottom: none;
}

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

.checkout-item-details {
    flex: 1;
}

.checkout-item-details h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.checkout-item-price {
    display: flex;
    justify-content: space-between;
}

.checkout-item-quantity {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

.checkout-total {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--primary-color);
}

.checkout-secure {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

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

.checkout-secure p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkout-help {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.checkout-help h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.checkout-help p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Success Page Styles */
.success-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.success-container {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.success-icon svg {
    color: var(--success-color);
}

.success-container h1 {
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.success-info {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.success-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.support-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(14, 107, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

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

.support-contact h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-methods {
    margin-top: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(14, 107, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-method p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item-product {
        grid-column: 1 / -1;
    }
    
    .cart-item-price,
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 100px;
    }
    
    .cart-item-price::before {
        content: 'Price:';
        font-weight: 500;
    }
    
    .cart-item-quantity::before {
        content: 'Quantity:';
        font-weight: 500;
    }
    
    .cart-item-total::before {
        content: 'Total:';
        font-weight: 500;
    }
    
    .cart-item-action::before {
        content: 'Action:';
        font-weight: 500;
    }
    
    .cart-summary,
    .checkout-grid,
    .success-support {
        grid-template-columns: 1fr;
    }
    
    .cart-totals {
        justify-self: stretch;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
        z-index: 1001;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .benefits-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .action-buttons,
    .cart-actions {
        flex-direction: column;
    }
    
    .utility-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .course-highlights {
        grid-template-columns: 1fr;
    }
    
    .instructor-card {
        flex-direction: column;
    }
    
    .instructor-image {
        width: 100%;
        height: 200px;
    }
    
    #checkout-form {
        grid-template-columns: 1fr;
    }
    
    .success-container {
        padding: 2rem 1.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
}
