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

/* --- COLOR PALETTE 3: Warm Peach & Terracotta --- */
/* Primary/Accent: #B87333 (Muted Terracotta/Clay) */
/* Background: #FFF7F0 (Soft Light Peach) */
/* Text/Contrast: #5c4636 (Dark Chocolate Brown) */
/* Secondary/Borders: #EEDDD2 (Light Peach/Muted Border) */
/* Card Background: #FFFFFF */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #5c4636; /* Dark Chocolate Text */
    background-color: #FFF7F0; /* Soft Light Peach Background */
    font-size: 16px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Free Shipping Banner */
.shipping-banner {
    background-color: #EEDDD2; /* Light Peach/Muted Border */
    text-align: center;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: #5c4636;
    border-bottom: 1px solid #E0C7B6;
}

.shipping-banner strong {
    font-weight: 700;
}

/* Header and Navigation */
header {
    background-color: #FFF7F0;
    border-bottom: 1px solid #EEDDD2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1.5rem 0; /* Slightly more vertical padding */
}

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

.logo {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: #5c4636;
    text-decoration: none;
    font-size: 1rem; /* Slightly larger font */
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #B87333; /* Terracotta hover */
}

/* Search Form */
.search-form-wrapper {
    margin-right: 1rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.search-input {
    padding: 0.625rem 0.875rem;
    padding-right: 2.5rem;
    border: 1px solid #E0C7B6;
    border-radius: 20px; /* Fully rounded search input */
    font-size: 0.9375rem;
    font-family: inherit;
    width: 200px;
    transition: border-color 0.2s ease, width 0.2s ease;
    background-color: #FFFFFF;
}

.search-input:focus {
    outline: none;
    border-color: #B87333; /* Focus on Terracotta */
    width: 250px;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.2); /* Soft focus ring */
}

.search-input::placeholder {
    color: #A08C82;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B87333;
    transition: color 0.2s ease;
}

.search-button:hover {
    color: #5c4636;
}

.search-button:focus {
    outline: none;
}

.search-button svg {
    width: 20px; /* Slightly larger icon */
    height: 20px;
}

/* Products Section */
.products-section {
    padding: 2rem 0 6rem;
}

.products-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5c4636;
    letter-spacing: -0.02em;
}

.search-results-count {
    color: #B87333;
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* Company Mission */
.company-mission {
    text-align: right;
    max-width: 600px;
    margin-left: auto;
    margin-right: 0;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding: 0;
    color: #5c4636;
}

.mission-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    color: #5c4636;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.mission-text:last-of-type {
    margin-bottom: 1rem;
}

.mission-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: #B87333;
    font-style: italic;
    letter-spacing: 0.02em;
    margin-top: 1rem;
}

/* Tags Filter */
.tags-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    margin-top: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #E0C7B6;
    justify-content: center;
    align-items: center;
}

.tag-filter-btn {
    display: inline-block;
    padding: 0.525rem 1.15rem;
    background-color: #F8F0E8;
    color: #5c4636;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 450;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    margin: 0;
    outline: none;
}

.tag-filter-btn:focus {
    outline: 2px solid #B87333;
    outline-offset: 2px;
}

.tag-filter-btn:hover {
    background-color: #B87333;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(184, 115, 51, 0.2);
}

.tag-filter-btn.active {
    background-color: #B87333;
    color: #FFFFFF;
    border-color: #B87333;
    font-weight: 600;
}

.tag-filter-btn.clear-filter {
    background-color: #FFFFFF;
    color: #B87333;
    border: 2px solid #B87333;
    order: 1000;
}

.tag-filter-btn.clear-filter:hover {
    background-color: #B87333;
    color: #FFFFFF;
}

.tag-filter-btn.tag-expand-btn {
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    min-width: 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
}

.tag-filter-btn.tag-expand-btn.expanded {
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
    order: 999;
}

.tag-filter-btn.tag-expand-btn:hover {
    background-color: #B87333;
    color: #FFFFFF;
}

.tag-filter-btn.tag-expand-btn .expand-dots {
    display: inline;
}

.tag-filter-btn.tag-expand-btn .arrow-up-icon {
    display: none;
    width: 16px;
    height: 16px;
    color: #B87333;
    transition: color 0.3s ease;
}

.tag-filter-btn.tag-expand-btn:hover .arrow-up-icon {
    color: #FFFFFF;
}

.tag-filter-btn.tag-expand-btn.active .arrow-up-icon {
    display: block;
    color: #B87333;
}

.hidden-tags {
    display: none;
}

.hidden-tags .tag-filter-btn {
    display: inline-block;
}

/* Collection Sections */
.collection-section {
    margin-bottom: 4rem;
}

.collection-section:last-child {
    margin-bottom: 0;
}

.collection-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #5c4636;
    letter-spacing: -0.02em;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #B87333;
}

.no-results p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.no-results .btn-primary {
    display: inline-block;
    margin-top: 1rem;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0 6rem;
}

.blog-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #5c4636;
    letter-spacing: -0.03em;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.blog-item {
    background: #FFFFFF;
    border-radius: 16px; /* Highly rounded corners for a soft look */
    padding: 2.5rem;
    border: 1px solid #EEDDD2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); /* Soft, inviting shadow */
}

.blog-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #EEDDD2;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.blog-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #5c4636;
    letter-spacing: -0.01em;
    flex: 1;
}

.blog-date {
    color: #B87333;
    font-size: 0.9375rem;
    font-weight: 400;
    white-space: nowrap;
}

.blog-images-collage {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow-x: hidden;
    align-items: center;
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #F8F0E8;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.blog-image-hidden {
    display: none;
}

.blog-image-hidden.show {
    display: block;
}

.blog-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #F8F0E8;
    color: #5c4636;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.blog-expand-btn:hover {
    background-color: #B87333;
    color: #FFFFFF;
}

.blog-expand-btn .expand-dots {
    display: inline;
}

.blog-expand-btn .arrow-up-icon {
    display: none;
    width: 16px;
    height: 16px;
    color: #B87333;
    transition: color 0.3s ease;
}

.blog-expand-btn:hover .arrow-up-icon {
    color: #FFFFFF;
}

.blog-expand-btn.expanded .expand-dots {
    display: none;
}

.blog-expand-btn.expanded .arrow-up-icon {
    display: block;
    color: #B87333;
}

.blog-expand-btn.expanded:hover .arrow-up-icon {
    color: #FFFFFF;
}

.blog-image:hover {
    transform: scale(1.02);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.blog-image-placeholder {
    background-color: #F8F0E8;
    border: 1px dashed #E0C7B6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #B87333;
    font-size: 0.875rem;
}

.blog-description {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    font-size: 1.0625rem; /* Slightly larger body font */
    line-height: 1.7;
    color: #6B5B53;
}

.blog-description p {
    margin: 0;
}

.blog-content {
    margin-top: 1.5rem;
    line-height: 1.8;
    color: #6B5B53;
    font-size: 1rem;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #5c4636;
    font-weight: 700;
}

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

.blog-content ul,
.blog-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.no-blog {
    text-align: center;
    padding: 4rem 2rem;
    color: #B87333;
}

.no-blog p {
    font-size: 1rem;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-item {
        padding: 1.5rem;
    }
    
    .blog-header h2 {
        font-size: 1.5rem;
    }
    
    .blog-images-collage {
        gap: 0.5rem;
    }
    
    .blog-image {
        width: 100px;
        height: 100px;
    }
    
    .blog-expand-btn {
        width: 35px;
        height: 35px;
    }
    
    .blog-section h1 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-images-collage {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .blog-image {
        width: 80px;
        height: 80px;
    }
    
    .blog-expand-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .blog-item {
        padding: 1rem;
    }
    
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-date {
        margin-top: 0.5rem;
    }
}

/* Image Carousel Modal - Colors adjusted for contrast */
.carousel-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.carousel-image-wrapper {
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image-wrapper img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-prev {
    left: -80px;
}

.carousel-next {
    right: -80px;
}

.carousel-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.carousel-close:hover {
    opacity: 0.7;
}

.carousel-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    
    .carousel-container {
        max-width: 95%;
    }
}

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

.product-card {
    background: #FFFFFF;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #EEDDD2;
    border-radius: 12px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background-color: #F8F0E8;
    position: relative;
    border-radius: 12px 12px 0 0;
}

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

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8F0E8;
    color: #B87333;
    font-size: 0.875rem;
}

.product-info {
    padding: 1.5rem 1.5rem 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: #5c4636;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.product-subtitle {
    color: #B87333;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5c4636;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #B87333;
}

.stars {
    color: #FFC300; /* Gold Star Rating */
    font-size: 0.875rem;
}

.product-availability {
    color: #059669; /* Tailwind emerald-600 */
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tag {
    background-color: #F8F0E8;
    padding: 0.35rem 0.75rem;
    border-radius: 10px; /* Highly rounded tag */
    font-size: 0.75rem;
    color: #B87333;
    font-weight: 500;
}

/* Product Detail Page */
.breadcrumb {
    padding: 1.5rem 0 1rem;
    font-size: 0.875rem;
    color: #B87333;
}

.breadcrumb a {
    color: #5c4636;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #B87333;
}

.breadcrumb span {
    color: #B87333;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 0 4rem;
    align-items: start;
}

.product-image-large {
    width: 100%;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-main-image {
    width: 66.67%;
    max-width: 500px;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-main-image:hover {
    transform: scale(1.02);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-main-image:hover img {
    transform: scale(1.03);
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

.product-thumbnail {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: #F8F0E8;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: 2px solid transparent;
}

.product-thumbnail:hover {
    transform: scale(1.05);
    border-color: #B87333;
    opacity: 1;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-details h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5c4636;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #B87333;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.product-meta {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #F8F0E8;
    border-radius: 12px;
    border-left: 4px solid #B87333;
}

.product-meta p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #6B5B53;
}

.product-meta p:last-child {
    margin-bottom: 0;
}

.product-meta strong {
    font-weight: 600;
    color: #5c4636;
}

.product-description {
    margin: 2rem 0;
    line-height: 1.8;
    color: #6B5B53;
    font-size: 1rem;
}

.product-description h2,
.product-description h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #5c4636;
    font-weight: 700;
    font-size: 1.25rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul,
.product-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.product-specs {
    margin-top: 2.5rem;
}

.spec-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #F8F0E8;
    border-radius: 12px;
}

.spec-section h3 {
    margin-bottom: 1rem;
    color: #5c4636;
    font-weight: 700;
    font-size: 1.25rem;
}

.spec-section ul {
    list-style: none;
    margin-left: 0;
}

.spec-section ul li {
    padding: 0.625rem 0;
    border-bottom: 1px solid #EEDDD2;
    font-size: 1rem;
    color: #6B5B53;
}

.spec-section ul li:last-child {
    border-bottom: none;
}

.spec-section p {
    font-size: 1rem;
    color: #6B5B53;
    line-height: 1.6;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

/* About Section */
.about-section {
    padding: 4rem 0 6rem;
}

.about-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #5c4636;
    letter-spacing: -0.03em;
}

/* About Intro Section */
.about-intro-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    border: 1px solid #EEDDD2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.about-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5c4636;
    margin: 0;
    max-width: 800px;
    transition: text-shadow 0.3s ease-out;
}

.about-intro-poetic {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5c4636;
    margin: 0;
    max-width: 800px;
    font-style: italic;
    transition: text-shadow 0.3s ease-out;
}

.candle-shadow-text {
    text-shadow: 2px 2px 8px rgba(184, 115, 51, 0.3),
                 4px 4px 12px rgba(184, 115, 51, 0.2),
                 -2px -2px 6px rgba(184, 115, 51, 0.15);
}

.about-intro-cta {
    font-size: 1.75rem;
    font-weight: 700;
    color: #B87333;
    margin: 0.5rem 0 0 0;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.mission-section,
.products-about-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    border: 1px solid #EEDDD2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mission-section h2,
.products-about-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5c4636;
    letter-spacing: -0.01em;
}

.mission-content {
    line-height: 1.9;
    color: #5c4636;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mission-text-block {
    margin: 0;
    max-width: 800px;
}

.mission-paragraph {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5c4636;
}

.mission-paragraph strong {
    color: #B87333;
    font-weight: 600;
}

.mission-cta-block {
    margin-top: 1rem;
    padding-top: 2rem;
    text-align: center;
}

.mission-cta-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #B87333, transparent);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.mission-cta {
    font-size: 1.5rem !important;
    font-weight: 600;
    font-style: italic;
    color: #B87333;
    margin: 0 !important;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.products-about-content {
    line-height: 1.9;
    color: #5c4636;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.products-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5c4636;
    margin: 0;
    max-width: 800px;
}

.products-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5c4636;
    margin: 0;
    max-width: 800px;
    font-style: italic;
}

.products-cta {
    font-size: 1.75rem;
    font-weight: 700;
    color: #B87333;
    margin: 0.5rem 0 0 0;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: #F8F0E8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(184, 115, 51, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Products By Scent Section */
.product-by-scent-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    border: 1px solid #EEDDD2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.product-by-scent-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #5c4636;
    letter-spacing: -0.01em;
    text-align: center;
}

.product-by-scent-section h2 em {
    color: #B87333;
    font-style: italic;
    font-weight: 600;
}


/* Scent Tabs */
.scent-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #EEDDD2;
}

.scent-tab {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #5c4636;
    background: #F8F0E8;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.scent-tab:hover {
    background: #EEDDD2;
    color: #B87333;
    transform: translateY(-2px);
}

.scent-tab.active {
    background: #B87333;
    color: #FFFFFF;
    border-color: #B87333;
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
}

.scent-categories {
    position: relative;
    min-height: 400px;
}

.scent-category {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.scent-category.active {
    display: block;
    opacity: 1;
}

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

.scent-product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EEDDD2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}

.scent-product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(184, 115, 51, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.scent-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    border-color: #B87333;
}

.scent-product-card:hover::after {
    opacity: 1;
}

.scent-product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #F8F0E8;
    position: relative;
}

.scent-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scent-product-info {
    padding: 1.25rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: #FFFFFF;
}

.scent-product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #5c4636;
    margin: 0;
    transition: color 0.3s ease;
}

.scent-product-card:hover .scent-product-info h4 {
    color: #B87333;
}

/* View All Products Link */
.view-all-products-link {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.view-all-products-text {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 500;
    color: #5c4636;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: transparent;
    border: 2px solid transparent;
}

.view-all-products-text:hover {
    color: #B87333;
    border-color: #B87333;
    background: rgba(184, 115, 51, 0.05);
    transform: translateY(-2px);
}

/* Secret Section */
.secret-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #EEDDD2;
    text-align: center;
}

.secret-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}

.secret-image {
    width: 550px;
    height: 550px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #F8F0E8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 1rem 0;
}

.secret-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.secret-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.secret-info {
    max-width: 800px;
}

.secret-info-bottom {
    max-width: 800px;
}

.secret-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5c4636;
    letter-spacing: -0.02em;
}

.secret-intro {
    font-size: 1.5rem;
    font-weight: 600;
    color: #B87333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.secret-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5c4636;
    margin-bottom: 1.5rem;
}

.secret-description p {
    margin: 0;
}

.secret-link {
    display: inline-block;
    color: #B87333;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.secret-link:hover {
    color: #5c4636;
    transform: translateX(5px);
}

/* Responsive About */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 0 4rem;
    }
    
    .about-section h1 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .about-intro-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-intro-content {
        gap: 1.25rem;
    }
    
    .about-intro-text,
    .about-intro-poetic {
        font-size: 1.0625rem;
    }
    
    .about-intro-cta {
        font-size: 1.5rem;
    }
    
    .mission-section,
    .products-about-section,
    .product-by-scent-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .mission-section h2,
    .products-about-section h2,
    .product-by-scent-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .product-by-scent-section h2 {
        font-size: 1.75rem;
    }
    
    .mission-content {
        gap: 1.5rem;
    }
    
    .mission-paragraph {
        font-size: 1.0625rem;
    }
    
    .mission-cta-block {
        margin-top: 0.5rem;
        padding-top: 1.5rem;
    }
    
    .mission-cta {
        font-size: 1.25rem !important;
    }
    
    .products-intro,
    .products-description {
        font-size: 1.0625rem;
    }
    
    .products-cta {
        font-size: 1.5rem;
    }
    
    .products-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .scent-tabs {
        gap: 0.75rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .scent-tab {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .scent-categories {
        min-height: 300px;
    }
    
    .scent-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .secret-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .secret-content {
        gap: 1.5rem;
    }
    
    .secret-image {
        width: 400px;
        height: 400px;
    }
    
    .secret-title {
        font-size: 1.75rem;
    }
    
    .secret-intro {
        font-size: 1.25rem;
    }
    
    .secret-description {
        font-size: 1.0625rem;
    }
    
    @media (max-width: 480px) {
        .secret-image {
            width: 320px;
            height: 320px;
        }
        
        .secret-title {
            font-size: 1.5rem;
        }
        
        .secret-intro {
            font-size: 1.125rem;
        }
        
        .secret-description {
            font-size: 1rem;
        }
        
        .scent-products-grid {
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }
    }
    
    .scent-product-info {
        padding: 1rem;
    }
    
    .scent-product-info h4 {
        font-size: 0.9375rem;
    }
}

/* Contact Page */
.contact-page {
    max-width: 800px;
    margin: 3rem auto 5rem;
    padding: 2rem 0;
}

.contact-page h1 {
    margin-bottom: 1rem;
    color: #5c4636;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-page > p {
    margin-bottom: 2rem;
    color: #B87333;
    font-size: 1rem;
    line-height: 1.7;
}

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.contact-form {
    margin: 2rem 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #5c4636;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #E0C7B6;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B87333;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background-color: #B87333;
    color: white;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background-color: #A3642C; /* Slightly darker terracotta on hover */
}

.btn-primary:active {
    transform: scale(0.99);
}

.contact-info {
    margin-top: 3rem;
    padding: 2.5rem;
    background-color: #F8F0E8;
    border-radius: 16px;
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: #5c4636;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    color: #B87333;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-details {
    margin: 1.5rem 0;
}

.contact-detail-item strong {
    display: block;
    color: #5c4636;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-detail-item p {
    margin: 0;
    color: #B87333;
    font-size: 1rem;
}

.contact-detail-item a {
    color: #B87333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-item a:hover {
    color: #5c4636;
    text-decoration: underline;
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 5rem 0;
}

.error-page h1 {
    font-size: 5rem;
    color: #5c4636;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.error-page h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #B87333;
    font-weight: 600;
}

.error-page p {
    margin-bottom: 2rem;
    color: #B87333;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #EEDDD2;
    color: #B87333;
    text-align: center;
    padding: 4rem 0;
    margin-top: 6rem;
    border-top: 1px solid #E0C7B6;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: stretch;
    gap: 10rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
    align-self: stretch;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
    max-width: 100px;
    margin: 0 auto;
}

.footer-left .social-links {
    margin-left: 0;
    flex-shrink: 0;
}

footer p {
    font-size: 0.875rem;
    margin: 0;
}

.footer-copyright {
    text-align: center;
    flex: 1;
}

.developer-credit {
    font-size: 0.8125rem;
    color: #A08C82;
    text-align: right;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5c4636;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.1s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: transparent;
}

.social-link:hover {
    color: #B87333;
    transform: translateY(-1px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.instagram-link:hover {
    color: #E4405F;
}

.facebook-link:hover {
    color: #1877F2;
}

.email-link:hover {
    color: #B87333;
}

.contact-info .social-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0C7B6;
}

/* Responsive Design (kept same, just adjusted colors) */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .product-image-large {
        position: static;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .product-image {
        height: 300px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .search-form-wrapper {
        margin-right: 0.5rem;
    }
    
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 180px;
    }
    
    .products-section {
        padding: 2rem 0 3rem;
    }
    
    .products-section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .error-page h1 {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-links {
        align-items: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .developer-credit {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* FIX: Stack elements vertically and center everything in the navbar for small screens */
    .navbar .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 0.75rem;
        font-size: 0.875rem;
        flex-wrap: wrap;
        /* Center menu items since the container is centered */
        justify-content: center;
    }
    
    .search-form-wrapper {
        order: -1;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
        /* Ensure the search form is centered within the full width wrapper */
        display: flex;
        justify-content: center;
    }
    
    .search-form {
        /* Limit max width for a better look and center it */
        width: 90%;
        max-width: 300px;
    }
    
    .search-input {
        width: 100%;
        flex: 1;
    }
    
    .search-input:focus {
        width: 100%;
    }
    
    .logo-img {
        height: 35px;
    }
}