/* EKODI Mall homepage: photo-led, accessible buyer-first entry. Other pages retain their own styles. */
:root{--mall-navy:#102848;--mall-orange:#dc5830;--mall-border:#e7e9e8;--mall-surface:#fbfaf7}
body{background:var(--mall-surface)}
.mall-header{display:block;height:auto;padding:0 min(5vw,72px);background:rgba(255,255,255,.97);box-shadow:0 1px 12px rgba(20,37,48,.04)}
.mall-header-top{display:grid;grid-template-columns:minmax(155px,1fr) minmax(280px,540px) minmax(200px,1fr);align-items:center;gap:30px;height:73px}
.mall-header .mark{background:var(--mall-orange);border-radius:11px;box-shadow:0 6px 18px rgba(220,88,48,.16)}
.mall-header .brand{color:var(--mall-navy);font-size:18px;letter-spacing:.08em}
.mall-global-search{display:flex;align-items:center;height:42px;border:1px solid #d6dee1;border-radius:999px;background:#fdfdfd;overflow:hidden;box-shadow:0 2px 9px rgba(27,41,55,.04)}
.mall-global-search:focus-within{border-color:#6788af;box-shadow:0 0 0 3px rgba(41,78,125,.12)}
.mall-global-search input{border:0;outline:0;background:transparent;flex:1;min-width:0;padding:11px 19px;color:var(--mall-navy);font-size:13px}
.mall-global-search button{border:0;background:transparent;font-size:24px;cursor:pointer;color:var(--mall-navy);width:48px;height:42px;line-height:1}
.mall-header .actions{justify-self:end;align-items:center}.mall-header .icon{color:var(--mall-navy)}.mall-search-mobile{display:none}
.mall-header .seller-mini{background:var(--mall-navy);color:#fff;border-color:var(--mall-navy);padding-inline:19px}
.mall-header .seller-mini:hover{background:#254b78}
.mall-header .mall-primary-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:48px;border-top:1px solid #edf0f0;font-size:12px;font-weight:800;white-space:nowrap;color:#253449}
.mall-primary-nav a{display:block;flex:none;padding:14px 3px;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.mall-primary-nav a:hover,.mall-primary-nav a:focus-visible{color:var(--mall-orange);border-color:var(--mall-orange)}
.notice{background:#f5f7f6;color:#51636c;text-align:center;border-bottom:1px solid #e8eaea;font-size:11px;padding:6px 14px}
.mall-premium-hero{max-width:1510px;margin:20px auto 0;padding:36px 36px 36px clamp(24px,5vw,85px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(22px,3.4vw,54px);min-height:510px;border-radius:24px;background:linear-gradient(103deg,#fff4e6 0%,#faf7f0 48%,#eef4f2 100%);overflow:hidden}
.mall-premium-hero .context-hero-copy{max-width:650px;align-self:center}
.mall-premium-hero .eyebrow{margin:0 0 14px;letter-spacing:.22em;font-size:11px;color:var(--mall-orange)}
.mall-premium-hero h1{margin:0 0 17px;color:var(--mall-navy);font-size:clamp(39px,4.1vw,65px);font-weight:900;line-height:1.2;letter-spacing:-.065em}
.mall-premium-hero h1 em{color:var(--mall-orange);font-style:normal}
.mall-premium-hero .context-lead{max-width:570px;margin:0 0 22px;font-size:clamp(14px,1.35vw,17px);line-height:1.76;color:#536477}
.mall-hero-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:21px}
.mall-hero-ctas .btn{min-height:45px;padding:10px 21px;gap:17px}
.mall-hero-ctas .btn.primary{background:var(--mall-navy);color:#fff}.mall-hero-ctas .btn.ghost{border-color:#b5c1c6;color:var(--mall-navy);background:#fff9}
.mall-premium-hero .context-form{max-width:620px;box-shadow:0 7px 28px rgba(31,51,60,.09);padding:5px;border-color:#dfe4e6}
.mall-premium-hero .context-form input{font-size:13px;padding:10px 14px}
.mall-premium-hero .context-form button{padding:0 17px;font-size:12px;background:#294e7d}
.mall-premium-hero .context-quicks{gap:6px;margin-top:10px}
.mall-premium-hero .context-quicks button{font-size:11px;padding:7px 10px;background:#ffffffb8}
.mall-premium-hero .context-trust{margin-top:11px;font-size:10px;color:#6f7d83}
.mall-photo-hero{position:relative;min-width:0;min-height:438px;overflow:hidden;border-radius:19px;background:linear-gradient(140deg,#ecd6ae,#aac3aa)}
.mall-hero-photo{position:absolute;inset:0;background-image:linear-gradient(180deg,transparent 52%,rgba(33,34,31,.28)),url("https://images.pexels.com/photos/39997379/pexels-photo-39997379.jpeg?auto=compress&cs=tinysrgb&w=1600");background-position:center;background-size:cover;transition:transform .5s}
.mall-photo-hero:hover .mall-hero-photo{transform:scale(1.025)}
.mall-hero-highlight{position:absolute;right:25px;bottom:25px;display:flex;flex-direction:column;gap:7px;width:min(285px,calc(100% - 50px));padding:23px 24px;border-radius:19px;background:rgba(255,250,244,.94);backdrop-filter:blur(8px);box-shadow:0 12px 35px #201b1930;color:var(--mall-navy)}
.mall-hero-highlight small,.mall-editorial-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--mall-orange)}
.mall-hero-highlight strong{font-size:24px;line-height:1.35;letter-spacing:-.035em}
.mall-hero-highlight>span{font-size:12px;color:#576575}
.mall-hero-highlight>a{align-self:flex-start;display:inline-flex;gap:13px;margin-top:6px;background:#fff;border:1px solid #d3dbe0;padding:9px 14px;border-radius:100px;font-size:12px;font-weight:900}
.mall-category-shortcuts{max-width:1510px;margin:-8px auto 0;padding:18px 22px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;background:#fff;border:1px solid #edf0ec;border-radius:20px;box-shadow:0 14px 45px rgba(24,39,49,.065);position:relative;z-index:1}
.mall-category-shortcuts a{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;min-height:89px;padding:12px 4px;border-radius:15px;font-size:12px;color:#243a4b;transition:transform .2s,background .2s}
.mall-category-shortcuts a:hover,.mall-category-shortcuts a:focus-visible{background:#f1f6f6;transform:translateY(-2px)}
.mall-shortcut-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#fff0e9;color:#d75a35;font-family:Georgia,serif;font-size:26px;line-height:1}
.mall-category-shortcuts a:nth-child(2n) .mall-shortcut-icon{background:#ebf3fa;color:#2c6aa0}
.mall-category-shortcuts a:nth-child(3n) .mall-shortcut-icon{background:#eff7ee;color:#4c8060}
.mall-editorial{max-width:1510px;margin:18px auto 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mall-editorial-card{display:flex;flex-direction:column;align-items:flex-start;min-height:181px;border-radius:15px;padding:22px;overflow:hidden;justify-content:space-between;background-color:#e8eeeb;background-size:cover;background-position:center;color:var(--mall-navy);transition:transform .2s,box-shadow .2s}
.mall-editorial-card:hover,.mall-editorial-card:focus-visible{transform:translateY(-3px);box-shadow:0 12px 25px rgba(20,44,54,.1)}
.mall-editorial-card strong{font-size:19px;line-height:1.35;letter-spacing:-.04em;text-shadow:0 1px 10px #ffffffb8}
.mall-editorial-card small{font-size:11px;font-weight:900;border-bottom:1px solid currentColor;padding-bottom:3px}
.mall-editorial-local{background-image:linear-gradient(90deg,rgba(242,250,243,.96),rgba(240,248,238,.65) 65%,transparent),url("https://images.pexels.com/photos/264537/pexels-photo-264537.jpeg?auto=compress&cs=tinysrgb&w=800")}
.mall-editorial-travel{background-image:linear-gradient(90deg,rgba(235,244,252,.94),rgba(232,244,253,.58) 62%,transparent),url("https://images.pexels.com/photos/1271619/pexels-photo-1271619.jpeg?auto=compress&cs=tinysrgb&w=800")}
.mall-editorial-life{background-image:linear-gradient(90deg,rgba(251,246,238,.96),rgba(251,246,238,.57) 64%,transparent),url("https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg?auto=compress&cs=tinysrgb&w=800")}
.mall-editorial-gift{background-image:linear-gradient(90deg,rgba(252,243,237,.95),rgba(252,240,234,.59) 66%,transparent),url("https://images.pexels.com/photos/1303081/pexels-photo-1303081.jpeg?auto=compress&cs=tinysrgb&w=800")}
.mall-editorial+.context-recommend{padding-top:54px}
.mall-editorial~.context-recommend .context-heading h2,.mall-category-shortcuts~.shop .heading h2{font-size:clamp(27px,3vw,38px);font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif;line-height:1.3}
.mall-editorial~.context-recommend .context-heading h2 br,.mall-category-shortcuts~.shop .heading h2 br{display:none}
.mall-editorial~.context-recommend,.mall-category-shortcuts~.shop{max-width:1350px;margin-inline:auto}
.mall-category-shortcuts~.shop{padding-top:26px;padding-bottom:65px}
.mall-category-shortcuts~.filters{top:120px}
.mall-category-shortcuts~.shop .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mall-category-shortcuts~.shop .card{box-shadow:0 3px 15px rgba(25,37,48,.035)}
.mall-category-shortcuts~.shop .thumb{border-bottom:1px solid #f2f3f2}
.mall-editorial~.affiliate-gates{padding-top:65px}
:where(.mall-global-search button,.mall-category-shortcuts a,.mall-editorial a,.mall-hero-ctas a):focus-visible{outline:3px solid #37699c;outline-offset:3px}
@media(max-width:1190px){
 .mall-header-top{grid-template-columns:auto minmax(240px,1fr) auto;gap:18px}
 .mall-header .mall-primary-nav{gap:22px;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}
 .mall-premium-hero{min-height:470px;margin:12px 16px 0;padding:26px;gap:20px}
 .mall-premium-hero h1{font-size:clamp(35px,4.4vw,52px)}
 .mall-category-shortcuts,.mall-editorial{margin-left:16px;margin-right:16px}
 .mall-category-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}
 .mall-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .mall-header .mall-primary-nav{display:flex}
 .mall-premium-hero{grid-template-columns:1fr 1fr;min-height:450px}
 .mall-premium-hero .context-hero-copy{max-width:none}
 .mall-photo-hero{min-height:370px}
 .mall-hero-highlight{right:12px;bottom:12px;padding:15px;width:min(240px,calc(100% - 24px))}
 .mall-hero-highlight strong{font-size:19px}
 .mall-premium-hero .context-quicks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .mall-header{padding:0 17px}
 .mall-header-top{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;height:64px}
 .mall-global-search{height:38px}.mall-global-search input{font-size:12px;padding:9px 11px}.mall-global-search button{height:38px;width:34px;font-size:19px}
 .mall-header .seller-mini{display:none}.mall-header .actions{gap:5px}.mall-header .icon{padding:8px 10px}
 .mall-header .brand{font-size:13px}.mall-header .mark{width:31px;height:31px;font-size:19px;border-radius:9px}.mall-header .brand small{font-size:7px}
 .mall-premium-hero{grid-template-columns:1fr;padding:26px 21px 20px;gap:19px;margin:10px 12px 0}
 .mall-premium-hero h1{font-size:clamp(35px,7.5vw,46px);line-height:1.22}
 .mall-premium-hero .context-lead{font-size:14px;margin-bottom:15px}
 .mall-premium-hero .context-form{display:flex;min-height:48px}
 .mall-premium-hero .context-form input{min-width:0;width:100%;padding:10px 8px;font-size:12px}
 .mall-premium-hero .context-form button{min-height:39px;padding:0 12px;font-size:11px}
 .mall-photo-hero{min-height:260px;border-radius:16px}
 .mall-hero-highlight{max-width:230px}
 .mall-category-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));padding:8px;gap:3px;margin:10px 12px 0}
 .mall-category-shortcuts a{font-size:10px;min-height:75px;padding:7px 2px}
 .mall-shortcut-icon{width:34px;height:34px;font-size:21px;border-radius:11px}
 .mall-editorial{margin:12px 12px 0;gap:8px}
 .mall-editorial-card{min-height:170px;padding:15px}
 .mall-editorial-card strong{font-size:16px}.mall-editorial-kicker{font-size:9px}
 .mall-category-shortcuts~.filters{top:64px}
 .mall-category-shortcuts~.shop .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .mall-header .mall-primary-nav{display:none}
 .notice{font-size:10px}
 .mall-hero-ctas .btn{font-size:11px;padding:9px 13px;gap:6px}
 .mall-premium-hero .context-quicks{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mall-premium-hero .context-quicks button{font-size:10px;padding:7px}
 .mall-premium-hero .context-trust{font-size:10px}
 .mall-editorial~.context-recommend,.mall-category-shortcuts~.shop{padding-left:15px;padding-right:15px}
 .mall-category-shortcuts~.shop .grid{gap:10px}
 .mall-category-shortcuts~.shop .card-body{padding:12px}
 .mall-category-shortcuts~.shop .card h3{font-size:14px}
 .mall-category-shortcuts~.shop .card p{font-size:11px}
 .mall-category-shortcuts~.shop .meta{flex-wrap:wrap}
}
@media(max-width:370px){.mall-header .brand span:last-child{display:none}.mall-global-search input{font-size:11px}.mall-editorial-card strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mall-photo-hero:hover .mall-hero-photo,.mall-category-shortcuts a:hover,.mall-editorial-card:hover{transform:none}.mall-hero-photo,.mall-category-shortcuts a,.mall-editorial-card{transition:none}}

/* Isolated editorial portrait above—not on top of—the lifestyle photograph. */
.mall-premium-hero .mall-photo-hero{margin-top:96px;min-height:342px;overflow:visible;background:transparent}
.mall-premium-hero .mall-hero-photo{border-radius:18px;overflow:hidden;background-color:#ecd6ae}
.mall-premium-hero .mall-hero-person{position:absolute;top:-90px;right:6px;width:124px;height:82px;object-fit:cover;object-position:center 38%;border:4px solid #fff;border-radius:18px;box-shadow:0 8px 24px rgba(20,40,60,.14);background:#f5e9df;z-index:2;pointer-events:none}
@media(max-width:980px){.mall-premium-hero .mall-photo-hero{margin-top:82px;min-height:310px}.mall-premium-hero .mall-hero-person{top:-76px;width:106px;height:68px}}
@media(max-width:760px){.mall-premium-hero .mall-photo-hero{margin-top:80px;min-height:260px}.mall-premium-hero .mall-hero-person{top:-73px;right:2px;width:104px;height:66px}.mall-premium-hero .mall-hero-photo{border-radius:16px}}
@media(max-width:390px){.mall-premium-hero .mall-photo-hero{margin-top:73px;min-height:240px}.mall-premium-hero .mall-hero-person{top:-67px;width:94px;height:60px}}

/* The same centered width token and gutters as the EKODI canonical footer. */
.mall-header{height:auto!important;padding:0!important;width:100%;max-width:100%;box-sizing:border-box}
.mall-header .mall-header-inner{
  width:min(var(--ekodi-user-content-inline-size,var(--ekodi-user-canvas-max,1240px)),calc(100% - 40px));
  max-width:100%;margin-inline:auto;min-width:0;
}
.mall-header .mall-header-top,.mall-header .mall-primary-nav{width:100%;min-width:0}
.mall-header .mall-global-search{min-width:0}
.mall-header .mall-global-search button{flex-shrink:0}
.mall-premium-hero .ekodi-main-ekodian,
.mall-premium-hero [data-ekodi-user-character]{display:none!important}
/* Keep footer and header content aligned even when the shell adjusts its canvas. */
@media(max-width:720px){
 .mall-header .mall-header-inner{
  width:min(var(--ekodi-user-content-inline-size,var(--ekodi-user-canvas-max,1240px)),calc(100% - 28px));
 }
}

/* Mobile first-fold density: keep shopping and discovery visible without changing transactions. */
@media(max-width:640px){
 .notice{display:none}
 .mall-header-top{height:56px;gap:8px}
 .mall-premium-hero{padding:18px 16px 14px;margin:7px 10px 0;gap:10px;border-radius:19px}
 .mall-premium-hero .eyebrow{margin-bottom:7px;font-size:9px;letter-spacing:.12em}
 .mall-premium-hero h1{font-size:clamp(30px,7.2vw,38px);line-height:1.14;margin-bottom:10px}
 .mall-premium-hero .context-lead{font-size:12px;line-height:1.5;margin-bottom:11px}
 .mall-hero-ctas{gap:7px;margin-bottom:11px}
 .mall-hero-ctas .btn{min-height:39px;padding:8px 12px}
 .mall-premium-hero .context-form{min-height:44px;margin-bottom:0}
 .mall-premium-hero .context-form button{min-height:36px;white-space:nowrap}
 .mall-premium-hero .context-quicks{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:7px;margin-top:8px;padding-bottom:4px;scrollbar-width:thin}
 .mall-premium-hero .context-quicks button{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap;min-height:35px;padding:7px 11px}
 .mall-premium-hero .context-trust{font-size:9px;line-height:1.45;margin-top:7px}
 .mall-premium-hero .mall-photo-hero{display:none}
 .mall-category-shortcuts{margin-top:8px}
 .buyer-mobile{display:flex;align-items:center;justify-content:space-around}
 .buyer-mobile>a,.buyer-mobile>button{min-width:0;white-space:nowrap}
}

/* Buyer-first fold: avoid duplicate desktop category menus; bring the product grid forward. */
@media(min-width:641px){
 .mall-category-shortcuts{display:none}
 .mall-header .mall-primary-nav{font-size:13px}
 .mall-global-search input{font-size:14px}
}
@media(min-width:761px){
 .mall-premium-hero{min-height:460px;padding-top:26px;padding-bottom:26px}
 .mall-premium-hero .mall-photo-hero{margin-top:70px;min-height:326px}
 .mall-premium-hero .mall-hero-person{top:-64px}
 .mall-category-shortcuts~.filters{margin-top:12px}
}
@media(max-width:640px){
 .mall-category-shortcuts~.shop{padding-top:25px}
 .mall-category-shortcuts~.filters{top:56px}
}

/* Section tabs: landing storytelling belongs to home ONLY, never below selected categories. */
body[data-mall-view="catalog"] main#main > :not(#filters):not(#shop),
body[data-mall-view="recommend"] main#main > :not(#recommend) { display:none!important; }
body[data-mall-view="catalog"] main#main > #shop,
body[data-mall-view="recommend"] main#main > #recommend {
  width:min(var(--ekodi-user-content-inline-size,var(--ekodi-user-canvas-max,1240px)),calc(100% - 40px));
  max-width:100%;margin:0 auto;padding:24px 0 65px;min-height:50vh;
}
body[data-mall-view="catalog"] main#main > #filters {
  position:static;top:auto;width:min(var(--ekodi-user-content-inline-size,var(--ekodi-user-canvas-max,1240px)),calc(100% - 40px));
  margin:0 auto;padding:16px 0;border-bottom:1px solid var(--mall-border);
}
body[data-mall-view="catalog"] .shop .heading {margin-bottom:22px}
.mall-primary-nav a[aria-current="page"]{border-bottom:3px solid var(--mall-orange);color:var(--mall-navy);font-weight:900}
.mall-recommend-inline-form {display:none;margin:0 0 28px;max-width:760px}
body[data-mall-view="recommend"] .mall-recommend-inline-form{display:block}
.mall-recommend-inline-form label {display:block;font-size:13px;font-weight:800;margin-bottom:10px}
.mall-recommend-inline-form > div {display:flex;gap:10px}
.mall-recommend-inline-form input {min-width:0;flex:1;border:1px solid #d6dee1;border-radius:12px;background:#fff;padding:12px 14px;font:inherit}
.mall-recommend-inline-form button {border:0;border-radius:12px;background:var(--mall-navy);color:#fff;font-weight:800;padding:12px 20px;cursor:pointer}
@media(max-width:720px){
 body[data-mall-view="catalog"] main#main > #shop,body[data-mall-view="recommend"] main#main > #recommend,
 body[data-mall-view="catalog"] main#main > #filters{width:calc(100% - 28px)}
 body[data-mall-view="catalog"] main#main > #shop,body[data-mall-view="recommend"] main#main > #recommend{padding-top:18px}
 .mall-recommend-inline-form > div{flex-direction:column}
}

/* Desktop category navigation is already present in the header; keep one tab row. */
@media(min-width:641px){body[data-mall-view="catalog"] main#main > #filters{display:none}}

/* Selected navigation is explicit on every Mall route. */
.mall-primary-nav a[aria-current="page"]{color:var(--mall-orange);border-bottom:3px solid var(--mall-orange);font-weight:900}
.mall-primary-nav a[aria-current="page"]:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Mobile catalog: avoid clipped 2-up cards and horizontal page overflow on narrow phones. */
@media(max-width:480px){
 .mall-category-shortcuts~.shop .grid{grid-template-columns:minmax(0,1fr)}
 .mall-category-shortcuts~.shop .card{min-width:0;max-width:100%}
 .mall-category-shortcuts~.shop .card-body{min-width:0}
}

/* TOSS-MALL-UNDERWRITING-001: no unready item may be presented as a purchasable offer.
   Confirmed empty categories are hidden; direct URL requests retain their safe empty state. */
#filters [data-filter][hidden]{display:none!important}

.mall-merchant-review-note{margin:9px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#5c6471);max-width:790px}

/* MALL-CHROME-WIDTH-001: every Mall top-level view follows the weekly-picks 1080px canvas.
   The shared header is generated once; do not let page-specific styles change its controls. */
:root{--mall-content-width:1080px}
.mall-header .mall-header-inner{
  width:min(var(--mall-content-width),calc(100% - 32px))!important;
  max-width:100%;
}
.mall-header .seller-mini{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:8px 18px;border:1px solid var(--mall-navy);
  border-radius:999px;background:var(--mall-navy);color:#fff;
  font-size:12px;font-weight:800;line-height:1.25;white-space:nowrap;
}
.mall-header .seller-mini:focus-visible{outline:3px solid #37699c;outline-offset:3px}
.mall-category-shortcuts~.shop{
  width:min(var(--mall-content-width),calc(100% - 32px));
  max-width:100%;margin-inline:auto;padding-inline:16px;
}
body[data-mall-view="catalog"] main#main > #shop,
body[data-mall-view="catalog"] main#main > #filters,
body[data-mall-view="recommend"] main#main > #recommend{
  width:min(var(--mall-content-width),calc(100% - 32px));
  max-width:100%;margin-inline:auto;
}
body[data-mall-view="catalog"] main#main > #shop{padding-inline:16px}
body[data-mall-view="catalog"] main#main > #filters{padding-inline:16px}
/* Two concise lines for all bookstore cards, without altering titles or purchase evidence. */
.card[data-category="book"] .card-summary{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  line-clamp:2;overflow:hidden;min-height:0;margin-bottom:8px;
}
.card[data-category="book"] .meta{min-height:36px}
@media(max-width:760px){
  .mall-header .seller-mini{display:none}
  .mall-header .mall-header-inner{width:calc(100% - 28px)!important}
  .mall-category-shortcuts~.shop,
  body[data-mall-view="catalog"] main#main > #shop,
  body[data-mall-view="catalog"] main#main > #filters,
  body[data-mall-view="recommend"] main#main > #recommend{width:calc(100% - 28px)}
  .mall-category-shortcuts~.shop{padding-inline:0}
}

/* Verified member direct-purchase points: not spendable until central ledger cutover. */
.mall-member-points-policy{font-size:12px;line-height:1.7;color:var(--muted,#5c6471);max-width:870px;margin:10px 0 0}

/* EKODI Mall points policy is intentionally in the always-visible first-screen hero. */
.mall-member-points-hero{margin:12px 0 0;padding:8px 12px;max-width:790px;border:1px solid rgba(61,98,112,.17);border-radius:10px;font-size:12px;line-height:1.6;color:var(--muted,#52665f);background:rgba(255,255,255,.64)}
.mall-member-points-hero span{color:inherit;white-space:normal}
@media(max-width:600px){.mall-member-points-hero{font-size:11px;margin-top:9px;padding:7px 9px}}

/* Underwriting: confirmed-empty categories disappear from every visible navigation.
   Preserve direct category URLs for truthful empty states and manual review. */
.mall-primary-nav a[data-filter-target][hidden],
.mall-category-shortcuts a[data-filter-target][hidden]{display:none!important}
/* The product grid now precedes the editorial hero in the document flow. */
.mall-premium-hero{margin-top:24px}

/* Approval may be revoked between the static build and the live quote. */
.card[data-bookstore-quote-pending="true"]:not([data-bookstore-informational="true"]){display:none!important}

/* Global search is a separate central catalog view and never changes a sale gate. */
#mallSearchResults[hidden]{display:none!important}
body[data-mall-search="true"] #shop>.heading,
body[data-mall-search="true"] #shop>#grid,
body[data-mall-search="true"] #shop>#empty,
body[data-mall-search="true"] #shop .mall-load-more{display:none!important}
body[data-mall-search="true"] #shop #mallSearchResults{display:block!important}
.mall-search-results{width:100%;min-width:0}
.mall-search-heading{padding:8px 0 18px;border-bottom:1px solid #e5e9ec}
.mall-search-heading h2{font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif;font-size:clamp(23px,3vw,29px);margin:4px 0 7px}
.mall-search-heading p:last-child{font-size:13px;color:#647281;line-height:1.6;margin:0}
.mall-search-group{padding:21px 0 18px;border-bottom:1px solid #e9ebec}
.mall-search-group h3{font-size:19px;line-height:1.4;margin:0 0 13px}
.mall-search-group h3 small{font-size:12px;color:#697b88;font-weight:500;margin-left:6px}
.mall-search-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mall-search-card{min-width:0;overflow:hidden;border:1px solid #e1e6e9;border-radius:15px;background:#fff}
.mall-search-card .mall-search-visual{display:grid;place-items:center;height:165px;background:#f7f8f5;color:#80909a;font-size:12px}
.mall-search-card .mall-search-visual img{height:100%;width:100%;object-fit:contain}
.mall-search-card-body{padding:11px 12px 13px}
.mall-search-card h4{font-size:14px;line-height:1.5;margin:0 0 8px}
.mall-search-card h4 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:inherit;text-decoration:none}
.mall-search-card p{font-size:11px;line-height:1.5;color:#617182;margin:0 0 8px}
.mall-search-card .mall-search-price{font-size:13px;font-weight:850;color:#173b5b}
.mall-search-card h4 a:focus-visible{outline:3px solid #315f91;outline-offset:2px}
.mall-search-empty{padding:35px 16px;text-align:center;color:#617182;border:1px solid #e3e8eb;border-radius:15px;margin-top:18px}
@media(max-width:880px){.mall-search-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.mall-search-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mall-search-card .mall-search-visual{height:135px}}
@media(max-width:410px){.mall-search-cards{grid-template-columns:minmax(0,1fr)}.mall-search-card .mall-search-visual{height:190px}}


/* EKODI-MALL-TIERED-SEARCH-001: truthful multi-source discovery without sales-gate changes. */
.mall-search-stage{padding:15px 0 16px;border-bottom:1px solid #e9e5e1;min-width:0}
.mall-search-stage-title{font-size:clamp(17px,2vw,21px);line-height:1.35;color:#213a57;margin:0 0 6px;font-weight:800}
.mall-search-stage-note,.mall-search-stage-empty,.mall-search-stage-warning{font-size:13px;line-height:1.6;color:#606b74;margin:5px 0 12px;overflow-wrap:anywhere}
.mall-search-stage-warning{padding:11px 13px;border-radius:12px;background:#fff4e7;color:#6e563e}
.mall-search-stage .mall-search-group{padding:12px 0;border-bottom:0}
.mall-search-stage .mall-search-group h4{font-size:15px;margin:0 0 10px}
.mall-search-reference{border:1px solid #e0e6ec;border-radius:12px;padding:12px 14px;background:#fff;min-width:0}
.mall-search-reference-link{display:block;color:#234c79;text-decoration:underline;text-underline-offset:3px;font-size:14px;font-weight:750;overflow-wrap:anywhere}
.mall-search-reference p{font-size:12px;line-height:1.55;color:#606b74;margin:5px 0 0;overflow-wrap:anywhere}
.mall-search-provider-results,.mall-search-compare-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
.mall-search-ai-link{display:inline-flex;min-height:42px;align-items:center;justify-content:center;border-radius:999px;background:#284f7d;color:#fff;padding:10px 18px;font-size:14px;font-weight:800;text-decoration:none;max-width:100%}
.mall-search-ai-link:focus-visible,.mall-search-reference-link:focus-visible{outline:3px solid #3e81be;outline-offset:3px}
@media(max-width:600px){
  .mall-search-stage{padding:12px 0}
  .mall-search-provider-results,.mall-search-compare-links{grid-template-columns:minmax(0,1fr)}
  .mall-search-reference{padding:11px 12px}
  .mall-search-stage .mall-search-cards{grid-template-columns:minmax(0,1fr)}
}


/* Verified vendor search fallback: make the corrected hose keyword visible on mobile. */
.mall-search-stage-hint{margin-top:10px;padding:10px 12px;border:1px solid #d7e2ee;border-radius:10px;background:#f3f7fb;font-size:13px;line-height:1.6;color:#3c556d}
.mall-search-stage-hint a{font-weight:800;text-underline-offset:3px;color:#234c79;overflow-wrap:anywhere}
.mall-search-stage-hint a:focus-visible{outline:3px solid #3e81be;outline-offset:3px}


/* EKODI-MALL-ROLE-AWARE-UI-9709
 * Customer search result cards—not admin cards. Keep supplier reference-only gates.
 * Existing approved Mall theme and merchant brand remain unchanged. */
#mallSearchGroups{counter-reset:mall-search-stage;display:grid;gap:13px;margin-top:15px;min-width:0}
#mallSearchGroups .mall-search-stage{
  counter-increment:mall-search-stage;
  position:relative;
  min-width:0;
  background:linear-gradient(125deg,#fff 0%,#fff 75%,#f8fcf9 100%);
  border:1px solid #dfe8e3;
  border-radius:18px;
  padding:20px 22px 20px 82px;
  box-shadow:0 6px 20px rgba(25,48,40,.045);
  margin:0;
}
#mallSearchGroups .mall-search-stage:before{
  content:counter(mall-search-stage,decimal-leading-zero);
  position:absolute;left:21px;top:23px;
  display:grid;place-items:center;
  width:44px;height:44px;border-radius:13px;
  color:#1b654b;background:linear-gradient(145deg,#e9f6ec,#d9eddf);
  font-size:14px;font-weight:900;letter-spacing:.04em;
}
#mallSearchGroups .mall-search-stage-title{font-size:clamp(18px,1.55vw,23px);font-weight:850;color:#182e37;letter-spacing:-.035em;margin:1px 0 8px;line-height:1.35}
#mallSearchGroups .mall-search-stage-note{font-size:13px;line-height:1.7;color:#5b6b6e;margin:0 0 8px;max-width:920px}
#mallSearchGroups .mall-search-stage-empty{font-size:13px;color:#657572;line-height:1.65;margin:5px 0 8px}
#mallSearchGroups .mall-search-stage .mall-search-reference{background:#fbfdfb;border:1px solid #dbe7df;border-radius:12px;padding:13px 16px}
#mallSearchGroups .mall-search-stage .mall-search-reference-link{color:#195941;font-size:14px;font-weight:800;text-decoration:none}
#mallSearchGroups .mall-search-stage .mall-search-reference-link:hover{text-decoration:underline;text-underline-offset:3px}
#mallSearchGroups .mall-search-stage .mall-search-reference p{font-size:12px;margin-top:4px;color:#5f726a}
#mallSearchGroups .mall-search-stage .mall-search-compare-links{margin-top:10px}
#mallSearchGroups .mall-search-stage .mall-search-provider-results{margin-top:10px}
#mallSearchGroups .mall-search-stage .mall-search-ai-link{min-height:46px;background:#165740;color:#fff;border-radius:12px;padding:11px 19px;box-shadow:0 4px 12px rgba(22,87,64,.14)}
#mallSearchGroups .mall-search-stage .mall-search-ai-link:hover{background:#0c4633}
#mallSearchGroups .mall-search-stage .mall-search-stage-hint{border-radius:12px;border-color:#dbe8df;background:#f3f9f4;color:#446153}
#mallSearchGroups .mall-search-stage .mall-search-cards{margin-top:12px}
#mallSearchGroups .mall-search-stage .mall-search-card{border-radius:13px;box-shadow:0 2px 12px rgba(22,51,41,.045)}
#mallSearchGroups .mall-search-stage-warning{margin:0;border-radius:13px;padding:12px 15px}
@media(max-width:700px){
  #mallSearchGroups{gap:10px}
  #mallSearchGroups .mall-search-stage{padding:16px 14px 16px 65px;border-radius:15px}
  #mallSearchGroups .mall-search-stage:before{left:14px;top:18px;width:36px;height:36px;font-size:12px;border-radius:11px}
  #mallSearchGroups .mall-search-stage-title{font-size:18px}
  #mallSearchGroups .mall-search-stage-note{font-size:12px;line-height:1.65}
  #mallSearchGroups .mall-search-stage .mall-search-provider-results,
  #mallSearchGroups .mall-search-stage .mall-search-compare-links{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:390px){
  #mallSearchGroups .mall-search-stage{padding:13px 12px}
  #mallSearchGroups .mall-search-stage:before{position:static;float:left;margin:0 10px 7px 0;width:32px;height:32px}
  #mallSearchGroups .mall-search-stage-title{font-size:16px;min-height:32px;display:flex;align-items:center}
  #mallSearchGroups .mall-search-stage-note{clear:both}
}
