.ecocan-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 14px 0;
    flex-wrap: wrap;
}

.ecocan-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.ecocan-share__btn--wa {
    border-color: rgba(0, 0, 0, .12);
}

.ecocan-share__btn--copy {
    border-color: rgba(0, 0, 0, .12);
}

.ecocan-share__copied {
    font-weight: 600;
}

.ecocan-reco {
    margin-top: 36px;
}

.ecocan-reco__title {
    margin-bottom: 14px;
}

.ecocan-reco__grid ul.products {
    /* Woo outputs UL.products. We keep Woo styles but ensure spacing */
    margin-top: 10px;
}

/* ===== Ecocan carousel (theme-friendly) ===== */
.ecocan-carousel {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.ecocan-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ecocan-carousel__title {
  margin: 0;
  font-size: 26px;
  color: #202020;
}

.ecocan-carousel__controls {
  display: flex;
  gap: 8px;
}

.ecocan-carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ecocan-carousel__btn:hover {
  border-color: rgba(0,0,0,.22);
}

.ecocan-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px;

  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.ecocan-carousel__track::-webkit-scrollbar {
  height: 8px;
}
.ecocan-carousel__track::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.18);
  border-radius: 999px;
}
.ecocan-carousel__track::-webkit-scrollbar-track {
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .ecocan-carousel__track { grid-auto-columns: calc((100% - 24px) / 3); }
}
@media (max-width: 800px) {
  .ecocan-carousel__track { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 520px) {
  .ecocan-carousel__track { grid-auto-columns: 85%; }
}

/* ===== Card styling to match theme (clean, not Woo default blue) ===== */
.ecocan-card {
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ecocan-card__img {
  display: block;
  padding: 14px;
  background: #fff;
}

.ecocan-card__img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.ecocan-card__body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
}

.ecocan-card__title {
  color: #202020;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.15;
  font-size: 16px;
  min-height: 38px;
}

.ecocan-card__title:hover {
  color: #70b701;
}

.ecocan-card__price {
  color: #202020;
  font-weight: 600;
}

.ecocan-card__price del {
  opacity: .55;
  margin-right: 6px;
}

.ecocan-card__price ins {
  text-decoration: none;
  color: #202020;
}

.ecocan-card__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.12);
  background: #70b701;
  color: #fff;
}

.ecocan-card__cta:hover {
  filter: brightness(0.95);
}

/* Dots */
.ecocan-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.ecocan-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.20);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.ecocan-carousel__dot.is-active {
  background: #70b701;
}


/* Header search */
.ecocan-header-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ecocan-header-search__toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

.ecocan-header-search__form {
  position: absolute;
  right: 0;
  top: 48px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 10px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  z-index: 9999;
}

.ecocan-header-search__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
}
.ecocan-header-search__input:focus {
  border-color: #70b701;
}
