/** Shopify CDN: Minification failed

Line 8:5 Unexpected "("

**/
html, body { width:100%; max-width:100%; overflow-x:clip; }
img, svg, video, canvas { max-width:100%; }
 not (overflow:clip) { html, body { overflow-x:hidden; } }

/* Focused usability fixes. This file does not replace or hide theme content. */
html {
  scroll-padding-top: calc(var(--header-height, 5rem) + 1rem);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #e0a629 !important;
  outline-offset: 3px !important;
}

:where(button, [role='button'], summary, input, select) {
  min-height: 44px;
}

.button,
.cart__checkout-button {
  min-height: 48px;
  font-weight: 650;
}

#header-group .header-section {
  box-shadow: 0 3px 14px rgb(20 60 40 / 10%);
}

body:has(#MainContent[data-template^='index']) #header-group {
  position: relative;
  overflow: clip;
  background: #fffaf0;
}

body:has(#MainContent[data-template^='index']) #header-group::before,
body:has(#MainContent[data-template^='index']) #header-group::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -2.5rem;
  width: clamp(9rem, 18vw, 18rem);
  aspect-ratio: 1.5;
  background: var(--magnolia-botanical-art) left center / contain no-repeat;
  pointer-events: none;
}

body:has(#MainContent[data-template^='index']) #header-group::before {
  left: -1.5rem;
}

body:has(#MainContent[data-template^='index']) #header-group::after {
  right: -1.5rem;
  transform: scaleX(-1);
}

body:has(#MainContent[data-template^='index']) #header-group > * {
  position: relative;
  z-index: 2;
}

#header-group a {
  text-underline-offset: 0.3em;
}

#header-group a:hover {
  text-decoration-thickness: 2px;
}

.magnolia-category-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem max(1rem, calc((100vw - 90rem) / 2));
  overflow: hidden;
  background: #fffaf0;
  color: #214e3a;
  border-block: 1px solid #d7c08b;
}

.magnolia-category-nav__label {
  flex: 0 0 auto;
  font-weight: 800;
  color: #8a6a25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.magnolia-category-nav__list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.magnolia-category-nav__list::-webkit-scrollbar {
  display: none;
}

.magnolia-category-nav__list li {
  flex: 0 0 auto;
}

.magnolia-category-nav__page-link--first {
  margin-left: 0.5rem;
}

.magnolia-category-nav__page-link--first::before {
  content: '•';
  margin-right: 0.75rem;
  color: #b69548;
}

.magnolia-category-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #214e3a;
  font-family: var(--font-heading--family);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.magnolia-category-nav__list a:hover {
  color: #9a4d3d;
  text-decoration: underline;
}

#MainContent[data-template^='index'] {
  position: relative;
  background:
    radial-gradient(circle at 50% 0, rgb(215 192 139 / 12%), transparent 28rem),
    #fffaf0;
}

#MainContent[data-template^='index'] > .shopify-section {
  position: relative;
}

#MainContent[data-template^='index'] > .shopify-section:nth-child(4n + 1)::after {
  content: '';
  position: absolute;
  z-index: 1;
  right: -2.5rem;
  bottom: -3rem;
  width: clamp(10rem, 22vw, 20rem);
  aspect-ratio: 1.5;
  background: var(--magnolia-botanical-art) center / contain no-repeat;
  opacity: 0.2;
  transform: rotate(-8deg);
  pointer-events: none;
}

#MainContent[data-template^='index'] :is(h1, h2, h3) {
  color: #2e3f2d;
  text-wrap: balance;
}

#MainContent[data-template^='index'] h2,
#MainContent[data-template^='index'] h3 {
  font-family: var(--font-heading--family);
}

#MainContent[data-template^='index'] .collection-card,
#MainContent[data-template^='index'] .product-card {
  overflow: hidden;
  border: 1px solid #d7c08b;
  border-radius: 0.8rem;
  background: #fffdf7;
  box-shadow: 0 7px 20px rgb(63 57 36 / 8%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#MainContent[data-template^='index'] :is(.collection-card, .product-card):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgb(63 57 36 / 14%);
}

#MainContent[data-template^='index'] .collection-card img,
#MainContent[data-template^='index'] .product-card img {
  transition: transform 350ms ease;
}

#MainContent[data-template^='index'] :is(.collection-card, .product-card):hover img {
  transform: scale(1.025);
}

#MainContent[data-template^='index'] .media-with-content {
  border-block: 1px solid rgb(138 106 37 / 20%);
}

#MainContent[data-template^='index'] .button {
  border-radius: 0.25rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body:has(#MainContent[data-template^='index']) footer {
  position: relative;
  overflow: clip;
}

body:has(#MainContent[data-template^='index']) footer::after {
  content: '';
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: min(25rem, 38vw);
  aspect-ratio: 1.5;
  background: var(--magnolia-botanical-art) center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

@media (min-width: 750px) {
  body:has(#MainContent[data-template^='index']) #header-group header-menu {
    display: none;
  }
}

@media (max-width: 749px) {
  body:has(#MainContent[data-template^='index']) #header-group::before,
  body:has(#MainContent[data-template^='index']) #header-group::after {
    top: -0.5rem;
    width: 8rem;
    opacity: 0.6;
  }

  body:has(#MainContent[data-template^='index']) #header-group::before {
    left: -3rem;
  }

  body:has(#MainContent[data-template^='index']) #header-group::after {
    right: -3rem;
  }

  .magnolia-category-nav {
    display: block;
    padding-block: 0.6rem 0.7rem;
  }

  .magnolia-category-nav__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    text-transform: uppercase;
  }

  .magnolia-category-nav__list {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .cart__checkout-button,
  product-form-component .button[type='submit'] {
    width: 100%;
    min-height: 52px;
  }
}

/* Keep collection product photography uniform without stretching images. */
.collection-alice-in-wonderland-candles #MainContent {
  background-color: #fff9ed;
  background-image:
    linear-gradient(rgba(255, 249, 237, 0.86), rgba(255, 249, 237, 0.86)),
    url('magnolia-wonderland-pattern.png');
  background-repeat: repeat;
  background-size: auto, clamp(420px, 46vw, 720px) auto;
  background-position: center top;
}

.collection-alice-in-wonderland-candles #MainContent .product-grid-container {
  background: #fff9ed;
}

.collection-alice-in-wonderland-candles #MainContent .section-background {
  background: transparent !important;
}

.product-grid .card-gallery {
  --gallery-aspect-ratio: 1 / 1 !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.product-grid .card-gallery .product-media-container {
  aspect-ratio: 1 / 1 !important;
  width: 100%;
  height: 100%;
}

.product-grid .card-gallery .product-media-container img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center;
}

/* Storybook photos were produced at different camera distances. These
   product-level corrections make the candle jars read at one visual scale. */
.product-grid .card-gallery[data-product-handle] .product-media-container img {
  transform: scale(var(--mg-product-photo-scale, 1.08));
  transform-origin: var(--mg-product-photo-focus, center center);
}

.product-grid .card-gallery[data-product-handle*='under-the-hatter'] { --mg-product-photo-scale: 1.18; --mg-product-photo-focus: center 52%; }
.product-grid .card-gallery[data-product-handle*='rabbit'][data-product-handle*='pocket'] { --mg-product-photo-scale: 1.08; --mg-product-photo-focus: center 50%; }
.product-grid .card-gallery[data-product-handle*='cheshire'] { --mg-product-photo-scale: 1.11; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='caterpillar'] { --mg-product-photo-scale: 1.13; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='teacups'][data-product-handle*='riddles'] { --mg-product-photo-scale: 1.14; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='six-o-clock'],
.product-grid .card-gallery[data-product-handle*='six-oclock'] { --mg-product-photo-scale: 1.16; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='pass-the-teapot'] { --mg-product-photo-scale: 1.16; --mg-product-photo-focus: center 52%; }
.product-grid .card-gallery[data-product-handle*='off-with-their-heads'] { --mg-product-photo-scale: 1.11; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='mushroom'][data-product-handle*='moonlight'] { --mg-product-photo-scale: 1.14; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='mad-as-a-hatter'] { --mg-product-photo-scale: 1.15; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='lost-in-wonderland'] { --mg-product-photo-scale: 1.14; --mg-product-photo-focus: center 51%; }
.product-grid .card-gallery[data-product-handle*='spot-of-nonsense'] { --mg-product-photo-scale: 1.14; --mg-product-photo-focus: center 51%; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Prevent wide collection children from expanding the Sage & Smudge page. */
.collection-sage-smudge,
.collection-sage-smudge #MainContent,
.collection-sage-smudge #MainContent > .shopify-section {
  max-width: 100%;
  overflow-x: clip;
}

.collection-sage-smudge #MainContent :is(.section, .section-content-wrapper, .collection-list, .resource-list) {
  min-width: 0;
  max-width: 100%;
}

/* Magnolia Grove Body Mist collection */
.collection-body-mists .section-resource-list{display:none!important}.collection-body-mists main.content-for-layout{background:#fbf8f1 url(//magnoliagrovegifts.com/cdn/shop/files/mg-apoth-aromatherapy-roll-ons.png?v=15571682719624271451) repeat top center/760px auto!important}
.collection-body-mists main.content-for-layout .section{background-color:transparent!important}.collection-body-mists #shopify-section-template--21779517210818__section_VWhyV6,.collection-body-mists #shopify-section-template--21779517210818__section_VWhyV6 .custom-section-content,.collection-body-mists #shopify-section-template--21779517210818__section_VWhyV6 .section-content-wrapper{width:100%!important;max-width:none!important}
.collection-body-mists .text-block--AS1NtSXltT2wzUk5qW__text_By9rGX{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:none!important;margin:40px 24px!important;padding:32px clamp(24px,5vw,72px)!important;background:rgba(255,248,232,.95)!important;border:4px double #b58a3a!important;border-radius:8px!important;outline:1px solid rgba(181,138,58,.55)!important;outline-offset:-11px!important}
.collection-body-mists .text-block--AS1NtSXltT2wzUk5qW__text_By9rGX{box-shadow:0 8px 24px rgba(88,59,20,.18),inset 0 0 24px rgba(181,138,58,.09)!important;text-align:center!important}@media(max-width:749px){.collection-body-mists .text-block--AS1NtSXltT2wzUk5qW__text_By9rGX{width:calc(100% - 24px)!important;margin:24px 12px!important;padding:24px 20px!important}}
@media(max-width:749px){.collection-body-mists .body-mist-hero{min-height:560px!important}}
