/* BAZARCO PRO 380.8.3.4.2.1.14
   Resilient storefront identity, balanced hero, cart feedback and stable
   operator navigation authority. Commerce validation remains server-owned. */

/* Keep a deliberate breathing space between the global category rail and the store hero. */
.storefront-pro-hero.storefront-experience-authority-v3808342114{
  padding-block-start:clamp(14px,1.25vw,22px)!important;
}
.storefront-experience-authority-v3808342114>.container{
  width:min(calc(100vw - 48px),1660px)!important;
  max-width:1660px!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  box-sizing:border-box!important;
}
.storefront-experience-authority-v3808342114 .storefront-cover{
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  margin-inline:auto!important;
  padding:clamp(18px,2vw,34px)!important;
  box-sizing:border-box!important;
}
.storefront-experience-authority-v3808342114 .storefront-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(230px,300px)!important;
  gap:clamp(18px,2vw,34px)!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  direction:rtl!important;
}
.storefront-experience-authority-v3808342114 .storefront-brand-lockup-v3808342114{
  grid-column:1!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:clamp(16px,1.7vw,26px)!important;
  align-items:center!important;
  min-width:0!important;
  direction:rtl!important;
}
.storefront-experience-authority-v3808342114 .storefront-logo{
  justify-self:start!important;
  direction:rtl!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  border-radius:30px!important;
  padding:8px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 20px 48px rgba(2,6,23,.24)!important;
  box-sizing:border-box!important;
}
.storefront-experience-authority-v3808342114 .storefront-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:0!important;
  border-radius:22px!important;
}
.storefront-experience-authority-v3808342114 .storefront-logo-fallback-v3808342114,
.storefront-mini-identity-v155 .storefront-logo-fallback-v3808342114{
  display:none!important;
  width:100%!important;
  height:100%!important;
  place-items:center!important;
  color:var(--store-accent,#136bff)!important;
  font-size:clamp(24px,2vw,38px)!important;
  font-weight:1000!important;
  line-height:1!important;
  background:linear-gradient(145deg,#fff,#eef4ff)!important;
  border-radius:inherit!important;
}
.storefront-experience-authority-v3808342114 .storefront-copy{
  min-width:0!important;
  direction:rtl!important;
}
.storefront-experience-authority-v3808342114 .storefront-actions{
  grid-column:2!important;
  justify-self:stretch!important;
  direction:rtl!important;
  margin:0!important;
}
.storefront-experience-authority-v3808342114.storefront-identity-name_only .storefront-brand-lockup-v3808342114{grid-template-columns:minmax(0,1fr)!important;}
.storefront-experience-authority-v3808342114.storefront-identity-name_only .storefront-copy{align-self:center!important;}
.storefront-experience-authority-v3808342114.storefront-identity-logo_only .storefront-logo{
  width:190px!important;
  height:148px!important;
  min-width:190px!important;
  border-radius:34px!important;
  padding:12px!important;
}
.storefront-name-visually-hidden-v3808342114{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
html.storefront-logo-load-failed-v3808342114 [data-store-logo-frame-v3808342114] img{
  display:none!important;
}
html.storefront-logo-load-failed-v3808342114 [data-store-logo-frame-v3808342114] .storefront-logo-fallback-v3808342114{
  display:grid!important;
}
html.storefront-logo-load-failed-v3808342114 .storefront-name-visually-hidden-v3808342114{
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:normal!important;
}

/* The compact rail follows the same identity choice without leaving empty placeholders. */
.storefront-mini-identity-v155[class*="storefront-mini-identity-mode-"]{
  min-width:0!important;
}
.storefront-mini-identity-mode-name_only .storefront-mini-logo-v155{
  display:none!important;
}
.storefront-mini-identity-mode-logo_only .storefront-mini-logo-v155{
  width:64px!important;
  height:48px!important;
  min-width:64px!important;
  border-radius:14px!important;
}
.storefront-mini-identity-mode-logo_only .storefront-mini-logo-v155 img{
  object-fit:contain!important;
}

/* First-party upload is primary; external URLs remain an explicit fallback. */
.store-brand-source-v3808342114{
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
  padding:14px!important;
  border:1px solid #dbeafe!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#f8fbff,#fff)!important;
}
.store-brand-source-v3808342114>b{color:#0f172a!important;font-size:15px!important;}
.store-brand-source-v3808342114 label{display:grid!important;gap:7px!important;margin:0!important;}
.store-brand-source-v3808342114 input[type="file"]{padding:9px!important;background:#fff!important;}
.store-brand-source-v3808342114 small{color:#64748b!important;line-height:1.65!important;font-weight:750!important;}
.store-cover-source-v3808342114{margin:14px 0!important;}

/* Identity selector: the checked input is the source of truth and the card is the hit target. */
.store-identity-mode-settings-v3808342114{
  margin:18px 0!important;
  padding:18px!important;
  border:1px solid #dbeafe!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,#f8fbff,#fff)!important;
  box-shadow:0 16px 38px rgba(15,23,42,.05)!important;
}
.store-identity-mode-head-v3808342114{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
.store-identity-mode-head-v3808342114 span{
  display:block!important;
  color:#2563eb!important;
  font-size:11px!important;
  font-weight:1000!important;
  letter-spacing:.08em!important;
}
.store-identity-mode-head-v3808342114 h2{
  margin:4px 0!important;
  color:#0f172a!important;
  font-size:21px!important;
}
.store-identity-mode-head-v3808342114 p{
  margin:0!important;
  color:#64748b!important;
  line-height:1.75!important;
  font-weight:750!important;
}
.store-identity-mode-head-v3808342114>b{
  flex:0 0 auto!important;
  padding:7px 11px!important;
  border:1px solid #bfdbfe!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:11px!important;
}
.store-identity-mode-grid-v3808342114{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.store-identity-mode-card-v3808342114{
  position:relative!important;
  display:grid!important;
  gap:7px!important;
  min-width:0!important;
  padding:12px!important;
  border:1px solid #dce7f5!important;
  border-radius:18px!important;
  background:#fff!important;
  cursor:pointer!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.store-identity-mode-card-v3808342114:has(input:checked){
  border-color:#2563eb!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.11),0 14px 30px rgba(37,99,235,.10)!important;
  transform:translateY(-1px)!important;
}
.store-identity-mode-card-v3808342114:has(input:disabled){
  cursor:not-allowed!important;
  opacity:.58!important;
}
.store-identity-mode-card-v3808342114 input{
  position:absolute!important;
  inset-block-start:11px!important;
  inset-inline-end:11px!important;
  width:18px!important;
  height:18px!important;
  accent-color:#2563eb!important;
}
.store-identity-mode-card-v3808342114>b{color:#0f172a!important;font-size:14px!important;}
.store-identity-mode-card-v3808342114>small{color:#64748b!important;line-height:1.6!important;font-weight:750!important;}
.identity-preview-v3808342114{
  min-height:74px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:10px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#172554,#1d4ed8 58%,#7c3aed)!important;
  color:#fff!important;
  overflow:hidden!important;
}
.identity-preview-v3808342114 i{
  width:48px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 48px!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#1d4ed8!important;
  font-size:9px!important;
  font-style:normal!important;
  font-weight:1000!important;
}
.identity-preview-v3808342114 i img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:inherit!important;}
.identity-preview-v3808342114 i img[hidden]{display:none!important;}
.identity-preview-v3808342114 strong{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.identity-preview-v3808342114.logo i{width:78px!important;height:54px!important;flex-basis:78px!important;}

/* A clear, reversible submit state prevents repeated cart posts and gives immediate feedback. */
[data-product-cart-submit-v3808342114].is-submitting-v3808342114{
  position:relative!important;
  cursor:wait!important;
  opacity:.88!important;
  box-shadow:none!important;
}
body.admin-page .admin-hero-widget strong,
body[class*="route-admin"] .admin-hero-widget strong{
  font-size:clamp(28px,2.1vw,40px)!important;
  line-height:1.2!important;
}

/* On wide dashboards the frame stays anchored and only the long menu scrolls.
   Smaller laptop/tablet layouts return to natural flow instead of dragging a
   full-height sidebar beside a narrow content column. */
@media (min-width:1181px){
  body.admin-page aside.admin-sidebar.admin-sidebar-unified-v167,
  body[class*="route-admin"] aside.admin-sidebar.admin-sidebar-unified-v167,
  body.vendor-page aside.vendor-sidebar-pro{
    position:sticky!important;
    top:16px!important;
    height:calc(100vh - 32px)!important;
    height:calc(100dvh - 32px)!important;
    max-height:calc(100vh - 32px)!important;
    max-height:calc(100dvh - 32px)!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
    padding-top:0!important;
  }
  body.admin-page aside.admin-sidebar.admin-sidebar-unified-v167>.admin-profile-card,
  body[class*="route-admin"] aside.admin-sidebar.admin-sidebar-unified-v167>.admin-profile-card,
  body.vendor-page aside.vendor-sidebar-pro>.vendor-store-card,
  body.vendor-page aside.vendor-sidebar-pro>.vendor-tip-card{
    flex:0 0 auto!important;
    position:relative!important;
    z-index:2!important;
    margin:0!important;
  }
  body.admin-page aside.admin-sidebar.admin-sidebar-unified-v167>.admin-menu-unified-v167,
  body[class*="route-admin"] aside.admin-sidebar.admin-sidebar-unified-v167>.admin-menu-unified-v167,
  body.vendor-page aside.vendor-sidebar-pro>.vendor-menu-pro{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    padding-block-end:18px!important;
  }
}

@media (max-width:1180px){
  .storefront-experience-authority-v3808342114>.container{
    width:calc(100vw - 24px)!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-main{
    grid-template-columns:1fr!important;
    gap:12px!important;
    direction:rtl!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-brand-lockup-v3808342114{
    grid-column:1!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    width:100%!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-logo,
  .storefront-experience-authority-v3808342114 .storefront-copy,
  .storefront-experience-authority-v3808342114 .storefront-actions,
  .storefront-experience-authority-v3808342114.storefront-identity-name_only .storefront-copy{
    grid-column:1!important;
    justify-self:center!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-logo{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    border-radius:25px!important;
  }
  .storefront-experience-authority-v3808342114.storefront-identity-logo_only .storefront-logo{
    width:min(58vw,190px)!important;
    height:128px!important;
    min-width:0!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-copy{text-align:center!important;justify-items:center!important;}
  .storefront-experience-authority-v3808342114 .storefront-actions{width:100%!important;max-width:100%!important;}
  .store-identity-mode-grid-v3808342114{grid-template-columns:1fr!important;}
  .store-identity-mode-head-v3808342114{display:grid!important;}
  body.admin-page aside.admin-sidebar.admin-sidebar-unified-v167,
  body[class*="route-admin"] aside.admin-sidebar.admin-sidebar-unified-v167,
  body.vendor-page aside.vendor-sidebar-pro{
    position:relative!important;
    top:auto!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.admin-page aside.admin-sidebar.admin-sidebar-unified-v167>.admin-menu-unified-v167,
  body[class*="route-admin"] aside.admin-sidebar.admin-sidebar-unified-v167>.admin-menu-unified-v167,
  body.vendor-page aside.vendor-sidebar-pro>.vendor-menu-pro{
    max-height:none!important;
    overflow:visible!important;
  }
}

@media (min-width:981px) and (max-width:1180px){
  .storefront-experience-authority-v3808342114 .storefront-main{
    grid-template-columns:minmax(0,1fr) minmax(220px,280px)!important;
    gap:18px!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-brand-lockup-v3808342114{
    grid-template-columns:auto minmax(0,1fr)!important;
    justify-items:initial!important;
  }
  .storefront-experience-authority-v3808342114 .storefront-actions{grid-column:2!important;}
  .storefront-experience-authority-v3808342114 .storefront-logo,
  .storefront-experience-authority-v3808342114 .storefront-copy{justify-self:initial!important;}
}

@media (max-width:480px){
  .storefront-pro-hero.storefront-experience-authority-v3808342114{padding-block-start:12px!important;}
  .storefront-experience-authority-v3808342114>.container{width:calc(100vw - 20px)!important;padding-inline:0!important;}
  .storefront-experience-authority-v3808342114 .storefront-cover{padding:14px 12px!important;}
}

html[data-marketak-theme="dark"] .store-identity-mode-settings-v3808342114,
html[data-marketak-theme="dark"] .store-identity-mode-card-v3808342114{
  background:#0d1a2d!important;
  border-color:rgba(96,165,250,.27)!important;
}
html[data-marketak-theme="dark"] .store-identity-mode-head-v3808342114 h2,
html[data-marketak-theme="dark"] .store-identity-mode-card-v3808342114>b{color:#f8fbff!important;}

@media (prefers-reduced-motion:reduce){
  .store-identity-mode-card-v3808342114{transition:none!important;}
}
