/* FarmicleGrow V2 public polish layer
 * Purpose: editorial public header/hero treatment while legacy pages remain in migration.
 */

.fg-public-v2-shell {
    background: #fbfaf6;
}

/* Header refinement */
.fg-site-header {
    background: rgba(251, 250, 246, .97);
    border-bottom-color: rgba(11, 47, 32, .07);
    box-shadow: 0 6px 28px rgba(9, 40, 27, .035);
}

.fg-site-header__inner {
    min-height: 86px;
}

.fg-site-brand img {
    height: 54px;
}

.fg-site-nav > ul {
    gap: clamp(18px, 1.55vw, 28px);
}

.fg-site-nav a {
    color: #28372f;
    font-size: 13.5px;
    font-weight: 680;
    letter-spacing: -.01em;
}

.fg-site-nav > ul > li > a::after {
    height: 2px;
    background: var(--fg-green-700);
}

.fg-site-nav__has-menu > a i {
    font-size: 10px;
    opacity: .58;
}

.fg-site-header__actions .fg-btn {
    min-height: 44px;
    padding-inline: 18px;
}

.fg-site-icon-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
}

/* V2 hero: editorial agriculture, calmer and more intentional. */
.fg-hero-slider {
    min-height: clamp(620px, calc(100svh - 86px), 860px);
    background: #09291c;
}

.fg-hero-slider__viewport,
.fg-hero-slide,
.fg-hero-slide__inner {
    min-height: inherit;
}

.fg-hero-slide__media img,
.fg-hero-slide__media video {
    transform: scale(1.002);
    object-position: center center;
}

.fg-hero-slide__overlay {
    background:
        linear-gradient(90deg,
            rgba(4, 24, 16, calc(var(--fg-hero-overlay, .5) + .16)) 0%,
            rgba(4, 24, 16, var(--fg-hero-overlay, .5)) 34%,
            rgba(4, 24, 16, calc(var(--fg-hero-overlay, .5) * .48)) 58%,
            rgba(4, 24, 16, .08) 82%,
            rgba(4, 24, 16, .05) 100%);
}

.fg-hero-slide--center .fg-hero-slide__overlay {
    background: linear-gradient(180deg, rgba(4,24,16,.16), rgba(4,24,16,calc(var(--fg-hero-overlay, .5) + .12)) 72%, rgba(4,24,16,.5));
}

.fg-hero-slide--right .fg-hero-slide__overlay {
    background: linear-gradient(270deg, rgba(4,24,16,calc(var(--fg-hero-overlay, .5) + .14)) 0%, rgba(4,24,16,var(--fg-hero-overlay, .5)) 38%, rgba(4,24,16,.1) 78%);
}

.fg-hero-slide__inner {
    padding-top: clamp(88px, 10vh, 124px);
    padding-bottom: clamp(112px, 15vh, 166px);
}

.fg-hero-slide__content {
    width: min(100%, 700px);
}

.fg-hero-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #d7f77d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.fg-hero-slide__eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: .78;
}

.fg-hero-slide__title {
    max-width: 11ch;
    margin: 0;
    color: #fff;
    font-size: clamp(52px, 6.2vw, 96px);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: .92;
    text-wrap: balance;
}

.fg-hero-slide__inner--center .fg-hero-slide__title {
    max-width: 12ch;
    margin-inline: auto;
}

.fg-hero-slide__inner--right .fg-hero-slide__title {
    margin-left: auto;
}

.fg-hero-slide__description {
    max-width: 570px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.58;
}

.fg-hero-slide__inner--center .fg-hero-slide__description {
    margin-inline: auto;
}

.fg-hero-slide__inner--right .fg-hero-slide__description {
    margin-left: auto;
}

.fg-hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.fg-hero-slide__inner--center .fg-hero-slide__actions {
    justify-content: center;
}

.fg-hero-slide__inner--right .fg-hero-slide__actions {
    justify-content: flex-end;
}

.fg-hero-slide__actions .fg-btn {
    min-height: 50px;
    padding-inline: 23px;
    font-size: 14px;
}

.fg-hero-slide__secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
}

.fg-hero-slide__secondary:hover {
    color: #0b2f20;
    border-color: #fff;
    background: #fff;
}

.fg-hero-slide__play {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 8px 0;
    border: 0;
    color: rgba(255,255,255,.76);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.fg-hero-slide__signature {
    position: absolute;
    z-index: 3;
    right: max(16px, calc((100vw - min(100vw - 32px, 1440px)) / 2));
    bottom: 31px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,.58);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fg-hero-slide__signature span + span::before {
    content: "•";
    margin-right: 16px;
    color: #b7ef3a;
}

.fg-hero-slider__controls {
    position: absolute;
    z-index: 5;
    right: max(16px, calc((100vw - min(100vw - 32px, 1440px)) / 2));
    bottom: 72px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.fg-hero-slider__arrow {
    position: static !important;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    transform: none !important;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,36,24,.26);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.fg-hero-slider__arrow:hover {
    border-color: #b7ef3a;
    color: #0b2f20;
    background: #b7ef3a;
}

.fg-hero-slider__pagination {
    position: static !important;
    display: flex;
    min-width: 122px;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    color: rgba(255,255,255,.72);
    transform: none !important;
}

.fg-hero-slider__count {
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: .08em;
}

.fg-hero-slider__count strong {
    color: #fff;
    font-size: 14px;
}

.fg-hero-slider__dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fg-hero-slider__dot {
    width: 20px;
    height: 2px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    opacity: .36;
    background: #fff;
    cursor: pointer;
    transition: width .2s ease, opacity .2s ease, background .2s ease;
}

.fg-hero-slider__dot.is-active {
    width: 34px;
    opacity: 1;
    background: #b7ef3a;
}

.fg-hero-slider__scroll {
    position: absolute;
    z-index: 5;
    bottom: 31px;
    left: max(16px, calc((100vw - min(100vw - 32px, 1440px)) / 2));
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.fg-hero-slider__scroll i {
    color: #b7ef3a;
}

/* Remove legacy ecommerce floating treatment from V2 surfaces if injected by old scripts. */
.fg-public-v2-shell .cart-sidebar,
.fg-public-v2-shell .cart-popup,
.fg-public-v2-shell .shopping-cart-sidebar,
.fg-public-v2-shell .floating-cart,
.fg-public-v2-shell .cart-sticky,
.fg-public-v2-shell .cart-sidebar-btn {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .fg-site-nav > ul { gap: 15px; }
    .fg-site-nav a { font-size: 12.5px; }
    .fg-hero-slide__title { font-size: clamp(50px, 7vw, 82px); }
}

@media (max-width: 991.98px) {
    .fg-site-header__inner { min-height: 74px; }
    .fg-site-brand img { height: 48px; }
    .fg-hero-slider { min-height: min(780px, calc(100svh - 74px)); }
    .fg-hero-slide__inner {
        align-items: flex-end;
        padding-top: 120px;
        padding-bottom: 128px;
    }
    .fg-hero-slide__content { width: min(100%, 620px); }
    .fg-hero-slide__title { font-size: clamp(48px, 10vw, 76px); }
    .fg-hero-slide__signature { display: none; }
}

@media (max-width: 767.98px) {
    .fg-hero-slider { min-height: min(760px, calc(100svh - 66px)); }
    .fg-hero-slide__media img,
    .fg-hero-slide__media video { object-position: center center; }
    .fg-hero-slide__overlay,
    .fg-hero-slide--right .fg-hero-slide__overlay,
    .fg-hero-slide--center .fg-hero-slide__overlay {
        background: linear-gradient(180deg, rgba(4,24,16,.12) 0%, rgba(4,24,16,.34) 35%, rgba(4,24,16,.9) 100%);
    }
    .fg-hero-slide__inner,
    .fg-hero-slide__inner--center,
    .fg-hero-slide__inner--right {
        align-items: flex-end;
        justify-content: flex-start;
        padding-top: 180px;
        padding-bottom: 130px;
        text-align: left;
    }
    .fg-hero-slide__title,
    .fg-hero-slide__inner--center .fg-hero-slide__title,
    .fg-hero-slide__inner--right .fg-hero-slide__title {
        max-width: 10.5ch;
        margin-inline: 0;
        font-size: clamp(43px, 13vw, 64px);
    }
    .fg-hero-slide__description,
    .fg-hero-slide__inner--center .fg-hero-slide__description,
    .fg-hero-slide__inner--right .fg-hero-slide__description {
        max-width: 92%;
        margin-left: 0;
        margin-right: 0;
        font-size: 16px;
    }
    .fg-hero-slide__actions,
    .fg-hero-slide__inner--center .fg-hero-slide__actions,
    .fg-hero-slide__inner--right .fg-hero-slide__actions {
        justify-content: flex-start;
    }
    .fg-hero-slide__actions .fg-btn {
        width: 100%;
        max-width: 300px;
    }
    .fg-hero-slider__controls {
        right: 16px;
        bottom: 24px;
    }
    .fg-hero-slider__scroll { display: none; }
}

@media (max-width: 479.98px) {
    .fg-hero-slide__eyebrow {
        margin-bottom: 14px;
        font-size: 9.5px;
    }
    .fg-hero-slide__title { font-size: clamp(40px, 13.4vw, 56px); }
    .fg-hero-slide__description { margin-top: 18px; }
    .fg-hero-slide__actions { margin-top: 24px; }
    .fg-hero-slider__pagination { min-width: auto; padding-inline: 5px; }
    .fg-hero-slider__dot { width: 13px; }
    .fg-hero-slider__dot.is-active { width: 24px; }
}
