/* 쇼핑몰 — brand.css burgundy 팔레트 */
.shop-page body,.shop-page{--shop-radius:16px}
.menu a.is-active{background:var(--accent-soft);color:var(--accent);font-weight:800}
.sidebar--shop .group--shop-primary{margin-top:18px}
.sidebar--shop .group--shop-primary .group-title{color:var(--accent);font-weight:800}
.sidebar--shop .create--shop{background:linear-gradient(90deg,var(--accent),var(--accent-2))}
.sidebar--shop .group--shop-secondary{margin-top:20px;padding-top:16px;border-top:1px solid #efeff3}
.sidebar--shop .menu--compact a{height:32px;font-size:12px;color:#55586a}
.sidebar--shop .ico--img{width:28px;height:28px;border-radius:8px;overflow:hidden;background:#fff;border:1px solid #ececf2}
.sidebar--shop .ico--img img{width:100%;height:100%;object-fit:contain;display:block}
.sidebar--shop .premium--shop{background:linear-gradient(145deg,var(--accent-soft),#fff)}
.sidebar--shop .premium--shop b{color:var(--accent)}

.shop-main .content{padding:0}
.shop-topbar{
  justify-content:space-between;
  gap:16px;
  padding:0 31px 0 39px;
}
.shop-search{
  flex:1;
  max-width:520px;
  height:44px;
  display:flex;
  align-items:center;
  border:1px solid #e6e6ed;
  border-radius:999px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(46,42,39,.04);
}
.shop-search input{
  flex:1;border:0;background:transparent;
  height:100%;padding:0 18px;font-size:13px;color:var(--ink);
}
.shop-search input:focus{outline:none}
.shop-search-btn{
  width:44px;height:44px;border:0;background:transparent;
  font-size:20px;color:var(--accent);cursor:pointer;
}
.shop-topbar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.shop-cart-btn{
  position:relative;width:44px;height:44px;border:1px solid #e6e6ed;border-radius:50%;
  background:#fff;display:grid;place-items:center;color:var(--charcoal);
}
.shop-cart-btn:hover{border-color:var(--accent-soft-2);color:var(--accent)}
.shop-cart-badge,.shop-float-badge,.shop-fab-badge{
  position:absolute;min-width:18px;height:18px;padding:0 5px;
  border-radius:999px;background:var(--accent);color:#fff;
  font-size:10px;font-weight:800;display:grid;place-items:center;border:2px solid #fff;
}
.shop-cart-badge{right:-2px;top:-4px}
.shop-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:24px;
  padding:0 31px 40px 39px;
  align-items:start;
}
.shop-content{min-width:0}
.shop-aside{
  position:sticky;top:88px;
  display:grid;gap:14px;
}
.shop-aside-block,.shop-aside-promo{
  background:#fff;border:1px solid #ececf2;border-radius:var(--shop-radius);
  padding:16px;box-shadow:0 8px 24px rgba(46,42,39,.04);
}
.shop-aside-block h3,.shop-aside-promo b{
  margin:0 0 12px;font-size:13px;font-weight:800;color:var(--charcoal);
}
.shop-aside-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.shop-aside-list a{
  font-size:12px;font-weight:600;color:#4a4d5c;
  display:block;padding:6px 0;
}
.shop-aside-list a:hover{color:var(--accent)}
.shop-aside-promo{
  background:linear-gradient(160deg,var(--accent-soft),#fff);
  border-color:var(--accent-soft-2);
}
.shop-aside-promo p{margin:0 0 12px;font-size:12px;line-height:1.55;color:var(--muted)}
.shop-aside-promo-btn{
  display:flex;align-items:center;justify-content:center;height:40px;
  border-radius:10px;background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#fff;font-size:12px;font-weight:800;
}

.shop-hero{
  background:linear-gradient(135deg,var(--accent-soft) 0%,#fff 55%,var(--ivory) 100%);
  border:1px solid var(--accent-soft-2);
  border-radius:24px;padding:28px 28px 22px;margin-bottom:22px;
  box-shadow:var(--shadow);
}
.shop-hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}
.shop-hero-badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:999px;background:#fff;
  border:1px solid var(--accent-soft-2);font-size:11px;font-weight:800;color:var(--accent);
  margin-bottom:14px;
}
.shop-hero-copy h1{margin:0 0 12px;font-size:clamp(24px,2.4vw,34px);line-height:1.25;font-weight:900;color:var(--charcoal)}
.shop-hero-copy p{margin:0 0 18px;font-size:14px;line-height:1.65;color:var(--muted);max-width:460px}
.shop-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.shop-hero-visual{border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#fff}
.shop-hero-visual img{width:100%;height:220px;object-fit:cover}
.shop-hero-dots{display:flex;justify-content:center;gap:6px;margin-top:16px}
.shop-hero-dots span{width:7px;height:7px;border-radius:50%;background:#d8d8e2}
.shop-hero-dots span.is-active{width:18px;border-radius:5px;background:var(--accent)}

.shop-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:44px;padding:0 18px;border-radius:12px;
  font-size:13px;font-weight:800;text-decoration:none;border:1px solid transparent;
  cursor:pointer;font-family:inherit;
}
.shop-btn--primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#fff;box-shadow:0 8px 20px var(--accent-shadow)}
.shop-btn--outline{background:#fff;border-color:var(--accent-soft-2);color:var(--accent)}
.shop-btn--block{width:100%}
.shop-btn:disabled{opacity:.55;cursor:not-allowed}

.shop-cat-icons{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;
  margin-bottom:28px;
}
.shop-cat-icon{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  padding:14px 8px 12px;border-radius:16px;background:#fff;border:1px solid #ececf2;
  font-size:12px;font-weight:700;color:#434656;text-align:center;line-height:1.35;
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.shop-cat-icon:hover{border-color:var(--accent-soft-2);box-shadow:0 10px 24px var(--accent-glow);transform:translateY(-2px);color:var(--accent)}
.shop-cat-icon-box{
  width:96px;height:96px;border-radius:14px;background:#fff;
  display:grid;place-items:center;overflow:hidden;border:1px solid #f0f0f4;
}
.shop-cat-icon-box img{width:100%;height:100%;object-fit:contain;display:block}
.shop-cat-icon-fallback{font-size:28px;line-height:1}
.shop-category-hero{
  width:120px;height:120px;flex:0 0 120px;border-radius:16px;background:#fff;
  border:1px solid #ececf2;overflow:hidden;display:grid;place-items:center;
}
.shop-category-hero img{width:100%;height:100%;object-fit:contain;display:block}
.shop-page-head{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.shop-page-head h1{margin:0 0 4px;font-size:24px;font-weight:900}
.shop-page-head p{margin:0;font-size:13px;color:var(--muted)}
.shop-filter-chip{display:inline-flex;align-items:center;gap:8px}
.shop-filter-chip-img{width:28px;height:28px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid #ececf2}

.shop-section{margin-bottom:32px}
.shop-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.shop-section-head h2{margin:0;font-size:18px;font-weight:900;color:var(--charcoal)}
.shop-more{font-size:12px;font-weight:800;color:var(--accent)}

.shop-spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.shop-spec-card{
  background:#fff;border:1px solid #ececf2;border-radius:14px;padding:14px;
  display:grid;gap:8px;transition:box-shadow .15s,border-color .15s;
}
.shop-spec-card:hover{border-color:var(--accent-soft-2);box-shadow:0 10px 24px var(--accent-glow)}
.shop-spec-preview{
  aspect-ratio:210/297;background:#fff;border-radius:8px;border:1px solid #ececf2;
  display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:8px;
}
.shop-spec-preview--image{display:block;padding:0;overflow:hidden;background:#fff}
.shop-spec-preview--image img{width:100%;height:100%;object-fit:contain;display:block}
.shop-spec-preview span{background:#fff;border:1px solid #e3e3ea;border-radius:2px;min-height:10px}
.shop-spec-card strong{font-size:13px;color:var(--charcoal)}
.shop-spec-card small{font-size:11px;color:var(--muted)}

.shop-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.shop-product-card{
  background:#fff;border:1px solid #ececf2;border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 8px 22px rgba(46,42,39,.04);
}
.shop-product-link{display:block;color:inherit;flex:1}
.shop-product-img{position:relative;aspect-ratio:210/297;background:#fff}
.shop-product-img img{width:100%;height:100%;object-fit:contain}
.shop-product-badge{
  position:absolute;left:10px;top:10px;padding:4px 8px;border-radius:999px;
  background:rgba(46,42,39,.72);color:#fff;font-size:10px;font-weight:800;
}
.shop-product-badge--sale{background:var(--accent)}
.shop-product-meta{padding:12px 14px 10px}
.shop-product-cat{font-size:10px;font-weight:800;color:var(--accent);text-transform:uppercase;letter-spacing:.04em}
.shop-product-meta h3{margin:6px 0;font-size:14px;line-height:1.35;font-weight:800;color:var(--charcoal)}
.shop-product-desc{margin:0;font-size:11px;line-height:1.45;color:var(--muted)}
.shop-product-price{margin-top:8px;display:flex;align-items:baseline;gap:6px}
.shop-product-price del{font-size:11px;color:#a0a2ad}
.shop-product-price strong{font-size:15px;font-weight:900;color:var(--accent)}
.shop-add-btn{
  margin:0 12px 12px;height:38px;border:1px solid var(--accent-soft-2);
  border-radius:10px;background:var(--accent-soft);color:var(--accent);
  font-size:12px;font-weight:800;cursor:pointer;
}
.shop-add-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

.shop-filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.shop-filter-chip{
  min-height:34px;padding:0 14px;border-radius:999px;border:1px solid #e6e6ed;
  background:#fff;font-size:12px;font-weight:700;color:#55586a;
  display:inline-flex;align-items:center;
}
.shop-filter-chip.is-active,.shop-filter-chip:hover{
  background:var(--accent-soft);border-color:var(--accent-soft-2);color:var(--accent);
}
.shop-empty{
  text-align:center;padding:48px 20px;background:#fff;border:1px dashed #e0e0ea;border-radius:16px;
}
.shop-empty p{margin:0 0 16px;color:var(--muted)}
.shop-pagination{display:flex;gap:6px;justify-content:center;margin-top:24px}
.shop-pagination a{
  width:36px;height:36px;border-radius:10px;border:1px solid #e6e6ed;
  display:grid;place-items:center;font-size:12px;font-weight:700;color:#55586a;
}
.shop-pagination a.is-active{background:var(--accent);border-color:var(--accent);color:#fff}

.shop-detail{
  display:grid;grid-template-columns:1fr 1fr;gap:28px;
  background:#fff;border:1px solid #ececf2;border-radius:20px;padding:24px;margin-bottom:28px;
}
.shop-detail-gallery img{width:100%;aspect-ratio:210/297;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #ececf2}
.shop-detail-info h1{margin:8px 0 6px;font-size:24px;font-weight:900}
.shop-detail-sku{font-size:12px;color:var(--muted)}
.shop-detail-specs{list-style:none;margin:14px 0;padding:0;display:grid;gap:6px;font-size:13px;color:#4a4d5c}
.shop-detail-price{margin:16px 0 8px;display:flex;align-items:baseline;gap:8px}
.shop-detail-price del{color:#a0a2ad}
.shop-detail-price strong{font-size:28px;font-weight:900;color:var(--accent)}
.shop-detail-stock{font-size:13px;color:var(--muted)}
.shop-detail-actions{margin-top:18px;display:grid;gap:10px}
.shop-qty{display:inline-flex;align-items:center;border:1px solid #e6e6ed;border-radius:10px;overflow:hidden}
.shop-qty-btn{width:36px;height:38px;border:0;background:#fff;font-size:16px;cursor:pointer}
.shop-qty input{width:48px;height:38px;border:0;text-align:center;font-weight:700}
.shop-detail-desc{margin-top:24px;padding-top:18px;border-top:1px solid #f0f0f5}
.shop-detail-desc h2{margin:0 0 8px;font-size:15px}
.shop-detail-desc p{margin:0;font-size:13px;line-height:1.65;color:#4a4d5c}

.shop-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}
.shop-cart-list{display:grid;gap:12px}
.shop-cart-item{
  display:grid;grid-template-columns:88px 1fr auto;gap:14px;align-items:center;
  background:#fff;border:1px solid #ececf2;border-radius:14px;padding:14px;
}
.shop-cart-thumb img{width:88px;height:88px;object-fit:cover;border-radius:10px;background:var(--ivory)}
.shop-cart-info strong{display:block;font-size:14px;margin-bottom:4px;color:var(--charcoal)}
.shop-cart-sku{font-size:11px;color:var(--muted)}
.shop-cart-price{margin-top:6px;font-size:13px;font-weight:800;color:var(--accent)}
.shop-cart-controls{display:grid;justify-items:end;gap:8px}
.shop-cart-line{font-size:14px;color:var(--charcoal)}
.shop-cart-remove{border:0;background:none;color:#9b1c1c;font-size:12px;font-weight:700;cursor:pointer}
.shop-cart-summary{
  position:sticky;top:88px;background:#fff;border:1px solid #ececf2;border-radius:16px;padding:18px;
}
.shop-cart-summary h2{margin:0 0 14px;font-size:16px}
.shop-cart-summary dl{margin:0;display:grid;gap:10px}
.shop-cart-summary dl div{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.shop-cart-summary dt{color:var(--muted)}
.shop-cart-summary dd{margin:0;font-weight:800;color:var(--charcoal)}
.shop-cart-total{padding-top:10px;border-top:1px solid #f0f0f5;font-size:15px}
.shop-cart-total dd{color:var(--accent);font-size:18px}
.shop-cart-note{margin:10px 0 14px;font-size:11px;color:var(--muted)}
.shop-checkout-form{display:grid;gap:10px;margin-bottom:10px}
.shop-checkout-form label{display:grid;gap:4px;font-size:12px;font-weight:700;color:#4e5163}
.shop-checkout-form input,.shop-checkout-form textarea{border:1px solid #e6e5ee;border-radius:10px;padding:8px 10px;font:inherit}
.lu-checkout-block{border:1px solid #efe6e8;border-radius:14px;padding:12px;margin:0;display:grid;gap:8px;min-width:0}
.lu-checkout-block legend{padding:0 6px;font-size:13px;font-weight:800;color:#1c1a22}
.lu-checkout-block__tools{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.lu-check{display:flex!important;align-items:center;gap:6px;grid-template-columns:none!important;font-size:12px;font-weight:700;color:#5b6070}
.lu-check input{width:auto;margin:0;padding:0}
.lu-addr-book-btn{
  border:1px solid #eadfe3;border-radius:10px;padding:7px 10px;background:#fff;color:#7B2840;
  font:inherit;font-size:12px;font-weight:800;cursor:pointer
}
.lu-addr-book-layer{
  position:fixed;inset:0;z-index:12500;background:rgba(46,42,39,.42);
  display:grid;place-items:center;padding:16px
}
.lu-addr-book-layer[hidden]{display:none}
.lu-addr-book-layer__card{width:min(440px,100%);background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 16px 48px rgba(46,42,39,.24)}
.lu-addr-book-layer__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eee}
.lu-addr-book-layer__close{border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#6b6570}
.lu-addr-book-layer__body{padding:14px;max-height:min(70vh,560px);overflow:auto}
.lu-addr-book-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.lu-addr-book-item{
  width:100%;text-align:left;border:1px solid #efe6e8;border-radius:12px;padding:12px;background:#fff;cursor:pointer
}
.lu-addr-book-item:hover{border-color:#e4d2d7;background:#fcfafb}
.lu-addr-book-item em{display:block;font-style:normal;font-size:11px;font-weight:800;color:#7B2840}
.lu-addr-book-item strong{display:block;margin:4px 0 2px}
.lu-addr-book-item span{display:block;font-size:12px;color:#6b6570;line-height:1.45}
.lu-addr-book-empty{margin:8px 0 14px;color:#8a8490;font-size:13px}
.lu-addr-book-add,.lu-addr-book-form__actions button[type=submit]{
  width:100%;border:0;border-radius:10px;padding:10px;background:#7B2840;color:#fff;font-weight:800;cursor:pointer
}
.lu-addr-book-form{display:grid;gap:8px}
.lu-addr-book-form label{display:grid;gap:4px;font-size:12px;font-weight:700;color:#4e5163}
.lu-addr-book-form input{border:1px solid #e6e5ee;border-radius:10px;padding:8px 10px;font:inherit}
.lu-addr-book-form__actions{display:flex;gap:8px}
.lu-addr-book-form__actions button[type=button]{flex:0 0 auto;border:1px solid #e6e5ee;border-radius:10px;padding:10px 14px;background:#fff;cursor:pointer}
body.lu-addr-book-open{overflow:hidden}
.lu-addr{display:grid;gap:6px}
.lu-addr__legend{font-size:12px;font-weight:700;color:#4e5163}
.lu-addr__row{display:grid;grid-template-columns:1fr auto;gap:6px}
.lu-addr input{border:1px solid #e6e5ee;border-radius:10px;padding:8px 10px;font:inherit;background:#fff}
.lu-addr input[readonly]{background:#f7f6f4;cursor:pointer}
.lu-addr__search{
  border:0;border-radius:10px;padding:0 12px;font:inherit;font-size:12px;font-weight:800;
  background:#7B2840;color:#fff;cursor:pointer;white-space:nowrap
}
.lu-addr__search:hover{filter:brightness(1.06)}
.lu-addr__combined{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.lu-postcode-layer{
  position:fixed;inset:0;z-index:13000;background:rgba(46,42,39,.42);
  display:grid;place-items:center;padding:16px
}
.lu-postcode-layer[hidden]{display:none}
.lu-postcode-layer__card{background:#fff;border-radius:14px;overflow:hidden;max-width:100%;box-shadow:0 16px 48px rgba(46,42,39,.24)}
.lu-postcode-layer__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eee}
.lu-postcode-layer__head strong{font-size:15px}
.lu-postcode-layer__close{border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#6b6570}
.lu-postcode-layer__body{width:100%;background:#fff}
.lu-postcode-layer__loading{margin:0;padding:28px 16px;text-align:center;color:#6b6570;font-size:13px}
body.lu-postcode-open{overflow:hidden}

/* 플로팅 바 / FAB */
.shop-float-bar{
  position:fixed;right:24px;top:50%;transform:translateY(-50%);z-index:80;
  display:flex;flex-direction:column;gap:6px;
  background:#fff;border:1px solid #e6e6ed;border-radius:999px;padding:8px 6px;
  box-shadow:0 16px 40px rgba(46,42,39,.12);
}
.shop-float-item{
  position:relative;width:52px;padding:8px 4px;border-radius:999px;
  display:flex;flex-direction:column;align-items:center;gap:2px;
  font-size:9px;font-weight:800;color:#55586a;
}
.shop-float-item:hover{background:var(--accent-soft);color:var(--accent)}
.shop-float-item--cart{color:var(--accent)}
.shop-float-ic{font-size:18px;line-height:1}
.shop-float-badge{right:4px;top:0}
.shop-fab-cart{
  display:none;position:fixed;right:18px;bottom:18px;z-index:85;
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;font-size:22px;box-shadow:0 12px 28px var(--accent-shadow);
  display:none;align-items:center;justify-content:center;
}
.shop-fab-badge{right:2px;top:2px}

.shop-toast{
  position:fixed;left:50%;bottom:88px;transform:translateX(-50%) translateY(12px);
  z-index:200;padding:12px 18px;border-radius:12px;background:var(--charcoal);color:#fff;
  font-size:13px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;
}
.shop-toast.is-show{opacity:1;transform:translateX(-50%) translateY(0)}

@media (max-width:1280px){
  .shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop-cat-icons{grid-template-columns:repeat(4,minmax(0,1fr))}
  .shop-cat-icon-box{width:80px;height:80px}
}
@media (max-width:1080px){
  body.shop-page{min-width:0}
  .shop-wrap{grid-template-columns:1fr;padding:0 16px 100px}
  .shop-aside{display:none}
  .shop-topbar{padding:0 16px;flex-wrap:wrap;height:auto;padding-top:12px;padding-bottom:12px}
  .shop-search{max-width:none;order:3;width:100%}
  .shop-hero-inner{grid-template-columns:1fr}
  .shop-hero-visual img{height:180px}
  .shop-product-grid,.shop-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-detail{grid-template-columns:1fr}
  .shop-cart-layout{grid-template-columns:1fr}
  .shop-float-bar{
    left:0;right:0;top:auto;bottom:0;transform:none;
    flex-direction:row;justify-content:space-around;
    border-radius:18px 18px 0 0;padding:8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .shop-float-item{width:auto;flex:1;padding:6px 0}
  .shop-float-label{font-size:10px}
  .shop-fab-cart{display:none!important}
}
@media (max-width:560px){
  .shop-cat-icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .shop-cat-icon-box{width:72px;height:72px;font-size:16px}
  .shop-cart-item{grid-template-columns:72px 1fr;grid-template-rows:auto auto}
  .shop-cart-controls{grid-column:1/-1;justify-items:stretch;grid-template-columns:1fr auto auto;align-items:center}
}
