/*
 Theme Name:   WellSpring
 Theme URI:    https://wellspringforcosmetics.com/
 Description:  WellSpring For Cosmetics - Design 
 Author:       Hussein Mohamed	
 Author URI:   https://hostelegance.com/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Section backgrounds */

/* Light grey section */
.ws-section--light {
  background: var(--ws-light);
}

/* Dark blue section, text turns white */
.ws-section--dark {
  background: var(--ws-primary-dark);
  color: #fff;
}
.ws-section--dark :is(h1, h2, h3, h4) {
  color: #fff;
}
.ws-section--dark p {
  color: rgba(255, 255, 255, .88);
}
.ws-section--dark .ws-eyebrow {
  color: #bfe4f6;
}

/* Thinner vertical padding, used for the strip under the hero */
.ws-section--tight {
  padding-block: var(--ws-space-l);
}

/* Centered intro block above a grid (eyebrow, title, text) */
.ws-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--ws-space-2xs);
  margin-bottom: var(--ws-space-xl);
}

/* Text helpers */

/* Small uppercase label above a heading */
.ws-eyebrow {
  margin: 0 0 var(--ws-space-2xs);
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-s);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ws-primary);
}

/* Intro paragraph under a main heading */
.ws-lead {
  max-width: 72rem;
  font-size: var(--wstext-l);
  color: #374151;
}

/* Smaller heading look for card titles (keeps the h3 tag) */
.ws-title-sm {
  font-size: var(--wsh4);
  font-weight: 700;
}

/* Layout helpers */

/* Vertical stack with the standard gap */
.ws-stack {
  display: flex;
  flex-direction: column;
  gap: var(--ws-gap);
}

/* Two columns that wrap on small screens */
.ws-split {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ws-space-xl);
}
.ws-split > * {
  flex: 1 1 48rem;
  min-width: 0;
}
.ws-split--top {
  align-items: flex-start;
}

/* Row of buttons */
.ws-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-space-xs);
}

/* Responsive grid, columns collapse without breakpoints */
    .ws-grid-3 {
      --col-min: 32rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-min)), 1fr));
      gap: var(--ws-gap);
      width: 100%;
      max-width: 100%;
    }
    .ws-grid-3 > * {
      min-width: 0;
    }

/* Minimum column width for the grid above */
.ws-col-min-23 { --col-min: 23rem; }
.ws-col-min-26 { --col-min: 26rem; }
.ws-col-min-32 { --col-min: 32rem; }
.ws-col-min-38 { --col-min: 38rem; }

/* Image with rounded corners and a fixed ratio */
.ws-media {
  margin: 0;
}
.ws-media img,
img.ws-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ws-radius, 1.2rem);
}

/* Buttons */

/* Shared button base */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-2xs);
  min-height: 44px;
  padding: .85em 1.75em;
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-m);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--ws-radius-sm, .8rem);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

/* Filled blue button */
.ws-btn-primary {
  background: var(--ws-primary);
  border-color: var(--ws-primary);
  color: #fff;
}
.ws-btn-primary:hover {
  background: var(--ws-primary-dark);
  border-color: var(--ws-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline button */
.ws-btn-secondary {
  background: transparent;
  border-color: var(--ws-primary);
  color: var(--ws-primary);
}
.ws-btn-secondary:hover {
  background: var(--ws-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* White button for dark sections */
.ws-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ws-primary);
}
.ws-btn--light:hover {
  background: var(--ws-light);
  border-color: var(--ws-light);
  color: var(--ws-primary-dark);
  transform: translateY(-2px);
}

/* Button sizes */
.ws-btn--sm {
  min-height: 38px;
  padding: .6em 1.25em;
  font-size: var(--wstext-s);
}
.ws-btn--lg {
  padding: 1em 2.25em;
}

/* Pressed state */
.ws-btn:active {
  transform: translateY(0);
}

/* Keyboard focus ring */
.ws-btn:focus-visible {
  outline: 3px solid var(--ws-accent);
  outline-offset: 2px;
}

/* Disabled button */
.ws-btn:disabled,
.ws-btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}
/* WhatsApp button */
.ws-btn--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.ws-btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
}


/* Cards */

/* Base card */
.ws-card {
  display: flex;
  flex-direction: column;
  gap: var(--ws-space-s);
  padding: var(--ws-space-m);
  background: #fff;
  border: 1px solid var(--ws-border, #e4e8ee);
  border-radius: var(--ws-radius, 1.2rem);
  box-shadow: var(--ws-shadow, 0 1px 2px rgba(10, 60, 112, .06), 0 8px 24px rgba(10, 60, 112, .08));
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Card that rises on hover */
.ws-card--lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--ws-shadow-hover, 0 2px 4px rgba(10, 60, 112, .08), 0 16px 40px rgba(10, 60, 112, .14));
}

/* Grey card without border */
.ws-card--light {
  background: var(--ws-light);
  border-color: transparent;
  box-shadow: none;
}

/* Card with a blue top edge */
.ws-card--accent {
  border-top: 4px solid var(--ws-accent);
}

/* Card without shadow */
.ws-card--flat {
  box-shadow: none;
}

/* Small rounded tag */
.ws-chip {
  display: inline-block;
  padding: .4em .9em;
  font-size: var(--wstext-s);
  font-weight: 500;
  color: var(--ws-primary-dark);
  background: var(--ws-primary-10, #e7eff8);
  border-radius: 999px;
}

/* Icons */

/* Base inline SVG icon */
.ws-icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon sizes */
.ws-icon--sm { font-size: 1.6rem; }
.ws-icon--md { font-size: 2.4rem; }
.ws-icon--lg { font-size: 4rem; }

/* Icon colors */
.ws-icon--primary { color: var(--ws-primary); }
.ws-icon--accent { color: var(--ws-accent); }

/* Round light-blue badge that holds an icon */
.ws-icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  background: var(--ws-primary-10, #e7eff8);
  border-radius: 50%;
}
.ws-icon-box > * {
  font-size: 2.8rem;
  color: var(--ws-primary);
}
.ws-icon-box svg {
  width: 1em;
  height: 1em;
}

/* Mirror arrows in right-to-left pages */
[dir="rtl"] .ws-flip-rtl {
  transform: scaleX(-1);
}

/* Header */

/* Sticky bar at the top */
.ws-header {
  background: #fff;
  border-bottom: 1px solid var(--ws-border, #e4e8ee);
  z-index: 100;
}

/* Logo image */
.ws-logo img {
  display: block;
  width: auto;
  height: 4.4rem;
}

/* Main menu on desktop */
.ws-nav .bricks-nav-menu {
  display: flex;
  align-items: center;
  gap: var(--ws-space-m);
}
.ws-nav .bricks-nav-menu > li > a {
  position: relative;
  padding: .5em 0;
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-s);
  font-weight: 600;
  color: var(--ws-dark);
  text-decoration: none;
  transition: color .2s ease;
}

/* Underline that grows on hover and on the current page */
.ws-nav .bricks-nav-menu > li > a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--ws-accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.ws-nav .bricks-nav-menu > li > a:hover,
.ws-nav .bricks-nav-menu > li.current-menu-item > a {
  color: var(--ws-primary);
}
.ws-nav .bricks-nav-menu > li > a:hover::after,
.ws-nav .bricks-nav-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Language switcher and contact button area */
.ws-header__actions {
  display: flex;
  align-items: center;
  gap: var(--ws-space-s);
}

/* Language switcher pill (current language hidden) */
.ws-lang .bricks-nav-menu {
  display: flex;
  gap: var(--ws-space-2xs);
}
.ws-lang .current-lang {
  display: none;
}
.ws-lang a {
  display: inline-block;
  padding: .3em .9em;
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-s);
  font-weight: 700;
  color: var(--ws-primary);
  text-decoration: none;
  border: 2px solid var(--ws-border, #e4e8ee);
  border-radius: 999px;
  transition: border-color .2s ease, background-color .2s ease;
}
.ws-lang a:hover {
  background: var(--ws-primary-10, #e7eff8);
  border-color: var(--ws-primary);
}

/* Hero */

/* Hero section */
.ws-hero {
  padding-block: var(--ws-space-3xl);
  background: var(--ws-light);
}

/* Hero text column */
.ws-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ws-space-s);
}

/* Hero image column */
.ws-hero__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.ws-hero__media figure,
.ws-hero__media img {
  display: block;
  width: 100%;
}

/* Floating card over the corner of the hero image */
.ws-hero__badge {
  position: absolute;
  inset-inline-start: calc(var(--ws-space-m) * -1);
  bottom: calc(var(--ws-space-m) * -1);
  flex-direction: row;
  align-items: center;
  gap: var(--ws-space-xs);
  max-width: 32rem;
  padding: var(--ws-space-xs);
}
@media (max-width: 767px) {
  .ws-hero__badge {
    position: static;
    max-width: none;
    margin-top: var(--ws-space-s);
  }
}

/* Page sections */

/* Single item in the dark strip under the hero */
.ws-trust-item {
  display: flex;
  align-items: center;
  gap: var(--ws-space-xs);
  font-family: Cairo;
  font-size: var(--wstext-m);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.ws-trust-item > svg,
.ws-trust-item > i {
  flex-shrink: 0;
  font-size: 2.8rem;
  color: var(--ws-accent);
}

/* Step box in the process section */
.ws-step {
  display: flex;
  flex-direction: column;
  gap: var(--ws-space-2xs);
  padding: var(--ws-space-m);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--ws-radius, 1.2rem);
}

/* Big step number */
.ws-step__num {
  font-family: var(--ws-font-heading);
  font-size: var(--wsh2);
  font-weight: 800;
  line-height: 1;
  color: var(--ws-accent);
}

/* Pull quote with an accent line on the start side */
.ws-quote {
  padding-inline-start: var(--ws-space-s);
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-l);
  font-weight: 700;
  color: var(--ws-primary);
  border-inline-start: 4px solid var(--ws-accent);
}

/* Row with an icon and a line of contact info */
.ws-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--ws-space-xs);
}
.ws-contact-item > svg,
.ws-contact-item > i {
  flex-shrink: 0;
  margin-top: .3em;
  font-size: 2.4rem;
  color: var(--ws-primary);
}
/* Forms (all Bricks form elements) */

/* Field labels */
.brxe-form .form-group label {
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-s);
  font-weight: 600;
  color: var(--ws-primary-dark);
}

/* Inputs, dropdowns and text areas */
.brxe-form .form-group :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: .8rem 1.4rem;
  font-family: var(--ws-font-body);
  font-size: var(--wstext-m);
  color: var(--ws-dark);
  background: #fff;
  border: 1px solid #b8c3d1;
  border-radius: var(--ws-radius-sm, .8rem);
}
.brxe-form .form-group textarea {
  min-height: 12rem;
  resize: vertical;
}

/* Focus state for fields */
.brxe-form .form-group :is(input, select, textarea):focus {
  outline: 3px solid var(--ws-accent);
  outline-offset: 1px;
  border-color: var(--ws-primary);
}

/* Submit button, same look as the primary button */
.brxe-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-2xs);
  min-height: 44px;
  padding: .85em 1.75em;
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-m);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: var(--ws-primary);
  border: 2px solid var(--ws-primary);
  border-radius: var(--ws-radius-sm, .8rem);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.brxe-form button[type="submit"]:hover {
  background: var(--ws-primary-dark);
  border-color: var(--ws-primary-dark);
  transform: translateY(-2px);
}
.brxe-form button[type="submit"]:focus-visible {
  outline: 3px solid var(--ws-accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ws-btn,
  .ws-card,
  .brxe-form button[type="submit"],
  .ws-nav .bricks-nav-menu > li > a::after {
    transition: none;
  }
  .ws-btn:hover,
  .ws-card--lift:hover,
  .brxe-form button[type="submit"]:hover {
    transform: none;
  }
}




/*
/* Contact form baCK */

/* Bricks form fields 
.ws-form .form-group label {
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-s);
  font-weight: 600;
  color: var(--ws-primary-dark);
}
.ws-form .form-group :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: .8rem 1.4rem;
  font-family: var(--ws-font-body);
  font-size: var(--wstext-m);
  color: var(--ws-dark);
  background: #fff;
  border: 1px solid #b8c3d1;
  border-radius: var(--ws-radius-sm, .8rem);
}
.ws-form .form-group textarea {
  min-height: 12rem;
  resize: vertical;
}
.ws-form .form-group :is(input, select, textarea):focus {
  outline: 3px solid var(--ws-accent);
  outline-offset: 1px;
  border-color: var(--ws-primary);
}

/* Reduced motion 
@media (prefers-reduced-motion: reduce) {
  .ws-btn,
  .ws-card,
  .ws-nav .bricks-nav-menu > li > a::after {
    transition: none;
  }
  .ws-btn:hover,
  .ws-card--lift:hover {
    transform: none;
  }
}
*/
/* Footer */

/* Footer bar */
.ws-footer {
  padding-block: var(--ws-space-2xl) var(--ws-space-s);
  color: rgba(255, 255, 255, .88);
  background: var(--ws-primary-dark);
}
.ws-footer a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  transition: color .2s ease;
}
.ws-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Three column layout, brand column is wider */
.ws-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: var(--ws-space-xl);
  width: 100%;
}
@media (max-width: 767px) {
  .ws-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Logo turned white for the dark background */
.ws-footer__logo img {
  display: block;
  width: auto;
  height: 4.4rem;
  filter: brightness(0) invert(1);
}

/* Column title */
.ws-footer__title {
  margin-bottom: var(--ws-space-xs);
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-m);
  font-weight: 700;
  color: #fff;
}

/* Quick links list */
.ws-footer__links .bricks-nav-menu {
  display: flex;
  flex-direction: column;
  gap: var(--ws-space-2xs);
}

/* Contact icons on the dark background */
.ws-footer .ws-contact-item > svg,
.ws-footer .ws-contact-item > i {
  color: var(--ws-accent);
}

/* Social icon buttons */
.ws-footer__social {
  display: flex;
  gap: var(--ws-space-2xs);
}
.ws-footer__social a {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  font-size: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
}
.ws-footer__social a:hover {
  background: rgba(255, 255, 255, .12);
  text-decoration: none;
}

/* Copyright line */
.ws-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--ws-space-xs);
  margin-top: var(--ws-space-xl);
  padding-top: var(--ws-space-s);
  font-size: var(--wstext-s);
  color: rgba(255, 255, 255, .75);
  border-top: 1px solid rgba(255, 255, 255, .2);
}
html {
  scroll-behavior: smooth;
}

/* Full width hero */
.ws-hero--full {
  --hero-dir: to right;
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(72vh, 70rem);
  overflow: hidden;
  background: var(--ws-light);
}
[dir="rtl"] .ws-hero--full {
  --hero-dir: to left;
}

/* Background image behind the text */
.ws-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}
.ws-hero__bg img,
img.ws-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}

/* Light fade on the text side so the copy stays readable */
.ws-hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(var(--hero-dir), var(--ws-light) 0%, rgba(248, 247, 247, .85) 45%, rgba(248, 247, 247, 0) 100%);
  pointer-events: none;
}
.ws-hero--full > .brxe-container {
  position: relative;
  z-index: 2;
}

/* Text block, aligned to the start of the page direction */
.ws-hero--full .ws-hero__text {
  max-width: 72rem;
  text-align: start;
}

@media (max-width: 767px) {
  .ws-hero--full::before {
    background: rgba(248, 247, 247, .88);
  }
}
/* Product card: icon, name and a button, centered */
.ws-card--product {
  align-items: center;
  gap: var(--ws-space-xs);
  padding: var(--ws-space-l) var(--ws-space-m);
  text-align: center;
  border-color: transparent;
  border-radius: 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Bigger icon circle inside the product card */
.ws-card--product .ws-icon-box {
  width: 7.2rem;
  height: 7.2rem;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.ws-card--product .ws-icon-box > * {
  font-size: 3.2rem;
  transition: color .25s ease;
}

/* Product name and the smaller line under it */
.ws-product__name {
  font-family: var(--ws-font-heading);
  font-size: var(--wstext-l);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ws-dark);
}
.ws-product__sub {
  margin-top: calc(var(--ws-space-3xs) * -1);
  font-size: var(--wstext-s);
  color: #6b7280;
}

/* Keeps the buttons on one line across cards of different height */
.ws-card--product .ws-btn {
  margin-top: auto;
}

/* Hover: card rises, border turns blue, icon circle fills with blue */
.ws-card--product:hover,
.ws-card--product:focus-within {
  transform: translateY(-6px);
  border-color: var(--ws-primary);
  box-shadow: var(--ws-shadow-hover, 0 2px 4px rgba(10, 60, 112, .08), 0 16px 40px rgba(10, 60, 112, .14));
}
.ws-card--product:hover .ws-icon-box,
.ws-card--product:focus-within .ws-icon-box {
  background: var(--ws-primary);
  box-shadow: 0 8px 20px rgba(13, 79, 145, .35);
  transform: scale(1.06);
}
.ws-card--product:hover .ws-icon-box > *,
.ws-card--product:focus-within .ws-icon-box > * {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ws-card--product:hover,
  .ws-card--product:focus-within,
  .ws-card--product:hover .ws-icon-box {
    transform: none;
  }
}
/* Process timeline: vertical line, a dot and a card for each step */
.ws-timeline {
  --shift: .8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ws-space-m);
  max-width: 96rem;
  margin-inline: auto;
  padding-inline-start: var(--ws-space-xl);
}
[dir="rtl"] .ws-timeline {
  --shift: -.8rem;
}

/* The vertical line */
.ws-timeline::before {
  content: "";
  position: absolute;
  inset-block: 1rem;
  inset-inline-start: 1rem;
  width: 2px;
  background: var(--ws-border, #e4e8ee);
}

.ws-timeline__item {
  position: relative;
}

/* Dot sitting on the line */
.ws-timeline__dot {
  position: absolute;
  top: var(--ws-space-m);
  inset-inline-start: calc(var(--ws-space-xl) * -1);
  width: 2.2rem;
  height: 2.2rem;
  background: #fff;
  border: 3px solid var(--ws-primary);
  border-radius: 50%;
  transition: background-color .25s ease, box-shadow .25s ease;
}

/* Step card */
.ws-timeline__card {
  display: flex;
  flex-direction: column;
  gap: var(--ws-space-3xs);
  padding: var(--ws-space-m);
  background: #fff;
  border-radius: var(--ws-radius, 1.2rem);
  box-shadow: var(--ws-shadow, 0 1px 2px rgba(10, 60, 112, .06), 0 8px 24px rgba(10, 60, 112, .08));
  transition: transform .25s ease, box-shadow .25s ease;
}
.ws-timeline__card p {
  color: #4b5563;
}

/* Hovered step and the active (first) step: card moves, dot fills with blue */
.ws-timeline__item:hover .ws-timeline__card,
.ws-timeline__item--active .ws-timeline__card {
  transform: translateX(var(--shift));
  box-shadow: var(--ws-shadow-hover, 0 2px 4px rgba(10, 60, 112, .08), 0 16px 40px rgba(10, 60, 112, .14));
}
.ws-timeline__item:hover .ws-timeline__dot,
.ws-timeline__item--active .ws-timeline__dot {
  background: var(--ws-primary);
  box-shadow: 0 0 0 .6rem rgba(13, 79, 145, .15);
}

/* While another step is hovered, the active one goes back to normal */
.ws-timeline:hover .ws-timeline__item--active:not(:hover) .ws-timeline__card {
  transform: none;
  box-shadow: var(--ws-shadow, 0 1px 2px rgba(10, 60, 112, .06), 0 8px 24px rgba(10, 60, 112, .08));
}
.ws-timeline:hover .ws-timeline__item--active:not(:hover) .ws-timeline__dot {
  background: #fff;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .ws-timeline__item:hover .ws-timeline__card,
  .ws-timeline__item--active .ws-timeline__card {
    transform: none;
  }
}
/* Keep the card text aligned to the start */
.ws-timeline__card {
  text-align: start;
}
.ws-timeline__card :is(h3, p) {
  text-align: start;
}
/* About image: soft shadow and a light blue block offset behind it */
.ws-media img,
img.ws-media {
  --offset: 1.6rem;
  --dx: 1;
  box-shadow:
    calc(var(--offset) * var(--dx)) var(--offset) 0 rgba(60, 175, 227, .3),
    0 2.4rem 4.8rem rgba(10, 60, 112, .16);
  transition: transform .4s ease, box-shadow .4s ease;
}
[dir="rtl"] .ws-media img,
[dir="rtl"] img.ws-media {
  --dx: -1;
}

/* On hover the image lifts and the block behind it moves out a little */
.ws-media:hover img,
img.ws-media:hover {
  --offset: 2.2rem;
  transform: translate(calc(-.6rem * var(--dx)), -.6rem);
  box-shadow:
    calc(var(--offset) * var(--dx)) var(--offset) 0 rgba(60, 175, 227, .4),
    0 3.2rem 6rem rgba(10, 60, 112, .22);
}

@media (prefers-reduced-motion: reduce) {
  .ws-media:hover img,
  img.ws-media:hover {
    transform: none;
  }
}

/* Solid icons (Font Awesome): filled shape instead of an outline */
.ws-icon--solid {
  fill: currentColor;
  stroke: none;
}
/** Start Load More Smooth  move */
/* Smooth fade-in for newly loaded catalog cards */
.ws-card--product.ws-card--fade-init {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.ws-card--product.ws-card--fade-init.ws-card--fade-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ws-card--product.ws-card--fade-init,
  .ws-card--product.ws-card--fade-init.ws-card--fade-in {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/** End Load More Smooth  move */

/** Start Back To Top */

/* Back to top button */
.ws-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--ws-primary, #111);
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.ws-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ws-back-to-top:hover {
  background: var(--ws-primary-dark, #000);
  transform: translateY(-2px);
}

.ws-back-to-top:active {
  transform: translateY(0);
}

.ws-back-to-top:focus-visible {
  outline: 3px solid var(--ws-accent, #25d366);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .ws-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-back-to-top {
    transition: none;
  }
}
/**End  Back To Top */

/* ---------- الزجاجة العائمة (تظهر على الديسكتوب فقط) ---------- */

:root {
  --ghost-h: clamp(40rem, 40vh, 42rem);  /* الحجم */
  --ghost-o: .25;                        /* الشفافية */
}

/* الغلاف الثابت: موضعه الأولي في فراغ الهيرو، وحركة السكرول من الـ JS */
.ws-ghost {
  position: fixed;
  top: 50%;
  inset-inline-end: 9vw;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -50%, 0);
  will-change: transform, opacity;
}

/* الصورة: حركة الطفو والتمايل المستمرة */
.ws-ghost img {
  display: block;
  height: var(--ghost-h);
  width: auto;
  animation: ws-float 7s ease-in-out infinite;
}

@keyframes ws-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}

/* إخفاء على الموبايل والتابلت وعند تقليل الحركة */
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .ws-ghost { display: none; }
}





