/*
 * URANUS identity for Salla's Raed theme (Twig).
 * Paste into: Store design → Customize theme → Advanced (</>) → Customize with CSS.
 * Brand: UAT Brand Kit v1.0. Navy #28306E, Graphite #58595D, Midnight #161B45,
 * Silver #BCBDBE, Mist #EEF0F5, Motion Blue #1F9BCF (accent only).
 * Fonts: Alexandria (Arabic headings), IBM Plex Sans Arabic (Arabic body),
 * Montserrat / IBM Plex Sans (Latin). Square corners, 60° slants.
 */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&family=Montserrat:wght@600;700&display=swap');

:root {
  --uat-navy: #28306e;
  --uat-graphite: #58595d;
  --uat-midnight: #161b45;
  --uat-silver: #bcbdbe;
  --uat-mist: #eef0f5;
  --uat-blue: #1f9bcf;
  --uat-line: #e3e6ee;
  --uat-lines: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 16px);
  --s-radius: 0px;
}

/* The brand colour and fonts win over the dashboard's. */
body.theme-raed {
  --color-primary: var(--uat-navy) !important;
  --color-primary-dark: var(--uat-midnight) !important;
  --color-primary-light: #3a4390 !important;
  --color-primary-reverse: #ffffff !important;
  --font-main: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif !important;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif !important;
  color: var(--uat-midnight);
}
body.theme-raed.ltr {
  --font-main: 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif !important;
  font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif !important;
}
body.theme-raed h1,
body.theme-raed h2,
body.theme-raed h3,
body.theme-raed .s-block__title h2,
body.theme-raed .s-slider-block__title h2 {
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
}
body.theme-raed.ltr h1,
body.theme-raed.ltr h2 {
  font-family: 'Montserrat', 'IBM Plex Sans', sans-serif;
}

/* ---------- Square corners everywhere (logo's sharp cuts) ---------- */
body.theme-raed .rounded,
body.theme-raed .rounded-md,
body.theme-raed .rounded-lg,
body.theme-raed .rounded-xl,
body.theme-raed .rounded-2xl,
body.theme-raed .rounded-large,
body.theme-raed .rounded-big,
body.theme-raed .s-button-element,
body.theme-raed .btn,
body.theme-raed input,
body.theme-raed select,
body.theme-raed textarea,
body.theme-raed .s-search-input,
body.theme-raed .s-product-card-entry,
body.theme-raed .s-product-card-image,
body.theme-raed .banner-entry,
body.theme-raed .slide--cat-entry,
body.theme-raed .s-block--features__item,
body.theme-raed .sticky-product-bar,
body.theme-raed .details-slider,
body.theme-raed .swiper-slide img,
body.theme-raed .s-reviews-testimonial,
body.theme-raed .s-reviews-testimonial__inner {
  border-radius: 0 !important;
}

/* ---------- Header ---------- */
body.theme-raed .top-navbar {
  background: var(--uat-midnight) !important;
  background-image: var(--uat-lines) !important;
}
body.theme-raed .main-nav-container {
  background: #fff !important;
  box-shadow: 0 1px 0 var(--uat-line) !important;
}
body.theme-raed .main-nav-container .main-menu > li > a,
body.theme-raed .main-nav-container a {
  color: var(--uat-midnight);
  font-weight: 500;
}
body.theme-raed .main-nav-container .main-menu > li > a:hover {
  color: var(--uat-navy);
}
body.theme-raed salla-cart-summary .s-cart-summary-count {
  background: var(--uat-blue) !important;
  color: var(--uat-midnight) !important;
}

/* Main menu on one line: Raed's 12px padding pushed "More" to a second row. */
@media (min-width: 1024px) {
  body.theme-raed custom-main-menu ul.main-menu { flex-wrap: nowrap !important; white-space: nowrap; }
  body.theme-raed custom-main-menu ul.main-menu > li.root-level { padding-inline: 9px !important; }
  body.theme-raed custom-main-menu ul.main-menu > li.root-level > a { font-size: 13.5px; }
}

/* ---------- Buttons ---------- */
body.theme-raed .s-button-primary,
body.theme-raed .s-button-solid.s-button-primary,
body.theme-raed .btn--primary {
  background: var(--uat-navy) !important;
  border-color: var(--uat-navy) !important;
  color: #fff !important;
}
body.theme-raed .s-button-primary:hover,
body.theme-raed .btn--primary:hover {
  background: var(--uat-midnight) !important;
}
body.theme-raed .s-button-primary-outline {
  border-color: var(--uat-navy) !important;
  color: var(--uat-navy) !important;
}

/* ---------- Section titles ---------- */
body.theme-raed .s-block__title h2,
body.theme-raed .s-slider-block__title h2 {
  color: var(--uat-navy);
  font-weight: 700;
}
body.theme-raed .s-block__title .right-side::before,
body.theme-raed .s-slider-block__title-right::before {
  background: var(--uat-blue) !important;
}

/* ---------- Product cards: equipment-catalog look ---------- */
body.theme-raed .s-product-card-entry {
  border: 1px solid var(--uat-line) !important;
  box-shadow: none !important;
  background: #fff;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
body.theme-raed .s-product-card-entry:hover {
  border-color: var(--uat-navy) !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(40, 48, 110, 0.55) !important;
}
body.theme-raed .s-product-card-image {
  background: var(--uat-mist) !important;
  position: relative;
}
body.theme-raed .s-product-card-image img {
  mix-blend-mode: multiply;
  object-fit: contain !important;
  padding: 12px;
}
body.theme-raed .s-product-card-content-title a {
  color: var(--uat-midnight) !important;
  font-weight: 600;
}
body.theme-raed .s-product-card-content-subtitle {
  color: var(--uat-graphite) !important;
}
body.theme-raed .s-product-card-price,
body.theme-raed .s-product-card-sale-price h4 {
  color: var(--uat-navy) !important;
  font-weight: 700;
}
body.theme-raed .s-product-card-content-footer salla-add-product-button button {
  background: var(--uat-navy) !important;
  border-color: var(--uat-navy) !important;
  color: #fff !important;
}
body.theme-raed .s-product-card-promotion-title,
body.theme-raed .promotion-title {
  background: var(--uat-navy) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

/* ---------- Category links and features ---------- */
body.theme-raed .slide--cat-entry {
  border: 1px solid var(--uat-line);
  background: #fff;
}
body.theme-raed .slide--cat-entry:hover {
  border-color: var(--uat-navy);
}
body.theme-raed .slide--cat-entry i {
  color: var(--uat-navy) !important;
}
body.theme-raed .slide--cat-entry h2 {
  color: var(--uat-midnight);
  font-weight: 600;
}

/* Store features as the theme's "More than a device" grid: hairlines,
   white cells, a Motion Blue number over each title. */
body.theme-raed .s-block--features > .grid {
  gap: 1px !important;
  background: var(--uat-line);
  border: 1px solid var(--uat-line);
  counter-reset: uat-feature;
}
body.theme-raed .s-block--features__item {
  counter-increment: uat-feature;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: start !important;
  align-items: flex-start !important;
  padding: 28px !important;
  transition: background 0.2s;
}
body.theme-raed .s-block--features__item:hover {
  background: var(--uat-mist) !important;
}
body.theme-raed .s-block--features__item::before {
  content: counter(uat-feature, decimal-leading-zero);
  display: block;
  font: 700 30px/1 'Montserrat', sans-serif;
  color: var(--uat-blue);
  margin-bottom: 14px;
}
body.theme-raed .s-block--features__item .feature-icon {
  display: none !important;
}
body.theme-raed .s-block--features__item h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--uat-navy) !important;
  margin: 0 0 8px !important;
}
body.theme-raed .s-block--features__item p {
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: var(--uat-graphite) !important;
}

/* ---------- Product page ---------- */
body.theme-raed.product-single h1 {
  color: var(--uat-midnight);
}
body.theme-raed.product-single .main-content .font-bold.text-xl {
  color: var(--uat-navy);
}
body.theme-raed .details-slider {
  background: var(--uat-mist);
}
body.theme-raed .sticky-product-bar {
  border: 1px solid var(--uat-line);
}

/* ---------- Footer ---------- */
body.theme-raed.footer-is-dark .store-footer,
body.theme-raed .store-footer .store-footer__inner {
  background: var(--uat-midnight) !important;
  background-image: var(--uat-lines) !important;
}

/* ======================================================================
 * Blocks added by uranus-raed.js (hero, features head, quote, Fares chat).
 * Harmless without the script: nothing below matches the store's markup.
 * ====================================================================== */
.uat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.uat-btn--primary { background: var(--uat-navy); color: #fff !important; }
.uat-btn--primary:hover { background: var(--uat-midnight); }
.uat-btn--light { background: #fff; color: var(--uat-navy) !important; }
.uat-btn--line { background: #fff; color: var(--uat-midnight) !important; border-color: #d7dbe6; }
.uat-btn--line:hover { border-color: var(--uat-navy); }
.uat-btn--ghost { background: transparent; color: var(--uat-navy) !important; border-color: #cfd3df; }
.uat-btn--ghost:hover { border-color: var(--uat-navy); }

.uat-peak {
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  width: 12px;
  height: 11px;
  background: var(--uat-navy);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.uat-peak::after {
  content: '';
  position: absolute;
  inset: 5px 3.5px 0;
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ---------- Hero (the catalog's treatment-room scene) ---------- */
.uat-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fb 0%, var(--uat-mist) 100%);
  color: var(--uat-midnight);
}
.uat-hero__inner {
  display: grid;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 24px;
}
@media (min-width: 768px) {
  .uat-hero__inner { grid-template-columns: 1fr 1.05fr; gap: 16px; padding-top: 40px; padding-bottom: 40px; }
}
.uat-hero__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--uat-navy); }
.uat-hero__eyebrow span { width: 8px; height: 8px; background: var(--uat-blue); flex-shrink: 0; }
.uat-hero__title {
  margin-top: 16px;
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--uat-midnight);
}
.uat-hero__text { margin-top: 18px; max-width: 36rem; font-size: 17px; line-height: 2; color: var(--uat-graphite); }
.uat-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.ltr .uat-hero__arrow { transform: scaleX(-1); display: inline-block; }

.uat-hero__visual { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 760px; margin: 0; justify-self: center; }
.uat-hero__slant {
  position: absolute;
  inset: 30% -3% 3% 18%;
  background: #fff;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.uat-hero__stripe {
  position: absolute;
  bottom: 3%;
  left: 14%;
  height: 40%;
  width: 9px;
  background: var(--uat-blue);
  transform: skewX(-30deg);
  transform-origin: bottom;
}
.uat-hero__photo { position: absolute; z-index: 1; right: 0; bottom: 0; height: 88%; aspect-ratio: 1 / 1; }
.uat-hero__photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.uat-hero__arrows {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: var(--uat-navy);
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.uat-hero__arrows path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: uat-draw 1.1s cubic-bezier(0.6, 0, 0.2, 1) forwards;
  animation-delay: calc(0.9s + var(--d, 0) * 1ms);
}
.uat-hero__note,
.uat-hero__callout {
  position: absolute;
  z-index: 2;
  opacity: 0;
  animation: uat-tag 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(0.5s + var(--d, 0) * 1ms);
}
.uat-hero__note {
  top: 2%;
  left: 0;
  width: 44%;
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--uat-graphite);
}
.uat-hero__callout { display: block; color: inherit; }
.uat-hero__callout strong {
  display: block;
  margin-top: 8px;
  font-family: 'Alexandria', 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--uat-midnight);
}
.uat-hero__callout--table { top: 0; right: 0; width: 30%; text-align: right; }
.uat-hero__callout--device { top: 25%; left: 0; width: 32%; text-align: left; }
.uat-hero__type { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--uat-graphite); }
.uat-hero__badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  background: var(--uat-blue);
  color: var(--uat-midnight);
}
@media (max-width: 639px) {
  .uat-hero__note, .uat-hero__stripe { display: none; }
  .uat-hero__callout--device { top: 14%; }
  .uat-hero__callout--table .uat-hero__type { display: none; }
  .uat-hero__badge { font-size: 10px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .uat-hero__arrows path { stroke-dashoffset: 0; animation: none; }
  .uat-hero__note, .uat-hero__callout { opacity: 1; animation: none; }
}
@keyframes uat-draw { to { stroke-dashoffset: 0; } }
@keyframes uat-tag {
  from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Product page assurance ---------- */
.uat-assurance { margin-top: 20px; padding: 16px; border: 1px solid var(--uat-line); background: var(--uat-mist); }
.uat-assurance ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; }
.uat-assurance li { display: flex; align-items: center; gap: 8px; color: var(--uat-midnight); }
.uat-assurance__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.uat-assurance__actions .uat-btn { flex: 1; height: 44px; }

/* ---------- Fares chat ---------- */
/* The launcher invites the customer: a ring spreading out, an "online" dot,
   and every few seconds a small nudge, as if saying "talk to me". It goes
   quiet once the chat was opened or the bubble closed (class is-quiet). */
.uat-fares-launcher {
  position: fixed;
  z-index: 41;
  inset-inline-start: 16px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding-inline: 8px 18px;
  background: var(--uat-navy);
  background-image: var(--uat-lines);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px -12px rgba(22, 27, 69, 0.65);
  cursor: pointer;
  text-align: start;
  /* Three nudges, twelve seconds apart, then it rests: inviting, not nagging. */
  animation: uat-launcher-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both, uat-nudge 12s ease-in-out 4s 3;
  transform-origin: center bottom;
}
.uat-fares-launcher::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--uat-blue);
  pointer-events: none;
  animation: uat-ring 2.4s ease-out 1s 4;
  opacity: 0;
}
.uat-fares-launcher:hover { background-color: var(--uat-midnight); }
.uat-fares-launcher:focus-visible { outline: 2px solid var(--uat-blue); outline-offset: 3px; }
.uat-fares-launcher.is-quiet,
.uat-fares-launcher.is-open { animation: none; }
.uat-fares-launcher.is-quiet::after,
.uat-fares-launcher.is-open::after { display: none; }
.uat-fares-launcher__avatar { position: relative; width: 42px !important; height: 42px !important; }
.uat-fares-launcher__avatar svg { width: 28px; height: 11px; }
.uat-fares-launcher__dot {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  width: 11px;
  height: 11px;
  background: var(--uat-blue);
  border: 2px solid var(--uat-navy);
  animation: uat-dot 1.6s ease-in-out infinite;
}
.uat-fares-launcher__text { display: flex; flex-direction: column; line-height: 1.25; }
.uat-fares-launcher__text strong { font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; font-weight: 700; }
.uat-fares-launcher__text small { font-size: 11px; color: #c9cde0; }

/* Speech bubble from Fares, above the launcher. */
.uat-fares-teaser {
  position: fixed;
  z-index: 41;
  inset-inline-start: 16px;
  bottom: 96px;
  width: min(290px, calc(100vw - 32px));
  padding: 14px 16px 14px 14px;
  padding-inline-end: 36px;
  background: #fff;
  border: 1px solid var(--uat-line);
  border-top: 3px solid var(--uat-navy);
  box-shadow: 0 18px 40px -16px rgba(22, 27, 69, 0.45);
  cursor: pointer;
  transform-origin: bottom right;
  animation: uat-teaser-in 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.25) both;
}
.ltr .uat-fares-teaser { transform-origin: bottom left; }
.uat-fares-teaser::after {
  content: '';
  position: absolute;
  bottom: -8px;
  inset-inline-start: 26px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid var(--uat-line);
  border-bottom: 1px solid var(--uat-line);
  transform: rotate(45deg);
}
.ltr .uat-fares-teaser::after { transform: rotate(45deg) scaleX(-1); }
.uat-fares-teaser__hi { font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif; font-size: 14px; font-weight: 700; color: var(--uat-navy); }
.uat-fares-teaser__q { margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--uat-midnight); }
.uat-fares-teaser__close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 24px;
  height: 24px;
  font-size: 12px;
  line-height: 24px;
  color: var(--uat-graphite);
}
.uat-fares-teaser__close:hover { color: var(--uat-navy); }
.uat-fares-teaser__typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.uat-fares-teaser__typing i { width: 7px; height: 7px; background: var(--uat-navy); opacity: 0.35; animation: uat-typing 1s ease-in-out infinite; }
.uat-fares-teaser__typing i:nth-child(2) { animation-delay: 0.15s; }
.uat-fares-teaser__typing i:nth-child(3) { animation-delay: 0.3s; }
.uat-fares-teaser:not(.is-ready) .uat-fares-teaser__hi,
.uat-fares-teaser:not(.is-ready) .uat-fares-teaser__q,
.uat-fares-teaser.is-ready .uat-fares-teaser__typing { display: none; }
.uat-fares-teaser.is-leaving { animation: uat-teaser-out 0.25s ease-in both; }
@media (max-width: 767px) { body.product-single .uat-fares-teaser { bottom: 196px; } }
/* Phones: a compact square with Fares's symbol, a narrower bubble. */
@media (max-width: 639px) {
  .uat-fares-launcher { height: 54px; width: 54px; padding: 0; justify-content: center; inset-inline-start: 14px; bottom: 18px; }
  .uat-fares-launcher__text { display: none; }
  .uat-fares-teaser { inset-inline-start: 14px; bottom: 84px; width: min(250px, calc(100vw - 96px)); padding: 12px; padding-inline-end: 30px; }
  .uat-fares-teaser::after { inset-inline-start: 18px; }
  .uat-fares-teaser__hi { font-size: 13px; }
  .uat-fares-teaser__q { font-size: 12px; line-height: 1.6; }
  .uat-fares { inset-inline-start: 8px; bottom: 84px; width: calc(100vw - 16px); height: min(540px, calc(100dvh - 110px)); }
}

@keyframes uat-launcher-in { from { opacity: 0; transform: translateY(24px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes uat-nudge {
  0%, 84%, 100% { transform: none; }
  86% { transform: translateY(-6px) rotate(-3deg); }
  88% { transform: translateY(0) rotate(3deg); }
  90% { transform: translateY(-4px) rotate(-2deg); }
  92% { transform: translateY(0) rotate(1.5deg); }
  94% { transform: scale(1.04); }
  96% { transform: none; }
}
@keyframes uat-ring { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.45); } }
@keyframes uat-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes uat-typing { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes uat-teaser-in { from { opacity: 0; transform: translateY(12px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes uat-teaser-out { to { opacity: 0; transform: translateY(8px) scale(0.92); } }
@media (prefers-reduced-motion: reduce) {
  .uat-fares-launcher, .uat-fares-launcher__dot, .uat-fares-teaser, .uat-fares-teaser__typing i { animation: none !important; }
  .uat-fares-launcher::after { display: none; }
}
/* Above Raed's sticky add-to-cart bar on phones (about 116px tall). */
@media (max-width: 767px) { body.product-single .uat-fares-launcher { bottom: 130px; } }
.uat-fares-launcher__avatar,
.uat-fares__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--uat-midnight);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font: 700 11px 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  color: #fff;
}
.uat-fares {
  position: fixed;
  z-index: 42;
  inset-inline-start: 16px;
  bottom: 94px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--uat-line);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
@media (max-width: 767px) { body.product-single .uat-fares { bottom: 196px; height: min(480px, calc(100dvh - 220px)); } }
.uat-fares__head { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--uat-navy); background-image: var(--uat-lines); color: #fff; }
.uat-fares__head strong { display: block; font-size: 14px; font-family: 'Alexandria', sans-serif; }
.uat-fares__head small { display: block; font-size: 12px; color: #c9cde0; }
.uat-fares__close { width: 32px; height: 32px; color: #fff; font-size: 14px; }
.uat-fares__viewing { padding: 8px 12px; font-size: 12px; border-bottom: 1px solid var(--uat-line); background: var(--uat-mist); color: var(--uat-graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uat-fares__viewing b { color: var(--uat-navy); }
.uat-fares__list { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; overflow-y: auto; }
.uat-fares__msg { max-width: 85%; padding: 8px 12px; font-size: 14px; line-height: 1.7; white-space: pre-line; }
.uat-fares__msg--you { align-self: flex-end; background: var(--uat-navy); color: #fff; }
.uat-fares__msg--us,
.uat-fares__msg--staff { align-self: flex-start; background: var(--uat-mist); color: var(--uat-midnight); }
.uat-fares__msg small { display: block; font-size: 11px; font-weight: 600; color: var(--uat-navy); }
.uat-fares__meta { font-size: 12px; color: var(--uat-graphite); }
.uat-fares__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 8px; }
.uat-fares__chips button { padding: 6px 12px; font-size: 12px; font-weight: 500; border: 1px solid #cfd3df; color: var(--uat-navy); background: #fff; }
.uat-fares__chips button:hover { border-color: var(--uat-navy); }
.uat-fares__form { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--uat-line); }
.uat-fares__form input { flex: 1; min-width: 0; height: 40px; padding: 0 8px; border: 0 !important; box-shadow: none !important; font-size: 16px; }
.uat-fares__form .uat-btn { height: 40px; padding: 0 16px; }
.uat-fares__note { padding: 0 12px 8px; font-size: 11px; color: var(--uat-graphite); }

/* ---------- Section head for the features grid (added by the script) ---------- */
.uat-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.uat-section-head h2 { font-family: 'Alexandria', sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--uat-navy); }
.uat-ascent { display: inline-flex; align-items: flex-end; gap: 4px; }
.uat-ascent i { display: block; width: 10px; transform: skewX(-30deg); }
.uat-ascent i:nth-child(1) { height: 10px; background: var(--uat-silver); }
.uat-ascent i:nth-child(2) { height: 16px; background: var(--uat-graphite); }
.uat-ascent i:nth-child(3) { height: 22px; background: var(--uat-navy); }

/* ---------- Facility quote block ---------- */
.uat-quote { padding-top: 40px; padding-bottom: 40px; }
.uat-quote__panel {
  position: relative;
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: 32px;
  background: var(--uat-midnight);
  background-image: var(--uat-lines);
  color: #fff;
}
@media (min-width: 768px) { .uat-quote__panel { grid-template-columns: 1fr auto; align-items: center; padding: 48px; } }
.uat-quote__panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  inset-inline-end: -40px;
  background: var(--uat-navy);
  transform: skewX(-30deg);
}
.uat-quote__title { position: relative; z-index: 1; font-family: 'Alexandria', sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: #fff; }
.uat-quote__text { position: relative; z-index: 1; margin-top: 12px; max-width: 42rem; color: #d9dcea; line-height: 1.9; }
.uat-quote__list { position: relative; z-index: 1; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.uat-quote__list li { display: flex; align-items: center; gap: 8px; }
.uat-quote__actions { position: relative; z-index: 1; }

/* ---------- Card footer: add-to-cart and the heart, one height, never overflowing ----------
   A grid (button takes the rest, heart a fixed square) so a narrow phone card can't push
   the heart past the edge, as the old flex row did. */
body.theme-raed .s-product-card-content-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px !important;
  align-items: stretch;
  width: 100%;
}
body.theme-raed .s-product-card-content-footer > * { min-width: 0; margin: 0 !important; }
body.theme-raed .s-product-card-content-footer salla-add-product-button,
body.theme-raed .s-product-card-content-footer salla-add-product-button > div,
body.theme-raed .s-product-card-content-footer salla-add-product-button salla-button { display: block; width: 100%; min-width: 0; }
body.theme-raed .s-product-card-content-footer salla-add-product-button button {
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 10px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.theme-raed .s-product-card-content-footer .s-product-card-wishlist-btn { position: static !important; width: 42px !important; }
body.theme-raed .s-product-card-content-footer salla-button.s-product-card-wishlist-btn button,
body.theme-raed .s-product-card-content-footer button.s-product-card-wishlist-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--uat-navy) !important;
  background: #fff !important;
  color: var(--uat-navy) !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
body.theme-raed .s-product-card-content-footer .s-product-card-wishlist-added button,
body.theme-raed .s-product-card-content-footer button.s-product-card-wishlist-added { background: var(--uat-navy) !important; color: #fff !important; }
@media (max-width: 480px) {
  body.theme-raed .s-product-card-content-footer { grid-template-columns: minmax(0, 1fr) 38px; gap: 6px !important; }
  body.theme-raed .s-product-card-content-footer salla-add-product-button button { height: 38px !important; font-size: 12.5px !important; padding: 0 6px !important; }
  body.theme-raed .s-product-card-content-footer .s-product-card-wishlist-btn,
  body.theme-raed .s-product-card-content-footer salla-button.s-product-card-wishlist-btn button,
  body.theme-raed .s-product-card-content-footer button.s-product-card-wishlist-btn { width: 38px !important; height: 38px !important; }
}

/* ---------- Top bar: WhatsApp button in place of the phone number ---------- */
.uat-topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  background: #25d366;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.uat-topbar-wa:hover { background: #1ebe5b; transform: translateY(-1px); }
/* Phones: the top row already holds search and language, so just the icon. */
@media (max-width: 1023px) {
  .uat-topbar-wa { flex: none; width: 34px; height: 34px; padding: 0; justify-content: center; }
  .uat-topbar-wa span { display: none; }
  .uat-topbar-wa svg { width: 18px; height: 18px; }
}
/* Salla's phone link goes (its number comes from the store settings); the e-mail stays. */
.uat-topbar-contacts .s-contacts-topnav-link[href^="tel:"] { display: none !important; }
.uat-topbar-contacts .s-contacts-topnav-link[href^="tel:"] + * { border: 0 !important; }

/* ---------- Brands: one row that keeps moving (built by the script) ---------- */
body.theme-raed .s-block--logos-slider.uat-brands-row { padding-top: 32px !important; padding-bottom: 32px !important; background: #fff !important; }
.uat-marquee {
  position: relative;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.uat-marquee__track { display: flex; width: max-content; gap: 16px; animation: uat-marquee var(--uat-marquee-time, 32s) linear infinite; }
.uat-marquee:hover .uat-marquee__track,
.uat-marquee:focus-within .uat-marquee__track { animation-play-state: paused; }
.uat-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 180px;
  height: 88px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--uat-line);
  transition: border-color 0.2s;
}
.uat-marquee__item:hover { border-color: var(--uat-navy); }
.uat-marquee__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes uat-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 639px) {
  .uat-marquee__item { width: 132px; height: 66px; padding: 10px 14px; }
  .uat-marquee__track { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .uat-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .uat-marquee__track { animation: none; }
}

/* ---------- Services grid on phones: compact, two side by side ---------- */
@media (max-width: 639px) {
  body.theme-raed .s-block--features > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.theme-raed .s-block--features__item { padding: 14px 12px !important; }
  body.theme-raed .s-block--features__item::before { font-size: 18px; margin-bottom: 8px; }
  body.theme-raed .s-block--features__item h2 { font-size: 13.5px !important; line-height: 1.5 !important; margin-bottom: 4px !important; }
  body.theme-raed .s-block--features__item p {
    font-size: 12px !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Raed stretches the first card on phones; here cards sit two by two, and an
     odd last card takes the full row instead of leaving a hole. */
  body.theme-raed .s-block--features__item { grid-column: auto !important; }
  body.theme-raed .s-block--features__item:last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
  .uat-section-head { margin-bottom: 14px; }
  .uat-section-head h2 { font-size: 20px; }
}

/* ---------- «خدماتنا» banners ----------
   The images are 700×400 and carry their own titles. Raed shows them "contain" in grey
   614×200 boxes, which reads as a cut picture: here each box takes the image's own shape
   (7:4) with no grey, so the whole picture shows. Raed's overlaid title is kept for screen
   readers and search only. */
body.theme-raed .s-block--banners .banner-entry {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 7 / 4;
  background: transparent !important;
}
body.theme-raed .s-block--banners .banner-entry .lazy__bg {
  background-size: cover !important;
  background-position: center !important;
  background-color: transparent !important;
}
body.theme-raed .s-block--banners .banner-entry::before,
body.theme-raed .s-block--banners .banner-entry::after { display: none !important; }
body.theme-raed .s-block--banners .banner-entry h3 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
}
/* Phones: two side by side. */
@media (max-width: 639px) {
  body.theme-raed .s-block--banners .square-photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.theme-raed .s-block--banners .banner-entry { grid-row: auto !important; grid-column: auto !important; }
  /* The second banners block continues the first one: no big gap between them. */
  body.theme-raed .s-block--banners + .s-block--banners { margin-top: 8px !important; }
}

/* ======================================================================
 * Product page: the quick summary and a decision-first order (script: productLayout).
 * ====================================================================== */
.uat-pdp .uat-pdp-moved { display: none !important; }
body.theme-raed.product-single .main-content h1 {
  font-size: clamp(19px, 2.2vw, 26px) !important;
  line-height: 1.55 !important;
  margin-bottom: 10px !important;
}
body.theme-raed.product-single .product-entry__sub-title { margin-bottom: 8px; color: var(--uat-graphite) !important; }

.uat-pdp-quick {
  margin: 16px 0 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--uat-line);
  border-top: 3px solid var(--uat-navy);
  display: grid;
  gap: 14px;
}
.uat-pdp-quick__block h3 {
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--uat-navy);
  margin-bottom: 8px;
}
.uat-pdp-highlights { display: grid; gap: 8px; }
.uat-pdp-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--uat-midnight);
  animation: uat-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.08s * var(--i, 0) + 0.1s);
}
.uat-pdp-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--uat-navy);
  position: relative;
}
.uat-pdp-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.uat-pdp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--uat-line);
  border: 1px solid var(--uat-line);
}
.uat-pdp-facts > div {
  background: var(--uat-mist);
  padding: 10px 12px;
  min-width: 0;
  animation: uat-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.08s * var(--i, 0) + 0.1s);
}
.uat-pdp-facts dt { font-size: 11px; color: var(--uat-graphite); }
.uat-pdp-facts dd { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--uat-midnight); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uat-pdp-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; font-size: 12.5px; color: var(--uat-midnight); }
.uat-pdp-trust li { display: flex; align-items: center; gap: 8px; }
.uat-pdp-ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: var(--uat-navy);
  background-image: var(--uat-lines);
  color: #fff;
  font-size: 13px;
  text-align: start;
  transition: background-color 0.2s, transform 0.2s;
}
.uat-pdp-ask strong { font-family: 'Alexandria', sans-serif; font-size: 14px; white-space: nowrap; }
.uat-pdp-ask:hover { background-color: var(--uat-midnight); transform: translateY(-1px); }

/* Options and the price/quantity cards: lighter, closer together. */
body.theme-raed.product-single .uat-pdp form.product-form > section,
body.theme-raed.product-single .uat-pdp salla-product-options {
  border: 1px solid var(--uat-line);
  box-shadow: none !important;
}
body.theme-raed.product-single .uat-pdp form.product-form > section { margin-bottom: 10px !important; padding: 14px 16px !important; }
.uat-pdp-more { margin-bottom: 10px; border: 1px dashed #cfd3df; background: #fff; }
.uat-pdp-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--uat-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.uat-pdp-more > summary::-webkit-details-marker { display: none; }
.uat-pdp-more > summary::before { content: '+'; font-weight: 700; width: 14px; text-align: center; }
.uat-pdp-more[open] > summary::before { content: '–'; }
.uat-pdp-more > section { margin: 0 !important; border: 0 !important; }

/* Warranty and quote: one compact strip under add-to-cart. */
.uat-pdp .uat-assurance { margin-top: 12px; padding: 12px; }
.uat-pdp .uat-assurance ul { display: none; }
.uat-pdp .uat-assurance__actions { margin-top: 0; }

/* The full description comes after the decision, in its own card. */
.uat-pdp .product__description {
  margin-top: 18px;
  padding: 16px !important;
  background: #fff;
  border: 1px solid var(--uat-line);
}

/* Gallery: a soft zoom on desktop. */
@media (hover: hover) and (min-width: 768px) {
  body.theme-raed.product-single .details-slider .swiper-slide img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  body.theme-raed.product-single .details-slider .swiper-slide:hover img { transform: scale(1.06); }
}

/* Phones: the essentials on the first screens. */
@media (max-width: 767px) {
  body.theme-raed.product-single .container--breadcrumbs nav.breadcrumbs { padding: 8px 0 !important; }
  body.theme-raed.product-single .s-breadcrumb-wrapper {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
    scrollbar-width: none;
  }
  body.theme-raed.product-single .s-breadcrumb-wrapper::-webkit-scrollbar { display: none; }
  body.theme-raed.product-single .details-slider .swiper-slide img { max-height: 46vh; object-fit: contain; }
  body.theme-raed.product-single .main-content h1 { font-size: 18px !important; }
  .uat-pdp-quick { padding: 14px; gap: 12px; }
  .uat-pdp-highlights { gap: 6px; }
  .uat-pdp-highlights li { font-size: 13.5px; }
  /* Facts as one swipeable row of small cards; the trust lines live in the strip below. */
  .uat-pdp-facts {
    display: flex;
    gap: 8px;
    background: none;
    border: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: -14px;
    padding-inline: 14px;
  }
  .uat-pdp-facts::-webkit-scrollbar { display: none; }
  .uat-pdp-facts > div { flex: 0 0 auto; max-width: 70%; scroll-snap-align: start; border: 1px solid var(--uat-line); padding: 8px 10px; }
  .uat-pdp-trust { display: none; }
  .uat-pdp .uat-assurance ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; font-size: 12px; margin-bottom: 10px; }
}

@keyframes uat-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .uat-pdp-highlights li, .uat-pdp-facts > div { animation: none; }
}

/* ---------- Product cards on phones: two full cards per row, compact ----------
   Sliders showed one 250px card and a cut slice of the next. Here a card is 44% of the
   row (two plus a peek of the third, so swiping is obvious), with a square photo,
   a two-line name, the price and the buttons. Grids use the same compact card. */
@media (max-width: 639px) {
  body.theme-raed .s-products-slider-card { width: 44% !important; }
  body.theme-raed .s-product-card-entry .s-product-card-image { aspect-ratio: 1 / 1; height: auto !important; }
  body.theme-raed .s-product-card-entry .s-product-card-image img { padding: 8px; }
  body.theme-raed .s-product-card-entry .s-product-card-content { padding: 10px !important; }
  body.theme-raed .s-product-card-entry .s-product-card-content-title { margin-bottom: 4px; }
  body.theme-raed .s-product-card-entry .s-product-card-content-title a {
    font-size: 13px !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
  }
  body.theme-raed .s-product-card-entry .s-product-card-content-subtitle { display: none !important; }
  body.theme-raed .s-product-card-entry .s-product-card-content-sub { margin: 4px 0 8px !important; }
  body.theme-raed .s-product-card-entry .s-product-card-price,
  body.theme-raed .s-product-card-entry .s-product-card-sale-price h4 { font-size: 14px !important; }
  body.theme-raed .s-product-card-entry .s-product-card-promotion-title {
    font-size: 10px !important;
    padding: 3px 6px !important;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.theme-raed .s-product-card-content-footer { grid-template-columns: minmax(0, 1fr) 34px; gap: 6px !important; }
  body.theme-raed .s-product-card-content-footer salla-add-product-button button { height: 36px !important; font-size: 12px !important; padding: 0 4px !important; }
  body.theme-raed .s-product-card-content-footer .s-product-card-wishlist-btn,
  body.theme-raed .s-product-card-content-footer salla-button.s-product-card-wishlist-btn button,
  body.theme-raed .s-product-card-content-footer button.s-product-card-wishlist-btn { width: 34px !important; height: 36px !important; }
}

/* ---------- Logo: Raed caps it at 100px wide on phones (21px tall), too small for the mark ---------- */
body.theme-raed .navbar-brand img { width: auto !important; height: 34px !important; max-height: none !important; max-width: none !important; }
@media (max-width: 374px) { body.theme-raed .navbar-brand img { height: 30px !important; } }
@media (min-width: 1024px) { body.theme-raed .navbar-brand img { height: 44px !important; } }

/* Card buttons on phones: the full «أضف إلى السلة» fits once the bag icon goes; narrow phones get a slimmer heart */
@media (max-width: 639px) {
  body.theme-raed .s-product-card-content-footer salla-add-product-button button { font-size: 11px !important; padding: 0 2px !important; }
  body.theme-raed .s-product-card-content-footer salla-add-product-button button i { display: none !important; }
}
@media (max-width: 374px) {
  body.theme-raed .s-product-card-content-footer { grid-template-columns: minmax(0, 1fr) 30px; gap: 4px !important; }
  body.theme-raed .s-product-card-content-footer .s-product-card-wishlist-btn,
  body.theme-raed .s-product-card-content-footer salla-button.s-product-card-wishlist-btn button,
  body.theme-raed .s-product-card-content-footer button.s-product-card-wishlist-btn { width: 30px !important; }
  body.theme-raed .s-product-card-entry .s-product-card-content { padding: 8px !important; }
}

/* Top bar: let the search shrink so the WhatsApp button never pushes past the edge on 360px phones */
body.theme-raed .top-navbar .container > .flex-1,
body.theme-raed .top-navbar .container > .flex-1 > * { min-width: 0; }
body.theme-raed .uat-topbar-wa { flex: none; margin-inline-start: 8px; }

/* ---------- Footer: three tidy columns on desktop, short stacked sections on phones ----------
   Raed lays the footer on a six-column grid and fills four, so a wide empty gap sat beside
   the contacts. Here: about the company | links | contact, then one bottom bar with the
   copyright and payment logos, kept clear of the Fares button. */
body.theme-raed .uat-footer .store-footer__inner { padding: 56px 0 40px !important; }
body.theme-raed .uat-footer .store-footer__inner > .container {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px !important;
  align-items: start;
}
body.theme-raed .uat-footer .store-footer__inner > .container > * { grid-column: auto !important; padding: 0 !important; min-width: 0; }
/* Salla's app-download badges: an empty element unless the store has apps, which would add a blank grid row */
body.theme-raed .uat-footer salla-apps-icons:empty { display: none !important; }
body.theme-raed .uat-footer h3 {
  position: relative;
  font-size: 16px !important;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 22px !important;
  padding-bottom: 12px;
}
body.theme-raed .uat-footer h3::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  background: var(--uat-sky, #2a9fd8);
  transform: skewX(-30deg);
}
body.theme-raed .uat-footer .store-footer__inner p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.7) !important; }
body.theme-raed .uat-footer .store-footer__inner .max-w-sm { max-width: 400px; margin-bottom: 20px !important; }

/* Commercial register and VAT: two small framed chips */
body.theme-raed .uat-footer .store-footer__inner .container > :first-child > .flex.gap-4 { flex-wrap: wrap; gap: 10px !important; }
body.theme-raed .uat-footer salla-trust-badges,
body.theme-raed .uat-footer .store-footer__inner .container > :first-child > .flex.gap-4 > .flex {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  align-items: center !important;
}
body.theme-raed .uat-footer salla-trust-badges img { width: 34px !important; height: 34px !important; }
body.theme-raed .uat-footer .store-footer__inner .container > :first-child > .flex.gap-4 > .flex img { max-height: 30px; width: auto; }
body.theme-raed .uat-footer salla-trust-badges *,
body.theme-raed .uat-footer .store-footer__inner .container > :first-child > .flex.gap-4 > .flex div { font-size: 12px !important; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

/* Social icons */
body.theme-raed .uat-footer .s-social-list { display: flex; flex-wrap: wrap; gap: 8px; }
body.theme-raed .uat-footer .s-social-list a {
  width: 36px !important;
  height: 36px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
body.theme-raed .uat-footer .s-social-list a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5) !important; }

/* Links */
body.theme-raed .uat-footer .s-menu-footer-list { display: grid !important; gap: 12px; }
body.theme-raed .uat-footer .s-menu-footer-item { margin: 0 !important; padding: 0 !important; line-height: 1.6; font-size: 14px !important; color: rgba(255, 255, 255, 0.72) !important; transition: color 0.2s; }
body.theme-raed .uat-footer .s-menu-footer-item:hover { color: #fff !important; }

/* Contacts: icon, a small label, the value */
body.theme-raed .uat-footer .uat-hide { display: none !important; }
body.theme-raed .uat-footer .s-contacts-list { display: grid !important; gap: 10px; }
body.theme-raed .uat-footer .s-contacts-list > div { margin: 0 !important; }
body.theme-raed .uat-footer a.uat-contact { display: flex !important; align-items: center; gap: 12px; color: #fff; min-height: 44px; }
body.theme-raed .uat-footer a.uat-contact .s-contacts-icon {
  flex: none;
  width: 40px !important;
  height: 40px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}
body.theme-raed .uat-footer a.uat-contact--wa .s-contacts-icon { background: #25d366; border-color: #25d366 !important; color: #fff; }
body.theme-raed .uat-footer .uat-contact__text { display: flex; flex-direction: column; min-width: 0; }
body.theme-raed .uat-footer .uat-contact__label { font-size: 12px; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }
body.theme-raed .uat-footer .uat-contact__text .unicode { font-size: 14px !important; font-weight: 600; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.theme-raed .uat-footer .uat-contact__text .unicode[dir="ltr"] { text-align: end; unicode-bidi: isolate; }
body.theme-raed .uat-footer a.uat-contact:hover .unicode { text-decoration: underline; text-underline-offset: 3px; }

/* Bottom bar: copyright and payments on one line, room under them for the Fares button */
body.theme-raed .uat-footer > .container:last-child,
body.theme-raed .uat-footer > div:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px !important;
  padding-bottom: 96px !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
body.theme-raed .uat-footer .copyright-text p { margin: 0 !important; font-size: 13px; color: rgba(255, 255, 255, 0.55) !important; }
body.theme-raed .uat-footer .copyright-text a { color: rgba(255, 255, 255, 0.8) !important; }
body.theme-raed .uat-footer .s-payments-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
body.theme-raed .uat-footer .s-payments-list li { margin: 0 !important; }
body.theme-raed .uat-footer .s-payments-list li,
body.theme-raed .uat-footer .s-payments-list img { height: 28px !important; }
body.theme-raed .uat-footer .s-payments-list img { width: auto !important; }

@media (max-width: 1023px) {
  body.theme-raed .uat-footer .store-footer__inner { padding: 36px 0 24px !important; }
  body.theme-raed .uat-footer .store-footer__inner > .container { grid-template-columns: minmax(0, 1fr); gap: 32px !important; }
  body.theme-raed .uat-footer h3 { margin-bottom: 16px !important; padding-bottom: 10px; }
  body.theme-raed .uat-footer .store-footer__inner p { font-size: 13px; line-height: 1.8; }
  body.theme-raed .uat-footer .store-footer__inner .max-w-sm { margin-bottom: 16px !important; }
  /* Links as two columns: half the height */
  body.theme-raed .uat-footer .s-menu-footer-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
  body.theme-raed .uat-footer .s-menu-footer-item { font-size: 13px !important; }
  /* Each contact a framed, tappable row; side by side once there is room for the email */
  body.theme-raed .uat-footer .s-contacts-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.theme-raed .uat-footer a.uat-contact { border: 1px solid rgba(255, 255, 255, 0.14); padding: 8px; gap: 8px; }
  body.theme-raed .uat-footer a.uat-contact .s-contacts-icon { width: 34px !important; height: 34px !important; }
  body.theme-raed .uat-footer .uat-contact__text .unicode { font-size: 13px !important; }
  body.theme-raed .uat-footer .contact-social { margin-top: 20px; }
  body.theme-raed .uat-footer .contact-social .s-social-list { justify-content: flex-start; }
  body.theme-raed .uat-footer > div:last-child { flex-direction: column-reverse; justify-content: center; text-align: center; padding-top: 16px !important; }
  body.theme-raed .uat-footer .s-payments-list li,
  body.theme-raed .uat-footer .s-payments-list img { height: 24px !important; }
}
@media (min-width: 560px) and (max-width: 1023px) {
  body.theme-raed .uat-footer .s-contacts-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}