:root {
    /* Color Palette - No pure black (#000) or pure white (#fff) */
    --clr-bg: #FEFBF3;
    /* Warm Cream */
    --clr-surface: #F8F1F1;
    /* Parchment */
    --clr-primary: #798777;
    /* Sage Leaf */
    --clr-secondary: #CF8E80;
    /* Terracotta Dust */
    --clr-accent: #E1D89F;
    /* Soft Sand */
    --clr-text: #3E3C3C;
    /* Soft Charcoal */
    --clr-text-light: #6B6868;

    /* Typography */
    --ff-heading: 'Alice', serif;
    --ff-body: 'Outfit', sans-serif;

    /* Spacing & Shapes */
    --radius-lg: 32px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --container-width: 1100px;
    --section-pady: 100px;
}

/* Image Protection Deterrents */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.protect-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
}

.protect-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--ff-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--ff-heading);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

/* Offset for fixed header anchor links */
#cards,
#gifts,
#artwork,
#about,
#process,
#featured {
    scroll-margin-top: 180px;
    /* Increased for more breathing room */
}

img {
    max-width: 100%;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    /* Sharpens images in Webkit browsers */
    image-rendering: high-quality;
    /* Modern quality hint */
    backface-visibility: hidden;
    /* Helps keep original resolution during animations */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Reusable Components */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--ff-body);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 135, 119, 0.15);
}

.highlight-item {
    animation: highlightPulse 2s ease-out;
}

/* Ensure search jump targets are not hidden by fixed header */
.card-item,
.collection-item,
.art-piece {
    scroll-margin-top: 100px;
    /* Desktop default */
}

@media (max-width: 768px) {

    .card-item,
    .collection-item,
    .art-piece {
        scroll-margin-top: 180px;
        /* Mobile (Header + Nav) */
    }
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(121, 135, 119, 0.4);
        transform: scale(1.02);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(121, 135, 119, 0.2);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(121, 135, 119, 0);
        transform: scale(1);
    }
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-bg);
}

.btn-secondary {
    background-color: var(--clr-secondary);
    color: var(--clr-bg);
}

.btn-text {
    background: transparent;
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--clr-accent);
    color: var(--clr-text);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Header & Mobile Nav */

.header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--clr-bg);
    /* Solid warm cream */
    border-bottom: 1px solid rgba(121, 135, 119, 0.1);
    transition: all 0.3s ease;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    position: relative;
}

.logo {
    font-family: 'Alice', serif;
    font-size: 3rem;
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
    z-index: 101;
    flex-shrink: 0;
}

.logo img {
    height: 80px;
    /* Slightly smaller for two-tier layout */
    width: auto;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Increased gap */
    z-index: 101;
}

.header-actions .btn-primary {
    white-space: nowrap;
    /* Prevent text wrapping */
}

.header-nav {
    border-top: 1px solid rgba(121, 135, 119, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
}

.nav-actions-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    width: 100%;
}

/* Search Box */
.search-container {
    position: relative;
    width: 100%;
    max-width: 200px;
    /* Slightly wider */
}

.site-search {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(121, 135, 119, 0.2);
    background-color: var(--clr-surface);
    font-family: var(--ff-body);
    font-size: 0.85rem;
    color: var(--clr-text);
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23798777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
}

.site-search:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(121, 135, 119, 0.1);
    background-color: var(--clr-bg);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    max-height: 480px;
    overflow-y: auto;
    background-color: var(--clr-bg);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    display: none;
    border: 1px solid rgba(121, 135, 119, 0.1);
    padding: 10px 0;
}

.search-results-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-text);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--clr-surface);
}

.search-result-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--clr-surface);
}

.search-result-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--clr-primary);
    font-family: var(--ff-body);
    font-weight: 500;
}

.search-result-info p {
    font-size: 0.75rem;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

.search-category-header {
    padding: 8px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--clr-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(207, 142, 128, 0.05);
}

@media (max-width: 768px) {

    /* Hide the original nested dropdown on mobile to prevent conflicts */
    .search-container .search-results-dropdown {
        display: none !important;
    }

    /* Styles for the body-appended global dropdown */
    #mobile-search-dropdown {
        position: fixed;
        top: 90px;
        /* Below header */
        left: 0;
        right: 0;
        width: 100%;
        transform: none !important;
        animation: none !important;
        border-radius: 0;
        border: none;
        border-bottom: 2px solid var(--clr-primary);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: var(--clr-bg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 99999;
        /* Extreme priority */
        padding: 10px 0 50px 0;
        display: none;
    }

    #mobile-search-dropdown.active {
        display: block;
    }
}

.menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 101;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-top {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding-bottom: 0;
        gap: 10px;
    }

    .menu-btn {
        display: block;
        grid-column: 1;
        justify-self: start;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .logo {
        grid-column: 2;
        justify-self: center;
        gap: 8px;
    }

    .logo img {
        height: 50px;
    }

    .logo span {
        font-size: 1.6rem;
    }

    .header-actions {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    .header-actions .btn-primary {
        display: none;
        /* Hide 'Contact Us' button in header on mobile */
    }

    .header-actions .search-container {
        max-width: 40px;
        /* Initially narrow for icon-only look */
        transition: max-width 0.3s ease;
    }

    .header-actions .search-container:focus-within {
        max-width: 150px;
        /* Expand on focus if possible */
        position: absolute;
        right: 0;
        z-index: 102;
    }

    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--clr-primary);
        border-radius: 3px;
        transition: 0.3s;
    }

    .menu-btn span {
        top: 8px;
    }

    .menu-btn span::before {
        top: -8px;
    }

    .menu-btn span::after {
        top: 8px;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        /* Change from right to left */
        width: 80%;
        height: 100vh;
        background-color: var(--clr-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
        /* Adjusted shadow direction */
        z-index: 100;
        border-top: none;
        padding-top: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
    }

    .nav-actions-mobile {
        display: flex;
    }

    .nav-actions-mobile .search-container {
        display: none;
        /* Hide redundant search in menu */
    }

    .nav-actions-mobile .btn-primary {
        width: 100%;
        max-width: 280px;
    }

    .menu-toggle:checked~.header-nav {
        left: 0;
    }

    .menu-toggle:checked~.menu-btn span {
        background-color: transparent;
    }

    .menu-toggle:checked~.menu-btn span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle:checked~.menu-btn span::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Hero Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-visual {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Hero */

/* Hero Banner Section */

.hero.banner-section {
    padding-top: 220px;
    padding-bottom: 20px;
    background-color: var(--clr-bg);
}

.hero-banner-card {
    min-height: 580px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    /* Move text up */
    justify-content: center;
    background-color: var(--clr-bg);
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(121, 135, 119, 0.1);
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-grass-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(to bottom, #c5e8b7 0%, #a8d594 100%);
    border-top: 2px solid #99c784;
    z-index: 2;
}

.bg-animal {
    position: absolute;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.03));
    transition: transform 0.5s ease;
    bottom: 12px;
    /* Stand on grass */
}

.animal-main {
    width: 100%;
    left: 0;
    z-index: 3;
    object-fit: cover;
    bottom: -5px;
}

.floating-bee {
    position: absolute;
    width: 70px;
    top: 40px;
    left: 140px;
    animation: float 4s ease-in-out infinite;
    z-index: 6;
}

.mobile-bee {
    display: none;
}

.hero-content.centered {
    max-width: 360px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0;
}

.hero-content.centered h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--clr-primary);
}

.hero-content.centered p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: var(--clr-text-light);
}

.hero-content.centered .hero-btns {
    justify-content: center;
}

@media (max-width: 992px) {
    .animal-deer {
        width: 200px;
        left: -10px;
    }

    .animal-elephant {
        width: 260px;
        right: -10px;
    }

    .hero-content.centered h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero.banner-section {
        padding-top: 140px;
        /* Slightly reduced top padding */
    }

    .hero-banner-card {
        min-height: auto;
        /* Allow content to dictate height */
        flex-direction: column;
        /* Stack text above animals */
        padding-bottom: 0;
    }

    .hero-bg-elements {
        position: relative;
        /* Position relative to flow in flex */
        width: 100%;
        height: auto;
        /* Let the image dictate height */
        min-height: 180px;
        order: 2;
        /* Ensure animals are below text */
        margin-top: 20px;
        display: flex;
        align-items: flex-end;
    }

    .bg-animal {
        opacity: 1;
        /* Make animals fully visible */
    }

    /* Single animal hero image fits inside cleanly */
    .animal-main {
        position: relative;
        width: 100%;
        height: auto;
        bottom: -2px;
        z-index: 3;
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
    }

    .floating-bee.desktop-bee {
        display: none !important;
    }

    .mobile-bee {
        display: block !important;
        width: 30px;
        /* Small size for mobile */
        margin-right: 12px;
        animation: float 4s ease-in-out infinite;
    }

    .hero-btns {
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-15px);
        /* Shift left to center button visually */
    }

    .hero-btns .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-content.centered {
        padding: 30px 20px 0;
        /* Reduced bottom padding to 0 */
        max-width: 100%;
        order: 1;
        /* Ensure text is top */
        margin-top: 0;
    }

    .hero-content.centered h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content.centered p {
        font-size: 1rem;
        margin-bottom: 15px;
        /* Slightly reduced */
    }
}

.visual-container {
    background-color: var(--clr-surface);
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

@keyframes float-alt {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.floating-bee {
    position: absolute;
    width: 70px;
    top: 20px;
    right: 8%;
    animation: float 4s ease-in-out infinite;
    z-index: 6;
}

.banner-img-bg {
    background-color: var(--clr-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.banner-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.about-img {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.visual-container.no-bg {
    background-color: transparent;
}

/* Showcase Grid & Visual Stack */

.showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.card-features {
    margin: 30px 0 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--clr-primary);
}

.feature span {
    color: var(--clr-secondary);
    font-size: 1.2rem;
}

.showcase-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-stack {
    position: relative;
    width: 280px;
    height: 380px;
}

.stack-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--clr-bg);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s;
    overflow: hidden;
}

.stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.item-1 {
    transform: rotate(-8deg) translateX(-40px);
    z-index: 1;
}

.item-2 {
    transform: rotate(0deg);
    z-index: 2;
}

.item-3 {
    transform: rotate(8deg) translateX(40px);
    z-index: 1;
}

.visual-stack:hover .item-1 {
    transform: rotate(-15deg) translateX(-80px);
}

.visual-stack:hover .item-3 {
    transform: rotate(15deg) translateX(80px);
}

.visual-stack:hover .item-2 {
    transform: translateY(-20px);
}

/* Gallery Specific */

.showcase-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 768px) {
    .showcase-grid.reverse {
        grid-template-columns: 1fr;
    }
}

.visual-gallery {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    width: 140px;
    height: 140px;
    background-color: var(--clr-bg);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery-item:hover {
    transform: scale(1.1) rotate(3deg);
    z-index: 10;
}

.gallery-item.item-3 {
    width: 180px;
    margin-top: -30px;
}

/* Products Section */

.products {
    padding: var(--section-pady) 0;
    background-color: var(--clr-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--clr-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--clr-surface);
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--clr-text);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(121, 135, 119, 0.2);
}

.card-img-container {
    background-color: var(--clr-surface);
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.card-img-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.product-card:hover .card-img-container img {
    transform: scale(1.1) rotate(2deg);
}

.card-info h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: var(--clr-primary);
}

.card-info p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* Featured Banner */

.featured-banner {
    padding: var(--section-pady) 0;
}

.banner-content {
    background-color: var(--clr-primary);
    color: var(--clr-bg);
    padding: 60px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-text p {
    margin-bottom: 32px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.banner-text .btn {
    background-color: var(--clr-bg);
    color: var(--clr-primary);
}

/* Process Section */

.process {
    padding: var(--section-pady) 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--clr-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 8px;
    width: 18px;
    height: 18px;
    background-color: var(--clr-secondary);
    border-radius: 50%;
    border: 4px solid var(--clr-bg);
}

.timeline-content h3 {
    margin-bottom: 8px;
    color: var(--clr-primary);
}

/* Newsletter */

.newsletter {
    padding-bottom: var(--section-pady);
}

.newsletter-card {
    background-color: var(--clr-accent);
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: visible;
    /* Allow mouse to overhang */
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--clr-primary);
}

.newsletter-text p {
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: var(--clr-text-light);
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
    gap: 12px;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    border: none;
    font-family: var(--ff-body);
    font-size: 1rem;
    background-color: var(--clr-bg);
}

.newsletter-decoration {
    position: absolute;
    width: 160px;
    bottom: -10px;
    right: 15px;
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.newsletter-card:hover .newsletter-decoration {
    opacity: 0.8;
    transform: scale(1.1) rotate(-5deg);
}

/* About Section */

.about {
    padding: var(--section-pady) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.decor-pink-butterfly,
.decor-purple-butterfly {
    position: absolute;
    z-index: 5;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.decor-pink-butterfly {
    width: 60px;
    top: 0%;
    right: 5%;
    animation: float 5s ease-in-out infinite;
}

.decor-purple-butterfly {
    width: 50px;
    top: 35%;
    left: 8%;
    animation: float-alt 4s ease-in-out infinite;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--clr-primary);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--clr-text-light);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.stat-num {
    display: block;
    font-family: var(--ff-heading);
    font-size: 2.5rem;
    color: var(--clr-secondary);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--clr-text-light);
}

/* Footer */

.footer {
    padding: 80px 0 40px;
    background-color: var(--clr-surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 300px;
    color: var(--clr-text-light);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    margin-bottom: 20px;
    color: var(--clr-primary);
    font-family: var(--ff-body);
    font-weight: 600;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul a:hover {
    color: var(--clr-secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--clr-bg);
    border-radius: 50%;
    color: var(--clr-primary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--clr-secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-social svg,
.footer-social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    stroke-width: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

/* Decorative Decorations */

.leaf {
    position: absolute;
    background-color: var(--clr-accent);
    border-radius: 50% 0 50% 0;
    opacity: 0.4;
}

.leaf-1 {
    width: 60px;
    height: 60px;
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

.leaf-2 {
    width: 40px;
    height: 40px;
    bottom: 40px;
    right: 40px;
    transform: rotate(45deg);
}

.animal-shadow {
    position: absolute;
    width: 120px;
    height: 80px;
    background-color: var(--clr-secondary);
    bottom: 20px;
    left: 40px;
    border-radius: 60px 60px 10px 10px;
    opacity: 0.2;
}

/* Responsive */

@media (max-width: 1024px) {

    .hero h1,
    .banner-text h2,
    .about-text h2 {
        font-size: 2.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        gap: 15px;
    }

    .nav-links {
        padding: 100px 30px 40px;
        align-items: center;
        text-align: center;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-links .btn-primary {
        display: inline-block;
        width: 100%;
        max-width: 280px;
    }

    .nav-links .search-container {
        width: 100%;
        max-width: 280px;
        display: block;
    }

    .search-results-dropdown {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--clr-surface);
        max-height: none;
    }

    .search-result-item {
        padding: 15px 20px;
    }

    .hero .container,
    .banner-content,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .menu-toggle:checked~.header-nav .nav-links {
        display: flex;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-visual {
        order: -1;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
        margin-bottom: 24px;
    }

    .footer-links {
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }

    .link-group {
        text-align: center;
    }

    .newsletter {
        padding-bottom: 20px;
        /* Reduced from global 100px */
    }

    .about {
        padding-top: 30px !important;
        /* Reduced and forced to override shared padding */
        scroll-margin-top: 40px;
        /* Reduced from 80px to hide previous section bottom */
    }

    .feature {
        justify-content: center;
    }

    .products,
    .process {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .showcase-text {
        padding: 0 10px;
    }

    .showcase-visual {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        width: 100% !important;
        height: auto;
        min-height: 380px;
        margin: 0 0 40px 0 !important;
        order: -1;
        overflow: visible;
    }

    .visual-stack {
        transform: scale(0.8);
        margin: 0 auto;
    }



    .stats {
        justify-content: center;
    }

    .newsletter-decoration {
        width: 70px;
        bottom: -25px;
        right: -15px;
    }

    /* Prevent horizontal overflow from transform */
    .showcase-visual {
        overflow: visible;
    }
}
/* Cart Styles */
#cart-sidebar { position: fixed; top: 0; right: -400px; width: 400px; height: 100vh; background: var(--clr-bg); box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.3s ease; z-index: 2000; padding: 20px; display: flex; flex-direction: column; }
#cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--clr-primary); padding-bottom: 10px; margin-bottom: 20px; font-family: var(--ff-heading); color: var(--clr-primary); }
.close-cart { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--clr-text); }
.cart-items { flex-grow: 1; overflow-y: auto; }
.cart-item { display: flex; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-details { flex-grow: 1; }
.cart-item-title { font-weight: 500; font-size: 0.9rem; color: var(--clr-text); }
.cart-item-price, .cart-item-pers { font-size: 0.8rem; color: var(--clr-text-light); }
.remove-item { background: none; border: none; color: red; font-size: 0.8rem; cursor: pointer; padding: 0; text-decoration: underline; margin-top: 5px; }
.cart-footer { border-top: 1px solid var(--clr-primary); padding-top: 20px; }
.cart-total { display: flex; justify-content: space-between; font-weight: bold; font-size: 1.2rem; margin-bottom: 15px; }
.checkout-btn { width: 100%; text-align: center; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1999; display: none; }
.cart-overlay.show { display: block; }
#cart-toggle-btn { position: fixed; bottom: 20px; right: 20px; background: var(--clr-primary); color: var(--clr-bg); border: none; border-radius: 50%; width: 60px; height: 60px; font-size: 24px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000; display: none; align-items: center; justify-content: center; }
#cart-toggle-btn.visible { display: flex; }
.cart-count { position: absolute; top: -5px; right: -5px; background: var(--clr-secondary); color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; display: flex; justify-content: center; align-items: center; }
/* Pers Modal */
.pers-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 3000; display: none; justify-content: center; align-items: center; }
.pers-modal-overlay.show { display: flex; }
.pers-modal { background: var(--clr-bg); padding: 30px; border-radius: var(--radius-md); max-width: 500px; width: 90%; }
.pers-modal h3 { font-family: var(--ff-heading); color: var(--clr-primary); margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: var(--radius-sm); font-family: var(--ff-body); }
.modal-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 450px) { #cart-sidebar { width: 100%; right: -100%; } }

