
/* =====================================================
   FORESTRYLUMBER - STANDALONE PAGES
   Clean consolidated responsive stylesheet
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* BRAND */
.fl-wordmark {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #153d2b;
    line-height: 1;
    text-decoration: none;
}

.fl-wordmark strong {
    font: 800 24px Manrope, Arial, sans-serif;
    letter-spacing: -1.2px;
}

.fl-wordmark strong span {
    color: #b28736;
}

.fl-wordmark small {
    font: 800 8px "DM Sans", Arial, sans-serif;
    letter-spacing: 1.5px;
    color: #78847a;
}

.fl-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fl-cart-link b {
    background: #d5a746;
    color: #17251d;
    border-radius: 20px;
    padding: 3px 7px;
}

/* HEADER */
body .site-header {
    position: relative !important;
    top: auto !important;
    width: 100%;
    z-index: 50;
}

/* HERO */
.fl-page-hero {
    background:
        linear-gradient(90deg, rgba(7,25,17,.91), rgba(8,30,19,.62)),
        url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1800&q=85")
        center / cover no-repeat;
    color: #fff;
    padding: 82px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.fl-page-hero .container {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.fl-page-hero .eyebrow {
    color: #f2d28a;
}

.fl-page-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    max-width: 760px;
    margin: 18px 0;
}

.fl-page-hero p {
    max-width: 620px;
    color: #e2e9e3;
    line-height: 1.8;
    font-size: 15px;
}

/* GENERAL CONTENT */
.fl-content {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 75px 0 85px;
}

/*
   IMPORTANT:
   The content container must occupy the full
   available desktop width, not shrink to its contents.
*/
main.fl-content > .container,
.fl-content > .container {
    display: block !important;
    width: calc(100% - 80px) !important;
    max-width: 1180px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* CONTENT HEADINGS */
.fl-prose {
    max-width: 850px;
    color: #66736a;
    font-size: 14px;
    line-height: 1.9;
}

.fl-prose h2,
.fl-content h2 {
    color: #183b2c;
    font: 800 clamp(26px, 3vw, 38px) Manrope, Arial, sans-serif;
    letter-spacing: -1px;
}

.fl-prose h3 {
    color: #183b2c;
}

/* TWO COLUMN CONTENT */
.fl-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: center;
}

.fl-feature-panel {
    background: #123b2b;
    color: #fff;
    padding: 34px;
    border-radius: 4px;
}

.fl-feature-panel h3 {
    font: 800 24px Manrope, Arial, sans-serif;
}

.fl-feature-panel p {
    color: #d0ddd3;
    line-height: 1.8;
    font-size: 13px;
}

/* INFORMATION CARDS */
.fl-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.fl-info-card {
    background: #fff;
    border: 1px solid #e7ebe4;
    padding: 25px;
    border-radius: 4px;
}

.fl-info-card .fl-card-icon {
    font-size: 26px;
    color: #b28736;
}

.fl-info-card h3 {
    font: 800 18px Manrope, Arial, sans-serif;
    color: #183b2c;
    margin: 13px 0 9px;
}

.fl-info-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #758078;
    margin: 0;
}

/* PRODUCT INTRODUCTION */
.fl-product-intro {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}

.fl-product-intro p {
    font-size: 13px;
    color: #758078;
    margin: 8px 0 0;
}

/* PRODUCT GRID - DESKTOP */
.fl-content .fl-product-grid {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;

    align-items: stretch;
    justify-content: stretch;
}

.fl-content .fl-product-card {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100%;
    background: #fff;
    border: 1px solid #e8ece5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,.055);
}

.fl-content .fl-product-card img,
.fl-content .fl-product-placeholder {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 225px;
    flex-shrink: 0;
    object-fit: cover;
    background: #e8ece6;
}

.fl-content .fl-product-placeholder {
    display: grid;
    place-items: center;
    color: #55705c;
    font-weight: 800;
    letter-spacing: 2px;
}

.fl-product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.fl-product-card .fl-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #9a7b3d;
    font-weight: 800;
}

.fl-product-card h3 {
    font: 800 17px Manrope, Arial, sans-serif;
    color: #21372a;
    line-height: 1.35;
    margin: 9px 0;
}

.fl-product-card p {
    font-size: 13px;
    line-height: 1.7;
    color: #78827a;
    min-height: 65px;
    margin: 0 0 18px;
}

.fl-product-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #edf0eb;
    padding-top: 15px;
    margin-top: auto;
}

.fl-product-action strong {
    font-size: 14px;
    color: #173c2b;
}

.fl-product-action small {
    font-size: 10px;
    color: #8a948c;
}

.fl-product-action form {
    margin: 0;
}

.fl-product-action button {
    border: 0;
    background: #153d2b;
    color: #fff;
    padding: 11px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.fl-product-action button:hover {
    background: #285a40;
}

/* EMPTY PRODUCT MESSAGE */
.fl-empty {
    background: #fff;
    border: 1px solid #e8ece5;
    padding: 35px;
    text-align: center;
    color: #68756c;
    grid-column: 1 / -1;
}

/* CONTACT */
.fl-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fl-contact-box {
    background: #fff;
    border: 1px solid #e8ece5;
    padding: 28px;
}

.fl-contact-box h3 {
    color: #183b2c;
    font: 800 20px Manrope, Arial, sans-serif;
}

.fl-contact-box p {
    color: #758078;
    font-size: 13px;
    line-height: 1.8;
}

.fl-contact-box a {
    color: #315a42;
    font-weight: 700;
}

/* FOOTER */
.fl-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fl-footer-links a {
    font-size: 11px;
    color: #d4ded6;
}

.footer .fl-wordmark strong {
    color: #fff;
}

.footer .fl-wordmark small {
    color: #aebdb2;
}

.footer-inner > div:first-child p {
    max-width: 320px;
    margin-top: 12px;
    line-height: 1.7;
}

/* TABLET */
@media (max-width: 1000px) {

    .fl-wordmark strong {
        font-size: 21px;
    }

    .main-nav {
        gap: 12px;
    }

    .fl-content > .container {
        width: calc(100% - 48px) !important;
    }

    .fl-content .fl-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .fl-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 720px) {

    .fl-page-hero {
        padding: 62px 0;
        min-height: 260px;
    }

    .fl-page-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .fl-content {
        padding: 55px 0;
    }

    .fl-content > .container {
        width: calc(100% - 30px) !important;
    }

    .fl-two-col,
    .fl-contact-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fl-card-grid {
        grid-template-columns: 1fr;
    }

    .fl-content .fl-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .fl-content .fl-product-card img,
    .fl-content .fl-product-placeholder {
        height: 155px;
    }

    .fl-product-card-body {
        padding: 13px;
    }

    .fl-product-card h3 {
        font-size: 14px;
    }

    .fl-product-card p {
        font-size: 11px;
        min-height: 0;
    }

    .fl-product-action {
        align-items: stretch;
        flex-direction: column;
    }

    .fl-product-action button {
        width: 100%;
    }

    .fl-product-intro {
        display: block;
    }

    .fl-footer-links {
        gap: 12px;
    }

    .footer-inner {
        align-items: flex-start;
    }
}

/* SMALL MOBILE */
@media (max-width: 380px) {

    .fl-content .fl-product-grid {
        grid-template-columns: 1fr !important;
    }

    .fl-content .fl-product-card img,
    .fl-content .fl-product-placeholder {
        height: 210px;
    }
}
