/* ======================================
   PRODUCT GALLERY – FINAL / STABLE / SAFE
   ====================================== */

/* wrapper */
.pgcms {
  margin: 40px 0;
  width: 100%;
  clear: both;
}

/* title (product page) */
.pgcms-title {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #e8355c;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
  text-transform: uppercase;
}

/* GRID – DESKTOP: ΠΑΝΤΑ 3 */
.pgcms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* images */
.pgcms-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

/* TABLET */
@media (max-width: 991px) {
  .pgcms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    padding: 0 16px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .pgcms-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 16px;
  }

  .pgcms-title {
    font-size: 22px;
  }
}


/* =========================
   Home feed (Leo theme home)
   ========================= */

.pgcms-home { margin: 40px 0; }

/* spacing μόνο */
.pgcms-home .ApBlockTitle { margin: 0 0 16px; }

/* HOME TITLE (elementor-like αλλά responsive) */
.pgcms-home-title{
  font-family: "Manrope", sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  color: #000 !important;
  text-transform: uppercase !important;

  /* desktop default */
  font-size: 3em !important;
}

/* laptop / μικρό desktop */
@media (max-width: 1199px){
  .pgcms-home-title{ font-size: 2.2em !important; }
}

/* mobile */
@media (max-width: 768px){
  .pgcms-home-title{ font-size: 1.6em !important; }
}

/* πολύ μικρά κινητά */
@media (max-width: 420px){
  .pgcms-home-title{ font-size: 1.35em !important; }
}

/* GRID */
.pgcms-home__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.pgcms-home__tile {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.pgcms-home__tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.pgcms-home__tile:hover img { transform: scale(1.06); }

@media (max-width: 1200px) {
  .pgcms-home__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .pgcms-home__grid { grid-template-columns: repeat(2, 1fr); }
  .pgcms-home__tile img { height: 170px; }
}
