body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f3f6fa;
  color: #273040;
  margin: 0;
  padding: 0;
}

.header {
  background: #fff;
  color: #cb4a62;
  padding: 28px 0 5px 0;
  text-align: center;
  box-shadow: 0 2px 13px #d0d3db1c;
  position: relative;
}
.logo {
  font-size: 2.65rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  color: #90003a;
  letter-spacing: 0.105em;
  text-shadow: 0 2px 16px #800e3590;
  background: linear-gradient(91deg,#97003c 18%, #bb226f 60%, #5a0930 98%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 9px;
  margin-top: 7px;
  display: inline-block;
}
.search-area {
  position: absolute;
  right: 32px; top: 28px;
  display: flex;
  align-items: center;
}
.searchbar {
  border-radius: 22px;
  border: 1.2px solid #e1e4eb;
  background: #f9f9fb;
  color: #cb4a62;
  padding: 10px 27px 10px 15px;
  font-size: 1rem;
  box-shadow: 0 1px 6px #b5acc723;
  outline: none;
  width: 225px;
  max-width: 55vw;
  transition: border 0.16s;
}
.searchbar:focus {
  border:1.7px solid #cb4a62;
  background: #fff;
}
.searchbar:disabled { cursor: not-allowed; opacity: 0.69; }

.main-nav {
  background: #fff;
  margin-top: 13px;
  box-shadow: 0 4px 22px #d0d3db10;
  border-bottom: 1px solid #e7e9ef;
  position: sticky;
  top: 0;
  z-index: 996;
}
.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}
.main-nav .nav-item {
  font-size: 1.06rem;
  font-weight: 500;
  color: #cb4a62;
  background: none;
  border: none;
  margin: 0 14px 0 0;
  padding: 14px 19px 10px 19px;
  cursor: pointer;
  border-radius: 0 0 18px 18px;
  transition: background .17s, color .15s, box-shadow .13s;
  text-decoration: none;
  display: inline-block;
}
.main-nav .nav-item:hover, .main-nav .nav-item:focus {
  background: #fbdbe7;
  color: #ae3c56;
  box-shadow: 0 4px 14px #f7bbbb36;
}
.main-nav .nav-item:active {
  background: #eb9fb9;
  color: #fff;
}
.hakkimizda-link {
  color: #fff !important;
  background: #cb4a62;
  border-radius: 14px;
  padding: 9px 21px;
  margin-left: 18px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.hakkimizda-link:hover {
  background: #a03755;
  color: #fff;
  text-decoration: none;
}

main {
  max-width: 1050px;
  margin: 52px auto 36px auto;
  padding: 0 14px;
}
.categories h2,
.products h2 {
  font-size: 1.34rem;
  color: #253247;
  font-weight: 700;
  margin-top: 32px;
  letter-spacing: .01em;
  padding-bottom: 9px;
}
.category-list {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 22px 0 30px 0;
}
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 18px 12px 18px;
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #e7c6a7;
  box-shadow: 0 2px 10px #322a2f08;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.category img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 8px;
}
.category span {
  font-size: 1.01rem;
  font-weight: 600;
}
.category:active, .category:hover { box-shadow: 0 2px 16px #cb4a6248; }

.products h2 {
  margin-top: 16px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 18px;
}
.product-card {
  background: #fff;
  border-radius: 15px;
  border: 1.2px solid #e1e4eb;
  box-shadow: 0 2px 16px #b5acc72d;
  width: 210px;
  padding: 18px 8px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  min-height: 220px;
  transition: box-shadow .19s, border .15s;
}
.product-card:hover {
  box-shadow: 0 8px 32px #cb4a6237;
  border: 1.6px solid #d5a0ae;
}
.product-card img {
  width: 200px;
  height: 200px;
  margin-bottom: 7px;
  object-fit: contain;
}
.product-title {
  font-weight: 600;
  text-align: center;
  font-size: 1.08rem;
  color: #b23954;
  letter-spacing: 0.01em;
}

.footer {
  background: #fff;
  color: #cb4a62;
  border-top: 1px solid #edeff3;
  padding: 22px 0 10px 0;
  text-align: center;
  font-size: .99rem;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 1.08rem;
  padding: 21px 0 7px 0;
}

/* Modal */
.placeholder-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #0008;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .33s;
}
.placeholder-modal.active {
  display: flex;
  opacity: 1;
}
.placeholder-modal.fading {
  opacity: 0;
  transition: opacity .27s;
}
.placeholder-content {
  position: relative;
  background: #fff;
  color: #cb4a62;
  font-size: 1.55rem;
  border-radius: 13px;
  padding: 32px 48px;
  box-shadow: 0 3px 32px #cb4a6240, 0 0px 2px #cacac9;
  font-weight: 700;
  min-width: 270px;
}
.modal-close {
  position: absolute;
  top: 11px;
  right: 16px;
  background: #f5f3fa;
  color: #b23954;
  border: none;
  font-size: 2.05rem;
  font-weight: 400;
  border-radius: 56%;
  width: 37px; height: 37px;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 2px 8px #eee2f3;
  cursor: pointer;
  transition: background .15s, color .14s;
  z-index: 10;
}
.modal-close:hover {
  background: #d4b4c87e;
  color: #97003c;
}

.about-wrap {
  max-width: 420px;
  background: #fff;
  text-align: center;
  margin: 56px auto 0 auto;
  border-radius: 18px;
  box-shadow: 0 0 32px #cb4a626 (12%) , 0 1px 2px #cacac9;
  padding: 40px 27px 32px 27px;
}
.about-logo {
  font-size: 2.2rem;
  font-weight: 900;
  color: #cb4a62;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  margin-top: 2px;
}
.about-p {
  color: #4a3d3f;
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.about-contact {
  margin: 22px 0 24px 0;
  color: #cb4a62;
  font-size: 1.09rem;
}
.about-back {
  display: inline-block;
  background: #cb4a62;
  color: #fff;
  padding: 10px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.08rem;
  transition: background 0.2s;
}
.about-back:hover {
  background: #a03755;
  color: #fff;
}
@media (max-width: 600px) {
  .about-wrap {
    margin: 20px 5vw;
    padding: 24px 7vw;
  }
  .about-logo { font-size: 1.3rem; }
}
@media (max-width: 700px) {
  .product-card { width: 48vw; min-width: 144px; }
  main { margin: 24px auto 14px auto; }
}
@media (max-width: 900px) {
  .search-area {
    position: static;
    display: flex;
    justify-content: center;
    margin: 8px 0 0 0;
  }
  .searchbar {
    width: 80vw;
    min-width: 120px;
    font-size: 0.98rem;
  }
  .main-nav ul {
    padding-left: 1vw;
    justify-content: flex-start;
  }
  .logo { font-size: 2.0rem; }
}
