/* ==============================================================================
   Glossier Privacy Policy Stylesheet (glossier_policy.css)
   1:1 Pixel-Perfect Match with https://www.glossier.com/policies/privacy-policy
   ============================================================================== */

.gl-policy-page {
  font-family: Apercu, "Gill Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  width: 100%;
  margin-top: calc(var(--gl-promo-height, 32px) + var(--gl-header-height, 40px));
  padding-top: 40px;
  padding-bottom: 80px;
  box-sizing: border-box;
  overflow-x: hidden;
  min-height: calc(100vh - 72px);
}

@media screen and (max-width: 767px) {
  .gl-policy-page {
    margin-top: calc(var(--gl-promo-height, 24px) + var(--gl-header-height, 40px));
    padding-top: 24px;
    padding-bottom: 56px;
  }
}

.gl-policy-page .shopify-policy__container {
  max-width: 585px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.gl-policy-page .shopify-policy__title {
  text-align: center;
  margin-bottom: 32px;
}

.gl-policy-page .shopify-policy__title h1 {
  font-family: Apercu, "Gill Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  color: #000000;
  letter-spacing: -0.01px;
  margin: 0;
  padding: 0;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .gl-policy-page .shopify-policy__title h1 {
    font-size: 26px;
    line-height: 1.25;
  }
}

.gl-policy-page .shopify-policy__body {
  font-family: Apercu, "Gill Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000000;
  text-align: start;
}

.gl-policy-page .rte {
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
}

.gl-policy-page .rte p {
  font-family: Apercu, "Gill Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 16px 0;
  letter-spacing: normal;
}

.gl-policy-page .rte p.c7 {
  margin-bottom: 4px;
}

.gl-policy-page .rte .c9.c12 {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
}

.gl-policy-page .rte .c9 {
  font-weight: 600;
}

.gl-policy-page .rte a,
.gl-policy-page .rte .c3 {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}

.gl-policy-page .rte a:hover,
.gl-policy-page .rte .c3:hover {
  opacity: 0.7;
}

.gl-policy-page .gl-policy-nav {
  line-height: 1.8;
  margin-bottom: 24px;
}

.gl-policy-page .gl-policy-heading {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 0;
  border-top: none;
}

.gl-policy-page .gl-policy-heading:first-of-type {
  margin-top: 28px;
  border-top: none;
  padding-top: 0;
}

.gl-policy-page .gl-policy-heading .c8 {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.gl-policy-page .gl-policy-subheading {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 8px;
}

.gl-policy-page .gl-policy-subheading .c9 {
  font-weight: 600;
}

.gl-policy-page .rte ul {
  padding-left: 20px;
  margin: 0 0 16px 0;
  list-style-type: disc;
}

.gl-policy-page .rte li {
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 8px;
}

html {
  scroll-behavior: smooth;
}

.gl-policy-page [id],
.gl-policy-page .gl-policy-heading {
  scroll-margin-top: 88px;
}

@media screen and (max-width: 767px) {
  .gl-policy-page [id],
  .gl-policy-page .gl-policy-heading {
    scroll-margin-top: 76px;
  }
}

.gl-policy-page .rte li:last-child {
  margin-bottom: 0;
}

.gl-info-highlight-box {
  background-color: #faf2f4;
  border-left: 3px solid #000000;
  border-radius: 4px;
  padding: 20px 22px;
  margin: 24px 0 28px;
  box-sizing: border-box;
}

.gl-info-highlight-title {
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 6px 0 !important;
  line-height: 1.4;
}

.gl-info-highlight-text {
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  margin: 0 !important;
}

.gl-faq-group {
  margin: 12px 0 28px;
  border-top: 1px solid #000000;
  width: 100%;
}

.gl-faq-item {
  border-bottom: 1px solid #e8e8e8;
  width: 100%;
}

.gl-faq-item__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #000000;
  transition: color 0.15s ease;
  outline: none;
}

.gl-faq-item__btn:hover {
  color: #555555;
}

.gl-faq-item__title {
  padding-right: 16px;
  flex: 1;
}

.gl-faq-item__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gl-faq-item__icon::before,
.gl-faq-item__icon::after {
  content: "";
  position: absolute;
  background-color: #000000;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gl-faq-item__icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 1.5px;
}

.gl-faq-item__icon::after {
  top: 0;
  left: 7px;
  width: 1.5px;
  height: 16px;
}

.gl-faq-item.is-open .gl-faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.gl-faq-item__content {
  display: none;
  padding: 0 0 16px 0;
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.gl-faq-item__content p {
  margin: 0 0 10px 0;
}

.gl-faq-item__content p:last-child {
  margin-bottom: 0;
}

.gl-faq-item.is-open .gl-faq-item__content {
  display: block;
}

.gl-contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0 32px;
  width: 100%;
}

.gl-contact-card {
  background-color: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 18px 20px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.gl-contact-card:hover {
  border-color: #000000;
}

.gl-contact-card__badge {
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #666666;
  margin: 0 0 6px 0 !important;
}

.gl-contact-card__title {
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 6px 0 !important;
  line-height: 1.3;
}

.gl-contact-card__desc {
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #555555;
  margin: 0 0 10px 0 !important;
}

.gl-contact-card__link {
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gl-contact-form {
  margin: 20px 0 36px;
  width: 100%;
}

.gl-contact-form__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

@media screen and (max-width: 600px) {
  .gl-contact-form__row {
    flex-direction: column;
    gap: 12px;
  }
}

.gl-contact-form__group {
  flex: 1;
  margin-bottom: 12px;
}

.gl-contact-input,
.gl-contact-select,
.gl-contact-textarea {
  width: 100%;
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 14px;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 12px 14px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.gl-contact-input {
  height: 49px;
}

.gl-contact-select {
  height: 49px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.gl-contact-textarea {
  resize: vertical;
  min-height: 110px;
}

.gl-contact-input:focus,
.gl-contact-select:focus,
.gl-contact-textarea:focus {
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
}

.gl-contact-form__disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: #666666;
  margin: 8px 0 16px !important;
}

.gl-contact-form__disclaimer a {
  color: #000000;
  text-decoration: underline;
}

.gl-contact-submit-btn {
  width: 100%;
  height: 49px;
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-contact-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-family: Apercu, "Gill Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.gl-contact-feedback--success {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
}
