/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1739459202
Updated: 2025-02-13 16:06:42

*/

/* vybírání políček custom css */
fieldset {
  border: 0;
  margin: 0px;
  padding: 0px;
}

.grid-group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(232px, 232px)); 
  column-gap: 80px;
  row-gap: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: 50px 100px 50px;
  grid-auto-rows: 50px;
  gap: 16px;
}

.grid-item {
  position: relative;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

/* Skrytí původního radio buttonu */
.grid-item input[type="radio"] {
  display: none;
}

/* Čtverec, který pokrývá celý grid item */
.radio-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #53ad58;
  transition: all 0.3s ease;
  z-index: 1;
}

.radio-square--available {
  background-color: #53ad58;
}

.radio-square--taken {
  background-color: #DB4C4D;
}

/* Přidání contentu při hoveru čtverce */
.grid-item:hover .radio-square::after {
  content: attr(data-area);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  line-height: 1em;
  font-weight: 700;
  font-size: 14px;
}

/* Styl při zaškrtnutí - vybarví celý grid item */
.grid-item input[type="radio"]:checked ~ .radio-square {
  background-color: #dae1ed;
}

/* Přidání contentu při zaškrtnutí čtverce */
.grid-item input[type="radio"]:checked ~ .radio-square::after {
  content: url("https://poliiicko.cz/wp-content/uploads/2025/10/fence-icon.svg");
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Card component */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  min-height: 435px;
  width: 100%;
  max-width: 350px;
  background-color: #dae1ed;
  padding: 24px 16px;
}

.card__img-wrapper {
  position: relative;
}

.card__img {
  height: 188px;
  width: 188px;
  margin-top: -70px;
}

.card__img-bigger {
  height: 188px;
  width: 294px;
  margin-top: -70px;
}

.field-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  width: 45px;
  background-color: #2b2422;
  border-radius: 100%;
  color: #dae1ed;
  font-size: 24px;
  font-weight: 700;
  position: absolute;
}

.field-number--smaller-yard {
  top: 0;
  right: -8%;
}

.field-number--bigger-yard {
  top: -20%;
  right: 3%;
}

.card__pricing-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.card__pricing-wrapper span {
  color: #2b2422;
  font-weight: 700;
}

.field-area {
  font-size: 28px;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.card__list-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card__button {
  display: inline-flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 222px;
  background: #2b2422;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 1em !important;
  color: #fff !important;
  margin-top: 16px;
  transition: all 0.3s;
}

.card__button:hover {
	background-color: #FFCC33;
}

[x-cloak] { display: none !important; }

/*
@media (max-width: 1095px) {
	.grid-group {
		column-gap: 40px;
	}
}
*/

@media (max-width: 1024px) {
	.grid-group {
		column-gap: 32px;
		row-gap: 32px;
	}
}
