@font-face {
  font-family: Rubik;
  src: url("fonts/rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #35134f;
  --purple: #42177c;
  --muted: #65536c;
  --cream: #fff9ef;
  --lime: #f0fa74;
  --pink: #ffb8d5;
  --lavender: #e3d5ff;
  --line: #dacbdc;
  --title-font: Rubik, "Arial Rounded MT Bold", system-ui, sans-serif;
  --bs-body-font-family: Inter, system-ui, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cream);
  --bs-link-color-rgb: 67, 23, 124;
  --bs-link-hover-color-rgb: 53, 19, 79;
  --bs-border-color: var(--line);
  --bs-emphasis-color: var(--ink);
}

html {
  scroll-padding-top: 95px;
}

body {
  min-width: 300px;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
}

p {
  line-height: 1.65;
}

address {
  font-style: normal;
}

a,
button {
  touch-action: manipulation;
}

:focus-visible,
.btn:focus-visible {
  outline: 3px solid #972663;
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

[hidden] {
  display: none !important;
}

.container-xxl {
  --bs-gutter-x: 2.5rem;
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 1rem;
  z-index: 1100;
  padding: .75rem 1rem;
  transform: translateY(-120%);
  background-color: var(--lime);
  color: var(--ink);
  border-radius: 0 0 .5rem .5rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--cream);
  border-bottom: 1px solid #ebdeea;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  padding: .25rem 0;
}

.brand img {
  object-fit: contain;
}

.nav-links {
  align-items: center;
  gap: clamp(1.3rem, 4vw, 4rem);
}

.nav-links a,
.footer-content > a:last-child {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.footer-content > a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  --bs-btn-border-radius: 999px;
  --bs-btn-font-weight: 750;
  --bs-btn-focus-box-shadow: none;
}

.btn-lime,
.btn-dark-purple {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: .82rem;
  --bs-btn-font-size: .98rem;
}

.btn-lime {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--lime);
  --bs-btn-border-color: var(--lime);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fffdb0;
  --bs-btn-hover-border-color: #fffdb0;
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: #e1ed56;
  --bs-btn-active-border-color: #e1ed56;
}

.btn-dark-purple,
.bag-toggle {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #532283;
  --bs-btn-hover-border-color: #532283;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #371058;
  --bs-btn-active-border-color: #371058;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--ink);
}

.bag-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .48rem .62rem .48rem .88rem;
  white-space: nowrap;
}

.bag-icon {
  position: relative;
  width: 15px;
  height: 13px;
  margin-top: 4px;
  border: 1.5px solid currentColor;
  border-radius: 2px 2px 4px 4px;
}

.bag-icon::before {
  position: absolute;
  top: -6px;
  left: 3px;
  width: 7px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
}

.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  padding: 0 .25rem;
  background: var(--lime);
  border-radius: 999px;
  color: var(--ink);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.mobile-menu {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
}

.mobile-menu:hover,
.mobile-menu.show {
  background: var(--lavender);
  border-color: var(--line);
}

.menu-icon {
  width: 17px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.menu-icon::after {
  content: "";
  position: absolute;
  inset: 3px 0 auto;
  border-top: 2px solid currentColor;
}

.mobile-nav .dropdown-menu {
  --bs-dropdown-min-width: 10rem;
  --bs-dropdown-bg: var(--cream);
  --bs-dropdown-link-hover-bg: var(--lavender);
  --bs-dropdown-link-active-bg: var(--ink);
  --bs-dropdown-link-color: var(--ink);
  box-shadow: 0 12px 34px #35134f16;
  border-radius: .9rem;
}

.dropdown-item {
  padding-block: .6rem;
  font-weight: 650;
}

.hero-section {
  padding-top: clamp(1rem, 2.6vw, 2.4rem);
}

.hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: clamp(410px, 37.5vw, 560px);
  overflow: hidden;
  border-radius: clamp(1.15rem, 2.5vw, 2.2rem);
  background: var(--purple);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.25rem, 4.1vw, 4.4rem);
  color: #fff9ef;
  background: radial-gradient(ellipse at 3% 100%, #62279e, transparent 76%), var(--purple);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6.05vw, 6.05rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.06em;
  word-spacing: .022em;
}

.hero h1 span {
  color: var(--lime);
}

.hero p {
  max-width: 31ch;
  margin: 1.45rem 0 1.75rem;
  color: #f3e8ff;
  font-size: clamp(1rem, 1.37vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.15rem;
  align-items: center;
}

.hero-secondary {
  padding-block: .55rem;
  color: #fff9ef;
  font-size: .94rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.hero-secondary:hover {
  color: var(--lime);
}

.hero :focus-visible,
.contact-section :focus-visible {
  outline-color: #fff;
}

.hero-picture {
  display: block;
  min-width: 0;
  min-height: 0;
  background: #c678ed;
}

.hero-picture img,
.mix-panel > img,
.snack-panel > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flavors-section {
  padding-top: clamp(1.6rem, 3.55vw, 3.25rem);
  padding-bottom: clamp(2.3rem, 5vw, 4rem);
}

.flavors-section h2 {
  margin-bottom: .85rem;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.05em;
}

.flavor-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: clamp(.5rem, 1.2vw, 1rem);
  padding: .5rem .8rem;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: clamp(.84rem, 1.32vw, 1.02rem);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.flavor-link:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  color: var(--ink);
}

.flavor-link img {
  width: clamp(38px, 4.4vw, 63px);
  height: auto;
  flex-shrink: 0;
  border-radius: .75rem;
}

.flavor-gummies { background: #ffd3e5; }
.flavor-sour { background: #fff5a4; }
.flavor-drops { background: #e3d5ff; }
.flavor-snacks { background: #dcefb0; }

.shop-section {
  padding-block: clamp(2.8rem, 6vw, 5.75rem);
  background: #fff0e5;
}

.display-heading {
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 5.35rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.072em;
  text-wrap: balance;
}

.display-heading span {
  color: #ac286b;
}

.shop-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.35rem 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem;
}

.filter-button {
  --bs-btn-font-size: .875rem;
  --bs-btn-color: var(--ink);
  --bs-btn-bg: #fffaf3;
  --bs-btn-border-color: #cfbacc;
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--lavender);
  --bs-btn-hover-border-color: #ac8bc7;
  padding: .62rem .9rem;
}

.filter-button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .5rem;
  border: 1px solid #e8d8db;
  border-radius: 1.25rem;
  background: #fffcf8;
}

.product-photo {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: .9rem;
  background: #ead9ef;
}

.product-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .24s ease;
}

@media (hover: hover) {
  .product-card:hover .product-photo img {
    transform: scale(1.045);
  }
}

.product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: .95rem .65rem .55rem;
}

.product-info h3 {
  margin-bottom: .35rem;
  font-size: clamp(1.04rem, 1.65vw, 1.29rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.038em;
}

.product-info p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.46;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  margin-top: auto;
}

.product-price {
  font-variant-numeric: tabular-nums;
}

.product-add {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--lavender);
  --bs-btn-border-color: var(--lavender);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--lime);
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-bg: var(--ink);
  --bs-btn-active-color: white;
  padding: .53rem .9rem;
  font-size: .9rem;
}

.mix-section {
  padding-top: clamp(2.8rem, 6.2vw, 5.8rem);
}

.snack-section {
  padding-top: clamp(1.25rem, 3vw, 2.7rem);
}

.mix-panel,
.snack-panel {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 365px;
  overflow: hidden;
  border-radius: clamp(1.1rem, 2.35vw, 2rem);
}

.mix-panel {
  background: var(--lime);
}

.snack-panel {
  grid-template-columns: 47% 53%;
  background: var(--pink);
}

.feature-copy {
  align-self: center;
  padding: clamp(2rem, 4.3vw, 4.4rem);
}

.feature-copy .display-heading {
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  text-wrap: initial;
}

.feature-copy p {
  max-width: 38ch;
  margin: 1rem 0 1.4rem;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.mix-picks {
  margin-bottom: 1.35rem;
  padding-left: 1.25rem;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.65;
}

#mix-price {
  padding-left: .4rem;
}

.faq-section {
  padding-block: clamp(3.6rem, 7.5vw, 7rem);
}

.faq-section p {
  margin: .95rem 0 0;
  color: var(--muted);
}

.faq-section a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.faq-section .accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: var(--lavender);
  --bs-accordion-bg: #f4eaf0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-focus-border-color: var(--purple);
  --bs-accordion-inner-border-radius: .9rem;
}

.faq-section .accordion-item,
.faq-section .accordion-button {
  border-radius: .9rem;
}

.faq-section .accordion-item {
  margin-bottom: .55rem;
}

.faq-section .accordion-button {
  padding: 1.15rem 1.2rem;
  gap: .8rem;
  font-size: 1.02rem;
  font-weight: 750;
}

.faq-section .accordion-button:focus-visible {
  outline: 3px solid #972663;
  outline-offset: 2px;
}

.faq-section .accordion-body {
  padding: 1rem 1.2rem 1.2rem;
  line-height: 1.65;
}

.contact-section {
  padding-block: clamp(3rem, 6.1vw, 5.75rem);
  background: var(--purple);
  color: var(--cream);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  align-items: center;
  gap: 1.8rem;
}

.contact-section .display-heading span {
  color: var(--lime);
}

.contact-content p {
  margin: .95rem 0 1.4rem;
  color: #f6e9ff;
}

.contact-details {
  min-width: min(100%, 278px);
  margin: 0;
  padding: 1.3rem 1.6rem;
  border: 1px solid #af91cd;
  border-radius: 1.1rem;
}

.contact-details p {
  margin: 0;
  line-height: 1.55;
}

.contact-details p + p {
  margin-top: 1.1rem;
}

.contact-label {
  display: block;
  margin-bottom: .2rem;
  color: var(--lime);
  font-size: .88rem;
  font-weight: 800;
}

.contact-details a {
  color: #fff9ef;
  font-weight: 650;
  text-underline-offset: 4px;
}

.site-footer {
  border-top: 1px solid #ebdeea;
}

.footer-content {
  min-height: 88px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1rem;
  padding-block: .65rem;
}

.footer-content .brand img {
  width: 91px;
}

.footer-content small {
  color: var(--muted);
  font-size: .88rem;
}

.bag-drawer {
  --bs-offcanvas-width: min(460px, 100vw);
  --bs-offcanvas-bg: var(--cream);
  --bs-offcanvas-color: var(--ink);
  --bs-offcanvas-padding-x: 1.35rem;
  --bs-offcanvas-padding-y: 1.15rem;
  overscroll-behavior: contain;
}

.offcanvas-header,
.modal-header {
  border-bottom: 1px solid var(--line);
}

.btn-close {
  padding: .65rem;
}

.offcanvas-title,
.modal-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 850;
  letter-spacing: -.055em;
}

.offcanvas-body {
  overscroll-behavior: contain;
}

.bag-list,
#review-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bag-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: start;
  gap: .72rem;
  padding-block: .83rem;
  border-bottom: 1px solid var(--line);
}

.bag-item:first-child {
  padding-top: 0;
}

.bag-item img {
  width: 58px;
  height: 58px;
  border-radius: .55rem;
}

.bag-item h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.line-price {
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

.quantity-and-remove,
.quantity-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .14rem;
}

.quantity-and-remove {
  gap: .18rem .55rem;
}

.quantity-button {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--lavender);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--lime);
  --bs-btn-disabled-color: var(--muted);
  --bs-btn-disabled-bg: #f4eaf0;
  width: 38px;
  height: 38px;
  padding: 0;
  line-height: 1;
}

.item-quantity {
  min-width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.text-button {
  --bs-btn-color: var(--purple);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--lavender);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remove-item {
  min-height: 38px;
}

.bag-footer {
  padding: 1.15rem 1.35rem max(1.15rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  font-size: 1rem;
}

.subtotal strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.fine-print {
  margin-block: .3rem .8rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.checkout-modal {
  --bs-modal-width: 590px;
  --bs-modal-padding: clamp(1rem, 3vw, 1.7rem);
  --bs-modal-header-padding: 1rem clamp(1rem, 3vw, 1.7rem);
  --bs-modal-bg: var(--cream);
  --bs-modal-border-radius: 1.2rem;
}

.checkout-modal .modal-body {
  overscroll-behavior: contain;
}

.checkout-note {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.form-label {
  margin-bottom: .25rem;
  font-size: .9rem;
  font-weight: 750;
}

.form-control {
  min-height: 44px;
  border-radius: .55rem;
  background: #fffdf9;
}

.form-control:focus {
  border-color: #8a52b8;
  box-shadow: 0 0 0 .18rem #c69af16b;
}

.checkout-total {
  margin-block: 1.1rem .8rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}

.review-summary {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: #fffdf9;
}

#review-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .4rem;
  font-size: .92rem;
}

#review-items li span:last-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.review-summary .subtotal {
  margin-top: .45rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
}

.review-address {
  margin-block: .95rem;
  font-size: .92rem;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem;
  margin-top: .5rem;
}

.copy-status {
  margin-bottom: 0;
}

.copy-status:empty {
  display: none;
}

.toast-container {
  --bs-toast-zindex: 1060;
}

.cart-toast {
  --bs-toast-max-width: 460px;
  --bs-toast-bg: var(--ink);
  --bs-toast-color: white;
  --bs-toast-border-radius: .85rem;
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.cart-toast .toast-body {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.toast-view {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--lime);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fffdb0;
  font-size: .875rem;
  white-space: nowrap;
}

.cart-toast .btn-close {
  filter: invert(1);
}

.cart-toast :focus-visible {
  outline-color: #fff;
}

@media (min-width: 992px) {
  .faq-section > .row {
    --bs-gutter-x: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  .hero {
    grid-template-columns: 46% 54%;
  }

  .hero-copy {
    padding: clamp(1.6rem, 3.2vw, 2.5rem);
  }

  .hero-actions {
    gap: .42rem .75rem;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 77px;
  }

  .container-xxl {
    --bs-gutter-x: 1.75rem;
  }

  .site-nav {
    min-height: 64px;
  }

  .site-nav .brand img {
    width: 104px;
    height: 38px;
  }

  .hero,
  .mix-panel,
  .snack-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: clamp(1.6rem, 6vw, 3rem) clamp(1.4rem, 6vw, 3rem);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 5.25rem);
  }

  .hero p {
    margin: 1rem 0 1.2rem;
  }

  .hero-picture,
  .mix-panel > img,
  .snack-panel > img {
    aspect-ratio: 1.7;
  }

  .hero-picture img {
    object-position: center 48%;
  }

  .snack-panel .feature-copy {
    order: 1;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-details {
    justify-self: start;
  }
}

@media (max-width: 429.98px) {
  .product-card {
    padding: .38rem;
    border-radius: .95rem;
  }

  .product-photo {
    border-radius: .65rem;
  }

  .product-info {
    padding: .65rem .28rem .35rem;
  }

  .product-add {
    padding-inline: .75rem;
  }

  .flavor-link {
    min-height: 58px;
    padding: .45rem;
  }

  .footer-content {
    justify-content: space-between;
  }

  .footer-content small {
    order: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
