@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
    font-family: iran-sans;
    src: url(../fonts/A-Iranian-Sans/Iranian\ Sans.ttf);
  }

* {
    text-decoration: none !important;
    border: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgb(30, 23, 23);
    font-family: iran-sans;
}

body, section, main, .products-section {
  overflow: visible !important; 
}

h4 {
  color: #000 !important;
  text-decoration-color: #22d3ee !important;
}

.header-img {
  box-shadow:  0 0 5px #062b53;
  border-radius: 50px;
  width: 100%;
  height: 100%;
}

.header {
  height:350px;
}

body, html{
  background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

html {
  overflow-x: clip !important;
}


.navbar {
  background-color: #ffffff !important;
  padding: 0 !important;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding-bottom: 5px !important;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: bold;
  font-family: cursive;
  padding-bottom: 0.005rem !important;
}

.nav-link i {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  background-color: #062b53;
}

.menu-hr {
  margin-top: 7px;
  border: none;
  border-top: 1px solid #062b53;
  width: 100%;
  opacity: 100%;
}


.logo {
  max-width: 130px;
  padding: 0;
  margin: 0;
}

.logo:hover {
  color: #f23d3d;
}

.navbar .nav-link {
    color: #062b53;
    font-weight: lighter;
}

.navbar .nav-link:hover {
    color: #1891AC;
}

.ico {
  stroke: #062b53;
}

.cart-link {
  background-color: #062b53;
  height: 35px;
  color: #EEEEEE !important;
  padding: 7px;
  border-radius: 15px;
  box-shadow: 0 0 5px #062b53;
  font-family: cursive;
}

.cart-link > .ico{
  stroke: #EEEEEE !important;
}


#navbarNav > ul > li{
  padding-right: 15px;  
  text-align: right;
}

section {
    margin-top: 20px;
    color: #D2ECF9;
}

#categories {
  direction: rtl;
  font-size: 12;
  margin-top: 80px !important;
  margin-bottom: 80px !important;
}


/* footer { 
  background: linear-gradient(to right, #9392b6, #1f5f8b);
  color: #D2ECF9;
  margin-left: -50vw;
  margin-right: -50vw;
   padding: 20px 0;
    text-align: center;
  overflow-x: hidden;
} */


.footer-bottom {
  background: linear-gradient(to right, #ffffff, #507e9d);  
  margin-top: 10px;
  padding: 10px 0;
}

.horizontal-scroll {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.products-section {
  box-shadow: 0px 2px 2px 2px #98dbff;
  border: 1px solid #98dbff;
  border-radius: 20px;
  padding: 20px;
  padding-bottom: 20px;

  background-color: #457B9D;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 2px;
}

.btn-all {
  padding: 6px 12px;
  background: #062b53;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-all:hover {
  background: #457B9D;
}

.product-price {
  color: #1891AC;
}

.custom-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 180px;
  height: 270px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 5px;
  padding: 5px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.custom-card > a {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
}

.product-img {
  width: 120%;
  height: 120px;
  object-fit: contain;
  border-radius: 5px;
}

.product-title {
  font-size: 13px;
  color: #333;
  height: 90px;
  overflow: hidden;
}

.product-price {
  font-weight: bold;
  font-size: 14px;
  margin-top: 4px;
}

.product-btn {
  background-color: #5081b9;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  margin-top: auto;
  align-self: center;
}

.details-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 6px !important;
  border-radius: 8px;
  border: 1px solid #1D3557;
  text-decoration: none;
  transition: all 0.3s;
  background:#1D3557;
  color: #ffffff;
  border-radius: 10px;
  font-size: 0.9rem;
}

.details-btn:hover {
  background: #A8DADC;
  color: #fff;
}

.indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 5px;
}

.new-next,
.new-prev {
  color: #000 !important;
  display: block;
}

.discount-next,
.discount-prev {
  color: #000 !important;
  display: block;
}

.see-more-container {
  text-align: left;
  margin-bottom: 30px;
  position: relative;
  top: -10p;
}

.see-more-btn {
  background-color: #4c649a;
  color: #D2ECF9;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 10px #1891AC;
}

.see-more-btn:hover {
  background-color: #1F5F8B;
  box-shadow: 0 6px 16px rgba(0, 184, 148, 0.45);
  transform: translateY(-2px);
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.custom-card img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.custom-card .card-body {
  width: 100%;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
  margin-bottom: 1rem;
}

.section-header h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
  width: 28px !important;
  height: 28px !important;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: #333 !important;
  transition: background 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .custom-card {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 0px;
  }
  .products-section {
    height: 340px;
  }
  .custom-card {
    height: 240px;
  }

  #categories {
    padding: 0px;
    margin: 0px;
    height: 120px;
  }

  #categories h4 {
    margin-bottom: 0px;
  }

  .category-swiper {
    margin: 0px !important;
    padding: 0px !important;
  }

  .custom-card img {
    height: 80px;
  }

  .product-title {
    font-style: normal;
    min-height: 60px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 24px !important;
    height: 24px !important;
  }

  .brand-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .header {
    height: 130px;
  }
  .header-img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
  }
  .search-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .brand-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 80px;
  }
  .footer {
    text-align: center;
  }
  .reviews-container {
    flex-direction: column;
  }
}

.category-swiper .card {
  border: 1px solid #062b53;
  border-radius: 12px;
  transition: 0.3s;
}

.category-swiper .card i {
  color: #062b53;
}
.category-swiper .card p {
  color: #062b53;
}

.category-swiper .card:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
}

.category-swiper {
  padding: 10px;
}

.search-box {
    display: none;
    margin: 10px;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 20px;
}

.search-container input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.search-container button {
  background-color: #1891AC;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

@media screen and (max-width: 575.98px) {
  .search-container {
    display: none !important;
  }
}


.chatbot-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: "Vazirmatn", sans-serif;
}

.chatbot-toggle {
  background: hwb(217 65% 7%);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 0 20px #22d3ee80;
  transition: 0.3s;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: #F1FAEE;
  color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: none;
  animation: fadeIn 0.3s ease;
}

.chat-header {
  background: hwb(217 65% 7%);
  color: #22d3ee;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header .close-chat {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.chat-body {
  height: 230px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  color: #fff;
}

.bot-msg,
.user-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 14px;
}

.bot-msg {
  background: hwb(217 65% 7%);
  align-self: flex-start;
}

.user-msg {
  background: #22d3ee;
  color: #0f172a;
  align-self: flex-end;
}

.chat-input {
  display: flex;
  border-top: 1px solid #d4e4ff;
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
  background: #e9f1ff;
  color: #fff;
  font-size: 14px;
}

.chat-input button {
  background: hwb(217 65% 7);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #0f172a;
  font-weight: bold;
  border-radius: 0 0 12px 0;
  transition: 0.3s;
}

.chat-input button:hover {
  background: #0ea5e9;
}

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

.scroll-btn {
  background: #fff;
  border: none;
  font-size: 26px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  position: absolute;
  z-index: 10;
  transition: background 0.3s;
}
.scroll-btn:hover {
  background: #f0f0f0;
}

.scroll-btn.left {
  left: -20px;
}

.scroll-btn.right {
  right: -20px;
}

.search-mobile {
  margin-top: 10px;
  margin-right: 8px;
}

.search-mobile input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.search-mobile button {
  background-color: #1891AC;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.about-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.about-section img {
    max-width: 100%;
    border-radius: 12px;
}

.feature-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    background:hwb(217 65% 7%); 
    transition: 0.2s;
}

.feature-card:hover {
    background: #F1FAEE;
}

.feature-icon {
    font-size: 1.8rem;
    color: #1D3557;
    margin-bottom: 10px;
}

.contact-btn {
    display: block;
    margin: 30px auto 0;
    padding: 10px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
    background-color: #D2ECF9;
    
}
.contact-btn:hover {
  background:#78c5ee; 
}

.daste-bande {
  color: #062b53 !important;
}

.search-bar,
.search-bar-mobile {
  display: flex;
  align-items: center;
  background: #062b53;
  border-radius: 40px;
  padding: 10px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 320px;
  transition: all 0.3s ease;
  margin: 10px auto;
  position: relative;
  z-index: 1000;
}

.search-bar:hover,
.search-bar-mobile:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.search-bar input,
.search-bar-mobile input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
  background: transparent;
  color: #ffffff;
}

.search-bar i,
.search-bar-mobile i {
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-bar i:hover,
.search-bar-mobile i:hover {
  color: #1f5f8b;
}

.sticky-search {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(6px);
  background: #1891ac;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input::placeholder {
  color: #ffffff;
}

.search-bar-mobile {
  width: 90%;
  padding: 8px 14px;
}

.search-bar input:focus,
.search-bar-mobile input:focus {
  color: #ffffff;
}

@media (max-width: 576px) {
  .search-bar {
    display: none !important;
  }
}

.results-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
}

.result-card {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  background-color: #78c5ee;
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.result-title {
  font-weight: bold;
  color: #253B6E !important;
  font-size: 18px;
  margin-bottom: 5px;
}

.result-description {
  color: #555;
}

.lead {
  text-align: justify!important;
}

.contact-section h1 {
    font-weight: bold;
}

.contact-section .form-control {
    text-align: right;
    background-color: #d2ecf9;
}

.contact-section .form-control::placeholder {
    text-align: right !important;
    direction: rtl;
}

.contact-section .form-control:focus {
  background-color: #b7e1ff;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
    background-color: #1891ac;
}

.contact-section .bg-white {
    border-radius: 12px;
}

.navbar .container-fluid {
    padding: 0 !important;
}

.navbar-toggler {
 background-color: #ffffff;
 margin-left: 8px; 
 padding-left: 5px;
 padding-right: 7px;
 margin-right: 15px;
 border-radius: 8px;
}

.brand-section {
  text-align: center;
  margin: 40px 0;
}

.brand-section .section-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.brand-swiper {
  width: 90%;
  padding: 10px 0 10px;
}

.brand-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px; /* اندازه قاب */
  width: 120px; /* عرض قاب */
}

.brand-swiper .swiper-slide img {
  height: auto;
  object-fit: contain;
  width: 80%;
  height: 80%;
}

.swiper-button-next,
.swiper-button-prev {
  color: #444;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #5081b9;
}

.mobile-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  text-align: center;
  position: relative;
}

.mobile-logo {
  height: 40px;
  display: block;
  margin: 0 auto;
}

.nav-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer {
  padding: 25px 20px;
  direction: rtl;
  text-align: right;
}


.footer {
  background-color: #D2ECF9;
  border-radius: 50px;
  margin-bottom: 10px;
  border: 1px solid #062b53;
}


.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.social-icons a > i {
  color: #062b53;
  font-size: 26px;
}

.social-icons a > i:hover {
  color: #1891AC;
}

.dastresi a, .daste-bandi a {
  display: block;
  color: #062b53;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 30px;
  direction: rtl;
  align-items: flex-start;
}

.contact-text {
  flex: 1;
}

.contact-text h2 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #2d3e50;
}

.contact-text p {
  font-size: 17px;
  line-height: 2;
  color: #444;
}

.contact-boxes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 20px;
  background: #f2f7ff;
  border-radius: 14px;
  border: 1px solid #d7e5f3;
}

.icon-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #a5c7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  font-size: 26px;
  color: #1e88e5;
}

.contact-item h3 {
  font-size: 18px;
  margin: 0;
  color: #1e3a5f;
  font-weight: 600;
}

.contact-item p {
  margin: 3px 0 0;
  font-size: 14px;
  color: #555;
}

#newReviews .review {
  background: #fff9dc;
}
.reviews-section {
  background: #e9f3ff;
  padding: 20px;
  border-radius: 15px;
  margin: 20px auto;
}

.reviews-container {
  display: flex;
  gap: 20px;
}

.review-form, .reviews {
  flex: 1;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.07);
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  padding: 10px;
  background: #4b7ccc;
  color: white;
  border-radius: 8px;
  border: none;
  margin-top: 5px;
  cursor: pointer;
}

.review {
  background: #fdfdfd;
  padding: 12px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.review-header {
  display: flex;
  gap: 10px;
  align-items: center;
}

.avatar {
  width: 40px;
  border-radius: 50%;
}

.name {
  font-weight: bold;
}

.stars {
  color: gold;
  font-size: 18px;
  margin-top: 3px;
}

.copy {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.8;
}