/*
 * Custom code goes here.
 */

/* hide firstname and lastname alerts in checkout form */  
#customer-form input[name="firstname"]+span.form-control-comment, #customer-form input[name="lastname"]+span.form-control-comment {
    display: none;
}
/* fix for Chrome image rendering */ 
img {
 image-rendering: -webkit-optimize-contrast;
} 

.cairocz-box {
  background: rgba(0,0,0,0.5); /* tmavý podklad */
  color: #fff;                 /* bílý text pro celý box */
  padding: 20px;
  border-radius: 12px;
  max-width: 800px;
  margin: 20px auto;
}

.cairocz-box h2,
.cairocz-box p {
  color: #fff; /* pojistka, aby nadpis i text byly bílé */
}

.cms-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}

.cms-links li {
  margin-bottom: 8px;
}

.cms-links li:last-child {
  margin-bottom: 0;
}

.cms-link::after {
  content: "→";
  font-weight: bold;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.cms-link:hover {
  text-decoration: underline;
}

.cms-link:hover::after {
  opacity: 1;
}


/* Přidej do themes/your-theme/assets/css/custom.css */

.additional-consents {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.additional-consents .form-group {
    margin-bottom: 12px;
}

.additional-consents .custom-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
}

.additional-consents .custom-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    min-width: 18px;
    min-height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.additional-consents .custom-checkbox span {
    display: inline-block;
    line-height: 1.5;
    font-size: 14px;
}

.additional-consents a {
    color: #2fb5d2;
    text-decoration: underline;
}

.additional-consents .required {
    color: #ff0000;
}