/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Add your custom styles here */
/* ==========================================================================
   WooCommerce Brand Carousel
   Place this file in your (child) theme root, next to functions.php.
   ========================================================================== */
.ehm-brand-carousel {
  padding: 10px 45px 45px;
  position: relative;
}
.ehm-brand-carousel .swiper-slide {
  height: auto; /* let slides stretch to equal height */
}
.ehm-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  height: 100%;
  padding: 15px;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-radius: 5px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.ehm-brand-item:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .09);
  transform: translateY(-4px);
  border-color: #ddd;
}
.ehm-brand-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
}
.ehm-brand-thumb img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ehm-brand-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: #91C7C8;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 14px;
}
/* Navigation arrows + pagination */
.ehm-brand-carousel .swiper-button-prev, .ehm-brand-carousel .swiper-button-next {
  color: #333;
}
.ehm-brand-carousel .swiper-button-prev:after, .ehm-brand-carousel .swiper-button-next:after {
  font-size: 22px;
}
.ehm-brand-carousel .swiper-pagination {
  bottom: 0;
}
.ehm-brand-carousel .swiper-pagination-bullet-active {
  background: #333;
}
/* ==========================================================================
   Responsive
   (Slides-per-view are controlled by Swiper JS breakpoints; these rules
    fine-tune spacing and sizes for each screen.)
   ========================================================================== */
/* Tablet */
@media (max-width: 1024px) {
  .ehm-brand-carousel {
    padding: 10px 40px 42px;
  }
  .ehm-brand-thumb {
    height: 90px;
  }
  .ehm-brand-thumb img {
    max-height: 90px;
  }
}
/* Small tablet / large phone */
@media (max-width: 768px) {
  .ehm-brand-carousel {
    padding: 8px 32px 40px;
  }
  .ehm-brand-item {
    padding: 12px;
  }
  .ehm-brand-thumb {
    height: 75px;
  }
  .ehm-brand-thumb img {
    max-height: 75px;
  }
  .ehm-brand-name {
    font-size: 14px;
    margin-top: 10px;
  }
  .ehm-brand-carousel .swiper-button-prev:after, .ehm-brand-carousel .swiper-button-next:after {
    font-size: 18px;
  }
}
/* Phone */
@media (max-width: 480px) {
  .ehm-brand-carousel {
    padding: 6px 18px 38px;
  }
  .ehm-brand-item {
    padding: 10px;
    border-radius: 10px;
  }
  .ehm-brand-thumb {
    height: 64px;
  }
  .ehm-brand-thumb img {
    max-height: 64px;
  }
  .ehm-brand-name {
    font-size: 13px;
  }
  /* hide arrows on very small screens — swipe instead */
  .ehm-brand-carousel .swiper-button-prev, .ehm-brand-carousel .swiper-button-next {
    display: none;
  }
}
.woocommerce-Price-amount {
  white-space: nowrap;
}
.uae-dirham-symbol {
  display: inline-flex;
  align-items: center;
  margin-right: 0px;
  margin-top: -5px;
  line-height: 1;
  vertical-align: middle;
}
.uae-dirham-symbol img {
  display: block;
  height: 0.8em;
  width: auto;
}
.productnamebox .price {
  margin: 0
}
.productnamebox .uae-dirham-symbol {
  margin-top: -3px;
}
.quantity {
  display: inline-flex !important;
  align-items: stretch;
  gap: 0; /* removes the gaps between elements */
  border: 1px solid #dfdfdf;
  border-radius: 3px;
}
/* the number field */
.quantity input.qty {
  -moz-appearance: textfield;
  appearance: textfield;
  text-align: center;
  width: 56px;
  height: 56px;
  margin: 0 !important; /* kills theme spacing */
  border: 1px solid #e3e3e3;
  border-left: 0;
  border-right: 0;
  border-radius: 0 !important; /* no rounded corners on the middle */
  box-shadow: none !important;
  background: #fff;
  font-size: 16px;
}
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* the + / − buttons */
.qty-btn {
  width: 30px;
  height: 56px;
  margin: 0 !important;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  color: #000 !important;
  background: #fff !important; /* your orange */
  border: 0;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: #f07d40;
}
.wc-account-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wc-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-sizing: border-box;
  border: 1px solid transparent;
}
.wc-account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wc-account-text {
  display: inline-block;
}
/* Customer name button */
.wc-account-user {
  background: #ffffff;
  color: #111111;
  border-color: #dcdcdc;
}
@media (hover: hover) {
  .wc-account-user:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
  }
}
/* Sign In / Register button */
.wc-account-login {
  background: #0f172a;
  color: #ffffff !important;
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
@media (hover: hover) {
  .wc-account-login:hover {
    background: #1e293b;
    color: #ffffff !important;
    border-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  }
}
.wc-account-login:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}
/* Logout button */
.wc-account-logout {
  background: #fff5f5;
  color: #d63638;
  border-color: #f3c2c3;
}
@media (hover: hover) {
  .wc-account-logout:hover {
    background: #d63638;
    color: #ffffff;
    border-color: #d63638;
  }
}
.wc-account-logout:active {
  opacity: 0.92;
}
/* Focus */
.wc-account-btn:focus {
  outline: none;
}
.wc-account-btn:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}
/* Tablet */
@media (max-width: 768px) {
  .wc-account-nav {
    gap: 8px;
  }
  .wc-account-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}
/* Mobile: icons only */
@media (max-width: 480px) {
  .wc-account-nav {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .wc-account-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .wc-account-text {
    display: none;
  }
  .wc-account-icon {
    margin: 0;
  }
  .wc-account-btn svg {
    width: 18px;
    height: 18px;
  }
}