:root {
    --primary-color: #2E4B31;
    /* Deep forest green */
    --primary-light: #3d6342;
    --secondary-color: #C0995D;
    /* Soft gold */
    --accent-color: #eab308;
    --bg-color: #Fdfbf7;
    /* Warm bright beige */
    --text-color: #1A1A1A;
    --text-muted: #5A5A5A;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(253, 251, 247, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.navbar .logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links>a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links>a:not(.btn):hover::after {
    width: 100%;
}

.nav-links>a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 75, 49, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 75, 49, 0.3);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(192, 153, 93, 0.3);
}

.btn-gold:hover {
    background-color: #b08945;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 153, 93, 0.4);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.9);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0));
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    animation: slideUp 1s ease 0.2s both;
}

.hero-pill {
    display: inline-block;
    background: rgba(192, 153, 93, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: #e5e5e5;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(192, 153, 93, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    margin-bottom: 40px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-list li i {
    color: var(--success, #10b981);
}

/* Products Section */
.products-wrapper {
    background: #f8f6f0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.product-img-wrap {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    height: 90%;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.btn-add {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover .btn-add {
    background: var(--primary-color);
    color: white;
}

/* Forms & Auth (Login / Signup) */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    background: linear-gradient(135deg, #Fdfbf7 0%, #eef0e5 100%);
}

.auth-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 480px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.auth-card p.auth-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
}

.btn-block {
    width: 100%;
    display: block;
    font-size: 1.1rem;
    padding: 16px;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-weight: 500;
}

.auth-switch a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 24px;
    display: block;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer p {
    color: #aaaaaa;
    line-height: 1.8;
}

.footer h4 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: #aaaaaa;
    transition: 0.3s;
}

.footer ul a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: #888;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .features-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Hide for simplicity without JS */
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section {
        padding: 80px 0;
    }
}

/* Cart Page Restyle */
.cart-flex {
    display: flex;
    gap: 50px;
}

.cart-items {
    flex: 2;
}

.cart-summary {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 120px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.cart-item-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 30px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 700;
    border-top: 2px dashed #eee;
    margin: 30px 0;
    padding-top: 30px;
}

/* Profile Dropdown & Extended Auth Nav */
.nav-auth {
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    /* buffer to keep hover active */
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #f9f9f9;
}

.dropdown-content a:hover {
    background-color: #fcfaf5;
    color: var(--primary-color);
    padding-left: 24px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-right: 15px;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .navbar .container {
        justify-content: space-between;
    }
}

/* Page Headers / Secondary Heros */
.page-header {
    min-height: 45vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .hero-bg {
    filter: brightness(0.5);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Rituals Section */
.rituals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.ritual-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.ritual-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.ritual-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.ritual-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.ritual-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scrolling-wrapper {
    overflow: hidden;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px 0;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 40s linear infinite;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Review Styles */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.review-stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

/* Blog Styles (reusing cards where possible) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img-wrap {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.1);
}

.blog-content {
    padding: 35px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-text {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Additional Responsive Fixes */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-img-wrap {
        height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cart-flex {
        flex-direction: column;
    }

    .cart-summary {
        position: static;
        margin-top: 40px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-img {
        margin: 0 0 20px 0;
    }
}