/*
Theme Name: Antek-Child
Theme URI: https://parkofideas.com/antek/
Text Domain: antek-child
Description: Construction And Heavy Equipment Rentals Wordpress Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
Template: antek
Author: ideapark
Author URI: https://ideapark.com/antek-documentation/
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
/* Sticky bottom booking button (mobile) */
@media (max-width: 768px) {

  /* δώσε χώρο στο κάτω μέρος για να μη σκεπάζει το κουμπί */
  body {
    padding-bottom: 76px;
  }

  /* πιάνει και τα 2 σενάρια: js-book ή js-request-price */
  .c-vehicle-details__booking .c-vehicle-book__book.js-book,
  .c-vehicle-details__booking .c-vehicle-book__book.js-request-price {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    z-index: 99999;

    /* προαιρετικά για “μπάρα” */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
  }

  /* προαιρετικά: κρύψε τυχόν διπλό κουμπί αν εμφανίζεται αλλού */
  /* .some-other-selector { display:none; } */
}

/* Μήνυμα κάτω από εικόνα προϊόντος */
.c-vehicle-details__images-block::after {
  content: "⚠️ Τα μηχανήματα είναι επαγγελματικής χρήσης και ενδέχεται να φέρουν εμφανείς φθορές από φυσιολογική χρήση.";
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #fff6e5;
  border-left: 4px solid #E58A1F;
  border-radius: 6px;
}

@media (min-width: 1025px){
  .c-catalog__list.c-catalog__list--vert{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  /* να μην χαλάει το grid από παλιά widths/flex */
  .c-catalog__list.c-catalog__list--vert > .c-vehicle-vert{
    width: auto !important;
    max-width: 100% !important;
  }

  /* προαιρετικό: να “γεμίζει” κάθε κάρτα */
  .c-catalog__list.c-catalog__list--vert > .c-vehicle-vert{
    height: 100%;
  }
}
@media (min-width: 1025px){
  selector .c-catalog__list.c-catalog__list--vert{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  selector .c-catalog__list.c-catalog__list--vert > .c-vehicle-vert{
    width: auto !important;
    max-width: 100% !important;
  }
}

