/* v53 home refinement. Loaded last; IDs, provider controls and quote forms are retained. */
body.marketplace{--accent:#137bdf;--accent-dark:#0865bd;color:#192b3e;font-family:Arial,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif}
body.marketplace:lang(ja),[lang=ja]{font-family:"Hiragino Sans","Yu Gothic",Meiryo,sans-serif}
body.marketplace:lang(zh){font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}
.marketplace .container,.market-header .header-inner{max-width:1240px}
.market-header{box-shadow:none}
.market-header .header-inner{min-height:72px;padding:14px 32px;gap:18px}
.market-header .brand b{font-size:18px}.market-header .brand img{width:30px;height:34px}
.market-header .v52-topnav{display:flex;font-size:12px;gap:14px}.v52-topnav a{min-height:44px;display:inline-flex;align-items:center}
.market-header .languages{border:0;padding:0;gap:1px}.market-header .languages a{min-height:44px;display:inline-flex;align-items:center;padding:8px;font-size:12px}
.market-header .languages a[aria-current=page]{background:#edf5ff;color:#095fae;border-radius:8px}
.market-header .header-request{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;background:#137bdf;color:white;font-size:12px}
#browseView{padding:0 0 36px}
.v52-hero{display:block;min-height:0;margin:0;padding:30px 0 24px;border:0;background:white;border-radius:0;overflow:visible}
.v52-hero-copy{width:100%;max-width:none!important}.v52-eyebrow{font-size:10px;letter-spacing:.12em;color:#137bdf}
.v52-hero h1{font-size:clamp(25px,3vw,35px);line-height:1.25;letter-spacing:-.04em;margin:8px 0;color:#192b3e}
.v52-hero-copy>p{font-size:14px;line-height:1.5;max-width:none;color:#6c7a89}
.v52-hero-visual,.v52-search-button,.v52-detail-link{display:none}
.v52-hero-search{position:static;margin-top:20px;padding:0;border:0;box-shadow:none;background:none}
.v52-search-wrap{display:block}.v52-hero .search-box{height:56px;width:100%;margin:0!important;background:#f7faff;border:2px solid #137bdf;border-radius:12px}
.v52-hero .search-box input{font-size:16px!important;padding:14px 18px!important;height:100%}
.v52-hero .search-box button{display:flex;align-items:center;justify-content:center;width:54px;height:48px;padding:12px;margin-right:2px;border-radius:8px;background:#137bdf}
.v52-hero .search-box svg{stroke:white;width:23px;height:23px}
.mjf-how{padding:18px 20px;margin:0 0 22px;border:1px solid #e8edf3;border-radius:12px;background:#f8fafc;box-shadow:none}
.mjf-how-header{margin:0 0 14px;gap:12px;align-items:center;flex-direction:row}
.mjf-how-header h2{font-size:18px;max-width:none;color:#24394e}
.mjf-how-eyebrow,.mjf-how-header p,.mjf-how-art,.mjf-how-swipehint{display:none}
.mjf-how-action{background:transparent;color:#137bdf!important;padding:0 4px;min-height:32px;font-size:12px;margin-left:auto;white-space:nowrap}
.mjf-how-action:hover{background:transparent;color:#075aab!important}
.mjf-how-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:16px;padding:0;overflow:visible}
.mjf-how-step{border:0;background:none;box-shadow:none;border-radius:0;overflow:visible}
.mjf-how-copy{padding:0;min-height:0;display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:9px;align-items:center}
.mjf-how-num{grid-row:1/3;margin:0;width:28px;min-width:28px;height:28px;background:#e5f0ff;color:#116abd;font-size:11px}
.mjf-how-copy h3{font-size:13px;line-height:1.45;display:block}.mjf-how-copy p{grid-column:2;font-size:11px;line-height:1.5;margin:3px 0 0;color:#6d7b89;word-break:normal}
.checkout-policies{border:1px solid #e3e9f0;padding:12px 16px;border-radius:10px;margin:0 0 20px;font-size:13px}.checkout-policies>summary{cursor:pointer;font-weight:700;min-height:24px}
.checkout-policies .mjf-how-policies{margin-top:12px;border:0;padding:0;background:transparent}
.mjf-directory{margin:0 0 20px;padding:0;border:0;background:white;border-radius:0}
.mjf-directory-heading{grid-template-columns:1fr auto;margin:0 0 10px;align-items:center}
.mjf-directory-eyebrow,.mjf-directory-heading p{display:none}.mjf-directory-heading h2{grid-row:1;font-size:18px;margin:0;color:#24394e}
.mjf-directory-all{grid-row:1;grid-column:2;min-height:32px;display:flex;align-items:center;font-size:12px;margin:0}
.mjf-directory .mjf-directory-group-title{font-size:12px!important;color:#6d7b89!important;margin:10px 0 6px!important}
.mjf-directory .mjf-market-strip-inner,.mjf-directory .mjf-retail-grid{gap:8px!important;padding:3px 2px 7px!important;scroll-snap-type:x proximity}
.mjf-directory .shop-hub .mjf-market-strip-inner .store-tile{flex:1 0 90px!important;min-width:90px!important;max-width:none!important;height:98px!important;min-height:98px!important;padding:6px!important;border:1px solid #e8edf3!important;border-radius:10px!important;overflow:visible!important;position:relative}
.mjf-directory .shop-hub .store-links .store-link{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;height:84px!important;min-height:84px!important;background:none!important;box-shadow:none}
.mjf-directory .shop-hub .store-logo{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;border-radius:8px!important;margin:0!important}
.mjf-directory .shop-hub .store-logo img{top:5px!important;left:5px!important;width:34px!important;height:34px!important;object-fit:contain}
.mjf-directory .shop-hub .store-logo-direct{width:44px!important;height:44px!important;top:6px!important;left:calc(50% - 22px)!important}
.mjf-directory .shop-hub .store-names{display:flex;align-items:center;justify-content:center;min-height:38px;flex:0 0 38px!important;width:100%}
.mjf-directory .shop-hub .store-names b{white-space:normal!important;text-align:center;font-size:11px!important;line-height:1.25!important;max-width:100%;overflow-wrap:anywhere}
.mjf-directory .shop-hub .store-names small{display:none}.mjf-directory .shop-hub .store-action,.mjf-directory .shop-hub .store-external{display:none!important}
.mjf-directory .shop-hub .store-link[aria-pressed=true]{background:#eff6ff!important;border-radius:7px!important;box-shadow:0 0 0 2px #83b4ea}
.mjf-directory .mjf-retail .mjf-retail-grid>.mjf-retail-card{flex:1 0 106px!important;min-width:106px!important;max-width:none!important;height:82px!important;max-height:none!important;min-height:82px!important;padding:5px!important;border-color:#e8edf3!important;border-radius:10px!important}
.mjf-directory .mjf-retail .mjf-retail-brand-link{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:5px!important;width:100%!important;height:70px!important}
.mjf-directory .mjf-retail .mjf-retail-logo{top:1px!important;left:calc(50% - 17px)!important;transform:none!important;width:34px!important;height:34px!important;object-fit:contain!important}
.mjf-directory .mjf-retail .mjf-retail-symbol{flex:0 0 34px!important;width:34px!important;height:34px!important;min-height:34px}
.mjf-directory .mjf-retail .mjf-retail-brand-link h3{text-align:center;flex:0 0 auto!important;align-self:auto!important;font-size:11px!important;white-space:normal!important;line-height:1.25!important;max-width:100%}
.mjf-directory .mjf-directory-note{font-size:10px;color:#7a8795;margin:4px 0 0}
.v52-category-wrap{margin:12px 0 18px;border-top:1px solid #e8edf3}.v52-category-wrap .categories{gap:22px;padding:0;scrollbar-width:thin}
.v52-category-wrap .category-tab{font-size:13px;min-height:46px;padding:12px 0 8px}
.browse-heading{gap:12px;align-items:center}.browse-heading h2#resultsHeading{font-size:21px}.browse-heading>div>p{display:none}
.filters{gap:12px}.filters select{min-height:40px}.coverage-row{margin:8px 0}.coverage-row #searchCoverage{font-size:11px;max-width:760px}
.source-tabs{gap:6px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;scrollbar-width:thin}.source-tabs button{min-height:40px;white-space:nowrap;font-size:12px}
.mjf-advanced-tools{margin:6px 0 10px;border:0;background:#f8fafc;border-radius:8px;font-size:12px}.mjf-advanced-tools>summary{min-height:40px;padding:9px 12px}
.mjf-advanced-tools .catalog-notice{margin:0;padding:0 12px 12px}.connection-details{border:0;background:transparent}
#translationStatus{padding:8px 12px!important;margin:8px 0 12px;font-size:12px}
#finderResults.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px;margin-top:12px}
.product-card{border:0;padding:0;border-radius:0;display:flex;flex-direction:column;min-width:0}
.product-card .product-photo{border:1px solid #edf0f4;border-radius:12px;background:#f9fafb;aspect-ratio:1}
.product-card h3{font-size:13px!important;line-height:1.55;max-height:4.65em;margin-top:8px}
.product-card .provenance{position:static;align-self:flex-start;background:#f2f6fa;color:#637589;font-size:9px;padding:1px 5px;margin:0 0 6px;border-radius:4px}
.product-card .card-meta{font-size:10px;margin-top:5px}.product-card .card-stock,.product-card .card-time{font-size:9px;color:#7e8b97;margin:2px 0}.product-card .card-seller{font-size:10px;margin:2px 0}
.product-card .card-krw{font-size:12px;color:#637589;margin:5px 0}.product-card .card-source{font-size:11px;min-height:32px;padding:6px 0}.product-card .card-buy{min-height:40px;border-radius:8px;margin-top:auto}
.shopping-ideas{border-top:1px solid #e8edf3;margin:28px 0 0}.shopping-ideas>summary{font-size:16px;font-weight:700;cursor:pointer;padding:18px 0}.shopping-ideas #discovery,.shopping-ideas #shopping-stories{margin:10px 0 24px}
.contact-home-strip{margin:20px 0 0}.store-link:focus-visible,.mjf-retail-brand-link:focus-visible{outline-offset:2px}
@media(max-width:1100px){.market-header .header-inner{display:grid;grid-template-columns:1fr auto auto;gap:6px 12px}.v52-topnav{grid-row:2;grid-column:1/-1;margin:0;overflow-x:auto;gap:22px}.market-header .languages{grid-row:1;grid-column:3}.market-header .header-request{grid-row:1;grid-column:2}.market-header .brand{grid-row:1;grid-column:1}}
@media(max-width:800px){.marketplace .container{padding:0 18px}.market-header .header-inner{padding:10px 18px}.v52-hero{padding:24px 0 20px}.mjf-how{padding:16px}.mjf-how-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mjf-how-header h2{font-size:17px}.mjf-how-header{gap:8px}.mjf-how-copy h3{font-size:13px}.mjf-how-copy p{font-size:11px}#finderResults.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}.mjf-directory .shop-hub .mjf-market-strip-inner .store-tile{flex:0 0 90px!important}.mjf-directory .mjf-retail .mjf-retail-grid>.mjf-retail-card{flex:0 0 106px!important}.browse-heading{align-items:flex-start}.filters{width:auto}.coverage-row{flex-wrap:wrap;gap:4px}}
@media(max-width:560px){.market-header .header-inner{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px}.market-header .brand b{font-size:16px}.market-header .brand img{width:26px;height:30px}.market-header .brand{gap:6px}.market-header .languages{grid-column:2;font-size:11px}.market-header .languages a{padding:5px 7px;font-size:11px}.market-header .header-request{grid-row:2;grid-column:2;justify-self:end;padding:7px 10px;font-size:11px;min-height:36px}.v52-topnav{grid-row:2;grid-column:1;gap:18px;font-size:11px;min-width:0}.v52-topnav a{min-height:38px}.v52-hero h1{font-size:27px}.v52-hero-copy{width:100%!important}.v52-hero-copy>p{font-size:12px}.v52-hero-search{margin-top:16px}.v52-hero .search-box{height:54px}.v52-hero .search-box input{font-size:16px!important;padding:12px!important}.v52-hero .search-box button{height:46px;width:48px}.mjf-how-header{display:block}.mjf-how-action{display:none}.mjf-how{padding:16px 12px;margin-bottom:20px}.mjf-how-copy{column-gap:7px}.mjf-how-copy p{font-size:10px}.mjf-directory-heading{grid-template-columns:1fr auto;gap:6px}.mjf-directory-heading h2{font-size:17px}.mjf-directory-all{font-size:11px}.mjf-directory .mjf-directory-note{font-size:9px}.browse-heading{gap:8px}.browse-heading h2#resultsHeading{font-size:20px}.filters{width:100%;justify-content:space-between}.filters label{font-size:11px}.filters select{min-height:44px;font-size:14px}#finderResults.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.product-card h3{font-size:13px!important}.product-card .card-buy{min-height:44px;font-size:12px}.product-card .card-source{min-height:40px}.source-tabs button{min-height:44px}.v52-category-wrap .category-tab{min-height:44px}.marketplace input:not([type=checkbox]),.marketplace textarea,.marketplace select{font-size:16px}.checkout-policies .mjf-how-policies{grid-template-columns:1fr}.checkout-policies .mjf-how-note{grid-column:1}.checkout-policies .mjf-how-policy strong,.checkout-policies .mjf-how-policy small{font-size:12px}}
@media(max-width:360px){.market-header .header-inner,.marketplace .container{padding-left:12px;padding-right:12px}.market-header .brand b{font-size:14px}.market-header .languages a{padding:5px}.v52-hero h1{font-size:25px}.mjf-how-copy h3{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* Keep both filters inside narrow phone viewports. */
@media(max-width:560px){.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filters label{min-width:0}.filters select{width:100%;min-width:0;max-width:100%}}
/* One continuous, manually scrollable shop rail; no moving targets/autoplay. */
.mjf-directory{margin-top:16px;margin-bottom:0}
.mjf-directory-heading{display:flex;gap:12px}.mjf-directory-heading h2{font-size:15px}.mjf-directory-all{margin-left:auto}
.shop-rail-controls{display:flex;gap:6px}.shop-rail-controls button{width:40px;min-height:40px;border:1px solid #dce5ef;border-radius:8px;background:white;color:#137bdf;cursor:pointer}
.mjf-directory .mjf-market-strip-inner{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin;max-width:100%;overscroll-behavior-x:contain}
.mjf-directory .mjf-market-strip-inner .finder-links,.mjf-directory .mjf-market-strip-inner .mjf-retail-grid{display:contents!important}
.mjf-directory .shop-hub .mjf-market-strip-inner .store-tile{flex:0 0 90px!important}
.mjf-directory .mjf-market-strip-inner .mjf-retail-card{flex:0 0 106px!important;min-width:106px!important;height:98px!important;border:1px solid #e8edf3;border-radius:10px;padding:6px;position:relative}
.mjf-directory .mjf-market-strip-inner .mjf-retail-brand-link{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:84px;text-decoration:none}
.mjf-directory .mjf-market-strip-inner .mjf-retail-logo{position:static!important;transform:none!important;width:34px!important;height:34px!important;object-fit:contain}
.mjf-directory .mjf-market-strip-inner .mjf-retail-symbol{display:none!important}
.mjf-directory .mjf-market-strip-inner h3{font-size:11px;text-align:center;margin:0}
.mjf-directory-group-title,#official-stores{display:none}.mjf-directory-note{margin-bottom:0!important}
.v52-hero{padding-top:20px;padding-bottom:12px}.v52-hero h1{font-size:23px}.v52-hero-copy>p,.v52-eyebrow{display:none}.v52-hero-search{margin-top:12px}
.mjf-how{margin-top:28px}.payment-total{margin-top:0;border-top:0}.payment-steps{font-size:12px;line-height:1.6;color:#596e83;background:#eff6ff;padding:12px;border-radius:8px}
.bundle-request{margin-top:18px;padding:12px;border:1px solid #dce5ef;border-radius:10px}.bundle-request summary{cursor:pointer;font-weight:700}.bundle-request label{display:block;margin:12px 0 6px}.bundle-request textarea{width:100%;box-sizing:border-box}.bundle-request p{font-size:12px;line-height:1.6;color:#596e83}
@media(max-width:560px){.mjf-directory-heading h2{font-size:14px}.mjf-directory-all{font-size:10px}.shop-rail-controls button{width:36px;min-height:44px}.mjf-directory-heading{gap:6px}.v52-hero h1{font-size:21px}}
/* Restore the familiar illustrated guide, keeping products ahead of the guide. */
.mjf-how .mjf-how-step{border:1px solid #e2ebf1;border-radius:14px;background:#fff;overflow:hidden}
.mjf-how .mjf-how-art{display:flex;height:150px;align-items:center;justify-content:center}
.mjf-how .mjf-how-art img{display:block;width:100%;max-width:246px;height:150px;object-fit:contain}
.mjf-how .mjf-how-copy{padding:14px 12px;min-height:74px}.mjf-how .mjf-how-copy p{font-size:12px}
.link-only-help{display:flex;gap:16px;align-items:flex-start;margin:0 0 20px;padding:18px;background:#eff6ff;border:1px solid #cbdff4;border-radius:14px}
.link-only-help[hidden]{display:none}.link-only-help>img{width:100px;height:auto;border-radius:12px}.link-only-help>div{min-width:0}.link-only-help h3{margin:0 0 8px;font-size:18px}.link-only-help p{font-size:14px;line-height:1.7;margin:0 0 10px}.link-only-url{display:block;overflow-wrap:anywhere;font-size:12px;margin-bottom:12px}.link-only-help button{display:block;min-height:44px;border:0;border-radius:9px;background:#137bdf;color:white;padding:10px 16px;cursor:pointer;font-weight:700}.link-only-help small{display:block;font-size:11px;color:#52677a;margin-top:8px}
@media(max-width:560px){.mjf-how .mjf-how-art,.mjf-how .mjf-how-art img{height:115px}.mjf-how .mjf-how-copy{padding:12px 8px}.mjf-how .mjf-how-copy p{font-size:11px}.link-only-help{padding:14px;gap:10px;flex-direction:column}.link-only-help>img{width:80px}.link-only-help h3{font-size:16px}}

/* v542: provisional single-item package guide + email receipt states */
.mjf-single-ship-guide{padding:12px 14px;margin:12px 0 14px;border:1px solid #c8d9e9;border-radius:9px;background:#f0f6fc;color:#29465f;font-size:13px;line-height:1.6}
.mjf-pack-guidance{line-height:1.55;color:#4b6178}
.success-copy-status{font-size:14px;color:#235176;margin:10px auto 0;max-width:560px;line-height:1.7}
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

/* v54.3: accessible fallback for listing links that cannot be looked up. */
.mjf-listing-helper{margin-top:1rem;display:grid;gap:.85rem}.mjf-listing-helper details,.mjf-listing-upload{border:1px solid #dbe4ed;border-radius:10px;padding:12px 14px;background:#f8fafc}.mjf-listing-helper summary{cursor:pointer;font-weight:650}.mjf-listing-helper p,.mjf-listing-helper small{font-size:.81rem;color:#586878;line-height:1.55}.mjf-listing-helper textarea{width:100%;min-height:80px;margin:.6rem 0;border:1px solid #cfd7e0;border-radius:6px;padding:.6rem;font:inherit;resize:vertical}.mjf-listing-upload label{display:block;font-weight:650;margin-bottom:.45rem}.mjf-listing-upload input{display:block;max-width:100%;margin:.4rem 0}.mjf-listing-helper button{margin-top:.15rem}.mjf-listing-helper [role=status]:empty{display:none}

/* Keep link-only fallback compact; do not replace the actual item area with an oversized illustration. */
.link-only-help{display:block;padding:12px 16px;background:#f5f9ff}.link-only-help>img{display:none}.link-only-help h3{font-size:15px;margin-bottom:5px}.link-only-help p{font-size:13px;line-height:1.55;margin-bottom:5px}.link-only-help .link-only-url{margin-bottom:8px}.link-help-actions{display:flex;gap:8px;flex-wrap:wrap}.link-help-actions button{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;font-size:12px}.link-help-actions button:first-child{background:#216bdf}.link-help-actions button:last-child{background:transparent;color:#216bdf;border:1px solid #aac4e8}

/* v54.6: EMS reference highlighted; customs paid by customer and excluded from checkout */
.cost-panel .mjf-shipping-mini{color:#b42318!important;font-weight:800!important}
.cost-panel .mjf-shipping-alert{margin:13px 0 12px;padding:13px 14px;background:#fff4f3;border:1px solid #f5b8b1;border-left:4px solid #c62f2a;border-radius:9px;color:#a92d25;font-size:12px;line-height:1.7}
.cost-panel .mjf-shipping-alert strong{display:block;color:#aa251e;font-size:13px;font-weight:900;margin-bottom:2px}
.cost-panel .mjf-shipping-alert span{display:block}
.cost-panel .mjf-customs-reference{margin-top:22px;padding:16px 15px;background:#f8fafc;border:1px solid #dfe5ed;border-radius:10px}
.cost-panel .mjf-customs-reference .tax-line{margin-top:0;align-items:flex-start;gap:16px}
.cost-panel .mjf-customs-reference .tax-line>span{display:block;flex:1;min-width:0}
.cost-panel .mjf-tax-title{display:block;text-align:left;font-size:13px;font-weight:850;color:#334155}
.cost-panel .mjf-tax-who{display:block;margin-top:6px;color:#516175;font-size:11px;line-height:1.65}
.cost-panel .mjf-customs-reference #taxDisplay{flex:none;text-align:right;color:#334155}
.cost-panel .mjf-customs-reference .fine-print{color:#627083;line-height:1.7}
.cost-panel .mjf-customs-reference .tax-details{margin-top:11px}
.cost-panel .mjf-customs-reference .tax-details summary{color:#315d92;cursor:pointer}
@media(max-width:480px){.cost-panel .mjf-customs-reference .tax-line{flex-direction:column;gap:7px}.cost-panel .mjf-customs-reference #taxDisplay{text-align:left}}

/* v54.7 — consistent compact Japanese store cards and category rail. */
.mjf-directory .mjf-store-filters{display:flex;gap:6px;align-items:center;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:1px 1px 9px;margin:0 0 4px;scrollbar-width:thin}
.mjf-directory .mjf-store-filters button{font-family:Meiryo,'Yu Gothic',Arial,sans-serif;white-space:nowrap;flex:0 0 auto;border:1px solid #d9e2ef;background:#fff;border-radius:999px;padding:5px 11px;min-height:32px;color:#415569;font-size:11px;font-weight:700}
.mjf-directory .mjf-store-filters button[aria-pressed=true]{color:#125fc9;background:#eef5ff;border-color:#9bbfee}
.mjf-directory .mjf-market-strip-inner{display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:7px!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:3px 2px 12px!important}
.mjf-directory .mjf-market-strip-inner .finder-links,.mjf-directory .mjf-market-strip-inner .mjf-retail-grid{display:contents!important}
.mjf-directory .mjf-market-strip-inner .store-tile,
.mjf-directory .mjf-market-strip-inner .mjf-retail-card{box-sizing:border-box!important;flex:0 0 108px!important;width:108px!important;min-width:108px!important;max-width:108px!important;height:102px!important;min-height:102px!important;max-height:102px!important;padding:5px!important;margin:0!important;border:1px solid #e3eaf1!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;align-self:flex-start!important;scroll-snap-align:start}
.mjf-directory .mjf-market-strip-inner .store-tile[hidden],
.mjf-directory .mjf-market-strip-inner .mjf-retail-card[hidden]{display:none!important}
.mjf-directory .mjf-market-strip-inner .store-link{width:100%!important;height:90px!important;min-height:90px!important;max-height:90px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;padding:0!important;margin:0!important;gap:3px!important}
.mjf-directory .mjf-market-strip-inner .store-logo{width:37px!important;height:37px!important;min-width:37px!important;min-height:37px!important;flex:0 0 37px!important;margin:0 0 2px!important}
.mjf-directory .mjf-market-strip-inner .store-logo img{width:29px!important;height:29px!important;top:4px!important;left:4px!important}
.mjf-directory .mjf-market-strip-inner .store-logo-direct{width:37px!important;height:37px!important;left:calc(50% - 18.5px)!important;top:5px!important}
.mjf-directory .mjf-market-strip-inner .store-names{width:100%!important;height:40px!important;min-height:40px!important;max-height:40px!important;flex:0 0 40px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.mjf-directory .mjf-market-strip-inner .store-names b{font-size:11px!important;line-height:1.25!important;max-height:2.5em!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:keep-all!important;text-align:center!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mjf-directory .mjf-market-strip-inner .mjf-retail-brand-link{width:100%!important;height:90px!important;max-height:90px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:1px 2px!important;text-decoration:none!important}
.mjf-directory .mjf-market-strip-inner .mjf-brand-icon{position:relative;flex:0 0 36px;width:36px;height:36px;border:1px solid #edf0f5;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#fafbfc;overflow:hidden}
.mjf-directory .mjf-market-strip-inner .mjf-brand-icon img{position:absolute;z-index:1;inset:2px;width:30px;height:30px;object-fit:contain;background:#fafbfc}
.mjf-directory .mjf-market-strip-inner .mjf-brand-fallback{font-size:12px;font-weight:850;color:#3e5978;line-height:1;letter-spacing:-.04em}
.mjf-directory .mjf-market-strip-inner .mjf-retail-brand-link h3{width:100%!important;min-width:0!important;max-width:100%!important;max-height:2.5em!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;overflow-wrap:normal!important;word-break:keep-all!important;white-space:normal!important;font-size:11px!important;line-height:1.25!important;text-align:center!important;margin:0!important;flex:none!important;font-weight:800!important}
.mjf-directory .mjf-market-strip-inner .mjf-store-kind{display:block;max-width:100%;font-size:9px;line-height:1.1;color:#7b8999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mjf-directory .mjf-retail .mjf-retail-grid>.mjf-retail-card{max-height:102px!important;min-height:102px!important;height:102px!important}
.mjf-directory .shop-hub{padding-bottom:0!important;margin-bottom:0!important}
.mjf-directory .mjf-directory-note{margin-top:1px!important;line-height:1.5}
@media(max-width:560px){.mjf-directory .mjf-market-strip-inner .store-tile,.mjf-directory .mjf-market-strip-inner .mjf-retail-card{flex-basis:100px!important;min-width:100px!important;max-width:100px!important;width:100px!important}.mjf-directory .mjf-store-filters button{font-size:11px;padding:5px 9px;min-height:34px}}

/* v54.8: unified centered official-brand cards; reset legacy v52.7 grid layout on main rail ONLY. */
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid > .mjf-retail-card{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  align-content:center!important;gap:0!important;grid-template-columns:none!important;grid-template-rows:none!important;
  height:102px!important;min-height:102px!important;max-height:102px!important;
  width:108px!important;min-width:108px!important;max-width:108px!important;flex:0 0 108px!important;
  padding:5px 5px 6px!important;box-sizing:border-box!important;text-align:center!important;
  border-color:#e0e7f0!important;border-radius:10px!important;overflow:hidden!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid > .mjf-retail-card > .mjf-retail-brand-link{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  align-self:center!important;justify-self:center!important;flex:0 0 auto!important;gap:3px!important;
  grid-column:auto!important;grid-row:auto!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:90px!important;min-height:90px!important;max-height:90px!important;
  padding:0 2px!important;margin:0!important;border:0!important;border-radius:6px!important;
  background:transparent!important;overflow:hidden!important;text-align:center!important;
  font-family:Meiryo,'Yu Gothic',Arial,sans-serif;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid > .mjf-retail-card .mjf-brand-icon{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;
  border:1px solid color-mix(in srgb,var(--mjf-brand-color,#334155) 15%,#dce5ed)!important;
  border-radius:9px!important;background:color-mix(in srgb,var(--mjf-brand-color,#334155) 7%,white)!important;
  color:var(--mjf-brand-color,#334155)!important;margin:0 auto 1px!important;overflow:hidden!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid .mjf-brand-icon img{
  width:30px!important;height:30px!important;inset:2px!important;max-width:30px!important;
  object-fit:contain!important;background:transparent!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid .mjf-brand-fallback{
  display:inline-block!important;font-size:12px!important;font-weight:900!important;line-height:1!important;
  letter-spacing:-.045em!important;color:var(--mjf-brand-color,#334155)!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid .mjf-retail-card[data-mjf-mark="text"] .mjf-brand-icon img{
  display:none!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid .mjf-retail-card > .mjf-retail-brand-link > h3{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  position:static!important;grid-column:auto!important;grid-row:auto!important;align-self:center!important;
  width:100%!important;max-width:100%!important;max-height:2.55em!important;min-height:0!important;flex:none!important;
  overflow:hidden!important;overflow-wrap:normal!important;word-break:keep-all!important;
  text-align:center!important;font-size:11px!important;font-weight:850!important;line-height:1.27!important;
  color:var(--mjf-brand-color,#263b55)!important;margin:0!important;padding:0 1px!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid .mjf-retail-card > .mjf-retail-brand-link > .mjf-store-kind{
  display:block!important;position:static!important;grid-column:auto!important;grid-row:auto!important;
  flex:none!important;align-self:center!important;width:100%!important;max-width:100%!important;
  height:11px!important;min-height:11px!important;margin:0!important;padding:0!important;
  overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  color:#64748b!important;text-align:center!important;font-size:9px!important;line-height:11px!important;
}
.mjf-directory .mjf-market-strip-inner .mjf-retail-grid > .mjf-retail-card:hover{
  border-color:var(--mjf-brand-color,#8aa2be)!important;
  background:color-mix(in srgb,var(--mjf-brand-color,#334155) 3%,white)!important;
}
@media(max-width:560px){
 .mjf-directory .mjf-market-strip-inner .mjf-retail-grid > .mjf-retail-card{
   flex:0 0 100px!important;width:100px!important;min-width:100px!important;max-width:100px!important;
 }
}

/* v54.9 in-store request field layout */
.visit-request-note .mjf-visit-fields{background:#fff;border:1px solid #ead4c6;border-radius:10px;padding:13px;margin:12px 0;min-width:0}.visit-request-note .mjf-visit-fields legend{font-size:13px;font-weight:800;color:#885140;padding:0 6px}.visit-request-note .mjf-visit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.visit-request-note .mjf-visit-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#4a5b69;min-width:0}.visit-request-note .mjf-visit-grid label.mjf-wide-field{grid-column:1/-1}.visit-request-note .mjf-visit-grid input,.visit-request-note .mjf-visit-grid select{padding:10px;font-size:13px;width:100%;background:#fff;border-radius:7px}.visit-request-note .mjf-visit-warning{color:#a24438;background:#fff6f2;border-left:3px solid #de715b;padding:10px 12px;border-radius:5px;font-size:12px}.visit-request-note .mjf-visit-prices{font-weight:750;color:#825342;font-size:12px}.visit-request-note .consent{margin:11px 0}.visit-request-note .consent span{line-height:1.65}@media(max-width:540px){.visit-request-note .mjf-visit-grid{grid-template-columns:1fr}}

/* v54.10: prevent asynchronous shop cards and bfcache from shifting the initial rail position. */
.mjf-directory .mjf-market-strip-inner{overflow-anchor:none!important;scroll-padding-inline-start:0!important}
