/* Killdrift Save 10% popup */
#block-protean-commerce-save10withemail {
  display: grid;
  grid-template-columns: 40% 60%;
  width: min(550px, 55vw);
  background: #fff;
  border: 12px solid #c90012;
  box-sizing: border-box;
  overflow: hidden;
}

.spb_top_center {
  top: 25vh;
}

/* Left cover image */
#block-protean-commerce-save10withemail
.field--name-field-cover-image {
  grid-column: 1;
  grid-row: 1 / span 4;
  min-width: 0;
  height: 100%;
}

#block-protean-commerce-save10withemail
.field--name-field-cover-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

/* Logo */
#block-protean-commerce-save10withemail
.field--name-field-logo-image {
  grid-column: 2;
  text-align: center;
  padding: 28px 40px 0;
}

#block-protean-commerce-save10withemail
.field--name-field-logo-image img {
  display: inline-block;
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* Headline area */
#block-protean-commerce-save10withemail
.field--name-field-text-body {
  grid-column: 2;
  text-align: center;
  padding: 12px 20px 8px;
  color: #000;
}

#block-protean-commerce-save10withemail
.field--name-field-text-body p {
  margin: 0;
  text-transform: uppercase;
}

#block-protean-commerce-save10withemail
.field--name-field-text-body p:first-child {
  font-size: clamp(44px, 7vw, 60px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -3px;
}

#block-protean-commerce-save10withemail
.field--name-field-text-body p:nth-child(2) {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 400;
}

/* Webform area */
#block-protean-commerce-save10withemail
.field--name-field-webform {
  grid-column: 2;
  padding: 8px 20px 0px;
}

#block-protean-commerce-save10withemail
.webform-submission-form {
  margin: 0;
}

/* Remove unnecessary fieldset styling around the name field */
#block-protean-commerce-save10withemail
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Hide visible labels because the mockup uses placeholders */
#block-protean-commerce-save10withemail
.form-item > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Input fields */
#block-protean-commerce-save10withemail
input[type="text"],
#block-protean-commerce-save10withemail
input[type="email"] {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #555;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 42px;
  box-sizing: border-box;
  box-shadow: none;
}

/* Space between fields */
#block-protean-commerce-save10withemail
.form-item {
  margin: 0 0 22px;
}

/* Placeholder appearance */
#block-protean-commerce-save10withemail
input::placeholder {
  color: #111;
  opacity: 1;
}

/* Submit button */
#block-protean-commerce-save10withemail
.form-actions {
  margin: 28px 0 0;
  text-align: center;
}

#block-protean-commerce-save10withemail
.webform-button--submit,
a.got-it {
  min-width: 260px;
  padding: 18px 30px;
  border: 0;
  border-radius: 10px;
  background: #c90012;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
}

#block-protean-commerce-save10withemail
.webform-button--submit:hover,
#block-protean-commerce-save10withemail
.webform-button--submit:focus {
  background: #a9000f;
}

a.got-it {
  min-width: 220px;
  margin-top: 20px;
  cursor: pointer;
}

.simple-popup-blocks-global:has(#got-it-button) #close-bar-button {
  display: none;
}

.fine-print {
  font-size: 12px;
  text-align: center;
}

/* Popup Webform confirmation */
#block-protean-commerce-save10withemail .webform-confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

#block-protean-commerce-save10withemail .webform-confirmation__message {
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
}

#block-protean-commerce-save10withemail .webform-confirmation__message p {
  margin: 0;
}

#block-protean-commerce-save10withemail .webform-confirmation__message .confirmed-heading {
  margin-bottom: 18px;
  color: #c90012;
  font-size: clamp(44px, 5vw, 48px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

#block-protean-commerce-save10withemail .webform-confirmation__message p:not(.confirmed-heading) {
  font-size: 22px;
  line-height: 1.5;
}

#block-protean-commerce-save10withemail .webform-confirmation__message strong {
  display: inline-block;
  margin: 0 4px;
  padding: 5px 12px;
  border: 2px dashed #c90012;
  border-radius: 4px;
  background: #fff;
  color: #c90012;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: 1px;
}

#close-bar-button {
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 16px 28px;

  border: 0;
  border-radius: 10px;

  background: #000;
  color: #fff;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;

  cursor: pointer;
  box-sizing: border-box;
}

#close-bar-button:hover,
#close-bar-button:focus {
  background: #5f5f5f;
}



/* Medium screens */
@media (max-width: 1100px) {

  #block-protean-commerce-save10withemail {
    width: min(900px, 92vw);
    border-width: 10px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-cover-image img {
    min-height: 520px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-logo-image {
    padding: 22px 30px 0;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-logo-image img {
    width: 125px;
    height: 125px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body {
    padding: 10px 30px 6px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body p:first-child {
    font-size: clamp(52px, 6vw, 78px);
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body p:nth-child(2) {
    font-size: 22px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-webform {
    padding: 8px 36px 28px;
  }

  #block-protean-commerce-save10withemail
  input[type="text"],
  #block-protean-commerce-save10withemail
  input[type="email"] {
    height: 52px;
    font-size: 19px;
    line-height: 52px;
  }

  #block-protean-commerce-save10withemail
  .webform-button--submit {
    min-width: 230px;
    padding: 15px 24px;
    font-size: 16px;
  }
}


/* Tablet / smaller laptop */
@media (max-width: 850px) {

  #block-protean-commerce-save10withemail {
    width: min(760px, 94vw);
    grid-template-columns: 38% 62%;
    border-width: 8px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-cover-image img {
    min-height: 460px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-logo-image img {
    width: 105px;
    height: 105px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body p:first-child {
    font-size: 46px;
    letter-spacing: -2px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body p:nth-child(2) {
    margin-top: 8px;
    font-size: 18px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-webform {
    padding: 6px 28px 24px;
  }

  #block-protean-commerce-save10withemail
  .form-item {
    margin-bottom: 16px;
  }

  #block-protean-commerce-save10withemail
  .form-actions {
    margin-top: 20px;
  }
}


/* Mobile */
@media (max-width: 650px) {

  #block-protean-commerce-save10withemail {
    display: block;
    width: min(80vw, 300px);
    max-height: 92vh;
    overflow-y: auto;
    border-width: 6px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-cover-image {
    height: 180px;
    display: none;
  }

  .spb_overlay {
    padding-left: 15%;
  }

  .spb_top_center {
    top: 15vh;
  }

  .spb-popup-main-wrapper {
    background: none;
    border: 0px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-cover-image img {
    width: 100%;
    height: 180px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-logo-image {
    padding: 16px 18px 0;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-logo-image img {
    width: 80px;
    height: 80px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body {
    padding: 8px 18px 6px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body p:first-child {
    font-size: 38px;
    line-height: 1;
    letter-spacing: -1px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-text-body p:nth-child(2) {
    margin-top: 5px;
    font-size: 16px;
  }

  #block-protean-commerce-save10withemail
  .field--name-field-webform {
    padding: 8px 18px 20px;
  }

  #block-protean-commerce-save10withemail
  input[type="text"],
  #block-protean-commerce-save10withemail
  input[type="email"] {
    height: 46px;
    padding: 0 12px;
    font-size: 16px;
    line-height: 46px;
  }

  #block-protean-commerce-save10withemail
  .form-item {
    margin-bottom: 14px;
  }

  #block-protean-commerce-save10withemail
  .form-actions {
    margin-top: 16px;
  }

  #block-protean-commerce-save10withemail
  .webform-button--submit {
    width: 100%;
    min-width: 0;
    padding: 13px 18px;
    font-size: 15px;
  }

  #block-protean-commerce-save10withemail
  .webform-confirmation {
    min-height: 180px;
    padding: 24px 20px 30px;
  }

  #block-protean-commerce-save10withemail
  .webform-confirmation__message .confirmed-heading {
    font-size: 36px;
  }

  #block-protean-commerce-save10withemail
  .webform-confirmation__message p:not(.confirmed-heading) {
    font-size: 17px;
  }
}