/* Dermedics cookie consent — SANDBOX (Shopify) banner, measured at 1440px:
   banner 713px wide, centred at the bottom, white, padding 32px, radius 8px, shadow 0 4px 10px rgba(63,63,68,.4);
   title Poppins 600 16/20 #1F1F1F, text 14/21; buttons in a row 8px apart: "Manage preferences" as text 12px,
   Accept / Decline equal pills (1px #1F1F1F, 16px 32px, radius 50px, 10px text, 47px high).
   Preferences: modal 1008px, radius 8px, overlay rgba(0,0,0,.6), header 32 32 24, title 600 21px,
   categories with 24px square boxes, text indented 45px. */
.dc[hidden], .dc [hidden] { display: none !important; }
.dc { font-family: 'Poppins', sans-serif; color: #1f1f1f; }
.dc-banner {
  position: fixed; left: 50%; bottom: 0; z-index: 2147483000; transform: translateX(-50%);
  width: min(713px, 100%); box-sizing: border-box; padding: 32px;
  background: #ffffff; border-radius: 8px; box-shadow: 0 4px 10px rgba(63, 63, 68, 0.4);
}
.dc-banner__title { margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: 20px; color: #1f1f1f; }
.dc-banner__text { margin: 0 0 24px; font-size: 14px; line-height: 21px; color: #1f1f1f; }
.dc a { color: #1f1f1f; text-decoration: underline; text-underline-offset: .2em; }
.dc-banner__btns, .dc-prefs__btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dc-banner__btns .dc-btn { flex: 1 1 0; }
.dc-btn {
  box-sizing: border-box; min-height: 47px; padding: 16px 32px; border: 1px solid #1f1f1f; border-radius: 50px;
  background: #ffffff; color: #333333; font-family: 'Poppins', sans-serif; font-size: 10px; line-height: 12.5px;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.dc-btn:hover, .dc-btn:focus-visible { background: #1f1f1f; color: #ffffff; }
.dc-link {
  min-height: 47px; padding: 0 24px 0 0; border: 0; background: none; color: #333333;
  font-family: 'Poppins', sans-serif; font-size: 12px; line-height: 15px; text-decoration: underline; text-underline-offset: .25em; cursor: pointer;
}
.dc-prefs { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dc-prefs__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.dc-prefs__dialog {
  position: relative; width: min(1008px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: #ffffff; border-radius: 8px; box-shadow: 0 5px 10px rgba(63, 63, 68, 0.5);
}
.dc-prefs__header { position: relative; padding: 32px 32px 24px; border-bottom: 1px solid #ebebeb; }
.dc-prefs__title { margin: 0 0 24px; padding-right: 40px; font-size: 21px; font-weight: 600; line-height: 26px; color: #1f1f1f; }
.dc-prefs__close { position: absolute; top: 32px; right: 32px; width: 32px; height: 32px; padding: 4px; border: 0; border-radius: 50%; background: none; color: #1f1f1f; cursor: pointer; }
.dc-prefs__body { padding: 24px 32px 32px; }
.dc-prefs__intro-title { margin: 0 0 16px; font-size: 15.4px; font-weight: 600; line-height: 18px; }
.dc-prefs__intro { margin: 0 0 24px; font-size: 14px; line-height: 21px; }
.dc-cat { padding: 20px 0; border-top: 1px solid #ebebeb; }
.dc-cat__head { position: relative; display: flex; align-items: center; gap: 21px; font-size: 16px; line-height: 24px; cursor: pointer; }
.dc-cat__head small { font-size: 12px; color: #65706e; }
.dc-cat__head input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dc-cat__box { flex: 0 0 24px; width: 24px; height: 24px; box-sizing: border-box; border: 1px solid #1f1f1f; border-radius: 3px; background: #ffffff; }
.dc-cat__head input:checked + .dc-cat__box { background: #1f1f1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dc-cat__head input:disabled + .dc-cat__box { opacity: .5; }
.dc-cat__head input:focus-visible + .dc-cat__box { outline: 2px solid #1f1f1f; outline-offset: 2px; }
.dc-cat__text { margin: 4px 0 0; padding-left: 45px; font-size: 14px; line-height: 21px; color: #1f1f1f; }
@media (max-width: 749px) {
  .dc-banner { padding: 24px 16px 16px; border-radius: 8px 8px 0 0; }
  .dc-banner__btns { flex-direction: column; align-items: stretch; }
  .dc-banner__btns .dc-link { order: 3; min-height: 40px; padding: 0; }
  .dc-prefs { padding: 0; align-items: flex-end; }
  .dc-prefs__dialog { max-height: 100vh; border-radius: 8px 8px 0 0; }
  .dc-prefs__header, .dc-prefs__body { padding-left: 20px; padding-right: 20px; }
  .dc-prefs__btns .dc-btn { flex: 1 1 100%; }
}
