/* Product price: stronger hierarchy without moving it away from the product title. */
#product .product-prices {
  margin: 0.8rem 0 1rem !important;
}

#product .product-prices .current-price {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 46px !important;
  padding: 7px 14px !important;
  color: #0d6f95 !important;
  background: rgba(34, 184, 207, 0.10) !important;
  border-inline-start: 4px solid #22b8cf !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.10) !important;
  font-size: 26px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

#product .product-prices .current-price-value {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* Catalog subcategories reuse the curated solution artwork from the homepage. */
#subcategories .subcategory-image,
#subcategories .subcategory-image a {
  overflow: hidden !important;
  border-radius: 14px !important;
}

#subcategories .subcategory-image img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #0b2538 !important;
  transition: transform 180ms ease, filter 180ms ease !important;
}

#subcategories .subcategory-image a:hover img,
#subcategories .subcategory-image a:focus img {
  transform: scale(1.025) !important;
  filter: saturate(1.06) contrast(1.03) !important;
}

@media (max-width: 767px) {
  #product .product-prices .current-price {
    min-height: 42px !important;
    padding: 6px 12px !important;
    font-size: 24px !important;
  }

  #subcategories .subcategory-image img {
    height: 150px !important;
  }

  #header .header-nav,
  #header .header-nav > .container {
    height: auto !important;
    min-height: 0 !important;
  }

  #header .header-nav > .container > .row {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  #header .header-top,
  #header .header-top > .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #header .header-top .mobile {
    display: flex !important;
    align-items: center !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 4px 12px !important;
    gap: 8px !important;
  }

  #header #_mobile_logo {
    order: 1 !important;
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
    width: auto !important;
    height: 56px !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  #header #_mobile_logo > a {
    display: block !important;
    width: 100px !important;
    height: 56px !important;
    overflow: hidden !important;
  }

  #header .header-nav .mobile #_mobile_logo img {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: translateY(-22px) !important;
  }

  #header #_mobile_user_info,
  #header #_mobile_cart,
  #header #menu-icon {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
  }

  #header #_mobile_user_info {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header #_mobile_user_info .user-info {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    gap: 4px !important;
  }

  #header #_mobile_user_info .user-info > a:not(.logout):not([href*="logout"]) {
    display: flex !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
  }

  #header #_mobile_user_info .user-info > .logout,
  #header #_mobile_user_info .user-info > a[href*="logout"] {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  #header #_mobile_user_info .logout .material-icons,
  #header #_mobile_user_info .logout i,
  #header #_mobile_user_info a[href*="logout"] .material-icons,
  #header #_mobile_user_info a[href*="logout"] i {
    display: none !important;
  }

  #header #_mobile_cart {
    order: 3 !important;
  }

  #header #_mobile_cart .blockcart,
  #header #_mobile_cart .blockcart .header,
  #header #_mobile_cart .blockcart .header > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
  }

  #header #menu-icon {
    order: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(12, 53, 82, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 16px rgba(12, 53, 82, 0.14) !important;
  }

  #header #_mobile_user_info .material-icons,
  #header #_mobile_cart .material-icons {
    font-size: 27px !important;
    line-height: 1 !important;
  }

  #header #menu-icon .material-icons {
    font-size: 30px !important;
    line-height: 1 !important;
  }

  html[lang^="ar"] #header #_mobile_user_info .logout,
  html[lang^="ar"] #header #_mobile_user_info a[href*="logout"],
  html[dir="rtl"] #header #_mobile_user_info .logout,
  html[dir="rtl"] #header #_mobile_user_info a[href*="logout"] {
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  #header .header-top.hidden-md-up {
    min-height: 1px !important;
  }

  /* Product gallery: swipeable cover and tidy horizontal thumbnails. */
  #product .images-container {
    position: relative !important;
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  body.lang-rtl #product .images-container,
  html[dir="rtl"] #product .images-container,
  html[lang^="ar"] #product .images-container {
    left: 15px !important;
    right: auto !important;
  }

  #product .product-cover {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    overflow: hidden !important;
    touch-action: pan-y pinch-zoom !important;
    background: #fff !important;
    border: 1px solid rgba(12, 53, 82, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(12, 53, 82, 0.10) !important;
  }

  #product .product-cover picture {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #product .product-cover .js-qv-product-cover,
  #product .product-cover img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    margin: auto !important;
    padding: 0 !important;
    transform: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }

  #product .product-cover .layer {
    display: none !important;
  }

  #product .elk-gallery-counter {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    height: 30px !important;
    padding: 0 10px !important;
    color: #fff !important;
    background: rgba(6, 42, 67, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    direction: ltr !important;
    pointer-events: none !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
  }

  #product .js-qv-mask.mask {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 12px 0 0 !important;
    padding: 2px 1px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #product .js-qv-mask.mask::-webkit-scrollbar {
    display: none !important;
  }

  #product .product-images {
    position: static !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    width: max-content !important;
    min-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    transform: none !important;
    list-style: none !important;
  }

  #product .product-images > .thumb-container {
    position: static !important;
    display: block !important;
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: center !important;
  }

  #product .product-images .thumb {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px !important;
    object-fit: contain !important;
    background: #fff !important;
    border: 1px solid rgba(12, 53, 82, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 10px rgba(12, 53, 82, 0.06) !important;
    opacity: 0.72 !important;
    transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease !important;
  }

  #product .product-images .thumb.selected {
    border: 2px solid #22b8cf !important;
    box-shadow: 0 4px 14px rgba(34, 184, 207, 0.23) !important;
    opacity: 1 !important;
    transform: translateY(-1px) !important;
  }

  #product .scroll-box-arrows {
    display: none !important;
  }

  #product .elk-gallery-zoom-button {
    position: absolute !important;
    left: 12px !important;
    bottom: 12px !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(6, 42, 67, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14) !important;
    cursor: zoom-in !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
  }

  #product .elk-gallery-zoom-button .material-icons {
    font-size: 23px !important;
    line-height: 1 !important;
  }
}

/* Keep the theme's legacy slider hidden until the category artwork is ready. */
body#index .elk-offer-slider:not([data-elk-category-slider-ready="1"]):not([data-elk-category-slider-fallback="1"]),
body.page-index .elk-offer-slider:not([data-elk-category-slider-ready="1"]):not([data-elk-category-slider-fallback="1"]) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body#index .elk-offer-slider[data-elk-category-slider-ready="1"],
body#index .elk-offer-slider[data-elk-category-slider-fallback="1"],
body.page-index .elk-offer-slider[data-elk-category-slider-ready="1"],
body.page-index .elk-offer-slider[data-elk-category-slider-fallback="1"] {
  visibility: visible;
  opacity: 1;
}

/* Homepage category slider: full-bleed bilingual category artwork. */
.elk-offer-slider.elk-category-slider .elk-offer-slide--category {
  place-items: stretch;
  background: #031426;
}

.elk-offer-slider.elk-category-slider .elk-offer-slide--category > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.elk-offer-slider.elk-category-slider .elk-offer-slide--category picture {
  display: block;
  width: 100%;
  height: 100%;
}

.elk-offer-slider.elk-category-slider .elk-offer-slide--category img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.elk-offer-slider.elk-category-slider .elk-offer-slide--category > a:focus-visible {
  outline: 3px solid #f4bd4f;
  outline-offset: -5px;
}

@media (max-width: 767px) {
  .elk-offer-slider.elk-category-slider {
    border-radius: 18px;
  }

  .elk-offer-slider.elk-category-slider .elk-offer-slider__viewport {
    aspect-ratio: 1 / 1;
    border-radius: 13px;
  }

  .elk-offer-slider.elk-category-slider .elk-offer-slide--category img {
    object-fit: cover;
  }

  .elk-offer-slider.elk-category-slider .elk-offer-slider__arrow {
    display: none !important;
  }

  .elk-offer-slider.elk-category-slider .elk-offer-slider__dots {
    padding: 5px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elk-offer-slider.elk-category-slider .elk-offer-slide {
    transition: none !important;
  }
}

/* Homepage payment announcement: premium, prominent, and clearly marked as upcoming. */
.elk-payment-announcement {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 14px 0 18px;
  overflow: hidden;
  color: #fff;
  background: #031b2d;
  border: 1px solid rgba(23, 190, 232, 0.72);
  border-bottom-width: 3px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(1, 20, 34, 0.16);
}

.elk-payment-announcement .elk-payment-coming-soon__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 9px 26px;
}

.elk-payment-announcement .elk-payment-coming-soon__copy {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-width: 0;
}

.elk-payment-announcement .elk-payment-coming-soon__status {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 7px 15px;
  color: #ffd45a;
  background: rgba(217, 154, 23, 0.08);
  border: 1px solid #f0ae21;
  border-radius: 999px;
  box-shadow: 0 0 7px rgba(255, 202, 65, 0.45), 0 0 16px rgba(248, 189, 54, 0.24);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 4px rgba(255, 247, 207, 0.82), 0 0 11px rgba(255, 190, 44, 0.72);
  animation: elk-payment-status-pulse 2.35s ease-in-out infinite;
}

.elk-payment-announcement .elk-payment-coming-soon__divider {
  flex: 0 0 2px;
  align-self: stretch;
  min-height: 42px;
  background: #d99a17;
  box-shadow: 0 0 8px rgba(217, 154, 23, 0.28);
}

.elk-payment-announcement .elk-payment-coming-soon__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.elk-payment-announcement .elk-payment-coming-soon__text strong {
  color: #fff;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.elk-payment-announcement .elk-payment-coming-soon__text span {
  color: #e9f4f8;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: isolate;
}

.elk-payment-announcement .elk-payment-coming-soon__logos {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 25px;
  direction: ltr;
}

.elk-payment-announcement .elk-payment-logo {
  display: block;
  max-width: none;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: elk-payment-logo-reveal 520ms ease-out forwards;
}

.elk-payment-announcement .elk-payment-logo--visa {
  width: 84px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.12));
  animation-delay: 100ms;
}

.elk-payment-announcement .elk-payment-logo--mastercard {
  width: 58px;
  max-height: 45px;
  animation-delay: 220ms;
}

.elk-payment-announcement .elk-payment-logo--fawry {
  width: 88px;
  border-radius: 6px;
  animation-delay: 340ms;
}

.elk-payment-announcement .elk-payment-coming-soon__sweep {
  position: absolute;
  top: -20%;
  right: -8%;
  z-index: 1;
  width: 3px;
  height: 140%;
  background: #e8fbff;
  box-shadow: 0 0 9px #e8fbff, 0 0 18px rgba(32, 197, 236, 0.88);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-16deg);
  animation: elk-payment-light-sweep 4s ease-in-out infinite;
}

@keyframes elk-payment-status-pulse {
  0%, 100% {
    box-shadow: 0 0 7px rgba(255, 202, 65, 0.45), 0 0 16px rgba(248, 189, 54, 0.24);
    text-shadow: 0 0 4px rgba(255, 247, 207, 0.82), 0 0 11px rgba(255, 190, 44, 0.72);
    transform: scale(1);
  }
  50% {
    color: #fff0a5;
    box-shadow: 0 0 11px rgba(255, 225, 126, 0.96), 0 0 26px rgba(255, 190, 44, 0.88), 0 0 44px rgba(248, 167, 25, 0.55), inset 0 0 10px rgba(255, 221, 108, 0.18);
    text-shadow: 0 0 3px #fff, 0 0 10px #ffd86a, 0 0 22px rgba(255, 179, 31, 0.96);
    transform: scale(1.075);
  }
}

@keyframes elk-payment-light-sweep {
  0%, 70% {
    right: -8%;
    opacity: 0;
  }
  74% {
    opacity: 0.86;
  }
  91% {
    right: 108%;
    opacity: 0.72;
  }
  94%, 100% {
    right: 108%;
    opacity: 0;
  }
}

@keyframes elk-payment-logo-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .elk-payment-announcement {
    width: calc(100% - 20px);
    margin: 12px 10px 14px;
    border-radius: 12px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__inner {
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    padding: 8px 11px 9px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__copy {
    width: 100%;
    gap: 10px;
  }

  html[lang^="en"] .elk-payment-announcement .elk-payment-coming-soon__copy {
    gap: 6px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__status {
    min-width: 66px;
    padding: 6px 10px;
    font-size: 13px;
  }

  html[lang^="en"] .elk-payment-announcement .elk-payment-coming-soon__status {
    min-width: 0;
    padding: 5px 6px;
    font-size: 12px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__divider {
    min-height: 42px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__text {
    flex: 1 1 auto;
    gap: 3px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__text strong {
    font-size: clamp(17px, 4.8vw, 20px);
    white-space: normal;
  }

  html[lang^="en"] .elk-payment-announcement .elk-payment-coming-soon__text strong {
    font-size: 16px;
  }

  .elk-payment-announcement .elk-payment-coming-soon__text span {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .elk-payment-announcement .elk-payment-coming-soon__logos {
    width: 100%;
    gap: 18px;
  }

  .elk-payment-announcement .elk-payment-logo--visa {
    width: 48px;
    padding: 0;
  }

  .elk-payment-announcement .elk-payment-logo--mastercard {
    width: 48px;
    max-height: 37px;
  }

  .elk-payment-announcement .elk-payment-logo--fawry {
    width: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elk-payment-announcement .elk-payment-coming-soon__status,
  .elk-payment-announcement .elk-payment-coming-soon__sweep,
  .elk-payment-announcement .elk-payment-logo {
    animation: none !important;
  }

  .elk-payment-announcement .elk-payment-logo {
    opacity: 1;
  }
}

@media (max-width: 359px) {
  #header .header-top .mobile {
    padding-inline: 10px !important;
    gap: 6px !important;
  }

  #header #_mobile_user_info .user-info {
    gap: 2px !important;
  }

  #header #_mobile_user_info .user-info > .logout,
  #header #_mobile_user_info .user-info > a[href*="logout"] {
    padding-inline: 0 !important;
    font-size: 11px !important;
  }

  #header #_mobile_logo > a {
    width: 90px !important;
  }

  #header .header-nav .mobile #_mobile_logo img {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    transform: translateY(-15px) !important;
  }
}

body.elk-lightbox-open {
  overflow: hidden !important;
}

/* Desktop header: a restrained logo, compact sticky state, and clear search field. */
@media (min-width: 768px) {
  #header #_desktop_logo {
    display: flex !important;
    align-items: center !important;
    min-height: 78px !important;
  }

  #header #_desktop_logo h1,
  #header #_desktop_logo a {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    line-height: 0 !important;
  }

  #header #_desktop_logo img.logo {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    object-fit: contain !important;
  }

  #header .header-top > .container > .row {
    align-items: center !important;
    min-height: 78px !important;
    max-height: 78px !important;
    overflow: visible;
    opacity: 1;
    transform: translateY(0);
    transition: min-height 220ms ease, max-height 220ms ease, opacity 150ms ease, transform 220ms ease !important;
  }

  #header .elk-category-nav {
    margin-top: 12px !important;
    transition: margin-top 220ms ease !important;
  }

  body.elk-desktop-header-compact #header .header-top > .container > .row {
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }

  body.elk-desktop-header-compact #header .elk-category-nav {
    margin-top: 0 !important;
  }

  #header #search_widget form .material-icons.search {
    top: 50% !important;
    left: 14px !important;
    right: auto !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 24px !important;
    pointer-events: none;
    transform: translateY(-50%) !important;
  }

  #header #search_widget input[name="s"] {
    padding-left: 50px !important;
    padding-right: 42px !important;
  }

  html[dir="rtl"] #header #search_widget form .material-icons.search,
  html[lang^="ar"] #header #search_widget form .material-icons.search {
    right: 14px !important;
    left: auto !important;
  }

  html[dir="rtl"] #header #search_widget input[name="s"],
  html[lang^="ar"] #header #search_widget input[name="s"] {
    padding-right: 50px !important;
    padding-left: 42px !important;
  }
}

/* Mobile scope is intentionally limited to the search icon and text spacing. */
@media (max-width: 767px) {
  #header #search_widget form .material-icons.search {
    top: 50% !important;
    left: 14px !important;
    right: auto !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 24px !important;
    pointer-events: none;
    transform: translateY(-50%) !important;
  }

  #header #search_widget input[name="s"] {
    padding-left: 50px !important;
    padding-right: 42px !important;
  }

  html[dir="rtl"] #header #search_widget form .material-icons.search,
  html[lang^="ar"] #header #search_widget form .material-icons.search {
    right: 14px !important;
    left: auto !important;
  }

  html[dir="rtl"] #header #search_widget input[name="s"],
  html[lang^="ar"] #header #search_widget input[name="s"] {
    padding-right: 50px !important;
    padding-left: 42px !important;
  }
}

/* Search suggestions: compact, readable rows with consistently sized images. */
ul.searchbar-autocomplete {
  box-sizing: border-box !important;
  width: min(430px, calc(100vw - 24px)) !important;
  min-height: 0 !important;
  max-height: min(520px, calc(100vh - 120px)) !important;
  padding: 6px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid rgba(16, 71, 105, 0.18) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
  z-index: 10020 !important;
}

ul.searchbar-autocomplete > li {
  box-sizing: border-box !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(16, 71, 105, 0.1) !important;
}

ul.searchbar-autocomplete > li:last-child {
  border-bottom: 0 !important;
}

ul.searchbar-autocomplete > li > a,
ul.searchbar-autocomplete > li > .ui-menu-item-wrapper {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 76px !important;
  padding: 8px 10px !important;
  white-space: normal !important;
  border: 0 !important;
  border-radius: 8px !important;
  line-height: 1.35 !important;
}

/* Mobile contact dock: uncover the final payment strip when it enters view. */
@media (max-width: 767px) {
  .elk-contact-dock {
    transition: transform 180ms ease, opacity 150ms ease, visibility 150ms ease !important;
  }

  body.elk-mobile-contact-dock-hidden .elk-contact-dock {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(calc(100% + 20px)) !important;
  }
}

ul.searchbar-autocomplete .autocomplete-thumbnail {
  display: block !important;
  flex: 0 0 58px !important;
  width: 58px !important;
  height: 58px !important;
  margin: 0 !important;
  padding: 3px !important;
  object-fit: contain !important;
  background: #fff !important;
  border: 1px solid rgba(16, 71, 105, 0.12) !important;
  border-radius: 8px !important;
}

ul.searchbar-autocomplete .product {
  display: -webkit-box !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: start !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.elk-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100dvh;
  padding: 58px 54px 88px;
  overflow: hidden;
  color: #fff;
  background: rgba(2, 15, 25, 0.96);
  opacity: 0;
}

.elk-product-lightbox.is-open {
  display: flex;
  opacity: 1;
}

.elk-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

.elk-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  transition: transform 120ms ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.elk-lightbox-close,
.elk-lightbox-nav,
.elk-lightbox-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.elk-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 31px;
  line-height: 1;
}

.elk-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 56px;
  border-radius: 14px;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.elk-lightbox-prev {
  left: 8px;
}

.elk-lightbox-next {
  right: 8px;
}

.elk-lightbox-toolbar {
  position: absolute;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.elk-lightbox-toolbar button {
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.elk-lightbox-toolbar .elk-lightbox-zoom-value {
  min-width: 70px;
  padding: 0 12px;
  font-size: 13px;
}

.elk-lightbox-counter {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  z-index: 3;
  min-width: 58px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  direction: ltr;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
  .elk-product-lightbox {
    padding: 64px 10px 90px;
  }

  .elk-lightbox-nav {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: none;
  }

  .elk-lightbox-prev {
    left: 12px;
  }

  .elk-lightbox-next {
    right: 12px;
  }
}
