:root {
    --primary-color: #3f7d20;
    --primary-dark: #253f19;
    --accent-color: #d7a842;
    --text-color: #101510;
    --text-light: #667064;
    --white: #ffffff;
    --bg-color: #fbfcf7;
    --line-color: rgba(31, 48, 27, .1);
    --transition: all .35s ease;
    --shadow: 0 22px 48px rgba(31, 48, 27, .08);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(63, 125, 32, .08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(215, 168, 66, .1), transparent 24%),
        var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.noise {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .03));
    opacity: .35;
    pointer-events: none;
    z-index: 9999;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Top Bar ─────────────────────────────────────────────────────────────── */
.top-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #253f19 0%, #3f7d20 52%, #7a9f38 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.top-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -200px;
    width: 180px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
    transform: skewX(-25deg);
    animation: topLight 7s linear infinite;
    z-index: 2;
    pointer-events: none;
}


.top-slider-track {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
}


.top-bar:hover .top-slider-track,
.top-slider-track:focus-within,
.top-slider-track.is-paused {
    animation-play-state: paused;
}

.top-slider-track span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 64px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-slider-track span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e7ffc9;
    box-shadow: 0 0 16px rgba(231, 255, 201, .8);
    flex-shrink: 0;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 18px;
    z-index: 900;
    width: calc(100% - 40px);
    margin: 0 auto;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
    backdrop-filter: blur(18px);
}

.header-wrapper {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo img {
    width: 180px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-menu a {
    position: relative;
    font-size: 15px;
    font-weight: 800;
}

.nav-menu a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 3px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-menu a:hover::before,
.nav-menu a:focus-visible::before,
.nav-menu a[aria-current="page"]::before {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.header-btn,
.primary-btn,
.secondary-btn,
.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: var(--radius);
    font-weight: 800;
    transition: var(--transition);
}

.header-btn,
.primary-btn {
    padding: 15px 26px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), #669e38);
    box-shadow: 0 16px 34px rgba(63, 125, 32, .2);
}

.secondary-btn {
    padding: 15px 26px;
    background: var(--white);
    border: 1px solid var(--line-color);
}


.product-btn {
    min-height: 46px;
    margin-top: 18px;
    color: var(--primary-color);
    font-weight: 900;
}

.header-btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.product-card:hover {
    transform: translateY(-4px);
}

.header-btn:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.product-btn:focus-visible,
.filter-btn:focus-visible,
.nav-menu a:focus-visible,
.tab-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: rgba(63, 125, 32, .1);
    cursor: pointer;
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero-slider {
    position: relative;
    overflow: hidden;
    padding: 170px 0 120px;
    background: linear-gradient(135deg, #f6fbf1 0%, #edf5e7 52%, #fffdf3 100%);
}

.hero-glow {
    position: absolute;
    top: -260px;
    right: -180px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: rgba(63, 125, 32, .1);
    filter: blur(120px);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 64px;
    align-items: center;
}

.hero-badge,
.section-title span,
.seo-text span,
.product-category {
    color: var(--primary-color);
    font-weight: 900;
}

.hero-badge {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(63, 125, 32, .1);
}

.hero-text h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 72px;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-text p {
    max-width: 690px;
    margin-bottom: 34px;
    color: var(--text-light);
    font-size: 19px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 46px rgba(31, 48, 27, .18));
    transition: opacity .35s ease, transform .35s ease;
}


.hero-text h1,
.hero-text p {
    transition: opacity .35s ease;
}

.hero-fade-out {
    opacity: 0 !important;
    transform: translateY(8px) !important;
    transition: opacity .35s ease, transform .35s ease !important;
}

.hero-image img.hero-fade-out {
    transform: translateY(12px) scale(.98) !important;
}

/* ─── Stats ───────────────────────────────────────────────────────────────── */
.stats-section,
.products-section,
.why-section,
.blog-section {
    padding: 100px 0;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card,
.product-card,
.why-card,
.blog-card {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.stat-card {
    padding: 38px 24px;
    text-align: center;
}

.stat-card h2 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-family: "Sora", Arial, sans-serif;
    font-size: 44px;
}

.stat-card p,
.section-title p,
.product-content p,
.why-card p,
.blog-content p {
    color: var(--text-light);
    line-height: 1.75;
}

/* ─── Section Title ───────────────────────────────────────────────────────── */
.section-title {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-title h2 {
    margin: 16px 0;
    font-family: "Sora", Arial, sans-serif;
    font-size: 50px;
    line-height: 1.12;
    letter-spacing: 0;
}

/* ─── Products ────────────────────────────────────────────────────────────── */
.products-slider,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.product-card,
.blog-card {
    overflow: hidden;
    transition: var(--transition);
}

.product-image,
.blog-card > img {
    background: #eef5e7;
    overflow: hidden;
}

.product-image img,
.blog-card > img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-content,
.blog-content {
    padding: 28px;
    /* BUG FIX: Use flex column so button sits at bottom */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-content h3,
.why-card h3,
.blog-content h3 {
    margin-bottom: 14px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.24;
}

/* ─── Why Section ─────────────────────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.why-card {
    padding: 42px;
    text-align: center;
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    font-family: "Sora", Arial, sans-serif;
    font-weight: 900;
}

/* ─── SEO Content ─────────────────────────────────────────────────────────── */
.seo-content {
    padding: 110px 0;
}

.seo-wrapper {
    position: relative;
    overflow: hidden;
    padding: 78px;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, #182313, #253f19 52%, #2d3518);
}

.seo-wrapper::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(215, 168, 66, .18);
    filter: blur(80px);
}

.seo-text {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.seo-text span {
    color: #dcefb7;
}

.seo-text h2 {
    margin: 18px 0 26px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: 0;
}

.seo-text p {
    max-width: 860px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.9;
}

/* ─── Blog ────────────────────────────────────────────────────────────────── */
.blog-content .primary-btn {
    margin-top: 22px;
}

.blog-fallback {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
}

/* ─── CTA ─────────────────────────────────────────────────────────────────── */
.cta-section {
    padding: 95px 0 110px;
}

.cta-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    padding: 82px 48px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, #3f7d20 0%, #587f2f 48%, #8a9f34 100%);
    box-shadow: 0 30px 80px rgba(63, 125, 32, .2);
}

.cta-wrapper::before,
.cta-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    filter: blur(70px);
}

.cta-wrapper::before {
    top: -240px;
    right: -130px;
    width: 460px;
    height: 460px;
}

.cta-wrapper::after {
    bottom: -200px;
    left: -120px;
    width: 360px;
    height: 360px;
}

.cta-wrapper h2,
.cta-wrapper p,
.cta-wrapper a {
    position: relative;
    z-index: 1;
}

.cta-wrapper h2 {
    max-width: 940px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: 0;
}

.cta-wrapper p {
    max-width: 680px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.8;
}

.cta-wrapper .primary-btn {
    min-width: 250px;
    color: var(--primary-dark);
    background: var(--white);
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    color: rgba(255, 255, 255, .68);
    background: linear-gradient(180deg, #0d140b 0%, #111a10 44%, #090f08 100%);
}

.footer::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 190, 80, .45), transparent);
}

.footer-glow {
    position: absolute;
    top: -320px;
    right: -220px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: rgba(63, 125, 32, .18);
    filter: blur(100px);
}

.footer-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 64px;
}

.footer-column:first-child {
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.footer-column img {
    width: 190px;
    margin-bottom: 24px;
}

.footer-column h2 {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 12px;
    color: var(--white);
    font-family: "Sora", Arial, sans-serif;
    font-size: 19px;
}

.footer-column h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-column p,
.footer-column a {
    line-height: 1.85;
}

.footer-column ul,
.social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column a {
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.sub-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 26px 0;
}

.sub-footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .46);
    font-size: 14px;
}

/* ─── Reveal Animation ────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .75s ease, transform .75s ease;
}

.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Category / Product Page Specific ───────────────────────────────────── */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f6fbf1 0%, #edf5e7 60%, #fffdf3 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: -200px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(63, 125, 32, .09);
    filter: blur(100px);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: .75;
}

.breadcrumb-sep {
    opacity: .4;
}

.page-hero h1 {
    font-family: "Sora", Arial, sans-serif;
    font-size: 56px;
    line-height: 1.08;
    margin-bottom: 20px;
    max-width: 800px;
}

.page-hero p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 680px;
}

/* Category grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding: 80px 0 100px;
}

.category-card {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--line-color);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(31, 48, 27, .14);
}

.category-card-image {
    aspect-ratio: 1.5 / 1;
    background: #eef5e7;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.05);
}

.category-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-card-body h2 {
    font-family: "Sora", Arial, sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.category-card-body p {
    color: var(--text-light);
    line-height: 1.75;
    flex: 1;
}

.category-card-body .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 15px;
}

/* Product listing page */
.product-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line-color);
    background: var(--white);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.product-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding-bottom: 100px;
}

/* Product detail page */
.product-detail {
    padding: 60px 0 100px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef5e7;
    aspect-ratio: 1 / 1;
    position: relative;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Small "organic" ribbon on the product photo — reinforces trust at a glance */
.product-detail-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(16, 21, 16, .55);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.product-detail-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b9ffb0;
    box-shadow: 0 0 10px rgba(185, 255, 176, .8);
}

.product-detail-info {

    top: 120px;
    z-index: 5;
    background: var(--bg-color);
}

.product-detail-category {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 12px;
}

.product-detail-info h1 {
    font-family: "Sora", Arial, sans-serif;
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.product-detail-info > p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 32px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(63, 125, 32, .06);
    border: 1px solid rgba(63, 125, 32, .12);
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.product-feature-item::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.product-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.product-cta-group .primary-btn {
    flex: 1;
    min-width: 180px;
}

.product-cta-group .secondary-btn {
    flex: 1;
    min-width: 160px;
}

/* ─── Product Description Tabs ───────────────────────────────────────────── */
.product-tabs {
    grid-column: 1 / -1;
    margin-top: 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px;
    background: rgba(63, 125, 32, .06);
    border-bottom: 1px solid var(--line-color);
}

.tab-btn {
    position: relative;
    padding: 14px 22px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-dark);
}

.tab-btn[aria-selected="true"] {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), #669e38);
    box-shadow: 0 10px 22px rgba(63, 125, 32, .22);
}

.tab-panels {
    padding: 36px;
}

.tab-panel {
    display: none;
    animation: tabFadeIn .3s ease;
}

.tab-panel[data-active="true"] {
    display: block;
}

.tab-panel h3 {
    font-family: "Sora", Arial, sans-serif;
    font-size: 22px;
    margin-bottom: 16px;
}

.tab-panel p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 16px;
}

.tab-panel p:last-child {
    margin-bottom: 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--line-color);
}

.spec-table tr:last-child {
    border-bottom: 0;
}

.spec-table th,
.spec-table td {
    padding: 14px 6px;
    text-align: left;
    font-size: 15px;
}

.spec-table th {
    width: 42%;
    color: var(--text-color);
    font-weight: 800;
}

.spec-table td {
    color: var(--text-light);
}

.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    counter-reset: usage-step;
}

.usage-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.usage-steps li::before {
    counter-increment: usage-step;
    content: counter(usage-step);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 900;
    font-size: 14px;
}

.usage-steps li p {
    margin: 0;
    padding-top: 3px;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.related-products {
    padding: 80px 0 100px;
    border-top: 1px solid var(--line-color);
}

/* ─── Sticky mobile order bar ─────────────────────────────────────────────── */
.mobile-order-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 850;
    gap: 12px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid var(--line-color);
    box-shadow: 0 -14px 34px rgba(31, 48, 27, .1);
    backdrop-filter: blur(14px);
}

.mobile-order-bar .primary-btn,
.mobile-order-bar .secondary-btn {
    flex: 1;
    min-height: 50px;
}

/* ─── Animations ──────────────────────────────────────────────────────────── */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes topLight {
    from { left: -220px; }
    to   { left: 120%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1,
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 640px;
        margin: 0 auto;
    }

    .stats-wrapper,
    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        gap: 48px;
    }
}

@media (max-width: 992px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
    }

    .header-wrapper {
        min-height: 76px;
    }

    .logo img {
        width: 148px;
    }

    .header-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        border-radius: var(--radius);
    }

    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
        border-radius: 8px;
        background: var(--primary-color);
        transition: var(--transition);
    }

    .mobile-menu-btn.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

  
    .nav-menu {
        position: fixed;
        top: 96px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: calc(100dvh - 116px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: var(--transition);
        margin-top: 0;
          z-index: 901;
        
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-menu a {
        display: flex;
        width: 100%;
        padding: 15px 8px;
        border-bottom: 1px solid var(--line-color);
    }

    .nav-menu li:last-child a {
        border-bottom: 0;
    }

    .nav-menu a::before {
        display: none;
    }

    .hero-slider {
        padding: 130px 0 85px;
    }

    .hero-text h1 {
        font-size: 54px;
    }

    .section-title h2,
    .seo-text h2 {
        font-size: 42px;
    }

    .products-slider,
    .blog-grid,
    .category-grid,
    .product-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .seo-wrapper {
        padding: 58px 36px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-info {
        position: static;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    /* Show the sticky order bar on touch-sized viewports and make room for it */
    .mobile-order-bar {
        display: flex;
    }

    .product-detail {
        padding-bottom: 110px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .top-slider-track span {
        font-size: 12px;
        padding-right: 42px;
    }

    .hero-slider {
        padding: 112px 0 70px;
    }

    .hero-text h1 {
        font-size: 40px;
        line-height: 1.12;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons,
    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .stats-section,
    .products-section,
    .why-section,
    .blog-section {
        padding: 72px 0;
    }

    .stats-wrapper,
    .products-slider,
    .blog-grid,
    .footer-wrapper,
    .category-grid,
    .product-listing-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-card h2 {
        font-size: 36px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2,
    .seo-text h2 {
        font-size: 31px;
    }

    .why-card {
        padding: 34px 24px;
    }

    .seo-content {
        padding: 74px 0;
    }

    .seo-wrapper {
        padding: 42px 22px;
    }

    .seo-text p {
        font-size: 16px;
    }

    .cta-section {
        padding: 72px 0 82px;
    }

    .cta-wrapper {
        min-height: auto;
        padding: 58px 22px;
    }

    .cta-wrapper h2 {
        font-size: 34px;
    }

    .cta-wrapper .primary-btn {
        width: 100%;
        min-width: 0;
    }

    .footer {
        padding-top: 72px;
    }

    .sub-footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .product-cta-group {
        flex-direction: column;
    }

    .tab-list {
        gap: 6px;
    }

    .tab-btn {
        flex: 1;
        min-width: 0;
        padding: 12px 10px;
        font-size: 13px;
        text-align: center;
    }

    .tab-panels {
        padding: 26px 20px;
    }
}

@media (max-width: 480px) {
    .header {
        width: calc(100% - 12px);
    }

    .logo img {
        width: 128px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-badge {
        font-size: 13px;
    }

    .section-title h2,
    .seo-text h2 {
        font-size: 28px;
    }

    .product-content,
    .blog-content {
        padding: 24px;
    }

    .cta-wrapper h2 {
        font-size: 30px;
    }

    .product-detail-info h1 {
        font-size: 30px;
    }

    .tab-list {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   Fiyat gösterimi (build.js tarafından üretilen ürün sayfaları için eklendi)
   Mevcut hiçbir kural değiştirilmedi; sadece bu blok eklendi.
   ───────────────────────────────────────────────────────────────────────── */
.product-detail-price {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 20px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.product-card-price {
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.product-listing-meta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.product-count {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

/* ─────────────────────────────────────────────────────────────────────────
   Ürünler Mega Menü (dropdown) — kategoriler header'a eklendi
   Mevcut hiçbir kural değiştirilmedi; sadece bu blok eklendi.
   Masaüstünde :hover / :focus-within ile açılır, imleç menüden dropdown'a
   inerken KOPMAZ (aradaki boşluk margin değil padding olarak tasarlandı,
   böylece li/ul'un hoverable kutusunda hiç "ölü alan" kalmıyor).
   Mobilde main.js ile akordeon (aç/kapa) olarak çalışır.
   ───────────────────────────────────────────────────────────────────────── */

.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    flex-shrink: 0;
    transition: var(--transition);
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown:focus-within .dropdown-arrow,
.has-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: repeat(2, minmax(230px, 1fr));
    gap: 2px 28px;
    width: 560px;
    max-width: 90vw;
    /* Boşluk margin değil padding: bu yüzden imleç menüye inerken
       hover alanı hiç kesintiye uğramıyor. */
    padding: 18px 22px 20px;
    margin: 0;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: rgba(63, 125, 32, .08);
    color: var(--primary-color);
}

.dropdown-menu a::before {
    content: none;
}

@media (max-width: 992px) {
    .has-dropdown > a {
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        display: block;
        width: auto;
        max-width: none;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        overflow: hidden;
        padding: 0 0 0 14px;
        margin: 0;
        border: 0;
        box-shadow: none;
        transition: max-height .3s ease, padding .3s ease;
    }

    .has-dropdown.open .dropdown-menu {
        max-height: 900px;
        padding: 4px 0 10px 14px;
    }

    .dropdown-menu a {
        padding: 12px 8px;
        border-bottom: 1px solid var(--line-color);
        border-radius: 0;
        white-space: normal;
    }

    .dropdown-menu li:last-child a {
        border-bottom: 0;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   İletişim Sayfası (contact.html) 
   ───────────────────────────────────────────────────────────────────────── */

.contact-section {
    padding: 20px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--line-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.contact-form-card h2,
.contact-info-card h2 {
    font-family: "Sora", Arial, sans-serif;
    font-size: 26px;
    margin-bottom: 10px;
}

.contact-form-card > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

/* --- Form alanları --- */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line-color);
    border-radius: var(--radius);
    background: var(--bg-color);
    color: var(--text-color);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 125, 32, .12);
}

.form-submit-btn {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    margin-top: 6px;
}

.form-status {
    min-height: 20px;
    font-size: 14px;
    font-weight: 700;
}

.form-status-success {
    color: var(--primary-color);
}

.form-status-error {
    color: #b3261e;
}

/* --- İletişim bilgisi listesi --- */

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-color);
    font-size: 15px;
}

.contact-info-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item a {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-info-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-light);
}

/* --- Google Haritalar embed --- */

.map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-color);
}

.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- Responsive --- */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-form-card,
    .contact-info-card {
        padding: 28px 20px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   Blog Yazısı Sayfası (blog/*.html)
   ───────────────────────────────────────────────────────────────────────── */

.article-section {
    padding: 20px 0 100px;
}

.article-layout {
    display: flex;
    justify-content: center;
}

.article-content {
    max-width: 780px;
    width: 100%;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-color);
}

.article-meta-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(63, 125, 32, .1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
}

.article-meta-date,
.article-meta-read {
    font-size: 14px;
    color: var(--text-light);
}

.article-content > p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 20px;
}

.article-content h2 {
    margin: 44px 0 18px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 30px;
    line-height: 1.25;
    color: var(--text-color);
}

.article-content h3 {
    margin: 30px 0 12px;
    font-family: "Sora", Arial, sans-serif;
    font-size: 20px;
    color: var(--text-color);
}

.article-list {
    margin: 0 0 24px;
    padding-left: 0;
    list-style: none;
}

.article-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    border-bottom: 1px solid var(--line-color);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

.article-list li:last-child {
    border-bottom: 0;
}

.article-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.article-callout {
    margin: 30px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--primary-color);
    background: rgba(63, 125, 32, .06);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-callout p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-color);
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.faq-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line-color);
    font-size: 14px;
}

.article-tags span {
    color: var(--text-light);
    font-weight: 700;
}

.article-tags a {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-color);
    border: 1px solid var(--line-color);
    color: var(--text-color);
    font-weight: 700;
    transition: var(--transition);
}

.article-tags a:hover {
    background: rgba(63, 125, 32, .1);
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .article-content h2 {
        font-size: 24px;
    }

    .article-content > p {
        font-size: 16px;
    }
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}


.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.blog-card img {
width: 100%;
    height: 250px; 
    object-fit: contain; 
    background-color: #f4f4f4;
    display: block;
}

.blog-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content h3 {
    margin-bottom: 14px;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 24px;
    flex: 1;
}

.blog-content .primary-btn {
    margin-top: auto;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px; 
    }
    
    .blog-card img {
        height: 200px; 
    }
}