/* LuxFind TOP editorial — from mock v3 (design source of truth) */

:root{--bg:#f4f2ee;--ink:#151515;--muted:#5f5b56;--line:#d8d4cd}
*{box-sizing:border-box}
body.page-top{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;padding-top:0}

.top{position:fixed;top:0;left:0;right:0;z-index:100;height:68px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;color:#fff;transition:all .4s ease;background:transparent}
.top.scrolled{background:rgba(255,255,255,.95);backdrop-filter:blur(20px);color:var(--ink);box-shadow:0 1px 0 rgba(0,0,0,.05)}
.top.scrolled .logo{font-size:24px}
.logo{position:absolute;left:50%;transform:translateX(-50%);font-size:28px;font-weight:700;letter-spacing:-.05em;transition:font-size .4s ease}
.tools{text-align:right;font-size:11px;display:flex;align-items:center;gap:18px}

/* Left Navigation (mock .top shell only — do not override .site-header .nav-left) */
.top .nav-left{display:flex;gap:24px;align-items:center}
.nav-link{font-size:11px;letter-spacing:.12em;text-decoration:none;color:rgba(255,255,255,.6);position:relative;padding-bottom:5px;transition:color .3s}
.nav-link:hover{color:#fff}
.nav-link.active{color:#fff}
.nav-link.active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:#fff}
.top.scrolled .nav-link{color:var(--muted,#6a6560)}
.top.scrolled .nav-link:hover{color:var(--ink)}
.top.scrolled .nav-link.active{color:var(--ink)}
.top.scrolled .nav-link.active::after{background:var(--ink)}

/* Search Input */
.search-input{position:relative;width:190px;height:38px;display:flex;align-items:center;padding:0 12px;border-radius:2px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);transition:all .3s}
.search-icon{flex-shrink:0;margin-right:8px;color:#fff}
.search-input input{flex:1;border:none;background:none;outline:none;font-size:12px;color:#fff;min-width:0}
.search-input input::placeholder{color:rgba(255,255,255,.6)}
.top.scrolled .search-input{border-color:#ddd;background:#f7f7f7}
.top.scrolled .search-icon{color:var(--ink)}
.top.scrolled .search-input input{color:var(--ink)}
.top.scrolled .search-input input::placeholder{color:var(--muted)}

/* Icon Links */
.icon-link{cursor:pointer;transition:opacity .3s;color:#fff;display:flex;align-items:center}
.icon-link:hover{opacity:.7}
.icon-link svg{stroke:currentColor}
.top.scrolled .icon-link{color:var(--ink)}

.hero{min-height:100vh;padding:8vw 6vw 10vw;display:flex;align-items:center;color:#fff;position:relative;overflow:hidden;margin:0}
.hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,#222,#70645f 60%,#b5a49a);z-index:0}
.hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.45),rgba(0,0,0,.15));z-index:1}
.hero-content{position:relative;z-index:2;max-width:900px}
.hero .eyebrow{font-size:11px;letter-spacing:.28em;text-transform:uppercase;margin-bottom:24px;color:rgba(255,255,255,.9)}
.hero h1{font-size:clamp(72px,11vw,140px);line-height:.82;margin:0 0 40px;letter-spacing:-.08em;font-weight:400}
.hero p{max-width:520px;line-height:1.9;font-size:15px;color:rgba(255,255,255,.85);margin-bottom:32px}
.hero .cta{display:inline-block;padding:16px 32px;background:#fff;color:var(--ink);font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;text-decoration:none;transition:all .3s}
.hero .cta:hover{background:var(--ink);color:#fff}


.eyebrow{font-size:10px;letter-spacing:.24em;text-transform:uppercase;margin-bottom:18px}

.section{padding:80px 6vw}
.head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}
.head h2{font-size:clamp(32px,4vw,56px);margin:0;letter-spacing:-.05em;font-weight:500}
.note{max-width:360px;font-size:12px;line-height:1.7;color:var(--muted)}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card .img{aspect-ratio:4/5;background:linear-gradient(145deg,#ddd5cd,#8b817b);position:relative;background-size:cover;background-position:center}
.card .editorial-card-save{position:absolute;top:12px;right:12px;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;color:var(--ink);cursor:pointer;filter:drop-shadow(0 0 2px rgba(255,255,255,.9))}
.card .editorial-card-save .lf-icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.card .editorial-card-save .lf-icon path{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.card .editorial-card-save.is-saved{background:transparent;color:var(--ink)}
.card .editorial-card-save.is-saved .lf-icon path{fill:currentColor}
.card:nth-child(2) .img{background:linear-gradient(145deg,#d7d0c8,#71625b)}
.card:nth-child(3) .img{background:linear-gradient(145deg,#e7e1d8,#9a8c83)}
.card:nth-child(4) .img{background:linear-gradient(145deg,#c9c4be,#676664)}
.card:nth-child(5) .img{background:linear-gradient(145deg,#dfd8d0,#8c827c)}
.card:nth-child(6) .img{background:linear-gradient(145deg,#d5cfc7,#6d5e57)}
.card:nth-child(7) .img{background:linear-gradient(145deg,#e5dfd6,#988b82)}
.card:nth-child(8) .img{background:linear-gradient(145deg,#c7c2bc,#656462)}
.brand{font-size:var(--lf-product-brand-size,13px);font-weight:var(--lf-product-brand-weight,700);margin-top:var(--lf-product-brand-margin-top,12px);color:var(--lf-ink,#151515)}
.name{font-size:var(--lf-product-name-size,12px);line-height:var(--lf-product-name-line,1.45);color:var(--muted);margin-top:var(--lf-product-name-margin-top,4px);min-height:var(--lf-product-name-min-height,34px);font-weight:400}
.price{font-size:var(--lf-product-price-size,13px);margin-top:var(--lf-product-price-margin-top,6px);color:var(--lf-ink,#151515);font-weight:400}

/* Horizontal scroll */
.scroll-wrapper{position:relative}
.scroll{display:flex;gap:18px;overflow-x:auto;padding-bottom:20px;scrollbar-width:none;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.scroll::-webkit-scrollbar{display:none}
.scroll .card{flex:0 0 calc(25% - 14px);min-width:200px}
.scroll-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;opacity:0;transition:opacity .3s}
.scroll-wrapper:hover .scroll-nav{opacity:1}
.scroll-nav.prev{left:-22px}
.scroll-nav.next{right:-22px}
.scroll-nav:hover{background:var(--bg)}
.scroll-nav svg{width:16px;height:16px}

.featured{display:grid;grid-template-columns:1.1fr 0.9fr;margin-bottom:60px;position:relative;align-items:stretch}
.featured-brand{font-size:clamp(48px,6vw,72px);margin:0 0 28px;letter-spacing:-.06em;font-weight:400;line-height:1}
.featured-img{display:block;width:100%;padding:0;border:0;background:linear-gradient(145deg,#70645f,#b5a49a);position:relative;overflow:hidden;min-height:520px;cursor:pointer;font:inherit;color:inherit;text-align:left}
.featured-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.featured-img:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.featured-copy{display:flex;flex-direction:column;justify-content:flex-start;padding:48px 64px 64px;background:var(--bg)}
.featured-body{max-width:28em}
.featured-body p{margin:0;line-height:1.85;font-size:var(--lf-editorial-body-size,16px);color:var(--muted)}
.featured-body p + p{margin-top:18px}
.featured-closing{max-width:28em;margin:28px 0 0;line-height:1.75;font-size:15px;font-weight:500;letter-spacing:.02em;color:var(--ink)}
.featured-closing:empty{display:none}
.featured-actions{display:flex;flex-direction:column;align-items:flex-start;margin-top:32px}
.featured-link{margin:0;padding:12px 0;border:0;background:none;font:inherit;font-size:13px;color:var(--ink);font-weight:600;display:flex;align-items:center;gap:10px;text-decoration:none;cursor:pointer;min-height:44px}
.featured-link:hover{gap:16px;transition:gap .3s}
.featured-link svg{width:18px;height:18px}

/* Brands section */
.brands-section{padding:80px 6vw;background:var(--bg)}
.brands-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}
.brands-head h2{font-size:clamp(32px,4vw,56px);margin:0;letter-spacing:-.05em;font-weight:500}

/* Explore Brands */
.explore{padding:0 0 0 0;background:var(--bg)}
.explore-head{margin-bottom:32px}
.explore-head h3{font-size:clamp(24px,3vw,36px);margin:0;letter-spacing:-.04em;font-weight:500}
.brand-card{flex:0 0 calc(25% - 14px);min-width:240px;text-align:center;position:relative;background:#fff;padding:20px;transition:transform .3s,box-shadow .3s}
.brand-card:hover{transform:translateY(-8px);box-shadow:0 12px 30px rgba(0,0,0,.08)}
.brand-card .img{aspect-ratio:3/4;background:linear-gradient(145deg,#ddd5cd,#8b817b);position:relative;margin-bottom:20px;background-size:cover;background-position:center;border-radius:4px;overflow:hidden}
.brand-card:nth-child(2) .img{background:linear-gradient(145deg,#d7d0c8,#71625b)}
.brand-card:nth-child(3) .img{background:linear-gradient(145deg,#e7e1d8,#9a8c83)}
.brand-card:nth-child(4) .img{background:linear-gradient(145deg,#c9c4be,#676664)}
.brand-card:nth-child(5) .img{background:linear-gradient(145deg,#dfd8d0,#8c827c)}
.brand-card:nth-child(6) .img{background:linear-gradient(145deg,#d5cfc7,#6d5e57)}
.brand-card:nth-child(7) .img{background:linear-gradient(145deg,#e5dfd6,#988b82)}
.brand-card:nth-child(8) .img{background:linear-gradient(145deg,#c7c2bc,#656462)}
.brand-card .brand-name{font-size:16px;font-weight:700;letter-spacing:-.02em;color:var(--ink);margin-top:8px}
.brand-card .brand-card-note{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0;padding:0;border:0;background:none;text-align:center}
button.brand-card{display:block;width:100%;border:0;cursor:pointer;font:inherit;color:inherit;text-align:center}

/* Browse */
.browse{padding:82px 6vw;background:#fff}
.bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
.bar-left h2{font-size:clamp(32px,4vw,56px);margin:0;letter-spacing:-.05em;font-weight:500}
.count{font-size:13px;color:var(--muted);margin-left:12px}
.actions{display:flex;gap:12px;position:relative}
.btn{padding:10px 20px;border:1px solid var(--line);background:#fff;font-size:12px;cursor:pointer;transition:all .2s}
.btn:hover{background:var(--bg)}
.sort-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.08);display:flex;flex-direction:column;z-index:30}
.sort-menu[hidden]{display:none}
.sort-option{padding:12px 16px;background:#fff;border:0;font-size:12px;text-align:left;cursor:pointer;transition:background .2s}
.sort-option:hover{background:var(--bg)}
.sort-option.active{font-weight:600}
.active-filter{display:none;padding:12px 16px;background:var(--bg);margin-bottom:24px;font-size:13px;align-items:center;gap:8px}
.active-filter.show{display:flex}
.active-filter button{font-size:11px;padding:6px 12px}

.grid.all{grid-template-columns:repeat(4,1fr)}
.load-more{text-align:center;margin-top:48px}
.load-more button{padding:16px 48px;background:var(--ink);color:#fff;border:none;font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}

.about{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:100px 6vw;background:var(--bg)}
.about h2{font-size:clamp(42px,6vw,72px);margin:0;letter-spacing:-.07em;font-weight:500}
.about-copy{max-width:420px}
.about p{line-height:1.8;font-size:14px;color:var(--muted);margin:0}
.about p + p{margin-top:14px}

.footer{padding:28px 6vw 24px;color:var(--muted);border-top:1px solid var(--line);background:var(--bg)}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 22px;width:100%}
.footer-group{display:contents}
.footer-title{display:none}
.footer-link{font-size:10px;line-height:1.45;letter-spacing:.04em;color:var(--muted);text-decoration:none;transition:color .2s;white-space:nowrap}
.footer-link:hover{color:var(--ink)}
.footer-bottom{width:max-content;max-width:100%;margin:18px auto 0;padding-top:0;border-top:0;font-size:10px;text-align:center}

/* Drawer */
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:10;opacity:0;visibility:hidden;transition:all .3s}
body.page-top.open .backdrop{opacity:1;visibility:visible}
.drawer{position:fixed;top:68px;right:0;width:380px;height:calc(100vh - 68px);background:#fff;z-index:11;transform:translateX(100%);transition:transform .3s;padding:32px;overflow-y:auto}
body.page-top.open .drawer{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
.drawer-head h3{font-size:18px;margin:0;font-weight:500}
.group{margin-bottom:28px}
.label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:8px 16px;border:1px solid var(--line);background:#fff;font-size:12px;cursor:pointer}
.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.drawer-footer{display:flex;flex-direction:column;gap:12px;margin-top:32px}
.drawer-footer .clear-btn{width:100%;padding:16px;background:#fff;border:1px solid var(--line);font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;height:48px}
.drawer-footer .apply{width:100%;padding:16px;background:var(--ink);color:#fff;border:none;font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;height:48px}

/* Count Bottom Display */
.count-bottom{text-align:center;padding:20px 0 40px;color:var(--muted);font-size:13px}

@media(max-width:800px){
  .top{height:58px;padding:0 16px}
  .top .nav-left{gap:14px}
  .nav-link{font-size:10px}
  .logo{font-size:22px}
  .search-input{width:auto;height:36px;padding:0 8px}
  .search-input input{display:none}
  .search-icon{margin-right:0}
  .icon-link:nth-child(2){display:none}
  .icon-link svg{width:18px;height:18px}
  .hero{min-height:85vh;padding:80px 20px 60px;align-items:flex-end}
  .hero h1{font-size:clamp(48px,10vw,72px)}
  .section{padding:60px 18px}
  .head{align-items:start;flex-direction:column}
  .grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .scroll .card{flex:0 0 calc(50% - 9px);min-width:140px}
  .brand-card{flex:0 0 calc(50% - 9px);min-width:150px;padding:16px}
  .brand-card .img{aspect-ratio:3/4;margin-bottom:16px}
  .brand-card .brand-name{font-size:14px}
  .scroll-nav{display:none}
  .brands-section{padding:60px 18px}
  .brands-head{align-items:start;flex-direction:column;margin-bottom:28px}
  .featured{grid-template-columns:1fr;padding:0 0 60px;margin:0}
  .featured-img{min-height:360px}
  .featured-copy{padding:32px 20px 40px}
  .featured-brand{font-size:clamp(32px,8vw,44px);margin-bottom:24px}
  .featured-body p{font-size:15px;line-height:1.8}
  .featured-body p + p{margin-top:16px}
  .featured-closing{font-size:14px;margin-top:24px}
  .featured-actions{margin-top:28px}
  .explore-head h3{font-size:clamp(20px,4vw,28px)}
  .browse{padding:0 18px 60px}
  .grid.all{grid-template-columns:repeat(2,1fr)}
  .bar{flex-direction:column;align-items:start;gap:16px}
  .actions{gap:14px;width:100%}
  .actions .btn{flex:1}
  .about{padding:60px 20px;grid-template-columns:1fr;gap:35px}
  .footer{padding:36px 18px 10px}
  .footer-links{gap:10px 16px}
  
  /* Mobile/ Tablet Drawer */
  .drawer{width:100%;top:58px;height:calc(100vh - 58px);padding:0;padding-bottom:calc(env(safe-area-inset-bottom) + 120px)}
  .drawer-head{position:sticky;top:0;padding:0 16px;background:#fff;border-bottom:1px solid var(--line);z-index:12;margin-bottom:0;display:flex;align-items:center;justify-content:space-between;height:56px}
  .drawer-head h3{font-size:16px}
  .close{font-size:32px;min-width:44px;min-height:44px;color:var(--ink);cursor:pointer}
  .drawer-content{height:auto;overflow-y:auto;padding:24px 16px;-webkit-overflow-scrolling:touch}
  .drawer-footer{position:absolute;bottom:0;left:0;right:0;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);z-index:12}
  .drawer-footer .clear-btn{height:48px}
  .drawer-footer .apply{height:48px}
  .group{margin-bottom:24px}
  body.page-top.open{overflow:hidden}
}

/* —— Bridge: shared header/footer → mock .top / .footer —— */
body.page-top.has-site-header{padding-top:0;background:#fff;font-family:Arial,Helvetica,sans-serif;color:var(--ink)}
body.page-top .site-header-sticky{
  position:fixed;top:0;left:0;right:0;z-index:100;height:68px;padding:0;margin:0;max-width:none;width:100%;
  color:#fff;transition:all .4s ease;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;border:0
}
body.page-top .site-header-sticky.is-scrolled{
  background:rgba(255,255,255,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color:var(--ink);box-shadow:0 1px 0 rgba(0,0,0,.05)
}
body.page-top .site-header{height:68px;padding:0 28px;border:0;display:flex;align-items:center;justify-content:space-between;position:relative}
body.page-top .site-header-sticky .logo,
body.page-top .site-header-sticky .logo.brand-case{
  position:absolute;left:50%;transform:translateX(-50%);font-size:28px;font-weight:700;letter-spacing:-.05em;font-family:Arial,Helvetica,sans-serif;color:inherit
}
body.page-top .site-header-sticky.is-scrolled .logo,
body.page-top .site-header-sticky.is-scrolled .logo.brand-case{font-size:24px;color:var(--ink)}
body.page-top .nav-left .nav-link{font-size:11px;letter-spacing:.12em;color:rgba(255,255,255,.6)}
body.page-top .site-header-sticky:not(.is-scrolled) .nav-left .nav-link.active{color:#fff}
body.page-top .site-header-sticky:not(.is-scrolled) .nav-left .nav-link.active::after{background:#fff}
body.page-top .site-header-sticky.is-scrolled .nav-left .nav-link{color:var(--lf-nav,#6a6560)}
body.page-top .site-header-sticky.is-scrolled .nav-left .nav-link.active{color:var(--ink)}
body.page-top .site-header-sticky.is-scrolled .nav-left .nav-link.active::after{background:var(--ink)}
body.page-top .header-tools{gap:18px}
body.page-top .header-search{width:190px;height:38px;border-radius:2px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08)}
body.page-top .site-header-sticky.is-scrolled .header-search{border-color:#ddd;background:#f7f7f7}
body.page-top .site-header-sticky:not(.is-scrolled) .header-search-btn,
body.page-top .site-header-sticky:not(.is-scrolled) #searchInput{color:#fff}
body.page-top .site-header-sticky:not(.is-scrolled) #searchInput::placeholder{color:rgba(255,255,255,.6)}
body.page-top .site-header-sticky:not(.is-scrolled) .nav-icon-btn,
body.page-top .site-header-sticky:not(.is-scrolled) .header-menu-btn{color:#fff}
body.page-top .site-header-sticky.is-scrolled .nav-icon-btn,
body.page-top .site-header-sticky.is-scrolled .header-menu-btn,
body.page-top .site-header-sticky.is-scrolled .header-search-btn,
body.page-top .site-header-sticky.is-scrolled #searchInput{color:var(--ink)}
body.page-top .header-menu-btn{opacity:.85}
body.page-top .site-footer{
  padding:28px 6vw 24px;color:var(--muted);border-top:1px solid var(--line);background:var(--bg,#f4f2ee);font-family:Arial,Helvetica,sans-serif
}
body.page-top .site-footer .footer-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 22px;width:100%}
body.page-top .site-footer .footer-group{display:contents}
body.page-top .site-footer .footer-title{display:none}
body.page-top .site-footer .footer-link{font-size:10px;line-height:1.45;letter-spacing:.04em;color:var(--muted);text-decoration:none;white-space:nowrap}
body.page-top .site-footer .footer-link:hover{color:var(--ink)}
body.page-top .site-footer .footer-bottom{width:max-content;max-width:100%;margin:18px auto 0;font-size:10px;text-align:center}
body.page-top .quiet-top{display:none!important}
body.page-top #productsContainer{display:none!important}
@media(max-width:767px){
  body.page-top .site-header-sticky,body.page-top .site-header{height:58px}
  body.page-top .site-header{padding:0 16px}
  body.page-top .site-header-sticky .logo,body.page-top .site-header-sticky .logo.brand-case{font-size:24px}
  /* モバイル: Searchは常にアイコンのみ（scrolledの枠付きスタイルを無効化） */
  body.page-top .header-search,
  body.page-top .site-header-sticky.is-scrolled .header-search,
  body.page-top .site-header-sticky:not(.is-scrolled) .header-search{
    width:auto;height:auto;padding:0;border:none!important;border-radius:0;background:transparent!important;box-shadow:none!important
  }
  body.page-top .site-footer{padding:24px 18px 20px}
  body.page-top .site-footer .footer-links{gap:10px 16px}
}

/* Brand Focus detail modal — light editorial, single screen */
body.is-brand-focus-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.brand-focus-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(21, 21, 21, 0.42);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.brand-focus-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.brand-focus-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 121;
  width: min(560px, calc(100% - 32px));
  max-height: min(92vh, 820px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg, #f4f2ee);
  border: 1px solid var(--line, #d8d4cd);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 16px));
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.brand-focus-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.brand-focus-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: var(--ink, #151515);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.brand-focus-close:hover {
  background: rgba(255, 255, 255, 0.58);
}
.brand-focus-close:focus-visible {
  background: rgba(255, 255, 255, 0.58);
  outline: 2px solid var(--ink, #151515);
  outline-offset: 2px;
}
.brand-focus-modal-panel {
  display: flex;
  flex-direction: column;
}
.brand-focus-modal-hero {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line, #d8d4cd);
  border-bottom: 1px solid var(--line, #d8d4cd);
}
.brand-focus-modal-hero.is-empty {
  background: linear-gradient(145deg, #e7e1d8, #c9c4be);
}
.brand-focus-modal-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transition: opacity 0.18s ease;
}
.brand-focus-modal-hero.is-loading img {
  opacity: 0;
  transition: none;
}
.brand-focus-modal-body {
  flex: 1 1 auto;
  padding: 28px 32px 36px;
  background: var(--bg, #f4f2ee);
}
.brand-focus-modal-eyebrow {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted, #5f5b56);
}
.brand-focus-modal-title {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  font-size: clamp(32px, 5.5vw, 44px);
  letter-spacing: -0.06em;
  font-weight: 400;
  line-height: 1.02;
  color: var(--ink, #151515);
  background: none;
  text-shadow: none;
}
.brand-focus-modal-copy {
  max-width: 28em;
}
.brand-focus-modal-copy p {
  display: block;
  margin: 0;
  padding: 0;
  font-size: var(--lf-editorial-body-size, 16px);
  line-height: 1.85;
  color: var(--muted, #5f5b56);
  background: none;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-shadow: none;
}
.brand-focus-modal-copy p + p {
  margin-top: 18px;
}
.brand-focus-modal-explore.featured-link {
  margin-top: 26px;
  padding: 12px 0;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink, #151515);
  border: 0;
  background: none;
}
.brand-focus-modal-explore.featured-link:hover {
  gap: 16px;
}
.brand-focus-modal-explore.featured-link:focus-visible {
  outline: 2px solid var(--ink, #151515);
  outline-offset: 4px;
}
.brand-focus-modal-explore.featured-link svg {
  width: 18px;
  height: 18px;
}
.brand-card {
  --bf-accent: #1a1a1a;
}
.brand-card .img::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--bf-accent, #1a1a1a);
  opacity: 0.92;
}
.brand-card .brand-name {
  border-bottom: 1px solid transparent;
}
.brand-card:hover .brand-name {
  border-bottom-color: var(--bf-accent, #1a1a1a);
}
@media (max-width: 800px) {
  .brand-focus-modal {
    width: calc(100% - 24px);
    max-height: 94vh;
  }
  .brand-focus-modal-body {
    padding: 24px 22px 32px;
  }
  .brand-focus-close {
    top: 12px;
    right: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-focus-overlay,
  .brand-focus-modal {
    transition: none;
  }
}

/* Ensure editorial cards win over theme-shop product card leftovers */
body.page-top .card .brand { font-size: var(--lf-product-brand-size, 13px); font-weight: var(--lf-product-brand-weight, 700); margin-top: var(--lf-product-brand-margin-top, 12px); color: var(--lf-ink, #151515); }
body.page-top .card .name { font-size: var(--lf-product-name-size, 12px); line-height: var(--lf-product-name-line, 1.45); color: var(--muted); margin-top: var(--lf-product-name-margin-top, 4px); min-height: var(--lf-product-name-min-height, 34px); font-weight: 400; }
body.page-top .card .price { font-size: var(--lf-product-price-size, 13px); margin-top: var(--lf-product-price-margin-top, 6px); color: var(--lf-ink, #151515); font-weight: 400; }
body.page-top .card .img { aspect-ratio: 4/5; background: linear-gradient(145deg,#ddd5cd,#8b817b); }
