/* ivyfit-minor-channel-test V0.0.392 */
/* ivyfit-minor-channel-test V0.0.391 */
/* ivyfit-minor-channel-test V0.0.390 */
/* ivyfit-minor-channel-test V0.0.388 */
/* Internal storefront pages أ¢â‚¬â€‌ aligned with ADA theme tokens */

.page-stack {
  display: grid;
  gap: 36px;
  padding-block: 36px;
  max-width: var(--page-width, 1440px);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 1024px) {
  .page-stack { padding-inline: 24px; }
}

.page-header { display: grid; gap: 10px; margin-bottom: 8px; }
.page-header .eyebrow {
  color: #44403c;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.storefront-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid #e7e5e4;
  background: #fff;
}

@media (min-width: 768px) {
  .storefront-filter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.storefront-filter .field { display: grid; gap: 6px; }
.storefront-filter label { font-weight: 700; font-size: 0.85rem; }
.storefront-filter .input,
.storefront-filter .select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d6d3d1;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding-block: 32px;
}
@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 520px) minmax(280px, 1fr) 76px;
    gap: 28px 20px;
  }
}

.pdp-gallery {
  display: grid;
  gap: 12px;
  width: 100%;
}

.pdp-trust {
  min-width: 0;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #e7e5e4;
}
.pdp-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.pdp-trust__list > li {
  min-width: 0;
}
.pdp-trust__item {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: start;
  text-align: center;
  width: 100%;
  padding: 10px 6px;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
a.pdp-trust__item:hover,
button.pdp-trust__item:hover {
  border-color: #d6d3d1;
  background: #f5f5f4;
}
a.pdp-trust__item:hover .pdp-trust__label,
button.pdp-trust__item:hover .pdp-trust__label {
  color: #292524;
}
a.pdp-trust__item:focus-visible,
button.pdp-trust__item:focus-visible {
  outline: 2px solid #292524;
  outline-offset: 2px;
}
.pdp-trust__icon {
  width: 28px;
  height: 28px;
  color: #292524;
  display: grid;
  place-items: center;
}
.pdp-trust__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pdp-trust__label {
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 600;
  color: #57534e;
}
@media (min-width: 900px) {
  .pdp-trust {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .pdp-trust__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pdp-trust__item {
    padding: 12px 6px;
  }
  .pdp-trust__label {
    font-size: 0.68rem;
  }
}
.pdp-media-wrap {
  position: relative;
}
.pdp-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7e5e4;
  padding: 0;
  border: 0;
  width: 100%;
  cursor: zoom-in;
  display: block;
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pdp-select-variant {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  appearance: none;
  border: 0;
  background: #111;
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.875rem;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  max-width: calc(100% - 24px);
  text-align: center;
}
.pdp-select-variant:hover { background: #292524; }
.pdp-select-variant[hidden] { display: none !important; }

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}
.thumb {
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 2px solid transparent;
  background: #f5f5f4;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}
.thumb[aria-pressed="true"] { border-color: #111; }
.thumb.is-other-color { opacity: 0.45; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pdp-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(10 10 10 / 96%);
  color: #fff;
  overflow: hidden;
}
.pdp-lightbox::backdrop {
  background: rgb(0 0 0 / 88%);
}
.pdp-lightbox__body {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  padding: 56px 64px 20px;
  box-sizing: border-box;
}
.pdp-lightbox__close,
.pdp-lightbox__nav {
  appearance: none;
  border: 0;
  background: rgb(255 255 255 / 14%);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
}
.pdp-lightbox__close:hover,
.pdp-lightbox__nav:hover {
  background: rgb(255 255 255 / 28%);
}
.pdp-lightbox__close {
  position: absolute;
  top: 12px;
  left: 12px;
}
.pdp-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.pdp-lightbox__nav--prev { right: 12px; }
.pdp-lightbox__nav--next { left: 12px; }
.pdp-lightbox__stage {
  position: relative;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}
.pdp-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: none;
  pointer-events: none;
  user-select: none;
}
.pdp-lightbox__stage.is-zooming .pdp-lightbox__image {
  transform: scale(1.45);
}
.pdp-lightbox__select {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  appearance: none;
  border: 0;
  background: #fff;
  color: #111;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.875rem;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  max-width: calc(100% - 32px);
  text-align: center;
}
.pdp-lightbox__select:hover { background: #f5f5f4; }
.pdp-lightbox__select[hidden] { display: none !important; }
.pdp-lightbox__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
}
.pdp-lightbox__thumb {
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 2px solid transparent;
  background: #1c1917;
  overflow: hidden;
  cursor: pointer;
}
.pdp-lightbox__thumb[aria-pressed="true"] { border-color: #fff; }
.pdp-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .pdp-lightbox__body { padding: 52px 16px 16px; }
  .pdp-lightbox__nav--prev { right: 6px; }
  .pdp-lightbox__nav--next { left: 6px; }
}

.pdp-panel { display: grid; gap: 18px; align-content: start; min-width: 0; max-width: 100%; }
.pdp-panel .eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #78716c; }
.pdp-panel h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; font-weight: 500; }
.pdp-panel .price { font-size: 1.35rem; font-weight: 700; margin: 0; display: inline-flex; width: auto; }

.price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.15rem;
  width: 100%;
  max-width: 100%;
  text-align: right;
  direction: rtl;
}
.price-stack__row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: auto;
  direction: rtl;
}
.price-compare {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: #a8a29e;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-align: right;
}
.price-compare .ivy-price,
.price-compare .ivy-price__num {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.price-current {
  margin: 0;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}
.price-off-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  padding: 0 0.45rem;
  border-radius: 4px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}
.price-countdown {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b91c1c;
  line-height: 1.3;
  text-align: right;
  width: 100%;
}
.price-stack--pdp {
  gap: 0.35rem;
}
.price-stack--pdp .price-compare {
  font-size: 0.9rem;
}
.price-stack--pdp .price-off-badge {
  min-height: 1.5rem;
  padding: 0 0.55rem;
  font-size: 0.75rem;
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  direction: rtl;
}
.product-card__footer .price-stack {
  min-width: 0;
  width: auto;
  flex: 1 1 auto;
  align-items: flex-end;
}
.product-card__link h3 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-card__view {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: #111;
  color: #fff;
  line-height: 1;
}
.product-card__view svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}
.product-card__view:hover {
  background: rgb(30, 30, 30);
}

/* Stacked تومان mark (see fonts-ivy-toman.css .toman-sym) */
html[lang="fa"] .price,
html[lang="fa"] .price-current,
html[lang="fa"] .price-compare,
html[lang="fa"] .cart-drawer__price,
html[lang="fa"] .cart-page-line__price,
html[lang="fa"] .wishlist-card__price,
html[lang="fa"] .checkout-option__price,
html[lang="fa"] .order-row__total {
  font-variant-ligatures: none;
}


.attr-group { display: grid; gap: 10px; }
.attr-group__label { font-weight: 700; }
.attr-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.attr-options { display: flex; flex-wrap: wrap; gap: 8px; }

.pdp-size-guide-link {
  border: 0;
  background: transparent;
  color: #57534e;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}
.pdp-size-guide-link:hover { color: #111; }
.pdp-size-guide-link--fallback {
  justify-self: start;
  margin-top: -6px;
}
.pdp-size-guide-link[hidden] { display: none !important; }

.pdp-return-trust {
  margin: -4px 0 0;
  font-size: 0.875rem;
  color: #57534e;
}
.pdp-return-trust a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-return-trust a:hover { color: #111; }

.pdp-tryon-dialog {
  border: 0;
  padding: 0;
  max-width: min(920px, calc(100vw - 24px));
  width: 100%;
  background: transparent;
}
.pdp-tryon-dialog::backdrop { background: rgba(0,0,0,.55); }
.pdp-tryon-dialog__card {
  background: #fff;
  border: 1px solid #111;
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
}
.pdp-tryon-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e7e5e4;
}
.pdp-tryon-dialog__head h2 { margin: 0; font-size: 1.1rem; }
.pdp-tryon-dialog__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.pdp-tryon-dialog__body { padding: 16px; overflow: auto; }
.pdp-tryon-dialog__hint { margin: 0 0 12px; color: #57534e; font-size: .9rem; }
.pdp-tryon-dialog__frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #f5f5f4;
}
.pdp-tryon-dialog__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.pdp-tryon-dialog__gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f5f5f4;
}

.pdp-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 6px;
}
.pdp-fit-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #d6d3d1;
  background: #fafaf9;
  color: #44403c;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.pdp-size-guide-dialog {
  border: 0;
  padding: 0;
  max-width: min(560px, calc(100vw - 24px));
  width: 100%;
  background: transparent;
}
.pdp-size-guide-dialog::backdrop {
  background: rgba(28, 25, 23, 0.45);
}
.pdp-size-guide-dialog__card {
  background: #fff;
  border: 1px solid #e7e5e4;
  padding: 18px 18px 20px;
  max-height: min(80vh, 720px);
  overflow: auto;
}
.pdp-size-guide-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.pdp-size-guide-dialog__head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}
.pdp-size-guide-dialog__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #57534e;
  min-width: 44px;
  min-height: 44px;
}
.pdp-size-guide-dialog__body {
  display: grid;
  gap: 16px;
}
.pdp-size-guide__notes {
  margin: 0;
  color: #44403c;
  line-height: 1.7;
}
.pdp-size-guide__model {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #57534e;
  font-size: 0.9375rem;
}
.pdp-size-guide__section { display: grid; gap: 10px; }
.pdp-size-guide__section-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}
.pdp-size-guide__unit {
  font-weight: 500;
  color: #78716c;
}
.pdp-size-guide__table-wrap {
  overflow-x: auto;
  border: 1px solid #e7e5e4;
}
.pdp-size-guide__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.pdp-size-guide__table th,
.pdp-size-guide__table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7e5e4;
  text-align: center;
  white-space: nowrap;
}
.pdp-size-guide__table th {
  background: #fafaf9;
  font-weight: 700;
  color: #44403c;
}
.pdp-size-guide__table tr:last-child td { border-bottom: 0; }
.pdp-size-guide__more {
  margin: 0;
  font-size: 0.875rem;
}
.pdp-size-guide__more a {
  color: #57534e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-size-guide__more a:hover { color: #111; }

.pdp-review-form__fit {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pdp-review-form__fit legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #44403c;
}
.pdp-fit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-fit-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid #d6d3d1;
  background: #fff;
  cursor: pointer;
  font-size: 0.8125rem;
}
.pdp-fit-option:has(input:checked) {
  border-color: #111;
  outline: 1px solid #111;
}
.pdp-fit-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pdp-review__fit {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: #57534e;
  font-weight: 600;
}

.attr-swatch,
.attr-size {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid #d6d3d1;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.attr-swatch[aria-pressed="true"],
.attr-size[aria-pressed="true"] {
  border-color: #111;
  outline: 1px solid #111;
}
.attr-swatch:disabled,
.attr-size:disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}
.attr-swatch.is-soft-unavailable,
.attr-size.is-soft-unavailable {
  opacity: 0.45;
  text-decoration: line-through;
  cursor: pointer;
}
.attr-swatch__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgb(0 0 0 / 18%);
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
}

.pdp-add {
  width: 100%;
  min-height: 52px;
}
.pdp-buy-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.pdp-buy-row .pdp-add {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
.pdp-wishlist {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  min-height: 52px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pdp-stock-alert {
  flex: 0 0 auto;
  min-height: 52px;
  white-space: nowrap;
  padding-inline: 14px;
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .pdp-buy-row {
    flex-wrap: wrap;
  }
  .pdp-stock-alert {
    flex: 1 1 calc(100% - 62px);
    order: 3;
  }
  .pdp-wishlist {
    order: 2;
  }
  .pdp-add {
    order: 1;
    flex: 1 1 100%;
  }
}
.pdp-wishlist .wishlist-button__icon {
  width: 22px;
  height: 22px;
}

.stock-alert-dialog {
  border: 0;
  padding: 0;
  width: min(92vw, 420px);
  max-width: 92vw;
  margin: auto;
  background: transparent;
}
.stock-alert-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}
.stock-alert-dialog__card {
  background: #fff;
  border: 1px solid #111;
  padding: 1.25rem 1.25rem 1rem;
  display: grid;
  gap: 0.85rem;
}
.stock-alert-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.stock-alert-dialog__head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.stock-alert-dialog__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #111;
}
.stock-alert-dialog__hint,
.stock-alert-dialog__empty,
.stock-alert-dialog__status {
  margin: 0;
  font-size: 0.9rem;
  color: #57534e;
  line-height: 1.7;
}
.stock-alert-dialog__list {
  display: grid;
  gap: 0.5rem;
  max-height: 16rem;
  overflow: auto;
}
.stock-alert-dialog__option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid rgb(0 0 0 / 12%);
  padding: 0.75rem 0.85rem;
  cursor: pointer;
}
.stock-alert-dialog__option input {
  margin-top: 0.25rem;
  flex: 0 0 auto;
}
.stock-alert-dialog__option-body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 auto;
}
.stock-alert-dialog__option-title {
  display: block;
  font-weight: 500;
  color: #111;
  line-height: 1.6;
  word-spacing: 0.06em;
}
.stock-alert-dialog__option-meta {
  display: block;
  font-size: 0.8rem;
  color: #78716c;
  line-height: 1.5;
}
.stock-alert-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}
.stock-alert-dialog__status.is-ok { color: #166534; }
.stock-alert-dialog__status.is-error { color: #9f1d1d; }
.pdp-error { color: #9f1d1d; font-size: 0.9rem; }
.pdp-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #57534e;
  cursor: pointer;
  font: inherit;
}
.pdp-rating-link:hover { color: #111; }
.pdp-rating-link__stars {
  color: #b45309;
  letter-spacing: 1px;
  font-size: .95rem;
}
.pdp-rating-link__avg {
  font-weight: 700;
  color: #111;
}
.pdp-rating-link__count {
  font-size: .85rem;
  color: #78716c;
}

.pdp-details {
  margin-top: 6px;
  border-top: 1px solid #e7e5e4;
  padding-top: 14px;
  min-width: 0;
  max-width: 100%;
}
.pdp-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid #e7e5e4;
  margin-bottom: 16px;
}
.pdp-tabs::-webkit-scrollbar {
  display: none;
}
.pdp-tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: #a8a29e;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
@media (max-width: 639px) {
  .pdp-tab {
    padding: 0 12px;
  }
}
.pdp-tab.is-active {
  color: #111;
  border-bottom-color: #111;
}
.pdp-tab__badge {
  display: inline-flex;
  min-width: 1.4rem;
  height: 1.4rem;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  color: #57534e;
  font-size: .75rem;
  font-weight: 700;
}
.pdp-tab-panel {
  min-width: 0;
  max-width: 100%;
}
.pdp-tab-panel[hidden] { display: none !important; }
.pdp-copy {
  color: #57534e;
  line-height: 1.8;
  max-width: 72ch;
}
.pdp-short-copy {
  line-height: 1.7;
  max-width: 54ch;
}
.pdp-short-copy p {
  margin: 0;
}
.pdp-short-copy p + p {
  margin-top: 0.55em;
}
.pdp-empty {
  margin: 0;
  color: #78716c;
  line-height: 1.7;
}
.pdp-related {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}
.pdp-related #pdp-related-slider {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
/* PDP related: always ~2.5 cards with peek (overrides home-rail 1.5/3.5/4.5) */
.pdp-related .product-slider__slide {
  flex: 0 0 calc((100% - 12px) / 2.5);
  min-width: 0;
}
.pdp-related__more {
  margin: 16px 0 0;
  padding-bottom: 4px;
  font-size: .9rem;
  text-align: center;
}
.pdp-related__more a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-reviews {
  display: grid;
  gap: 28px;
}
.pdp-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e7e5e4;
}
.pdp-reviews__score {
  display: grid;
  gap: 2px;
  min-width: 88px;
}
.pdp-reviews__score strong {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 800;
  color: #111;
}
.pdp-reviews__score span {
  color: #78716c;
  font-size: .9rem;
}
.pdp-reviews__meta {
  display: grid;
  gap: 6px;
}
.pdp-reviews__stars {
  color: #b45309;
  letter-spacing: 2px;
  font-size: 1.1rem;
}
.pdp-reviews__meta p {
  margin: 0;
  color: #57534e;
  font-size: .92rem;
}
.pdp-reviews__write {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e7e5e4;
}
.pdp-reviews__write-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.pdp-reviews__hint,
.pdp-reviews__login {
  margin: 0;
  color: #78716c;
  font-size: .9rem;
  line-height: 1.7;
}
.pdp-reviews__login a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-review-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.pdp-review-form__stars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-star-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #57534e;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
}
.pdp-star-option:has(input:checked) {
  border-color: #111;
  color: #111;
  background: #fafaf9;
}
.pdp-star-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pdp-review-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #d6d3d1;
  background: transparent;
  font: inherit;
  line-height: 1.7;
  color: #111;
}
.pdp-review-form textarea:focus {
  outline: none;
  border-bottom-color: #111;
}
.pdp-review-form__status {
  margin: 0;
  font-size: .9rem;
  color: #57534e;
}
.pdp-review-form__status.is-error { color: #9f1d1d; }
.pdp-review-form__status.is-ok { color: #166534; }
.pdp-reviews__list {
  display: grid;
  gap: 0;
}
.pdp-review {
  padding: 18px 0;
  border-bottom: 1px solid #e7e5e4;
}
.pdp-review:last-child { border-bottom: 0; }
.pdp-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
}
.pdp-review__stars {
  color: #b45309;
  letter-spacing: 1px;
}
.pdp-review__buyer {
  font-weight: 700;
  color: #111;
}
.pdp-review__date {
  color: #a8a29e;
  font-size: .85rem;
  margin-inline-start: auto;
}
.pdp-review__body {
  margin: 0;
  color: #44403c;
  line-height: 1.8;
  white-space: pre-line;
}
.pdp-reviews__more {
  justify-self: start;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pdp-reviews__more:hover {
  background: #111;
  color: #fff;
}
.pdp-reviews__more[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cms-prose {
  max-width: 72ch;
  line-height: 1.9;
}

.cms-prose p + p {
  margin-top: 1em;
}

.cms-prose ul,
.cms-prose ol {
  padding-inline-start: 1.25em;
  margin-block: 0.75em;
}

.cms-prose a {
  text-decoration: underline;
}

.cms-prose img {
  max-width: 100%;
  height: auto;
}

/* Product rail arrows أ¢â‚¬â€‌ always visible (theme default hides until hover) */
.slider-arrow {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  opacity: 1 !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}
.slider-arrow[hidden] { display: none !important; }
.slider-arrow--prev { inset-inline-start: 8px; }
.slider-arrow--next { inset-inline-end: 8px; }
@media (min-width: 1024px) {
  .slider-arrow--prev { inset-inline-start: 14px; }
  .slider-arrow--next { inset-inline-end: 14px; }
}

/* Account dashboard layout — sidebar + main */
.account-layout{
  display:grid;
  gap:24px;
  align-items:start;
}
@media(min-width:900px){
  .account-layout{grid-template-columns:220px minmax(0,1fr);gap:32px}
}
.account-sidebar{display:grid;gap:12px}
.account-mobile-nav{display:block}
@media(min-width:900px){.account-mobile-nav{display:none}}
.account-section-select{
  width:100%;
  min-height:44px;
  border:1px solid #111;
  background:#fff;
  padding:10px 12px;
  font:inherit;
  font-weight:700;
  color:#111;
}
.account-sidebar__nav{display:none}
@media(min-width:900px){
  .account-sidebar__nav{
    display:grid;
    gap:4px;
    position:sticky;
    top:88px;
    align-content:start;
    padding-bottom:16px;
    border-bottom:0;
  }
}
.account-sidebar__label{
  margin:12px 0 4px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#a8a29e;
}
.account-sidebar__label:first-child{margin-top:0}
.account-sidebar__group{display:grid;gap:2px}
.account-sidebar__nav a,
.account-logout{
  display:flex;
  align-items:center;
  gap:8px;
  color:#111;
  text-decoration:none;
  font-size:.9rem;
  font-weight:600;
  background:none;
  border:0;
  cursor:pointer;
  padding:8px 10px;
  text-align:right;
  width:100%;
}
.account-sidebar__nav a:hover,
.account-logout:hover{background:#f5f5f4}
.account-sidebar__nav a.is-active{
  font-weight:800;
  background:#111;
  color:#fff;
}
.account-sidebar__nav a.is-active .dot{
  display:inline-block;
  width:6px;
  height:6px;
  background:#dfff00;
  border-radius:50%;
  flex:0 0 auto;
}
.account-sidebar__group--util a,
.account-sidebar__group--util .account-logout{
  color:#57534e;
  font-weight:600;
  font-size:.85rem;
}
.account-sidebar__group--util .account-logout{
  margin-top:8px;
  border-top:1px solid #e7e5e4;
  padding-top:14px;
  color:#111;
}
.account-main{display:grid;gap:20px;min-width:0}
.account-welcome{display:grid;gap:4px}
.account-welcome h1{margin:0}
.account-snapshots{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:899px){
  .account-snapshots{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:639px){
  .account-snapshots{grid-template-columns:1fr}
}
.account-snapshot{
  border:1px solid #e7e5e4;
  background:#fff;
  padding:16px 18px;
  display:grid;
  gap:6px;
}
.account-snapshot__label{color:#78716c;font-size:.82rem;font-weight:600}
.account-snapshot__value{font-size:1.35rem;font-weight:800;line-height:1.2}
.account-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.account-section-head h2{margin:0;font-size:1.05rem}
.account-section-head a{font-size:.9rem;font-weight:700;color:#111;text-decoration:none}
.account-section-head a:hover{text-decoration:underline}
.account-quick-actions{display:grid;gap:10px}
.account-quick-actions a{
  color:#111;
  font-weight:700;
  text-decoration:none;
  padding:8px 0;
  border-bottom:1px solid #e7e5e4;
}
.account-quick-actions a:last-child{border-bottom:0}
.account-quick-actions a:hover{text-decoration:underline}
.order-row{
  display:grid;
  gap:10px 16px;
  align-items:center;
  border:1px solid #e7e5e4;
  background:#fff;
  padding:16px 18px;
  list-style:none;
}
@media(min-width:640px){
  .order-row{grid-template-columns:minmax(0,1.4fr) auto auto}
}
.order-row__main{display:grid;gap:4px}
.order-row__number{font-size:1rem}
.order-row__total{font-size:1rem}
.order-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  padding:4px 10px;
  font-size:.75rem;
  font-weight:700;
  background:#f5f5f4;
  color:#44403c;
}
.order-status--ok{background:#dfff00;color:#111}
.order-status--pending{background:#fef3c7;color:#92400e}
.order-status--muted{background:#e7e5e4;color:#78716c}
.order-status--neutral{background:#f5f5f4;color:#44403c}
.wishlist-grid{margin-top:4px}
.wishlist-card{
  display:grid;
  gap:10px;
  border:1px solid #e7e5e4;
  background:#fff;
  padding:0 0 12px;
}
.wishlist-card__link{display:grid;gap:10px;text-decoration:none;color:inherit}
.wishlist-card__media{
  aspect-ratio:3/4;
  overflow:hidden;
  background:#f5f5f4;
}
.wishlist-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.wishlist-card__placeholder{width:100%;height:100%;background:#e7e5e4}
.wishlist-card__body{display:grid;gap:4px;padding:0 12px}
.wishlist-card__price{font-weight:700}
.wishlist-card__remove{
  margin-inline:12px;
  justify-self:start;
  color:#78716c;
}
.wishlist-card__remove.is-busy{opacity:.5;pointer-events:none}

.auth-card {
  max-width: 420px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
  padding: 28px 20px;
  border: 1px solid #e7e5e4;
  background: #fff;
}
.auth-card .field { display: grid; gap: 6px; }
.auth-card label { font-weight: 700; font-size: 0.85rem; }
.auth-card .input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d6d3d1;
  background: #fff;
  font-size: 1rem;
}
.auth-card .status { min-height: 1.25rem; font-size: 0.9rem; color: #78716c; }
.auth-card .status.is-error { color: #9f1d1d; }
.auth-card .status.is-ok { color: #166534; }

.commerce-empty {
  display: grid;
  gap: 16px;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed #d6d3d1;
  background: #fafaf9;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
}
@media (min-width: 640px) {
  .footer__bottom-inner { flex-direction: row; gap: 16px; }
}

/* Auth / account / shop / mega / checkout / about / contact */
.btn-black{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;background:#111;color:#fff;border:0;font-weight:700;text-decoration:none;width:100%;cursor:pointer}
.btn-black--sm{min-height:40px;width:auto}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;background:#fff;color:#111;border:1px solid #111;font-weight:700;text-decoration:none;width:100%;cursor:pointer;margin-top:8px}
.auth-tabs{display:flex;gap:18px;margin-bottom:8px}
.auth-tab{background:none;border:0;padding:0;color:#a8a29e;font-weight:700;text-transform:uppercase;cursor:pointer}
.auth-tab.is-active{color:#111}
.auth-tab.is-active::before{content:"أ¢â‚¬آ¢ ";}
/* Shared storefront fields أ¢â‚¬â€‌ underline style */
.field{display:grid;gap:4px;min-width:0}
.field>label{
  display:block;
  margin:0;
  font-size:.8rem;
  font-weight:600;
  line-height:1.4;
  color:#78716c;
}
.field-optional{
  font-weight:500;
  color:#a8a29e;
  margin-inline-start:.35rem;
}
.field-required{
  font-weight:500;
  color:#9f1d1d;
  margin-inline-start:.35rem;
}
.underline-field input,
.underline-field select,
.underline-field textarea,
.select-wrap--line select{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:0 !important;
  border-bottom:1px solid #111 !important;
  border-radius:0 !important;
  min-height:46px;
  background:transparent !important;
  box-shadow:none !important;
  padding:10px 0;
  margin:0;
  color:#111;
  font:inherit;
  font-size:1rem;
  line-height:1.5;
  appearance:none;
  -webkit-appearance:none;
}
.underline-field textarea{
  min-height:140px;
  line-height:1.75;
  padding-top:10px;
  resize:vertical;
}
.underline-field input::placeholder,
.underline-field textarea::placeholder,
.select-wrap--line select:invalid{color:#a8a29e}
.underline-field input:focus,
.underline-field select:focus,
.underline-field textarea:focus,
.select-wrap--line select:focus{
  outline:none;
  border-bottom-width:2px !important;
  border-bottom-color:#111 !important;
}
.select-wrap{
  position:relative;
  display:block;
  min-width:0;
}
.select-wrap--line::after{
  content:"";
  position:absolute;
  top:50%;
  inset-inline-end:2px;
  width:7px;
  height:7px;
  border-inline-end:1.5px solid #111;
  border-block-end:1.5px solid #111;
  transform:translateY(-70%) rotate(45deg);
  pointer-events:none;
}
.select-wrap--line select{
  padding-inline-end:1.75rem;
  cursor:pointer;
  background-image:none !important;
}
.checkbox-row{display:inline-flex;align-items:center;gap:8px;font-size:.95rem;flex-wrap:nowrap}
.checkbox-row input[type="checkbox"]{flex:0 0 auto;width:1rem;height:1rem;margin:0;vertical-align:middle}
.account-grid-2{display:grid;gap:16px}
@media(min-width:768px){.account-grid-2{grid-template-columns:1fr 1fr}}
.account-card{border:1px solid #e7e5e4;background:#fff;padding:24px;display:grid;gap:12px}
.account-card--wide{width:100%}
.support-page-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.support-ticket-list{display:grid;gap:10px}
.support-ticket-row{
  display:grid;
  gap:6px;
  width:100%;
  text-align:right;
  border:1px solid #e7e5e4;
  background:#fff;
  padding:14px 16px;
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.support-ticket-row:hover{border-color:#a8a29e}
.support-ticket-row__top{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.support-ticket-row__number{font-weight:700;direction:ltr}
.support-ticket-row__status{font-size:.9rem;color:#57534e}
.support-ticket-row__subject{margin:0;font-weight:600}
.support-ticket-row__meta{margin:0;font-size:.85rem;color:#78716c}
.support-create-form__message{grid-column:1/-1}
.support-create-form textarea,
.support-reply-form textarea{width:100%;min-height:96px;resize:vertical}
.support-detail__header{display:grid;gap:10px}
.support-thread{display:grid;gap:10px;max-height:420px;overflow:auto;padding:4px 0}
.support-thread .ivy-chat__msg{max-width:92%}
.support-reply-form{display:grid;gap:10px}
.support-section-title{margin:0;font-size:1.05rem;font-weight:600}
.account-page[data-account-view="support"] .account-body{display:grid;gap:20px}
.support-faq-list{display:grid;gap:8px}
.support-faq-item{border:1px solid #e7e5e4;background:#fff}
.support-faq-item__q{
  width:100%;
  text-align:right;
  border:0;
  background:transparent;
  padding:12px 14px;
  font:inherit;
  cursor:pointer;
  font-weight:600;
}
.support-faq-item__a{display:none;padding:0 14px 12px;color:#44403c;line-height:1.7}
.support-faq-item.is-open .support-faq-item__a{display:grid;gap:10px}
.support-faq-item__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.support-faq-actions,.support-form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.support-like-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #e7e5e4;
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
  cursor:pointer;
  font:inherit;
  color:#57534e;
}
.support-like-btn:hover{border-color:#a8a29e}
.support-like-btn.is-liked,
.support-like-btn.is-liked .support-like-icon{color:#b91c1c;border-color:#fecaca}
.support-like-icon{display:block}
.support-editor{
  border:1px solid #e7e5e4;
  background:#fafaf9;
  display:grid;
  gap:0;
  overflow:hidden;
}
.support-editor__label{
  padding:10px 12px 0;
  font-size:.9rem;
  color:#57534e;
}
.support-editor__textarea{
  width:100%;
  border:0;
  background:transparent;
  padding:10px 12px 12px;
  font:inherit;
  resize:vertical;
  min-height:96px;
  outline:none;
}
.support-dropzone{
  margin:0 12px 12px;
  border:1.5px dashed #d6d3d1;
  background:#fff;
  padding:14px;
  cursor:pointer;
  display:grid;
  gap:10px;
  transition:border-color .15s,background .15s;
}
.support-dropzone:hover,
.support-dropzone.is-dragover{
  border-color:#111;
  background:#fffef5;
}
.support-dropzone__hint{margin:0;color:#78716c;font-size:.9rem;text-align:center}
.support-order-empty{margin:4px 0 0;font-size:.85rem}
#support-order{
  width:100%;
  max-width:100%;
  border:1px solid #e7e5e4;
  background:#fff;
  padding:10px 12px;
  font:inherit;
  direction:rtl;
  text-align:right;
  box-sizing:border-box;
}
#support-order option{
  direction:rtl;
  text-align:right;
  white-space:normal;
  padding:6px 8px;
}
.support-attach-chips{display:flex;flex-wrap:wrap;gap:8px}
.support-attach-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #d6d3d1;
  background:#f5f5f4;
  padding:4px 8px 4px 4px;
  font-size:.85rem;
  max-width:100%;
}
.support-attach-chip.is-image{padding-inline-start:4px}
.support-attach-chip__thumb{
  width:44px;
  height:44px;
  object-fit:cover;
  border-radius:4px;
  display:block;
  background:#e7e5e4;
}
.support-attach-chip__voice{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  background:#111;
  color:#dfff00;
  font-size:.75rem;
  font-weight:700;
}
.support-attach-chip__name{
  max-width:140px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.support-attach-chip__remove{
  border:0;
  background:transparent;
  cursor:pointer;
  font:inherit;
  color:#9f1d1d;
  line-height:1;
  padding:2px 4px;
}
.support-editor__toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px 12px;
  border-top:1px solid #e7e5e4;
  background:#fff;
}
.support-mic-btn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid #111;
  background:#111;
  color:#dfff00;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.support-mic-btn:hover{opacity:.9}
.support-rec-bar{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#111;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  min-height:40px;
}
.support-rec-bar__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ef4444;
  animation:support-rec-pulse 1s ease-in-out infinite;
}
@keyframes support-rec-pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(.85)}
}
.support-rec-bar__time{font-variant-numeric:tabular-nums;direction:ltr;min-width:2.5rem}
.support-rec-bar__stop{
  border:0;
  background:#dfff00;
  color:#111;
  font:inherit;
  font-size:.85rem;
  font-weight:700;
  padding:4px 10px;
  border-radius:999px;
  cursor:pointer;
}
.support-rec-bar__cancel{
  border:0;
  background:transparent;
  color:#fff;
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
  padding:0 4px;
}
.support-msg-attachments{display:grid;gap:8px;margin-top:8px}
.support-msg-thumb img{
  max-width:180px;
  max-height:140px;
  object-fit:cover;
  border-radius:6px;
  display:block;
  border:1px solid #e7e5e4;
}
.support-msg-voice audio{width:100%;max-width:280px}
.support-msg-file{color:#1c1917;text-decoration:underline}
.support-create-form,
.support-reply-form{display:grid;gap:14px}
.account-gate{display:grid;gap:12px;place-items:center;padding:48px 16px;border:1px dashed #d6d3d1}
.detail-list{display:grid;gap:14px}
.detail-list .muted,.muted{color:#78716c}
.info-banner{background:#f5f5f4;padding:14px 16px;border-radius:4px}
.empty-center{text-align:center}
.order-list,.address-list{display:grid;gap:12px;list-style:none;padding:0;margin:0}
.form-grid{display:grid;gap:12px}
@media(min-width:640px){.form-grid{grid-template-columns:1fr 1fr}}
.club-page .account-body{display:grid;gap:40px}
.club-hero{text-align:center;display:grid;gap:10px;justify-items:center}
.club-hero h1{margin:0 0 4px;font-size:1.35rem}
.club-tier{display:inline-block;margin:0;background:#dfff00;padding:8px 16px;border-radius:999px;font-weight:700}
.club-points{display:inline-block;margin:0;background:#dfff00;padding:22px 34px;border-radius:16px;font-size:1.6rem;font-weight:800;line-height:1.2}
.club-section{display:grid;gap:16px}
.club-section h2{margin:0;font-size:1.1rem;font-weight:800}
.club-earn-grid{display:grid;gap:16px}
@media(min-width:768px){.club-earn-grid{grid-template-columns:repeat(2,1fr);gap:16px}}
.club-earn-card,.club-how>div{border:1px solid #111;padding:20px 18px;background:#fff;display:grid;gap:8px;align-content:start}
.club-earn-card h3,.club-how>div strong{margin:0;font-size:1rem;font-weight:800}
.club-earn-card p,.club-how>div p{margin:0;color:#57534e;line-height:1.6}
.club-how{display:grid;gap:16px}
@media(min-width:768px){.club-how{grid-template-columns:1fr 1fr}}
.club-table{width:100%;border-collapse:collapse}
.club-table th{background:#111;color:#fff;padding:8px 12px;text-align:right;font-weight:700}
.club-table td{border-bottom:1px solid #e7e5e4;padding:8px 12px;vertical-align:middle;line-height:1.4}
.club-table .badge-ok{display:inline-block;line-height:1.3;border-radius:999px}

.referral-card{border:1px solid #111;padding:20px 18px;background:#fff;display:grid;gap:14px}
.referral-card__desc{margin:0;color:#57534e;line-height:1.7}
.referral-share{display:flex;gap:10px;flex-wrap:wrap}
.referral-share__input{flex:1 1 220px;min-width:0;border:1px solid #d6d3d1;padding:10px 12px;font-size:.9rem;background:#fafaf9;border-radius:4px}
.referral-card__hint{margin:0;min-height:1.1em;font-size:.82rem;color:#16a34a}
.referral-stats{display:flex;gap:24px;flex-wrap:wrap}
.referral-stats>div{display:grid;gap:2px;text-align:center}
.referral-stats strong{font-size:1.25rem;font-weight:800}
.referral-stats span{font-size:.78rem;color:#78716c}
.wallet-panel{text-align:center}
.wallet-balance{
  display:inline-block;
  margin-inline:auto;
  background:#dfff00;
  padding:24px 36px;
  border-radius:16px;
  font-size:1.6rem;
  font-weight:800;
}
.club-stats{display:grid;gap:12px;justify-items:center;margin-block:12px}
.wallet-hero{
  text-align:center;
  display:grid;
  gap:10px;
  padding:28px 20px;
  border:1px solid #111;
  background:#fff;
  margin-bottom:16px;
}
.wallet-hero__label{margin:0;font-weight:700;color:#57534e}
.wallet-hero__balance{
  margin:0;
  display:inline-block;
  margin-inline:auto;
  background:#dfff00;
  padding:22px 34px;
  border-radius:16px;
  font-size:1.7rem;
  font-weight:800;
  line-height:1.2;
}
.wallet-hero__note{margin:0}
.wallet-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:16px;
  border-bottom:1px solid #e7e5e4;
  padding-bottom:8px;
}
.wallet-tab{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  color:#57534e;
}
.wallet-tab.is-active{
  color:#111;
  border-color:#111;
  background:#fff;
}
.wallet-tab-panel{display:none}
.wallet-tab-panel.is-active{display:grid;gap:16px}
.wallet-actions{
  display:grid;
  gap:16px;
  margin-bottom:16px;
}
@media(min-width:768px){
  .wallet-actions{grid-template-columns:1fr 1fr}
}
.wallet-actions .account-card h2{margin:0 0 4px;font-size:1.05rem}
.wallet-form{display:grid;gap:12px;margin-top:8px;max-width:none}
.wallet-form .field{display:grid;gap:6px}
.wallet-form input{
  border:1px solid #111;
  padding:10px 12px;
  background:#fff;
  width:100%;
}
.wallet-table td.is-credit{color:#166534;font-weight:700}
.wallet-table td.is-debit{color:#b91c1c;font-weight:700}
.checkout-wallet-field{margin-top:12px}
.badge-ok{background:#dfff00;padding:2px 8px;font-size:.75rem;font-weight:700}
.breadcrumb-bar{max-width:var(--page-width,1440px);margin-inline:auto;padding-block:20px 12px;padding-inline:16px}
@media(min-width:1024px){.breadcrumb-bar{padding-inline:24px}}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;font-size:.8rem;line-height:1.4;color:#57534e}
.breadcrumb a{color:#57534e;text-decoration:none;transition:color .15s ease}
.breadcrumb a:hover{color:#1c1917;text-decoration:underline}
.breadcrumb [aria-current="page"]{color:#78716c;max-width:40ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.breadcrumb-sep{color:#a8a29e;font-size:.7rem;line-height:1;user-select:none}
[dir="rtl"] .breadcrumb-sep{display:inline-block;transform:scaleX(-1)}
.shop-layout,
.shop-with-filters,
.shop-results,
.shop-filters{
  min-width:0;
  max-width:100%;
}
.shop-with-filters{display:grid;gap:24px}
.shop-results-header{margin-bottom:20px;padding-bottom:16px;padding-inline-end:8px;border-bottom:1px solid #e7e5e4;display:grid;gap:14px;min-width:0;max-width:100%}
.shop-results-header__top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}
.shop-results-header__copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.shop-results-header__title{margin:0;font-size:clamp(1.35rem,2.4vw,1.75rem);font-weight:700;line-height:1.25;letter-spacing:-0.01em}
.shop-results-header__count{margin:0;color:#78716c;font-size:.92rem;font-weight:600;white-space:nowrap;padding-inline-end:4px}
.shop-filters-trigger{
  display:none;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-height:44px;
  padding:10px 14px;
  border:1px solid #111;
  background:#fff;
  color:#111;
  font-size:.88rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  cursor:pointer;
}
.shop-filters-trigger:hover{background:#f5f5f4}
.shop-filters-trigger.is-active,
.shop-filters-trigger[aria-expanded="true"]{background:#111;color:#fff}
.shop-filters-trigger svg{flex:0 0 auto;width:20px;height:20px}
.shop-filters-badge{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c2410c;
  flex:0 0 auto;
}
.shop-filters-trigger.is-active .shop-filters-badge,
.shop-filters-trigger[aria-expanded="true"] .shop-filters-badge{background:#fdba74}

/* Desktop default: in-flow sidebar (off-canvas is mobile-only below) */
.shop-filters{
  position:static;
  z-index:auto;
  display:block;
  pointer-events:auto;
  visibility:visible;
}
.shop-filters__scrim,
.shop-filters__head{display:none}
.shop-filters__sheet{
  position:static;
  width:auto;
  height:auto;
  background:transparent;
  box-shadow:none;
  transform:none;
  overflow:visible;
  display:block;
}
.shop-filters__close{
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  display:grid;
  place-items:center;
  cursor:pointer;
  color:#111;
  border-radius:50%;
}
.shop-filters__close:hover{background:#f3f3f3}
.shop-filters__body{margin:0;padding:0}

@media(min-width:900px){
  .shop-with-filters{grid-template-columns:240px minmax(0,1fr)}
}

/* Mobile only: aside becomes off-canvas drawer */
@media(max-width:899px){
  .shop-filters-trigger{display:inline-flex}
  .shop-filters{
    position:fixed;
    inset:0;
    z-index:100;
    pointer-events:none;
    visibility:hidden;
  }
  .shop-filters.is-open{
    pointer-events:auto;
    visibility:visible;
  }
  .shop-filters__scrim{
    display:block;
    position:absolute;
    inset:0;
    background:rgb(0 0 0 / 42%);
    opacity:0;
    transition:opacity .2s ease;
  }
  .shop-filters.is-open .shop-filters__scrim{opacity:1}
  .shop-filters__sheet{
    position:absolute;
    inset-block:0;
    inset-inline-start:0;
    width:min(360px,92vw);
    height:100%;
    background:#fff;
    box-shadow:15px 0 50px rgb(0 0 0 / 20%);
    display:flex;
    flex-direction:column;
    transform:translateX(-100%);
    transition:transform .25s ease;
    overflow:hidden;
  }
  [dir="rtl"] .shop-filters__sheet{
    box-shadow:-15px 0 50px rgb(0 0 0 / 20%);
    transform:translateX(100%);
  }
  .shop-filters.is-open .shop-filters__sheet,
  [dir="rtl"] .shop-filters.is-open .shop-filters__sheet{transform:translateX(0)}
  .shop-filters__head{
    display:flex;
    height:64px;
    padding:0 16px;
    border-bottom:1px solid #eee;
    align-items:center;
    justify-content:space-between;
    flex:0 0 auto;
    gap:12px;
  }
  .shop-filters__head strong{font-size:1.1rem}
  .shop-filters__body{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    padding:16px;
  }
}

.shop-size-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:10px 12px;min-width:0;max-width:100%}
.shop-size-chips__label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#57534e;flex:0 0 auto}
.shop-size-chips__list{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;flex:1 1 0;min-width:0;max-width:100%;padding-bottom:2px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.shop-size-chip{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 12px;border:1px solid #111;background:#fff;color:#111;text-decoration:none;font-size:.88rem;font-weight:700;white-space:nowrap;flex:0 0 auto}
.shop-size-chip:hover{background:#f5f5f4}
.shop-size-chip.is-active{background:#111;color:#fff;border-color:#111}
.shop-category-intro{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e7e5e4}
.shop-category-intro__title{margin:0 0 10px;font-size:1.45rem;font-weight:700;line-height:1.3}
.shop-category-intro__body{max-width:68ch;color:#44403c;font-size:.95rem}
.shop-results-header .shop-category-intro__body{margin:0}
.shop-category-intro__body > *:first-child{margin-top:0}
.shop-category-intro__body > *:last-child{margin-bottom:0}
.filter-accordion{border:1px solid #111;margin-bottom:8px;background:#fff}
.filter-accordion summary{padding:12px 14px;font-weight:700;text-transform:uppercase;cursor:pointer;list-style:none}
.filter-accordion summary::-webkit-details-marker{display:none}
.filter-accordion .select,.filter-accordion .input{width:calc(100% - 28px);margin:0 14px 14px;min-height:40px;border:1px solid #d6d3d1;padding:8px}
.filter-price-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 14px 10px}
.filter-price-row .input{width:100%;margin:0}
.filter-check{display:flex;align-items:center;gap:8px;margin:0 14px 12px;font-size:13px;cursor:pointer}
.filter-check input{width:16px;height:16px}
.filter-clear{display:block;text-align:center;margin-top:12px}
.product-grid--shop{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;max-width:100%}
.product-grid--shop > *,
[data-component="product-card"]{min-width:0;max-width:100%}
[data-component="product-card"] .color-swatch-slider,
[data-component="product-card"] .product-card__footer,
[data-component="product-card"] .price-stack{max-width:100%}
[data-component="product-card"] .color-swatch-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  min-width:1.375rem;
  height:1.375rem;
  padding:0 2px;
  font-size:.72rem;
  line-height:1;
  font-weight:600;
  color:#78716c;
  white-space:nowrap;
}
@media(min-width:768px){.product-grid--shop{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(min-width:1024px){.product-grid--shop{grid-template-columns:repeat(4,minmax(0,1fr))}}

.shop-pagination{display:grid;gap:16px;margin-top:28px;justify-items:center}
.shop-pagination__meta{margin:0;color:#78716c;font-size:.92rem}
.shop-load-more{max-width:360px}
.shop-load-more.is-busy{opacity:.7;pointer-events:none}
.shop-page-nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center}
.shop-page-nav--crawl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.shop-page-nav__list{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.shop-page-nav__num,.shop-page-nav__btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 12px;border:1px solid #d6d3d1;background:#fff;color:#111;text-decoration:none;font-weight:700}
.shop-page-nav__num.is-current{background:#111;color:#fff;border-color:#111}
.shop-page-nav__btn.is-disabled{opacity:.4;pointer-events:none}

.field-error{color:#9f1d1d;font-size:.85rem;margin:0;min-height:1.1em}
.field-meta{display:flex;justify-content:flex-end;color:#78716c;font-size:.8rem;margin-top:4px}
[aria-invalid="true"]{outline:1px solid #9f1d1d}

.auth-card--stepped{max-width:480px;gap:20px}
.auth-card__head{display:grid;gap:6px}
.auth-card__head h1{margin:0;font-size:1.5rem;font-weight:700}
.auth-steps{display:flex;gap:8px;justify-content:center}
.auth-steps__dot{width:8px;height:8px;border-radius:50%;background:#d6d3d1}
.auth-steps__dot.is-active,.auth-steps__dot.is-done{background:#111}
.auth-back{background:none;border:0;padding:0;margin-top:8px;color:#78716c;cursor:pointer;font-weight:600;text-align:right}
.auth-address{border:1px solid #e7e5e4;padding:16px;display:grid;gap:12px;margin-top:8px}
.auth-address legend{font-weight:700;padding:0 6px}
.otp-inputs{display:flex;gap:10px;justify-content:center;direction:ltr;unicode-bidi:isolate}
.otp-inputs input{
  box-sizing:border-box;
  width:52px;
  min-width:52px;
  height:56px;
  padding:0;
  margin:0;
  border:1px solid #111;
  background:#fff;
  color:#111;
  font-size:1.35rem;
  font-weight:700;
  line-height:1;
  text-align:center !important;
  direction:ltr;
  unicode-bidi:isolate;
  caret-color:#111;
  -moz-appearance:textfield;
  appearance:textfield;
}
.otp-inputs input:focus{
  outline:2px solid #111;
  outline-offset:2px;
  border-color:#111;
}
.otp-inputs input::-webkit-outer-spin-button,
.otp-inputs input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}

/* Immersive auth shell أ¢â‚¬â€‌ no site chrome */
body.template-auth,
body.is-chrome-hidden{background:#0f0f0f}
main.auth-main,
main.main--bare{min-height:100dvh;padding:0;margin:0}
.auth-shell{
  min-height:100dvh;
  display:grid;
  grid-template-columns:1fr;
}
@media(min-width:900px){
  .auth-shell{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)}
}
.auth-shell__visual{
  position:relative;
  min-height:34vh;
  background:
    linear-gradient(160deg,rgba(15,15,15,.35),rgba(15,15,15,.72)),
    url("/theme/images/auth-bg.png") center/cover no-repeat,
    url("/theme/images/auth-bg.svg") center/cover no-repeat,
    #1c1917;
  color:#fff;
  overflow:hidden;
}
@media(min-width:900px){
  .auth-shell__visual{min-height:100dvh}
}
.auth-shell__visual-veil{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at 30% 20%,rgba(223,255,0,.14),transparent 45%),
    linear-gradient(180deg,transparent 40%,rgba(0,0,0,.55));
  pointer-events:none;
}
.auth-shell__visual-inner{
  position:relative;z-index:1;
  display:grid;gap:12px;align-content:end;
  min-height:100%;
  padding:clamp(24px,4vw,48px);
}
.auth-shell__brand{
  font-size:clamp(2rem,5vw,3.4rem);
  font-weight:900;
  letter-spacing:.14em;
  color:#fff;
  text-decoration:none;
  line-height:1;
}
.auth-shell__tagline{
  margin:0;
  max-width:28ch;
  color:rgba(255,255,255,.82);
  font-size:1.05rem;
  line-height:1.7;
}
.auth-shell__panel{
  display:grid;
  align-content:center;
  gap:20px;
  padding:clamp(28px,5vw,56px) clamp(20px,4vw,48px);
  background:#fafaf9;
  min-height:66vh;
}
@media(min-width:900px){
  .auth-shell__panel{min-height:100dvh}
}
.auth-shell__panel-top{display:flex;justify-content:flex-start}
.auth-shell__home{
  color:#57534e;
  text-decoration:none;
  font-weight:700;
  font-size:.92rem;
}
.auth-shell__home:hover{color:#111}
.auth-card--xl{
  max-width:560px;
  width:100%;
  margin:0;
  padding:clamp(28px,4vw,40px);
  border:1px solid #e7e5e4;
  background:#fff;
  box-shadow:0 18px 50px rgba(17,17,17,.06);
}
.auth-card--xl .auth-card__head h1{font-size:clamp(1.7rem,3vw,2.15rem)}
.auth-card--xl .underline-field input,
.auth-card--xl .underline-field select{
  min-height:52px;
  font-size:1.05rem;
}
.auth-card--xl .btn-black,
.auth-card--xl .btn-outline{min-height:52px;font-size:1rem}
.auth-card--xl .otp-inputs input{width:56px;min-width:56px;height:60px;font-size:1.45rem}
.auth-panel{display:grid;gap:16px}

.account-skeleton{display:grid;gap:12px;padding:8px 0}
.account-skel-bar{height:72px;background:linear-gradient(90deg,#f5f5f4,#e7e5e4,#f5f5f4);background-size:200% 100%;animation:skel 1.2s linear infinite}
.account-skel-bar--lg{height:96px}
.account-skel-row{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:639px){.account-skel-row{grid-template-columns:1fr}}
@keyframes skel{0%{background-position:100% 0}100%{background-position:-100% 0}}

.track-split{
  display:grid;
  gap:clamp(28px,5vw,48px);
  align-items:start;
}
@media(min-width:900px){
  .track-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
.track-split__faq,
.track-form-section{min-width:0}
.track-split__faq .cb-section{margin:0;padding:0}
.track-form{display:grid;gap:26px;width:100%}
.track-form__submit{justify-self:start;min-width:10rem;border:0}
.track-empty{margin-top:20px;justify-items:start;text-align:right}
.track-empty .cb-actions{justify-content:flex-start}
.track-result{
  display:grid;
  gap:18px;
}
@media(min-width:900px){
  .track-result{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
}
.track-result[hidden]{display:none !important}
.track-panel{
  display:grid;
  gap:16px;
  padding-top:8px;
  border-top:1px solid #e7e5e4;
}
.track-panel__title{margin:0;font-size:1.05rem;font-weight:700}
.track-summary__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.track-summary__top h2{margin:0;font-size:1.35rem}
.track-status-badge{background:#dfff00;padding:6px 12px;font-weight:800;font-size:.85rem;white-space:nowrap}
.track-summary__meta{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.track-carrier{display:grid;gap:6px;color:#57534e}
.track-timeline{list-style:none;margin:0;padding:0;display:grid;gap:0}
.track-timeline__item{display:grid;grid-template-columns:20px 1fr;gap:12px;padding-bottom:18px;position:relative;color:#a8a29e}
.track-timeline__item:not(:last-child)::before{content:"";position:absolute;inset-inline-start:9px;top:18px;bottom:0;width:2px;background:#e7e5e4}
.track-timeline__dot{width:18px;height:18px;border-radius:50%;border:2px solid #d6d3d1;background:#fff;position:relative;z-index:1}
.track-timeline__item.is-done{color:#111}
.track-timeline__item.is-done .track-timeline__dot{background:#111;border-color:#111}
.track-timeline__item.is-current{color:#111;font-weight:700}
.track-timeline__item.is-current .track-timeline__dot{border-color:#111;background:#dfff00}

.size-tabs{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:72px;z-index:5;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);padding:10px 0;border-bottom:1px solid #e7e5e4}
.size-tabs a{display:inline-flex;min-height:36px;align-items:center;padding:0 14px;border:1px solid #111;text-decoration:none;color:#111;font-weight:700;font-size:.9rem;background:#fff}
.size-tabs a:hover{background:#111;color:#fff}

.gift-card-art{position:relative;overflow:hidden}
.gift-card-art__brand{font-size:.8rem;letter-spacing:.2em;font-weight:800}
.gift-card-art__label{opacity:.8}
.gift-card-art__amount{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800}
.gift-card-art__note{font-size:.85rem;opacity:.75}
.amount-chip{position:relative;min-width:120px;display:inline-flex;flex-direction:column;align-items:center;gap:4px}
.amount-chip__badge{position:absolute;top:-8px;inset-inline-end:-6px;background:#dfff00;color:#111;font-size:.65rem;font-weight:800;padding:2px 6px}
.amount-chip.is-popular{border-width:2px}
.gift-extra{
  border-top:1px solid #e7e5e4;
  background:transparent;
  padding:16px 0 4px;
  margin:8px 0;
}
.gift-extra summary{
  cursor:pointer;
  font-weight:700;
  margin:0 0 14px;
  padding:0;
  list-style:none;
}
.gift-extra summary::-webkit-details-marker{display:none}
.gift-extra__body{
  display:grid;
  gap:18px;
  padding:0;
  border-top:0;
}
.checkout-address-card{display:grid;gap:4px;padding:14px;border:1px solid #111;background:#fafaf9}
.checkout-new-address{display:grid;gap:12px}
.btn-outline--sm{min-height:40px;width:auto;margin-top:0;padding:8px 14px;font-size:.9rem}
.boxed-field input,
.boxed-field select,
.boxed-field textarea{
  width:100%;
  min-height:42px;
  border:1px solid #d6d3d1;
  background:#fff;
  padding:8px 12px;
  font:inherit;
  color:#111;
  outline:0;
}
.boxed-field textarea{min-height:72px;resize:vertical}
.boxed-field input:focus,
.boxed-field select:focus,
.boxed-field textarea:focus{border-color:#111}
.jalali-date-row{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) minmax(0,.9fr);
  gap:8px;
}
.jalali-date-row select{min-width:0}
.wishlist-button {
  position: relative;
  inset: auto;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  color: #111;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.product-card__actions {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-end: 0.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quick-add-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 12%);
  transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.quick-add-button:hover {
  background: rgb(30 30 30);
  transform: scale(1.05);
}

.quick-add-button:active {
  transform: scale(0.96);
}

.quick-add-button.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

.product-card__badges {
  position: absolute;
  inset-block-end: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.product-card__badge--sale {
  background: rgba(236, 235, 231, 0.88);
  color: #111;
}

.product-card__badge--hot {
  background: #111;
  color: #fff;
  letter-spacing: 0.04em;
}

.product-card__badge--oos {
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
}

[data-component="product-card"].is-oos img {
  opacity: 0.72;
}

.wishlist-button:hover {
  transform: scale(1.05);
}

.wishlist-button:active {
  transform: scale(0.96);
}

.wishlist-button__icon {
  width: 20px;
  height: 20px;
  display: block;
  overflow: visible;
}

.wishlist-button__outline {
  transition: opacity 0.18s ease;
}

.wishlist-button__fill {
  fill: currentColor;
  opacity: 0;
  transform: scale(0.55);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1.2, 0.36, 1);
}

.wishlist-button.is-active,
.wishlist-button[aria-pressed="true"] {
  color: #e11d48;
}

.wishlist-button.is-active .wishlist-button__outline,
.wishlist-button[aria-pressed="true"] .wishlist-button__outline {
  opacity: 0;
}

.wishlist-button.is-active .wishlist-button__fill,
.wishlist-button[aria-pressed="true"] .wishlist-button__fill {
  opacity: 1;
  transform: scale(1);
}

.wishlist-button.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

.wishlist-heart {
  /* legacy alias kept for any leftover markup */
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.auth-required-dialog {
  width: min(92vw, 420px);
  max-width: 92vw;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.auth-dialog {
  width: min(96vw, 560px);
  max-width: 96vw;
  max-height: min(92dvh, 860px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.auth-dialog::backdrop {
  background: rgb(0 0 0 / 50%);
}
.auth-dialog__panel {
  position: relative;
  max-height: min(92dvh, 860px);
  overflow: auto;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  box-shadow: 0 18px 50px rgb(0 0 0 / 18%);
}
.auth-dialog__close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: inline-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 8px 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
}
.auth-dialog__close:hover {
  background: #f5f5f4;
}
.auth-dialog__body {
  padding: 8px 16px 24px;
  clear: both;
}
.auth-dialog .auth-card {
  margin-inline: auto;
  box-shadow: none;
}
@media (max-width: 639px) {
  .auth-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
  }
  .auth-dialog__panel {
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
  }
  .auth-dialog .auth-card--xl {
    padding: 20px 12px 28px;
  }
}

.quick-add-modal {
  width: min(100vw, 860px);
  max-width: 100vw;
  height: auto;
  max-height: min(92dvh, 720px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.quick-add-modal::backdrop {
  background: rgb(0 0 0 / 45%);
}

.quick-add-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  max-height: min(92dvh, 720px);
  overflow: auto;
  box-shadow: 0 18px 50px rgb(0 0 0 / 18%);
}

.quick-add-modal__close {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 3;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  color: #111;
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}

.quick-add-modal__layout {
  display: grid;
  grid-template-columns: 1fr;
}

.quick-add-modal__media {
  position: relative;
  background: #eceae6;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.quick-add-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-add-modal__media-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgb(0 0 0 / 35%);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.quick-add-modal__body {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.1rem 1.25rem;
  align-content: start;
}

.quick-add-modal__loading {
  color: #78716c;
  font-size: 0.95rem;
}

.quick-add-modal__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
}

.quick-add-modal__price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.quick-add-modal__attrs {
  display: grid;
  gap: 1rem;
}

.quick-add-modal__add {
  width: 100%;
  min-height: 48px;
  margin-top: 0.75rem;
}

.quick-add-modal__add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.quick-add-modal__error {
  margin: 0;
  color: #9f1d1d;
  font-size: 0.9rem;
}

.quick-add-modal__link {
  display: inline-flex;
  width: fit-content;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #44403c;
}

@media (max-width: 767px) {
  .quick-add-modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 92dvh;
    margin: 0;
    inset: auto 0 0;
  }

  .quick-add-modal__panel {
    border-radius: 14px 14px 0 0;
    max-height: 92dvh;
  }
}

@media (min-width: 768px) {
  .quick-add-modal__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .quick-add-modal__media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .quick-add-modal__body {
    padding: 1.5rem 1.4rem 1.4rem;
  }

  .quick-add-modal__title {
    font-size: 1.35rem;
  }
}

.auth-required-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}

.auth-required-dialog__card {
  background: #fff;
  color: #111;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 1px solid #e7e5e4;
  box-shadow: 0 18px 50px rgb(0 0 0 / 18%);
}

.auth-required-dialog__card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.auth-required-dialog__card p {
  margin: 0 0 1.15rem;
  color: #57534e;
  line-height: 1.7;
}

.auth-required-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
}

.auth-required-dialog__actions .btn-black,
.auth-required-dialog__actions .btn-secondary {
  min-height: 42px;
}
.mega-menu-panel {
  border-top: 1px solid rgb(0 0 0 / 8%);
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  box-shadow: 0 22px 48px rgb(0 0 0 / 12%);
}
.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
  gap: 1.75rem 2rem;
  width: 100%;
  max-width: 70%;
  padding-block: 1.75rem 2.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .mega-menu-columns {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    gap: 2rem 2.5rem;
  }
}
.mega-menu-col {
  min-width: 0;
}
.mega-menu-col > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.mega-menu-heading {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: #111;
}
.mega-link {
  display: block;
  text-decoration: none;
  color: #111;
}
.mega-link span {
  display: block;
  padding-block: 0.4rem;
  line-height: 1.45;
  transition: opacity 150ms ease, transform 150ms ease;
}
.mega-link:hover span,
.mega-link:focus-visible span {
  opacity: 0.62;
  transform: translateX(-3px);
}
.mega-link--strong {
  font-size: 1.15rem;
  font-weight: 700;
}
.mega-link--strong span {
  padding-block: 0.35rem;
}
.mega-submenu {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0 0.75rem 0 0;
  display: grid;
  gap: 0.05rem;
}
.mega-submenu .mega-link {
  font-size: 0.92rem;
  color: #44403c;
}
.mega-promo {
  position: relative;
  display: block;
  width: min(280px, 28vw);
  flex-shrink: 0;
  align-self: stretch;
  margin-block: 1.75rem 2.25rem;
  overflow: hidden;
  background: #e7e5e4;
  text-decoration: none;
  color: #fff;
}
.mega-promo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.mega-promo:hover img,
.mega-promo:focus-visible img {
  transform: scale(1.04);
}
.mega-promo__label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 55%));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mega-promo__label svg {
  flex-shrink: 0;
  transform: rotate(90deg);
}

/* Compact dropdown (non-mega) under a header item */
.nav-item--dropdown {
  position: relative;
}
.nav-item--dropdown details.flyout {
  position: relative;
}
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 14rem;
  max-width: min(20rem, 80vw);
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 0.55rem 0;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 0.35rem;
  box-shadow: 0 16px 36px rgb(0 0 0 / 12%);
  animation: ivyfit-mega-menu-in 160ms ease-out both;
}
.nav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.nav-dropdown-list a {
  display: block;
  padding: 0.55rem 1rem;
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: background 140ms ease, opacity 140ms ease;
}
.nav-dropdown-list a:hover,
.nav-dropdown-list a:focus-visible {
  background: #f5f5f4;
}
.nav-dropdown-heading {
  padding: 0.65rem 1rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #78716c;
}
.about-hero{text-align:center;padding:48px 16px 24px;display:grid;gap:12px}
.about-hero h1{font-size:clamp(1.8rem,4vw,3rem);font-weight:700;margin:0}
.about-hero-media{min-height:48vh;background:linear-gradient(180deg,#ecebe7,#d6d3d1)}
.about-mission{max-width:52rem;margin:48px auto;padding:0 16px;text-align:center;line-height:1.9}
.about-links{list-style:none;padding:0;display:grid;gap:8px;margin-top:24px}
.about-split{display:grid;grid-template-columns:1fr;gap:8px}
@media(min-width:768px){.about-split{grid-template-columns:1fr 1fr}}
.about-tile{min-height:60vh;background:#c4c0bb;display:grid;place-items:end center;padding:24px;text-decoration:none;color:#111}
.about-tile--alt{background:#a8a29e}
.about-tile-label{background:#fff;padding:10px 18px;font-weight:700}
/* Contact form + FAQ row — FAQ first */
.contact-split{
  display:grid;
  gap:clamp(28px,5vw,48px);
  align-items:start;
}
@media(min-width:900px){
  .contact-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
.contact-split__faq,
.contact-form-section{min-width:0}
.contact-split__faq .cb-section{margin:0;padding:0}
.contact-form{display:grid;gap:26px;width:100%}
.contact-form__submit{justify-self:start;min-width:10rem;border:0}
.contact-success{display:grid;gap:14px}
.contact-success[hidden]{display:none !important}

.measure-grid{display:grid;gap:16px}
@media(min-width:768px){.measure-grid{grid-template-columns:repeat(4,1fr)}}
.measure-grid article{border:1px solid #e7e5e4;padding:16px;background:#fff}
.unit-toggle{display:flex;gap:8px;justify-content:flex-end;margin-bottom:12px}
.unit-toggle button{border:1px solid #111;background:#fff;padding:6px 12px;cursor:pointer}
.unit-toggle button.is-active{background:#111;color:#fff}
.size-table{width:100%;border-collapse:collapse}
.size-table th,.size-table td{border:1px solid #e7e5e4;padding:10px;text-align:center}
.sitemap-grid{display:grid;gap:24px}
@media(min-width:768px){.sitemap-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.sitemap-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.sitemap-grid ul{list-style:none;padding:0;display:grid;gap:6px}
.sitemap-grid h2{font-size:1rem;font-weight:800;margin-bottom:10px;text-transform:uppercase}
.header-utility-link{text-decoration:none}
.footer__bottom-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}
.gift-card-art{height:100%;min-height:420px;display:grid;place-content:center;gap:8px;background:#111;color:#fff;text-align:center}
.amount-chips{display:flex;flex-wrap:wrap;gap:8px}
.amount-chip{border:1px solid #111;background:#fff;padding:10px 14px;cursor:pointer}
.amount-chip.is-active{background:#111;color:#fff}
.trust-row{display:grid;gap:8px;font-size:.9rem;color:#57534e}

/* Gift card page أ¢â‚¬â€‌ structured lower bands */
.gift-page{padding-bottom:12px}
.gift-media{aspect-ratio:auto;min-height:420px}
.gift-band{
  background:#f5f5f4;
  border-block:1px solid #e7e5e4;
  padding:clamp(40px,7vw,72px) 0;
}
.gift-band--faq{
  background:#fff;
  border-top:0;
  border-bottom:1px solid #e7e5e4;
}
.gift-band__inner{
  max-width:var(--page-width,1440px);
  margin-inline:auto;
  padding-inline:16px;
  display:grid;
  gap:clamp(24px,4vw,36px);
}
@media(min-width:1024px){.gift-band__inner{padding-inline:24px}}
.gift-band__inner--narrow{max-width:820px}
.gift-band__head{display:grid;gap:10px;text-align:center;justify-items:center}
.gift-band__head .cb-section__lead{max-width:48ch}
.gift-steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}
@media(min-width:768px){.gift-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
.gift-step{
  display:grid;
  gap:12px;
  align-content:start;
  padding:24px 22px;
  background:#fff;
  border:1px solid #e7e5e4;
  min-height:200px;
  transition:border-color .18s ease, transform .18s ease;
}
.gift-step:hover{border-color:#111;transform:translateY(-2px)}
.gift-step__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  background:#111;color:#fff;
  font-weight:800;font-size:.95rem;letter-spacing:.04em;
}
.gift-step h3{margin:0;font-size:1.1rem;font-weight:800}
.gift-step p{margin:0;color:#57534e;line-height:1.85;font-size:.95rem}
.gift-faq{
  border:1px solid #e7e5e4;
  background:#fafaf9;
  display:grid;
}
.gift-faq__item{border-bottom:1px solid #e7e5e4}
.gift-faq__item:last-child{border-bottom:0}
.gift-faq__item > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  cursor:pointer;
  font-weight:700;
  list-style:none;
  min-height:64px;
  background:#fff;
}
.gift-faq__item > summary::-webkit-details-marker{display:none}
.gift-faq__item[open] > summary{border-bottom:1px solid #e7e5e4}
.gift-faq__sign{
  position:relative;width:14px;height:14px;flex-shrink:0;
}
.gift-faq__sign::before,
.gift-faq__sign::after{
  content:"";
  position:absolute;
  background:#111;
  inset-inline-start:0;top:50%;
  width:14px;height:1.5px;
  transform:translateY(-50%);
}
.gift-faq__sign::after{transform:translateY(-50%) rotate(90deg);transition:transform .2s ease}
.gift-faq__item[open] .gift-faq__sign::after{transform:translateY(-50%) rotate(0deg)}
.gift-faq__panel{padding:4px 22px 22px;background:#fff;color:#57534e;line-height:1.85}
.gift-faq__panel p{margin:0}
.checkout-page{gap:18px}
.checkout-page__header{margin:0}
.checkout-stepper{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  padding:14px 12px;
  border:1px solid #e7e5e4;
  background:#fff;
}
.checkout-stepper__item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:0;
  background:transparent;
  color:#78716c;
  font:inherit;
  text-decoration:none;
  cursor:pointer;
  padding:4px 6px;
}
.checkout-stepper__item:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.checkout-stepper__item.is-active{color:#111;font-weight:700}
.checkout-stepper__item.is-done{color:#111}
.checkout-stepper__num{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid currentColor;
  font-size:.8rem;
  font-weight:700;
  line-height:1;
}
.checkout-stepper__item.is-active .checkout-stepper__num,
.checkout-stepper__item.is-done .checkout-stepper__num{
  background:#111;
  border-color:#111;
  color:#fff;
}
.checkout-stepper__line{
  width:28px;
  height:1px;
  background:#d6d3d1;
  flex:0 0 auto;
}
.checkout-grid{display:grid;gap:16px;align-items:start}
@media(min-width:900px){.checkout-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr);gap:20px}}
.checkout-form{display:grid;gap:14px;min-width:0}
.checkout-panel{display:grid;gap:14px}
.checkout-block{
  border:1px solid #e7e5e4;
  background:#fff;
  padding:16px;
  display:grid;
  gap:12px;
}
.checkout-block__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.checkout-block__title{margin:0;font-size:1rem;font-weight:700}
.checkout-faq{
  border:1px solid #e7e5e4;
  background:#fafaf9;
  display:grid;
}
.checkout-faq__item{border-bottom:1px solid #e7e5e4}
.checkout-faq__item:last-child{border-bottom:0}
.checkout-faq__item[hidden]{display:none}
.checkout-faq__item > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  cursor:pointer;
  font-weight:700;
  list-style:none;
  min-height:56px;
  background:#fff;
}
.checkout-faq__item > summary::-webkit-details-marker{display:none}
.checkout-faq__item[open] > summary{border-bottom:1px solid #e7e5e4}
.checkout-faq__title{font-size:1rem;font-weight:700}
.checkout-faq__sign{
  position:relative;width:14px;height:14px;flex-shrink:0;
}
.checkout-faq__sign::before,
.checkout-faq__sign::after{
  content:"";
  position:absolute;
  background:#111;
  inset-inline-start:0;top:50%;
  width:14px;height:1.5px;
  transform:translateY(-50%);
}
.checkout-faq__sign::after{transform:translateY(-50%) rotate(90deg);transition:transform .2s ease}
.checkout-faq__item[open] .checkout-faq__sign::after{transform:translateY(-50%) rotate(0deg)}
.checkout-faq__panel{
  padding:14px 18px 18px;
  background:#fff;
  display:grid;
  gap:12px;
}
.checkout-faq__panel .checkout-apply-btn{width:auto;justify-self:start}
.checkout-link-btn{
  border:0;
  background:transparent;
  color:#111;
  font:inherit;
  font-size:.88rem;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
  padding:0;
}
.checkout-manage-link{margin:0}
.checkout-address-list,
.checkout-option-list{display:grid;gap:10px}
.checkout-option-list--row{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:2px;
}
.checkout-option-list--row > .checkout-option{
  flex:1 1 0;
  min-width:118px;
}
.checkout-option{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:10px 12px;
  align-items:start;
  padding:12px 14px;
  border:1px solid #e5e5e5;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s ease,background-color .15s ease;
}
.checkout-option:has(.checkout-option__thumb){
  grid-template-columns:auto auto 1fr auto;
  align-items:center;
}
.checkout-option--gateway{
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
  gap:8px;
  padding:12px 10px;
  align-content:start;
}
.checkout-option--gateway > input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
  margin:0;
}
.checkout-option--gateway .checkout-option__thumb{
  width:64px;
  height:40px;
  border-radius:6px;
  background:#fff;
}
.checkout-option--gateway .checkout-option__thumb img{
  object-fit:contain;
  padding:4px;
}
.checkout-option--gateway .checkout-option__body{
  justify-items:center;
}
.checkout-option--gateway .checkout-option__body .muted{
  display:none;
}
.checkout-option:hover{border-color:#a8a29e}
.checkout-option.is-selected{
  border-color:#111;
  background:#fafaf9;
}
.checkout-option > input[type="radio"]{
  margin:3px 0 0;
  accent-color:#111;
}
.checkout-option__body{
  display:grid;
  gap:3px;
  min-width:0;
}
.checkout-option__body strong{font-weight:700}
.checkout-option__thumb{
  width:56px;
  height:56px;
  border-radius:8px;
  overflow:hidden;
  background:#f5f5f4;
  border:1px solid #e7e5e4;
  flex-shrink:0;
  align-self:center;
}
.checkout-option__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.checkout-option__thumb--logo img{
  object-fit:contain;
  padding:4px;
}
.checkout-option__price{
  font-size:.9rem;
  font-weight:700;
  white-space:nowrap;
  align-self:center;
}
.checkout-address-option{
  grid-template-columns:auto 1fr auto;
}
.checkout-address-option__top{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.checkout-badge{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border:1px solid #d6d3d1;
  font-size:.72rem;
  font-weight:600;
  color:#57534e;
}
.checkout-address-option__edit,
.checkout-address-option__actions{
  align-self:start;
  margin-top:2px;
}
.checkout-address-option__actions{
  display:grid;
  gap:6px;
  justify-items:start;
}
.checkout-address-form{display:grid;gap:12px}
.checkout-address-form__hint{margin:0}
.checkout-address-form__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
@media(min-width:640px){
  .checkout-address-form .form-grid{grid-template-columns:minmax(0,2fr) minmax(140px,1fr)}
  .checkout-address-form .checkout-addr-line{grid-column:1}
  .checkout-address-form .checkout-addr-postal{grid-column:2}
}
.checkout-address-form .boxed-field select{
  width:100%;
  min-height:42px;
  border:1px solid #d6d3d1;
  background:#fff;
  padding:8px 12px;
  font:inherit;
  color:#111;
  outline:0;
  appearance:auto;
}
.checkout-address-form .boxed-field select:focus{border-color:#111}
.checkout-address-form .boxed-field select:disabled{
  background:#f5f5f4;
  color:#a8a29e;
}
.checkout-address-form__actions .btn-black--sm,
.checkout-address-form__actions .btn-outline--sm{width:auto}
.checkout-apply-btn{width:auto;justify-self:start}
.checkout-pay-actions,
.checkout-shipping-actions{
  display:grid;
  gap:10px;
}
@media(min-width:560px){
  .checkout-pay-actions,
  .checkout-shipping-actions{grid-template-columns:auto 1fr}
}
.checkout-shipping-actions .btn-outline{margin-top:0}
.checkout-summary{
  border:1px solid #e7e5e4;
  background:#fff;
  padding:16px;
  display:grid;
  gap:12px;
  align-content:start;
}
@media(min-width:900px){
  .checkout-summary{
    position:sticky;
    top:calc(var(--header-height,2.5rem) + 16px);
  }
}
.checkout-summary__title{margin:0;font-size:1rem;font-weight:700}
.checkout-summary__contact{margin:0;font-size:.88rem}
.checkout-summary__lines{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
  font-size:.92rem;
  border-top:1px solid #f5f5f4;
  border-bottom:1px solid #f5f5f4;
  padding-block:10px;
}
.checkout-summary__line{
  display:grid;
  gap:4px;
}
.checkout-summary__line.is-unavailable{
  color:#b91c1c;
}
.checkout-summary__line-title{line-height:1.45}
.checkout-summary__line-meta{
  font-size:.82rem;
  color:#78716c;
}
.checkout-summary__line.is-unavailable .checkout-summary__line-meta{color:#b91c1c}
.checkout-summary__line-stock{
  font-size:.8rem;
  font-weight:700;
  color:#b91c1c;
}
.checkout-summary__totals{
  margin:0;
  display:grid;
  gap:8px;
}
.checkout-summary__totals > div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:.92rem;
}
.checkout-summary__totals dt{margin:0;color:#57534e}
.checkout-summary__totals dd{margin:0;font-weight:600}
.checkout-summary__payable{
  margin-top:4px;
  padding-top:10px;
  border-top:1px solid #e7e5e4;
  font-size:1rem;
}
.checkout-summary__payable dt,
.checkout-summary__payable dd{color:#111;font-weight:800}

.payment-receipt{
  max-width:720px;
  margin-inline:auto;
  display:grid;
  gap:20px;
  padding-block:24px 48px;
}
.payment-receipt__header{
  text-align:center;
  display:grid;
  gap:8px;
}
.payment-receipt__eyebrow{
  margin:0;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#57534e;
}
.payment-receipt__lead{
  margin:0;
  color:#44403c;
  font-size:.98rem;
  line-height:1.7;
}
.payment-receipt__status{
  text-align:center;
  margin:0;
}
.payment-receipt__card{
  border:1px solid #e7e5e4;
  background:#fff;
  padding:20px;
  display:grid;
  gap:16px;
}
.payment-receipt[data-state="success"] .payment-receipt__card{
  border-color:#111;
}
.payment-receipt__meta{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
}
@media(min-width:560px){
  .payment-receipt__meta{grid-template-columns:1fr 1fr}
}
.payment-receipt__label{
  display:block;
  font-size:.78rem;
  color:#78716c;
  margin-bottom:4px;
}
.payment-receipt__order-number{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.02em;
  word-break:break-all;
}
.payment-receipt__section-title{
  margin:0;
  font-size:1rem;
  font-weight:700;
}
.payment-receipt__lines{
  border-top:1px solid #f5f5f4;
  border-bottom:1px solid #f5f5f4;
}
.payment-receipt__line{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.payment-receipt__line-meta{
  display:grid;
  gap:4px;
}
.payment-receipt__line-price{
  font-weight:600;
  white-space:nowrap;
}
.payment-receipt__shipping{
  display:grid;
  gap:4px;
  padding-top:8px;
  border-top:1px solid #f5f5f4;
}
.payment-receipt__shipping-name{
  margin:0;
  font-weight:700;
}
.payment-receipt__actions{
  display:grid;
  gap:10px;
}
@media(min-width:560px){
  .payment-receipt__actions{
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  }
}

@media(max-width:899px){
  .checkout-page[data-step="payment"] .checkout-pay-actions{
    position:sticky;
    bottom:0;
    z-index:5;
    margin:0 -4px;
    padding:10px 4px calc(10px + env(safe-area-inset-bottom,0px));
    background:linear-gradient(to top,#fff 70%,rgb(255 255 255 / 0%));
  }
  .checkout-stepper__label{font-size:.82rem}
  .checkout-stepper__line{width:16px}
}
.address-card{
  border:1px solid #e5e5e5;
  background:#fff;
  padding:14px;
  display:grid;
  gap:6px;
}
.address-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.address-card__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.address-list .address-card{list-style:none}
.cart-summary{display:grid;gap:16px;align-content:start}
@media(min-width:900px){
  .cart-summary{position:sticky;top:calc(var(--header-height,2.5rem) + 16px)}
}
.cart-summary__total{margin:0;font-size:1.1rem}
.cart-summary__checkout{display:flex;width:100%;text-align:center;text-decoration:none}
.cart-page-lines-wrap{display:grid;gap:12px;align-content:start}
.cart-page-lines{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.cart-page-line{
  display:grid;
  grid-template-columns:88px minmax(0,1fr) auto;
  gap:14px;
  align-items:start;
  border:1px solid #e7e5e4;
  background:#fff;
  padding:14px;
}
.cart-page-line.is-unavailable{border-color:#fecaca;background:#fffafa}
.cart-page-line__thumb{
  width:88px;
  height:110px;
  object-fit:cover;
  background:#e7e5e4;
  display:block;
}
.cart-page-line__thumb--empty{width:88px;height:110px;background:#e7e5e4}
.cart-page-line__body{min-width:0;display:grid;gap:6px}
.cart-page-line__title{
  font-size:.95rem;
  line-height:1.4;
  font-weight:700;
}
.cart-page-line__meta{
  color:#78716c;
  font-size:.84rem;
}
.cart-page-line__stock{
  color:#b91c1c;
  font-size:.82rem;
  font-weight:700;
}
.cart-page-line__controls{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:4px;
}
.cart-page-qty{
  display:inline-flex;
  align-items:center;
  border:1px solid #d6d3d1;
  background:#fff;
}
.cart-page-qty__btn{
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  color:#111;
  font-size:1.1rem;
  line-height:1;
  cursor:pointer;
}
.cart-page-qty__btn:hover:not(:disabled){background:#f5f5f4}
.cart-page-qty__btn:disabled{opacity:.35;cursor:not-allowed}
.cart-page-qty__value{
  min-width:2rem;
  text-align:center;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.cart-page-line__remove{
  border:0;
  background:transparent;
  color:#78716c;
  font-size:.84rem;
  font-weight:600;
  cursor:pointer;
  padding:0;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cart-page-line__remove:hover{color:#b91c1c}
.cart-page-line__remove:disabled{opacity:.4;cursor:not-allowed}
.cart-page-line__price{
  font-weight:700;
  white-space:nowrap;
  font-size:.95rem;
}
.cart-page.is-busy .cart-page-line{opacity:.72}
@media(max-width:560px){
  .cart-page-line{
    grid-template-columns:72px minmax(0,1fr);
  }
  .cart-page-line__price{
    grid-column:2;
  }
  .cart-page-line__thumb,
  .cart-page-line__thumb--empty{
    width:72px;
    height:90px;
  }
}
.table-wrap{overflow-x:auto}
.status.is-error{color:#9f1d1d}
.status.is-ok{color:#166534}

.cart-drawer__shell{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  height:100%;
  max-height:100dvh;
  overflow:hidden;
  background:#fff;
}
.cart-drawer__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--header-height,2.5rem);
  padding:0 1rem;
  border-bottom:1px solid #e7e5e4;
  background:#fff;
}
.cart-drawer__close{
  display:grid;
  place-items:center;
  width:2rem;
  height:2rem;
  margin-inline-end:-0.25rem;
  border:0;
  border-radius:0.25rem;
  background:transparent;
  cursor:pointer;
}
.cart-drawer__scroll{
  min-height:0;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  background:#f9f8f5;
}
.cart-drawer__empty{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1.25rem;
  padding:1.5rem 1rem;
  text-align:center;
}
.cart-drawer__filled{
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  padding:0.85rem 0.85rem 0.5rem;
  background:#fff;
}
.cart-drawer__lines{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cart-drawer__line{
  display:grid;
  grid-template-columns:64px 1fr auto;
  gap:10px;
  align-items:start;
  border:1px solid #e7e5e4;
  padding:10px;
  background:#fff;
}
.cart-drawer__thumb{width:64px;height:80px;object-fit:cover;background:#e7e5e4;display:block}
.cart-drawer__thumb--empty{width:64px;height:80px;background:#e7e5e4}
.cart-drawer__meta{min-width:0}
.cart-drawer__meta strong{
  display:block;
  font-size:0.9rem;
  line-height:1.35;
}
.cart-drawer__attrs,.cart-drawer__qty{color:#78716c;margin-top:3px;font-size:.8rem}
.cart-drawer__side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  min-width:4rem;
}
.cart-drawer__price{font-weight:700;white-space:nowrap;font-size:.85rem}
.cart-drawer__remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 8px;
  border:1px solid #d6d3d1;
  background:#fff;
  color:#57534e;
  font-size:.75rem;
  cursor:pointer;
  white-space:nowrap;
}
.cart-drawer__remove:hover{
  border-color:#111;
  color:#111;
}
.cart-drawer__remove:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.cart-drawer__recs{
  margin-top:auto;
  border-top:1px solid #e7e5e4;
  background:#fff;
}
.cart-drawer__recs-inner{
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  padding:0.9rem 0.85rem 1.1rem;
}
.cart-drawer__recs-title{
  margin:0;
  font-size:0.95rem;
  font-weight:700;
}
.cart-drawer__footer{
  position:sticky;
  bottom:0;
  z-index:5;
  display:grid;
  gap:0.65rem;
  padding:0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top:1px solid #e7e5e4;
  background:#fff;
  box-shadow:0 -8px 24px rgb(0 0 0 / 6%);
}
.cart-drawer__footer[hidden]{display:none !important}
.cart-drawer__total-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.75rem;
}
.cart-drawer__total-label{
  font-size:0.85rem;
  color:#57534e;
}
.cart-drawer__total-value{
  font-size:1rem;
  font-weight:700;
}
.cart-drawer__actions{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:0.5rem;
}
.cart-drawer__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 0.75rem;
  font-size:0.875rem;
  font-weight:600;
  text-align:center;
  border:1px solid #111;
}
.cart-drawer__btn--ghost{
  background:#fff;
  color:#111;
}
.cart-drawer__btn--ghost:hover{
  background:#f5f5f4;
}
.cart-drawer__btn--primary{
  background:#111;
  color:#fff;
}
.cart-drawer__btn--primary:hover{
  background:#1e1e1e;
}

/* Announcement bar: rotate messages upward */
.announcement-bar {
  overflow: hidden;
}
.announcement-bar__slide {
  will-change: transform, opacity;
}
.announcement-bar__slide[aria-hidden="true"]:not(.slide-up-in) {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.announcement-bar__slide[aria-hidden="false"]:not(.slide-out-up) {
  opacity: 1;
  transform: translateY(0);
}
.announcement-bar__slide.slide-out-up {
  animation: announcement-slide-out-up 0.3s ease-in-out forwards;
}
.announcement-bar__slide.slide-up-in {
  animation: announcement-slide-in-up 0.3s ease-in-out forwards;
}
@keyframes announcement-slide-out-up {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-100%); }
}
@keyframes announcement-slide-in-up {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-bar__slide.slide-out-up,
  .announcement-bar__slide.slide-up-in {
    animation: none;
  }
}

/* —— Live support chat widget —— */
.ivy-chat {
  position: fixed;
  z-index: 860;
  inset-inline-start: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  pointer-events: none;
}
.ivy-chat > * {
  pointer-events: auto;
}
.ivy-chat__fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: #1f3d2a;
  color: #f7f4ef;
  box-shadow: 0 10px 28px rgba(20, 40, 28, 0.28);
  cursor: pointer;
  font: inherit;
}
.ivy-chat__fab-label {
  font-size: 0.9rem;
  font-weight: 600;
}
.ivy-chat__fab-icon {
  display: inline-flex;
}
.ivy-chat__fab-icon--close,
.ivy-chat.is-open .ivy-chat__fab-icon--open {
  display: none;
}
.ivy-chat.is-open .ivy-chat__fab-icon--close {
  display: inline-flex;
}
.ivy-chat.is-open .ivy-chat__fab-label {
  display: none;
}
.ivy-chat__unread {
  position: absolute;
  top: -0.35rem;
  inset-inline-end: -0.2rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ivy-chat__panel {
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(34rem, calc(100dvh - 6rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #fbf8f3;
  color: #1c1917;
  border: 1px solid rgba(31, 61, 42, 0.12);
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.18);
}
.ivy-chat__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #243f2e;
  color: #f7f4ef;
}
.ivy-chat__title {
  display: block;
  font-size: 0.98rem;
}
.ivy-chat__subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  opacity: 0.82;
}
.ivy-chat__icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 0;
}
.ivy-chat__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.ivy-chat__view {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem;
  min-height: 0;
  flex: 1;
}
.ivy-chat__hint {
  margin: 0;
  font-size: 0.82rem;
  color: #57534e;
}
.ivy-chat__faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: auto;
  max-height: 16rem;
}
.ivy-chat__faq {
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.55rem 0.7rem;
}
.ivy-chat__faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.86rem;
}
.ivy-chat__faq-answer {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #44403c;
}
.ivy-chat__faq-answer p {
  margin: 0 0 0.45rem;
}
.ivy-chat__faq-answer p:last-child {
  margin-bottom: 0;
}
.ivy-chat__faq-answer a {
  color: #1f3d2a;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.ivy-chat__faq-answer strong,
.ivy-chat__faq-answer b {
  font-weight: 700;
}
.ivy-chat__primary,
.ivy-chat__ghost,
.ivy-chat__send {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.ivy-chat__primary {
  background: #1f3d2a;
  color: #f7f4ef;
  border-radius: 0.65rem;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
}
.ivy-chat__ghost {
  background: transparent;
  color: #44403c;
  border: 1px solid rgba(28, 25, 23, 0.16);
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
}
.ivy-chat__form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ivy-chat__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
}
.ivy-chat__field input,
.ivy-chat__composer textarea {
  border: 1px solid rgba(28, 25, 23, 0.16);
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.65rem 0.7rem;
  font: inherit;
  color: inherit;
}
.ivy-chat__error {
  color: #b42318;
  font-size: 0.75rem;
}
.ivy-chat__form-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.ivy-chat__status {
  margin: 0;
  font-size: 0.8rem;
}
.ivy-chat__status.is-error {
  color: #b42318;
}
.ivy-chat__ticket {
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  background: #efe8dc;
  font-size: 0.78rem;
  color: #3f3a34;
}
.ivy-chat__messages {
  flex: 1;
  min-height: 12rem;
  max-height: 18rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.15rem;
}
.ivy-chat__msg {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 88%;
}
.ivy-chat__msg--customer {
  align-self: flex-start;
}
.ivy-chat__msg--agent,
.ivy-chat__msg--system {
  align-self: flex-end;
}
.ivy-chat__bubble {
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.ivy-chat__msg--customer .ivy-chat__bubble {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.1);
}
.ivy-chat__msg--agent .ivy-chat__bubble {
  background: #1f3d2a;
  color: #f7f4ef;
}
.ivy-chat__msg--system .ivy-chat__bubble {
  background: #ebe4d8;
  color: #44403c;
  font-size: 0.78rem;
}
.ivy-chat__time {
  font-size: 0.68rem;
  color: #78716c;
  padding-inline: 0.2rem;
}
.ivy-chat__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: end;
}
.ivy-chat__send {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.65rem;
  background: #1f3d2a;
  color: #f7f4ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ivy-chat__send svg {
  transform: scaleX(-1);
}
@media (max-width: 480px) {
  .ivy-chat {
    inset-inline-start: 0.75rem;
    inset-inline-end: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
  }
  .ivy-chat__fab {
    align-self: flex-start;
  }
  .ivy-chat__panel {
    width: 100%;
    max-height: min(70dvh, 34rem);
  }
}

/* Below-fold home rails: skip layout/paint until near viewport */
.home-product-rail--defer,
.site-section.home-product-rail:not(#home-hero),
.site-section:has(.promo-grid),
#home-hero ~ .site-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 280px;
}

/* Homepage scroll cat — tiny beside view-all, run-in-place, soft hop between rails */
.scroll-cat {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--scroll-cat-w, 44px);
  height: var(--scroll-cat-h, 36px);
  margin: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate3d(-80px, -80px, 0);
  transform-origin: center center;
}
.scroll-cat__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  transform-origin: 55% 70%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.scroll-cat.is-running .scroll-cat__img {
  animation: scroll-cat-run 0.28s steps(2) infinite;
}
@keyframes scroll-cat-run {
  0% { transform: translateY(0) rotate(-6deg) scaleX(1); }
  50% { transform: translateY(-3px) rotate(-2deg) scaleX(1.04); }
  100% { transform: translateY(0) rotate(-6deg) scaleX(1); }
}
@media (max-width: 1023.98px) {
  .scroll-cat {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cat {
    display: none !important;
  }
}

/* ===== Mag (blog) — editorial magazine ===== */
.mag-page {
  gap: 48px;
  padding-block: 28px 56px;
  background: linear-gradient(180deg, #fafaf8 0%, #f7f5f1 48%, #fafaf8 100%);
}

.mag-masthead {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
  padding-bottom: 20px;
  border-bottom: 3px double #1c1917;
  text-align: center;
  justify-items: center;
}
.mag-masthead__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 20px;
  width: 100%;
}
.mag-masthead__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #78716c;
}
.mag-masthead__issue {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 6px 12px;
  border: 1px solid #1c1917;
  border-radius: 2px;
  background: #1c1917;
  color: #fafaf8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
}
.mag-masthead h1 {
  margin: 0;
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.mag-masthead__dek {
  margin: 0;
  max-width: 40em;
  color: #57534e;
  font-size: 1.08rem;
  line-height: 1.85;
}
.mag-masthead--section h1 {
  font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.85rem);
}

.mag-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  padding-block: 2px 6px;
  border-bottom: 1px solid #e7e5e4;
}
.mag-toc__item {
  position: relative;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.mag-toc__item:hover { color: #1c1917; }
.mag-toc__item.is-active {
  color: #1c1917;
  border-bottom-color: #1c1917;
}

.mag-edition {
  display: grid;
  gap: 36px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6d3d1;
  animation: mag-rise 0.55s ease both;
}
@media (min-width: 960px) {
  .mag-edition {
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.78fr);
    gap: 56px;
    align-items: start;
  }
}

.mag-edition__rail {
  display: grid;
  gap: 16px;
  padding-top: 2px;
}
.mag-edition__rail-label {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #1c1917;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c1917;
}
.mag-edition__rail-list {
  display: grid;
  gap: 0;
}

.mag-section {
  display: grid;
  gap: 28px;
  animation: mag-rise 0.55s ease 0.08s both;
}
.mag-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1c1917;
}
.mag-section__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px 28px;
}
.mag-grid--edition {
  gap: 40px 28px;
}
@media (min-width: 960px) {
  .mag-grid--edition {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mag-grid--edition > .mag-card--spotlight {
    grid-column: span 2;
  }
}

.mag-card {
  display: grid;
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.mag-card:hover { transform: none; box-shadow: none; }
.mag-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #ebe8e3;
  overflow: hidden;
  border-radius: 2px;
}
.mag-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.mag-card:hover .mag-card__media img { transform: scale(1.04); }
.mag-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0eeea, #ddd8d0);
}
.mag-card__body { display: grid; gap: 10px; padding: 0; }
.mag-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.mag-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #78716c;
  text-decoration: none;
}
.mag-card__category:hover { color: #1c1917; }
.mag-card__title {
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
}
.mag-card__title a {
  color: #1c1917;
  text-decoration: none;
}
.mag-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mag-card__excerpt {
  margin: 0;
  color: #57534e;
  font-size: 0.94rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-card__date { color: #a8a29e; font-size: 0.78rem; }
.mag-card__more {
  justify-self: start;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1c1917;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mag-card--featured {
  gap: 24px;
}
.mag-card--featured .mag-card__media {
  aspect-ratio: 3 / 2;
  border-radius: 2px;
}
.mag-card--featured .mag-card__title {
  font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.mag-card--featured .mag-card__excerpt {
  font-size: 1.05rem;
  line-height: 1.9;
  -webkit-line-clamp: 5;
  max-width: 42em;
}

.mag-card--spotlight {
  gap: 18px;
}
.mag-card--spotlight .mag-card__media {
  aspect-ratio: 16 / 10;
}
.mag-card--spotlight .mag-card__title {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  line-height: 1.35;
  font-weight: 800;
}
.mag-card--spotlight .mag-card__excerpt {
  -webkit-line-clamp: 3;
}

.mag-card--rail {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-block: 18px;
  border-bottom: 1px solid #e7e5e4;
}
.mag-card--rail:first-child { padding-top: 4px; }
.mag-card--rail:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.mag-card--rail .mag-card__media {
  aspect-ratio: 1;
  border-radius: 2px;
}
.mag-card--rail .mag-card__body { gap: 8px; }
.mag-card--rail .mag-card__title {
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 600;
}
.mag-card--rail .mag-card__meta { gap: 6px 10px; }

.mag-card--text {
  gap: 8px;
  padding-block: 16px;
  border-bottom: 1px solid #e7e5e4;
}
.mag-card--text:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.mag-card--text .mag-card__title {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
}
.mag-card--text .mag-card__meta { gap: 6px 10px; }

.mag-empty { color: #78716c; padding-block: 28px; }

.mag-topics {
  display: grid;
  gap: 48px;
  padding-block: 8px 4px;
}
.mag-topic {
  display: grid;
  gap: 22px;
  animation: mag-rise 0.55s ease both;
}
.mag-topic__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1c1917;
}
.mag-topic__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.mag-topic__title a {
  color: #1c1917;
  text-decoration: none;
}
.mag-topic__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mag-topic__all {
  font-size: 0.85rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.mag-topic__all:hover { color: #1c1917; }
.mag-topic__body {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .mag-topic__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.85fr);
    gap: 40px;
    align-items: start;
  }
}
.mag-topic__list {
  display: grid;
  gap: 0;
  padding-top: 2px;
}

.mag-desc {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding-top: 36px;
  border-top: 1px solid #d6d3d1;
}
.mag-desc__body {
  color: #44403c;
  line-height: 1.9;
  max-height: 7.2em;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.mag-desc.is-expanded .mag-desc__body {
  max-height: none;
}
.mag-desc__toggle {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1c1917;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.mag-layout {
  display: grid;
  gap: 48px;
  align-items: start;
  padding-block: 12px 48px;
}
@media (min-width: 960px) {
  .mag-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 72px;
  }
}

.mag-layout__main {
  display: grid;
  gap: 64px;
  min-width: 0;
}

.mag-article {
  max-width: none;
  display: grid;
  gap: 28px;
}
.mag-article__head { display: grid; gap: 14px; }
.mag-article__category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
  text-decoration: none;
}
.mag-article__category:hover { color: #1c1917; }
.mag-article__head h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}
.mag-article__date { color: #78716c; font-size: 0.85rem; }
.mag-article__media {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #ebe8e3;
}
.mag-article__media img { width: 100%; display: block; }
.mag-article__lead {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.95;
  color: #44403c;
  max-width: 42em;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7e5e4;
}
.mag-article__body {
  max-width: 42em;
  font-size: 1.08rem;
  line-height: 2.05;
}
.mag-article__body > *:first-child { margin-top: 0; }
.mag-article__body > *:last-child { margin-bottom: 0; }
.mag-article__body p {
  margin: 0 0 1.45em;
}
.mag-article__body p + p {
  margin-top: 0;
}
.mag-article__body h2,
.mag-article__body h3,
.mag-article__body h4 {
  margin: 1.85em 0 0.75em;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.mag-article__body ul,
.mag-article__body ol {
  margin: 0 0 1.4em;
  padding-inline-start: 1.4em;
  display: grid;
  gap: 0.55em;
}
.mag-article__body li {
  line-height: 1.85;
}
.mag-article__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-block: 1.75em;
  border-radius: 2px;
}
.mag-article__body figure {
  margin: 1.75em 0;
}
.mag-article__body figure img {
  margin-block: 0;
}
.mag-article__body blockquote {
  margin: 1.6em 0;
  padding: 0.35em 1.15em;
  border-inline-start: 3px solid #1c1917;
  color: #44403c;
  font-size: 1.08rem;
}
.mag-article__body--dropcap > p:first-of-type::first-letter {
  float: right;
  font-size: 3.4em;
  font-weight: 800;
  line-height: 0.85;
  padding-left: 0.12em;
  padding-bottom: 0.05em;
  color: #1c1917;
}

.mag-sidebar {
  display: grid;
  gap: 28px;
}
@media (min-width: 960px) {
  .mag-sidebar {
    position: sticky;
    top: 112px;
  }
}
.mag-sidebar__widget {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border: 0;
  border-top: 2px solid #1c1917;
  border-radius: 0;
  background: transparent;
}
.mag-sidebar__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mag-sidebar__search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.mag-sidebar__search input {
  min-width: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #1c1917;
  border-radius: 0;
  background: transparent;
}
.mag-sidebar__search button {
  padding: 10px 14px;
  border: 1px solid #1c1917;
  border-radius: 0;
  background: #1c1917;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}
.mag-sidebar__list,
.mag-sidebar__posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.mag-sidebar__list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 2px;
  color: #44403c;
  font-size: 0.92rem;
  line-height: 1.55;
  text-decoration: none;
}
.mag-sidebar__list a:hover { color: #1c1917; }
.mag-sidebar__count {
  color: #a8a29e;
  font-variant-numeric: tabular-nums;
}
.mag-sidebar__posts li {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7e5e4;
}
.mag-sidebar__posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.mag-sidebar__posts a {
  color: #1c1917;
  font-size: 0.92rem;
  line-height: 1.55;
  text-decoration: none;
}
.mag-sidebar__posts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mag-sidebar__posts time {
  color: #a8a29e;
  font-size: 0.75rem;
}

.mag-related {
  display: grid;
  gap: 28px;
  margin-top: 8px;
  padding-top: 40px;
  border-top: 2px solid #1c1917;
}
.mag-related__title {
  margin: 0;
  padding-bottom: 4px;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 800;
}
.mag-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.mag-comments {
  display: grid;
  gap: 28px;
  margin-top: 8px;
  padding-top: 40px;
  border-top: 1px solid #d6d3d1;
}
.mag-comments__title {
  margin: 0;
  padding-bottom: 4px;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 800;
}
.mag-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.mag-comments__item {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #e7e5e4;
  border-radius: 0;
  background: transparent;
}
.mag-comments__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  font-size: 0.85rem;
}
.mag-comments__meta time { color: #a8a29e; }
.mag-comments__body {
  margin: 0;
  color: #44403c;
  line-height: 1.85;
  white-space: pre-wrap;
}
.mag-comments__empty { color: #78716c; margin: 0; line-height: 1.7; }
.mag-comments__login {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px dashed #d6d3d1;
  border-radius: 0;
  background: #f5f3ef;
}
.mag-comments__login p { margin: 0; color: #57534e; line-height: 1.7; }
.mag-comments__login-link {
  justify-self: start;
  padding: 10px 16px;
  border-radius: 0;
  background: #1c1917;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}
.mag-comments__form {
  display: grid;
  gap: 14px;
}
.mag-comments__form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #1c1917;
  border-radius: 0;
  background: transparent;
  resize: vertical;
  min-height: 128px;
  font: inherit;
  line-height: 1.75;
}
.mag-comments__form button {
  justify-self: start;
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  background: #1c1917;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}
.mag-comments__form button:disabled { opacity: 0.6; cursor: wait; }
.mag-comments__status { margin: 0; font-size: 0.88rem; color: #57534e; }
.mag-comments__status.is-ok { color: #166534; }
.mag-comments__status.is-error { color: #b91c1c; }

@keyframes mag-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 959px) {
  .mag-card--rail {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .mag-masthead h1 {
    font-size: clamp(2rem, 1.4rem + 3.2vw, 2.8rem);
  }
  .mag-page { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .mag-edition,
  .mag-section,
  .mag-topic {
    animation: none;
  }
  .mag-card:hover .mag-card__media img {
    transform: none;
  }
}

/* Campaign badge (amazing-offer style) on product cards / PDP. */
.product-card__badge--campaign {
  background: #dfff00;
  color: #111;
  font-weight: 800;
}

.pdp-campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #dfff00;
  color: #111;
  font-weight: 800;
  font-size: .82rem;
  border-radius: 999px;
}

/* Homepage campaign banner (injected from an active featured Campaign). */
.campaign-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  min-height: 220px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, #111 0%, #2b2b2b 60%, #111 100%);
}

.campaign-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.campaign-banner--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}

.campaign-banner__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 56px) 20px;
}

.campaign-banner__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #dfff00;
  color: #111;
  font-weight: 800;
  font-size: .8rem;
  border-radius: 999px;
}

.campaign-banner__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
}

.campaign-banner__subtitle {
  margin: 0;
  max-width: 46ch;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}

.campaign-banner__countdown {
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}

.campaign-banner__cta {
  margin-top: 6px;
}

/* —— Page nav loader (Google Play–style circular wavy ring) —— */

.ivy-nav-loader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.ivy-nav-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.ivy-nav-loader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
}

.ivy-nav-loader__ring {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.ivy-nav-loader__svg {
  display: block;
  width: 56px;
  height: 56px;
  overflow: visible;
}

.ivy-nav-loader__track,
.ivy-nav-loader__wave,
.ivy-nav-loader__plain {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: view-box;
  transform-origin: center;
}

.ivy-nav-loader__track {
  stroke: rgb(var(--ada-color-foreground, 0 0 0) / 0.12);
  stroke-width: 4.5;
}

.ivy-nav-loader__wave {
  stroke: var(--color-foreground, #000);
  stroke-width: 4.5;
  stroke-dasharray: 28 72;
  animation:
    ivy-nav-loader-spin 1.15s linear infinite,
    ivy-nav-loader-dash 1.35s ease-in-out infinite;
}

.ivy-nav-loader__plain {
  stroke: var(--color-foreground, #000);
  stroke-width: 4.5;
  stroke-dasharray: 28 72;
  display: none;
  animation:
    ivy-nav-loader-spin 1.15s linear infinite,
    ivy-nav-loader-dash 1.35s ease-in-out infinite;
}

@keyframes ivy-nav-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ivy-nav-loader-dash {
  0% {
    stroke-dasharray: 18 82;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 42 58;
    stroke-dashoffset: -18;
  }
  100% {
    stroke-dasharray: 18 82;
    stroke-dashoffset: -100;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ivy-nav-loader {
    transition: none;
  }

  .ivy-nav-loader__wave {
    display: none;
  }

  .ivy-nav-loader__plain {
    display: block;
    animation: ivy-nav-loader-spin 1.4s linear infinite;
    stroke-dasharray: 30 70;
    stroke-dashoffset: 0;
  }
}

/* ===== Colors introduction page (/colors) ===== */
.colors-page {
  --colors-pad: clamp(1rem, 3vw, 2rem);
  padding-bottom: 4rem;
}

.colors-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--colors-pad) 2rem;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, #f5e6c8 55%, transparent), transparent 70%),
    linear-gradient(180deg, #faf9f7 0%, #fff 100%);
}

.colors-hero__swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.colors-hero__dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.08);
  animation: colors-dot-float 3.2s ease-in-out infinite;
}

@keyframes colors-dot-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.colors-hero__eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.colors-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
}

.colors-hero__lead {
  margin: 0;
  max-width: 40rem;
  color: #4b5563;
  line-height: 1.85;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.colors-hero__jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-width: 48rem;
}

.colors-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  text-decoration: none;
  font-size: 0.86rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.colors-hero__chip:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.colors-hero__chip-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

.colors-empty {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 3rem var(--colors-pad);
  color: #6b7280;
}

.colors-stories {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: 1.25rem var(--colors-pad) 0;
  max-width: 72rem;
  margin: 0 auto;
}

.color-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid color-mix(in srgb, var(--color-tint, #9ca3af) 22%, rgba(0, 0, 0, 0.08));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-tint, #9ca3af) 14%, #fff) 0%,
      #fff 55%
    );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 5.5rem;
}

.color-story--alt {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.color-story--alt .color-story__media {
  order: 2;
}

.color-story--alt .color-story__body {
  order: 1;
}

.color-story--quiet {
  opacity: 0.92;
}

.color-story__media {
  position: relative;
  min-height: clamp(16rem, 38vw, 22rem);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--color-tint, #9ca3af) 35%, #fff),
      color-mix(in srgb, var(--color-tint, #9ca3af) 12%, #f3f4f6)
    );
}

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

.color-story__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.color-story__fallback-swatch {
  width: min(42%, 11rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 18px 40px color-mix(in srgb, var(--color-tint, #9ca3af) 35%, transparent);
}

.color-story__body {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.color-story__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.color-story__swatch {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 8px 18px rgba(0, 0, 0, 0.1);
  flex: 0 0 auto;
}

.color-story__kicker {
  margin: 0 0 0.15rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.color-story__title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.color-story__desc {
  margin: 0;
  color: #374151;
  line-height: 1.9;
  font-size: 0.98rem;
}

.color-story__desc--muted {
  color: #6b7280;
}

.color-story__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.color-story__count {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--color-tint, #9ca3af) 16%, #fff);
  border: 1px solid color-mix(in srgb, var(--color-tint, #9ca3af) 28%, rgba(0, 0, 0, 0.08));
  font-size: 0.86rem;
  color: #111;
}

.color-story__count[data-empty='1'] {
  opacity: 0.65;
}

.color-story__cta {
  text-decoration: none;
}

@media (max-width: 860px) {
  .color-story,
  .color-story--alt {
    grid-template-columns: 1fr;
  }

  .color-story--alt .color-story__media,
  .color-story--alt .color-story__body {
    order: initial;
  }

  .color-story__media {
    min-height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .colors-hero__dot {
    animation: none;
  }

  .colors-hero__chip {
    transition: none;
  }
}


