/*
Theme Name: Kometo Nettys
Theme URI: https://yourdomain.com/kometo-nettys
Author: www.nettys.cz
Description: WordPress theme for kometo.cz – a child theme of Hello Elementor.
Template: hello-elementor
Version: 2.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kometo
Domain Path: /languages
*/

.registration-form {
  position: relative;
}
#form-messages {
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: none;
}
#form-messages .error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding: 10px;
}
#form-messages .success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
  padding: 10px;
}
.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.loader-overlay .spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #5a216d;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.password-with-eye {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.password-with-eye .toggle-password {
  margin-top: 10px;
}

.wc-block-components-button {
  display: inline-block !important;
  font-size: 1.1em;
  padding: 0.75em 1.2em;
  opacity: 100;
  color: #ffffff !important;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center !important;
  background-color: #aa5093;
  position: relative !important;
  text-decoration: none;
  border: 0;
  outline: none;
  border-radius: 0;
}

.wc-block-components-button::before {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/kometo/assets/img/button.png);
  background-size: 100% 100%;
  content: "";
}

.wc-block-components-button span {
  position: relative;
  text-align: center !important;
}

.wc-block-components-button span .wc-block-components-checkout-place-order-button__text {
  justify-content: center !important;
}

.cross-sell-products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

label.not-bold {
  font-weight: normal;
}

.terms-agreement {
  max-width: 575px;
}

.wc-block-components-spinner {
  top: 15px !important;
}

.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  width: 60% !important;
}

.wc-block-components-order-summary-item {
  flex-wrap: wrap !important;
}

.wc-block-components-order-summary .price.wc-block-components-product-price {
  white-space: pre-line;
  font-weight: normal !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
  margin-left: 0 !important;
  text-align: left !important;
}

.wc-block-cart-items__row .wc-block-cart-item__total {
  white-space: pre-line;
  width: 40% !important;
}

.price.wc-block-components-product-price {
  text-align: left !important;
}

.wc-block-components-totals-item__label {
  flex-grow: 0 !important;
  padding-right: 5px;
}

.link-online {
  color: #009640 !important;;
}

.kartarky img {
  max-height: 170px !important;
}

.kartarky-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px 20px;
}

.kartarky-grid img {
  max-height: 260px;
  width: 100%;
  margin: 12px auto 0 auto;
  display: block;
}

.kartarky-single {
  text-align: center;
  position: relative;
}

.kartarky-single:nth-child(2n-1) .kartarky-overlay {
  left: 0;
}

.kartarky-single:nth-child(2n) .kartarky-overlay {
  right: 0;
}

#kartarky-box {
  color: #FCDEFC;
}

.kartarky-overlay {
  position: absolute;
  top: 0;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  height: 60px;
  width: 60px;
  padding-top: 18px;
  font-size: 12px;
  font-width: bold;
}

.kartarky-single.free .kartarky-overlay {
  background-image: url("/wp-content/themes/kometo/assets/img/online.png");
}

.kartarky-single.busy .kartarky-overlay {
  background-image: url("/wp-content/themes/kometo/assets/img/hovori.png");
}

.kartarky-name, .kartarky-extension {
  font-weight: bold;
  color: black;
}

.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item {
  flex-direction: column !important;
}

.wc-block-cart__sidebar .wc-block-cart__totals-title, .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block {
  display: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  padding-top: 0 !important;
  border: none !important;
}
