/* Light, page-scoped storefront polish. It intentionally leaves global layout and copy untouched. */

.hasloggedpopup .modal-dialog {
  max-width: 680px !important;
}

.hasloggedpopup .hasloggedpopup__card {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(20, 26, 61, .18);
  font-family: "Tajawal", sans-serif;
}

.hasloggedpopup .hasloggedpopup__body {
  padding: 28px;
  background: linear-gradient(145deg, #fff 0%, #f8f8fc 100%);
}

.hasloggedpopup .hasloggedpopup__choice {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid #eaebf2;
  border-radius: 14px;
  background: #fff;
}

.hasloggedpopup .hasloggedpopup__choice p {
  min-height: 48px;
  margin: 0;
  padding: 0 !important;
  color: #292b3f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.hasloggedpopup .hasloggedpopup__choice .button {
  min-height: 46px;
  margin-top: auto;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(42, 42, 134, .14);
  font-weight: 700;
  line-height: 46px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hasloggedpopup .hasloggedpopup__choice .button:hover,
.hasloggedpopup .hasloggedpopup__choice .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 23px rgba(42, 42, 134, .22);
}

.section-new-cart .cart-payment-card,
.section-new-cart .colum.col-total:not(.shipping-card) {
  overflow: hidden;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 38, 66, .06);
}

.section-new-cart .shipping-card {
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

.section-new-cart .header-accordion-checkout,
.section-new-cart .header-accordion-checkout2 {
  min-height: 58px;
  padding: 12px 15px !important;
}

.section-new-cart .header-accordion-checkout:hover,
.section-new-cart .header-accordion-checkout2:hover {
  background: #fbfbfe;
}

.section-new-cart .cart-accordion-chevron {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: #f0f0fb;
  color: transparent;
  font-family: inherit;
  font-size: 0;
  font-style: normal;
  flex: 0 0 30px;
}

.section-new-cart .cart-accordion-chevron::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid #2a2a86;
  border-bottom: 2px solid #2a2a86;
  transform: rotate(45deg);
}

.section-new-cart .cart-payment-option {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #e5e7ee;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}

.section-new-cart .cart-payment-option:hover {
  border-color: #bfc1e6;
  background: #fff;
}

.section-new-cart .cart-payment-option:has(input[type="radio"]:checked),
.section-new-cart .cart-address-option:has(input[type="radio"]:checked) {
  border-color: #d81921 !important;
  background: #fff8f8;
}

.section-new-cart .cart-address-option {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #e5e7ee !important;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}

.section-new-cart .cart-address-option:hover {
  border-color: #bfc1e6 !important;
}

.section-new-cart .cart-payment-option .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 9px;
  border: 2px solid #989bb2 !important;
  border-radius: 50%;
  vertical-align: -4px;
}

.section-new-cart .cart-payment-option .circle .inner-circle {
  display: block !important;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d81921 !important;
  opacity: 0;
  transform: scale(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.section-new-cart .cart-payment-option input[type="radio"]:checked + label .circle {
  border-color: #d81921 !important;
}

.section-new-cart .cart-payment-option input[type="radio"]:checked + label .inner-circle {
  opacity: 1;
  transform: scale(1);
}

.section-new-cart .cart-checkout-button {
  width: 100%;
  height: 48px !important;
  min-height: 48px;
  margin-top: 18px !important;
  border-radius: 11px;
  box-shadow: 0 10px 20px rgba(216, 25, 33, .18) !important;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px !important;
  letter-spacing: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.section-new-cart .cart-next-button,
.section-new-cart .review-submit-button {
  width: 100%;
  height: 48px !important;
  min-height: 48px;
  margin: 18px 0 24px !important;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(63, 179, 96, .17) !important;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px !important;
}

.section-new-cart .cart-checkout-button:hover,
.section-new-cart .cart-checkout-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 13px 25px rgba(216, 25, 33, .25) !important;
}

.section-new-cart .cart-remove-button {
  position: relative;
  overflow: hidden;
  border: 0;
  box-shadow: 0 5px 12px rgba(216, 25, 33, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.section-new-cart .cart-remove-button i {
  display: none;
}

.section-new-cart .cart-remove-button::before,
.section-new-cart .cart-remove-button::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  top: 14px;
  left: 9px;
}

.section-new-cart .cart-remove-button::before {
  transform: rotate(45deg);
}

.section-new-cart .cart-remove-button::after {
  transform: rotate(-45deg);
}

.section-new-cart .cart-remove-button:hover,
.section-new-cart .cart-remove-button:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 7px 16px rgba(216, 25, 33, .3);
  outline: 0;
}

.section-new-cart .cancel-product.cart-remove-button {
  font-size: 0;
}

.section-new-cart .cancel-product.cart-remove-button::before,
.section-new-cart .cancel-product.cart-remove-button::after {
  z-index: 1;
}

.cart-dropdown-wrap .cart-dropdown-polish {
  width: min(460px, calc(100vw - 24px));
  top: calc(100% + 12px);
  right: auto;
  left: 0;
  overflow: hidden;
  border: 1px solid #e1e3ec;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(30, 34, 66, .2);
  direction: rtl;
  text-align: right;
  transform: translateY(-8px);
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 640px);
}

.cart-dropdown-wrap .cart-dropdown-polish.opened {
  transform: translateY(0);
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items {
  height: auto !important;
  max-height: none;
  flex: 1 1 auto;
  overflow-y: auto;
  border-top: 0;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-empty {
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item {
  min-height: 112px;
  height: auto;
  padding: 16px 106px 16px 68px;
  direction: rtl;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .product-img {
  width: 72px;
  height: 72px;
  top: 20px;
  right: 18px;
  left: auto;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f7fa;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .cart-dropdown-item-info {
  padding-top: 0;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .cart-dropdown-item-info .title {
  color: #292b3f;
  font-weight: 700;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .cart-dropdown-item-info .product-description,
.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .cart-dropdown-item-info .product-quantity {
  margin-bottom: 4px;
  color: #777b90;
}

.cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .cart-dropdown-item-info .product-price {
  position: static;
  margin: 6px 0 0;
  color: #2a2a86;
  font-weight: 700;
}

.cart-dropdown-polish .cart-dropdown-remove {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid #f1c3c4;
  border-radius: 50%;
  background: #fff6f6;
  transition: transform .2s ease, background-color .2s ease;
}

.cart-dropdown-polish .cart-dropdown-remove::before,
.cart-dropdown-polish .cart-dropdown-remove::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 8px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #d81921;
}

.cart-dropdown-polish .cart-dropdown-remove::before {
  transform: rotate(45deg);
}

.cart-dropdown-polish .cart-dropdown-remove::after {
  transform: rotate(-45deg);
}

.cart-dropdown-polish .cart-dropdown-remove:hover,
.cart-dropdown-polish .cart-dropdown-remove:focus-visible {
  background: #fee9e9;
  transform: scale(1.06);
  outline: 0;
}

.cart-dropdown-polish .cart-dropdown-actions {
  flex: 0 0 auto;
  padding: 16px;
  border-top: 1px solid #e8e9f0;
  background: #fbfbfe;
}

.cart-dropdown-polish .cart-dropdown-actions h6 {
  margin: 0 0 12px;
  color: #555a70;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.cart-dropdown-polish .cart-dropdown-actions .cart-dropdown-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: 100%;
  height: 44px !important;
  min-height: 44px;
  max-height: 44px;
  padding: 0 !important;
  margin: 0;
  border-radius: 10px;
  font-size: 16px;
  line-height: 44px !important;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(42, 42, 134, .16);
}

.section-new-cart .shipping-card .content-accordion-checkout input[type="text"],
.section-new-cart .shipping-card .content-accordion-checkout input[type="number"] {
  min-height: 54px;
  border: 1px solid #dfe1ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.section-new-cart .shipping-card .content-accordion-checkout input:focus {
  border-color: #2a2a86;
  box-shadow: 0 0 0 3px rgba(42, 42, 134, .11);
  outline: 0;
}

.section-new-cart .shipping-card .country {
  position: relative;
  z-index: 8 !important;
}

.section-new-cart .shipping-card .country .nice-select {
  border: 1px solid #d6d9e5;
  border-radius: 10px;
  background: #fff;
  color: #292b3f;
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.section-new-cart .shipping-card .country .nice-select::after {
  width: 10px;
  height: 10px;
  border-color: #2a2a86;
  border-width: 0 2px 2px 0;
}

.section-new-cart .shipping-card .country .nice-select.open,
.section-new-cart .shipping-card .country .nice-select:focus {
  border-color: #2a2a86;
  box-shadow: 0 0 0 3px rgba(42, 42, 134, .11);
}

.section-new-cart .shipping-card .country .nice-select .list {
  z-index: 1000 !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  margin-top: 8px;
  border: 1px solid #dfe1ea;
  border-radius: 10px;
  background: #fff !important;
  color: #292b3f !important;
  box-shadow: 0 16px 30px rgba(35, 38, 66, .16);
  isolation: isolate;
}

.section-new-cart .shipping-card .country .nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
}

.section-new-cart .shipping-card .country .nice-select .option {
  min-height: 44px;
  padding-right: 16px;
  padding-left: 16px;
  background: #fff;
  color: #292b3f;
  font-weight: 600;
}

.section-new-cart .shipping-card .country .nice-select .option:hover,
.section-new-cart .shipping-card .country .nice-select .option.focus,
.section-new-cart .shipping-card .country .nice-select .option.selected.focus {
  background: #f0f0fb;
  color: #2a2a86;
}

#signupmodal .modal-dialog,
#staticBackdrop .modal-dialog {
  max-width: 560px;
}

#signupmodal .modal-content,
#staticBackdrop .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(20, 26, 61, .2);
  font-family: "Tajawal", sans-serif;
}

#signupmodal .modal-body,
#staticBackdrop .modal-body {
  padding: 30px;
  background: linear-gradient(145deg, #fff 0%, #f8f8fc 100%);
}

#signupmodal .form-row input,
#signupmodal .form-row select,
#staticBackdrop .form-row input {
  min-height: 50px;
  border: 1px solid #dfe1ea;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#signupmodal .form-row input:focus,
#signupmodal .form-row select:focus,
#staticBackdrop .form-row input:focus {
  border-color: #2a2a86;
  box-shadow: 0 0 0 3px rgba(42, 42, 134, .11);
  outline: 0;
}

#signupmodal .input-group-text,
#staticBackdrop .input-group-text {
  border-color: #dfe1ea;
  border-radius: 10px 0 0 10px;
  background: #fff;
}

#signupmodal .button,
#staticBackdrop .button {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 48px;
  box-shadow: 0 8px 18px rgba(42, 42, 134, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}

#signupmodal .button:hover,
#signupmodal .button:focus-visible,
#staticBackdrop .button:hover,
#staticBackdrop .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 23px rgba(42, 42, 134, .22);
}

.profile.profile-light-polish .tabbed-content-item.person .content,
.profile.profile-light-polish .tabbed-content-item .content.right {
  border-radius: 14px;
}

.profile.profile-light-polish .person input[type="text"],
.profile.profile-light-polish .person input[type="email"],
.profile.profile-light-polish .person input[type="tel"],
.profile.profile-light-polish .person textarea {
  border-color: #dfe1ea;
  border-radius: 9px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.profile.profile-light-polish .person input:focus,
.profile.profile-light-polish .person textarea:focus {
  border-color: #2a2a86;
  box-shadow: 0 0 0 3px rgba(42, 42, 134, .11);
  outline: 0;
}

/* Account: preserve the established sidebar and program layout. */
.profile.profile-light-polish .tabbed-content-header .triangle {
  display: none;
}

.profile.profile-light-polish .tabbed-content-header .tabbed-content-item-title.menu.selected {
  margin-left: 0;
  padding: 5px 12px;
  border-right: 3px solid #2a2a86;
  background: transparent;
  color: #2a2a86;
}

.profile.profile-light-polish .tabbed-content-header .tabbed-content-item-title.menu.selected::before {
  display: none;
}

.profile.profile-light-polish .tabbed-content-item.padded {
  padding-top: 40px;
  padding-bottom: 40px;
}

.profile.profile-light-polish .card-stepper {
  background-color: #2a2a86;
  border-radius: 14px;
}

.profile.profile-light-polish .card-stepper::before {
  top: 0;
  background-position: center;
  opacity: .16;
}

.profile.profile-light-polish .card-stepper .card-details {
  padding: 24px !important;
}

.profile.profile-light-polish .card-stepper-section {
  position: relative;
  z-index: 1;
  padding: 24px 0 20px !important;
  background: #fff;
}

.advanced-search.advanced-search-light-polish .search-input,
.advanced-search.advanced-search-light-polish .advanced-second-checkbox,
.advanced-search.advanced-search-light-polish .card {
  box-shadow: 0 8px 22px rgba(35, 38, 66, .06);
}

.advanced-search.advanced-search-light-polish .search-input {
  border-color: #d9dbe5;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.advanced-search.advanced-search-light-polish .search-input:focus-within {
  border-color: #2a2a86;
  box-shadow: 0 0 0 4px rgba(42, 42, 134, .1);
}

.advanced-search.advanced-search-light-polish .advanced-second-checkbox {
  border-color: #e0e2eb;
  background: #fff;
}

.advanced-search.advanced-search-light-polish .filter-option .select-block select {
  border-radius: 8px;
}

.advanced-search.advanced-search-light-polish .card {
  overflow: hidden;
  border: 1px solid #e8e9f0;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.advanced-search.advanced-search-light-polish .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(35, 38, 66, .11);
}

@media (max-width: 767px) {
  .hasloggedpopup .hasloggedpopup__body {
    padding: 16px;
  }

  .hasloggedpopup .hasloggedpopup__choice + .hasloggedpopup__choice {
    margin-top: 12px;
  }

  .section-new-cart .header-accordion-checkout,
  .section-new-cart .header-accordion-checkout2 {
    min-height: 54px;
  }

  .section-new-cart .cart-checkout-button {
    min-height: 48px;
    font-size: 16px;
  }

  .cart-dropdown-wrap .cart-dropdown-polish {
    width: calc(100vw - 16px);
    top: calc(100% + 8px);
    right: auto;
    left: -8px !important;
  }

  .cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item {
    min-height: 112px;
    height: auto;
    padding: 16px 96px 16px 62px;
  }

  .cart-dropdown.cart-dropdown-polish .cart-dropdown-items .cart-dropdown-item .product-img {
    width: 62px;
    height: 62px;
    top: 18px;
    right: 14px;
  }

  .cart-dropdown-polish .cart-dropdown-remove {
    top: 14px;
    left: 14px;
  }

  .profile.profile-light-polish .tabbed-content-item.padded {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #signupmodal .modal-body,
  #staticBackdrop .modal-body {
    padding: 20px;
  }

  .advanced-search.advanced-search-light-polish .title-page {
    font-size: 34px;
  }
}
