/* Additions on top of the real PureChems CSS. */
:root { --font-body: "Montserrat", system-ui, sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace; }
html:not([data-bw]) [data-bw-only] { display: none !important; }
html[data-bw] [data-normal] { display: none !important; }
body { font-family: var(--font-body); }
[hidden] { display: none !important; }
img { max-width: 100%; }
/* catalog sidebar links styled like the buttons */
.cat-group a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: inherit; text-decoration: none; font-size: 14px; }
.cat-group a.on, .cat-group a:hover { background: #efe9fb; color: var(--ink, #1a1446); }
.cat-group a span { color: #a7a3b8; font-size: 12px; }
.card-img img { object-fit: cover; }
.pdp-img img { width: 100%; height: 100%; object-fit: cover; }
.card-add[disabled], .btn[disabled] { opacity: .5; cursor: not-allowed; }
.pdp-sub { color: #4a4660; margin: 8px 0 12px; }
.pdp-attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pdp-tag { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: #efe9fb; }
.stars { display: inline-flex; color: #f5a623; }
.rev-wall { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rev { margin: 0; padding: 18px; border: 1px solid #ebe7f2; border-radius: 14px; }
.rev blockquote { margin: 8px 0; }
.rev figcaption { font-size: 13px; color: #7a7690; }
.pdp-block { margin: 40px 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { text-align: left; width: 34%; padding: 12px 8px 12px 0; vertical-align: top; }
.spec-table td, .spec-table th { border-bottom: 1px solid #ebe7f2; }
.spec-table td { padding: 12px 0; }
.pdp-qa { margin-bottom: 18px; }
.crumbs { margin: 18px 0; font-size: 13px; color: #7a7690; }
.crumbs a { color: inherit; }
.rt-steps { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.rt-step { display: grid; gap: 8px; text-decoration: none; color: inherit; padding: 12px; border: 1px solid #ebe7f2; border-radius: 14px; background: #fff; }
.rt-ph { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.rt-ph img { width: 100%; height: 100%; object-fit: cover; }
.rt-t { display: grid; gap: 2px; } .rt-n { font-size: 12px; color: #5b4ae0; font-weight: 700; } .rt-t small { color: #7a7690; }
.rt-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.rt-list li { display: flex; justify-content: space-between; gap: 12px; }
.set-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tiers-vis { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.tv { position: relative; border: 1px solid #ebe7f2; border-radius: 16px; padding: 22px 16px; background: #fff; text-align: center; display: grid; gap: 6px; }
.tv.best { border-color: #5b4ae0; }
.tv-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #5b4ae0; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.tv-packs { display: flex; justify-content: center; gap: 4px; } .tv-packs i { width: 12px; height: 28px; border-radius: 4px; background: #d9cef6; }
.tv-p { font-size: 34px; font-weight: 800; } .tv-p small { font-size: 16px; } .tv-q { font-weight: 700; } .tv-n { color: #7a7690; font-size: 13px; }
.hx-group { width: 100%; height: auto; max-height: 520px; object-fit: contain; position: relative; }
.final-photo { max-width: 380px; width: 100%; height: auto; display: block; margin: 20px auto 0; }
.pg-lead { font-size: 18px; color: #4a4660; }
.pt-facts { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 20px 0; }
.pt-facts li { padding: 14px; border: 1px solid #ebe7f2; border-radius: 12px; display: grid; }
.cf { display: grid; gap: 14px; } .cf label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.cf input, .cf select, .cf textarea { font: inherit; padding: 12px; border: 1px solid #dcd6ea; border-radius: 10px; min-height: 44px; }
.cf textarea { min-height: 120px; } .cf-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ct-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr; } .ct-card { padding: 24px; border: 1px solid #ebe7f2; border-radius: 16px; }
.blog-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bc-link { text-decoration: none; color: inherit; display: block; } .bc-img { aspect-ratio: 16/10; overflow: hidden; border-radius: 14px; background: #f1f2f8; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; } .blog-topics button { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid #dcd6ea; background: #fff; }
.blog-topics button[aria-pressed="true"] { background: #1a1446; color: #fff; }
.guide-list ul { list-style: none; padding: 0; } .guide-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid #ebe7f2; }
.drawer .empty { display: grid; gap: 14px; justify-items: start; padding: 24px 0; }
.drawer .line-price small { display: block; color: #a7a3b8; }
.qty button { min-width: 44px; min-height: 44px; }
.line-remove { min-height: 44px; }
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .ct-grid, .tiers-vis { grid-template-columns: 1fr; }
  .tiers-vis { gap: 20px; }
  body { overflow-x: hidden; }
}
@media (max-width: 760px) {
  .nav-item, .mobile-menu a, .ft-col a, .ft-mail, .card-add, .bulk-row, .stepper button { min-height: 44px; }
  .ft-col a, .ft-mail, .mobile-menu a { display: inline-flex; align-items: center; }
  .legal a[href^="mailto"], .ct-aside a, .guide-list a { display: inline-block; min-height: 44px; line-height: 44px; }
}
.how-steps { display: grid; gap: 16px; margin-top: 20px; }
.how-step { display: flex; gap: 14px; align-items: flex-start; }
.how-step .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #5b4ae0; color: #fff; display: grid; place-items: center; font-weight: 800; }
.how-step h3 { margin: 0 0 4px; font-size: 17px; } .how-step p { margin: 0; color: #4a4660; }
.how { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
.how-vis img { width: 100%; border-radius: 20px; display: block; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
.rt-list li { padding: 2px 0; }
.set-f small { display: block; }
html:not([data-bw]) .card-img .badge-off + .stock { top: 8px; inset-inline-end: 8px; inset-inline-start: auto; }
@media (min-width: 761px) { html:not([data-bw]) .card-img .badge-off + .stock { top: 12px; inset-inline-end: 12px; } }
/* content pages (classes coming from the copy files) */
.shop-h { padding: 56px 0 24px; background: linear-gradient(180deg, #f7f3fb, #fff); }
.shop-h h1, .contact-pg h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; margin: 8px 0 14px; letter-spacing: -.02em; }
.shop-h .lead, .contact-pg .lead { font-size: 18px; color: #4a4660; max-width: 60ch; }
.pc-read { max-width: 760px; margin-inline: auto; }
.shop-h .wrap > .eyebrow, .shop-h .wrap > h1, .shop-h .wrap > .lead { max-width: 760px; margin-inline: auto; }
.content-pg em.g { font-style: normal; background: linear-gradient(90deg, #5b4ae0, #8a3ffc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.content-pg .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: #5b4ae0; margin: 0; }
.content-pg .crumbs { font-size: 13px; color: #7a7690; margin: 0 0 14px; }
.content-pg .crumbs a { color: inherit; }
.pc-by { color: #7a7690; font-size: 14px; }
.pc-doc { font-size: 17px; line-height: 1.7; color: #2c3150; padding: 24px 0; }
.pc-doc h2 { font-size: 26px; margin: 36px 0 10px; color: #1a1446; }
.pc-doc h3 { font-size: 20px; margin: 26px 0 8px; color: #1a1446; }
.pc-doc p, .pc-doc ul, .pc-doc ol { margin: 0 0 16px; }
.pc-doc a { color: #5b4ae0; text-decoration: underline; text-underline-offset: 3px; }
.pc-doc img { max-width: 100%; height: auto; border-radius: 14px; }
.pc-tbl, .pc-doc table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.pc-tbl th, .pc-tbl td, .pc-doc th, .pc-doc td { padding: 10px 12px; border-bottom: 1px solid #ebe7f2; text-align: left; vertical-align: top; }
.pc-cta { margin: 24px 0 56px; }
.content-pg .btn.grad { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: #1a1446; color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.pc-sec { padding: 40px 0; }
.pc-h2 { font-size: 28px; margin: 0 0 16px; }
.pc-grid, .grid.pc-prods { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pc-card { display: grid; gap: 8px; padding: 20px; border: 1px solid #ebe7f2; border-radius: 16px; text-decoration: none; color: inherit; background: #fff; align-content: start; }
.pc-card:hover { border-color: #5b4ae0; }
.pc-card h3 { margin: 0; font-size: 18px; line-height: 1.3; } .pc-card p { margin: 0; color: #4a4660; font-size: 14.5px; }
.pc-tag { font-size: 12px; font-weight: 700; color: #5b4ae0; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #7a7690; margin-top: 6px; }
.pc-terms { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 12px 0 28px; }
.pc-terms > div { padding: 16px; border: 1px solid #ebe7f2; border-radius: 14px; display: grid; gap: 4px; }
.pc-terms small { color: #7a7690; } .pc-terms b { font-size: 16px; }
.pc-split { display: grid; gap: 32px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.pc-form-box, .contact-box { padding: 24px; border: 1px solid #ebe7f2; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px -20px rgba(11,15,38,.25); }
.pc-form-box h2, .pc-form-box h3 { margin-top: 0; }
.cform, .pform { display: grid; gap: 12px; }
.cform input:not([type=radio]), .pform input, .cform textarea, .pform textarea, .cform select, .pform select { font: inherit; width: 100%; padding: 12px 14px; border: 1px solid #dcd6ea; border-radius: 10px; min-height: 48px; box-sizing: border-box; background: #fff; }
.cform textarea, .pform textarea { min-height: 130px; }
.two, .pc-two-f { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; }
.topic span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #dcd6ea; border-radius: 99px; cursor: pointer; }
.topic input:checked + span { background: #1a1446; color: #fff; border-color: #1a1446; }
.sent { font-size: 14px; color: #17734a; }
.contact-pg { padding: 56px 0; }
.contact-g { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.cinfo { display: grid; gap: 14px; margin-top: 24px; } .cinfo small { display: block; color: #7a7690; } .cinfo a { color: #5b4ae0; }
.legal { padding-bottom: 56px; } .legal h2 { margin-top: 32px; } .legal p, .legal li { line-height: 1.7; }
@media (max-width: 760px) {
  .pc-split, .contact-g, .two, .pc-two-f { grid-template-columns: 1fr; }
  .shop-h { padding: 36px 0 12px; } .contact-pg { padding: 32px 0; }
  .content-pg .btn.grad, .contact-box button, .pc-form-box button { min-height: 48px; width: 100%; justify-content: center; }
  .pc-doc a[href^="mailto"], .cinfo a { display: inline-block; min-height: 44px; line-height: 44px; }
}
.pc-doc ul, .pc-doc ol { padding-left: 24px; }
.drawer .line-price { text-align: end; } .drawer .line-remove { display: block; margin-inline-start: auto; font-size: 13px; color: #7a7690; background: none; border: 0; cursor: pointer; padding: 0 0 0 8px; }
.drawer .line > div:nth-child(2) { display: grid; gap: 8px; align-content: start; min-width: 0; }
.drawer .line .qty { width: max-content; }
.drawer .line-price { display: grid; justify-items: end; align-content: start; gap: 2px; }
.drawer .line-remove { padding: 0; margin: 0; min-height: 44px; min-width: 44px; text-align: end; }
.drawer-body { overflow-x: hidden; }
.drawer .line-remove { padding: 0 !important; margin: 0 !important; min-width: 0 !important; justify-self: end; white-space: nowrap; }
.drawer .line { grid-template-columns: 64px minmax(0, 1fr) auto; }
.drawer .line { column-gap: 14px; }
@media (min-width: 900px) { .rt-steps { grid-template-columns: repeat(4, 1fr); } .routine { display: grid; gap: 20px; } }
html:not([data-bw]) .nav-sale, html:not([data-bw]) .mm-sale { display: none !important; }

/* tap targets on phones */
@media (max-width:640px){
  .icon-btn{min-width:44px;min-height:44px}
  .footer input,.footer button,form input[type=email],form input[type=text],form button{min-height:44px}
}

/* phone: keep Remove inside the drawer (phone.css puts it absolute at -8px) */
@media (max-width: 600px) { html .drawer .line-remove { position: static; inset: auto; width: auto; height: 44px; } }
.drawer .line .thumb { margin-inline-end: 12px; }
