/*
Theme Name: Bomo.az Market
Author: Beyvin Digital
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-top: 80px;
  padding-top: 10px;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  font-size: 0.85rem;
  background-color: #e5e5e5;
  height: 40px;
}

a {
  text-decoration: none;
  color: #56423e;
}

a:hover {
  opacity: .7;
}

.top-bar a {
  margin-top: 5px;
}

.btn-primary {
  background: #ea4133;
  border: none;
  border-radius: 0px;
}

.btn-primary:hover {
  background: #ea4133;
  opacity: .9;
}

.btn-primary:focus,
.btn-primary:active {
  background-color: #ea4133 !important;
  border-color: #ea4133 !important;
}

input.form-control:focus {
  border-color: #56423e;
  box-shadow: 0 0 8px rgba(86, 66, 62, 0.3);
}

input.form-control {
  border-radius: 0;
}

.favorites .btn {
  color: #56423e;
}

.bg-company {
  background-color: #ea4133;
}

.bg-company:hover {
  background-color: #ea4133 !important;
}

.favorites a {
  font-size: 14px !important;
  padding: 2px 6px !important;
}

.favorites i {
  font-size: 14px !important;
}

.favorites .badge {
  font-size: 10px !important;
  padding: 2px 4px !important;
}

.categories .list-group-item {
  border: none !important;
  background: #f8f9fa;
}

.main-cat {
  font-weight: 500;
  position: relative;
  cursor: pointer;
}

@media (min-width: 992px) {
  .category {
    position: relative;
    z-index: 1000;
  }

  .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0px;
    z-index: 9999;
  }

  .category:hover .sub-menu {
    display: block;
  }

  .main-cat:hover {
    background: #ececec;
  }
}

@media (max-width: 991px) {
  .sub-menu {
    position: relative;
    left: 0;
    top: 0;
    box-shadow: none;
    display: none;
  }

  .sub-menu.active {
    display: block;
  }
}

.sub-menu a {
  display: block;
  padding: 8px 15px;
  font-size: 14px;
  color: #56423e;
  text-decoration: none;
  white-space: nowrap;
}

.sub-menu a:hover {
  background: #f2f2f2;
  color: #56423e;
}

section h3 {
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.btn-outline-custom {
  color: #ea4133 !important;
  border: 1px solid #ea4133 !important;
  background: transparent;
  font-weight: 500;
  transition: 0.25s;
}

.btn-outline-custom:hover {
  background-color: #ea4133 !important;
  color: #fff !important;
}

.love-btn {
  background-color: #fff !important;
  color: #ea4133 !important;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: 0.25s;
}

.love-btn:hover {
  background-color: #ea4133 !important;
  color: #fff !important;
}

.btn-add-to-cart {
  background-color: #ea4133 !important;
  color: #fff !important;
  border: none;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: 0.25s;
}

.btn-add-to-cart:hover {
  background-color: #ea4133 !important;
  opacity: .7;
}

.text-primary {
  color: #ea4133 !important;
}

.text-muted {
  opacity: .5;
}

.nav-link {
  color: #56423e !important;
}

.nav-link:hover {
  color: #ea4133 !important;
}

header {
  padding: 1.5rem 2rem;
  padding-top: 2.5rem;
  box-shadow: none;
  transition: all 0.3s ease;
  margin-top: 30px;
}

header.scrolled {
  padding: 0.5rem 3rem; 
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}





.info-links, 
.info-links ul, 
.info-links li {
    list-style: none; /* bullets silinir */
    margin: 0;
    padding: 0;
}

.info-links a {
    text-decoration: none;
    color: #000; /* link rəngi */
    line-height: 1;
    display: inline-block;
}

.header-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000;
}

.header-links i {
    font-size: 1rem;
}

.card-image-wrapper {
    width: 100%;
    height: 200px; /* kart üçün sabit hündürlük */
    overflow: hidden; /* böyük şəkilləri gizlədir */
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* şəkil konteynerə uyğun kəsilir */
    display: block;
}

/* Love button style */
.yith-wcwl-add-to-wishlist {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea4133;
    font-size: 1rem;
}

.yith-wcwl-add-to-wishlist:hover {
    background: #ea4133;
    color: #fff;
}

.bg-company {
    background-color: #ea4133; /* sənin brend rəngi */
    color: #fff;
}