/*
Theme Name: NoPlast Premium Theme
Author: NoPlast
Version: 2.0
Description: A premium WordPress theme for NoPlast biodegradable cutlery with product collection and product detail pages.
*/

:root {
    --leaf: #24533b;
    --leaf-2: #3f7d55;
    --mint: #d9ebdf;
    --cream: #fbf7ec;
    --paper: #ffffff;
    --ink: #1c2722;
    --muted: #68746f;
    --line: #dde5df;
    --gold: #b78936;
    --terracotta: #bd674c;
    --shadow: 0 18px 55px rgba(24, 44, 34, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 247, 236, 0.94);
    border-bottom: 1px solid rgba(36, 83, 59, 0.12);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 138px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #34433c;
    font-weight: 650;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--leaf-2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    font-size: 1.25rem;
    color: var(--leaf);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 750;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--leaf);
    color: #fff;
    box-shadow: 0 10px 24px rgba(36, 83, 59, 0.2);
}

.btn-secondary {
    background: var(--paper);
    border-color: var(--line);
    color: var(--leaf);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    padding: 72px 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(189, 103, 76, 0.14), transparent 28%),
        linear-gradient(135deg, #fffaf0 0%, #edf5e8 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--terracotta);
}

h1,
h2,
h3 {
    font-family: "Fraunces", Georgia, serif;
    line-height: 1.05;
    margin: 0;
    color: var(--leaf);
}

h1 {
    font-size: clamp(3.2rem, 7vw, 6.8rem);
    max-width: 850px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
}

h3 {
    font-size: 1.55rem;
}

.lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: #43534c;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.section-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-media {
    position: relative;
}

.hero-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
    border-radius: var(--radius);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(36, 83, 59, 0.16);
}

.proof-item {
    background: var(--leaf);
    color: #fff;
    padding: 30px;
}

.proof-item strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
}

.proof-item span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.section {
    padding: 96px 0;
}

.section.alt {
    background: var(--paper);
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.split-media img {
    width: 100%;
    aspect-ratio: 1.18;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.text-stack {
    display: grid;
    gap: 18px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.feature-pill {
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    font-weight: 750;
    color: var(--leaf);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.section-head p {
    max-width: 560px;
    color: var(--muted);
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(24, 44, 34, 0.06);
}

.product-card:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
    background: var(--mint);
}

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

.product-card-body p {
    color: var(--muted);
    margin: 10px 0 18px;
}

.card-link {
    color: var(--terracotta);
    font-weight: 800;
}

.benefit-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card,
.faq-item,
.dimension-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.benefit-card span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--leaf);
    font-weight: 900;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.compare-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

.compare-panel.highlight {
    background: var(--leaf);
    color: #fff;
}

.compare-panel.highlight h3 {
    color: #fff;
}

.compare-panel ul {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.compare-panel li {
    display: flex;
    gap: 10px;
}

.compare-panel li::before {
    content: "•";
    color: var(--gold);
    font-weight: 900;
}

.marquee {
    overflow: hidden;
    background: var(--leaf);
    color: #fff;
    padding: 16px 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 40px;
    animation: noplast-marquee 24s linear infinite;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes noplast-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cta-band {
    padding: 82px 0;
    color: #fff;
    background:
        linear-gradient(rgba(36, 83, 59, 0.9), rgba(36, 83, 59, 0.9)),
        url("images/ALL-IN-ONE_PHOTOS_page-0001.jpg") center / cover;
}

.cta-band h2 {
    color: #fff;
}

.site-footer {
    padding: 54px 0;
    background: #16231d;
    color: #dfe8e3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 34px;
}

.footer-logo {
    width: 140px;
    margin-bottom: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.page-hero {
    padding: 86px 0 60px;
    background: linear-gradient(135deg, #fffaf0 0%, #eaf4eb 100%);
}

.page-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.detail-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 52px;
    align-items: start;
}

.qualities-section {
    background:
        radial-gradient(circle at 12% 0%, rgba(183, 137, 54, 0.14), transparent 30%),
        linear-gradient(135deg, #fffdf7 0%, #edf6ef 100%);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.quality-card {
    min-height: 250px;
    padding: 26px;
    border: 1px solid rgba(36, 83, 59, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 34px rgba(24, 44, 34, 0.08);
}

.quality-card strong {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--leaf);
    color: #fff;
    font-size: 0.85rem;
}

.quality-card p {
    color: var(--muted);
}

.gallery-main {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1.28;
    object-fit: cover;
    border-radius: var(--radius);
}

.detail-copy p {
    color: var(--muted);
}

.detail-copy h3 {
    margin-top: 28px;
}

.feature-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.feature-checks span {
    padding: 14px;
    background: var(--mint);
    border-radius: var(--radius);
    color: var(--leaf);
    font-weight: 800;
}

.dimension-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.dimension-card strong {
    display: block;
    color: var(--leaf);
    font-size: 1.45rem;
}

.dimension-card span {
    color: var(--muted);
}

.faq-item button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--leaf);
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.faq-item p {
    display: none;
    color: var(--muted);
    margin: 14px 0 0;
}

.faq-item.is-open p {
    display: block;
}

@media (max-width: 1024px) {
    .site-nav {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-grid,
    .split,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .benefit-grid,
    .quality-grid,
    .dimension-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .header-actions .btn {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 54px 0;
    }

    .proof-strip,
    .product-grid,
    .benefit-grid,
    .quality-grid,
    .comparison,
    .faq-grid,
    .feature-list,
    .feature-checks,
    .dimension-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 68px 0;
    }

    .section-head {
        display: grid;
    }
}
