/* Global Styles */
:root {
    --primary-color: #3366ff;
    --primary-dark: #2952cc;
    --primary-light: #6690ff;
    --secondary-color: #4ecdc4;
    --secondary-dark: #3ebb9c;
    --secondary-light: #7edbd6;
    --accent-color: #ff6b6b;
    --light-gray: #f5f7fa;
    --medium-gray: #eaedf2;
    --dark-gray: #717786;
    --text-color: #333c4d;
    --text-light: #5a6376;
    --white: #ffffff;
    --black: #1d2129;
    --success-color: #47c986;
    --warning-color: #ffbe0b;
    --error-color: #ff4757;
    --border-radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--black);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 16px;
}

button, .btn {
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    text-align: center;
}

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

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

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

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

.outlined-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
}

.outlined-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--dark-gray);
}

.text-btn {
    background: none;
    color: var(--primary-color);
    padding: 8px 16px;
    border: none;
    box-shadow: none;
}

.text-btn:hover {
    color: var(--primary-dark);
    background-color: rgba(51, 102, 255, 0.05);
}

.small-btn {
    font-size: 14px;
    padding: 8px 16px;
}

.large-btn {
    font-size: 18px;
    padding: 14px 32px;
}

input, select, textarea {
    font-family: var(--font-main);
    font-size: 16px;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    background-color: var(--white);
    width: 100%;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.15);
}

input::placeholder, textarea::placeholder {
    color: var(--dark-gray);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

main {
    flex: 1 0 auto;
    padding-top: 80px; /* To account for fixed header */
}

section {
    padding: 60px 0;
}

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

.text-note {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 4px;
}

.input-help {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 4px;
}

.full-width {
    width: 100%;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
}

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

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

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 24px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 6px 0;
}

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

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

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

.cart-link svg {
    margin-right: 8px;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
}

.hero h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 24px;
}

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

.hero-cta {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-cta .btn {
    min-width: 180px;
}

/* Countdown Styles */
.countdown-container {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-container h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.time-segment {
    text-align: center;
}

.countdown .days, .countdown .hours, .countdown .minutes, .countdown .seconds {
    background-color: var(--white);
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 700;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
}

.countdown .time-label {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Advantages Section */
.advantages {
    text-align: center;
    padding: 60px 0;
    background-color: var(--light-gray);
}

.advantages h2 {
    margin-bottom: 48px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 48px;
}

.advantage-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.advantage-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 12px;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 60px 0;
    padding: 40px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
    min-width: 200px;
}

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

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.cta-banner h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* About Products Section */
.about-products {
    background-color: var(--white);
    padding: 60px 0;
}

.about-products h2 {
    margin-bottom: 24px;
}

.about-products p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.info-block {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.info-block h3 {
    margin-bottom: 16px;
}

.info-block ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.info-block ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* Calculator Section */
.calculator {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.calculator-result {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.calculator-result h3 {
    margin-bottom: 20px;
    text-align: center;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.result-item:last-child {
    border-bottom: none;
    font-weight: 700;
}

.result-label {
    color: var(--text-light);
}

.result-value {
    font-weight: 600;
}

.tax-chart-container {
    margin-top: 20px;
}

.tax-chart-container h4 {
    margin-bottom: 16px;
    text-align: center;
}

/* Tax Cases Section */
.tax-cases {
    background-color: var(--white);
    padding: 60px 0;
}

.tax-cases h2 {
    text-align: center;
    margin-bottom: 40px;
}

.table-responsive {
    overflow-x: auto;
}

.tax-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--medium-gray);
    margin-bottom: 20px;
}

.tax-table th, .tax-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.tax-table th {
    background-color: var(--light-gray);
    font-weight: 700;
}

.tax-table tbody tr:hover {
    background-color: var(--light-gray);
}

.table-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

/* FAQ Section */
.faq {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.accordion-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 16px 20px;
    background-color: var(--white);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    height: auto;
}

.accordion-content p {
    margin-bottom: 12px;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.accordion-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.accordion-content ul li {
    list-style-type: disc;
    margin-bottom: 4px;
}

/* Products Section */
.products {
    padding: 60px 0;
    background-color: var(--white);
}

.products h2 {
    text-align: center;
    margin-bottom: 16px;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 20px;
}

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

.product-info h3 a {
    color: var(--black);
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.description {
    margin-bottom: 16px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.product-actions .btn {
    flex: 1;
}

/* Footer Styles */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    margin-left: 5px;
}

.footer-col address p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--medium-gray);
}

.footer-col address p svg {
    margin-right: 8px;
    margin-top: 4px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

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

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

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

.copyright {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-top: 10px;
}

.legal-links {
    margin-bottom: 10px;
}

.legal-links a {
    color: var(--medium-gray);
    margin: 0 10px;
    font-size: 0.875rem;
}

.legal-links a:hover {
    color: var(--white);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--black);
    color: var(--white);
    padding: 16px 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: var(--success-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

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

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

/* Radio & Checkbox Groups */
.radio-group, .checkbox-group {
    display: flex;
    gap: 20px;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input, .checkbox-group input {
    margin-right: 8px;
    width: auto;
}

/* Product Detail Page */
.breadcrumbs {
    margin-bottom: 24px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

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

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

.product-detail {
    padding: 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

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

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-id {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.stars {
    color: var(--warning-color);
    margin-right: 8px;
}

.star {
    display: inline-block;
}

.star.filled {
    color: var(--warning-color);
}

.star.half-filled {
    position: relative;
    color: var(--medium-gray);
}

.star.half-filled::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--warning-color);
}

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

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 12px;
}

.old-price {
    font-size: 1.25rem;
    color: var(--dark-gray);
    text-decoration: line-through;
    margin-right: 12px;
}

.discount {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.features-list {
    margin-bottom: 24px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.features-list li svg {
    color: var(--success-color);
    margin-right: 8px;
    margin-top: 3px;
    flex-shrink: 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.quantity-selector label {
    margin-right: 16px;
    margin-bottom: 0;
}

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

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medium-gray);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    border-radius: var(--border-radius);
}

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

input[type="number"] {
    width: 60px;
    text-align: center;
    -moz-appearance: textfield;
    margin: 0 8px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.action-buttons .btn {
    flex: 1;
}

.product-extra-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--medium-gray);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.info-item svg {
    margin-right: 12px;
    color: var(--primary-color);
}

.product-tabs {
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--medium-gray);
}

.tab-button {
    padding: 12px 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

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

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

.tab-pane {
    display: none;
}

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

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

.specs-table tr {
    border-bottom: 1px solid var(--medium-gray);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
}

.reviews-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.overall-rating {
    text-align: center;
    min-width: 200px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: 8px;
}

.rating-stars {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

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

.rating-breakdown {
    flex-grow: 1;
    max-width: 500px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-bar .stars {
    width: 80px;
    text-align: left;
    margin-right: 16px;
}

.progress-bar {
    flex-grow: 1;
    height: 8px;
    background-color: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-right: 16px;
}

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

.percentage {
    min-width: 40px;
    text-align: right;
}

.review-list {
    margin-bottom: 30px;
}

.review-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.review-item:first-child {
    padding-top: 0;
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.review-rating {
    margin-bottom: 12px;
}

.review-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.review-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.review-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    color: var(--text-color);
}

.review-pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.related-products h2 {
    margin-bottom: 30px;
}

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

.small-grid .product-img {
    height: 160px;
}

.small-grid .product-info h3 {
    font-size: 1.1rem;
}

.premium-badge {
    display: flex;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: var(--border-radius);
}

.premium-badge-icon {
    margin-right: 16px;
    color: var(--accent-color);
}

.premium-badge-text {
    flex: 1;
}

.premium-badge-text strong {
    display: block;
    margin-bottom: 4px;
}

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

.service-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    margin-right: 20px;
    color: var(--primary-color);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.service-info .price {
    margin-bottom: 8px;
}

.service-info .description {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

/* About Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

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

.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

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

.about-text h2 {
    margin-bottom: 24px;
}

.values-section {
    margin-bottom: 60px;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

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

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

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

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

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

.team-member h3 {
    margin: 16px 16px 4px;
    font-size: 1.1rem;
}

.team-member p {
    margin: 0 16px 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.team-member p:last-of-type {
    margin-bottom: 8px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--text-light);
}

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

.stats-section {
    margin-bottom: 60px;
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1.1rem;
}

.certifications {
    margin-bottom: 60px;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.certification-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.certification-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.certification-card h3 {
    margin-bottom: 12px;
}

.certification-card p {
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
}

.info-icon {
    color: var(--primary-color);
    margin-right: 16px;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    margin-bottom: 8px;
}

.info-content p {
    margin-bottom: 4px;
}

.social-links-horizontal {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

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

.contact-form-container h2 {
    margin-bottom: 8px;
}

.contact-form-container > p {
    margin-bottom: 24px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.map-section {
    margin-bottom: 60px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 24px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--light-gray);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder-content {
    text-align: center;
}

.map-placeholder-content svg {
    margin-bottom: 16px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.contact-list {
    margin-top: 16px;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-list li svg {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Cart Page Styles */
.cart-content {
    padding: 60px 0;
}

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

.empty-cart-icon {
    color: var(--medium-gray);
    margin-bottom: 24px;
}

.cart-empty h2 {
    margin-bottom: 16px;
}

.cart-empty p {
    margin-bottom: 24px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 60px;
}

.cart-items {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.cart-table {
    width: 100%;
    margin-bottom: 30px;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr auto;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
    font-weight: 600;
}

.cart-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-gray);
    align-items: center;
}

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

.product-image-small {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-right: 16px;
}

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

.product-details h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

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

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

.quantity-cart button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medium-gray);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    border-radius: var(--border-radius);
}

.quantity-cart input {
    width: 40px;
    text-align: center;
    margin: 0 8px;
    -moz-appearance: textfield;
    padding: 6px;
}

.remove-btn {
    color: var(--error-color);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.coupon-form {
    display: flex;
    gap: 8px;
}

.coupon-form input {
    width: 200px;
}

.cart-summary {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.summary-content {
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.total-row {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 12px;
}

.discount-value {
    color: var(--accent-color);
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.payment-info, .guarantee-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.payment-info h3, .guarantee-info h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

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

.guarantee-info {
    display: flex;
    align-items: flex-start;
}

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

.guarantee-text {
    flex: 1;
}

.guarantee-text p {
    margin-bottom: 0;
}

.similar-products {
    margin-top: 40px;
}

.similar-products h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Checkout Page Styles */
.checkout-content {
    padding: 60px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

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

.checkout-form-container h2 {
    margin-bottom: 24px;
}

.checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.order-summary {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.order-items {
    margin-bottom: 24px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.order-item {
    display: flex;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--medium-gray);
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
}

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

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

.order-item-details h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

.order-totals {
    margin-top: 24px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.secure-checkout {
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.secure-icon {
    color: var(--success-color);
    margin-right: 16px;
    flex-shrink: 0;
}

.secure-text h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

.need-help {
    margin-top: 30px;
}

.need-help h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.need-help p {
    margin-bottom: 8px;
}

.contact-info {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-info svg {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Success Page Styles */
.success-content {
    padding: 60px 0;
}

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

.success-icon {
    color: var(--success-color);
    margin-bottom: 24px;
}

.success-message h1 {
    margin-bottom: 24px;
}

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

.what-next {
    margin: 40px 0;
}

.what-next h2 {
    margin-bottom: 30px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-box {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
}

.info-box h2 {
    margin-bottom: 16px;
}

.recommendations {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.recommendations h2 {
    margin-bottom: 24px;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .cart-grid, .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
    }
}

@media screen and (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-form, .calculator-result {
        width: 100%;
        max-width: 600px;
    }
    
    nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        visibility: hidden;
    }
    
    nav.active {
        transform: translateY(0);
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 12px 0;
        width: 100%;
    }
    
    nav ul li a {
        width: 100%;
        display: block;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown .days, .countdown .hours, .countdown .minutes, .countdown .seconds {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cart-header, .cart-row {
        grid-template-columns: 2fr 1fr 1fr auto;
    }
    
    .price-col {
        display: none;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .checkout-form {
        grid-template-columns: 1fr;
    }
    
    .success-message {
        padding: 30px;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .cart-header, .cart-row {
        grid-template-columns: 1fr auto;
        row-gap: 8px;
    }
    
    .quantity-col, .subtotal-col {
        display: none;
    }
    
    .cart-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .coupon-form {
        width: 100%;
    }
    
    .coupon-form input {
        flex: 1;
    }
    
    .success-actions {
        flex-direction: column;
    }
}
