.deals-trends-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0px;
  justify-content: space-between;
}
.deals-trends-section .row > div {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 11px;
  width: calc(50% - 8px);
}
@media (max-width: 768px) {
  .deals-trends-section .row {
    flex-direction: column;
    gap: 15px;
  }
  .deals-trends-section .row > div {
    width: 100% !important;
    margin: 0 !important;
  }
}

.deals-trends-block {
  background: #fff;
  border-radius: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.deals-trends-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}
@media (max-width: 576px) {
  .deals-trends-block-header {
    margin-bottom: 15px;
  }
}
.deals-trends-block-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.deals-trends-block-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}
.deals-trends-block-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
  letter-spacing: 0.3px;
}
.deals-trends-block-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
}
.deals-trends-block-arrow:hover {
  color: #000;
  transform: translateX(3px);
}
.deals-trends-block-arrow svg {
  width: 18px;
  height: 18px;
}

.deals-trends-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 992px) {
  .deals-trends-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .deals-trends-products {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }
  .deals-trends-products::-webkit-scrollbar {
    height: 4px;
  }
  .deals-trends-products::-webkit-scrollbar-track {
    background: transparent;
  }
  .deals-trends-products::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
}
@media (max-width: 576px) {
  .deals-trends-products {
    gap: 8px;
  }
}
@media (max-width: 400px) {
  .deals-trends-products {
    gap: 6px;
  }
}

.deals-trends-product-item {
  position: relative;
}
@media (max-width: 768px) {
  .deals-trends-product-item {
    flex: 0 0 calc(25% - 7.5px);
    min-width: calc(25% - 7.5px);
    max-width: calc(25% - 7.5px);
    scroll-snap-align: start;
  }
}
@media (max-width: 576px) {
  .deals-trends-product-item {
    flex: 0 0 calc(25% - 6px);
    min-width: calc(25% - 6px);
    max-width: calc(25% - 6px);
  }
}
@media (max-width: 400px) {
  .deals-trends-product-item {
    flex: 0 0 calc(25% - 4.5px);
    min-width: calc(25% - 4.5px);
    max-width: calc(25% - 4.5px);
    border: 1px solid #eee;
  }
}
.deals-trends-product-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.deals-trends-product-item-link:hover {
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .deals-trends-product-item-link:hover {
    transform: none;
  }
}

.deals-trends-product-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: #fafafa;
  border-radius: 8px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .deals-trends-product-image {
    margin-bottom: 6px;
  }
}
@media (max-width: 576px) {
  .deals-trends-product-image {
    border-radius: 6px;
    margin-bottom: 5px;
  }
}
.deals-trends-product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}
.deals-trends-product-image .deals-trends-product-image-main {
  opacity: 1;
  z-index: 1;
}
.deals-trends-product-image .deals-trends-product-image-hover {
  opacity: 0;
  z-index: 2;
}
.deals-trends-product-image:hover .deals-trends-product-image-main {
  opacity: 0;
}
.deals-trends-product-image:hover .deals-trends-product-image-hover {
  opacity: 1;
}
.deals-trends-product-image:hover img {
  transform: scale(1.05);
}

.deals-trends-product-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ff4444;
  color: #fff;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.deals-trends-product-info {
  text-align: center;
  padding: 0 4px;
}
@media (max-width: 576px) {
  .deals-trends-product-info {
    padding: 0 2px;
  }
}

.deals-trends-product-price {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px;
  line-height: 1.3;
}
@media (max-width: 576px) {
  .deals-trends-product-price {
    font-size: 13px;
    margin-bottom: 2px;
  }
}

.deals-trends-product-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  font-weight: 400;
  margin-top: 2px;
}
@media (max-width: 576px) {
  .deals-trends-product-desc {
    font-size: 10px;
    margin-top: 1px;
  }
}

.shein-matching-styles {
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.tp-product-details-social {
  margin-bottom: 22px;
  margin-top: 22px;
}
