/* France Access standalone mobile homepage v1.0.0 - rb_mercado.
 * Scoped entirely to .fa-mobile-home to avoid changing desktop widgets.
 */
.fa-mobile-home { display: none; }
@media screen and (min-width: 768px) {
  .fa-mobile-home { display: none !important; }
}
@media screen and (max-width: 767px) {
  .fa-desktop-home { display: none !important; }
  #index .fa-mobile-home { display: block !important; width: 100%; max-width: 100%; min-width: 0; }
  #index .fa-mobile-home .famh-shell,
  #index .fa-mobile-home .famh-shell * { box-sizing: border-box; }
  #index .fa-mobile-home .famh-shell {
    --famh-red: #e21d2a;
    --famh-ink: #15171e;
    --famh-muted: #767c88;
    color: var(--famh-ink);
    background: #f6f7fa;
    font-family: inherit;
    width: 100%;
    max-width: 620px;
    min-width: 0;
    margin: 0 auto;
    padding: 14px 12px 34px;
    line-height: 1.45;
    overflow: hidden;
  }
  #index .fa-mobile-home .famh-shell a { text-decoration: none; }
  #index .fa-mobile-home .famh-shell a:focus-visible,
  #index .fa-mobile-home .famh-shell button:focus-visible,
  #index .fa-mobile-home .famh-shell input:focus-visible {
    outline: 3px solid #ff545d; outline-offset: 3px;
  }
  #index .fa-mobile-home .famh-shell svg { display: block; flex-shrink: 0; }
  .famh-search {
    display: flex; align-items: center; gap: 9px; margin: 0 0 12px;
    padding: 5px 5px 5px 13px; height: 49px;
    background: #fff; border: 1px solid #e1e4e9; border-radius: 14px;
    box-shadow: 0 3px 16px rgba(15,20,33,.05); width: 100%;
  }
  .famh-search .famh-search-icon { width: 20px; height: 20px; color: #7d8490; }
  .famh-search input[type=search] {
    flex: 1; min-width: 0; width: 1px; height: 36px; border: 0 !important; box-shadow: none !important;
    background: transparent !important; outline: 0; padding: 0; margin: 0;
    font-size: 13px; line-height: 1.3; color: #171921; border-radius: 0;
  }
  .famh-search input[type=search]::placeholder { color: #858b96; opacity: 1; }
  .famh-search button[type=submit] {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; width: 38px; height: 38px; padding: 0; margin: 0;
    background: #18191e; color: #fff; border: 0; border-radius: 11px; cursor: pointer;
  }
  .famh-search button svg { width: 18px; height: 18px; }
  .famh-kicker {
    display: flex; align-items: center; gap: 7px; margin: 0 2px 10px;
    font-size: 9px; color: #747985; letter-spacing: .13em; font-weight: 800;
  }
  .famh-kicker-dot { background: #e21d2a; width: 6px; height: 6px; border-radius: 100%; }
  .famh-kicker-line { width: 22px; height: 1px; background: #c9ced7; }
  .famh-hero {
    position: relative; display: flex; align-items: center; min-height: 226px;
    padding: 23px 17px; background: linear-gradient(123deg,#0c0f15 1%,#202734 90%);
    border-radius: 19px; overflow: hidden; isolation: isolate;
    box-shadow: 0 8px 23px rgba(12,17,28,.13);
  }
  .famh-hero::before {
    content: ''; position: absolute; z-index: -1; right: -80px; top: -102px;
    width: 280px; height: 280px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 26px rgba(255,255,255,.018), 0 0 0 60px rgba(255,255,255,.012);
  }
  .famh-hero-glow {
    pointer-events: none; position: absolute; z-index: -1; width: 230px; height: 230px;
    top: -100px; right: -102px; border-radius: 50%; background: rgba(230,26,46,.43); filter: blur(65px);
  }
  .famh-hero .famh-hero-picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .famh-hero-with-image::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.84),rgba(0,0,0,.42) 80%); }
  .famh-hero-text { position: relative; z-index: 2; width: 73%; max-width: 260px; }
  .famh-hero-eyebrow { display: block; margin-bottom: 8px; color: #ff5964; font-weight: 900; letter-spacing: .16em; font-size: 9px; }
  #index .famh-hero h1 { font-size: clamp(23px, 6.6vw, 31px); line-height: 1.13; font-weight: 900; letter-spacing: -.045em; color: #fff; margin: 0 0 9px; overflow-wrap: anywhere; }
  #index .famh-hero p { margin: 0 0 16px; font-size: 11px; color: #e1e4ec; line-height: 1.45; max-width: 220px; }
  #index .famh-hero-button {
    display: inline-flex; align-items: center; gap: 10px; border-radius: 8px;
    background: #e21d2a; color: #fff; font-weight: 800; font-size: 11px;
    padding: 10px 12px; line-height: 1; box-shadow: 0 6px 15px rgba(226,29,42,.28);
  }
  .famh-hero-button span { font-size: 16px; font-weight: 400; }
  .famh-phone-art {
    position: absolute; width: 112px; height: 194px; right: 11px; top: 18px;
    border-radius: 23px; transform: rotate(11deg);
    background: linear-gradient(140deg,#424756,#12141b 65%,#090b10);
    border: 4px solid #68717f; box-shadow: -15px 15px 20px rgba(0,0,0,.46),inset 0 0 0 1px #242b34;
    z-index: 1; overflow: hidden;
  }
  .famh-phone-screen {
    position: absolute; inset: 12px; border-radius: 15px;
    background: radial-gradient(circle at 73% 65%,rgba(242,48,73,.8),transparent 38%), linear-gradient(149deg,#111d2d 18%,#372330 68%,#080a10);
  }
  .famh-phone-screen::before { content:''; position:absolute; left: 34%; right: 34%; top: 0; height: 8px; background: #06070a; border-radius: 0 0 8px 8px; }
  .famh-phone-camera { position: absolute; top: 18px; left: 12px; width: 45px; height: 46px; z-index: 2; border-radius: 13px; background: rgba(5,6,10,.65); transform: translateZ(0); }
  .famh-phone-camera i { position: absolute; width: 14px; height: 14px; border-radius: 100%; background: radial-gradient(circle,#0b1020 27%,#495971 29%,#0c101c 72%); border: 1px solid #677182; }
  .famh-phone-camera i:nth-child(1) { top: 5px; left: 5px; }
  .famh-phone-camera i:nth-child(2) { top: 5px; right: 5px; }
  .famh-phone-camera i:nth-child(3) { bottom: 5px; left: 5px; }
  .famh-quicklinks { display: flex; gap: 8px; margin: 13px 0 19px; overflow-x: auto; scrollbar-width: none; }
  .famh-quicklinks::-webkit-scrollbar { display: none; }
  #index .famh-quicklinks a {
    flex: 1 0 auto; min-width: 0; display: flex; justify-content: center; gap: 6px; align-items: center;
    white-space: nowrap; border: 1px solid #e5e8ee; border-radius: 11px; background: #fff;
    color: #363a43; padding: 9px 11px; font-size: 10px; font-weight: 800;
  }
  #index .famh-quicklinks a span { color: #e21d2a; font-size: 13px; }
  .famh-section { margin: 0 0 26px; scroll-margin-top: 15px; }
  .famh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 7px; margin: 0 1px 12px; }
  .famh-section-eyebrow { display: block; font-size: 9px; letter-spacing: .13em; font-weight: 900; color: #d22631; margin-bottom: 1px; }
  #index .fa-mobile-home .famh-section-head h2 { margin: 0; font-size: 19px; line-height: 1.23; font-weight: 900; letter-spacing: -.025em; color: #161922; }
  .famh-title-spark { color: #dc2432; }
  #index .famh-more { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: #d72734; font-size: 11px; font-weight: 800; padding-bottom: 2px; }
  .famh-more span { font-size: 17px; font-weight: 400; }
  .famh-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  #index .famh-category {
    display: flex; align-items: center; flex-direction: column; gap: 7px; justify-content: flex-start;
    min-width: 0; padding: 12px 4px 9px; border-radius: 13px; background: #fff; color: #30343c;
    border: 1px solid #eceef2; min-height: 90px; box-shadow: 0 3px 10px rgba(14,18,26,.025);
  }
  .famh-category-symbol { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #fff1f2; color: #e22c39; }
  .famh-category-symbol svg { width: 19px; height: 19px; }
  .famh-category-color-1 .famh-category-symbol { background: #ebf2ff; color: #356dde; }
  .famh-category-color-2 .famh-category-symbol { background: #f2edff; color: #8a57dc; }
  .famh-category-color-3 .famh-category-symbol { background: #e6f7f2; color: #149c70; }
  .famh-category-color-4 .famh-category-symbol { background: #fff2e5; color: #dc883a; }
  .famh-category-color-5 .famh-category-symbol { background: #eaf2f5; color: #4b8199; }
  .famh-category-name { text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 10px; line-height: 1.27; font-weight: 750; overflow-wrap: anywhere; max-width: 100%; }
  .famh-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
  #index .famh-product {
    min-width: 0; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; color: #1e2229; border-radius: 14px; border: 1px solid #e8e9ed;
    box-shadow: 0 4px 13px rgba(13,17,27,.035); padding: 0; margin: 0;
    transition: box-shadow .15s ease;
  }
  #index .famh-product:active { box-shadow: 0 2px 8px rgba(13,17,27,.08); }
  .famh-product-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1/1; min-height: 0; background: #fff; padding: 13px; }
  .famh-product-media img { display: block; max-width: 100%; width: 100%; height: 100%; max-height: 100%; object-fit: contain; margin: 0 auto; mix-blend-mode: multiply; }
  .famh-tag { position: absolute; z-index: 2; top: 9px; left: 9px; border-radius: 5px; font-size: 9px; padding: 3px 6px; font-weight: 800; }
  .famh-tag-sale { background: #fff0f1; color: #d82734; }
  .famh-no-image { width: 65px; height: 65px; color: #b9c0cc; }
  .famh-no-image svg { width: 100%; height: 100%; }
  .famh-product-content { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding: 0 11px 11px; min-height: 78px; gap: 7px; }
  .famh-product-name { font-size: 11px; line-height: 1.38; font-weight: 650; color: #32363e; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-height: 29px; }
  .famh-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding-top: 7px; border-top: 1px solid #f0f1f4; }
  .famh-price { color: #d71e2e; font-size: 14px; line-height: 1.2; letter-spacing: -.015em; font-weight: 900; overflow-wrap: anywhere; }
  .famh-price-hidden { font-size: 12px; }
  .famh-product-go { width: 25px; height: 25px; border-radius: 8px; background: #1f232b; color: #fff; display: flex; align-items: center; justify-content: center; }
  .famh-product-go svg { width: 14px; height: 14px; }
  #index .famh-bottom-link a { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #e4e5e9; background: #fff; padding: 14px; border-radius: 12px; color: #232831; font-weight: 800; font-size: 12px; }
  .famh-bottom-link a span { font-size: 19px; color: #d32430; }
}
@media screen and (max-width: 359px) {
  #index .fa-mobile-home .famh-shell { padding-left: 8px; padding-right: 8px; }
  #index .famh-hero h1 { font-size: 22px; }
  .famh-phone-art { right: -8px; opacity: .75; }
  .famh-hero-text { width: 80%; }
  .famh-product-grid { gap: 8px; }
}

/* France Access: mobile homepage visual compatibility patch 1.1.
 * All rules are homepage-mobile-scoped; native desktop and catalogue unaffected.
 */
@media screen and (max-width: 767px) {
  #index .fa-mobile-home .famh-shell { background: #f7f8fa !important; padding: 12px 12px 30px; }
  #index .fa-mobile-home .famh-kicker { margin: 2px 0 11px; font-size: 9px; }
  /* Theme-level header styles must never paint black bands behind our section titles. */
  #index .fa-mobile-home .famh-section-head,
  #index .fa-mobile-home .famh-section-head > div {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #20242c !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #index .fa-mobile-home .famh-section-head {
    display: flex !important;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    margin: 0 0 13px !important;
  }
  #index .fa-mobile-home .famh-section-head h2,
  #index .fa-mobile-home .famh-section-head h2 * {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    background: transparent !important;
    background-image: none !important;
    text-shadow: none !important;
    color: #171b24 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #171b24 !important;
  }
  #index .fa-mobile-home .famh-section-head h2 {
    display: block;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 21px !important;
    letter-spacing: -.02em !important;
    font-weight: 800 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #index .fa-mobile-home .famh-section-head::before,
  #index .fa-mobile-home .famh-section-head::after,
  #index .fa-mobile-home .famh-section-head h2::before,
  #index .fa-mobile-home .famh-section-head h2::after { content: none !important; display: none !important; }
  #index .fa-mobile-home .famh-section-eyebrow {
    color: #d52131 !important; background: transparent !important;
    font-size: 9px; letter-spacing: .14em; font-weight: 850;
  }
  #index .fa-mobile-home .famh-section-head .famh-title-spark { color: #dc2432 !important; -webkit-text-fill-color: #dc2432 !important; }
  #index .fa-mobile-home .famh-section-head .famh-more { color: #c72535 !important; align-self: flex-end; margin-bottom: 3px; background: transparent !important; }
  #index .fa-mobile-home .famh-section { margin: 0 0 25px; }
  #index .fa-mobile-home .famh-hero { min-height: 215px; padding: 20px 15px; }
  #index .fa-mobile-home .famh-hero-text { width: 68%; max-width: 215px; }
  #index .fa-mobile-home .famh-hero h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(23px, 6.1vw, 29px) !important;
    line-height: 1.16 !important;
    font-weight: 800 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-transform: none !important;
    text-shadow: none !important;
    letter-spacing: -.03em !important;
    margin: 0 0 9px !important;
  }
  #index .fa-mobile-home .famh-hero p { font-size: 11.5px; line-height: 1.45; }
  #index .fa-mobile-home .famh-phone-art { width: 99px; height: 177px; right: 11px; top: 22px; }
  #index .fa-mobile-home .famh-quicklinks { margin: 12px 0 20px; gap: 7px; }
  #index .fa-mobile-home .famh-quicklinks a { flex: 1 1 0; padding: 10px 5px; font-size: 11px; }
  #index .fa-mobile-home .famh-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
  #index .fa-mobile-home .famh-category { min-height: 96px; padding: 13px 7px 11px; gap: 9px; }
  #index .fa-mobile-home .famh-category-symbol { width: 37px; height: 37px; }
  #index .fa-mobile-home .famh-category-name { font-size: 11.5px; line-height: 1.2; font-weight: 700; }
  #index .fa-mobile-home .famh-product-name { font-size: 12px; line-height: 1.35; min-height: 32px; }
  #index .fa-mobile-home .famh-price { font-size: 14px; }
  #index .fa-mobile-home .famh-product-media { padding: 10px; }
  #index .fa-mobile-home .famh-product-grid { gap: 10px; }
}
@media screen and (max-width: 359px) {
  #index .fa-mobile-home .famh-hero-text { width: 73%; }
  #index .fa-mobile-home .famh-hero h1 { font-size: 22px !important; }
  #index .fa-mobile-home .famh-category-name { font-size: 11px; }
}


/* France Access 1.0.9 - Same product card as category, homepage/mobile only.
   Scoped to avoid changing desktop cards, Rubik widgets and category CSS. */
@media screen and (max-width:767px) {
 #index .fa-mobile-home .famh-product-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;}
 #index .fa-mobile-home .famh-product-grid .famh-home-card {position:relative!important;display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#000!important;border:0!important;border-radius:11px!important;box-shadow:0 4px 10px rgba(0,0,0,.13)!important;font-family:system-ui,-apple-system,Arial,sans-serif!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-media {position:relative!important;display:block!important;background:#fff!important;width:100%!important;aspect-ratio:1.13/1!important;min-height:0!important;overflow:hidden!important;flex-shrink:0!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-photo {position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;text-decoration:none!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-photo img {display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:4px!important;opacity:1!important;visibility:visible!important;transform:none!important;background:#fff!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-flags {position:absolute!important;top:6px!important;left:6px!important;z-index:2!important;margin:0!important;padding:0!important;pointer-events:none!important;display:flex!important;gap:4px!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-flag {display:block!important;background:#070707!important;color:#fff!important;border-radius:4px!important;padding:4px 5px!important;font:700 9px/1.1 system-ui,sans-serif!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-eye {position:absolute!important;right:5px!important;bottom:5px!important;z-index:2!important;width:30px!important;height:30px!important;border-radius:50%!important;background:rgba(247,249,252,.96)!important;color:#8da1b3!important;display:flex!important;align-items:center!important;justify-content:center!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-bottom {background:#000!important;color:#fff!important;display:flex!important;flex:1!important;flex-direction:column!important;padding:9px 7px 10px!important;gap:5px!important;min-width:0!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-name {color:#fff!important;font-size:11.2px!important;line-height:1.3!important;letter-spacing:-.01em!important;min-height:42px!important;max-height:42px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;margin:0!important;font-weight:750!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-name a {color:#fff!important;font:inherit!important;text-decoration:none!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-price-row {display:flex!important;min-height:20px!important;align-items:baseline!important;justify-content:center!important;gap:5px!important;margin:0 0 2px!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-price {font:800 12px/1.2 system-ui,sans-serif!important;color:#ff2250!important;white-space:nowrap!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-price-unavailable {font-size:10px!important;color:#e4e4e4!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-cart-form {display:flex!important;align-items:stretch!important;gap:4px!important;min-height:34px!important;margin:auto 0 0!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-qty {display:block!important;box-sizing:border-box!important;flex:0 0 37px!important;min-width:37px!important;max-width:37px!important;width:37px!important;min-height:34px!important;height:auto!important;padding:5px 2px!important;background:#fff!important;color:#111!important;border:1px dashed #e54660!important;border-radius:5px!important;text-align:center!important;font-size:12px!important;line-height:1.3!important;box-shadow:none!important;margin:0!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-buy, #index .fa-mobile-home .famh-home-card .fa-cat-details-link {display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 0!important;gap:3px!important;min-width:0!important;min-height:34px!important;padding:5px 4px!important;border:0!important;border-radius:5px!important;background:#30445e!important;color:white!important;text-decoration:none!important;font:700 9.8px/1.2 system-ui,sans-serif!important;cursor:pointer!important;white-space:normal!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-buy span {color:#fff!important;font:inherit!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-buy svg {display:block!important;flex:0 0 13px!important;width:13px!important;height:13px!important;}
 #index .fa-mobile-home .famh-home-card .fa-cat-buy[disabled] {opacity:.6!important;cursor:progress!important;}
}
@media screen and (max-width:359px) {
 #index .fa-mobile-home .famh-home-card .fa-cat-buy svg {display:none!important;}
 #index .fa-mobile-home .famh-product-grid {gap:8px!important;}
}
