/* Stella site-agreement */

#cboxOverlay.siteAgreement {
  background: rgba(15, 15, 15, 0.58) !important;
  opacity: 1 !important;
  z-index: 100001 !important;
  pointer-events: none !important;
}

#colorbox.siteAgreement {
  z-index: 100002 !important;
  pointer-events: auto !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

#colorbox.siteAgreement #cboxWrapper {
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
}

#colorbox.siteAgreement #cboxContent {
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  pointer-events: auto !important;
  overflow: hidden !important;
  float: none !important;
}

#colorbox.siteAgreement #cboxLoadedContent {
  overflow: hidden !important;
  overflow-y: hidden !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
}

#colorbox.siteAgreement .colorbox-html-content {
  position: relative;
  padding: 36px 36px 32px;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  pointer-events: auto !important;
}

#colorbox.siteAgreement .colorbox-html-content::before {
  content: "";
  display: block;
  width: 132px;
  height: 34px;
  margin: 0 auto 24px;
  background: url("https://cdn.myshoptet.com/usr/www.stellaateliers.cz/user/logos/logo_stella.svg") no-repeat center / contain;
}

#colorbox.siteAgreement .site-agreement-inner {
  margin: 0;
  text-align: center;
  color: #2a2a2a;
  font-family: "Inter", sans-serif !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

#colorbox.siteAgreement .site-agreement-inner p,
#colorbox.siteAgreement .site-agreement-inner span,
#colorbox.siteAgreement .site-agreement-inner strong {
  font-family: "Inter", sans-serif !important;
}

#colorbox.siteAgreement .site-agreement-inner p {
  font-size: inherit !important;
}

#colorbox.siteAgreement .kubca-site-agreement__greeting {
  margin: 0 0 16px !important;
  font-size: clamp(1.15rem, 3vw, 1.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: #1a1a1a !important;
}

#colorbox.siteAgreement .kubca-site-agreement__line {
  margin: 0 0 14px !important;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem) !important;
  font-weight: 400 !important;
  line-height: 1.72 !important;
  color: #333 !important;
}

#colorbox.siteAgreement .kubca-site-agreement__sign {
  margin: 18px 0 0 !important;
  font-size: clamp(0.98rem, 2.4vw, 1.1rem) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  color: #484848 !important;
  font-style: italic;
}

#colorbox.siteAgreement .kubca-site-agreement__date {
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

#colorbox.siteAgreement .site-agreement-buttons {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

#colorbox.siteAgreement .site-agreement-buttons .btn-default,
#colorbox.siteAgreement .site-agreement-buttons .kubca-site-agreement__btn--leave {
  display: none !important;
}

#colorbox.siteAgreement a#site-agree-button,
#colorbox.siteAgreement a#site-agree-button.btn,
#colorbox.siteAgreement a#site-agree-button.btn-sm,
#colorbox.siteAgreement a#site-agree-button.btn-primary,
#colorbox.siteAgreement .site-agreement-buttons a.kubca-site-agreement__cta {
  appearance: none !important;
  -webkit-appearance: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 200px !important;
  max-width: 280px !important;
  height: auto !important;
  min-height: 46px !important;
  margin: 0 auto !important;
  padding: 13px 44px !important;
  border-radius: 4px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.03em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #484848 !important;
  border: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14) !important;
  float: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

#colorbox.siteAgreement a#site-agree-button:hover,
#colorbox.siteAgreement .site-agreement-buttons a.kubca-site-agreement__cta:hover {
  color: #fff !important;
  background: #2a2929 !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  transform: translateY(-1px);
}

#colorbox.siteAgreement a#site-agree-button:focus-visible,
#colorbox.siteAgreement .site-agreement-buttons a.kubca-site-agreement__cta:focus-visible {
  outline: 3px solid #484848;
  outline-offset: 2px;
}

#colorbox.siteAgreement #cboxClose {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 0 !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
  color: transparent !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6l12 12M18 6 6 18' stroke='%23666666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center center / 16px 16px no-repeat !important;
  border: 0 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  z-index: 5 !important;
  cursor: pointer !important;
  overflow: visible !important;
}

#colorbox.siteAgreement #cboxClose .kubca-cbox-close__icon {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 24px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  text-align: center !important;
  color: #666 !important;
  pointer-events: none !important;
}

#colorbox.siteAgreement #cboxClose:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6l12 12M18 6 6 18' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

#colorbox.siteAgreement #cboxClose:hover .kubca-cbox-close__icon {
  color: #1a1a1a !important;
}

@media (max-width: 520px) {
  #colorbox.siteAgreement .colorbox-html-content {
    padding: 28px 20px 24px;
  }

  #colorbox.siteAgreement .site-agreement-inner {
    font-size: 16px !important;
  }

  #colorbox.siteAgreement a#site-agree-button,
  #colorbox.siteAgreement .site-agreement-buttons a.kubca-site-agreement__cta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
