/* The animation code */
@keyframes fade-in-cookie-box {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media(min-width:768px) {
.shopify-pc__prefs__dialog {
        max-width: 808px;
        margin: 0 auto;
        left: 50% !important;
        transform: translate(-50%, -50%);
}
}

/* PREFERENCES */

@media only screen and (max-width: 1200px) {
    .shopify-pc__prefs__dialog header h2 {
        margin: 0 0 .8em 0;
        padding: 0 !important;
        text-align: left;
    }
    .shopify-pc__prefs__header-actions {
        padding: 0;
        text-align: center;
    }
}

#shopify-pc__prefs__header-title {
  color: var(--OG-CS-Blue-Blue-3, #0089FA);
/* 🟢 BODY/b-base/fw-bold */
font-family: var(--body-base-reg-font-family, "HKGP");
font-size: var(--body-base-reg-font-size, 20px) !important;
font-style: normal;
font-weight: 700;
line-height: var(--body-base-reg-line-height, 32px) !important; /* 160% */
margin-bottom:0.8rem;
}

.shopify-pc__prefs__dialog header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 32px 20px 32px;
    border-bottom: 1px solid hsl(0deg, 0%, 88%, 100%);
    position: relative;
    background: transparent;
}

 .shopify-pc__prefs__dialog {
     left: 5%;
     width: 90%;
     border-radius: var(--Corner-Radius-cr-2, 12px);
     border: 1px solid var(--OG-CS-Gray-Gray-3, #949494);
     background: var(--OG-CS-Gray-Gray-1, #F4F5F7);
 }
.shopify-pc__prefs__header-actions button {
  border-radius:8px;
  font-size:min(0.8rem, 16px);
  text-decoration: unset;
  font-family: inherit;
  padding: unset;
  margin-top: unset;
  margin: 0 1.2rem 0 0;
  font-size: unset;
  flex-basis: unset;
  border-radius: unset;
  line-height: unset;
  height: unset;
  text-align: unset;
  margin-bottom:0.8rem;
}


 #shopify-pc__prefs__header-accept  {
  border: 2px solid #000;
  border-radius:8px;
  font-size:min(0.8rem, 16px);
  background: #000;
  color: #fff;
  font-weight: 700;
  padding: 8px 16px !important;
  --bs-btn-color: #fff;
  --bs-btn-bg: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4d4d4d;
  --bs-btn-hover-border-color: #4d4d4d;
  --bs-btn-focus-shadow-rgb: 38, 38, 38;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: gray;
  --bs-btn-active-border-color: gray;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #000000;
  --bs-btn-disabled-border-color: #000000;
 }
 
  #shopify-pc__prefs__header-decline {
   border: 2px solid #000;
   border-radius:8px;
   font-size:min(0.8rem, 16px);
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 8px 16px !important;
  --bs-btn-color: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(0, 0, 0, 0.2);
  --bs-btn-hover-border-color: #000000;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: rgba(0, 0, 0, 0.4);
  --bs-btn-active-border-color: #000000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #000000;
  --bs-gradient: none;
 }

 #shopify-pc__prefs__header-save {
  border: 2px solid #000;
  border-radius:8px;
  font-size:min(0.8rem, 16px);
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 8px 16px !important;
  --bs-btn-color: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(0, 0, 0, 0.2);
  --bs-btn-hover-border-color: #000000;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: rgba(0, 0, 0, 0.4);
  --bs-btn-active-border-color: #000000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #000000;
  --bs-gradient: none;
  text-transform: capitalize
 }

#shopify-pc__prefs__essential-input, #shopify-pc__prefs__preferences-input, #shopify-pc__prefs__marketing-input, #shopify-pc__prefs__analytics-input {
  color: var(--OG-CS-Gray-Gray-4, #545454);
    /* 🟢 BODY/b-sm/fw-bold */
  font-family: var(--body-sm-reg-font-family, 'HKGP');
  font-size: var(--body-sm-reg-font-size, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--body-sm-reg-line-height, 24px); /* 150% */
}

.shopify-pc__prefs__option label {
  color: var(--OG-CS-Gray-Gray-4, #545454);
  margin:0;
  gap:12px;
/* 🟢 BODY/b-sm/fw-bold */
font-family: var(--body-sm-reg-font-family, "HKGP");
font-size: var(--body-sm-reg-font-size, 16px) !important;
font-style: normal;
font-weight: 700;
line-height: var(--body-sm-reg-line-height, 24px) !important; /* 150% */
}
.shopify-pc__prefs__option p {
  color: #000;
  font-family: var(--body-sm-reg-font-family, 'HKGP');
  font-size: var(--body-sm-reg-font-size, 16px) !important;
  font-style: normal;
  padding: 0 0 0 35px;
}

.shopify-pc__prefs__intro h3, .shopify-pc__prefs__intro-main h3, .shopify-pc__prefs__intro-explain-accept h3 {
  color: var(--OG-CS-Gray-Gray-4, #545454);
  /* 🟢 BODY/b-sm/fw-bold */
  font-family: var(--body-sm-reg-font-family, 'HKGP');
  font-size: var(--body-sm-reg-font-size, 16px) !important ;
  font-style: normal;
  font-weight: 700;
  line-height: var(--body-sm-reg-line-height, 24px) !important ; /* 150% */
  margin:0;
}

.shopify-pc__prefs__intro ul li {
    margin: 0 0 0 1.7rem;
}

.shopify-pc__prefs__intro p, .shopify-pc__prefs__intro ul li, .shopify-pc__prefs__options p {
  color: var(--Base-Black, #000);
  /* 🟢 BODY/b-sm/fw-reg */
  font-family: var(--body-sm-reg-font-family, "HKGP");
  font-size: var(--body-sm-reg-font-size, 16px) !important;
  font-style: normal;
  font-weight: 400;
  line-height: var(--body-sm-reg-line-height, 24px) !important; /* 150% */
}

/* END PREFERENCES */
.shopify-pc__banner__btns-granular :nth-child(1) {
  order: 1;
}
.shopify-pc__banner__btns-granular :nth-child(3) {
  order: 2;
}
.shopify-pc__banner__btns-granular :nth-child(2) {
  order: 3;
}

.shopify-pc__banner {
  opacity: 0;
  animation-name: fade-in-cookie-box;
  animation-duration: 1s;
  animation-delay: 4s;
}

.shopify-pc__banner__dialog {
  position: fixed;
  z-index: 2000000;
  box-shadow: 0px 4px 10px rgb(63 63 68 / 40%);
  /* max-height: 90%; */
  height: auto;
  box-sizing: border-box;
  opacity: 1;
  padding: 0 min(20px, 1rem);
  background-color: #f4f5f7;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border: none;
  border-radius: 12px;
  text-align: left;
  bottom: 4%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: 100%;
  max-width: 1224px;
  /* margin: 0; */
}

.shopify-pc__banner__wrapper {
  display: flex;
  /* align-items: center; */
  /* justify-content: space-between; */
  /* flex-direction: column; */
}

.shopify-pc__banner__dialog h2 {
  color: #0089fa;
  font-family: inherit;
  font-size: min(16px, 0.8rem) !important;
  margin: 0;
  line-height: 1.2rem !important;
  padding: 0.8rem 0 0 0 !important;
  font-weight: bold !important;
}

.shopify-pc__banner__dialog p {
  color: #000000;
  font-family: inherit;
  font-size: min(16px, 0.8rem) !important;
  line-height: 1.2rem !important;
  margin: 0;
  padding: 0 0 1rem 0;
}

.shopify-pc__banner__dialog a {
  color: #000000;
  text-decoration: underline;
  text-decoration-color: #0089fa;
}

.shopify-pc__banner__dialog button.shopify-pc__banner__btn-manage-prefs {
  text-decoration: underline;
  padding: 0;
  font-size: min(16px, 0.8rem) !important;
  background: transparent;
  border: none;
  color: #000000;
  font-weight: 700;
}

.shopify-pc__banner__dialog button.shopify-pc__banner__btn-accept {
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font-weight: 700;
  padding: 8px 16px !important;
  --bs-btn-color: #fff;
  --bs-btn-bg: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4d4d4d;
  --bs-btn-hover-border-color: #4d4d4d;
  --bs-btn-focus-shadow-rgb: 38, 38, 38;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: gray;
  --bs-btn-active-border-color: gray;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #000000;
  --bs-btn-disabled-border-color: #000000;
}

.shopify-pc__banner__dialog button.shopify-pc__banner__btn-decline {
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 8px 16px !important;
  --bs-btn-color: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(0, 0, 0, 0.2);
  --bs-btn-hover-border-color: #000000;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: rgba(0, 0, 0, 0.4);
  --bs-btn-active-border-color: #000000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #000000;
  --bs-gradient: none;
}

 .shopify-pc__banner__dialog button {
  border: unset;
  text-decoration: unset;
  font-family: inherit;
  padding: unset;
  margin-top: unset;
  margin: 0;
  font-size: unset;
  flex-basis: unset;
  border-radius: unset;
  line-height: unset;
  height: unset;
  text-align: unset;
  /* --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 0.6rem; */
  --bs-btn-font-family: ;
  --bs-btn-font-size: min(16px, 0.8rem);
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: 2px;
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem
    rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.shopify-pc__banner__body {
  margin-right: 0;
  margin-bottom: 0;
}

.shopify-pc__banner__btns {
  display: flex;
  min-width: auto;
  flex-direction: unset;
  justify-content: flex-end;
  gap: 24px;
}

@media only screen and (min-width: 768px) {
  .shopify-pc__banner__wrapper {
    flex-direction: unset;
  }
  .shopify-pc__banner__body {
    margin-right: 0;
    margin-bottom: unset;
    width: auto;
  }
  .shopify-pc__banner__btns {
    min-width: auto;
    width: auto;
    flex-direction: unset;
    justify-content: start;
  }
}

@media only screen and (max-width: 480px) {
  .shopify-pc__banner__btns {
    flex-direction: unset;
    gap: 20px;
  }
  .shopify-pc__banner__btns-granular :nth-child(1) {
    order: 1;
  }
  .shopify-pc__banner__btns-granular :nth-child(3) {
    order: 2;
  }
  .shopify-pc__banner__btns-granular :nth-child(2) {
    order: 3;
  }
}

@media (max-width: 767px) {
  .shopify-pc__banner__dialog {
    position: fixed;
    z-index: 2000000;
    box-shadow: 0 4px 10px #3f3f4466;
    height: auto;
    box-sizing: border-box;
    opacity: 1;
    padding: 16px;
    background-color: #f4f5f7;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: none;
    border-radius: 8px;
    text-align: left;
    bottom: 4%;
    left: unset;
    transform: unset;
    width: auto !important;
    margin: 0 1.6rem;
  }

  .shopify-pc__banner__dialog h2 {
    color: #0089fa;
    font-family: inherit;
    font-size: min(14px, 0.88rem) !important;
    margin: 0;
    line-height: 1.2rem !important;
    padding: 0 !important;
    font-weight: bold !important;
  }
  .shopify-pc__banner__dialog p {
    color: #000000;
    font-family: inherit;
    font-size: min(14px, 0.88rem) !important;
    line-height: 1.2rem !important;
    margin: 0;
    padding: 0 3rem 1rem 0;
  }

  .shopify-pc__banner__btns {
    /* display: flex; */
    min-width: auto;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    /* flex-direction: row-reverse; */
  }
}
