/* Clinic typography and chrome controls, shared across the independent shop. */
@font-face {
  font-family: "Mona Sans Variable";
  src: url('/assets/e59cf54669a4-67bc6274c5b4108b123aa4d5_MonaSans-VariableFont_wdth-wght.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --drg-control-ink: #112c46;
  --drg-control-rim: linear-gradient(128deg, #737782 0%, #fff 21%, #898c9d 33%, #b8bcc8 49%, #e5e9f1 68%, #fff 79%, #8b929c 100%);
  --drg-control-surface: linear-gradient(180deg, #203e59, #112c46);
  --drg-control-light: linear-gradient(180deg, #fff, #f8f8f8);
  --drg-clinic-font: "Mona Sans Variable", Arial, sans-serif;
}

/* The logo and three controls float individually, like the clinic header. */
.site-header {
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  min-height: 64px;
  gap: 20px;
  color: var(--drg-control-ink);
  font-family: var(--drg-clinic-font);
  pointer-events: none;
}
.site-header :is(a, button, .language-switch) { pointer-events: auto; }
.site-header .nav-island,
.site-header.is-scrolled .nav-island {
  flex: none;
  min-height: 56px;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  color: var(--drg-control-ink);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header .wordmark { flex: none; width: 144px; min-height: 52px; gap: 0; }
.site-header .store-brand-logo { display: block; width: 144px; height: 53px; object-fit: contain; }
.site-header .nav-actions, .site-header.is-scrolled .nav-actions { gap: 12px; padding: 0; }
.site-header .desktop-nav, .site-header .account-link { display: none; }
.site-header.is-scrolled { top: max(12px, env(safe-area-inset-top)); }
.site-header.is-scrolled .wordmark {
  height: 56px;
  min-height: 0;
  padding: 4px 6px;
  border: 1px solid #ffffff9c;
  border-radius: 8px;
  background: #ffffffed;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header.is-scrolled .store-brand-logo { width: 100%; max-height: 100%; }

.button, .commerce-button, .commerce-small-button, .product-add-button.button {
  --drg-button-fill: var(--drg-control-surface);
  border: 2px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: var(--drg-button-fill) padding-box, var(--drg-control-rim) border-box;
  box-shadow: 0 1px 1px #fff2 inset, 0 3px 7px #112c4614;
  font-family: var(--drg-clinic-font);
  font-weight: 650;
  transition: box-shadow .18s ease, transform .18s ease;
  touch-action: manipulation;
}
.button:hover, .commerce-button:hover, .commerce-small-button:hover,
.product-add-button.button:hover:not(:disabled) {
  border-color: transparent;
  background: var(--drg-button-fill) padding-box, var(--drg-control-rim) border-box;
  box-shadow: 0 1px 1px #fff4 inset, 0 6px 14px #112c4624;
  transform: translateY(-1px);
}
.button:active, .commerce-button:active, .commerce-small-button:active,
.product-add-button.button:active:not(:disabled) { transform: translateY(0); box-shadow: 0 1px 4px #0002 inset; }
.button-light, .commerce-small-button {
  --drg-button-fill: var(--drg-control-light);
  color: var(--drg-control-ink);
}
.button-light:hover, .commerce-small-button:hover { color: var(--drg-control-ink); }
.shop-tile .button-light {
  --drg-button-fill: var(--drg-control-surface);
  color: #fff;
  background: var(--drg-button-fill) padding-box, var(--drg-control-rim) border-box;
}
.shop-tile .button-light:hover { background: var(--drg-button-fill) padding-box, var(--drg-control-rim) border-box; }
.product-add-button.button:disabled {
  border-color: #e2e8ef;
  background: #e9eef3;
  color: #647c91;
  box-shadow: none;
  transform: none;
}
.site-header .nav-cta, .site-header.is-scrolled .nav-cta {
  --drg-button-fill: linear-gradient(180deg, #1b1d18, #11120f);
  min-height: 56px;
  padding: 0 23px;
  gap: 11px;
  color: #fff;
  background: var(--drg-button-fill) padding-box, var(--drg-control-rim) border-box;
  box-shadow: inset 0 1px 0 #ffffff3d, 0 4px 12px #00000030;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-header .cart-icon { width: 21px; height: 21px; flex: none; }
.site-header .cart-link [data-cart-count] {
  min-width: 19px;
  height: 19px;
  margin-left: 1px;
  background: #ffffffed;
  color: var(--drg-control-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.site-header .language-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  gap: 5px;
  padding: 0 13px;
  border: 1px solid #102a4340;
  border-radius: 12px;
  background: #ffffffed;
  color: #102a43;
  box-shadow: 0 5px 18px #102a4322;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .language-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 44px;
  padding: 0;
  opacity: .48;
  color: #102a43;
  font: 700 12px/1 var(--drg-clinic-font);
  letter-spacing: .08em;
  text-decoration: none;
}
.site-header .language-switch .is-active { opacity: 1; color: #3675b2; text-decoration: none; }
.site-header .language-switch > span { color: #102a43; opacity: .28; font-size: 11px; }
.site-header .menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #11120f;
  background: var(--drg-control-light) padding-box, var(--drg-control-rim) border-box;
  box-shadow: 0 0 0 1px #102a431c;
  touch-action: manipulation;
}
.site-header .menu-toggle span { width: 22px; height: 1.5px; margin: 0; flex: none; transition: transform .2s ease, opacity .15s ease; }
.site-header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
.site-header :is(a, button):focus-visible,
.button:focus-visible, .commerce-button:focus-visible, .commerce-small-button:focus-visible {
  outline: 3px solid #3c88c8;
  outline-offset: 4px;
}
.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 48;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 130px 30px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f7fbff;
  color: var(--drg-control-ink);
  font-family: var(--drg-clinic-font);
}
.mobile-menu > a, .mobile-menu > .button, .mobile-menu > .button:hover {
  flex: none;
  display: flex;
  justify-content: center;
  min-height: 48px;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--drg-control-ink);
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 750;
  letter-spacing: -.025em;
  text-transform: uppercase;
  transform: none;
}
.mobile-menu > a:last-child { font-size: 15px; margin-top: 24px; letter-spacing: .05em; font-weight: 600; }
.mobile-menu > a:hover { color: #3675b2; }
.mega-menu { top: 117px; border: 1px solid #dce6ee; border-radius: 14px; box-shadow: 0 18px 55px #112c461c; }
.mega-open:has(.site-header.is-scrolled) .mega-menu { top: 82px; }
.filters button, .dialog-close, .product-gallery-arrow { min-width: 44px; min-height: 44px; touch-action: manipulation; }

@media (max-width: 760px) {
  .site-header {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    gap: 12px;
    min-height: 50px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .site-header.is-scrolled { top: max(10px, env(safe-area-inset-top)); }
  .site-header .nav-island, .site-header.is-scrolled .nav-island { min-height: 48px; }
  .site-header .nav-actions, .site-header.is-scrolled .nav-actions { gap: 8px; }
  .site-header .store-brand-logo { width: 105px; height: 39px; }
  .site-header .wordmark { width: 105px; min-height: 44px; }
  .site-header.is-scrolled .wordmark { height: 48px; }
  .site-header .language-switch { height: 44px; padding: 0 7px; gap: 2px; border-radius: 10px; }
  .site-header .language-switch button { min-width: 25px; font-size: 10px; }
  .site-header .language-switch > span { font-size: 10px; }
  .site-header .nav-cta, .site-header.is-scrolled .nav-cta { min-height: 48px; padding: 0 12px; gap: 7px; font-size: 12px; letter-spacing: .08em; }
  .site-header .cart-icon { width: 20px; height: 20px; }
  .site-header .cart-link [data-cart-count] { min-width: 17px; height: 17px; font-size: 9px; }
  .site-header .menu-toggle { width: 48px; height: 48px; min-width: 48px; }
  .mobile-menu { padding: 115px 22px 36px; gap: 15px; }
}
@media (max-width: 540px) {
  .site-header .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .site-header .nav-cta, .site-header.is-scrolled .nav-cta { gap: 6px; padding: 0 10px; }
}
@media (max-width: 380px) {
  .site-header { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); gap: 8px; }
  .site-header .store-brand-logo { width: 82px; height: 31px; }
  .site-header .wordmark { width: 82px; }
  .site-header.is-scrolled .wordmark { height: 44px; }
  .site-header .nav-actions, .site-header.is-scrolled .nav-actions { gap: 6px; }
  .site-header .language-switch { padding: 0 5px; }
  .site-header .nav-cta, .site-header.is-scrolled .nav-cta { padding: 0 8px; min-height: 44px; }
  .site-header .menu-toggle { width: 44px; height: 44px; min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .commerce-button, .commerce-small-button, .site-header, .site-header .nav-island, .site-header .menu-toggle span { transition: none; }
  .button:hover, .commerce-button:hover, .commerce-small-button:hover, .product-add-button.button:hover:not(:disabled) { transform: none; }
}

/* Clinic liquid metal + per-character roll; initialized by header-effects.js. */
body .drg-store-fx {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body :is(.button, .commerce-button, .commerce-small-button).drg-store-fx,
body .site-header .menu-toggle.drg-store-fx {
  border: 0;
  background: transparent;
}
body :is(.button, .commerce-button, .commerce-small-button).drg-store-fx:hover {
  background: transparent;
  transform: none;
  box-shadow: inset 0 1px 0 #ffffff52, 0 0 0 1px #ffffff38, 0 8px 16px #00000030;
}
.drg-store-metal {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(128deg, #737782 0%, #fff 21%, #898c9d 33%, #11120f 49%, #e5e9f1 68%, #fff 79%, #8b929c 100%);
}
.drg-store-metal canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.drg-store-metal-fill {
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 6px;
  background: var(--drg-button-fill, var(--drg-control-light));
  pointer-events: none;
  transition: box-shadow .15s ease;
}
body .drg-store-fx > :not(.drg-store-metal):not(.drg-store-metal-fill):not(.drg-store-metal-ripple) { position: relative; z-index: 2; }
body .site-header .cart-label { position: relative; }
body .site-header .menu-toggle.drg-store-fx > span:not(.drg-store-metal):not(.drg-store-metal-fill):not(.drg-store-metal-ripple) { background: currentColor; }
body .site-header .menu-toggle .drg-store-metal,
body .site-header .menu-toggle .drg-store-metal-fill,
body .site-header .menu-toggle .drg-store-metal-ripple { width: auto; height: auto; margin: 0; flex: none; transform: none; }
body .site-header .menu-toggle .drg-store-metal { opacity: .55; }
body .site-header .menu-toggle .drg-store-metal-fill { background: var(--drg-control-light); }
body .site-header .cart-link .drg-store-metal { opacity: .9; }
body .site-header .wordmark.drg-store-fx { overflow: visible; }
body .site-header .wordmark .drg-store-logo-metal {
  inset: 0;
  z-index: 3;
  border-radius: 0;
  mask: url('/media/drgsmile-g-mask.svg') center / 100% 100% no-repeat;
  -webkit-mask: url('/media/drgsmile-g-mask.svg') center / 100% 100% no-repeat;
}
body .site-header.is-scrolled .wordmark .drg-store-logo-metal { inset: 4px 6px; }
body .drg-store-fx:active > .drg-store-metal-fill { box-shadow: inset 0 1px 3px #00000040; }
body .drg-store-fx:disabled > .drg-store-metal-fill { background: #e9eef3; }
body .drg-store-fx:disabled .drg-store-metal { opacity: .3; }
.drg-fx-label { display: inline-block; overflow: hidden; line-height: 1.2; }
.drg-fx-label-visual { display: inline; }
.drg-fx-word { display: inline-block; white-space: nowrap; }
.drg-fx-char {
  display: inline-block;
  text-shadow: 0 1.2em currentColor;
  transition: transform .6s cubic-bezier(.215,.61,.355,1);
  transition-delay: var(--drg-char-delay, 0ms);
}
.drg-store-fx.is-drg-hover .drg-fx-char,
.drg-store-fx:focus-visible .drg-fx-char { transform: translateY(-100%); }
.drg-fx-arrow { display: inline-flex; width: 18px; height: 18px; flex: none; margin-left: 8px; }
.drg-fx-arrow svg { display: block; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.215,.61,.355,1); }
.drg-store-fx.is-drg-hover .drg-fx-arrow svg,
.drg-store-fx:focus-visible .drg-fx-arrow svg { transform: translateX(3px) rotate(-32deg); }
.drg-store-metal-ripple {
  position: absolute;
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff73, transparent 70%);
  pointer-events: none;
  animation: drg-store-ripple .6s ease-out forwards;
}
@keyframes drg-store-ripple {
  from { transform: translate(-50%,-50%) scale(0); opacity: .6; }
  to { transform: translate(-50%,-50%) scale(6); opacity: 0; }
}
@media (max-width: 540px) {
  body .site-header .cart-label { position: absolute; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .drg-fx-char, .drg-fx-arrow svg { transition: none; }
  .drg-store-fx.is-drg-hover .drg-fx-char,
  .drg-store-fx:focus-visible .drg-fx-char,
  .drg-store-fx.is-drg-hover .drg-fx-arrow svg,
  .drg-store-fx:focus-visible .drg-fx-arrow svg { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .drg-store-metal-ripple { display: none; }
}

body .site-header .menu-toggle.drg-store-fx .drg-fx-menu-line { opacity: 1; transform: none; }
body .site-header .menu-toggle.drg-store-fx[aria-expanded="true"] .drg-fx-menu-line-1 { transform: translateY(6.5px) rotate(45deg); }
body .site-header .menu-toggle.drg-store-fx[aria-expanded="true"] .drg-fx-menu-line-2 { opacity: 0; }
body .site-header .menu-toggle.drg-store-fx[aria-expanded="true"] .drg-fx-menu-line-3 { transform: translateY(-6.5px) rotate(-45deg); }

/* Keep injected effect layers outside the original nth-child hamburger rules. */
body .site-header .menu-toggle.drg-store-fx[aria-expanded] > .drg-store-metal {
  opacity: .55;
  transform: none;
  background: linear-gradient(128deg, #737782 0%, #fff 21%, #898c9d 33%, #11120f 49%, #e5e9f1 68%, #fff 79%, #8b929c 100%);
}
body .site-header .menu-toggle.drg-store-fx[aria-expanded] > .drg-store-metal-fill { opacity: 1; transform: none; }
body .site-header .menu-toggle.drg-store-fx[aria-expanded] > .drg-store-metal-ripple {
  width: 30px;
  height: 30px;
  opacity: 1;
  background: radial-gradient(circle, #ffffff73, transparent 70%);
}
