/* Loaded only on the native homepage. Navigation and footer retain their own styles. */
#f4m-modern-home {
    --f4m-ink: #20252a; --f4m-muted: #69717a; --f4m-line: #e7e9ec;
    --f4m-soft: #f6f7f9; --f4m-yellow: #f5d716;
    color: var(--f4m-ink); font-family: inherit; padding: 18px 0 36px;
}
#f4m-modern-home *, #f4m-modern-home *::before, #f4m-modern-home *::after { box-sizing: border-box; }
#f4m-modern-home a { text-decoration: none; }
#f4m-modern-home [hidden] { display: none !important; }
#f4m-modern-home a:focus-visible, #f4m-modern-home button:focus-visible,
#f4m-modern-home input:focus-visible, #f4m-modern-home summary:focus-visible { outline: 3px solid #b38a00; outline-offset: 4px; }
#f4m-modern-home > .row { margin-left: 0; margin-right: 0; }
#f4m-modern-home .f4m-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; padding: 18px 0 24px; margin: 0 0 24px; }
#f4m-modern-home .f4m-hero-main { min-width: 0; }
#f4m-modern-home .f4m-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #747b83; }
#f4m-modern-home h1 { margin: 0 0 18px; font-size: clamp(32px, 4.2vw, 54px); font-weight: 750; line-height: 1.1; letter-spacing: -1.7px; color: var(--f4m-ink); }
#f4m-modern-home h1 span { color: #636b73; }
#f4m-modern-home .f4m-hero-lead { max-width: 510px; margin: 0 0 27px; font-size: 16px; line-height: 1.7; color: var(--f4m-muted); }
#f4m-modern-home .f4m-search-card { background: #fff; border: 1px solid var(--f4m-line); border-radius: 19px; box-shadow: 0 12px 32px rgba(25, 35, 45, .055); overflow: visible; }
#f4m-modern-home .f4m-search-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 0; padding: 10px; border-bottom: 1px solid var(--f4m-line); background: var(--f4m-soft); }
#f4m-modern-home .f4m-search-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 5px; font-size: 14px; font-weight: 600; color: #626a73; border-radius: 11px; text-align: center; }
#f4m-modern-home .f4m-search-tabs a[aria-selected="true"] { color: var(--f4m-ink); background: #fff; box-shadow: 0 2px 7px rgba(20, 30, 40, .075); }
#f4m-modern-home .f4m-search-tabs a:hover { color: #181b20; background: #fff; }
#f4m-modern-home .f4m-search-panel { padding: 22px; }
#f4m-modern-home .f4m-search-panel label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
#f4m-modern-home .f4m-input-row { display: flex; align-items: stretch; gap: 10px; }
#f4m-modern-home .f4m-input-row input { flex: 1; min-width: 0; height: 48px; border: 1px solid #dadfe4; border-radius: 11px; box-shadow: none; padding: 12px 14px; background: #fff; color: var(--f4m-ink); font: inherit; font-size: 14px; }
#f4m-modern-home .f4m-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; border: 1px solid transparent; border-radius: 11px; padding: 12px 20px; background: var(--f4m-yellow); color: #20252a; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1.5; text-align: center; }
#f4m-modern-home .f4m-button:hover { background: #e7c70b; color: #171b1f; }
#f4m-modern-home .f4m-search-hint { margin: 12px 0 0; color: var(--f4m-muted); font-size: 13px; line-height: 1.7; }
#f4m-modern-home .f4m-model-intro { margin: 0 0 15px; }
#f4m-modern-home .f4m-panel-title { color: var(--f4m-ink); font-size: 17px; font-weight: 700; margin: 0; }
#f4m-modern-home #f4m-panel-auto .f4m-button, #f4m-modern-home #f4m-panel-service .f4m-button { margin-top: 19px; }
#f4m-modern-home .f4m-name-search { margin-top: 15px; color: var(--f4m-muted); font-size: 12px; }
#f4m-modern-home .f4m-name-search summary { cursor: pointer; width: fit-content; }
#f4m-modern-home .f4m-name-search form { margin-top: 17px; }
#f4m-modern-home .f4m-hero-note { margin: 20px 0 0; color: var(--f4m-muted); font-size: 12px; line-height: 1.7; }
/* The existing AJAX filter stays intact inside the model panel. */
#f4m-modern-home #div_filter { min-height: 0 !important; }
#f4m-modern-home #div_filter .panel { border: 0; margin: 0; box-shadow: none; }
#f4m-modern-home #div_filter .panel-heading { display: none; }
#f4m-modern-home #filter-panel-body { display: block !important; padding: 0; }
#f4m-modern-home #div_filter .col-md-3 { width: 50%; float: left; }
#f4m-modern-home #div_filter label { font-size: 11px; letter-spacing: .25px; line-height: 1.45; }
#f4m-modern-home #div_filter .chosen-container { width: 100% !important; }
#f4m-modern-home #div_filter .chosen-single, #f4m-modern-home #div_filter .form-control { border: 1px solid #dadfe4; border-radius: 9px; box-shadow: none; background: #fff; min-height: 39px; }
#f4m-modern-home #div_filter .chosen-single { display: flex; align-items: center; }
#f4m-modern-home #div_filter .chosen-single div { display: flex; align-items: center; }
#f4m-modern-home #div_filter .btn { border-radius: 9px; font-size: 12px; padding: 10px 13px; }
#f4m-modern-home #div_filter .btn-primary { background: var(--f4m-yellow); border-color: var(--f4m-yellow); color: var(--f4m-ink); }
/* Published category links and imagery remain native. */
#f4m-modern-home .f4m-categories { margin: 0 0 38px; }
#f4m-modern-home .f4m-categories > .row { margin: 0; }
#f4m-modern-home .f4m-categories > .row > div { padding: 0; margin-bottom: 0 !important; }
#f4m-modern-home .section-title { font-size: 24px; line-height: 1.35; font-weight: 650; color: var(--f4m-ink); padding: 0; margin: 0 0 20px; text-transform: none; letter-spacing: -.5px; }
#f4m-modern-home .section-title::before, #f4m-modern-home .section-title::after { display: none; }
#f4m-modern-home .section-title:first-letter { color: inherit; }
#f4m-modern-home .f4m-categories .row .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0 !important; padding: 0 !important; }
#f4m-modern-home .f4m-categories .row .row::before, #f4m-modern-home .f4m-categories .row .row::after { display: none; }
#f4m-modern-home .new-cat-block { width: auto; float: none; padding: 0; min-width: 0; margin: 0; }
#f4m-modern-home .new-cat-block-catalog { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 151px; line-height: 1.3; border: 1px solid var(--f4m-line); border-radius: 15px; margin: 0; padding: 13px; color: var(--f4m-ink); background: #fff; transition: border-color .18s, transform .18s; }
#f4m-modern-home .new-cat-block-catalog::before { display: none; }
#f4m-modern-home .new-cat-block-catalog:hover { border-color: #d9c94a; transform: translateY(-2px); }
#f4m-modern-home .new-cat-block-catalog .new-cat-block-catalog-img { position: relative; inset: auto; width: 100%; height: 73px; flex: 0 0 73px; margin: 0 0 12px; background-size: contain !important; }
#f4m-modern-home .new-cat-block-catalog .new-cat-block-text { position: static; display: block; background: none; color: var(--f4m-ink); font-size: 13px; font-weight: 600; padding: 0; line-height: 1.45; }
/* Configurable brands stay connected to the existing admin setting. */
#f4m-modern-home .f4m-home-brands { border: 0; padding: 0; margin: 0 0 38px; }
#f4m-modern-home .f4m-home-brands-heading h2 { font-size: 24px; color: var(--f4m-ink); font-weight: 650; letter-spacing: -.5px; }
#f4m-modern-home .f4m-home-brands-all { color: var(--f4m-muted); }
#f4m-modern-home .f4m-home-brands-link { border: 1px solid var(--f4m-line); border-radius: 13px; box-shadow: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
#f4m-modern-home .f4m-home-brands-link img { transition: transform .18s; }
#f4m-modern-home .f4m-home-brands-link:hover, #f4m-modern-home .f4m-home-brands-link:focus-visible { border-color: #c4b94f; box-shadow: 0 7px 18px rgba(25, 35, 45, .1); transform: translateY(-2px); }
#f4m-modern-home .f4m-home-brands-link:hover img, #f4m-modern-home .f4m-home-brands-link:focus-visible img { transform: scale(1.06); }
/* Live cards and all native cart handlers are retained. */
#f4m-modern-home .f4m-stock .product_div_tile { transition: border-color .18s, box-shadow .18s, transform .18s; }
#f4m-modern-home .f4m-stock .product_div_tile:hover, #f4m-modern-home .f4m-stock .product_div_tile:focus-within { border-color: #c4b94f; box-shadow: 0 9px 24px rgba(25, 35, 45, .11); transform: translateY(-3px); }
#f4m-modern-home .f4m-stock { margin: 0 0 38px; }
#f4m-modern-home .f4m-stock > .row { margin: 0; }
#f4m-modern-home .f4m-stock > .row > .col-xs-12 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; width: 100%; float: none; padding: 0; margin: 0 0 25px; }
#f4m-modern-home .f4m-stock .section-title { grid-column: 1 / -1; margin: 0 0 5px; }
#f4m-modern-home .product_div_tile { display: flex; flex-direction: column; width: 100%; height: auto; min-height: 375px; min-width: 0; float: none; padding: 17px; border: 1px solid var(--f4m-line); border-radius: 16px; background: #fff; box-shadow: none; margin: 0; text-align: left; }
#f4m-modern-home .product_div_tile > .product_div_image_wrap { order: 1; display: flex; align-items: center; justify-content: center; height: 166px; margin: 0 0 14px; border: 0; }
#f4m-modern-home .product_div_image_wrap > a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#f4m-modern-home .product_div_image_wrap > a > img { position: static; max-width: 100% !important; max-height: 155px !important; margin: 0; object-fit: contain; }
#f4m-modern-home .product_div_tile > .product_div_name { order: 2; height: auto; min-height: 74px; line-height: 1.45; margin: 0 0 8px; overflow: visible; }
#f4m-modern-home .product_div_manufacturer { font-size: 12px; font-weight: 700; margin: 0 0 5px; }
#f4m-modern-home .product_div_manufacturer > span { margin-right: 8px; }
#f4m-modern-home .product_div_caption { color: #444d57; font-size: 13px; }
#f4m-modern-home .product_div_tile > .product_div_marks { position: static; order: 3; color: #999; margin: 0 0 9px; }
#f4m-modern-home .product_div_tile > .product_div_bookmark,
#f4m-modern-home .product_div_tile > .product_div_compare,
#f4m-modern-home .product_div_tile > .product_div_admin { top: 12px; bottom: auto; width: 26px; height: 26px; line-height: 24px; background: #fff; border-radius: 8px; z-index: 1; }
#f4m-modern-home .product_div_tile > .product_div_compare { right: 12px; }
#f4m-modern-home .product_div_tile > .product_div_bookmark { right: 43px; }
#f4m-modern-home .product_div_tile > .product_div_admin { right: 74px; }
#f4m-modern-home .product_div_tile > .stickers { top: 8px; left: 0; max-width: calc(100% - 95px); }
#f4m-modern-home .product_div_tile > .product_div_exist_info { order: 4; border: 0; border-radius: 8px; background: #f6f8f6; font-size: 11px; padding: 7px 6px; line-height: 1.4; margin: 0 0 11px; }
#f4m-modern-home .product_div_tile > .product_div_exist_info > span { padding-left: 10px; }
#f4m-modern-home .product_div_tile > .product_div_exist_info > span::before { display: none; }
#f4m-modern-home .product_div_tile > .product_div_exist_info > .green,
#f4m-modern-home .product_div_tile > .product_div_exist_info > .green + .exist { color: #32834d; }
#f4m-modern-home .product_div_tile > .product_div_price,
#f4m-modern-home .product_div_tile > .product_div_price_from_to { order: 5; margin: auto 0 9px; }
#f4m-modern-home .product_div_tile > .product_div_price > .price { font-size: 23px; font-weight: 700; color: var(--f4m-ink); }
#f4m-modern-home .product_div_tile > .product_div_price_crossed_out { order: 5; position: static; }
#f4m-modern-home .product_div_tile > .article_button { position: static; order: 6; margin: 0 0 13px; }
#f4m-modern-home .product_div_tile > .article_button a { color: var(--f4m-muted); font-size: 11px; }
#f4m-modern-home .product_div_tile > .main_action_div { position: static; order: 7; margin: 0; }
#f4m-modern-home .main_action_div .cart_btn_purchase_action { border-radius: 9px; border: 0; padding: 5px 7px; background: var(--f4m-yellow); color: var(--f4m-ink); }
#f4m-modern-home .main_action_div .cart_btn_purchase_action table td:last-child a { color: var(--f4m-ink); font-weight: 600; font-size: 12px; }
#f4m-modern-home .main_action_div .cart_btn_purchase_action .count_need_input { color: #20252a; background: #fff; }
#f4m-modern-home .main_action_div .cart_btn_purchase_action .count_need_minus,
#f4m-modern-home .main_action_div .cart_btn_purchase_action .count_need_plus { color: #20252a; }
#f4m-modern-home .home-seo-content { border-top: 1px solid var(--f4m-line); padding-top: 28px; color: var(--f4m-muted); }
#f4m-modern-home .home-seo-content .row { margin: 0; }
#f4m-modern-home .home-seo-content .row > div { padding: 0; }
#f4m-modern-home .home-seo-content h2 { font-size: 22px; color: var(--f4m-ink); font-weight: 650; }
#f4m-modern-home .home-seo-content h3 { font-size: 17px; color: #444d57; font-weight: 600; }
#f4m-modern-home .home-seo-content p { font-size: 13px; line-height: 1.85; }
#f4m-modern-home .home-seo-content a { color: #445560; text-decoration: underline; text-underline-offset: 3px; }
#f4m-modern-home .f4m-help { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--f4m-soft); border-radius: 18px; padding: 28px 30px; margin: 34px 0 0; }
#f4m-modern-home .f4m-help .f4m-eyebrow { margin-bottom: 10px; }
#f4m-modern-home .f4m-help h2 { font-size: 27px; font-weight: 650; line-height: 1.25; margin: 0 0 12px; color: var(--f4m-ink); }
#f4m-modern-home .f4m-help p:last-child { max-width: 630px; margin: 0; line-height: 1.75; font-size: 13px; color: var(--f4m-muted); }
#f4m-modern-home .f4m-help-actions { flex-shrink: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 13px; }
#f4m-modern-home .f4m-contact-link { font-size: 12px; color: var(--f4m-muted); }
/* One visible search box on the homepage; the catalogue button and account icons stay. */
header .schearch-line:not(.fixed) .search-table-td { display: none; }
header .schearch-line.fixed .search-table-td { display: table-cell; }
.mobile-search-div table > tbody > tr > td:first-child { display: none; }
@media (min-width: 992px) {
    #f4m-modern-home #div_filter .col-md-3 { width: 25%; }
}
@media (max-width: 991px) {
    #f4m-modern-home .f4m-hero { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    #f4m-modern-home .f4m-stock > .row > .col-xs-12 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #f4m-modern-home .f4m-help { flex-direction: column; align-items: flex-start; }
    #f4m-modern-home .f4m-help-actions { align-items: flex-start; }
}
@media (max-width: 767px) {
    #f4m-modern-home { padding-top: 10px; }
    #f4m-modern-home .f4m-hero { padding-top: 14px; }
    #f4m-modern-home h1 { font-size: 36px; letter-spacing: -1.1px; }
    #f4m-modern-home .f4m-hero-lead { font-size: 14px; }
    #f4m-modern-home .f4m-search-panel { padding: 18px 15px; }
    #f4m-modern-home .f4m-search-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 7px; }
    #f4m-modern-home .f4m-search-tabs a { font-size: 12px; }
    #f4m-modern-home .f4m-input-row { flex-direction: column; }
    #f4m-modern-home .f4m-input-row input { width: 100%; flex: auto; }
    #f4m-modern-home .f4m-input-row .f4m-button { width: 100%; }
    #f4m-modern-home .f4m-categories .row .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #f4m-modern-home .f4m-stock > .row > .col-xs-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #f4m-modern-home .product_div_tile { padding: 12px; }
    #f4m-modern-home .main_action_div .cart_btn_purchase_action table { white-space: normal; }
    #f4m-modern-home .f4m-help { padding: 23px 20px; }
}
@media (max-width: 480px) {
    #f4m-modern-home h1 { font-size: 31px; }
    #f4m-modern-home .f4m-stock > .row > .col-xs-12 { grid-template-columns: minmax(0, 1fr); }
    #f4m-modern-home #div_filter .col-md-3 { width: 100%; float: none; }
}
@media (prefers-reduced-motion: reduce) {
    #f4m-modern-home .new-cat-block-catalog { transition: none; }
    #f4m-modern-home .f4m-home-brands-link, #f4m-modern-home .f4m-home-brands-link img,
    #f4m-modern-home .f4m-stock .product_div_tile { transition: none; }
    #f4m-modern-home .f4m-home-brands-link:hover, #f4m-modern-home .f4m-home-brands-link:focus-visible,
    #f4m-modern-home .f4m-home-brands-link:hover img, #f4m-modern-home .f4m-home-brands-link:focus-visible img,
    #f4m-modern-home .f4m-stock .product_div_tile:hover, #f4m-modern-home .f4m-stock .product_div_tile:focus-within { transform: none; }
}
/* 4MOTOKZ_HOME_POLISH_V1: soft background, hover feedback and native sticky search. */
#f4m-modern-home .f4m-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    background: #edf0f2;
    border: 1px solid #e0e5e9;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 30px;
    overflow: visible;
}
#f4m-modern-home .f4m-hero h1 {
    color: #252a31;
    font-size: clamp(27px, 2.7vw, 36px);
    line-height: 1.22;
    letter-spacing: -.65px;
    margin-bottom: 10px;
}
#f4m-modern-home .f4m-hero .f4m-hero-lead {
    color: #5e6872;
    max-width: none;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 19px;
}
#f4m-modern-home .f4m-hero .f4m-search-card {
    position: relative;
    z-index: 2;
    overflow: visible;
    box-shadow: 0 9px 24px rgba(25, 35, 45, .055);
}
#f4m-modern-home .f4m-hero .f4m-search-tabs {
    border-radius: 18px 18px 0 0;
}
#f4m-modern-home .f4m-hero .f4m-hero-note {
    color: #5e6872;
    font-size: 11px;
    margin-top: 13px;
}
@media (max-width: 991px) {
    #f4m-modern-home .f4m-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
        gap: 22px;
    }
}
@media (max-width: 767px) {
    #f4m-modern-home .f4m-hero {
        padding: 20px 15px;
        border-radius: 18px;
    }
    #f4m-modern-home .f4m-hero h1 {
        font-size: 28px;
        letter-spacing: -.5px;
    }
    #f4m-modern-home .f4m-hero .f4m-hero-lead {
        font-size: 13px;
        margin-bottom: 16px;
    }
}
@media (max-width: 480px) {
    #f4m-modern-home .f4m-hero h1 {
        font-size: 25px;
    }
}
