/* FloStyle checkout privacy consent, 2026-09-04 */
#vmMainPageOPC #rbsubmit.flostyle-consent-visible {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 14px 0 12px;
}

#vmMainPageOPC #agreed_div.flostyle-consent-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 15px;
  border: 1px solid #dfe5ca;
  border-radius: 12px;
  background: #f8faef;
  box-shadow: 0 4px 14px rgba(52, 58, 34, 0.08);
  box-sizing: border-box !important;
}

#vmMainPageOPC #agreed_div .left_checkbox {
  flex: 0 0 auto;
  float: none !important;
  clear: none !important;
  width: auto !important;
  padding-top: 2px;
}

#vmMainPageOPC #agreed_field {
  display: block;
  width: 20px !important;
  height: 20px;
  margin: 0;
  accent-color: #9aaa53;
  cursor: pointer;
}

#vmMainPageOPC #agreed_div .right_label {
  flex: 1 1 auto;
  float: none !important;
  clear: none !important;
  min-width: 0 !important;
  width: auto !important;
  line-height: 1.45;
}

#vmMainPageOPC #agreed_div label {
  display: block;
  margin: 0;
  color: #33372a;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

#vmMainPageOPC [data-flostyle-privacy-open] {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  color: #5f6d28;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#vmMainPageOPC [data-flostyle-privacy-open]:hover,
#vmMainPageOPC [data-flostyle-privacy-open]:focus {
  color: #596426;
  outline: none;
}

#vmMainPageOPC #agreed_div.has-error {
  border-color: #cf6d68;
  background: #fff7f6;
  box-shadow: 0 0 0 3px rgba(190, 69, 61, 0.08);
}

#flostyle-consent-error {
  display: none;
  flex: 1 0 100%;
  width: 100%;
  margin-top: 2px;
  color: #a43832;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

#flostyle-consent-error.is-visible {
  display: block;
}

html.flostyle-privacy-open {
  overflow: hidden;
}

#flostyle-privacy-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  color: #2e3128;
  box-shadow: 0 24px 70px rgba(26, 30, 14, 0.3);
  overflow: hidden;
}

#flostyle-privacy-dialog::backdrop {
  background: rgba(24, 28, 17, 0.66);
  backdrop-filter: blur(3px);
}

#flostyle-privacy-dialog .flostyle-privacy-modal {
  position: relative;
  max-height: min(82vh, 760px);
  padding: 30px 34px 28px;
  overflow-y: auto;
  box-sizing: border-box;
}

#flostyle-privacy-dialog .flostyle-privacy-kicker {
  margin-bottom: 7px;
  color: #899747;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#flostyle-privacy-dialog h2 {
  margin: 0 42px 14px 0;
  color: #282c20;
  font-size: 25px;
  line-height: 1.2;
}

#flostyle-privacy-dialog h3 {
  margin: 0 0 4px;
  color: #343928;
  font-size: 15px;
  line-height: 1.3;
}

#flostyle-privacy-dialog p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
}

#flostyle-privacy-dialog a {
  color: #6f7d32;
  font-weight: 700;
  overflow-wrap: anywhere;
}

#flostyle-privacy-dialog .flostyle-privacy-section {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f7f1;
}

#flostyle-privacy-dialog .flostyle-privacy-section p {
  margin: 0;
}

#flostyle-privacy-dialog .flostyle-privacy-note {
  padding: 12px 14px;
  border-left: 3px solid #aeba69;
  background: #fbfbf6;
}

#flostyle-privacy-dialog .flostyle-privacy-close {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f2e7;
  color: #4d5338;
  font-size: 27px;
  line-height: 36px;
  cursor: pointer;
}

#flostyle-privacy-dialog .flostyle-privacy-done {
  min-width: 150px;
  padding: 11px 22px;
  border: 0;
  border-radius: 9px;
  background: #9eae55;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

#flostyle-privacy-dialog .flostyle-privacy-done:hover,
#flostyle-privacy-dialog .flostyle-privacy-done:focus {
  background: #84933f;
}

/* Daily cookie notice */
#flostyle-cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100050;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(560px, calc(100vw - 32px));
  min-height: 76px;
  padding: 13px 46px 13px 15px;
  border: 1px solid #e2e6d6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: #303329;
  box-shadow: 0 12px 34px rgba(32, 38, 23, 0.18);
  box-sizing: border-box;
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#flostyle-cookie-notice::after {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #a6b85b;
}

#flostyle-cookie-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

#flostyle-cookie-notice .flostyle-cookie-notice-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f1f4e4;
}

#flostyle-cookie-notice .flostyle-cookie-notice-icon svg {
  width: 22px;
  height: 22px;
  fill: #82913f;
}

#flostyle-cookie-notice .flostyle-cookie-notice-text {
  min-width: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.42;
}

#flostyle-cookie-notice .flostyle-cookie-notice-text strong,
#flostyle-cookie-notice .flostyle-cookie-notice-text span {
  display: block;
}

#flostyle-cookie-notice .flostyle-cookie-notice-text strong {
  margin-bottom: 2px;
  color: #282c20;
  font-size: 14px;
  line-height: 1.25;
}

#flostyle-cookie-notice .flostyle-cookie-notice-text a {
  color: #74852e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#flostyle-cookie-notice [data-flostyle-cookie-info-open] {
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  color: #6f7f2f;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
}

#flostyle-cookie-notice [data-flostyle-cookie-info-open]:hover,
#flostyle-cookie-notice [data-flostyle-cookie-info-open]:focus {
  color: #4f5d1e;
  outline: none;
}

#flostyle-cookie-notice .flostyle-cookie-notice-accept {
  padding: 8px 13px;
  border: 0;
  border-radius: 10px;
  background: #93a64b;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

#flostyle-cookie-notice .flostyle-cookie-notice-accept:hover,
#flostyle-cookie-notice .flostyle-cookie-notice-accept:focus {
  background: #778b33;
  outline: none;
}

#flostyle-cookie-notice .flostyle-cookie-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a2a69b;
  font-size: 22px;
  font-weight: 300;
  line-height: 26px;
  cursor: pointer;
}

#flostyle-cookie-notice .flostyle-cookie-notice-close:hover,
#flostyle-cookie-notice .flostyle-cookie-notice-close:focus {
  background: #f1f3e9;
  color: #66742f;
  outline: none;
}

#flostyle-cookie-dialog {
  width: min(500px, calc(100vw - 32px));
  max-height: 86vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #303329;
  box-shadow: 0 24px 70px rgba(26, 30, 14, 0.3);
  overflow: hidden;
}

#flostyle-cookie-dialog::backdrop {
  background: rgba(24, 28, 17, 0.6);
  backdrop-filter: blur(3px);
}

#flostyle-cookie-dialog .flostyle-cookie-dialog-inner {
  position: relative;
  padding: 28px 30px 26px;
  overflow-y: auto;
}

#flostyle-cookie-dialog .flostyle-cookie-dialog-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 13px;
  border-radius: 50%;
  background: #f0f4dd;
  font-size: 24px;
}

#flostyle-cookie-dialog h2 {
  margin: 0 40px 14px 0;
  color: #292d22;
  font-size: 24px;
  line-height: 1.2;
}

#flostyle-cookie-dialog p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
}

#flostyle-cookie-dialog .flostyle-cookie-dialog-note {
  padding: 11px 13px;
  border-left: 3px solid #a8b85e;
  background: #f7f8f2;
}

#flostyle-cookie-dialog .flostyle-cookie-dialog-close {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f2e7;
  color: #4d5338;
  font-size: 27px;
  line-height: 36px;
  cursor: pointer;
}

#flostyle-cookie-dialog .flostyle-cookie-dialog-done {
  min-width: 140px;
  padding: 11px 22px;
  border: 0;
  border-radius: 9px;
  background: #9eae55;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

#flostyle-cookie-dialog .flostyle-cookie-dialog-done:hover,
#flostyle-cookie-dialog .flostyle-cookie-dialog-done:focus {
  background: #84933f;
}

@media (max-width: 520px) {
  #vmMainPageOPC #agreed_div.flostyle-consent-card {
    padding: 12px;
  }
  #flostyle-privacy-dialog {
    width: calc(100vw - 20px);
    max-height: 88vh;
    border-radius: 14px;
  }
  #flostyle-privacy-dialog .flostyle-privacy-modal {
    max-height: 88vh;
    padding: 24px 18px 20px;
  }
  #flostyle-privacy-dialog h2 {
    margin-right: 34px;
    font-size: 21px;
  }
  #flostyle-privacy-dialog .flostyle-privacy-close {
    top: 12px;
    right: 12px;
  }
  #flostyle-cookie-notice {
    top: 10px;
    bottom: auto;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    width: calc(100vw - 20px);
    min-height: 0;
    padding: 11px 38px 11px 12px;
    border-radius: 14px;
    transform: translate(-50%, -18px);
  }
  #flostyle-cookie-notice.is-visible {
    transform: translate(-50%, 0);
  }
  #flostyle-cookie-notice::after {
    top: 10px;
    bottom: 10px;
  }
  #flostyle-cookie-notice .flostyle-cookie-notice-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 17px;
    align-self: start;
  }
  #flostyle-cookie-notice .flostyle-cookie-notice-text {
    font-size: 12px;
    line-height: 1.38;
  }
  #flostyle-cookie-notice .flostyle-cookie-notice-text strong {
    font-size: 13.5px;
  }
  #flostyle-cookie-notice [data-flostyle-cookie-info-open] {
    font-size: 11px;
  }
  #flostyle-cookie-notice .flostyle-cookie-notice-accept {
    grid-column: 2;
    justify-self: start;
    padding: 7px 12px;
    margin-top: -2px;
  }
  #flostyle-cookie-notice .flostyle-cookie-notice-close {
    top: 6px;
    right: 6px;
    width: 27px;
    height: 27px;
  }
  #flostyle-cookie-dialog {
    width: calc(100vw - 20px);
    max-height: 88vh;
    border-radius: 14px;
  }
  #flostyle-cookie-dialog .flostyle-cookie-dialog-inner {
    max-height: 88vh;
    padding: 22px 18px 20px;
    box-sizing: border-box;
  }
  #flostyle-cookie-dialog h2 {
    margin-right: 34px;
    font-size: 21px;
  }
  #flostyle-cookie-dialog .flostyle-cookie-dialog-close {
    top: 12px;
    right: 12px;
  }
}
