﻿@charset "UTF-8";

#baby-gift {
  width: 982px;
  margin: 60px auto 0;
}
#baby-gift .age-gift .tab {
  display: flex;
  justify-content: center;
  gap: 10px;
}
#baby-gift .age-gift .tab-item {
  width: 240px;
  background: #FEDCDC;
  border-radius: 10px 10px 0 0;
  text-align: center;
  padding: 12px 0 11px;
  transition: .3s ease;
  cursor: pointer;
}
#baby-gift .age-gift .tab-item.active {
  background: #EFA4A8;
  cursor: default;
}
#baby-gift .age-gift .tab-item p {
  color: #EFA4A8;
  font-size: 19px;
  font-weight: bold;
  margin: 0 0 3px;
  transition: .3s ease;
}
#baby-gift .age-gift .tab-item.active p {
  color: #FFF;
}
#baby-gift .age-gift .tab-item .label {
  color: #EFA4A8;
  font-size: 14px;
  line-height: 1;
  font-weight: bold;
  width: 145px;
  background: #FFF;
  border-radius: 30px;
  margin: 0 auto;
  padding: 7px 0 5px;
}
#baby-gift .age-gift .tab-contents {
  padding: 35px 41px;
  background: #FEF2F2;
  border-top: 2px solid #EFA4A8;
}
#baby-gift .age-gift .tab-contents .gift-products:not(:first-child) {
  display: none;
}
#baby-gift .age-gift .tab-contents .comment {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px;
}
#baby-gift .item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
}
#baby-gift li.list-item {
  width: 210px;
  text-align: left;
  border-radius: 0;
  transform: none;
  opacity: 1;
}
#baby-gift li.list-item > div {
  background: none;
}
#baby-gift .list-item div.list-item-image-container {
  padding: 0 0 15px;
}
#baby-gift .list-item div.list-item-image-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #FFF;
}
#baby-gift .list-item div.list-item-image-container > p img {
  width: auto;
  max-width: 100%;
}
#baby-gift li.list-item > div > h3 {
  padding: 0;
  font-size: 16px;
}
#baby-gift li.list-item > div > p {
  padding: 0;
  font-size: 16px;
  margin-bottom: 0;
}
#baby-gift div.list-item-image-container ul {
  display: none;
}
#baby-gift .all-purpose {
  text-align: center;
  margin: 70px 0 0;
}
#baby-gift .all-purpose h2 {
  display: inline-block;
  color: #EFA4A8;
  font-size: 32px;
  letter-spacing: 4px;
  border-bottom: 4px solid #EFA4A8;
  padding: 0 2px 14px;
  margin: 0 0 27px;
}
#baby-gift .all-purpose .head {
  margin: 0 0 25px;
}
#baby-gift .all-purpose h4 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.block-search-genre .block-search-genre__subgenre-list-title,
.block-search-genre .block-search-genre__subgenre-list-title span {
  color: #EFA4A8;
}
.block-search-genre .block-search-genre__subgenre-list-title:before {
  background: #EFA4A8;
}

@media screen and (max-width: 768px) {
  #section-title .block-search-genre #baby-gift p {
    font-family: inherit;
  }
  #baby-gift {
    width: 100%;
    margin: 40px 0 0;
  }
  #baby-gift .age-gift .tab {
    gap: 3px;
  }
  #baby-gift .age-gift .tab-item {
    width: calc((100% - 6px) / 3);
    padding: 6px 0 7px;
  }
  #baby-gift .age-gift .tab-item p {
    font-size: 15px;
    margin: 0;
  }
  #baby-gift .age-gift .tab-item .label {
    width: 90%;
    font-size: 11px;
  }
  #baby-gift .age-gift .tab-contents {
    padding: 22px 0 25px;
  }
  #baby-gift .age-gift .tab-contents .comment {
    font-size: 12px;
    margin: 0 0 18px;
  }
  #baby-gift .item-list {
    flex-wrap: nowrap;
    padding: 0 20px 5px;
    overflow-x: auto;
    text-align: left;
    gap: 10px;
  }
  #baby-gift .card-list-item {
    width: 136px;
    flex-shrink: 0;
    gap: 10px;
    background: none;
    padding: 0;
  }
  #baby-gift .card-list-item .item-image {
    line-height: 0;
    margin: 0 0 8px;
  }
  #baby-gift .card-list-item .item-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #FFF;
  }
  #baby-gift .card-list-item .item-image p img {
    width: auto;
    max-width: 100%;
  }
  #baby-gift .card-list-item .item-image ul {
    display: none;
  }
  #baby-gift .card-list-item h3 {
    font-size: 12px;
    padding: 0;
  }
  #section-title .block-search-genre #baby-gift .card-list-item > p span {
    color: inherit;
    font-family: inherit;
    font-size: 12px;
  }
  #section-title .block-search-genre #baby-gift .card-list-item > p span.price-down {
    color: #ff2d4b;
  }
  #baby-gift .all-purpose {
    margin: 50px 0 0;
  }
  #baby-gift .all-purpose h2 {
    display: block;
    font-size: 19px;
    letter-spacing: 2.5px;
    font-weight: bold;
    margin: 0 20px 15px;
    padding: 0 0 10px;
    border-width: 2px;
  }
  #baby-gift .all-purpose .head {
    margin: 0 0 20px;
  }
  #baby-gift .all-purpose h4 {
    font-size: 12px;
  }
}