:root {
    --green: #173f2b;
    --green-dark: #0d2b1c;
    --green-light: #2f6849;
    --cream: #fffaf0;
    --cream-dark: #f4ead6;
    --yellow: #f5bd35;
    --orange: #e98a2d;
    --text: #17231c;
    --muted: #6e766f;
    --white: #ffffff;
    --radius: 18px;
    --radius-lg: 28px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; max-width: 100%; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    max-width: 100%;
}

img { max-width: 100%; }

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: 500px;
    height: 500px;
    background: rgba(245, 189, 53, 0.08);
    top: -200px;
    right: -150px;
}

body::after {
    width: 450px;
    height: 450px;
    background: rgba(23, 63, 43, 0.05);
    bottom: -200px;
    left: -150px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--green);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 1000;
}

.skip-link:focus { left: 8px; }

a { color: var(--green); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

.site-nav {
    padding: 14px 0;
    background: rgba(255, 250, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(23, 63, 43, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: var(--green);
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: -0.4px;
}

.brand-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-actions {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .nav-main {
        margin-left: 2rem !important;
    }
}

.brand:hover { color: var(--green); }

.brand-icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--yellow);
    font-size: 22px;
    box-shadow: 0 8px 25px rgba(23, 63, 43, .18);
}

.nav-small {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.navbar-nav .nav-link {
    color: var(--green);
    font-weight: 600;
    padding: 8px 14px !important;
    border-radius: 10px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    background: #edf4ed;
    color: var(--green);
}

.navbar-toggler {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e8e8e3;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e8e8e3;
    background: #fff;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.icon-btn:hover { background: #edf4ed; color: var(--green); }

.count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.nav-search-desktop { padding: 0 0 14px; }

.nav-search-form {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.nav-search-form i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.search-input {
    border: 1px solid #e1e4dc;
    border-radius: 14px;
    background: #fff;
    padding: 11px 16px 11px 40px;
    width: 100%;
}

.shop-search {
    padding-left: 16px;
}

.nav-search-form .search-input { padding-left: 42px; }

.btn-main {
    background: var(--green);
    border: 0;
    color: #fff;
    padding: 12px 20px;
    border-radius: 13px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(23, 63, 43, .18);
}

.btn-main:hover,
.btn-main:focus {
    background: var(--green-dark);
    color: #fff;
}

.btn-gold {
    background: var(--yellow);
    border: 0;
    color: #38290c;
    padding: 12px 20px;
    border-radius: 13px;
    font-weight: 800;
}

.btn-gold:hover { background: #e0ab28; color: #38290c; }

.btn-outline-custom {
    border: 1px solid #d9dfd8;
    color: var(--green);
    padding: 11px 18px;
    border-radius: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.6);
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--green);
    border-color: #c9d2c7;
}

.btn-wish {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e8e8e3;
    background: #fff;
    color: var(--muted);
}

.btn-wish.active,
.btn-wish[aria-pressed="true"] {
    color: #c0392b;
    background: #fff4f2;
    border-color: #f3cfc9;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: #edf4ed;
    color: var(--green);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: 20px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background: #49a36b;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(73,163,107,.12);
}

.hero {
    padding: 48px 0 70px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -2px;
    color: var(--green);
    margin: 0 0 22px;
}

.hero h1 span { color: var(--orange); display: block; }

.hero-text {
    max-width: 540px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.hero-visual { position: relative; padding: 12px; }

.hero-panel {
    aspect-ratio: 1 / 1;
    max-height: 520px;
    width: 100%;
    border-radius: 38px;
    background:
        linear-gradient(160deg, var(--green) 0%, var(--green-light) 100%);
    box-shadow: 0 35px 80px rgba(23,63,43,.18);
    display: grid;
    place-items: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hero-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.hero-pill {
    background: #fff;
    border: 1px solid #efe8d6;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--green);
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 15px 45px rgba(0,0,0,.12);
}

.fresh-card {
	border:1px solid #1e4b34;
    left: -6px;
    bottom: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fresh-icon {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0cf;
    color: var(--orange);
    font-size: 21px;
}

.floating-card strong { display: block; color: var(--green); font-size: .95rem; }
.floating-card small { color: var(--muted); }

.egg-card { right: -8px; top: 40px; text-align: center; border:1px solid #23543a;}

.section { padding: 40px 0 80px; }
.section-tight { padding: 28px 0 70px; }

.section-title {
    font-family: "Playfair Display", serif;
    color: var(--green);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -1px;
}

.section-lead { color: var(--muted); max-width: 640px; }

.category-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 8px 0 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.category-bar::-webkit-scrollbar { display: none; }

.cat-btn {
    border: 1px solid #e1e4dc;
    background: #fff;
    color: var(--green);
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 700;
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 40px;
}

.cat-btn.active,
.cat-btn[aria-pressed="true"] {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.product-card {
    border: 1px solid rgba(23,63,43,.08);
    background: rgba(255,255,255,.78);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 20px 50px rgba(23,63,43,.1);
}

.product-media-wrap {
    position: relative;
}

.product-media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #edf4ed;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-media-wrap .btn-wish {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    box-shadow: 0 6px 16px rgba(23, 63, 43, .12);
}

.product-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 4px;
}

.product-name {
    color: var(--green);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.3;
    text-decoration: none;
}

.product-name:hover { color: var(--green-light); }

.product-meta {
    color: var(--muted);
    font-size: .82rem;
    margin: 6px 0 12px;
    min-height: 1.3em;
}

.product-price {
    font-weight: 800;
    color: var(--green);
    font-size: 1.12rem;
    margin-top: auto;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.product-actions .btn-main,
.product-actions .btn-outline-custom {
    flex: 1 1 100%;
    padding: 10px 12px;
    font-size: .9rem;
    min-height: 42px;
}

.empty-state {
    text-align: center;
    background: rgba(255,255,255,.7);
    border: 1px dashed #d7ddd4;
    border-radius: var(--radius-lg);
    padding: 48px 24px;
}

.empty-state h3 { color: var(--green); font-family: "Playfair Display", serif; }

.page-hero {
    padding: 36px 0 10px;
}

.detail-image {
    background: #edf4ed;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#productDetails .d-flex {
    gap: 12px;
}

#productDetails strong {
    text-align: right;
    word-break: break-word;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e1e4dc;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.qty-control button {
    width: 44px;
    height: 44px;
    border: 0;
    background: #f7f3e8;
    color: var(--green);
    font-weight: 800;
}

.qty-control input {
    width: 56px;
    height: 44px;
    border: 0;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

.form-control {
    min-height: 44px;
}

.cart-item {
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(23,63,43,.08);
    border-radius: 20px;
    padding: 16px;
}

.cart-thumb {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
    background: #edf4ed;
}

.summary-box,
.form-card {
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(23,63,43,.08);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.pay-option {
    border: 1px solid #e1e4dc;
    border-radius: 16px;
    padding: 14px 16px;
    background: #fff;
}

.pay-option:has(input:checked) {
    border-color: var(--green);
    background: #edf4ed;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.timeline li {
    position: relative;
    padding: 0 0 18px 28px;
    color: var(--muted);
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfd6cc;
}

.timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: #e4e8e1;
}

.timeline li.done { color: var(--green); font-weight: 700; }
.timeline li.done::before { background: var(--green); }
.timeline li.current { color: var(--orange); font-weight: 800; }
.timeline li.current::before { background: var(--orange); }

.about-card,
.contact-card {
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(23,63,43,.08);
    border-radius: 24px;
    padding: 26px;
    height: 100%;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf4ed;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.auth-wrap {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.site-footer {
    padding: 40px 0 28px;
    border-top: 1px solid rgba(23,63,43,.08);
}

.footer-brand { font-weight: 800; color: var(--green); }
.footer-heading { font-weight: 800; color: var(--green); margin-bottom: 8px; }
.footer-text { color: var(--muted); font-size: .86rem; }
.footer-link { display: block; color: var(--muted); text-decoration: none; margin-bottom: 6px; }
.footer-link:hover { color: var(--green); }

.social {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--green);
    border: 1px solid #e8e8e3;
    text-decoration: none;
    margin-left: 6px;
}

.social:hover { background: var(--green); color: #fff; }

.toast-host {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    display: grid;
    gap: 8px;
}

.app-toast {
    background: var(--green);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(23,63,43,.2);
    font-weight: 600;
    max-width: min(320px, calc(100vw - 32px));
}

.alert-soft {
    background: #edf4ed;
    border: 1px solid #d5e4d6;
    color: var(--green);
    border-radius: 14px;
}

@media (max-width: 991px) {
    .hero { padding: 28px 0 40px; }
    .hero-panel { border-radius: 28px; max-height: 420px; }
    .nav-search-desktop { display: none !important; }
    .hero-visual { padding: 0; }
    .floating-card { display: none; }
    .nav-auth { width: 100%; }
    .nav-auth .btn,
    .nav-auth .dropdown,
    .nav-auth .dropdown .btn { width: 100%; }
    #siteSearch .search-input { padding-left: 16px; min-height: 44px; font-size: 16px; }
    .form-control,
    .search-input,
    textarea.form-control {
        font-size: 16px;
        min-height: 44px;
    }
    .section { padding: 32px 0 56px; }
}

@media (max-width: 767px) {
    .page-hero { padding: 24px 0 8px; }
    .summary-box,
    .form-card { padding: 16px; border-radius: 20px; }
    .auth-wrap { min-height: 0; padding: 24px 0 40px; }
    .cart-item .d-flex.flex-wrap { row-gap: 12px; }
    .cart-item .flex-grow-1 { min-width: 0; flex-basis: 140px; }
    .empty-state { padding: 32px 16px; }
    .toast-host { right: 12px; left: 12px; bottom: 12px; }
    .app-toast { max-width: 100%; }
}

@media (max-width: 575px) {
    .site-nav { padding: 8px 0; }
    .site-nav .container { padding-left: 12px; padding-right: 12px; }
    .brand { gap: 8px; font-size: .95rem; }
    .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-radius: 10px;
        box-shadow: none;
    }
    .nav-actions { gap: 4px !important; }
    .icon-btn,
    .navbar-toggler {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .hero { padding: 20px 0 32px; }
    .hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
        letter-spacing: -1px;
        margin-bottom: 14px;
        line-height: 1.08;
    }
    .hero-text {
        font-size: .95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    .hero-pills { margin-bottom: 14px; gap: 6px; }
    .hero-pill { font-size: .75rem; padding: 6px 10px; }
    .hero-pills .hero-pill:nth-child(n+4) { display: none; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1 1 100%; min-height: 46px; }
    .hero-panel { border-radius: 22px; max-height: 260px; }
    .eyebrow { font-size: .72rem; margin-bottom: 12px; padding: 6px 12px; }
    .section-title { font-size: clamp(1.55rem, 7vw, 2rem); }
    .section { padding: 24px 0 44px; }
    .product-body { padding: 10px 10px 12px; }
    .product-name { font-size: .86rem; }
    .product-meta { font-size: .72rem; margin: 4px 0 8px; }
    .product-price { font-size: 1rem; }
    .product-brand { font-size: .64rem; }
    .product-card { border-radius: 16px; }
    .product-card:hover { transform: none; }
    .product-actions { margin-top: 8px; }
    .product-actions .btn-main,
    .product-actions .btn-outline-custom {
        font-size: .78rem;
        padding: 8px 8px;
        min-height: 40px;
    }
    .product-media-wrap .btn-wish {
        width: 32px;
        height: 32px;
        top: 6px;
        right: 6px;
    }
    .detail-actions {
        display: grid;
        grid-template-columns: 1fr 44px;
        gap: 8px;
    }
    #addToCartBtn { grid-column: 1; width: 100%; min-height: 46px; }
    #wishBtn { grid-column: 2; width: 44px; height: 46px; }
    #buyNowBtn { grid-column: 1 / -1; width: 100%; min-height: 46px; }
    .detail-qty .qty-control { width: 100%; }
    .detail-qty .qty-control input { flex: 1; width: auto; }
    .qty-control { width: min(100%, 180px); }
    .cart-thumb { width: 72px; height: 72px; }
    .social { margin-left: 0; margin-right: 6px; }
}

@media (max-width: 374px) {
    .brand { font-size: .86rem; }
    .hero-panel { max-height: 220px; }
    .hero-cta .btn { font-size: .9rem; }
}

