/* ===============================
   DRIP WIDGET ROW - CARROSSEL
   =============================== */

.dw-row-widget,
.dw-row-widget * {
  box-sizing: border-box;
}

/* HEADER (TÍTULO + VIEW MORE) */
.dw-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

/* TÍTULO */
.dw-row-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  color: #222;
  text-transform: none;
}

.dw-row-title-link {
  text-decoration: none;
  color: inherit;
}

.dw-row-title-link:hover {
  text-decoration: none;
  color: inherit;
}

.dw-row-header-more {
  font-size: 15px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
  padding-right: 20px;
}

.dw-row-header-more:hover {
  color: #222;
}

/* CONTAINER - SCROLL HORIZONTAL */
.dw-row-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 20px;
  padding-left: 30px;
  background: #f6f6f6;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: 30px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.dw-row-container::-webkit-scrollbar {
  display: none;
}

/* ITEM */
.dw-row-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: transparent !important;
}

.dw-row-item:hover {
  opacity: 0.85;
}

/* THUMB */
.dw-row-thumb {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.dw-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* NOME */
.dw-row-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #333;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  max-height: 38px;
}

/* PREÇO */
.dw-row-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.dw-row-price {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.dw-row-price del {
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}

.dw-row-price ins {
  text-decoration: none;
}

.dw-row-sales {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
}

/* ===============================
   TAMANHOS - SMALL
   =============================== */
.dw-size-small .dw-row-item {
  width: 120px;
}

.dw-size-small .dw-row-thumb {
  width: 120px;
  height: 90px;
}

.dw-size-small .dw-row-name {
  font-size: 12px;
}

.dw-size-small .dw-row-price {
  font-size: 12px;
}

/* ===============================
   TAMANHOS - MEDIUM (default)
   =============================== */
.dw-size-medium .dw-row-item {
  width: 180px;
}

.dw-size-medium .dw-row-thumb {
  width: 180px;
  height: 135px;
}

/* ===============================
   TAMANHOS - LARGE
   =============================== */
.dw-size-large .dw-row-item {
  width: 240px;
}

.dw-size-large .dw-row-thumb {
  width: 240px;
  height: 180px;
}

.dw-size-large .dw-row-name {
  font-size: 15px;
}

.dw-size-large .dw-row-price {
  font-size: 15px;
}

/* VIEW MORE BUTTON */
.dw-row-view-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  min-height: 100px;
  text-decoration: none;
  color: #555;
  border: 1px dashed #ccc;
  border-radius: 10px;
  background: transparent;
  transition: all 0.2s ease;
  scroll-snap-align: start;
  gap: 6px;
  align-self: center;
}

.dw-row-view-more:hover {
  color: #222;
  border-color: #999;
  background: rgba(0, 0, 0, 0.02);
}

.dw-row-view-more-icon {
  font-size: 24px;
  line-height: 1;
}

.dw-row-view-more-text {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.dw-row-container .dw-row-view-more:last-child {
  margin-right: 20px;
}

/* ===============================
   RESPONSIVO
   =============================== */
@media (max-width: 768px) {
  .dw-row-header {
    margin-bottom: 16px;
    padding: 0 15px;
  }

  .dw-row-title {
    font-size: 32px;
  }

  .dw-row-header-more {
    font-size: 13px;
  }

  .dw-row-container {
    gap: 12px;
    padding: 10px 15px 15px 25px;
    scroll-padding-left: 25px;
  }

  /* Ajustes mobile para cada tamanho */
  .dw-size-small .dw-row-item {
    width: 100px;
  }

  .dw-size-small .dw-row-thumb {
    width: 100px;
    height: 75px;
  }

  .dw-size-medium .dw-row-item {
    width: 140px;
  }

  .dw-size-medium .dw-row-thumb {
    width: 140px;
    height: 105px;
  }

  .dw-size-large .dw-row-item {
    width: 180px;
  }

  .dw-size-large .dw-row-thumb {
    width: 180px;
    height: 135px;
  }

  .dw-row-name {
    font-size: 13px;
  }

  .dw-row-price {
    font-size: 13px;
  }

  .dw-row-sales {
    font-size: 10px;
  }

  .dw-row-view-more {
    width: 90px;
    min-height: 80px;
  }

  .dw-row-view-more-icon {
    font-size: 20px;
  }

  .dw-row-view-more-text {
    font-size: 12px;
  }
}
