:root {
    --primary: #364536;
    --primary-container: #4e5c4d;
    --on-primary: #ffffff;
    --surface: #fbf9f5;
    --surface-low: #f5f3ef;
    --surface-container: #efeeea;
    --surface-highest: #e4e2de;
    --on-surface: #1b1c1a;
    --on-surface-variant: #434843;

    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Assistant', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--surface);
    color: var(--on-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-primary {
    color: var(--primary);
}

/* Typography elements */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--on-surface);
}

.overline {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn.primary {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    box-shadow: 0 4px 12px rgba(54, 69, 54, 0.15);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(54, 69, 54, 0.25);
}

/* Header */
.main-header {
    background: rgba(251, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-announcement {
    text-align: center;
    padding: 0.7rem 1rem;
    background-color: var(--primary);
}

.top-badge {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.1rem 0.5rem;
    /* 👈 increase this */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    align-items: center;
}

.header-container img {
    height: 153px;
    /* 👈 increase this too */
    width: auto;
}

.header-container .main-nav {
    grid-column: 1 / 4;
    grid-row: 2;
    justify-content: center;
}

.header-container .header-actions {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.header-container .logo {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--on-surface-variant);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    transform: scale(1.1);
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    /* Enlarged from 1.2rem */
    color: var(--primary);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 83vh;
    min-height: 510px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.slider-btn.prev {
    right: 2rem;
    /* right side because RTL */
}

.slider-btn.next {
    left: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 7rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.glass-card {
    background: rgba(251, 249, 245, 0.7);
    backdrop-filter: blur(16px);
    padding: 4rem 3rem;
    max-width: 500px;
    border-radius: 0.5rem;
    text-align: right;
    box-shadow: 0 20px 40px rgba(27, 28, 26, 0.05);
}

.glass-card h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.glass-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--on-surface-variant);
}

/* Zigzag Edge */
.zigzag-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(135deg, var(--surface) 25%, transparent 25%),
        linear-gradient(225deg, var(--surface) 25%, transparent 25%);
    background-size: 40px 40px;
    background-position: left bottom;
    z-index: 10;
}

.zigzag-bottom.bg-green {
    background-image: linear-gradient(135deg, var(--surface-low) 25%, transparent 25%),
        linear-gradient(225deg, var(--surface-low) 25%, transparent 25%);
}

.zigzag-bottom.bg-footer {
    background-image: linear-gradient(135deg, var(--surface-container) 25%, transparent 25%),
        linear-gradient(225deg, var(--surface-container) 25%, transparent 25%);
}

/* Botanical Collection */
.botanical-collection {
    padding: 6rem 0;
    background-color: var(--surface);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
}

.view-all {
    position: absolute;
    left: 0;
    bottom: 0.5rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all i {
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(autofit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: transparent;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.image-wrapper {
    background-color: var(--surface-container);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-info .subtitle {
    color: var(--on-surface-variant);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-info .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Cold Process Section */
.cold-process-section {
    padding: 8rem 0;
    background-color: var(--surface-low);
}

.dual-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .dual-col {
        grid-template-columns: 1fr 1fr;
    }
}

.image-col img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(27, 28, 26, 0.08);
}

.text-col h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-col>p {
    color: var(--on-surface-variant);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
}

/* Community Section */
.community-section {
    padding: 6rem 0;
    background-color: var(--surface);
    position: relative;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 800px) {
    .community-grid {
        grid-template-columns: 2fr 1.5fr;
    }
}

.newsletter-card,
.social-card {
    background-color: var(--surface-container);
    padding: 4rem;
    border-radius: 0.5rem;
    text-align: center;
}

.social-card {
    background-color: #faf4f8;
    /* Soft pink-ish like the design */
}

.social-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.newsletter-card h2,
.social-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-card p,
.social-card p {
    color: var(--on-surface-variant);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-bottom: 2px solid rgba(115, 120, 114, 0.3);
    background: var(--surface-highest);
    border-radius: 0.25rem 0.25rem 0 0;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-bottom-color: var(--primary);
    background: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(115, 120, 114, 0.3);
    color: var(--on-surface-variant);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Footer */
.main-footer {
    background-color: var(--surface-container);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p,
.footer-col a {
    color: var(--on-surface-variant);
    display: block;
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col i {
    width: 20px;
    margin-left: 0.5rem;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(115, 120, 114, 0.15);
    color: var(--on-surface-variant);
    font-size: 0.9rem;
}

/* Shopping Cart Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    left: 0;
}

.cart-header {
    padding: 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--on-surface);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--on-surface-variant);
    transition: color 0.2s;
    padding: 0;
}

.cart-close:hover {
    color: var(--primary);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty-msg {
    text-align: center;
    color: var(--on-surface-variant);
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--outline);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--surface);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
}

.qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--on-surface);
}

.qty-btn:hover {
    color: var(--primary);
}

.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    color: #e57373;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 0;
}

.remove-item:hover {
    color: #d32f2f;
}

.cart-footer {
    padding: 1.5rem;
    background: var(--surface);
    border-top: 1px solid var(--outline);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary);
    color: #fff;
    font-size: 0.70rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    /* hidden when 0 */
}