/** Shopify CDN: Minification failed

Line 18:0 Unexpected "{"
Line 18:1 Unexpected "{"
Line 18:3 Expected identifier but found "'tokens.css'"
Line 21:0 Unexpected "{"
Line 21:1 Unexpected "{"
Line 21:3 Expected identifier but found "'components.css'"

**/
/* ============================================================
   THE PURPLE HAZE — Shopify Theme
   Entry stylesheet. Import order matters: tokens first,
   then components, then theme-level additions.
   ============================================================ */

/* 1 — Design tokens (all CSS custom properties) */
{{ 'tokens.css' | asset_url | stylesheet_tag }}

/* 2 — Component classes (.ph-glass, .ph-btn, etc.) */
{{ 'components.css' | asset_url | stylesheet_tag }}

/*
  NOTE: The two lines above are Liquid — they are processed by
  theme.liquid, not this file. In this file we only add CSS rules
  that sit *on top of* tokens + components. Global resets and
  layout utilities live here.
*/

/* ============================================================
   RESET / GLOBAL
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

img, video, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

/* ============================================================
   LAYOUT CONTAINER
   max-width: 1320px, centered, 64px side gutters
   ============================================================ */
.ph-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 64px;
}

/* ============================================================
   SECTION WRAPPER
   Standard vertical rhythm for all page sections
   ============================================================ */
.ph-section {
  padding-block: var(--s-12);
  position: relative;
}

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s-4);
  padding: var(--s-2) var(--s-4);
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-8);
  font-size: var(--t-body-s);
  font-weight: var(--w-medium);
  z-index: calc(var(--z-age) + 10);
}
.skip-link:focus { top: var(--s-3); }

/* ============================================================
   VISUALLY HIDDEN (screen-reader only)
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   CART COUNT BADGE
   ============================================================ */
.ph-cart-count {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: var(--w-semibold);
  display: grid;
  place-items: center;
  line-height: 1;
  pointer-events: none;
}
.ph-cart-count[data-count="0"] { display: none; }

/* ============================================================
   ICON BUTTON (nav icons: search, account, cart)
   ============================================================ */
.ph-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--ink-700);
  cursor: pointer;
  transition: background var(--dur-quick) var(--ease-out),
              color var(--dur-quick) var(--ease-out);
}
.ph-icon-btn:hover {
  background: rgba(107,63,160,0.07);
  color: var(--purple-700);
}
.ph-icon-btn:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

/* ============================================================
   COOKIE BANNER (fixed bottom)
   ============================================================ */
.ph-cookie-banner {
  position: fixed;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--s-7) * 2);
  max-width: 760px;
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) var(--s-6);
  background: var(--glass-bg-nav);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-lg);
  font-size: var(--t-caption);
  color: var(--ink-600);
}
.ph-cookie-banner__actions { display: flex; gap: var(--s-2); flex-shrink: 0; }
.ph-cookie-banner[hidden] { display: none; }

/* ============================================================
   UTILITY — truncate, flex, grid helpers
   ============================================================ */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }

/* ============================================================
   RICH TEXT CONTENT (.ph-rte)
   Prose typography for page.content, product descriptions, etc.
   ============================================================ */
.ph-rte h2,
.ph-rte h3,
.ph-rte h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin-top: 2em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.ph-rte h2 { font-size: 28px; }
.ph-rte h3 { font-size: 22px; }
.ph-rte h4 { font-size: 18px; }

.ph-rte p { margin-bottom: 1em; }

.ph-rte a {
  color: var(--purple-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ph-rte ul,
.ph-rte ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.ph-rte li { margin-bottom: 0.4em; }

.ph-rte strong { font-weight: var(--w-semibold); color: var(--ink-800); }
.ph-rte em     { font-style: italic; }

.ph-rte blockquote {
  border-left: 3px solid var(--purple-300);
  padding-left: 1.2em;
  margin: 1.5em 0;
  color: var(--ink-500);
  font-style: italic;
}

.ph-rte img {
  border-radius: var(--r-16);
  margin-block: 1.5em;
}

.ph-rte hr {
  border: none;
  border-top: 1px solid var(--border-hairline);
  margin-block: 2em;
}
