:root {
  --page-loader-surface:#fff;
}
[data-store-mode="dark"] {
  --page-loader-surface:#1e2536;
}
:is(.site-loading-screen,.retail-page-loader) {
  position:fixed;
  inset:0;
  place-items:center;
  align-content:center;
  background:var(--page-loader-surface);
}
.site-loading-screen {
  box-sizing:border-box;
  z-index:2147483647;
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
  margin:0;
  padding:24px;
  border:0;
  display:none;
  color:#202943;
  text-align:center;
  font-family:Vazirmatn,Tahoma,sans-serif;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
html[data-page-loading] #siteLoading,
.site-loading-screen[data-visible] { display:grid; }
html[data-store-mode="dark"] .site-loading-screen { color:#f0f3ff; }
.site-loading-screen .site-loading-content {
  display:grid;
  justify-items:center;
  gap:12px;
}
.site-loading-screen .site-loading-symbol {
  position:relative;
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  isolation:isolate;
}
.retail-loader-mark {
  grid-area:1 / 1;
  display:block;
  width:48px;
  height:48px;
  border-radius:14px;
  background:url('../kala45.svg?v=6.8.25') center / contain no-repeat;
  font-size:0;
}
.retail-loader-ring {
  grid-area:1 / 1;
  display:block;
  width:64px;
  height:64px;
  background:url('../kala45-loader.svg?v=6.8.25') center / contain no-repeat;
}
.site-loading-screen .site-loading-label {
  margin:0;
  font-size:14px;
  font-weight:600;
  line-height:1.8;
}
.site-loading-screen .site-loading-dots {
  display:flex;
  gap:6px;
  direction:ltr;
  padding-top:1px;
}
.site-loading-screen .site-loading-dots span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  animation:site-loading-dot 1s ease-in-out infinite;
}
.site-loading-screen .site-loading-dots span:nth-child(2) { animation-delay:.12s; }
.site-loading-screen .site-loading-dots span:nth-child(3) { animation-delay:.24s; }
@keyframes site-loading-dot {
  0%,70%,100% { opacity:.28; transform:translateY(0); }
  35% { opacity:1; transform:translateY(-3px); }
}
@media (prefers-reduced-motion:reduce) {
  .site-loading-screen .site-loading-dots span { animation:none; }
}

button.site-action-pending { cursor:wait; }
button.site-action-pending::before {
  content:"";
  display:inline-block;
  box-sizing:border-box;
  width:14px;
  height:14px;
  flex:none;
  vertical-align:middle;
  margin-inline-end:4px;
  border:2px solid currentColor;
  border-inline-end-color:transparent;
  border-radius:50%;
  animation:site-action-spin .7s linear infinite;
}
.site-action-row:has(
  + .site-action-result:not(:empty, [hidden]),
  + :is([hidden], .hidden) + .site-action-result:not(:empty, [hidden])
) {
  margin-block-end:0 !important;
}
.site-action-result {
  text-align:center !important;
  min-height:0 !important;
  padding-block:0 !important;
  margin-block:calc(10px - var(--site-result-existing-gap,0px)) 0 !important;
}
.site-action-result:empty { display:none !important; }
@keyframes site-action-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
  button.site-action-pending::before { animation:none; }
}
