/* ES standard v2 (component theme 5) — CHROME: header (utility bar, main row,
   search + idle panel + live suggestions, actions, categories nav, menu
   drawer), footer, phone bottom bar, the mini-cart drawer and the toast that
   assets/sf-cart.js builds. Literal values from dev_template/UI mockups
   setup/Marketplace Pro.dc.html (lines 25-142, 1088-1204). Every rule is
   scoped to .sf-scope[data-ct="5"]; shared tokens live in es/tokens.css.
   Phones = the design's own breakpoint: < 1000px. */

/* ---------------------------------------------------------------- icons */
.sf-scope[data-ct="5"] .es-header svg,
.sf-scope[data-ct="5"] .es-drawer svg,
.sf-scope[data-ct="5"] .es-footer svg,
.sf-scope[data-ct="5"] .es-bottombar svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- header */
.sf-scope[data-ct="5"] .sf-part:has(> .es-header--sticky) { position: sticky; inset-block-start: 0; z-index: 30; }
/* The design's root has no line-height (normal); the scope sets 1.5, so the
   chrome resets it and states the design's explicit values where it has them. */
.sf-scope[data-ct="5"] .es-header,
.sf-scope[data-ct="5"] .es-drawer,
.sf-scope[data-ct="5"] .es-footer,
.sf-scope[data-ct="5"] .es-bottombar,
.sf-scope[data-ct="5"] .sf-minicart,
.sf-scope[data-ct="5"] .sf-carttoast { line-height: normal; }
.sf-scope[data-ct="5"] .es-header { position: relative; z-index: 30; background: #FFFFFF; border-bottom: 1px solid #E2E8F0; color: #1E293B; }

/* utility bar */
.sf-scope[data-ct="5"] .es-util { background: var(--es-navy); color: #CBD5E1; font-size: 13px; }
.sf-scope[data-ct="5"] .es-util__in { display: flex; align-items: center; gap: 6px 20px; min-height: 38px; }
.sf-scope[data-ct="5"] .es-util__msgs { display: block; min-width: 0; }
.sf-scope[data-ct="5"] .es-util__msg { display: inline; margin: 0; padding: 0; color: inherit; line-height: normal; opacity: 1; visibility: visible; }
.sf-scope[data-ct="5"] a.es-util__msg:hover { color: #FFFFFF; }
.sf-scope[data-ct="5"] [data-sf-announce][data-ready] .es-util__msg { display: none; }
.sf-scope[data-ct="5"] [data-sf-announce][data-ready] .es-util__msg.is-active { display: inline; }
.sf-scope[data-ct="5"] .es-util__spacer { flex: 1; }
.sf-scope[data-ct="5"] .es-util__lang { display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 1px 6px; background: none; border: 0; color: #FFFFFF; cursor: pointer; font-size: 13px; font-weight: 500; }
.sf-scope[data-ct="5"] .es-util__lang:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }

/* main row */
.sf-scope[data-ct="5"] .es-hbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 14px; }
.sf-scope[data-ct="5"] .es-brand { order: 0; display: flex; align-items: center; gap: 8px; color: var(--es-navy); }
.sf-scope[data-ct="5"] .es-brand:hover { color: var(--es-navy); }
.sf-scope[data-ct="5"] .es-brand__logo { display: block; height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.sf-scope[data-ct="5"] .es-brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--es-blue); color: #FFFFFF; display: grid; place-items: center; font-size: 18px; font-weight: 800; line-height: 1; }
.sf-scope[data-ct="5"] .es-brand__text { display: flex; flex-direction: column; line-height: 1; }
.sf-scope[data-ct="5"] .es-brand__name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.sf-scope[data-ct="5"] .es-brand__sub { font-size: 11px; font-weight: 600; color: var(--es-amber); margin-top: 3px; }

/* search pill */
.sf-scope[data-ct="5"] .es-search { position: relative; order: 2; flex: 1 1 240px; min-width: 0; }
.sf-scope[data-ct="5"] .es-search__form { display: flex; align-items: center; height: 48px; background: #F1F5F9; border: 1.5px solid #F1F5F9; border-radius: 14px; transition: border-color 150ms, background 150ms; }
.sf-scope[data-ct="5"] .es-search__form.is-focus,
.sf-scope[data-ct="5"] .es-search__form:focus-within { background: #FFFFFF; border-color: var(--es-blue); }
.sf-scope[data-ct="5"] .es-search__icon { margin-inline-start: 14px; stroke: #64748B; stroke-width: 1.9; }
.sf-scope[data-ct="5"] .es-search__input { flex: 1; min-width: 0; min-height: 0; height: 100%; margin: 0; padding: 0; padding-inline: 10px; border: 0; border-radius: 0; background: transparent; font-size: 15px; font-weight: 400; line-height: normal; color: #1E293B; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none; }
.sf-scope[data-ct="5"] .es-search__input:focus { outline: none; box-shadow: none; }
.sf-scope[data-ct="5"] .es-search__input::placeholder { color: #64748B; opacity: 1; }
.sf-scope[data-ct="5"] .es-search__go { flex: none; height: 38px; margin-inline-end: 4px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--es-blue); color: #FFFFFF; font-weight: 600; font-size: 14px; line-height: normal; cursor: pointer; }
.sf-scope[data-ct="5"] .es-search__go:hover { background: var(--es-blue-ink); }

/* search panel: idle (popular / recent) + live suggestions */
.sf-scope[data-ct="5"] .es-search__panel { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 40; display: flex; flex-direction: column; gap: 12px; padding: 14px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 18px; box-shadow: 0 20px 48px rgba(15, 23, 42, .16); }
.sf-scope[data-ct="5"] .es-search__panel[hidden] { display: none; }
.sf-scope[data-ct="5"] .es-search__idle { display: flex; flex-direction: column; gap: 12px; }
.sf-scope[data-ct="5"] .es-search__idle[hidden] { display: none; }
.sf-scope[data-ct="5"] .es-search__idle:empty { display: none; }
.sf-scope[data-ct="5"] .es-search__group { display: flex; flex-direction: column; gap: 12px; }
.sf-scope[data-ct="5"] .es-search__group[hidden] { display: none; }
.sf-scope[data-ct="5"] .es-search__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 600; color: #64748B; }
.sf-scope[data-ct="5"] .es-search__clear { margin: 0; padding: 0; background: none; border: 0; font-size: 12px; font-weight: 600; color: var(--es-blue); cursor: pointer; }
.sf-scope[data-ct="5"] .es-search__clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-scope[data-ct="5"] .es-search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-scope[data-ct="5"] .es-search__chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #1E293B; font-size: 13px; cursor: pointer; }
.sf-scope[data-ct="5"] .es-search__chip:hover { border-color: var(--es-blue); color: var(--es-blue); }

/* sf-search.js renders its listbox INTO [data-sf-suggest-results] and forces
   the class "sf-suggest sf-suggest--inline" on it — restyle that markup here
   (the old sheets position it as a grid of cards). */
.sf-scope[data-ct="5"] .es-search [data-sf-suggest-results] { position: static; display: block; max-height: none; overflow: visible; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.sf-scope[data-ct="5"] .es-search [data-sf-suggest-results][hidden] { display: none; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__group { margin: 0; padding: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #64748B; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__item + .sf-suggest__group { margin-top: 12px; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__item { display: flex; flex-direction: row; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: #1E293B; text-align: start; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__item:hover,
.sf-scope[data-ct="5"] .es-search .sf-suggest__item.is-active { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__thumb { flex: none; width: 40px; height: 40px; aspect-ratio: auto; border-radius: 10px; object-fit: cover; background: #F1F5F9; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__price { flex: none; font-size: 14px; font-weight: 700; color: var(--es-navy); direction: ltr; unicode-bidi: isolate; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__price small { font-size: 12px; font-weight: 400; color: #64748B; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__price s { font-weight: 400; color: #64748B; margin-inline-start: 4px; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__item--cat { display: inline-flex; width: auto; min-height: 34px; margin: 0; margin-inline-end: 8px; margin-bottom: 8px; padding: 0 12px; border-radius: 999px; background: var(--es-blue-soft); color: var(--es-blue-ink); grid-column: auto; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__item--cat:hover,
.sf-scope[data-ct="5"] .es-search .sf-suggest__item--cat.is-active { background: var(--es-blue-soft-2); color: var(--es-blue-ink); }
.sf-scope[data-ct="5"] .es-search .sf-suggest__item--cat .sf-suggest__name { flex: none; font-size: 13px; font-weight: 600; color: inherit; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__path { display: none; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__empty { margin: 0; padding: 0; border-radius: 0; background: transparent; font-size: 14px; color: #64748B; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__all { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: 12px; padding: 0 12px; border: 0; border-radius: 12px; background: #F8FAFC; color: var(--es-blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__all::after { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 16px 16px; }
.sf-scope[data-ct="5"] .es-search .sf-suggest__all:hover,
.sf-scope[data-ct="5"] .es-search .sf-suggest__all.is-active { background: var(--es-blue-soft); color: var(--es-blue-ink); }
[dir="rtl"] .sf-scope[data-ct="5"] .es-search .sf-suggest__all::after { transform: scaleX(-1); }

/* actions: language (phones) / favorites / account / cart */
.sf-scope[data-ct="5"] .es-actions { order: 3; margin-inline-start: auto; display: flex; align-items: center; gap: 2px; }
.sf-scope[data-ct="5"] .es-actions__lang { display: flex; font-weight: 600; }
.sf-scope[data-ct="5"] .es-actions__langtxt { font-size: 14px; font-weight: 500; line-height: 1; }
.sf-scope[data-ct="5"] .es-actions__langtxt--short { display: none; font-weight: 600; }
.sf-scope[data-ct="5"] .es-actions__lang:hover { background: #F1F5F9; color: #1E293B; }
/* currency picker (display-only conversion) */
.sf-scope[data-ct="5"] .es-cur { position: relative; }
.sf-scope[data-ct="5"] .es-cur__btn { list-style: none; gap: 6px; font-weight: 600; }
.sf-scope[data-ct="5"] .es-cur__btn::-webkit-details-marker { display: none; }
.sf-scope[data-ct="5"] .es-cur__btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sf-scope[data-ct="5"] .es-cur[open] .es-cur__btn svg { transform: rotate(180deg); }
.sf-scope[data-ct="5"] .es-cur__menu { position: absolute; z-index: 60; inset-inline-end: 0; top: calc(100% + 6px); min-width: 220px; max-height: 320px; overflow-y: auto; padding: 6px; border: 1px solid #E2E8F0; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .12); }
.sf-scope[data-ct="5"] .es-cur__opt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; color: #1E293B; font-size: 14px; text-decoration: none; }
.sf-scope[data-ct="5"] .es-cur__opt:hover { background: #F1F5F9; }
.sf-scope[data-ct="5"] .es-cur__opt.is-active { background: var(--es-blue-soft); color: var(--es-blue-ink); font-weight: 600; }
.sf-scope[data-ct="5"] .es-cur__optcode { flex: none; width: 36px; font-weight: 600; }
.sf-scope[data-ct="5"] .es-cur__optname { color: #64748B; }
.sf-scope[data-ct="5"] .es-cur__note { margin: 6px 4px 2px; padding-top: 8px; border-top: 1px solid #E2E8F0; font-size: 12px; line-height: 1.4; color: #64748B; }
.sf-scope[data-ct="5"] .es-actions__btn { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 12px; background: none; border: 0; color: #1E293B; cursor: pointer; font-size: 14px; font-weight: 500; text-align: start; }
.sf-scope[data-ct="5"] .es-actions__btn:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .es-actions__favcount { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #F1F5F9; color: var(--es-navy); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.sf-scope[data-ct="5"] .es-actions__favcount[hidden] { display: none; }
.sf-scope[data-ct="5"] .es-actions__btn:hover .es-actions__favcount { background: #E2E8F0; }
.sf-scope[data-ct="5"] .es-actions__lines { display: flex; flex-direction: column; line-height: 1.2; }
.sf-scope[data-ct="5"] .es-actions__hint { font-size: 12px; font-weight: 400; color: #64748B; }
.sf-scope[data-ct="5"] .es-actions__label { font-size: 14px; font-weight: 600; }
.sf-scope[data-ct="5"] .es-actions__cart { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 10px; border-radius: 12px; background: var(--es-navy); border: 0; color: #FFFFFF; cursor: pointer; font-size: 14px; font-weight: 600; }
.sf-scope[data-ct="5"] .es-actions__cart:hover { background: #1E293B; color: #FFFFFF; }
.sf-scope[data-ct="5"] .es-actions__cartcount { position: static; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--es-amber); color: var(--es-navy); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.sf-scope[data-ct="5"] .es-actions__cartcount[hidden] { display: none; }

/* categories row */
.sf-scope[data-ct="5"] .es-nav { border-top: 1px solid #F1F5F9; }
.sf-scope[data-ct="5"] .es-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; min-height: 50px; margin-block: 16px; }
.sf-scope[data-ct="5"] .es-nav__item { position: relative; flex: none; display: flex; align-items: center; }
.sf-scope[data-ct="5"] .es-nav__all { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--es-navy); color: #FFFFFF; font-size: 14px; font-weight: 600; line-height: normal; cursor: pointer; }
.sf-scope[data-ct="5"] .es-nav__all:hover { background: #1E293B; }
.sf-scope[data-ct="5"] .es-nav__all svg { stroke-width: 2; }
.sf-scope[data-ct="5"] .es-nav__link { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: #334155; font-size: 14px; font-weight: 500; line-height: normal; cursor: pointer; white-space: nowrap; }
.sf-scope[data-ct="5"] .es-nav__link:hover,
.sf-scope[data-ct="5"] .es-nav__item.is-open > .es-nav__link { background: #F1F5F9; color: #334155; }
.sf-scope[data-ct="5"] .es-nav__link[aria-current="page"],
.sf-scope[data-ct="5"] .es-nav__link.is-active { background: var(--es-blue-soft); color: var(--es-blue-ink); }
.sf-scope[data-ct="5"] .es-nav__toggle { display: inline-grid; place-items: center; width: 24px; height: 36px; margin-inline-start: -8px; padding: 0; border: 0; border-radius: 10px; background: none; color: #334155; cursor: pointer; }
.sf-scope[data-ct="5"] .es-nav__toggle:hover { background: #F1F5F9; }
.sf-scope[data-ct="5"] .es-nav__toggle svg { stroke-width: 2.4; transition: transform .15s; }
.sf-scope[data-ct="5"] .es-nav__item.is-open .es-nav__toggle svg { transform: rotate(180deg); }
.sf-scope[data-ct="5"] .es-nav__panel { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 40; display: none; gap: 6px; min-width: 240px; padding: 6px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; box-shadow: 0 16px 40px rgba(15, 23, 42, .14); }
.sf-scope[data-ct="5"] .es-nav__panel::before { content: ""; position: absolute; inset-inline: 0; top: -8px; height: 8px; }
.sf-scope[data-ct="5"] .es-nav__item:hover > .es-nav__panel,
.sf-scope[data-ct="5"] .es-nav__item:focus-within > .es-nav__panel,
.sf-scope[data-ct="5"] .es-nav__item.is-open > .es-nav__panel { display: flex; }
.sf-scope[data-ct="5"] .es-nav__col { display: flex; flex-direction: column; min-width: 180px; }
.sf-scope[data-ct="5"] .es-nav__item--mega .es-nav__panel { min-width: 0; }
.sf-scope[data-ct="5"] .es-nav__sublink { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 10px; color: #1E293B; font-size: 14px; font-weight: 500; white-space: nowrap; }
.sf-scope[data-ct="5"] .es-nav__sublink:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .es-nav__sublink--head { font-weight: 700; color: var(--es-navy); }
.sf-scope[data-ct="5"] .es-nav__item--mega .es-nav__sublink:not(.es-nav__sublink--head) { min-height: 36px; font-weight: 400; color: #334155; }
.sf-scope[data-ct="5"] .es-nav__item--offers { margin-inline-start: auto; }
.sf-scope[data-ct="5"] .es-nav__offers { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--es-amber-soft); color: var(--es-amber-ink); font-size: 14px; font-weight: 700; line-height: normal; cursor: pointer; }
.sf-scope[data-ct="5"] .es-nav__offers:hover { background: #FDE68A; color: var(--es-amber-ink); }
.sf-scope[data-ct="5"] .es-nav__offers svg { stroke-width: 2; }

/* ---------------------------------------------------------- menu drawer */
.sf-scope[data-ct="5"] .es-drawer { position: fixed; inset: 0; z-index: 90; }
.sf-scope[data-ct="5"] .es-drawer[hidden] { display: none; }
.sf-scope[data-ct="5"] .es-drawer__scrim { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.sf-scope[data-ct="5"] .es-drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(420px, 92%); display: flex; flex-direction: column; background: #FFFFFF; box-shadow: 0 0 40px rgba(15, 23, 42, .18); outline: none; }
.sf-scope[data-ct="5"] .es-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-inline: 20px 8px; border-bottom: 1px solid #E2E8F0; }
.sf-scope[data-ct="5"] .es-drawer__title { font-size: 19px; font-weight: 700; color: var(--es-navy); }
.sf-scope[data-ct="5"] .es-drawer__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 12px; color: #1E293B; cursor: pointer; }
.sf-scope[data-ct="5"] .es-drawer__close:hover { background: #F1F5F9; }
.sf-scope[data-ct="5"] .es-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 12px; }
.sf-scope[data-ct="5"] .es-drawer__group { border-bottom: 1px solid #F1F5F9; }
.sf-scope[data-ct="5"] .es-drawer__group:last-child { border-bottom: 0; }
.sf-scope[data-ct="5"] .es-drawer__row { display: flex; align-items: center; }
.sf-scope[data-ct="5"] .es-drawer__link { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px; border-radius: 10px; color: #1E293B; font-size: 15px; font-weight: 600; }
.sf-scope[data-ct="5"] .es-drawer__link:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .es-drawer__link--offers { color: var(--es-amber-ink); }
.sf-scope[data-ct="5"] .es-drawer__link--offers:hover { background: var(--es-amber-soft); color: var(--es-amber-ink); }
.sf-scope[data-ct="5"] .es-drawer__link--offers svg { stroke-width: 2; }
.sf-scope[data-ct="5"] .es-drawer__expand { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 10px; color: #64748B; cursor: pointer; }
.sf-scope[data-ct="5"] .es-drawer__expand:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .es-drawer__expand svg { stroke-width: 2; transition: transform .15s; }
.sf-scope[data-ct="5"] .es-drawer__expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.sf-scope[data-ct="5"] .es-drawer__sub { display: flex; flex-direction: column; padding: 0 8px 10px; }
.sf-scope[data-ct="5"] .es-drawer__sub[hidden] { display: none; }
.sf-scope[data-ct="5"] .es-drawer__sublink { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: #334155; font-size: 14px; }
.sf-scope[data-ct="5"] .es-drawer__sublink:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .es-drawer__sublink--head { font-weight: 700; color: var(--es-navy); }
.sf-scope[data-ct="5"] .es-drawer__sublink--leaf { padding-inline-start: 24px; color: #64748B; }
.sf-scope[data-ct="5"] .es-drawer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid #E2E8F0; }
.sf-scope[data-ct="5"] .es-drawer__account,
.sf-scope[data-ct="5"] .es-drawer__lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #1E293B; }
.sf-scope[data-ct="5"] .es-drawer__account { background: #F1F5F9; }
.sf-scope[data-ct="5"] .es-drawer__account:hover { background: #E2E8F0; color: #1E293B; }
.sf-scope[data-ct="5"] .es-drawer__lang { border: 1px solid #E2E8F0; }
.sf-scope[data-ct="5"] .es-drawer__lang:hover { border-color: var(--es-blue); color: var(--es-blue); }

/* --------------------------------------------------------------- footer */
.sf-scope[data-ct="5"] .es-footer { margin-top: clamp(56px, 6vw, 96px); background: var(--es-navy); color: #E2E8F0; }
.sf-scope[data-ct="5"] .es-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; padding-block: clamp(40px, 5vw, 64px) 28px; }
.sf-scope[data-ct="5"] .es-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.sf-scope[data-ct="5"] .es-footer__brandrow { display: flex; align-items: center; gap: 8px; }
.sf-scope[data-ct="5"] .es-footer__mark { width: 32px; height: 32px; border-radius: 10px; background: var(--es-blue); color: #FFFFFF; display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.sf-scope[data-ct="5"] .es-footer__logo { display: block; height: 32px; width: auto; max-width: 200px; object-fit: contain; }
.sf-scope[data-ct="5"] .es-footer__name { font-size: 18px; font-weight: 700; color: #FFFFFF; }
.sf-scope[data-ct="5"] .es-footer__about { margin: 0; font-size: 14px; line-height: 1.6; color: #94A3B8; max-width: 32ch; }
.sf-scope[data-ct="5"] .es-footer__col { min-width: 0; }
.sf-scope[data-ct="5"] .es-footer__title { margin: 0 0 10px; font-size: 13px; font-weight: 700; line-height: normal; color: #FFFFFF; }
.sf-scope[data-ct="5"] .es-footer__list { display: flex; flex-direction: column; }
.sf-scope[data-ct="5"] .es-footer__link { display: inline-flex; align-items: center; min-height: 36px; padding: 0; background: none; border: 0; color: #CBD5E1; font-size: 14px; text-align: start; cursor: pointer; }
.sf-scope[data-ct="5"] a.es-footer__link:hover { color: #FFFFFF; }
.sf-scope[data-ct="5"] .es-footer__bottom { border-top: 1px solid #1E293B; padding-block: 18px 24px; font-size: 13px; color: #94A3B8; }

/* ----------------------------------------------------------- bottom bar */
.sf-scope[data-ct="5"] .es-bottombar__pad { display: none; height: 74px; }
.sf-scope[data-ct="5"] .es-bottombar { display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 50; background: #FFFFFF; border-top: 1px solid #E2E8F0; padding: 6px 6px 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.sf-scope[data-ct="5"] .es-bottombar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sf-scope[data-ct="5"] .es-bottombar__item { position: relative; width: 100%; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 1px 6px; background: none; border: 0; border-radius: 0; color: #64748B; font-size: 11px; font-weight: 500; line-height: normal; cursor: pointer; }
.sf-scope[data-ct="5"] .es-bottombar__item:hover { color: var(--es-blue); }
.sf-scope[data-ct="5"] .es-bottombar__item.is-active { color: var(--es-blue); font-weight: 700; }
.sf-scope[data-ct="5"] .es-bottombar__badge { position: absolute; top: 2px; inset-inline-start: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--es-amber); color: var(--es-navy); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.sf-scope[data-ct="5"] .es-bottombar__badge[hidden] { display: none; }

/* -------------------------------------------- mini-cart drawer (sf-cart.js) */
.sf-scope[data-ct="5"] .sf-minicart-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .45); opacity: 0; pointer-events: none; transition: opacity 200ms; }
.sf-scope[data-ct="5"] .sf-minicart-scrim.is-open { opacity: 1; pointer-events: auto; }
.sf-scope[data-ct="5"] .sf-minicart { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; inset-inline-start: auto; z-index: 70; width: min(420px, 92%); max-width: none; height: auto; margin: 0; padding: 0; display: flex; flex-direction: column; background: #FFFFFF; border: 0; border-radius: 0; box-shadow: 0 0 40px rgba(15, 23, 42, .18); transform: translateX(100%); visibility: hidden; transition: transform 240ms ease, visibility 240ms; outline: none; }
[dir="rtl"] .sf-scope[data-ct="5"] .sf-minicart { transform: translateX(-100%); }
.sf-scope[data-ct="5"] .sf-minicart.is-open,
[dir="rtl"] .sf-scope[data-ct="5"] .sf-minicart.is-open { transform: none; visibility: visible; }
.sf-scope[data-ct="5"] .sf-minicart__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; margin: 0; padding: 0; padding-inline: 20px 8px; border-bottom: 1px solid #E2E8F0; }
.sf-scope[data-ct="5"] .sf-minicart__title { margin: 0; font-size: 19px; font-weight: 700; color: var(--es-navy); }
.sf-scope[data-ct="5"] .sf-minicart__count { font-size: 14px; font-weight: 500; color: #64748B; }
.sf-scope[data-ct="5"] .sf-minicart__close { width: 44px; height: 44px; display: grid; place-items: center; margin: 0; padding: 0; background: none; border: 0; border-radius: 12px; color: #1E293B; cursor: pointer; }
.sf-scope[data-ct="5"] .sf-minicart__close:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .sf-minicart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px; text-align: center; }
.sf-scope[data-ct="5"] .sf-minicart__emptyicon { width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--es-blue-soft); color: var(--es-blue); }
.sf-scope[data-ct="5"] .sf-minicart__emptyicon svg { width: 36px; height: 36px; }
.sf-scope[data-ct="5"] .sf-minicart__emptytitle { margin: 0; font-size: 19px; font-weight: 700; color: var(--es-navy); }
.sf-scope[data-ct="5"] .sf-minicart__emptytext { margin: 0; font-size: 14px; line-height: 1.55; color: #64748B; max-width: 30ch; }
.sf-scope[data-ct="5"] .sf-minicart__free { display: flex; flex-direction: column; gap: 8px; padding: 12px 20px 0; font-size: 13px; color: #64748B; }
.sf-scope[data-ct="5"] .sf-minicart__bar { height: 6px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.sf-scope[data-ct="5"] .sf-minicart__bar > span { display: block; height: 100%; border-radius: 999px; background: var(--es-blue); }
.sf-scope[data-ct="5"] .sf-minicart__body { flex: 1; overflow-y: auto; margin: 0; padding: 4px 20px; }
.sf-scope[data-ct="5"] .sf-minicart__line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; padding-block: 16px; border-bottom: 1px solid #F1F5F9; }
.sf-scope[data-ct="5"] .sf-minicart__line:last-child { border-bottom: 1px solid #F1F5F9; }
.sf-scope[data-ct="5"] .sf-minicart__thumb { display: block; width: 76px; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; background: #F1F5F9; object-fit: cover; }
.sf-scope[data-ct="5"] .sf-minicart__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-scope[data-ct="5"] .sf-minicart__top { display: flex; justify-content: space-between; gap: 10px; }
.sf-scope[data-ct="5"] .sf-minicart__name { font-size: 14px; font-weight: 500; line-height: 1.4; color: #1E293B; }
.sf-scope[data-ct="5"] .sf-minicart__price { font-size: 14px; font-weight: 700; white-space: nowrap; color: #1E293B; direction: ltr; unicode-bidi: isolate; }
.sf-scope[data-ct="5"] .sf-minicart__opt { font-size: 12px; color: #64748B; }
.sf-scope[data-ct="5"] .sf-minicart__flag { font-size: 12px; font-weight: 600; color: #DC2626; }
.sf-scope[data-ct="5"] .sf-minicart__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.sf-scope[data-ct="5"] .sf-minicart__qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid #E2E8F0; border-radius: 12px; }
.sf-scope[data-ct="5"] .sf-minicart__qty button { width: 40px; height: 40px; margin: 0; padding: 0; background: none; border: 0; border-radius: 12px; color: #1E293B; font-size: 18px; cursor: pointer; }
.sf-scope[data-ct="5"] .sf-minicart__qty button:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .sf-minicart__qty span { min-width: 28px; text-align: center; font-size: 14px; font-weight: 700; }
.sf-scope[data-ct="5"] .sf-minicart__remove { min-height: 40px; margin: 0; padding: 0; background: none; border: 0; color: #64748B; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sf-scope[data-ct="5"] .sf-minicart__remove:hover { color: #DC2626; }
.sf-scope[data-ct="5"] .sf-minicart__foot { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 18px 20px 22px; border-top: 1px solid #E2E8F0; }
.sf-scope[data-ct="5"] .sf-minicart__total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; color: #1E293B; }
.sf-scope[data-ct="5"] .sf-minicart__total strong { direction: ltr; unicode-bidi: isolate; }
.sf-scope[data-ct="5"] .sf-minicart__note { margin: 0 0 4px; font-size: 13px; color: #64748B; }
.sf-scope[data-ct="5"] .sf-minicart__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0; padding: 0 16px; border: 1px solid #E2E8F0; border-radius: 14px; background: #FFFFFF; color: #1E293B; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.sf-scope[data-ct="5"] .sf-minicart__btn:hover { background: #F1F5F9; color: #1E293B; }
.sf-scope[data-ct="5"] .sf-minicart__btn--primary { min-height: 52px; border: 0; background: var(--es-blue); color: #FFFFFF; font-size: 16px; font-weight: 700; }
.sf-scope[data-ct="5"] .sf-minicart__btn--primary:hover { background: var(--es-blue-ink); color: #FFFFFF; }
.sf-scope[data-ct="5"] .sf-minicart__empty .sf-minicart__btn--primary { width: auto; min-height: 48px; margin-top: 10px; padding: 0 24px; border-radius: 12px; font-size: 15px; font-weight: 600; }

/* ------------------------------------------------------ toast (sf-cart.js) */
.sf-scope[data-ct="5"] .sf-carttoast { position: fixed; left: 50%; right: auto; bottom: 24px; top: auto; z-index: 80; display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(440px, calc(100vw - 32px)); margin: 0; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--es-navy); color: #FFFFFF; box-shadow: 0 12px 32px rgba(15, 23, 42, .25); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 200ms, transform 200ms; }
.sf-scope[data-ct="5"] .sf-carttoast.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sf-scope[data-ct="5"] .sf-carttoast__mark { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin: 0; padding: 0; background: none; border-radius: 0; color: var(--es-amber); }
.sf-scope[data-ct="5"] .sf-carttoast__mark svg { width: 18px; height: 18px; stroke-width: 2.2; }
.sf-scope[data-ct="5"] .sf-carttoast.is-error .sf-carttoast__mark { color: #F87171; background: none; }
.sf-scope[data-ct="5"] .sf-carttoast__thumb { flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: #1E293B; }
.sf-scope[data-ct="5"] .sf-carttoast__text { display: flex; flex-direction: column; min-width: 0; }
.sf-scope[data-ct="5"] .sf-carttoast__title { font-size: 14px; font-weight: 500; color: #FFFFFF; }
.sf-scope[data-ct="5"] .sf-carttoast__sub { font-size: 12px; color: #94A3B8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-scope[data-ct="5"] .sf-carttoast__cta { flex: none; display: inline-flex; align-items: center; min-height: 34px; margin: 0; padding: 0 8px; background: none; border: 0; border-radius: 0; color: #FBBF24; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sf-scope[data-ct="5"] .sf-carttoast__cta:hover { color: #FDE68A; background: none; }
.sf-scope[data-ct="5"] .sf-carttoast__close { flex: none; width: 28px; height: 28px; display: grid; place-items: center; margin: 0; padding: 0; background: none; border: 0; border-radius: 8px; color: #94A3B8; cursor: pointer; }
.sf-scope[data-ct="5"] .sf-carttoast__close:hover { color: #FFFFFF; background: none; }

/* ------------------------------------------------- phones (design: < 1000) */
@media (max-width: 999px) {
    .sf-scope[data-ct="5"] .es-util { display: none; }
    .sf-scope[data-ct="5"] .es-nav { display: none; }
    .sf-scope[data-ct="5"] .es-hbar { padding-block: 10px 12px; }
    .sf-scope[data-ct="5"] .es-search { order: 3; flex: 1 1 100%; }
    .sf-scope[data-ct="5"] .es-actions { order: 1; }
    .sf-scope[data-ct="5"] .es-actions__lang { padding: 0 8px; gap: 4px; }
    .sf-scope[data-ct="5"] .es-actions__langtxt--full { display: none; }
    .sf-scope[data-ct="5"] .es-actions__langtxt--short { display: inline; }
    .sf-scope[data-ct="5"] .es-actions__favs,
    .sf-scope[data-ct="5"] .es-actions__account { display: none; }
    .sf-scope[data-ct="5"] .es-actions__cart { background: transparent; color: #1E293B; }
    .sf-scope[data-ct="5"] .es-actions__cart:hover { background: #F1F5F9; color: #1E293B; }
    .sf-scope[data-ct="5"] .es-actions__cartlabel { display: none; }
    .sf-scope[data-ct="5"] .es-actions__cartcount { position: absolute; top: 2px; inset-inline-end: 0; }
    .sf-scope[data-ct="5"] .es-bottombar { display: block; }
    .sf-scope[data-ct="5"] .es-bottombar__pad { display: block; }
    .sf-scope[data-ct="5"] .sf-carttoast { bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
    .sf-scope[data-ct="5"] .sf-minicart,
    .sf-scope[data-ct="5"] .sf-minicart-scrim,
    .sf-scope[data-ct="5"] .sf-carttoast,
    .sf-scope[data-ct="5"] .es-search__form { transition: none; }
}
