/** Shopify CDN: Minification failed

Line 1228:0 Unexpected "}"

**/
/* =========================================================
   AL MATAR AL MALAKI — LOCALIZATION
   Single source of truth for the language selector and Arabic layout.
   ========================================================= */

/* ---------- Language selector: structure ---------- */

.almatar-header-language {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.almatar-language {
  position: relative;
  display: block;
  color: inherit;
}

.almatar-language > summary {
  list-style: none;
}

.almatar-language > summary::-webkit-details-marker {
  display: none;
}

/* ---------- Language selector: trigger ---------- */

.almatar-language__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 48px;
  min-height: 44px;
  padding: 0 4px;
  margin: 0;
  border: 0;
  color: currentColor;
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.almatar-language__toggle:hover {
  color: rgb(var(--text-color) / 0.68);
}

.almatar-language__toggle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.almatar-language__code {
  display: inline-block;
  font-family: var(--text-font-family);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.almatar-language__chevron {
  display: block;
  width: 10px;
  height: 7px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.almatar-language[open] .almatar-language__chevron {
  transform: rotate(180deg);
}

/* ---------- Language selector: dropdown ---------- */

.almatar-language__menu {
  position: absolute;
  z-index: 99999;
  top: calc(100% + 10px);
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 180px;
  max-width: calc(100vw - 40px);
  height: auto;
  padding: 8px 0;
  overflow: hidden;
  color: #1c1c1c;
  background-image: url("/cdn/shop/files/da495d01c2cd9865074b872bd6510a29.webp?v=1781091808");
  background-repeat: repeat;
  background-size: 500px auto;
  background-position: top center;
  background-color: #f7f0e7;
  border: 1px solid rgb(196 154 67 / 0.55);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgb(28 28 28 / 0.08);
  transform-origin: top right;
  animation: almatar-language-open 180ms ease both;
}

@keyframes almatar-language-open {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.almatar-language__form,
.almatar-language__list {
  display: block;
  width: 100%;
}

.almatar-language__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-width: 100%;
  padding: 6px 16px;
  border: 0;
  border-bottom: 1px solid rgb(196 154 67 / 0.22);
  border-radius: 0;
  color: #1c1c1c;
  background: transparent;
  font-family: var(--text-font-family);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 250ms ease;
}

.almatar-language__option:last-child {
  border-bottom: 0;
}

.almatar-language__option:hover,
.almatar-language__option:focus-visible,
.almatar-language__option[aria-selected="true"] {
  color: #c49a43;
  background: transparent;
  outline: none;
}

.almatar-language__option[lang^="ar"] {
  direction: rtl;
  text-align: right;
}

.almatar-language__option:not([lang^="ar"]) {
  direction: ltr;
  text-align: left;
}

.almatar-language__check {
  display: block;
  width: 15px;
  height: 12px;
  flex: 0 0 auto;
  color: currentColor;
}

/* ---------- Header spacing: desktop ---------- */

@media screen and (min-width: 700px) {
  .header__secondary-nav {
    column-gap: 12px !important;
  }

  .almatar-language__toggle {
    min-width: 40px;
    padding-inline: 0;
  }
}

/* ---------- Header and selector: mobile ---------- */

@media screen and (max-width: 699px) {
  .header {
    grid-template:
      "logo secondary-nav primary-nav"
      / auto minmax(0, 1fr) auto !important;
    column-gap: 15px !important;
  }

  .header__logo {
    grid-area: logo !important;
  }

  .header__secondary-nav {
    grid-area: secondary-nav !important;
    justify-self: end !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .header__primary-nav {
    grid-area: primary-nav !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .almatar-language__toggle {
    min-width: 36px;
    min-height: 40px;
    gap: 5px;
    padding-inline: 0;
  }

  .almatar-language__code {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .almatar-language__menu {
    top: calc(100% + 8px);
    width: 150px;
    min-width: 150px;
    padding: 4px;
  }

  .almatar-language__option {
    min-height: 28px;
    padding: 9px 10px;
    font-size: 12px;
  }
}

/* ---------- Arabic: document and form direction ---------- */

html.locale-ar,
html.locale-ar body {
  direction: ltr;
}

html.locale-ar :where(
  input:not([type="email"]):not([type="tel"]),
  textarea
) {
  direction: rtl;
  text-align: right;
}

html.locale-ar :where(button, .button, nav a) {
  direction: rtl;
}

html.locale-ar input[type="email"] {
  direction: rtl;
  text-align: right;
}

html.locale-ar input[type="tel"] {
  direction: ltr;
  text-align: left;
}

html.locale-ar .almatar-language,
html.locale-ar .almatar-language__menu,
html.locale-ar .almatar-language__list {
  direction: ltr;
}

/* ---------- Arabic: unified slide content system ---------- */

html.locale-ar .content-over-media .prose {
  direction: rtl;
  text-align: right;
}

html.locale-ar :where(
  .almatar-chapters-content,
  .almatar-story-content,
  .almatar-journal-content
) {
  direction: rtl;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 360px !important;
  max-width: 100% !important;
  text-align: right;
}

html.locale-ar :is(
  .content-over-media .prose > p.h6:first-of-type,
  .content-over-media .prose > h6,
  .content-over-media .prose > .h6,
  .almatar-chapters-subheading,
  .almatar-story-subheading,
  .almatar-journal-subheading,
  .almatar-contact-subheading
) {
  font-family: var(--text-font-family) !important;
  font-size: 18px !important;
  font-weight: 350 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #c49a43 !important;
  margin: 0 0 14px !important;
}

html.locale-ar :is(
  .content-over-media .prose > p.h2,
  .content-over-media .prose > h1,
  .content-over-media .prose > h2,
  .content-over-media .prose > .h1,
  .content-over-media .prose > .h2,
  .almatar-chapters-title,
  .almatar-story-title,
  .almatar-journal-title,
  .almatar-contact-title
) {
  width: auto !important;
  max-width: 360px !important;
  font-family: var(--heading-font-family) !important;
  font-size: 40px !important;
  font-weight: 450 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1c1c1c !important;
  margin: 0 0 18px !important;
  text-align: right !important;
}

html.locale-ar :is(
  .content-over-media .prose > p.h2 + p.h6,
  .almatar-chapters-divider,
  .almatar-story-divider,
  .almatar-journal-divider,
  .almatar-contact-divider
) {
  display: block !important;
  width: 70px !important;
  height: 1px !important;
  flex: 0 0 1px !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: #c49a43 !important;
  margin: 0 0 22px !important;
  letter-spacing: 0 !important;
}

html.locale-ar :is(
  .content-over-media .prose p:not(.h2):not(.h6),
  .content-over-media .prose > p.h2 + p.h6 + div,
  .content-over-media .prose > p.h2 + p.h6 + p,
  .almatar-chapters-text,
  .almatar-story-text,
  .almatar-journal-text,
  .almatar-contact-text
) {
  width: auto !important;
  max-width: 360px !important;
  font-family: var(--text-font-family) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1c1c1c !important;
  margin: 0 0 24px !important;
  text-align: right !important;
}

html.locale-ar .button {
  font-size: 14px !important;
}

html.locale-ar :is(
  .content-over-media .button,
  .almatar-chapters-button,
  .almatar-story-button,
  .almatar-journal-button,
  .almatar-contact-button
) {
  margin-top: 15px !important;
}

/* ---------- Arabic: collection category strips ---------- */

html.locale-ar .almatar-chapters-group-title {
  font-size: 18px !important;
  font-weight: 350 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ---------- Arabic: Journal information card ---------- */

html.locale-ar .almatar-journal-card-content {
  direction: rtl;
  align-items: flex-start !important;
  width: 100% !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  font-family: var(--text-font-family) !important;
  text-align: right !important;
}


/* ---------- Arabic: wooden footer strip text ---------- */

html.locale-ar .almatar-footer-strip__content {
  direction: rtl;
  text-align: right !important;
}

html.locale-ar :is(
  .almatar-footer-strip__heading,
  .almatar-footer-strip__text
) {
  direction: rtl;
  font-family: var(--heading-font-family) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: right !important;
}

/* ---------- Arabic: header layout and navigation ---------- */

/*
  نحافظ على بنية الهيدر مثل النسخة الإنجليزية:
  اللوجو يسار، والمنيو والأيقونات يمين.
*/
html.locale-ar .header {
  direction: ltr;
}

html.locale-ar .header__logo,
html.locale-ar .header__secondary-nav {
  direction: ltr;
}

/*
  نعكس ترتيب روابط الصفحات فقط:
  الرئيسية تبدأ من اليمين، وتواصل معنا تنتهي في اليسار.
*/
@media screen and (min-width: 1000px) {
  html.locale-ar .header__primary-nav {
    direction: rtl;
  }

  html.locale-ar .header__primary-nav-item,
  html.locale-ar .header__primary-nav-item > a {
    direction: rtl;
    text-align: right;
  }

  html.locale-ar .header__primary-nav-item > a {
    font-family: var(--heading-font-family) !important;
    font-size: 17px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
  }

  /* Arabic desktop social-card typography. */
html.locale-ar .almatar-contact-social-label {
  direction: rtl !important;
  font-family: var(--heading-font-family) !important;
  font-size: 15px !important;
  font-weight: 450 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: right !important;
  white-space: nowrap !important;
}
}

/* ---------- Arabic: mobile slide typography and unified alignment ---------- */

@media screen and (max-width: 699px) {
  /* The home hero uses 28px on both sides. All remaining slides use it too. */
  html.locale-ar :is(
    .almatar-chapters-section,
    .almatar-story-section,
    .almatar-journal-section,
    .almatar-contact-section
  ) {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  html.locale-ar :is(
    .almatar-chapters-inner,
    .almatar-story-inner,
    .almatar-journal-inner,
    .almatar-contact-inner,
    .almatar-contact-left
  ) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html.locale-ar :is(
    .almatar-chapters-content,
    .almatar-story-content,
    .almatar-journal-content,
    .almatar-contact-content
  ) {
    direction: rtl !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: right !important;
  }

  html.locale-ar :is(
    .almatar-chapters-content,
    .almatar-story-content,
    .almatar-journal-content,
    .almatar-contact-content
  ) > * {
    direction: rtl !important;
    text-align: right !important;
  }

  html.locale-ar :is(
    .almatar-chapters-subheading,
    .almatar-chapters-title,
    .almatar-chapters-text,
    .almatar-story-subheading,
    .almatar-story-title,
    .almatar-story-text,
    .almatar-journal-subheading,
    .almatar-journal-title,
    .almatar-journal-text,
    .almatar-contact-subheading,
    .almatar-contact-title,
    .almatar-contact-text
  ) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: right !important;
  }

  html.locale-ar :is(
    .content-over-media .prose > p.h6:first-of-type,
    .content-over-media .prose > h6,
    .content-over-media .prose > .h6,
    .almatar-chapters-subheading,
    .almatar-story-subheading,
    .almatar-journal-subheading,
    .almatar-contact-subheading
  ) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  html.locale-ar :is(
    .content-over-media .prose > p.h2,
    .content-over-media .prose > h1,
    .content-over-media .prose > h2,
    .content-over-media .prose > .h1,
    .content-over-media .prose > .h2,
    .almatar-chapters-title,
    .almatar-story-title,
    .almatar-journal-title,
    .almatar-contact-title
  ) {
    max-width: 100% !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  html.locale-ar :is(
    .content-over-media .prose p:not(.h2):not(.h6),
    .content-over-media .prose > p.h2 + p.h6 + div,
    .content-over-media .prose > p.h2 + p.h6 + p,
    .almatar-chapters-text,
    .almatar-story-text,
    .almatar-journal-text,
    .almatar-contact-text
  ) {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  html.locale-ar :is(
    .content-over-media .prose > p.h2 + p.h6,
    .almatar-chapters-divider,
    .almatar-story-divider,
    .almatar-journal-divider,
    .almatar-contact-divider
  ) {
    align-self: auto !important;
    width: 64px !important;
    height: 0.7px !important;
    margin: 0px 0 12px auto !important;
  }

  html.locale-ar .almatar-chapters-group-title {
    font-size: 17px !important;
  }

  /* All wooden slide buttons, including the home button, use one type scale. */
  html.locale-ar :is(
    #home .content-over-media .button,
    .almatar-chapters-button,
    .almatar-story-button,
    .almatar-journal-button,
    .almatar-contact-button
  ) {
    direction: rtl !important;
    font-family: var(--text-font-family) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html.locale-ar :is(
    .almatar-chapters-button,
    .almatar-story-button,
    .almatar-journal-button
  ) {
    align-self: auto !important;
    width: max-content !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  html.locale-ar :is(
    .almatar-footer-strip__heading,
    .almatar-footer-strip__text
  ) {
    text-align: right !important;
  }

  html.locale-ar .almatar-journal-card {
  left: calc(115px - (28px - 5vw)) !important;
}

/* Contact page: center the Arabic mobile composition. */
html.locale-ar .almatar-contact-inner,
html.locale-ar .almatar-contact-left,
html.locale-ar .almatar-contact-right {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html.locale-ar .almatar-contact-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-items: center !important;
  text-align: center !important;
}

html.locale-ar .almatar-contact-subheading,
html.locale-ar .almatar-contact-title,
html.locale-ar .almatar-contact-text,
html.locale-ar .almatar-contact-connect-title {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

html.locale-ar .almatar-contact-divider,
html.locale-ar .almatar-contact-connect-divider {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html.locale-ar .almatar-contact-form,
html.locale-ar .almatar-contact-links {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep Arabic typing aligned correctly inside the fields. */
html.locale-ar .almatar-contact-input,
html.locale-ar .almatar-contact-textarea {
  direction: rtl !important;
  text-align: right !important;
}
/* Arabic contact links: centered responsive grid. */
html.locale-ar .almatar-contact-right {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html.locale-ar .almatar-contact-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px 6px !important;

  width: 100% !important;
  max-width: 380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html.locale-ar .almatar-contact-social {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

html.locale-ar .almatar-contact-social:last-child {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Larger Arabic typography inside contact cards. */
html.locale-ar .almatar-contact-social-label,
html.locale-ar .almatar-contact-social:last-child .almatar-contact-social-label {
  direction: rtl !important;
  font-family: var(--text-font-family) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}
/* ---------- Arabic: fully mirrored fragrance cards ---------- */

html.locale-ar .almatar-fragrance-card__info {
  direction: rtl !important;
}

html.locale-ar .almatar-card-desktop-info {
  direction: rtl !important;
  text-align: right !important;
}

html.locale-ar .almatar-card-desktop-info :is(
  .almatar-fragrance-card__name-en,
  .almatar-fragrance-card__name-ar,
  .almatar-fragrance-card__type,
  .almatar-fragrance-card__details,
  .almatar-fragrance-card__price
) {
  text-align: right !important;
}

html.locale-ar .almatar-card-desktop-info .almatar-fragrance-card__small-line {
  margin-left: auto !important;
  margin-right: 0 !important;
}

html.locale-ar .almatar-fragrance-card__link {
  direction: rtl !important;
}

html.locale-ar .almatar-fragrance-card__link span {
  display: inline-block !important;
  transform: scaleX(-1) !important;
}

@media screen and (max-width: 749px) {
  /* RTL reverses the physical grid:
     name block → right, type/price block → left. */
  html.locale-ar .almatar-card-mobile-info {
    direction: rtl !important;
  }

  html.locale-ar .almatar-card-mobile-left,
  html.locale-ar .almatar-card-mobile-right {
    direction: rtl !important;
    text-align: right !important;
  }

  html.locale-ar .almatar-card-mobile-left :is(
    .almatar-fragrance-card__name-en,
    .almatar-fragrance-card__name-ar,
    .almatar-fragrance-card__details
  ) {
    text-align: right !important;
  }

  html.locale-ar .almatar-card-mobile-right :is(
    .almatar-fragrance-card__type,
    .almatar-fragrance-card__price
  ) {
    text-align: right !important;
  }

  html.locale-ar
    .almatar-card-mobile-left
    .almatar-fragrance-card__small-line {
    margin: 5px 0 8px auto !important;
  }

  html.locale-ar .almatar-fragrance-card__link {
    direction: rtl !important;
    text-align: center !important;
  }
}
/* =========================================================
   Arabic mobile wooden footer strip
   Final single source of truth
   ========================================================= */

@media screen and (max-width: 749px) {
  html.locale-ar .almatar-footer-strip__inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: center !important;

    width: 100% !important;
    height: 100% !important;
    gap: 0 !important;

    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  html.locale-ar .almatar-footer-strip__item {
    position: relative !important;

    display: grid !important;
    grid-template-rows: 22px auto !important;
    justify-items: center !important;
    align-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;

    padding: 0 2px !important;
    margin: 0 !important;
    gap: 3px !important;
  }

  html.locale-ar
    .almatar-footer-strip__item:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;

    top: 50% !important;
    right: 0 !important;

    width: 1px !important;
    height: 36px !important;

    background: rgb(196 154 67 / 0.45) !important;
    transform: translateY(-50%) !important;
  }

  html.locale-ar .almatar-footer-strip__icon {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 19px !important;
    height: 19px !important;

    margin: 0 !important;
    transform: none !important;
  }

  html.locale-ar .almatar-footer-strip__icon svg {
    display: block !important;

    width: 19px !important;
    height: 19px !important;

    fill: none !important;
    stroke: #c49a43 !important;
    stroke-width: 1.15 !important;
  }

  html.locale-ar .almatar-footer-strip__content {
    display: contents !important;
  }

  /* Show only the first line. */
  html.locale-ar .almatar-footer-strip__heading {
    display: block !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 7px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;

    text-align: center !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  /* Completely remove the second line. */
  html.locale-ar .almatar-footer-strip__text {
    display: none !important;
  }

  /* Keep EXTRAIT DE PARFUM identical to the English typography. */
  html.locale-ar
    .almatar-footer-strip__item:first-child
    .almatar-footer-strip__heading {
    direction: ltr !important;

    font-family: var(--text-font-family) !important;
    font-size: 7px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;

    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }
  /* Raise the EXTRAIT icon to align with the other icons. */
html.locale-ar
  .almatar-footer-strip__item:first-child
  .almatar-footer-strip__icon {
  transform: translateY(-5px) !important;
}
}
}


/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  .almatar-language__menu {
    animation: none;
  }

  .almatar-language__chevron,
  .almatar-language__toggle,
  .almatar-language__option {
    transition: none;
  }
}

/* ---------- Arabic: desktop-only refinements ---------- */

@media screen and (min-width: 1000px) {
  /* ---------- Arabic: home desktop layout ---------- */

@media screen and (min-width: 1000px) {
  html.locale-ar #home .content-over-media > .content {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    display: block !important;
    transform: none !important;
    translate: none !important;
  }

  html.locale-ar #home .content-over-media .prose {
    position: absolute !important;
    top: 50% !important;
    right: 4vw !important;
    left: auto !important;

    width: 360px !important;
    max-width: calc(100% - 8vw) !important;
    margin: 0 !important;

    direction: rtl !important;
    text-align: right !important;
    align-items: flex-end !important;

    transform: translateY(-50%) !important;
  }

  html.locale-ar #home .content-over-media .prose > * {
    align-self: flex-end !important;
    text-align: right !important;
  }
}

  /*
    أقسام الهوم:
    الكونتينت يمين، والصورة أو المنتجات يسار.
  */
  html.locale-ar :is(
    .almatar-chapters-inner,
    .almatar-story-inner,
    .almatar-journal-inner,
    .almatar-contact-inner
  ) {
    direction: rtl !important;
  }

  html.locale-ar :is(
    .almatar-chapters-content,
    .almatar-story-content,
    .almatar-journal-content,
    .almatar-contact-left,
    .almatar-contact-right
  ) {
    direction: rtl !important;
    text-align: right !important;
  }

  /*
    مساحة منتجات الكوليكشن:
    عرض مجموعتين، كل مجموعة بعرض كاردين.
    220 + 24 + 220 = 464px
    464 + 34 + 464 = 962px
  */
  html.locale-ar .almatar-chapters-products {
    direction: ltr !important;
    width: 100% !important;
    max-width: 962px !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    transform: none !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 464px)) !important;
    gap: 34px !important;
  }

  /*
    كل شريط تصنيف يساوي تمامًا عرض الكاردين تحته.
  */
  html.locale-ar .almatar-chapters-group {
    width: 464px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html.locale-ar .almatar-chapters-group-title,
  html.locale-ar .almatar-chapters-carousel {
    width: 100% !important;
    max-width: 100% !important;
  }

  /*
    الكاروسيل يبقى LTR لأن JavaScript يعتمد على scrollLeft.
  */
  html.locale-ar .almatar-chapters-carousel {
    direction: ltr !important;
    transform: none !important;
  }

  html.locale-ar :is(
    .almatar-story-media,
    .almatar-journal-media
  ) {
    direction: ltr !important;
  }
}

  html.locale-ar .almatar-contact-content {
    direction: rtl;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 500px !important;
    transform: none !important;
    text-align: right !important;
  }

  html.locale-ar :is(
    .almatar-contact-subheading,
    .almatar-contact-title,
    .almatar-contact-text
  ) {
    width: 100% !important;
    max-width: 100% !important;
    text-align: right !important;
  }

  html.locale-ar .almatar-contact-divider {
    align-self: flex-start !important;
  }

  html.locale-ar .almatar-contact-form {
    direction: ltr;
  }

  html.locale-ar :is(
    .almatar-contact-input,
    .almatar-contact-textarea
  ) {
    direction: rtl !important;
    text-align: right !important;
  }

  html.locale-ar .almatar-contact-button {
    display: flex !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  html.locale-ar .almatar-journal-card h3 {
    width: 100% !important;
    font-family: var(--heading-font-family) !important;
    text-align: right !important;
  }

  html.locale-ar .almatar-journal-card p {
    width: 100% !important;
    font-family: var(--text-font-family) !important;
    text-align: right !important;
    font-weight: 300 !important;
    font-size: 16px !important;
  }

  html.locale-ar :is(
    .almatar-footer-strip__heading,
    .almatar-footer-strip__text
  ) {
    direction: rtl;
    font-family: var(--heading-font-family) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: right !important;
  }

  /* حاوية التواصل بنفس عرض مربعات السوشال تماماً */
html.locale-ar .almatar-contact-right {
  direction: rtl;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: var(--contact-link-width) !important;
  max-width: 100% !important;
}

/* بنفس تنسيق العناوين الفرعية في بقية الكونتينت */
html.locale-ar .almatar-contact-connect-title {
  direction: rtl;
  width: 100% !important;
  max-width: 100% !important;
  font-family: var(--text-font-family) !important;
  font-size: 18px !important;
  font-weight: 350 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #c49a43 !important;
  text-align: right !important;
  margin: 0 0 6px !important;
}

/* الخط يبدأ من يمين المربعات والمسافة قبله صغيرة */
html.locale-ar .almatar-contact-connect-divider {
  align-self: flex-start !important;
  width: 70px !important;
  height: 1px !important;
  margin: 8PX 0 12px !important;
  background: #c49a43 !important;
}

/* لا يتغير ترتيب الأيقونة والنص والسهم */
html.locale-ar .almatar-contact-links {
  direction: ltr;
  width: 100% !important;
}
}
/* =========================================================
   Arabic — Collection chapters category selector
   ========================================================= */

html.locale-ar .almatar-chapters-section :is(
  .almatar-category-details,
  .almatar-category-toggle,
  .almatar-category-menu
) {
  direction: rtl;
  text-align: right;
}

/* عنوان الفئة والخط والسهم */
html.locale-ar .almatar-chapters-section .almatar-category-toggle {
  direction: rtl !important;
  text-align: right !important;
}

html.locale-ar .almatar-chapters-section .almatar-category-current {
  font-family: var(--heading-font-family) !important;
  font-size: 18px !important;
  font-weight: 350 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: right !important;
}

/* فتح القائمة من الجهة اليمنى */
html.locale-ar
  .almatar-chapters-section
  .almatar-category-details[open]
  .almatar-category-menu {
  right: 0 !important;
  left: auto !important;
  direction: rtl !important;
}

/* خيارات القائمة العربية */
html.locale-ar
  .almatar-chapters-section
  .almatar-category-menu
  .almatar-category-option {
  direction: rtl !important;
  padding: 12px 16px !important;
  font-family: var(--heading-font-family) !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: right !important;
}

/* عكس مكان الخط الفاصل داخل القائمة */
html.locale-ar
  .almatar-chapters-section
  .almatar-category-menu
  .almatar-category-option.has-divider::before {
  right: 18px !important;
  left: 70px !important;
}

/* مقاسات الموبايل */
@media screen and (max-width: 749px) {
  html.locale-ar
    .almatar-chapters-section
    .almatar-category-current {
    font-size: 15px !important;
  }

  html.locale-ar
    .almatar-chapters-section
    .almatar-category-menu
    .almatar-category-option {
    font-size: 14px !important;
  }
}
/* =========================================================
   Arabic — Product chapters content alignment
   ========================================================= */

/* كامل محتوى العطر */
html.locale-ar .almatar-product-chapter__content,
html.locale-ar .almatar-product-chapter__mobile-headline,
html.locale-ar .almatar-product-chapter__mobile-title-block,
html.locale-ar .almatar-product-chapter__details {
  direction: rtl !important;
  text-align: right !important;
}

/* موازنة الحشوة في نسخة سطح المكتب */
@media screen and (min-width: 750px) {
  html.locale-ar .almatar-product-chapter__content {
    padding-right: 26px !important;
    padding-left: 0 !important;
  }
}

/* جميع النصوص الأساسية */
html.locale-ar :is(
  .almatar-product-chapter__chapter,
  .almatar-product-chapter__title,
  .almatar-product-chapter__arabic,
  .almatar-product-chapter__subtitle,
  .almatar-product-chapter__description
) {
  direction: rtl !important;
  width: 100% !important;
  text-align: right !important;
}

/* يعالج أسماء العطور الإنجليزية داخل السطر العربي */
html.locale-ar :is(
  .almatar-product-chapter__title,
  .almatar-product-chapter__arabic
) {
  unicode-bidi: plaintext;
}

/* زر قراءة الشابتر */
html.locale-ar .almatar-product-chapter__read {
  direction: rtl !important;
}

/* النوتات العطرية: يبدأ الانطباع الأول من اليمين */
html.locale-ar .almatar-product-chapter__notes {
  direction: rtl !important;
  text-align: right !important;
}

html.locale-ar .almatar-product-chapter__note {
  direction: rtl !important;
  text-align: right !important;
}

html.locale-ar .almatar-product-chapter__note > div,
html.locale-ar .almatar-product-chapter__note p,
html.locale-ar .almatar-product-chapter__note strong {
  direction: rtl !important;
  text-align: right !important;
}

/*
  لا نعكس شبكة المقاس والسلة والمفضلة:
  ترتيبها الحالي يطابق الموكاب:
  المقاس يسار، السلة وسط، المفضلة يمين.
*/
html.locale-ar .almatar-product-chapter__actions {
  direction: ltr !important;
}

html.locale-ar :is(
  .almatar-product-chapter__size-button,
  .almatar-product-chapter__size-option,
  .almatar-product-chapter__cart,
  .almatar-product-chapter__wishlist
) {
  text-align: center !important;
}

/* عنوان التقييم على اليمين والنجوم مقابله */
html.locale-ar .almatar-product-chapter__rating {
  direction: rtl !important;
}

html.locale-ar .almatar-product-chapter__rating p {
  direction: rtl !important;
  text-align: right !important;
}

/* حقل كتابة التقييم */
html.locale-ar .almatar-review-composer,
html.locale-ar .almatar-product-chapter__review {
  direction: rtl !important;
  text-align: right !important;
}

/* أزرار التقييم تبدأ من اليمين */
html.locale-ar .almatar-product-chapter__review-actions {
  direction: rtl !important;
}

/* تصحيحات الموبايل التي كانت تفرض المحاذاة اليسرى */
@media screen and (max-width: 749px) {
  html.locale-ar .almatar-product-chapter__chapter {
    text-align: right !important;
  }

  html.locale-ar .almatar-product-chapter__mobile-headline,
  html.locale-ar .almatar-product-chapter__details {
    direction: rtl !important;
    text-align: right !important;
  }

  html.locale-ar .almatar-product-chapter__note {
    grid-template-columns: 1fr 24px !important;
  }

  html.locale-ar .almatar-product-chapter__note-icon {
    grid-column: 2 !important;
  }

  html.locale-ar .almatar-product-chapter__note > div {
    grid-column: 1 !important;
  }
}
/* =========================================================
   Arabic — Wishlist typography refinements
   ========================================================= */

/* نص نافذة تسجيل الدخول: زيادة 2px */
html.locale-ar
  .almatar-ui-modal
  #almatar-wishlist-login-message {
  font-size: 14px !important;
  line-height: 1.8 !important;
}

/* زر تسجيل الدخول: زيادة 2px */
html.locale-ar
  .almatar-ui-modal
  [data-almatar-wishlist-login-action] {
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* زر أضف إلى المفضلة داخل شابترات المنتجات: 10px ← 12px */
html.locale-ar
  .almatar-product-chapter__wishlist {
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
/* =========================================================
   AL MATAR AL MALAKI — ARABIC TYPOGRAPHY
   ========================================================= */

/* العناوين الرسمية */
html.locale-ar .almatar-product-chapter__chapter,
html.locale-ar .almatar-product-chapter__title,
html.locale-ar .almatar-product-chapter__arabic,
html.locale-ar .almatar-product-chapter__rating p,
html.locale-ar .almatar-ui-modal h2,
html.locale-ar .almatar-ui-modal h3 {
  font-family: "Times New Roman", Times, serif !important;
  font-style: normal !important;
}

/* اسم العطر العربي الرئيسي */

/* اسم العطر الإنجليزي مثل Layl داخل النسخة العربية */
html.locale-ar .almatar-product-chapter__title {
  font-size: 34px !important;
  font-weight: 350 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

html.locale-ar .almatar-product-chapter__arabic {
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}


/* رقم الفصل */
html.locale-ar .almatar-product-chapter__chapter {
  font-size: 15px !important;
  font-weight: 350 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

/* العبارة الشعرية الذهبية تحت اسم العطر */
html.locale-ar .almatar-product-chapter__subtitle {
  font-family: "Segoe UI Semilight", "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 350 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

/* وصف العطر والنصوص التوضيحية */
html.locale-ar .almatar-product-chapter__description,
html.locale-ar .almatar-review-composer__preview {
  font-family: "Segoe UI Light", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

/* حقل كتابة التقييم والعبارة الداخلية */
html.locale-ar .almatar-product-chapter__review,
html.locale-ar .almatar-product-chapter__review::placeholder {
  font-family: "Segoe UI Light", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

html.locale-ar .almatar-product-chapter__review::placeholder {
  opacity: 0.72 !important;
}

/* جميع النوتات: العناوين والمحتوى */
html.locale-ar .almatar-product-chapter__notes,
html.locale-ar .almatar-product-chapter__note,
html.locale-ar .almatar-product-chapter__note p,
html.locale-ar .almatar-product-chapter__note span {
  font-family: "Times New Roman", Times, serif !important;
  letter-spacing: 0 !important;
  font-style: normal !important;
}

/* عنوان كل نوتة */
html.locale-ar .almatar-product-chapter__note p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* محتوى كل نوتة */
html.locale-ar .almatar-product-chapter__note strong {
  font-family: "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 350 !important;
  line-height: 1.55 !important;
}

/* الأزرار والعناصر التفاعلية */
html.locale-ar .almatar-product-chapter__read,
html.locale-ar .almatar-product-chapter__cart,
html.locale-ar .almatar-product-chapter__wishlist,
html.locale-ar .almatar-product-chapter__size-button,
html.locale-ar .almatar-product-chapter__size-option,
html.locale-ar .almatar-product-chapter__submit-review,
html.locale-ar .almatar-product-chapter__read-reviews,
html.locale-ar .almatar-ui-modal button,
html.locale-ar .almatar-ui-modal a {
  font-family: "Segoe UI", sans-serif !important;
  font-weight: 380 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* أزرار الشابتر الأساسية */
html.locale-ar .almatar-product-chapter__read,
html.locale-ar .almatar-product-chapter__cart,
html.locale-ar .almatar-product-chapter__submit-review,
html.locale-ar .almatar-product-chapter__read-reviews {
  font-size: 15px !important;
  font-weight: 380 !important;
}

/* زر المفضلة */
html.locale-ar .almatar-product-chapter__wishlist {
  font-size: 13px !important;
  font-weight: 380 !important;
}

/* عنوان التقييم */
html.locale-ar .almatar-product-chapter__rating p {
  font-size: 17px !important;
  font-weight: 350 !important;
  letter-spacing: 0 !important;
}

/* نافذة تسجيل الدخول للمفضلة */
html.locale-ar .almatar-ui-modal h2,
html.locale-ar .almatar-ui-modal h3 {
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

/* =========================================================
   REVIEW DRAWER — ARABIC TYPOGRAPHY
   Scoped to Arabic only; the English drawer remains unchanged.
   ========================================================= */
html.locale-ar .almatar-review-drawer {
  direction: rtl;
  text-align: right;
}

html.locale-ar .almatar-review-drawer__close {
  right: auto;
  left: 22px;
}

html.locale-ar .almatar-review-title {
  font-family: var(--heading-font-family) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

html.locale-ar .almatar-review-title {
  font-size: 28px !important;
  line-height: 1.3 !important;
}

html.locale-ar .almatar-review-empty__message {
  font-family: var(--text-font-family) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

html.locale-ar .almatar-review-loading p,
html.locale-ar .almatar-review-error p,
html.locale-ar .almatar-review-live__phrase,
html.locale-ar .almatar-review-card__content,
html.locale-ar .almatar-review-card__reply-content {
  font-family: var(--text-font-family) !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
}

html.locale-ar .almatar-review-loading p,
html.locale-ar .almatar-review-error p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

html.locale-ar .almatar-review-live__phrase {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

html.locale-ar .almatar-review-average__copy,
html.locale-ar .almatar-review-average small,
html.locale-ar .almatar-review-distribution__row,
html.locale-ar .almatar-review-sort__caption,
html.locale-ar .almatar-review-sort__trigger,
html.locale-ar .almatar-review-sort__menu button,
html.locale-ar .almatar-review-card__name,
html.locale-ar .almatar-review-card__verified,
html.locale-ar .almatar-review-card__date,
html.locale-ar .almatar-review-card__reply-label,
html.locale-ar .almatar-review-error button,
html.locale-ar .almatar-review-wood-button {
  font-family: var(--text-font-family) !important;
  letter-spacing: 0 !important;
}

html.locale-ar .almatar-review-wood-button,
html.locale-ar .almatar-review-error button {
  font-size: 14px !important;
  font-weight: 400 !important;
}

html.locale-ar .almatar-review-sort__caption,
html.locale-ar .almatar-review-sort__trigger,
html.locale-ar .almatar-review-sort__menu button,
html.locale-ar .almatar-review-distribution__row {
  font-size: 12px !important;
}

html.locale-ar .almatar-review-sort__menu,
html.locale-ar .almatar-review-sort__menu button {
  text-align: right;
}

html.locale-ar .almatar-review-card__name {
  font-size: 13px !important;
}

html.locale-ar .almatar-review-card__verified {
  font-size: 10px !important;
}

html.locale-ar .almatar-review-card__date,
html.locale-ar .almatar-review-card__reply-label {
  font-size: 12px !important;
}

html.locale-ar .almatar-review-card__content {
  font-size: 15px !important;
  line-height: 1.75 !important;
}

html.locale-ar .almatar-review-card__reply-content {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* نص نافذة التنبيه العامة بالعربية */
html.locale-ar .almatar-ui-modal > p[data-almatar-ui-message] {
  font-family: "Segoe UI Light", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
}

/* زر المتابعة في نافذة التنبيه: 10px + 4px */
html.locale-ar .almatar-ui-modal [data-almatar-ui-close] {
  font-family: "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* نص نافذة تسجيل الدخول */
html.locale-ar .almatar-ui-modal #almatar-wishlist-login-message {
  font-family: "Segoe UI Light", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
}

/* زر نافذة تسجيل الدخول */
html.locale-ar .almatar-ui-modal [data-almatar-wishlist-login-action] {
  font-family: "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* الهاتف */
@media screen and (max-width: 749px) {
  html.locale-ar .almatar-product-chapter__arabic {
    font-size: 24px !important;
  }

  html.locale-ar .almatar-product-chapter__title {
    font-size: 32px !important;
  }

  html.locale-ar .almatar-product-chapter__chapter {
    font-size: 15px !important;
  }

  html.locale-ar .almatar-product-chapter__subtitle {
    font-size: 16px !important;
  }

  html.locale-ar .almatar-product-chapter__description {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  html.locale-ar .almatar-product-chapter__note p,
  html.locale-ar .almatar-product-chapter__note strong {
    font-size: 13px !important;
  }

  html.locale-ar .almatar-product-chapter__review,
  html.locale-ar .almatar-product-chapter__review::placeholder {
    font-size: 12px !important;
  }
}
