:root {
  --ds-deep: #030099;
  --ds-primary: #1B17FF;
  --ds-primary-hover: #030099;
  --ds-bright: #7674F4;
  --ds-deal: #639922;
  --ds-text: #1b2430;
  --ds-text-secondary: #4b5563;
  --ds-muted: #6b7280;
  --ds-border: #deddfb;
  --ds-surface: #FFFFFF;
  --ds-page-bg: #fafaff;
  --ds-radius-sm: 8px;
  --ds-radius-md: 12px;
  --ds-radius-card: 16px;
  --ds-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --ds-shadow-card: 0 4px 14px rgba(15, 23, 42, 0.06);
  --ds-shadow-card-hover: 0 12px 28px rgba(15, 23, 42, 0.12);
  --ds-space-1: 8px;
  --ds-space-2: 12px;
  --ds-space-3: 16px;
  --ds-space-4: 24px;
  --ds-space-5: 32px;
  --ds-space-6: 48px;
  --ds-image-ratio: 4 / 3;
  --ds-font-ar: "Droid Arabic Kufi", Arial, sans-serif;
  --ds-font-latin: Poppins, Arial, sans-serif;
  --ds-z-base: 0;
  --ds-z-header: 20;
  --ds-z-dropdown: 30;
  --ds-z-notification: 40;
  --ds-z-mobile-menu: 50;
  --ds-z-modal-backdrop: 60;
  --ds-z-modal: 70;
  --ds-z-toast: 80;
  --ds-z-story-popup: var(--ds-z-modal);
  --ds-mobile-toolbar-height: 60px;
  --ds-mobile-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --ds-mobile-floating-control-size: 40px;
  --ds-mobile-floating-gap: 12px;
  --ds-mobile-toolbar-effective-height: calc(var(--ds-mobile-toolbar-height) + var(--ds-mobile-safe-area-bottom));
  --ds-mobile-floating-bottom: calc(var(--ds-mobile-toolbar-effective-height) + var(--ds-mobile-floating-gap));
  --ds-mobile-bottom-compensation: calc(
    var(--ds-mobile-toolbar-effective-height) +
    var(--ds-mobile-floating-control-size) +
    var(--ds-mobile-floating-gap) +
    var(--ds-mobile-floating-gap)
  );
}

.ds-site-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

.ds-site-shell > main {
  flex: 1 0 auto;
}

.ds-site-shell > .ec-footer-sec {
  margin-top: auto;
}

.ds-footer {
  border-top: 1px solid #7674f436;
  background: #030099;
  color: #ffffff;
}

.ds-footer__container {
  padding-block: 52px 20px;
}

.ds-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(130px, 1fr));
  gap: 32px;
}

.ds-footer__logo {
  display: inline-block;
}

.ds-footer__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.ds-footer__logo img {
  display: block;
  max-width: 180px;
  max-height: 54px;
  object-fit: contain;
}

.ds-footer__brand p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  text-align: start;
}

.ds-footer__section h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-align: start;
}

.ds-footer__section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.ds-footer a:hover,
.ds-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #7674f436;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.ds-form-card {
  padding: 32px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-contact-page__card {
  max-width: 760px;
  margin-inline: auto;
}

.ds-public-form {
  display: grid;
  gap: 20px;
}

.ds-public-form__field {
  display: grid;
  gap: 8px;
}

.ds-public-form__field label {
  color: var(--ds-text);
  font-weight: 700;
  text-align: start;
}

.ds-public-form__field input,
.ds-public-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  color: var(--ds-text);
  background: #ffffff;
  text-align: start;
}

.ds-public-form__field textarea {
  min-height: 150px;
  resize: vertical;
}

.ds-public-form__field input:focus-visible,
.ds-public-form__field textarea:focus-visible,
.ds-public-form__submit:focus-visible {
  outline: 3px solid rgba(118, 116, 244, 0.55);
  outline-offset: 2px;
}

.ds-public-form__submit {
  justify-self: start;
  min-height: 44px;
}

.ds-form-notice {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: var(--ds-radius-sm);
  text-align: start;
}

.ds-form-notice--success {
  color: #245c10;
  background: #eff9e8;
}

.ds-form-notice--error {
  color: #8b1e1e;
  background: #fff0f0;
}

[dir="rtl"] .ds-footer,
[dir="rtl"] .ds-form-card {
  font-family: var(--ds-font-ar);
}

@media (max-width: 767px) {
  .ds-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .ds-form-card {
    padding: 24px 18px;
  }
}

@media (max-width: 479px) {
  .ds-footer__grid {
    grid-template-columns: 1fr;
  }

  .ds-footer__bottom {
    flex-direction: column;
  }
}

.ds-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
  margin-top: var(--ds-space-4);
}

.ec-login-wrapper .ec-login-container .ec-login-form .ec-login-wrap label:has(input[name="remember_me"]) {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-1);
  line-height: 1.4;
}

.ec-login-wrapper .ec-login-container .ec-login-form input[type="checkbox"][name="remember_me"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 0;
  flex: 0 0 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--ds-primary);
}

.ds-auth-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--ds-radius-sm);
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ds-auth-action--primary {
  background: var(--ds-primary);
  color: #fff;
}

.ds-auth-action--primary:hover {
  background: var(--ds-primary-hover);
  color: #fff;
}

.ds-auth-action--secondary {
  border-color: var(--ds-deep);
  background: var(--ds-surface);
  color: var(--ds-deep);
}

.ds-auth-action--secondary:hover {
  border-color: var(--ds-primary);
  background: rgba(27, 23, 255, 0.06);
  color: var(--ds-deep);
}

.ds-auth-action:focus-visible,
.ds-account-nav__link:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.4);
  outline-offset: 3px;
}

html,
body.dark {
  min-height: 100%;
}

body.dark {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

body.dark > .ec-footer-sec {
  width: 100%;
  margin-top: auto;
}

.ds-page {
  background: var(--ds-page-bg);
  color: var(--ds-text);
}

.ds-wishlist-page {
  background-image: linear-gradient(180deg, rgba(27, 23, 255, 0.035), transparent 260px);
}

.ds-page__container {
  max-width: 1360px;
  margin-inline: auto;
  padding: 40px 32px 48px;
}

.ds-page-header {
  margin-bottom: 28px;
}

.ds-page-header__title {
  margin: 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  text-align: start;
}

.ds-page-header__title::after {
  display: block;
  width: 44px;
  height: 3px;
  margin-block-start: var(--ds-space-2);
  margin-inline-start: 0;
  margin-inline-end: auto;
  border-radius: 999px;
  background: var(--ds-primary);
  content: "";
}

.ds-page-header__description {
  margin: 8px 0 0;
  color: var(--ds-muted);
  font-family: var(--ds-font-latin);
  font-size: 14px;
  line-height: 1.65;
  text-align: start;
}

[dir="rtl"] .ds-page-header__title,
[dir="rtl"] .ds-page-header__description,
.ds-page-header__title:lang(ar),
.ds-page-header__description:lang(ar) {
  font-family: var(--ds-font-ar);
}

.ds-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ds-listing-card {
  display: flex;
  height: 100%;
  align-self: start;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ds-listing-card__media {
  display: block;
  aspect-ratio: var(--ds-image-ratio);
  overflow: hidden;
  background: #eef1f5;
}

.ds-listing-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-listing-card__body {
  display: flex;
  min-height: 200px;
  flex: 1 1 auto;
  flex-direction: column;
  padding: var(--ds-space-3);
}

.ds-listing-card__title {
  display: -webkit-box;
  height: 4.5em;
  margin: 0;
  min-height: 4.5em;
  max-height: 4.5em;
  overflow: hidden;
  color: var(--ds-text);
  font-family: var(--ds-font-latin);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: start;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ds-listing-card__title a {
  color: inherit;
  text-decoration: none;
}

.ds-listing-card__location {
  display: flex;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  align-items: center;
  gap: 6px;
  margin-top: var(--ds-space-2);
  color: var(--ds-muted);
  font-family: var(--ds-font-latin);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-listing-card__location i {
  flex: 0 0 auto;
  font-size: 14px;
}

.ds-listing-card__location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-listing-card__actions {
  margin-top: var(--ds-space-3);
}

.ds-listing-card__remove {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 14px;
  border: 1px solid #e6b8bd;
  border-radius: var(--ds-radius-sm);
  background: #fffafb;
  color: #a43743;
  font-family: var(--ds-font-latin);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: start;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ds-listing-card__remove:hover:not(:disabled) {
  border-color: #c55a65;
  background: #fff1f2;
  color: #842d36;
}

.ds-listing-card__remove:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ds-listing-card__media:focus-visible,
.ds-listing-card__title a:focus-visible,
.ds-listing-card__remove:focus-visible,
.ds-empty-state__link:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .ds-listing-card:hover {
    border-color: var(--ds-bright);
    box-shadow: var(--ds-shadow-card-hover);
    transform: translateY(-2px);
  }
}

.ds-empty-state {
  padding: 48px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
  text-align: center;
}

.ds-empty-state__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 23, 255, 0.09);
  color: var(--ds-bright);
  font-size: 21px;
}

.ds-empty-state__title {
  margin: 16px 0 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.ds-empty-state__description {
  margin: 8px auto 0;
  color: var(--ds-muted);
  font-family: var(--ds-font-latin);
  font-size: 14px;
  line-height: 1.65;
}

.ds-empty-state__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding-inline: 18px;
  border-radius: var(--ds-radius-sm);
  background: var(--ds-primary);
  color: #ffffff;
  font-family: var(--ds-font-latin);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.ds-empty-state__link:hover {
  background: var(--ds-primary-hover);
  color: #ffffff;
}

[dir="rtl"] .ds-listing-card__title,
[dir="rtl"] .ds-listing-card__price,
[dir="rtl"] .ds-listing-card__location,
[dir="rtl"] .ds-listing-card__remove,
[dir="rtl"] .ds-empty-state__title,
[dir="rtl"] .ds-empty-state__description,
[dir="rtl"] .ds-empty-state__link,
.ds-listing-card__title:lang(ar),
.ds-listing-card__price:lang(ar),
.ds-listing-card__location:lang(ar),
.ds-listing-card__remove:lang(ar),
.ds-empty-state__title:lang(ar),
.ds-empty-state__description:lang(ar),
.ds-empty-state__link:lang(ar) {
  font-family: var(--ds-font-ar);
}

[dir="rtl"] .ds-wishlist-page,
html[lang="ar"] .ds-wishlist-page {
  direction: rtl;
}

@media (max-width: 1279px) {
  .ds-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ds-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 639px) {
  .ds-page__container {
    padding: 30px 16px 32px;
  }

  .ds-page-header {
    margin-bottom: 28px;
  }

  .ds-page-header__title {
    font-size: 27px;
  }

  .ds-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ds-listing-card__body {
    min-height: 0;
    padding: 10px;
  }

  .ds-listing-card__title {
    height: 2.8em;
    min-height: 2.8em;
    max-height: 2.8em;
    font-size: 13px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .ds-listing-card__location {
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
  }

  .ds-listing-card__final-price {
    font-size: 16px;
  }

  .ds-listing-card__price-label,
  .ds-listing-card__base-price,
  .ds-listing-card__category,
  .ds-listing-card__deal {
    font-size: 11px;
  }

  .ds-listing-card__deal {
    padding: 2px 6px;
  }

  .ds-listing-card__remove {
    width: 100%;
  }

  .ds-empty-state {
    padding: 32px 20px;
  }
}

.ds-header {
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
}

.ds-header .header-top {
  border-bottom: 1px solid var(--ds-border);
  background: #fafaff;
}

.ds-header__desktop-row {
  min-height: 78px;
  align-items: center;
  gap: var(--ds-space-4);
}

.ds-header__logo {
  flex: 0 0 auto;
}

.ds-header__logo a {
  display: block;
  border-radius: var(--ds-radius-sm);
}

.ds-header__logo img {
  display: block;
  width: clamp(145px, 12vw, 175px);
  height: auto;
}

.ds-header .header-cat-btn .dropdown-toggle,
.ds-header .header-search .form-control,
.ds-header .ec-header-user .button {
  border-color: var(--ds-border);
}

.ds-header .header-cat-btn .dropdown-toggle,
.ds-header .ec-header-user .button {
  color: var(--ds-deep);
}

.ds-header .ec-header-count {
  background: #f1f2ff;
  color: var(--ds-deep);
}

.ds-header .ec-header-bottons .ec-header-btn:hover .ec-header-count {
  background: #f1f2ff;
  color: var(--ds-deep);
}

.ds-header .header-cat-btn .dropdown-toggle {
  color: #fff;
}

.ds-header #langDropdown {
  background: #22222200;
}

.ds-header__language-flag {
  width: 20px;
  height: 20px;
  margin-inline-end: 5px;
  object-fit: contain;
  vertical-align: middle;
}

.ds-header .header-cat-btn .dropdown-toggle > i:first-child {
  font-size: 22px;
}

.ds-header .header-cat-btn .dropdown-toggle > i:last-child {
  font-size: 18px;
}

.ds-header .ec-header-bottons .ec-header-btn i,
.ds-header .ec-header-user .button i {
  font-size: 28px;
}

.ds-header .ec-btn-group-form {
  display: flex;
  align-items: stretch;
}

@media (min-width: 992px) {
  .ds-header .ds-header__desktop-row > .align-self-center {
    min-width: 0;
  }

  .ds-header .ds-header__desktop-row > .align-self-center:last-child {
    flex: 0 0 auto;
  }

  .ds-header .ds-header__desktop-row .header-search {
    max-width: 100%;
  }

  .ds-header .ds-header__desktop-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }

  .ds-header .ds-header__desktop-actions > * + * {
    margin: 0;
    padding: 0;
  }

  .ds-header .ds-header__desktop-actions .ec-header-btn.ec-header-wishlist {
    margin: 0;
    padding: 0;
  }
}

.ds-header .header-search .form-control {
  min-width: 0;
  height: 45px;
  flex: 1 1 auto;
  border-radius: var(--ds-radius-sm) 0 0 var(--ds-radius-sm);
}

.ds-header .header-search .submit {
  position: static;
  width: 45px;
  min-width: 45px;
  height: 45px;
  border: 1px solid var(--ds-deep);
  border-radius: 0 var(--ds-radius-sm) var(--ds-radius-sm) 0;
  background: var(--ds-deep);
  color: #ffffff;
}

.ds-header .header-search .submit i {
  color: #fff;
  font-size: 18px;
  line-height: 12px;
}

.ds-header .header-search .submit:hover,
.ds-header .header-search .submit:focus-visible {
  border-color: var(--ds-deep);
  background: var(--ds-deep);
  color: #ffffff;
}

.ds-header .header-search .form-control:focus,
.ds-header .header-cat-btn .dropdown-toggle:focus-visible,
.ds-header__logo a:focus-visible,
.ds-header .ec-header-btn:focus-visible,
.ds-header .ec-header-user .button:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

.ds-header .header-cat-btn .dropdown-toggle:hover,
.ds-header .ec-header-user .button:hover {
  border-color: var(--ds-bright);
}

.ds-header__mobile-main {
  padding-block: var(--ds-space-2);
}

@media (max-width: 991px) {
  .ds-header .header-top {
    display: none;
  }

  .ds-header .ds-header__mobile-main {
    padding: 14px 0 12px;
  }

  .ds-header__mobile-bar {
    display: grid;
    grid-template-columns: 42px minmax(78px, 1fr) 42px auto auto;
    align-items: center;
    gap: 6px;
  }

  .ds-header__mobile-action,
  .ds-header__mobile-language {
    display: inline-grid;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    background: var(--ds-surface);
    color: var(--ds-deep);
    place-items: center;
  }

  .ds-header__mobile-action {
    width: 42px;
    padding: 0;
    font-size: 21px;
  }

  .ds-header__mobile-language {
    grid-auto-flow: column;
    gap: 3px;
    min-width: 50px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .ds-header__mobile-language .ds-header__language-flag {
    width: 17px;
    height: 17px;
    margin: 0;
  }

  .ds-header .ds-header__mobile-logo .header-logo {
    display: flex;
    justify-content: center;
  }

  .ds-header .ds-header__mobile-logo .ds-header__logo img {
    width: clamp(115px, 32vw, 145px);
  }

  .ds-header__mobile-search {
    margin-block-start: 10px;
  }

  .ds-header__mobile-search[hidden] {
    display: none;
  }

  .ds-header__mobile-search-inner {
    display: flex;
    align-items: stretch;
    gap: 6px;
  }

  .ds-header .ds-header__mobile-search .header-search {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  .ds-header .ds-header__mobile-search .ec-btn-group-form {
    display: flex;
    width: 100%;
    gap: 0;
  }

  .ds-header .ds-header__mobile-search .form-control {
    height: 45px;
    min-width: 0;
    flex: 1 1 auto;
    margin-top: 0;
    border-radius: var(--ds-radius-sm) 0 0 var(--ds-radius-sm);
  }

  .ds-header .ds-header__mobile-search .submit {
    position: static;
    width: 45px;
    min-width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 0 var(--ds-radius-sm) var(--ds-radius-sm) 0;
    background: var(--ds-deep);
    color: #fff;
  }

  .ds-header__mobile-search-close {
    flex: 0 0 42px;
    width: 42px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    background: var(--ds-surface);
    color: var(--ds-deep);
    font-size: 25px;
    line-height: 1;
  }

  .ds-header__mobile-action:focus-visible,
  .ds-header__mobile-language:focus-visible,
  .ds-header__mobile-search-close:focus-visible {
    outline: 3px solid rgba(27, 23, 255, 0.35);
    outline-offset: 2px;
  }

  html[lang="ar"] .ds-header .ds-header__mobile-search .ec-btn-group-form {
    flex-direction: row;
  }

  html[lang="ar"] .ds-header .ds-header__mobile-search .form-control {
    border-radius: var(--ds-radius-sm) 0 0 var(--ds-radius-sm);
  }

  html[lang="ar"] .ds-header .ds-header__mobile-search .submit {
    border-radius: 0 var(--ds-radius-sm) var(--ds-radius-sm) 0;
  }

  .ec-nav-toolbar .ec-nav-panel {
    direction: ltr;
  }

  body.ds-mobile-menu-open .ec-nav-toolbar,
  body.ds-mobile-menu-open #scrollUp,
  body.ds-mobile-menu-open .ec-cc-style,
  body.ds-mobile-menu-open .recent-purchase,
  body.ds-mobile-menu-open .ds-notification-panel {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  body {
    padding-bottom: 0;
  }

  #scrollUp,
  .ec-cc-style.cc-right-bottom {
    bottom: 15px;
  }
}

@media (max-width: 575px) {
  body {
    padding-bottom: var(--ds-mobile-bottom-compensation);
  }

  .ec-nav-toolbar {
    height: var(--ds-mobile-toolbar-effective-height);
    padding-bottom: calc(5px + var(--ds-mobile-safe-area-bottom));
  }

  #scrollUp,
  .ec-cc-style.cc-right-bottom {
    right: auto;
    bottom: var(--ds-mobile-floating-bottom);
    left: auto;
  }

  #scrollUp {
    inset-inline-end: var(--ds-mobile-floating-gap);
  }

  .ec-cc-style.cc-right-bottom {
    inset-inline-end: calc(
      var(--ds-mobile-floating-gap) +
      var(--ds-mobile-floating-control-size) +
      var(--ds-mobile-floating-gap)
    );
  }
}

@media (max-width: 359px) {
  .ds-header__mobile-bar {
    grid-template-columns: 40px minmax(72px, 1fr) 40px auto auto;
    gap: 4px;
  }

  .ds-header__mobile-action {
    width: 40px;
    min-width: 40px;
  }

  .ds-header__mobile-language {
    min-width: 46px;
    padding-inline: 4px;
  }

  .ds-header .ds-header__mobile-logo .ds-header__logo img {
    width: clamp(92px, 29vw, 115px);
  }
}

.ds-home {
  background: var(--ds-page-bg);
}

.ds-story-rail-section {
  margin: 0;
  padding: 18px 0;
  background: var(--ds-surface);
  border-bottom: 1px solid var(--ds-border);
}

.ds-story-rail {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  max-width: 100%;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px;
  scrollbar-width: thin;
}

.ds-story-rail__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 68px;
  min-width: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 6px;
  color: var(--ds-text);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.ds-story-rail__avatar {
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  width: 62px;
  height: 62px;
  margin-inline: auto;
  padding: 3px;
  border: 2px solid var(--ds-primary);
  border-radius: 50%;
  background: var(--ds-surface);
}

.ds-story-rail__avatar img {
  display: block;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f1f2ff;
  object-fit: cover;
}

.ds-story-rail__name {
  min-width: 0;
  overflow: hidden;
  color: var(--ds-text-secondary);
  font-family: var(--ds-font-latin);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ds-story-rail__item:hover .ds-story-rail__avatar {
  border-color: var(--ds-deep);
}

.ds-story-rail__item:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

html[lang="ar"] .ds-story-rail {
  direction: rtl;
}

html[lang="ar"] .ds-story-rail__name {
  font-family: var(--ds-font-ar);
}

@media (max-width: 639px) {
  .ds-story-rail-section {
    padding: 14px 0;
  }

  .ds-story-rail {
    gap: 12px;
  }

  .ds-story-rail__item {
    width: 60px;
    min-width: 60px;
  }

  .ds-story-rail__avatar {
    width: 54px;
    height: 54px;
  }
}

.ds-home__section {
  margin: 0;
  padding-block: var(--ds-space-6);
}

.ds-home__section:nth-of-type(even) {
  background: var(--ds-surface);
}

.ds-home__categories {
  background: var(--ds-surface);
}

.ds-category-card {
  padding: 4px 6px 8px;
  border: 1px solid transparent;
  border-radius: var(--ds-radius-md);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ds-category-card .ec_cat_inner {
  min-height: 170px;
  padding: 14px 10px;
  border-radius: var(--ds-radius-sm);
  background: #fafaff;
}

.ds-category-card .ec-category-image {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(118, 116, 244, 0.1);
}

.ds-category-card .ec-category-image img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.ds-category-card .ec-category-desc {
  color: var(--ds-deep);
  font-weight: 600;
  text-align: center;
}

.ds-home .ec-category-section #ec-cat-slider .owl-stage-outer {
  margin: 0;
  padding: 4px 0 12px;
}

.ds-category-card:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .ds-category-card:hover {
    border-color: var(--ds-bright);
    box-shadow: var(--ds-shadow-sm);
    transform: translateY(-2px);
  }
}

.ds-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  margin-bottom: var(--ds-space-4);
  text-align: start;
}

.ds-section-heading__title {
  margin: 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.section-title .ec-title,
.single-pro-content .ec-single-price span.new-price {
  color: var(--ds-deep);
}

.ds-section-heading__title::after {
  display: block;
  width: 38px;
  height: 3px;
  margin-block-start: var(--ds-space-1);
  border-radius: 999px;
  background: var(--ds-primary);
  content: "";
}

.ds-section-heading__title a {
  color: inherit;
  text-decoration: none;
}

.ds-section-heading__link {
  flex: 0 0 auto;
  color: var(--ds-primary);
  font-family: var(--ds-font-latin);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ds-section-heading__link:hover {
  color: var(--ds-deep);
}

.ds-section-heading__link:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

.ds-messages {
  min-height: 62vh;
  background: var(--ds-page-bg);
}

.ds-messages__container {
  max-width: 1360px;
}

.ds-message-workspace {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  height: clamp(520px, 64vh, 680px);
  height: clamp(520px, 64dvh, 680px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-message-workspace .ds-message-panel,
.ds-message-workspace .ds-chat {
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ds-message-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-inline-end: 1px solid var(--ds-border);
  background: #fcfcff;
}

.ds-message-panel__heading {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-deep);
  font-size: 16px;
  font-weight: 700;
}

.ds-message-workspace .ds-message-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ds-message-list,
.ds-chat {
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-message-list__item {
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  min-height: 68px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-text);
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.ds-message-list__item:last-child {
  border-bottom: 0;
}

.ds-message-list__item:hover {
  background: #f8f8ff;
  box-shadow: inset 3px 0 0 var(--ds-primary);
  color: var(--ds-text);
}

.ds-message-list__item--active {
  background: #f1f2ff;
  box-shadow: inset 3px 0 0 var(--ds-primary);
}

.ds-message-list__item:focus-visible,
.ds-message-back:focus-visible,
.ds-chat__composer button:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: -3px;
}

.ds-message-list__avatar,
.ds-chat__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--ds-border);
  border-radius: 50%;
  background: #f1f2ff;
  object-fit: cover;
}

.ds-message-list__body {
  min-width: 0;
  flex: 1;
}

.ds-message-list__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ds-space-2);
}

.ds-message-list__heading strong,
.ds-chat__header h1 {
  color: var(--ds-deep);
  font-size: 16px;
  font-weight: 700;
}

.ds-message-list__heading time,
.ds-chat__context,
.ds-chat__eyebrow,
.ds-message-list__context {
  color: var(--ds-muted);
  font-size: 12px;
}

.ds-message-list__preview,
.ds-message-list__context {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-message-list__preview {
  color: var(--ds-text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.ds-message-back {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--ds-radius-sm);
  margin-bottom: var(--ds-space-3);
  color: var(--ds-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.ds-message-back:hover {
  background: rgba(27, 23, 255, 0.07);
  color: var(--ds-deep);
}

.ds-message-pagination {
  display: flex;
  justify-content: space-between;
  gap: var(--ds-space-2);
  margin-top: var(--ds-space-4);
}

.ds-message-pagination a {
  color: var(--ds-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ds-notification-list {
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface);
}

.ds-page-header__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
}

.ds-notifications__mark-all {
  border: 0;
  padding: 6px 8px;
  border-radius: var(--ds-radius-sm);
  background: transparent;
  color: var(--ds-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ds-notifications__mark-all:hover,
.ds-notifications__mark-all:focus-visible {
  background: rgba(27, 23, 255, 0.07);
  color: var(--ds-deep);
}

.ds-notifications__mark-all:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ds-notification-list__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: var(--ds-space-3);
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--ds-border);
  background: var(--ds-surface);
  color: inherit;
  text-align: inherit;
  text-decoration: none;
}

.ds-notification-list__item:last-child {
  border-bottom: 0;
}

a.ds-notification-list__item:hover,
button.ds-notification-list__item:hover {
  background: #f7f7ff;
  color: inherit;
}

button.ds-notification-list__item {
  cursor: pointer;
}

.ds-notification-list__item.is-unread {
  background: #f3f2ff;
}

.ds-notification-list__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  object-fit: cover;
}

.ds-notification-list__body,
.ds-notification-list__heading {
  min-width: 0;
  flex: 1;
}

.ds-notification-list__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
}

.ds-notification-list__heading strong {
  color: var(--ds-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.ds-notification-list__unread-label {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 1px 6px;
  color: var(--ds-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.ds-notification-list__heading time {
  flex: 0 0 auto;
  color: var(--ds-muted);
  font-size: 12px;
  white-space: nowrap;
}

.ds-header__mobile-notifications {
  display: flex;
  align-items: center;
}

.ds-header__language-menu,
.header-cat-btn .sub-menu,
.ec-header-user .dropdown-menu {
  z-index: var(--ds-z-dropdown);
}

.ds-header {
  position: relative;
  z-index: var(--ds-z-header);
}

.ec-mobile-menu {
  z-index: var(--ds-z-mobile-menu);
  width: min(340px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.ec-mobile-menu.ec-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

html[lang="ar"] .ec-mobile-menu {
  right: 0;
  left: auto;
  transform: translateX(100%);
}

html[lang="ar"] .ec-mobile-menu.ec-open {
  transform: translateX(0);
}

.ds-mobile-menu-overlay {
  inset: 0;
  z-index: calc(var(--ds-z-mobile-menu) - 1);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
  pointer-events: none;
}

.ds-mobile-menu-overlay.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.ds-mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.ec-mobile-menu .ec-menu-inner {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow-y: auto;
}

.ec-mobile-menu .ec-menu-content li > a {
  padding-inline-end: 52px;
}

.ec-mobile-menu .ec-menu-content .sub-menu li > a {
  padding-right: 0;
  padding-left: 0;
  padding-inline-start: 15px;
  padding-inline-end: 52px;
}

.ec-mobile-menu .ec-menu-content .sub-menu .sub-menu li > a {
  padding-inline-start: 30px;
}

.ec-mobile-menu .ec-menu-content .menu-toggle {
  right: auto;
  inset-inline-end: 0;
  z-index: 2;
  width: 44px;
  border: 0;
  padding: 0;
  background: transparent;
}

.ec-mobile-menu .ec-menu-content .menu-toggle::before {
  width: 44px;
  justify-content: center;
}

.ec-mobile-menu .ec-menu-content li.active > .menu-toggle::before {
  content: "\f068";
}

.ec-mobile-menu .ec-close:focus-visible,
.ec-mobile-menu .menu-toggle:focus-visible,
.ec-mobile-menu a:focus-visible,
.ec-mobile-menu button:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 2px;
}

.ds-notification-panel {
  position: fixed;
  z-index: var(--ds-z-notification);
  width: min(400px, calc(100vw - 24px));
  max-height: min(620px, calc(100dvh - 24px));
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-notification-panel__header,
.ds-notification-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  padding: 14px 16px;
  background: #fafaff;
}

.ds-notification-panel__header {
  border-bottom: 1px solid var(--ds-border);
}

.ds-notification-panel__title {
  margin: 0;
  color: var(--ds-deep);
  font-size: 17px;
  font-weight: 700;
}

.ds-notification-panel__mark-all {
  border: 0;
  border-radius: var(--ds-radius-sm);
  padding: 6px 8px;
  background: transparent;
  color: var(--ds-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ds-notification-panel__mark-all:hover,
.ds-notification-panel__mark-all:focus-visible {
  background: rgba(27, 23, 255, 0.07);
  color: var(--ds-deep);
}

.ds-notification-panel__content {
  max-height: min(460px, calc(100dvh - 150px));
  overflow-y: auto;
}

.ds-notification-panel__list {
  border: 0;
  border-radius: 0;
}

.ds-notification-panel__state {
  margin: 0;
  padding: 28px 16px;
  color: var(--ds-muted);
  font-size: 14px;
  text-align: center;
}

.ds-notification-panel__footer {
  justify-content: center;
  border-top: 1px solid var(--ds-border);
}

.ds-notification-panel__footer a {
  color: var(--ds-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ds-notification-panel__footer a:hover,
.ds-notification-panel__footer a:focus-visible {
  color: var(--ds-deep);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .ds-notification-panel.is-mobile {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: min(680px, calc(100dvh - 24px));
  }

  .ds-notification-panel.is-mobile .ds-notification-panel__content {
    max-height: min(520px, calc(100dvh - 150px));
  }
}

@media (max-width: 575px) {
  .ds-notification-list__item {
    gap: 10px;
    padding: 12px;
  }

  .ds-notification-list__avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .ds-notification-list__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ds-page-header__topline {
    align-items: flex-start;
  }
}

.ds-chat__header {
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  flex: 0 0 auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ds-border);
  background: linear-gradient(90deg, #ffffff, #fafaff);
}

.ds-chat__header h1,
.ds-chat__eyebrow,
.ds-chat__context {
  margin: 0;
}

.ds-chat__messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ds-space-2);
  overflow-y: auto;
  flex: 1 1 auto;
  padding: 16px;
  background: #fbfbff;
}

.ds-chat {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.ds-chat__day {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

.ds-chat__day::before,
.ds-chat__day::after {
  height: 1px;
  flex: 1;
  background: var(--ds-border);
  content: "";
}

.ds-chat__bubble {
  display: block;
  width: fit-content;
  max-width: min(62%, 520px);
  min-height: 0;
  height: auto;
  flex: 0 0 auto;
  padding: 9px 14px;
  box-shadow: var(--ds-shadow-sm);
  border-radius: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ds-chat__bubble p,
.ds-chat__bubble time {
  min-height: 0;
  height: auto;
  margin: 0;
}

.ds-chat__bubble time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.72;
}

.ds-chat__bubble--sent {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--ds-primary);
  color: #fff;
}

.ds-chat__bubble--received {
  align-self: flex-start;
  border: 1px solid var(--ds-border);
  border-bottom-left-radius: 4px;
  background: #fff;
}

.ds-chat__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--ds-space-2);
  flex: 0 0 auto;
  padding: 10px 14px;
  border-top: 1px solid var(--ds-border);
  background: #ffffff;
}

.ds-chat__composer textarea {
  width: 100%;
  min-height: 46px;
  resize: vertical;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  padding: 11px 12px;
  color: var(--ds-text);
  font: inherit;
}

.ds-chat__composer textarea:focus {
  border-color: var(--ds-bright);
  outline: 2px solid rgba(27, 23, 255, 0.14);
}

.ds-chat__composer button {
  align-self: end;
  min-height: 46px;
  border: 0;
  border-radius: var(--ds-radius-sm);
  padding: 0 18px;
  background: var(--ds-primary);
  color: #fff;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.ds-chat__composer button:hover:not(:disabled) {
  background: var(--ds-primary-hover);
}

.ds-chat__composer button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.ds-chat__error {
  grid-column: 1 / -1;
  margin: 0;
  color: #a41919;
  font-size: 13px;
}

[dir="rtl"] .ds-messages,
html[lang="ar"] .ds-messages {
  direction: rtl;
  font-family: var(--ds-font-ar);
}

[dir="rtl"] .ds-message-list__item:hover,
html[lang="ar"] .ds-message-list__item:hover {
  box-shadow: inset -3px 0 0 var(--ds-primary);
}

html[lang="ar"] .ds-message-list__heading {
  flex-direction: row;
}

html[lang="ar"] .ds-message-panel {
  border-inline-end: 0;
  border-inline-start: 1px solid var(--ds-border);
}

html[lang="ar"] .ds-message-list__item--active {
  box-shadow: inset -3px 0 0 var(--ds-primary);
}

@media (min-width: 576px) {
  html[lang="ar"] .ds-chat__composer {
    display: flex;
    flex-direction: row;
  }

  html[lang="ar"] .ds-chat__composer textarea {
    min-width: 0;
    flex: 1 1 auto;
    text-align: right;
  }

  html[lang="ar"] .ds-chat__composer button {
    flex: 0 0 auto;
  }
}

html[lang="ar"] .ds-chat__bubble--sent {
  align-self: flex-start;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 4px;
}

html[lang="ar"] .ds-chat__bubble--received {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 14px;
}

@media (max-width: 575px) {
  .ds-message-list__item,
  .ds-chat__header {
    padding: var(--ds-space-3);
  }

  .ds-message-list__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ds-chat__messages {
    min-height: 280px;
    padding: var(--ds-space-3);
  }

  .ds-chat__bubble {
    max-width: 88%;
  }

  .ds-chat__composer {
    grid-template-columns: 1fr;
  }

  html[lang="ar"] .ds-chat__composer textarea,
  html[lang="ar"] .ds-chat__composer button {
    grid-column: auto;
    grid-row: auto;
  }

  .ds-chat__composer button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .ds-message-workspace {
    display: block;
    height: auto;
    min-height: calc(100vh - 150px);
    max-height: none;
  }

  .ds-message-panel {
    display: none;
  }

  .ds-message-workspace .ds-chat {
    min-height: calc(100vh - 150px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ds-chat__bubble--sent {
    animation: ds-message-enter 160ms ease-out;
  }
}

@keyframes ds-message-enter {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ds-home .homepage-listing-section .container {
  overflow: visible;
}

.ds-home .homepage-listing-carousel {
  margin-inline: -12px;
}

.ds-home .homepage-listing-slide {
  padding-inline: 12px;
  padding-block: 4px 12px;
}

.ds-home .homepage-listing-static {
  max-width: 320px;
}

@media (max-width: 767px) {
  .ds-home .homepage-listing-carousel {
    margin-inline: -4px;
  }

  .ds-home .homepage-listing-slide {
    padding-inline: 4px;
  }
}

.ds-listing-card__category,
.ds-listing-card__deal {
  display: inline-flex;
  margin: 0 0 var(--ds-space-1);
  font-family: var(--ds-font-latin);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.ds-listing-card__category {
  color: var(--ds-text-secondary);
}

.ds-listing-card__deal {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(99, 153, 34, 0.12);
  color: var(--ds-deal);
}

.ds-listing-card__price--deal {
  color: var(--ds-deal);
}

.ds-listing-card__price {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  align-items: baseline;
  min-height: 0;
  margin-top: auto;
  white-space: normal;
}

.ds-listing-card__price-label,
.ds-listing-card__base-price {
  color: var(--ds-muted);
  font-family: var(--ds-font-latin);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.ds-listing-card__price-label {
  flex-basis: 100%;
}

.ds-listing-card__base-price {
  text-decoration-thickness: 1px;
}

.ds-listing-card__final-price {
  color: var(--ds-deep);
  direction: ltr;
  font-family: var(--ds-font-latin);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  unicode-bidi: isolate;
}

.ds-listing-card__price--deal .ds-listing-card__final-price {
  color: var(--ds-deal);
}

.ds-post-editor {
  background: linear-gradient(180deg, rgba(27, 23, 255, 0.04), var(--ds-page-bg) 340px);
}

.ds-post-editor__panel {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-post-editor__header {
  margin-bottom: var(--ds-space-5);
}

.ds-post-editor__header h1,
.ds-post-editor__section-heading h2 {
  margin: 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-weight: 700;
}

.ds-post-editor__header h1 {
  font-size: clamp(24px, 3vw, 32px);
}

.ds-post-editor__header p,
.ds-post-editor__section-heading p,
.ds-post-editor__help {
  margin: 7px 0 0;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ds-post-editor__section {
  padding: var(--ds-space-4);
  border: 1px solid color-mix(in srgb, var(--ds-border) 82%, var(--ds-bright));
  border-radius: var(--ds-radius-md);
  background: #fff;
  box-shadow: var(--ds-shadow-sm);
}

.ds-post-editor__section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--ds-space-3);
}

.ds-post-editor__section-heading h2 {
  font-size: 18px;
}

.ds-post-editor .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ds-text-secondary);
  font-weight: 600;
}

.ds-post-editor .form-label span {
  color: #b42318;
}

.ds-post-editor .form-control,
.ds-post-editor .form-select {
  min-height: 48px;
  border: 1px solid #bdbbf5;
  border-radius: var(--ds-radius-sm);
  background: #fff;
  box-shadow: 0 1px 2px rgba(3, 0, 153, 0.05);
  color: var(--ds-text);
  padding: 0 12px;
}

.ds-post-editor select.form-select {
  border: 1px solid #bdbbf5 !important;
  border-radius: var(--ds-radius-sm) !important;
  background-color: var(--ds-surface) !important;
  box-shadow: 0 1px 2px rgba(3, 0, 153, 0.05) !important;
}

.ds-post-editor textarea.form-control {
  min-height: 96px;
  padding: 12px;
}

.ds-post-editor .form-control:hover,
.ds-post-editor .form-select:hover {
  border-color: var(--ds-bright);
}

.ds-post-editor select.form-select:hover {
  border-color: var(--ds-bright) !important;
}

.ds-post-editor .form-control:focus,
.ds-post-editor .form-select:focus {
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(27, 23, 255, 0.14);
  outline: 0;
}

.ds-post-editor select.form-select:focus {
  border-color: var(--ds-primary) !important;
  box-shadow: 0 0 0 3px rgba(27, 23, 255, 0.14) !important;
}

.ds-post-editor .form-control:invalid:not(:placeholder-shown),
.ds-post-editor .form-select:invalid {
  border-color: #b42318;
}

.ds-post-editor .form-control:disabled,
.ds-post-editor .form-select:disabled {
  background: #f4f4fb;
  cursor: not-allowed;
  opacity: 0.72;
}

.ds-post-editor__upload {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px dashed var(--ds-bright);
  border-radius: var(--ds-radius-sm);
  background: rgba(118, 116, 244, 0.06);
  color: var(--ds-deep);
  cursor: pointer;
  font-weight: 600;
}

.ds-post-editor__upload:hover {
  border-color: var(--ds-primary);
  background: rgba(27, 23, 255, 0.08);
}

.ds-post-editor__upload small {
  color: var(--ds-muted);
  font-size: 12px;
  font-weight: 500;
}

.ds-post-editor__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.ds-post-editor__image,
.ds-post-editor__main-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  background: #fff;
}

.ds-post-editor__image img,
.ds-post-editor__main-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ds-post-editor__main-image {
  width: min(240px, 100%);
  margin-bottom: var(--ds-space-3);
}

.ds-post-editor__main-image p,
.ds-post-editor__image figcaption {
  margin: 0;
  padding: 7px 9px;
  overflow: hidden;
  color: var(--ds-text-secondary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-post-editor__image button {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 7px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #b42318;
  color: #fff;
  line-height: 1;
  cursor: pointer;
}

.ds-post-editor__image button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.ds-post-editor__submit {
  width: 100%;
  min-height: 48px;
  border-color: var(--ds-primary);
  background: var(--ds-primary);
}

[dir="rtl"] .ds-post-editor,
html[lang="ar"] .ds-post-editor {
  direction: rtl;
}

[dir="rtl"] .ds-post-editor__header h1,
[dir="rtl"] .ds-post-editor__section-heading h2,
[dir="rtl"] .ds-post-editor .form-label,
html[lang="ar"] .ds-post-editor__header h1,
html[lang="ar"] .ds-post-editor__section-heading h2,
html[lang="ar"] .ds-post-editor .form-label {
  font-family: var(--ds-font-ar);
}

@media (max-width: 639px) {
  .ds-post-editor__panel {
    padding: 16px;
  }

  .ds-post-editor__section {
    padding: 16px;
  }

  .ds-post-editor__final-price {
    font-size: 18px;
  }
}

.ds-listings-page {
  padding-block: var(--ds-space-6);
}

.ds-listings-page__content {
  min-width: 0;
}

.ds-filters__panel {
  padding: 22px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
}

.ds-filters h3 {
  margin-block-end: 18px;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: 20px;
  font-weight: 700;
}

.ds-filters .form-label {
  display: block;
  margin-block-end: 7px;
  color: var(--ds-text-secondary);
  font-weight: 600;
}

.ds-filters .form-control,
.ds-filters .form-select {
  width: 100%;
  min-height: 45px;
  border-color: var(--ds-border);
}

.ds-filters .listing-filter-form {
  display: grid;
  gap: 17px;
}

.ds-filters .ds-filter-field {
  min-width: 0;
}

.ds-filters .ds-filter-actions {
  align-items: center;
  margin-top: 1px;
}

.ds-filters .form-control:focus,
.ds-filters .form-select:focus {
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(27, 23, 255, 0.12);
}

.ds-filters .btn-primary {
  border-color: var(--ds-primary);
  background: var(--ds-primary);
}

.ds-filters .btn-outline-secondary {
  border-color: transparent;
  background: transparent;
  color: var(--ds-deep);
}

.ds-filters .btn-outline-secondary:hover {
  border-color: var(--ds-border);
  background: #f7f7ff;
  color: var(--ds-deep);
}

.ds-filter-chips .btn {
  border-color: var(--ds-border);
  color: var(--ds-deep);
}

.ds-listings-grid {
  margin-top: var(--ds-space-4);
}

.ds-listings-page .listing-pagination .page-link {
  border-color: var(--ds-border);
  color: var(--ds-deep);
}

.ds-public-profile {
  background: linear-gradient(180deg, rgba(27, 23, 255, 0.035), var(--ds-page-bg) 280px);
}

.ds-public-profile__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--ds-space-4);
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-public-profile__avatar {
  width: clamp(88px, 10vw, 120px);
  aspect-ratio: 1;
  border: 1px solid var(--ds-border);
  border-radius: 50%;
  background: #f1f2ff;
  object-fit: cover;
}

.ds-profile-photo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-4);
  margin: 0 0 var(--ds-space-5);
  padding: var(--ds-space-4);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
}

.ds-profile-photo__avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f2ff;
}

.ds-profile-photo__content {
  flex: 1 1 240px;
}

.ds-profile-photo__content h2,
.ds-profile-photo__content p {
  margin: 0 0 var(--ds-space-2);
}

.ds-profile-photo__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-2);
}

.ds-profile-photo__form label {
  flex-basis: 100%;
  font-weight: 700;
}

.ds-profile-photo__notice {
  font-weight: 700;
}

.ds-profile-photo__notice--success {
  color: #137333;
}

.ds-profile-photo__notice--error {
  color: #b3261e;
}

.ds-my-stories__header,
.ds-my-stories__upload,
.ds-my-stories__item,
.ds-my-stories__empty {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
}

.ds-my-stories__header,
.ds-my-stories__upload,
.ds-my-stories__empty {
  padding: var(--ds-space-4);
}

.ds-my-stories__header {
  margin-bottom: var(--ds-space-4);
}

.ds-my-stories__header h1 {
  color: var(--ds-deep);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.ds-my-stories__header p {
  margin-top: var(--ds-space-2);
  color: var(--ds-muted);
  line-height: 1.65;
}

.ds-my-stories__header h1,
.ds-my-stories__header p,
.ds-my-stories__upload h2,
.ds-my-stories__upload p,
.ds-my-stories__empty h2,
.ds-my-stories__empty p,
.ds-my-stories__details p {
  margin: 0;
}

.ds-my-stories__header p,
.ds-my-stories__upload p,
.ds-my-stories__empty p,
.ds-my-stories__details {
  color: var(--ds-text-secondary);
}

.ds-my-stories__upload {
  margin-bottom: var(--ds-space-3);
}

.ds-my-stories__upload p {
  margin-top: var(--ds-space-1);
}

.ds-my-stories__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-2);
  margin-top: var(--ds-space-3);
}

.ds-my-stories__notice {
  margin: 0 0 var(--ds-space-3);
  font-weight: 700;
}

.ds-my-stories__notice--success {
  color: #137333;
}

.ds-my-stories__notice--error {
  color: #b3261e;
}

.ds-my-stories__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--ds-space-3);
}

.ds-my-stories__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--ds-space-2);
  padding: var(--ds-space-2);
}

.ds-my-stories__thumbnail {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border-radius: var(--ds-radius-sm);
  background: #f1f2ff;
  color: var(--ds-text-secondary);
  font-size: 12px;
  text-align: center;
}

.ds-my-stories__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .ds-my-stories__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ds-space-2);
  }

  .ds-my-stories__item {
    padding: var(--ds-space-1);
  }
}

.ds-file-upload {
  width: 100%;
}

.ds-file-upload__surface {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: var(--ds-space-2);
  padding: var(--ds-space-3);
  border: 1px dashed var(--ds-bright);
  border-radius: var(--ds-radius-md);
  background: rgba(118, 116, 244, 0.06);
  color: var(--ds-deep);
  cursor: pointer;
}

.ds-file-upload__surface:hover {
  border-color: var(--ds-primary);
  background: rgba(27, 23, 255, 0.08);
}

.ds-file-upload__input:focus-visible + .ds-file-upload__surface {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

.ds-file-upload__icon {
  font-size: 22px;
}

.ds-file-upload__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ds-file-upload__copy small,
.ds-file-upload__filename {
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ds-file-upload__filename {
  max-width: 42%;
  margin-inline-start: auto;
  overflow: hidden;
  text-align: end;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-confirm-dialog[hidden] {
  display: none;
}

.ds-confirm-dialog {
  position: fixed;
  z-index: var(--ds-z-modal);
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--ds-space-3);
}

.ds-confirm-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.ds-confirm-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: var(--ds-space-4);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card-hover);
}

.ds-confirm-dialog__panel h2,
.ds-confirm-dialog__panel p {
  margin: 0;
}

.ds-confirm-dialog__panel h2 {
  color: var(--ds-deep);
  font-size: 22px;
  text-align: start;
}

.ds-confirm-dialog__panel p {
  margin-top: var(--ds-space-2);
  color: var(--ds-text-secondary);
  line-height: 1.65;
  text-align: start;
}

.ds-confirm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--ds-space-2);
  margin-top: var(--ds-space-4);
}

[dir="rtl"] .ds-confirm-dialog__actions {
  justify-content: flex-start;
}

.modal-backdrop {
  z-index: var(--ds-z-modal-backdrop);
}

.ds-profile-modal {
  z-index: var(--ds-z-modal);
}

.ds-profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-block: var(--ds-space-4);
}

.ds-profile-modal__title {
  margin-block-end: var(--ds-space-4);
  text-align: start;
}

[dir="rtl"] .ds-profile-actions {
  justify-content: flex-start;
}

.ds-my-posts__filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--ds-space-2);
  margin-block-end: var(--ds-space-4);
}

.ds-my-posts__filter {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: var(--ds-space-3);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
  color: var(--ds-text-secondary);
  text-align: start;
  text-decoration: none;
}

.ds-my-posts__filter strong {
  color: var(--ds-deep);
  font-size: 24px;
}

.ds-my-posts__manager {
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-my-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  padding: var(--ds-space-4);
  border-block-end: 1px solid var(--ds-border);
}

.ds-my-posts__header h1 {
  margin: 0;
  color: var(--ds-deep);
  font-size: 20px;
  text-align: start;
}

.ds-my-posts__table {
  margin: 0;
}

.ds-my-posts__table th,
.ds-my-posts__table td {
  vertical-align: middle;
  text-align: start;
}

.ds-my-posts__image {
  width: 52px;
  height: 52px;
  border-radius: var(--ds-radius-sm);
  object-fit: cover;
}

.ds-my-posts__status {
  display: inline-block;
  color: var(--ds-deep);
  font-size: 13px;
  font-weight: 700;
}

.ds-my-posts__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-1);
}

.ds-my-posts__actions .btn {
  min-height: 40px;
  white-space: nowrap;
}

.ds-my-posts__cards {
  display: none;
}

@media (max-width: 991px) {
  .ds-header__mobile-top-row {
    align-items: center;
  }

  .ds-header__mobile-search {
    margin-block-start: var(--ds-space-2);
  }

  .ds-header__mobile-notifications .ec-header-notifications {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }

  .ds-header__mobile-notifications .ec-header-count {
    position: absolute;
    inset-block-start: 1px;
    inset-inline-end: 0;
    min-width: 18px;
    padding-inline: 4px;
  }

  .ds-profile-actions {
    justify-content: stretch;
  }

  .ds-profile-actions .btn {
    width: 100%;
  }

  .ds-my-posts__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-my-posts__filter:last-child {
    grid-column: span 2;
  }

  .ds-my-posts__table-wrap {
    display: none;
  }

  .ds-my-posts__cards {
    display: grid;
    gap: var(--ds-space-3);
    padding: var(--ds-space-3);
  }

  .ds-my-posts__card {
    min-width: 0;
    padding: var(--ds-space-3);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
  }

  .ds-my-posts__card-summary {
    display: flex;
    align-items: flex-start;
    gap: var(--ds-space-2);
  }

  .ds-my-posts__card-summary h2 {
    margin: 0 0 var(--ds-space-1);
    color: var(--ds-text);
    font-size: 16px;
    line-height: 1.45;
    text-align: start;
    overflow-wrap: anywhere;
  }

  .ds-my-posts__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ds-space-2);
    margin: var(--ds-space-3) 0;
  }

  .ds-my-posts__details div {
    min-width: 0;
  }

  .ds-my-posts__details dt {
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 600;
  }

  .ds-my-posts__details dd {
    margin: 2px 0 0;
    color: var(--ds-text);
    overflow-wrap: anywhere;
  }

  .ds-my-posts__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-my-posts__actions .btn {
    width: 100%;
    padding-inline: var(--ds-space-1);
  }

  .ds-my-posts__actions .delete_post {
    grid-column: span 2;
  }
}

@media (max-width: 374px) {
  .ds-my-posts__header {
    align-items: stretch;
    flex-direction: column;
  }

  .ds-my-posts__header .btn {
    width: 100%;
  }
}
}

.ds-story-rail__entry {
  position: relative;
  flex: 0 0 auto;
}

.ds-story-rail__add {
  position: absolute;
  z-index: 1;
  inset-block-start: 1px;
  inset-inline-end: -2px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--ds-surface);
  border-radius: 50%;
  background: var(--ds-deal);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.ds-story-rail__add:focus-visible {
  outline: 3px solid var(--ds-primary);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .ds-file-upload__surface {
    min-height: 64px;
    padding: var(--ds-space-2);
  }

  .ds-file-upload__filename {
    max-width: 36%;
  }

  .ds-story-rail__add {
    width: 32px;
    height: 32px;
  }
}

.ds-public-profile__story-link {
  display: inline-flex;
  width: fit-content;
  height: fit-content;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 3px;
  border: 4px solid var(--ds-primary);
  border-radius: 50%;
  background: var(--ds-surface);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.ds-public-profile__story-link:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

.ds-public-profile__story-link .ds-public-profile__avatar {
  display: block;
}

.ds-public-profile__follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface);
  color: var(--ds-deep);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ds-public-profile__follow:hover,
.ds-public-profile__follow:focus-visible {
  border-color: var(--ds-primary);
  background: rgba(27, 23, 255, 0.06);
  color: var(--ds-primary);
  text-decoration: none;
}

.ds-public-profile__follow:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.25);
  outline-offset: 3px;
}

.ds-public-profile__follow:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ds-public-profile__follow--error {
  border-color: #b42318;
  color: #b42318;
}

.ds-public-profile__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ds-message-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--ds-primary);
  border-radius: var(--ds-radius-md);
  background: var(--ds-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.ds-message-action:hover,
.ds-message-action:focus-visible {
  border-color: var(--ds-deep);
  background: var(--ds-deep);
  color: #fff;
  text-decoration: none;
}

.ds-message-action:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.25);
  outline-offset: 3px;
}

.ds-message-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ds-message-action__error {
  flex-basis: 100%;
  margin: 0;
  color: #b42318;
  font-size: 13px;
  text-align: start;
}

.ds-public-profile__identity h1,
.ds-public-profile__section-heading h2 {
  margin: 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-weight: 700;
  text-align: start;
}

.ds-public-profile__identity h1 {
  font-size: clamp(24px, 3vw, 34px);
}

.ds-public-profile__identity p {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 8px 0 0;
  color: var(--ds-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ds-public-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 1px;
  min-width: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-border);
}

.ds-public-profile__stats div {
  padding: 14px 12px;
  background: var(--ds-surface);
  text-align: center;
}

.ds-public-profile__stats dt {
  color: var(--ds-muted);
  font-size: 12px;
  font-weight: 600;
}

.ds-public-profile__stats dd {
  margin: 5px 0 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: 21px;
  font-weight: 700;
}

.ds-public-profile__stats dd a {
  color: inherit;
  text-decoration: none;
}

.ds-public-profile__stats dd a:hover,
.ds-public-profile__stats dd a:focus-visible {
  color: var(--ds-primary);
  text-decoration: underline;
}

.ds-public-profile__listings {
  margin-top: var(--ds-space-6);
}

.ds-public-profile__section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--ds-space-4);
}

.ds-public-profile__section-heading h2 {
  font-size: 24px;
}

.ds-public-profile__section-heading a,
.ds-public-profile__back-link {
  color: var(--ds-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ds-public-profile__section-heading a:hover,
.ds-public-profile__back-link:hover {
  color: var(--ds-primary);
  text-decoration: underline;
}

.ds-public-profile__section-heading a:focus-visible,
.ds-public-profile__back-link:focus-visible,
.ds-detail__seller-link:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

.ds-detail__seller-link {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.ds-detail__seller-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--ds-border);
  border-radius: 50%;
  background: #f1f2ff;
  object-fit: cover;
}

[dir="rtl"] .ds-public-profile,
html[lang="ar"] .ds-public-profile {
  direction: rtl;
}

[dir="rtl"] .ds-public-profile__identity h1,
[dir="rtl"] .ds-public-profile__section-heading h2,
[dir="rtl"] .ds-public-profile__identity p,
[dir="rtl"] .ds-public-profile__stats,
[dir="rtl"] .ds-public-profile__back-link,
[dir="rtl"] .ds-public-profile__follow,
html[lang="ar"] .ds-public-profile__identity h1,
html[lang="ar"] .ds-public-profile__section-heading h2,
html[lang="ar"] .ds-public-profile__identity p,
html[lang="ar"] .ds-public-profile__stats,
html[lang="ar"] .ds-public-profile__back-link,
html[lang="ar"] .ds-public-profile__follow {
  font-family: var(--ds-font-ar);
}

html[lang="ar"] .ds-public-profile__actions,
html[lang="ar"] .ds-message-action,
html[lang="ar"] .ds-message-action__error {
  font-family: var(--ds-font-ar);
}

@media (max-width: 991px) {
  .ds-public-profile__hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ds-public-profile__stats {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ds-public-profile__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .ds-public-profile__hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ds-public-profile__avatar {
    margin-inline: auto;
  }

  .ds-public-profile__story-link {
    margin-inline: auto;
  }

  .ds-public-profile__identity p {
    justify-content: center;
  }

  .ds-public-profile__actions {
    justify-content: center;
  }

  .ds-public-profile__section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.ds-story-page {
  min-height: min(780px, calc(100dvh - 120px));
  padding: clamp(16px, 3vw, 36px);
  background: var(--ds-page-bg);
}

.ds-story-viewer {
  display: grid;
  width: min(100%, 760px);
  min-height: min(700px, calc(100dvh - 190px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-deep);
  box-shadow: var(--ds-shadow-card);
}

.ds-story-viewer__header,
.ds-story-viewer__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  padding: 14px 18px;
  background: var(--ds-surface);
}

.ds-story-viewer__owner {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ds-deep);
  text-decoration: none;
}

.ds-story-viewer__owner span {
  display: grid;
  gap: 2px;
  text-align: start;
}

.ds-story-viewer__owner strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-story-viewer__owner time {
  color: var(--ds-muted);
  font-size: 12px;
}

.ds-story-viewer__avatar {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ds-border);
  border-radius: 50%;
  background: #f1f2ff;
  object-fit: cover;
}

.ds-story-viewer__close,
.ds-story-viewer__navigation a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  color: var(--ds-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ds-story-viewer__close:hover,
.ds-story-viewer__close:focus-visible,
.ds-story-viewer__navigation a:hover,
.ds-story-viewer__navigation a:focus-visible {
  border-color: var(--ds-primary);
  color: var(--ds-primary);
}

.ds-story-viewer__close:focus-visible,
.ds-story-viewer__navigation a:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 2px;
}

.ds-story-viewer__media {
  display: grid;
  min-height: 0;
  place-items: center;
  background: #111827;
}

.ds-story-viewer__media img,
.ds-story-viewer__media video {
  display: block;
  width: 100%;
  height: min(600px, calc(100dvh - 280px));
  object-fit: contain;
}

.ds-story-viewer__navigation {
  justify-content: center;
}

.ds-story-viewer__navigation a + a {
  margin-inline-start: auto;
}

body.ds-story-popup-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.ds-story-popup[hidden] {
  display: none;
}

.ds-story-popup {
  position: fixed;
  z-index: var(--ds-z-story-popup);
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
}

.ds-story-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 153, 0.48);
}

.ds-story-popup__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 760px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-deep);
  box-shadow: 0 18px 48px rgba(3, 0, 153, 0.28);
}

.ds-story-popup__progress {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 5px;
  padding: 12px 16px 0;
  background: var(--ds-deep);
}

.ds-story-popup__progress-segment {
  display: block;
  height: 3px;
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.ds-story-popup__progress-fill {
  display: block;
  width: calc(var(--ds-story-progress, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
}

.ds-story-popup__close {
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  background: var(--ds-surface);
  color: var(--ds-deep);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.ds-story-popup__header,
.ds-story-popup__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  padding: 14px 18px;
  background: var(--ds-surface);
}

.ds-story-popup__owner {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.ds-story-popup__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--ds-border);
  border-radius: 50%;
  background: #f1f2ff;
  object-fit: cover;
}

.ds-story-popup__owner-text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.ds-story-popup__owner-text strong {
  overflow: hidden;
  color: var(--ds-deep);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-story-popup__owner-text time {
  color: var(--ds-muted);
  font-size: 12px;
}

.ds-story-popup__media {
  display: grid;
  min-height: min(560px, calc(100dvh - 180px));
  place-items: center;
  background: #08082d;
}

.ds-story-popup__media img,
.ds-story-popup__media video {
  display: block;
  width: 100%;
  max-height: min(560px, calc(100dvh - 180px));
  object-fit: contain;
}

.ds-story-popup__navigation button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--ds-border);
  border-radius: 999px;
  background: var(--ds-deep);
  color: var(--ds-surface);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.ds-story-popup__close:hover,
.ds-story-popup__navigation button:hover {
  border-color: var(--ds-primary);
  background: var(--ds-primary);
  color: var(--ds-surface);
}

.ds-story-popup__close:focus-visible,
.ds-story-popup__navigation button:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.35);
  outline-offset: 3px;
}

.ds-story-popup__message {
  margin: 0;
  padding: 28px;
  background: var(--ds-surface);
  color: var(--ds-text-secondary);
  text-align: center;
}

html[lang="ar"] .ds-story-popup__dialog {
  direction: rtl;
  font-family: var(--ds-font-ar);
}

@media (max-width: 639px) {
  .ds-story-popup {
    padding: 10px;
  }

  .ds-story-popup__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
  }

  .ds-story-popup__header,
  .ds-story-popup__navigation {
    padding: 12px 14px;
  }

  .ds-story-popup__progress {
    padding-inline: 14px;
  }

  .ds-story-popup__media {
    min-height: min(440px, calc(100dvh - 150px));
  }

  .ds-story-popup__media img,
  .ds-story-popup__media video {
    max-height: min(440px, calc(100dvh - 150px));
  }
}

html[lang="ar"] .ds-story-viewer {
  direction: rtl;
  font-family: var(--ds-font-ar);
}

@media (max-width: 639px) {
  .ds-story-page {
    min-height: 100dvh;
    padding: 0;
  }

  .ds-story-viewer {
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .ds-story-viewer__header,
  .ds-story-viewer__navigation {
    padding: 12px;
  }

  .ds-story-viewer__media img,
  .ds-story-viewer__media video {
    height: calc(100dvh - 144px);
  }
}

.ds-listings-page .listing-pagination .page-link:focus {
  box-shadow: 0 0 0 3px rgba(27, 23, 255, 0.12);
}

.ec-footer,
.ec-footer .footer-top {
  background: #7674F436;
  color: #111827;
}

.ec-footer .footer-top .ec-footer-widget p,
.ec-footer .footer-top .ec-footer-widget .ec-footer-heading,
.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link,
.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a,
.ec-footer .footer-copy .footer-bottom-copy,
.ec-footer .footer-copy a {
  color: #111827;
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a:hover,
.ec-footer .footer-copy a:hover {
  color: #111827;
  text-decoration: underline;
}

[dir="rtl"] .ds-header,
[dir="rtl"] .ds-listings-page,
html[lang="ar"] .ds-header,
html[lang="ar"] .ds-listings-page {
  direction: rtl;
}

[dir="rtl"] .ds-header .header-search .form-control {
  border-radius: 0 var(--ds-radius-sm) var(--ds-radius-sm) 0;
}

[dir="rtl"] .ds-header .header-search .submit {
  border-radius: var(--ds-radius-sm) 0 0 var(--ds-radius-sm);
}

html[lang="ar"] .ds-header .header-search .submit {
  border-radius: var(--ds-radius-sm) 0 0 var(--ds-radius-sm);
}

html[lang="ar"] .ds-header .header-search .form-control {
  border-radius: var(--ds-radius-sm) 0 0 var(--ds-radius-sm);
}

.ec-mobile-menu .ec-menu-title .menu_title {
  color: var(--ds-deep);
}

[dir="rtl"] .ds-section-heading,
[dir="rtl"] .ds-listing-card,
[dir="rtl"] .ds-home .homepage-empty-state,
html[lang="ar"] .ds-section-heading,
html[lang="ar"] .ds-listing-card,
html[lang="ar"] .ds-home .homepage-empty-state {
  direction: rtl;
}

[dir="rtl"] .ds-section-heading__title,
[dir="rtl"] .ds-section-heading__link,
[dir="rtl"] .ds-listing-card__category,
[dir="rtl"] .ds-listing-card__deal,
[dir="rtl"] .ds-filters h3,
html[lang="ar"] .ds-section-heading__title,
html[lang="ar"] .ds-section-heading__link,
html[lang="ar"] .ds-listing-card__category,
html[lang="ar"] .ds-listing-card__deal,
html[lang="ar"] .ds-filters h3 {
  font-family: var(--ds-font-ar);
}

@media (max-width: 991px) {
  .ds-listings-page {
    padding-block: var(--ds-space-5);
  }

  .ds-filters {
    margin-bottom: var(--ds-space-4);
  }
}

@media (max-width: 639px) {
  .ds-header__logo img {
    width: clamp(110px, 34vw, 135px);
  }

  .ds-home__section {
    padding-block: var(--ds-space-5);
  }

  .ds-section-heading {
    align-items: flex-start;
    margin-bottom: var(--ds-space-3);
  }

  .ds-section-heading__title {
    font-size: 21px;
  }

  .ds-category-card .ec-category-image {
    width: 72px;
    height: 72px;
  }

  .ds-category-card .ec-category-image img {
    width: 48px;
    height: 48px;
  }

  .ds-filters__panel {
    padding: 16px;
  }
}

.ds-detail {
  background: linear-gradient(180deg, rgba(27, 23, 255, 0.035), var(--ds-page-bg) 340px);
}

.ds-detail__container {
  padding-block-start: 32px;
}

.ds-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-block-end: var(--ds-space-3);
  color: var(--ds-muted);
  font-family: var(--ds-font-latin);
  font-size: 13px;
  line-height: 1.5;
}

.ds-detail__breadcrumb i {
  color: var(--ds-bright);
  font-size: 15px;
}

.ds-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  align-items: start;
  gap: var(--ds-space-6);
}

.ds-detail__gallery,
.ds-detail__content,
.ds-detail__description {
  min-width: 0;
}

.ds-detail__main-image {
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: #f1f3f7;
  box-shadow: var(--ds-shadow-card);
  place-items: center;
}

.ds-detail__main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ds-detail__gallery-trigger {
  appearance: none;
  box-sizing: border-box;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
}

.ds-detail__gallery-trigger:focus-visible {
  outline: 3px solid rgba(27, 23, 255, 0.45);
  outline-offset: 3px;
}

.ds-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: var(--ds-space-2);
  margin-block-start: var(--ds-space-3);
}

.ds-detail__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  background: #eef1f5;
}

.ds-detail__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-gallery-modal {
  position: fixed;
  z-index: var(--ds-z-modal);
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ds-gallery-modal[hidden] {
  display: none;
}

.ds-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.92);
}

.ds-gallery-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 100%);
  height: min(92vh, 880px);
  height: min(92dvh, 880px);
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ds-radius-card);
  background: #090b14;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.ds-gallery-modal__header {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ds-gallery-modal__counter {
  min-width: 64px;
  font-weight: 700;
  text-align: center;
}

.ds-gallery-modal__viewer {
  display: grid;
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ds-gallery-modal__viewport {
  display: grid;
  grid-column: 2;
  min-width: 0;
  min-height: 0;
  height: 100%;
  place-items: center;
  overflow: hidden;
  border-radius: var(--ds-radius-sm);
  background: #05060b;
  cursor: zoom-in;
  touch-action: pan-y;
}

.ds-gallery-modal__viewport[data-zoomed="true"] {
  cursor: grab;
  touch-action: none;
}

.ds-gallery-modal__viewport[data-dragging="true"] {
  cursor: grabbing;
}

.ds-gallery-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: scale-down;
  transform-origin: center;
  user-select: none;
  will-change: transform;
}

.ds-gallery-modal__control {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.ds-gallery-modal__control:hover:not(:disabled),
.ds-gallery-modal__control:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.ds-gallery-modal__control:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.ds-gallery-modal__control:disabled {
  cursor: default;
  opacity: 0.3;
}

.ds-gallery-modal__close {
  width: 48px;
  height: 48px;
  margin-inline-start: auto;
  font-size: 28px;
}

.ds-gallery-modal__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ds-gallery-modal__zoom-reset {
  width: auto;
  min-width: 68px;
  padding-inline: 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.ds-gallery-modal__thumbs {
  display: flex;
  max-width: 100%;
  min-height: 68px;
  gap: 8px;
  margin: 0;
  padding: 2px 2px 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.ds-gallery-modal__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--ds-radius-sm);
  background: #171a26;
  cursor: pointer;
  opacity: 0.68;
}

.ds-gallery-modal__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-gallery-modal__thumb[aria-current="true"] {
  border-color: #fff;
  opacity: 1;
}

.ds-gallery-modal__thumb:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

body.ds-gallery-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.ds-gallery-modal-open .ec-nav-toolbar,
body.ds-gallery-modal-open #scrollUp,
body.ds-gallery-modal-open .ec-cc-style,
body.ds-gallery-modal-open .recent-purchase,
body.ds-gallery-modal-open .ds-notification-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.ds-detail__content {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-detail__title {
  margin: 0;
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  text-align: start;
}

.ds-detail__price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-2);
  margin-block-start: var(--ds-space-4);
}

.ds-detail__deal {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-inline: 10px;
  border-radius: 999px;
  background: rgba(99, 153, 34, 0.13);
  color: var(--ds-deal);
  font-family: var(--ds-font-latin);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.ds-detail__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.ds-detail__price .new-price {
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.ds-detail__old-price {
  color: var(--ds-muted);
  font-family: var(--ds-font-latin);
  font-size: 16px;
  line-height: 1.4;
}

.ds-detail__meta {
  display: grid;
  gap: var(--ds-space-2);
  margin: var(--ds-space-4) 0 0;
  padding: var(--ds-space-3) 0;
  border-block: 1px solid var(--ds-border);
}

.ds-detail__meta > div {
  display: grid;
  grid-template-columns: minmax(105px, auto) minmax(0, 1fr);
  gap: var(--ds-space-2);
  align-items: start;
}

.ds-detail__meta dt,
.ds-detail__meta dd {
  margin: 0;
  font-family: var(--ds-font-latin);
  font-size: 14px;
  line-height: 1.6;
  text-align: start;
}

.ds-detail__meta dt {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--ds-text-secondary);
  font-weight: 600;
}

.ds-detail__meta dt i {
  color: var(--ds-bright);
}

.ds-detail__meta dd {
  color: var(--ds-text);
}

.ds-detail__seller {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-3);
  align-items: center;
  margin-block-start: var(--ds-space-4);
  padding: var(--ds-space-3);
  border-radius: var(--ds-radius-md);
  background: #fafaff;
}

.ds-detail__seller-link {
  flex: 1 1 180px;
}

.ds-detail__seller > .ds-message-action {
  margin-inline-start: auto;
}

.ds-detail__seller > .ds-message-action__error {
  width: 100%;
}

.ds-detail__seller-label,
.ds-detail__seller-name,
.ds-detail__seller-location {
  margin: 0;
  font-family: var(--ds-font-latin);
  text-align: start;
}

.ds-detail__seller-label,
.ds-detail__seller-location {
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ds-detail__seller-name {
  margin-block: 2px;
  color: var(--ds-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.ds-detail__description {
  margin-block-start: var(--ds-space-6);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
}

.ds-detail__description h2 {
  margin: 0 0 var(--ds-space-3);
  color: var(--ds-deep);
  font-family: var(--ds-font-latin);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: start;
}

.ds-detail__description > div {
  color: var(--ds-text-secondary);
  font-family: var(--ds-font-latin);
  font-size: 15px;
  line-height: 1.8;
  text-align: start;
}

[dir="rtl"] .ds-detail,
html[lang="ar"] .ds-detail {
  direction: rtl;
}

[dir="rtl"] .ds-detail__breadcrumb,
[dir="rtl"] .ds-detail__title,
[dir="rtl"] .ds-detail__deal,
[dir="rtl"] .ds-detail__price .new-price,
[dir="rtl"] .ds-detail__old-price,
[dir="rtl"] .ds-detail__meta dt,
[dir="rtl"] .ds-detail__meta dd,
[dir="rtl"] .ds-detail__seller-label,
[dir="rtl"] .ds-detail__seller-name,
[dir="rtl"] .ds-detail__seller-location,
[dir="rtl"] .ds-detail__description h2,
[dir="rtl"] .ds-detail__description > div,
html[lang="ar"] .ds-detail__breadcrumb,
html[lang="ar"] .ds-detail__title,
html[lang="ar"] .ds-detail__deal,
html[lang="ar"] .ds-detail__price .new-price,
html[lang="ar"] .ds-detail__old-price,
html[lang="ar"] .ds-detail__meta dt,
html[lang="ar"] .ds-detail__meta dd,
html[lang="ar"] .ds-detail__seller-label,
html[lang="ar"] .ds-detail__seller-name,
html[lang="ar"] .ds-detail__seller-location,
html[lang="ar"] .ds-detail__description h2,
html[lang="ar"] .ds-detail__description > div {
  font-family: var(--ds-font-ar);
}

[dir="rtl"] .ds-detail__breadcrumb i,
html[lang="ar"] .ds-detail__breadcrumb i {
  transform: scaleX(-1);
}

@media (max-width: 991px) {
  .ds-detail__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-4);
  }
}

@media (max-width: 639px) {
  .ds-detail__container {
    padding-block-start: 24px;
  }

  .ds-detail__layout {
    gap: var(--ds-space-3);
  }

  .ds-detail__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ds-detail__content,
  .ds-detail__description {
    padding: 20px;
  }

  .ds-detail__meta > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .ds-gallery-modal {
    padding: 0;
  }

  .ds-gallery-modal__dialog {
    width: 100%;
    height: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .ds-gallery-modal__viewer {
    position: relative;
    display: block;
  }

  .ds-gallery-modal__viewport {
    width: 100%;
    height: 100%;
  }

  .ds-gallery-modal__previous,
  .ds-gallery-modal__next {
    position: absolute;
    z-index: 1;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    font-size: 27px;
  }

  .ds-gallery-modal__previous {
    inset-inline-start: 6px;
  }

  .ds-gallery-modal__next {
    inset-inline-end: 6px;
  }

  .ds-gallery-modal__thumbs {
    min-height: 60px;
  }

  .ds-gallery-modal__thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
}

.ds-account-page {
  min-height: 62vh;
  background: var(--ds-page-bg);
  color: var(--ds-text);
}

.ds-account-page__container {
  max-width: 1360px;
  margin-inline: auto;
  padding: 40px 32px 48px;
}

.ds-account-shell {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: var(--ds-space-4);
  align-items: start;
}

.ds-account-shell__content {
  min-width: 0;
}

.ds-account-nav {
  min-width: 0;
}

.ds-account-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-account-nav--sidebar {
  position: sticky;
  top: 120px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-card);
}

.ds-account-nav--sidebar .ds-account-nav__list {
  flex-direction: column;
  padding: var(--ds-space-1);
}

.ds-account-nav__link {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--ds-radius-sm);
  color: var(--ds-text-secondary);
  font-family: var(--ds-font-latin);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.ds-account-nav__link:hover {
  background: rgba(27, 23, 255, 0.06);
  color: var(--ds-deep);
}

.ds-account-nav__link--active {
  background: var(--ds-deep);
  color: #fff;
}

.ds-account-nav__link--active:hover {
  background: var(--ds-primary-hover);
  color: #fff;
}

.ds-account-nav--compact {
  grid-column: 1 / -1;
  margin-bottom: var(--ds-space-3);
  overflow-x: auto;
  scrollbar-width: thin;
}

.ds-account-nav--compact .ds-account-nav__list {
  width: max-content;
  min-width: 100%;
  gap: var(--ds-space-1);
  padding-bottom: 2px;
}

.ds-account-nav--compact .ds-account-nav__link {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
  white-space: nowrap;
}

.ds-account-nav--compact .ds-account-nav__link--active {
  border-color: var(--ds-deep);
  background: var(--ds-deep);
  color: #fff;
}

[dir="rtl"] .ds-account-nav__link {
  font-family: var(--ds-font-ar);
}

@media (max-width: 991px) {
  .ds-account-page__container {
    padding: 32px 24px 40px;
  }

  .ds-account-shell {
    display: block;
  }

  .ds-account-nav--sidebar {
    position: static;
    margin-bottom: var(--ds-space-3);
    overflow-x: auto;
  }

  .ds-account-nav--sidebar .ds-account-nav__list {
    width: max-content;
    min-width: 100%;
    flex-direction: row;
    gap: var(--ds-space-1);
  }

  .ds-account-nav--sidebar .ds-account-nav__link {
    white-space: nowrap;
  }
}

@media (max-width: 639px) {
  .ds-auth-actions {
    flex-direction: column;
  }

  .ds-auth-action {
    width: 100%;
  }

  .ds-account-page__container {
    padding: 24px 16px 32px;
  }

  .ds-account-nav__link {
    padding-inline: 12px;
  }
}


/* Dealskion registration refinements */
.ec-register-wrapper .ec-register-container .ec-register-form .ds-registration-form .ds-registration-input {
  background-color: #f3f4f6;
  border: 1px solid #c7cad1;
  color: #20242b;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ec-register-wrapper .ec-register-container .ec-register-form .ds-registration-form .ds-registration-input::placeholder {
  color: #777;
}

.ec-register-wrapper .ec-register-container .ec-register-form .ds-registration-form .ds-registration-input:focus {
  background-color: #fff;
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(24, 113, 186, 0.16);
  outline: none;
}

.ds-registration-consent {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 40px;
  line-height: 1.5;
}

.ec-register-wrapper .ec-register-container .ec-register-form .ds-registration-form .ds-registration-consent__checkbox {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  margin-bottom: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #c7cad1;
  box-sizing: border-box;
  accent-color: var(--ds-primary);
  flex: 0 0 16px;
  align-self: center;
}

.ds-registration-consent__label {
  cursor: pointer;
  margin: 0;
}

.ds-registration-consent__link {
  color: #030099;
  text-decoration: underline;
}

.ds-registration-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ds-registration-action {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  font-size: 0.95rem;
  text-align: center;
}

.ds-registration-action--primary {
  grid-column: 1 / -1;
  min-height: 48px;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .ds-registration-consent {
    align-items: flex-start;
  }

  .ec-register-wrapper .ec-register-container .ec-register-form .ds-registration-form .ds-registration-consent__checkbox {
    margin: 3px 0 0;
    margin-bottom: 0;
    align-self: flex-start;
  }

  .ds-registration-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ds-registration-action--primary {
    grid-column: 1 / -1;
  }

  .ds-registration-actions .ds-registration-action {
    width: 100%;
    min-width: 0;
  }

  .ds-registration-actions .ds-registration-action:last-child {
    grid-column: 1 / -1;
  }
}

/* DEALSKION_GALLERY_UI_FIX_V2
   Post detail gallery:
   - physical LTR navigation
   - correct counter direction
   - larger contained image
   - translucent overlay/dialog
   - Leaflet kept below gallery
*/

#post-detail-location-map {
  position: relative;
  z-index: 0 !important;
  isolation: isolate;
}

#post-detail-location-map.leaflet-container {
  z-index: 0 !important;
}

.ds-gallery-modal {
  z-index: 100000 !important;
  padding: 16px !important;
  background: transparent !important;
  isolation: isolate;
}

.ds-gallery-modal__backdrop {
  background: rgba(6, 8, 18, 0.58) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ds-gallery-modal__dialog {
  width: min(1500px, calc(100vw - 32px)) !important;
  max-width: none !important;

  height: min(94vh, 980px) !important;
  height: min(94dvh, 980px) !important;
  max-height: 94dvh !important;

  padding: 12px !important;

  background: rgba(9, 11, 20, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;

  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.28) !important;
}

.ds-gallery-modal__header,
.ds-gallery-modal__viewer,
.ds-gallery-modal__zoom,
.ds-gallery-modal__thumbs {
  direction: ltr !important;
}

.ds-gallery-modal__counter {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.ds-gallery-modal__viewer {
  background: transparent !important;
}

.ds-gallery-modal__viewport {
  background: transparent !important;
}

/*
 * Critical fix:
 * scale-down was refusing to enlarge smaller source images.
 * contain fills the available viewer while preserving aspect ratio.
 */
.ds-gallery-modal__image {
  width: 100% !important;
  height: 100% !important;

  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  background: transparent !important;
}

.ds-gallery-modal__previous,
.ds-gallery-modal__next {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* Desktop: give the actual photo more of the screen. */
@media (min-width: 768px) {
  .ds-gallery-modal__viewer {
    grid-template-columns:
      56px
      minmax(0, 1fr)
      56px !important;

    gap: 10px !important;
  }
}

/* Mobile remains nearly full-screen without a thick black frame. */
@media (max-width: 767.98px) {
  .ds-gallery-modal {
    padding: 8px !important;
  }

  .ds-gallery-modal__dialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;

    height: calc(100dvh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;

    padding: 8px !important;
    border-radius: 14px !important;
  }

  .ds-gallery-modal__viewer {
    direction: ltr !important;
  }

  .ds-gallery-modal__previous {
    left: 8px !important;
    right: auto !important;
  }

  .ds-gallery-modal__next {
    right: 8px !important;
    left: auto !important;
  }

  .ds-gallery-modal__counter {
    direction: ltr !important;
  }
}

.ds-message-list__profile, .ds-message-list__open, .ds-chat__profile-link {
  color: inherit; text-decoration: none;
}
.ds-message-list__profile:hover, .ds-message-list__profile:focus-visible,
.ds-message-list__open:hover, .ds-message-list__open:focus-visible,
.ds-chat__profile-link:hover, .ds-chat__profile-link:focus-visible {
  color: var(--ds-primary); text-decoration: underline;
}
.ds-message-list__open { display: inline-block; font-size: 12px; margin-top: 3px; }

/* Dealskion: follow list links and profile entries — selective 2026-10-22. */
.ds-follow-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ds-follow-members__person { display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px solid var(--ds-border); border-radius: var(--ds-radius-card); background: #fff;
  color: var(--ds-text); text-decoration: none; }
.ds-follow-members__person:hover, .ds-follow-members__person:focus-visible { color: var(--ds-primary); }
.ds-follow-members__person img { object-fit: cover; border-radius: 50%; width: 54px; height: 54px; }
.ds-profile-follow-links { display: flex; flex-wrap: wrap; gap: 15px; margin: 12px 0 22px; }
.ds-public-profile__stats dt a { color: inherit; text-decoration: none; }
.ds-public-profile__stats dt a:hover { text-decoration: underline; }

/* DEALSKION_HOME_APP_FOOTER_V1_20261022 — balanced footer + midpoint app promotion. */
.ds-footer .ds-footer__container { padding-block: 28px 16px; }
.ds-footer .ds-footer__grid--balanced { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ds-footer .ds-footer__brand--compact { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ds-footer .ds-footer__brand--compact .ds-footer__logo-plate { flex: 0 0 auto; margin-bottom: 0; padding: 7px 12px; }
.ds-footer .ds-footer__brand--compact .ds-footer__logo img { max-width: 142px; max-height: 45px; }
.ds-footer .ds-footer__brand--compact p { max-width: none; font-size: 13px; line-height: 1.55; }
.ds-footer .ds-footer__nav { min-width: 0; }
.ds-footer .ds-footer__nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.ds-footer .ds-footer__nav-column { min-width: 0; }
.ds-footer .ds-footer__nav-column h2 { margin-bottom: 10px; }
.ds-footer .ds-footer__nav-column ul { display: grid; gap: 7px; }
.ds-footer .ds-footer__nav-column li { min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
.ds-footer .ds-footer__bottom { margin-top: 22px; padding-top: 12px; }
@media (max-width: 540px) {
  .ds-footer .ds-footer__container { padding-block: 20px 16px; }
  .ds-footer .ds-footer__brand--compact { align-items: flex-start; gap: 10px; }
  .ds-footer .ds-footer__brand--compact .ds-footer__logo img { max-width: 102px; max-height: 38px; }
  .ds-footer .ds-footer__brand--compact .ds-footer__logo-plate { padding: 6px; }
  .ds-footer .ds-footer__brand--compact p { font-size: 12px; line-height: 1.5; }
  .ds-footer .ds-footer__nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ds-footer .ds-footer__nav-column h2 { font-size: 13px; }
  .ds-footer .ds-footer__nav-column li a { font-size: 12px; }
  .ds-footer .ds-footer__bottom { margin-top: 18px; }
}
.ds-app-promo { padding-block: 28px !important; background: transparent !important; }
.ds-app-promo__panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(180px, .65fr); align-items: center; min-height: 285px; padding: 30px clamp(22px, 4.8vw, 60px); overflow: hidden; border-radius: 26px; color: #fff; background: linear-gradient(117deg,#1713aa 0%,#4737db 48%,#8371ed 100%); box-shadow: 0 14px 35px rgba(33,26,151,.14); }
.ds-app-promo__panel::before { content: ''; position: absolute; z-index: -1; inset: auto -8% -190px auto; width: 440px; height: 440px; border-radius: 50%; border: 65px solid rgba(255,255,255,.075); pointer-events: none; }
.ds-app-promo__content { position: relative; z-index: 2; min-width: 0; }
.ds-app-promo__eyebrow { display: inline-flex; padding: 6px 11px; border-radius: 100px; background: rgba(255,255,255,.16); letter-spacing: .05em; font-size: 11px; font-weight: 800; }
.ds-app-promo__content h2 { margin: 13px 0 10px; max-width: 610px; color: #fff; font-size: clamp(25px,3vw,39px); line-height: 1.25; font-weight: 800; }
.ds-app-promo__content p { max-width: 480px; margin: 0 0 20px; color: rgba(255,255,255,.84); line-height: 1.7; font-size: 14px; }
.ds-app-promo__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ds-app-promo__store { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 155px; min-height: 57px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.32); border-radius: 13px; color: #fff; background: rgba(6,8,51,.55); text-decoration: none; transition: transform .2s ease,background .2s ease,box-shadow .2s ease; }
.ds-app-promo__store:hover,.ds-app-promo__store:focus-visible { color: #fff; background: rgba(6,8,51,.75); box-shadow: 0 10px 23px rgba(0,0,0,.18); transform: translateY(-2px); }
.ds-app-promo__store span { display: grid; gap: 1px; text-align: start; direction: ltr; }
.ds-app-promo__store small { font: 500 10px/1.2 system-ui,sans-serif; letter-spacing: .01em; }
.ds-app-promo__store strong { font: 750 19px/1.25 system-ui,sans-serif; }
.ds-app-promo__art { position: relative; display: flex; justify-content: center; align-items: center; align-self: stretch; min-height: 250px; }
.ds-app-promo__halo { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle,rgba(255,255,255,.2),rgba(255,255,255,0) 67%); }
.ds-app-promo__phone { position: absolute; bottom: -80px; width: 184px; height: 316px; padding: 22px 11px 13px; border: 6px solid #101431; border-radius: 29px; background: #fcfcff; box-shadow: 0 28px 40px rgba(4,4,67,.36); transform: rotate(-9deg); }
.ds-app-promo__speaker { position: absolute; top: 6px; left: 50%; width: 40px; height: 5px; border-radius: 5px; background: #1c1f3c; transform: translateX(-50%); }
.ds-app-promo__phone-brand { color: #2517bb; font: 800 15px/1.3 system-ui,sans-serif; text-align: center; direction: ltr; }
.ds-app-promo__phone-brand span { color: #ffa53e; }
.ds-app-promo__phone-line { height: 10px; margin: 13px 4px; border-radius: 5px; background: #ececff; }
.ds-app-promo__mock-card { display: flex; gap: 9px; align-items: center; margin: 9px 2px; padding: 7px; border: 1px solid #e6e8f4; border-radius: 11px; }
.ds-app-promo__mock-img { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; background: linear-gradient(135deg,#7d89fc,#cbd1ff); }
.ds-app-promo__mock-img--pink { background: linear-gradient(135deg,#ff80aa,#ffd7de); }
.ds-app-promo__mock-img--green { background: linear-gradient(135deg,#61ceb8,#c8fff2); }
.ds-app-promo__mock-text { display: grid; flex: 1; gap: 7px; }
.ds-app-promo__mock-text i { display: block; height: 7px; border-radius: 7px; background: #d8daf1; }
.ds-app-promo__mock-text i:last-child { width: 60%; background: #b8b8ef; }
@media (max-width: 760px) {
 .ds-app-promo__panel { grid-template-columns: minmax(0,1fr); min-height: unset; padding: 27px 22px; }
 .ds-app-promo__art { display: none; }
 .ds-app-promo__content h2 { font-size: 27px; }
 .ds-app-promo__store { flex: 1 1 145px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .ds-app-promo__store { transition: none; } }

/* DEALSKION_V8_REVIEW_ONLY_THREE_COLUMNS_HOME_VARIETY — review candidate, not deployed. */
.ds-footer .ds-footer__nav-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,3vw,36px);
}
.ds-footer .ds-footer__nav-column, .ds-footer .ds-footer__nav-column h2,
.ds-footer .ds-footer__nav-column li { min-width:0; text-align:center; }
.ds-footer .ds-footer__nav-column ul { width:100%; }
.ds-footer .ds-footer__nav-column a { display:inline-block; max-width:100%; overflow-wrap:anywhere; }
@media(max-width:700px){.ds-footer .ds-footer__nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:420px){.ds-footer .ds-footer__nav-grid{grid-template-columns:1fr;}}
/* Category titles produce stable but distinct hues. Preserve card markup and query logic. */
.ds-home__category-section{
  --ds-category-hue:230;
  position:relative;
  background:linear-gradient(135deg,hsl(var(--ds-category-hue) 73% 97%),#fff 83%) !important;
  border-block-start:1px solid hsl(var(--ds-category-hue) 65% 88%);
}
.ds-home__category-section .ds-section-heading__title {
  border-inline-start:4px solid hsl(var(--ds-category-hue) 68% 49%);
  padding-inline-start:12px;
}
.ds-home__category-variant-1 .ds-section-heading__title{border-inline-start-width:0;border-block-end:4px solid hsl(var(--ds-category-hue) 68% 49%);padding-inline-start:0;padding-block-end:6px;}
.ds-home__category-variant-2 .ds-section-heading__title{border-inline-start-width:0;background:hsl(var(--ds-category-hue) 65% 94%);border-radius:14px;padding:8px 14px;}
.ds-home__category-section .homepage-listing-slide,.ds-home__category-section .homepage-listing-static{transition:transform .22s ease,box-shadow .22s ease;}
.ds-home__category-section .homepage-listing-slide:hover,.ds-home__category-section .homepage-listing-slide:focus-within,.ds-home__category-section .homepage-listing-static:hover{transform:translateY(-3px);}
.ds-home__category-section .ds-section-heading__link{transition:transform .18s ease;}
.ds-home__category-section .ds-section-heading__link:hover{transform:translateX(-2px);}
@supports (animation-timeline:view()){
  @keyframes ds-category-entry{from{opacity:.6;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}
  .ds-home__category-section .ds-section-heading{animation:ds-category-entry .6s ease both;animation-timeline:view();animation-range:entry 0% entry 100%;}
}
@media (prefers-reduced-motion:reduce){
 .ds-home__category-section .homepage-listing-slide,.ds-home__category-section .homepage-listing-static,.ds-home__category-section .ds-section-heading__link{transition:none!important;}
 .ds-home__category-section .ds-section-heading{animation:none!important;}
}


/* DEALSKION_P0_FAVORITES_VISUAL_UNIFICATION_20261023 */
.ds-detail .ds-detail__favorite-action [data-detail-favorite-toggle],
.ds-detail .ds-detail__seller > .ds-message-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--ds-primary);
  border-radius: var(--ds-radius-md);
  background-color: var(--ds-primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.ds-detail .ds-detail__favorite-action [data-detail-favorite-toggle] i {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
}
.ds-detail .ds-detail__favorite-action [data-detail-favorite-toggle]:hover,
.ds-detail .ds-detail__seller > .ds-message-action:hover {
  background-color: var(--ds-deep);
  border-color: var(--ds-deep);
  color: #fff;
}
.ds-detail .ds-detail__favorite-action [data-detail-favorite-toggle]:focus-visible,
.ds-detail .ds-detail__seller > .ds-message-action:focus-visible {
  outline: 3px solid rgba(27,23,255,.3);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .ds-detail .ds-detail__favorite-action [data-detail-favorite-toggle],
  .ds-detail .ds-detail__seller > .ds-message-action { transition: none; }
}
