html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, sans-serif
}

.font-display {
    font-family: "Playfair Display", serif
}

.hero {
    background: radial-gradient(circle at 78% 40%, rgba(130, 200, 60, .22), transparent 28%), linear-gradient(135deg, #fff, #fbfff8 55%, #f0fae7)
}

.float {
    animation: float 4.5s ease-in-out infinite;
    filter: drop-shadow(0 25px 25px rgba(35, 90, 10, .2))
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-16px) rotate(1deg)
    }
}

.pulse {
    animation: pulse 3s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(.95);
        opacity: .35
    }

    50% {
        transform: scale(1.08);
        opacity: .65
    }
}

.leaf {
    animation: leaf 7s ease-in-out infinite
}

@keyframes leaf {

    0%,
    100% {
        transform: translate(0) rotate(0)
    }

    50% {
        transform: translate(12px, -18px) rotate(8deg)
    }
}

.card {
    transition: .3s
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(40, 100, 10, .12)
}

.btn {
    transition: .25s
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(67, 142, 13, .25)
}

.newsletter {
    background: #f4fbe9;
    padding: 90px 0
}

.newsletter-box {
    max-width: 880px;
    margin: auto;
    text-align: center;
    background: #fff;
    border: 1px solid #d0eba5;
    border-radius: 28px;
    padding: 56px 32px;
    box-shadow: 0 18px 50px rgba(40, 100, 10, .09)
}

.newsletter-form {
    display: flex;
    max-width: 540px;
    margin: 30px auto 0;
    gap: 10px
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 18px;
    border: 1px solid #d0eba5;
    border-radius: 999px;
    font: inherit;
    outline: none
}

.newsletter-form input:focus {
    border-color: #57ad16;
    box-shadow: 0 0 0 3px #e8f6d2
}

.newsletter-note {
    font-size: .78rem;
    color: #64748b;
    margin: 14px 0 0
}

.form-message {
    display: none;
    margin: 16px 0 0;
    color: #438e0d;
    font-weight: 700
}

@media(max-width:600px) {
    .newsletter {
        padding: 65px 0
    }

    .newsletter-box {
        padding: 42px 20px
    }

    .newsletter-form {
        flex-direction: column
    }

    .newsletter-form .btn {
        width: 100%
    }
}

/* Modern UI refinement */
:root {
    --ui-ink: #26362f;
    --ui-muted: #66756d;
    --ui-cream: #fbfaf6;
    --ui-surface: #ffffff;
    --ui-line: #e6ece2;
    --ui-shadow: 0 1px 2px rgba(30, 48, 36, .04), 0 14px 36px rgba(30, 48, 36, .08)
}

body {
    color: var(--ui-ink);
    background: var(--ui-cream)
}

.text-balance,
h1,
h2,
h3,
.font-display {
    text-wrap: balance
}

.text-pretty,
p,
.text-slate-600,
.text-slate-500 {
    color: var(--ui-muted) !important;
    text-wrap: pretty;
    line-height: 1.75
}

a,
button,
input,
summary {
    min-height: 44px
}

a,
button {
    transition: all .2s ease-in-out
}

.btn {
    box-shadow: 0 6px 16px rgba(67, 142, 13, .16);
    transition: all .2s ease-in-out
}

.btn:hover {
    box-shadow: 0 12px 24px rgba(67, 142, 13, .22)
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(130, 200, 60, .55);
    outline-offset: 3px
}

header {
    box-shadow: 0 1px 0 rgba(35, 90, 10, .06)
}

@media (max-width: 767px) {
    .site-header {
        min-height: 58px
    }

    .site-header-inner {
        position: relative;
        height: 58px;
        min-height: 58px;
        padding: 0 18px
    }

    .mobile-header-left,
    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 14px;
        z-index: 1
    }

    .mobile-header-right {
        margin-left: auto
    }

    .site-logo {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0
    }

    .site-logo img {
        display: block;
        width: 100px;
        height: auto
    }

    .mobile-cart-control {
        display: flex;
        align-items: center;
        gap: 7px
    }

    .mobile-cart-control::before {
        content: "\f07a";
        font-family: "Font Awesome 6 Free";
        font-weight: 900
    }
}

.hero {
    background: radial-gradient(circle at 86% 18%, rgba(175, 217, 110, .30), transparent 21%), radial-gradient(circle at 18% 76%, rgba(208, 235, 165, .38), transparent 23%), linear-gradient(135deg, #fffdf8 0%, #f5f9ef 100%)
}

.hero .inline-block {
    box-shadow: inset 0 0 0 1px rgba(67, 142, 13, .10)
}

.card {
    border-color: var(--ui-line) !important;
    box-shadow: 0 1px 2px rgba(35, 90, 10, .02);
    transition: all .2s ease-in-out
}

.card:hover {
    box-shadow: var(--ui-shadow)
}

section {
    position: relative
}

.rounded-3xl {
    box-shadow: 0 1px 2px rgba(35, 90, 10, .03)
}

img {
    background: transparent;
}

header img,
footer img,
img[src*="logo"],
.logo {
    background: transparent !important;
}

.hero img {
    aspect-ratio: 4/5;
    object-fit: cover
}

.hero .float {
    aspect-ratio: 4/5;
    object-fit: cover
}

.product-detail-image {
    aspect-ratio: 4/3;
    object-fit: cover
}

.newsletter {
    background: linear-gradient(135deg, #edf6e1, #fbfaf6)
}

.newsletter-box {
    box-shadow: var(--ui-shadow);
    border: 1px solid var(--ui-line)
}

.newsletter-form input {
    min-height: 52px;
    transition: all .2s ease-in-out
}

.newsletter-form .btn {
    min-height: 52px
}

@media(min-width:768px) {
    .hero {
        border-radius: 0 0 48px 48px
    }

    .hero .grid {
        gap: 5rem
    }

    .hero h1 {
        letter-spacing: -.055em
    }

    .card {
        border-radius: 20px !important
    }

    .newsletter-box {
        border-radius: 24px
    }
}

@media(max-width:640px) {
    .hero {
        padding-bottom: 4rem
    }

    .hero h1 {
        font-size: 3.25rem;
        line-height: 1.02
    }

    .hero .float {
        width: min(84vw, 360px)
    }

    .hero .absolute.w-80 {
        width: 17rem;
        height: 17rem
    }

    .newsletter-form {
        gap: 12px
    }

    .newsletter-box {
        border-radius: 20px
    }
}

/* ---------- Shared pages (shop / cart / checkout / payment / about) ---------- */
.form-input {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid #d0eba5;
    border-radius: 999px;
    font: inherit;
    outline: none;
    background: #fff;
    transition: all .2s ease-in-out
}

.form-input:focus {
    border-color: #57ad16;
    box-shadow: 0 0 0 3px #e8f6d2
}

textarea.form-input {
    border-radius: 16px;
    resize: vertical
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23438e0d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 42px
}

/* ---------- Cart drawer ---------- */
body.cart-drawer-open {
    overflow: hidden
}

.cart-drawer-shell {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    pointer-events: none
}

.cart-drawer-shell.is-open {
    visibility: visible;
    pointer-events: auto
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100%;
    border: 0;
    background: rgba(28, 40, 30, .46);
    opacity: 0;
    transition: opacity .24s ease
}

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 430px);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--ui-ink);
    box-shadow: -16px 0 42px rgba(26, 42, 28, .18);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22, .8, .2, 1)
}

.cart-drawer-shell.is-open .cart-drawer-backdrop {
    opacity: 1
}

.cart-drawer-shell.is-open .cart-drawer-panel {
    transform: translateX(0)
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 24px;
    border-bottom: 1px solid var(--ui-line)
}

.cart-drawer-title {
    margin: 0;
    font-size: 1.4rem;
    font-family: "Playfair Display", serif
}

.cart-drawer-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ui-ink);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer
}

.cart-drawer-close:hover {
    background: #f3f8ec
}

.cart-drawer-delivery {
    margin: 16px 20px 0;
    padding: 12px 14px;
    border: 1px solid #dceacb;
    border-radius: 14px;
    background: #f6fbed;
    color: #3c641d;
    font-size: .82rem;
    font-weight: 700
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 4px 0 20px;
    border-bottom: 1px solid var(--ui-line)
}

.cart-drawer-item-image {
    width: 78px;
    height: 78px;
    border-radius: 14px;
    background: #f7faf3;
    object-fit: cover
}

.cart-drawer-item-info {
    min-width: 0
}

.cart-drawer-item-name {
    display: block;
    min-height: 0;
    color: var(--ui-ink);
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.25
}

.cart-drawer-item-price {
    margin: 4px 0 10px;
    color: #438e0d !important;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2
}

.cart-drawer-qty {
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    height: 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dce7d5;
    border-radius: 10px
}

.cart-drawer-qty button {
    min-height: 34px;
    border: 0;
    background: #f8fbf5;
    color: #376d16;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer
}

.cart-drawer-qty span {
    text-align: center;
    font-size: .88rem;
    font-weight: 800
}

.cart-drawer-remove {
    min-height: 0;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #7a867d;
    font-size: .72rem;
    text-decoration: underline;
    cursor: pointer
}

.cart-drawer-empty {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: var(--ui-muted)
}

.cart-drawer-empty-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: #f3f8ec;
    font-size: 1.5rem
}

.cart-drawer-empty p {
    margin: 0
}

.cart-drawer-shop,
.cart-drawer-checkout {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800
}

.cart-drawer-shop {
    padding: 0 22px;
    border: 1px solid #4d7f2e;
    color: #376d16
}

.cart-drawer-footer {
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ui-line);
    background: #fff
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 1rem
}

.cart-drawer-total strong {
    color: #438e0d
}

.cart-drawer-checkout {
    background: #438e0d;
    color: #fff
}

.cart-drawer-checkout:hover {
    color: #fff;
    background: #376d16
}

/* ---------- Shop mobile layout ---------- */
.mobile-cart-trigger {
    display: inline-flex;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 8px;
    border: 1px solid #dce7d5;
    border-radius: 999px;
    background: #f7fbf2;
    color: #376d16;
    font-size: .86rem;
    font-weight: 800
}

@media(max-width:767px) {
    .shop-intro {
        padding-top: 6.8rem !important;
        padding-bottom: 2rem !important;
        text-align: left
    }

    .shop-intro h1 {
        font-size: 2.55rem;
        line-height: 1.05
    }

    .shop-intro p {
        margin-top: .7rem
    }

    .shop-product-section {
        padding-top: 1.5rem !important;
        padding-bottom: 3.5rem !important
    }

    .shop-product-layout {
        gap: 1.75rem !important
    }

    .shop-product-gallery > .card:first-child {
        border-radius: 20px
    }

    .shop-product-gallery > .card:first-child img {
        aspect-ratio: 1 / 1.06;
        background: #f7faf3;
        object-fit: contain
    }

    .shop-product-gallery .grid {
        gap: .7rem;
        margin-top: .7rem
    }

    .shop-product-gallery .grid .card {
        border-radius: 14px
    }

    .shop-product-info h2 {
        font-size: 2.25rem;
        line-height: 1.05
    }

    .shop-product-info > p {
        font-size: .95rem;
        line-height: 1.65
    }

    .shop-product-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
        margin-top: 1.5rem
    }

    .shop-product-actions .qty-group {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center
    }

    .shop-product-actions a {
        display: flex;
        justify-content: center;
        padding: .85rem .55rem !important;
        text-align: center;
        font-size: .9rem
    }

    .shop-product-benefits {
        gap: .55rem;
        margin-top: 1.25rem;
        font-size: .78rem
    }

    .shop-product-benefits > div {
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .65rem .45rem
    }
}

@media(min-width:768px) {
    .mobile-cart-trigger {
        display: none
    }
}

@media(prefers-reduced-motion: reduce) {
    .cart-drawer-backdrop,
    .cart-drawer-panel {
        transition: none
    }
}

/* ---------- Site footer ---------- */
.site-footer {
    --footer-bg: #244b11;
    --footer-line: rgba(208, 235, 165, .18);
    --footer-accent: #82c83c;
    --footer-accent-soft: #afd96e;
    width: 100%;
    background: var(--footer-bg);
    color: #fff;
    border-top: 1px solid var(--footer-line);
    -webkit-font-smoothing: antialiased
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box
}

.site-footer,
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer a:hover,
.site-footer a:visited {
    color: #fff !important;
    text-decoration: none
}

.site-footer .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 48px;
    border-bottom: 1px solid var(--footer-line)
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 0
}

.footer-brand-logo img {
    display: block;
    width: 68px;
    height: 68px;
    max-width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
    padding: 3px;
    background: #fff;
    border-radius: 50%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35))
}

.footer-brand-name {
    font-family: "Playfair Display", serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em
}

.footer-brand-name span {
    color: var(--footer-accent-soft) !important;
    font-weight: 400
}

.footer-brand-copy {
    max-width: 380px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .72) !important;
    font-size: .95rem;
    line-height: 1.65
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none
}

.footer-contact li {
    margin: 0;
    font-size: .9rem;
    line-height: 1.4
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 0;
    padding: 2px 0;
    color: rgba(255, 255, 255, .72) !important;
    transition: color .2s ease
}

.footer-contact a:hover {
    color: #fff !important
}

.footer-contact i {
    flex: none;
    width: 16px;
    color: var(--footer-accent);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    opacity: .85
}

.footer-subscribe {
    max-width: 420px;
    margin-top: 26px
}

.footer-subscribe h3 {
    margin: 0;
    color: rgba(255, 255, 255, .58) !important;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase
}

.footer-subscribe > p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .65) !important;
    font-size: .85rem;
    line-height: 1.55
}

.footer-subscribe-form {
    position: relative;
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.footer-subscribe-form input[type="email"] {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(208, 235, 165, .32);
    border-radius: 999px;
    background: transparent;
    color: #fff !important;
    font: inherit;
    font-size: .9rem;
    outline: none;
    box-shadow: none
}

.footer-subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, .55)
}

.footer-subscribe-form input[type="email"]:focus {
    border-color: var(--footer-accent);
    box-shadow: 0 0 0 3px rgba(130, 200, 60, .22)
}

.footer-subscribe-form button {
    flex: none;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--footer-accent);
    color: var(--footer-bg) !important;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease
}

.footer-subscribe-form button:hover {
    background: #99d15c
}

.footer-subscribe-form button:disabled {
    opacity: .65;
    cursor: wait
}

.footer-subscribe-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden
}

.footer-subscribe-message {
    display: none;
    margin: 12px 0 0;
    color: var(--footer-accent-soft) !important;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.5
}

.footer-col h3 {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .58) !important;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.footer-col li {
    margin: 0 0 9px;
    line-height: 1.3
}

.footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 2px 0;
    color: rgba(255, 255, 255, .72) !important;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.4
}

.footer-col a:hover {
    color: #fff !important
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 32px
}

.footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, .6) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5
}

.footer-copy a {
    display: inline;
    min-height: 0;
    color: #fff !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

.footer-copy a:hover {
    opacity: .75
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-social a {
    display: inline-grid;
    width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(130, 200, 60, .45);
    border-radius: 50%;
    color: var(--footer-accent) !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease
}

.footer-social a:hover {
    background: var(--footer-accent);
    border-color: var(--footer-accent);
    color: var(--footer-bg) !important
}

.footer-social i {
    display: block;
    font-size: 20px;
    line-height: 1
}

@media(max-width:760px) {
    .site-footer .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        padding: 40px 20px 32px
    }

    .footer-brand-name {
        font-size: 1.6rem
    }

    .footer-brand-logo img {
        width: 56px;
        height: 56px
    }

    .footer-bottom {
        flex-direction: column;
        padding: 20px;
        text-align: center
    }
}

/* Mobile header: menu left, logo truly centred, cart right */ 
@media (max-width: 767px) {
  #header.site-header {
    background: #fff;
    border-bottom: 1px solid #eeeeee;
  }

  #header-nav .header-mobile-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding-top: 0;
    padding-bottom: 0;
  }

  #header-nav .nav-menu-btn,
  #header-nav .header-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #161616;
  }

  #header-nav .nav-menu-btn svg {
    width: 25px;
    height: 25px;
  }

  #header-nav .header-cart-link svg {
    width: 23px;
    height: 23px;
  }

  #header-nav .header-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
  }

  #header-nav .header-logo img {
    display: block;
    width: auto;
    max-height: 34px;
  }
}