@keyframes zn-dot-pulse {
  0% { transform: scale(.4) rotate(-90deg); }
  60% { transform: scale(1.35) rotate(0); }
  100% { transform: scale(1); }
}

:root {
  --zn-ink: #1f1a2b;
  --zn-paper: #ece8e3;
  --zn-paper-2: #f6f4f1;
  --zn-red: #a3263f;
  --zn-stone: #8c8790;
  --zn-rose: #e5d2cf;
  --zn-white: #ffffff;
  --zn-line: rgba(31, 26, 43, .14);
  --zn-shadow: 0 18px 52px rgba(31, 26, 43, .10);
  --zn-radius: 4px;
  --zn-ease: cubic-bezier(.2, .7, .2, 1);
  --zn-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='10'%3E%3Cpath d='M5 1l4 4l-4 4l-4-4zM19 1l4 4l-4 4l-4-4zM33 1l4 4l-4 4l-4-4z' fill='%231F1A2B'/%3E%3Cpath d='M47 1l4 4l-4 4l-4-4z' fill='%23A3263F'/%3E%3C/svg%3E");
}

.zn-divider {
  display: block;
  width: 52px;
  height: 10px;
  margin: 14px auto;
  border: 0;
  background: var(--zn-divider) no-repeat center / contain;
}

/* عنوان صفحات التصنيفات ونتائج البحث — عناصر الثيم الأصلية */
body.product-index .product-index__toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1.5fr);
  align-items: center;
  gap: 12px;
  direction: rtl;
  margin-block: 26px 24px;
}
body.product-index .product-index__toolbar::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 52px;
  height: 10px;
  background: var(--zn-divider) no-repeat center / contain;
  pointer-events: none;
}
body.product-index .product-index__toolbar #page-main-title {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  color: var(--zn-ink);
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body.product-index .product-index__toolbar-actions {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}
body.product-index .product-index__toolbar-actions > .flex,
body.product-index .product-index__sorting {
  min-width: 0;
  width: 100%;
}
body.product-index .product-index__sorting label[for="product-filter"] {
  position: absolute;
  display: block !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.product-index #product-filter {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px 10px 34px !important;
  border: 1px solid #e5e3e6;
  border-radius: 7px;
  background-color: var(--zn-paper);
  background-position: left 12px center;
  color: var(--zn-red);
  direction: rtl;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
body.product-index #product-filter:focus-visible {
  outline: 2px solid var(--zn-red);
  outline-offset: 3px;
}
@media (min-width: 768px) {
  body.product-index .product-index__toolbar {
    grid-template-columns: minmax(0, 1fr) 52px minmax(220px, 320px);
    gap: 20px;
  }
}
@media (max-width: 359px) {
  body.product-index .product-index__toolbar {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.3fr);
    gap: 8px;
  }
  body.product-index .product-index__toolbar::before { width: 40px; }
  body.product-index #product-filter { font-size: 13px; }
}

/* أيقونة الحقيبة */
.zn-icon-host {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.zn-icon-host::before,
.zn-icon-host::after {
  content: none !important;
  display: none !important;
}

.zn-icon {
  display: block;
  width: 1.5em;
  height: 1.5em;
  overflow: visible;
}

.zn-icon .zn-dot {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .35s var(--zn-ease), fill .25s ease;
}

.zn-icon-host.zn-has-items .zn-dot {
  fill: var(--zn-red);
  stroke: none;
}

.zn-icon-host.zn-pulse .zn-dot {
  animation: zn-dot-pulse .7s var(--zn-ease);
}

.s-cart-summary-count,
salla-cart-summary .s-cart-summary-count {
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1 !important;
}

.s-cart-summary-count::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 3px;
  background: var(--zn-red);
  box-shadow: 0 0 0 1.5px var(--zn-paper-2);
  transform: rotate(45deg);
}

/* مراحل السلة والدفع */
.zn-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 640px;
  margin: 8px auto 26px;
  padding: 18px 16px;
  list-style: none;
  direction: rtl;
}

.zn-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--zn-stone);
  font-size: 13px;
  white-space: nowrap;
}

.zn-steps li + li::before {
  content: '';
  width: clamp(24px, 8vw, 80px);
  height: 1px;
  margin: 0 12px;
  background: var(--zn-line);
}

.zn-steps .zn-step-dot {
  width: 12px;
  height: 12px;
  flex: none;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.zn-steps li.zn-now {
  color: var(--zn-ink);
  font-weight: 700;
}

.zn-steps li.zn-now .zn-step-dot {
  border-color: var(--zn-red);
  background: var(--zn-red);
}

.zn-summary-card {
  position: relative;
  overflow: hidden;
  padding-top: 26px !important;
  border: 1px solid var(--zn-line) !important;
  border-radius: var(--zn-radius) !important;
  background: #fff !important;
}

.zn-summary-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--zn-ink);
}

.zn-summary-card::after {
  content: '';
  position: absolute;
  top: 2px;
  inset-inline-start: 24px;
  width: 10px;
  height: 10px;
  background: var(--zn-red);
  box-shadow: 0 0 0 2px #fff;
  transform: rotate(45deg);
}

.zn-checkout-btn {
  position: relative;
  overflow: hidden;
  min-height: 56px !important;
  border: 1px solid var(--zn-ink) !important;
  border-radius: var(--zn-radius) !important;
  background: var(--zn-ink) !important;
  color: var(--zn-paper) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.zn-checkout-btn .zn-run {
  position: absolute;
  top: 50%;
  inset-inline-end: 22px;
  width: 9px;
  height: 9px;
  background: var(--zn-red);
  box-shadow: 0 0 0 2px var(--zn-ink), 0 0 0 3px rgba(236, 232, 227, .35);
  transform: translateY(-50%) rotate(45deg);
  transition: inset-inline-end .5s var(--zn-ease);
}

.zn-checkout-btn:hover .zn-run {
  inset-inline-end: 34px;
}

.zn-trust {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  color: #4a4554;
  font-size: 12.5px;
  list-style: none;
}

.zn-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zn-trust li::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--zn-ink);
  transform: rotate(45deg);
}

.zn-cart-sign {
  margin: 22px 0 0;
  color: var(--zn-stone);
  font-size: 13px;
  text-align: center;
}

.zn-cart-sign .zn-divider {
  margin: 0 auto 8px;
}

/* صفحة المنتج */
body.zn-is-product .product-single__info {
  color: var(--zn-ink);
}

body.zn-is-product .product-single__title {
  margin-bottom: 6px !important;
  color: var(--zn-ink) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: -.015em;
}

body.zn-is-product .product-price-top {
  margin: 0 0 18px !important;
  color: var(--zn-red);
}

body.zn-is-product .product-price-top .total-price {
  color: var(--zn-red) !important;
  font-size: 21px !important;
  font-weight: 700 !important;
}

body.zn-is-product #product-form,
body.zn-is-product form.product-form {
  position: relative;
  margin: 0 0 24px !important;
  padding: 20px !important;
  border: 1px solid var(--zn-line);
  border-radius: var(--zn-radius);
  background: linear-gradient(180deg, #fff 0%, var(--zn-paper-2) 100%);
  box-shadow: 0 14px 38px rgba(31, 26, 43, .055);
}

body.zn-is-product #product-form::before,
body.zn-is-product form.product-form::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--zn-ink) 0 72%, var(--zn-red) 72% 100%);
}

body.zn-is-product #product-form salla-product-options,
body.zn-is-product form.product-form salla-product-options {
  display: block;
  margin: 0 0 18px;
}

/*
 * قالب Celia في وضع الألوان الداكن يلوّن خلفية أزرار المرفقات
 * بنفس لون النص. نحصر التصحيح في زري الملاحظة والملف فقط حتى لا
 * يتأثر زر السلة أو أزرار الكمية.
 */
body.zn-is-product #product-form .btn-tab.btn--collapse,
body.zn-is-product form.product-form .btn-tab.btn--collapse {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px;
  min-height: 44px;
  padding: 9px 12px !important;
  border: 1px solid var(--zn-line) !important;
  border-radius: var(--zn-radius) !important;
  background: #fff !important;
  color: var(--zn-ink) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.zn-is-product #product-form .btn-tab.btn--collapse i,
body.zn-is-product form.product-form .btn-tab.btn--collapse i {
  color: var(--zn-red) !important;
}

body.zn-is-product #product-form .btn-tab.btn--collapse:hover,
body.zn-is-product form.product-form .btn-tab.btn--collapse:hover {
  border-color: rgba(163, 38, 63, .5) !important;
  background: var(--zn-paper-2) !important;
  color: var(--zn-red) !important;
}

body.zn-is-product .s-product-options-option-container {
  margin: 0 !important;
}

body.zn-is-product .zn-size-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px;
  direction: rtl;
}

body.zn-is-product .zn-size-option-head .s-product-options-option-label {
  display: flex;
  align-items: baseline;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  margin: 0 !important;
  color: var(--zn-ink);
}

body.zn-is-product .zn-size-option-head .s-product-options-option-label b {
  font-size: 14px;
  font-weight: 700;
}

body.zn-is-product .zn-size-option-head .s-product-options-option-label small {
  color: var(--zn-stone);
  font-size: 11px;
}

.zn-size-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 7px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(163, 38, 63, .35) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--zn-red) !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.zn-size-guide-link:hover {
  border-color: var(--zn-red) !important;
  color: var(--zn-ink) !important;
}

.zn-size-guide-link .zn-q {
  width: 16px;
  height: 16px;
  flex: none;
}

body.zn-is-product .s-product-options-grid-mode {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(48px, 1fr));
  gap: 8px !important;
  width: 100%;
  direction: rtl;
}

body.zn-is-product .s-product-options-grid-mode > label {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}

body.zn-is-product .s-product-options-grid-mode-span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 44px !important;
  padding: 7px 5px !important;
  border: 1px solid rgba(31, 26, 43, .20) !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: var(--zn-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

body.zn-is-product .s-product-options-grid-mode input:checked + .s-product-options-grid-mode-span {
  border-color: var(--zn-ink) !important;
  background: var(--zn-ink) !important;
  color: #fff !important;
  box-shadow: inset 0 -3px 0 var(--zn-red);
}

body.zn-is-product .s-product-options-grid-mode input:focus-visible + .s-product-options-grid-mode-span {
  outline: 2px solid rgba(163, 38, 63, .35);
  outline-offset: 2px;
}

body.zn-is-product .product-price-bottom {
  display: none !important;
}

body.zn-is-product .sticky-product-bar {
  margin-top: 14px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.zn-is-product #product-form salla-add-product-button,
body.zn-is-product form.product-form salla-add-product-button {
  margin-top: 16px !important;
}

body.zn-is-product #product-form salla-add-product-button .s-button-element,
body.zn-is-product form.product-form salla-add-product-button .s-button-element {
  min-height: 54px !important;
  border: 1px solid var(--zn-ink) !important;
  border-radius: var(--zn-radius) !important;
  background: var(--zn-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.zn-is-product #product-form salla-add-product-button .s-button-element:hover,
body.zn-is-product form.product-form salla-add-product-button .s-button-element:hover {
  border-color: var(--zn-red) !important;
  background: var(--zn-red) !important;
}

.zn-product-cart-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: var(--zn-paper);
  font-size: 0 !important;
}

.zn-product-cart-icon::before,
.zn-product-cart-icon::after {
  content: none !important;
  display: none !important;
}

.zn-product-cart-svg {
  display: block;
  width: 25px;
  height: 25px;
  overflow: visible;
}

body.zn-is-product #product-form .s-add-product-button-mini-checkout,
body.zn-is-product form.product-form .s-add-product-button-mini-checkout {
  min-height: 54px !important;
  border: 1px solid var(--zn-ink) !important;
  border-radius: var(--zn-radius) !important;
  background: #fff !important;
  color: var(--zn-ink) !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.zn-is-product #product-form .s-add-product-button-mini-checkout-content,
body.zn-is-product form.product-form .s-add-product-button-mini-checkout-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  background: #fff !important;
  color: var(--zn-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.zn-is-product #product-form .s-add-product-button-mini-checkout-content svg,
body.zn-is-product form.product-form .s-add-product-button-mini-checkout-content svg {
  width: 19px !important;
  height: 19px !important;
  color: var(--zn-ink) !important;
  fill: currentColor !important;
}

body.zn-is-product #product-form .s-add-product-button-mini-checkout-content svg path,
body.zn-is-product form.product-form .s-add-product-button-mini-checkout-content svg path {
  fill: currentColor !important;
}

body.zn-is-product .product-single__main-media {
  background: var(--zn-paper-2);
}

body.zn-is-product .product-single__main-media img {
  object-fit: contain !important;
}

/* نافذة دليل المقاسات */
body.zn-modal-open {
  overflow: hidden !important;
}

.zn-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.zn-modal.zn-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.zn-modal__back {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 27, .72);
  backdrop-filter: blur(5px);
}

.zn-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--zn-radius);
  background: var(--zn-paper-2);
  box-shadow: 0 30px 100px rgba(12, 9, 18, .38);
  direction: rtl;
  transform: translateY(18px);
  transition: transform .3s var(--zn-ease);
}

.zn-modal.zn-open .zn-modal__panel {
  transform: translateY(0);
}

.zn-modal__head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--zn-ink);
  color: #fff;
}

.zn-modal__head span {
  display: block;
  margin-bottom: 3px;
  color: var(--zn-rose);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}

.zn-modal__head h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.zn-modal__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.zn-modal__close svg {
  width: 18px;
  height: 18px;
}

.zn-modal__body {
  padding: 24px;
}

.zn-size-intro {
  margin: 0 0 18px;
  color: #5f5967;
  font-size: 13px;
  line-height: 1.8;
}

.zn-size-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--zn-line);
  background: #fff;
}

.zn-size-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
  text-align: center;
}

.zn-size-table th,
.zn-size-table td {
  padding: 13px 10px;
  border: 1px solid var(--zn-line);
  font-size: 13px;
}

.zn-size-table thead th {
  background: var(--zn-ink);
  color: #fff;
  font-weight: 600;
}

.zn-size-table tbody th {
  color: var(--zn-red);
  font-weight: 800;
}

.zn-size-table tbody tr:nth-child(even) {
  background: var(--zn-paper-2);
}

.zn-measure-tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.zn-measure-tips article {
  padding: 15px;
  border: 1px solid var(--zn-line);
  background: #fff;
}

.zn-measure-tips b {
  color: var(--zn-ink);
  font-size: 13px;
}

.zn-measure-tips p {
  margin: 6px 0 0;
  color: #6c6673;
  font-size: 11px;
  line-height: 1.7;
}

.zn-size-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-inline-start: 3px solid var(--zn-red);
  background: var(--zn-rose);
  color: #4f4652;
  font-size: 11px;
  line-height: 1.75;
}

/* بطاقة تأكيد الطلب */
body.zn-is-thanks.zn-thanks-ready main > :not(#zn-thankyou-page),
body.zn-is-thanks .zn-steps { display: none !important; }
body.zn-is-thanks.zn-thanks-ready main {
 width:100%!important; max-width:none!important; margin:0!important; padding:0!important; background:#fff;
}
#zn-thankyou-page { width:100%; padding:30px 12px 48px; background:#fff; color:var(--zn-ink); direction:rtl; }
#zn-thankyou-page * { box-sizing:border-box; }
.zn-thanks__shell { width:min(720px,100%); margin:0 auto; }
.zn-thanks__hero { padding:54px 30px 44px; text-align:center; background:#fff; border:1px solid var(--zn-line); border-top:6px solid var(--zn-ink); }
.zn-thanks__mark { position:relative; width:42px; height:42px; margin:0 auto 34px; }
.zn-thanks__mark span { position:absolute; width:14px; height:14px; background:var(--zn-ink); transform:rotate(45deg); }
.zn-thanks__mark span:nth-child(1) { top:0; left:14px; }
.zn-thanks__mark span:nth-child(2) { top:14px; left:0; }
.zn-thanks__mark span:nth-child(3) { top:14px; right:0; }
.zn-thanks__mark span:nth-child(4) { bottom:0; left:14px; background:var(--zn-red); }
.zn-thanks__hero h1 { margin:0 0 18px; color:var(--zn-ink); font-size:clamp(26px,6vw,36px); font-weight:700; line-height:1.5; }
.zn-thanks__order { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; margin:0 0 24px; font-size:16px; color:var(--zn-stone); }
.zn-thanks__order strong { direction:ltr; unicode-bidi:isolate; color:var(--zn-ink); letter-spacing:1px; overflow-wrap:anywhere; }
.zn-thanks__order button { min-width:48px; min-height:44px; padding:6px 12px; border:1px solid var(--zn-line); border-radius:2px; background:#fff; color:var(--zn-ink); font:inherit; cursor:pointer; }
.zn-thanks__order button:disabled { opacity:.45; cursor:default; }
.zn-thanks__order button.is-copied { color:var(--zn-red); }
.zn-thanks__lead { margin:0 auto 22px; max-width:550px; color:#514c59; font-size:17px; line-height:2; }
.zn-thanks__sign { margin:0 0 30px; color:var(--zn-stone); font-size:14px; line-height:1.8; }
.zn-thanks__sign .zn-divider { margin:0 auto 16px; }
.zn-thanks__button { display:flex; align-items:center; justify-content:center; width:100%; min-height:54px; padding:12px 18px; background:var(--zn-red); color:#fff; border:1px solid var(--zn-red); border-radius:2px; text-decoration:none; font-size:18px; font-weight:600; }
.zn-thanks__button:hover { background:#8d2036; color:#fff; }
.zn-thanks__button:focus-visible, .zn-thanks__order button:focus-visible { outline:2px solid var(--zn-ink); outline-offset:3px; }

/* رسالة الإضافة للسلة */
.zn-toast {
  position: fixed;
  z-index: 99998;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  max-width: calc(100% - 32px);
  padding: 14px 16px 14px 18px;
  border-radius: var(--zn-radius);
  background: var(--zn-ink);
  box-shadow: 0 18px 50px rgba(31, 26, 43, .35);
  color: var(--zn-paper);
  direction: rtl;
  font-size: 14px;
  transform: translate(-50%, 140%);
  transition: transform .45s var(--zn-ease);
}

.zn-toast.zn-in {
  transform: translate(-50%, 0);
}

.zn-toast svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.zn-toast a {
  margin-inline-start: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(236, 232, 227, .5);
  color: var(--zn-paper);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .zn-steps {
    margin-bottom: 16px;
    padding-inline: 10px;
  }

  .zn-steps li {
    gap: 6px;
    font-size: 10px;
  }

  .zn-steps li + li::before {
    width: 16px;
    margin: 0 7px;
  }

  body.zn-is-product #product-form,
  body.zn-is-product form.product-form {
    margin-inline: 0 !important;
    padding: 16px 13px !important;
  }

  body.zn-is-product #product-form .sticky-product-bar,
  body.zn-is-product form.product-form .sticky-product-bar {
    background: #fff !important;
  }

  body.zn-is-product .product-single__title {
    font-size: 23px !important;
  }

  body.zn-is-product .s-product-options-grid-mode {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px !important;
  }

  body.zn-is-product .s-product-options-grid-mode-span {
    min-height: 42px !important;
    padding: 6px 2px !important;
    font-size: 11.5px !important;
  }

  .zn-modal {
    align-items: end;
    padding: 0;
  }

  .zn-modal__panel {
    width: 100%;
    max-height: 90vh;
    border-radius: 8px 8px 0 0;
  }

  .zn-modal__head,
  .zn-modal__body {
    padding: 17px 15px;
  }

  .zn-measure-tips {
    grid-template-columns: 1fr;
  }












}

@media (max-width: 390px) {
  body.zn-is-product .zn-size-option-head {
    align-items: flex-start;
  }

  .zn-size-guide-link {
    font-size: 10.5px !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  .zn-icon-host.zn-pulse .zn-dot {
    animation: none;
  }

  .zn-checkout-btn .zn-run,
  .zn-modal,
  .zn-modal__panel,
  .zn-toast,
  .s-product-options-grid-mode-span {
    transition: none !important;
  }
}