
/* ==== components/product-card.css ==== */
/* =========================================================
   V2 PRODUCT CARD – ROLLERPIAC GLASS UI (FINAL)
========================================================= */

/* === TELJES KÁRTYA (Woo product item) === */
.woocommerce ul.products li.product.rp-product {
  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 18px 18px 22px 18px;
  margin-bottom: 28px !important;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.10);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(41,255,38,0.12) inset;

  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover lebegés */
.woocommerce ul.products li.product.rp-product:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(41,255,38,0.22) inset,
    0 0 25px rgba(41,255,38,0.25);
}

/* === TERMÉKKÉP === */
.woocommerce ul.products li.product.rp-product img {
  border-radius: 20px;
  margin-bottom: 14px;
  transition: transform .25s ease;
}

.woocommerce ul.products li.product.rp-product:hover img {
  transform: scale(1.03);
}

/* Cinematic fénycsík */
.woocommerce ul.products li.product.rp-product::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 140%;
  height: 26%;
  background: linear-gradient(
    290deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.05) 22%,
    rgba(255,255,255,0) 60%
  );
  filter: blur(8px);
  mix-blend-mode: screen;
  border-radius: 30px;
  pointer-events: none;
  z-index: 1;
  transform: translateY(calc(var(--rp-glass-offset, 0px) * -1));
  transition: transform 0.08s linear;
}

/* =========================================================
   KÁRTYA TARTALOM
========================================================= */

/* CÍM */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 6px;
}

/* KATEGÓRIA */
.product-category {
  font-size: 12px;
  opacity: 0.6;
  text-align: center;
}

/* =========================================================
   ÁR MEGJELENÍTÉS (BALRA)
========================================================= */

.woocommerce ul.products li.product .price {
  color: #ffffff;
  font-weight: 600;
  margin: 10px 0;
  text-align: left;
}

.price del {
  opacity: 0.5;
}

.price ins {
  color: #29ff26;
  text-decoration: none;
}

/* =========================================================
   🔥 ADD TO CART GOMB KÖZÉPRE (A LÉNYEG)
========================================================= */

/* Woo alap float kikapcsolása */
.woocommerce ul.products li.product .button {
  float: none !important;
}

/* GOMB */
.woocommerce ul.products li.product .add_to_cart_button {
  align-self: center;   /* EZ teszi középre */
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 11px 26px;
  font-size: 14px;
  font-weight: 800;

  background: linear-gradient(90deg,#29ff26,#00c853);
  color: #000 !important;

  border: none;
  border-radius: 14px;

  box-shadow: 0 0 14px rgba(41,255,38,0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product .add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 22px rgba(41,255,38,0.8),
    0 0 35px rgba(41,255,38,0.35);
}

/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 768px) {

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
  }

  .woocommerce ul.products li.product .add_to_cart_button {
    width: 100% !important;
    text-align: center;
    padding: 14px 20px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  .woocommerce ul.products li.product .price {
    text-align: left;
  }
}



/* ==== components/trust-bar.css ==== */
.rp-trust-bar {
  background: rgba(0,0,0,0.34) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 22px !important;

  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  box-shadow: 0 25px 90px rgba(0,0,0,0.62) !important;
  position: relative;
  z-index: 5;
}

.rp-video {
  border-radius: 26px !important;
  overflow: hidden !important;

  border: 1px solid rgba(41,255,38,0.22) !important;

  box-shadow:
    0 35px 120px rgba(0,0,0,0.78),
    0 0 75px rgba(41,255,38,0.14) !important;
}

/* ==== components/table.css ==== */
/* =========================================================
   V2 SHIFTX TABLE – ROLLERPIAC STYLE
   Ikon felül, szöveg alul, középre rendezve
========================================================= */

.table-responsive {
  margin-top: 14px !important;
  border-collapse: collapse !important;
  width: 100% !important;
  border: none !important;
}

.table-responsive td {
  width: 33.33% !important;
  padding: 10px 6px !important;
  border: none !important;
  text-align: center !important;
}

/* IKON + SZÖVEG BLOKK */
.icon-container {
  display: flex !important;
  flex-direction: column !important;   /* ⬅️ EZ A LÉNYEG */
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
}

/* IKON */
.icon-container img {
  width: 52px !important;
  height: auto !important;
  filter: drop-shadow(0 0 6px rgba(41,255,38,0.35));
  transition: transform .2s ease;
}

/* Hover animáció */
.icon-container:hover img {
  transform: translateY(-2px) scale(1.05);
}

/* SZÖVEG */
.text-container {
  font-size: 12px !important;
  line-height: 1.3 !important;
  color: #CFCFCF !important;
  margin-left: 0 !important;
  text-align: center !important;
}

/* ================= MOBILE ================= */

@media screen and (max-width: 768px) {

  .table-responsive td {
    width: 20% !important;
    padding: 8px 4px !important;
  }

  .icon-container img {
    width: 28px !important;
  }

  .text-container {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }
}

/* ==== components/toggle.css ==== */
/* =========================================================
   ROLLERPIAC V2 – TOGGLE & ACCORDION (Üveghatás + Zöld Ikon)
   Egységes styling a Divi Toggle és Accordion modulokhoz
========================================================= */

/* =============================================
   ALAP: Accordion & Toggle konténerek V2 stílus
============================================= */

.et_pb_toggle,
.et_pb_accordion .et_pb_toggle {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 16px !important;
    padding: 18px 22px !important;
    margin-bottom: 14px !important;

    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    transition: all 0.25s ease !important;
}

/* Hover – ugyanaz a light üveghatás, mint a V2 gombon */
.et_pb_toggle:hover,
.et_pb_accordion .et_pb_toggle:hover {
    background: rgba(255,255,255,0.10) !important;
    border-color: rgba(255,255,255,0.30) !important;
}

/* Nyitott állapot – erősebb üvegfényt kap */
.et_pb_toggle.et_pb_toggle_open,
.et_pb_accordion .et_pb_toggle.et_pb_toggle_open {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.35) !important;
}


/* =============================================
   TOGGLE/ACCORDION TITLE — szövegstílus
============================================= */

.et_pb_toggle_title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    padding-right: 60px !important; /* hely az ikon mellett */
    position: relative !important;
}


/* =============================================
   IKON STYLING — közös toggle + accordion ikon
   ( + → – váltás, üveghatású ikon capsule )
============================================= */

/* Alap ikon eltávolítása a Diviből */
.et_pb_toggle_title:before {
    font-size: 0 !important;
}

/* ÚJ V2 ikon */
.et_pb_toggle_title:after {
    content: "+" !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #29ff26 !important; /* Rollerpiac zöld */

    width: 34px;
    height: 34px;
    line-height: 34px;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    border-radius: 12px !important;

    /* Üveg kapszula */
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.25s ease !important;
}

/* Hover — világosabb capsula, mint a V2 gomb */
.et_pb_toggle:hover .et_pb_toggle_title:after,
.et_pb_accordion .et_pb_toggle:hover .et_pb_toggle_title:after {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.30) !important;
}

/* NYITOTT ÁLLAPOT – + → – ikonváltás és enyhébb háttér */
.et_pb_toggle_open .et_pb_toggle_title:after,
.et_pb_accordion .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_title:after {
    content: "–" !important;
    font-size: 28px !important;

    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.30) !important;
}


/* =============================================
   CONTENT AREA — V2 spacing & typográfia
============================================= */

.et_pb_toggle_content,
.et_pb_accordion .et_pb_toggle_content {
    padding-top: 12px !important;
    font-size: 15px !important;
    line-height: 1.6em !important;
    color: #dcdcdc !important;
}

/* ==== components/carousel.css ==== */
/* =========================================================
   X. ROLLERPIAC – SEAMLESS APPLE-STYLE CAROUSEL + ÜVEGKÁRTYÁK
   Használathoz: add class-t a modulnak → woo-carousel
========================================================= */

/* Külső wrapper */
.woo-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Az UL legyen mindig egyetlen sorban */
.woo-carousel ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;     /* 🔥 SOHA NEM TÖRHET SORBA */
    gap: 20px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    will-change: transform !important;
}

/* ========== ÜVEGKÁRTYA DIZÁJN ========== */

.woo-carousel ul.products li.product {
    min-width: 25% !important;     /* 4 termék látszik egyszerre */
    flex: 0 0 25% !important;
    margin: 0 !important;

    position: relative !important;
    border-radius: 40px !important;
    overflow: hidden !important;

    background: radial-gradient(circle at top left,
                rgba(255,255,255,0.24),
                rgba(255,255,255,0.04)) !important;

    background-color: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;

    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(0, 0, 0, 0.7) !important;

    padding: 16px !important;
}

/* Felső üvegfény */
.woo-carousel ul.products li.product::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.05) 30%,
        rgba(255,255,255,0) 70%
    ) !important;
    opacity: 0.45 !important;
    pointer-events: none !important;
}

/* Tartalom a fény fölött */
.woo-carousel li.product > * {
    position: relative !important;
    z-index: 2 !important;
}

/* Kép lekerekítése */
.woo-carousel li.product img {
    border-radius: 26px !important;
    display: block !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

/* Tipográfia – Rollerpiac */
.woo-carousel li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.woo-carousel li.product .price {
    color: #29ff26 !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
    text-align: left !important;
}

