/* Sekce Nabízíme */
.nabizime {
	color: #222; /* tmavé, ale ne černé */
	position: relative;
	z-index: 1;
	background-color: rgba(240, 240, 240, 0.8);
	background-image:
    
    url('../img_template/pozadi_sikme3.webp'),
	url('../img_template/pozadi_sikme2.webp');
	background-repeat: no-repeat;
	background-position: top;
	background-size: contain,contain;
	background-position: top center, bottom center;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 80px;
	padding-left: 0;
}
.nabizime h2 {
  	font-weight: 700;
	font-size: 6rem;
	margin-bottom: 2rem;
	text-align: left;
	text-shadow: 0 0 5px rgba(0,0,0,0.1);
	letter-spacing: -1px;
	color: #fff;
	text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
}

/* Limitovaná edice */
.limitovana-edice {
    margin: 1rem auto 4rem auto;
    padding: 4rem 2rem 3rem 2rem;
    max-width: 2500px;
    border-radius: 15px;


}

/* Nadpis limitované edice */
.limitovana-edice h2 {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 700;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.0);
}
.limitovana-edice-text {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 40px;
	text-align: left;
}
.limitovana-edice-text2 {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 0px;
	text-align: left;
}
.limitovana-edice-nadpis {
	font-size: 1.5em;
	color: #333333;
	padding-left: 40px;
	padding-top: 20px;
	text-align: left;
	letter-spacing: -1px;
	font-family: SigmaSerifHead;
	text-decoration: underline;
}

/* Grid limitovaných boxů */
.limity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
}

/* Jednotlivý box */
.limit-box {
	border-radius: 15px;
	overflow: hidden;
	padding: 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: linear-gradient(145deg, #ffffff 0%, #b7b7b3 70%, #ffffff 100%);
	border: 3px solid #E3E3DF;
}
.limit-box .cena {
	font-weight: bold;
}

.limit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(132,206,255,0.3); /* modrý nádech */
}

.limit-box img {
    width: 100%;        /* zabere šířku boxu */
    height: 270px;      /* pevná výška */
    object-fit: cover;  /* ořízne obrázek, aby vyplnil box */
    border-radius: 12px;
    margin-bottom: 0px;
    transition: transform 0.3s ease;
}

.limit-box:hover img {
    transform: scale(1.05);
}

.limit-box h3 {
	color: #333333;
	margin-bottom: 8px;
	font-weight: 600;
	font-family: SigmaSerifHead;
	font-size: 2em;
}

.limit-box p {
	color: #333333;
	font-size: 0.95rem;
	margin-bottom: 15px;
}

.limit-box .btn {
	background-color: #0099FF; /* tvoje modrá */
	color: #fff;
	border: none;
	padding: 0.75rem 1.2rem;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.3s ease;
	font-variant: normal;
	letter-spacing: -1px;
	text-transform: capitalize;
	font-size: 1.1em;
}

.limit-box .btn:hover {
    background-color: #5eb8ff;
    color: #fff;
}
/* Kontejner tlačítek */
button.add-to-order {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

button.add-to-order .but_koupit {
  display: block;
  font-size: 36px;
  font-weight: bold;
  color: #CCCCCC;
  font-variant: normal;
  letter-spacing: -1px;
  font-family: SigmaSerif;
  text-transform: lowercase;
}

/* stav po vybrn */
button.add-to-order.vybrano .but_koupit {
  color: #ffffff;          /* treba bl */
  text-transform: uppercase; /* ukzka  text velkmi psmeny */
  letter-spacing: 0px;       /* mue doladit */
  font-size: 30px;
    font-family: SigmaSerif;
  text-transform: lowercase;
}
button.add-to-order .but_text {
	display: block;
	font-size: 16px;
	color: #666666;
	text-transform: lowercase;
}
button.add-to-order.vybrano .but_text {
  color: #ffffff; /* bl text pri vybrn */
}
.btn-group {
  display: flex;
  gap: 10px; /* mezera mezi tlačítky */
  margin-top: 10px;
}

/* Všechna tlačítka */
.btn.add-to-order {
  flex: 1; /* tlačítka stejné šířky */
  aspect-ratio: 1 / 1; /* čtvercová */
  display: flex;
  flex-direction: column; /* 👈 texty pod sebe */
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  border: 2px solid #84CEFF;
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 5px;
  text-align: center;
}

/* Hover efekt */
.btn.add-to-order:hover:not(:disabled) {
  background-color: #84CEFF;
  color: #fff;
  transform: scale(1.05);
}

/* Tlačítko po vybrání */
.btn.add-to-order.vybrano {
	background-color: #0099FF;
	color: #fff;
}

/* Tlačítko vyprodáno */
.btn.add-to-order.vyprodano {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  border-color: #999;
}
.vyprodano {
  background-color: #ccc!important;
  color: #666;
  cursor: not-allowed;
  border-color: #999;
}
/* Print-offers */
.print-offers-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 4rem auto 0 auto;
    max-width: 1000px;
}

.print-offer {
    flex: 1 1 300px;
    background: #e0e0e0; /* světlá šedá */
    padding: 25px 20px;
    border-radius: 15px;
    color: #222;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
}

.print-offer h2 {
    color: #222;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.print-offer ul {
    list-style: disc inside;
    margin-bottom: 2rem;
}

.print-offer button.btn {
	width: 100%;
	background-color: #0099FF;
	border: none;
	padding: 1rem 0;
	font-weight: 600;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	color: #fff;
}

.print-offer button.btn:hover {
	background-color: #6AC4FF;
	color: #fff;
}

/* Nabídka dalších služeb */
.nabidka-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	margin-top: 3rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.nabidka-box {
    background-color: #e0e0e0;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: #222;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nabidka-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(132,206,255,0.3);
}

.nabidka-box h3 {
    color: #222;
    margin-bottom: 0.75rem;
}

.nabidka-box p {
    font-size: 0.95rem;
    line-height: 1.5;
}
.objednavka-success, .objednavka-error {
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
}

.objednavka-success {
  background-color: #d4edda;
  color: #155724;
}

.objednavka-error {
  background-color: #f8d7da;
  color: #721c24;
}

/* --- Hlavn kontejner pro kartu fotky --- */
.fotka-karta {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin: 0 auto 20px auto; /* vycentrovn */
	border: 1px solid #ccc;
	padding: 10px;
	border-radius: 10px;
	width: 80%; /* rka na 80 % */
	background-color: #FFFFFF;
}

/* --- Fotka vlevo --- */
.fotka-karta img {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 5px;
  object-fit: contain;
}

/* --- Prav box pro volby --- */
.fotka-parametry {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
  position: relative; /* aby fungovalo zarovnn tlactka zpet */
}

/* --- Ctvercov tlactka pro varianty/velikosti --- */
.fotka-parametry button {
  width: 80px;
  height: 80px;
  border: 1px solid #888;
  border-radius: 8px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.fotka-parametry button:hover {
  background-color: #ddd;
}

.fotka-parametry button.selected {
  background-color: #00bcd4;
  color: #fff;
  border-color: #00bcd4;
}

/* --- Shrnut a pridn do objednvky --- */
.krok-shrnuti {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 8px;
  background-color: #fefefe;
}

/* --- Tlactko "Pridat do objednvky" (klasick linkov) --- */
.pridat-objednavka {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  background-color: #00bcd4;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pridat-objednavka:hover {
  background-color: #0097a7;
}

/* --- Text "Zpet" zarovnan vpravo uprostred --- */
.button-zpet {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555;
  cursor: pointer;
  text-decoration: underline;
}

.button-zpet:hover {
  color: #000;
}


/* Rekapitulace */
.rekapitulace-wrapper {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  max-width: 900px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  font-family: sans-serif;
}

.rekapitulace-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #222;
}

#rekapitulace-list .rekap-item {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #222;
}

/* Formulář objednávky */
#objednavka-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px; /* širší formulář */
    margin: 0 auto;
    font-size: 1.1rem; /* větší písmo */
}

#objednavka-form h3 {
    font-size: 1.8rem; /* výraznější nadpisy */
    margin-bottom: 10px;
    color: #222;
}

#objednavka-form label {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    color: #222;
}

#objednavka-form input[type="text"],
#objednavka-form input[type="tel"],
#objednavka-form input[type="email"] {
    padding: 12px 15px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 5px;
    background-color: #fff;
    color: #222;
}

#objednavka-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#objednavka-form .btn {
    margin-top: 15px;
    padding: 15px;
    font-size: 1.2rem;
    background-color: #84CEFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
#rekapitulace-list,
#rekapitulace-list ul {
    list-style: none; /* zruší tečky/odrážky */
    padding: 0;
    margin: 0;
}
/* Seznam rekapitulace */
#rekapitulace-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Položka rekapitulace */
.rekap-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	background-color: #f5f5f5;
	padding: 10px;
	border-radius: 10px;
	margin-bottom: 15px;
	position: relative;
	max-width: 100%;
}
.rekap-item .nadpis {
	font-family: SigmaSerifHead;
	font-size: 2em;
	margin-top: 5px;
	margin-bottom: 5px;
}
.rekap-item .cena_ks {
	font-family: SigmaSerif;
	font-size: 1.2em!important;
}
.rekap-item .cena_celkem {
	font-family: SigmaSerif;
	font-size: 1.3em!important;
}
.rekap-item .popis {
	font-family: SigmaSerif;
	font-size: 0.8em!important;
	margin-bottom: 20px;
}
.rekap-item label {

  align-items: center;   /* vertikln zarovnn */
  height: 30px;          /* pevn vka */
  font-size: 16px;       /* velikost psma */
  gap: 8px;              /* mezera mezi textem a inputem */
}

.rekap-item label input {
  height: 100%;          /* prizpusob se vce labelu */
  font-size: 16px;       /* stejn psmo jako text */
  padding: 0 6px;        /* trochu vnitrn mezery */
  box-sizing: border-box;
}

/* Obrázek */
.rekap-item img {
  border-radius: 5px;
  object-fit: cover;
  width: 100%;
  max-width: 250px;
  height: 200px; /* pevná výška, vyplní box */
  flex-shrink: 0;
}

/* Info o položce */
.rekap-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Nadpis */
.rekap-info strong {
  font-size: 20px;
  margin-bottom: 3px;
}

/* Popis */
.rekap-info p {
  font-size: 14px;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

/* Cena */
.rekap-info p:last-of-type {
  font-weight: bold;
}

/* Křížek pro odstranění */
.rekap-item .remove-item {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  color: #ff4d4f;
  font-size: 48px !important;
  font-weight: bold;
  user-select: none;
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
  display: inline-block;
}

.rekap-item .remove-item:hover {
  color: #ff0000;
  transform: scale(1.2);
}

/* Vybraná položka */
.rekap-item.vybrano-item {
  border: 2px solid #007bff;
  background: #e6f0ff;
}

#objednavka-form .btn:hover {
    background-color: #5eb8ff;
}

#objednavka-form p span# {
	font-weight: bold;
	font-size: 3rem;
	color: #333333;
	letter-spacing: -1px;
}
.obj_celkem {
	font-size: 1.4rem;
	color: #666666;
	letter-spacing: -1px;
}
.obj_celkem .celkem {
	font-size: 2.5rem;
	color: #1d1d1d;
	font-weight:700;
	letter-spacing: -1px;
}
.form-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #222;
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
  z-index: 9999;
  max-width: 90%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.form-message.show {
  display: block;
  opacity: 1;
}
.close-message {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}
/* --- Overlay pro popup --- */
#terms-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

/* --- Popup okno --- */
#terms-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  z-index: 9999;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Nadpis */
#terms-popup h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

/* Text */
#terms-popup p {
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Tlačítko zavřít */
#terms-popup button#close-terms {
  display: block;
  margin: 15px auto 0;
  padding: 8px 20px;
  font-size: 0.95rem;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#terms-popup button#close-terms:hover {
  background: #555;
}

/* Odkaz na podmínky ve formuláři */
label a#open-terms {
  color: #0077cc;
  text-decoration: underline;
  cursor: pointer;
}

label a#open-terms:hover {
  color: #005fa3;
}#terms-lightbox {
  max-width: 600px;
  padding: 20px;
  background-color: #fff;
  color: #000;
  overflow-y: auto;     /* scroll jen uvnitř Lightboxu */
  max-height: 80vh;     /* Lightbox zabere max 80% výšky okna */
  box-sizing: border-box;
}
/* Checkbox uprostřed */
.terms-checkbox-wrapper {
  display: flex;
  justify-content: center; /* horizontálně */
  margin: 20px 0;
}

.terms-checkbox {
  display: flex;
  align-items: center; /* vertikálně */
  gap: 8px; /* mezera mezi checkboxem a textem */
  font-size: 0.95rem;
}

.terms-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}



/* --- TABLET a MOBIL (max-width: 1024px) --- */
@media (max-width: 1024px) {

  .nabizime {
    padding-top: 10px;
    padding-bottom: 150px;
  }

  .nabizime h2 {
    font-size: 3rem;
    text-align:left;
  }

  /* Limitovaná edice */
  .limitovana-edice {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .limitovana-edice h2 {
    font-size: 2.2rem;
    text-align: left;
	
  }

  .limity-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .limit-box {
    padding: 12px;
  }

  .limit-box h3 {
    font-size: 1.1rem;
  }

  .limit-box p {
    font-size: 0.9rem;
  }

  .limit-box .btn {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  /* Print-offers */
  .print-offers-wrapper {
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
    margin: 3rem auto 0 auto;
  }

  .print-offer {
    flex: 1 1 100%;
    padding: 20px;
    text-align: center;
  }

  .print-offer h2 {
    font-size: 1.5rem;
  }

  .print-offer button.btn {
    padding: 0.9rem 0;
    font-size: 1rem;
  }

  /* Nabídka dalších služeb */
  .nabidka-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .nabidka-box {
    padding: 20px;
  }

  .nabidka-box h3 {
    font-size: 1.1rem;
  }

  .nabidka-box p {
    font-size: 0.9rem;
  }

  /* Formulář objednávky */
  #objednavka-form {
    max-width: 90%;
    gap: 15px;
    font-size: 1rem;
  }

  #objednavka-form h3 {
    font-size: 1.5rem;
  }

  #objednavka-form label {
    font-size: 1rem;
  }

  #objednavka-form input[type="text"],
  #objednavka-form input[type="tel"],
  #objednavka-form input[type="email"] {
    padding: 10px 12px;
    font-size: 1rem;
  }

  #objednavka-form .btn {
    padding: 12px;
    font-size: 1.1rem;
  }

  #rekapitulace-list .rekap-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  .limitovana-edice-text {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 40px;
	text-align: center;
}
.limitovana-edice-text2 {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 0px;
	text-align: center;
}
.limitovana-edice-nadpis {
	font-size: 1.5em;
	color: #333333;
	padding-left: 0px;
	padding-top: 20px;
	text-align: center;
	letter-spacing: -1px;
	font-family: SigmaSerifHead;
	font-weight: bold;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #0099FF;
}


}

/* --- MOBIL (max-width: 600px) --- */
@media (max-width: 600px) {

  .nabizime h2 {
    font-size: 3rem;
	text-align:left;
  }

  .limitovana-edice h2 {
    font-size: 1.8rem;
	text-align:left;
	
  }

  .limity-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .limit-box h3 {
    font-size: 1rem;
  }

  .limit-box p {
    font-size: 0.85rem;
  }

  .limit-box .btn {
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
  }

  .print-offer h2 {
    font-size: 1.3rem;
  }

  .nabidka-box h3 {
    font-size: 1rem;
  }

  #objednavka-form h3 {
    font-size: 1.3rem;
  }

  #objednavka-form input[type="text"],
  #objednavka-form input[type="tel"],
  #objednavka-form input[type="email"] {
    font-size: 0.95rem;
  }

  #objednavka-form .btn {
    font-size: 1rem;
    padding: 10px;
  }

  #rekapitulace-list .rekap-item {
    padding: 10px;
  }
}

