/* ============ Base Styles ============ */
:root {
    --primary-color: #6a8d73;
    --primary-dark: #4a6b52;
    --primary-light: #a5c0ac;
    --secondary-color: #f0e5d8;
    --accent-color: #d5896f;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --background-color: #ffffff;
    --background-light: #f9f7f4;
    --background-dark: #efe9e2;
    --border-color: #e0d5c8;
    --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 10px 30px rgba(0, 0, 0, 0.1);
    --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Noto Serif JP', Georgia, serif;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --container-width: 1200px;
    --transition-speed: 0.3s;
    --header-height: 80px;
}

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

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

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

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: 600;
}

p {
    margin-bottom: 1rem;
}

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

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

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

ul, ol {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-speed);
}

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

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

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

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

.cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

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

.customize {
    background-color: white;
    color: var(--text-color);
    border-color: var(--border-color);
}

.decline {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    text-decoration: underline;
}

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-base);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

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

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: var(--spacing-sm);
}

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

.required {
    color: var(--error-color);
}

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

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

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

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

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

nav .nav-links li {
    margin-left: var(--spacing-lg);
}

nav .nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
}

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

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

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

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

.cart-count {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 50%;
    margin-left: var(--spacing-xs);
}

/* Footer */
footer {
    background-color: var(--background-dark);
    padding: var(--spacing-xl) 0;
    color: var(--text-color);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}

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

.footer-links h4 {
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.footer-contact h4 {
    margin-bottom: var(--spacing-md);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.social-icons {
    display: flex;
    margin-top: var(--spacing-md);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    margin-right: var(--spacing-sm);
    transition: background-color var(--transition-speed);
    color: white;
}

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

.social-icons svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============ Components ============ */
/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

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

/* ============ Home Page Styles ============ */
/* Hero Section */
.hero {
    background-color: var(--background-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a5c0ac' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid var(--primary-color);
    margin: 0 auto;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
}

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

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

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    background-color: var(--background-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-item h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

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

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

/* About Products Section */
.about-products {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

.about-products h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.about-products p {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
}

.quality-assurance, .product-philosophy {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    background-color: var(--background-color);
    box-shadow: var(--shadow-sm);
}

.quality-assurance h3, .product-philosophy h3 {
    margin-bottom: var(--spacing-sm);
    text-align: left;
}

.quality-assurance p, .product-philosophy p {
    text-align: left;
}

/* Spa Knowledge Section */
.spa-knowledge {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
}

.spa-knowledge h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.knowledge-item {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 60px;
    border-radius: var(--border-radius-md);
    background-color: var(--background-light);
    box-shadow: var(--shadow-sm);
}

.knowledge-item .number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.knowledge-item h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.knowledge-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Products Section */
.products {
    padding: var(--spacing-xl) 0;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

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

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

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

.product-link {
    color: var(--text-color);
    text-decoration: none;
}

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

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

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

.product-details {
    padding: var(--spacing-md);
}

.product-details h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

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

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

.product-actions {
    padding: 0 var(--spacing-md) var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
}

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

.related-products {
    margin-top: var(--spacing-xl);
}

.related-products h2 {
    margin-bottom: var(--spacing-lg);
}

/* Newsletter */
.newsletter {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ============ Product Detail Page Styles ============ */
.product-detail {
    padding: var(--spacing-xl) 0;
}

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

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.product-detail-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

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

.product-detail-info h1 {
    margin-bottom: var(--spacing-sm);
}

.product-detail-info .product-price {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.stars {
    display: flex;
    color: #f9ca24;
    margin-right: var(--spacing-sm);
}

.star {
    margin-right: 2px;
}

.star.filled {
    color: #f9ca24;
}

.star.half-filled {
    position: relative;
    color: #f9ca24;
}

.star.half-filled::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #f9ca24;
}

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

.product-description {
    margin-bottom: var(--spacing-md);
}

.product-features, .product-usage {
    margin-bottom: var(--spacing-lg);
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: var(--spacing-sm);
}

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

.product-quantity {
    margin-bottom: var(--spacing-lg);
}

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

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-btn.decrease {
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

.quantity-btn.increase {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border-radius: 0;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
}

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

.product-actions {
    display: flex;
    gap: var(--spacing-md);
}

.product-tabs {
    margin-bottom: var(--spacing-xl);
}

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

.tab-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: var(--font-base);
    font-size: 1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-speed);
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: var(--spacing-md);
}

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

.review-summary {
    display: flex;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-xl);
}

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

.big-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

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

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.rating-label {
    width: 40px;
    text-align: right;
    margin-right: var(--spacing-sm);
}

.rating-bar {
    flex-grow: 1;
    height: 8px;
    background-color: var(--background-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-right: var(--spacing-sm);
}

.rating-fill {
    height: 100%;
    background-color: var(--primary-color);
}

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

.reviews-list {
    margin-top: var(--spacing-lg);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.review-author {
    font-weight: 700;
    margin-right: var(--spacing-md);
}

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

/* ============ Cart Page Styles ============ */
.cart-section {
    padding: var(--spacing-xl) 0;
}

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

.cart-empty {
    text-align: center;
    padding: var(--spacing-xl);
}

.empty-cart-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.empty-cart-icon svg {
    width: 80px;
    height: 80px;
    color: var(--text-light);
}

.cart-empty h2 {
    margin-bottom: var(--spacing-sm);
}

.cart-empty p {
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
}

.cart-table th {
    text-align: left;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-dark);
}

.cart-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

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

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

.cart-product-details h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.cart-quantity-selector {
    display: flex;
    align-items: center;
    max-width: 100px;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--transition-speed);
}

.cart-remove-btn:hover {
    color: var(--error-color);
}

.cart-remove-btn svg {
    width: 18px;
    height: 18px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.cart-notes {
    flex: 1;
    min-width: 300px;
}

.cart-notes h3 {
    margin-bottom: var(--spacing-sm);
}

.cart-notes textarea {
    height: 150px;
}

.cart-summary {
    flex: 1;
    min-width: 300px;
    background-color: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
}

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

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    border-bottom: none;
    padding-top: var(--spacing-md);
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-lg);
}

.recommended-products {
    margin-top: var(--spacing-xl);
}

.recommended-products h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ============ Checkout Page Styles ============ */
.checkout-section {
    padding: var(--spacing-xl) 0;
}

.checkout-section h1 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.checkout-breadcrumb {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.breadcrumb-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--background-light);
    border-radius: var(--border-radius-sm);
    margin-right: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-item.active {
    background-color: var(--primary-light);
    color: var(--text-dark);
    font-weight: 500;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

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

.checkout-form h2 {
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.checkout-form h2:first-child {
    margin-top: 0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-lg);
}

.order-summary {
    background-color: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    align-self: start;
}

.order-summary h2 {
    margin-bottom: var(--spacing-md);
}

.order-items {
    margin-bottom: var(--spacing-lg);
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

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

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

.order-totals {
    margin-top: var(--spacing-lg);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

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

/* ============ Success Page Styles ============ */
.success-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.success-icon svg {
    width: 80px;
    height: 80px;
    color: var(--success-color);
}

.success-content h1 {
    margin-bottom: var(--spacing-md);
}

.success-message {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
}

.success-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* ============ About Page Styles ============ */
.about-hero {
    background-color: var(--background-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.about-hero h1 {
    margin-bottom: var(--spacing-sm);
}

.about-story {
    padding: var(--spacing-xl) 0;
}

.about-content h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) auto;
    max-width: 1000px;
}

.mission, .values {
    padding: var(--spacing-lg);
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
}

.mission h3, .values h3 {
    margin-bottom: var(--spacing-md);
}

.quality-commitment {
    margin-top: var(--spacing-xl);
}

.quality-commitment h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.quality-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.quality-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: var(--spacing-md);
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
}

.quality-icon svg {
    width: 30px;
    height: 30px;
}

.quality-text h3 {
    margin-bottom: var(--spacing-sm);
}

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

.team-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.team-section > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

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

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

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

.team-member h3 {
    margin: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    font-size: 1.1rem;
}

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

.team-member p:nth-of-type(1) {
    font-weight: 500;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--text-color);
    margin-right: var(--spacing-xs);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

.social-links svg {
    width: 16px;
    height: 16px;
}

.certifications {
    padding: var(--spacing-xl) 0;
}

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

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.certification-item {
    padding: var(--spacing-lg);
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.certification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
}

.certification-icon svg {
    width: 30px;
    height: 30px;
}

.certification-item h3 {
    margin-bottom: var(--spacing-sm);
}

.certification-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.cta-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--primary-light);
}

.cta-section h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-dark);
}

/* ============ Contact Page Styles ============ */
.contact-hero {
    background-color: var(--background-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: var(--spacing-sm);
}

.contact-info {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.contact-details h2 {
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

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

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    margin-bottom: var(--spacing-xs);
}

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

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

.social-contact {
    margin-top: var(--spacing-xl);
}

.social-contact h3 {
    margin-bottom: var(--spacing-md);
}

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

.contact-form-container h2 {
    margin-bottom: var(--spacing-lg);
}

.form-success {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.success-icon svg {
    width: 60px;
    height: 60px;
    color: var(--success-color);
}

.faq-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

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

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

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

.faq-question {
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

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

.faq-toggle {
    display: flex;
    transition: transform var(--transition-speed);
}

.faq-toggle svg {
    width: 18px;
    height: 18px;
}

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

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed), padding var(--transition-speed);
}

.faq-item.active .faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    max-height: 500px;
}

/* ============ Responsive Styles ============ */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 3rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    header {
        height: auto;
        padding: var(--spacing-sm) 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: var(--spacing-sm);
    }
    
    nav .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav .nav-links li {
        margin: 0 var(--spacing-sm) var(--spacing-sm);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .feature-grid,
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .review-summary {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .mission-values,
    .team-grid,
    .certification-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 0.75rem;
        --spacing-lg: 1.25rem;
        --spacing-xl: 2rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid,
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none;
    }
    
    .cart-product img {
        width: 60px;
        height: 60px;
    }
    
    .cart-product-details h3 {
        font-size: 0.9rem;
    }
    
    .cookie-consent {
        width: 95%;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-btn {
        margin-bottom: var(--spacing-sm);
        width: 100%;
    }
}
