@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --primary: #a85c4a;
    --primary-dark: #854333;
    --cream: #fffaf5;
    --cream-dark: #f8eee6;
    --brown: #3d2925;
    --text: #65534d;
    --muted: #927f78;
    --white: #ffffff;
    --border: #eadbd2;
    --pink: #f7dfe0;
    --peach: #f8e1cf;
    --yellow: #f7edc7;
    --purple: #e7dff2;
    --shadow: 0 18px 50px rgba(72, 40, 29, 0.10);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--brown);
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section-padding {
    padding: 100px 0;
}

.top-bar {
    background: var(--brown);
    color: #fff;
    font-size: 13px;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
}

.top-content span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-content i {
    color: #f2b7a6;
}

.header {
    background: rgba(255, 250, 245, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.nav-container {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.logo strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 1;
}

.logo small {
    display: block;
    font-size: 8px;
    letter-spacing: 3px;
    color: var(--muted);
    margin-top: 4px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    padding: 31px 0;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;
    height: 2px;
    background: var(--primary);
    border-radius: 5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn,
.menu-toggle {
    width: 42px;
    height: 42px;
    background: transparent;
    color: var(--brown);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover,
.menu-toggle:hover {
    background: var(--cream-dark);
    color: var(--primary);
}

.counter {
    position: absolute;
    right: -2px;
    top: -2px;
    background: var(--primary);
    color: white;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    font-size: 9px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    font-size: 19px;
}

.search-panel {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 84px;
    z-index: 999;
}

.search-panel.show {
    display: block;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box input {
    flex: 1;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 50px;
    padding: 13px 20px;
    color: var(--brown);
}

.search-box button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
}

.search-box button:last-child {
    background: var(--cream-dark);
    color: var(--brown);
}

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(229, 179, 154, 0.2), transparent 30%),
        var(--cream);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-text {
    max-width: 610px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(50px, 6vw, 78px);
    line-height: 1.02;
    margin: 18px 0 25px;
    color: var(--brown);
}

.hero h1 span {
    color: var(--primary);
    font-style: italic;
}

.hero-text > p {
    color: var(--text);
    font-size: 17px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin: 32px 0;
}

.btn {
    min-height: 50px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.btn-primary {
    color: white;
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(168, 92, 74, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--brown);
    background: transparent;
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
}

.hero-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}

.hero-features i {
    color: var(--primary);
}

.hero-image {
    height: 560px;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-circle {
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: #f4dcd0;
    position: absolute;
}

.hero-image > img {
    width: 430px;
    height: 500px;
    object-fit: cover;
    border-radius: 220px 220px 20px 20px;
    position: relative;
    box-shadow: var(--shadow);
}

.floating-card {
    position: absolute;
    z-index: 2;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 15px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--cream-dark);
    color: var(--primary);
    border-radius: 50%;
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    font-size: 14px;
}

.floating-card span {
    color: var(--muted);
    font-size: 10px;
}

.rating-card {
    top: 100px;
    left: 15px;
}

.fresh-card {
    right: 0;
    bottom: 85px;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading.center {
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.about h2,
.special-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    margin-top: 10px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    text-align: center;
    padding: 28px 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 27px;
}

.category-icon.pink {
    background: var(--pink);
    color: #ad5d68;
}

.category-icon.peach {
    background: var(--peach);
    color: #bd7049;
}

.category-icon.yellow {
    background: var(--yellow);
    color: #a88b35;
}

.category-icon.purple {
    background: var(--purple);
    color: #8164a7;
}

.category-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 21px;
}

.category-card span {
    color: var(--muted);
    font-size: 12px;
}

.menu-section {
    background: #fffdfb;
}

.section-heading:not(.center) {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.view-all {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    gap: 8px;
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 9px 19px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-card.hidden {
    display: none;
}

.product-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-tag {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.product-tag.new {
    background: #7b9d6d;
}

.heart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: var(--brown);
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.heart-btn:hover,
.heart-btn.liked {
    color: #c55264;
}

.heart-btn.liked i {
    font-weight: 900;
}

.product-info {
    padding: 18px;
}

.product-category {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 9px;
    font-weight: 700;
}

.product-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin: 4px 0;
}

.product-info p {
    color: var(--muted);
    font-size: 12px;
    min-height: 40px;
}

.product-bottom {
    border-top: 1px solid var(--border);
    margin-top: 15px;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-bottom strong {
    font-size: 15px;
}

.add-cart {
    background: var(--brown);
    color: white;
    border-radius: 50px;
    padding: 8px 13px;
    font-size: 11px;
    font-weight: 700;
    transition: var(--transition);
}

.add-cart:hover {
    background: var(--primary);
}

.no-results {
    display: none;
    text-align: center;
    padding: 50px;
}

.no-results.show {
    display: block;
}

.no-results i {
    font-size: 40px;
    color: var(--primary);
}

.no-results h3 {
    margin: 10px 0 3px;
    font-family: "Playfair Display", serif;
}

.no-results p {
    color: var(--muted);
}

.special-section {
    background: #f4e4d9;
    padding: 90px 0;
    overflow: hidden;
}

.special-container {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: 80px;
}

.special-image {
    position: relative;
}

.special-image img {
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.discount-badge {
    position: absolute;
    right: -25px;
    top: 35px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    align-content: center;
    transform: rotate(12deg);
    box-shadow: var(--shadow);
}

.discount-badge strong {
    font-size: 27px;
    line-height: 1;
}

.discount-badge span {
    font-size: 10px;
    letter-spacing: 2px;
}

.special-content p {
    color: var(--text);
    max-width: 550px;
    margin: 20px 0 25px;
}

.countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.countdown div {
    width: 75px;
    height: 75px;
    background: white;
    border-radius: 13px;
    display: grid;
    place-items: center;
    align-content: center;
}

.countdown strong {
    font-family: "Playfair Display", serif;
    font-size: 23px;
}

.countdown span {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content > p {
    color: var(--text);
    margin-top: 18px;
    font-size: 14px;
}

.about-stats {
    display: flex;
    gap: 45px;
    margin: 30px 0;
}

.about-stats strong,
.about-stats span {
    display: block;
}

.about-stats strong {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 30px;
}

.about-stats span {
    color: var(--muted);
    font-size: 10px;
}

.about-images {
    position: relative;
    min-height: 520px;
}

.about-main-img {
    width: 82%;
    height: 470px;
    object-fit: cover;
    border-radius: 20px;
    margin-left: auto;
}

.about-small-img {
    width: 48%;
    height: 210px;
    object-fit: cover;
    border: 10px solid white;
    border-radius: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    box-shadow: var(--shadow);
}

.reviews {
    background: var(--cream);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review-card {
    background: white;
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 18px;
}

.stars {
    color: #e9aa3a;
    font-size: 12px;
    margin-bottom: 15px;
}

.review-card > p {
    color: var(--text);
    font-size: 13px;
    font-style: italic;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--cream-dark);
    color: var(--primary);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700;
}

.review-user strong,
.review-user span {
    display: block;
}

.review-user strong {
    font-size: 12px;
}

.review-user span {
    font-size: 10px;
    color: var(--muted);
}

.newsletter {
    background: var(--brown);
    color: white;
    padding: 65px 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter .section-label {
    color: #f2b7a6;
}

.newsletter h2 {
    font-family: "Playfair Display", serif;
    font-size: 35px;
    margin: 7px 0;
}

.newsletter p {
    color: #c9b8b2;
    font-size: 13px;
}

.newsletter form {
    display: flex;
    width: min(450px, 100%);
    background: white;
    padding: 5px;
    border-radius: 50px;
}

.newsletter input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 18px;
    min-width: 0;
}

.newsletter button {
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: 11px;
    font-weight: 700;
}

.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 14px;
}

.contact-item p {
    color: var(--muted);
    font-size: 12px;
}

.contact-form {
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border);
    outline: none;
    background: white;
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--brown);
    font-size: 12px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.full-btn {
    width: 100%;
}

.footer {
    background: #2f211e;
    color: white;
}

.footer-grid {
    padding: 75px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    color: white;
}

.footer-about > p {
    color: #b7a6a0;
    font-size: 12px;
    max-width: 260px;
    margin: 18px 0;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid #57443e;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-column h3 {
    font-family: "Playfair Display", serif;
    margin-bottom: 18px;
    font-size: 18px;
}

.footer-column a,
.footer-column p {
    display: block;
    color: #b7a6a0;
    font-size: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

.footer-column p i {
    color: #d7907c;
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid #493731;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    color: #9f8e88;
    font-size: 10px;
}

.footer-bottom i {
    color: #d77e75;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(39, 25, 20, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: var(--cream);
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
}

.close-modal {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--brown);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    gap: 12px;
    align-items: center;
    background: white;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.cart-item img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 15px;
}

.cart-item p {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.quantity button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--brown);
}

.remove-item {
    color: #c55264;
    background: transparent;
}

.empty-cart {
    text-align: center;
    padding: 35px 10px;
}

.empty-cart i {
    font-size: 42px;
    color: var(--primary);
}

.empty-cart h3 {
    margin: 10px 0 5px;
    font-family: "Playfair Display", serif;
}

.empty-cart p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 20px;
}

.cart-summary {
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 20px;
}

.cart-summary > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.cart-summary .total {
    font-size: 17px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
}

.checkout-btn {
    width: 100%;
    margin-top: 10px;
}

.wishlist-items {
    display: grid;
    gap: 12px;
}

.wishlist-item {
    background: white;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-item img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
}

.wishlist-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 15px;
}

.wishlist-item p {
    color: var(--primary);
    font-size: 12px;
}

.wishlist-item button {
    margin-left: auto;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 10px;
}

.empty-wishlist {
    text-align: center;
    padding: 30px;
    color: var(--muted);
}

.chatbot {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1500;
}

.chat-button {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 21px;
    box-shadow: 0 12px 30px rgba(168, 92, 74, 0.35);
    transition: var(--transition);
}

.chat-button:hover {
    transform: scale(1.06);
    background: var(--primary-dark);
}

.chat-notification {
    position: absolute;
    right: 0;
    top: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e65d63;
    border: 2px solid var(--cream);
    font-size: 8px;
    display: grid;
    place-items: center;
}

.chat-window {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 340px;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    display: none;
}

.chat-window.show {
    display: block;
}

.chat-header {
    background: var(--brown);
    color: white;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    display: grid;
    place-items: center;
}

.chat-header strong,
.chat-header span {
    display: block;
}

.chat-header strong {
    font-size: 12px;
}

.chat-header span {
    color: #c9b8b2;
    font-size: 9px;
}

.chat-header span i {
    color: #6fc477;
    font-size: 6px;
}

.chat-header button {
    margin-left: auto;
    background: transparent;
    color: white;
}

.chat-messages {
    padding: 15px;
    height: 230px;
    overflow-y: auto;
    background: #fffaf7;
}

.bot-message,
.user-message {
    width: fit-content;
    max-width: 85%;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 11px;
    margin-bottom: 9px;
}

.bot-message {
    background: white;
    border: 1px solid var(--border);
}

.user-message {
    margin-left: auto;
    background: var(--primary);
    color: white;
}

.chat-options {
    display: flex;
    gap: 5px;
    padding: 8px 10px;
    overflow-x: auto;
}

.chat-options button {
    white-space: nowrap;
    background: var(--cream-dark);
    color: var(--brown);
    border-radius: 50px;
    padding: 6px 10px;
    font-size: 9px;
}

.chat-input {
    border-top: 1px solid var(--border);
    display: flex;
    padding: 8px;
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 7px 8px;
    font-size: 11px;
}

.chat-input button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 100px);
    background: var(--brown);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    z-index: 3000;
    opacity: 0;
    transition: 0.3s ease;
}

.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.toast i {
    color: #6fc477;
}

.back-top {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    color: var(--primary);
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow);
}

.back-top.show {
    display: grid;
    place-items: center;
}

@media (max-width: 1050px) {
    .navbar {
        gap: 18px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-image {
        height: 500px;
    }

    .hero-circle {
        width: 390px;
        height: 390px;
    }

    .hero-image > img {
        width: 360px;
        height: 440px;
    }
}

@media (max-width: 850px) {
    .top-content span:nth-child(2) {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .navbar {
        position: absolute;
        left: 4%;
        right: 4%;
        top: 83px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 15px;
        padding: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .navbar.show {
        display: flex;
    }

    .nav-link {
        padding: 13px 15px;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-content,
    .special-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        margin: auto;
    }

    .hero-text > p {
        margin: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-image {
        margin-top: 20px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        min-height: 450px;
    }

    .about-main-img {
        height: 400px;
    }

    .newsletter-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 70px 0;
    }

    .top-content {
        justify-content: center;
    }

    .top-content span:last-child {
        display: none;
    }

    .logo {
        min-width: auto;
    }

    .logo small {
        font-size: 7px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .icon-btn:nth-child(1) {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image {
        height: 430px;
    }

    .hero-circle {
        width: 320px;
        height: 320px;
    }

    .hero-image > img {
        width: 290px;
        height: 370px;
    }

    .rating-card {
        left: 0;
        top: 65px;
    }

    .fresh-card {
        right: 0;
        bottom: 45px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 17px;
    }

    .product-info p {
        font-size: 10px;
    }

    .product-bottom strong {
        font-size: 12px;
    }

    .add-cart {
        padding: 7px 9px;
    }

    .special-section {
        padding: 70px 0;
    }

    .special-container {
        gap: 40px;
    }

    .special-image img {
        height: 350px;
    }

    .discount-badge {
        right: -5px;
    }

    .about-stats {
        gap: 20px;
        justify-content: space-between;
    }

    .about-images {
        min-height: 360px;
    }

    .about-main-img {
        height: 330px;
    }

    .about-small-img {
        height: 150px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .chatbot {
        right: 15px;
        bottom: 15px;
    }

    .chat-window {
        width: calc(100vw - 30px);
        right: -2px;
    }

    .back-top {
        right: 15px;
        bottom: 82px;
    }
}

@media (max-width: 420px) {
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 230px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .countdown {
        gap: 6px;
    }

    .countdown div {
        width: 65px;
    }
}