/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lora', serif;
    background-color: #f9f6f2;
    color: #5c4433;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #e6e1db;
    padding: 20px 0;
}

/* Full-width header styling */
.full-width-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #e6e1db;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* optional shadow on scroll */
}

/* Wrap nav and logo, align left and right */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pushes logo to far right */
    padding: 0 30px;
}

/* Style the nav links */
nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

    nav a {
        color: #5c5042;
        text-decoration: none;
        font-weight: 500;
        font-family: 'Open Sans', sans-serif;
    }

/* Search Icon */
.icon-link {
    color: #5c5042;
    font-size: 1.1rem;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

    .icon-link i {
        transition: color 0.3s ease;
    }

    .icon-link:hover i {
        color: #8a6a53;
    }


/* Adjust nav layout for added icons/buttons */
nav a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Optional: control logo size */
.logo img {
    height: 50px;
}

.cta-btn {
    background-color: #8a6a53;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.cta-outline {
    border: 1px solid #8a6a53;
    color: #8a6a53;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
/* Instagram Button Style (with soft box) */
.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #b89c84;
    border-radius: 10px;
    background-color: #fdf9f4;
    color: #b89c84;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .social-btn i {
        font-size: 1.1rem;
    }

    .social-btn:hover {
        background-color: #f3ebe5;
        color: #8a6a53;
        border-color: #8a6a53;
    }

/* Hero Section */
.hero {
    background-color: #f9f4ef;
    padding: 80px 30px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

    .hero-text h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.8rem;
        font-weight: 700;
        color: #8a6a53;
        line-height: 1.2;
        margin-bottom: 20px;
    }


    .hero-text p {
        font-size: 1.2rem;
        color: #6e6154;
        margin-bottom: 25px;
    }

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
}

    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }

.hero-badge {
    position: absolute;
    top: 33%; /* Center vertically in image */
    left: -23%; /* Center horizontally in image */
    transform: translate(-50%, -50%); /* Shift it back to actual center */
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    max-width: 250px;
    text-align: center;
}

    .hero-badge .dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        background: #b97d61; /* or whatever color you want */
        border-radius: 50%;
        margin-right: 8px;
    }

.hero-badge {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 2s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #8a6a53;
    margin-bottom: 20px;
    text-align: center;
}

.center-text {
    text-align: center;
    font-size: 1.2rem;
}

/* Grid */
/* === Browse Collections Grid & Cards === */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    border: 1px solid #e3ddd6;
    border-radius: 12px;
    width: 300px; /* fixed uniform width */
    height: auto; /* fixed uniform height */
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

    .card img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        border-radius: 10px;
    }

    .card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 4px;
        color: #8a6a53;
    }

    .card p {
        font-size: 0.95rem;
        color: #6e6154;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

/* Overlay-style Collection Cards */
.card-overlay {
    position: relative;
    display: block;
    width: calc(36% - 15px);
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card-overlay:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

    .card-content h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .card-content p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        color: #f4f4f4;
        line-height: 1.4;
    }

.item-count {
    font-size: 0.8rem;
    margin-bottom: 10px;
    opacity: 0.85;
}

.card-content button {
    align-self: start;
    padding: 8px 16px;
    border: none;
    background-color: #fff;
    color: #5c4433;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .card-content button:hover {
        background-color: #f0e8e2;
    }

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #5c4433;
    flex-grow: 1;
    white-space: nowrap;
}

.price {
    font-weight: bold;
    font-size: 1rem;
    color: #a08262;
    margin-left: 10px;
    white-space: nowrap;
}

.custom-link-icon {
    color: #8B4000; /* Rich brown */
    font-size: 15px;
    padding: 6px;
    display: inline-block;
    text-decoration: none;
}

    .custom-link-icon:hover {
        opacity: 0.8;
    }

@media (max-width: 768px) {
    .product-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .link-icon {
        align-self: flex-end;
    }
}

/* About Section */
.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    padding: 3rem 1rem;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.about-text {
    flex: 1;
    color: #5c5042;
}

/* Newsletter & Sign In */
.newsletter-signin {
    background-color: #f3ebe5;
    padding: 3rem 1rem;
    text-align: center;
    color: #4d4033;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

    .newsletter-container h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .newsletter-container p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

    .newsletter-form input[type="email"] {
        padding: 0.75rem 1rem;
        width: 100%;
        max-width: 400px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
    }

    .newsletter-form button {
        padding: 0.75rem 2rem;
        background-color: #b6977a;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .newsletter-form button:hover {
            background-color: #a6826d;
        }


/* Footer */
.footer {
    background-color: #f6f0ea;
    color: #4d4033;
    font-family: 'Open Sans', sans-serif;
    padding: 2rem 1rem;
    width: 100%;
}

.footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100% !important;
}

.footer-section {
    flex: 1 1 300px;
    margin-bottom: 1.5rem;
}

    .footer-section.logo-section {
        max-width: 600px;
        font-family: 'Lora', serif;
    }

    .footer-section h4 {
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-section li {
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        text-decoration: none;
        color: #4d4033;
        transition: color 0.3s;
    }

        .footer-section a:hover {
            color: #a6826d;
        }

.info-section {
    text-align: right;
    font-family: 'Lora', serif;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #9b8d7e;
    width: 100%;
}

/* Mobile layout */
@media (max-width: 768px) {
    /* Navbar */
    .nav-wrapper {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

        nav a {
            display: block;
            margin: 10px 0;
        }

    /* Hero */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-badge {
        position: static;
        margin-top: 20px;
        transform: none;
        max-width: 100%;
    }

    /* Cards & Collections */
    .grid {
        flex-direction: column;
    }

    .card,
    .card-overlay {
        width: 100%;
        height: auto;
    }

    .card-content {
        text-align: left;
    }

    /* Newsletter */
    .newsletter-form {
        width: 100%;
    }

        .newsletter-form input[type="email"] {
            max-width: 100%;
        }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .info-section {
        margin-left: 0;
        text-align: center;
    }

    /* Legal pages */
    .legal-page {
        padding: 2rem 1rem;
    }

        .legal-page h2 {
            font-size: 2rem;
        }

        .legal-page h3 {
            font-size: 1.2rem;
        }
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-section p {
    margin: 6px 0;
    font-size: 0.95rem;
}

.footer-copyright {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    color: #af947e;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin: 0.5rem 0;
}

.footer-section a {
    text-decoration: none;
    color: #4d4033;
    transition: color 0.3s ease;
}

    .footer-section a:hover {
        color: #a6826d; /* or your theme's accent color */
    }


/* Responsive */
@media (max-width: 768px) {
    .card {
        width: 100%;
    }

    .hero,
    .about-container,
    .row-split,
    .footer-content {
        flex-direction: column;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.product-board-header {
    background-color: #fff;
    padding: 40px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.back-button {
    padding: 8px 14px;
    border: 1px solid #d7c8b8;
    background: none;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #5c4433;
}

.board-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .board-title .avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .board-title h2 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        margin-bottom: 5px;
        color: #5c4433;
    }

    .board-title p {
        color: #6e6154;
        font-size: 1rem;
    }

.product-grid {
    padding: 40px 20px;
}

.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e3ddd6;
    width: calc(25% - 20px);
    text-align: center;
}

    .product-card img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 12px;
    }

.notice-box {
    display: flexbox;
    align-items: flex-start;
    gap: 10px;
    background-color: #f9f6f2;
    border: 2px solid #c9b9a6;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    color: #5c5042;
    line-height: 1.6;
    max-width: 800px;
    margin: 30px auto; /* auto left & right centers it */
    width: 800px;
}

    .notice-box i {
        font-size: 1.3rem;
        color: #5c4433;
        margin-top: 3px;
    }

.contact-form-section {
    padding: 3rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

    .contact-form-section form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form-section input,
    .contact-form-section textarea {
        padding: 0.75rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
    }

    .contact-form-section button {
        padding: 0.75rem 1.5rem;
        background-color: #b6977a;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .contact-form-section button:hover {
            background-color: #a6826d;
        }
/* Legal Pages Styling (Privacy & Affiliate Disclosure) */
.legal-page {
    padding: 3rem 1.5rem;
    color: #5c4433;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

    .legal-page h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #8a6a53;
    }

    .legal-page h3 {
        font-size: 1.4rem;
        color: #8a6a53;
        margin-top: 2rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .legal-page p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .legal-page ul {
        margin-bottom: 1rem;
        padding-left: 20px;
    }

        .legal-page ul li {
            margin-bottom: 0.5rem;
            list-style-type: disc;
        }

    .legal-page a {
        color: #a6826d;
        text-decoration: underline;
    }

        .legal-page a:hover {
            color: #5c4433;
        }

@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 1rem;
    }

        .legal-page h2 {
            font-size: 2rem;
        }

        .legal-page h3 {
            font-size: 1.2rem;
        }
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.text-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .text-info h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.1rem;
        color: #8a6a53;
        margin-bottom: 2px;
    }

.price {
    font-weight: bold;
    font-size: 1rem;
    color: #a08262;
}

.link-icon {
    color: #a08262;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .link-icon:hover {
        color: #5c4433;
    }

/* Nav Search Bar */
.nav-search {
    display: flex;
    align-items: center;
    border: 2px solid #c0a98c;
    border-radius: 10px;
    padding: 4px 8px;
    background-color: #fdf9f4;
    margin-left: 20px;
}

    .nav-search input {
        border: none;
        background: transparent;
        outline: none;
        font-size: 1rem;
        padding: 6px 10px;
        width: 200px;
        color: #5c5042;
    }

        .nav-search input::placeholder {
            color: #999;
        }

.search-icon-btn {
    background: none;
    border: none;
    color: #5c5042;
    font-size: 1.1rem;
    cursor: pointer;
    padding-left: 6px;
}

    .search-icon-btn:hover {
        color: #8a6a53;
    }

@media (max-width: 768px) {
    .nav-search {
        margin-top: 10px;
        margin-left: 0;
        justify-content: center;
    }

        .nav-search input {
            width: 140px;
        }
}

.highlight {
    background-color: #ffffcc !important;
    transition: background-color 0.3s ease;
}

.badge {
    position: absolute;
    background-color: #b97d61; /* or your brand color */
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    top: 10px;
    left: 10px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-card {
    position: relative; /* to anchor the badge */
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    justify-content: center;
    background-color: #f9f4ef;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

    .filter-bar input {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
        width: 80px;
    }

    .filter-bar button {
        padding: 8px 14px;
        background-color: #8a6a53;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

        .filter-bar button:hover {
            background-color: #6d513e;
        }
