/* Ummah inner pages — aligned with finished home (BeauTen + brand) */
:root {
  --up-cream: #faf8f5;
  --up-olive: #2f6b48;
  --up-olive-dark: #245538;
  --up-pink: #e591ac;
  --up-pink-soft: #fdf2f6;
  --up-ink: #2a2a2a;
  --up-muted: #6b6b6b;
  --up-border: #e8e2da;
  --up-white: #fff;
  --up-radius: 18px;
  --up-shadow: 0 10px 32px rgba(47, 107, 72, 0.07);
}

/* ——— Page hero (replaces unfinished breadcumb) ——— */
.up-hero {
  background: linear-gradient(135deg, #fdf2f6 0%, #faf8f5 45%, #e8f5ee 100%);
  border-bottom: 1px solid var(--up-border);
  padding: 2.75rem 0 2.25rem;
  text-align: center;
}

.up-hero__title {
  margin: 0 0 0.65rem;
  color: var(--up-olive);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: 0;
}

.up-hero__crumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  color: var(--up-muted);
  font-size: 0.9rem;
}

.up-hero__crumbs a {
  color: var(--up-olive);
  text-decoration: none;
  font-weight: 600;
}

.up-hero__crumbs a:hover { color: var(--up-pink); }
.up-hero__sep { opacity: 0.45; }
.up-hero__current { color: var(--up-ink); font-weight: 600; }

.up-section {
  padding: 2.75rem 0 4rem;
  background: var(--up-cream);
}

.up-container {
  width: min(1350px, calc(100% - 2rem));
  margin-inline: auto;
}

.up-card {
  background: var(--up-white);
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  box-shadow: var(--up-shadow);
}

.up-card-pad { padding: 1.35rem 1.5rem; }

.up-title {
  color: var(--up-olive);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.up-lead {
  color: var(--up-muted);
  margin: 0 0 1.5rem;
  max-width: 42rem;
  line-height: 1.7;
}

.ummah-product-card__badge,
.trending-product-card__thumb-offer.ummah-product-card__badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 3;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.ummah-product-card__badge--oos {
  background: #1f1f1f !important;
}

.ummah-product-card__badge--bestseller {
  background: var(--up-olive) !important;
}

.ummah-product-card .trending-product-card__thumb {
  position: relative;
}

.up-prose {
  color: var(--up-ink);
  line-height: 1.8;
}

.up-prose p {
  margin: 0 0 0.85rem;
}

.up-prose p:last-child {
  margin-bottom: 0;
}

.up-pdp-tabs {
  border-bottom: 1px solid var(--up-border);
  gap: 0.25rem;
  margin-bottom: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.up-pdp-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--up-muted);
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}

.up-pdp-tabs .nav-link:hover {
  color: var(--up-olive);
  border-color: transparent;
}

.up-pdp-tabs .nav-link.active {
  background: transparent;
  color: var(--up-olive);
  border-bottom-color: var(--up-pink);
}

.up-pdp-tabs__count {
  color: var(--up-muted);
  font-weight: 600;
  margin-inline-start: 0.2rem;
}

.up-pdp-tabs__content {
  padding-top: 1.15rem;
}

.up-review-alert {
  border-radius: 12px;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.up-review-alert--success {
  background: rgba(47, 107, 72, 0.1);
  color: var(--up-olive);
}

.up-review-alert--error {
  background: rgba(180, 50, 50, 0.08);
  color: #9b2c2c;
}

.up-related-slider {
  padding-bottom: 0.25rem;
}

.up-related-slider .swiper-slide {
  height: auto;
}

.up-related-nav {
  display: inline-flex;
  gap: 0.45rem;
}

.up-related-nav__btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--up-border);
  background: #fff;
  color: var(--up-olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.up-related-nav__btn:hover {
  background: var(--up-pink-soft);
  border-color: var(--up-pink);
  color: var(--up-olive-dark);
}

/* Homepage categories carousel — equal cards + full-width drag */
.ummah-cat-section {
  overflow-x: clip;
}

.ummah-cat-carousel-bleed {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
}

.ummah-cat-carousel {
  overflow: hidden;
  padding-bottom: 0.25rem;
  cursor: grab;
  width: 100%;
}

.ummah-cat-carousel:active {
  cursor: grabbing;
}

.ummah-cat-carousel .swiper-slide {
  width: 78%;
  height: auto;
  opacity: 1;
}

@media (min-width: 576px) {
  .ummah-cat-carousel .swiper-slide {
    width: 42%;
  }
}

@media (min-width: 768px) {
  .ummah-cat-carousel .swiper-slide {
    width: 28%;
  }
}

@media (min-width: 1200px) {
  .ummah-cat-carousel .swiper-slide {
    width: 20%;
  }
}

@media (min-width: 1400px) {
  .ummah-cat-carousel .swiper-slide {
    width: 17.5%;
  }
}

.ummah-cat-carousel .ummah-cat-card {
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
}

@media (min-width: 992px) {
  .ummah-cat-carousel .ummah-cat-card {
    height: 400px;
  }
}

.ummah-cat-card__link {
  display: block;
  position: relative;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.ummah-cat-card__thumb {
  position: absolute !important;
  inset: 0;
  margin: 0;
}

.ummah-cat-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ummah-cat-card__link:hover .ummah-cat-card__thumb img {
  transform: scale(1.04);
}

.ummah-cat-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 28, 24, 0.08) 0%, rgba(20, 28, 24, 0.18) 38%, rgba(20, 28, 24, 0.78) 100%);
  pointer-events: none;
}

.ummah-cat-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.15rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.ummah-cat-card__count {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.25rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(250, 248, 245, 0.95);
  color: #2f6b48;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(20, 28, 24, 0.12);
}

.ummah-cat-card__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ummah-cat-card__title::after {
  content: "←";
  font-size: 0.85em;
  font-weight: 700;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ummah-cat-card__link:hover .ummah-cat-card__title,
.ummah-cat-card__link:focus-visible .ummah-cat-card__title {
  color: #f5d0dc;
}

.ummah-cat-card__link:hover .ummah-cat-card__title::after,
.ummah-cat-card__link:focus-visible .ummah-cat-card__title::after {
  opacity: 1;
  transform: translateX(0);
}

.ummah-cat-card__desc {
  margin: 0;
  color: #e591ac;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.ummah-cat-card__offer,
.ummah-cat-card__content-center,
.ummah-cat-card__content-side {
  display: none !important;
}

.ummah-cat-nav {
  display: inline-flex;
  gap: 0.45rem;
}

.ummah-cat-nav__btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--up-border);
  background: #fff;
  color: var(--up-olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.ummah-cat-nav__btn:hover {
  background: var(--up-pink-soft);
  border-color: var(--up-pink);
  color: var(--up-olive-dark);
}

.ummah-offer-banner {
  min-height: 380px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 16px 40px rgba(47, 107, 72, 0.12);
}

@media (min-width: 992px) {
  .ummah-offer-banner {
    min-height: 420px;
  }
}

.up-accordion .accordion-body {
  line-height: 1.7;
}

.up-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--up-ink);
  margin-bottom: 0.35rem;
}

.up-input,
.up-select,
.up-textarea {
  width: 100%;
  border: 1px solid var(--up-border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  color: var(--up-ink);
  font-family: inherit;
}

.up-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232F6B48' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.9rem center;
  padding-inline-end: 0.9rem;
  padding-inline-start: 2.2rem;
  cursor: pointer;
}

.up-input:focus,
.up-select:focus,
.up-textarea:focus {
  outline: none;
  border-color: var(--up-pink);
  box-shadow: 0 0 0 3px rgba(229, 145, 172, 0.18);
}

.up-autocomplete {
  position: relative;
}

.up-autocomplete__list {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(30, 40, 30, 0.12);
}

.up-autocomplete__option {
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--up-ink);
}

.up-autocomplete__option:hover,
.up-autocomplete__option.is-active {
  background: rgba(229, 145, 172, 0.14);
  color: var(--up-olive-dark, #245538);
}

.up-autocomplete__empty {
  padding: 0.75rem 0.8rem;
  color: var(--up-muted);
  font-size: 0.9rem;
}

.up-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* ——— Shop listing ——— */
.up-shop {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.up-filters {
  position: sticky;
  top: 96px;
  background: var(--up-white);
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1.15rem;
  box-shadow: var(--up-shadow);
}

.up-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--up-border);
  color: var(--up-olive);
  font-weight: 800;
}

.up-filters__count {
  font-weight: 500;
  color: var(--up-muted);
  font-size: 0.85rem;
}

.up-filter-group {
  border-bottom: 1px solid var(--up-border);
  padding: 0.7rem 0;
}

.up-filter-group:last-of-type { border-bottom: 0; }

.up-filter-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-weight: 700;
  color: var(--up-ink);
  font-family: inherit;
  cursor: pointer;
  gap: 0.5rem;
}

.up-filter-toggle::after {
  content: '+';
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--up-muted);
}

.up-filter-toggle[aria-expanded="true"]::after {
  content: '−';
}

.up-filter-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.55rem;
}

.up-filter-body.is-collapsed { display: none; }

.up-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--up-ink);
  cursor: pointer;
}

.up-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.up-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.up-sort label {
  margin: 0;
  color: var(--up-muted);
  font-size: 0.9rem;
}

.up-sort select {
  min-width: 180px;
  border-radius: 999px;
  border: 1px solid var(--up-border);
  padding: 0.45rem 0.9rem;
  background: #fff;
}

.up-filters-mobile-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--up-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  color: var(--up-olive);
}

.up-filters-close { display: none; background: none; border: 0; font-size: 1.25rem; line-height: 1; }
.up-filters-backdrop { display: none; }

@media (max-width: 991.98px) {
  .up-shop { grid-template-columns: 1fr; }
  .up-filters-mobile-btn { display: inline-flex; }
  .up-filters-close { display: inline-flex; }
  .up-filters {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(320px, 90vw);
    max-height: 100vh;
    overflow: auto;
    z-index: 1050;
    border-radius: 0;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
    top: 0;
  }
  html[dir="rtl"] .up-filters { transform: translateX(110%); }
  body.up-filters-open .up-filters { transform: translateX(0); }
  body.up-filters-open .up-filters-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1045;
  }
}

/* ——— PDP ——— */
.up-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.up-pdp__gallery {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1rem;
  box-shadow: var(--up-shadow);
}

.up-pdp__main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f3ee;
  border-radius: 14px;
}

.up-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.up-pdp__thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f7f3ee;
}

.up-pdp__thumbs img.active,
.up-pdp__thumbs img:hover {
  border-color: var(--up-pink);
}

.up-pdp__cat {
  color: var(--up-pink);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.up-pdp__name {
  color: var(--up-olive);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 0.35rem;
}

.up-pdp__name-en {
  color: var(--up-muted);
  margin-bottom: 0.75rem;
}

.up-pdp__price {
  color: var(--up-olive);
  font-weight: 800;
  font-size: 1.45rem;
  margin: 0.5rem 0 1rem;
}

.up-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
}

.up-price__was {
  color: #8a847c;
  font-weight: 600;
  font-size: 0.78em;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.up-price__now {
  color: var(--up-olive);
  font-weight: 800;
}

.up-price__currency,
.side-panel-product-meta .up-price__currency,
.total-amount .up-price__currency,
.up-cart-row__price .up-price__currency,
.up-summary__row .up-price__currency,
.up-summary__total .up-price__currency {
  font-size: 0.72em;
  font-style: italic;
  font-weight: 500;
  opacity: 0.85;
  margin-inline-start: 0.15em;
}

.trending-product-card__content-dollar .up-price,
.best-selling-product-card__content1-dollar .up-price,
.best-selling-product-card__content2-dollar .up-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.trending-product-card__content-dollar .up-price__was,
.best-selling-product-card__content1-dollar .up-price__was,
.best-selling-product-card__content2-dollar .up-price__was {
  color: #8a847c;
  font-weight: 500;
  font-size: 0.85em;
  text-decoration: line-through;
}

.trending-product-card__content-dollar .up-price__now,
.best-selling-product-card__content1-dollar .up-price__now,
.best-selling-product-card__content2-dollar .up-price__now {
  color: inherit;
  font-weight: inherit;
}

.up-pdp__variants {
  flex: 1 1 100%;
  margin-bottom: 0.25rem;
}

.up-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.up-variant-btn {
  min-width: 3.25rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--up-border);
  border-radius: 12px;
  background: #fff;
  color: #222;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.up-variant-btn:hover:not(:disabled) {
  border-color: var(--up-olive);
}

.up-variant-btn.is-active {
  background: var(--up-olive);
  border-color: var(--up-olive);
  color: #fff;
}

.up-variant-btn.is-disabled,
.up-variant-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.up-variant-btn__hint {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

.up-variant-error {
  color: #b42318;
  font-size: 0.85rem;
  margin: 0.45rem 0 0;
}

.up-pdp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 1.25rem 0;
}

.up-qty {
  width: 96px;
  border-radius: 12px;
  border: 1px solid var(--up-border);
  padding: 0.65rem 0.7rem;
}

.up-pdp__qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
}

.up-pdp__qty-field {
  display: flex;
  flex-direction: column;
}

.up-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(47, 107, 72, 0.08);
  color: var(--up-olive);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 18rem;
}

.up-stock-pill__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(47, 107, 72, 0.12);
}

.up-stock-pill.is-ok {
  background: rgba(47, 107, 72, 0.1);
  border-color: rgba(47, 107, 72, 0.18);
  color: var(--up-olive);
}

.up-stock-pill.is-low {
  background: rgba(229, 145, 172, 0.16);
  border-color: rgba(229, 145, 172, 0.35);
  color: #9b4560;
}

.up-stock-pill.is-low .up-stock-pill__dot {
  box-shadow: 0 0 0 4px rgba(229, 145, 172, 0.2);
}

.up-stock-pill.is-out {
  background: rgba(180, 50, 50, 0.08);
  border-color: rgba(180, 50, 50, 0.18);
  color: #9b2c2c;
}

.up-stock-pill.is-out .up-stock-pill__dot {
  box-shadow: 0 0 0 4px rgba(180, 50, 50, 0.12);
}

.up-stock-pill.is-neutral {
  background: #f3f1ed;
  border-color: var(--up-border);
  color: var(--up-muted);
}

.up-stock-pill.is-neutral .up-stock-pill__dot {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.up-accordion .accordion-item {
  border: 1px solid var(--up-border);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: #fff;
}

.up-accordion .accordion-button {
  font-weight: 700;
  color: var(--up-olive);
  background: #fff;
  box-shadow: none !important;
}

.up-accordion .accordion-button:not(.collapsed) {
  background: var(--up-pink-soft);
  color: var(--up-olive-dark);
}

@media (max-width: 991.98px) {
  .up-pdp { grid-template-columns: 1fr; }
}

/* ——— Cart ——— */
.up-cart-list { display: flex; flex-direction: column; gap: 0.85rem; }

.up-cart-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1rem;
  box-shadow: var(--up-shadow);
}

.up-cart-row__img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: #f0ebe4;
}

.up-cart-row__name {
  font-weight: 800;
  color: var(--up-ink);
  text-decoration: none;
}

.up-cart-row__name:hover { color: var(--up-olive); }
.up-cart-row__meta { color: var(--up-muted); font-size: 0.88rem; }
.up-cart-row__price { color: var(--up-olive); font-weight: 800; white-space: nowrap; }

.up-summary {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1.35rem;
  box-shadow: var(--up-shadow);
  position: sticky;
  top: 100px;
  align-self: start;
  z-index: 5;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}

#checkout-form,
.up-checkout,
.up-section,
.up-container {
  overflow: visible;
}

/* BeauTen sets main { overflow:hidden } which kills position:sticky */
body.ummah-body > main {
  overflow: visible !important;
  display: block;
}

.up-summary.up-summary--sticky,
.up-checkout > .up-summary {
  position: sticky !important;
  top: 100px;
  align-self: start;
  z-index: 5;
}

.up-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  color: var(--up-muted);
}

.up-summary__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--up-border);
  font-weight: 800;
  color: var(--up-olive);
  font-size: 1.1rem;
}

.up-field-error {
  color: #8b1e1e;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

.up-field-success {
  color: #2f6b48;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

.up-coupon-form {
  margin-bottom: 1.25rem;
}

.up-coupon-form__row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.up-coupon-form__row .up-input {
  flex: 1 1 auto;
  min-width: 0;
}

.up-coupon-form__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-inline: 1.15rem;
  min-height: 100%;
}

.up-coupon-remove {
  background: none;
  border: 0;
  padding: 0;
  color: #8b1e1e;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.up-coupon-remove:hover {
  color: #6d1515;
}

.up-cart-checkout {
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .up-cart-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .up-cart-row__price {
    grid-column: 2;
  }
}

/* ——— Checkout ——— */
.up-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.up-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin-bottom: 0.9rem;
}

.up-form-field {
  min-width: 0;
}

.up-autocomplete {
  position: relative;
}

.up-autocomplete__input {
  padding-inline-end: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232F6B48' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.9rem center;
}

.up-autocomplete__list {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(30, 40, 30, 0.12);
}

.up-autocomplete__option {
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--up-ink);
}

.up-autocomplete__option:hover,
.up-autocomplete__option.is-active {
  background: rgba(229, 145, 172, 0.14);
  color: var(--up-olive-dark, #245538);
}

.up-autocomplete__empty {
  padding: 0.75rem 0.85rem;
  color: var(--up-muted);
  font-size: 0.9rem;
}

@media (max-width: 575.98px) {
  .up-form-row {
    grid-template-columns: 1fr;
  }
}

.up-pay-option {
  border: 1px solid var(--up-border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  background: #fff;
  cursor: pointer;
}

.up-pay-option.is-active,
.up-pay-option:has(input:checked) {
  border-color: var(--up-pink);
  background: var(--up-pink-soft);
}

.up-pay-option label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .up-checkout { grid-template-columns: 1fr; }
  .up-summary,
  .up-summary--sticky,
  .up-checkout > .up-summary {
    position: static !important;
    max-height: none;
    overflow: visible;
  }
}

/* ——— About / contact / diagnosis ——— */
.up-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.up-about-grid img {
  width: 100%;
  border-radius: var(--up-radius);
  object-fit: cover;
  max-height: 420px;
  box-shadow: var(--up-shadow);
}

.up-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.up-pill {
  background: var(--up-pink-soft);
  color: var(--up-olive-dark);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.up-diag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.up-diag-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1.35rem;
  box-shadow: var(--up-shadow);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.up-diag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(47, 107, 72, 0.12);
}

.up-diag-card__title {
  color: var(--up-olive);
  font-weight: 800;
  margin: 0.35rem 0;
}

.up-diag-card__desc {
  color: var(--up-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* ——— Diagnosis walkthrough ——— */
.diag-flow {
  position: relative;
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(229, 145, 172, 0.16), transparent 48%),
    radial-gradient(ellipse at 90% 10%, rgba(47, 107, 72, 0.1), transparent 42%),
    linear-gradient(180deg, #fdfaf7 0%, #faf8f5 55%, #f3eee7 100%);
}

.diag-flow__hero {
  max-width: 46rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.diag-flow__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--up-olive, #2f6b48);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.diag-flow__title {
  margin: 0 0 0.85rem;
  color: #1f2a24;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.35;
}

.diag-flow__lead {
  margin: 0 auto 1.15rem;
  max-width: 38rem;
  color: #5d675f;
  font-size: 1.02rem;
  line-height: 1.85;
}

.diag-flow__skip {
  display: inline-block;
  color: #8a908b;
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

.diag-flow__skip:hover {
  color: var(--up-olive, #2f6b48);
}

.diag-flow__progress {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.diag-flow__progress-step {
  width: 2.25rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(47, 107, 72, 0.15);
  transition: background 0.2s ease, width 0.2s ease;
}

.diag-flow__progress-step.is-active,
.diag-flow__progress-step.is-done {
  background: var(--up-olive, #2f6b48);
}

.diag-flow__progress-step.is-active {
  width: 3rem;
}

.diag-flow__panel {
  display: none;
  animation: diagFadeIn 0.35s ease;
}

.diag-flow__panel.is-active {
  display: block;
}

@keyframes diagFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.diag-flow__question {
  margin: 0 0 1.25rem;
  text-align: center;
  color: #243028;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.55;
}

.diag-flow__back {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6b736e;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.diag-flow__back:hover {
  color: var(--up-olive, #2f6b48);
}

.diag-flow__grid {
  display: grid;
  gap: 1rem;
}

.diag-flow__grid--areas {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diag-flow__grid--issues {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 52rem;
  margin: 0 auto;
}

.diag-choice {
  appearance: none;
  width: 100%;
  text-align: start;
  cursor: pointer;
  font: inherit;
  border: 1px solid rgba(47, 107, 72, 0.14);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.25rem 1.15rem;
  box-shadow: 0 8px 24px rgba(40, 50, 40, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.diag-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 72, 0.28);
  box-shadow: 0 12px 28px rgba(47, 107, 72, 0.1);
}

.diag-choice:focus-visible {
  outline: 2px solid var(--up-olive, #2f6b48);
  outline-offset: 2px;
}

.diag-choice.is-selected {
  background: linear-gradient(155deg, #2f6b48 0%, #3a7d56 100%);
  border-color: #2f6b48;
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 107, 72, 0.22);
}

.diag-choice.is-selected .diag-choice__desc {
  color: rgba(255, 255, 255, 0.86);
}

.diag-choice.is-selected .diag-choice__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.diag-choice--issue.is-selected {
  background: linear-gradient(155deg, #e591ac 0%, #d97a98 100%);
  border-color: #e591ac;
  box-shadow: 0 14px 30px rgba(229, 145, 172, 0.28);
}

.diag-choice__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: rgba(47, 107, 72, 0.1);
  color: var(--up-olive, #2f6b48);
  font-size: 1.05rem;
}

.diag-choice__title {
  display: block;
  color: inherit;
  font-weight: 800;
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.diag-choice:not(.is-selected) .diag-choice__title {
  color: #243028;
}

.diag-choice__desc {
  display: block;
  color: #6f776f;
  font-size: 0.9rem;
  line-height: 1.65;
}

.up-contact-form .up-field { margin-bottom: 1rem; }

.diag-flow__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 8rem;
  color: #5d675f;
  font-weight: 600;
}

.diag-flow__spinner {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid rgba(47, 107, 72, 0.2);
  border-top-color: var(--up-olive, #2f6b48);
  animation: diagSpin 0.7s linear infinite;
}

@keyframes diagSpin {
  to { transform: rotate(360deg); }
}

.diag-result__message {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.diag-result__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.diag-result__chips span {
  background: rgba(229, 145, 172, 0.18);
  color: #8d4b63;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.diag-result__title {
  margin: 0 0 0.75rem;
  color: var(--up-olive, #2f6b48);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 900;
}

.diag-result__body {
  margin: 0 auto 1rem;
  color: #5d675f;
  line-height: 1.85;
  font-size: 1rem;
}

.diag-result__course-label {
  margin: 0;
  color: #243028;
  font-weight: 800;
  font-size: 1.05rem;
}

.diag-result__empty {
  background: #fff;
  border: 1px dashed rgba(47, 107, 72, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: #5d675f;
}

.diag-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
}

.diag-result__link,
.diag-result__restart {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6b736e;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  padding: 0;
}

.diag-result__link:hover,
.diag-result__restart:hover {
  color: var(--up-olive, #2f6b48);
}

@media (max-width: 991.98px) {
  .up-about-grid { grid-template-columns: 1fr; }
  .up-diag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diag-flow__grid--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .up-diag-grid { grid-template-columns: 1fr; }
  .diag-flow__grid--areas,
  .diag-flow__grid--issues { grid-template-columns: 1fr; }
  .diag-flow { padding: 1.75rem 0 3rem; }
}

/* Hide unfinished template breadcumb leftovers if any remain */
.breadcumb,
.breadcumb2 { display: none !important; }

/* ——— About page ——— */
.about-hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(229, 145, 172, 0.22), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(47, 107, 72, 0.12), transparent 50%),
    linear-gradient(160deg, #fdf2f6 0%, #faf8f5 50%, #eef7f1 100%);
  border-bottom: 1px solid var(--up-border);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.about-hero__eyebrow {
  color: var(--up-pink);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.about-hero__title {
  color: var(--up-olive);
  font-weight: 900;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.about-hero__tagline {
  color: var(--up-ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  margin: 0;
  opacity: 0.9;
}

.about-block { padding-top: 3.25rem; }

.about-kicker,
.about-section-title {
  color: var(--up-olive);
  font-weight: 800;
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.about-section-sub {
  color: var(--up-pink);
  font-weight: 700;
  margin: -0.35rem 0 1.25rem;
}

.about-prose {
  color: var(--up-muted);
  line-height: 1.95;
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.about-prose--emphasis {
  color: var(--up-ink);
  font-weight: 600;
}

.about-prose--center {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.about-story__media img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  max-height: 460px;
  box-shadow: var(--up-shadow);
}

.about-founder {
  background: linear-gradient(180deg, #f3ebe4 0%, #faf8f5 100%);
  padding: 3.5rem 0;
  border-block: 1px solid var(--up-border);
}

.about-founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.about-founder__card {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--up-shadow);
}

.about-founder__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--up-pink-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(229, 145, 172, 0.35);
}

.about-founder__avatar img {
  width: 72%;
  height: auto;
  object-fit: contain;
}

.about-founder__name {
  color: var(--up-olive);
  font-weight: 800;
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.about-founder__role {
  color: var(--up-pink);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.about-founder__note {
  color: var(--up-muted);
  margin: 0;
  font-size: 0.92rem;
}

.about-quote-panel {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--up-shadow);
  position: relative;
  overflow: hidden;
}

.about-quote-panel::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--up-pink), var(--up-olive));
}

.about-quote-panel__label {
  color: var(--up-pink);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.about-quote-panel__title {
  color: var(--up-olive);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-cta-row--center { justify-content: center; }

.about-ingredients {
  background: linear-gradient(180deg, #eef7f1 0%, #faf8f5 100%);
  padding: 3.5rem 0;
  border-block: 1px solid var(--up-border);
}

.about-ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.about-ingredient-card {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--up-shadow);
}

.about-ingredient-card h3 {
  color: var(--up-olive);
  font-weight: 800;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.about-ingredient-card p {
  color: var(--up-muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-promise {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.about-promise__media img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  max-height: 400px;
  box-shadow: var(--up-shadow);
}

.about-promise__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.about-promise__list li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin-bottom: 0.65rem;
  color: var(--up-ink);
  font-weight: 600;
  line-height: 1.7;
}

.about-promise__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--up-pink);
}

.about-closing {
  background:
    linear-gradient(135deg, rgba(47, 107, 72, 0.94), rgba(36, 85, 56, 0.96)),
    url("https://images.pexels.com/photos/3735657/pexels-photo-3735657.jpeg?auto=compress&cs=tinysrgb&w=1400") center/cover;
  color: #fff;
  padding: 4rem 0;
}

.about-closing__brand {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 0.75rem;
}

.about-closing__line {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto 1.75rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* ——— Legal pages ——— */
.legal-doc {
  max-width: 860px;
  margin-inline: auto;
  line-height: 1.9;
  color: var(--up-ink);
}

.legal-doc__updated {
  color: var(--up-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.legal-doc__lead {
  font-size: 1.05rem;
  color: var(--up-muted);
  margin-bottom: 1.75rem;
}

.legal-doc h2 {
  color: var(--up-olive);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--up-muted);
  margin-bottom: 0.75rem;
}

.legal-doc ul {
  padding-inline-start: 1.25rem;
  margin-bottom: 1rem;
}

.legal-doc a {
  color: var(--up-olive);
  font-weight: 700;
}

.legal-doc__foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--up-border);
}

@media (max-width: 991.98px) {
  .about-story,
  .about-founder__grid,
  .about-promise {
    grid-template-columns: 1fr;
  }

  .about-ingredient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-founder__card {
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .about-ingredient-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Account / invoice ——— */
.ua-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.ua-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--up-border);
}

.ua-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--up-olive);
  background: #fff;
  border: 1px solid var(--up-border);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ua-nav a:hover {
  border-color: var(--up-pink);
  color: var(--up-olive-dark);
}

.ua-nav a.is-active {
  background: var(--up-olive);
  border-color: var(--up-olive);
  color: #fff;
}

.ua-nav__user {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(47, 107, 72, 0.08);
  border: 1px solid rgba(47, 107, 72, 0.16);
  color: var(--up-olive);
  font-weight: 800;
  font-size: 0.92rem;
}

.ua-nav__user i {
  font-size: 0.8rem;
  opacity: 0.85;
}

.ua-nav__logout {
  display: inline-flex;
  margin: 0;
}

.ua-nav__logout button {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  color: #8b1e1e;
  background: #fff;
  border: 1px solid #f5c2c2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ua-nav__logout button:hover {
  background: #fde8e8;
  border-color: #e8a0a0;
}

.ua-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ua-tile {
  display: block;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  box-shadow: var(--up-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ua-tile:hover {
  border-color: var(--up-pink);
  transform: translateY(-2px);
  color: inherit;
}

.ua-tile__label {
  display: block;
  color: var(--up-olive);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.ua-tile__hint {
  display: block;
  color: var(--up-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ua-card {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--up-shadow);
  margin-bottom: 1.25rem;
}

.ua-card--danger {
  border-color: rgba(180, 35, 24, 0.25);
  background: #fff8f7;
}

.ua-card__title {
  color: var(--up-olive);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.ua-card__sub {
  color: var(--up-muted);
  font-size: 0.92rem;
  margin: 0 0 1.15rem;
}

.ua-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ua-order-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--up-border);
}

.ua-order-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ua-order-list li:first-child { padding-top: 0; }

.ua-order-list a {
  color: var(--up-ink);
  font-weight: 800;
  text-decoration: none;
}

.ua-order-list a:hover { color: var(--up-olive); }

.ua-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--up-pink-soft);
  color: var(--up-olive-dark);
}

.ua-badge--pending { background: #fff4e5; color: #9a5b00; }
.ua-badge--ok { background: #e8f5ee; color: #245538; }
.ua-badge--muted { background: #f0eeea; color: #6b6b6b; }
.ua-badge--danger { background: #fdecea; color: #b42318; }

.ua-table {
  width: 100%;
  border-collapse: collapse;
}

.ua-table th,
.ua-table td {
  padding: 0.95rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--up-border);
  vertical-align: middle;
}

.ua-table th {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--up-muted);
  background: #faf8f5;
}

.ua-table td:last-child,
.ua-table th:last-child { text-align: end; }

.ua-table a {
  color: var(--up-ink);
  font-weight: 800;
  text-decoration: none;
}

.ua-table a:hover { color: var(--up-olive); }

.ua-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.ua-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--up-border);
}

.ua-item:last-child { border-bottom: 0; }

.ua-item a {
  color: var(--up-ink);
  font-weight: 700;
  text-decoration: none;
}

.ua-item a:hover { color: var(--up-olive); }

.ua-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ua-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.ua-btn--primary {
  background: var(--up-pink);
  color: #fff;
}

.ua-btn--primary:hover { background: var(--up-olive); color: #fff; }

.ua-btn--olive {
  background: var(--up-olive);
  color: #fff;
}

.ua-btn--olive:hover { background: var(--up-olive-dark); color: #fff; }

.ua-btn--ghost {
  background: #fff;
  color: var(--up-olive);
  border: 1px solid var(--up-border);
}

.ua-btn--ghost:hover {
  border-color: var(--up-pink);
  color: var(--up-olive-dark);
}

.ua-btn--danger {
  background: transparent;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.35);
}

.ua-btn--danger:hover {
  background: #b42318;
  color: #fff;
}

.ua-label {
  display: block;
  font-weight: 700;
  color: var(--up-ink);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.ua-input,
.ua-select,
.ua-textarea {
  width: 100%;
  border: 1px solid var(--up-border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--up-ink);
  font-family: inherit;
}

.ua-input:focus,
.ua-select:focus,
.ua-textarea:focus {
  outline: none;
  border-color: var(--up-pink);
  box-shadow: 0 0 0 3px rgba(229, 145, 172, 0.2);
}

.ua-field { margin-bottom: 1rem; }

.ua-invoice-sheet {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--up-shadow);
}

.ua-invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

@media (max-width: 575.98px) {
  .up-pdp__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .up-pdp__actions .up-qty,
  .up-pdp__actions .btn,
  .up-pdp__actions button {
    width: 100%;
  }

  .up-pdp__thumbs img {
    width: 64px;
    height: 64px;
  }

  .ua-invoice-actions {
    flex-direction: column;
  }

  .ua-invoice-actions .btn,
  .ua-invoice-actions a {
    width: 100%;
    justify-content: center;
  }
}


@media print {
  .header-area,
  .footer1,
  .ummah-whatsapp-float,
  .ua-invoice-actions,
  .up-hero,
  .ummah-chatbot,
  #js-site-form-alerts { display: none !important; }
  .ua-invoice-sheet {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  body.ummah-body { background: #fff !important; }
}

/* ——— Shop pagination ——— */
.shop-pagination-wrap {
  margin-top: 2.5rem;
  width: 100%;
}

.up-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.up-pagination__meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--up-muted, #6b7280);
  font-weight: 600;
}

.up-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.up-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--up-border, rgba(47, 107, 72, 0.16));
  background: #fff;
  color: var(--up-olive, #2f6b48);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.up-pagination__item:not(.is-disabled):not(.is-active) .up-pagination__btn:hover {
  border-color: var(--up-pink, #e591ac);
  color: var(--up-olive-dark, #245538);
  background: var(--up-pink-soft, rgba(229, 145, 172, 0.12));
  transform: translateY(-1px);
}

.up-pagination__item.is-active .up-pagination__btn {
  background: var(--up-olive, #2f6b48);
  border-color: var(--up-olive, #2f6b48);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 107, 72, 0.22);
}

.up-pagination__item.is-disabled .up-pagination__btn {
  opacity: 0.4;
  cursor: default;
  background: #f7f3ee;
}

.up-pagination__item.is-ellipsis .up-pagination__btn {
  border: 0;
  background: transparent;
  min-width: 1.5rem;
  padding: 0;
  color: var(--up-muted, #6b7280);
}

@media (max-width: 575.98px) {
  .up-pagination__btn {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.85rem;
  }
}

/* Home intro — elegant copy + CTAs */
.intro1.ummah-intro,
.intro1 {
  padding-top: 2.25rem !important;
  padding-bottom: 1.5rem;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 55% 60% at 78% 42%, rgba(229, 145, 172, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 18% 55%, rgba(47, 107, 72, 0.07) 0%, transparent 68%),
    #faf8f5;
}

.ummah-intro-row {
  align-items: center !important;
  min-height: min(68vh, 640px);
}

.ummah-intro-copy-col {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.ummah-intro-copy {
  position: relative;
  z-index: 4;
  max-width: 34rem;
  width: 100%;
  margin-top: 0;
  padding-block: 0.35rem;
}

.ummah-intro-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(229, 145, 172, 0.14);
  color: #c45f7f;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.ummah-intro-copy__eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e591ac, #2f6b48);
  box-shadow: 0 0 0 3px rgba(229, 145, 172, 0.2);
  flex-shrink: 0;
}

.ummah-intro-copy__title {
  margin: 0 0 1.05rem;
  max-width: none;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #1c2922;
}

.ummah-intro-copy__brand {
  color: #e591ac;
}

.ummah-intro-copy__tagline {
  position: relative;
  margin: 0 0 1rem;
  padding-inline-start: 1rem;
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
  font-weight: 600;
  line-height: 1.7;
  color: #2f6b48;
}

.ummah-intro-copy__tagline::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e591ac 0%, #2f6b48 100%);
}

.ummah-intro-copy__desc {
  margin: 0 0 1.75rem;
  max-width: 30rem;
  font-size: clamp(0.98rem, 1.55vw, 1.08rem);
  font-weight: 500;
  line-height: 1.9;
  color: #5c6560;
}

.ummah-intro-copy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.ummah-intro-copy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ummah-intro-copy__btn i {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.ummah-intro-copy__btn--green {
  background: #2f6b48;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(47, 107, 72, 0.24);
}

.ummah-intro-copy__btn--green:hover {
  background: #245538;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(47, 107, 72, 0.3);
}

.ummah-intro-copy__btn--pink {
  background: #e591ac;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(229, 145, 172, 0.32);
}

.ummah-intro-copy__btn--pink:hover {
  background: #d97a99;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(229, 145, 172, 0.38);
}

.ummah-intro-copy__btn--pink:hover i {
  transform: translateX(-3px);
}

/* legacy aliases */
.ummah-intro-copy__btn--primary {
  background: #2f6b48;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(47, 107, 72, 0.24);
}

.ummah-intro-copy__btn--ghost {
  background: #e591ac;
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(229, 145, 172, 0.32);
}

@media (max-width: 991.98px) {
  .ummah-intro-row {
    min-height: 0;
  }

  .ummah-intro-copy-col {
    align-self: auto;
  }

  .ummah-intro-copy {
    max-width: none;
    text-align: center;
    margin-inline: auto;
    padding-bottom: 0.35rem;
  }

  .ummah-intro-copy__eyebrow {
    margin-inline: auto;
  }

  .ummah-intro-copy__title {
    max-width: none;
    margin-inline: auto;
  }

  .ummah-intro-copy__tagline {
    padding-inline-start: 0;
    max-width: 28rem;
    margin-inline: auto;
  }

  .ummah-intro-copy__tagline::before {
    display: none;
  }

  .ummah-intro-copy__desc {
    margin-inline: auto;
  }

  .ummah-intro-copy__actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ummah-intro-copy__btn,
  .ummah-intro-copy__btn i {
    transition: none;
  }
}

.intro1__bg-text {
  display: block !important;
  z-index: 3 !important;
  color: rgba(47, 107, 72, 0.08) !important;
  font-family: 'Tajawal', sans-serif !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: max-content;
  max-width: min(100%, 90vw);
  overflow: hidden;
  text-align: center;
  transform: translate(-50%, -50%) !important;
  pointer-events: none;
}

.ummah-intro-thumb {
  position: relative;
  z-index: 1;
}

.ummah-intro-thumb .main-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(47, 107, 72, 0.18));
}

.ummah-intro-thumb::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 6%;
  height: 16%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(47, 107, 72, 0.22) 0%, rgba(47, 107, 72, 0.08) 45%, rgba(47, 107, 72, 0) 72%);
  pointer-events: none;
  filter: blur(2px);
}

/* Categories index page */
.ummah-categories-page__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--up-pink);
  font-weight: 700;
  font-size: 1.05rem;
}

.ummah-categories-page__lead {
  margin: 0 0 0.65rem;
  color: var(--up-olive-dark);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.ummah-categories-page__text {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--up-muted);
  line-height: 1.7;
}

.ummah-categories-page__intro {
  max-width: 40rem;
}

.ummah-cat-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--up-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ummah-cat-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 72, 0.28);
  box-shadow: 0 14px 28px rgba(47, 107, 72, 0.1);
  color: inherit;
}

.ummah-cat-tile__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3efe8;
}

.ummah-cat-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ummah-cat-tile:hover .ummah-cat-tile__media img {
  transform: scale(1.04);
}

.ummah-cat-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1rem 1.1rem;
}

.ummah-cat-tile__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--up-olive-dark);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.ummah-cat-tile:hover .ummah-cat-tile__title {
  color: var(--up-pink, #e591ac);
}

.ummah-cat-tile__desc {
  color: var(--up-pink, #e591ac);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.ummah-cat-tile__meta {
  margin-top: 0.35rem;
  color: var(--up-pink);
  font-size: 0.82rem;
  font-weight: 700;
}

