/* 1.2: the mobile navigation uses colour and focus, with no text underlines.
   Row dividers and desktop navigation retain their approved appearance. */
body.fo-kit.fo-kit.fo-kit.fo-kit .mobile-nav a,
body.fo-kit.fo-kit.fo-kit.fo-kit .mobile-nav a:is(:hover,:focus,:active,[aria-current]),
body.fo-kit.fo-kit.fo-kit.fo-kit .mobile-nav a span {
    text-decoration:none!important;
    box-shadow:none!important;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .mobile-nav a::before,
body.fo-kit.fo-kit.fo-kit.fo-kit .mobile-nav a::after {
    content:none!important;
    display:none!important;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .newsletter-intro {
    max-width:36em;
    margin:0;
    color:var(--ink);
    font:400 1rem/1.75 var(--sans);
}
body.fo-kit.fo-kit.fo-kit.fo-kit .newsletter-introduction { min-width:0; }

/* Flex is the fallback; subgrid aligns every field with its neighbour, per row.
   Text remains complete and images keep their existing contain frames. */
body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-product,.product-card) {
    display:flex;
    flex-direction:column;
    min-width:0;
}
body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-product-copy,.product-copy) {
    display:flex;
    flex-direction:column;
    flex:1;
    min-width:0;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .product-actions { margin-top:auto; }
body.fo-kit.fo-kit.fo-kit.fo-kit .product-actions > .button {
    justify-content:center;
    text-align:center;
    line-height:1.4;
}
@supports (grid-template-rows:subgrid) {
    body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-selection,.product-grid) {
        row-gap:0;
        align-items:stretch;
    }
    body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-product,.product-card) {
        display:grid;
        grid-template-rows:subgrid;
        grid-row:span 7;
        row-gap:0;
        align-content:stretch;
        margin-bottom:44px;
    }
    body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-product-art,.product-visual) { grid-row:1; }
    body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-product-copy,.product-copy) {
        display:grid;
        grid-template-rows:subgrid;
        grid-row:2 / span 6;
        row-gap:0;
    }
    body.fo-kit.fo-kit.fo-kit.fo-kit :is(.shop-product-copy,.product-copy) > * { align-self:start; }
    body.fo-kit.fo-kit.fo-kit.fo-kit .fo-card-title { min-height:0; }
    body.fo-kit.fo-kit.fo-kit.fo-kit .product-actions { margin-top:0; align-self:stretch; }
}
body.fo-kit.fo-kit.fo-kit.fo-kit :is(.button,.single_add_to_cart_button) {
    text-transform:none!important;
}

body.fo-kit.fo-kit.fo-kit.fo-kit .quantity-presets button {
    padding:10px 4px!important;
    white-space:nowrap;
    text-transform:none!important;
    font:600 .875rem/1.4 var(--sans)!important;
    letter-spacing:0;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .product-info form.cart .single_add_to_cart_button {
    padding:14px 18px!important;
    min-height:50px;
    font:600 .875rem/1.4 var(--sans)!important;
    letter-spacing:.02em;
}

/* Native payment SDKs decide eligibility and their internal button layout.
   Style only the outside containers; never force hidden wallets into view. */
body.fo-kit.fo-kit.fo-kit.fo-kit .product-info :is(
    #wc-stripe-payment-request-wrapper,#wcpay-payment-request-wrapper,
    #wc-stripe-express-checkout-element,.wc-stripe-express-checkout-element,
    #wcpay-express-checkout-element,.wcpay-express-checkout-wrapper,
    .wcpay-payment-request-wrapper,.wc-block-components-express-payment,
    .wc-amazon-payments-advanced-populated,#amazon-pay-button,.amazon-pay-button-container,
    .wc-ppcp-product-button-container,.ppc-button-wrapper,#ppc-button
) {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
    clear:both;
    float:none;
    grid-column:1/-1;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .purchase-area > :is(
    #wc-stripe-payment-request-wrapper,#wcpay-payment-request-wrapper,
    #wc-stripe-express-checkout-element,.wc-stripe-express-checkout-element,
    #wcpay-express-checkout-element,.wcpay-express-checkout-wrapper,
    .wcpay-payment-request-wrapper,.wc-block-components-express-payment,
    .wc-amazon-payments-advanced-populated,#amazon-pay-button,.amazon-pay-button-container,
    .wc-ppcp-product-button-container,.ppc-button-wrapper,#ppc-button
) { margin-top:20px!important; margin-bottom:0!important; }
body.fo-kit.fo-kit.fo-kit.fo-kit .product-info form.cart > :is(
    #wc-stripe-payment-request-wrapper,#wcpay-payment-request-wrapper,
    #wc-stripe-express-checkout-element,.wc-stripe-express-checkout-element,
    #wcpay-express-checkout-element,.wcpay-express-checkout-wrapper,
    .wcpay-payment-request-wrapper,.wc-block-components-express-payment,
    .wc-amazon-payments-advanced-populated,#amazon-pay-button,.amazon-pay-button-container,
    .wc-ppcp-product-button-container,.ppc-button-wrapper,#ppc-button
) { margin-top:0!important; margin-bottom:0!important; }

/* Tone the supplied photographs in the page, retaining their original pixels. */
body.fo-kit.fo-kit.fo-kit.fo-kit .product-info .purchase-area > [id^="ppc-button-"] { width:100%; min-width:0; max-width:100%; margin-top:18px; }
body.fo-kit.fo-kit.fo-kit.fo-kit img.fo-photo-natural { filter:saturate(.86) contrast(.98) sepia(.045); }
body.fo-kit.fo-kit.fo-kit.fo-kit img.fo-photo-soil { filter:saturate(.84) contrast(.98) sepia(.07); }

/* Journal 1.2.1: the article keeps the full, responsive source photograph.
   Only index thumbnails use the editor's object-position crop control. */
body.fo-kit.fo-kit.fo-kit.fo-kit .editorial-article .article-image {
    display:block;
    width:100%;
    max-width:100%;
    height:auto!important;
    min-height:0;
    max-height:none!important;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    margin:0 0 clamp(36px,4vw,65px);
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-date {
    display:block;
    margin:0 0 18px;
    color:var(--muted);
    font:400 .875rem/1.6 var(--sans);
    text-transform:none;
    letter-spacing:0;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-copy > .eyebrow { margin-bottom:8px; }
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-article-header .journal-date { margin:0 0 22px; }
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-pagination { margin-top:48px; }
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-page-count {
    margin:0 0 12px;
    color:var(--muted);
    font:400 .875rem/1.6 var(--sans);
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-pagination .fo-pagination {
    align-items:center;
    gap:10px;
    margin:0;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-pagination .page-numbers {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    min-height:44px;
    padding:8px 12px;
    color:var(--ink);
    font:600 .875rem/1.5 var(--sans);
    text-decoration:none;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-pagination .page-numbers.current {
    color:var(--paper);
    background:var(--forest);
    border-color:var(--forest);
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-pagination a:hover { color:var(--gold); border-color:var(--gold); }
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-pagination a:focus-visible {
    outline:2px solid var(--gold);
    outline-offset:3px;
}
body.fo-kit.fo-kit.fo-kit.fo-kit .journal-empty { padding:30px 0; }

