/* =========================
   Button
   ========================= */

.sharp-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #7c8444;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sharp-btn:hover {
    opacity: 0.8;
}


/* =========================
   Modal Overlay
   ========================= */

.custom-modal-overlay {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.7);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    z-index: 999999;
}


/* =========================
   Active / Visible Modal
   ========================= */

.custom-modal-overlay.active {
    display: flex;
}


/* =========================
   Modal Content
   ========================= */

.custom-modal-content {
    position: relative;

    max-width: 90vw;
    max-height: 90vh;

    background: #fff;

    border-radius: 10px;

    padding: 10px;

    box-sizing: border-box;

    overflow: visible;
}


/* =========================
   Modal Image
   ========================= */

.custom-modal-content img {
    display: block;

    max-width: 100%;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 5px;
}


/* =========================
   Close Button
   ========================= */

.modal-close-x {
    position: absolute;

    top: -15px;
    right: -15px;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #fff;
    color: #000;

    font-size: 25px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);

    z-index: 10;

    transition: all 0.2s ease;
}

.modal-close-x:hover {
    transform: scale(1.1);
}


/* =========================
   Prevent Page Scrolling
   ========================= */

body.modal-open {
    overflow: hidden;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {

    .custom-modal-overlay {
        padding: 15px;
    }

    .custom-modal-content {
        max-width: 95vw;
        max-height: 90vh;

        padding: 5px;
    }

    .custom-modal-content img {
        max-width: 100%;
        max-height: 85vh;
    }

    .modal-close-x {
        top: -10px;
        right: -10px;

        width: 32px;
        height: 32px;

        font-size: 22px;
    }

    .sharp-btn {
        font-size: 14px;
        padding: 9px 16px;
    }
}


.salla-marquee {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: var(--color-primary);
  overflow: hidden;
  direction: ltr;
  border-bottom: 0;
  height: 44px;
  display: flex;
  align-items: center;
}

.salla-marquee__track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 18s linear infinite;
}

.salla-marquee__item {
  white-space: nowrap;
  padding: 0 30px;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-weight: 600;
  line-height: 44px;
}

body {
  padding-top: 44px;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .salla-marquee {
    height: 40px;
  }

  .salla-marquee__item {
    font-size: 13px;
    padding: 0 20px;
    line-height: 40px;
  }

  body {
    padding-top: 40px;
  }
  
@media (max-width: 1024px) {
    .main-nav-container.fixed-header .inner {
        transform: none;
        top: 24px;
    }
}
}
  /*categary*/
.al-categories .grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  width: 83%;
  margin: auto;
}

.al-categories .category_card {
  padding: 0;
  height: auto;
}
section.al-categories {
  padding-top: 0;
  margin-bottom: 0;
}
.al-categories img {
  max-height: 300px;
  transform: unset
}

/* remove bg*/
.al-categories .category_card::after {

  background: transparent;

}

.al-categories h3 {
  font-size: 40px;
  line-height: 2rem;
  font-weight: 900;
}

.al-categories .category_card {

  --background_hover: transparent !important;
}

/**/


@media (min-width: 992px) {
  section:nth-child(2 of .landing-page-first-banner) .item-text h1 {
    width: 66% !important;
    text-align: center !important;
  }

  section:nth-child(2 of .landing-page-first-banner) .item-text {
    align-items: center !important;
    background: #D5C69E;
    padding: 46px;
    width: 50%;
  }

  #slider-9 .txt {
    margin-right: 2rem;
  }
}

/* Categories */

.s-block__title {
  justify-content: center;
}

.s-block__title h2 {
  color: #000;
  font-size: 50px;
}

.s-block__title .right-side:where([dir=rtl], [dir=rtl] *) {
  padding-left: 0;
}

.s-block--banners .grid {
  grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
}

.s-block--banners .lazy__bg {
  background-size: contain;
  background-repeat: no-repeat;
}

.s-block--banners .banner-entry {
  height: 300px;
}

@media (max-width: 992px) {
  .s-block--banners .banner-entry {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .s-block--banners .banner-entry {
    height: 100px;
  }
}

@media (min-width: 640px) {
  .two-row .banner-entry:first-child {
    grid-row: span 1 / span 1;
  }
}

/* Transparent Banner */
.banner-entry,
.banner--fixed img {
  background-color: transparent !important;
}

@media (max-width: 768px) {

  /*categary*/
  .al-categories .grid {

    width: 100%;

  }
 .landing-page-first-banner .item-text {
    max-width: 210px !important;
}

  .landing-page-first-banner .item-text h1 {
    font-size: 24px !important;
  }

  .al-categories h3 {
    font-size: 30px;

  }

  .AL_best_seller .image-div img {
    object-fit: contain !important;
    height: 180px;
  }

  .AL_best_seller .image-div {
    height: 387px;
  }

  section:nth-child(1 of .s-block--banners) .banner-entry {

    grid-column: 2 span;
  }

  section:nth-child(1 of .s-block--banners) .banner-entry:nth-child(4) {
    height: unset;
    grid-column: 2/4;

  }

  .s-block__title h2 {
    color: #000;
    font-size: 30px;
  }

  .al-categories .category_card {
    padding: 20px;
    height: 150Px;
  }

  .al-categories img {
    max-height: 129px;
  }
  .hideOnMobilePlugin {
    bottom: 20% !important;
    left: 5% !important;
  }


  .s-block--features__item:first-child {
    grid-column: span 2 / span 2;
    order: 1;
}
}

/**/


footer .copyright-text p {
  color: #fff !important;
}

.copyright-text p a:hover {
  color: #fff !important;
}

/***********/

/* =========================
   Form Container
========================= */
.form-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
  background-color: var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =========================
   Headings & Labels
========================= */
.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 36px;
  color: #fff;
  line-height: 48px;
}

.form-container label {
  color: #fff;
}

/* =========================
   Form Groups
========================= */
.form-group {
  margin-bottom: 15px;
  padding: 5px;
  border: 1px solid #ddd;
}

.form-group:has([type='radio']) {
  padding: 15px;
}

/* =========================
   Inputs
========================= */
.form-container input[type='text'],
.form-container input[type='tel'],
.form-container input[type='number'] {
  width: 95%;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
}

.form-container input::placeholder {
  color: #ddd !important;
}

.form-container input[type='tel'] {
  text-align: right;
}

.form-container input:focus,
.form-container input:active,
.form-container textarea:focus {
  outline: none;
  border: none !important;
}

.txt-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-container input {
  font-size: 24px;
}

.form-container label {
  font-size: 20px;
}

.form-container textarea {
  font-size: 20px;
}

/* =========================
   Radio Buttons
========================= */
.form-container input[type='radio'] {
  width: 18px;
  height: 18px;

  border: 2px solid #fff;
  border-radius: 0;
  background-color: #212360;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
}

.radio-group label:first-child {
  margin-left: 20px;
  font-weight: 600;
}

.radio-group span {
  display: flex;
  margin-right: 10px;
}

/* =========================
   Checkbox
========================= */
.checkbox-group label {
  display: block;
  margin-top: 10px;
}

/* =========================
   Button
========================= */
#userForm button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: 4px;

  cursor: pointer;

  font-size: 26px;
  font-weight: 600;

  transition: background-color 0.3s ease;
}

#userForm button:hover {
  background-color: #f1f1f1;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  form h2,
  #userFormbutton {
    font-size: 28px;
    margin-bottom: 2rem;
  }
}

salla-advertisement {
  height: auto !Important
}

@media (max-width: 600px) {
  .form-container {
    max-width: 100%;
    padding: 15px;
  }

  input[type='text'],
  input[type='tel'],
  input[type='number'] {
    padding: 8px;
  }
}

/* Mobile */
section:has(img[ src *='363db1931b5a_1200x670']) {
  display: none;
}

@media (min-width: 576px) {
  section:has(img[ src *='363db1931b5a_1200x670']) {
    display: block;
  }

  section:has(img[ src *='0025ad86d217_900x900']) {
    display: none;
  }
}

/* Edits */
span.s-contacts-icon {
  color: #fff;
  border: 1px solid #fff;
}
.s-product-card-entry {
    display: flex;
}

/* Main Banner */
section:nth-child(1 of .landing-page-first-banner) .txt {
  margin-left: 10%;
  max-width: 500px;
}
section:nth-child(1 of .landing-page-first-banner) a.fbanner-star-btn {
  font-size: 26px;
  padding: 6px 36px 12px;
}
section:nth-child(2 of .landing-page-first-banner) .txt {
  margin-left: 2%;
}

/* My_Mobile_Edits */
@media (max-width: 576px) {
  /* 1 */
  section:nth-child(1 of .landing-page-first-banner) .item-text {
    margin-bottom: 31%;
    margin-left: -8px;
  }
  section:nth-child(1 of .landing-page-first-banner) .txt h1 {
    font-size: 21px !important;
  }
  section:nth-child(1 of .landing-page-first-banner) a.fbanner-star-btn {
    font-size: 16px;
    padding: 5px 26px 10px;
  }
  /* 2 */
  section:nth-child(2 of .landing-page-first-banner) .txt {
    padding: 0;
  }
  section:nth-child(2 of .landing-page-first-banner) .item-text {
    max-width: 120px !important;
    background-color: #D5C69E;
    padding: 20px 6px;
    border-radius: 8px;
    margin-inline: 4px;
  }
  section:nth-child(2 of .landing-page-first-banner) p {
    display: block;
    font-weight: bold;
    font-size: 14px;
  }
  section:nth-child(2 of .landing-page-first-banner) .txt h1 {
    font-size: 17.5px !important;
    color: #3F552C !important;
    text-align: center !important;
  }
  section:nth-child(2 of .landing-page-first-banner) .pa-fbanner-star {
    margin-top: 6px;
    font-size: 12px;
    font-weight: bold;
  }
  /* 3 */
  section:nth-child(3 of .landing-page-first-banner) p {
    display: block;
    font-weight: bold;
    font-size: 14px;
  }
  section:nth-child(3 of .landing-page-first-banner) .txt h1 {
    max-width: 160px;
  }
  section:nth-child(3 of .landing-page-first-banner) .pa-fbanner-star {
    margin-top: 6px;
  }
}


/* Edits */
section:nth-child(3 of .special_title) h3 {
    font-size: 40px;
}
.special_title h3::after {
    content: unset;
}
@media (max-width: 768px) {
    .s-product-card-content-title a {
        font-size: 12px;
    }
}

/* Header Ad Direction */
.salla-marquee__item {
  direction: rtl;
  unicode-bidi: isolate; /* أو embed */
  text-align: right;
}