@font-face {
  font-family: "BYekan";
  src: url("../fonts/BYekan.ttf") format("truetype");
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BYekan";
  src: url("../fonts/BYekan-Bold.ttf") format("truetype");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --sl-bg: oklch(0.13 0.028 255);
  --sl-bg2: oklch(0.17 0.034 255);
  --sl-surface: oklch(0.21 0.036 253);
  --sl-elevated: oklch(0.25 0.04 253);
  --sl-blue: oklch(0.66 0.13 168);
  --sl-blue-bright: oklch(0.76 0.13 168);
  --sl-cyan: oklch(0.79 0.12 175);
  --sl-purple: oklch(0.65 0.19 293);
  --sl-green: oklch(0.78 0.17 163);
  --sl-red: oklch(0.6 0.23 26);
  --sl-brand: #2fbf9a;
  --sl-t0: oklch(0.97 0.008 250);
  --sl-t1: oklch(0.76 0.024 254);
  --sl-t2: oklch(0.58 0.03 254);
  --sl-border: oklch(0.35 0.04 253 / 0.55);
  --sl-dur-fast: 200ms;
  --sl-dur-base: 320ms;
  --sl-dur-slow: 520ms;
  --sl-ease-spring: cubic-bezier(0.32, 1.5, 0.4, 1);
  --sl-ease-out: cubic-bezier(0.22, 0.7, 0.2, 1);
  --sl-ease-ios: cubic-bezier(0.25, 0.1, 0.25, 1);
  --sl-glass-thin: color-mix(in oklab, var(--sl-t0) 6%, transparent);
  --sl-glass-regular: color-mix(in oklab, var(--sl-t0) 9%, transparent);
  --sl-glass-thick: color-mix(in oklab, var(--sl-t0) 13%, transparent);
  --sl-hairline: color-mix(in oklab, var(--sl-t0) 14%, transparent);
  --sl-shadow-1: 0 1px 2px rgb(0 0 0 / 0.28);
  --sl-shadow-2: 0 10px 30px -14px rgb(0 0 0 / 0.7);
  --sl-shadow-3: 0 22px 60px -22px rgb(0 0 0 / 0.85);
  --sl-r-control: 12px;
  --sl-r-card: 20px;
  --sl-r-sheet: 28px;
  --sl-r-capsule: 33px;
  --sl-r: 20px;
  --font: "BYekan", Tahoma, sans-serif;
  --font-size: 15px;
  --font-line: 1.7;
}

html[data-theme="light"] {
  color-scheme: light;
  --sl-bg: oklch(0.965 0.008 250);
  --sl-bg2: oklch(0.94 0.01 250);
  --sl-surface: #ffffff;
  --sl-elevated: #ffffff;
  --sl-t0: oklch(0.2 0.03 255);
  --sl-t1: oklch(0.42 0.02 255);
  --sl-t2: oklch(0.55 0.02 255);
  --sl-border: oklch(0.86 0.015 255);
  --sl-glass-thin: rgb(255 255 255 / 0.72);
  --sl-glass-regular: rgb(255 255 255 / 0.82);
  --sl-glass-thick: rgb(255 255 255 / 0.9);
  --sl-hairline: rgb(15 23 42 / 0.1);
  --sl-shadow-1: 0 1px 2px rgb(15 23 42 / 0.06);
  --sl-shadow-2: 0 12px 28px -16px rgb(15 23 42 / 0.22);
  --sl-shadow-3: 0 22px 50px -24px rgb(15 23 42 / 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html, body {
  transition: background-color 320ms var(--sl-ease-out), color 320ms var(--sl-ease-out);
}
body {
  margin: 0;
  background: var(--sl-bg);
  color: var(--sl-t0);
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: var(--font-line);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, [role="button"], input, select, textarea { font-family: inherit; }
button, [role="button"], input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sl-brand); outline-offset: 2px; }

img.sl-logo-on-light { display: none !important; }
html[data-theme="light"] img.sl-logo-on-dark { display: none !important; }
html[data-theme="light"] img.sl-logo-on-light { display: block !important; }
.esh-wordmark { display: inline-flex; align-items: center; line-height: 0; }
.esh-wordmark img {
  display: block;
  height: 33px !important;
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
  object-position: center;
}

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link { position: absolute; right: -999px; }
.skip-link:focus {
  right: 8px; top: 8px; z-index: 99;
  background: var(--sl-brand); color: #fff; padding: 8px 12px; border-radius: 10px;
}

@keyframes sl-rise {
  0% { opacity: 0; transform: translateY(10px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sl-soft-in {
  from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes sl-hero-in {
  from { opacity: 0; transform: translateX(-18px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes sl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes sl-heart-pop {
  0% { transform: scale(1); }
  28% { transform: scale(0.72); }
  62% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
@keyframes sl-heart-ring {
  0% { transform: scale(0.55); opacity: 0.55; box-shadow: 0 0 0 0 color-mix(in oklab, var(--sl-red) 45%, transparent); }
  100% { transform: scale(1.55); opacity: 0; box-shadow: 0 0 0 10px transparent; }
}

.sl-rise-anim { animation: sl-rise var(--sl-dur-base) var(--sl-ease-out) both; }
.sl-soft-in { animation: sl-soft-in 420ms var(--sl-ease-out) both; }
.sl-hero-in { animation: sl-hero-in 480ms var(--sl-ease-out) both; }
.sl-float { animation: sl-float 4.2s ease-in-out infinite; }
.sl-press {
  transition: transform var(--sl-dur-fast) var(--sl-ease-ios), filter var(--sl-dur-fast) var(--sl-ease-ios), background-color var(--sl-dur-fast) var(--sl-ease-ios);
}
.sl-press:active { transform: scale(0.96); filter: brightness(0.88); }
.sl-press-strong {
  transition: transform var(--sl-dur-fast) var(--sl-ease-ios), filter var(--sl-dur-fast) var(--sl-ease-ios);
}
.sl-press-strong:active { transform: scale(0.92); filter: brightness(0.85); }
.sl-glass {
  background: var(--sl-glass-thin);
  border: 1px solid var(--sl-hairline);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--sl-t0) 12%, transparent), var(--sl-shadow-1);
}
.sl-glass-thick {
  background: var(--sl-glass-thick);
  border: 1px solid var(--sl-hairline);
  backdrop-filter: blur(34px) saturate(180%);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--sl-t0) 18%, transparent), var(--sl-shadow-3);
}
.sl-glass-card {
  background: linear-gradient(180deg, color-mix(in oklab, var(--sl-t0) 8%, transparent) 0%, color-mix(in oklab, var(--sl-t0) 4%, transparent) 100%);
  border: 1px solid var(--sl-hairline);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--sl-t0) 14%, transparent), var(--sl-shadow-2);
}
.sl-tile {
  background: var(--sl-surface);
  color: var(--sl-t0);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-r-card);
  box-shadow: var(--sl-shadow-2);
  transition: transform 280ms var(--sl-ease-out), box-shadow 280ms var(--sl-ease-out), background-color 320ms var(--sl-ease-out), border-color 320ms var(--sl-ease-out);
}
@media (min-width: 1024px) {
  .sl-tile:hover { transform: translateY(-4px); box-shadow: var(--sl-shadow-3); }
}

.esh-glow {
  pointer-events: none;
  position: fixed; inset: 0;
  background:
    radial-gradient(90% 55% at 80% -5%, color-mix(in oklab, var(--sl-brand) 22%, transparent) 0%, transparent 62%),
    radial-gradient(70% 45% at 10% 8%, color-mix(in oklab, var(--sl-blue) 12%, transparent) 0%, transparent 60%);
}

.esh-shell {
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  padding-bottom: 9rem;
}
@media (min-width: 768px) { .esh-shell { max-width: 760px; } }
@media (min-width: 1024px) {
  .esh-shell { max-width: 1280px; padding: 1.5rem 2rem 4rem; }
}

.esh-icon {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: var(--sl-r-control);
  color: var(--sl-t1); border: 0; padding: 0;
}
.esh-icon svg { display: block; }
.esh-theme-moon { display: none; }
html[data-theme="light"] .esh-theme-sun { display: none; }
html[data-theme="light"] .esh-theme-moon { display: block; }

.esh-top { display: none; position: sticky; top: 0; z-index: 40; width: 100%; }
.esh-top__scrim {
  position: fixed; inset: 0; z-index: 0;
  background: rgb(0 0 0 / 0.45); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.2,0,0,1);
}
.esh-top.is-search .esh-top__scrim { opacity: 1; pointer-events: auto; }
.esh-top__bar { position: relative; z-index: 10; border-left: 0; border-right: 0; border-top: 0; }
.esh-top__inner {
  max-width: 1280px; margin: 0 auto;
  height: 72px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px; padding: 0 32px;
}
button svg, .esh-icon svg, .esh-msearch__open svg, .esh-msearch__sort svg, .esh-tabbar__svg svg { pointer-events: none; }
.esh-logo { display: flex; align-items: center; min-width: 0; }
.esh-logo img, .esh-logo .custom-logo { height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.esh-logo .esh-logo__e { height: 32px; width: 32px; }
.esh-top .esh-logo { justify-self: start; }
.esh-top__center {
  position: relative;
  width: min(560px, 46vw);
  height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.esh-top__nav, .esh-top__search {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  transition: opacity 300ms cubic-bezier(0.2,0,0,1), transform 300ms cubic-bezier(0.2,0,0,1), filter 300ms cubic-bezier(0.2,0,0,1);
}
.esh-top__nav a, .esh-top__nav button {
  border: 0; background: transparent;
  border-radius: var(--sl-r-control);
  padding: 8px 14px;
  font-size: 13px; font-weight: 500; color: var(--sl-t2); white-space: nowrap;
}
.esh-top__nav a:hover, .esh-top__nav button:hover { background: color-mix(in oklab, var(--sl-t0) 6%, transparent); color: var(--sl-t1); }
.esh-top__nav a.is-on, .esh-top__nav .is-on {
  background: color-mix(in oklab, var(--sl-t0) 10%, transparent);
  color: var(--sl-t0); font-weight: 700;
}
.esh-top.is-search .esh-top__nav { opacity: 0; transform: scale(0.96); filter: blur(4px); pointer-events: none; }
.esh-top__search { opacity: 0; transform: scale(0.96); filter: blur(4px); pointer-events: none; }
.esh-top.is-search .esh-top__search { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.esh-top__search .sl-glass {
  display: flex; align-items: center; gap: 10px;
  width: 100%; height: 44px; border-radius: var(--sl-r-control); padding: 0 16px;
}
.esh-top__search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--sl-t0); font-size: 14px; outline: none;
}
.esh-top__search input::placeholder { color: var(--sl-t2); }
.esh-top__actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.esh-cart-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: var(--sl-r-control);
  background: var(--sl-blue); color: var(--sl-t0);
  padding: 10px 14px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 8px 22px -8px var(--sl-blue), inset 0 1px 0 rgba(255,255,255,0.22);
}
.esh-login-cta {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 14px; border-radius: var(--sl-r-control);
  background: color-mix(in oklab, var(--sl-t0) 8%, transparent);
  color: var(--sl-t0); font-size: 13px; font-weight: 700;
}
.esh-count {
  display: flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--sl-blue); color: var(--sl-t0);
  font-size: 9px; font-weight: 800;
}
.esh-icon .esh-count { position: absolute; top: -4px; left: -4px; }
.esh-top__drop {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows 300ms cubic-bezier(0.2,0,0,1), opacity 300ms cubic-bezier(0.2,0,0,1);
}
.esh-top.is-search .esh-top__drop { grid-template-rows: 1fr; opacity: 1; }
.esh-top__drop-in { overflow: hidden; }
.esh-top__drop-pad { max-width: 1280px; margin: 0 auto; padding: 16px 32px 20px; }
.esh-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.esh-chips span { font-size: 11px; color: var(--sl-t2); }
.esh-chips a, .esh-chips button {
  border: 0; border-radius: var(--sl-r-capsule);
  background: color-mix(in oklab, var(--sl-t0) 6%, transparent);
  color: var(--sl-t1); padding: 4px 12px; font-size: 11px; font-weight: 500;
}

.esh-mob {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 136px;
  align-items: center;
  column-gap: 8px;
  padding: 20px 16px 0;
}
.esh-mob > .esh-icon { justify-self: start; }
.esh-mob .esh-logo {
  justify-self: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}
.esh-mob .esh-wordmark img {
  height: 29px !important;
  max-width: min(168px, 100%);
}
.esh-mob__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}
.esh-msearch { position: relative; z-index: 50; padding: 20px 16px 0; }
.esh-msearch__scrim {
  position: fixed; inset: 0; z-index: 0; border: 0; padding: 0;
  background: rgb(0 0 0 / 0.5); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.2, 0, 0, 1);
}
.esh-msearch.is-open .esh-msearch__scrim { opacity: 1; pointer-events: auto; }
.esh-msearch__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px;
}
.esh-msearch__slot { position: relative; flex: 1; min-width: 0; height: 40px; }
.esh-msearch__open {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 10px;
  border: 0; border-radius: var(--sl-r-control); padding: 0 14px;
  color: var(--sl-t2); font-size: 13px; overflow: hidden; text-align: right;
  transition: opacity 300ms cubic-bezier(0.2,0,0,1), transform 300ms cubic-bezier(0.2,0,0,1), filter 300ms cubic-bezier(0.2,0,0,1);
}
.esh-msearch.is-open .esh-msearch__open {
  opacity: 0; transform: scale(0.96); filter: blur(4px); pointer-events: none;
}
.esh-msearch__open span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.esh-msearch__open svg, .esh-msearch__live svg { flex-shrink: 0; color: var(--sl-t2); }
.esh-msearch__live {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--sl-r-control); padding: 0 14px;
  opacity: 0; transform: scale(0.96); filter: blur(4px); pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.2,0,0,1), transform 300ms cubic-bezier(0.2,0,0,1), filter 300ms cubic-bezier(0.2,0,0,1);
}
.esh-msearch.is-open .esh-msearch__live {
  opacity: 1; transform: none; filter: none; pointer-events: auto;
}
.esh-msearch__live input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: var(--sl-t0); font-size: 13px; outline: none;
}
.esh-msearch__live input::placeholder { color: var(--sl-t2); }
.esh-msearch__x {
  flex-shrink: 0; border: 0; background: transparent;
  color: var(--sl-t2); font-size: 12px; font-weight: 700; padding: 0;
}
.esh-msearch__sort {
  position: relative; z-index: 2;
  flex: 0 0 40px; width: 40px; height: 40px;
  color: var(--sl-t1);
  transition: opacity 300ms cubic-bezier(0.2,0,0,1), transform 300ms cubic-bezier(0.2,0,0,1), filter 300ms cubic-bezier(0.2,0,0,1);
}
.esh-msearch.is-open .esh-msearch__sort {
  opacity: 0; transform: scale(0.25); filter: blur(4px); pointer-events: none;
}
.esh-msearch__drop {
  position: relative; z-index: 2;
  display: grid; grid-template-rows: 0fr; opacity: 0;
  margin-top: 0;
  pointer-events: none;
  transition: grid-template-rows 300ms cubic-bezier(0.2,0,0,1), opacity 300ms cubic-bezier(0.2,0,0,1), margin-top 300ms cubic-bezier(0.2,0,0,1);
}
.esh-msearch.is-open .esh-msearch__drop {
  grid-template-rows: 1fr; opacity: 1; margin-top: 8px; pointer-events: auto;
}
.esh-msearch__drop-in { overflow: hidden; }
.esh-msearch__panel { border-radius: var(--sl-r-card); padding: 12px; }
.esh-msearch__panel p { margin: 0 0 8px; font-size: 11px; color: var(--sl-t2); }

.esh-search-layer { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; }
.esh-search-layer[hidden] { display: none !important; }
.esh-search-layer.is-open { display: flex !important; }
.esh-search-layer__scrim {
  position: absolute; inset: 0; border: 0;
  background: rgb(0 0 0 / 0.5); backdrop-filter: blur(3px);
}
.esh-search-layer__card {
  position: relative; z-index: 1;
  margin: 12vh 16px 0;
  border-radius: var(--sl-r-card);
  padding: 14px;
  animation: sl-soft-in 320ms var(--sl-ease-out);
}
.esh-search-layer form { display: flex; gap: 8px; }
.esh-search-layer input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--sl-t0); font-size: 15px; outline: none;
}

.esh-drawer[hidden] { display: none !important; }
.esh-drawer { position: fixed; inset: 0; z-index: 210; }
.esh-drawer.is-open { display: block !important; }
.esh-drawer__backdrop { position: absolute; inset: 0; border: 0; background: rgb(0 0 0 / 0.5); backdrop-filter: blur(6px); }
.esh-drawer__panel {
  position: absolute; inset-block: 0; right: 0; width: min(82vw, 320px);
  background: var(--sl-surface); border-left: 1px solid var(--sl-border);
  padding: 28px 20px; animation: sl-soft-in 280ms var(--sl-ease-out);
  display: flex; flex-direction: column; gap: 4px;
}
.esh-drawer__brand { display: flex; margin-bottom: 12px; }
.esh-drawer__panel a { display: block; padding: 12px 8px; font-weight: 700; color: var(--sl-t1); }
html.esh-lock, html.esh-lock body { overflow: hidden; }

@media (min-width: 1024px) {
  .esh-top { display: block; }
  .esh-mob, .esh-msearch { display: none; }
}

.esh-hero {
  position: relative; overflow: hidden;
  margin: 20px 16px 0;
  border-radius: var(--sl-r-sheet);
  border: 1px solid var(--sl-border);
  background: var(--sl-surface);
  padding: 20px 20px 16px;
  min-height: 200px;
}
.esh-hero::before {
  content: "";
  position: absolute; inset: 0; opacity: 0.9;
  background: radial-gradient(120% 90% at 85% 30%, color-mix(in oklab, var(--sl-brand) 28%, transparent) 0%, transparent 60%),
    linear-gradient(200deg, var(--sl-bg2) 0%, var(--sl-bg) 100%);
}
.esh-hero__slide { display: none; position: relative; }
.esh-hero__slide.is-on { display: flex; align-items: center; gap: 16px; }
.esh-hero__copy { flex: 1; min-width: 0; }
.esh-hero__brand { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: 0.12em; }
.esh-hero h2 { margin: 4px 0 0; font-size: 16px; font-weight: 800; }
.esh-hero__sub { margin: 6px 0 0; font-size: 11.5px; color: var(--sl-t1); }
.esh-hero__btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; border: 0; border-radius: var(--sl-r-control);
  background: var(--sl-blue); color: var(--sl-t0);
  padding: 10px 16px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 6px 22px -6px var(--sl-blue), inset 0 1px 0 rgba(255,255,255,0.22);
}
.esh-hero__card { width: 120px; flex-shrink: 0; }
.esh-hero__card img { width: 100%; border-radius: 14px; aspect-ratio: 3/2; object-fit: cover; }
.esh-hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--sl-t1); padding: 8px;
}
.esh-hero__nav:hover { color: var(--sl-t0); }
.esh-hero__nav--next { right: 4px; }
.esh-hero__nav--prev { left: 4px; }
.esh-hero__dots { position: relative; display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.esh-hero__dots button {
  width: 6px; height: 6px; border: 0; border-radius: 99px; background: color-mix(in oklab, var(--sl-t2) 60%, transparent); padding: 0;
  transition: width 300ms, background-color 300ms;
}
.esh-hero__dots button.is-on { width: 24px; background: var(--sl-blue-bright); }
@media (min-width: 640px) {
  .esh-hero { padding: 28px; }
  .esh-hero__brand { font-size: 24px; }
  .esh-hero h2 { font-size: 24px; }
  .esh-hero__card { width: 180px; }
}
@media (min-width: 1024px) {
  .esh-hero { margin: 0; min-height: 380px; padding: 48px; }
  .esh-hero__slide.is-on { gap: 64px; }
  .esh-hero__brand { font-size: 30px; }
  .esh-hero h2 { font-size: 40px; line-height: 1.15; }
  .esh-hero__sub { font-size: 16px; max-width: 28rem; margin-top: 12px; }
  .esh-hero__btn { margin-top: 32px; padding: 14px 28px; font-size: 14px; }
  .esh-hero__card { width: 280px; }
}

.esh-trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 16px 0;
  border-radius: var(--sl-r-card);
  padding: 16px 0;
}
.esh-trust > a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 0; padding: 0 6px; text-align: center;
}
.esh-trust__ico {
  display: flex; width: 24px; height: 24px; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.esh-trust__ico svg { width: 22px; height: 22px; display: block; }
.esh-trust__ico--cyan { color: var(--sl-cyan); }
.esh-trust__ico--green { color: var(--sl-green); }
.esh-trust__ico--blue { color: var(--sl-blue-bright); }
.esh-trust__ico--purple { color: var(--sl-purple); }
.esh-trust a + a::before {
  content: "";
  position: absolute; inset-block: 4px; right: 0; width: 1px;
  background: var(--sl-hairline);
}
.esh-trust strong {
  display: block; width: 100%;
  font-size: 11px; font-weight: 800; line-height: 1.35; color: var(--sl-t0);
}
.esh-trust .esh-trust__sub {
  display: block; width: 100%;
  font-size: 10px; font-weight: 400; line-height: 1.35; color: var(--sl-t2);
}
@media (min-width: 1024px) {
  .esh-trust { margin: 24px 0 0; padding: 24px 0; }
  .esh-trust > a { gap: 8px; padding: 0 12px; }
  .esh-trust strong { font-size: 13px; }
  .esh-trust .esh-trust__sub { font-size: 12px; }
}

.esh-cats {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-top: 20px; padding: 0 16px;
}
.esh-cats::-webkit-scrollbar { display: none; }
.esh-cats a, .esh-cats button {
  flex-shrink: 0; border: 1px solid transparent;
  border-radius: var(--sl-r-capsule);
  background: color-mix(in oklab, var(--sl-t0) 6%, transparent);
  color: var(--sl-t2); padding: 6px 14px; font-size: 12px; font-weight: 500;
}
.esh-cats .is-on {
  border-color: color-mix(in oklab, var(--sl-blue) 50%, transparent);
  background: color-mix(in oklab, var(--sl-blue) 18%, transparent);
  color: var(--sl-blue-bright); font-weight: 700;
}
@media (min-width: 1024px) {
  .esh-cats { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; padding: 0; gap: 12px; }
  .esh-cats a, .esh-cats button {
    height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border-radius: var(--sl-r-card); padding: 8px;
  }
}

.esh-section { margin-top: 28px; }
@media (min-width: 1024px) { .esh-section { margin-top: 40px; } }
.esh-section__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; margin-bottom: 14px;
}
.esh-section__head h2 { margin: 0; font-size: 15px; font-weight: 800; }
.esh-section__head a, .esh-section__head button {
  border: 0; background: transparent; color: var(--sl-cyan); font-size: 12px; font-weight: 700;
}
@media (min-width: 1024px) {
  .esh-section__head { padding: 0; }
  .esh-section__head h2 { font-size: 20px; }
  .esh-section__head a { font-size: 13px; }
  .esh-section__head [data-open-sort] { display: none; }
}

.esh-grid--products {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 0 16px;
}
@media (min-width: 1024px) {
  .esh-grid--products { grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; }
}

.esh-product { position: relative; overflow: visible; content-visibility: auto; contain-intrinsic-size: 240px 360px; }
.esh-product__compact { position: relative; }
.esh-product__media { position: relative; overflow: visible; border-radius: 20px 20px 0 0; }
.esh-product__media a { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px 20px 0 0; padding: 10px 10px 0; }
.esh-product__media img {
  width: 94%; margin: 0 auto; border-radius: 14px; aspect-ratio: 3/2; object-fit: cover; background: color-mix(in oklab, var(--sl-t0) 5%, transparent);
}
.esh-disc {
  position: absolute; top: 8px; right: 8px; z-index: 10;
  border-radius: 99px; background: var(--sl-brand); color: #fff;
  padding: 2px 6px; font-size: 9px; font-weight: 800; pointer-events: none;
}
.esh-wish {
  position: absolute; top: 8px; left: 8px; z-index: 20;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: color-mix(in oklab, var(--sl-surface) 90%, transparent);
  color: var(--sl-t2); backdrop-filter: blur(8px);
  box-shadow: var(--sl-shadow-1);
}
.esh-wish.is-on { color: var(--sl-red); }
.esh-wish.is-pop { animation: sl-heart-pop 520ms var(--sl-ease-spring) both; }
.esh-wish.is-pop::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: sl-heart-ring 560ms var(--sl-ease-out) forwards;
}
.esh-plus {
  position: absolute; bottom: 8px; left: 8px; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sl-brand) !important; color: #fff !important;
  box-shadow: 0 6px 14px -6px var(--sl-brand);
  font-size: 18px; font-weight: 700; line-height: 1;
}
.esh-product__body { padding: 8px 10px 10px; }
.esh-product__body h3 { margin: 0; font-size: 12.5px; font-weight: 800; }
.esh-product__body h3 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esh-product__en { margin: 2px 0 0; font-size: 10px; color: var(--sl-t2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esh-product__price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 4px;
  margin: 6px 0 0; font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums;
}
.esh-product__price del { font-size: 10px; font-weight: 400; color: var(--sl-t2); }
.esh-add {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 40px; margin-top: 8px;
  border: 0; border-radius: 12px;
  background: var(--sl-brand) !important; color: #fff !important;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 6px 14px -8px var(--sl-brand);
}
.esh-product__desk { display: none; }
@media (min-width: 1024px) {
  .esh-product__compact { display: none; }
  .esh-product__desk { display: flex; flex-direction: column; padding: 16px; }
  .esh-product__desk-top { display: flex; align-items: center; justify-content: space-between; }
  .esh-product__desk .esh-disc { position: static; }
  .esh-product__desk .esh-wish { position: static; background: color-mix(in oklab, var(--sl-t0) 8%, transparent); }
  .esh-product__desk-tools { display: flex; gap: 6px; }
  .esh-product__desk img { width: 100%; margin-top: 12px; border-radius: 14px; aspect-ratio: 3/2; object-fit: cover; }
  .esh-product__desk h3 { margin: 12px 0 0; font-size: 16px; font-weight: 800; }
  .esh-product__desk .esh-product__en { font-size: 12px; margin-top: 4px; }
  .esh-product__desk .esh-product__price { font-size: 20px; margin-top: 12px; }
  .esh-product__desk .esh-add { height: 44px; margin-top: 12px; border-radius: 14px; font-size: 13px; }
}

.esh-grid--articles { display: grid; gap: 12px; padding: 0 16px; }
.esh-article-card { display: flex; flex-direction: column; overflow: hidden; }
.esh-article-card__media { aspect-ratio: 16/9; overflow: hidden; }
.esh-article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.esh-article-card:hover .esh-article-card__media img { transform: scale(1.04); }
.esh-article-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.esh-kicker { color: var(--sl-brand); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.esh-article-card h3 { margin: 6px 0 0; font-size: 15px; font-weight: 800; line-height: 1.7; }
.esh-article-card p { margin: 8px 0 0; font-size: 12.5px; color: var(--sl-t1); line-height: 1.7; }
.esh-meta { margin-top: 12px !important; font-size: 11px !important; color: var(--sl-t2) !important; }
.esh-articles-desk { display: none; }
@media (min-width: 1024px) {
  .esh-grid--articles { padding: 0; }
  .esh-articles-mob { display: none; }
  .esh-articles-desk { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
  .esh-article-card--feat { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
  .esh-article-card--feat .esh-article-card__media { aspect-ratio: auto; min-height: 340px; }
  .esh-article-card--feat h3, .esh-article-card--feat h2 { font-size: 28px; }
  .esh-article-card--row { display: flex; flex-direction: row; align-items: stretch; gap: 12px; padding: 8px; }
  .esh-article-card--row .esh-article-card__media { width: 148px; min-height: 108px; flex-shrink: 0; aspect-ratio: auto; border-radius: 14px; }
  .esh-article-card--row .esh-article-card__body { padding: 8px 8px 8px 0; justify-content: center; }
  .esh-article-stack { display: grid; gap: 12px; grid-template-rows: 1fr 1fr; }
}

.esh-page { padding: 24px 16px 0; }
.esh-page .esh-grid--products,
.esh-page .esh-grid--articles { padding-inline: 0; }
.esh-page h1 { margin: 4px 0 0; font-size: 28px; font-weight: 900; }
.esh-lead { color: var(--sl-t1); max-width: 42rem; }
@media (min-width: 1024px) {
  .esh-page { padding: 40px 0 0; }
  .esh-page h1 { font-size: 36px; }
}
.esh-article__cover { border-radius: var(--sl-r-card); overflow: hidden; margin: 20px 0; }
.esh-prose { color: var(--sl-t1); line-height: 2; }
.esh-prose p { margin: 0 0 1em; }
.esh-product-page__grid { display: grid; gap: 24px; }
.esh-product-page__media img { width: 100%; border-radius: 14px; aspect-ratio: 3/2; object-fit: cover; }
.esh-back { display: inline-flex; margin-bottom: 16px; color: var(--sl-t2); font-size: 13px; }
@media (min-width: 1024px) {
  .esh-product-page__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
}

.esh-footer { margin-top: 48px; padding: 0 16px 24px; }
.esh-footer__box { border-radius: var(--sl-r-sheet); padding: 32px 16px; }
.esh-footer__grid { display: none; }
.esh-footer__about { margin-top: 16px; max-width: 280px; font-size: 12.5px; color: var(--sl-t1); line-height: 1.8; }
.esh-footer__title { margin: 0 0 14px; font-size: 14px; font-weight: 800; }
.esh-footer__col ul { list-style: none; margin: 0; padding: 0; }
.esh-footer__col li { margin: 0 0 10px; }
.esh-footer__col a { font-size: 12.5px; color: var(--sl-t2); }
.esh-footer__col a:hover { color: var(--sl-t0); }
.esh-footer__bar {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 24px; font-size: 12px; color: var(--sl-t2); text-align: center;
}
.esh-footer__bar a { margin-inline: 8px; }
@media (min-width: 1024px) {
  .esh-footer { padding: 0; }
  .esh-footer__box { padding: 40px 32px; }
  .esh-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
  .esh-footer__bar { flex-direction: row; justify-content: space-between; text-align: right; }
}

.esh-tabbar {
  pointer-events: none;
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  display: flex; justify-content: center;
  max-width: 430px; margin: 0 auto;
  padding: 0 12px max(12px, env(safe-area-inset-bottom));
}
.esh-tabbar__inner {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center;
  width: 100%; height: 64px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--sl-r-capsule);
  background: color-mix(in oklab, var(--sl-bg) 82%, var(--sl-surface));
  border: 1px solid var(--sl-hairline);
  backdrop-filter: blur(34px) saturate(180%);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--sl-t0) 18%, transparent), var(--sl-shadow-3);
}
html[data-theme="light"] .esh-tabbar__inner {
  background: rgb(255 255 255 / 0.94);
}
.esh-tabbar__sheen {
  pointer-events: none;
  position: absolute; inset: 0;
  background: linear-gradient(160deg, color-mix(in oklab, var(--sl-t0) 16%, transparent) 0%, transparent 62%);
  opacity: 0.7;
}
.esh-tabbar__pill {
  pointer-events: none;
  position: absolute; top: 6px; left: 0; height: 52px;
  border-radius: 20px;
  border: 1px solid color-mix(in oklab, var(--sl-t0) 15%, transparent);
  background: color-mix(in oklab, var(--sl-t0) 10%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--sl-t0) 22%, transparent), 0 8px 22px -10px var(--sl-brand);
  transition: transform var(--sl-dur-slow) var(--sl-ease-spring), width var(--sl-dur-slow) var(--sl-ease-spring);
}
.esh-tabbar__item {
  position: relative; z-index: 1;
  flex: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--sl-t2); font-size: 9px; font-weight: 500;
}
.esh-tabbar__item span:last-child {
  white-space: nowrap;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
}
.esh-tabbar__item.is-on { color: var(--sl-t0); font-weight: 800; }
.esh-tabbar__item.is-on .esh-tabbar__svg { color: var(--sl-blue-bright); filter: drop-shadow(0 0 8px var(--sl-blue)); }
.esh-tabbar__svg { display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; }
.esh-tabbar__svg svg { display: block; }
@media (min-width: 1024px) { .esh-tabbar { display: none; } }

.esh-badges { margin: 24px 0 0; }
.esh-badges__kicker, .esh-badges__hint { text-align: center; font-size: 11px; color: var(--sl-t2); }
.esh-badges__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
@media (min-width: 640px) { .esh-badges__grid { grid-template-columns: repeat(4, 1fr); } }
.esh-badge-slot {
  min-height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 12px;
  border: 1px dashed var(--sl-border);
  border-radius: var(--sl-r-card);
  background: color-mix(in oklab, var(--sl-t0) 4%, transparent);
  text-align: center;
}
.esh-badge-slot img { max-height: 56px; width: auto; }
.esh-badge-slot strong { font-size: 12px; }
.esh-badge-slot span { font-size: 10px; color: var(--sl-t2); }
.esh-badge-slot__mark {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1.4px solid var(--sl-brand);
  background: color-mix(in oklab, var(--sl-brand) 16%, transparent);
}

.esh-sort[hidden] { display: none !important; }
.esh-sort { position: fixed; inset: 0; z-index: 220; }
.esh-sort.is-open { display: block !important; }
.esh-sort__sheet {
  position: absolute; inset-inline: 0; bottom: 0;
  background: var(--sl-surface);
  border-radius: 24px 24px 0 0;
  padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  border: 1px solid var(--sl-border);
}
.esh-sort__sheet button {
  display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between;
  border: 0; border-radius: 14px; padding: 0 16px; margin-bottom: 8px;
  background: color-mix(in oklab, var(--sl-t0) 6%, transparent); color: var(--sl-t1); font: inherit;
}
.esh-sort__sheet button.is-on {
  background: color-mix(in oklab, var(--sl-brand) 16%, transparent); color: var(--sl-t0); font-weight: 700;
}

.esh-login { max-width: 440px; margin: 0 auto; }
.esh-login__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: color-mix(in oklab, var(--sl-t0) 6%, transparent);
  border-radius: 14px; padding: 4px; margin-bottom: 16px;
}
.esh-login__tabs button { border: 0; background: transparent; min-height: 40px; border-radius: 12px; color: var(--sl-t2); }
.esh-login__tabs button.is-on { background: var(--sl-surface); color: var(--sl-t0); font-weight: 700; }
.esh-sms label, .esh-login label { display: block; margin-bottom: 12px; font-size: 12px; color: var(--sl-t1); }
.esh-sms input, .esh-login input, .esh-login textarea {
  width: 100%; min-height: 44px; margin-top: 6px; border-radius: 12px;
  border: 1px solid var(--sl-border); background: var(--sl-bg); color: var(--sl-t0);
  padding: 8px 12px; font: inherit;
}
.esh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; border-radius: var(--sl-r-control); border: 0;
  background: var(--sl-brand); color: #fff; font-weight: 700; padding: 0 16px;
}
.esh-btn--ghost { background: color-mix(in oklab, var(--sl-t0) 8%, transparent); color: var(--sl-t0); }
.esh-ok { color: var(--sl-green); }
.esh-err { color: var(--sl-red); }
.esh-help { font-size: 11px; color: var(--sl-t2); }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button.alt {
  background: var(--sl-brand) !important; color: #fff !important;
  border-radius: var(--sl-r-control) !important; border: 0 !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 16px !important;
  list-style: none !important;
}
@media (min-width: 1024px) {
  .woocommerce ul.products, .woocommerce-page ul.products, ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px; padding: 0 !important;
  }
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  position: relative;
}
.woocommerce span.onsale { display: none !important; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { display: none; }
.esh-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 94%; margin: 0 auto; aspect-ratio: 3/2; border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--sl-brand) 35%, var(--sl-surface)), var(--sl-bg2));
  color: #fff; font-size: 42px; font-weight: 900;
}
.esh-ph small { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esh-product__visual { display: block; margin-top: 12px; }
.esh-product__visual img, .esh-product__visual .esh-ph { width: 100%; }
.esh-buy-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.esh-buy-row form, .esh-buy-row .cart { flex: 1; margin: 0 !important; }
.esh-buy-row .esh-wish { position: static; width: 44px; height: 44px; }
.esh-thanks {
  margin: 16px 0 24px; padding: 20px; text-align: center;
}
.esh-thanks__kicker { margin: 0; font-size: 12px; color: var(--sl-t2); }
.esh-thanks__code {
  margin: 8px 0 16px; font-size: 28px; font-weight: 900; letter-spacing: 0.08em;
  color: var(--sl-brand);
}
.esh-thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.esh-thanks__inline { margin-top: 12px; font-size: 13px; }
.woocommerce-checkout #customer_details, .woocommerce-checkout .woocommerce-checkout-review-order {
  background: var(--sl-surface); border: 1px solid var(--sl-border);
  border-radius: var(--sl-r-card); padding: 16px; margin-bottom: 16px;
}
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-bottom: 1px solid var(--sl-border); padding: 10px 8px; text-align: right; color: var(--sl-t0);
}

.esh-product-page__media { display: flex; align-items: center; justify-content: center; padding: 20px; }
.esh-product-page__frame {
  width: 100%; max-width: 420px; max-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.esh-product-page__media img,
.esh-product-page__frame img {
  width: auto; height: auto; max-width: 100%; max-height: 400px;
  aspect-ratio: auto; object-fit: contain; border-radius: 16px;
}
.esh-product-page__copy h1 { margin: 8px 0 0; font-size: 28px; font-weight: 900; line-height: 1.35; }
@media (min-width: 1024px) { .esh-product-page__copy h1 { font-size: 34px; } }
.esh-product-page__amount { margin: 16px 0 0; font-size: 28px; font-weight: 900; }
.esh-product-page__amount del { font-size: 14px; color: var(--sl-t2); margin-right: 8px; }
.esh-product-page__trust { margin: 20px 0 0; padding: 0; list-style: none; }
.esh-product-page__trust li {
  position: relative; padding-right: 14px; margin: 0 0 8px;
  font-size: 13px; color: var(--sl-t1);
}
.esh-product-page__trust li::before {
  content: ""; position: absolute; right: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sl-cyan);
}

.esh-buy-row .quantity,
.esh-qty {
  display: inline-flex; align-items: center;
  height: 48px; border-radius: var(--sl-r-control);
}
.esh-buy-row .quantity input.qty,
.esh-qty input.qty {
  width: 48px; height: 48px; border: 0; background: transparent;
  color: var(--sl-t0); text-align: center; font: inherit; font-weight: 800;
  -moz-appearance: textfield;
}
.esh-qty input.qty::-webkit-outer-spin-button,
.esh-qty input.qty::-webkit-inner-spin-button,
.esh-buy-row .quantity input::-webkit-outer-spin-button,
.esh-buy-row .quantity input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.esh-qty button {
  width: 40px; height: 48px; border: 0; background: transparent;
  color: var(--sl-t1); font-size: 18px; cursor: pointer;
}
.esh-buy-row .single_add_to_cart_button,
.esh-buy-row button.button {
  flex: 1; height: 48px !important; min-width: 140px;
  background: var(--sl-brand) !important; color: #fff !important;
  border: 0 !important; border-radius: var(--sl-r-control) !important;
  font-weight: 800 !important; font-size: 14px !important;
  box-shadow: 0 8px 22px -8px var(--sl-brand);
}

.esh-cart-page { padding-bottom: 40px; }
.esh-cart__grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .esh-cart__grid { grid-template-columns: 1.4fr 0.8fr; align-items: start; } }
.esh-cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.esh-cart__row {
  display: grid; grid-template-columns: 72px 1fr auto auto;
  gap: 12px; align-items: center; padding: 12px;
}
.esh-cart__thumb img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: var(--sl-bg); }
.esh-cart__name { margin: 0; font-size: 13px; font-weight: 800; }
.esh-cart__price { margin: 4px 0 0; font-size: 13px; font-weight: 800; }
.esh-cart__remove { font-size: 12px; color: var(--sl-t2); }
.esh-cart__remove:hover { color: var(--sl-red); }
.esh-cart__sum { padding: 20px; }
.esh-cart__sum h2 { margin: 0 0 16px; font-size: 16px; }
.esh-coupon { display: flex; gap: 8px; margin-bottom: 16px; }
.esh-coupon input {
  flex: 1; min-height: 44px; border-radius: 12px;
  border: 1px solid var(--sl-border); background: var(--sl-bg); color: var(--sl-t0);
  padding: 0 12px; font: inherit;
}
.esh-cart__pay { display: flex; width: 100%; margin-top: 12px; min-height: 48px; }
.cart_totals, .esh-cart__sum .shop_table { width: 100%; }
.woocommerce-shipping-totals { display: none; }

.esh-checkout { margin-top: 16px; }
.esh-checkout__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .esh-checkout__grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
.esh-checkout__fields, .esh-checkout__review { padding: 20px; }
.esh-checkout__review h2 { margin: 0 0 16px; font-size: 16px; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--sl-t1); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-selection {
  width: 100%; min-height: 44px;
  border: 1px solid var(--sl-border) !important;
  border-radius: 12px !important;
  background: var(--sl-bg) !important;
  color: var(--sl-t0) !important;
  padding: 8px 12px !important;
  font: inherit !important;
  box-shadow: none !important;
}
.woocommerce form .form-row input::placeholder { color: var(--sl-t2); }
.select2-dropdown { background: var(--sl-surface) !important; color: var(--sl-t0) !important; border-color: var(--sl-border) !important; }
#place_order,
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order {
  width: 100%; min-height: 48px !important;
  background: var(--sl-brand) !important; color: #fff !important;
  border: 0 !important; border-radius: var(--sl-r-control) !important;
  font-weight: 800 !important; margin-top: 12px;
}
#payment, .wc_payment_methods { list-style: none; margin: 0; padding: 0; }
.wc_payment_method { padding: 10px 0; border-bottom: 1px solid var(--sl-border); }
.woocommerce-checkout #customer_details { background: transparent; border: 0; padding: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order { background: transparent; border: 0; padding: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* === Stability fixes: desktop/mobile/WooCommerce === */
html, body { max-width: 100%; overflow-x: clip; }
.esh-shell, .esh-page, .esh-product-page__grid, .esh-product-page__media, .esh-product-page__copy { min-width: 0; }
.esh-product-page__copy h1 { overflow-wrap: anywhere; }

/* Desktop search close button should match the rest of the UI. */
.esh-top__search .sl-glass > button[data-close-desk-search] {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-r-control);
  background: color-mix(in oklab, var(--sl-t0) 7%, transparent);
  color: var(--sl-t1);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.esh-top__search .sl-glass > button[data-close-desk-search]:hover { color: var(--sl-t0); background: color-mix(in oklab, var(--sl-t0) 12%, transparent); }

/* Keep action badges visible and away from the viewport edge. */
.esh-top__inner, .esh-top__actions { overflow: visible; }
.esh-top__actions { padding-inline-start: 6px; }
.esh-icon .esh-count { top: -2px; left: -2px; z-index: 2; }

/* Proper visual fallback for trust/payment badges when no image is uploaded. */
.esh-badge-slot__mark { position: relative; display: grid; place-items: center; color: var(--sl-brand); font-size: 0; }
.esh-badge-slot__mark::after { font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.esh-badge-slot__mark[data-mark="enamad"]::after { content: "E"; }
.esh-badge-slot__mark[data-mark="zarinpal"]::after { content: "Z"; }
.esh-badge-slot__mark[data-mark="snappay"]::after { content: "S"; }
.esh-badge-slot__mark[data-mark="shaparak"]::after { content: "✓"; font-size: 18px; }
.esh-badge-slot { min-width: 0; overflow: hidden; }

/* Variable product controls: remove browser-default appearance and keep RTL layout clean. */
.esh-product-page .variations,
.esh-product-page .variations tbody,
.esh-product-page .variations tr { display: block; width: 100%; }
.esh-product-page .variations tr { margin: 0 0 10px; }
.esh-product-page .variations th,
.esh-product-page .variations td { display: block; width: 100%; padding: 0; text-align: right; }
.esh-product-page .variations label { display: block; margin: 0 0 6px; color: var(--sl-t1); font-size: 12px; font-weight: 800; }
.esh-product-page .variations select {
  width: 100%; min-height: 46px;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  border: 1px solid var(--sl-border) !important;
  border-radius: 12px !important;
  background-color: var(--sl-bg) !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--sl-t2) 50%), linear-gradient(135deg, var(--sl-t2) 50%, transparent 50%) !important;
  background-position: calc(12px) 50%, calc(18px) 50% !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  color: var(--sl-t0) !important;
  padding: 0 14px 0 34px !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700;
  outline: none;
}
.esh-product-page .variations .reset_variations { display: inline-flex; margin-top: 6px; font-size: 11px; color: var(--sl-brand); }
.esh-product-page .single_variation_wrap { margin-top: 12px; }
.esh-buy-row .quantity { border: 1px solid var(--sl-border); background: var(--sl-bg); overflow: hidden; flex: 0 0 auto; }
.esh-buy-row .quantity input.qty { width: 54px; min-width: 54px; }
.esh-buy-row .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.esh-buy-row .single_variation_wrap .quantity { order: 2; }
.esh-buy-row .single_variation_wrap .single_add_to_cart_button { order: 1; }

/* Woo checkout: shipping checkbox/label stays on one clean RTL line. */
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout #ship-to-different-address { min-width: 0; }
.woocommerce-checkout #ship-to-different-address {
  display: flex; align-items: center; justify-content: flex-start; gap: 8px;
  margin: 18px 0 10px; padding: 12px 14px;
  border: 1px solid var(--sl-border); border-radius: 14px;
  background: color-mix(in oklab, var(--sl-t0) 3%, transparent);
}
.woocommerce-checkout #ship-to-different-address label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--sl-t0); }
.woocommerce-checkout #ship-to-different-address input { width: 16px; height: 16px; margin: 0; accent-color: var(--sl-brand); }

/* Small screens: never let the product layout create a horizontal canvas. */
@media (max-width: 767px) {
  .esh-shell { width: 100%; max-width: 100%; overflow: hidden; }
  .esh-page { width: 100%; max-width: 100%; padding-inline: 16px; }
  .esh-product-page__grid { width: 100%; }
  .esh-product-page__media { width: 100%; padding: 12px; }
  .esh-product-page__frame { width: 100%; min-width: 0; }
  .esh-product-page__copy h1 { font-size: clamp(24px, 8vw, 32px); line-height: 1.45; }
  .esh-buy-row { align-items: stretch; }
  .esh-buy-row form, .esh-buy-row .cart { min-width: 0; width: 100%; }
  .esh-buy-row .single_variation_wrap .woocommerce-variation-add-to-cart { width: 100%; }
  .esh-buy-row .single_variation_wrap .single_add_to_cart_button { min-width: 0; }
}


/* === September mobile/banner/cart fixes === */
/* Uploaded hero artwork is a real banner and fills the slide instead of appearing as a card. */
.esh-hero__slide--banner {
  isolation: isolate;
  min-height: 200px;
  padding: 22px;
  border-radius: calc(var(--sl-r-sheet) - 2px);
  background-image: linear-gradient(90deg, rgb(4 12 24 / .86) 0%, rgb(4 12 24 / .52) 48%, rgb(4 12 24 / .18) 100%), var(--esh-banner);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.esh-hero__slide--banner::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, transparent, rgb(4 12 24 / .20)); }
.esh-hero__slide--banner .esh-hero__copy { max-width: min(100%, 520px); text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
.esh-hero__slide--banner .esh-hero__sub { color: color-mix(in srgb, #fff 80%, transparent); }
.esh-hero__slide--banner .esh-hero__btn { backdrop-filter: blur(10px); }
.esh-count.is-empty { display: none; }

/* Prevent WooCommerce/shop templates from creating a wider mobile canvas. */
@media (max-width: 767px) {
  body.woocommerce, body.woocommerce-page { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .esh-page--wide, .esh-page--wide > *, .woocommerce, .woocommerce-page, .woocommerce .woocommerce { min-width: 0; max-width: 100%; }
  .woocommerce ul.products, .woocommerce-page ul.products, ul.products,
  .esh-grid--products {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product, li.product,
  .esh-product { min-width: 0 !important; max-width: 100% !important; }
  .esh-product__body, .esh-product__media { min-width: 0; }
  .esh-product__body h3, .esh-product__en, .esh-product__price { overflow-wrap: anywhere; }

  .esh-cart-page { padding-inline: 12px; padding-bottom: 96px; }
  .esh-cart__grid { gap: 12px; margin-top: 14px; }
  .esh-cart__row {
    width: 100%;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-areas: "thumb info" "qty remove";
    gap: 10px;
    padding: 10px;
  }
  .esh-cart__thumb { grid-area: thumb; }
  .esh-cart__thumb img { width: 58px; height: 58px; }
  .esh-cart__info { grid-area: info; min-width: 0; }
  .esh-cart__name { white-space: normal; overflow-wrap: anywhere; }
  .esh-cart__price { overflow-wrap: anywhere; }
  .esh-cart__row .esh-qty { grid-area: qty; width: max-content; }
  .esh-cart__remove { grid-area: remove; justify-self: end; align-self: center; }
  .esh-cart__sum { padding: 14px; width: 100%; min-width: 0; }
  .esh-cart__sum .shop_table { display: block; overflow-x: auto; }
  .esh-coupon { min-width: 0; }
  .esh-coupon input { min-width: 0; }
}
@media (max-width: 390px) {
  .esh-mob { grid-template-columns: 40px minmax(0, 1fr) 128px; padding-inline: 12px; }
  .esh-msearch { padding-inline: 12px; }
  .esh-tabbar { padding-inline: 8px; }
  .esh-page { padding-inline: 12px; }
  .esh-hero { margin-inline: 12px; }
  .esh-hero__slide--banner { padding: 18px; min-height: 220px; }
}

/* === Mobile product cards: clean, touch-friendly layout === */
@media (max-width: 767px) {
  .esh-grid--products {
    gap: 12px !important;
    padding-inline: 12px !important;
    align-items: stretch;
  }

  .esh-product {
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
  }

  .esh-product__compact {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .esh-product__media {
    padding: 8px;
    overflow: hidden;
    border-radius: 21px 21px 0 0;
    background: linear-gradient(145deg,
      color-mix(in oklab, var(--sl-brand) 12%, var(--sl-surface)),
      color-mix(in oklab, var(--sl-blue) 6%, var(--sl-surface)));
  }

  .esh-product__media a:not(.esh-plus) {
    display: block;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    background: color-mix(in oklab, var(--sl-t0) 4%, transparent);
  }

  .esh-product__media img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    border-radius: 15px;
  }

  /* The floating + button caused collisions on narrow cards.
     Keep one clear primary add-to-cart action in the card footer. */
  .esh-product__media .esh-plus {
    display: none !important;
  }

  .esh-wish {
    top: 14px;
    left: auto;
    right: 14px;
    width: 34px;
    height: 34px;
    z-index: 5;
    border: 1px solid color-mix(in oklab, var(--sl-t0) 10%, transparent);
    background: color-mix(in oklab, var(--sl-surface) 88%, transparent);
    box-shadow: 0 6px 18px rgb(0 0 0 / .16);
  }

  .esh-disc {
    top: 14px;
    right: auto;
    left: 14px;
    z-index: 6;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 10px;
  }

  .esh-product__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 11px 11px 12px;
  }

  .esh-product__body h3 {
    min-height: 40px;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
  }

  .esh-product__body h3 a {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .esh-product__en {
    min-height: 17px;
    margin-top: 3px;
    font-size: 9.5px;
    line-height: 1.6;
  }

  .esh-product__price {
    min-height: 30px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .esh-add {
    min-height: 42px;
    height: 42px;
    margin-top: auto;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sl-brand), color-mix(in oklab, var(--sl-brand) 74%, var(--sl-blue))) !important;
    box-shadow: 0 10px 20px -12px var(--sl-brand);
  }
}

/* Very narrow phones should not squeeze product controls together. */
@media (max-width: 350px) {
  .esh-grid--products {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: 14px !important;
  }
  .esh-product__media img { aspect-ratio: 1.55 / 1; }
  .esh-product__body h3 { min-height: auto; font-size: 13px; }
}
