/* Clean Toss-style theme override: remove glassmorphism and use simple white UI */
:root{
  --clean-bg:#f7f8fa;
  --clean-surface:#ffffff;
  --clean-surface-2:#f2f4f6;
  --clean-text:#191f28;
  --clean-muted:#6b7684;
  --clean-line:#e5e8eb;
  --clean-blue:#3182f6;
  --clean-blue-weak:#e8f3ff;
  --clean-shadow:0 8px 24px rgba(25,31,40,.06);
  --clean-shadow-strong:0 14px 38px rgba(25,31,40,.10);
}

html,body{background:var(--clean-bg)!important;color:var(--clean-text)!important;}
body:before,body.glass-heavy:before{display:none!important;content:none!important;}

/* Remove all glass/blur effects explicitly */
*,*:before,*:after{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.glass-card,
.footer-brand-card,
.footer-contact-card,
.footer-link-card,
.site-header,
.header-main,
.category-row,
.admin-card,
.toss-section,
.product-detail-shell,
.checkout-card,
.inline-editor-panel,
.notice-popup,
.product-card,
.quick-card,
.category-card,
.event-card,
.store-card,
.coupon-card,
.cs-grid a,
.promo-card,
.showcase-card,
.gate-card,
.hero-card,
.text-widget-block{
  background:#fff!important;
  border:1px solid var(--clean-line)!important;
  box-shadow:var(--clean-shadow)!important;
}

/* Toss-like header */
body.toss-remodel .site-header,
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--clean-line)!important;
  box-shadow:none!important;
}
.utility-bar{display:none!important;}
.header-full-width .container,
body.header-full-width-enabled .site-header>.container,
body.header-full-width-enabled .site-header .container{
  width:min(100% - 48px,1680px);
}
.header-main{
  min-height:72px!important;
  display:flex!important;
  align-items:center!important;
  gap:24px!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}
.site-logo,.logo{
  font-size:25px!important;
  letter-spacing:-.05em!important;
  font-weight:950!important;
  color:var(--clean-text)!important;
  min-width:auto!important;
}
.site-logo img{max-height:40px!important;max-width:154px!important;object-fit:contain;}
.mobile-menu-toggle{
  display:none;
  border:1px solid var(--clean-line);
  background:#fff;
  color:var(--clean-text);
  border-radius:999px;
  padding:9px 14px;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}
.main-menu-nav{
  flex:1 1 auto;
  display:flex!important;
  align-items:center;
  gap:4px!important;
  min-width:0;
  overflow:visible;
}
.main-menu-item{position:relative;}
.main-menu-item>a,
.channel-nav a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 13px!important;
  border-radius:999px!important;
  color:#4e5968!important;
  background:transparent!important;
  font-size:15px!important;
  font-weight:800!important;
  white-space:nowrap;
  transition:background .16s ease,color .16s ease;
}
.main-menu-item>a:hover,
.main-menu-item>a.active,
.channel-nav a:hover,
.channel-nav a.active{
  background:var(--clean-surface-2)!important;
  color:var(--clean-text)!important;
}
.main-submenu{
  display:none;
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  min-width:188px;
  padding:8px;
  border:1px solid var(--clean-line);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--clean-shadow-strong);
}
.main-submenu .main-submenu{left:calc(100% + 8px);top:0;}
.main-menu-item:hover>.main-submenu,
.main-submenu-item:hover>.main-submenu{display:block;}
.main-submenu-item{position:relative;}
.main-submenu-item>a{
  display:flex;
  min-height:38px;
  align-items:center;
  padding:0 12px;
  border-radius:11px;
  color:#4e5968;
  font-weight:800;
  white-space:nowrap;
}
.main-submenu-item>a:hover{background:var(--clean-surface-2);color:var(--clean-text);}

.search-box{
  flex:0 1 320px!important;
  min-width:220px!important;
  height:42px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--clean-surface-2)!important;
  box-shadow:none!important;
  overflow:hidden;
}
.search-box input{background:transparent!important;padding:0 14px!important;color:var(--clean-text);}
.search-box input::placeholder{color:#8b95a1;}
.search-box button{
  min-width:60px;
  height:100%;
  background:transparent!important;
  color:#4e5968!important;
  font-weight:900!important;
}
.search-box button:hover{color:var(--clean-blue)!important;}
.member-nav{
  display:flex!important;
  align-items:center;
  gap:6px!important;
  white-space:nowrap;
}
.member-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 11px;
  border-radius:999px;
  color:#4e5968!important;
  font-size:14px;
  font-weight:800;
}
.member-nav a:hover{background:var(--clean-surface-2);color:var(--clean-text)!important;}

/* Category row as clean button menu */
.header-category-bar{
  background:#fff!important;
  border-top:1px solid #f2f4f6!important;
  border-bottom:1px solid var(--clean-line)!important;
}
.category-bar-inner{
  min-height:50px;
  display:flex!important;
  align-items:center;
  gap:12px!important;
  overflow:hidden;
}
.category-toggle{
  width:auto!important;
  height:36px!important;
  padding:0 14px!important;
  border:1px solid var(--clean-line)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--clean-text)!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:900!important;
  white-space:nowrap;
}
.category-shortcuts,
.category-service-links{
  display:flex!important;
  align-items:center;
  gap:8px!important;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.category-shortcuts::-webkit-scrollbar,
.category-service-links::-webkit-scrollbar{display:none;}
.category-shortcuts a,
.category-service-links a{
  flex:0 0 auto;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 13px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid var(--clean-line)!important;
  color:#4e5968!important;
  font-size:14px!important;
  font-weight:850!important;
  white-space:nowrap;
}
.category-shortcuts a:hover,
.category-service-links a:hover{background:var(--clean-blue-weak)!important;border-color:#c9e2ff!important;color:#1b64da!important;}
.category-service-links{margin-left:auto;}

.mega-panel{
  background:#fff!important;
  border-top:1px solid var(--clean-line)!important;
  box-shadow:var(--clean-shadow-strong)!important;
}
.mega-tabs button.active,.mega-tabs button:hover{background:var(--clean-blue-weak)!important;color:#1b64da!important;}
.mega-col{background:#fff!important;border:1px solid var(--clean-line)!important;border-radius:18px!important;box-shadow:none!important;}

/* Clean cards / buttons */
.primary-btn{background:var(--clean-blue)!important;color:#fff!important;box-shadow:none!important;}
.dark-btn{background:var(--clean-text)!important;color:#fff!important;}
.ghost-btn,.line-btn,.secondary-btn{background:#fff!important;border:1px solid var(--clean-line)!important;color:var(--clean-text)!important;box-shadow:none!important;}
.slider-controls,.home-slider-ui{background:#fff!important;border:1px solid var(--clean-line)!important;box-shadow:var(--clean-shadow)!important;}
.quick-view{background:var(--clean-text)!important;box-shadow:none!important;}

/* Footer: simple premium, no glass */
.site-footer.clean-footer,
.site-footer.lux-footer{
  margin-top:96px;
  background:#fff!important;
  border-top:1px solid var(--clean-line)!important;
  box-shadow:none!important;
  color:var(--clean-text)!important;
}
.footer-shell{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:16px;
  padding:38px 0 22px!important;
}
.footer-brand-card,
.footer-contact-card,
.footer-link-card{
  padding:24px!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid var(--clean-line)!important;
  box-shadow:none!important;
}
.footer-logo-row{display:flex;align-items:center;gap:12px;}
.footer-logo-row img{max-width:132px;max-height:42px;object-fit:contain;}
.footer-logo-row h3,.footer-contact-card h4,.footer-link-card h4{margin:0 0 12px;color:var(--clean-text);letter-spacing:-.03em;}
.footer-desc,.site-footer p,.footer-bottom{color:var(--clean-muted)!important;line-height:1.7;}
.footer-phone{font-size:28px!important;font-weight:950!important;color:var(--clean-text)!important;line-height:1.1!important;}
.footer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.footer-actions a,.footer-link-card nav a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 11px;
  border-radius:999px;
  background:var(--clean-surface-2);
  color:#4e5968!important;
  font-weight:800;
  margin:4px 4px 4px 0;
}
.footer-actions a:hover,.footer-link-card nav a:hover{background:var(--clean-blue-weak);color:#1b64da!important;}
.footer-bottom{display:flex;justify-content:space-between;gap:12px;padding:0 0 28px!important;border-top:0!important;font-size:13px;}

/* Inline editor: clean panel without glass */
.inline-edit-launch{right:22px!important;bottom:190px!important;z-index:1100;}
.inline-edit-launch button{background:var(--clean-blue)!important;color:#fff!important;border:0!important;box-shadow:var(--clean-shadow)!important;}
.inline-editor-panel{
  background:#fff!important;
  border:1px solid var(--clean-line)!important;
  box-shadow:var(--clean-shadow-strong)!important;
}
.inline-widget-toolbar{background:#191f28!important;border:0!important;box-shadow:var(--clean-shadow)!important;}
.inline-widget-toolbar button{background:#fff!important;}
.notice-popup{background:#fff!important;border:1px solid var(--clean-line)!important;box-shadow:var(--clean-shadow-strong)!important;}

/* Mobile: button-style menu */
@media(max-width:980px){
  .header-main{min-height:auto!important;padding:12px 0!important;gap:10px!important;flex-wrap:wrap!important;}
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;order:2;}
  .site-logo{order:1;}
  .member-nav{order:3;margin-left:auto;}
  .search-box{order:4;flex:1 1 100%!important;min-width:0!important;width:100%!important;height:44px!important;}
  .main-menu-nav{
    order:5;
    flex:1 1 100%;
    display:none!important;
    gap:8px!important;
    overflow-x:auto;
    padding:2px 0 4px;
    scrollbar-width:none;
  }
  .main-menu-nav.open{display:flex!important;}
  .main-menu-nav::-webkit-scrollbar{display:none;}
  .main-menu-item{flex:0 0 auto;}
  .main-menu-item>a{
    min-height:38px;
    padding:0 14px!important;
    border:1px solid var(--clean-line)!important;
    background:#fff!important;
    color:var(--clean-text)!important;
  }
  .main-menu-item>a.active,.main-menu-item>a:hover{background:var(--clean-blue-weak)!important;color:#1b64da!important;border-color:#c9e2ff!important;}
  .main-submenu{position:static;display:none;min-width:0;margin-top:6px;box-shadow:none;border-radius:14px;}
  .main-menu-item:focus-within>.main-submenu,.main-menu-item:hover>.main-submenu{display:block;}
  .category-bar-inner{min-height:auto;padding:10px 0;display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:8px!important;}
  .category-service-links{grid-column:1/-1;margin-left:0;}
  .category-shortcuts a,.category-service-links a{min-height:34px;padding:0 12px!important;background:var(--clean-surface-2)!important;border-color:transparent!important;}
  .mega-layout{grid-template-columns:1fr!important;gap:14px!important;padding:16px 0!important;}
  .mega-tabs{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px;}
  .mega-tabs button{flex:0 0 auto;width:auto!important;border:1px solid var(--clean-line)!important;border-radius:999px!important;background:#fff!important;}
  .mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .footer-shell{grid-template-columns:1fr 1fr;}
}
@media(max-width:640px){
  .header-full-width .container,
  body.header-full-width-enabled .site-header .container,
  .container{width:min(100% - 24px,1220px)!important;}
  .site-logo{font-size:23px!important;}
  .site-logo img{max-width:128px!important;max-height:36px!important;}
  .member-nav{gap:4px!important;}
  .member-nav a{font-size:13px;padding:0 8px;min-height:34px;}
  .member-nav a:first-child{display:none!important;}
  .mobile-menu-toggle{padding:8px 12px;min-height:34px;}
  .mega-grid{grid-template-columns:1fr!important;}
  .footer-shell{grid-template-columns:1fr;gap:12px;}
  .footer-bottom{display:block;}
  .footer-bottom span{display:block;margin-top:6px;}
  .fab-stack{right:12px!important;bottom:12px!important;}
  .inline-edit-launch{right:12px!important;bottom:174px!important;}
}

/* Widget output toggles + spacing controls */
.site-header .header-main{gap:var(--header-gap,14px)!important;padding:var(--header-padding,12px 0)!important;}
.site-header .main-menu-nav{gap:var(--header-gap,8px)!important;}
.site-header .category-bar-inner,.site-header .category-shortcuts,.site-header .category-service-links{gap:var(--category-gap,8px)!important;}
.widget-section{gap:var(--widget-gap,24px);}
.widget-section .product-grid,
.widget-section .widget-card-grid,
.widget-section .simple-quick,
.widget-section .simple-channel-grid,
.widget-section .selection-category-grid,
.widget-section .promo-tiles-widget,
.widget-section .lookbook-grid-widget,
.widget-section .review-photo-wall,
.widget-section .brand-widget-grid,
.widget-section .store-widget-grid{gap:var(--widget-item-gap,18px)!important;}
.widget-hero_slider{padding:var(--widget-padding,var(--site-slider-padding,0))!important;gap:var(--widget-gap,var(--site-slider-gap,20px))!important;}
.widget-hero_slider .inline-hero-slider{gap:var(--widget-gap,var(--site-slider-gap,20px));}
.widget-section.hide-widget-title .section-title h2,
.widget-section.hide-widget-title .hero-content h1,
.widget-section.hide-widget-title .text-widget-block h3,
.widget-section.hide-widget-title .consult-widget-cta h3,
.widget-section.hide-widget-title .lux-md-copy h3,
.widget-section.hide-widget-title .selection-hero h3,
.widget-section.hide-widget-title .premium-main-card h3{display:none!important;}
.widget-section.hide-widget-subtitle .section-title span,
.widget-section.hide-widget-subtitle .hero-content>p{display:none!important;}
.widget-section.hide-widget-content .hero-content>span,
.widget-section.hide-widget-content .text-widget-block p,
.widget-section.hide-widget-content .consult-widget-cta p,
.widget-section.hide-widget-content .lux-md-copy p,
.widget-section.hide-widget-content .selection-hero p,
.widget-section.hide-widget-content .premium-main-card p{display:none!important;}
.widget-section.hide-widget-button .primary-btn,
.widget-section.hide-widget-button .secondary-btn,
.widget-section.hide-widget-button .btn{display:none!important;}
.widget-section.hide-widget-image>.hero-bg,
.widget-section.hide-widget-image .hero-bg,
.widget-section.hide-widget-image .text-widget-block>img,
.widget-section.hide-widget-image .consult-widget-cta>img,
.widget-section.hide-widget-image .lux-md-copy>img,
.widget-section.hide-widget-image .selection-hero>img,
.widget-section.hide-widget-image .premium-main-card>img,
.widget-section.hide-widget-image .link-preview-thumb{display:none!important;}
.widget-output-flags,.inline-output-flags{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;border:1px solid #e5e8ef;border-radius:16px;padding:12px;background:#f8fafc;}
.widget-output-flags legend,.inline-output-flags legend{font-weight:900;color:#111827;padding:0 8px;}
.widget-output-flags .check,.inline-output-flags label{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #eef2f7;border-radius:12px;padding:9px 10px;font-weight:800;font-size:13px;}
.wide-field{grid-column:1/-1;}
.wide-field textarea{width:100%;resize:vertical;}

/* Mobile header requested layout: left main menu / right category menu, icon-only utilities */
.mobile-category-toggle,
.member-icon-btn{
  display:none;
  border:1px solid var(--clean-line);
  background:#fff;
  color:var(--clean-text);
  border-radius:999px;
  min-height:38px;
  padding:0 12px;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:6px;
  white-space:nowrap;
}
.member-icon-btn:hover,
.mobile-category-toggle:hover,
.mobile-menu-toggle:hover{background:var(--clean-surface-2);}
.nav-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;}
.nav-label{display:inline-flex;align-items:center;}

@media(max-width:980px){
  .header-main{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto auto!important;
    align-items:center!important;
    min-height:58px!important;
    padding:10px 0!important;
    gap:8px!important;
    flex-wrap:initial!important;
  }
  .mobile-menu-toggle.mobile-main-toggle{
    display:inline-flex!important;
    grid-column:1;
    grid-row:1;
    order:initial!important;
    justify-self:start;
    min-width:42px;
    padding:0 12px!important;
  }
  .site-logo,.logo{
    grid-column:2;
    grid-row:1;
    order:initial!important;
    justify-self:start;
    min-width:0!important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .member-nav{
    grid-column:3;
    grid-row:1;
    order:initial!important;
    margin-left:0!important;
    justify-self:end;
    gap:4px!important;
  }
  .member-nav a,
  .member-nav .member-icon-btn{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid var(--clean-line)!important;
    color:#4e5968!important;
    font-size:16px!important;
  }
  .member-icon-btn{display:inline-flex!important;}
  .member-nav .nav-label{display:none!important;}
  .mobile-category-toggle{
    display:inline-flex!important;
    grid-column:4;
    grid-row:1;
    justify-self:end;
    min-width:42px;
    height:38px;
    padding:0 12px!important;
  }
  .mobile-category-toggle .nav-label{display:none!important;}
  .mobile-menu-toggle .nav-label{display:none!important;}
  .search-box{
    grid-column:1/-1;
    grid-row:2;
    order:initial!important;
    display:none!important;
    flex:initial!important;
    min-width:0!important;
    width:100%!important;
    height:44px!important;
    margin-top:2px;
  }
  .search-box.mobile-open{display:flex!important;}
  .search-box button .nav-label{display:none!important;}
  .main-menu-nav{
    grid-column:1/-1;
    grid-row:3;
    order:initial!important;
    flex:initial!important;
    display:none!important;
    gap:8px!important;
    overflow-x:auto;
    padding:4px 0 2px;
    scrollbar-width:none;
  }
  .main-menu-nav.open{display:flex!important;}
  .header-category-bar .category-toggle{display:none!important;}
  .category-bar-inner{
    display:flex!important;
    grid-template-columns:none!important;
    min-height:auto!important;
    padding:8px 0!important;
  }
  .category-shortcuts{flex:1 1 auto;}
  .category-service-links{display:none!important;}
}

@media(max-width:640px){
  .header-main{
    grid-template-columns:42px minmax(0,1fr) auto 42px!important;
    gap:6px!important;
  }
  .mobile-menu-toggle.mobile-main-toggle,
  .mobile-category-toggle{
    width:38px!important;
    min-width:38px!important;
    padding:0!important;
  }
  .member-nav a,
  .member-nav .member-icon-btn{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    font-size:14px!important;
  }
  .site-logo,.logo{font-size:20px!important;}
  .site-logo img{max-width:108px!important;max-height:32px!important;}
}
@media(max-width:640px){
  .member-nav a,
  .member-nav a:first-child,
  .member-nav .member-icon-btn{display:inline-flex!important;}
}

/* ─────────────────────────────────────────────
   Mobile slide drawer menu + admin/menu/FAB fixes
───────────────────────────────────────────── */
@media(max-width:980px){
  .header-main{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:8px!important;}
  .mobile-main-toggle{order:1!important;grid-column:1!important;justify-self:start!important;display:inline-flex!important;}
  .site-logo{order:2!important;grid-column:2!important;justify-self:start!important;min-width:0!important;}
  .member-nav{order:3!important;grid-column:3!important;margin-left:0!important;display:flex!important;gap:2px!important;}
  .mobile-category-toggle{order:4!important;grid-column:4!important;display:inline-flex!important;align-items:center;justify-content:center;}
  .search-box{order:5!important;grid-column:1/-1!important;display:none!important;}
  .search-box.mobile-open{display:flex!important;}
  .dynamic-main-menu{display:none!important;}
  .member-nav .nav-label,
  .mobile-category-toggle .nav-label{display:none!important;}
  .member-nav a,
  .member-nav button,
  .mobile-category-toggle,
  .mobile-menu-toggle{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--clean-line)!important;background:#fff!important;color:var(--clean-text)!important;font-size:17px!important;line-height:1!important;}
  .mobile-main-toggle{width:auto!important;min-width:44px!important;padding:0 12px!important;gap:0!important;}
  .mobile-main-toggle .nav-label{display:none!important;}
}
.mobile-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.34);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:3000;}
.mobile-drawer-backdrop.open{opacity:1;pointer-events:auto;}
.mobile-menu-drawer{position:fixed;left:0;top:0;bottom:0;width:min(86vw,360px);background:#fff;z-index:3001;transform:translateX(-105%);transition:transform .24s ease;box-shadow:20px 0 50px rgba(15,23,42,.18);display:flex;flex-direction:column;}
.mobile-menu-drawer.open{transform:translateX(0);}
.mobile-drawer-open{overflow:hidden;}
.mobile-drawer-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--clean-line);}
.mobile-drawer-head strong{font-size:18px;font-weight:950;letter-spacing:-.04em;}
.mobile-drawer-head button{border:0;background:#f2f4f6;width:36px;height:36px;border-radius:999px;font-size:24px;line-height:1;cursor:pointer;color:#191f28;}
.mobile-drawer-nav{overflow:auto;padding:10px 14px 26px;}
.mobile-drawer-list{list-style:none;margin:0;padding:0;display:grid;gap:4px;}
.mobile-drawer-list.level-2,.mobile-drawer-list.level-3,.mobile-drawer-list.level-4,.mobile-drawer-list.level-5,.mobile-drawer-list.level-6{padding:6px 0 8px 12px;border-left:2px solid #edf1f5;margin-left:12px;}
.mobile-drawer-row{display:flex;align-items:center;gap:8px;min-height:44px;border-radius:14px;}
.mobile-drawer-row>a{flex:1;min-width:0;display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:14px;color:#191f28;font-weight:850;letter-spacing:-.02em;}
.mobile-drawer-row>a:hover{background:#f2f4f6;}
.mobile-sub-toggle{width:38px;height:38px;border:0;border-radius:12px;background:#f2f4f6;color:#4e5968;font-size:22px;line-height:1;cursor:pointer;transition:transform .16s ease,background .16s ease;}
.mobile-drawer-item.open>.mobile-drawer-row .mobile-sub-toggle{transform:rotate(90deg);background:#e8f3ff;color:#1b64da;}
.mobile-sub-panel{display:none;}
.mobile-drawer-item.open>.mobile-sub-panel{display:block;}

.admin-nav-grouped{display:grid;gap:14px;}
.admin-nav-section{display:grid;gap:4px;padding:10px 0 12px;border-top:1px solid rgba(255,255,255,.08);}
.admin-nav-section:first-of-type{border-top:0;}
.admin-nav-section>strong{display:block;padding:4px 10px 6px;color:#93a4b8;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.admin-nav-section a{padding:8px 10px!important;border-radius:10px!important;font-size:14px;}
.admin-logout{margin-top:6px;}
.admin-logout button{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#0f172a;color:#fff;padding:10px;font-weight:900;cursor:pointer;}

.inline-edit-mode .widget-section:before{display:none!important;content:none!important;}
.inline-widget-toolbar{position:absolute!important;right:10px!important;top:10px!important;left:auto!important;width:auto!important;max-width:max-content!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:4px!important;margin:0!important;border-radius:999px!important;background:rgba(25,31,40,.88)!important;box-shadow:0 10px 24px rgba(15,23,42,.16)!important;z-index:35!important;}
.inline-widget-toolbar button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;height:30px!important;padding:0 10px!important;margin:0!important;border:0!important;border-radius:999px!important;background:#fff!important;color:#191f28!important;font-size:12px!important;font-weight:900!important;line-height:1!important;}
.inline-edit-mode .widget-section{padding-top:0!important;}
.inline-edit-mode .widget-section:hover{outline-color:rgba(49,130,246,.65)!important;}

.fab-stack{display:grid!important;gap:8px!important;align-items:end!important;z-index:1200!important;}
.fab-stack .fab{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:88px!important;min-height:40px!important;padding:0 14px!important;border-radius:999px!important;color:#fff!important;background:#191f28!important;font-size:13px!important;font-weight:900!important;line-height:1.15!important;white-space:nowrap!important;text-indent:0!important;opacity:1!important;overflow:visible!important;box-shadow:0 10px 28px rgba(15,23,42,.16)!important;}
.fab-stack .fab-consult{background:#3182f6!important;}
.fab-stack .fab b{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:18px;height:18px;margin-left:4px;border-radius:999px;background:#fff;color:#191f28;font-size:11px;}
@media(max-width:640px){
  .fab-stack .fab{min-width:74px!important;min-height:36px!important;padding:0 10px!important;font-size:12px!important;}
  .mobile-menu-drawer{width:min(88vw,340px);}
}

/* 260527: 위젯 버튼 개별 커스텀 + 위/아래 마진 균일화 */
.widget-section{
  margin-top:var(--widget-margin-top,72px)!important;
  margin-bottom:var(--widget-margin-bottom,72px)!important;
}
.widget-section .section-title.compact{
  margin-top:0!important;
  margin-bottom:22px!important;
}
.widget-section.widget-full-bleed,
.widget-section.layout-hero_full_bleed{
  margin-top:var(--widget-margin-top,72px)!important;
  margin-bottom:var(--widget-margin-bottom,72px)!important;
}
.custom-widget-button{position:relative;overflow:hidden;background-size:cover!important;background-position:center!important;}
.custom-widget-button strong,.custom-widget-button span,.custom-widget-button em{position:relative;z-index:1;}
.custom-widget-button em{display:inline-flex;align-items:center;justify-content:center;width:max-content;margin-top:10px;padding:7px 11px;border-radius:999px;background:#191f28;color:#fff;font-style:normal;font-size:12px;font-weight:900;}
.temp-custom-buttons{margin-top:16px;}
@media(max-width:720px){.widget-section{margin-top:44px!important;margin-bottom:44px!important;}}

/* 260527: 위젯 좌우 여백 기본 보정 + 카테고리 자동 구성 위젯 안정화 */
.toss-section.widget-section,
.container.toss-section.widget-section{
  box-sizing:border-box;
  padding-left:max(24px, env(safe-area-inset-left))!important;
  padding-right:max(24px, env(safe-area-inset-right))!important;
}
.widget-full-bleed.toss-section.widget-section,
.layout-hero_full_bleed.toss-section.widget-section{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:clamp(18px,4vw,64px)!important;
  padding-right:clamp(18px,4vw,64px)!important;
}
.widget-section > .simple-quick,
.widget-section > .widget-card-grid,
.widget-section > .product-grid,
.widget-section > .simple-channel-grid,
.widget-section > .lux-md-pick,
.widget-section > .best-selection-widget,
.widget-section > .premium-showcase-widget,
.widget-section > .lookbook-grid-widget,
.widget-section > .image-hotspot-widget,
.widget-section > .benefit-strip-widget,
.widget-section > .promo-tiles-widget,
.widget-section > .review-photo-wall,
.widget-section > .product-strip-scroll{
  box-sizing:border-box;
  width:100%;
  padding-left:var(--widget-inner-x, clamp(12px,2.2vw,28px));
  padding-right:var(--widget-inner-x, clamp(12px,2.2vw,28px));
}
.widget-section .section-title.compact{
  padding-left:var(--widget-inner-x, clamp(12px,2.2vw,28px));
  padding-right:var(--widget-inner-x, clamp(12px,2.2vw,28px));
}
@media(max-width:720px){
  .toss-section.widget-section,
  .container.toss-section.widget-section{padding-left:16px!important;padding-right:16px!important;}
  .widget-full-bleed.toss-section.widget-section,
  .layout-hero_full_bleed.toss-section.widget-section{padding-left:16px!important;padding-right:16px!important;}
}

/* 260527: 위젯 간격 압축 + 상품 위젯 4열/2줄/초과 자동 슬라이드 + 위젯별 인터랙션 효과 */
:root{
  --widget-compact-y:24px;
  --widget-compact-y-mobile:18px;
  --widget-product-gap:16px;
}
.toss-section.widget-section,
.container.toss-section.widget-section,
.widget-section,
.widget-section.widget-full-bleed,
.widget-section.layout-hero_full_bleed{
  margin-top:var(--widget-margin-top,var(--widget-compact-y))!important;
  margin-bottom:var(--widget-margin-bottom,var(--widget-compact-y))!important;
}
.widget-section .section-title.compact{
  margin-top:0!important;
  margin-bottom:14px!important;
}
.widget-section .section-title.compact h2{line-height:1.12;}
.widget-section > .simple-quick,
.widget-section > .widget-card-grid,
.widget-section > .product-grid,
.widget-section > .simple-channel-grid,
.widget-section > .lux-md-pick,
.widget-section > .best-selection-widget,
.widget-section > .premium-showcase-widget,
.widget-section > .lookbook-grid-widget,
.widget-section > .image-hotspot-widget,
.widget-section > .benefit-strip-widget,
.widget-section > .promo-tiles-widget,
.widget-section > .review-photo-wall,
.widget-section > .product-strip-scroll{
  padding-left:var(--widget-inner-x,clamp(16px,2vw,28px))!important;
  padding-right:var(--widget-inner-x,clamp(16px,2vw,28px))!important;
}
.widget-section .product-grid,
.widget-section .product-grid.compact,
.widget-section .lux-md-products .product-grid,
.widget-section .tab-panel .product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:var(--widget-item-gap,var(--widget-product-gap))!important;
  align-items:stretch;
}
.widget-section .product-grid .product-card{
  min-width:0;
  transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease, flex-basis .25s ease, filter .22s ease;
}
.widget-section .product-grid .product-card:hover{
  transform:translateY(-5px) scale(1.018);
  z-index:3;
}
.widget-section .product-grid .product-image img,
.widget-section .product-strip-scroll .product-image img{
  transition:transform .38s ease, opacity .24s ease;
}
.widget-section .product-grid .product-card:hover .product-image img,
.widget-section .product-strip-scroll .product-card:hover .product-image img{
  transform:scale(1.075);
}
.widget-section .product-grid.product-auto-slider{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:var(--widget-item-gap,var(--widget-product-gap))!important;
  overflow-x:auto;
  overflow-y:visible;
  overscroll-behavior-x:contain;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding-top:8px;
  padding-bottom:20px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);
}
.widget-section .product-grid.product-auto-slider::-webkit-scrollbar{display:none;}
.widget-section .product-grid.product-auto-slider .product-card{
  flex:0 0 calc((100% - (var(--widget-item-gap,var(--widget-product-gap)) * 3)) / 4);
  max-width:calc((100% - (var(--widget-item-gap,var(--widget-product-gap)) * 3)) / 4);
}
.widget-section .product-grid.product-auto-slider:hover .product-card{
  flex-basis:clamp(176px,20%,250px);
  max-width:clamp(176px,20%,250px);
  opacity:.72;
  filter:saturate(.92);
}
.widget-section .product-grid.product-auto-slider .product-card:hover{
  flex-basis:clamp(280px,34%,390px);
  max-width:clamp(280px,34%,390px);
  opacity:1;
  filter:saturate(1.08);
  transform:translateY(-8px) scale(1.025);
  box-shadow:0 22px 54px rgba(15,23,42,.16)!important;
}
.widget-section .product-grid.product-auto-slider:before,
.widget-section .product-grid.product-auto-slider:after{
  content:'';
  flex:0 0 1px;
}
.widget-section .product-strip-scroll{
  scroll-behavior:smooth;
  scrollbar-width:none;
}
.widget-section .product-strip-scroll::-webkit-scrollbar{display:none;}
.widget-section .product-strip-scroll .product-card{
  transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease, min-width .25s ease;
}
.widget-section .product-strip-scroll:hover .product-card{opacity:.76;}
.widget-section .product-strip-scroll .product-card:hover{
  opacity:1;
  min-width:300px;
  transform:translateY(-6px) scale(1.015);
}
.widget-card-grid,
.simple-quick,
.simple-channel-grid,
.selection-category-grid,
.lookbook-grid-widget,
.benefit-strip-widget,
.promo-tiles-widget,
.review-photo-wall,
.store-widget-grid,
.coupon-widget-grid{
  gap:var(--widget-item-gap,14px)!important;
}
.widget-section .widget-card,
.widget-section .custom-widget-button,
.widget-section .selection-category-card,
.widget-section .lookbook-card,
.widget-section .benefit-chip,
.widget-section .promo-tile,
.widget-section .brand-chip,
.widget-section .review-mini,
.widget-section .review-photo-card{
  transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, opacity .22s ease;
}
.widget-section .widget-card:hover,
.widget-section .custom-widget-button:hover,
.widget-section .selection-category-card:hover,
.widget-section .lookbook-card:hover,
.widget-section .benefit-chip:hover,
.widget-section .promo-tile:hover,
.widget-section .brand-chip:hover,
.widget-section .review-mini:hover,
.widget-section .review-photo-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 42px rgba(15,23,42,.10)!important;
}
.widget-section .custom-widget-button::after,
.widget-section .promo-tile::after,
.widget-section .benefit-chip::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.0) 35%,rgba(255,255,255,.42) 47%,rgba(255,255,255,0) 62%,transparent 100%);
  transform:translateX(-120%);
  transition:transform .58s ease;
}
.widget-section .custom-widget-button:hover::after,
.widget-section .promo-tile:hover::after,
.widget-section .benefit-chip:hover::after{transform:translateX(120%);}
.inline-edit-mode .widget-section{margin-top:max(18px,var(--widget-compact-y))!important;margin-bottom:max(18px,var(--widget-compact-y))!important;}
.widget-section.widget-reveal-ready{opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .45s ease;}
.widget-section.widget-reveal-ready.is-visible{opacity:1;transform:none;}
.layout-card_slider .hero-slide .hero-content,
.layout-slide_card .hero-slide .hero-content{
  max-width:520px;
  margin-left:clamp(14px,5vw,72px);
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 52px rgba(15,23,42,.10);
  padding:clamp(24px,4vw,46px);
}
@media(max-width:1100px){
  .widget-section .product-grid,
  .widget-section .product-grid.compact,
  .widget-section .lux-md-products .product-grid,
  .widget-section .tab-panel .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .widget-section .product-grid.product-auto-slider .product-card{flex-basis:calc((100% - (var(--widget-item-gap,var(--widget-product-gap)) * 2)) / 3);max-width:calc((100% - (var(--widget-item-gap,var(--widget-product-gap)) * 2)) / 3);}
}
@media(max-width:720px){
  .toss-section.widget-section,
  .container.toss-section.widget-section,
  .widget-section,
  .widget-section.widget-full-bleed,
  .widget-section.layout-hero_full_bleed{margin-top:var(--widget-margin-top,var(--widget-compact-y-mobile))!important;margin-bottom:var(--widget-margin-bottom,var(--widget-compact-y-mobile))!important;}
  .widget-section .section-title.compact{margin-bottom:10px!important;}
  .widget-section .product-grid,
  .widget-section .product-grid.compact,
  .widget-section .lux-md-products .product-grid,
  .widget-section .tab-panel .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .widget-section .product-grid.product-auto-slider .product-card{flex-basis:calc((100% - 12px) / 2);max-width:calc((100% - 12px) / 2);}
  .widget-section .product-grid.product-auto-slider:hover .product-card{flex-basis:calc((100% - 12px) / 2);max-width:calc((100% - 12px) / 2);opacity:1;}
  .widget-section .product-grid.product-auto-slider .product-card:hover{flex-basis:72%;max-width:72%;}
}
@media(max-width:460px){
  .widget-section .product-grid,
  .widget-section .product-grid.compact,
  .widget-section .lux-md-products .product-grid,
  .widget-section .tab-panel .product-grid{grid-template-columns:1fr 1fr!important;}
}
@media(prefers-reduced-motion:reduce){
  .widget-section.widget-reveal-ready{opacity:1;transform:none;transition:none;}
  .widget-section .product-grid.product-auto-slider{scroll-behavior:auto;}
}

/* 260527: 모바일 위젯 1열 중심 출력 보정 */
@media(max-width:720px){
  .widget-section .product-grid,
  .widget-section .product-grid.compact,
  .widget-section .lux-md-products .product-grid,
  .widget-section .tab-panel .product-grid,
  .widget-section .category-grid,
  .widget-section .quick-grid,
  .widget-section .widget-card-grid,
  .widget-section .simple-quick,
  .widget-section .simple-channel-grid,
  .widget-section .selection-category-grid,
  .widget-section .lookbook-grid-widget,
  .widget-section .benefit-strip-widget,
  .widget-section .promo-tiles-widget,
  .widget-section .review-photo-wall,
  .widget-section .store-widget-grid,
  .widget-section .coupon-widget-grid{
    grid-template-columns:1fr!important;
  }

  .widget-section .product-grid.product-auto-slider{
    display:flex!important;
    grid-template-columns:none!important;
    gap:12px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .widget-section .product-grid.product-auto-slider .product-card,
  .widget-section .product-grid.product-auto-slider:hover .product-card{
    flex:0 0 min(88%, 420px)!important;
    max-width:min(88%, 420px)!important;
    opacity:1!important;
    filter:none!important;
  }

  .widget-section .product-grid.product-auto-slider .product-card:hover{
    flex-basis:min(92%, 460px)!important;
    max-width:min(92%, 460px)!important;
    transform:translateY(-4px) scale(1.01)!important;
  }

  .widget-section .product-strip-scroll .product-card{
    min-width:min(88vw, 420px)!important;
  }

  .widget-section .product-strip-scroll .product-card:hover{
    min-width:min(92vw, 460px)!important;
  }
}

@media(max-width:460px){
  .widget-section .product-grid,
  .widget-section .product-grid.compact,
  .widget-section .lux-md-products .product-grid,
  .widget-section .tab-panel .product-grid,
  .widget-section .category-grid,
  .widget-section .quick-grid,
  .widget-section .widget-card-grid,
  .widget-section .simple-quick,
  .widget-section .simple-channel-grid,
  .widget-section .selection-category-grid,
  .widget-section .lookbook-grid-widget,
  .widget-section .benefit-strip-widget,
  .widget-section .promo-tiles-widget,
  .widget-section .review-photo-wall,
  .widget-section .store-widget-grid,
  .widget-section .coupon-widget-grid{
    grid-template-columns:1fr!important;
  }
}

/* Board / post writing polish */
.modern-board-hero,
.board-write-page,
.board-detail-page{
  padding-top:32px;
  padding-bottom:32px;
}
.board-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid #edf0f3;
}
.eyebrow{
  margin:0 0 8px;
  color:#3182f6;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.board-hero h1,.board-write-head h1,.board-detail-head h1{
  margin:0;
  color:#191f28;
  font-size:clamp(28px,4vw,44px);
  letter-spacing:-.04em;
}
.board-hero p,.board-write-head p{
  margin:10px 0 0;
  color:#6b7684;
}
.board-shell{
  padding-top:24px;
}
.board-list-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#6b7684;
  margin-bottom:12px;
}
.board-list-head strong{color:#191f28;}
.board-card-list{display:grid;gap:12px;}
.board-row-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:22px 24px;
  border:1px solid #edf0f3;
  border-radius:22px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
  transition:.18s ease;
}
.board-row-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.08);}
.board-row-main h2{margin:6px 0 8px;font-size:19px;letter-spacing:-.02em;color:#191f28;}
.board-row-main p{margin:0;color:#6b7684;line-height:1.55;}
.board-no{font-size:12px;color:#8b95a1;font-weight:800;}
.board-meta{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;color:#8b95a1;font-size:13px;}
.board-arrow{font-size:32px;color:#c4c9d1;}
.empty-board{padding:50px;text-align:center;border:1px dashed #d8dee8;border-radius:22px;color:#6b7684;display:grid;gap:6px;}
.board-write-head{margin-bottom:20px;}
.board-write-form,.board-detail-card{
  background:#fff;
  border:1px solid #edf0f3;
  border-radius:28px;
  padding:28px;
  box-shadow:0 12px 34px rgba(15,23,42,.05);
}
.board-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.board-form-grid label{display:grid;gap:8px;font-weight:700;color:#333d4b;}
.board-form-grid .wide{grid-column:1/-1;}
.board-form-grid input,.board-write-form textarea,.simple-message-body{
  width:100%;
  border:1px solid #e5e8eb;
  border-radius:14px;
  padding:13px 14px;
  background:#f9fafb;
  color:#191f28;
  outline:none;
}
.board-form-grid input:focus,.rich-input:focus,.simple-message-body:focus{border-color:#3182f6;background:#fff;box-shadow:0 0 0 4px rgba(49,130,246,.10);}
.rich-editor-box{margin-top:16px;border:1px solid #e5e8eb;border-radius:20px;overflow:hidden;background:#fff;}
.rich-editor-box.compact{margin:10px 0;grid-column:1/-1;width:100%;}
.rich-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;background:#f7f9fb;border-bottom:1px solid #edf0f3;}
.rich-toolbar button,.rich-toolbar select,.toolbar-color{
  height:36px;
  border:1px solid #e5e8eb;
  border-radius:10px;
  background:#fff;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#333d4b;
}
.toolbar-color input{width:28px;height:24px;padding:0;border:0;background:transparent;}
.rich-input{min-height:280px;padding:18px;line-height:1.75;color:#191f28;outline:none;}
.rich-editor-box.compact .rich-input{min-height:140px;}
.rich-content{font-size:16px;line-height:1.8;color:#333d4b;}
.rich-content img{max-width:100%;height:auto;border-radius:14px;}
.board-upload-box{margin-top:16px;padding:18px;border:1px dashed #ccd4df;border-radius:18px;background:#fbfcfd;display:grid;gap:10px;}
.board-upload-box label{font-weight:800;color:#191f28;}
.board-upload-box p{margin:0;color:#8b95a1;font-size:13px;}
.board-submit-row{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap;}
.check-pill{margin-right:auto;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#f2f4f6;color:#333d4b;font-weight:700;}
.board-detail-head{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #edf0f3;padding-bottom:18px;margin-bottom:22px;}
.board-attachments{margin-top:28px;padding-top:22px;border-top:1px solid #edf0f3;}
.board-attachments h2,.board-answer-box h2{font-size:20px;margin:0 0 14px;}
.attachment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.attachment-image,.attachment-file{border:1px solid #edf0f3;border-radius:18px;background:#f9fafb;overflow:hidden;text-decoration:none;color:#191f28;display:grid;}
.attachment-image img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#fff;}
.attachment-image span,.attachment-file span{padding:10px;font-size:13px;word-break:break-all;}
.attachment-file{padding:16px;gap:6px;}
.attachment-file b{color:#3182f6;}
.attachment-file small{color:#8b95a1;}
.board-answer-box{margin-top:24px;background:#f5f9ff;border:1px solid #d8e9ff;border-radius:20px;padding:20px;color:#333d4b;}
.product-qna-form{grid-template-columns:repeat(2,minmax(0,1fr));}
.product-qna-form .rich-editor-box,.product-qna-form input[type=file],.product-qna-form label,.product-qna-form button{grid-column:1/-1;}
.simple-message-body{min-height:180px;margin-top:12px;}
@media (max-width:720px){
  .board-hero,.board-detail-head{align-items:flex-start;flex-direction:column;}
  .board-write-form,.board-detail-card{padding:18px;border-radius:22px;}
  .board-form-grid{grid-template-columns:1fr;}
  .attachment-grid{grid-template-columns:1fr;}
  .board-row-card{padding:18px;border-radius:18px;}
  .rich-input{min-height:220px;}
}


/* 260529 patch: 위젯 사방 margin 4px + 좌우 자동 여백 제거 + 임베드 버튼 숨김 + 게시판 이미지 파일명 제거 */
:root{
  --widget-compact-y:4px!important;
  --widget-compact-y-mobile:4px!important;
  --widget-margin-top:4px!important;
  --widget-margin-bottom:4px!important;
  --widget-margin-left:4px!important;
  --widget-margin-right:4px!important;
  --widget-inner-x:4px!important;
}
.toss-section.widget-section,
.container.toss-section.widget-section,
.widget-section,
.widget-section.widget-full-bleed,
.widget-section.layout-hero_full_bleed,
.widget-full-bleed.toss-section.widget-section,
.layout-hero_full_bleed.toss-section.widget-section{
  box-sizing:border-box!important;
  width:calc(100% - 8px)!important;
  max-width:none!important;
  margin-top:4px!important;
  margin-right:4px!important;
  margin-bottom:4px!important;
  margin-left:4px!important;
  padding:4px!important;
  gap:4px!important;
}
.toss-section.widget-section.container,
.container.toss-section.widget-section{
  margin-left:4px!important;
  margin-right:4px!important;
}
.widget-section > .simple-quick,
.widget-section > .widget-card-grid,
.widget-section > .product-grid,
.widget-section > .simple-channel-grid,
.widget-section > .lux-md-pick,
.widget-section > .best-selection-widget,
.widget-section > .premium-showcase-widget,
.widget-section > .lookbook-grid-widget,
.widget-section > .image-hotspot-widget,
.widget-section > .benefit-strip-widget,
.widget-section > .promo-tiles-widget,
.widget-section > .review-photo-wall,
.widget-section > .product-strip-scroll,
.widget-section > .widget-link-preview,
.widget-section > .widget-video-box{
  padding-left:4px!important;
  padding-right:4px!important;
  gap:4px!important;
}
.widget-section .section-title,
.widget-section .section-title.compact,
.widget-section .link-preview-toolbar,
.widget-section .embed-action-row,
.widget-section .shortcut-embed-actions{
  margin:4px!important;
  padding:4px!important;
  gap:4px!important;
}
.widget-section .embed-toolbar-actions,
.widget-section .shortcut-embed-actions,
.product-interactive-section .embed-action-row,
.product-auto-embed-head .embed-toolbar-actions{
  display:none!important;
}
.board-attachments{margin-top:4px!important;padding-top:4px!important;}
.attachment-grid{gap:4px!important;}
.attachment-image{
  padding:4px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.attachment-image img{
  width:100%!important;
  height:auto!important;
  max-height:520px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  display:block!important;
  background:#fff!important;
}
.attachment-image span,
.board-image-tooltip-panel strong[data-board-image-title]{display:none!important;}
.board-map-card .board-responsive-iframe.map-frame{padding-bottom:56%!important;background:#0f172a;}
@media(max-width:720px){
  .toss-section.widget-section,
  .container.toss-section.widget-section,
  .widget-section,
  .widget-section.widget-full-bleed,
  .widget-section.layout-hero_full_bleed,
  .widget-full-bleed.toss-section.widget-section,
  .layout-hero_full_bleed.toss-section.widget-section{
    width:calc(100% - 8px)!important;
    margin:4px!important;
    padding:4px!important;
  }
  .board-map-card .board-responsive-iframe.map-frame{padding-bottom:72%!important;}
}

/* 260529 final fix: 위젯 폭은 헤더/푸터 컨테이너 기준, 슬라이드는 기존 레이아웃 설정 유지 */
:root{
  --zip-site-container-max:1220px;
  --zip-site-container-gutter:32px;
}
/* 일반 위젯: 창 끝까지 붙지 않고 header/footer .container와 같은 최대폭 */
body .toss-section.widget-section:not(.widget-hero_slider),
body .container.toss-section.widget-section:not(.widget-hero_slider),
body .toss-section.widget-section.container:not(.widget-hero_slider),
body .widget-section.container:not(.widget-hero_slider),
body .widget-section.widget-full-bleed:not(.widget-hero_slider),
body .widget-section.layout-hero_full_bleed:not(.widget-hero_slider),
body .widget-full-bleed.toss-section.widget-section:not(.widget-hero_slider),
body .layout-hero_full_bleed.toss-section.widget-section:not(.widget-hero_slider){
  box-sizing:border-box!important;
  width:min(var(--zip-site-container-max), calc(100% - var(--zip-site-container-gutter)))!important;
  max-width:var(--zip-site-container-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-top:4px!important;
  margin-bottom:4px!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
/* 일반 위젯 내부만 4px 압축 유지 */
body .toss-section.widget-section:not(.widget-hero_slider){
  padding:4px!important;
  gap:4px!important;
}
body .widget-section:not(.widget-hero_slider) > .container,
body .widget-section:not(.widget-hero_slider) .hero-content.container{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* 슬라이드: 기존 관리자 레이아웃 설정 유지. 전체폭 슬라이드는 전체폭, 그 외 슬라이드는 컨테이너폭 */
body .toss-section.widget-section.widget-hero_slider.widget-full-bleed,
body .toss-section.widget-section.widget-hero_slider.layout-hero_full_bleed,
body .widget-full-bleed.toss-section.widget-section.widget-hero_slider,
body .layout-hero_full_bleed.toss-section.widget-section.widget-hero_slider{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body .toss-section.widget-section.widget-hero_slider:not(.widget-full-bleed):not(.layout-hero_full_bleed),
body .container.toss-section.widget-section.widget-hero_slider:not(.widget-full-bleed):not(.layout-hero_full_bleed){
  box-sizing:border-box!important;
  width:min(var(--zip-site-container-max), calc(100% - var(--zip-site-container-gutter)))!important;
  max-width:var(--zip-site-container-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:720px){
  body .toss-section.widget-section:not(.widget-hero_slider),
  body .container.toss-section.widget-section:not(.widget-hero_slider),
  body .toss-section.widget-section.container:not(.widget-hero_slider),
  body .widget-section.container:not(.widget-hero_slider),
  body .widget-section.widget-full-bleed:not(.widget-hero_slider),
  body .widget-section.layout-hero_full_bleed:not(.widget-hero_slider),
  body .widget-full-bleed.toss-section.widget-section:not(.widget-hero_slider),
  body .layout-hero_full_bleed.toss-section.widget-section:not(.widget-hero_slider),
  body .toss-section.widget-section.widget-hero_slider:not(.widget-full-bleed):not(.layout-hero_full_bleed),
  body .container.toss-section.widget-section.widget-hero_slider:not(.widget-full-bleed):not(.layout-hero_full_bleed){
    width:min(var(--zip-site-container-max), calc(100% - var(--zip-site-container-gutter)))!important;
    max-width:var(--zip-site-container-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}



/* 260601: force logo area fill */
.site-header .site-logo,.site-header .logo.site-logo{width:clamp(190px,22vw,320px)!important;min-width:clamp(190px,22vw,320px)!important;height:78px!important;min-height:78px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;}
.site-header .site-logo.branch-logo-active,.site-header .logo.site-logo.branch-logo-active{width:clamp(240px,28vw,410px)!important;min-width:clamp(240px,28vw,410px)!important;}
.site-header .site-logo img,.site-header .logo.site-logo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:left center!important;}
.footer-logo-row img{width:clamp(190px,24vw,340px)!important;height:82px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:left center!important;}
@media(max-width:720px){.site-header .site-logo,.site-header .logo.site-logo{width:clamp(142px,50vw,210px)!important;min-width:clamp(142px,50vw,210px)!important;height:54px!important;min-height:54px!important}.site-header .site-logo.branch-logo-active,.site-header .logo.site-logo.branch-logo-active{width:clamp(160px,58vw,245px)!important;min-width:clamp(160px,58vw,245px)!important}}

/* 260601: 로고가 과하게 커진 문제 보정 - 기존 여백 없는 SVG는 유지하고 표시 영역만 1/2 축소 */
.site-header .site-logo,
.site-header .logo.site-logo,
.site-header .site-logo.logo-mode-image,
.site-header .logo.site-logo.logo-mode-image{
  width:clamp(95px,11vw,160px)!important;
  min-width:clamp(95px,11vw,160px)!important;
  height:39px!important;
  min-height:39px!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
  overflow:hidden!important;
}
.site-header .site-logo.branch-logo-active,
.site-header .logo.site-logo.branch-logo-active,
.site-header .site-logo.logo-mode-image.branch-logo-active,
.site-header .logo.site-logo.logo-mode-image.branch-logo-active{
  width:clamp(120px,14vw,205px)!important;
  min-width:clamp(120px,14vw,205px)!important;
  height:41px!important;
  min-height:41px!important;
}
.site-header .site-logo img,
.site-header .logo.site-logo img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  object-position:center center!important;
  display:block!important;
}
.footer-logo-row img{
  width:clamp(95px,12vw,170px)!important;
  height:41px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  object-position:center center!important;
}
@media(max-width:980px){
  .site-header .site-logo,
  .site-header .logo.site-logo,
  .site-header .site-logo.logo-mode-image,
  .site-header .logo.site-logo.logo-mode-image{width:clamp(86px,24vw,130px)!important;min-width:clamp(86px,24vw,130px)!important;height:34px!important;min-height:34px!important;}
  .site-header .site-logo.branch-logo-active,
  .site-header .logo.site-logo.branch-logo-active,
  .site-header .site-logo.logo-mode-image.branch-logo-active,
  .site-header .logo.site-logo.logo-mode-image.branch-logo-active{width:clamp(105px,30vw,160px)!important;min-width:clamp(105px,30vw,160px)!important;height:36px!important;min-height:36px!important;}
}
@media(max-width:560px){
  .site-header .site-logo,
  .site-header .logo.site-logo,
  .site-header .site-logo.logo-mode-image,
  .site-header .logo.site-logo.logo-mode-image{width:clamp(80px,34vw,112px)!important;min-width:clamp(80px,34vw,112px)!important;height:30px!important;min-height:30px!important;}
  .site-header .site-logo.branch-logo-active,
  .site-header .logo.site-logo.branch-logo-active,
  .site-header .site-logo.logo-mode-image.branch-logo-active,
  .site-header .logo.site-logo.logo-mode-image.branch-logo-active{width:clamp(96px,42vw,136px)!important;min-width:clamp(96px,42vw,136px)!important;height:32px!important;min-height:32px!important;}
  .footer-logo-row img{width:130px!important;height:32px!important;}
}
