body {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  background-color: #f8f8f8;
  overflow-x: hidden;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(14, 17, 22, 1), rgba(52, 54, 56, 0.8));
  display: flex;
  padding: 0;
  margin: 0;
  height: 76px;
  align-items: center;
  justify-content: center;
}

.headerContainer {
  display: flex;
  margin: auto;
  padding: auto;
  border: 1px solid black;
  width: 100%;
  height: 76px;
  justify-content: space-between;
  align-items: center;
}

.headerSearchUl {
  display: flex;
  flex-direction: row;
  border: 1px solid black;
  padding: 0;
  gap: 0;
}

.headerLogo {
  height: 50px;
}

.headerSearchForm {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 540px;
}

.headerSearchInput {
    height: 44px;
    width: 480px;
    padding: 0 10px;
    border: none;
    outline: none;
}

.headerSearchButton {
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(to right, rgba(45, 47, 49, 0.5), rgba(45, 47, 49, 0.3));
    color: hsl(0, 0%, 80%);
    cursor: pointer;
}

.headerSearchButton:hover {
  background: linear-gradient(to right, rgba(45, 47, 49, 0.9), rgba(45, 47, 49, 0.7));
  color: hsl(0, 0%, 100%);
}

.headerSearchButton i {
  font-size: 20px;
}

.catalog {
  display: flex;
  padding: 0 5%;
  justify-content: center;
  gap: 5px;
  background-color: rgb(226, 226, 226);
}

.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 14px;
  gap: 10px;
  width: 110px;
  padding: 10px 0;
  cursor: pointer;
  box-sizing: border-box;
}

.column:hover {
  border-bottom: 2px solid rgb(233, 110, 27);
}

.catalogHeaderIconsLabel {
  font-weight: bold;
}

.catalogHeaderIconsImg {
  width: 34px;
  height: 34px;
}

.whatsappButton {
  height: 44px;
  width: 44px;
  background: transparent;
  border: none;
}

.footerIcons i {
  font-size: 30px;
  color: hsl(0, 10%, 60%);
}

.footerIcons i:hover {
  color: hsl(0, 0%, 100%);
  cursor: pointer;
}

.whatsappButton i {
  font-size: 30px;
  color: hsl(145, 63%, 49%);
}

.whatsappButton i:hover {
  color: hsl(145, 63%, 69%);
  cursor: pointer;
}

.cartButton {
  height: 44px;
  width: 44px;
  background: transparent;
  border: none;
}

.cartButton i {
  font-size: 25px;
  color: hsl(0, 10%, 80%);
}

.cartButton i:hover {
  color: hsl(0, 10%, 100%);
  cursor: pointer;
}

.wpAndCartIconsUl {
  margin-right: 4%;
  display: flex;
  gap: 15px;
}

.subCatalog {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  width: 1220px;
  margin: 0 auto;
  max-height: 552px;
  padding: 20px 10px;
  flex-wrap: wrap;
  display: none;
  background-color: white;
  border: 1px solid rgba(128, 128, 128, 0.5);
  z-index: 2;
}

.catalogItem {
  display: flex;
  flex-direction: column;
  height: 164px;
  width: 244px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.catalogItem:hover {
  border: 1px solid black;
  cursor: pointer;
}

.catalogItemImg {
  width: 110px;
  height: 110px;
}

.catalogItemLabel {
  margin-top: 15px;
  font-weight: bold;
}

.main {
  height: 2000px;
  width: 100vw;
  background-color: rgb(239, 239, 239);
  position: relative;
  flex: 1;
}

.main.darkened::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.itemsContainer {
  margin-top: 240px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.itemsContainer.transparent {
  opacity: 0.5;
}

.item {
  margin: 30px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 245px;
  height: 380px;
  border: 1px solid rgba(128, 128, 128, 0.5);
  background-color: white;
}

.item:hover{
  border: 1px solid black;
}

.itemImg{
  width: 221px;
  height: 166px;
}

.itemText{
  font-weight: bold;
}

.itemPrice{
  margin-top: 0;
  font-weight: bold;
  font-size: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.itemButton{
  padding: 8px 3px;
  width: 120px;
  height: 36px;
  background-color: black;
  color: white;
  font-size: 12px;
  border: none;
}

.itemButton:hover{
  cursor: pointer;
  background-color: hsl(0, 0%, 10%);
}

.noResults {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.noResults p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Tüm container'lar için */
.container, 
.adminContainer {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

.searchAndBrandsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brandsList {
    background-color: transparent;
    width: 520px;
    padding: 2px 0;
    margin-right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.brandsList span {
    color: white;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.brandDivider {
    color: #666 !important;
}

.godox {
    color: #ff4b1f !important;
}

@media screen and (max-width: 768px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
  }

  .main {
    width: 100%;
    overflow-x: hidden;
  }

  .header {
    width: 100%;
  }

  .headerContainer {
    width: 100%;
    padding: 10px;
  }

  .catalog {
    width: 100%;
  }

  .itemsContainer {
    margin-top: 140px;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 10px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .item {
    width: 100%;
    height: auto;
    margin: 10px auto;
    padding: 10px;
    max-width: 350px;
  }

  .container, 
  .adminContainer {
    width: 100%;
    padding: 0 10px;
    margin: 0;
  }

  .subCatalog {
    position: absolute;
    width: 100vw;
    left: 0;
    transform: none;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .catalogItem {
    width: calc(50% - 5px);
    height: auto;
    min-height: 0;
    padding: 10px;
    margin: 0;
  }

  .catalogItemImg {
    width: 70px;
    height: 70px;
  }

  .catalogItemLabel {
    font-size: 12px;
    margin-top: 5px;
  }

  .column {
    height: 50px;
  }

  .headerLogo {
    display: none;
  }

  .headerSearchForm {
    max-width: 370px;
  }

  .headerSearchInput {
    width: 320px;
  }

  .wpAndCartIconsUl {
    display: none;
  }

  .headerSearchForm {
    margin: 0 auto;
  }

  .catalogHeaderIconsLabel {
    display: none;
  }

  .sortingContainer {
    width: 200px;
    padding: 10px;
    margin: 0;
    margin-left: 55%;
    position: static;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  select {
    width: 100%;
    max-width: 200px;
    margin: 0;
    padding: 5px;
    font-size: 14px;
  }

  .sortingContainer label {
    margin-right: 10px;
    font-size: 14px;
  }

  footer {
    margin-top: 20px;
    position: relative;
    bottom: 0;
  }

  .pagination {
    margin-bottom: 20px;
  }

  .brandsList {
    width: 100%;
    padding: 5px;
    margin: 0;
    justify-content: center;
    gap: 8px;
  }

  .brandsList span {
    font-size: 14px;
  }

  .catalog {
    padding: 5px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .column {
    min-width: 70px;
    padding: 5px;
  }

  .catalogHeaderIconsImg {
    width: 24px;
    height: 24px;
  }

  .wpAndCartIconsUl {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 25px;
    margin: 0;
    display: flex;
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .itemsContainer {
    margin-top: 120px;
    padding: 10px;
  }

  .item {
    width: 100%;
    margin: 10px 0;
  }

  .brandsList span {
    font-size: 12px;
  }

  .catalogHeaderIconsLabel {
    display: none;
  }

  .column {
    min-width: 60px;
  }

  .catalogItem {
    width: calc(50% - 5px);
  }

  .catalogItemImg {
    width: 60px;
    height: 60px;
  }

  .catalogItemLabel {
    font-size: 11px;
  }

  .sortingContainer {
    padding: 5px;
  }

  select {
    max-width: 150px;
    font-size: 13px;
  }
}

footer {
    width: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(14, 17, 22, 1), rgba(52, 54, 56, 0.8));
    padding: 20px 0;
    margin-top: auto;
    position: relative;
    bottom: 0;
}