:root {
    --green: #244b3b;
    --green-dark: #183629;
    --green-light: #e9efe9;
    --cream: #f7f5ed;
    --white: #ffffff;
    --text: #26342d;
    --muted: #718078;
    --border: #e5e9e4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.site-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -.8px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 12px;
    color: white;
    background: var(--green);
}

.main-nav {
    display: flex;
    gap: 27px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a:hover,
.text-link:hover {
    color: #739477;
}

.nav-cta,
.button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
}

.nav-cta,
.button-primary {
    background: var(--green);
    color: white;
}

.hero {
    background: var(--cream);
    padding: 85px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.eyebrow {
    display: block;
    color: #708a70;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    color: var(--green-dark);
    margin: 0 0 22px;
}

h1 em,
.page-hero em {
    color: #789276;
    font-style: normal;
}

.hero-copy > p,
.page-hero p {
    max-width: 480px;
    color: var(--muted);
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.button-outline {
    border: 1px solid #aebbb0;
    color: var(--green);
}

.hero-note,
.placeholder-note {
    color: var(--muted);
    font-size: 11px;
}

.hero-image {
    height: 430px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 18px 18px 0 #dce5d9;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.image-caption span {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--muted);
}

.intro-section,
.content-section {
    padding: 85px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.intro-grid h2,
.section-heading h2,
.content-section h2 {
    font-size: 34px;
    color: var(--green-dark);
}

.intro-grid p,
.content-section p {
    color: var(--muted);
}

.text-link {
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
}

.products-section {
    background: #f7f8f5;
    padding: 80px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}

.product-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-placeholder {
    background: white;
    border: 1px solid var(--border);
    padding: 30px;
    min-height: 190px;
}

.product-number {
    color: #81977e;
    font-size: 12px;
    font-weight: 800;
}

.product-placeholder h3 {
    color: var(--green);
    margin-top: 25px;
}

.product-placeholder p {
    color: var(--muted);
    font-size: 13px;
}

.cta-section {
    padding: 75px 0;
    text-align: center;
    background: var(--green);
    color: white;
}

.cta-inner h2 {
    font-size: 35px;
}

.cta-inner p {
    color: #dce8df;
}

.button-light {
    background: white;
    color: var(--green);
    margin-top: 18px;
}

.page-hero {
    padding: 80px 0;
    background: var(--cream);
}

.page-hero h1 {
    max-width: 750px;
}

.narrow {
    max-width: 780px;
}

.empty-catalog {
    background: var(--cream);
    text-align: center;
    padding: 65px 25px;
    border-radius: 5px;
}

.empty-catalog p {
    max-width: 560px;
    margin: 15px auto 25px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.contact-card {
    padding: 35px;
    background: var(--cream);
}

.site-footer {
    background: var(--green-dark);
    color: white;
    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 40px;
}

.footer-brand {
    color: white;
}

.footer-brand .brand-mark {
    background: white;
    color: var(--green);
}

.footer-grid p,
.footer-grid a {
    color: #d4ded7;
    font-size: 13px;
}

.footer-grid h3 {
    font-size: 15px;
}

.footer-grid > div:not(:first-child) a {
    display: block;
    margin: 8px 0;
}

.copyright {
    border-top: 1px solid #496354;
    padding-top: 18px;
    color: #bdc9c0;
    font-size: 11px;
}

@media (max-width: 480px) {
    .nav-wrap {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 20px;
        padding: 8px 0;
    }

    .hero-grid,
    .intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero {
        padding: 55px 0;
    }

    .hero-image {
        height: 300px;
    }

    .product-placeholder-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .nav-cta {
        padding: 9px 12px;
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 39px;
    }
}

/* Dynamic product catalog */

.dynamic-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.dynamic-product-card {
    background: #fff;
    border: 1px solid #e8e8df;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dynamic-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(28, 61, 47, 0.10);
}

.dynamic-product-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-no-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeFE6;
    color: #718574;
}

.dynamic-product-info {
    padding: 22px;
}

.dynamic-product-info h3 {
    margin: 10px 0;
}

.dynamic-product-info h3 a {
    color: #183d2e;
    text-decoration: none;
}

.dynamic-product-info p {
    color: #68756e;
    line-height: 1.7;
}

.dynamic-product-info strong {
    display: block;
    color: #244f3d;
    font-size: 19px;
    margin: 16px 0;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.category-filter a {
    padding: 9px 18px;
    border: 1px solid #cbd5ca;
    border-radius: 30px;
    color: #244f3d;
    text-decoration: none;
}

.category-filter a.active,
.category-filter a:hover {
    background: #244f3d;
    color: #fff;
}

@media (max-width: 768px) {
    .dynamic-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .dynamic-product-card img,
    .product-no-image {
        height: 190px;
    }

    .dynamic-product-info {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .dynamic-product-grid {
        grid-template-columns: 1fr;
    }
}


/* =================================
   ALANGALANG - PRODUCT CATALOG
================================= */

.content-section > .container {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    padding: 72px 0 90px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.dynamic-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.dynamic-product-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8e8df;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dynamic-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(28, 61, 47, .10);
}

.dynamic-product-card > a:first-child {
    display: block;
    background: #f5f3eb;
}

.dynamic-product-card img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    padding: 14px;
}

.product-no-image {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f3eb;
    color: #718574;
}

.dynamic-product-info {
    padding: 22px;
}

.dynamic-product-info h3 {
    margin: 10px 0;
}

.dynamic-product-info h3 a {
    color: #183d2e;
    text-decoration: none;
}

.dynamic-product-info p {
    color: #68756e;
    line-height: 1.7;
}

.dynamic-product-info strong {
    display: block;
    color: #244f3d;
    font-size: 20px;
    margin: 16px 0;
}

.category-filter a {
    padding: 10px 20px;
    border: 1px solid #cbd5ca;
    border-radius: 30px;
    color: #244f3d;
    text-decoration: none;
}

.category-filter a.active,
.category-filter a:hover {
    background: #244f3d;
    color: #fff;
}

@media (max-width: 900px) {
    .dynamic-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .content-section > .container {
        width: calc(100% - 32px);
    }

    .dynamic-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dynamic-product-card img,
    .product-no-image {
        height: 280px;
    }

    .dynamic-product-info {
        padding: 18px;
    }
}


/* PRODUCT DETAIL */

.product-detail-section {
    padding: 65px 0 100px;
    background: #ffffff;
}

.back-link {
    display: inline-block;
    margin-bottom: 35px;
    color: #204b3b;
    text-decoration: none;
    font-weight: 600;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 65px;
    align-items: start;
}

.product-detail-image {
    background: #f5f3eb;
    border-radius: 16px;
    padding: 35px;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-detail-image img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.product-detail-info h1 {
    color: #204b3b;
    font-size: 38px;
    margin: 15px 0;
}

.detail-price {
    color: #204b3b;
    font-size: 30px;
    font-weight: 700;
    margin: 22px 0;
}

.detail-short-description,
.detail-description {
    color: #64736b;
    line-height: 1.8;
}

.whatsapp-button {
    display: inline-flex;
    margin-top: 25px;
    background: #204b3b;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 25px;
    border-radius: 7px;
    font-weight: 600;
}

.whatsapp-button:hover {
    background: #2c654f;
}

.whatsapp-unavailable {
    margin-top: 25px;
    color: #9b5c25;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-image {
        min-height: 300px;
    }

    .product-detail-info h1 {
        font-size: 29px;
    }
}
.product-stock {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.stock-available {
    color: #247a45;
}

.stock-limited {
    color: #b7791f;
}

.stock-empty {
    color: #c53030;
}
