:root {
    --eco-bg: #f7f3ee;
    --eco-white: #ffffff;
    --eco-green: #2e8b57;
    --eco-green-dark: #1f6d42;
    --eco-text: #1d1d1f;
    --eco-muted: #6c757d;
    --eco-border: #e9e1d7;
    --eco-soft: #f0eee7;
    --eco-gold: #f7c873;
    --eco-shadow: 0 18px 35px rgba(28, 36, 36, 0.08);
}

body {
    background: var(--eco-bg);
    color: var(--eco-text);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn-primary {
    background: var(--eco-green);
    border-color: var(--eco-green);
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--eco-green-dark);
    border-color: var(--eco-green-dark);
}

.btn-outline-primary {
    border-color: rgba(46, 139, 87, 0.45);
    color: var(--eco-green-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--eco-green);
    border-color: var(--eco-green);
    color: #fff;
}

.home-page .hero-section {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240, 238, 231, 0.78));
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--eco-green);
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    max-width: 600px;
    margin-bottom: 1.2rem;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 30px 0 28px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 10px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.hero-stats strong {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--eco-text);
}

.hero-stats span {
    color: var(--eco-muted);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product {
    position: relative;
    width: min(90%, 520px);
    background: var(--eco-white);
    padding: 20px;
    border-radius: 32px;
    box-shadow: var(--eco-shadow);
    transform: rotate(4deg);
}

.main-product img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 24px;
}

.floating-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: var(--eco-shadow);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.floating-card span {
    font-size: 0.7rem;
    color: var(--eco-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floating-card strong {
    font-size: 1.25rem;
}

.card-one {
    top: 40px;
    left: 0;
}

.card-two {
    right: 20px;
    bottom: 56px;
}

.features-bar {
    padding-top: 10px;
    padding-bottom: 20px;
}

.feature-item {
    background: var(--eco-white);
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    padding: 22px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.04);
    color: var(--eco-text);
    font-weight: 600;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--eco-green);
}

.categories-section,
.brands-section,
.products-section,
.benefits-section,
.newsletter-section {
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 0;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: var(--eco-white);
    border: 1px solid var(--eco-border);
    border-radius: 22px;
    padding: 22px 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--eco-text);
    box-shadow: 0 14px 26px rgba(17, 24, 39, 0.03);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--eco-shadow);
}

.category-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(46, 139, 87, 0.1);
    color: var(--eco-green);
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.category-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.category-card span {
    color: var(--eco-green);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.brand-pill {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--eco-border);
    color: var(--eco-text);
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.product-card {
    background: var(--eco-white);
    border: 1px solid var(--eco-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(17, 24, 39, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--eco-shadow);
}

.product-image-wrap {
    position: relative;
    background: #ffffff;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #ffffff;
}

.discount-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--eco-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.wishlist-button {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--eco-text);
    display: grid;
    place-items: center;
}

.product-body {
    padding: 18px 18px 20px;
}

.brand-name {
    display: inline-block;
    color: var(--eco-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.product-body h3 {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.5;
    min-height: 48px;
    margin-bottom: 14px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--eco-gold);
    margin-bottom: 14px;
}

.stars {
    display: flex;
    gap: 2px;
}

.rating-row span {
    color: var(--eco-muted);
    font-size: 0.82rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.price-row strong {
    font-size: 1.5rem;
    color: var(--eco-text);
}

.price-row span {
    color: var(--eco-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.add-cart {
    border-radius: 12px;
    font-weight: 700;
}

.cart-controls {
    min-width: 0;
}

.cart-controls input {
    flex: 0 0 72px;
    width: 72px;
}

.cart-controls .add-cart {
    min-width: 0;
}

.promo-banner {
    padding: 0 0 70px;
}

.promo-inner {
    background: linear-gradient(135deg, #1f6d42, #2e8b57 46%, #7ecf9f);
    border-radius: 26px;
    padding: 44px 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: #fff;
    box-shadow: var(--eco-shadow);
}

.promo-inner h2 {
    margin: 0;
    max-width: 550px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
}

.benefit-card {
    background: var(--eco-white);
    border: 1px solid var(--eco-border);
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.03);
    height: 100%;
}

.benefit-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(46, 139, 87, 0.1);
    color: var(--eco-green);
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.benefit-card p {
    margin: 0;
    color: var(--eco-muted);
    line-height: 1.7;
}

.newsletter-box {
    background: var(--eco-white);
    border: 1px solid var(--eco-border);
    border-radius: 28px;
    padding: 32px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.03);
}

.newsletter-box h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 800;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 500px);
}

.newsletter-form .form-control {
    border-radius: 12px;
    border-color: var(--eco-border);
    height: 52px;
}

.newsletter-form .btn {
    height: 52px;
    padding-inline: 24px;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 54px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .main-product img {
        height: 440px;
    }

    .promo-inner,
    .newsletter-box {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 767.98px) {
    .hero-stats {
        gap: 20px;
    }

    .main-product {
        width: 100%;
    }

    .floating-card {
        padding: 12px 14px;
    }

    .card-one {
        left: 10px;
    }

    .card-two {
        right: 10px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form .btn,
    .newsletter-form .form-control {
        width: 100%;
    }
}
