/* =========================================================
   LEGACY PLUGIN + WOO OVERRIDES
   (Migrated from legacy css: cart-pricing-legacy.css, visual-legacy.css,
    reviews-cusrev.css, coins.css, stock-notify.css)
========================================================= */

/* =========================================================
   III. KOSÁR / PÉNZÜGY / ÁRAK – LEGACY STÍLUSOK
========================================================= */

/* === KOSÁR OLDAL – Szállítási cím elrejtése (Legacy) === */
.woocommerce-shipping-destination {
  display: none !important;
}

/* === KOSÁR LINK SZÖVEG – "Kosár megtekintése" (Legacy) === */
.woocommerce a.added_to_cart {
  margin-left: 10px !important;
}

/* === EREDETI ÁR ÁTHÚZÁSA – Zöld vonallal (Legacy) === */
.price del {
  text-decoration: line-through #29ff26 2px;
}

/* === NETTÓ ÁR + FELIRAT (Legacy) === */
.theniel-netto-wrapper .netto-value .amount {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.netto-label {
  font-size: 10px;
}

/* =========================================================
   IV. VISUAL – DIVI OVERLAY & AKCIÓ MATRICA – LEGACY
========================================================= */

/* === DIVI OVERLAY KÉP – Legacy overlay ikon cseréje === */
.et_overlay:before {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-image: url('https://rollerpiac.hu/wp-content/uploads/cropped-favico.png');
  background-size: cover;
  background-position: center;
}

/* === AKCIÓS MATRICA SZÍNE – Jelenleg elrejtve (Legacy) === */
.woocommerce-page span.onsale,
.woocommerce span.onsale {
  background: #29FF26 !important;
  display: none;
}

/* =========================================================
   V. VÁSÁRLÓI VÉLEMÉNYEK (CusRev) – LEGACY, AKTÍV A V2 ALATT IS
========================================================= */

/* Vásárlói vélemények – szerzők és terméknév színek */
.cr-all-reviews-shortcode ol.commentlist li .comment-text .meta .woocommerce-review__author {
  color: #fff;
}

.cr-all-reviews-shortcode ol.commentlist li .comment-text .cr-rating-product-name .cr-product-name-picture .cr-comment-productname-a {
  color: #29ff26;
}

/* "További vélemények" gombok */
.cr-reviews-ajax-reviews .cr-show-more-reviews-prd,
.cr-all-reviews-shortcode .cr-show-more-button,
.cr-reviews-grid .cr-show-more-button,
.cr-qna-block .cr-show-more-que {
  display: block;
  border-radius: 25px;
  margin: 10px auto;
  height: 40px;
  padding: 0 20px;
  border: solid 0px #29ff26;
  font-size: 14px;
  background-color: #29ff26;
  color: #000;
  transition: all 0.3s ease-in-out;
}

.cr-reviews-ajax-reviews .cr-show-more-reviews-prd:hover,
.cr-all-reviews-shortcode .cr-show-more-button:hover,
.cr-reviews-grid .cr-show-more-button:hover,
.cr-qna-block .cr-show-more-que:hover {
  background-color: transparent;
  border: solid 2px #29ff26;
  color: #29ff26;
}

/* Vélemények összesítő doboz – háttér átlátszó */
.cr-all-reviews-shortcode .cr-summaryBox-wrap,
.cr-reviews-grid .cr-summaryBox-wrap {
  background-color: transparent;
}

/* 4-5 csillag és átlag értékelés színei */
.cr-histogramTable tr.ivole-histogramRow .ivole-histogram-a,
.cr-histogramTable tr.ivole-histogramRow .cr-histogram-a,
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-average-rating,
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-total-rating-count,
.cr-all-reviews-shortcode .crstar-rating {
  color: #29ff26;
}

/* Összértékelés darabszám – fehér szín */
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-total-rating-count {
  color: #fff;
}

/* Vélemények – kereső és rendezés sáv elrejtése */
#reviews.cr-reviews-ajax-reviews .cr-ajax-search,
.cr-all-reviews-shortcode .cr-ajax-search,
.cr-all-reviews-shortcode .cr-count-row {
  display: none;
}

/* =========================================================
   VII. COIN TRANZAKCIÓK TÁBLA – LEGACY
========================================================= */

/* Coin tranzakciók tábla frontend stílus */
.woocommerce-MyAccount-content .coin-transactions-table {
  width: 100% !important;
  border-collapse: collapse;
  margin-top: 20px;
}

.woocommerce-MyAccount-content .coin-transactions-table th,
.woocommerce-MyAccount-content .coin-transactions-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.woocommerce-MyAccount-content .coin-transactions-table th {
  background: #f8f8f8;
  font-weight: bold;
}

.coin-transactions-table td.coin-positive {
  color: #29ff26 !important; /* Rollerpiac zöld */
  font-weight: bold;
}

.coin-transactions-table td.coin-negative {
  color: #e74c3c !important; /* piros */
  font-weight: bold;
}

/* =========================================================
   VI. KÉSZLET ÉRTESÍTÉS – LEGACY
========================================================= */

/* === KÉSZLET ÉRTESÍTÉS – gomb színe (Legacy) === */
.cwgstock_button {
  color: #000 !important;
}

