:root {
  color-scheme: light;
  --mra-accent: #e61755;
  --mra-rose: #e61755;
  --mra-rose-deep: #bd0f43;
  --mra-berry: #a80c3b;
  --mra-blush: #ffd7e5;
  --mra-blush-soft: #fff3f7;
  --mra-old-price: #b05c78;
  --mra-ivory: #fafafa;
  --mra-paper: #fff;
  --mra-taupe: #858585;
  --mra-espresso: #171717;
  --mra-ink: #171717;
  --mra-muted: #777;
  --mra-line: #ededed;
  --mra-line-strong: #dfdfdf;
  --mra-soft: #f6f6f6;
  --mra-success: #16834e;
  --mra-danger: #c7111a;
  --mra-warning: #b97800;
  /* Primary action palette mirrors the deep magenta campaign treatment used by
     the "شگفت‌انگیزها" rail. The four-stop gradient stays dark and tonal so
     transactional CTAs feel premium rather than neon or candy-like. */
  --mra-action-deep: #9a054a;
  --mra-action-base: #ae0e59;
  --mra-action-mid: #c41c6a;
  --mra-action-end: #990548;
  --mra-action-gradient: linear-gradient(118deg,#9a054a 0%,#ae0e59 34%,#c41c6a 72%,#990548 100%);
  --mra-action-gradient-hover: linear-gradient(118deg,#890341 0%,#9f0a50 36%,#b21560 72%,#85033e 100%);
  --mra-action-shadow: 0 10px 24px rgba(94,3,44,.16), inset 0 1px 0 rgba(255,255,255,.12);
  --mra-shell: 1400px;
  --mra-reading: 74ch;
  --mra-gutter: clamp(10px, 1.2vw, 18px);
  --mra-radius-xs: 7px;
  --mra-radius-sm: 9px;
  --mra-radius: 12px;
  --mra-radius-lg: 16px;
  --mra-radius-xl: 20px;
  --mra-shadow-xs: 0 2px 8px rgba(0,0,0,.035);
  --mra-shadow-sm: 0 8px 24px rgba(0,0,0,.07);
  --mra-shadow: 0 20px 52px rgba(0,0,0,.12);
  --mra-ease: cubic-bezier(.2,.75,.25,1);
  --mra-header-offset: 68px;
  --mra-adminbar-offset: 0px;
  --mra-sticky-offset: calc(var(--mra-header-offset) + var(--mra-adminbar-offset));
  --mra-body-size: 16px;
  --mra-body-weight: 400;
  --mra-body-line: 1.75;
  --mra-button-size: 13px;
  --mra-nav-size: 14px;
  --mra-ui-size: 14px;
  --mra-small-size: 12.5px;
  --mra-h1-min: 30px; --mra-h1-max: 44px;
  --mra-h2-min: 22px; --mra-h2-max: 30px;
  --mra-h3-min: 18px; --mra-h3-max: 22px;
}

.admin-bar { --mra-adminbar-offset: 32px; }
*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  width: 100%; max-width: 100%; margin: 0; overflow-x: clip; background: #fff; color: var(--mra-ink);
  font-family: Vazirmatn,Tahoma,Arial,sans-serif; font-size: var(--mra-body-size); font-weight: var(--mra-body-weight);
  line-height: var(--mra-body-line); -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button, [type="button"], [type="submit"], [type="reset"] { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Visible editorial/product content links.
 * Midora intentionally resets decoration globally for navigation and controls;
 * restore unmistakable link affordances only inside readable rich-text areas.
 * These are real <a href> links: no JS wrappers or SEO markup changes.
 */
:is(
  .mra-article .mra-prose,
  .mra-standard-page .mra-entry-content,
  .single-product .woocommerce-product-details__short-description,
  .single-product .woocommerce-Tabs-panel
) a[href]:not(.wp-block-button__link):not(.wp-element-button):not(.button):not(.mra-button):not(.wp-block-file__button) {
  color: var(--mra-accent-dark);
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-skip-ink: auto;
  transition: color .15s ease, text-decoration-thickness .15s ease;
}
:is(
  .mra-article .mra-prose,
  .mra-standard-page .mra-entry-content,
  .single-product .woocommerce-product-details__short-description,
  .single-product .woocommerce-Tabs-panel
) a[href]:not(.wp-block-button__link):not(.wp-element-button):not(.button):not(.mra-button):not(.wp-block-file__button):hover {
  color: #830832;
  text-decoration-thickness: 2px;
}
:is(
  .mra-article .mra-prose,
  .mra-standard-page .mra-entry-content,
  .single-product .woocommerce-product-details__short-description,
  .single-product .woocommerce-Tabs-panel
) a[href]:not(.wp-block-button__link):not(.wp-element-button):not(.button):not(.mra-button):not(.wp-block-file__button):focus-visible {
  color: #830832;
  outline: 2px solid var(--mra-accent-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  :is(.mra-article .mra-prose,.mra-standard-page .mra-entry-content,.single-product .woocommerce-product-details__short-description,.single-product .woocommerce-Tabs-panel)
  a[href]:not(.wp-block-button__link):not(.wp-element-button):not(.button):not(.mra-button):not(.wp-block-file__button) {
    transition: none;
  }
}
a, button { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3rem; }
::selection { background: #ffd9db; color: #111; }
:focus-visible { outline: 2px solid var(--mra-accent); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--mra-ink); font-weight: 760; line-height: 1.5; letter-spacing: 0; }
h1 { font-size: clamp(var(--mra-h1-min),2.4vw,var(--mra-h1-max)); }
h2 { font-size: clamp(var(--mra-h2-min),1.9vw,var(--mra-h2-max)); }
h3 { font-size: clamp(var(--mra-h3-min),1.25vw,var(--mra-h3-max)); }
h4 { font-size: 15px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .mra-skip-link:focus { width: auto; height: auto; clip: auto; clip-path: none; overflow: visible; white-space: normal; z-index: 100000; }
.mra-skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; transform: translateY(-160%); padding: 8px 12px; border-radius: 7px; background: #111; color: #fff; z-index: 100000; }
.mra-skip-link:focus { transform: none; }
.mra-live-region { position: fixed; }

.mra-shell { width: min(calc(100% - (var(--mra-gutter) * 2)), var(--mra-shell)); margin-inline: auto; min-width: 0; }
.mra-main { min-height: 45vh; padding-block: 24px 38px; }
.mra-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.mra-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--mra-accent); font-size: 11.5px; font-weight: 760; }
.mra-kicker::before { content: ""; width: 16px; height: 2px; border-radius: 99px; background: currentColor; }
.mra-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mra-section-heading__copy { min-width: 0; max-width: 760px; }
.mra-section-heading h2 { margin: 0 0 2px; font-size: 20px; }
.mra-section-heading p { margin: 0; color: var(--mra-muted); font-size: 12px; }
.mra-text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--mra-accent); font-size: 12px; font-weight: 720; white-space: nowrap; }
.mra-text-link .mra-icon { width: 13px; height: 13px; }

.mra-button, .wp-block-button__link {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 15px;
  border: 1px solid transparent; border-radius: 9px; font-size: var(--mra-button-size); font-weight: 720;
  transition: background .16s ease,border-color .16s ease,transform .16s ease;
}
.mra-button:hover { transform: translateY(-1px); }
.mra-button--primary {
  background: var(--mra-action-gradient);
  color: #fff;
  box-shadow: var(--mra-action-shadow);
}
.mra-button--primary:hover {
  background: var(--mra-action-gradient-hover);
  color: #fff;
  box-shadow: 0 13px 28px rgba(94,3,44,.20), inset 0 1px 0 rgba(255,255,255,.10);
}
.mra-button--soft { background: var(--mra-surface-tint); color: var(--mra-accent); border-color: #f6c8d7; }
.mra-button--ghost { background: #fff; color: var(--mra-ink); border-color: var(--mra-line-strong); }
.mra-button--large { min-height: 46px; padding-inline: 20px; }

.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.wp-element-button:not(.is-style-outline) {
  background-image: var(--mra-action-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--mra-action-shadow);
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-element-button:not(.is-style-outline):hover {
  background-image: var(--mra-action-gradient-hover);
  color: #fff;
}
.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  box-shadow: none;
}
.mra-icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--mra-line); border-radius: 9px; background: #fff; color: #262626; }
.mra-icon-button:hover { background: #f7f7f7; border-color: #ddd; }

input:not([type="checkbox"]):not([type="radio"]), select, textarea { max-width: 100%; border: 1px solid var(--mra-line-strong); border-radius: 9px; background: #fff; padding: 9px 11px; }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus { border-color: #c8c8c8; box-shadow: 0 0 0 3px rgba(239,17,25,.06); outline: 0; }

/* Header ---------------------------------------------------------------- */
.mra-header { position: sticky; inset-block-start: var(--mra-adminbar-offset); z-index: 400; background: #fff; border-bottom: 1px solid #ececec; box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.mra-header__main { min-height: 68px; display: grid; grid-template-columns: max-content minmax(0,max-content) minmax(300px,380px) max-content; column-gap: clamp(12px,1.2vw,18px); align-items: center; justify-content: space-between; }
.mra-header__mobile-tools { display: contents; }
.mra-header__mobile-tools .mra-header__mobile-action { display: none; }
.mra-header__menu-button { display: none; }
.mra-header__identity { min-width: 0; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.mra-header__brand { min-width: 0; display: flex; align-items: center; }
.mra-brand-logo { width: 58px; height: 48px; max-width: 58px; display: inline-grid; place-items: center; flex: 0 0 58px; overflow: hidden; }
.mra-brand-logo__image { width: 58px !important; height: 48px !important; max-width: 58px !important; max-height: 48px !important; object-fit: contain !important; object-position: center; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; height: 42px; max-width: 150px; object-fit: contain; }
.mra-wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: .9; color: #222; }
.mra-wordmark__latin { font-family: Georgia,'Times New Roman',serif; font-size: 1.45rem; letter-spacing: .04em; }
.mra-wordmark__fa { margin-top: 5px; font-size: 9px; font-weight: 760; }

.mra-category-menu { position: relative; }
.mra-category-menu > summary { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; list-style: none; color: #333; font-size: 12.5px; font-weight: 720; cursor: pointer; white-space: nowrap; }
.mra-category-menu > summary::-webkit-details-marker { display: none; }
.mra-category-menu > summary .mra-icon { width: 15px; height: 15px; }
.mra-category-menu > summary .mra-icon:last-child { width: 11px; color: #999; }
.mra-category-menu > summary:hover, .mra-category-menu[open] > summary { color: var(--mra-accent); }
.mra-category-menu__panel { position: absolute; inset-inline-start: 0; inset-block-start: calc(100% + 10px); width: min(860px,86vw); max-height: min(620px,70vh); overflow: auto; padding: 16px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; box-shadow: var(--mra-shadow); z-index: 60; }
.mra-category-menu__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eee; color: var(--mra-accent); font-size: 11px; font-weight: 700; }
.mra-mega { display: grid; grid-template-columns: 178px minmax(0,1fr); gap: 14px; min-height: 310px; }
.mra-mega__families { display: grid; align-content: start; gap: 2px; padding-inline-end: 12px; border-inline-end: 1px solid var(--mra-line); }
.mra-mega__families button { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; color: #555; text-align: start; }
.mra-mega__families button:hover,.mra-mega__families button[aria-selected="true"] { background: var(--mra-surface-tint); color: var(--mra-accent); }
.mra-mega__families button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.mra-mega__families button small { color: #8d8d8d; font-size: 10.5px; }
.mra-mega__panels { min-width: 0; }
.mra-mega__panel[hidden] { display: none; }
.mra-mega__panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--mra-line); }
.mra-mega__panel-head h3 { margin: 0; font-size: 15px; }
.mra-mega__panel-head>a { display: inline-flex; align-items: center; gap: 4px; color: var(--mra-accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mra-mega__panel-head>a .mra-icon { width: 12px; height: 12px; }
.mra-mega__groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 18px; }
.mra-mega__group { min-width: 0; }
.mra-mega__group-title { display: block; margin-bottom: 5px; color: #222; font-size: 12.5px; font-weight: 760; }
.mra-mega__group ul { margin: 0; padding: 0; list-style: none; }
.mra-mega__group li+li { margin-top: 1px; }
.mra-mega__group li a { display: block; padding: 2px 0; color: #6f6f6f; font-size: 12px; line-height: 1.7; }
.mra-mega__group a:hover { color: var(--mra-accent); }

.mra-search { position: relative; min-width: 0; width: 100%; max-width: 380px; justify-self: stretch; }
.mra-search__input { width: 100%; height: 42px; padding-inline: 42px 14px !important; border: 0 !important; border-radius: 8px !important; background: #f3f3f3 !important; color: #292929; font-size: 11.5px; box-shadow: none !important; }
.mra-search__input::placeholder { color: #9b9b9b; }
.mra-search__input:focus { background: #f0f0f0 !important; outline: 1px solid #ddd; }
.mra-search__icon { position: absolute; inset-inline-start: 14px; inset-block-start: 50%; transform: translateY(-50%); display: grid; color: #777; pointer-events: none; }
.mra-search__icon .mra-icon { width: 16px; height: 16px; }
.mra-search-results { position: absolute; inset-inline: auto; left: 50%; transform: translateX(-50%); inset-block-start: calc(100% + 8px); width: min(500px, calc(100vw - 32px)); max-height: min(520px,72vh); overflow: auto; padding: 7px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; box-shadow: var(--mra-shadow); z-index: 70; }
.mra-search-results[hidden] { display: none; }
.mra-search-results__section + .mra-search-results__section { margin-top: 8px; padding-top: 8px; border-top: 1px solid #eee; }
.mra-search-results__title { padding: 3px 5px 6px; color: #868686; font-size: 11.5px; font-weight: 760; }
.mra-search-result { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 6px; border-radius: 8px; }
.mra-search-result:hover { background: #f7f7f7; }
.mra-search-result img { width: 44px; height: 44px; object-fit: contain; border-radius: 7px; background: #fafafa; }
.mra-search-result__copy { min-width: 0; }
.mra-search-result__copy strong, .mra-search-result__copy small { display: block; overflow: hidden; }
.mra-search-result__copy strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; overflow-wrap: anywhere; }
.mra-search-result__copy small { white-space: nowrap; text-overflow: ellipsis; }
.mra-search-result__copy strong { font-size: 12px; font-weight: 650; }
.mra-search-result__copy small { margin-top: 2px; color: #858585; font-size: 11px; }
.mra-search-result__price { display:grid; justify-items:end; gap:1px; color:var(--mra-ink); font-size:11.5px; font-weight:760; line-height:1.35; white-space:nowrap; }
.mra-search-result__price span,.mra-search-result__price ins { color:var(--mra-ink); text-decoration:none; }
.mra-search-result__price del { color:var(--mra-old-price); font-size:10.5px; font-weight:600; opacity:1; }
.mra-search-tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.mra-search-tag { padding: 5px 9px; border-radius: 7px; background: #f3f3f3; color: #555; font-size: 11px; }
.mra-search-message { padding: 14px; color: #777; font-size: 12px; text-align: center; }

.mra-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; white-space: nowrap; }
.mra-header-action { position: relative; width: 36px; height: 36px; min-width: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #292929; }
.mra-header-action:hover { background: #f4f4f4; color: var(--mra-accent); }
.mra-header-action .mra-icon { width: 17px; height: 17px; }
.mra-header-action--search { display: none; }
.mra-cart-count, .mra-wishlist-count { position: absolute; inset-block-start: 1px; inset-inline-start: 1px; min-width: 15px; height: 15px; display: inline-grid; place-items: center; padding-inline: 2px; border: 2px solid #fff; border-radius: 99px; background: var(--mra-accent); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 1; }

/* Desktop header is one deliberate row. Grid line 1 is the RTL inline-start
 * edge, so identity stays on the right and actions on the left without
 * relying on auto-placement or creating an accidental second row. */
@media (min-width: 1001px) {
  body:not(.woocommerce-checkout) .mra-header__identity { grid-column: 1; }
  body:not(.woocommerce-checkout) .mra-header-nav { grid-column: 2; }
  body:not(.woocommerce-checkout) .mra-search { grid-column: 3; width: 100%; max-width: 380px; }
  body:not(.woocommerce-checkout) .mra-header__actions { grid-column: 4; }
}

/* Primary desktop navigation ---------------------------------------------- */
.mra-header-nav { min-width: 0; display: flex; justify-content: center; overflow: hidden; }
.mra-header-nav__list {
  width: max-content; max-width: 100%; min-width: 0; display: flex; align-items: center; justify-content: flex-start; gap: clamp(10px,1.15vw,19px);
  margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; list-style: none;
}
.mra-header-nav__list::-webkit-scrollbar { display: none; }
.mra-header-nav__list > li { flex: 0 0 auto; margin: 0; padding: 0; }
.mra-header-nav__list > li > a { position: relative; min-height: 40px; display: flex; align-items: center; color: #46464b; font-size: 12.5px; font-weight: 680; line-height: 1.4; white-space: nowrap; transition: color .16s ease; }
.mra-header-nav__list > li > a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 3px; height: 2px; border-radius: 999px; background: var(--mra-accent); transform: scaleX(0); transform-origin: center; transition: transform .16s ease; }
.mra-header-nav__list > li > a:hover,
.mra-header-nav__list > .current-menu-item > a,
.mra-header-nav__list > .current-menu-parent > a { color: var(--mra-accent-dark); }
.mra-header-nav__list > li > a:hover::after,
.mra-header-nav__list > .current-menu-item > a::after,
.mra-header-nav__list > .current-menu-parent > a::after { transform: scaleX(1); }

@media (max-width: 1240px) and (min-width: 1001px) {
  .mra-header__main { grid-template-columns: max-content minmax(0,max-content) minmax(250px,300px) max-content; column-gap: 10px; justify-content: space-between; }
  .mra-header__identity { gap: 9px; }
  .mra-category-menu > summary { font-size: 12px; }
  .mra-header-nav__list { gap: 10px; }
  .mra-header-nav__list > li > a { font-size: 12px; }
  .mra-search { max-width: 300px; }
}

/* Breadcrumbs / generic surfaces --------------------------------------- */
.mra-breadcrumbs { margin-bottom: 16px; color: #7f7f7f; font-size: 12px; }
.mra-breadcrumbs p { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.mra-breadcrumbs a:hover { color: var(--mra-accent); }
.mra-page-header { max-width: 800px; margin: 10px auto 28px; text-align: center; }
.mra-page-header h1 { margin-bottom: 5px; }
.mra-page-header p { color: #777; font-size: 13px; }

/* Search context's small critical rules are printed in the head on searches. */
.mra-page-shell { max-width: var(--mra-shell); }

/* Dialogs --------------------------------------------------------------- */
.mra-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; }
.mra-dialog::backdrop { background: rgba(17,17,17,.38); }
.mra-dialog__surface { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(420px,94vw); display: flex; flex-direction: column; padding: 18px; background: #fff; box-shadow: -14px 0 42px rgba(0,0,0,.14); overflow: auto; overscroll-behavior: contain; contain: layout paint; animation: mra-drawer-in .14s cubic-bezier(.2,.82,.25,1) both; }
@keyframes mra-drawer-in { from { transform: translateX(9px); opacity: .84; } to { transform: none; opacity: 1; } }
.mra-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 13px; margin-bottom: 10px; border-bottom: 1px solid #eee; }
.mra-dialog__header h2 { margin: 0; font-size: 18px; }
.mra-dialog__header .mra-kicker { margin-bottom: 1px; }
.mra-mobile-menu__surface { inset-inline: 0 auto; }
.mra-mobile-nav__list, .mra-mobile-nav .mra-nav__list, .mra-mobile-categories ul { margin: 0; padding: 0; list-style: none; }
.mra-mobile-nav__list a, .mra-mobile-nav .mra-nav__list a { display: flex; align-items: center; min-height: 43px; padding-inline: 5px; border-bottom: 1px solid #eee; font-size: 12px; font-weight: 650; }
.mra-mobile-nav__list .sub-menu { margin-inline-start: 12px; }
.mra-mobile-categories { margin-top: 20px; }
.mra-mobile-categories h2 { font-size: 14px; }
.mra-mobile-categories a { display: block; padding: 7px 4px; color: #666; font-size: 12.5px; }
.mra-mobile-drill { position: relative; overflow: hidden; }
.mra-mobile-drill__panel[hidden] { display: none; }
.mra-mobile-drill__head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 42px; margin-bottom: 4px; border-bottom: 1px solid var(--mra-line); }
.mra-mobile-drill__head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; text-align: center; }
.mra-mobile-drill__back { display: inline-flex; align-items: center; gap: 3px; padding: 5px 0; border: 0; background: transparent; color: var(--mra-accent); font-size: 12px; }
.mra-mobile-drill__back .mra-icon { width: 12px; height: 12px; }
.mra-mobile-drill__all { padding: 5px 0 !important; color: var(--mra-accent) !important; font-size: 11.5px !important; white-space: nowrap; }
.mra-mobile-drill__list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mra-mobile-drill__list>li>a { min-height: 39px; display: flex !important; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 3px !important; border-bottom: 1px solid #f1f1f1; color: #555 !important; font-size: 11px !important; }
.mra-mobile-drill__list>li>a .mra-icon { width: 12px; height: 12px; color: #aaa; }
.mra-wishlist-dialog__body { display: grid; gap: 9px; }
.mra-mobile-dock { display: none; }

@media (max-width: 1000px) {
  :root { --mra-header-offset: 60px; }
  .mra-header-nav { display: none; }
  .mra-header__main { min-height: 60px; grid-template-columns: 38px minmax(100px,1fr) auto; gap: 8px; }
  .mra-header__menu-button { display: inline-grid; }
  .mra-header__identity { justify-content: center; }
  .mra-category-menu { display: none; }
  .mra-brand-logo { width: 50px; height: 44px; max-width: 50px; flex-basis: 50px; }
  .mra-brand-logo__image { width: 50px !important; height: 44px !important; max-width: 50px !important; max-height: 44px !important; }
  .custom-logo { height: 38px; max-width: 135px; }
  .mra-search { position: absolute; inset-inline: var(--mra-gutter); inset-block-start: calc(100% + 6px); width: auto; justify-self: stretch; display: none; padding: 7px; border: 1px solid #e5e5e5; border-radius: 10px; background: #fff; box-shadow: var(--mra-shadow); }
  .mra-header.mra-search-open .mra-search { display: block; }
  .mra-header-action--search { display: grid; }
  .mra-mega { grid-template-columns: 155px minmax(0,1fr); }
  .mra-mega__groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) { .admin-bar { --mra-adminbar-offset: 46px; } }

@media (max-width: 760px) {
  :root { --mra-gutter: clamp(10px, 3.4vw, 14px); }
  body { padding-bottom: 62px; }
  .mra-main { padding-block: 18px 32px; }
  .mra-section-heading { margin-bottom: 11px; }
  .mra-section-heading h2 { font-size: 18px; }
  .mra-section-heading p { font-size: 12px; }
  .mra-button { min-height: 40px; }
  .mra-dialog__surface { width: min(410px,96vw); padding: 14px; }
  .mra-mobile-dock { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 350; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); min-height: 58px; padding: 4px max(6px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left)); border-top: 1px solid #ececec; background: rgba(255,255,255,.98); box-shadow: 0 -8px 22px rgba(0,0,0,.055); }
  .mra-mobile-dock a, .mra-mobile-dock button { display: grid; place-items: center; align-content: center; gap: 1px; border: 0; background: transparent; color: #777; font-size: 11px; font-weight: 650; }
  .mra-mobile-dock .mra-icon { width: 18px; height: 18px; }
  .mra-mobile-dock a:hover, .mra-mobile-dock button:hover { color: var(--mra-accent); }
}

@media (max-width: 480px) {
  .mra-header__main { grid-template-columns: 36px minmax(88px,1fr) auto; }
  .mra-header-action { width: 32px; min-width: 32px; height: 34px; }
  .mra-header-action .mra-icon { width: 16px; }
  .custom-logo { height: 34px; max-width: 118px; }
  .mra-wordmark__latin { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Empty and error states ------------------------------------------------ */
.mra-empty-state,.mra-error-page{width:min(100%,680px);margin:clamp(30px,7vw,84px) auto;padding:clamp(24px,5vw,46px);border:1px solid var(--mra-line);border-radius:18px;background:#fff;text-align:center}.mra-empty-state__icon{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#fff0f1;color:var(--mra-accent)}.mra-empty-state__icon .mra-icon{width:21px;height:21px}.mra-empty-state h2,.mra-error-page h1{margin-bottom:6px}.mra-empty-state p,.mra-error-page p{max-width:520px;margin:0 auto 18px;color:var(--mra-muted);font-size:12.5px;line-height:1.9}.mra-error-page__code{display:block;margin-bottom:-2px;color:#ececec;font-size:clamp(68px,15vw,138px);font-weight:850;line-height:.9;letter-spacing:-.06em}.mra-error-page__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}

/* Shared compact utilities ---------------------------------------------- */
.mra-button--dark{background:#222;color:#fff;border-color:#222}.mra-button--dark:hover{background:#000;color:#fff}.mra-campaign-picture{width:100%;height:100%;display:block}.mra-campaign-picture>img{width:100%;height:100%}.mra-page-header__description{max-width:680px;margin:8px auto 0;color:var(--mra-muted);font-size:12.5px;line-height:1.9}.mra-inline-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.mra-inline-search input[type="search"]{width:100%;min-width:0}.mra-inline-search button{min-width:42px;display:grid;place-items:center;padding:0;border:1px solid var(--mra-line-strong);border-radius:9px;background:#fff}.mra-inline-search button:hover{border-color:#ccc;color:var(--mra-accent)}

/* Refined type, interaction and carousel system ------------------------- */
:root {
  --mra-ui-size: 14px;
  --mra-product-title-size: 14px;
  --mra-product-price-size: 14px;
  --mra-body-weight: 400;
  --mra-h1-min: 30px; --mra-h1-max: 44px;
  --mra-h2-min: 22px; --mra-h2-max: 30px;
  --mra-h3-min: 18px; --mra-h3-max: 22px;
  --mra-surface-tint: #fff3f7;
  --mra-accent-dark: #bd0f43;
}
body { font-size: var(--mra-body-size); font-weight: var(--mra-body-weight); line-height: var(--mra-body-line); }
h1,h2,h3,h4,h5,h6 { letter-spacing: normal; line-height: 1.55; }
h1 { font-size: clamp(var(--mra-h1-min),3.1vw,var(--mra-h1-max)); }
h2 { font-size: clamp(var(--mra-h2-min),2.35vw,var(--mra-h2-max)); }
h3 { font-size: clamp(var(--mra-h3-min),1.6vw,var(--mra-h3-max)); }
.mra-kicker { font-size: var(--mra-small-size); letter-spacing: normal; }
.mra-section-heading { margin-bottom: 18px; }
.mra-section-heading h2 { font-size: clamp(19px,1.7vw,24px); line-height: 1.5; }
.mra-section-heading p { font-size: var(--mra-small-size); line-height: 1.8; }
.mra-text-link { font-size: var(--mra-small-size); }
.mra-button,.wp-block-button__link { min-height: 44px; font-size: var(--mra-ui-size); border-radius: 11px; }

.mra-header { box-shadow: 0 4px 22px rgba(20,20,20,.045); }
.mra-header__main { min-height: 68px; }
.mra-category-menu > summary,.mra-nav__list > li > a { font-size: var(--mra-nav-size); }
.mra-search__input { font-size: var(--mra-ui-size) !important; }
.mra-header-action { width: 40px; height: 40px; min-width: 40px; }
.mra-header-action .mra-icon { width: 19px; height: 19px; }
.mra-cart-count,.mra-wishlist-count { min-width: 17px; height: 17px; font-size: 9.5px; }
.mra-breadcrumbs { font-size: 12px; }
.mra-search-result__copy strong { font-size: 13px; }
.mra-search-result__copy small,.mra-search-tag { font-size: 12px; }
.mra-search-result__price { font-size: 12.5px; }

/* One dependency-free pattern powers all editable horizontal rails. */
.mra-carousel { position: relative; }
[data-mra-carousel-track] {
  scroll-behavior: smooth; overscroll-behavior-inline: contain; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; scroll-snap-type: inline mandatory;
}
[data-mra-carousel-track]::-webkit-scrollbar { display: none; }
[data-mra-carousel-track] > * { scroll-snap-align: start; }
.mra-carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; min-height: 34px; }
.mra-carousel__arrows { display: inline-flex; gap: 7px; }
.mra-carousel__arrow {
  width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--mra-line-strong);
  border-radius: 50%; background: #fff; color: #333; box-shadow: 0 3px 12px rgba(0,0,0,.04); transition: .18s ease;
}
.mra-carousel__arrow:hover:not(:disabled) { border-color: #c9c9c9; color: var(--mra-accent); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.mra-carousel__arrow:disabled { opacity: .28; cursor: default; }
.mra-carousel__arrow .mra-icon { width: 16px; height: 16px; }
.mra-carousel__dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-inline: auto; }
.mra-carousel__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #d7d7d7; transition: width .2s ease,background .2s ease; }
.mra-carousel__dot.is-active { width: 22px; background: var(--mra-accent); }

/* Centered quick product preview. */
.mra-quick-view { padding: 18px; display: none; place-items: center; }
.mra-quick-view[open] { display: grid; }
.mra-quick-view__surface { position: relative; width: min(860px,94vw); max-height: min(720px,88vh); overflow: auto; border-radius: 20px; background: #fff; box-shadow: 0 34px 90px rgba(0,0,0,.22); }
.mra-quick-view__close { position: absolute; z-index: 3; inset-block-start: 12px; inset-inline-start: 12px; }
.mra-quick-view__body { min-height: 390px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); }
.mra-quick-view__media { min-height: 390px; display: grid; place-items: center; padding: 22px; background: #fafafa; }
.mra-quick-view__media img { width: 100%; height: 100%; max-height: 510px; object-fit: contain; }
.mra-quick-view__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px,4vw,46px); }
.mra-quick-view__content h2 { margin: 0 0 12px; font-size: clamp(20px,2.4vw,30px); }
.mra-quick-view__content p { color: var(--mra-muted); font-size: 14px; line-height: 1.9; }
.mra-quick-view__price { margin-bottom:12px; color:var(--mra-ink); font-size:18px; font-weight:780; }
.mra-quick-view__price ins,.mra-quick-view__price ins :where(.amount,.woocommerce-Price-amount,bdi) { color:var(--mra-ink) !important; text-decoration:none; }
.mra-quick-view__price del,.mra-quick-view__price del :where(.amount,.woocommerce-Price-amount,bdi) { color:var(--mra-old-price) !important; font-size:.72em; font-weight:600; opacity:1; }
.mra-quick-view__status { width: fit-content; margin-top: 4px; padding: 5px 9px; border-radius: 99px; background: #eef8f2; color: var(--mra-success); font-size: 12px; font-weight: 700; }
.mra-quick-view__status.is-out-of-stock { background: #fff0f1; color: var(--mra-danger); }
.mra-quick-view__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mra-quick-view__loading,.mra-quick-view__error { grid-column: 1/-1; min-height: 300px; display: grid; place-items: center; padding: 30px; color: var(--mra-muted); text-align: center; }

@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="radio"]),select,textarea { font-size: 16px; }
  .mra-header__main { min-height: 64px; }
  .mra-header-action { width: 36px; min-width: 36px; height: 38px; }
  .mra-mobile-dock a,.mra-mobile-dock button { font-size: 11px; }
  .mra-section-heading h2 { font-size: 19px; }
  .mra-section-heading p { font-size: 12.5px; }
  .mra-quick-view__surface { border-radius: 18px; }
  .mra-quick-view__body { grid-template-columns: 1fr; }
  .mra-quick-view__media { min-height: 260px; max-height: 350px; padding: 16px; }
  .mra-quick-view__content { padding: 20px; }
  .mra-carousel__controls { margin-top: 9px; }
}

/* Persian legibility and navigation pass -------------------------------- */
html { font-synthesis: none; text-rendering: optimizeLegibility; }
.mra-wordmark__fa { font-size: 11.5px; line-height: 1.45; }
.mra-category-menu__all { font-size: 12.5px; }
.mra-mega__families button span { font-size: 13px; line-height: 1.55; }
.mra-mega__families button small { font-size: 11.5px; line-height: 1.6; }
.mra-mega__panel-head > a { font-size: 12.5px; }
.mra-mega__group-title { font-size: 13px; line-height: 1.6; }
.mra-mega__group li a { font-size: 12.5px; line-height: 1.85; }
.mra-search-results__title { font-size: 12px; }
.mra-search-message { font-size: 13px; line-height: 1.8; }
.mra-breadcrumbs { font-size: 12.5px; line-height: 1.7; }
.mra-mobile-categories a { font-size: 13px; line-height: 1.7; }
.mra-mobile-drill__head strong { font-size: 13.5px; }
.mra-mobile-drill__back { font-size: 12px; }
.mra-mobile-drill__all { font-size: 12.5px !important; }
.mra-mobile-drill__list > li > a { min-height: 44px; font-size: 13px !important; line-height: 1.65; }
.mra-page-header__description,.mra-empty-state p,.mra-error-page p { font-size: 13.5px; }

@media (max-width: 760px) {
  .mra-section-heading h2 { font-size: 20px; }
  .mra-section-heading p { font-size: 13px; }
  .mra-mobile-dock a,.mra-mobile-dock button { font-size: 11.5px; line-height: 1.35; }
}

@media (max-width: 760px) {
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="password"],input[type="number"],input[type="url"],select,textarea { font-size: 16px; }
}


/* Responsive system ------------------------------------------------
   Central rules below intentionally use logical properties so RTL remains
   correct without device-specific left/right overrides. */
:where(.mra-shell,.mra-main,.mra-page-shell,.mra-home-layout,.mra-content-layout,.mra-catalog-root,.woocommerce) {
  min-width: 0;
}
:where(.mra-main,.mra-home-main,.mra-commerce-main) { overflow: clip; }
@supports not (overflow: clip) {
  :where(.mra-main,.mra-home-main,.mra-commerce-main) { overflow-x: hidden; }
}
.mra-header__main > *,
.mra-section-heading > *,
.mra-shop-toolbar > *,
.mra-footer__card > * { min-width: 0; }
.mra-search__input { min-width: 0; }
.mra-dialog__surface { overscroll-behavior: contain; }
body.mra-dialog-open { overflow: hidden; }

@media (max-width: 1240px) {
  :root { --mra-gutter: clamp(12px, 1.7vw, 20px); }
  .mra-header__main {
    grid-template-columns: max-content minmax(0,max-content) minmax(250px,300px) max-content;
    column-gap: 10px;
    justify-content: space-between;
  }
  .mra-header__identity { gap: 12px; }
  .mra-category-menu__panel { width: min(780px, calc(100vw - (var(--mra-gutter) * 2))); }
}

@media (max-width: 1000px) {
  .mra-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mra-header__main { padding-block: 2px; }
  .mra-header__identity { justify-content: center; }
  .mra-search {
    inset-inline: max(var(--mra-gutter), env(safe-area-inset-left)) max(var(--mra-gutter), env(safe-area-inset-right));
    inset-block-start: calc(100% + 5px);
  }
  .mra-search-results { max-height: min(520px, calc(100dvh - var(--mra-sticky-offset) - 90px)); }
  .mra-dialog__surface { padding-block-end: max(18px, env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
  body {
    font-size: max(15px, var(--mra-body-size));
    line-height: max(1.72, var(--mra-body-line));
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  h1 { font-size: clamp(26px, 7.4vw, min(var(--mra-h1-max), 38px)); line-height: 1.45; }
  h2 { font-size: clamp(20px, 5.7vw, min(var(--mra-h2-max), 28px)); line-height: 1.48; }
  h3 { font-size: clamp(16px, 4.6vw, min(var(--mra-h3-max), 21px)); line-height: 1.52; }

  .mra-main { padding-block: 14px 30px; }
  .mra-header__main { min-height: 60px; grid-template-columns: 40px minmax(72px,1fr) auto; gap: 4px; }
  .mra-header__menu-button { width: 40px; height: 40px; }
  .mra-header__actions { gap: 0; }
  .mra-header-action { width: 38px; min-width: 38px; height: 40px; border-radius: 10px; }
  .mra-header-action .mra-icon { width: 18px; height: 18px; }
  .mra-header-action[href*="my-account"],
  .mra-header-action[href*="myaccount"] { display: none; }
  .mra-brand-logo { width: 48px; height: 42px; max-width: 48px; flex-basis: 48px; }
  .mra-brand-logo__image { width: 48px !important; height: 42px !important; max-width: 48px !important; max-height: 42px !important; }
  .custom-logo { max-width: 118px; height: 36px; }

  .mra-section-heading { align-items: flex-end; gap: 10px; }
  .mra-section-heading__copy { min-width: 0; }
  .mra-section-heading h2 { font-size: clamp(18px, 5vw, 21px); }
  .mra-section-heading p { max-width: 58ch; font-size: 12.5px; line-height: 1.75; }
  .mra-text-link { flex: 0 0 auto; font-size: 12px; }

  .mra-dialog__surface {
    width: min(430px, 100vw);
    padding: 14px max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    box-shadow: 0 0 38px rgba(0,0,0,.16);
  }
  .mra-dialog__header { position: sticky; inset-block-start: 0; z-index: 3; margin-inline: -2px; background: #fff; }
  .mra-mobile-nav__list a,.mra-mobile-nav .mra-nav__list a { min-height: 46px; font-size: 13.5px; }
  .mra-mobile-categories a { min-height: 42px; display: flex; align-items: center; }

  .mra-quick-view { padding: 8px; }
  .mra-quick-view__surface { width: min(100%, 560px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .mra-quick-view__media { min-height: clamp(230px, 68vw, 330px); }
  .mra-quick-view__content { padding: 17px; }
  .mra-quick-view__actions > * { flex: 1 1 145px; }

  .mra-mobile-dock {
    min-height: 60px;
    padding-block-end: max(5px, env(safe-area-inset-bottom));
  }
  .mra-mobile-dock a,.mra-mobile-dock button { min-width: 0; min-height: 50px; }
  .mra-mobile-dock .mra-icon { width: 19px; height: 19px; }

  [data-mra-carousel-track] {
    scroll-padding-inline: 1px;
    scroll-snap-stop: normal;
    scroll-snap-type: inline proximity;
    /* Native rails must also allow vertical page scrolling and pinch zoom. */
    touch-action: auto;
  }
  .mra-carousel__arrow { width: 36px; height: 36px; }
}

@media (max-width: 520px) {
  :root { --mra-gutter: clamp(9px, 3.2vw, 13px); }
  .mra-header__main { grid-template-columns: 38px minmax(64px,1fr) auto; }
  .mra-header-action { width: 36px; min-width: 36px; }
  .mra-header-action .mra-icon { width: 17px; height: 17px; }
  .mra-wishlist-count,.mra-cart-count { inset-block-start: 2px; inset-inline-start: 0; }
  .mra-search { padding: 6px; }
  .mra-search__input { height: 44px; font-size: 16px !important; }
  .mra-search-result { grid-template-columns: 42px minmax(0,1fr); }
  .mra-search-result__price { grid-column: 2; justify-self: start; white-space: normal; }
  .mra-page-header { margin-block: 4px 20px; }
  .mra-page-header p,.mra-page-header__description { font-size: 13px; line-height: 1.85; }
  .mra-button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button { min-height: 44px; }
}

@media (max-width: 380px) {
  :root { --mra-gutter: 9px; }
  .mra-header__main { grid-template-columns: 36px minmax(58px,1fr) auto; }
  .mra-header-action { width: 34px; min-width: 34px; }
  .mra-header-action--search { display: grid; }
  .custom-logo { max-width: 96px; height: 32px; }
  .mra-wordmark__latin { font-size: 1.08rem; }
  .mra-wordmark__fa { font-size: 10px; }
  .mra-mobile-dock a,.mra-mobile-dock button { font-size: 10.5px; }
  .mra-mobile-dock .mra-icon { width: 18px; height: 18px; }
}

@media (orientation: landscape) and (max-width: 1000px) and (max-height: 520px) {
  :root { --mra-header-offset: 54px; }
  .mra-header__main { min-height: 54px; }
  .mra-dialog__surface { width: min(480px, 62vw); }
  .mra-mobile-dock { min-height: 52px; }
  .mra-mobile-dock a,.mra-mobile-dock button { min-height: 44px; }
}

@media (forced-colors: active) {
  .mra-product-card,.mra-button,.mra-icon-button,.mra-dialog__surface { border: 1px solid CanvasText; }
}

/* Compact-device header finalization ------------------------------ */
@media (max-width: 760px) {
  .mra-header-action--account { display: none; }
  .mra-header__identity { min-width: 0; }
  .mra-header__brand { justify-content: center; width: 100%; }
  .mra-header__actions { white-space: nowrap; }
}
@media (max-width: 380px) {
  .mra-header-action--wishlist { display: none; }
}
@media (max-width: 760px) and (display-mode: standalone) {
  .mra-mobile-dock { padding-block-end: max(7px, env(safe-area-inset-bottom)); }
}

/* Small stability details that avoid viewport jumps and improve dense RTL copy. */
@supports (scrollbar-gutter: stable) {
  html { scrollbar-gutter: stable; }
}
:where(.mra-section-heading h2,.mra-page-header h1,.mra-product-card__title,.product_title) { text-wrap: pretty; }
:where(.mra-product-card__title a,.mra-cart-item__copy>a,.mra-search-result__copy strong) { overflow-wrap: anywhere; }

/* 1.13 category navigation refinement ---------------------------------- */
.mra-category-menu__panel{width:min(940px,90vw);padding:14px 16px 16px}.mra-mega{grid-template-columns:210px minmax(0,1fr);gap:18px}.mra-mega__families{gap:3px;padding-inline-end:14px}.mra-mega__family{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;border-radius:10px;transition:background-color .12s ease,color .12s ease}.mra-mega__family:hover,.mra-mega__family.is-active{background:var(--mra-surface-tint)}.mra-mega__family-link{min-width:0;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;color:#282828}.mra-mega__family-link span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:720}.mra-mega__family-link small{color:#888;font-size:11.5px}.mra-mega__family.is-active .mra-mega__family-link,.mra-mega__family-link:hover{color:var(--mra-accent)}.mra-mega__family-preview{width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;display:grid!important;place-items:center;border:0!important;border-radius:9px!important;background:transparent!important;color:#8b8b8b!important}.mra-mega__family-preview:hover,.mra-mega__family.is-active .mra-mega__family-preview{color:var(--mra-accent)!important;background:#fff!important}.mra-mega__family-preview .mra-icon{width:14px;height:14px}.mra-mega__panel-head h3 a{color:var(--mra-ink)}.mra-mega__panel-head h3 a:hover{color:var(--mra-accent)}.mra-mega__groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}.mra-mega__group-title{min-height:30px;display:flex;align-items:center;font-size:13.5px}.mra-mega__group li a{min-height:29px;display:flex;align-items:center;padding:3px 0;font-size:12.75px}
.mra-mobile-drill__row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;border-bottom:1px solid #f1f1f1}.mra-mobile-drill__row>a{min-height:46px;display:flex!important;align-items:center;padding:8px 3px!important;color:#333!important;font-size:13px!important;font-weight:600}.mra-mobile-drill__row>button{width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:#888}.mra-mobile-drill__row>button:hover{background:var(--mra-surface-tint);color:var(--mra-accent)}.mra-mobile-drill__row>button .mra-icon{width:15px;height:15px}

/* Midora 1.14 — unified motion, semantic color and dialog system */
:root{
  --mra-motion-fast:150ms;
  --mra-motion-ui:220ms;
  --mra-motion-panel:260ms;
  --mra-ease-standard:cubic-bezier(.2,.72,.2,1);
  --mra-ease-emphasized:cubic-bezier(.22,1,.36,1);
  --mra-z-sticky:80;
  --mra-z-dropdown:140;
  --mra-z-commerce:180;
  --mra-z-dock:220;
  --mra-z-backdrop:900;
  --mra-z-modal:910;
  --mra-z-lightbox:1000;
}
.mra-dialog{z-index:var(--mra-z-modal);opacity:1;transition:background-color var(--mra-motion-panel) ease;}
.mra-dialog::backdrop{background:rgba(16,16,18,.46);opacity:1;transition:opacity var(--mra-motion-panel) ease;}
.mra-dialog.is-opening::backdrop,.mra-dialog.is-closing::backdrop{opacity:0;}
.mra-dialog__surface,.mra-quick-view__surface{
  animation:none!important;
  opacity:1;
  transform:translateX(0);
  transition:transform var(--mra-motion-panel) var(--mra-ease-emphasized),opacity var(--mra-motion-ui) ease;
  will-change:transform,opacity;
}
.mra-dialog.is-opening .mra-dialog__surface,.mra-dialog.is-closing .mra-dialog__surface,
.mra-dialog.is-opening .mra-quick-view__surface,.mra-dialog.is-closing .mra-quick-view__surface{opacity:.72;transform:translateX(104%);}
html[dir="rtl"] .mra-dialog.is-opening .mra-dialog__surface,html[dir="rtl"] .mra-dialog.is-closing .mra-dialog__surface,
html[dir="rtl"] .mra-dialog.is-opening .mra-quick-view__surface,html[dir="rtl"] .mra-dialog.is-closing .mra-quick-view__surface{transform:translateX(-104%);}
.mra-dialog__surface{box-shadow:-18px 0 50px rgba(0,0,0,.16);}
html[dir="rtl"] .mra-dialog__surface{box-shadow:18px 0 50px rgba(0,0,0,.16);}

/* Account modal ---------------------------------------------------- */
.mra-auth-dialog__surface{inset:50% auto auto 50%!important;width:min(452px,calc(100vw - 24px))!important;height:auto!important;max-height:min(760px,calc(100dvh - 24px))!important;padding:0!important;overflow:auto;border:1px solid color-mix(in srgb,var(--mra-line) 88%,transparent)!important;border-radius:22px!important;background:#fff!important;transform:translate(-50%,-50%) scale(1)!important;box-shadow:0 30px 90px rgba(18,18,22,.2)!important}
.mra-auth-dialog.is-opening .mra-auth-dialog__surface,.mra-auth-dialog.is-closing .mra-auth-dialog__surface,html[dir="rtl"] .mra-auth-dialog.is-opening .mra-auth-dialog__surface,html[dir="rtl"] .mra-auth-dialog.is-closing .mra-auth-dialog__surface{transform:translate(-50%,calc(-50% + 12px)) scale(.985)!important;opacity:0!important}
.mra-auth-head{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 42px;align-items:start;gap:12px;padding:22px 22px 16px;background:linear-gradient(145deg,#fff 20%,var(--mra-surface-tint));border-bottom:1px solid var(--mra-line)}
.mra-auth-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--mra-ink);color:#fff}.mra-auth-mark .mra-icon{width:21px;height:21px}.mra-auth-head__copy{min-width:0}.mra-auth-head .mra-kicker{display:block;margin-bottom:3px;color:var(--mra-accent);font-size:11.5px;font-weight:750}.mra-auth-head h2{margin:0;font-size:21px;line-height:1.5}.mra-auth-head p{margin:4px 0 0;color:var(--mra-muted);font-size:12.5px;line-height:1.8}.mra-auth-close{justify-self:end;background:#fff!important;border:1px solid var(--mra-line)!important}
.mra-auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;margin:16px 20px 14px;border:1px solid var(--mra-line);border-radius:13px;background:#f5f5f6}.mra-auth-tabs:has(>:only-child){grid-template-columns:1fr}.mra-auth-tabs button{min-height:41px;border:0;border-radius:9px;background:transparent;color:var(--mra-muted);font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:background var(--mra-motion-fast) ease,color var(--mra-motion-fast) ease,box-shadow var(--mra-motion-fast) ease}.mra-auth-tabs button.is-active{background:#fff;color:var(--mra-ink);box-shadow:0 2px 9px rgba(0,0,0,.07)}
.mra-auth-status{margin:0 20px 12px;padding:10px 12px;border:1px solid transparent;border-radius:10px;background:#f4f4f5;color:var(--mra-ink);font-size:12.5px;line-height:1.8}.mra-auth-status[hidden]{display:none!important}.mra-auth-status[data-state="error"]{border-color:#f2d2d2;background:#fff5f5;color:var(--mra-danger)}.mra-auth-status[data-state="success"]{border-color:#cfe9da;background:#f1faf5;color:var(--mra-success)}.mra-auth-status[data-state="pending"]{background:#f7f7f8;color:var(--mra-muted)}
.mra-auth-form{display:grid;gap:12px;padding:0 20px 18px}.mra-auth-form[hidden]{display:none!important}.mra-auth-form[inert]{display:none!important}.mra-auth-form label>span:not(.mra-auth-password){display:block;margin-bottom:5px;color:var(--mra-ink);font-size:12.5px;font-weight:700}.mra-auth-form input[type="text"],.mra-auth-form input[type="email"],.mra-auth-form input[type="password"]{width:100%;min-height:48px;border:1px solid #dadade;border-radius:12px;background:#fff;padding-inline:13px;font:inherit;font-size:14px;outline:0;transition:border-color var(--mra-motion-fast) ease,box-shadow var(--mra-motion-fast) ease,background var(--mra-motion-fast) ease}.mra-auth-form input:focus{border-color:color-mix(in srgb,var(--mra-accent) 62%,#bbb);box-shadow:0 0 0 3px color-mix(in srgb,var(--mra-accent) 11%,transparent);background:#fff}.mra-auth-password{position:relative;display:block}.mra-auth-password input{padding-inline-end:46px!important}.mra-auth-password button{position:absolute;inset-inline-end:5px;inset-block:5px;display:grid;place-items:center;width:38px;border:0;border-radius:9px;background:transparent;color:var(--mra-muted);cursor:pointer}.mra-auth-password button:hover,.mra-auth-password button[aria-pressed="true"]{background:var(--mra-surface-tint);color:var(--mra-accent-dark)}.mra-auth-password .mra-icon{width:18px;height:18px}
.mra-auth-form__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.mra-auth-check{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;font-weight:500!important}.mra-auth-check span{margin:0!important;font-size:12px!important;font-weight:550!important}.mra-auth-check input{accent-color:var(--mra-accent)}.mra-auth-link,.mra-auth-switch button{border:0!important;background:transparent!important;color:var(--mra-accent-dark)!important;padding:3px!important;min-height:0!important;font:inherit;font-size:12px!important;font-weight:750!important;cursor:pointer;box-shadow:none!important}.mra-auth-submit{width:100%;min-height:49px;border-radius:12px!important}.mra-auth-note,.mra-auth-password-hint{margin:0;color:var(--mra-muted);font-size:11.8px;line-height:1.9}.mra-auth-password-hint{margin-top:-6px}.mra-auth-switch{margin:0;text-align:center;color:var(--mra-muted);font-size:12px}.mra-auth-privacy{display:flex;align-items:flex-start;gap:7px;margin:0;padding:13px 20px 18px;border-top:1px solid var(--mra-line);color:var(--mra-muted);font-size:11.5px;line-height:1.8}.mra-auth-privacy .mra-icon{flex:0 0 auto;width:16px;height:16px;margin-top:2px;color:var(--mra-success)}
@media(max-width:520px){.mra-auth-dialog__surface{inset:auto 0 0!important;width:100%!important;max-width:none!important;max-height:min(88dvh,760px)!important;border-radius:22px 22px 0 0!important;transform:translateY(0)!important}.mra-auth-dialog.is-opening .mra-auth-dialog__surface,.mra-auth-dialog.is-closing .mra-auth-dialog__surface,html[dir="rtl"] .mra-auth-dialog.is-opening .mra-auth-dialog__surface,html[dir="rtl"] .mra-auth-dialog.is-closing .mra-auth-dialog__surface{transform:translateY(24px)!important;opacity:0!important}.mra-auth-head{padding:18px 16px 14px}.mra-auth-tabs{margin-inline:16px}.mra-auth-status{margin-inline:16px}.mra-auth-form{padding-inline:16px}.mra-auth-privacy{padding-inline:16px}.mra-auth-form input[type="text"],.mra-auth-form input[type="email"],.mra-auth-form input[type="password"]{font-size:16px}}
@media (prefers-reduced-motion:reduce){
  .mra-dialog,.mra-dialog::backdrop,.mra-dialog__surface,.mra-quick-view__surface{transition-duration:1ms!important;}
}


/* 1.15 modal refinements ------------------------------------------------ */
.mra-quick-view .mra-quick-view__surface{transform:scale(1);opacity:1;transition:transform var(--mra-motion-panel) var(--mra-ease-emphasized),opacity var(--mra-motion-ui) ease;box-shadow:0 28px 80px rgba(0,0,0,.18)}
.mra-quick-view.is-opening .mra-quick-view__surface,.mra-quick-view.is-closing .mra-quick-view__surface,html[dir="rtl"] .mra-quick-view.is-opening .mra-quick-view__surface,html[dir="rtl"] .mra-quick-view.is-closing .mra-quick-view__surface{transform:translateY(10px) scale(.985);opacity:0}
.mra-quick-view__price{color:var(--mra-ink)}
.mra-quick-view__surface.mra-dialog__surface{position:relative;inset:auto;width:min(860px,94vw);height:auto;max-height:min(720px,88vh);border-radius:20px}

/* Breadcrumb rhythm: separators are real visual tokens rather than touching
   adjacent labels, which is especially important in RTL product paths. */
.mra-breadcrumbs:not(.mra-breadcrumbs--rankmath){display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.mra-breadcrumbs:not(.mra-breadcrumbs--rankmath)>span[aria-hidden="true"]{color:#b3b3b3;line-height:1}
.mra-breadcrumbs--rankmath p{column-gap:8px;row-gap:4px}
.mra-breadcrumbs--rankmath .separator{display:inline-block;margin-inline:5px;color:#b3b3b3}


.mra-account-phone-auth{margin:16px auto;padding:20px;max-width:510px;border:1px solid var(--mra-line,#e4e6eb);border-radius:18px;background:#fff}.mra-auth-dialog .ztom-midora-auth{padding:20px 22px 24px}.mra-auth-dialog .ztom-auth h3{margin:0 0 7px}.mra-auth-dialog .ztom-auth .ztom-auth-help{margin-bottom:10px}@media(max-width:520px){.mra-auth-dialog .ztom-midora-auth{padding:16px}.mra-account-phone-auth{padding:14px;margin:10px}}

/* 1.28.1: balanced compact account header when phone authentication is active. */
.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-head {grid-template-columns:38px minmax(0,1fr) 34px; gap:10px; padding:19px 24px 16px; align-items:center;}
.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-mark {width:38px; height:38px; border-radius:12px;}
.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-mark .mra-icon {width:18px; height:18px;}
.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-head h2 {font-size:18px; line-height:1.45;}
.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-head p {font-size:11.5px; line-height:1.7; margin:3px 0 0;}
.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-close {width:34px; height:34px; border-radius:10px;}
@media(max-width:520px){.mra-auth-dialog:has(.ztom-midora-auth) .mra-auth-head {padding:16px 20px 14px;}}

/* Mobile virtual-keyboard accommodation. Inactive until an editable field is
   focused AND the visual viewport loses keyboard-sized height. */
.mra-auth-dialog.mra-keyboard-adjusted .mra-auth-dialog__surface {
  top:calc(var(--mra-keyboard-top) + var(--mra-keyboard-height) / 2)!important;
  bottom:auto!important;
  max-height:calc(var(--mra-keyboard-height) - 16px)!important;
  overscroll-behavior:contain;
}
@media(max-width:520px) {
  .mra-auth-dialog.mra-keyboard-adjusted .mra-auth-dialog__surface {
    top:auto!important;
    bottom:var(--mra-keyboard-bottom)!important;
    max-height:calc(var(--mra-keyboard-height) - 10px)!important;
  }
}
