.section-page-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: 16px;
  position: sticky;
  top: 80px;
  z-index: 1;
}
.section-page-header .item-page-title {
  transition: 0.15s ease-in-out;
}
.section-page-header .item-page:last-child {
  border-radius: 0 16px 16px 0;
}
.section-page-header .item-page:last-child .product-item-layout {
  border-radius: 0 16px 16px 0;
}
.section-page-header .item-page:hover {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16);
}
.section-page-header .item-page-added {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.section-page-header .item-page-added .add-cart {
  font-weight: 500;
  color: #2D52A0;
  border: 1px solid #2D52A0;
  border-radius: 12px;
  padding: 8px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s ease-in-out;
}
.section-page-header .item-page-added .add-cart:hover {
  background-color: #2D52A0;
  color: #fff;
}
.section-page-header .item-page-added .buy-now {
  font-weight: 500;
  color: #fff;
  background-color: #2D52A0;
  border-radius: 12px;
  padding: 8px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s ease-in-out;
}
.section-page-header .item-page-added .buy-now:hover {
  background-color: #203A72;
  color: #fff;
}
.section-page-header .item-page-added .compare-detail-remove {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #BFBFBF;
  z-index: 1;
  transition: 0.15s ease-in-out;
}
.section-page-header .item-page-added .compare-detail-remove:hover {
  color: #2D52A0;
}
.section-page-header .product-item-layout {
  border-radius: 0;
  height: 100%;
  text-align: center;
}
.section-page-header .product-item-layout .product-attribute {
  justify-content: center;
}
.section-page-header .product-item-layout .product-image {
  padding: 24px;
}
.section-page-header .product-item-layout .product-image img {
  width: 100%;
  height: 261.25px;
}
.section-page-header .product-item-layout .product-image .installment {
  left: 24px;
}
.section-page-header .product-item-layout .product-info {
  padding: 0 24px 24px;
}
.section-page-header .product-item-layout .product-compare {
  display: none;
}
.section-page-header .product-item-layout:hover {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0);
}

.section-page-header.active {
  border-bottom: 1px solid #E5E7EB;
  background: #E5E7EB;
}
.section-page-header.active .item-page {
  background: #fff;
  border-radius: 0 !important;
}
.section-page-header.active .item-page.p-4 {
  padding: 12px !important;
}
.section-page-header.active .item-page-title {
  font-size: 16px;
  text-align: center;
  margin-bottom: 0 !important;
}
.section-page-header.active .item-page-list {
  display: none !important;
}
.section-page-header.active .product-item-slot {
  display: none;
}
.section-page-header.active .product-item-layout {
  display: grid;
  grid-gap: 12px;
  grid-template-columns: 64px 1fr;
  padding: 12px;
  text-align: left;
}
.section-page-header.active .product-item-layout .product-image {
  padding: 0;
}
.section-page-header.active .product-item-layout .product-image img {
  height: 64px;
  width: 64px;
}
.section-page-header.active .product-item-layout .product-image .installment {
  display: none;
}
.section-page-header.active .product-item-layout .product-name {
  margin-bottom: 0;
}
.section-page-header.active .product-item-layout .product-info {
  padding: 0;
}
.section-page-header.active .product-item-layout .product-attribute {
  display: none;
}

.section-group-name {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0 12px;
  border-radius: 16px;
  background: #fff;
  position: sticky;
  top: 172px;
}
.section-group-name a {
  border-bottom: 2px solid #fff;
  padding: 8px 12px;
  font-weight: 600;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  transition: 0.15s ease-in-out;
}
.section-group-name a::before {
  position: absolute;
  content: "";
  background: #2D52A0;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 8px 8px 0 0;
  transition: 0.15s ease-in-out;
}
.section-group-name a:hover, .section-group-name a.active {
  color: #2D52A0;
}
.section-group-name a:hover::before, .section-group-name a.active::before {
  width: 100%;
}

.section-group {
  border-radius: 16px;
  background: #fff;
}
.section-group .group-name {
  color: #2D52A0;
  padding: 12px 24px;
  border-bottom: 1px solid #fff;
}
.section-group .group-name svg {
  transition: 0.15s ease-in-out;
}
.section-group .group-name[aria-expanded=true] {
  border-color: #2D52A0;
}
.section-group .group-name[aria-expanded=true] svg {
  transform: scale(1, -1);
}
.section-group .group-content {
  padding: 0 24px;
}
.section-group .group-items {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #E5E7EB;
}
.section-group .group-items:last-child {
  border-bottom: none;
}
.section-group .group-item {
  padding: 16px 24px;
}
.section-group .group-item:first-child {
  padding-left: 0;
}
.section-group .group-item * {
  max-width: 100% !important;
}
.section-group .group-item p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .section-group .group-content {
    padding: 0;
  }
  .section-group .group-item {
    padding: 10px;
  }
  .section-page-header {
    grid-template-columns: 1fr 1fr 1fr;
    top: 68.88px;
  }
  .section-page-header .item-page:nth-child(1) {
    display: none;
  }
  .section-page-header .item-page-add a {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
  }
  .section-page-header .item-page-add a div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
  }
  .section-page-header .product-item-slot div:nth-child(1) {
    flex-wrap: wrap;
    padding: 10px !important;
  }
  .section-page-header .product-item-layout .product-image {
    padding: 10px;
  }
  .section-page-header .product-item-layout .product-image img {
    width: 100%;
    height: calc((100vw - 20px - 2px - 60px) / 3);
  }
  .section-page-header .product-item-layout .product-info {
    padding: 10px;
  }
  .section-page-header.active .product-item-layout {
    gap: 8px;
    padding: 10px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .section-group .group-items {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .section-group .group-items .group-item:nth-child(1) {
    grid-column: span 3;
    padding: 10px 10px 0 10px;
  }
}
