:root {
    --color-cream: #F9F7F3;
    --color-sage: #8B9D77;
    --color-sage-light: #A8B896;
    --color-sage-dark: #5C6B4D;
    --color-charcoal: #2C2C2C;
    --color-warm-gray: #6B6560;
    --color-gold: #B8A676;
    --color-white: #FFFFFF;
    --color-border: #E8E5E0;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Tenor Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-charcoal);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-charcoal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    text-decoration: none;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-sage);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-icon:hover {
    opacity: 1;
}

.lang-switch {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--color-warm-gray);
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.lang-switch:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

/* Breadcrumb */
.breadcrumb {
    padding: 6rem 4rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    list-style: none;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.breadcrumb-list a {
    color: var(--color-warm-gray);
    text-decoration: none;
}

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

.breadcrumb-list span {
    color: var(--color-warm-gray);
}

.breadcrumb-list li:last-child {
    color: var(--color-charcoal);
}

/* Product Section */
.product-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 4rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.gallery-main {
    background: var(--color-cream);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.gallery-main img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-sage);
    color: var(--color-white);
    padding: 0.4rem 1rem;
}

.gallery-zoom {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-zoom:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.gallery-zoom svg {
    width: 18px;
    height: 18px;
}

.gallery-thumbs {
    display: flex;
    gap: 0.8rem;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    background: var(--color-cream);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--color-sage);
}

.gallery-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-info {
    padding-top: 1rem;
}

.product-line {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: 0.8rem;
}

.product-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.rating-stars {
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

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

.rating-count a {
    color: var(--color-charcoal);
    text-decoration: underline;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.product-price .original {
    text-decoration: line-through;
    color: var(--color-warm-gray);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.product-short-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-warm-gray);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

/* Product Options */
.product-options {
    margin-bottom: 2rem;
}

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

.option-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.option-label span {
    color: var(--color-warm-gray);
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

.size-options {
    display: flex;
    gap: 0.8rem;
}

.size-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.size-btn:hover {
    border-color: var(--color-charcoal);
}

.size-btn.active {
    background: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    width: fit-content;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-charcoal);
    transition: background 0.3s;
}

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

.qty-input {
    width: 60px;
    height: 45px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* Action Buttons */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-add-cart {
    flex: 1;
    padding: 1.2rem 2rem;
    background: var(--color-charcoal);
    color: var(--color-white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

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

.btn-wishlist {
    width: 55px;
    height: 55px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-wishlist:hover {
    border-color: var(--color-sage);
    color: var(--color-sage);
}

.btn-wishlist svg {
    width: 22px;
    height: 22px;
}

/* Product Meta */
.product-meta {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.meta-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.meta-item strong {
    display: block;
    margin-bottom: 0.2rem;
}

.meta-item span {
    color: var(--color-warm-gray);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--color-warm-gray);
    letter-spacing: 0.05em;
}

.trust-badge svg {
    width: 18px;
    height: 18px;
    color: var(--color-sage);
}

/* Product Details Tabs */
.product-details {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--color-cream);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm-gray);
    cursor: pointer;
    padding-bottom: 1rem;
    position: relative;
    transition: color 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-sage);
    transition: width 0.3s;
}

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

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Description Tab */
.description-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.description-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.description-text p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--color-warm-gray);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
}

.description-image {
    position: relative;
}

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

.description-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-sage);
    z-index: -1;
}

/* Ingredients Tab */
.ingredients-content {
    max-width: 900px;
    margin: 0 auto;
}

.ingredient-highlight {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ingredient-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
}

.ingredient-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.ingredient-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.ingredient-item p {
    font-size: 0.72rem;
    color: var(--color-warm-gray);
    line-height: 1.5;
}

.full-ingredients {
    background: var(--color-white);
    padding: 2rem;
}

.full-ingredients h4 {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.full-ingredients p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--color-warm-gray);
}

/* How to Use Tab */
.howto-content {
    max-width: 800px;
    margin: 0 auto;
}

.howto-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.howto-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--color-white);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-sage);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-warm-gray);
}

.routine-tip {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--color-white);
    border-left: 3px solid var(--color-sage);
}

.routine-tip h4 {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: 0.8rem;
}

.routine-tip p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-warm-gray);
}

/* Reviews Tab */
.reviews-content {
    max-width: 900px;
    margin: 0 auto;
}

.reviews-summary {
    display: flex;
    gap: 4rem;
    padding: 2rem;
    background: var(--color-white);
    margin-bottom: 2rem;
}

.rating-overview {
    text-align: center;
    padding-right: 4rem;
    border-right: 1px solid var(--color-border);
}

.rating-big {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars-big {
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.rating-total {
    font-size: 0.8rem;
    color: var(--color-warm-gray);
}

.rating-breakdown {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.rating-bar-label {
    width: 50px;
}

.rating-bar-track {
    flex: 1;
    height: 8px;
    background: var(--color-border);
    position: relative;
}

.rating-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-sage);
}

.rating-bar-count {
    width: 40px;
    text-align: right;
    color: var(--color-warm-gray);
}

.review-item {
    padding: 2rem;
    background: var(--color-white);
    margin-bottom: 1rem;
}

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

.review-author {
    font-size: 0.9rem;
    font-weight: 500;
}

.review-verified {
    font-size: 0.7rem;
    color: var(--color-sage);
    margin-top: 0.3rem;
}

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

.review-stars {
    color: var(--color-gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--color-warm-gray);
}

/* Related Products */
.related-products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 4rem;
}

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

.related-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.related-card {
    background: var(--color-cream);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.related-card img {
    max-height: 180px;
    margin-bottom: 1.5rem;
}

.related-card .product-line {
    font-size: 0.65rem;
}

.related-card .product-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-card .product-price {
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 4rem;
    background: var(--color-charcoal);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    color: var(--color-white);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--color-sage);
    border-color: var(--color-sage);
}

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badge {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.6);
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .description-content {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ingredient-highlight {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .product-section {
        padding: 2rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 2rem;
    }

    .rating-overview {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 2rem;
    }
}
