.catalog {
  background-color: #fff3e0;
  padding-left: 20px;
  padding-right: 20px;
}

.shop-wrap {
  overflow: hidden;
  position: relative;
}

.shop-sub {
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: opacity 0s linear .6s;
  width: 100%;
  z-index: 1;
}

.shop-sub-item {
  background-color: #fffaf2;
  float: right;
  margin-bottom: 4px;
  margin-left: 4px;
  width: calc(33.33333% - 2.66667px);
}

.shop-sub-item:nth-child(odd) {
  transform: translateX(100%);
}

.shop-sub-item:nth-child(2n) {
  margin-left: 0;
  transform: translateX(-100%);
}

.shop-item-name {
  color: #fff;
  left: 0;
  margin: 0;
  padding: 16px;
  position: absolute;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, .5);
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 2;
}

.shop-wrap .ratio-box .what-inner-2 {
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.product_div {
  height: 100%;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.product_div img {
  height: 100%;
  width: 100%;
  transition: all .3s ease-in-out;
}

.product_div img {
  bottom: 0;
  left: 0;
  object-fit: contain;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(0);
}

.shop-sub-item:hover .product_div img:first-child {
  transform: scale(1.1);
  z-index: 1 !important;
}

.catalog-list {
  margin: 0 auto;
  max-width: 1920px;
  overflow: hidden;
}

.catalog-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -2px;
}

.catalog-wrap .col-3 {
  margin-bottom: 95px;
}

.catalog-item-img {
  background-color: transparent !important;
  margin-bottom: 30px;
  padding-top: 106%;
}

.catalog-item-img > img {
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  transition: .5s linear;
  width: 70% !important;
  object-fit: unset;
  z-index: 10;
}

@media screen and (min-width: 1025px) {
  .catalog-item-img:hover > img {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.catalog-item-title {
  color: #2b1001;
  display: block;
  padding: 0 30px;
  text-align: center;
  transition: .2s linear;
}

@media screen and (min-width: 1025px) {
  .catalog-item-title:hover {
    color: #58331e;
    text-decoration: underline;
  }
}

.catalog-item-color {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}

.catalog-item-color .color-item {
  background-position: 50%;
  background-size: cover;
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 40px;
  margin: 5px;
  width: 40px;
}

.catalog-colorchart .catalog-item-img {
  background-color: transparent;
  margin-bottom: 10px;
  padding-top: 100%;
}

.catalog-colorchart .catalog-item-img > img {
  width: 100% !important;
  transform: translate(-50%, -50%);
}

.catalog-list .catalog-item a.catalog-item-img:after,
.catalog-related .catalog-item a.catalog-item-img:after {
  background: url(/wp-content/uploads/2025/08/background-new.webp);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 90% 100%;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
}

.catalog-list .catalog-item a.catalog-item-img img,
.catalog-related .catalog-item a.catalog-item-img img {
  z-index: 10;
}

.catalog-title {
  text-align: center;
}

.catalog-des {
  text-align: center;
  font-size: 24px;
  padding: 10px 10px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-product .desc {
  -webkit-transform: none;
  transform: none;
  text-align: center;
  color: #58331E;
  width: 100%;
  font-size: 22px;
}

.related-product .shop-sub {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  opacity: 1;
  pointer-events: all;
  position: relative;
  left: unset;
  top: unset;
  width: 100%;
}

.related-product .shop-sub-1 .shop-sub-item:nth-child(2n),
.related-product .shop-sub-2 .shop-sub-item:nth-child(2n),
.related-product .shop-sub-item:nth-child(odd) {
  transform: none;
}

.related-product .shop-sub-1 .shop-sub-item:nth-child(2n),
.related-product .shop-sub-2 .shop-sub-item:nth-child(2n) {
  float: none;
  margin-left: 0;
  margin-right: 0;
}

.related-product .shop-sub-item:nth-child(2n) {
  margin-left: 0;
  transform: none;
}

.related-product .shop-sub-item {
  background: linear-gradient(180deg, transparent 57%, rgba(0, 0, 0, .2)), #fff;
  pointer-events: all !important;
  width: 100% !important;
}

.related-product .shop-sub-1 .shop-sub-item .ratio-box,
.related-product .shop-sub-2 .shop-sub-item .ratio-box {
  padding-top: 120%;
}

.related-product .shop-item-name {
  color: #58331e;
  left: unset;
  position: absolute;
  text-align: center;
  top: 74%;
  transform: none;
}

@media screen and (max-width: 1440px) {
  .catalog-item-color {
    margin-bottom: 10px;
    padding: 0 10px;
  }
  .catalog-item-color .color-item {
    height: 30px;
    margin: 3px;
    width: 30px;
  }
}

@media screen and (max-width: 1024px) {
  .catalog-wrap .col-3 {
    margin-bottom: 75px;
    width: 33.3333333333%;
  }
  .catalog-item-img {
    margin-bottom: 20px;
  }
  .catalog-item-color {
    margin-bottom: 10px;
    padding: 0 20px;
  }
  .catalog-item-color .color-item {
    height: 30px;
    margin: 5px;
    width: 30px;
  }
  .related-product .shop-sub {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .catalog-list {
    padding: 0 4px;
  }
  .catalog-wrap {
    margin: 0;
  }
  .catalog-wrap .col-3 {
    margin-bottom: 50px;
    padding: 0 4px;
    width: 50%;
  }
  .catalog-item-color {
    display: none;
  }
  .catalog-des {
    font-size: 16px;
    padding: 0 10px 16px;
  }
  .related-product .shop-sub {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-product .shop-item-name {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .catalog-wrap .col-3 {
    margin-bottom: 25px;
  }
  .catalog-item-title {
    font-size: 14px;
    padding: 0;
  }
  .catalog-item-img {
    margin-bottom: 13px;
    padding-top: 120%;
  }
  .catalog-item-img > img {
    width: 80% !important;
  }
  .product_3429 .catalog-item-img > img {
    width: 100% !important;
  }
  .related-product .shop-sub {
    grid-template-columns: repeat(1, 1fr);
  }
  .related-product .shop-item-name {
    top: 76%;
  }
}