/* Copy Animation */
.base-color {
  color: hsl(var(--base)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: hsl(var(--base)) !important;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}




.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

/* Ecommerce Styles */

.product-card {
  max-height: 550px;
  height: 550px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-card__thumb {
  position: relative;
  overflow: hidden;
}

.product-card__thumb img {
  width: 308px;
  height: 200px;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: hsl(var(--base));
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.product-badge-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4757;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.product-card__content {
  padding: 20px;
}

.product-card__title {
  margin-bottom: 10px;
  font-size: 18px;
}

.product-card__title a {
  color: #333;
  text-decoration: none;
}

.product-card__title a:hover {
  color: hsl(var(--base));
}

.product-card__price {
  margin-bottom: 15px;
}

.price-new {
  font-size: 20px;
  font-weight: 700;
  color: hsl(var(--base));
}

.price-old {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.discount {
  font-size: 14px;
  color: #ff4757;
  margin-left: 10px;
  font-weight: 600;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.product-card__rating .lar,
.product-card__rating .las {
  font-size: 14px;
}

.product-card__btn .btn {
  padding: 8px 15px;
  font-size: 14px;
}

/* Product Details */

.product-details__gallery {
  margin-bottom: 30px;
}

.product-details__thumb img {
  width: 100%;
  border-radius: 10px;
}

.product-details__title {
  margin-bottom: 15px;
  font-size: 28px;
  color: #333;
}

.product-details__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.product-details__rating {
  display: flex;
  align-items: center;
}

.product-details__rating .lar,
.product-details__rating .las {
  font-size: 16px;
}

.product-details__category a {
  color: hsl(var(--base));
  text-decoration: none;
  margin: 0 5px;
}

.product-details__category a:hover {
  text-decoration: underline;
}

.product-details__price {
  margin-bottom: 20px;
}

.product-details__price .price-new {
  font-size: 32px;
}

.product-details__short-description {
  margin-bottom: 20px;
}

.product-details__quantity {
  margin-bottom: 20px;
}

.product-details__quantity .input-group {
  width: 150px;
}

.product-details__quantity .input-group .btn {
  padding: 8px 15px;
}

.product-details__quantity .input-group .form-control {
  text-align: center;
  padding: 8px;
}

.product-details__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.product-details__tags h6 {
  margin-right: 10px;
  margin-bottom: 0;
}

.tag {
  display: inline-block;
  background: hsl(var(--base));
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
  margin-right: 5px;
  margin-bottom: 5px;
}

.tag:hover {
  background: hsl(var(--base-d-200));
}

.product-description {
  padding: 20px 0;
}

/* Reviews */

.review-item {
  border-bottom: 1px solid hsl(var(--border-color));
  padding: 20px 0;
}

.review-item:last-child {
  border-bottom: none;
}

.review-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-item__author h6 {
  margin-bottom: 5px;
}

.review-item__rating .lar,
.review-item__rating .las {
  font-size: 14px;
}

.review-item__date {
  font-size: 14px;
  color: #999;
}

.review-item__content h6 {
  margin-bottom: 10px;
}

/* Cart */

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product__thumb {
  width: 80px;
  height: 80px;
  margin-right: 15px;
}

.cart-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.cart-product__content h6 {
  margin-bottom: 5px;
}

.cart-product__content h6 a {
  color: #333;
  text-decoration: none;
}

.cart-product__content h6 a:hover {
  color: hsl(var(--base));
}

.input-group--small {
  width: 120px;
}

.input-group--small .btn {
  padding: 5px 10px;
  font-size: 12px;
}

.input-group--small .form-control {
  text-align: center;
  padding: 5px;
  font-size: 14px;
}

.cart-summary .list-group-item {
  border: none;
  padding: 10px 0;
}

/* Widget Styles */

.widget {
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #fff;
}

.widget__title {
  padding: 15px 20px;
  margin-bottom: 0;
  background: hsl(var(--base));
  color: #fff;
  font-size: 18px;
}

.widget__content {
  padding: 20px;
}

.widget__content .form-group {
  margin-bottom: 15px;
}

.widget__content .form-check {
  margin-bottom: 10px;
}

.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

.btn-close:focus {
  box-shadow: none !important;
}

.btn-close {
  width: 2px !important;
  height: 2px !important;
}


/* Language */

.dropdown-lang {
  margin-left: 30px !important;
}

@media (max-width: 1199px) {
  .dropdown-lang {
    margin-left: 0px !important;
  }
}

.dropdown-lang .language-btn .flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.dropdown-lang .language-btn::after {
  color: hsl(var(--body-color));
}

.dropdown-lang .language-text {
  color: #212529;
  font-size: 16px;
}

.dropdown-lang .language-btn {
  color: #fff;
}

.dropdown-lang .dropdown-menu {
  width: 112px !important;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 10px !important;
  max-height: 370px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 9999 !important;
  box-shadow: var(--box-shadow);
  transform: inherit !important;
  min-width: 130px !important;
  margin-top: 10px;
  position: absolute !important;
  display: none; /* Hidden by default */
}

.dropdown-lang .dropdown-menu.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

/* All dropdowns inside header need high z-index */
.header .dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
}

.header .dropdown--profile .dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
  display: none;
}

.header .dropdown--profile .dropdown-menu.show {
  display: block !important;
}

/* Mobile Language Dropdown Specific Styles */
@media (max-width: 991.98px) {
    .navbar-collapse .dropdown-lang {
        position: relative;
    }
    
    .navbar-collapse .dropdown-lang .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        transform: none;
        margin-top: 0.5rem;
        border: 1px solid hsl(var(--border-primary));
        box-shadow: 0 4px 12px hsla(var(--black) / 0.15);
        z-index: 9999;
        min-width: 150px;
    }
    
    .navbar-collapse .dropdown-lang .dropdown-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
        animation: fadeInUp 0.3s ease-out;
    }
    
    .navbar-collapse .dropdown-lang .dropdown-menu:not(.show) {
        display: none;
    }
    
    .navbar-collapse .dropdown-lang .dropdown-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid hsl(var(--border-secondary));
        transition: all 0.2s ease;
    }
    
    .navbar-collapse .dropdown-lang .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .navbar-collapse .dropdown-lang .dropdown-item:hover {
        background-color: hsl(var(--primary) / 0.1);
        color: hsl(var(--primary));
    }
    
    /* Prevent mobile navbar collapse when dropdown is open */
    .navbar-collapse .dropdown-lang.show .dropdown-menu {
        position: absolute;
        will-change: transform;
    }
    
    /* Language button styling in mobile navbar */
    .navbar-collapse .language-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border: 1px solid hsl(var(--border-primary));
        border-radius: 6px;
        background: hsl(var(--white));
        color: hsl(var(--body-color));
        text-decoration: none;
        transition: all 0.2s ease;
        min-height: 48px; /* Better touch target */
    }
    
    .navbar-collapse .language-btn:hover {
        background: hsl(var(--primary) / 0.05);
        border-color: hsl(var(--primary));
        color: hsl(var(--primary));
    }
    
    .navbar-collapse .language-btn img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
}

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

.dropdown-lang .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-lang .dropdown-menu a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  color: #212529 !important;
  transition: 0.3s;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3f3f3;
}

.dropdown-lang .dropdown-menu a:hover {
  color: hsl(var(--base));
}

.dropdown-lang .dropdown-menu li:last-child a {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown-lang .dropdown-menu a .flag {
  width: 20px;
  margin-right: 10px;
  height: 15px;
}

.dropdown-lang .dropdown-menu li:last-child a {
  margin-bottom: 0px;
}

.dropdown-lang .a {
  color: #fff !important;
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05), 6px 4px 19px rgb(115 103 240 / 20%)
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: hsl(var(--base)) !important;
  padding: 10px 20px;
  background: transparent !important;
  color: #000 !important;
  border-radius: 4px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 50%;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: .3s;
  transform: translateY(-50%);
}

.selection {
  width: 100%;
}

.select2-selection.select2-selection--single {
  background: hsl(var(--white));
  border-color: hsl(var(--black)/.13) !important;
  color: #000;
  padding: 10px !important;
  line-height: 1.2;
  height: 45px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 45px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  content: "\f106";
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #000;
  line-height: 24px !important;
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown {
  background-color: hsl(var(--white)) !important;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}

.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: .375rem !important;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: hsl(var(--white)/.3) !important;
  color: #000 !important;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  border: 1px solid hsl(var(--white)/.1) !important;
}

.select2 .dropdown-wrapper {
  display: none;
}

.select2-container:has(.select2-selection--single) {
  width: 100% !important;
}

.gateway-card {
  padding: 0 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
}

.card.gateway-card .card-header {
  background: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  background-color: #fff;
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--base));
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;
}

.payment-item__thumb:has(.text) {
  width: fit-content;
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding: 0px 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: hsl(var(--base));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

.payment-item__btn-text {
  color: hsl(var(--white));
}

.payment-item__btn__icon {
  color: hsl(var(--white));
}
.banner::before {
    background-color: hsla(236, 80%, 44%, 0.91)
}
.banner__title span {
    color: hsl(243, 86%, 36%);
    text-shadow: 0px 0px 3px hsl(243, 100%, 96.34%);
    font-style: normal !important;
}
.call-to-action__content:after {
    background-color: #2C2C2C;
}
.account-left__content {
    background: #99f2;
    max-width: 600px;
    border-radius: 12px;
    padding: 20px;
}
.account-left__desc {
    font-size: 23px;
}
.dropdown-lang .dropdown-menu.show {
    box-shadow: 1px 1px 8px #aef;
}
.widget-btn .btn--sm {
    font-size: 16px;
}
@media screen and (max-width: 991px) {
    .header {
        background-color: #ffffff;
    }
}
.navbar-toggler.header-button {
    color: hsl(201.37deg 100% 45.69%);
}
.header {
    max-height: 100px;
    height: 90px;
    overflow: visible !important; /* Allow dropdowns to show */
    position: relative;
}
@media screen and (max-width: 991px) {
    .header.add-bg {
        max-height: 385px;
        height: 385px;
        overflow: visible !important; /* Allow dropdowns to show */
    }
}
.header .header-top {
    overflow: visible !important; /* Allow dropdowns to show */
}
.header .navbar {
    overflow: visible !important; /* Allow dropdowns to show */
}
.header .container {
    overflow: visible !important; /* Allow dropdowns to show */
}
.header .navbar__priority {
    overflow: visible !important; /* Allow dropdowns to show */
}
.header .navbar-actions {
    overflow: visible !important; /* Allow dropdowns to show */
}
button.navbar-toggler.header-button.order-4.d-lg-none {
    margin: 14px 9px 0 0;
    font-size: 18px;
}
.navbar-actions.d-flex.align-items-center.ms-auto.order-3 {
    margin-top: 20px;
}

@media (min-width: 992px) {

/* Priority Navigation Menu Styles */
/* Navbar Layout - Single Line */
.navbar {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  min-height: 70px;
}

/* Ensure navbar content is always visible on desktop */
.navbar-collapse {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-basis: auto !important;
}

.navbar-collapse.collapse,
.navbar-collapse.collapsing,
.navbar-collapse.show {
  display: flex !important;
}

.navbar-brand {
  flex: 0 0 auto;
  margin-right: 0;
}

.navbar__priority {
  display: flex !important;
  align-items: center;
  gap: 20px;
  margin: 0 30px;
  flex: 1;
  justify-content: flex-start;
  opacity: 1 !important;
  visibility: visible !important;
}

.navbar-actions {
  display: flex !important;
  flex: 0 0 auto;
  margin-left: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure proper spacing */
.navbar .order-1 {
  order: 1;
}

.navbar .order-2 {
  order: 2;
}

.navbar .order-3 {
  order: 3;
}

.navbar .order-4 {
  order: 4;
}

.navbar__priority-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.navbar__priority-link {
  color: hsl(var(--body-color));
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.navbar__priority-link:hover {
  color: hsl(var(--base));
  background-color: hsl(var(--base)/.1);
  text-decoration: none;
}

.navbar__priority-link.active {
  color: hsl(var(--base));
  background-color: hsl(var(--base)/.15);
}

/* More Menu Dropdown */
.navbar__more-menu {
  position: relative;
  display: none;
}

.navbar__more-btn {
  background: none;
  border: none;
  color: hsl(var(--body-color));
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.navbar__more-btn:hover {
  color: hsl(var(--base));
  background-color: hsl(var(--base)/.1);
}

.navbar__more-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: hsl(var(--white));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  padding: 10px 0;
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.navbar__more-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__more-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: hsl(var(--white));
  border: 1px solid hsl(var(--border));
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.navbar__more-item {
  display: block;
  color: hsl(var(--body-color));
  text-decoration: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar__more-item:hover {
  color: hsl(var(--base));
  background-color: hsl(var(--base)/.1);
  text-decoration: none;
}

.navbar__more-dropdown-icon {
  width: 8px;
  height: 8px;
  transition: transform 0.3s ease;
}

.navbar__more-btn.open .navbar__more-dropdown-icon {
  transform: rotate(180deg);
}

/* Responsive behavior */
@media (max-width: 1199px) {
  .navbar__priority {
    margin: 0 15px;
    gap: 15px;
  }
  
  .navbar__priority-links {
    gap: 10px;
  }
  
  .navbar__priority-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}

@media (max-width: 991px) {
  .navbar__priority {
    display: none !important;
  }

  /* Ensure mobile menu is hidden on large screens */
  .mobile-menu-only,
  #navbarContent,
  .navbar-collapse {
    display: none !important;
    visibility: hidden !important;
    opacity: 992px !important;
  }
  
  .navbar-toggler,
  .header-button {
    display: none !important;
  }
}

/* Make sure mobile menu only appears on small screens */
@media (max-width: 991.98px) {
  .mobile-menu-only {
    display: none !important; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(var(--white));
    border: 1px solid hsl(var(--border));
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    margin-top: 1px;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .mobile-menu-only.show {
    display: block !important; /* Show when toggled */
  }
  
  .mobile-menu-only.collapse {
    display: none !important; /* Hidden when collapsed */
  }
  
  /* Override Bootstrap collapse behavior - ensure collapsed state is hidden */
  .mobile-menu-only.collapse.show {
    display: none !important; /* Force hide even with both classes */
  }
  
  /* Only show when .show class is present WITHOUT .collapse */
  .mobile-menu-only.show:not(.collapse) {
    display: block !important;
  }
  
  .mobile-menu-only .navbar-nav {
    padding: 15px 0;
  }
  
  .mobile-menu-only .nav-item {
    margin: 0;
  }
  
  .mobile-menu-only .nav-link {
    padding: 12px 20px;
    color: hsl(var(--body-color));
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid hsl(var(--border)/.1);
    transition: all 0.3s ease;
  }
  
  .mobile-menu-only .nav-link:hover,
  .mobile-menu-only .nav-link.active {
    background-color: hsl(var(--base)/.1);
    color: hsl(var(--base));
  }
  
  .mobile-menu-only .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  
  .navbar-toggler {
    display: block !important;
    border: none;
    padding: 8px 12px;
    background: hsl(var(--base)/.1);
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler:hover {
    background: hsl(var(--base)/.2);
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }
  
  .navbar-toggler .fas {
    color: hsl(var(--base));
    font-size: 16px;
  }
}

/* Force override Bootstrap collapse behavior on large screens */
.navbar-collapse.mobile-menu-only.show {
  display: none !important;
}

@media (min-width: 992px) {
  /* On desktop, priority nav and actions should ALWAYS be visible */
  .navbar__priority,
  .navbar-actions,
  .dropdown-lang,
  .dropdown--profile,
  .navbar-buttons {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Mobile menu should NEVER show on desktop */
  .navbar-collapse.mobile-menu-only,
  .navbar-collapse.mobile-menu-only.show,
  .navbar-collapse.mobile-menu-only.collapsing {
    display: none !important;
  }
  
  /* Navbar toggler should be hidden on desktop */
  .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse.mobile-menu-only.show {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }
  
  /* Smooth closing animation */
  .navbar-collapse.mobile-menu-only.collapse {
    animation: slideUp 0.3s ease-out;
  }
}

/* Animation for mobile menu */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 100vh;
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 100vh;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
}

/* Overlay effect for mobile menu */
@media (max-width: 991.98px) {
  .mobile-menu-only.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
  }
}

/* RTL Support for Arabic */
[dir="rtl"] .navbar {
  direction: rtl;
}

[dir="rtl"] .navbar__priority-links {
  direction: rtl;
}

[dir="rtl"] .dropdown-lang .dropdown-menu {
  left: auto;
  right: 0;
}

/* Navbar Actions Spacing */
.navbar-actions .navbar-buttons .btn {
  margin-left: 8px;
}

.navbar-actions .dropdown-lang {
  margin-right: 15px;
}

[dir="rtl"] .navbar-actions .navbar-buttons .btn {
  margin-left: 0;
  margin-right: 0;
}

[dir="rtl"] .navbar-actions .dropdown-lang {
  margin-right: 0;
  margin-left: 15px;
}

/* Hide items that don't fit and show more button when needed */
.navbar__priority.has-overflow .navbar__more-menu {
  display: block;
}

.navbar__priority .navbar__priority-link.hidden {
  display: none;
}
a.navbar-brand.logo.order-1 {
    margin-top: 24px;
}
.navbar__priority {
    margin-top: 24px;
}
@media (max-width: 991px) {
  .navbar-buttons a.btn.pill {
    padding: 10px;
    font-size: 13px;
  }
  .navbar-brand img {
    width: 120px;
  }
  .user-info__right.d-flex.align-items-center {
      margin-top: 8px;
  }
}

} /* إغلاق @media (min-width: 992px) */

@media only screen and (max-width: 780px) {
  a.navbar-brand.logo.order-1 {
    margin-top: 10px;
  }
  .navbar-buttons .btn {
    display: none !important;
  }
  .header.add-bg .navbar-buttons .btn {
    display: block !important;
  }
  nav.navbar.navbar-expand-lg.navbar-light.position-relative {
    margin-top: -5px !important;
  }
}
@media only screen and (max-width: 1102px) {
  .navbar-buttons .btn {
    padding: 8px;
    font-size: 14px;
  }
}
.dropdown.dropdown--profile {
    margin-top: 24px;
}
@media screen and (max-width: 521px) {
    .navbar-brand.logo img {
        max-width: 90px;
        margin: 0 15px;
    }
    .navbar-buttons .btn {
        font-size: 10px;
        margin: 0 -4px;
        padding: 6px 8px;
    }
    .dropdown-lang .language-text {
      font-size: 14px;
    }
    .navbar-buttons {
      margin: 0 -10px;
    }
    button.navbar-toggler.header-button.order-4.d-lg-none.collapsed {
        font-size: 14px;
    }
}
@media screen and (max-width: 991px) {
    .navbar-brand.logo img {
        max-width: 120px;
        margin: 0 15px;
    }
}
@media screen and (max-width: 425px) {
    .navbar-brand.logo img {
        max-width: 89px;
        margin: 0 8px;
    }
    .navbar-buttons .btn {
        font-size: 9px;
        margin: 0 -4px;
        padding: 2px;
    }
    .dropdown-lang .language-text {
        font-size: 12px;
    }
}
.gig-btn-wrapper.ms-auto {
    width: 200px;
}
button.navbar-toggler {
    margin: 20px 5px;
}

/* Review Styles */

.rating-stars {
  font-size: 24px;
  cursor: pointer;
}

.rating-star {
  color: #ddd;
  transition: color 0.2s;
}

.rating-star:hover,
.rating-star:hover ~ .rating-star {
  color: #ffc107;
}

/* Cart Button Styles */

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  text-align: center;
  z-index: 1;
}

.navbar__priority-link.position-relative {
  position: relative;
}

.navbar__more-item.position-relative {
  position: relative;
}

.navbar__more-item .cart-count {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  text-align: center;
  z-index: 1;
}
.product-card__thumb {
    border-bottom: 1px solid #eee;
}
.custom--card__content .badge.badge--base {
  color: #fff !important;
}
.product-card {
  position: relative;
  bottom: 0;
}
.product-card__btn {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 170px;
  margin: 9px auto;
}
.header-top {
  background: #fff;
  box-shadow: 1px 1px 4px #aee;
  padding-bottom: 20px;
}